LibDriver PCF8563
Loading...
Searching...
No Matches
pcf8563_handle_s Struct Reference

pcf8563 handle structure definition More...

#include <driver_pcf8563.h>

Data Fields

uint8_t(* iic_init )(void)
uint8_t(* iic_deinit )(void)
uint8_t(* iic_write )(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
uint8_t(* iic_read )(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
void(* debug_print )(const char *const fmt,...)
void(* delay_ms )(uint32_t ms)
void(* receive_callback )(uint8_t type)
uint8_t inited

Detailed Description

pcf8563 handle structure definition

Definition at line 125 of file driver_pcf8563.h.

Field Documentation

◆ debug_print

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

point to a debug_print function address

Definition at line 131 of file driver_pcf8563.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 132 of file driver_pcf8563.h.

◆ iic_deinit

uint8_t(* iic_deinit) (void)

point to an iic_deinit function address

Definition at line 128 of file driver_pcf8563.h.

◆ iic_init

uint8_t(* iic_init) (void)

point to an iic_init function address

Definition at line 127 of file driver_pcf8563.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 130 of file driver_pcf8563.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 129 of file driver_pcf8563.h.

◆ inited

uint8_t inited

inited flag

Definition at line 134 of file driver_pcf8563.h.

◆ receive_callback

void(* receive_callback) (uint8_t type)

point to a receive_callback function address

Definition at line 133 of file driver_pcf8563.h.


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