tmp89fm42l TOSHIBA Semiconductor CORPORATION, tmp89fm42l Datasheet - Page 202

no-image

tmp89fm42l

Manufacturer Part Number
tmp89fm42l
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42lUG
Manufacturer:
ST
Quantity:
500
Part Number:
tmp89fm42lUG
Manufacturer:
TOSHIBA
Quantity:
745
Part Number:
tmp89fm42lUG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
tmp89fm42lUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
14.4
Functions
RA005
14.4.3
Timer register 00
Timer register 01
T00PWM
T01PWM
(0x0028)
(0x0029)
14.4.3.1
pulse can be added to the 2 × n-th duty pulse. This enables PWM output with a resolution nearly equivalent to 8
bits. (n=1, 2, 3...)
The pulse-width modulated pulses with a resolution of 7 bits are output in the 8-bit PWM mode. An additional
The operation of TC00 is described below, and the same applies to the operation of TC01.
8-bit pulse width modulation (PWM) output mode
Set T00MOD<EIN0> to "0" and select the clock at T00MOD<TCK0>. Set the count value to be used for the
match detection and the additional pulse value at the PWM register T00PWM.
becomes invalid. Be sure to complete the required mode settings before starting the timer.
in a cycle (128 counts of the source clock).
corresponds to 1 count of the source clock is added to the 2 × n-th duty pulse (n=1, 2, 3...). In other words,
the 2 × n-th duty pulse has the output of PWMDUTY+1.
Read/Write
Read/Write
Bit Symbol
Bit Symbol
After reset
After reset
TC00 is put into the 8-bit PWM mode by setting T00MOD<TCM0> to "10" and T001CR<TCAS> to "0".
Set T00MOD<DBE0> to "1" to use the double buffer.
Setting T001CR<T00RUN> to "1" starts the operation. After the timer is started, writing to T00MOD
In the 8-bit PWM mode, the T00PWM register is configured as follows:
PWMDUTY is a 7-bit register used to set the duty pulse width value (the time before the first output change)
PWMAD is a register used to set the additional pulse. When PWMAD is "1", an additional pulse that
The additional pulse is not added when PWMAD is "0".
Setting
R/W
R/W
7
1
7
1
R/W
R/W
6
1
6
1
R/W
R/W
5
1
5
1
Page 188
PWMDUTY
PWMDUTY
R/W
R/W
4
1
4
1
R/W
R/W
3
1
3
1
R/W
R/W
2
1
2
1
R/W
R/W
1
1
1
1
TMP89FM42L
PWMAD
PWMAD
R/W
R/W
0
1
0
1

Related parts for tmp89fm42l