STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
SMARTCARD Init Structure definition. More...
#include <stm32f4xx_hal_smartcard.h>
Data Fields | |
uint32_t | BaudRate |
uint32_t | WordLength |
uint32_t | StopBits |
uint32_t | Parity |
uint32_t | Mode |
uint32_t | CLKPolarity |
uint32_t | CLKPhase |
uint32_t | CLKLastBit |
uint32_t | Prescaler |
uint32_t | GuardTime |
uint32_t | NACKState |
SMARTCARD Init Structure definition.
Definition at line 46 of file stm32f4xx_hal_smartcard.h.
uint32_t SMARTCARD_InitTypeDef::BaudRate |
This member configures the SmartCard communication baud rate. The baud rate is computed using the following formula:
Definition at line 48 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::WordLength |
Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of SMARTCARD Word Length
Definition at line 53 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::StopBits |
Specifies the number of stop bits transmitted. This parameter can be a value of SMARTCARD Number of Stop Bits
Definition at line 56 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::Parity |
Specifies the parity mode. This parameter can be a value of SMARTCARD Parity
Definition at line 59 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::Mode |
Specifies whether the Receive or Transmit mode is enabled or disabled. This parameter can be a value of SMARTCARD Mode
Definition at line 66 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::CLKPolarity |
Specifies the steady state of the serial clock. This parameter can be a value of SMARTCARD Clock Polarity
Definition at line 69 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::CLKPhase |
Specifies the clock transition on which the bit capture is made. This parameter can be a value of SMARTCARD Clock Phase
Definition at line 72 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::CLKLastBit |
Specifies whether the clock pulse corresponding to the last transmitted data bit (MSB) has to be output on the SCLK pin in synchronous mode. This parameter can be a value of SMARTCARD Last Bit
Definition at line 75 of file stm32f4xx_hal_smartcard.h.
Referenced by SMARTCARD_SetConfig().
uint32_t SMARTCARD_InitTypeDef::Prescaler |
Specifies the SmartCard Prescaler value used for dividing the system clock to provide the smartcard clock. The value given in the register (5 significant bits) is multiplied by 2 to give the division factor of the source clock frequency. This parameter can be a value of SMARTCARD Prescaler
Definition at line 79 of file stm32f4xx_hal_smartcard.h.
Referenced by HAL_SMARTCARD_Init().
uint32_t SMARTCARD_InitTypeDef::GuardTime |
Specifies the SmartCard Guard Time value in terms of number of baud clocks
Definition at line 84 of file stm32f4xx_hal_smartcard.h.
Referenced by HAL_SMARTCARD_Init().
uint32_t SMARTCARD_InitTypeDef::NACKState |
Specifies the SmartCard NACK Transmission state. This parameter can be a value of SMARTCARD NACK State
Definition at line 86 of file stm32f4xx_hal_smartcard.h.
Referenced by HAL_SMARTCARD_Init(), and SMARTCARD_SetConfig().