Classes | Macros | Functions
stm32f10x_cec.h File Reference

This file contains all the functions prototypes for the CEC firmware library. More...

#include "stm32f10x.h"
Include dependency graph for stm32f10x_cec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CEC_InitTypeDef
 CEC Init structure definition. More...
 

Macros

#define CEC_BitPeriodFlexibleMode   CEC_CFGR_BPEM
 
#define CEC_BitPeriodStdMode   ((uint16_t)0x00)
 
#define CEC_BitTimingErrFreeMode   CEC_CFGR_BTEM
 
#define CEC_BitTimingStdMode   ((uint16_t)0x00)
 
#define CEC_FLAG_ACKE   ((uint32_t)0x10100000)
 
#define CEC_FLAG_BPE   ((uint32_t)0x10020000)
 
#define CEC_FLAG_BTE   ((uint32_t)0x10010000)
 ESR register flags. More...
 
#define CEC_FLAG_LINE   ((uint32_t)0x10200000)
 
#define CEC_FLAG_RBTF   ((uint32_t)0x00000080)
 
#define CEC_FLAG_RBTFE   ((uint32_t)0x10040000)
 
#define CEC_FLAG_REOM   ((uint32_t)0x00000020)
 
#define CEC_FLAG_RERR   ((uint32_t)0x00000040)
 
#define CEC_FLAG_RSOM   ((uint32_t)0x00000010)
 
#define CEC_FLAG_SBE   ((uint32_t)0x10080000)
 
#define CEC_FLAG_TBTFE   ((uint32_t)0x10400000)
 
#define CEC_FLAG_TBTRF   ((uint32_t)0x00000008)
 
#define CEC_FLAG_TEOM   ((uint32_t)0x00000002)
 CSR register flags. More...
 
#define CEC_FLAG_TERR   ((uint32_t)0x00000004)
 
#define CEC_IT_RBTF   CEC_CSR_RBTF
 
#define CEC_IT_RERR   CEC_CSR_RERR
 
#define CEC_IT_TBTRF   CEC_CSR_TBTRF
 
#define CEC_IT_TERR   CEC_CSR_TERR
 
#define IS_CEC_ADDRESS(ADDRESS)   ((ADDRESS) < 0x10)
 
#define IS_CEC_BIT_PERIOD_ERROR_MODE(MODE)
 
#define IS_CEC_BIT_TIMING_ERROR_MODE(MODE)
 
#define IS_CEC_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint32_t)0xFFFFFF03) == 0x00) && ((FLAG) != 0x00))
 
#define IS_CEC_GET_FLAG(FLAG)
 
#define IS_CEC_GET_IT(IT)
 
#define IS_CEC_PRESCALER(PRESCALER)   ((PRESCALER) <= 0x3FFF)
 

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...
 

Detailed Description

This file contains all the functions prototypes for the CEC firmware library.

Author
MCD Application Team
Version
V3.5.0
Date
11-March-2011
Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics

Definition in file stm32f10x_cec.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21