@CHIP-RTOS C Library - 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 );
This function is deprecated! Use inport or inportb function from dos.h instead!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.
Supported since or modified in @CHIP-RTOS version-
| SC12 | SC13 | SC11 | SC1x3 | SC2x |
-
| V1.00 | V1.00 | V1.00 | n/a | n/a |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|