![]() |
LibDriver TSL2561
|
tsl2561 test driver modules More...
Functions | |
| uint8_t | tsl2561_interrupt_test (tsl2561_address_t addr_pin, tsl2561_interrupt_mode_t mode, uint16_t ch0_low_threshold, uint16_t ch0_high_threshold, uint32_t times) |
| interrupt test | |
| uint8_t | tsl2561_read_test (tsl2561_address_t addr_pin, uint32_t times) |
| read test | |
| uint8_t | tsl2561_register_test (tsl2561_address_t addr) |
| register test | |
tsl2561 test driver modules
| uint8_t tsl2561_interrupt_test | ( | tsl2561_address_t | addr_pin, |
| tsl2561_interrupt_mode_t | mode, | ||
| uint16_t | ch0_low_threshold, | ||
| uint16_t | ch0_high_threshold, | ||
| uint32_t | times ) |
interrupt test
| [in] | addr_pin | iic device address |
| [in] | mode | interrupt mode |
| [in] | ch0_low_threshold | channel 0 interrupt low threshold |
| [in] | ch0_high_threshold | channel 0 interrupt high threshold |
| [in] | times | test times |
Definition at line 54 of file driver_tsl2561_interrupt_test.c.
| uint8_t tsl2561_read_test | ( | tsl2561_address_t | addr_pin, |
| uint32_t | times ) |
read test
| [in] | addr_pin | iic device address |
| [in] | times | test times |
Definition at line 51 of file driver_tsl2561_read_test.c.
| uint8_t tsl2561_register_test | ( | tsl2561_address_t | addr | ) |
register test
| [in] | addr | iic device address |
Definition at line 51 of file driver_tsl2561_register_test.c.