|
STM32G474xx HAL 用户手册
|
函数 | |
| ErrorStatus | LL_UCPD_DeInit (UCPD_TypeDef *UCPDx) |
| 将UCPD寄存器反初始化为其默认复位值。 | |
| ErrorStatus | LL_UCPD_Init (UCPD_TypeDef *UCPDx, const LL_UCPD_InitTypeDef *UCPD_InitStruct) |
| 根据UCPD_InitStruct中指定的参数初始化ucpd寄存器。 | |
| void | LL_UCPD_StructInit (LL_UCPD_InitTypeDef *UCPD_InitStruct) |
| 将每个 LL_UCPD_InitTypeDef 字段设置为默认值。 | |
| ErrorStatus LL_UCPD_DeInit | ( | UCPD_TypeDef * | UCPDx | ) |
将UCPD寄存器反初始化为其默认复位值。
| UCPDx | ucpd 实例 |
| 一个 | ErrorStatus 枚举值:
|
定义位于文件 stm32g4xx_ll_ucpd.c 的第 79 行。
引用了 assert_param, LL_APB1_GRP2_DisableClock(), LL_APB1_GRP2_ForceReset(), LL_APB1_GRP2_PERIPH_UCPD1, LL_APB1_GRP2_ReleaseReset(), 和 LL_UCPD_Disable()。
| ErrorStatus LL_UCPD_Init | ( | UCPD_TypeDef * | UCPDx, |
| const LL_UCPD_InitTypeDef * | UCPD_InitStruct | ||
| ) |
根据UCPD_InitStruct中指定的参数初始化ucpd寄存器。
| UCPDx | UCPD 实例 |
| UCPD_InitStruct | 指向包含UCPD外设配置信息的 LL_UCPD_InitTypeDef 结构体的指针。 |
| 一个 | ErrorStatus 枚举值。(始终返回 SUCCESS) |
定义位于文件 stm32g4xx_ll_ucpd.c 的第 115 行。
引用了 assert_param, LL_UCPD_InitTypeDef::HbitClockDiv, LL_UCPD_InitTypeDef::IfrGap, LL_APB1_GRP2_EnableClock(), LL_APB1_GRP2_PERIPH_UCPD1, LL_UCPD_Disable(), LL_UCPD_InitTypeDef::psc_ucpdclk, 和 LL_UCPD_InitTypeDef::transwin。
| void LL_UCPD_StructInit | ( | LL_UCPD_InitTypeDef * | UCPD_InitStruct | ) |
将每个 LL_UCPD_InitTypeDef 字段设置为默认值。
| UCPD_InitStruct | 指向其字段将被设置为默认值的 LL_UCPD_InitTypeDef 结构体的指针。 |
| 无 |
定义位于文件 stm32g4xx_ll_ucpd.c 的第 143 行。
引用了 LL_UCPD_InitTypeDef::HbitClockDiv, LL_UCPD_InitTypeDef::IfrGap, LL_UCPD_PSC_DIV2, LL_UCPD_InitTypeDef::psc_ucpdclk, 和 LL_UCPD_InitTypeDef::transwin。
1.7.6.1