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 | enocan3_t |
Click ctx object definition. More... | |
struct | enocan3_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef void(* | enocean3_hdl_t) (enocean3_packet_t *, uint16_t *) |
typedef uint8_t | enocan3_error_t |
Error type. More... | |
Functions | |
void | enocan3_cfg_setup (enocan3_cfg_t *cfg) |
Config Object Initialization function. More... | |
ENOCEAN3_RETVAL | enocan3_init (enocan3_t *ctx, enocan3_cfg_t *cfg) |
Initialization function. More... | |
void | enocan3_set_rst_pin (enocan3_t *ctx, uint8_t state) |
Set RST ( reset ) pin state. More... | |
void | enocan3_generic_write (enocan3_t *ctx, char *data_buf, uint16_t len) |
Generic write function. More... | |
uint16_t | enocan3_generic_read (enocan3_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. More... | |
enocan3_error_t | enocan3_generic_parser (char *rsp, uint8_t command, uint8_t element, char *parser_buf) |
Generic parser function. More... | |
void | enocean3_response_handler_set (enocan3_t *ctx, enocean3_hdl_t handler) |
Handler Set function. More... | |
uint8_t | enocean3_send_packet (enocan3_t *ctx, enocean3_packet_t *packet) |
Packet Send function. More... | |
uint8_t | enocean3_response_ready (enocan3_t *ctx) |
Response Ready function. More... | |
void | enocean3_uart_isr (enocan3_t *ctx) |
UART Interrupt Routine function. More... | |
This file contains API for EnOcean 3 Click driver.