This is the generated driver source file for SCCP2-TIMER driver. More...
Go to the source code of this file.
Macros | |
#define | MASK_32_BIT_LOW 0x0000FFFFU |
#define | MASK_32_BIT_HIGH 0xFFFF0000U |
Functions | |
void | SCCP2_Timer_Initialize (void) |
Initializes the SCCP2 module. | |
void | SCCP2_Timer_Deinitialize (void) |
Deinitializes the SCCP2 to POR values. | |
void | SCCP2_Timer_Start (void) |
Starts the timer. | |
void | SCCP2_Timer_Stop (void) |
Stops the timer. | |
void | SCCP2_Timer_PeriodSet (uint32_t count) |
Sets the SCCP2-Timer period count value. | |
void | SCCP2_Timer_InterruptPrioritySet (enum INTERRUPT_PRIORITY priority) |
Sets the Interrupt Priority Value. | |
void | SCCP2_Timer_TimeoutCallbackRegister (void(*handler)(void)) |
This function can be used to override default callback and to define custom callback for SCCP2 Timeout event. | |
void | SCCP2_TimeoutCallbackRegister (void *handler) |
This function can be used to override default callback and to define custom callback for SCCP2 Timeout event. | |
void | SCCP2_TimeoutCallback (void) |
This is the default callback with weak attribute. The user can override and implement the default callback without weak attribute or can register a custom callback function using SCCP2_Timer_TimeoutCallbackRegister. | |
void | SCCP2_Timer_Tasks (void) |
Used in polling method of timeout event. | |
void | SCCP2_Timer_PeriodCountSet (size_t count) |
Variables | |
static void(* | SCCP2_TimeoutHandler )(void) = NULL |
const struct TIMER_INTERFACE | SPI_Timeout_40us_Timer |
Structure object of type TIMER_INTERFACE with the custom name given by the user in the Melody Driver User interface. The default name e.g. Timer1 can be changed by the user in the TIMER user interface. This allows defining a structure with application specific name using the 'Custom Name' field. Application specific name allows the API Portability. | |
SCCP2-TIMER Generated Driver Source File
Definition in file sccp2.c.