Production Line Tool v5.0
The DA1470x Production Line Tool Software Package
Loading...
Searching...
No Matches
Public Attributes | List of all members
__pdll_sensor_test Struct Reference

p_dll library parameters for the sensor test. More...

#include <p_dll.h>

Public Attributes

_pdll_test_id test_id
 
bool en
 
char name [TEST_NAME_STR_SIZE]
 
_sensor_iface iface
 
bool write
 
_ic_gpio spi_clk
 
_ic_gpio spi_di
 
_ic_gpio spi_do
 
_ic_gpio spi_cs
 
_ic_gpio i2c_scl
 
_ic_gpio i2c_sda
 
uint8_t reg_addr
 
uint8_t wr_data
 
uint8_t i2c_slave_addr
 
bool int_gpio_check
 
_ic_gpio int_gpio
 
uint8_t valid_data
 
_gpio_pwr_lvl pwr_lvl
 

Detailed Description

p_dll library parameters for the sensor test.

Definition at line 612 of file p_dll.h.

Member Data Documentation

◆ en

bool __pdll_sensor_test::en

Whether to enable the sensor test.

Definition at line 615 of file p_dll.h.

◆ i2c_scl

_ic_gpio __pdll_sensor_test::i2c_scl

The sensor I2C clock GPIO selection.

Definition at line 623 of file p_dll.h.

◆ i2c_sda

_ic_gpio __pdll_sensor_test::i2c_sda

The sensor I2C serial data GPIO selection.

Definition at line 624 of file p_dll.h.

◆ i2c_slave_addr

uint8_t __pdll_sensor_test::i2c_slave_addr

If I2C sensor interface is used, this value indicates the I2C sensor slave address.

Definition at line 627 of file p_dll.h.

◆ iface

_sensor_iface __pdll_sensor_test::iface

The sensor interface with values from __sensor_iface.

Definition at line 617 of file p_dll.h.

◆ int_gpio

_ic_gpio __pdll_sensor_test::int_gpio

The sensor interrupt or DRDY GPIO selection.

Definition at line 629 of file p_dll.h.

◆ int_gpio_check

bool __pdll_sensor_test::int_gpio_check

Enable/disable checking of INT/DRDY GPIO.

Definition at line 628 of file p_dll.h.

◆ name

char __pdll_sensor_test::name[TEST_NAME_STR_SIZE]

The name of the test.

Definition at line 616 of file p_dll.h.

◆ pwr_lvl

_gpio_pwr_lvl __pdll_sensor_test::pwr_lvl

The GPIO power level with values from __gpio_pwr_lvl.

Definition at line 631 of file p_dll.h.

◆ reg_addr

uint8_t __pdll_sensor_test::reg_addr

The sensor register address to read data from.

Definition at line 625 of file p_dll.h.

◆ spi_clk

_ic_gpio __pdll_sensor_test::spi_clk

The sensor SPI clock GPIO selection.

Definition at line 619 of file p_dll.h.

◆ spi_cs

_ic_gpio __pdll_sensor_test::spi_cs

The sensor SPI chip select GPIO selection.

Definition at line 622 of file p_dll.h.

◆ spi_di

_ic_gpio __pdll_sensor_test::spi_di

The sensor SPI data input GPIO selection.

Definition at line 620 of file p_dll.h.

◆ spi_do

_ic_gpio __pdll_sensor_test::spi_do

The sensor SPI data output GPIO selection.

Definition at line 621 of file p_dll.h.

◆ test_id

_pdll_test_id __pdll_sensor_test::test_id

Which test, from the __pdll_test_id, this device will perform.

Definition at line 614 of file p_dll.h.

◆ valid_data

uint8_t __pdll_sensor_test::valid_data

The byte that will be expected on a successful operation

Definition at line 630 of file p_dll.h.

◆ wr_data

uint8_t __pdll_sensor_test::wr_data

If user selected to write a register, this value will contain the data to be written.

Definition at line 626 of file p_dll.h.

◆ write

bool __pdll_sensor_test::write

Whether we want to write or read from the sensor. True=Write. False=Read.

Definition at line 618 of file p_dll.h.


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