vii
18.4.8
Interrupt service request and release
................................................................................................. 274
18.4.9
Setting of serial bus interface mode
................................................................................................... 274
18.4.10
Software reset
................................................................................................................................... 274
18.4.11
Arbitration lost detection monitor
...................................................................................................... 275
18.4.12
Slave address match detection monitor
............................................................................................ 276
18.4.13
GENERAL CALL detection monitor
.................................................................................................. 277
18.4.14
Last received bit monitor
................................................................................................................... 277
18.4.15
Slave address and address recognition mode specification
............................................................. 277
18.5
Data Transfer of I2C Bus
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
18.5.1
Device initialization
............................................................................................................................. 278
18.5.2
Start condition and slave address generation
..................................................................................... 278
18.5.3
1-word data transfer
............................................................................................................................ 279
18.5.3.1
When SBI0SR2<MST> is "1" (Master mode)
18.5.3.2
When SBI0SR2<MST> is "0" (Slave mode)
18.5.4
Stop condition generation
................................................................................................................... 283
18.5.5
Restart
................................................................................................................................................ 283
18.6
AC Specifications
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
18.7
Revision History
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
19.
Key-on Wakeup (KWU)
19.1
Configuration
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
19.2
Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
19.3
Functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
20.
10-bit AD Converter (ADC)
20.1
Configuration
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
20.2
Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
20.3
Functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
20.3.1
Single mode
........................................................................................................................................ 298
20.3.2
Repeat mode
...................................................................................................................................... 298
20.3.3
AD operation disable and forced stop of AD operation
....................................................................... 299
20.4
Register Setting
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
20.5
Starting STOP/IDLE0/SLOW Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
20.6
Analog Input Voltage and AD Conversion Result
. . . . . . . . . . . . . . . . . . . . . . . 301
20.7
Precautions about the AD Converter
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
20.7.1
Analog input pin voltage range
........................................................................................................... 302
20.7.2
Analog input pins used as input/output ports
...................................................................................... 302
20.7.3
Noise countermeasure
........................................................................................................................ 302
21.
Flash Memory
21.1
Flash Memory Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
21.2
Functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
21.2.1
Flash memory command sequence execution and toggle control (FLSCR1 <FLSMD>)
................... 307
21.2.2
Flash memory area switching (FLSCR1<FAREA>)
............................................................................ 308
21.2.3
RAM area switching (SYSCR3<RAREA>)
.......................................................................................... 309
21.2.4
BOOTROM area switching (FLSCR1<BAREA>)
................................................................................ 309
21.2.5
Flash memory standby control (FLSSTB<FSTB>)
............................................................................. 310
21.2.6
Port input control register (SPCR<PIN0, PIN1>)
................................................................................ 311
21.3
Command Sequence
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
21.3.1
Byte program
...................................................................................................................................... 312
21.3.2
Sector erase (4-kbyte partial erase)
................................................................................................... 313
21.3.3
Chip erase (all erase)
......................................................................................................................... 313
Summary of Contents for TLCS-870/C1 Series
Page 1: ...8 Bit Microcontroller TLCS 870 C1 Series TMP89FM42 查询TMP89FM42供应商 捷多邦 专业PCB打样工厂 24小时加急出货 ...
Page 3: ...Revision History Date Revision 2007 10 25 1 First Release 2007 11 3 2 Contents Revised ...
Page 4: ......
Page 14: ......
Page 18: ...1 3 Block Diagram TMP89FM42 1 3 Block Diagram Figure 1 2 Block Diagram ...
Page 22: ...1 4 Pin Names and Functions TMP89FM42 ...
Page 60: ...2 CPU Core 2 5 Revision History TMP89FM42 ...
Page 76: ...3 Interrupt Control Circuit 3 8 Revision History TMP89FM42 ...
Page 86: ...4 External Interrupt control circuit 4 3 Function TMP89FM42 ...
Page 102: ...7 Voltage Detection Circuit 7 5 Revision History TMP89FM42 ...
Page 126: ...8 I O Ports 8 3 I O Port Registers TMP89FM42 Note 2 i 0 to 1 ...
Page 136: ...8 I O Ports 8 5 Revision History TMP89FM42 ...
Page 142: ...9 Special Function Registers 9 3 SFR3 0x0E40 to 0x0EFF TMP89FM42 ...
Page 146: ...10 Low Power Consumption Function for Peripherals TMP89FM42 ...
Page 149: ...TMP89FM42 11 3 Revision History Rev Description RA001 Deleted SLEEP2 description ...
Page 150: ...11 Divider Output DVO 11 3 Revision History TMP89FM42 ...
Page 220: ...15 Real Time Clock RTC 15 4 Real Time Clock Operation TMP89FM42 ...
Page 250: ...16 Asynchronous Serial Interface UART 16 15 Revision History TMP89FM42 ...
Page 302: ...18 Serial Bus Interface SBI 18 7 Revision History TMP89FM42 ...
Page 338: ...21 Flash Memory 21 4 Toggle Bit D6 TMP89FM42 ...
Page 384: ...22 Serial PROM Mode 22 15 Revision History TMP89FM42 ...
Page 388: ...24 Input Output Circuit 24 1 Control Pins TMP89FM42 ...
Page 404: ...25 Electrical Characteristics 25 11 Revision History TMP89FM42 ...
Page 406: ...26 Package Dimensions TMP89FM42 ...
Page 408: ......