mux3 2.0.0.0
|
This file contains API for MUX 3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | mux3_t |
Click ctx object definition. More... | |
struct | mux3_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | MUX3_MAP_MIKROBUS(cfg, mikrobus) |
#define | MUX3_RETVAL uint8_t |
#define | MUX3_OK 0x00 |
#define | MUX3_INIT_ERROR 0xFF |
#define | MUX3_DISABLE_ALL_CHANNELS 0x00 |
#define | MUX3_ENABLE_CHANNEL_S1 0x01 |
#define | MUX3_ENABLE_CHANNEL_S2 0x02 |
#define | MUX3_ENABLE_CHANNEL_S3 0x03 |
#define | MUX3_ENABLE_CHANNEL_S4 0x04 |
#define | MUX3_ENABLE_CHANNEL_S5 0x05 |
#define | MUX3_ENABLE_CHANNEL_S6 0x06 |
#define | MUX3_ENABLE_CHANNEL_S7 0x07 |
#define | MUX3_ENABLE_CHANNEL_S8 0x08 |
Functions | |
void | mux3_cfg_setup (mux3_cfg_t *cfg) |
Config Object Initialization function. | |
MUX3_RETVAL | mux3_init (mux3_t *ctx, mux3_cfg_t *cfg) |
Initialization function. | |
void | mux3_set_channel (mux3_t *ctx, uint8_t select_channel) |
Set active MUX channel function. | |
This file contains API for MUX 3 Click driver.