no-OS
Public Attributes | List of all members
ade9153a_init_param Struct Reference

ADE9153a Device initialization parameters. More...

#include <ade9153a.h>

Collaboration diagram for ade9153a_init_param:
Collaboration graph
[legend]

Public Attributes

struct no_os_spi_init_paramspi_init
 
struct no_os_gpio_init_paramgpio_rdy
 
struct no_os_gpio_init_paramgpio_reset
 
struct no_os_spi_init_paramgpio_ss
 
struct no_os_spi_init_paramgpio_sck
 
uint8_t spi_en
 
struct no_os_irq_ctrl_descirq_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)
 

Detailed Description

ADE9153a Device initialization parameters.

Member Data Documentation

◆ ai_gain

uint32_t ade9153a_init_param::ai_gain

Ai Gain

◆ ai_pga_gain

enum ade9153a_ai_gain_e ade9153a_init_param::ai_pga_gain

AI gain init value

◆ ai_swap

uint8_t ade9153a_init_param::ai_swap

operation of sensor

◆ drdy_callback

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

◆ freq

enum ade9153a_selfreq_e ade9153a_init_param::freq

Energy accumulation freq select

◆ gpio_rdy

struct no_os_gpio_init_param* ade9153a_init_param::gpio_rdy

GPIO RDY descriptor used to signal when ADC data is available

◆ gpio_reset

struct no_os_gpio_init_param* ade9153a_init_param::gpio_reset

GPIO RESET descriptor used to reset device (HW reset)

◆ gpio_sck

struct no_os_spi_init_param* ade9153a_init_param::gpio_sck

GPIO sck descriptor used to config comms

◆ gpio_ss

struct no_os_spi_init_param* ade9153a_init_param::gpio_ss

GPIO ss descriptor used to config comms

◆ hpf_crn

enum ade9153a_hpf_crn_e ade9153a_init_param::hpf_crn

High pass filter corner freq init value

◆ irq_ctrl

struct no_os_irq_ctrl_desc* ade9153a_init_param::irq_ctrl

IRQ device descriptor used to handle interrupt routine for GPIO RDY

◆ no_samples

uint32_t ade9153a_init_param::no_samples

Energy accumulation sample no

◆ rsmall

uint32_t ade9153a_init_param::rsmall

Vdiv Rsmall

◆ spi_en

uint8_t ade9153a_init_param::spi_en

Enable SPI interface

◆ spi_init

struct no_os_spi_init_param* ade9153a_init_param::spi_init

◆ vlevel

uint32_t ade9153a_init_param::vlevel

Vlevel value


The documentation for this struct was generated from the following file: