LibDriver AS3935
Loading...
Searching...
No Matches
as3935_handle_s Struct Reference

as3935 handle structure definition More...

#include <driver_as3935.h>

Data Fields

uint8_t iic_addr
uint8_t(* iic_init )(void)
uint8_t(* iic_deinit )(void)
uint8_t(* iic_read )(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
uint8_t(* iic_write )(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
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)
void(* receive_callback )(uint8_t type)
void(* delay_ms )(uint32_t ms)
void(* debug_print )(const char *const fmt,...)
uint8_t inited
uint8_t iic_spi

Detailed Description

as3935 handle structure definition

Definition at line 146 of file driver_as3935.h.

Field Documentation

◆ debug_print

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

point to a debug_print function address

Definition at line 159 of file driver_as3935.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 158 of file driver_as3935.h.

◆ iic_addr

uint8_t iic_addr

iic address

Definition at line 148 of file driver_as3935.h.

◆ iic_deinit

uint8_t(* iic_deinit) (void)

point to an iic_deinit function address

Definition at line 150 of file driver_as3935.h.

◆ iic_init

uint8_t(* iic_init) (void)

point to an iic_init function address

Definition at line 149 of file driver_as3935.h.

◆ iic_read

uint8_t(* iic_read) (uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)

point to an iic_read function address

Definition at line 151 of file driver_as3935.h.

◆ iic_spi

uint8_t iic_spi

iic spi interface type

Definition at line 161 of file driver_as3935.h.

◆ iic_write

uint8_t(* iic_write) (uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)

point to an iic_write function address

Definition at line 152 of file driver_as3935.h.

◆ inited

uint8_t inited

inited flag

Definition at line 160 of file driver_as3935.h.

◆ receive_callback

void(* receive_callback) (uint8_t type)

point to a receive_callback function address

Definition at line 157 of file driver_as3935.h.

◆ spi_deinit

uint8_t(* spi_deinit) (void)

point to a spi_deinit function address

Definition at line 154 of file driver_as3935.h.

◆ spi_init

uint8_t(* spi_init) (void)

point to a spi_init function address

Definition at line 153 of file driver_as3935.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 155 of file driver_as3935.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 156 of file driver_as3935.h.


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