Functions | |
void | CEC_ClearFlag (uint32_t CEC_FLAG) |
Clears the CEC's pending flags. More... | |
void | CEC_ClearITPendingBit (uint16_t CEC_IT) |
Clears the CEC's interrupt pending bits. More... | |
void | CEC_Cmd (FunctionalState NewState) |
Enables or disables the specified CEC peripheral. More... | |
void | CEC_DeInit (void) |
Deinitializes the CEC peripheral registers to their default reset values. More... | |
void | CEC_EndOfMessageCmd (FunctionalState NewState) |
Transmits message with or without an EOM bit. More... | |
FlagStatus | CEC_GetFlagStatus (uint32_t CEC_FLAG) |
Gets the CEC flag status. More... | |
ITStatus | CEC_GetITStatus (uint8_t CEC_IT) |
Checks whether the specified CEC interrupt has occurred or not. More... | |
void | CEC_Init (CEC_InitTypeDef *CEC_InitStruct) |
Initializes the CEC peripheral according to the specified parameters in the CEC_InitStruct. More... | |
void | CEC_ITConfig (FunctionalState NewState) |
Enables or disables the CEC interrupt. More... | |
void | CEC_OwnAddressConfig (uint8_t CEC_OwnAddress) |
Defines the Own Address of the CEC device. More... | |
uint8_t | CEC_ReceiveDataByte (void) |
Returns the most recent received data by the CEC peripheral. More... | |
void | CEC_SendDataByte (uint8_t Data) |
Transmits single data through the CEC peripheral. More... | |
void | CEC_SetPrescaler (uint16_t CEC_Prescaler) |
Sets the CEC prescaler value. More... | |
void | CEC_StartOfMessage (void) |
Starts a new message. More... | |
void CEC_ClearFlag | ( | uint32_t | CEC_FLAG | ) |
Clears the CEC's pending flags.
CEC_FLAG | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 349 of file stm32f10x_cec.c.
void CEC_ClearITPendingBit | ( | uint16_t | CEC_IT | ) |
Clears the CEC's interrupt pending bits.
CEC_IT | specifies the CEC interrupt pending bit to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 408 of file stm32f10x_cec.c.
void CEC_Cmd | ( | FunctionalState | NewState | ) |
Enables or disables the specified CEC peripheral.
NewState | new state of the CEC peripheral. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 164 of file stm32f10x_cec.c.
void CEC_DeInit | ( | void | ) |
Deinitializes the CEC peripheral registers to their default reset values.
None |
None |
Definition at line 118 of file stm32f10x_cec.c.
void CEC_EndOfMessageCmd | ( | FunctionalState | NewState | ) |
Transmits message with or without an EOM bit.
NewState | new state of the CEC Tx End Of Message. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 262 of file stm32f10x_cec.c.
FlagStatus CEC_GetFlagStatus | ( | uint32_t | CEC_FLAG | ) |
Gets the CEC flag status.
CEC_FLAG | specifies the CEC flag to check. This parameter can be one of the following values:
|
The | new state of CEC_FLAG (SET or RESET) |
Definition at line 291 of file stm32f10x_cec.c.
ITStatus CEC_GetITStatus | ( | uint8_t | CEC_IT | ) |
Checks whether the specified CEC interrupt has occurred or not.
CEC_IT | specifies the CEC interrupt source to check. This parameter can be one of the following values:
|
The | new state of CEC_IT (SET or RESET). |
Definition at line 372 of file stm32f10x_cec.c.
void CEC_Init | ( | CEC_InitTypeDef * | CEC_InitStruct | ) |
Initializes the CEC peripheral according to the specified parameters in the CEC_InitStruct.
CEC_InitStruct | pointer to an CEC_InitTypeDef structure that contains the configuration information for the specified CEC peripheral. |
None |
Definition at line 135 of file stm32f10x_cec.c.
void CEC_ITConfig | ( | FunctionalState | NewState | ) |
Enables or disables the CEC interrupt.
NewState | new state of the CEC interrupt. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 186 of file stm32f10x_cec.c.
void CEC_OwnAddressConfig | ( | uint8_t | CEC_OwnAddress | ) |
Defines the Own Address of the CEC device.
CEC_OwnAddress | The CEC own address |
None |
Definition at line 199 of file stm32f10x_cec.c.
uint8_t CEC_ReceiveDataByte | ( | void | ) |
Returns the most recent received data by the CEC peripheral.
None |
The | received data. |
Definition at line 239 of file stm32f10x_cec.c.
void CEC_SendDataByte | ( | uint8_t | Data | ) |
Transmits single data through the CEC peripheral.
Data | the data to transmit. |
None |
Definition at line 227 of file stm32f10x_cec.c.
void CEC_SetPrescaler | ( | uint16_t | CEC_Prescaler | ) |
Sets the CEC prescaler value.
CEC_Prescaler | CEC prescaler new value |
None |
Definition at line 213 of file stm32f10x_cec.c.
void CEC_StartOfMessage | ( | void | ) |
Starts a new message.
None |
None |
Definition at line 250 of file stm32f10x_cec.c.