no-OS
Loading...
Searching...
No Matches
adar300x_dev Struct Reference

ADAR300X device descriptor. One instance is one physical chip, and several chips may share one SPI descriptor, see spi_desc_shared. More...

#include <adar300x.h>

Public Attributes

struct no_os_spi_desc * spi_desc
 
bool spi_desc_is_owned
 
const struct adar300x_chip_info * chip_info
 
enum adar300x_type type
 
uint8_t dev_addr
 
uint8_t cur_page
 
struct no_os_gpio_desc * gpio_rstb
 
struct no_os_gpio_desc * gpio_mux_sel
 
struct no_os_gpio_desc * gpio_update
 
struct no_os_gpio_desc * gpio_reset
 
struct no_os_gpio_desc * gpio_mute
 

Detailed Description

ADAR300X device descriptor. One instance is one physical chip, and several chips may share one SPI descriptor, see spi_desc_shared.

Member Data Documentation

◆ chip_info

const struct adar300x_chip_info* adar300x_dev::chip_info

Per part constants

◆ cur_page

uint8_t adar300x_dev::cur_page

Cached ADDRESS_PAGE, ADAR300X_PAGE_INVALID when unknown

◆ dev_addr

uint8_t adar300x_dev::dev_addr

Chip ID, 0 to 15, must match the ADDR3..0 straps

◆ gpio_mute

struct no_os_gpio_desc* adar300x_dev::gpio_mute

Beam mute qualifier, active high

◆ gpio_mux_sel

struct no_os_gpio_desc* adar300x_dev::gpio_mux_sel

SPI source select on the eval board mux, must be driven low

◆ gpio_reset

struct no_os_gpio_desc* adar300x_dev::gpio_reset

Beam reset qualifier, active high

◆ gpio_rstb

struct no_os_gpio_desc* adar300x_dev::gpio_rstb

Hard reset, active low (RSTB)

◆ gpio_update

struct no_os_gpio_desc* adar300x_dev::gpio_update

Beam state latch strobe, rising edge

◆ spi_desc

struct no_os_spi_desc* adar300x_dev::spi_desc

SPI descriptor

◆ spi_desc_is_owned

bool adar300x_dev::spi_desc_is_owned

False when spi_desc was adopted and must not be freed

◆ type

enum adar300x_type adar300x_dev::type

Part variant


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