powermux2 2.0.0.0
|
This file contains API for Power MUX 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | powermux2_t |
Power MUX 2 Click context object. More... | |
struct | powermux2_cfg_t |
Power MUX 2 Click configuration object. More... | |
Macros | |
#define | POWERMUX2_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | powermux2_return_value_t { POWERMUX2_OK = 0 , POWERMUX2_ERROR = -1 } |
Power MUX 2 Click return value data. More... | |
Functions | |
void | powermux2_cfg_setup (powermux2_cfg_t *cfg) |
Power MUX 2 configuration object setup function. | |
err_t | powermux2_init (powermux2_t *ctx, powermux2_cfg_t *cfg) |
Power MUX 2 initialization function. | |
err_t | powermux2_generic_write (powermux2_t *ctx, uint8_t data_in) |
Power MUX 2 data writing function. | |
err_t | powermux2_set_resistance (powermux2_t *ctx, float resistance) |
Power MUX 2 set resistance function. | |
This file contains API for Power MUX 2 Click Driver.