|
CTS-SAT-1-OBC-Firmware
|

Functions | |
| static FLASH_error_enum_t | FLASH_disable_block_lock (uint8_t chip_number) |
| Disable the block lock feature of the flash chip, which is enabled by default after a power cycle. | |
| static FLASH_error_enum_t | FLASH_write_enable (uint8_t chip_number) |
| static FLASH_error_enum_t | FLASH_write_disable (uint8_t chip_number) |
| static FLASH_error_enum_t | FLASH_wait_until_ready (uint8_t chip_number) |
| Wait until the flash chip is ready for the next command. | |
| FLASH_error_enum_t | FLASH_init (uint8_t chip_number) |
| FLASH_error_enum_t | FLASH_erase_block (uint8_t chip_number, FLASH_Physical_Address_t address) |
| FLASH_error_enum_t | FLASH_program_page (uint8_t chip_number, FLASH_Physical_Address_t address, uint8_t *data, uint32_t data_len) |
| FLASH_error_enum_t | FLASH_read_page (uint8_t chip_number, FLASH_Physical_Address_t address, uint8_t *rx_buffer, uint32_t rx_buffer_size) |
| FLASH_error_enum_t | FLASH_is_reachable (uint8_t chip_number) |
| FLASH_error_enum_t | FLASH_reset (uint8_t chip_number) |
| FLASH_error_enum_t | FLASH_read_status_register (uint8_t chip_number, uint8_t *response) |
| void | FLASH_enable_then_disable_chip_select (uint8_t chip_number) |
| Here for testing purposes. | |
|
static |
Disable the block lock feature of the flash chip, which is enabled by default after a power cycle.


| void FLASH_enable_then_disable_chip_select | ( | uint8_t | chip_number | ) |
Here for testing purposes.
| chip_number | the chip select line to enable. |


| FLASH_error_enum_t FLASH_erase_block | ( | uint8_t | chip_number, |
| FLASH_Physical_Address_t | address ) |


| FLASH_error_enum_t FLASH_init | ( | uint8_t | chip_number | ) |


| FLASH_error_enum_t FLASH_is_reachable | ( | uint8_t | chip_number | ) |


| FLASH_error_enum_t FLASH_program_page | ( | uint8_t | chip_number, |
| FLASH_Physical_Address_t | address, | ||
| uint8_t * | data, | ||
| uint32_t | data_len ) |


| FLASH_error_enum_t FLASH_read_page | ( | uint8_t | chip_number, |
| FLASH_Physical_Address_t | address, | ||
| uint8_t * | rx_buffer, | ||
| uint32_t | rx_buffer_size ) |


| FLASH_error_enum_t FLASH_read_status_register | ( | uint8_t | chip_number, |
| uint8_t * | response ) |


| FLASH_error_enum_t FLASH_reset | ( | uint8_t | chip_number | ) |


|
static |
Wait until the flash chip is ready for the next command.
| chip_number | the chip select line to enable. |


|
static |


|
static |

