TMPM370FYFG Toshiba, TMPM370FYFG Datasheet - Page 392

no-image

TMPM370FYFG

Manufacturer Part Number
TMPM370FYFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM370FYFG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
256K
Rom Type
Flash
Ram (kbytes)
10K
Number Of Pins
100
Package
LQFP(14x14)
Vcc
5V
Cpu Mhz
80
Ssp (ch) Spi
-
I2c/sio (ch)
-
Uart/sio (ch)
4
Usb
-
Can
-
Ethernet
-
External Bus Interface
N
Cs/wait Controller (ch)
-
Dma Controller
-
10-bit Da Converter
-
10-bit Ad Converter
-
12-bit Ad Converter
27
16-bit Timer / Counter
8
Motor / Igbt Control
Vector Engine
Real Time Clock
-
Watchdog Timer
Y
Osc Freq Detect
Y
Clock Gear
Y
Low-power Hold Function
-
Remote Control Interface
-
Hardware Cec Controller
-
Comparators
4
Low-voltage Detector
Y
Etm Hardware Trace
2-bit

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMPM370FYFG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
TMPM370FYFG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
19.3.6 Interrupts
19.3.6.1 Overview
compare interrupt and capture interrupt.
Table19.5 Interrupt Sources
1
2
3
4
5
6
The ENC has these interrupts: event (divided-clock/capture) interrupt, event timeout interrupt, timer
Event counter interrupt
Event interrupt
(Divided clock pulse)
Event interrupt
(Capture interrupt)
Event timeout interrupt
Timer compare interrupt
Capture interrupt
detection of a encoder pulse.
<CMPEN> and <ZEN>, as shown in Table 19.5 .
captured into the ENCNT register.
register upon occurrence of an event (encoder pulse). The counter value can also be captured by
writing a 1 to <SFTCAP>.
to 1, the counter value can also be captured by an edge of the Z signal input selected via
<ZESEL>.
When <INTEN> = 1, the ENC generates interrupt requests, based on the counter value and the
There are six interrupt sources, depending on the operating mode, and the settings of
In Sensor Timer Count mode and Timer mode, the value of the encoder counter can be
The captured counter value can be read out of the ENCNT register.
In Sensor Timer Count mode, the value of the encoder counter is captured into the ENCNT
In Timer mode, the counter value can be captured by writing a 1 to <SFTCAP>. If <ZEN> is set
Interrupt Source
When <CMPEN> = 1, the encoderl counter
counts events (encoder pulses). When it has
reached
<EN0INT>, an interrupt occurs.
An interrupt occurs on each divided clock
pulse, which is derived by dividing the
encoder pulse by a factor programmed in
<ENDEV>.
An interrupt occurs to indicate that an event
(encoder pulse) has occurred, causing the
counter value to be captured.
When <CMPEN> = 1, the ENC uses a
counter that counts up with fsys and is
cleared by an event (encoder pulse). If no
event
programmed in <EN0INT>, an interrupt
occurs.
When <CMPEN> = 1, an interrupt occurs
when the timer has reached the value
programmed in <EN0INT>.
An interrupt occurs when the counter value
has been captured on an external trigger (Z
input).
occurs
the
TMPM370 19-23
Description
for
value
a
programmed
period
of
time
in
Encoder mode and
Sensor Event Count
modes
Sensor Timer Count
mode
Timer mode
Operating Mode
Encoder Input Circuit
When <INTEN> = 1
When <INTEN> = 1
When <INTEN> = 1
When <INTEN> = 1
When <INTEN> = 1
When <INTEN> = 1
<CMPEN> = 1
<CMPEN> = 1
<CMPEN> = 1
Generation
Interrupt
and
and
and
TMPM370
<CMP>
<CMP>
<CMP>
Status
None
None
None
Flag

Related parts for TMPM370FYFG