stspin233 2.0.0.0
|
This file contains API for STSPIN233 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 | stspin233_t |
Click ctx object definition. More... | |
struct | stspin233_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | stspin233_cfg_setup (stspin233_cfg_t *cfg) |
Config Object Initialization function. | |
STSPIN233_RETVAL | stspin233_init (stspin233_t *ctx, stspin233_cfg_t *cfg) |
Initialization function. | |
void | stspin233_default_cfg (stspin233_t *ctx) |
Click Default Configuration function. | |
void | stspin233_generic_write (stspin233_t *ctx, char *data_buf, uint16_t len) |
Generic write function. | |
int32_t | stspin233_generic_read (stspin233_t *ctx, char *data_buf, uint16_t max_len) |
Generic read function. | |
void | stspin233_wakeup (stspin233_t *ctx) |
Module wake-up (procedure) | |
void | stspin233_send_single_cmd (stspin233_t *ctx, uint8_t *tx_buf) |
Send single command. | |
void | stspin233_send_double_cmd (stspin233_t *ctx, uint8_t *cmd_buf, uint8_t *arg_buf) |
Send double command. | |
void | stspin233_set_reset_state (stspin233_t *ctx, uint8_t state) |
Set RST pin state. | |
uint8_t | stspin233_get_int_state (stspin233_t *ctx) |
Get INT pin state. | |
This file contains API for STSPIN233 Click driver.