solidswitch6
2.1.0.0
|
This file contains API for SolidSwitch 6 Click Driver. More...
#include "mikrosdk_version.h"
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | solidswitch6_t |
SolidSwitch 6 Click context object. More... | |
struct | solidswitch6_cfg_t |
SolidSwitch 6 Click configuration object. More... | |
struct | solidswitch6_device_info_t |
SolidSwitch 6 Click device information object. More... | |
struct | solidswitch6_ctrl_t |
SolidSwitch 6 Click control object. More... | |
Enumerations | |
enum | solidswitch6_return_value_t { SOLIDSWITCH6_OK = 0, SOLIDSWITCH6_ERROR = -1 } |
SolidSwitch 6 Click return value data. More... | |
Functions | |
void | solidswitch6_cfg_setup (solidswitch6_cfg_t *cfg) |
SolidSwitch 6 configuration object setup function. More... | |
err_t | solidswitch6_init (solidswitch6_t *ctx, solidswitch6_cfg_t *cfg) |
SolidSwitch 6 initialization function. More... | |
err_t | solidswitch6_default_cfg (solidswitch6_t *ctx) |
SolidSwitch 6 default configuration function. More... | |
err_t | solidswitch6_generic_write (solidswitch6_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
SolidSwitch 6 data writing function. More... | |
err_t | solidswitch6_generic_read (solidswitch6_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
SolidSwitch 6 data reading function. More... | |
err_t | solidswitch6_frame_write (solidswitch6_t *ctx, uint8_t reg, uint32_t data_in) |
SolidSwitch 6 SPI frame data writing function. More... | |
err_t | solidswitch6_frame_read (solidswitch6_t *ctx, uint8_t reg, uint32_t *data_out) |
SolidSwitch 6 SPI frame data reading function. More... | |
err_t | solidswitch6_frame_read_clear (solidswitch6_t *ctx, uint8_t reg, uint32_t data_in, uint32_t *data_out) |
SolidSwitch 6 SPI frame data read and clear function. More... | |
err_t | solidswitch6_read_rom (solidswitch6_t *ctx, uint8_t reg, uint8_t *data_out) |
SolidSwitch 6 SPI ROM frame data reading function. More... | |
err_t | solidswitch6_get_global_status (solidswitch6_t *ctx) |
SolidSwitch 6 get global status function. More... | |
err_t | solidswitch6_get_device_info (solidswitch6_t *ctx, solidswitch6_device_info_t *device_info) |
SolidSwitch 6 get device information function. More... | |
void | solidswitch6_lock_write (solidswitch6_t *ctx) |
SolidSwitch 6 lock write function. More... | |
void | solidswitch6_unlock_write (solidswitch6_t *ctx) |
SolidSwitch 6 unlock write function. More... | |
err_t | solidswitch6_set_control (solidswitch6_t *ctx, solidswitch6_ctrl_t ctrl) |
SolidSwitch 6 set control function. More... | |
err_t | solidswitch6_get_vsense (solidswitch6_t *ctx, float *vsense) |
SolidSwitch 6 get Vsense function. More... | |
err_t | solidswitch6_get_device_temperature (solidswitch6_t *ctx, float *tj) |
SolidSwitch 6 get device temperature function. More... | |
err_t | solidswitch6_get_vntc (solidswitch6_t *ctx, float *vntc) |
SolidSwitch 6 get Vntc function. More... | |
err_t | solidswitch6_get_vds (solidswitch6_t *ctx, float *vds) |
SolidSwitch 6 get VDS function. More... | |
err_t | solidswitch6_get_vout (solidswitch6_t *ctx, float *vout) |
SolidSwitch 6 get Vout function. More... | |
err_t | solidswitch6_get_st_vds (solidswitch6_t *ctx, float *st_vds) |
SolidSwitch 6 get VDS self-test function. More... | |
err_t | solidswitch6_get_st_stuck (solidswitch6_t *ctx, float *st_stuck) |
SolidSwitch 6 get VDS STUCK ON self-test function. More... | |
err_t | solidswitch6_get_st_curr (solidswitch6_t *ctx, float *st_curr) |
SolidSwitch 6 get self-test current sense amplifier function. More... | |
err_t | solidswitch6_get_vsense_hshd (solidswitch6_t *ctx, float *vsense_hshd) |
SolidSwitch 6 get Vsense HSHD function. More... | |
This file contains API for SolidSwitch 6 Click Driver.