SAM4L Analog Comparator Interface Driver.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
|
static void | ac_ch_get_config_defaults (struct ac_ch_config *const cfg) |
| Initializes an ACIFC channel configuration structure to default values. More...
|
|
void | ac_ch_set_config (struct ac_dev_inst *const dev_inst, uint32_t channel, struct ac_ch_config *cfg) |
| Configure the specified ACIFC channel. More...
|
|
static void | ac_clear_interrupt_status (struct ac_dev_inst *const dev_inst, uint32_t status) |
| Write to the ACIFC interrupt status. More...
|
|
void | ac_disable (struct ac_dev_inst *const dev_inst) |
| Disable the ACIFC Module. More...
|
|
void | ac_disable_interrupt (struct ac_dev_inst *const dev_inst, ac_interrupt_source_t source) |
| Disable the specified ACIFC interrupt source. More...
|
|
void | ac_enable (struct ac_dev_inst *const dev_inst) |
| Enable the ACIFC module. More...
|
|
void | ac_enable_interrupt (struct ac_dev_inst *const dev_inst, ac_interrupt_source_t source) |
| Enable the specified ACIFC interrupt source. More...
|
|
static void | ac_get_config_defaults (struct ac_config *const cfg) |
| Initialize an ACIFC configuration structure to default values. More...
|
|
static uint32_t | ac_get_interrupt_mask (struct ac_dev_inst *const dev_inst) |
| Get the ACIFC interrupt mask. More...
|
|
static uint32_t | ac_get_interrupt_status (struct ac_dev_inst *const dev_inst) |
| Get the ACIFC interrupt status. More...
|
|
static uint32_t | ac_get_status (struct ac_dev_inst *const dev_inst) |
| Get the ACIFC status. More...
|
|
enum status_code | ac_init (struct ac_dev_inst *const dev_inst, Acifc *const ac, struct ac_config *const cfg) |
| Initialize the ACIFC module. More...
|
|
static bool | ac_is_comparison_done (struct ac_dev_inst *const dev_inst) |
| Check if the ACIFC comparison is done. More...
|
|
void | ac_set_callback (struct ac_dev_inst *const dev_inst, ac_interrupt_source_t source, ac_callback_t callback, uint8_t irq_level) |
| Set the ACIFC interrupt callback. More...
|
|
static void | ac_user_trigger_single_comparison (struct ac_dev_inst *const dev_inst) |
| Start a single ACIFC comparison. More...
|
|
static void | ac_win_get_config_defaults (struct ac_win_config *const cfg) |
| Initializes an ACIFC window configuration structure to default values. More...
|
|
void | ac_win_set_config (struct ac_dev_inst *const dev_inst, uint32_t window, struct ac_win_config *cfg) |
| Configure the specified ACIFC window. More...
|
|