www.beck-ipc.com

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


fossil_force_rts

Force RTS# to low, high or reset to normal activity

void fossil_force_rts ( int port, unsigned char mode );

Parameters

mode

Mode:
    RTS_LOW = 0, force RTS to low
    RTS_HIGH = 1, force RTS to high
    RTS_NORMAL = 2, reset to normal activity

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

-- none --

Comments

RTS/CTS flow control must be enabled to use this function.

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.20V1.20V1.20V1.05

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.04

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


End of document