![]() |
LibDriver TCS34725
|
tcs34725 interrupt driver modules More...
Functions | |
| uint8_t | tcs34725_set_rgbc_interrupt (tcs34725_handle_t *handle, tcs34725_bool_t enable) |
| enable or disable the rgbc interrupt | |
| uint8_t | tcs34725_get_rgbc_interrupt (tcs34725_handle_t *handle, tcs34725_bool_t *enable) |
| get the rgbc interrupt | |
| uint8_t | tcs34725_set_interrupt_mode (tcs34725_handle_t *handle, tcs34725_interrupt_mode_t mode) |
| set the interrupt mode | |
| uint8_t | tcs34725_get_interrupt_mode (tcs34725_handle_t *handle, tcs34725_interrupt_mode_t *mode) |
| get the interrupt mode | |
| uint8_t | tcs34725_set_rgbc_clear_low_interrupt_threshold (tcs34725_handle_t *handle, uint16_t threshold) |
| set the rgbc clear low interrupt threshold | |
| uint8_t | tcs34725_get_rgbc_clear_low_interrupt_threshold (tcs34725_handle_t *handle, uint16_t *threshold) |
| get the rgbc clear low interrupt threshold | |
| uint8_t | tcs34725_set_rgbc_clear_high_interrupt_threshold (tcs34725_handle_t *handle, uint16_t threshold) |
| set the rgbc clear high interrupt threshold | |
| uint8_t | tcs34725_get_rgbc_clear_high_interrupt_threshold (tcs34725_handle_t *handle, uint16_t *threshold) |
| get the rgbc clear high interrupt threshold | |
tcs34725 interrupt driver modules
tcs34725 interrupt mode enumeration definition
Definition at line 118 of file driver_tcs34725.h.
| uint8_t tcs34725_get_interrupt_mode | ( | tcs34725_handle_t * | handle, |
| tcs34725_interrupt_mode_t * | mode ) |
get the interrupt mode
| [in] | *handle | pointer to a tcs34725 handle structure |
| [out] | *mode | pointer to an interrupt mode buffer |
Definition at line 779 of file driver_tcs34725.c.
| uint8_t tcs34725_get_rgbc_clear_high_interrupt_threshold | ( | tcs34725_handle_t * | handle, |
| uint16_t * | threshold ) |
get the rgbc clear high interrupt threshold
| [in] | *handle | pointer to a tcs34725 handle structure |
| [out] | *threshold | pointer to a high interrupt threshold buffer |
Definition at line 698 of file driver_tcs34725.c.
| uint8_t tcs34725_get_rgbc_clear_low_interrupt_threshold | ( | tcs34725_handle_t * | handle, |
| uint16_t * | threshold ) |
get the rgbc clear low interrupt threshold
| [in] | *handle | pointer to a tcs34725 handle structure |
| [out] | *threshold | pointer to a low interrupt threshold buffer |
Definition at line 623 of file driver_tcs34725.c.
| uint8_t tcs34725_get_rgbc_interrupt | ( | tcs34725_handle_t * | handle, |
| tcs34725_bool_t * | enable ) |
get the rgbc interrupt
| [in] | *handle | pointer to a tcs34725 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 137 of file driver_tcs34725.c.
| uint8_t tcs34725_set_interrupt_mode | ( | tcs34725_handle_t * | handle, |
| tcs34725_interrupt_mode_t | mode ) |
set the interrupt mode
| [in] | *handle | pointer to a tcs34725 handle structure |
| [in] | mode | interrupt mode |
Definition at line 735 of file driver_tcs34725.c.
| uint8_t tcs34725_set_rgbc_clear_high_interrupt_threshold | ( | tcs34725_handle_t * | handle, |
| uint16_t | threshold ) |
set the rgbc clear high interrupt threshold
| [in] | *handle | pointer to a tcs34725 handle structure |
| [in] | threshold | high interrupt threshold |
Definition at line 660 of file driver_tcs34725.c.
| uint8_t tcs34725_set_rgbc_clear_low_interrupt_threshold | ( | tcs34725_handle_t * | handle, |
| uint16_t | threshold ) |
set the rgbc clear low interrupt threshold
| [in] | *handle | pointer to a tcs34725 handle structure |
| [in] | threshold | low interrupt threshold |
Definition at line 585 of file driver_tcs34725.c.
| uint8_t tcs34725_set_rgbc_interrupt | ( | tcs34725_handle_t * | handle, |
| tcs34725_bool_t | enable ) |
enable or disable the rgbc interrupt
| [in] | *handle | pointer to a tcs34725 handle structure |
| [in] | enable | bool value |
Definition at line 93 of file driver_tcs34725.c.