Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Embed: (wiki syntax)

« Back to documentation index

_ARM_STORAGE_CAPABILITIES Struct Reference

_ARM_STORAGE_CAPABILITIES Struct Reference
[Hal]

Storage Driver API Capabilities. More...

#include <Driver_Storage.h>

Data Fields

uint32_t asynchronous_ops: 1
 Used to indicate if APIs like initialize, read, erase, program, etc.
uint32_t erase_all: 1
 Supports EraseAll operation.

Detailed Description

Storage Driver API Capabilities.

This data structure is designed to fit within a single word so that it can be fetched cheaply using a call to driver->GetCapabilities().

Definition at line 192 of file Driver_Storage.h.


Field Documentation

uint32_t asynchronous_ops

Used to indicate if APIs like initialize, read, erase, program, etc.

can operate in asynchronous mode. Setting this bit to 1 means that the driver is capable of launching asynchronous operations; command completion is signaled by the invocation of a completion callback. If set to 1, drivers may still complete asynchronous operations synchronously as necessary--in which case they return a positive error code to indicate synchronous completion.

Definition at line 193 of file Driver_Storage.h.

uint32_t erase_all

Supports EraseAll operation.

Definition at line 201 of file Driver_Storage.h.