TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 335

no-image

TMPM382FSFG

Manufacturer Part Number
TMPM382FSFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM382FSFG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
64K
Rom Type
Flash
Ram (kbytes)
8K
Number Of Pins
64
Package
QFP(14x14)
Vcc
5V
Cpu Mhz
40
Ssp (ch) Spi
1
I2c/sio (ch)
1
Uart/sio (ch)
3
Usb
-
Can
-
Ethernet
-
External Bus Interface
N
Cs/wait Controller (ch)
-
Dma Controller
2
10-bit Da Converter
-
10-bit Ad Converter
-
12-bit Ad Converter
10
16-bit Timer / Counter
6
Motor / Igbt Control
Y
Real Time Clock
1
Watchdog Timer
Y
Osc Freq Detect
Y
Clock Gear
Y
Low-power Hold Function
-
Remote Control Interface
Y
Hardware Cec Controller
-
Comparators
-
Low-voltage Detector
Y
Etm Hardware Trace
2-bit
<ENDEV2:0>: Encoder Pulse Division Factor
Description:
<RELOAD15:0>: setting the Encoder Counter Period
Encoder 0 Counter Reload Register
(0x4001_0404)
EN0RELOAD
The frequency of the encoder pulse is divided by the factor specified by <ENDEV2:0>.
000: ÷1
001: ÷2
010: ÷4
011: ÷8
100: ÷16
101: ÷32
110: ÷64
111: ÷128
The divided signal determines the interval of the event interrupt.
In Encoder mode
in <RELOAD15:0> and then wraps around to 0 on the next ENCLK. If the encoder counter is
configured as a down-counter, it decrements to 0 and then is reloaded with the value of
<RELOAD15:0> on the next ENCLK.
<RELOAD15:0> defines the encoder counter period multiplied by 4.
If the encoder counter is configured as an up-counter, it increments up to the value programmed
The EN0RELOAD register is only used in Encoder mode.
Description
Description
Description
Description
Read/Write
Read/Write
Read/Write
Read/Write
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
Default
Default
Default
Default
Reading these bits returns a 0.
Reading these bits returns a 0.
(See the description below.)
Setting the Encoder Counter Period (Multiplied by 4 (or 6))
0x0000 thru. 0xFFFF
RELOAD7
RELOAD15
R/W
R/W
31
23
15
R
R
0
0
0
7
0
-
-
When Z is used: Specifies the number of counter pulses per revolution.
When Z is not used: Specifies the number of counter pulses per revolution minus 1.
RELOAD6
RELOAD14
TMPM380/M382 - 9 / 23 -
R/W
R/W
30
22
14
R
R
0
0
0
6
0
-
-
RELOAD5
RELOAD13
R/W
R/W
29
21
13
R
R
0
0
0
5
0
-
-
RELOAD4
RELOAD12
R/W
R/W
28
20
12
R
R
0
0
0
4
0
-
-
RELOAD3
RELOAD11
R/W
R/W
27
19
11
R
R
0
0
0
3
0
-
-
RELOAD2
RELOAD10
R/W
R/W
26
18
10
R
R
0
0
0
2
0
-
-
TMPM380/M382
RELOAD9
RELOAD1
R/W
R/W
25
17
R
R
0
0
9
0
1
0
-
-
RELOAD8
RELOAD0
R/W
R/W
24
16
R
R
0
0
8
0
0
0
-
-

Related parts for TMPM382FSFG