www.beck-ipc.com

@CHIP-RTOS C Library - Hardware API


pfe_enable_int

Enable external interrupt requests INTx

void pfe_enable_int ( unsigned char irq );

SC1x Parameters

irq
External Interrupt number:
    0:   Enable INT0
    1:   N/A
    2:   Enable INT2
    3:   Enable INT3
    4:   Enable INT4
    5:   Enable INT5
    6:   Enable INT6

SC1x3/SC2x Parameters

irq
External Interrupt number:
    0:   N/A
    1:   Enable INT1
    2:   N/A
    3:   Enable INT3
    4:   N/A
    5:   Enable INT5
    6-14:   N/A
    15:   Enable PFI

Return Value

-- none --.

SC1x Comments

Used pins:
    INT0, INT[2..6]

Excluded pins:
    if INT0:   PIO13, TMROUT0, cascaded interrupt controller
    if INT2:   PIO6, PCS2#, INTA#, PWD, SPI, hw flow control serial port 1
    if INT3:   PIO12, serial port 1
    if INT4:   PIO5, PCS3#, SPI, hw flow control serial port 1
    if INT5:   PIO1, DRQ0, default I2C-Bus pins, SPI
    if INT6:   PIO0, DRQ1, default I2C-Bus pins, SPI

SC1x3 Comments

Used pins:
    INT1, INT3, INT5, PFI

Excluded pins:
    if INT5: PIO30
    if PFI: PIO9

SC2x Comments

Used pins:
    INT1, INT3, INT5, PFI

Excluded pins:
    if INT5: PIO0 / TMRIN1
    if INT3: PIO1 / TMROUT1
    if INT1: PIO2
    if PFI: PIO9

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