Apps
Components
Interfaces
All Files
Source Tree
source:
tos.system.ByteEEPROMAllocate.nc
Component: ByteEEPROMAllocate
Provided Interfaces
AllocationReq
RegionSpecifier
getRegion
(uint8_t id)
StdControl
Variables
bool allocated
RegionSpecifier regions[ByteEEPROMAllocate.NREGIONS]
RegionSpecifier *allocatedHead
Function Index
command RegionSpecifier
getRegion
(uint8_t id)
command result_t
StdControl.init
(void)
void
addAllocatedRegion
(RegionSpecifier *currentRequest, RegionSpecifier **allocatedRegion)
__inline uint32_t
alignup
(uint32_t value, uint32_t alignment)
result_t
findFreeRegionAddrAndAlloc
(RegionSpecifier *currentRequest)
result_t
findFreeRegionAndAlloc
(RegionSpecifier *currentRequest)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
command result_t
AllocationReq.request
(uint8_t id, uint32_t numBytesReq)
command result_t
AllocationReq.requestAddr
(uint8_t id, uint32_t byteAddr, uint32_t numBytesReq)
event result_t
AllocationReq.requestProcessed
(uint8_t id, result_t success)