www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - 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

buffer

Input parameter:  Pointer to data to be transmitted

count

Maximum number of bytes to transfer.

SC1x Parameters

port
Port specifier:
    FOSSIL_EXT = 0 for EXT port
    FOSSIL_COM = 1 for COM port

SC1x3 Parameters

port
Port specifier:
    FOSSIL_EXT = 0 for EXT port
    FOSSIL_COM = 1 for COM port
    FOSSIL_SER2 = 2 for SER2 port
    FOSSIL_SER3 = 3 for SER3 port

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.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.00V1.00V1.00V0.90

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


End of document