|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
TSL2591 Driver procedures. More...
#include "TSL2591.h"
Functions | |
| FctERR | TSL2591_Init_Sequence (TSL2591_t *const pCpnt) |
| Initialization Sequence for TSL2591 peripheral. | |
| void | TSL2591_Set_CPL (TSL2591_t *const pCpnt) |
| Set proper CPL value (Counts per kiloLux) | |
| FctERR | TSL2591_handler (TSL2591_t *const pCpnt) |
| Handler for TSL2591 peripheral. | |
| FctERR | TSL2591_handler_it (TSL2591_t *const pCpnt) |
| Handler for TSL2591 peripheral GPIO interrupt. | |
| FctERR | TSL2591_handler_all (void) |
| Handler for all TSL2591 peripherals. | |
| FctERR | TSL2591_handler_it_all (void) |
| Handler for all TSL2591 peripherals GPIO interrupt. | |
Variables | |
| TSL2591_t | TSL2591 [I2C_TSL2591_NB] = { 0 } |
| TSL2591 User structure. | |
| const uint16_t | TSL2591_gain_tab [4] = { 1U, 25U, 400U, 9200U } |
| const uint16_t | TSL2591_integ_tab [6] = { 100U, 200U, 300U, 400U, 500U, 600U } |
TSL2591 Driver procedures.
TSL2591: Very-high sensitivity light-to-digital converter
| FctERR TSL2591_handler | ( | TSL2591_t *const | pCpnt | ) |
Handler for TSL2591 peripheral.
| [in] | pCpnt | - Pointer to TSL2591 component |


| FctERR TSL2591_handler_all | ( | void | ) |
Handler for all TSL2591 peripherals.

| FctERR TSL2591_handler_it | ( | TSL2591_t *const | pCpnt | ) |
Handler for TSL2591 peripheral GPIO interrupt.
| [in] | pCpnt | - Pointer to TSL2591 component |


| FctERR TSL2591_handler_it_all | ( | void | ) |
Handler for all TSL2591 peripherals GPIO interrupt.

| FctERR TSL2591_Init_Sequence | ( | TSL2591_t *const | pCpnt | ) |
Initialization Sequence for TSL2591 peripheral.
| [in] | pCpnt | - Pointer to TSL2591 component |


| void TSL2591_Set_CPL | ( | TSL2591_t *const | pCpnt | ) |
Set proper CPL value (Counts per kiloLux)
| [in] | pCpnt | - Pointer to TSL2591 component |

| TSL2591_t TSL2591[I2C_TSL2591_NB] = { 0 } |
TSL2591 User structure.
| const uint16_t TSL2591_gain_tab[4] = { 1U, 25U, 400U, 9200U } |
| const uint16_t TSL2591_integ_tab[6] = { 100U, 200U, 300U, 400U, 500U, 600U } |