Go to the source code of this file.
Functions | |
VDevice * | adc_int_create (int addr, char *name, int rel_addr, void *data) |
ADCIntr_T * | adc_intr_new (int addr, char *name, int rel_addr) |
void | adc_intr_construct (ADCIntr_T *adc, int addr, char *name, int rel_addr) |
void | adc_intr_destroy (void *adc) |
VDevice * | adc_create (int addr, char *name, int rel_addr, void *data) |
ADC_T * | adc_new (int addr, char *name, uint8_t uier, int rel_addr) |
void | adc_construct (ADC_T *adc, int addr, char *name, uint8_t uier, int rel_addr) |
void | adc_destroy (void *adc) |
uint16_t | adc_port_rd (uint8_t mux) |
void | adc_port_wr (uint8_t val) |
Definition in file adc.c.
|
Allocate a new ADC interrupt.
|
|
Constructor for adc interrupt object.
Definition at line 99 of file adc.c. References avr_error, and vdev_construct(). |
|
Destructor for adc interrupt object.
Definition at line 138 of file adc.c. References vdev_destroy(). |
|
Allocate a new ADC structure.
Definition at line 292 of file adc.c. References avr_error. |
|
Constructor for ADC object.
Definition at line 318 of file adc.c. References avr_error, and vdev_construct(). |
|
Destructor for ADC object.
Definition at line 357 of file adc.c. References vdev_destroy(). |