3/86
Table of Contents
Document
Page
107
4 ON-CHIP PERIPHERALS . . . ...................................................36
4.1 I/OPORTS.............................................................36
4.1.1 Operating Modes . . . . ...............................................37
4.1.2 Safe I/O State Switching Sequence. . . ..................................38
4.1.3 ARTimer alternate functions ..........................................40
4.1.4 SPI alternate functions . . . ............................................40
4.1.5 UART alternate functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ................40
4.1.6 I/O Port Option Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ................42
4.1.7 I/O Port Data Direction Registers. . .....................................42
4.1.8 I/O Port Data Registers . . . . ..........................................42
4.2 TIMER ................................................................43
4.2.1 Timer Operating Modes . . .. . . . . . . . . ..................................44
4.2.2 Timer Interrupt . . . . . . . . . . ...........................................44
4.2.3 Application Notes . . . . ...............................................45
4.2.4 Timer Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . .........................45
4.3 ARTIMER 16 . . . ........................................................46
4.3.1 CENTRAL COUNTER . . . ............................................47
4.3.2 SIGNAL GENERATION MODES . . .....................................48
4.3.3 TIMINGS MEASUREMENT MODES. . ..................................50
4.3.4 INTERRUPT CAPABILITIES ..........................................52
4.3.5 CONTROL REGISTERS . . . ..........................................53
4.3.6 16-BIT REGISTERS . . . . . . . . ........................................55
4.4 A/D CONVERTER (ADC) . . . ..............................................57
4.4.1 Application Notes . . . . ...............................................57
4.5 U. A. R. T. (UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER). ..........59
4.5.1 PORTS INTERFACING . . . . . . . . . . . . ..................................59
4.5.2 CLOCK GENERATION . . . . ..........................................60
4.5.3 DATA TRANSMISSION . . .. . . . . . . . . ..................................60
4.5.4 DATA RECEPTION .................................................61
4.5.5 INTERRUPT CAPABILITIES ..........................................61
4.5.6 REGISTERS ......................................................61
4.6 SERIAL PERIPHERAL INTERFACE (SPI) . . . . . . . . . . . . ........................63
5SOFTWARE ................................................................65
5.1 ST6 ARCHITECTURE . . . . . . . . . . . . . . . .....................................65
5.2 ADDRESSING MODES . . . . ...............................................65
5.3 INSTRUCTION SET . . . ...................................................66
6 ELECTRICAL CHARACTERISTICS. . . . . . . . . . . . ..................................71
6.1 ABSOLUTE MAXIMUM RATINGS. ..........................................71
6.2 RECOMMENDED OPERATING CONDITIONS. . . ..............................72
6.3 DC ELECTRICAL CHARACTERISTICS ......................................73
6.4 AC ELECTRICAL CHARACTERISTICS ......................................74
6.5 A/D CONVERTER CHARACTERISTICS. . . ...................................74
6.6 TIMER CHARACTERISTICS . . . ............................................75
6.7 .SPI CHARACTERISTICS .................................................75
6.8 ARTIMER16 ELECTRICAL CHARACTERISTICS. . . . . . . . . . . . . . . ................75