rboot-api.h File Reference
#include <rboot.h>
Include dependency graph for rboot-api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rboot_write_status
 Structure defining flash write status. More...
 

Functions

rboot_config rboot_get_config (void)
 Read rBoot configuration from flash. More...
 
bool rboot_set_config (rboot_config *conf)
 Write rBoot configuration to flash memory. More...
 
uint8_t rboot_get_current_rom (void)
 Get index of current ROM. More...
 
bool rboot_set_current_rom (uint8_t rom)
 Set the index of current ROM. More...
 
rboot_write_status rboot_write_init (uint32_t start_addr)
 Initialise flash write process. More...
 
bool rboot_write_end (rboot_write_status *status)
 Complete flash write process. More...
 
bool rboot_write_flash (rboot_write_status *status, uint8_t *data, uint16_t len)
 Write data to flash memory. More...