Download Print this page

Panasonic MICROCOMPUTER MN103S Application Note page 15

Panasonic laptop - computer user manual
Hide thumbs Also See for MICROCOMPUTER MN103S:

Advertisement

Timer 1 Binary Counter (TM1BC: 0x0000A151)
bp
Flag name
7
TM1BC7
6
TM1BC6
5
TM1BC5
4
TM1BC4
3
TM1BC3
2
TM1BC2
1
TM1BC1
0
TM1BC0
Timer 1 Mode Register (TM1MD: 0x0000A141)
bp
Flag name
7
TM1CNE
6
TM1LDE
5-3
TM1CK2
2-0
TM1CK1
TM1CK0
Port 3 I/O Control Register (P3DIR: 0x0000A023)
bp
Flag name
7
P36D
P35D
P34D
6-0
P33D
P32D
P31D
P30D
Description
Timer 1 binary counter
Description
Timer operation enable
0: Operation disabled
1: Operation enabled
Timer initialization
0: Normal operation
1: Initialization
TM1BR value is loaded into TM1BC.
Timer pulse output 1 is reset to low level.
Count source selection
000: IOCLK
001: IOCLK/8
010: IOCLK/32
011: Cascading with Timer 0
100: Timer 0 underflow
101: Setting not available
110: Timer 2 underflow
111: TM1IO pin input
Description
P36 to P30 I/O control
0: Input mode
1: Output mode
Chapter 3
Microcomputer Basics 1
8-bit timer operation
III−39

Advertisement

loading