|
void | smartdof4_cfg_setup (smartdof4_cfg_t *cfg) |
| Smart DOF 4 configuration object setup function. More...
|
|
void | smartdof4_drv_interface_sel (smartdof4_cfg_t *cfg, smartdof4_drv_t drv_sel) |
| Smart DOF 4 driver interface setup function. More...
|
|
err_t | smartdof4_init (smartdof4_t *ctx, smartdof4_cfg_t *cfg) |
| Smart DOF 4 initialization function. More...
|
|
err_t | smartdof4_default_cfg (smartdof4_t *ctx) |
| Smart DOF 4 default configuration function. More...
|
|
err_t | smartdof4_send_packet (smartdof4_t *ctx, uint8_t ch_num, uint8_t *payload, uint16_t len) |
| Smart DOF 4 send packet function. More...
|
|
err_t | smartdof4_read_packet (smartdof4_t *ctx) |
| Smart DOF 4 read packet function. More...
|
|
void | smartdof4_set_rst_pin (smartdof4_t *ctx, uint8_t state) |
| Smart DOF 4 set rst pin function. More...
|
|
void | smartdof4_set_wup_pin (smartdof4_t *ctx, uint8_t state) |
| Smart DOF 4 set wup pin function. More...
|
|
uint8_t | smartdof4_get_int_pin (smartdof4_t *ctx) |
| Smart DOF 4 get int pin function. More...
|
|
void | smartdof4_reset_device (smartdof4_t *ctx) |
| Smart DOF 4 reset device function. More...
|
|
err_t | smartdof4_wait_ready (smartdof4_t *ctx, uint16_t timeout_ms) |
| Smart DOF 4 wait ready function. More...
|
|
err_t | smartdof4_read_pid (smartdof4_t *ctx, smartdof4_pid_t *pid) |
| Smart DOF 4 read pid function. More...
|
|
err_t | smartdof4_frs_wr_req (smartdof4_t *ctx, uint16_t rec_id, uint16_t len) |
| Smart DOF 4 frs wr req function. More...
|
|
err_t | smartdof4_frs_wr_data_req (smartdof4_t *ctx, uint16_t offset, uint32_t data0_in, uint32_t data1_in) |
| Smart DOF 4 frs wr data req function. More...
|
|
err_t | smartdof4_frs_wr_resp (smartdof4_t *ctx, uint16_t *offset, uint8_t *status) |
| Smart DOF 4 frs wr resp function. More...
|
|
err_t | smartdof4_frs_rd_req (smartdof4_t *ctx, uint16_t rec_id) |
| Smart DOF 4 frs rd req function. More...
|
|
err_t | smartdof4_frs_rd_resp (smartdof4_t *ctx, uint16_t *offset, uint8_t *status, uint32_t *data0_out, uint32_t *data1_out, uint16_t *rec_id) |
| Smart DOF 4 frs rd resp function. More...
|
|
err_t | smartdof4_cmd_req (smartdof4_t *ctx, uint8_t cmd, uint8_t *params) |
| Smart DOF 4 cmd req function. More...
|
|
err_t | smartdof4_cmd_resp (smartdof4_t *ctx, uint8_t *cmd, uint8_t *params) |
| Smart DOF 4 cmd resp function. More...
|
|
err_t | smartdof4_feature_req (smartdof4_t *ctx, uint8_t rep_id) |
| Smart DOF 4 feature req function. More...
|
|
err_t | smartdof4_feature_set (smartdof4_t *ctx, smartdof4_feature_t *feat) |
| Smart DOF 4 feature set function. More...
|
|
err_t | smartdof4_feature_resp (smartdof4_t *ctx, smartdof4_feature_t *resp) |
| Smart DOF 4 feature resp function. More...
|
|
err_t | smartdof4_read_data (smartdof4_t *ctx, smartdof4_axis_t *accel, smartdof4_axis_t *gyro, smartdof4_axis_t *mag) |
| Smart DOF 4 read data function. More...
|
|
This file contains API for Smart DOF 4 Click Driver.