Brick Groove Machine 0.9.3
Firmware embarqué pour contrôleur/synthé Brick
 
Chargement...
Recherche...
Aucune correspondance
Référence du fichier board_flash.h
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Aller au code source de ce fichier.

Macros

#define BOARD_FLASH_CAPACITY_BYTES   (16U * 1024U * 1024U)
 
#define BOARD_FLASH_SECTOR_SIZE   4096U
 

Fonctions

bool board_flash_init (void)
 
bool board_flash_is_ready (void)
 
uint32_t board_flash_get_capacity (void)
 
uint32_t board_flash_get_sector_size (void)
 
bool board_flash_read (uint32_t address, void *buffer, size_t length)
 
bool board_flash_write (uint32_t address, const void *data, size_t length)
 
bool board_flash_erase (uint32_t address, size_t length)
 
bool board_flash_erase_sector (uint32_t address)
 

Documentation des macros

◆ BOARD_FLASH_CAPACITY_BYTES

#define BOARD_FLASH_CAPACITY_BYTES   (16U * 1024U * 1024U)

◆ BOARD_FLASH_SECTOR_SIZE

#define BOARD_FLASH_SECTOR_SIZE   4096U

Documentation des fonctions

◆ board_flash_erase()

bool board_flash_erase ( uint32_t  address,
size_t  length 
)

◆ board_flash_erase_sector()

bool board_flash_erase_sector ( uint32_t  address)

◆ board_flash_get_capacity()

uint32_t board_flash_get_capacity ( void  )

◆ board_flash_get_sector_size()

uint32_t board_flash_get_sector_size ( void  )

◆ board_flash_init()

bool board_flash_init ( void  )

◆ board_flash_is_ready()

bool board_flash_is_ready ( void  )

◆ board_flash_read()

bool board_flash_read ( uint32_t  address,
void *  buffer,
size_t  length 
)

◆ board_flash_write()

bool board_flash_write ( uint32_t  address,
const void *  data,
size_t  length 
)