TMP91xy40FG Toshiba, TMP91xy40FG Datasheet - Page 180

no-image

TMP91xy40FG

Manufacturer Part Number
TMP91xy40FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP91xy40FG

Package
LQFP100
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
M/F
Rom Combinations
128
Ram Combinations
4
Architecture
16-bit CISC
Usb/spi Channels
-
Uart/sio Channels
4
I2c/sio Bus Channels
-
(s)dram Controller
-
Adc 10-bit Channel
4
Da Converter
-
Timer 8-bit Channel
4
Timer 16-bit Channel
3
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
-
Dual Clock
Y
Number Of I/o Ports
61
Power Supply Voltage(v)
2.2 to 3.6
KWIEN
(03A0H)
KWICR
(03A1H)
3.15.2 SFRs
3.15.3 Control
Bit symbol
Read/Write
After reset
Function
Bit symbol
Read/Write
After reset
Function
Note: The KWIEN and KWICR registers do not support read-modify-write operation.
(<KWIEN3:0>) in the KWIEN register are set. The MCU accepts KWI0 to KWI3 inputs as
INT1. The KWI0 to KWI3 pins can be used as external interrupt sources by setting an
interrupt priority level in the <I1M2:0> bits of the INTE1ALM0 register.
Example: To detect a falling edge on key-on wakeup channel 0 to generate an interrupt,
The P50 to P53 pins function as KWI0 to KWI3 when the corresponding bits
X: Don’t care, −: No change
KWICR
KWIEN
INTE1ALM0
7
7
configure registers in the following sequence:
-
-
X
Figure 3.15.2 Key-On Wakeup Registers
6
6
-
-
1
-
-
0
Key-On Wakeup Control Register
Key-On Wakeup Enable Register
-
-
0
5
5
91CW40-178
-
-
X
-
-
-
-
-
-
4
4
1
1
-
KWI3
interrupt
input
0: Disable
1: Enable
KWI3 edge
polarity
0: Rising
1: Falling
KWI3EDGE
KWI3EN
Select falling-edge detection for key-on wakeup
channel 0.
Enable key-on wakeup channel 0.
Enable INT1 and set its priority level to 4.
3
3
0
0
KWI2
interrupt
input
0: Disable
1: Enable
KWI2 edge
polarity
0: Rising
1: Falling
KWI2EDGE
KWI2EN
2
2
0
0
W
W
KWI1
interrupt
input
0: Disable
1: Enable
KWI1 edge
polarity
0: Rising
1: Falling
KWI1EDGE
KWI1EN
1
1
0
0
TMP91CW40
KWI0
interrupt
input
0: Disable
1: Enable
KWI0 edge
polarity
0: Rising
1: Falling
KWI0EDGE
2008-09-19
KWI0EN
0
0
0
0

Related parts for TMP91xy40FG