www.beck-ipc.com

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


pfe_enable_int

Enable external interrupt requests INT[0], INT[2..6]

void pfe_enable_int ( unsigned char irq );

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

Return Value

-- none --.

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

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