![]() |
LibDriver OPT300X
|
opt300x test driver modules More...
Functions | |
| uint8_t | opt300x_interrupt_test_irq_handler (void) |
| interrupt test irq | |
| uint8_t | opt300x_interrupt_test (opt300x_t type, opt300x_address_t addr_pin, float low_threshold, float high_threshold, uint32_t times) |
| interrupt test | |
| uint8_t | opt300x_read_test (opt300x_t type, opt300x_address_t addr_pin, uint32_t times) |
| read test | |
| uint8_t | opt300x_register_test (opt300x_t type, opt300x_address_t addr) |
| register test | |
opt300x test driver modules
| uint8_t opt300x_interrupt_test | ( | opt300x_t | type, |
| opt300x_address_t | addr_pin, | ||
| float | low_threshold, | ||
| float | high_threshold, | ||
| uint32_t | times ) |
interrupt test
| [in] | type | chip type |
| [in] | addr_pin | iic device address |
| [in] | low_threshold | low threshold in lux or in nw/cm2 |
| [in] | high_threshold | high threshold in lux or in nw/cm2 |
| [in] | times | test times |
Definition at line 103 of file driver_opt300x_interrupt_test.c.
| uint8_t opt300x_interrupt_test_irq_handler | ( | void | ) |
interrupt test irq
Definition at line 49 of file driver_opt300x_interrupt_test.c.
| uint8_t opt300x_read_test | ( | opt300x_t | type, |
| opt300x_address_t | addr_pin, | ||
| uint32_t | times ) |
read test
| [in] | type | chip type |
| [in] | addr_pin | iic device address |
| [in] | times | test times |
Definition at line 51 of file driver_opt300x_read_test.c.
| uint8_t opt300x_register_test | ( | opt300x_t | type, |
| opt300x_address_t | addr ) |
register test
| [in] | type | chip type |
| [in] | addr | iic device address |
Definition at line 51 of file driver_opt300x_register_test.c.