50 #define TIMER5n_CR_MATCH_FLAG (1 << TIMER5n_CR_T5nMIFLAG_Pos) 51 #define TIMER5n_CR_CAPTURE_FLAG (1 << TIMER5n_CR_T5nCIFLAG_Pos) 101 #define TIMER5n_ClrCnt( TIMER5x ) (TIMER5x->CR_b.T4nCLR = 1) 111 #define TIMER5n_SetAData( TIMER5x, u32AData ) (TIMER5x->ADR = u32AData) 121 #define TIMER5n_SetBData( TIMER5x, u32BData ) (TIMER5x->BDR = u32BData) 124 #define TIMER5n_CR_MIEN_SET( n ) (n << TIMER5n_CR_T5nMIEN_Pos) 127 #define TIMER5n_CR_CIEN_SET( n ) (n << TIMER5n_CR_T5nCIEN_Pos) 130 #define TIMER5n_CR_PAU_SET( n ) (n << TIMER5n_CR_T5nPAU_Pos) 132 #define TIMER5n_PREDR_SET( n ) (n << 0) HAL_Status_Type HAL_TIMER5n_DeInit(TIMER5n_Type *TIMER5x)
Close Timer/Counter device.
TIMER5n_CR_T5nCLK_Enum T5nCLK
TIMER5n_CR_T5nINSEL_Enum T5nINSEL
HAL_Status_Type HAL_TIMER5n_ClearStatus(TIMER5n_Type *TIMER5x, uint32_t value)
Clear Timer Status.
Contains the ABOV typedefs for C standard types. It is intended to be used in ISO C conforming develo...
HAL_Status_Type HAL_TIMER5n_UpdateCountValue(TIMER5n_Type *TIMER5x, uint8_t CountCh, uint16_t Value)
Update value.
HAL_Status_Type HAL_TIMER5n_Cmd(TIMER5n_Type *TIMER5x, FunctionalState NewState)
Start/Stop Timer/Counter device.
TIMER5n_CR_T5nECE_Enum T5nECE
TIMER5n_CR_T5nINPOL_Enum T5nINPOL
HAL_Status_Type HAL_TIMER5n_ClearCounter(TIMER5n_Type *TIMER5x)
Clear Counter and Prescaler.
TIMER5n_CR_T5nMS_Enum T5nMS
uint16_t HAL_TIMER5n_GetCaptureData(TIMER5n_Type *TIMER5x)
Read value of capture register in timer/counter device.
uint8_t HAL_TIMER5n_GetStatus(TIMER5n_Type *TIMER5x)
Get Timer Status.
TIMER5n_CR_T5nOPOL_Enum T5nOPOL
HAL_Status_Type HAL_TIMER5n_ConfigInterrupt(TIMER5n_Type *TIMER5x, TIMER5n_INT_Type TIMER5n_IntCfg, FunctionalState NewState)
Configure the peripheral interrupt.
HAL_Status_Type HAL_TIMER5n_Init(TIMER5n_Type *TIMER5x, TIMER5n_CFG_Type *TIMER5n_Config)
Initialize the TIMER5n peripheral with the specified parameters.