|
STM32F4xx_HAL_Driver
1.8.3
|
Collaboration diagram for SMARTCARD Exported Types:Data Structures | |
| struct | SMARTCARD_InitTypeDef |
| SMARTCARD Init Structure definition. More... | |
| struct | __SMARTCARD_HandleTypeDef |
| SMARTCARD handle Structure definition. More... | |
Typedefs | |
| typedef struct __SMARTCARD_HandleTypeDef | SMARTCARD_HandleTypeDef |
| SMARTCARD handle Structure definition. | |
Enumerations | |
| enum | HAL_SMARTCARD_StateTypeDef { HAL_SMARTCARD_STATE_RESET = 0x00U , HAL_SMARTCARD_STATE_READY = 0x20U , HAL_SMARTCARD_STATE_BUSY = 0x24U , HAL_SMARTCARD_STATE_BUSY_TX = 0x21U , HAL_SMARTCARD_STATE_BUSY_RX = 0x22U , HAL_SMARTCARD_STATE_BUSY_TX_RX = 0x23U , HAL_SMARTCARD_STATE_TIMEOUT = 0xA0U , HAL_SMARTCARD_STATE_ERROR = 0xE0U } |
| HAL SMARTCARD State structures definition. More... | |
| struct SMARTCARD_InitTypeDef |
SMARTCARD Init Structure definition.
Definition at line 46 of file stm32f4xx_hal_smartcard.h.
| Data Fields | ||
|---|---|---|
| uint32_t | BaudRate |
This member configures the SmartCard communication baud rate. The baud rate is computed using the following formula:
|
| uint32_t | 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 |
| uint32_t | CLKPhase |
Specifies the clock transition on which the bit capture is made. This parameter can be a value of SMARTCARD Clock Phase |
| uint32_t | CLKPolarity |
Specifies the steady state of the serial clock. This parameter can be a value of SMARTCARD Clock Polarity |
| uint32_t | GuardTime |
Specifies the SmartCard Guard Time value in terms of number of baud clocks |
| uint32_t | Mode |
Specifies whether the Receive or Transmit mode is enabled or disabled. This parameter can be a value of SMARTCARD Mode |
| uint32_t | NACKState |
Specifies the SmartCard NACK Transmission state. This parameter can be a value of SMARTCARD NACK State |
| uint32_t | Parity |
Specifies the parity mode. This parameter can be a value of SMARTCARD Parity
|
| uint32_t | 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 |
| uint32_t | StopBits |
Specifies the number of stop bits transmitted. This parameter can be a value of SMARTCARD Number of Stop Bits |
| uint32_t | WordLength |
Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of SMARTCARD Word Length |
| struct __SMARTCARD_HandleTypeDef |
SMARTCARD handle Structure definition.
Definition at line 153 of file stm32f4xx_hal_smartcard.h.
Collaboration diagram for __SMARTCARD_HandleTypeDef:| Data Fields | ||
|---|---|---|
| __IO uint32_t | ErrorCode |
SmartCard Error code |
| __IO HAL_SMARTCARD_StateTypeDef | gState |
SmartCard state information related to global Handle management and also related to Tx operations. This parameter can be a value of HAL_SMARTCARD_StateTypeDef |
| DMA_HandleTypeDef * | hdmarx |
SmartCard Rx DMA Handle parameters |
| DMA_HandleTypeDef * | hdmatx |
SmartCard Tx DMA Handle parameters |
| SMARTCARD_InitTypeDef | Init |
SmartCard communication parameters |
| USART_TypeDef * | Instance |
USART registers base address |
| HAL_LockTypeDef | Lock |
Locking object |
| uint8_t * | pRxBuffPtr |
Pointer to SmartCard Rx transfer Buffer |
| const uint8_t * | pTxBuffPtr |
Pointer to SmartCard Tx transfer Buffer |
| __IO HAL_SMARTCARD_StateTypeDef | RxState |
SmartCard state information related to Rx operations. This parameter can be a value of HAL_SMARTCARD_StateTypeDef |
| __IO uint16_t | RxXferCount |
SmartCard Rx Transfer Counter |
| uint16_t | RxXferSize |
SmartCard Rx Transfer size |
| __IO uint16_t | TxXferCount |
SmartCard Tx Transfer Counter |
| uint16_t | TxXferSize |
SmartCard Tx Transfer size |
HAL SMARTCARD State structures definition.
Definition at line 129 of file stm32f4xx_hal_smartcard.h.