modm API documentation
Memory Accessors

Classes

class  modm::accessor::Flash< T >
 
class  modm::accessor::Ram< T >
 

Functions

template<typename T >
volatile T & modm::accessor::asVolatile (T &value)
 
template<typename T >
::modm::accessor::Flash< T > modm::accessor::asFlash (const T *ptr)
 
modm::IOStreammodm::operator<< (modm::IOStream &os, modm::accessor::Flash< char > ptr)
 
#define FLASH_STORAGE(var)
 Define a flash variable.
 
#define EXTERN_FLASH_STORAGE(var)
 Define a flash variable with external linkage.
 
#define FLASH_STORAGE_STRING(s)
 Define a flash string.
 
#define EXTERN_FLASH_STORAGE_STRING(s)
 Declare a flash string with external linkage.
 
#define IFSS(s)   ((const char *)(s))
 Declare a flash string inline.
 

Detailed Description

lbuild module: modm:architecture:accessor

Function Documentation

template<typename T >
::modm::accessor::Flash<T> modm::accessor::asFlash ( const T *  ptr)

Convert a normal pointer to a accessor::Flash

template<typename T >
volatile T& modm::accessor::asVolatile ( T &  value)

Add volatile modifier to T

modm::IOStream& modm::operator<< ( modm::IOStream os,
modm::accessor::Flash< char >  ptr 
)
inline

Streamoperator - specialization for char