HAL
CEC_InitTypeDef is only used within HAL.
 
Symbols
loading...
Files
loading...

CEC_InitTypeDef struct

CEC Init Structure definition

Syntax

typedef struct {   uint32_t SignalFreeTime;                  uint32_t Tolerance;                       uint32_t BRERxStop;                       uint32_t BREErrorBitGen;                  uint32_t LBPEErrorBitGen;                 uint32_t BroadcastMsgNoErrorBitGen;       uint32_t SignalFreeTimeOption;            uint32_t ListenMode;                      uint16_t  OwnAddress;                     uint8_t  *RxBuffer;                     } CEC_InitTypeDef;

Fields

SignalFreeTime

Set SFT field, specifies the Signal Free Time. It can be one of CEC_Signal_Free_Time and belongs to the set {0,...,7} where 0x0 is the default configuration else means 0.5 + (SignalFreeTime - 1) nominal data bit periods. Read more...

Tolerance

Set RXTOL bit, specifies the tolerance accepted on the received waveforms, it can be a value of CEC_Tolerance : it is either CEC_STANDARD_TOLERANCE or CEC_EXTENDED_TOLERANCE. Read more...

BRERxStop

Set BRESTP bit CEC_BRERxStop : specifies whether or not a Bit Rising Error stops the reception. CEC_NO_RX_STOP_ON_BRE: reception is not stopped. CEC_RX_STOP_ON_BRE: reception is stopped. Read more...

BREErrorBitGen

Set BREGEN bit CEC_BREErrorBitGen : specifies whether or not an Error-Bit is generated on the CEC line upon Bit Rising Error detection. CEC_BRE_ERRORBIT_NO_GENERATION: no error-bit generation. CEC_BRE_ERRORBIT_GENERATION: error-bit generation if BRESTP is set. Read more...

LBPEErrorBitGen

Set LBPEGEN bit CEC_LBPEErrorBitGen : specifies whether or not an Error-Bit is generated on the CEC line upon Long Bit Period Error detection. CEC_LBPE_ERRORBIT_NO_GENERATION: no error-bit generation. CEC_LBPE_ERRORBIT_GENERATION: error-bit generation. Read more...

BroadcastMsgNoErrorBitGen

Set BRDNOGEN bit CEC_BroadCastMsgErrorBitGen : allows to avoid an Error-Bit generation on the CEC line upon an error detected on a broadcast message. It supersedes BREGEN and LBPEGEN bits for a broadcast message error handling. It can take two values: 1) CEC_BROADCASTERROR_ERRORBIT_GENERATION. a) BRE detection: error-bit generation on the CEC line if BRESTP=CEC_RX_STOP_ON_BRE and BREGEN=CEC_BRE_ERRORBIT_NO_GENERATION. b) LBPE detection: error-bit generation on the CEC line if LBPGEN=CEC_LBPE_ERRORBIT_NO_GENERATION. 2) CEC_BROADCASTERROR_NO_ERRORBIT_GENERATION. no error-bit generation in case neither a) nor b) are satisfied. Additionally, there is no error-bit generation in case of Short Bit Period Error detection in a broadcast message while LSTN bit is set. Read more...

SignalFreeTimeOption

Set SFTOP bit CEC_SFT_Option : specifies when SFT timer starts. CEC_SFT_START_ON_TXSOM SFT: timer starts when TXSOM is set by software. CEC_SFT_START_ON_TX_RX_END: SFT timer starts automatically at the end of message transmission/reception. Read more...

ListenMode

Set LSTN bit CEC_Listening_Mode : specifies device listening mode. It can take two values: CEC_REDUCED_LISTENING_MODE: CEC peripheral receives only message addressed to its own address (OAR). Messages addressed to different destination are ignored. Broadcast messages are always received. CEC_FULL_LISTENING_MODE: CEC peripheral receives messages addressed to its own address (OAR) with positive acknowledge. Messages addressed to different destination are received, but without interfering with the CEC bus: no acknowledge sent. Read more...

OwnAddress

Own addresses configuration This parameter can be a value of CEC_OWN_ADDRESS. Read more...

RxBuffer

CEC Rx buffer pointer. Read more...

References

Type Use

Variables of CEC_InitTypeDef type
all items filtered out
CEC_InitTypeDef
all items filtered out
CEC_InitTypeDef
all items filtered out