#define __STM32F4xx_HAL_SMARTCARD_H
Includes
#include "stm32f4xx_hal_def.h"
Exported types
SMARTCARD_InitTypeDef
BaudRate
WordLength
StopBits
Parity
Mode
CLKPolarity
CLKPhase
CLKLastBit
Prescaler
GuardTime
NACKState
HAL_SMARTCARD_StateTypeDef
HAL_SMARTCARD_STATE_RESET
HAL_SMARTCARD_STATE_READY
HAL_SMARTCARD_STATE_BUSY
HAL_SMARTCARD_STATE_BUSY_TX
HAL_SMARTCARD_STATE_BUSY_RX
HAL_SMARTCARD_STATE_BUSY_TX_RX
HAL_SMARTCARD_STATE_TIMEOUT
HAL_SMARTCARD_STATE_ERROR
__SMARTCARD_HandleTypeDef
Instance
Init
pTxBuffPtr
TxXferSize
TxXferCount
pRxBuffPtr
RxXferSize
RxXferCount
hdmatx
hdmarx
Lock
gState
RxState
ErrorCode
Exported constants
#define HAL_SMARTCARD_ERROR_NONE
#define HAL_SMARTCARD_ERROR_PE
#define HAL_SMARTCARD_ERROR_NE
#define HAL_SMARTCARD_ERROR_FE
#define HAL_SMARTCARD_ERROR_ORE
#define HAL_SMARTCARD_ERROR_DMA
#define HAL_SMARTCARD_ERROR_INVALID_CALLBACK
#define SMARTCARD_WORDLENGTH_9B
#define SMARTCARD_STOPBITS_0_5
#define SMARTCARD_STOPBITS_1_5
#define SMARTCARD_PARITY_EVEN
#define SMARTCARD_PARITY_ODD
#define SMARTCARD_MODE_RX
#define SMARTCARD_MODE_TX
#define SMARTCARD_MODE_TX_RX
#define SMARTCARD_POLARITY_LOW
#define SMARTCARD_POLARITY_HIGH
#define SMARTCARD_PHASE_1EDGE
#define SMARTCARD_PHASE_2EDGE
#define SMARTCARD_LASTBIT_DISABLE
#define SMARTCARD_LASTBIT_ENABLE
#define SMARTCARD_NACK_ENABLE
#define SMARTCARD_NACK_DISABLE
#define SMARTCARD_DMAREQ_TX
#define SMARTCARD_DMAREQ_RX
#define SMARTCARD_PRESCALER_SYSCLK_DIV2
#define SMARTCARD_PRESCALER_SYSCLK_DIV4
#define SMARTCARD_PRESCALER_SYSCLK_DIV6
#define SMARTCARD_PRESCALER_SYSCLK_DIV8
#define SMARTCARD_PRESCALER_SYSCLK_DIV10
#define SMARTCARD_PRESCALER_SYSCLK_DIV12
#define SMARTCARD_PRESCALER_SYSCLK_DIV14
#define SMARTCARD_PRESCALER_SYSCLK_DIV16
#define SMARTCARD_PRESCALER_SYSCLK_DIV18
#define SMARTCARD_PRESCALER_SYSCLK_DIV20
#define SMARTCARD_PRESCALER_SYSCLK_DIV22
#define SMARTCARD_PRESCALER_SYSCLK_DIV24
#define SMARTCARD_PRESCALER_SYSCLK_DIV26
#define SMARTCARD_PRESCALER_SYSCLK_DIV28
#define SMARTCARD_PRESCALER_SYSCLK_DIV30
#define SMARTCARD_PRESCALER_SYSCLK_DIV32
#define SMARTCARD_PRESCALER_SYSCLK_DIV34
#define SMARTCARD_PRESCALER_SYSCLK_DIV36
#define SMARTCARD_PRESCALER_SYSCLK_DIV38
#define SMARTCARD_PRESCALER_SYSCLK_DIV40
#define SMARTCARD_PRESCALER_SYSCLK_DIV42
#define SMARTCARD_PRESCALER_SYSCLK_DIV44
#define SMARTCARD_PRESCALER_SYSCLK_DIV46
#define SMARTCARD_PRESCALER_SYSCLK_DIV48
#define SMARTCARD_PRESCALER_SYSCLK_DIV50
#define SMARTCARD_PRESCALER_SYSCLK_DIV52
#define SMARTCARD_PRESCALER_SYSCLK_DIV54
#define SMARTCARD_PRESCALER_SYSCLK_DIV56
#define SMARTCARD_PRESCALER_SYSCLK_DIV58
#define SMARTCARD_PRESCALER_SYSCLK_DIV60
#define SMARTCARD_PRESCALER_SYSCLK_DIV62
#define SMARTCARD_FLAG_TXE
#define SMARTCARD_FLAG_TC
#define SMARTCARD_FLAG_RXNE
#define SMARTCARD_FLAG_IDLE
#define SMARTCARD_FLAG_ORE
#define SMARTCARD_FLAG_NE
#define SMARTCARD_FLAG_FE
#define SMARTCARD_FLAG_PE
#define SMARTCARD_IT_PE
#define SMARTCARD_IT_TXE
#define SMARTCARD_IT_TC
#define SMARTCARD_IT_RXNE
#define SMARTCARD_IT_IDLE
#define SMARTCARD_IT_ERR
Exported macro
#define __HAL_SMARTCARD_FLUSH_DRREGISTER
#define __HAL_SMARTCARD_GET_FLAG
#define __HAL_SMARTCARD_CLEAR_FLAG
#define __HAL_SMARTCARD_CLEAR_FEFLAG
#define __HAL_SMARTCARD_CLEAR_NEFLAG
#define __HAL_SMARTCARD_CLEAR_OREFLAG
#define __HAL_SMARTCARD_CLEAR_IDLEFLAG
#define __HAL_SMARTCARD_GET_IT_SOURCE
#define __HAL_SMARTCARD_ONE_BIT_SAMPLE_ENABLE
#define __HAL_SMARTCARD_ONE_BIT_SAMPLE_DISABLE
#define __HAL_SMARTCARD_ENABLE
#define __HAL_SMARTCARD_DISABLE
#define __HAL_SMARTCARD_DMA_REQUEST_ENABLE
#define __HAL_SMARTCARD_DMA_REQUEST_DISABLE
Exported functions
HAL_SMARTCARD_Init(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_ReInit(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_DeInit(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_MspInit(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_MspDeInit(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_Transmit(SMARTCARD_HandleTypeDef *, const uint8_t *, uint16_t, uint32_t);
HAL_SMARTCARD_Receive(SMARTCARD_HandleTypeDef *, uint8_t *, uint16_t, uint32_t);
HAL_SMARTCARD_Transmit_IT(SMARTCARD_HandleTypeDef *, const uint8_t *, uint16_t);
HAL_SMARTCARD_Receive_IT(SMARTCARD_HandleTypeDef *, uint8_t *, uint16_t);
HAL_SMARTCARD_Transmit_DMA(SMARTCARD_HandleTypeDef *, const uint8_t *, uint16_t);
HAL_SMARTCARD_Receive_DMA(SMARTCARD_HandleTypeDef *, uint8_t *, uint16_t);
HAL_SMARTCARD_Abort(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_AbortTransmit(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_AbortReceive(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_Abort_IT(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_AbortTransmit_IT(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_AbortReceive_IT(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_IRQHandler(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_TxCpltCallback(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_RxCpltCallback(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_ErrorCallback(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_AbortCpltCallback(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_AbortTransmitCpltCallback(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_AbortReceiveCpltCallback(SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_GetState(const SMARTCARD_HandleTypeDef *);
HAL_SMARTCARD_GetError(const SMARTCARD_HandleTypeDef *);
#define SMARTCARD_CR1_REG_INDEX
#define SMARTCARD_CR3_REG_INDEX
#define IS_SMARTCARD_WORD_LENGTH
#define IS_SMARTCARD_MODE
#define IS_SMARTCARD_POLARITY
#define IS_SMARTCARD_PHASE
#define IS_SMARTCARD_BAUDRATE
#define SMARTCARD_DIV
#define SMARTCARD_DIVMANT
#define SMARTCARD_DIVFRAQ