STM8S003F3 STM8S003K3
Option bytes
Table 15. STM8S003F3 alternate function remapping bits for 20-pin devices
Option byte number
Description
AFR7Alternate function remapping option 7
0: AFR7 remapping option inactive: default alternate function(1)
1: Port C3 alternate function = TIM1_CH3; port C4 alternate function =
TIM1_CH2N.
AFR6 Alternate function remapping option 6
Reserved.
AFR5 Alternate function remapping option 5
Reserved.
AFR4 Alternate function remapping option 4
0: AFR4 remapping option inactive: default alternate function(1)
.
1: Port B4 alternate function = ADC_ETR; port B5 alternate function =
TIM1_BKIN.
OPT2
AFR3 Alternate function remapping option 3
0: AFR3 remapping option inactive: default alternate function(1)
1: Port C3 alternate function = TLI.
AFR2 Alternate function remapping option 2
Reserved.
AFR1 Alternate function remapping option 1 (2)
0: AFR1 remapping option inactive: default alternate function(1)
1: Port A3 alternate function = SPI_NSS; port D2 alternate function =
TIM2_CH3.
AFR0 Alternate function remapping option 0(2)
0: AFR1 remapping option inactive: default alternate function(1)
1: Port C5 alternate function = TIM2_CH1; port C7 alternate function =
TIM2_CH2.
1. Refer to the pinout description.
2. Do not use more than one remapping option in the same port.
DocID018576 Rev 5
45/103
45