|
STM32G474xx HAL 用户手册
|
宏定义 | |
| #define | LL_UCPD_SNK_CC1_VOPEN 0x00u |
| #define | LL_UCPD_SNK_CC1_VRP UCPD_SR_TYPEC_VSTATE_CC1_0 |
| #define | LL_UCPD_SNK_CC1_VRP15A UCPD_SR_TYPEC_VSTATE_CC1_1 |
| #define | LL_UCPD_SNK_CC1_VRP30A (UCPD_SR_TYPEC_VSTATE_CC1_0 | UCPD_SR_TYPEC_VSTATE_CC1_1) |
| #define | LL_UCPD_SNK_CC2_VOPEN 0x00u |
| #define | LL_UCPD_SNK_CC2_VRP UCPD_SR_TYPEC_VSTATE_CC2_0 |
| #define | LL_UCPD_SNK_CC2_VRP15A UCPD_SR_TYPEC_VSTATE_CC2_1 |
| #define | LL_UCPD_SNK_CC2_VRP30A (UCPD_SR_TYPEC_VSTATE_CC2_0 | UCPD_SR_TYPEC_VSTATE_CC2_1) |
| #define | LL_UCPD_SRC_CC1_VRA 0x0U |
| #define | LL_UCPD_SRC_CC1_VRD UCPD_SR_TYPEC_VSTATE_CC1_0 |
| #define | LL_UCPD_SRC_CC1_OPEN UCPD_SR_TYPEC_VSTATE_CC1_1 |
| #define | LL_UCPD_SRC_CC2_VRA 0x0U |
| #define | LL_UCPD_SRC_CC2_VRD UCPD_SR_TYPEC_VSTATE_CC2_0 |
| #define | LL_UCPD_SRC_CC2_OPEN UCPD_SR_TYPEC_VSTATE_CC2_1 |
| #define LL_UCPD_SNK_CC1_VOPEN 0x00u |
CC1 接收器开路状态
定义于第 204 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SNK_CC1_VRP UCPD_SR_TYPEC_VSTATE_CC1_0 |
CC1 接收器 vRP 默认状态
定义于第 205 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SNK_CC1_VRP15A UCPD_SR_TYPEC_VSTATE_CC1_1 |
CC1 接收器 vRP 1.5A 状态
定义于第 206 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SNK_CC1_VRP30A (UCPD_SR_TYPEC_VSTATE_CC1_0 | UCPD_SR_TYPEC_VSTATE_CC1_1) |
CC1 接收器 vRP 3.0A 状态
定义于第 207 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SNK_CC2_VOPEN 0x00u |
CC2 接收器开路状态
定义于第 209 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SNK_CC2_VRP UCPD_SR_TYPEC_VSTATE_CC2_0 |
CC2 接收器 vRP 默认状态
定义于第 210 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SNK_CC2_VRP15A UCPD_SR_TYPEC_VSTATE_CC2_1 |
CC2 接收器 vRP 1.5A 状态
定义于第 211 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SNK_CC2_VRP30A (UCPD_SR_TYPEC_VSTATE_CC2_0 | UCPD_SR_TYPEC_VSTATE_CC2_1) |
CC2 接收器 vRP 3.0A 状态
定义于第 212 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SRC_CC1_OPEN UCPD_SR_TYPEC_VSTATE_CC1_1 |
CC1 源极开路状态
定义于第 216 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SRC_CC1_VRA 0x0U |
CC1 源极 vRA 状态
定义于第 214 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SRC_CC1_VRD UCPD_SR_TYPEC_VSTATE_CC1_0 |
CC1 源极 vRD 状态
定义于第 215 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SRC_CC2_OPEN UCPD_SR_TYPEC_VSTATE_CC2_1 |
CC2 源极开路状态
定义于第 220 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SRC_CC2_VRA 0x0U |
CC2 源极 vRA 状态
定义于第 218 行,文件 stm32g4xx_ll_ucpd.h。
| #define LL_UCPD_SRC_CC2_VRD UCPD_SR_TYPEC_VSTATE_CC2_0 |
CC2 源极 vRD 状态
定义于第 219 行,文件 stm32g4xx_ll_ucpd.h。
1.7.6.1