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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 412
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 154
Rev.2.10 Apr 14, 2006 page 131 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 13. Timers
Figure 13.16 Registers TB0MR to TB5MR, and TB0 to TB5
Timer Bi Mode Register (i = 0 to 5)
Bit Name
FunctionBit Symbol
RW
b7 b6 b5 b4 b3 b2 b1 b0
0 0 : Timer mode
0 1 : Event counter mode
1 0 : Pulse period measurement mode,
pulse width measurement mode
1 1 : Do not set a value
b1 b0
TCK1
MR3
MR2
MR1
TMOD1
MR0
TMOD0
TCK0
RW
RW
RW
RW
RW
(1)
-
(2)
RW
RW
RO
Function varies depending on
operating mode
Function varies depending on operating mode
Operating mode select bits
Count source select bits
Symbol Address After Reset
TB0MR to TB2MR 039Bh to 039Dh 00XX0000b
TB3MR to TB5MR 01DBh to 01DDh 00XX0000b
NOTES:
1. Timers B0 and B3.
2. Timers B1, B2, B4, and B5.
Symbol Address After Reset
TB0
TB1
TB2
TB3
TB4
TB5
0391h, 0390h
0393h, 0392h
0395h, 0394h
01D1h, 01D0h
01D3h, 01D2h
01D5h, 01D4h
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
b7 b0 b7 b0
(b15)
(b8)
Timer Bi Register (i = 0 to 5)
(1)
RW
Measures a pulse period or width
Function
NOTES:
1.The register must be accessed in 16-bit unit.
2.The timer counts pulses from an external device or overflows or underflows of other timers.
Divide the count source by n + 1
where n = set value
Timer mode
Event counter
mode
0000h to FFFFh
0000h to FFFFh
Divide the count source by n + 1
where n = set value
(2)
Pulse period
modulation mode,
Pulse width
modulation mode
Mode
Setting Range
RW
RW
RO
Vista de página 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 411 412

Comentários a estes Manuais

Sem comentários