STM32F479xx HAL User Manual
|
Functions | |
ErrorStatus | LL_USART_DeInit (USART_TypeDef *USARTx) |
De-initialize USART registers (Registers restored to their default values). | |
ErrorStatus | LL_USART_Init (USART_TypeDef *USARTx, LL_USART_InitTypeDef *USART_InitStruct) |
Initialize USART registers according to the specified parameters in USART_InitStruct. | |
void | LL_USART_StructInit (LL_USART_InitTypeDef *USART_InitStruct) |
Set each LL_USART_InitTypeDef field to default value. | |
ErrorStatus | LL_USART_ClockInit (USART_TypeDef *USARTx, LL_USART_ClockInitTypeDef *USART_ClockInitStruct) |
Initialize USART Clock related settings according to the specified parameters in the USART_ClockInitStruct. | |
void | LL_USART_ClockStructInit (LL_USART_ClockInitTypeDef *USART_ClockInitStruct) |
Set each field of a LL_USART_ClockInitTypeDef type structure to default value. |
ErrorStatus LL_USART_ClockInit | ( | USART_TypeDef * | USARTx, |
LL_USART_ClockInitTypeDef * | USART_ClockInitStruct | ||
) |
Initialize USART Clock related settings according to the specified parameters in the USART_ClockInitStruct.
USARTx | USART Instance |
USART_ClockInitStruct | Pointer to a LL_USART_ClockInitTypeDef structure that contains the Clock configuration information for the specified USART peripheral. |
An | ErrorStatus enumeration value:
|
Definition at line 413 of file stm32f4xx_ll_usart.c.
References assert_param, LL_USART_ClockInitTypeDef::ClockOutput, LL_USART_ClockInitTypeDef::ClockPhase, LL_USART_ClockInitTypeDef::ClockPolarity, IS_LL_USART_CLOCKOUTPUT, IS_LL_USART_CLOCKPHASE, IS_LL_USART_CLOCKPOLARITY, IS_LL_USART_LASTBITCLKOUTPUT, LL_USART_ClockInitTypeDef::LastBitClockPulse, LL_USART_CLOCK_DISABLE, LL_USART_DisableSCLKOutput(), and LL_USART_IsEnabled().
void LL_USART_ClockStructInit | ( | LL_USART_ClockInitTypeDef * | USART_ClockInitStruct | ) |
Set each field of a LL_USART_ClockInitTypeDef type structure to default value.
USART_ClockInitStruct | Pointer to a LL_USART_ClockInitTypeDef structure whose fields will be set to default values. |
None |
Definition at line 472 of file stm32f4xx_ll_usart.c.
References LL_USART_ClockInitTypeDef::ClockOutput, LL_USART_ClockInitTypeDef::ClockPhase, LL_USART_ClockInitTypeDef::ClockPolarity, LL_USART_ClockInitTypeDef::LastBitClockPulse, LL_USART_CLOCK_DISABLE, LL_USART_LASTCLKPULSE_NO_OUTPUT, LL_USART_PHASE_1EDGE, and LL_USART_POLARITY_LOW.
ErrorStatus LL_USART_DeInit | ( | USART_TypeDef * | USARTx | ) |
De-initialize USART registers (Registers restored to their default values).
USARTx | USART Instance |
An | ErrorStatus enumeration value:
|
Definition at line 125 of file stm32f4xx_ll_usart.c.
References assert_param, LL_APB1_GRP1_ForceReset(), LL_APB1_GRP1_PERIPH_UART4, LL_APB1_GRP1_PERIPH_UART5, LL_APB1_GRP1_PERIPH_UART7, LL_APB1_GRP1_PERIPH_UART8, LL_APB1_GRP1_PERIPH_USART2, LL_APB1_GRP1_PERIPH_USART3, LL_APB1_GRP1_ReleaseReset(), LL_APB2_GRP1_ForceReset(), LL_APB2_GRP1_PERIPH_USART1, LL_APB2_GRP1_PERIPH_USART6, and LL_APB2_GRP1_ReleaseReset().
ErrorStatus LL_USART_Init | ( | USART_TypeDef * | USARTx, |
LL_USART_InitTypeDef * | USART_InitStruct | ||
) |
Initialize USART registers according to the specified parameters in USART_InitStruct.
USARTx | USART Instance |
USART_InitStruct | pointer to a LL_USART_InitTypeDef structure that contains the configuration information for the specified USART peripheral. |
An | ErrorStatus enumeration value:
|
Definition at line 249 of file stm32f4xx_ll_usart.c.
References assert_param, LL_USART_InitTypeDef::BaudRate, LL_USART_InitTypeDef::DataWidth, LL_USART_InitTypeDef::HardwareFlowControl, IS_LL_USART_BAUDRATE, IS_LL_USART_BRR_MIN, IS_LL_USART_DATAWIDTH, IS_LL_USART_DIRECTION, IS_LL_USART_HWCONTROL, IS_LL_USART_OVERSAMPLING, IS_LL_USART_PARITY, IS_LL_USART_STOPBITS, LL_RCC_GetSystemClocksFreq(), LL_RCC_PERIPH_FREQUENCY_NO, LL_USART_IsEnabled(), LL_USART_SetBaudRate(), LL_USART_SetHWFlowCtrl(), LL_USART_SetStopBitsLength(), LL_USART_InitTypeDef::OverSampling, LL_USART_InitTypeDef::Parity, LL_RCC_ClocksTypeDef::PCLK1_Frequency, LL_RCC_ClocksTypeDef::PCLK2_Frequency, LL_USART_InitTypeDef::StopBits, and LL_USART_InitTypeDef::TransferDirection.
void LL_USART_StructInit | ( | LL_USART_InitTypeDef * | USART_InitStruct | ) |
Set each LL_USART_InitTypeDef field to default value.
USART_InitStruct | Pointer to a LL_USART_InitTypeDef structure whose fields will be set to default values. |
None |
Definition at line 389 of file stm32f4xx_ll_usart.c.
References LL_USART_InitTypeDef::BaudRate, LL_USART_InitTypeDef::DataWidth, LL_USART_InitTypeDef::HardwareFlowControl, LL_USART_DATAWIDTH_8B, LL_USART_DIRECTION_TX_RX, LL_USART_HWCONTROL_NONE, LL_USART_OVERSAMPLING_16, LL_USART_PARITY_NONE, LL_USART_STOPBITS_1, LL_USART_InitTypeDef::OverSampling, LL_USART_InitTypeDef::Parity, LL_USART_InitTypeDef::StopBits, and LL_USART_InitTypeDef::TransferDirection.