LibDriver PMSX003
Loading...
Searching...
No Matches
pmsx003_handle_s Struct Reference

pmsx003 handle structure definition More...

#include <driver_pmsx003.h>

Data Fields

uint8_t(* reset_gpio_init )(void)
uint8_t(* reset_gpio_deinit )(void)
uint8_t(* reset_gpio_write )(uint8_t level)
uint8_t(* set_gpio_init )(void)
uint8_t(* set_gpio_deinit )(void)
uint8_t(* set_gpio_write )(uint8_t level)
uint8_t(* uart_init )(void)
uint8_t(* uart_deinit )(void)
uint16_t(* uart_read )(uint8_t *buf, uint16_t len)
uint8_t(* uart_flush )(void)
uint8_t(* uart_write )(uint8_t *buf, uint16_t len)
void(* delay_ms )(uint32_t ms)
void(* debug_print )(const char *const fmt,...)
uint8_t inited
uint8_t mode

Detailed Description

pmsx003 handle structure definition

Definition at line 101 of file driver_pmsx003.h.

Field Documentation

◆ debug_print

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

point to a debug_print function address

Definition at line 115 of file driver_pmsx003.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 114 of file driver_pmsx003.h.

◆ inited

uint8_t inited

inited flag

Definition at line 116 of file driver_pmsx003.h.

◆ mode

uint8_t mode

mode

Definition at line 117 of file driver_pmsx003.h.

◆ reset_gpio_deinit

uint8_t(* reset_gpio_deinit) (void)

point to a reset_gpio_deinit function address

Definition at line 104 of file driver_pmsx003.h.

◆ reset_gpio_init

uint8_t(* reset_gpio_init) (void)

point to a reset_gpio_init function address

Definition at line 103 of file driver_pmsx003.h.

◆ reset_gpio_write

uint8_t(* reset_gpio_write) (uint8_t level)

point to a reset_gpio_write function address

Definition at line 105 of file driver_pmsx003.h.

◆ set_gpio_deinit

uint8_t(* set_gpio_deinit) (void)

point to a set_gpio_deinit function address

Definition at line 107 of file driver_pmsx003.h.

◆ set_gpio_init

uint8_t(* set_gpio_init) (void)

point to a set_gpio_init function address

Definition at line 106 of file driver_pmsx003.h.

◆ set_gpio_write

uint8_t(* set_gpio_write) (uint8_t level)

point to a set_gpio_write function address

Definition at line 108 of file driver_pmsx003.h.

◆ uart_deinit

uint8_t(* uart_deinit) (void)

point to an uart_deinit function address

Definition at line 110 of file driver_pmsx003.h.

◆ uart_flush

uint8_t(* uart_flush) (void)

point to an uart_flush function address

Definition at line 112 of file driver_pmsx003.h.

◆ uart_init

uint8_t(* uart_init) (void)

point to an uart_init function address

Definition at line 109 of file driver_pmsx003.h.

◆ uart_read

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

point to an uart_read function address

Definition at line 111 of file driver_pmsx003.h.

◆ uart_write

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

point to an uart_write function address

Definition at line 113 of file driver_pmsx003.h.


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