|
M38203M4 Datasheet, PDF (305/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPENDIX
3.3 Control registers
Timer X mode register
b7 b6 b5 b4 b3 b2 b1 b0
Timer X mode register (TXM) [Address 2716]
B
Name
0 Timer X write
control bit
Functions
At reset R W
0 : Write value in latch and counter 0
1 : Write value in latch only
1 Real time port
0 : Real time port function
0
control bit
invalid
1 : Real time port function
valid
2 P60 data for real time 0 : âLâ level output
0
port
1 : âHâ level output
3 P61 data for real time 0 : âLâ level output
0
port
1 : âHâ level output
4 Timer X operating
b5b4
0 0 : Timer mode
0
mode bits
0 1 : Pulse output mode
5
1 0 : Event counter mode
0
1 1 : Pulse width measurement
mode
6 CNTR0 active edge â¢CNTR0 interrupt
0
switch bit
0 : Falling edge active
1 : Rising edge active
â¢Pulse output mode
0 : Start at initial level âHâ output
1 : Start at initial level âLâ output
â¢Event counter mode
0 : Rising edge active
1 : Falling edge active
â¢Pulse width measurement mode
0 : Measure âHâ level width
1 : Measure âLâ level width
7
Timer X stop control
bit
0 : Count start
1 : Count stop
0
Fig. 3.3.9 Structure of timer X mode register
3820 GROUP USERâS MANUAL
3â21
|
▷ |