STM8S103XX STMICROELECTRONICS [STMicroelectronics], STM8S103XX Datasheet - Page 32

no-image

STM8S103XX

Manufacturer Part Number
STM8S103XX
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Option bytes
32/56
Table 8.
Option byte no.
OPT2 (cont’d)
OPT0
OPT1
OPT2
Option byte description
ROP[7:0] Memory readout protection (ROP)
UBC[7:0] User boot code area
For STM8S105 (page size 128 bytes):
00h: no UBC, no write-protection
01h: Page 0 and 1 defined as UBC, memory write-protected
02h to FFh: Pages 2 to 255 defined as UBC, memory write-protected
For STM8S103 (page size 64 bytes):
00h: no UBC, no write-protection
01h: Page 0 and 1 defined as UBC, memory write-protected
02h to 7Fh: Pages 2 to 127 defined as UBC, memory write-protected
Note: Refer to the family reference manual (RM0016) section on Flash
write protection for more details.
Note : This remapping applies to STM8S105. For STM8S103 alternate
function remapping refer to
AFR7Alternate function remapping option 7
AFR6 Alternate function remapping option 6
AFR5 Alternate function remapping option 5
AFR4 Alternate function remapping option 4
AFR3 Alternate function remapping option 3
AFR2 Alternate function remapping option 2
AFR1 Alternate function remapping option 1
AFR0 Alternate function remapping option 0
0: Port D3 alternate function = TIM2_CC2
1: Port D3 alternate function = ADC_ETR
AAh: Enable readout protection (write access via SWIM protocol)
Note: Refer to the family reference manual (RM0016) section on Flash
memory readout protection for details.
0: Port D4 alternate function = TIM2_CC1
1: Port D4 alternate function = BEEP
0: Port B5 alternate function = AIN5, port B4 alternate function = AIN4
1: Port B5 alternate function = I
I
0: Port B3 alternate function = AIN3, port B2 alternate function = AIN2,
port B1 alternate function = AIN1, port B0 alternate function = AIN0
1: Port B3 alternate function = TIM1_ETR, port B2 alternate function =
TIM1_NCC3, port B1 alternate function = TIM1_NCC2, port B0 alternate
function = TIM1_NCC1
0: Port D7 alternate function = TLI
1: Port D7 alternate function = TIM1_CC4
0: Port D0 alternate function = TIM3_CC2
1: Port D0 alternate function = TIM1_BKIN
0: Port D0 alternate function = TIM3_CC2
1: Port D0 alternate function = CLK_CCO
Note: AFR2 option has priority over AFR3 if both are activated
0: Port A3 alternate function = TIM2_CC3, port D2 alternate function
TIM3_CC1
1: Port A3 alternate function = TIM3_CC1, port D2 alternate function
TIM2_CC3
2
C_SCL
Table 9 on page
Description
2
C_SDA, port B4 alternate function =
STM8S103xx, STM8S105xx
34.

Related parts for STM8S103XX