![]() |
LibDriver L3GD20H
|
l3gd20h fifo driver modules More...
Enumerations | |
| enum | l3gd20h_fifo_mode_t { L3GD20H_FIFO_MODE_BYPASS = 0x00 , L3GD20H_FIFO_MODE_FIFO = 0x01 , L3GD20H_FIFO_MODE_STREAM = 0x02 , L3GD20H_FIFO_MODE_STREAM_TO_FIFO = 0x03 , L3GD20H_FIFO_MODE_BYPASS_TO_STREAM = 0x04 , L3GD20H_FIFO_MODE_DYNAMIC_STREAM = 0x06 , L3GD20H_FIFO_MODE_BYPASS_TO_FIFO = 0x07 } |
| l3gd20h fifo mode enumeration definition More... | |
Functions | |
| uint8_t | l3gd20h_set_fifo (l3gd20h_handle_t *handle, l3gd20h_bool_t enable) |
| enable or disable the fifo | |
| uint8_t | l3gd20h_get_fifo (l3gd20h_handle_t *handle, l3gd20h_bool_t *enable) |
| get the fifo status | |
| uint8_t | l3gd20h_set_stop_on_fifo_threshold (l3gd20h_handle_t *handle, l3gd20h_bool_t enable) |
| enable or disable stop on fifo threshold | |
| uint8_t | l3gd20h_get_stop_on_fifo_threshold (l3gd20h_handle_t *handle, l3gd20h_bool_t *enable) |
| get stop on fifo threshold status | |
| uint8_t | l3gd20h_set_fifo_mode (l3gd20h_handle_t *handle, l3gd20h_fifo_mode_t fifo_mode) |
| set the fifo mode | |
| uint8_t | l3gd20h_get_fifo_mode (l3gd20h_handle_t *handle, l3gd20h_fifo_mode_t *fifo_mode) |
| get the fifo mode | |
| uint8_t | l3gd20h_set_fifo_threshold (l3gd20h_handle_t *handle, uint8_t threshold) |
| set the fifo threshold | |
| uint8_t | l3gd20h_get_fifo_threshold (l3gd20h_handle_t *handle, uint8_t *threshold) |
| get the fifo threshold | |
| uint8_t | l3gd20h_get_fifo_level (l3gd20h_handle_t *handle, uint8_t *level) |
| get the fifo level | |
l3gd20h fifo driver modules
| enum l3gd20h_fifo_mode_t |
l3gd20h fifo mode enumeration definition
Definition at line 342 of file driver_l3gd20h.h.
| uint8_t l3gd20h_get_fifo | ( | l3gd20h_handle_t * | handle, |
| l3gd20h_bool_t * | enable ) |
get the fifo status
| [in] | *handle | pointer to an l3gd20h handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1991 of file driver_l3gd20h.c.
| uint8_t l3gd20h_get_fifo_level | ( | l3gd20h_handle_t * | handle, |
| uint8_t * | level ) |
get the fifo level
| [in] | *handle | pointer to an l3gd20h handle structure |
| [out] | *level | pointer to a fifo level buffer |
Definition at line 2591 of file driver_l3gd20h.c.
| uint8_t l3gd20h_get_fifo_mode | ( | l3gd20h_handle_t * | handle, |
| l3gd20h_fifo_mode_t * | fifo_mode ) |
get the fifo mode
| [in] | *handle | pointer to an l3gd20h handle structure |
| [out] | *fifo_mode | pointer to a chip fifo working mode buffer |
Definition at line 2473 of file driver_l3gd20h.c.
| uint8_t l3gd20h_get_fifo_threshold | ( | l3gd20h_handle_t * | handle, |
| uint8_t * | threshold ) |
get the fifo threshold
| [in] | *handle | pointer to an l3gd20h handle structure |
| [out] | *threshold | pointer to a fifo threshold buffer |
Definition at line 2554 of file driver_l3gd20h.c.
| uint8_t l3gd20h_get_stop_on_fifo_threshold | ( | l3gd20h_handle_t * | handle, |
| l3gd20h_bool_t * | enable ) |
get stop on fifo threshold status
| [in] | *handle | pointer to an l3gd20h handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2065 of file driver_l3gd20h.c.
| uint8_t l3gd20h_set_fifo | ( | l3gd20h_handle_t * | handle, |
| l3gd20h_bool_t | enable ) |
enable or disable the fifo
| [in] | *handle | pointer to an l3gd20h handle structure |
| [in] | enable | bool value |
Definition at line 1954 of file driver_l3gd20h.c.
| uint8_t l3gd20h_set_fifo_mode | ( | l3gd20h_handle_t * | handle, |
| l3gd20h_fifo_mode_t | fifo_mode ) |
set the fifo mode
| [in] | *handle | pointer to an l3gd20h handle structure |
| [in] | fifo_mode | chip fifo working mode |
Definition at line 2436 of file driver_l3gd20h.c.
| uint8_t l3gd20h_set_fifo_threshold | ( | l3gd20h_handle_t * | handle, |
| uint8_t | threshold ) |
set the fifo threshold
| [in] | *handle | pointer to an l3gd20h handle structure |
| [in] | threshold | fifo threshold |
Definition at line 2511 of file driver_l3gd20h.c.
| uint8_t l3gd20h_set_stop_on_fifo_threshold | ( | l3gd20h_handle_t * | handle, |
| l3gd20h_bool_t | enable ) |
enable or disable stop on fifo threshold
| [in] | *handle | pointer to an l3gd20h handle structure |
| [in] | enable | bool value |
Definition at line 2028 of file driver_l3gd20h.c.