|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
APDS9930 Driver procedures. More...
#include "APDS9930.h"
Functions | |
| FctERR | APDS9930_Init_Sequence (APDS9930_t *const pCpnt) |
| Initialization Sequence for APDS9930 peripheral. | |
| void | APDS9930_Set_LPC (APDS9930_t *const pCpnt) |
| Set proper LPC value (Lux per Count) | |
| FctERR | APDS9930_handler (APDS9930_t *const pCpnt) |
| Handler for APDS9930 peripheral. | |
| FctERR | APDS9930_handler_it (APDS9930_t *const pCpnt) |
| Handler for APDS9930 peripheral GPIO interrupt. | |
| FctERR | APDS9930_handler_all (void) |
| Handler for all APDS9930 peripherals. | |
| FctERR | APDS9930_handler_it_all (void) |
| Handler for all APDS9930 peripherals GPIO interrupt. | |
Variables | |
| APDS9930_t | APDS9930 [I2C_APDS9930_NB] = { 0 } |
| APDS9930 User structure. | |
| const uint8_t | APDS9930_ALS_gain_tab [4] = { 1U, 8U, 16U, 120U } |
| const uint8_t | APDS9930_Prox_gain_tab [4] = { 1U, 2U, 4U, 8U } |
APDS9930 Driver procedures.
APDS9930: Digital Proximity and Ambient Light Sensor
| FctERR APDS9930_handler | ( | APDS9930_t *const | pCpnt | ) |
Handler for APDS9930 peripheral.
| [in] | pCpnt | - Pointer to APDS9930 component |


| FctERR APDS9930_handler_all | ( | void | ) |
Handler for all APDS9930 peripherals.

| FctERR APDS9930_handler_it | ( | APDS9930_t *const | pCpnt | ) |
Handler for APDS9930 peripheral GPIO interrupt.
| [in] | pCpnt | - Pointer to APDS9930 component |


| FctERR APDS9930_handler_it_all | ( | void | ) |
Handler for all APDS9930 peripherals GPIO interrupt.

| FctERR APDS9930_Init_Sequence | ( | APDS9930_t *const | pCpnt | ) |
Initialization Sequence for APDS9930 peripheral.
| [in] | pCpnt | - Pointer to APDS9930 component |


| void APDS9930_Set_LPC | ( | APDS9930_t *const | pCpnt | ) |
Set proper LPC value (Lux per Count)
| [in] | pCpnt | - Pointer to APDS9930 component |

| APDS9930_t APDS9930[I2C_APDS9930_NB] = { 0 } |
APDS9930 User structure.
| const uint8_t APDS9930_ALS_gain_tab[4] = { 1U, 8U, 16U, 120U } |
| const uint8_t APDS9930_Prox_gain_tab[4] = { 1U, 2U, 4U, 8U } |