rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions | Variables
hal_comp_lld.c File Reference

Functions

void comp_lld_init (void)
 Low level COMP driver initialization.
 
static void comp_lld_irq_handler (COMPDriver *compp)
 
 OSAL_IRQ_HANDLER (KINETIS_COMP0_IRQ_VECTOR)
 COMP1, COMP2, COMP3 interrupt handler.
 
 OSAL_IRQ_HANDLER (KINETIS_COMP1_IRQ_VECTOR)
 
 OSAL_IRQ_HANDLER (KINETIS_COMP2_IRQ_VECTOR)
 
void comp_lld_channel_enable (COMPDriver *compp, uint32_t channel)
 Configures and activates an EXT channel (used by comp)
 
void comp_lld_channel_disable (COMPDriver *compp, uint32_t channel)
 Deactivate an EXT channel (used by comp)
 
void comp_lld_set_dac_value (COMPDriver *compp, uint32_t value)
 Set the DAC value used by comp.
 
void comp_lld_start (COMPDriver *compp)
 Configures and activates the COMP peripheral.
 
void comp_lld_stop (COMPDriver *compp)
 Deactivates the comp peripheral.
 
void comp_lld_enable (COMPDriver *compp)
 Enables the output.
 
void comp_lld_disable (COMPDriver *compp)
 Disables the output.
 
uint32_t comp_lld_get_status (COMPDriver *compp)
 

Variables

COMPDriver COMPD1
 COMPD1 driver identifier.
 
COMPDriver COMPD2
 COMPD2 driver identifier.
 
COMPDriver COMPD3
 COMPD3 driver identifier.
 

Go to the source code of this file.