![]() |
LibDriver TM1622
|
tm1622 extern driver modules More...
Functions | |
| uint8_t | tm1622_set_command (tm1622_handle_t *handle, uint16_t cmd) |
| set command | |
| uint8_t | tm1622_set_data (tm1622_handle_t *handle, uint8_t addr, uint8_t *data, uint8_t len) |
| set data | |
| uint8_t | tm1622_get_data (tm1622_handle_t *handle, uint8_t addr, uint8_t *data, uint8_t len) |
| get data | |
| uint8_t | tm1622_read_modify_write (tm1622_handle_t *handle, uint8_t addr, void(*and_or)(uint8_t addr, uint8_t lsb_msb, uint8_t input, uint8_t *output), uint8_t len) |
| read modify write | |
tm1622 extern driver modules
| uint8_t tm1622_get_data | ( | tm1622_handle_t * | handle, |
| uint8_t | addr, | ||
| uint8_t * | data, | ||
| uint8_t | len ) |
get data
| [in] | *handle | pointer to a tm1622 handle structure |
| [in] | addr | address |
| [out] | *data | pointer to an output data buffer |
| [in] | len | output data length |
Definition at line 1443 of file driver_tm1622.c.
| uint8_t tm1622_read_modify_write | ( | tm1622_handle_t * | handle, |
| uint8_t | addr, | ||
| void(* | and_or )(uint8_t addr, uint8_t lsb_msb, uint8_t input, uint8_t *output), | ||
| uint8_t | len ) |
read modify write
| [in] | *handle | pointer to a tm1622 handle structure |
| [in] | addr | address |
| [in] | *and_or | pointer to an and_or function address |
| [in] | len | data length |
Definition at line 1478 of file driver_tm1622.c.
| uint8_t tm1622_set_command | ( | tm1622_handle_t * | handle, |
| uint16_t | cmd ) |
set command
| [in] | *handle | pointer to a tm1622 handle structure |
| [in] | cmd | sent command |
Definition at line 1373 of file driver_tm1622.c.
| uint8_t tm1622_set_data | ( | tm1622_handle_t * | handle, |
| uint8_t | addr, | ||
| uint8_t * | data, | ||
| uint8_t | len ) |
set data
| [in] | *handle | pointer to a tm1622 handle structure |
| [in] | addr | address |
| [in] | *data | pointer to an input data buffer |
| [in] | len | input data length |
Definition at line 1408 of file driver_tm1622.c.