This is the generated driver source file for ADC1 driver. More...
Go to the source code of this file.
Functions | |
void | ADC1_Initialize (void) |
Initializes ADC1 module, using the given initialization data This function must be called before any other ADC1 function is called. | |
void | ADC1_Deinitialize (void) |
Deinitializes the ADC1 to POR values. | |
void | ADC1_CorePowerEnable (enum ADC_DEDICATED_CORE core) |
Enables analog and digital power for ADC1 dedicated core. | |
void | ADC1_SharedCorePowerEnable (void) |
Enables power for ADC1 shared Core This function is used to set the analog and digital power for ADC1 shared Core. | |
void | ADC1_CommonCallbackRegister (void(*callback)(void)) |
This function can be used to override default callback and to define custom callback for ADC1 Common event. | |
void | ADC1_CommonCallback (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 ADC1_CommonCallbackRegister. | |
void | _ADCInterrupt (void) |
void | ADC1_Tasks (void) |
This function is used to implement the tasks for polled implementations. | |
void | ADC1_ChannelCallbackRegister (void(*callback)(enum ADC_CHANNEL channel, uint16_t adcVal)) |
This function can be used to override default callback ADC1_ChannelCallback and to define custom callback for ADC1 Channel event. Read the conversion result of the corresponding channel in the custom callback. | |
void | ADC1_ChannelCallback (enum ADC_CHANNEL channel, uint16_t adcVal) |
This is the default callback function for all the analog channels. This callback is triggered once the channel conversion is done for a channel and to read the conversion result of the corresponding channel. | |
void | _ADCAN10Interrupt (void) |
void | _ADCAN15Interrupt (void) |
void | _ADCAN0Interrupt (void) |
void | _ADCAN1Interrupt (void) |
void | ADC1_ChannelTasks (enum ADC_CHANNEL channel) |
This function call used only in polling mode, if channel conversion is done for requested channel, the calls the respective callback function. | |
void | ADC1_ComparatorCallbackRegister (void(*callback)(enum ADC_CMP comparator)) |
This function can be used to override default callback and to define custom callback for ADC1_Comparator event. | |
void | ADC1_ComparatorCallback (enum ADC_CMP comparator) |
Comparator callback function. | |
Variables | |
static void(* | ADC1_CommonHandler )(void) = NULL |
static void(* | ADC1_ChannelHandler )(enum ADC_CHANNEL channel, uint16_t adcVal) = NULL |
static void(* | ADC1_ComparatorHandler )(enum ADC_CMP comparator) = NULL |
const struct ADC_MULTICORE | adc1Multicore |
const struct ADC_INTERFACE | ADC1 |
Structure object of type ADC_INTERFACE with the custom name given by the user in the Melody Driver User interface. The default name e.g. ADC1 can be changed by the user in the ADC user interface. This allows defining a structure with application specific name using the 'Custom Name' field. Application specific name allows the API Portability. | |
ADC1 Generated Driver Source File
Definition in file adc1.c.
|
static |
const struct ADC_MULTICORE adc1Multicore |