enocean2 2.0.0.0
|
This file contains API for EnOcean 2 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | enocean2_packet_t |
Click packet object definition. More... | |
struct | enocean2_ring_buffer_t |
Click ring buffer object definition. More... | |
struct | enocean2_rx_data_t |
Click rx data object definition. More... | |
struct | enocean2_t |
Click ctx object definition. More... | |
struct | enocean2_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef void(* | enocean2_callback_t) (enocean2_packet_t *packet) |
Header definition. | |
Functions | |
void | enocean2_cfg_setup (enocean2_cfg_t *cfg) |
Config Object Initialization function. | |
ENOCEAN2_RETVAL | enocean2_init (enocean2_t *ctx, enocean2_cfg_t *cfg) |
Initialization function. | |
void | enocean2_default_cfg (enocean2_t *ctx) |
Click Default Configuration function. | |
void | enocean2_generic_write (enocean2_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | enocean2_generic_read (enocean2_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
void | enocean2_init_rx_buff (enocean2_t *ctx, enocean2_ring_buffer_t *rb, enocean2_rx_data_t *rx_str) |
Module initialization. | |
void | enocean2_set_callback_handler (enocean2_t *ctx, enocean2_callback_t recieve) |
Functions for sets callback handler | |
uint8_t | enocean2_send (enocean2_t *ctx, enocean2_packet_t *packet) |
Send ESP3 packet. | |
uint8_t | enocean2_rx (enocean2_ring_buffer_t *rb, uint8_t rx_data) |
Recieve character. | |
uint8_t | enocean2_packet_recieve (enocean2_t *ctx, enocean2_ring_buffer_t *rb) |
Process. | |
This file contains API for EnOcean 2 Click driver.