TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 117

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
PAFR1
(0x4000_0008)
PADATA
(0x4000_0000)
PACR
(0x4000_0004)
8.2.2
specified in units of bits. Besides the general-purpose input/output function, the port A performs the
serial interface function and the external interrupt input and 16-bit timer input and 16-bit timer output.
disabled.
and enable input in the PAIE register. These settings enable the interrupt input even if the
CGSTBYCR<DRVE> bit in the clock/mode control block is set to stop driving of pins during STOP
mode.
(Note)
The port A is a general-purpose, 8-bit input/output port. For this port, inputs and outputs can be
Reset initializes all bits of the port A as general-purpose ports with input, output, pull-up and pull-down
To use the external interrupt input for releasing STOP mode, select this function in the PAFR2 register
Port A (PA0 to PA7)
After reset
Function
Bit Symbol
Read/Write
Bit Symbol
Read/Write
After reset
Bit Symbol
Read/Write
After reset
Function
In modes other than STOP mode, interrupt input is enabled regardless of the PxFR
register setting as long as input is enabled in PxIE. Make sure to disable unused
interrupts when programming the device.
0:PORT
1:TB4IN
PA6F1
PA7C
PA7
7
0
7
7
0
0:PORT
1:RXD1
PA6F1
TMPM380/M382 - 3 / 52 -
PA6C
PA6
6
0
6
6
0
Port A function register 1
Port A control register
Port A register
0:PORT
1:TXD1
PA5F1
PA5C
PA5
5
5
5
0
0
0:PORT
1:SCLK1
PA4F1
PA4C
PA4
4
4
4
0
0
0: disabled
1: enabled
Output
R/W
R/W
R/W
“0”
0:PORT
1:TB1OUT
PA3F1
PA3C
PA3
3
3
3
0
0
0:PORT
1:TB1IN
PA2F1
PA2C
PA2
2
2
2
0
0
0:PORT
1:TB0OUT
PA1F1
PA1C
TMPM380/M382
PA1
1
1
1
0
0
0:PORT
1:TB0IN
PA0F1
PA0C
PA0
0
0
0
0
0

Related parts for TMPM382FSFG