Renesas M16C/6NK Informações Técnicas Página 121

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 412
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 120
Rev.2.10 Apr 14, 2006 page 97 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 10. Interrupts
Figure 10.13 IFSR2 Register
Interrupt Source Select Register 2
RW
Symbol Address After Reset
IFSR2 01CFh X0000000b
RW
RW
RW
RW
RW
RW
RW
-
b7 b6 b5 b4 b3 b2 b1 b0
0 : Timer A2
1 : INT7
0 : CAN0/1 error
1 : key input
0 : Timer A3
1 : INT6
0 : Timer B1
1 : INT8
0 : One edge
1 : Both edges
0 : One edge
1 : Both edges
0 : One edge
1 : Both edges
IFSR20
Interrupt request source
select bit
(5)
Nothing is assigned. If necessary, set to 0.
When read, the content is undefined.
IFSR21
IFSR22
IFSR23
IFSR24
IFSR25
IFSR26
-
(b7)
Bit Name Function
Bit Symbol
Interrupt request source
select bit
(2) (6)
Interrupt request source
select bit
(3) (6)
Interrupt request source
select bit
(4) (6)
INT6 interrupt polarity
switching bit
(1) (6)
INT7 interrupt polarity
switching bit
(1) (6)
INT8 interrupt polarity
switching bit
(1) (6)
NOTES:
1.When setting this bit to 1 (both edges), make sure the POL bit in registers INT6IC to INT8IC are set
to 0 (falling edge). Registers INT6IC to INT8IC are only in the 128-pin version.
In the 100-pin version, make sure bits IFSR23 to IFSR25 are set to 0 (one edge).
2.Timer A2 and INT7 share the vector and interrupt control register.
When using the timer A2 interrupt, set the IFSR20 bit to 0 (timer A2). When using INT7 interrupt, set
the IFSR20 bit to 1 (INT7).
The INT7 interrupt is only in the 128-pin version. In the 100-pin version, set the IFSR20 bit to 0 (timer A2).
3.Timer A3 and INT6 share the vector and interrupt control register.
When using the timer A3 interrupt, set the IFSR21 bit to 0 (timer A3). When using INT6 interrupt, set
the IFSR21 bit to 1 (INT6).
The INT6 interrupt is only in the 128-pin version. In the 100-pin version, set the IFSR21 bit to 0 (timer A3).
4.Timer B1 and INT8 share the vector and interrupt control register.
When using the timer B1 interrupt, set the IFSR22 bit to 0 (timer B1). When using INT8 interrupt, set
the IFSR22 bit to 1 (INT8).
The INT8 interrupt is only in the 128-pin version. In the 100-pin version, set the IFSR22 bit to 0 (timer B1).
5.When the PCLK6 bit in the PCLKR register = 1, CAN0/1 error and key input share the vector and
interrupt control register. When using the CAN0/1 error interrupt, set the IFSR26 bit to 0 (CAN0/1
error). When using the key input interrupt, set the IFSR26 bit to 1 (key input).
6. When using the INT6 to INT8 interrupts, set these bits after setting the PU37 bit in the PUR3 register to 1.
Vista de página 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 411 412

Comentários a estes Manuais

Sem comentários