![]() |
ACwing Flow bridge firmware
STM32C011: PMW3901 optical flow over SPI, I2C target 0x3B
|
#include <pmw3901.h>
Data Fields | |
| uint8_t(* | xfer )(uint8_t b) |
| one SPI byte, full duplex | |
| void(* | cs )(uint8_t level) |
| NCS: 0 = selected | |
| void(* | reset )(uint8_t level) |
| NRESET: 0 = in reset | |
| void(* | delay_us )(uint32_t us) |
| uint8_t(* pmw_bus_t::xfer) (uint8_t b) |
one SPI byte, full duplex
Definition at line 14 of file pmw3901.h.
Referenced by pmw_burst(), rd(), and wr().
| void(* pmw_bus_t::cs) (uint8_t level) |
NCS: 0 = selected
Definition at line 15 of file pmw3901.h.
Referenced by pmw_burst(), pmw_init(), rd(), and wr().
| void(* pmw_bus_t::reset) (uint8_t level) |
| void(* pmw_bus_t::delay_us) (uint32_t us) |
Definition at line 17 of file pmw3901.h.
Referenced by pmw_burst(), pmw_init(), rd(), and wr().