@CHIP-RTOS C Library V2.00 - Fossil API
fossil_writeblock
Write a block of data (no wait). unsigned int fossil_writeblock ( int port,
const unsigned char far *buffer,
unsigned int count ); Parameters
port
- Port specifier: FOSSIL_EXT = 0 for EXT port,
FOSSIL_COM = 1 for COM port
buffer
- Input parameter: Pointer to
data to be transmitted
count
- Maximum number of bytes to transfer.
Return Value
- Number of bytes transfered to transmit buffer from
buffer
.
Comments
- Write a block of data to the serial port output buffer.
This function returns immediately after transfering as many
bytes as space
in transmit buffer allows.
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
|