LibDriver STTS22H
Loading...
Searching...
No Matches
stts22h_handle_s Struct Reference

stts22h handle structure definition More...

#include <driver_stts22h.h>

Data Fields

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)
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_addr
uint8_t iic_addr_auto_inc

Detailed Description

stts22h handle structure definition

Definition at line 103 of file driver_stts22h.h.

Field Documentation

◆ debug_print

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

point to a debug_print function address

Definition at line 111 of file driver_stts22h.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 110 of file driver_stts22h.h.

◆ iic_addr

uint8_t iic_addr

iic address

Definition at line 113 of file driver_stts22h.h.

◆ iic_addr_auto_inc

uint8_t iic_addr_auto_inc

iic address auto inc

Definition at line 114 of file driver_stts22h.h.

◆ iic_deinit

uint8_t(* iic_deinit) (void)

point to an iic_deinit function address

Definition at line 106 of file driver_stts22h.h.

◆ iic_init

uint8_t(* iic_init) (void)

point to an iic_init function address

Definition at line 105 of file driver_stts22h.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 107 of file driver_stts22h.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 108 of file driver_stts22h.h.

◆ inited

uint8_t inited

inited flag

Definition at line 112 of file driver_stts22h.h.

◆ receive_callback

void(* receive_callback) (uint8_t type)

point to a receive_callback function address

Definition at line 109 of file driver_stts22h.h.


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