NVMCTRL_Basic_write_flash_byte

Write a byte to flash.

nvmctrl_status_t NVMCTRL_Basic_write_flash_byte(
    flash_adr_t flash_adr,
    uint8_t * ram_buffer,
    uint8_t data
)

Parameters

flash_adr

Type: flash_adr_t typedef

The byte-address in flash to write to

page_buffer

A buffer in memory the size of a flash page, used as a scratchpad

data

Type: uint8_t

The byte to write

Returns

Type: nvmctrl_status_t

Status of the operation