|
CTS-SAT-1-OBC-Firmware
|

Functions | |
| static FLASH_Physical_Address_t | _block_plus_offset_to_address (lfs_block_t block, lfs_off_t offset) |
| uint8_t | LFS_get_chip_number (lfs_block_t block_num) |
| int | LFS_block_device_read (const struct lfs_config *c, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) |
| LittleFS read function, memory is mapped to a physical address here. | |
| int | LFS_block_device_prog (const struct lfs_config *c, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) |
| LittleFS write function, memory is mapped to a physical address here. | |
| int | LFS_block_device_erase (const struct lfs_config *c, lfs_block_t block) |
| LittleFS erase function, memory is mapped to a physical address here. | |
| int | LFS_block_device_sync (const struct lfs_config *c) |
| LittleFS sync function. | |
Variables | |
| SPI_HandleTypeDef * | hspi_lfs_ptr = &hspi1 |
|
inlinestatic |

| int LFS_block_device_erase | ( | const struct lfs_config * | c, |
| lfs_block_t | block ) |
LittleFS erase function, memory is mapped to a physical address here.
| LittleFS | Configurations, Block to erase |

| int LFS_block_device_prog | ( | const struct lfs_config * | c, |
| lfs_block_t | block, | ||
| lfs_off_t | off, | ||
| const void * | buffer, | ||
| lfs_size_t | size ) |
LittleFS write function, memory is mapped to a physical address here.
| LittleFS | Configurations, Block to read, offset, buffer, buffer size |

| int LFS_block_device_read | ( | const struct lfs_config * | c, |
| lfs_block_t | block, | ||
| lfs_off_t | off, | ||
| void * | buffer, | ||
| lfs_size_t | size ) |
LittleFS read function, memory is mapped to a physical address here.
| LittleFS | Configurations, Block to write, offset, buffer, buffer size |

| int LFS_block_device_sync | ( | const struct lfs_config * | c | ) |
LittleFS sync function.
| c | - LittleFS Configuration |
| uint8_t LFS_get_chip_number | ( | lfs_block_t | block_num | ) |

| SPI_HandleTypeDef* hspi_lfs_ptr = &hspi1 |