![]() |
LibDriver AM2320
|
am2320 handle structure definition More...
#include <driver_am2320.h>
Data Fields | |
| uint8_t(* | iic_init )(void) |
| uint8_t(* | iic_deinit )(void) |
| uint8_t(* | iic_write_cmd )(uint8_t addr, uint8_t *buf, uint16_t len) |
| uint8_t(* | iic_read_cmd )(uint8_t addr, uint8_t *buf, uint16_t len) |
| uint8_t(* | bus_init )(void) |
| uint8_t(* | bus_read )(uint8_t *value) |
| uint8_t(* | bus_write )(uint8_t value) |
| uint8_t(* | bus_deinit )(void) |
| void(* | delay_ms )(uint32_t ms) |
| void(* | delay_us )(uint32_t us) |
| void(* | enable_irq )(void) |
| void(* | disable_irq )(void) |
| void(* | debug_print )(const char *const fmt,...) |
| uint8_t | inited |
| uint8_t | gpio_iic |
am2320 handle structure definition
Definition at line 71 of file driver_am2320.h.
| uint8_t(* bus_deinit) (void) |
point to a bus_deinit function address
Definition at line 80 of file driver_am2320.h.
| uint8_t(* bus_init) (void) |
point to a bus_init function address
Definition at line 77 of file driver_am2320.h.
| uint8_t(* bus_read) (uint8_t *value) |
point to a bus_read function address
Definition at line 78 of file driver_am2320.h.
| uint8_t(* bus_write) (uint8_t value) |
point to a bus_write function address
Definition at line 79 of file driver_am2320.h.
| void(* debug_print) (const char *const fmt,...) |
point to a debug_print function address
Definition at line 85 of file driver_am2320.h.
| void(* delay_ms) (uint32_t ms) |
point to a delay_ms function address
Definition at line 81 of file driver_am2320.h.
| void(* delay_us) (uint32_t us) |
point to a delay_us function address
Definition at line 82 of file driver_am2320.h.
| void(* disable_irq) (void) |
point to a disable_irq function address
Definition at line 84 of file driver_am2320.h.
| void(* enable_irq) (void) |
point to an enable_irq function address
Definition at line 83 of file driver_am2320.h.
| uint8_t gpio_iic |
gpio iic interface
Definition at line 87 of file driver_am2320.h.
| uint8_t(* iic_deinit) (void) |
point to an iic_deinit function address
Definition at line 74 of file driver_am2320.h.
| uint8_t(* iic_init) (void) |
point to an iic_init function address
Definition at line 73 of file driver_am2320.h.
| uint8_t(* iic_read_cmd) (uint8_t addr, uint8_t *buf, uint16_t len) |
point to an iic_read_cmd function address
Definition at line 76 of file driver_am2320.h.
| uint8_t(* iic_write_cmd) (uint8_t addr, uint8_t *buf, uint16_t len) |
point to an iic_write_cmd function address
Definition at line 75 of file driver_am2320.h.
| uint8_t inited |
inited flag
Definition at line 86 of file driver_am2320.h.