@CHIP-RTOS C Library V2.00 - Hardware API
hal_writeblock_bus
Block write data bus. void hal_writeblock_bus ( unsigned short adr0, unsigned short adr1,
const unsigned char far *buf,
unsigned short cnt ); Parameters
adr0
- First address
adr1
- Second address
buf
- Input parameter: data source buffer
cnt
- Number of bytes to output from buf
Return Value
- -- none --.
Comments
- IF adr0
!= adr1
, this function will
alternate between writes to the first and second address, starting
at first address.
Set adr0
== adr1
if you want all data
written to 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
|