|
void | spectral_cfg_setup (spectral_cfg_t *cfg) |
| Config Object Initialization function. More...
|
|
SPECTRAL_RETVAL | spectral_init (spectral_t *ctx, spectral_cfg_t *cfg) |
| Initialization function. More...
|
|
void | spectral_module_reset (spectral_t *ctx) |
| Reset module. More...
|
|
uint16_t | spectral_uart_write (spectral_t *ctx, char *data_buf, uint16_t len) |
| Generic write function. More...
|
|
int32_t | spectral_uart_read (spectral_t *ctx, char *data_buf, uint16_t max_len) |
| Generic read function. More...
|
|
void | spectral_send_command (spectral_t *ctx, char *command) |
| Send Command. More...
|
|
void | spectral_get_color_data (uint8_t *rsp, uint8_t *xyz_data) |
| Read calibrated X, Y, and Z color data. More...
|
|
void | spectral_get_xyz_data (uint8_t *rsp, uint8_t *xyzr_data) |
| Read raw X, Y, and Z data. More...
|
|
void | spectral_get_xy_small_data (uint8_t *rsp, uint8_t *xy_data) |
| Read calibrated x and y for CIE 1931 color gamut. More...
|
|
uint8_t | spectral_get_lux_data (uint8_t *rsp) |
| Read the calibrated LUX value from the sensor. More...
|
|
uint8_t | spectral_get_cct_data (uint8_t *rsp) |
| Read the calibrated CCT value from the sensor. More...
|
|
void | spectral_get_uv_data (uint8_t *rsp, uint16_t *uv_data) |
| Read calibrated u�, v� and u, v for CIE 1976 color gamut. More...
|
|
void | spectral_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. More...
|
|
uint8_t | spectral_get_duv_data (uint8_t *rsp) |
| Read calibrated Duv for CIE 1976-color gamut. More...
|
|
This file contains API for Spectral Click driver.