|
void | spectral3_cfg_setup (spectral3_cfg_t *cfg) |
| Config Object Initialization function.
|
|
SPECTRAL3_RETVAL | spectral3_init (spectral3_t *ctx, spectral3_cfg_t *cfg) |
| Initialization function.
|
|
void | spectral3_module_reset (spectral3_t *ctx) |
| Reset module.
|
|
void | spectral3_set_rst_pin (spectral3_t *ctx, uint8_t state) |
| Set RST ( reset ) pin state.
|
|
void | spectral3_generic_write (spectral3_t *ctx, char *data_buf, uint16_t len) |
| Generic write function.
|
|
int32_t | spectral3_generic_read (spectral3_t *ctx, char *data_buf, uint16_t max_len) |
| Generic read function.
|
|
void | spectral3_send_command (spectral3_t *ctx, char *command) |
| Send command.
|
|
void | spectral3_get_data (char *rsp, uint16_t *c_data) |
| Read raw X, Y, Z and NIR data as well as two special internal registers D, & C.
|
|
This file contains API for Spectral 3 Click driver.