LibDriver ISD17XX
Loading...
Searching...
No Matches
isd17xx_handle_s Struct Reference

isd17xx handle structure definition More...

#include <driver_isd17xx.h>

Data Fields

uint8_t(* spi_init )(void)
uint8_t(* spi_deinit )(void)
uint8_t(* spi_read )(uint8_t reg, uint8_t *buf, uint16_t len)
uint8_t(* spi_write )(uint8_t reg, uint8_t *buf, uint16_t len)
uint8_t(* spi_transmit )(uint8_t *tx, uint8_t *rx, uint16_t len)
uint8_t(* gpio_reset_init )(void)
uint8_t(* gpio_reset_deinit )(void)
uint8_t(* gpio_reset_write )(uint8_t level)
void(* receive_callback )(uint16_t type)
void(* delay_ms )(uint32_t ms)
void(* debug_print )(const char *const fmt,...)
uint16_t end_address
uint8_t vol_control
uint8_t type
uint8_t inited
uint8_t done

Detailed Description

isd17xx handle structure definition

Definition at line 133 of file driver_isd17xx.h.

Field Documentation

◆ debug_print

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

point to a debug_print function address

Definition at line 145 of file driver_isd17xx.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 144 of file driver_isd17xx.h.

◆ done

uint8_t done

done flag

Definition at line 150 of file driver_isd17xx.h.

◆ end_address

uint16_t end_address

end address

Definition at line 146 of file driver_isd17xx.h.

◆ gpio_reset_deinit

uint8_t(* gpio_reset_deinit) (void)

point to a gpio_reset_deinit function address

Definition at line 141 of file driver_isd17xx.h.

◆ gpio_reset_init

uint8_t(* gpio_reset_init) (void)

point to a gpio_reset_init function address

Definition at line 140 of file driver_isd17xx.h.

◆ gpio_reset_write

uint8_t(* gpio_reset_write) (uint8_t level)

point to a gpio_reset_write function address

Definition at line 142 of file driver_isd17xx.h.

◆ inited

uint8_t inited

inited flag

Definition at line 149 of file driver_isd17xx.h.

◆ receive_callback

void(* receive_callback) (uint16_t type)

point to a receive_callback function address

Definition at line 143 of file driver_isd17xx.h.

◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to a spi_deinit function address

Definition at line 136 of file driver_isd17xx.h.

◆ spi_init

uint8_t(* spi_init) (void)

point to a spi_init function address

Definition at line 135 of file driver_isd17xx.h.

◆ spi_read

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

point to a spi_read function address

Definition at line 137 of file driver_isd17xx.h.

◆ spi_transmit

uint8_t(* spi_transmit) (uint8_t *tx, uint8_t *rx, uint16_t len)

point to a spi_transmit function address

Definition at line 139 of file driver_isd17xx.h.

◆ spi_write

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

point to a spi_write function address

Definition at line 138 of file driver_isd17xx.h.

◆ type

uint8_t type

chip type

Definition at line 148 of file driver_isd17xx.h.

◆ vol_control

uint8_t vol_control

vol control

Definition at line 147 of file driver_isd17xx.h.


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