![]() |
no-OS
|
#include <max11205.h>
Public Attributes | |
| struct no_os_spi_desc * | spi_desc |
| struct no_os_gpio_desc * | gpio_rdy |
| struct no_os_irq_ctrl_desc * | irq_ctrl |
| struct no_os_callback_desc | irq_cb |
| uint32_t | vref_mv |
| int16_t | adc_data_raw |
| bool | data_updated |
| int16_t max11205_dev::adc_data_raw |
ADC raw data, updated at each interrupt
| bool max11205_dev::data_updated |
True if data was updated since last read
| struct no_os_gpio_desc* max11205_dev::gpio_rdy |
GPIO RDY descriptor used to signal when ADC data is available
| struct no_os_callback_desc max11205_dev::irq_cb |
IRQ callback used to handle interrupt routine for GPIO RDY
| struct no_os_irq_ctrl_desc* max11205_dev::irq_ctrl |
IRQ device descriptor used to handle interrupt routine for GPIO RDY
| struct no_os_spi_desc* max11205_dev::spi_desc |
SPI device descriptor
| uint32_t max11205_dev::vref_mv |
Reference voltage in millivolts