LibDriver EM4095
Loading...
Searching...
No Matches
em4095_handle_s Struct Reference

em4095 handle structure definition More...

#include <driver_em4095.h>

Collaboration diagram for em4095_handle_s:
[legend]

Data Fields

uint8_t(* shd_gpio_init )(void)
uint8_t(* shd_gpio_deinit )(void)
uint8_t(* shd_gpio_write )(uint8_t data)
uint8_t(* mod_gpio_init )(void)
uint8_t(* mod_gpio_deinit )(void)
uint8_t(* mod_gpio_write )(uint8_t data)
uint8_t(* demod_gpio_init )(void)
uint8_t(* demod_gpio_deinit )(void)
uint8_t(* demod_gpio_read )(uint8_t *data)
uint8_t(* timestamp_read )(em4095_time_t *t)
void(* delay_ms )(uint32_t ms)
void(* debug_print )(const char *const fmt,...)
void(* receive_callback )(em4095_mode_t mode, em4095_decode_t *buf, uint16_t len)
uint8_t inited
em4095_decode_t decode [EM4095_MAX_LENGTH]
uint16_t decode_len
em4095_time_t last_time
uint8_t mode
uint16_t len
uint32_t div
uint32_t div_len
uint8_t start_flag
uint8_t last_bit

Detailed Description

em4095 handle structure definition

Definition at line 98 of file driver_em4095.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_em4095.h.

◆ decode

decode buffer

Definition at line 116 of file driver_em4095.h.

◆ decode_len

uint16_t decode_len

decode length

Definition at line 117 of file driver_em4095.h.

◆ delay_ms

void(* delay_ms) (uint32_t ms)

point to a delay_ms function address

Definition at line 110 of file driver_em4095.h.

◆ demod_gpio_deinit

uint8_t(* demod_gpio_deinit) (void)

point to an demod_gpio_deinit function address

Definition at line 107 of file driver_em4095.h.

◆ demod_gpio_init

uint8_t(* demod_gpio_init) (void)

point to an demod_gpio_init function address

Definition at line 106 of file driver_em4095.h.

◆ demod_gpio_read

uint8_t(* demod_gpio_read) (uint8_t *data)

point to an demod_gpio_read function address

Definition at line 108 of file driver_em4095.h.

◆ div

uint32_t div

div

Definition at line 121 of file driver_em4095.h.

◆ div_len

uint32_t div_len

div length

Definition at line 122 of file driver_em4095.h.

◆ inited

uint8_t inited

inited flag

Definition at line 115 of file driver_em4095.h.

◆ last_bit

uint8_t last_bit

last bit

Definition at line 124 of file driver_em4095.h.

◆ last_time

em4095_time_t last_time

last time

Definition at line 118 of file driver_em4095.h.

◆ len

uint16_t len

length

Definition at line 120 of file driver_em4095.h.

◆ mod_gpio_deinit

uint8_t(* mod_gpio_deinit) (void)

point to an mod_gpio_deinit function address

Definition at line 104 of file driver_em4095.h.

◆ mod_gpio_init

uint8_t(* mod_gpio_init) (void)

point to an mod_gpio_init function address

Definition at line 103 of file driver_em4095.h.

◆ mod_gpio_write

uint8_t(* mod_gpio_write) (uint8_t data)

point to an mod_gpio_write function address

Definition at line 105 of file driver_em4095.h.

◆ mode

uint8_t mode

mode

Definition at line 119 of file driver_em4095.h.

◆ receive_callback

void(* receive_callback) (em4095_mode_t mode, em4095_decode_t *buf, uint16_t len)

point to a receive_callback function address

Definition at line 112 of file driver_em4095.h.

◆ shd_gpio_deinit

uint8_t(* shd_gpio_deinit) (void)

point to an shd_gpio_deinit function address

Definition at line 101 of file driver_em4095.h.

◆ shd_gpio_init

uint8_t(* shd_gpio_init) (void)

point to an shd_gpio_init function address

Definition at line 100 of file driver_em4095.h.

◆ shd_gpio_write

uint8_t(* shd_gpio_write) (uint8_t data)

point to an shd_gpio_write function address

Definition at line 102 of file driver_em4095.h.

◆ start_flag

uint8_t start_flag

start flag

Definition at line 123 of file driver_em4095.h.

◆ timestamp_read

uint8_t(* timestamp_read) (em4095_time_t *t)

point to a timestamp_read function address

Definition at line 109 of file driver_em4095.h.


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