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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 412
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 140
Rev.2.10 Apr 14, 2006 page 117 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 13. Timers
Figure 13.5 Registers TABSR and UDF
Timer A4 up/down flag
Timer A3 up/down flag
Timer A2 up/down flag
Timer A1 up/down flag
Timer A0 up/down flag
Timer A2 two-phase pulse
signal processing select bit
Timer A3 two-phase pulse
signal processing select bit
Timer A4 two-phase pulse
signal processing select bit
Symbol Address After Reset
UDF 0384h 00h
TA4P
TA3P
TA2P
Up/Down Flag
(1)
Bit Name FunctionBit Symbol
b7 b6 b5 b4 b3 b2 b1 b0
TA4UD
TA3UD
TA2UD
TA1UD
TA0UD
0 : Down count
1 : Up count
Enabled by setting the MR2 bit in
the TAiMR register to 0
(= switching source in UDF register)
during event counter mode.
0 : Two-phase pulse signal
processing disabled
1 : Two-phase pulse signal
processing enabled
(2) (3)
Symbol Address After Reset
TABSR 0380h 00h
Count Start Flag
Bit Name FunctionBit Symbol
RW
b7 b6 b5 b4 b3 b2 b1 b0
Timer B2 count start flag
Timer B1 count start flag
Timer B0 count start flag
Timer A4 count start flag
Timer A3 count start flag
Timer A2 count start flag
Timer A1 count start flag
TB2S
TB1S
TB0S
TA4S
TA3S
TA2S
TA1S
TA0S
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
WO
WO
WO
NOTES:
1.Use the MOV instruction to write to this register.
2.Make sure the port direction bits for pins TA2IN to TA4IN, and TA2OUT to TA4OUT are set to 0
(input mode).
3.When not using the two-phase pulse signal processing function, set the corresponding bit to timers
A2 to A4 to 0.
Timer A0 count start flag 0 : Count stops
1 : Count starts
Vista de página 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 411 412

Comentários a estes Manuais

Sem comentários