mbusmaster 2.0.0.0
|
This file contains API for M Bus Master 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 | mbusmaster_t |
Click ctx object definition. More... | |
struct | mbusmaster_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | MBUSMASTER_MAP_MIKROBUS(cfg, mikrobus) |
#define | MBUSMASTER_RETVAL uint8_t |
#define | MBUSMASTER_OK 0x00 |
#define | MBUSMASTER_INIT_ERROR 0xFF |
#define | DRV_RX_BUFFER_SIZE 500 |
Functions | |
void | mbusmaster_cfg_setup (mbusmaster_cfg_t *cfg) |
Config Object Initialization function. | |
MBUSMASTER_RETVAL | mbusmaster_init (mbusmaster_t *ctx, mbusmaster_cfg_t *cfg) |
Initialization function. | |
void | mbusmaster_generic_write (mbusmaster_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | mbusmaster_generic_read (mbusmaster_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
This file contains API for M Bus Master Click driver.