www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - Hardware API


hal_readblock_bus

Block read data bus.

void hal_readblock_bus ( unsigned short adr0, unsigned short adr1,
                         unsigned char far *buf, unsigned short cnt );

Parameters

adr0

First address

adr1

Second address

buf

Output parameter: destination buffer

cnt

Number of bytes to read into buf

Return Value

-- none --.

Comments

IF adr0 != adr1 , this function will alternate reads between the two addresses until cnt bytes are read, starting at first address.   Set adr0 == adr1 if you want to read from only a single address.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document