![]() |
TMF8829 Universal Driver 0.1.0
|
Set of platform callbacks required by tmf8829_init. More...
#include <tmf8829_ops.h>
Data Fields | |
| tmf8829_read_fn | read |
| tmf8829_write_fn | write |
| tmf8829_delay_us_fn | delay_us |
| tmf8829_systick_us_fn | systick_us |
| tmf8829_write_pin_enable_fn | write_pin_enable |
| tmf8829_read_pin_int_fn | read_pin_int |
Set of platform callbacks required by tmf8829_init.
Declare one const instance per port (e.g. STM32 HAL) and pass its address to every sensor on that port.
| tmf8829_delay_us_fn tmf8829_ops::delay_us |
Required: microsecond delay.
| tmf8829_read_fn tmf8829_ops::read |
Required: register read.
| tmf8829_read_pin_int_fn tmf8829_ops::read_pin_int |
Optional: IRQ pin; may be NULL.
| tmf8829_systick_us_fn tmf8829_ops::systick_us |
Required: microsecond time base.
| tmf8829_write_fn tmf8829_ops::write |
Required: register write.
| tmf8829_write_pin_enable_fn tmf8829_ops::write_pin_enable |
Optional: enable power pin; may be NULL if pin is permanently high.