![]() |
ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
|
#include <w25q.h>
Data Fields | |
| int(* | xfer )(void *ctx, const uint8_t *tx, uint32_t ntx, uint8_t *rx, uint32_t nrx) |
| CS low, write tx (ntx bytes), read rx (nrx bytes), CS high; 0 = ok. | |
| int(* | xfer_w )(void *ctx, const uint8_t *tx, uint32_t ntx, const uint8_t *data, uint32_t n) |
| same, with a second write buffer after tx (page program data) | |
| void(* | delay_ms )(uint32_t ms) |
| yields the task while the chip is busy | |
| uint32_t(* | now_ms )(void) |
| void * | ctx |
CS low, write tx (ntx bytes), read rx (nrx bytes), CS high; 0 = ok.
Definition at line 21 of file w25q.h.
Referenced by cmd1(), status(), w25q_erase_sector(), w25q_init(), and w25q_read().
| int(* w25q_bus_t::xfer_w) (void *ctx, const uint8_t *tx, uint32_t ntx, const uint8_t *data, uint32_t n) |
same, with a second write buffer after tx (page program data)
Definition at line 23 of file w25q.h.
Referenced by w25q_prog().
| void(* w25q_bus_t::delay_ms) (uint32_t ms) |
yields the task while the chip is busy
Definition at line 24 of file w25q.h.
Referenced by w25q_init(), and wait_ready().
| uint32_t(* w25q_bus_t::now_ms) (void) |
Definition at line 25 of file w25q.h.
Referenced by wait_ready().
| void* w25q_bus_t::ctx |
Definition at line 26 of file w25q.h.
Referenced by cmd1(), status(), w25q_erase_sector(), w25q_init(), w25q_prog(), and w25q_read().