enocan3 2.0.0.0
|
This file contains API for EnOcean 3 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 | enocean3_packet_t |
struct | enocean3_t |
Click ctx object definition. More... | |
struct | enocean3_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef void(* | enocean3_hdl_t) (enocean3_packet_t *, uint16_t *) |
typedef uint8_t | enocean3_error_t |
Error type. | |
Functions | |
void | enocean3_cfg_setup (enocean3_cfg_t *cfg) |
Config Object Initialization function. | |
ENOCEAN3_RETVAL | enocean3_init (enocean3_t *ctx, enocean3_cfg_t *cfg) |
Initialization function. | |
void | enocean3_set_rst_pin (enocean3_t *ctx, uint8_t state) |
Set RST ( reset ) pin state. | |
void | enocean3_generic_write (enocean3_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | enocean3_generic_read (enocean3_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
void | enocean3_response_handler_set (enocean3_t *ctx, enocean3_hdl_t handler) |
Handler Set function. | |
uint8_t | enocean3_send_packet (enocean3_t *ctx, enocean3_packet_t *packet) |
Packet Send function. | |
uint8_t | enocean3_response_ready (enocean3_t *ctx) |
Response Ready function. | |
void | enocean3_uart_isr (enocean3_t *ctx) |
UART Interrupt Routine function. | |
This file contains API for EnOcean 3 Click driver.