STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
CEC Exported Types
Collaboration diagram for CEC Exported Types:

Data Structures

struct  CEC_InitTypeDef
 CEC Init Structure definition. More...
 
struct  CEC_HandleTypeDef
 CEC handle Structure definition. More...
 

Typedefs

typedef uint32_t HAL_CEC_StateTypeDef
 HAL CEC State definition.
 

Detailed Description

Typedef Documentation

◆ HAL_CEC_StateTypeDef

typedef uint32_t HAL_CEC_StateTypeDef

#include <stm32f4xx_hal_cec.h>

HAL CEC State definition.

Note
HAL CEC State value is a combination of 2 different substates: gState and RxState (see CEC_State_Definition).
  • gState contains CEC state information related to global Handle management and also information related to Tx operations. gState value coding follow below described bitmap : b7 (not used) x : Should be set to 0 b6 Error information 0 : No Error 1 : Error b5 CEC peripheral initialization status 0 : Reset (peripheral not initialized) 1 : Init done (peripheral initialized. HAL CEC 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 CEC 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.

Definition at line 161 of file stm32f4xx_hal_cec.h.