
SensL © 2011
46
USER MANUAL
HRM-TDC
SensL © 2011
46
> Appendix > Hrm-tdc Registers And Low Level Dll Functions
Non-Register Specific Low Level Drivers
Driver - HRM_InitMemory
HRM_STATUS WINAPI HRM_InitMemory( HANDLE
handle,
ULONG
addr,
ULONG len,
ULONG
fillData)
Fill a block of memory with a specific bit pattern.
handle:
HRM-TDC module handle
addr:
32-bit starting address
len:
Number of 32-bit locations to fill
fillData:
32-bit value to fill the memory with
Driver - HRM_ReadMemory
HRM_STATUS WINAPI HRM_ReadMemory( HANDLE
handle,
USHORT
modeMask,
ULONG
addr,
ULONG
len,
BYTE *buf)
Read a block of data from a given location in memory.
handle:
HRM-TDC module handle
modeMask: Mask to define desired state of mode register bits when executing the function
addr:
32-bit starting address
len:
Number of 32-bit locations to read
buf:
Pointer to buffer for storing the data
Driver - HRM_ReadFIFOMemory
HRM_STATUS WINAPI HRM_ReadFIFOMemory( HANDLE
handle,
USHORT
modeMask,
ULONG addr,
ULONG len,
BYTE
*buf)
Read a block of data from a given location in memory when card is operating in FIFO mode.
handle:
HRM-TDC module handle
modeMask: Mask to define desired state of mode register bits when executing the function
addr:
32-bit starting address
len:
Number of 32-bit locations to read
buf:
Pointer to buffer for storing the data