98/317
5 - Peripherals
Table 6. ST72311N I/O alternate functions
Note: None of the pins have two alternate functions, unlike the ST72251.
Since the pins can produce interrupt requests in some modes, you must take care, when pro-
gramming the port configuration registers, to perform the transisitons in a particular order as
specified in the transition map in the datasheet.
All the applications described in this book (Chapters 6, 7, 9 and 10) give examples of using the
parallel ports in various combinations.
I/O pin Alternate function 1
PC0 OCMP2_B (Timer B)
PC1 OCMP1_B (Timer B)
PC2 ICAP2_B (Timer B)
PC3 ICAP1_B (Timer B)
PC4 MISO (SPI)
PC5 MOSI (SPI)
PC6 SCK (SPI)
PC7 SS (SPI)
PD0 Ain0 (ADC)
PD1 Ain1 (ADC)
PD2 Ain2 (ADC)
PD3 Ain3 (ADC)
PD4 Ain4 (ADC)
PD5 Ain5 (ADC)
PD6 Ain6 (ADC)
PD7 Ain7 (ADC)
PE0 TDO (SCI)
PE1 RDI (SCI)
PF0 CLKOUT (Internal clock out)
PF4 OCMP1_A (Timer A)
PF6 ICAP1_A (Timer A)
PF7 EXTCLK_A (Timer A)