RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations

Data Structures

struct  SMARTCARD_InitTypeDef
 SMARTCARD Init Structure definition. More...
 
struct  SMARTCARD_AdvFeatureInitTypeDef
 SMARTCARD advanced features initialization structure definition. More...
 
struct  __SMARTCARD_HandleTypeDef
 SMARTCARD handle Structure definition. More...
 

Typedefs

typedef uint32_t HAL_SMARTCARD_StateTypeDef
 HAL SMARTCARD State definition.
 
typedef struct __SMARTCARD_HandleTypeDef SMARTCARD_HandleTypeDef
 SMARTCARD handle Structure definition.
 

Enumerations

enum  SMARTCARD_ClockSourceTypeDef {
  SMARTCARD_CLOCKSOURCE_D2PCLK1 = 0x00U , SMARTCARD_CLOCKSOURCE_D2PCLK2 = 0x01U , SMARTCARD_CLOCKSOURCE_HSI = 0x04U , SMARTCARD_CLOCKSOURCE_CSI = 0x08U ,
  SMARTCARD_CLOCKSOURCE_LSE = 0x20U , SMARTCARD_CLOCKSOURCE_PLL2Q = 0x40U , SMARTCARD_CLOCKSOURCE_PLL3Q = 0x80U , SMARTCARD_CLOCKSOURCE_UNDEFINED = 0x10U
}
 SMARTCARD clock sources. More...
 

Detailed Description

Typedef Documentation

◆ HAL_SMARTCARD_StateTypeDef

typedef uint32_t HAL_SMARTCARD_StateTypeDef

HAL SMARTCARD State definition.

Note
HAL SMARTCARD State value is a combination of 2 different substates: gState and RxState (see SMARTCARD State Code Definition).
  • gState contains SMARTCARD state information related to global Handle management and also information related to Tx operations. gState value coding follow below described bitmap : b7-b6 Error information 00 : No Error 01 : (Not Used) 10 : Timeout 11 : Error b5 Peripheral initialization status 0 : Reset (Peripheral not initialized) 1 : Init done (Peripheral initialized. HAL SMARTCARD Init function already called) b4-b3 (not used) xx : Should be set to 00 b2 Intrinsic process state 0 : Ready 1 : Busy (Peripheral busy with some configuration or internal operations) b1 (not used) x : Should be set to 0 b0 Tx state 0 : Ready (no Tx operation ongoing) 1 : Busy (Tx operation ongoing)
  • RxState contains information related to Rx operations. RxState value coding follow below described bitmap : b7-b6 (not used) xx : Should be set to 00 b5 Peripheral initialization status 0 : Reset (Peripheral not initialized) 1 : Init done (Peripheral initialized) b4-b2 (not used) xxx : Should be set to 000 b1 Rx state 0 : Ready (no Rx operation ongoing) 1 : Busy (Rx operation ongoing) b0 (not used) x : Should be set to 0.

Enumeration Type Documentation

◆ SMARTCARD_ClockSourceTypeDef

SMARTCARD clock sources.

Enumerator
SMARTCARD_CLOCKSOURCE_D2PCLK1 

Domain2 PCLK1 clock source

SMARTCARD_CLOCKSOURCE_D2PCLK2 

Domain2 PCLK2 clock source

SMARTCARD_CLOCKSOURCE_HSI 

HSI clock source

SMARTCARD_CLOCKSOURCE_CSI 

CSI clock source

SMARTCARD_CLOCKSOURCE_LSE 

LSE clock source

SMARTCARD_CLOCKSOURCE_PLL2Q 

PLL2Q clock source

SMARTCARD_CLOCKSOURCE_PLL3Q 

PLL3Q clock source

SMARTCARD_CLOCKSOURCE_UNDEFINED 

undefined clock source