ST72T331 STMICROELECTRONICS [STMicroelectronics], ST72T331 Datasheet - Page 52

no-image

ST72T331

Manufacturer Part Number
ST72T331
Description
8-BIT MCU WITH 8 TO 16K OTP/EPROM, 256 EEPROM, 384 TO 512 BYTES RAM, ADC, WDG, SCI, SPI AND 2 TIMERS
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72T331J25
Manufacturer:
ST
0
Part Number:
ST72T331J4SKIT
Manufacturer:
ST
0
Part Number:
ST72T331J4T3S
Manufacturer:
ST
0
Part Number:
ST72T331J4T6
Manufacturer:
ST
0
Part Number:
ST72T331J4T6S
Manufacturer:
ST
0
Part Number:
ST72T331N2
Manufacturer:
ST
Quantity:
20 000
ST72E331 ST72T331
16-BIT TIMER (Cont’d)
5.4.4 Low Power Modes
5.4.5 Interrupts
Note: The 16-bit Timer interrupt events are connected to the same interrupt vector (see Interrupts chap-
ter). These events generate an interrupt if the corresponding Enable Control Bit is set and the interrupt
mask in the CC register is reset (RIM instruction).
5.4.6 Summary of Timer modes
1)
2)
3)
52/107
52
WAIT
HALT
Input Capture 1 event/Counter reset in PWM mode
Input Capture 2 event
Output Compare 1 event (not available in PWM mode)
Output Compare 2 event (not available in PWM mode)
Timer Overflow event
Input Capture (1 and/or 2)
Output Compare (1 and/or 2)
One Pulse mode
PWM Mode
See note 4 in
See note 5 in
See note 4 in
Mode
MODES
No effect on 16-bit Timer.
Timer interrupts cause the device to exit from WAIT mode.
16-bit Timer registers are frozen.
In HALT mode, the counter stops counting until Halt mode is exited. Counting resumes from the previous
count when the MCU is woken up by an interrupt with “exit from HALT mode” capability or from the counter
reset value when the MCU is woken up by a RESET.
If an input capture event occurs on the ICAP i pin, the input capture detection circuitry is armed. Consequent-
ly, when the MCU is woken up by an interrupt with “exit from HALT mode” capability, the ICF i bit is set, and
the counter value present when exiting from HALT mode is captured into the IC i R register.
Section 0.1.3.5 One Pulse Mode
Section 0.1.3.5 One Pulse Mode
Section 0.1.3.6 Pulse Width Modulation Mode
Interrupt Event
Input Capture 1
Yes
Yes
No
No
Not Recommended
Not Recommended
Input Capture 2
Description
AVAILABLE RESOURCES
Yes
Yes
1)
3)
Output Compare 1 Output Compare 2
Event
OCF1
OCF2
ICF1
ICF2
Flag
TOF
Yes
Yes
No
No
Control
Enable
OCIE
TOIE
ICIE
Bit
from
Wait
Exit
Yes
Yes
Yes
Yes
Yes
Partially
Yes
Yes
No
from
Exit
Halt
No
No
No
No
No
2)

Related parts for ST72T331