www.beck-ipc.com

@CHIP-RTOS C Library - Hardware API


hal_write_pio

Write to specific I/O pin.

void hal_write_pio ( unsigned char pio, unsigned short value );

Parameters

value

0 ==> set PIO to low
non-zero ==> set PIO to high

SC1x Parameters

pio
IPC@CHIP® PIO No. [0..13]

SC1x3 Parameters

pio
IPC@CHIP® PIO No. [0..24, 26..31]

SC2x Parameters

pio
IPC@CHIP® PIO No. [0..2, 9..13, 18..23, 27..28, 31]

Return Value

-- none --.

Comments

Write to a specified programmable I/O pin.   Only PIO pins that are defined as outputs can be written.

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

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

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


End of document