STM32F4xx_HAL_Driver
1.8.3
|
Header file of CEC HAL module. More...
Go to the source code of this file.
Data Structures | |
struct | CEC_InitTypeDef |
CEC Init Structure definition. More... | |
struct | endif |
ADC handle Structure definition. More... | |
Typedefs | |
typedef uint32_t | HAL_CEC_StateTypeDef |
HAL CEC State definition. More... | |
typedef struct __CEC_HandleTypeDef else typedef struct endif | CEC_HandleTypeDef |
CEC handle Structure definition. | |
typedef void(* | pCEC_CallbackTypeDef) (CEC_HandleTypeDef *hcec) |
HAL CEC Callback pointer definition. More... | |
typedef void(* | pCEC_RxCallbackTypeDef) (CEC_HandleTypeDef *hcec, uint32_t RxFrameSize) |
Enumerations | |
enum | HAL_CEC_CallbackIDTypeDef { HAL_CEC_TX_CPLT_CB_ID = 0x00U , HAL_CEC_RX_CPLT_CB_ID = 0x01U , HAL_CEC_ERROR_CB_ID = 0x02U , HAL_CEC_MSPINIT_CB_ID = 0x03U , HAL_CEC_MSPDEINIT_CB_ID = 0x04U } |
HAL CEC Callback ID enumeration definition. More... | |
Functions | |
HAL_StatusTypeDef | HAL_CEC_Init (CEC_HandleTypeDef *hcec) |
Initializes the CEC mode according to the specified parameters in the CEC_InitTypeDef and creates the associated handle . More... | |
HAL_StatusTypeDef | HAL_CEC_DeInit (CEC_HandleTypeDef *hcec) |
DeInitializes the CEC peripheral. More... | |
HAL_StatusTypeDef | HAL_CEC_SetDeviceAddress (CEC_HandleTypeDef *hcec, uint16_t CEC_OwnAddress) |
Initializes the Own Address of the CEC device. More... | |
void | HAL_CEC_MspInit (CEC_HandleTypeDef *hcec) |
CEC MSP Init. More... | |
void | HAL_CEC_MspDeInit (CEC_HandleTypeDef *hcec) |
CEC MSP DeInit. More... | |
HAL_StatusTypeDef | HAL_CEC_RegisterCallback (CEC_HandleTypeDef *hcec, HAL_CEC_CallbackIDTypeDef CallbackID, pCEC_CallbackTypeDef pCallback) |
Register a User CEC Callback To be used instead of the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_CEC_UnRegisterCallback (CEC_HandleTypeDef *hcec, HAL_CEC_CallbackIDTypeDef CallbackID) |
Unregister an CEC Callback CEC callback is redirected to the weak predefined callback. More... | |
HAL_StatusTypeDef | HAL_CEC_RegisterRxCpltCallback (CEC_HandleTypeDef *hcec, pCEC_RxCallbackTypeDef pCallback) |
Register CEC RX complete Callback To be used instead of the weak HAL_CEC_RxCpltCallback() predefined callback. More... | |
HAL_StatusTypeDef | HAL_CEC_UnRegisterRxCpltCallback (CEC_HandleTypeDef *hcec) |
UnRegister CEC RX complete Callback CEC RX complete Callback is redirected to the weak HAL_CEC_RxCpltCallback() predefined callback. More... | |
HAL_StatusTypeDef | HAL_CEC_Transmit_IT (CEC_HandleTypeDef *hcec, uint8_t InitiatorAddress, uint8_t DestinationAddress, const uint8_t *pData, uint32_t Size) |
Send data in interrupt mode. More... | |
uint32_t | HAL_CEC_GetLastReceivedFrameSize (const CEC_HandleTypeDef *hcec) |
Get size of the received frame. More... | |
void | HAL_CEC_ChangeRxBuffer (CEC_HandleTypeDef *hcec, uint8_t *Rxbuffer) |
Change Rx Buffer. More... | |
void | HAL_CEC_IRQHandler (CEC_HandleTypeDef *hcec) |
This function handles CEC interrupt requests. More... | |
void | HAL_CEC_TxCpltCallback (CEC_HandleTypeDef *hcec) |
Tx Transfer completed callback. More... | |
void | HAL_CEC_RxCpltCallback (CEC_HandleTypeDef *hcec, uint32_t RxFrameSize) |
Rx Transfer completed callback. More... | |
void | HAL_CEC_ErrorCallback (CEC_HandleTypeDef *hcec) |
CEC error callbacks. More... | |
HAL_CEC_StateTypeDef | HAL_CEC_GetState (const CEC_HandleTypeDef *hcec) |
return the CEC state More... | |
uint32_t | HAL_CEC_GetError (const CEC_HandleTypeDef *hcec) |
Return the CEC error code. More... | |
Header file of CEC HAL module.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f4xx_hal_cec.h.