LibDriver AD7705
Loading...
Searching...
No Matches
ad7705_handle_s Struct Reference

ad7705 handle structure definition More...

#include <driver_ad7705.h>

Data Fields

uint8_t(* gpio_reset_init )(void)
uint8_t(* gpio_reset_deinit )(void)
uint8_t(* gpio_reset_write )(uint8_t level)
uint8_t(* spi_init )(void)
uint8_t(* spi_deinit )(void)
uint8_t(* spi_write )(uint8_t addr, uint8_t *buf, uint16_t len)
uint8_t(* spi_read )(uint8_t addr, uint8_t *buf, uint16_t len)
void(* delay_ms )(uint32_t ms)
void(* debug_print )(const char *const fmt,...)
uint8_t inited
uint8_t channel
uint8_t standby
float reference_voltage

Detailed Description

ad7705 handle structure definition

Definition at line 132 of file driver_ad7705.h.

Field Documentation

◆ channel

uint8_t channel

channel

Definition at line 144 of file driver_ad7705.h.

◆ debug_print

void(* debug_print) (const char *const fmt,...)

point to a debug_print function address

Definition at line 142 of file driver_ad7705.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 141 of file driver_ad7705.h.

◆ gpio_reset_deinit

uint8_t(* gpio_reset_deinit) (void)

point to a gpio_reset_deinit function address

Definition at line 135 of file driver_ad7705.h.

◆ gpio_reset_init

uint8_t(* gpio_reset_init) (void)

point to a gpio_reset_init function address

Definition at line 134 of file driver_ad7705.h.

◆ gpio_reset_write

uint8_t(* gpio_reset_write) (uint8_t level)

point to a gpio_reset_write function address

Definition at line 136 of file driver_ad7705.h.

◆ inited

uint8_t inited

inited flag

Definition at line 143 of file driver_ad7705.h.

◆ reference_voltage

float reference_voltage

reference voltage

Definition at line 146 of file driver_ad7705.h.

◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to a spi_deinit function address

Definition at line 138 of file driver_ad7705.h.

◆ spi_init

uint8_t(* spi_init) (void)

point to a spi_init function address

Definition at line 137 of file driver_ad7705.h.

◆ spi_read

uint8_t(* spi_read) (uint8_t addr, uint8_t *buf, uint16_t len)

point to a spi_read function address

Definition at line 140 of file driver_ad7705.h.

◆ spi_write

uint8_t(* spi_write) (uint8_t addr, uint8_t *buf, uint16_t len)

point to a spi_write function address

Definition at line 139 of file driver_ad7705.h.

◆ standby

uint8_t standby

standby

Definition at line 145 of file driver_ad7705.h.


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