www.beck-ipc.com

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


fossil_send_break

Send break

void fossil_send_break ( int port, FOS_BREAK_SIZE break_size );

Parameters

port

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

break_size

Enumeration type:
    FOS_LONG_BREAK = 1, long break
    FOS_SHORT_BREAK = 2, short break
    FOS_EXTRALONG_BREAK = 3, extra long break

Return Value

-- none --

Comments

A short break is a continuous Low on the TXD output for a duration of more than one frame transmission time M, where:

    M = startbit + data bits (+ parity bit)+ stop bit

A long break is a continuous Low on the TXD output for a duration of more than two frame transmission times plus the transmission time for three additional bits (2M+3).
A extra long break is a continuous Low on the TXD output for a duration of more than three frame transmission times.

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