LibDriver AOX4000
Loading...
Searching...
No Matches
aox4000_handle_s Struct Reference

aox4000 handle structure definition More...

#include <driver_aox4000.h>

Data Fields

uint8_t(* uart_init )(void)
uint8_t(* uart_deinit )(void)
uint16_t(* uart_read )(uint8_t *buf, uint16_t len)
uint8_t(* uart_write )(uint8_t *buf, uint16_t len)
uint8_t(* uart_flush )(void)
void(* delay_ms )(uint32_t ms)
void(* debug_print )(const char *const fmt,...)
uint8_t mode
uint8_t last_error
uint8_t inited

Detailed Description

aox4000 handle structure definition

Definition at line 99 of file driver_aox4000.h.

Field Documentation

◆ debug_print

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

point to a debug_print function address

Definition at line 107 of file driver_aox4000.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 106 of file driver_aox4000.h.

◆ inited

uint8_t inited

inited flag

Definition at line 110 of file driver_aox4000.h.

◆ last_error

uint8_t last_error

last error

Definition at line 109 of file driver_aox4000.h.

◆ mode

uint8_t mode

mode

Definition at line 108 of file driver_aox4000.h.

◆ uart_deinit

uint8_t(* uart_deinit) (void)

point to an uart_deinit function address

Definition at line 102 of file driver_aox4000.h.

◆ uart_flush

uint8_t(* uart_flush) (void)

point to an uart_flush function address

Definition at line 105 of file driver_aox4000.h.

◆ uart_init

uint8_t(* uart_init) (void)

point to an uart_init function address

Definition at line 101 of file driver_aox4000.h.

◆ uart_read

uint16_t(* uart_read) (uint8_t *buf, uint16_t len)

point to an uart_read function address

Definition at line 103 of file driver_aox4000.h.

◆ uart_write

uint8_t(* uart_write) (uint8_t *buf, uint16_t len)

point to an uart_write function address

Definition at line 104 of file driver_aox4000.h.


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