tmp86fp24 TOSHIBA Semiconductor CORPORATION, tmp86fp24 Datasheet - Page 75

no-image

tmp86fp24

Manufacturer Part Number
tmp86fp24
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp86fp24F
Manufacturer:
Toshiba
Quantity:
10 000
Part Number:
tmp86fp24FG
Manufacturer:
Toshiba
Quantity:
10 000
(0021,0020H)
(0023,0022H)
TC1DRA
TC1DRB
TC1CR
(001FH)
R/W
R/W
2.6.2
MPPG1 PPG output control
TC1CK
ACAP1
METT1
MCAP
TC1M
TC1S
TFF1
Note:
Note 1: fc: High-frequency clock [Hz], fs: Low-frequency clock [Hz]
Note 2: The timer register consists of two shift registers. A value set in the timer register is put in effect at the rising
Note 3: Set the mode, source clock, PPG control and timer F/F control when TC1 stops (TC1S
Note 4: Auto capture can be used in only timer, event counter, and window modes.
Note 5: Values to be loaded to timer registers must satisfy the following condition.
Note 6: Always write “0” to TFF1 except PPG output mode.
Note 7: Writing to the TC1DRB is not possible unless TC1 is set to the PPG output mode.
Note 8: On entering STOP mode, the TC1 start control (TC1S) is cleared to “00” automatically. So, the timer stops.
Note 9: Use the auto-capture function in the operative condition of TC1. A captured value may not be fixed if it's
TFF1
Control
16-bit timer registers (TC1DRA and TC1DRB).
TC1 operating mode select
TC1 source clock select [Hz]
TC1 start control
Auto capture control
Pulse width measurement
mode control
External trigger timer mode
control
Time F/F1 control
15
7
The timer/counter 1 is controlled by a timer/counter 1 control register (TC1CR) and two
MCAP1
MPPG1
ACAP1
METT1
14
TC1DRB should not be written except PPG mode.
edge of the first source clock pulse that occurs after the upper data (TC1DRAH and TC1DRBH) are written.
Therefore, the lower byte must be written before the upper byte (It is recommended that a 16-bit access
instruction be used in writing). Writing only the lower data (TC1DRAL and TC1DRBL) does not put the
setting of the timer register in effect.
TC1DRA > TC1DRB > 1 (PPG output mode), TC1DRA > 1 (others)
Once the STOP mode has been released, to start using the timer counter, set TC1S again.
read after the execution of the timer stop or auto-capture disable. Read the capture value in a capture
enabled condition.
6
13
5
TC1S
TC1DRAH (0021H)
TC1DRBH (0023H)
12
4
11
3
TC1CK
00: Timer/external trigger timer/event counter mode
01: Window mode
10: Pulse width measurement mode
11: PPG (Programmable pulse generate) output mode
00
01
10
11
00: Stop and counter clear
01: Command start
10:
11:
0: Auto-capture disable
0: Double edge capture
0: Trigger start
0: Continuous pulse generation 1: One shot
0: Clear
External trigger start at the rising edge
External trigger start at the falling edge
External clock (TC1 pin input)
10
2
DV7CK=0
86FP24-73
9
1
NORMAL1/2, IDLE1/2 mode
fc/2
fc/2
fc/2
TC1M
11
7
3
0
8
(Initial value: 0000 0000)
7
1: Auto-capture enable
1: Single edge capture
1: Trigger start and stop
1: Set
DV7CK=1
6
fs/2
fc/2
fc/2
Timer Extend Event Window Pulse PPG
(Initial value: 1111 1111 1111 1111)
(Initial value: 1111 1111 1111 1111)
3
7
3
|
|
u
u
5
TC1DRAL (0020H)
TC1DRBL (0022H)
|
|
|
u
4
SLOW1/2, SLEEP1/2
|
|
|
u
3
|
|
|
u
mode
fs/2


2
3
00).
|
|
|
u
TMP86FP24
2007-08-24
|
|
|
|
1
R/W
0

Related parts for tmp86fp24