Renesas R8C/15 Informações Técnicas Página 88

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 279
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 87
R8C/14 Group, R8C/15 Group 11. Interrupt
Rev.2.10 Jan 19, 2006 Page 74 of 253
REJ09B0164-0210
11.3 Key Input Interrupt
A key input interrupt request is generated by one of the input edges of the K10 to K13 pins. The key
input interrupt can be used as a key-on wake-up function to exit wait or stop mode.
The KIiEN (i=0 to 3) bit in the KIEN register can select whether the pins are used as KIi
input. The KIiPL
bit in the KIEN register can select the input polarity.
When inputting “L” to the KIi
pin which sets the KIiPL bit to “0” (falling edge), the input of the other K10 to
K13
pins are not detected as interrupts. Also, when inputting “H” to the KIi pin which sets the KIiPL bit to
“1” (rising edge), the input of the other K10
to K13 pins are not detected as interrupts.
Figure 11.17 shows a Block Diagram of Key Input Interrupt.
Figure 11.17 Block Diagram of Key Input Interrupt
KI3
Pull-Up
Transistor
KI2
Pull-Up
Transistor
KI3PL=0
KI3PL=1
PD1_3 Bit
KI3EN Bit
PU02 bit in PUR0 register
PD1_3 bit in PD1 register
KUPIC Register
Interrupt Control
Circuit
Key Input Interrupt
Request
KI2PL=0
KI2PL=1
PD1_2 Bit
KI2EN Bit
KI1
Pull-Up
Transistor
KI1PL=0
KI1PL=1
PD1_1 Bit
KI1EN Bit
KI0
Pull-Up
Transistor
KI0PL=0
KI0PL=1
PD1_0 Bit
KI0EN Bit
KI0EN, KI1EN, KI2EN, KI3EN,
KI0PL, KI1PL, KI2PL, KI3PL: Bits in KIEN register
PD1_0, PD1_1, PD1_2, PD1_3: Bits in PD1 register
Vista de página 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 278 279

Comentários a estes Manuais

Sem comentários