Inherits SPI.
|
SPI | base |
| Parent SPI interface.
|
|
void(* | erase )(struct Flash *) |
| Chip erase method.
|
|
void(* | readPage )(struct Flash *, uint32_t, volatile uint8_t *) |
| Read page method.
|
|
void(* | writePage )(struct Flash *, uint32_t, uint8_t *) |
| Write page method.
|
|
DeviceType | device |
| Enum specifier for device type.
|
|
SPI_TypeDef * | interface |
| Pointer to SPI interface struct.
|
|
GPIO_TypeDef * | port |
| Pointer to GPIO port struct.
|
|
unsigned long | cs |
| Device chip select address.
|
|
void(* | send )(struct SPI *, uint16_t) |
| SPI send method.
|
|
void(* | receive )(struct SPI *, volatile uint16_t *) |
| SPI receive method.
|
|
uint16_t(* | transmit )(struct SPI *, uint16_t) |
| SPI transmit method.
|
|
Definition at line 30 of file flash.h.
◆ erase
void(* erase) (struct Flash *) |
◆ readPage
void(* readPage) (struct Flash *, uint32_t, volatile uint8_t *) |
◆ writePage
void(* writePage) (struct Flash *, uint32_t, uint8_t *) |
The documentation for this struct was generated from the following file:
- Australis-Avionics/Core/Inc/spi/flash/flash.h