ADCIFB Software driver interface for AVR32 UC3.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
int32_t | adcifb_configure (volatile avr32_adcifb_t *adcifb, const adcifb_opt_t *p_adcifb_opt) |
Initialize the ADCIFB module (enable and configure). More... | |
int32_t | adcifb_configure_trigger (volatile avr32_adcifb_t *adcifb, uint8_t trgmod, uint32_t trgper) |
Configure the ADCIFB trigger mode. More... | |
int32_t | adcifb_disable (volatile avr32_adcifb_t *adcifb) |
Disable ADCIFB. More... | |
void | adcifb_enable_pen_detect_mode (volatile avr32_adcifb_t *adcifb, uint8_t pen_dbc_period) |
Enable Pen Detect mode in ADCIFB. More... | |
void | adcifb_enable_touch_screen_mode (volatile avr32_adcifb_t *adcifb, uint8_t touch_screen_pin_offset, bool analog_pin_output_enable) |
Enable Touch Screen mode in ADCIFB. More... | |
uint32_t | adcifb_get_last_data (volatile avr32_adcifb_t *adcifb) |
Get Last Converted data. More... | |
bool | adcifb_is_busy (volatile avr32_adcifb_t *adcifb) |
Check if the ADCIFB is busy. More... | |
bool | adcifb_is_drdy (volatile avr32_adcifb_t *adcifb) |
Check if one or more data has been converted since the start of conversion and is available. More... | |
bool | adcifb_is_ovre (volatile avr32_adcifb_t *adcifb) |
Check if one or more Overrun Error has occurred since the start of conversion. More... | |
bool | adcifb_is_ready (volatile avr32_adcifb_t *adcifb) |
Check if the ADCIFB is ready to perform a conversion sequence. More... | |
int32_t | adcifb_sr_statushigh_wait (volatile avr32_adcifb_t *adcifb, uint32_t statusMask) |
Wait for a status high in the ADCIFB SR status register. More... | |