no-OS
|
ADE9153a Device initialization parameters. More...
#include <ade9153a.h>
Public Attributes | |
struct no_os_spi_init_param * | spi_init |
struct no_os_gpio_init_param * | gpio_rdy |
struct no_os_gpio_init_param * | gpio_reset |
struct no_os_spi_init_param * | gpio_ss |
struct no_os_spi_init_param * | gpio_sck |
uint8_t | spi_en |
struct no_os_irq_ctrl_desc * | irq_ctrl |
uint8_t | ai_swap |
enum ade9153a_ai_gain_e | ai_pga_gain |
enum ade9153a_hpf_crn_e | hpf_crn |
enum ade9153a_selfreq_e | freq |
uint32_t | vlevel |
uint32_t | rsmall |
uint32_t | no_samples |
uint32_t | ai_gain |
void(* | drdy_callback )(void *context) |
ADE9153a Device initialization parameters.
uint32_t ade9153a_init_param::ai_gain |
Ai Gain
enum ade9153a_ai_gain_e ade9153a_init_param::ai_pga_gain |
AI gain init value
uint8_t ade9153a_init_param::ai_swap |
operation of sensor
void(* ade9153a_init_param::drdy_callback) (void *context) |
External callback used to handle interrupt routine for GPIO RDY Set to NULL if callback defined in driver used
enum ade9153a_selfreq_e ade9153a_init_param::freq |
Energy accumulation freq select
struct no_os_gpio_init_param* ade9153a_init_param::gpio_rdy |
GPIO RDY descriptor used to signal when ADC data is available
struct no_os_gpio_init_param* ade9153a_init_param::gpio_reset |
GPIO RESET descriptor used to reset device (HW reset)
struct no_os_spi_init_param* ade9153a_init_param::gpio_sck |
GPIO sck descriptor used to config comms
struct no_os_spi_init_param* ade9153a_init_param::gpio_ss |
GPIO ss descriptor used to config comms
enum ade9153a_hpf_crn_e ade9153a_init_param::hpf_crn |
High pass filter corner freq init value
struct no_os_irq_ctrl_desc* ade9153a_init_param::irq_ctrl |
IRQ device descriptor used to handle interrupt routine for GPIO RDY
uint32_t ade9153a_init_param::no_samples |
Energy accumulation sample no
uint32_t ade9153a_init_param::rsmall |
Vdiv Rsmall
uint8_t ade9153a_init_param::spi_en |
Enable SPI interface
struct no_os_spi_init_param* ade9153a_init_param::spi_init |
uint32_t ade9153a_init_param::vlevel |
Vlevel value