![Geehy SEMICONDUCTOR APM32F030x4x6x8xC Скачать руководство пользователя страница 245](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f030x4x6x8xc/apm32f030x4x6x8xc_user-manual_573629245.webp)
www.geehy.com Page 244
Field
Name
R/W
Description
17:16
Reserved
18
PC13VAL
R/W
RTC_ALARM Output Type/PC13 Value Configure
When PC13 is used to output RTC_ALARM, this bit determines the output
mode of RTC_ALARM:
0: Open-drain output
1: Push-pull output
When all RTC multiplexing functions are disabled and PC13EN=1, this bit is
used to set PC13 output value.
19
PC13EN
R/W
PC13 Mode Enable
0: PC13 is controlled by GPIO configuration register, and in standby mode,
PC13 is floating.
1: When RTC multiplexing function is disabled, PC13 is forced to push-pull
output mode.
20
PC14VAL
R/W
PC14 Output Value Setup
Disable LSECLK and PC14EN=1, and this bit sets the output value of PC14.
21
PC14EN
R/W
PC14 Mode Enable
0: PC14 is controlled by GPIO configuration register, and in standby mode,
PC14 is floating.
1: When LSECLK is disabled, PC14 is forced to push-pull output mode
22
PC15VAL
R/W
PC15 Output Value Setup
Disable LSECLK and PC15EN=1, and this bit sets the output value of PC15.
23
PC15EN
R/W
PC15 Mode Enable
0: PC15 is controlled by GPIO configuration register, and in standby mode,
PC15 is floating.
1: When LSECLK is disabled, PC15 is forced to push-pull output mode.
31:24
Reserved
RTC alarm A subsecond register (RTC_ALRMASS)
This register can be written only when ALREN of RTC_CTRL register is reset or
is in initialization mode.
This register is in write protection state.
Offset address: 0x44
Power-on reset value: 0x0000 0000
System reset: 0xXXXX XXXX
Field
Name
R/W
Description
14:0
SUBSEC
R/W
Sub Second Value Setup
The subsecond value is compared with the value in the synchronous
prescaler counter to determine whether to activate the alarm A, and only the
bits from 0 to MASKSEL-1 are compared.
23:15
Reserved
27:24
MASKSEL
R/W
Mask the Most-significant Bits Starting at This Bit Select
0x0: Alarm A is not compared. The alarm is set when the second unit
increases by 1
0x1: When comparing with alarm A, SUBSEC[14:1] is not involved, and only
SUBSEC[0] is involved
0x2: When comparing with alarm A, SUBSEC[14:2] is not involved, and only
SUBSEC[1:0] is involved
0x3: When comparing with alarm A, SUBSEC[14:3] is not involved, and only
SUBSEC[2:0] is involved