www.beck-ipc.com

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


hal_read_pio

Read specific I/O pin.

unsigned char hal_read_pio ( unsigned char pio );

SC1x Parameters

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

SC1x3 Parameters

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

Return Value

0 PIO pin is low, 1 PIO pin is high

Comments

Read specified programmable I/O pin.

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