Renesas Single-Chip Microcomputer M38C89T-ADF Bedienungsanleitung Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 138
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
Rev.1.00 May 22 2012
REJ09B0566
4-9
Library Reference
R_INTC_ControlExtInterrupt
4
4.2.2 33BInterrupt Control Unit
PDL_INTC_IRQ_LOW or
Low level detection
PDL_INTC_IRQ_FALLING or
Falling edge detection
PDL_INTC_IRQ_RISING or
Rising edge detection
PDL_INTC_IRQ_BOTH
Falling and rising edge detection
3) R_INTC_ControlExtInterrupt
Synopsis
External interrupt control.
Prototype bool R_INTC_ControlExtInterrupt(
uint8_t data1, // Pin selection
uint16_t data2 // Control
);
Description
Enables or disables the specified external interrupt.
[data1]
Choose the interrupt pin to be configured.
PDL_INTC_IRQ0 External interrupt 0
PDL_INTC_IRQ1 External interrupt 1
PDL_INTC_IRQ2 External interrupt 2
PDL_INTC_IRQ3 External interrupt 3
PDL_INTC_IRQ4 External interrupt 4
PDL_INTC_IRQ5 External interrupt 5
PDL_INTC_IRQ6 External interrupt 6
PDL_INTC_IRQ7 External interrupt 7
PDL_INTC_PINT0 External interrupt Pin 0
PDL_INTC_PINT1 External interrupt Pin 1
PDL_INTC_PINT2 External interrupt Pin 2
PDL_INTC_PINT3 External interrupt Pin 3
PDL_INTC_PINT4 External interrupt Pin 4
PDL_INTC_PINT5 External interrupt Pin 5
PDL_INTC_PINT6 External interrupt Pin 6
PDL_INTC_PINT7 External interrupt Pin 7
PDL_INTC_NMI NMI Interrupt
PDL_INTC_GEN_ILL_INSTRUCTION General illegal instruction
PDL_INTC_SLOT_ILL_INSTRUCTION Slot illegal instruction
PDL_INTC_CPU_ADDR_ERR CPU Address Error
PDL_INTC_DMA_ADDR_ERR DMA Address Error
PDL_INTC_FPU FPU Error
PDL_INTC_BANK_OVERFLOW BANK Overflow Error
PDL_INTC_BANK_UNDERFLOW BANK Underflow Error
PDL_INTC_DIV_BY_ZERO Divide by Zero Error
PDL_INTC_DIV_OVERFLOW Divide Overflow Error
[data2]
Select the controls. If multiple selections are required, use |” to separate each selection.
Enable or disable the interrupt pin (for the IRQ pins)
PDL_INTC_ENABLE or
PDL_INTC_DISABLE
Enable or disable the IRQn interrupt pin.
Detection sense selection (for the IRQ pins)
Enable or disable the interrupt pin (for the PINTIRQ pins)
PDL_INTC_PINT_LOW
PDL_INTC_PINT_HIGH
Select between PINT Low or High Level Selection
Return value
True if all parameters are valid and exclusive; otherwise false.
Category
External interrupt
Reference R_INTC_CreateExtInterrupt, R_INTC_GetExtInterruptStatus
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 137 138

Kommentare zu diesen Handbüchern

Keine Kommentare