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

Data Structures

struct  IRDA_InitTypeDef
 IRDA Init Structure definition. More...
 
struct  IRDA_HandleTypeDef
 IRDA handle Structure definition. More...
 

Typedefs

typedef uint32_t HAL_IRDA_StateTypeDef
 HAL IRDA State definition.
 

Enumerations

enum  IRDA_ClockSourceTypeDef {
  IRDA_CLOCKSOURCE_D2PCLK1 = 0x11U , IRDA_CLOCKSOURCE_D2PCLK2 = 0x12U , IRDA_CLOCKSOURCE_PLL2Q = 0x14U , IRDA_CLOCKSOURCE_PLL3Q = 0x18U ,
  IRDA_CLOCKSOURCE_HSI = 0x02U , IRDA_CLOCKSOURCE_CSI = 0x08U , IRDA_CLOCKSOURCE_LSE = 0x10U , IRDA_CLOCKSOURCE_UNDEFINED = 0x20U
}
 IRDA clock sources definition. More...
 

Detailed Description

Typedef Documentation

◆ HAL_IRDA_StateTypeDef

typedef uint32_t HAL_IRDA_StateTypeDef

HAL IRDA State definition.

Note
HAL IRDA State value is a combination of 2 different substates: gState and RxState (see IRDA State Code Definition).
  • gState contains IRDA 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 IRDA 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

◆ IRDA_ClockSourceTypeDef

IRDA clock sources definition.

Enumerator
IRDA_CLOCKSOURCE_D2PCLK1 

Domain2 PCLK1 clock source

IRDA_CLOCKSOURCE_D2PCLK2 

Domain2 PCLK2 clock source

IRDA_CLOCKSOURCE_PLL2Q 

PLL2Q clock source

IRDA_CLOCKSOURCE_PLL3Q 

PLL3Q clock source

IRDA_CLOCKSOURCE_HSI 

HSI clock source

IRDA_CLOCKSOURCE_CSI 

CSI clock source

IRDA_CLOCKSOURCE_LSE 

LSE clock source

IRDA_CLOCKSOURCE_UNDEFINED 

Undefined clock source