Timer instance | TIM2 | TIM3 | TIM4 | TIM5 |
---|---|---|---|---|
Resolution | 32-bit | 16-bit | 16-bit | 32-bit |
OCREF clear selection | Yes | Yes | No | No |
Sources | tim_etrf tim_ocref_clr[7:0] | tim_etrf tim_ocref_clr[7:0] | tim_etrf - | tim_etrf - |
Pin name | Signal type | Description |
---|---|---|
TIM_CH1 TIM_CH2 TIM_CH3 TIM_CH4 | Input/Output | Timer multi-purpose channels. Each channel be used for capture, compare or PWM. TIM_CH1 and TIM_CH2 can also be used as external clock (below 1/4 of the tim_ker_ck clock) , external trigger and quadrature encoder inputs. TIM_CH1, TIM_CH2 and TIM_CH3 can be used to interface with digital hall effect sensors. |
TIM_ETR | Input | External trigger input. This input can be used as external trigger or as external clock source. This input can receive a clock with a frequency higher than the tim_ker_ck if the tim_etr_in prescaler is used. |
Internal signal name | Signal type | Description |
---|---|---|
tim_ti1_in[15:0] tim_ti2_in[15:0] tim_ti3_in[15:0] tim_ti4_in[15:0] | Input | Internal timer inputs bus. The tim_ti1_in[15:0] and tim_ti2_in[15:0] inputs can be used for capture or as external clock (below 1/4 of the tim_ker_ck clock) and for quadrature encoder signals. |
tim_etr[15:0] | Input | External trigger internal input bus. These inputs can be used as trigger, external clock or for hardware cycle-by-cycle pulse width control. These inputs can receive clock with a frequency higher than the tim_ker_ck if the tim_etr_in prescaler is used. |
tim_itr[15:0] | Input | Internal trigger input bus. These inputs can be used for the slave mode controller or as a input clock (below 1/4 of the tim_ker_ck clock). |
tim_trgo | Output | Internal trigger output. This trigger can trigger other on-chip peripherals. |
tim_ocref_clr[7:0] | Input | Timer tim_ocref_clr input bus. These inputs can be used to clear the tim_ocxref signals, typically for hardware cycle-by-cycle pulse width control. |
tim_pclk | Input | Timer APB clock. |
tim_ker_ck | Input | Timer kernel clock |
Internal signal name | Signal type | Description |
---|---|---|
tim_it | Output | Global Timer interrupt, gathering capture/compare, update and break trigger requests. |
tim_cc1_dma tim_cc2_dma tim cc3 dma tim_cc4_dma | Output | Timer capture/compare [4:1] dma requests. |
tim_upd_dma | Output | Timer update dma request. |
tim_trg_dma | Output | Timer trigger dma request. |
tim_ti1 inputs | Sources | |||
---|---|---|---|---|
TIM2 | TIM3 | TIM4 | TIM5 | |
tim_ti1_in0 | TIM2_CH1 | TIM3_CH1 | TIM4_CH1 | TIM5_CH1 |
tim_ti1_in1 | comp1_out | comp1_out | comp1_out | LSI |
tim_ti1_in2 | comp2_out | comp2_out | comp2_out | LSE |
tim_ti1_in3 | comp3_out | comp3_out | comp3_out | RTC wake-up |
tim_ti1_in4 | comp4_out | comp4_out | comp4_out | comp1_out |
tim_ti1_in5 | comp5_out | comp5_out | comp5_out | comp2_out |
tim_ti1_in6 | Reserved | comp6_out | comp6_out | comp3_out |
tim_ti1_in7 | comp7_out | comp7_out | comp4_out | |
tim_ti1_in8 | Reserved | Reserved | comp5_out | |
tim_ti1_in9 | comp6_out | |||
tim_ti1_in10 | comp7_out | |||
tim_ti1_in[15:11] | Reserved |
tim_ti2 inputs | Sources | |||
---|---|---|---|---|
TIM2 | TIM3 | TIM4 | TIM5 | |
tim_ti2_in0 | TIM2_CH2 | TIM3_CH2 | TIM4_CH2 | TIM5_CH2 |
tim_ti2_in1 | comp1_out | comp1_out | comp1_out | comp1_out |
tim_ti2_in2 | comp2_out | comp2_out | comp2_out | comp2_out |
tim_ti2_in3 | comp3_out | comp3_out | comp3_out | comp3_out |
tim_ti2 inputs | Sources | |||
---|---|---|---|---|
TIM2 | TIM3 | TIM4 | TIM5 | |
tim_ti2_in4 | comp4_out | comp4_out | comp4_out | comp4_out |
tim_ti2_in5 | comp6_out | comp5_out | comp5_out | comp5_out |
tim_ti2_in6 | Reserved | comp6_out | comp6_out | comp6_out |
tim_ti2_in7 | comp7_out | comp7_out | comp7_out | |
tim_ti2_in[15:8] | Reserved |
tim_ti3 inputs | Sources | |||
---|---|---|---|---|
TIM2 | TIM3 | TIM4 | TIM5 | |
tim_ti3_in0 | TIM2_CH3 | TIM3_CH3 | TIM4_CH3 | TIM5_CH3 |
tim_ti3_in1 | comp4_out | comp3_out | comp5_out | Reserved |
tim_ti2_in[15:2] | Reserved |
tim_ti4 inputs | Sources | |||
---|---|---|---|---|
TIM2 | TIM3 | TIM4 | TIM5 | |
tim_ti4_in0 | TIM2_CH4 | TIM3_CH4 | TIM4_CH4 | TIM5_CH4 |
tim_ti4_in1 | comp1_out | Reserved | comp6_out | Reserved |
tim_ti4_in2 | comp2_out | Reserved | ||
tim_ti4_in[15:3] | Reserved |
TIMx | TIM2 | TIM3 | TIM4 | TIM5 |
---|---|---|---|---|
tim_itr0 | tim1_trgo | tim1_trgo | tim1_trgo | tim1_trgo |
tim_itr1 | Reserved | tim2_trgo | tim2_trgo | tim2_trgo |
tim_itr2 | tim3_trgo | Reserved | tim3_trgo | tim3_trgo |
tim_itr3 | tim4_trgo | tim4_trgo | Reserved | tim4_trgo |
tim_itr4 | tim5_trgo | tim5_trgo | tim5_trgo | Reserved |
tim_itr5 | tim8_trgo | tim8_trgo | tim8_trgo | tim8_trgo |
tim_itr6 | tim15_trgo | tim15_trgo | tim15_trgo | tim15_trgo |
tim_itr7 | tim16_oc1 | tim16_oc1 | tim16_oc1 | tim16_oc1 |
TIMx | TIM2 | TIM3 | TIM4 | TIM5 |
---|---|---|---|---|
tim_itr8 | tim17_oc1 | tim17_oc1 | tim17_oc1 | tim17_oc1 |
tim_itr9 | tim20_trgo | tim20_trgo | tim20_trgo | tim20_trgo |
tim_itr10 | hrtim_out_sync2 | hrtim_out_sync2 | hrtim_out_sync2 | hrtim_out_sync2 |
tim_itr11 | USB SOF SYNC | Reserved | Reserved | Reserved |
tim_itr[15:12] | Reserved |
Timer external trigger input signal | Timer external trigger signals assignment | |||
---|---|---|---|---|
TIM2 | TIM3 | TIM4 | TIM5 | |
tim_etr0 | TIM2_ETR | TIM3_ETR | TIM4_ETR | TIM5_ETR |
tim_etr1 | comp1_out | comp1_out | comp1_out | comp1_out |
tim_etr2 | comp2_out | comp2_out | comp2_out | comp2_out |
tim_etr3 | comp3_out | comp3_out | comp3_out | comp3_out |
tim_etr4 | comp4_out | comp4_out | comp4_out | comp4_out |
tim_etr5 | comp5_out | comp5_out | comp5_out | comp5_out |
tim_etr6 | comp6_out | comp6_out | comp6_out | comp6_out |
tim_etr7 | comp7_out | comp7_out | comp7_out | comp7_out |
tim_etr8 | TIM3_ETR | TIM2_ETR | TIM3_ETR | TIM2_ETR |
tim_etr9 | TIM4_ETR | TIM4_ETR | TIM5_ETR | TIM3_ETR |
tim_etr10 | TIM5_ETR | Reserved | Reserved | Reserved |
tim_etr11 | LSE | adc2_awd1 | ||
tim_etr12 | Reserved | adc2_awd2 | ||
tim_etr13 | adc2_awd3 | |||
tim_etr[15:14] | Reserved |
Timer tim_ocref_clr signal | Timer tim_ocref_clr signals assignment | |||
---|---|---|---|---|
TIM2 | TIM3 | TIM4 | TIM5 | |
tim_ocref_clr0 | comp1_out | comp1_out | Reserved | Reserved |
tim_ocref_clr1 | comp2_out | comp2_out | ||
tim_ocref_clr2 | comp3_out | comp3_out | ||
tim_ocref_clr3 | comp4_out | comp4_out | ||
tim_ocref_clr4 | comp5_out | comp5_out | ||
tim_ocref_clr5 | comp6_out | comp6_out | ||
tim_ocref_clr6 | comp7_out | comp7_out | ||
tim_ocref_clr7 | Reserved |
LSB value | PWM period | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | |
0000 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0001 | +1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0010 | +1 | - | - | - | - | - | - | - | +1 | - | - | - | - | - | - | - |
0011 | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - | - | - | - | - |
0100 | +1 | - | - | - | +1 | - | - | +1 | - | - | +1 | - | - | - | ||
0101 | +1 | - | +1 | - | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - |
0110 | +1 | - | +1 | - | +1 | - | - | - | +1 | - | +1 | - | +1 | - | - | - |
0111 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | - | - |
1000 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1001 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1010 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1011 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1100 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
1101 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
1110 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
1111 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
LSB value | PWM period | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |||||||||
Up | Dn | Up | Dn | Up | Dn | Up | Dn | Up | Dn | Up | Dn | Up | Dn | Up | Dn | |
0000 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0001 | +1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0010 | +1 | - | - | - | - | - | - | - | +1 | - | - | - | - | - | - | - |
0011 | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - | - | - | - | - |
0100 | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - |
0101 | +1 | - | +1 | - | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - |
0110 | +1 | - | +1 | - | +1 | - | - | - | +1 | - | +1 | - | +1 | - | - | - |
0111 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | - | - |
1000 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1001 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1010 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1011 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1100 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
1101 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
1110 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
1111 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
Active edge | SMS[3:0] | Level on opposite signal (tim_ti1fp1 for tim_ti2, tim_ti2fp2 for tim_ti1) | tim_ti1fp1 signal | tim_ti2fp2 signal | ||
---|---|---|---|---|---|---|
Rising | Falling | Rising | Falling | |||
Counting on tim_ti1 only x1 mode | 1110 | High | Down | Up | No count | No count |
Low | No count | No count | No count | No count | ||
Counting on tim_ti2 only x1 mode | 1111 | High | No count | No count | Up | Down |
Low | No count | No count | No count | No count | ||
Counting on tim_ti1 only x2 mode | 0001 | High | Down | Up | No count | No count |
Low | Up | Down | No count | Down | ||
Counting on tim ti2 only x2 mode | 0010 | High | No count | No count | Up | Down |
Low | No count | No count | Down | Up | ||
Counting on tim ti1 and tim ti2 x4 mode | 0011 | High | Down | Up | Up | Down |
Low | Up | Down | Down | Up |
Directional clock mode | SMS[3:0] | Level on opposite signal (tim_ti1fp1 for tim_ti2, tim_ti2fp2 for tim_ti1) | tim_ti1fp1 signal | tim_ti2fp2 signal | ||
---|---|---|---|---|---|---|
Rising | Falling | Rising | Falling | |||
x2 mode CCxP=0 | 1100 | High | Down | Down | Up | Up |
Low | No count | No count | No count | No count | ||
x2 mode CCxP=1 | 1100 | High | No count | No count | No count | No count |
Low | Down | Down | Up | Up | ||
x1 mode | 1101 | High | No count | Down | No count | Up |
Low | No count | No count | No count | No count | ||
x1 mode CCxP=1 | 1101 | High | No count | No count | No count | No count |
Low | Down | No count | Up | No count |
tim_ker_ck tim_mstr_ti1 TIM_mst counter enable (CEN bit)) tim_mstr_psc_ck tim_mstr_CNT tim_mstr TIF bit TIM_slv counter enable (CEN bit) tim_slv_psc_ck tim_slv_CNT tim_slv TIF bit | Innonannah Inhannannan | |
UNTITIALITY | ||
00 | ![]() | |
UNTITITITITITITY | ||
00 | 01/02/03/04/05/06/07/08/09/ | |
![]() | MSv62380V1 |
DMA request signal | DMA acronym | DMA request | Enable control bit |
---|---|---|---|
tim_upd_dma | TIM_UP | Update | UDE |
tim_cc1_dma | TIM_CH1 | Capture/compare 1 | CC1DE |
tim_cc2_dma | TIM_CH2 | Capture/compare 2 | CC2DE |
tim_cc3_dma | TIM_CH3 | Capture/compare 3 | CC3DE |
tim_cc4_dma | TIM_CH4 | Capture/compare 4 | CC4DE |
tim_trg_dma | TIM_TRIG | Trigger | TDE |
Mode | Description |
---|---|
Sleep | No effect, peripheral is active. The interrupts can cause the device to exit from Sleep mode. |
Stop | The timer operation is stopped and the register content is kept. No interrupt can be generated. |
Standby | The timer is powered-down and must be reinitialized after exiting the Standby mode |
Interrupt acronym | Interrupt event | Event flag | Enable control bit | Interrupt clear method | Exit from Sleep mode | Exit from Stop and Standby mode |
---|---|---|---|---|---|---|
TIM_UP | Update | UIF | UIE | write 0 in UIF | Yes | No |
TIM_CC | Capture/compare 1 | CC1IF | CC1IE | write 0 in CC1IF | Yes | No |
Capture/compare 2 | CC2IF | CC21E | write 0 in CC2IF | Yes | No | |
Capture/compare 3 | CC31F | CC31E | write 0 in CC3IF | Yes | No | |
Capture/compare 4 | CC4IF | CC4IE | write 0 in CC4IF | Yes | No | |
TIM_TRG | Trigger | TIF | TIE | write 0 in TIF | Yes | No |
TIM_DIR _IDX | Index | IDXF | IDXIE | write 0 in IDXF | Yes | No |
Direction | DIRF | DIRIE | write 0 in DIRF | Yes | No | |
TIM_IERR | Index Error | IERRF | IERRIE | write 0 in IERRF | Yes | No |
TIM_TER | Transition Error | TERRF | TERRIE | write 0 in TERRF | Yes | No |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | DITH EN | UIFRE MAP | Res. | CKD[1:0] | ARPE | CMS[1:0] | DIR | OPM | URS | UDIS | CEN | ||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | MMS[3] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
rw | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TI1S | MMS[2:0] | CCDS | Res. | Res. | Res. | ||
rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | SMSPS | SMSPE | Res. | Res. | TS[4:3] | Res. | Res. | Res. | SMS[3] | |
rw | rw | rw | rw | rw | |||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ETP | ECE | ETPS[1:0] | ETF[3:0] | MSM | TS[2:0] | occs | SMS[2:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TERR IE | IERR IE | DIRIE | IDXIE | Res. | Res. | Res. | Res. |
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | TDE | Res. | CC4DE | CC3DE | CC2DE | CC1DE | UDE | Res. | TIE | Res. | CC41E | CC31E | CC2IE | CC1IE | UIE |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res | Res. | Res. | Res. | Res. | TERRF | IERRF | DIRF | IDXF | Res. | Res. | Res. | Res. |
rc_w0 | rc_w0 | rc_w0 | rc_w0 | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | CC40F | CC3OF | CC20F | CC10F | Res. | Res. | TIF | Res. | CC4IF | CC31F | CC21F | CC1IF | UIF |
rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TG | Res. | CC4G | CC3G | CC2G | CC1G | UG |
w | w | w | w | w | w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IC2F[3:0] | IC2PSC[1:0] | CC2S[1:0] | IC1F[3:0] | IC1PSC[1:0] | CC1S[1:0] | ||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | OC2M [3] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OC1M [3] |
rw | rw | ||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OC2CE | OC2M[2:0] | OC2PE | OC2FE | CC2S[1:0] | OC1CE | OC1M[2:0] | OC1PE | OC1FE | CC1S[1:0] | ||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IC4F[3:0] | IC4PSC[1:0] | CC4S[1:0] | IC3F[3:0] | IC3PSC[1:0] | CC3S[1:0] | ||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res | Res. | Res. | Res. | Res. | Res. | Res. | OC4M [3] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OC3M [3] |
rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OC4CE | OC4M[2:0] | OC4PE | OC4FE | CC4S[1:0] | OC3CE | OC3M[2:0] | OC3PE | OC3FE | CC3S[1:0] | ||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CC4NP | Res | CC4P | CC4E | CC3NP | Res | CC3P | CC3E | CC2NP | Res. | CC2P | CC2E | CC1NP | Res. | CC1P | CC1E |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
CCxE bit | tim_ocx output state |
---|---|
0 | Output disabled (not driven by the timer: Hi-Z) |
1 | Output enabled (tim_ocx = tim_ocxref + Polarity) |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CNT[15:0] | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
ANN[10.0] | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Analysis | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CCR1[19:16] | |||
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCR1[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CCR1[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCR1[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
CON2[10.0] | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CCR2[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCR2[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CCR3[19:16] | |||
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCR3[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CCR3[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCR3[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CCR4[19:16] | |||
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCR4[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CCR4[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CCR4[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | PWPRSC[2:0] | PW[7:0] | |||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IPOS[1:0] | FIDX | Res. | Res. | IDIR[1:0] | IE | ||
rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | TI4SEL[3:0] | Res. | Res. | Res. | Res. | TI3SEL[3:0] | ||||||
rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | TI2SEL[3:0] | Res. | Res. | Res. | Res. | TI1SEL[3:0] | ||||||
rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ETRSEL[1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OCRSEL[2:0] | ||
rw | rw | rw | |||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
14 | 7 | 12 | 11 | 10 | 0 | 0 | 7 | 0 | 4 | 0 | 4 | 1 | 0 | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | DBL[4:0] | Res. | Res. | Res. | DBA[4:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DMAB[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DMAB[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Offset | Register name | 31 | 30 | 23 | 23 | 27 | 26 | 2624 | 23 | 22 | 21 | 20 | 1. | 1. | 17 | 1.5 | 伯 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x000 | TIMx_CR1 | B | 3 | 郎 | y | 串 | : | 33 | 3 | 3 | 鲜 | 33 | 3 | 8 | 3 | (3) | 3 | 8 | 3 | NEHILIO | VW3231n | CKD [1:0] | ARPH | CMS [1:0] | D股 | Operation | Univ. | Space | CHF | |||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
0x004 | TIMx_CR2 | Proof. | PROS | 3 | : | 8 | d | [8]SWW | 超市 | Proof. | Proof. | 1,000 | 超市 | BUR | REPAR | PAR | B | 郎 | 股本 | 出 | B | Proof. | 郎 | THE | MMS[2:0] | Open | Proof. | 中國 | 1,573 | |||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x008 | TIMx_SMCR | .3 | “ | E | PROM | CHE | Proof. | SdSWS3dSWS | Let | 股本 | TS [4:3] | PAR | PROS | 3 | SIS | Engineer | ECC | ETPS [1:0] | ETF[3:0] | MS5 | TS[2:0] | 3 | SMS[2:0] | |||||||||
Reset value | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||
0x00C | TIMx_DIER | 串 | 3 | PRON | 招聘 | 路 | y | 3318831 | 318831 | Direct | IDE | : | 招聘 | 8 | S | 8 | TE | S | 30500 | 30800 | 30200 | 30100 | VISE | 正 | : | Cutton | COND | CON | GUI | 当 | ||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
0x010 | TIMx_SR | Proof. | 5,459 | RAND | 5 | 海 | BUG | 3LECK | Effect | Diff | ID.S | Proof. | Proof. | E | PROS | 13 | : | 股本 | 3 | 40t00 | 40800 | 40200 | 40100 | Refs. | For | 千港元 | Proof. | COUTE | CS3 | COND | GUI | 当 |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
0x014 | TIMx_EGR | R | For | PA | CHF | For | BUG | PU好 | PO | PARTHE | S | For | REPA | PROM | REPT | 出生 | 鲜 | 好 | Proof. | PAR | IS | Oct-C | CS3 | CO2 | SU | 19 | ||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x018 | TIMx CCMR1 Input Capture mode | 2021 | Proof. | 3 | : | 8 | 1.4 | 3,4731 | 粉色 | 粉 | S | 1,000 | B | 3 | 鲜 | Proof. | IC2F[3:0] | 1C2 PSC [1:0] | CC2S [1:0] | IC1F[3:0] | IC1 PSC [1:0] | CC1S [1:0] | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
TIMx CCMR1 Output Compare mode | a | BATT | 3 | Proof. | PROS | 13 | [8]wzoo | 中國 | 招 | Proof. | PART | BAR | 3 | 路 | [8]W100 | 30200 | OC2M [2:0] | 3d200 | 34200 | CC2S [1:0] | 30100 | OC1M | 3d100 | 3.1100 | CC1S [1:0] | |||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
0x01C | TIMx CCMR2 Input Capture mode | : | : | : | PHY | : | 8 | (a)3 | BUE | 3 | CATE | 8 | SH | PROS | 33 | 8 | IC4F[3:0] | IC4 PSC [1:0] | CC48 [1:0] | IC3F[3:0] | IC3 PSC [1:0] | CC3S [1:0] | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
TIMx CCMR2 Output Compare mode | (a) | PROS | 超市 | 3 | CON | [8] WtOO | 1,000 | Proof. | 3,399 | E | 3 | 8 | E | [8] W800 | 30 | OC4M [2:0] | 3d500 | 3. | CC48 [1:0] | 30800 | OC3M [2:0] | 300 | 3.1800 | CC3S [1:0] | ||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
0x020 | TIMx_CCER | 3 | Rep | 出口 | PHY | COMP | Proof. | COMP3 | 鸭 | 3 | S | Proof. | 0 | E | BUR | 千港元 | dNtOO | COND | COUTE | COND | OS | CO2 | COND | Oct-22 | CO2 | SU | COND | GUI | ||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Table 207. TIMZ/TINIO/TINI4/TINIO TEQISTET THEandeselvalues(continued) | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Offset | Register name | 31 | 30 | 23 | 23 | 2726 | 26 | 2423 | 22 | 21 | 2023 | 1. | 1. | 17 | 伯 | 16 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0x024 | TIMx_CNT | [18]. Ling adding | CNT[30:16] (CNT[31:16] on 32-bit timers only) | CNT[15:0] | |||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 00 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x028 | TIMx_PSC | 8,000 | 好 | 3500 | 3 | E | g | 5 | 3 | 8 | 8 | PSC[15:0] | |||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
0x02C | TIMx_ARR (x = 3, 4) | 好6,000 | (a) | 3,000 | 3 | ARR[19:0] | |||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||
0x02C | TIMx_ARR (x = 2, 5) | ARR[31:0] | |||||||||||||||||||||||||||||
Reset value | 1 | 1 | 1 | 1 | 11 | 1 | 11 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
0x030 | Reserved | ||||||||||||||||||||||||||||||
0x034 | TIMx_CCR1 | CCR1[31:20] (32-bit timers only) | CCR1[19:0] | ||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 00 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
0x038 | TIMx_CCR2 | (32-bit timers only)CCR2[31:20]CCR2[19:0] | |||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 00 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x03C | TIMx_CCR3 | (32-bit timers only)CCR3[31:20]CCR3[19:0] | |||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 00 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
0x040 | TIMx_CCR4 | (32-bit timers only)CCR4[31:20]CCR4[19:0] | |||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 00 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
0x044.. 0x054 | ReservedRes. | ||||||||||||||||||||||||||||||
0x058 | TIMx_ECR | f | PWPRSC [2:0] | PW[7:0] | 6,699 | 8 | : | a | a | 83 | 郎 | IPOS [1:0] | FIDE | 3 | h | IDIR [1:0] | IE | ||||||||||||||
Reset value | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
0x05C | TIMx_TISEL | TI4SEL[3:0] | y | TI3SEL[3:0] | 將 | . . | TI2SEL[3:0] | “ | 將 | TI1SEL[3:0] | |||||||||||||||||||||
Reset value | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
0x060 | TIMx_AF1 | La | S | 將 | 3 | 38 | 138 | a | tr | 8 | a | Proof. | ETRSEL [3:0] | 3 | E | a | 粉 | : 3 | 33 | (3) | 13 | 3 | S | 郎 | 3,959 | 3 | |||||
Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
0x064 | TIMx_AF2 | 3 | a福 | a | OCRSELI 2:0] | R | 38 | 时 | 3 | 福 | 3 | 3,959 | 电话 | 好 | a | ||||||||||||||||
Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||
0x068. Reserved 0x3D8 | Res. | ||||||||||||||||||||||||||||||
0x3DC | TIMx_DCR | 都 | Proof. | 3 | (3) | 面 | DBL[4:0] | 8 | DBA[4:0] | ||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Offset | Register name | 31 | 30 | 23 | 23 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 1. | 1. | 17 | 伯 | 5 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x3E0 | TIMx_DMAR | DMAB[31:0] | |||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Pin name | Signal type | Description |
---|---|---|
TIM_CH1 TIM_CH2(1) | Input/Output | Timer multi-purpose channels. Each channel be used for capture, compare, or PWM. TIM_CH1 and TIM_CH2 can also be used as external clock (below 1/4 of the tim_ker_ck clock) and external trigger inputs |
TIM_CH1N | Output | Timer complementary outputs, derived from TIM_CH1 output with the possibility to have deadtime insertion. |
TIM_BKIN | Input / Output | Break input. This input can also be configured in bidirectional mode. |
Internal signal name | Signal type | Description |
---|---|---|
tim_ti1_in[15:0] tim_ti2_in[15:0](1) | Input | Internal timer inputs bus. These inputs can be used for capture or as external clock (below 1/4 of the tim_ker_ck clock). |
tim_itr[15:0](1) | Input | Internal trigger input bus. These inputs can be used for the slave mode controller or as a input clock (below 1/4 of the tim_ker_ck clock). |
tim_trgo(1) | Output | Internal trigger output. This trigger can trigger other on-chip peripherals. |
tim_ocref_clr[7:0] | Input | Timer tim_ocref_clr input bus. These inputs can be used to clea the tim_ocxref signals, typically for hardware cycle-by-cycle pulsewidth control. |
tim_brk_cmp[8:1] | Input | Break input for internal signals |
tim_sys_brk[n:0] | Input | System break input. This input gathers the MCU's system level errors. |
tim_pclk | Input | Timer APB clock |
tim_ker_ck | Input | Timer kernel clock. This clock must be synchronous with tim pclk (derived from the same source). The clock ratio tim_ker_ck/tim_pclk must be an integer:1, 2, 3,..., 16 (maximum value) |
tim_it | Output | Global Timer interrupt, gathering capture/compare, update, break trigger and commutation requests |
tim_cc1_dma | Output | Timer capture / compare 1 dma request |
tim_upd_dma | Output | Timer update dma request |
tim_trg_dma | Output | Timer trigger dma request |
tim_com_dma | Output | Timer commutation dma request |
tim_ti1 inputs | Sources | ||
---|---|---|---|
TIM15 | TIM16 | TIM17 | |
tim_ti1_in0 | TIM15_CH1 | TIM16_CH1 | TIM17_CH1 |
tim_ti1_in1 | LSE | comp6_out | comp5_out |
tim_ti1_in2 | comp1_out | MCO | MCO |
tim_ti1_in3 | comp2_out | HSE / 32(1) | HSE / 32(1) |
tim_ti1 inputs | Sources | ||
---|---|---|---|
TIM15 | TIM16 | TIM17 | |
tim_ti1_in4 | comp5_out | RTC Clock | RTC Clock |
tim_ti1_in5 | comp7_out | LSE | LSE |
tim_ti1_in6 | Reserved | LSI | LSI |
tim_ti1_in[15:7] | Reserved |
tim_ti2 inputs | Sources |
---|---|
TIM 15 | |
tim_ti2_in0 | TIM15_CH2 |
tim_ti2_in1 | comp2_out |
tim_ti2_in2 | comp3_out |
tim_ti2_in3 | comp6_out |
tim_ti2_in4 | comp7_out |
tim_ti2_in[15:5] | Reserved |
tim_itrx inputs | TIM15 |
---|---|
tim_itr0 | tim1_trgo |
tim_itr1 | tim2_trgo |
tim_itr2 | tim3_trgo |
tim_itr3 | tim4_trgo |
tim_itr4 | tim5_trgo |
tim_itr5 | tim8_trgo |
tim_itr6 | Reserved |
tim_itr7 | tim16_oc1 |
tim_itr8 | tim17_oc1 |
tim_itr9 | tim20_trgo |
tim_itr10 | hrtim_out_sync2 |
tim_itr[15:11] | Reserved |
tim_brk inputs | TIM15 | TIM16 | TIM17 |
---|---|---|---|
TIM_BKIN | TIM15_BKIN pin | TIM16_BKIN pin | TIM17_BKIN pin |
tim_brk_cmp1 | comp1_out | comp1_out | comp1_out |
tim_brk_cmp2 | comp2_out | comp2_out | comp2_out |
tim_brk_cmp3 | comp3_out | comp3_out | comp3_out |
tim_brk_cmp4 | comp4_out | comp4_out | comp4_out |
tim_brk_cmp5 | comp5_out | comp5_out | comp5_out |
tim_brk_cmp6 | comp6_out | comp6_out | comp6_out |
tim_brk_cmp7 | comp7_out | comp7_out | comp7_out |
tim_brk_cmp8 | Reserved |
tim_sys_brk inputs | TIM15 / TIM16 / TIM17 | Enable bit in SYSCFG_CFGR2 register |
---|---|---|
tim_sys_brk0 | Cortex®-M4 with FPU LOCKUP | CLL |
tim_sys_brk1 | Programmable Voltage Detector (PVD) | PVDL |
tim_sys_brk2 | SRAM parity error | SPL |
tim_sys_brk3 | Flash double ECC error | ECCL |
tim_sys_brk4 | Clock Security System (CSS) | None (always enabled) |
Timer OCREF clear signal | Timer OCREF clear signals assignment | ||
---|---|---|---|
TIM15 | TIM16 | TIM17 | |
tim_ocref_clr0 | comp1_out | comp1_out | comp1_out |
tim_ocref_clr1 | comp2_out | comp2_out | comp2_out |
tim_ocref_clr2 | comp3_out | comp3_out | comp3_out |
tim_ocref_clr3 | comp4_out | comp4_out | comp4_out |
tim_ocref_clr4 | comp5_out | comp5_out | comp5_out |
tim_ocref_clr5 | comp6_out | comp6_out | comp6_out |
tim_ocref_clr6 | comp7_out | comp7_out | comp7_out |
tim_ocref_clr7 | Reserved |
- | PWM period | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSB value | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
0000 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0001 | +1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0010 | +1 | - | - | - | - | - | - | - | +1 | - | - | - | - | - | - | - |
0011 | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - | - | - | - | - |
0100 | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - |
0101 | +1 | - | +1 | - | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - |
0110 | +1 | - | +1 | - | +1 | - | - | - | +1 | - | +1 | - | +1 | - | - | - |
0111 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | - | - |
1000 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1001 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1010 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1011 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1100 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
1101 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
- | PWM period | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSB value | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
1110 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
1111 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
(1) =0) (1) =0) 又 | delay OIS delay OIS OIS OIS )ISxN | BREAK (MOET ) | MSv62337V1 | |||||
tim_ocxref | ||||||||
tim_ocx (tim_ocxn not implemented, CCxP=0 | ||||||||
tim_ocx (tim_ocxn not implemented, CCxP=0 | OIS: | |||||||
tim_ocx (tim_ocxn not implemented, CCxP=1 | OIS | |||||||
tim_ocx | ||||||||
(tim_ocxn not implemented, CCxP=' | OIS: | |||||||
tim_ocx | ||||||||
tim_ocxn | delay | |||||||
OISx=0, CCxNE | =1, C | kN=1 | ||||||
tim_ocx | ||||||||
tim_ocxn | delay | |||||||
OISx=1, CCxNE | =1, C | (N=1) | ||||||
tim_ocx | ||||||||
tim_ocxn | OISx=0, CCxNE | (N=1) | ||||||
tim_ocx | ||||||||
tim_ocxn | ||||||||
OISx=1, CCxNE | (N=0) | |||||||
tim_ocx | ||||||||
tim_ocxn | CCxNE=0, CCxN | IP=0, | =0 or | (xN=1) |
MOE | BKBID | BKDSRM | Break protection state |
---|---|---|---|
0 | 0 | X | Armed |
0 | 1 | 0 | Armed |
0 | 1 | 1 | Disarmed |
1 | Armed |
DMA request signal | DMA acronym | DMA request | Enable control bit |
---|---|---|---|
tim_upd_dma | TIM_UP | Update | UDE |
tim_cc1_dma | TIM_CH1 | Capture/compare 1 | CC1DE |
tim_com_dma(1) | TIM_COM | Commutation (COM) | COMDE |
tim_trg_dma(1) | TIM_TRIG | Trigger | TDE |
Mode | Description |
---|---|
Sleep | No effect, peripheral is active. The interrupts can cause the device to exit from Sleep mode. |
Stop | The timer operation is stopped and the register content is kept. No interrupt can be generated. |
Standby | The timer is powered-down and must be reinitialized after exiting the Standby mode |
Interrupt acronym | Interrupt event | Event flag | Enable control bit | Interrupt clear method | Exit from Sleep mode | Exit from Stop and Standby mode |
---|---|---|---|---|---|---|
TIM | Update | UIF | UIE | write 0 in UIF | Yes | No |
Capture/compare 1 | CC1IF | CC1IE | write 0 in CC1IF | Yes | No | |
Capture/compare 2(1) | CC21F | CC2IE | write 0 in CC2IF | Yes | No | |
Commutation (COM) | COMIF | COMIE | write 0 in COMIF | Yes | No | |
Trigger(1) | TIF | TIE | write 0 in TIF | Yes | No | |
Break | BIF | BIE | write 0 in BIF | Yes | No |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | DITH EN | UIFRE MAP | Res. | CKD[1:0] | ARPE | Res. | Res. | Res: | OPM | URS | UDIS | CEN | |
rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | OIS2 | OIS1N | OIS1 | TI1S | MMS[2:0] | CCDS | CCUS | Res. | CCPC | ||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res | SMSPE | Res. | Res | TS[4:3] | Res. | Res | Res. | SMS[3] | |
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MSM | TS[2:0] | Res. | SMS[2:0] | ||||
rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | TDE | COMD E | Res. | Res. | Res. | CC1DE | UDE | BIE | TIE | COMIE | Res. | Res. | CC2IE | CC1IE | UIE |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | CC20F | CC10F | Res. | BIF | TIF | COMIE | Res. | Res. | CC2IF | CC1IF | UIF |
rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res | Res. | BG | TG | COMG | Res. | Res. | CC2G | CC1G | UG |
w | w | rw | w | w | w |
7 | 1.0 | TZ | 10 | 7 | 0 | 4 | 0 | 4 | 0 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IC2F[3:0] | IC2PSC[1:0] | CC2S[1:0] | IC1F[3:0] | IC1PSC[1:0] | CC1S[1:0] | ||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CC2NP | Res. | CC2P | CC2E | CC1NP | CC1NE | CC1P | CC1E |
rw | rw | rw | rw | rw | rw | rw |
Control bits | Output states(1) | |||||
---|---|---|---|---|---|---|
MOE bit | OSSI bit | OSSR bit | CCxE bit | CCxNE bit | tim_ocx output state | tim_ocxn output state |
1 | X | X | 0 | 0 | Output Disabled (not driven by the timer: Hi-Z) tim_ocx=0 tim_ocxn=0 | |
0 | 0 | 1 | Output Disabled (not driven by the timer: Hi-Z) tim_ocx=0 | tim ocxref + Polarity tim_ocxn=tim_ocxref XOR CCxNP | ||
0 | 1 | 0 | tim ocxref + Polarity tim_ocx=tim_ocxref XOR CCxP | Output Disabled (not driven by the timer: Hi-Z) tim_ocxn=0 | ||
X | 1 | 1 | tim ocxref + Polarity + dead-time | Complementary to tim_ocxref (not OCREF) + Polarity + dead- time | ||
1 | 0 | 1 | Off-State (output enabled with inactive state) tim | tim ocxref + Polarity tim ocxn=tim ocxref XOR CCxNP | ||
1 | 1 | 0 | tim ocxref + Polarity tim_ocx=tim_ocxref xor CCxP | Off-State (output enabled with inactive state) tim ocxn=CCxNP | ||
0 | 0 | X | X | X | Output disabled (not driven by the timer: Hi-Z) | |
1 | 0 | 0 | ||||
0 | 1 | Off-State (output enabled with inactive state) Asynchronously: tim_ocx=CCxP, tim_ocxn=CCxNP Then if the clock is present: tim ocx=OISx and tim_ocxn=OISxN after a dead-time, assuming that OISx and OISxN do not correspond to tim_ocx and tim_ocxn both in active state | ||||
1 | 0 | |||||
1 | 1 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REP[7:0] | |||||||
rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | BKBID | Res. | BK DSRM | Res. | Res. | Res. | Res. | Res. | Res. | BKF[3:0] | |||
rw | rw | rw | rw | rw | rw | ||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE | AOE | BKP | BKE | OSSR | OSSI | LOCK[1:0] | DTG[7:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DTPE | DTAE |
rw | rw | ||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DTGF[7:0] | |||||||
rw | rw | rw | rw | rw | rw | rw | rw |
Res. | Res. | Res. | Res. | TI2SEL[3:0] | Res. | Res. | Res. | Res. | TI1SEL[3:0] | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | BK CMP4P | BK CMP3P | BK CMP2P | BK CMP1P | BKINP | BK CMP8E | BK CMP7E | BK CMP6E | BK CMP5E | BK CMP4E | BK CMP3E | BK CMP2E | BK CMP1E | BKINE | |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DMAB[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DMAB[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Offset | Register name | 31 | 30 | 23 | 23 | 27 | 26 | 26 | 24 | 23 | 22 | 21 | 20 | 1 | 1 | 17 | 6 | IS | 4 | 1 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | TIM15_CR1 | Proof. | PROM | PAR | 13 | 3 | 3 | For | 1,050 | a | 1,010 | Proof. | Suppose | PU | Problem 1. | 3 | Lift | 3 | REPT | For | 3 | VW38311 | CKD [1:0] | AREE | PART | PART | E | Operation | Univ. | Univ. | CHF | ||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
0x04 | TIM15_CR2 | 中國 | Proof. | Problem 2 | E | PAR | For | BUR | 商品 | 13 | 路 | Proof. | 3 | 1,133 | E | 中心 | E | 3 | Proof. | (1) | PAR | Effective | OS | Over County | OF | THE | MMS[2:0] | Open | COU | COND | |||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
0x08 | TIM15_SMCR | 3 | 超 | PAR | 3 | PAR | E | 新 | 合計 | TS [4:3] | PUB | Proof. | 3 | SSE | 3 | BUCK | 3 | Effective | 中国 | 中国 | PUB | STRON | MS5 | TS[2:0] | PU | SMS[2:0] | |||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
0x0C | TIM15_DIER | BUR | Recurrence | BUB | 3 | 超市 | 3 | HK$’000 | BUR | HK$’000 | 3 | SHIP | 3,000 | BUR | 3 | 超市 | BUR | 3 | TOF | 30W00 | Supposed | 招 | 33 | 30100 | Jul-20 | BEE | 正 | COND | 1,000 | 33 | COND | GUI | 当 |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
0x10 | TIM15_SR | 1,000 | 3 | S | 好 | 13 | 3 | 锅 | 2. | 郎 | 超 | 13 | : | 出租 | If | 13 | Proof. | BUR | SPROP | 5,959 | 锅 | Recurrence | 30200 | 20100 | 3 | BUND | 千港元 | Over County | 13 | 股本 | COND | Operation | 当 |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
0x14 | TIM15_EGR | BUR | 3 | a | 33 | a | 超 | 股本 | 路 | BRAND | Rec-12 | 8 | 鲜 | 路 | 2 | : | 8 | 33 | 3 | 3 | 好 | 郎 | 好 | Effective | 串 | BB | TC | COMPS | EX | 3 | CO2 | COU | S |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
0x18 | TIM15_CCMR1 Input Capture mode | Proof. | 3 | 股本 | 股本 | a | 3 | 新 | S | 中国 | : | 股份 | 股份 | 股份 | H | 股份 | 3 | IC2F[3:0] | IC2 PSC [1:0] | CC2S [1:0] | IC1F[3:0] | IC1 PSC [1:0] | CC1S [1:0] | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
TIM15_CCMR1 Output Compare mode | Recurrence | E | SCON | REE | S | : | 出 | [8]wzoo | 电 | 3,000 | CON | SHE | Representation | CON | 超市 | [8]W100 | Oct-CO | OC2M [2:0] | 3.100 | CC28 [1:0] | 30100 | OC1M [2:0] | Oct-12 | 3.20 | CC1S [1:0] | ||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
0x20 | TIM15_CCER | PAR | 8 | 股本 | BUR | Problem | 3 | 3 | 路口 | E | CHF | B | 部 | 好 | 股份 | 串 | 股份 | Proof. | 13 | 好 | 超 | 路 | 股份 | 6,699 | For | dNZOO | Oct-2 | COND | dNl O O | 3NLOO | COU | COUTE | |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Offset | Register name | 31 | 300 | 23 | 23 | 27 | 26 | 26 | 24 | 23 | 22 | 21 | 20 | 1. | 1. | 17 | 16 | 16 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 21 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x24 | TIM15_CNT | 'sey jo adju | 3 | 8 | 4 | a | 3 | 中心 | BUG | 电话 | 8 | 3 | 好 | 8 | S | 好 | CNT[15:0] | |||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | ||||||||||||||||
0x28 | TIM15_PSC | g | 8 | 4,549 | 您 | 4,699 | 3 | 股本 | (3) | 13 | 5,699 | 8 | a | 串 | 5 | 3gasPSC[15:0] | ||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||
0x2C | TIM15_ARR | 8 | 8 | 1 | 2 | E | E | 8 | 都 | ARR[19:0] | ||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 11 | 1 | |||||||||||||
0x30 | TIM15_RCR | 收购 | 好 | ROUND | 茶 | S | t | 8 | d | a | 中心 | 郎 | 鸿 | 路 | E | 出 | 超市 | 8 | 1,000 | REP[7:0] | ||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||||||||||
0x34 | TIM15_CCR1 | (a) | PAR | 3,000 | (3,000) | S | 郎 | 中国 | 3 | 6,000 | 1 | CCR1[19:0] | ||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | ||||||||||||||
0x38 | TIM15_CCR2 | 3 | 郎 | 郎 | 43 | 8 | 16 | 3 | 8 | 中國 | CCR2[19:0] | |||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | ||||||||||||||
0x38 - 0x40 | Reserved | Res. | ||||||||||||||||||||||||||||||
0x44 | TIM15_BDTR | 3 | BIGE | was avg | 8 | BKF[3:0] | MOS | AQ4 | BKPS | BKK | OS S | OS | LOCK [1:0] | DT[7:0] | ||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||
0x48 - 0x50 | Reserved | Res. | ||||||||||||||||||||||||||||||
0x54 | TIM15_DTR2 | 3 | 83 | 3 | 心 | 3 | 1 | e | DIPPE | DAKA | 郎 | Rec | DTGF[7:0] | |||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||||||||
0x58 | Reserved | |||||||||||||||||||||||||||||||
0x5C | TIM15_TISEL | 3 | 3 | │ | a | 出 | A | Proof. | a | TI2SEL[3:0] | 粥 | TI1SEL[3:0] | ||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||||||||||
0x60 | TIM15_AF1 | 邮 | 3 | 出 | 79 | 电 | 郎 | a | N | 的 | (a) | dtdW0X8 | dEdWOX8 | d&dW:0*k | dIdWOX8 | BMM | 38dWOX8 | 3.2dW0.18 | 39dWOX8 | 3. SHOXI | 3tdW0X8 | BAKK | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 1 | |||||||||||||||||||
0x64 | TIM15_AF2 | 好 | 好 | 43 | 36 | 第 | 13 | 郎 | -5 | OCR SEL[2:0] | 粥 | 99.00 | 39 | PUB | 昭 | 部 | BUR | 送5,679 | ||||||||||||||
Reset value | 0 | 0 | 0 | |||||||||||||||||||||||||||||
0x68 -0x3D8ReservedRes. |
Offset | Register name | 3,31 | 30 | 23 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 1. | 1. | 17 | (6) | 5 | 4 | 13 | 12 | 11 | 1.0 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 21 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x3DC | TIM15_DCR | : | FLUS | Let | 3 | Let | PROS | BUD | 中国 | 出生 | P | The | 时尚 | 1,000 | 中心 | Proof. | Problem | 13 | DBL[4:0] | 中国 | 1,010 | DBA[4:0] | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||||||||
0x3E0 | TIM15_DMAR | DMAB[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | DITH EN | UIFRE MAP | Res. | CKD[1:0] | ARPE | Res. | Res. | Res. | OPM | URS | UDIS | CEN | |
rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | OIS1N | OIS1 | Res. | Res. | Res. | Res. | CCDS | ccus | Res. | CCPC |
rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | CC1DE | UDE | BIE | Res. | COMIE | Res. | Res | Res. | CC1IE | UIE |
rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | CC10F | Res. | BIF | Res. | COMIF | Res: | Res. | Res. | CC1IF | UIF |
rc_w0 | rc_w0 | rc_w0 | rc_w0 | rc_w0 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res | Res. | Res. | Res. | Res | Res. | Res. | BG | Res. | COMG | Res. | Res. | Res. | CC1G | UG |
w | w | w | w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res: | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CC1NP | CC1NE | CC1P | CC1E |
rw | rw | rw | rw |
Control bits | Output states(1) | |||||
---|---|---|---|---|---|---|
MOE bit | OSSI bit | OSSR bit | CC1E bit | CC1NE bit | tim_oc1 output state | tim_oc1n output state |
1 | X | X | 0 | 0 | Output Disabled (not driven by the timer: Hi-Z) tim_oc1=0 tim_oc1n=0 | |
0 | 0 | 1 | Output Disabled (not driven by the timer: Hi-Z) tim_oc1=0 | tim_oc1ref + Polarity tim_oc1n=tim_oc1ref XOR CC1NP | ||
0 | 1 | 0 | tim oc1ref + Polarity tim oc1=tim oc1ref XOR CC1P | Output Disabled (not driven by the timer: Hi-Z) tim_oc1n=0 | ||
X | 1 | 1 | tim oc1ref + Polarity + dead-time | Complementary to tim_oc1ref (not tim_oc1ref) + Polarity + dead-time | ||
1 | 0 | 1 | Off-State (output enabled with inactive state) tim oc1=CC1P | tim oc1ref + Polarity tim oc1n=tim oc1ref XOR CC1NP | ||
1 | 1 | 0 | tim oc1ref + Polarity tim oc1=tim oc1ref XOR CC1P | Off-State (output enabled with inactive state) tim oc1n=CC1NP | ||
0 | 0 | X | X | X | Output disabled (not driven by the timer: Hi-Z) | |
1 | 0 | 0 | ||||
0 | 1 | Off-State (output enabled with inactive state) Asynchronously: tim oc1=CC1P, tim oc1n=CC1NP Then if the clock is present: tim oc1=OIS1 and tim oc1n=OIS1N after a dead-time, assuming that OIS1 and OIS1N do not correspond to tim_oc1 and tim_oc1n both in active state | ||||
1 | 0 | |||||
1 | 1 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REP[7:0] | |||||||
rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | BKBID | Res. | BK DSRM | Res. | Res. | Res. | Res. | Res. | Res. | BKF[3:0] | |||
rw | rw | rw | rw | rw | rw | ||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MOE | AOE | BKP | BKE | OSSR | OSSI | LOCK[1:0] | DTG[7:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TI1SEL[3:0] | |||
rw | rw | rw | rw |
Res. | Res. | BK CMP4P | BK CMP3P | BK CMP2P | BK CMP1P | BKINP | BK CMP8E | BK CMP7E | BK CMP6E | BK CMP5E | BK CMP4E | BK CMP3E | BK CMP2E | BK CMP1E | BKINE |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Res. | Res. | Res. | DBL[4:0] | Res. | Res. | Res. | - -99 DBA[4:0] | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DMAB[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DMAB[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Offset | Register name | 3,31 | 30 | 23 | 2Q3 | 27 | 2Q | 23 | 24 | 23 | 22 | 21 | 2023 | 1. | 1. | 17 | 1. | 1.5 | 4 | 1 | 12 | 1 | 1. | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | TIMx_CR1 | (a) | HK$’000 | S | 8 | 1 | d | 3 | Proof. | CON | For | 3 | 出 | 3 | B | y | 好 | RECT | 3 | 8 | d | VW3V3In | CKD [1:0] | ARPH | Recurrence | Proof. | Operation | USE | Univ. | CHE | |||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
0x04 | TIMx_CR2 | 8 | 45 | 3 | 好 | 2,399 | : | 股份 | 13 | Proof. | 5,459 | 路 | 郎 | x | 30 | 5,459 | BULL | S | 出租 | 33 | PU | 33 | Proof. | Overal County | OF | BUCK | BAR | Proof. | SQ19 | Oct-20 | Opto | ||
Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
0x08 | Reserved | Res. | |||||||||||||||||||||||||||||||
0x0C | TIMx_DIER | 中國 | 3 | 好 | 3 | Recall | 串 | 3 | 3,399 | PAR | d | 3 | a | 化 | COMP | LU | 招聘 | 3 | 3 | COMP | Proof. | 3 | 3 | 30100 | 少 | BEE | 31W00 | : | GUI | 当 | |||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
0x10 | TIMx_SR | 路 | 路 | : | : | a | 郎 | 电话 | 3 | PAR | (a) | : | a | 此 | 習 | : | 3 | Recurrence | 3 | : | 商 | 3 | 3 | 20100 | BUN | Output | R | 3 | Q4 5 | 当 | |||
Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
0x14 | TIMx_EGR | 於 | : 3 | 3 | 股本 | 郎 | 13 | BRON | 給 | STA | 解 | : | 好 | BALLY | 路 | : 3 | S | 3 | 8 | 好 | a | B | 3 | (3) | BB | 5WOO | 超市 | COU | S | ||||
Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
0x18 | TIMx_CCMR1 Input Capture mode | 股份 | 3 | SHIP | 3 | 中 | BUR | 中國 | (3,397) | 中國 | 股份 | 好 | 郎 | 化 | MAS | 好 | : | 3 | Recurrence | : | PROM | 3 | Effect | E | SHUR | IC1F[3:0] | IC1 PSC [1:0] | CC1 S [1:0] | |||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
TIMx_CCMR1 Output Compare mode | 3 | B | 超市 | 出 | 部 | E | E | 3,859 | 好 | 部 | 股本 | 3 | 路 | 金 | 8 | [8]W100 | 超 | 出 | 好 | BUR | 股本 | 出 | 30100 | OC1M [2:0] | 3d100 | 3. 1.100 | CC1 S [1:0] | ||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
0x1C | Reserved | Res | |||||||||||||||||||||||||||||||
0x20 | TIMx_CCER | Effect | BUR | E | MA | 电子 | Rec | : | 3 | 股份 | (a) | 3 | 3 | R | 心 | 出 | Proof. | CH | 出色 | 3 | 8 | 3 | 好 | E | BUB | 2021年 | 超市 | d | P | Overally, | COMPS | CON | CON |
Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
0x24 | TIMx_CNT | 'sey jo adjulin | 粉 | 股份 | 8 | 3 | 3 | 給 | y | 路 | : | a | 收 | (3,000) | : 3 | S | CNT[15:0] | ||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
0x28 | TIMx_PSC | 5,672 | 好 | 股份 | PAR | E | PROS | 路 | REPT | B | 新 | 3 | 郎 | 出 | 邮 | a | 8 | PSC[15:0] | |||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Offset | Register name | 31 | 30 | 23 | 23 | 27 | 26 | 26 | 24 | 23 | 22 | 21 | 2023 | 1. | 1. | 17 | 伯 | IS | 4 | 13 | 12 | 1 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 21 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x2C | TIMx_ARR | 粉色 | 时 | 好 | 3 | B | 3,000 | REPT | 13.0 | 3 | E | 中國ARR[19:0] | ||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 11 | 1 | |||||||||||||
0x30 | TIMx_RCR | 超市 | 3 | 好 | 33 | BUR | 13 | 3 | Problem | 千港元 | 好 | 金色 | a | 路 | 好 | 3 | Recurrence | 3 | 3 | 3 | 3 | 郎 | 路口 | 串 | REP[7:0] | |||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||||||||||
0x34 | TIMx_CCR1 | REE | a | : | 8 | SHIP | Proof. | 邮 | : | 13 | CCR1[19:0] | |||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||
0x38 - 0x40 | ReservedRes. | |||||||||||||||||||||||||||||||
0x44 | TIMx_BDTR | : | Proof. | BIRD | WYSCHA | 8 | 品 | PROS | a | 都 | BKF[3:0] | MOS | AQ4 | BRD | BKK | OS S | OS CO | LOC K [1:0] | DT[7:0] | |||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||
0x48 - 0x50 | ReservedRes. | |||||||||||||||||||||||||||||||
0x54 | TIMx_DTR2 | The | 3,049 | 郎 | 中 | Proof. | 部 | 电 | 超 | 3 | d | : | DEE | DAKA | 心 | 都 | PHY | 3 | 8 | HK$’000 | 中 | DTGF[7:0] | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||||||||
0x58 | Reserved | |||||||||||||||||||||||||||||||
0x5C | TIMx_TISEL | 4 | 的 | 电子 | (a) | a | 心 | (a) | PR | d | 3 | RECT | Proof. | (a) | REPHY | 4 | B | e | d | 中心 | d | 中 | Proof. | Proof. | 1 | TI1SEL[3:0] | ||||||
Reset value | 0 | 00 | 0 | |||||||||||||||||||||||||||||
0x60 | TIMx_AF1 | COM | 到 | (a) | BUG | 都 | R | 中 | 3 | 8 | Recall | 3 | 8 | Recurrence | 8 | 超 | 电子 | 1 | dtdW0* | dEdWOX8 | d&dW:0*k | dldW0X8 | BMM | 38dWOX8 | 39dW0X8 | 3 SdWOX8 | স্র্র্র্র | 300 | 300 20083 LdWOX8 | 3NIX8 | ||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 1 | |||||||||||||||||||
0x64 | TIMx_AF2 | 电子 | 至今 | 1,131 | 电话 | 郎 | 串串 | SCO | 好 | 3 | 5 | 出 | OCR SEL[2:0] | PARTHE | 心 | Proof. | PRO | 2 | 不 | 3PAR | PE | |||||||||||
Reset value | 0 | 0 | 0 | |||||||||||||||||||||||||||||
0x68 | TIMx_OR1 | REPHY | PU | PROM | d | 3 | 3 | 3,699 | 1,000 | 郎 | 都 | 品 | 2 | PH | 9 | (1) | RAM | 3 | 好的 | 8 | 8 | 3 | 中國 | 部 | PHY | 3 | Represent | Proof. | Proof. | REPER | N3783SH | |
Reset value | 0 | |||||||||||||||||||||||||||||||
0x6C - 0x3D8 | Reserved | Res. | ||||||||||||||||||||||||||||||
0x3DC | TIMx_DCR | E | .4 | 0 | 馮 | 3 | y | E | 好 | a | 粥 | 心 | DBL[4:0] | a | 13 | 超市 | DBA[4:0] | |||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | |||||||||||||||||||||||
0x3E0 | TIMx_DMAR | DMAB[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 |
Internal signal name | Signal type | Description |
---|---|---|
tim_pclk | Input | Timer APB clock |
tim_ker_ck | Input | Timer kernel clock. This clock must be synchronous with tim_pclk (derived from the same source). The clock ratio tim_ker_ck/tim_pclk must be an integer:1, 2, 3,..., 16 (maximum value) |
tim_trgo | Output | Internal trigger output. This trigger can trigger other on- chip peripherals (DAC). |
tim_upd_it | Output | Timer update event interrupt |
tim_upd_dma | Output | Timer update dma request |
- | PWM period | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LSB value | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
0000 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0001 | +1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
0010 | +1 | - | - | - | - | - | - | - | +1 | - | - | - | - | - | - | - |
0011 | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - | - | - | - | - |
0100 | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - | +1 | - | - | - |
0101 | +1 | - | +1 | - | +1 | - | - | +1 | - | - | - | +1 | - | - | - | |
0110 | +1 | - | +1 | - | +1 | - | - | - | +1 | - | +1 | - | +1 | - | - | - |
0111 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | - | - |
1000 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1001 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - | +1 | - |
1010 | +1 | +1 | +1 | - | +1 | - | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1011 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | - | +1 | - |
1100 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
1101 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | - | +1 | +1 | +1 | - |
1110 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
1111 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | +1 | - |
DMA request signal | DMA acronym | DMA request | Enable control bit |
---|---|---|---|
tim_upd_dma | TIM_UP | Update | UDE |
Mode | Description |
---|---|
Sleep | No effect, peripheral is active. The interrupts can cause the device to exit from Sleep mode. |
Stop | The timer operation is stopped and the register content is kept. No interrupt can be generated. |
Standby | The timer is powered-down and must be reinitialized after exiting the Standby mode |
Interrupt acronym | Interrupt event | Event flag | Enable control bit | Interrupt clear method | Exit from Sleep mode | Exit from Stop and Standby mode |
---|---|---|---|---|---|---|
TIM6 TIM7 | Update | UIF | UIE | write 0 in UIF | Yes | No |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | DITH EN | UIFRE MAP | Res. | Res. | Res. | ARPE | Res. | Res | Res. | OPM | URS | UDIS | CEN |
rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MMS[2:0] | Res. | Res. | Res. | Res. | ||
rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | UDE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UIE |
rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res: | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UIF |
rc_w0 |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UG |
w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PSC[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res | Res. | Res. | Res. | Res. | Res. | ARR[19:16] | |||
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ARR[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Offset | Register name | 31 | 30 | 23 | 23 | 27 | 2625 | 24 | 23 | 22 | 21 | 20 | 9 | 1. | 17 | 16 | 1.5 | 14 | 1.3 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | TIMx_CR1 | e a | 3,000 | 1,000 | 3 | Proof. | Proof.Proof. | 3 | 3 | 3 | 3 | 留 | 3 | Recurrence | 好 | Proof. | Proof. | 中华 | PRO | NEHILIC | VW3V3In | : | S | ARPH | 时间 | Proof. | 1,471 | Operation | USE | Space | CHF | |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
0x04 | TIMx_CR2 | : | S | Proof. | 股本 | 股本 | 13串 | E | 13 | Problem 2 | 股份 | SHUD | 平平 | Proof. | HK$’000 | Recall | Problem 1. | 千港元 | 13 | Problem 2 | : | 中國 | MMS [2:0] | 金 | 好 | S | Proof. | |||||
Reset value | 0 | 0 | 0 | |||||||||||||||||||||||||||||
0x08 | Reserved | |||||||||||||||||||||||||||||||
0x0C | TIMx_DIER | Problem Controllection | 1.0 | Proof. | Proof. | : | Proof.路 | 3 | BUS | Effective | 3 | 2 | Let | 好 | 1,010 | Represent | 1,000 | 中华 | Ester | For | 明日 | 超 | 195 | For | 1,010 | 中心 | : | 1,000 | For | 3 | 当 | |
Reset value | 0 | 0 | ||||||||||||||||||||||||||||||
0x10 | TIMx_SR | 1.00 | 3 | For | 招聘 | 招 | BULL出 | 3 | 股份 | 3,399 | STRAND | 股份 | 新 | 3 | 招工 | 134 | BULL | SHIP | 好的 | 好 | 3 | BUR | 1,649 | 新 | SECT | 好好 | BUS | S | 3 | Recall | 股份 | 当 |
Reset value | 0 | |||||||||||||||||||||||||||||||
0x14 | TIMx_EGR | 好好 | 1.00 | 时 | 1,133 | 3 | Proof.好 | Proof. | PORT | Proof. | BUR | SHIP | 2.00 | 股本 | : | 股份 | Problem | 5,399 | STRATE | 8 | Proof. | 1,000 | BUB | Problem Controllection | 股本 | PAR | 股本 | S | 3,133 | SCA | 8 | S |
Reset value | 0 | |||||||||||||||||||||||||||||||
0x18- 0x20 | Reserved | |||||||||||||||||||||||||||||||
0x24 | TIMx_CNT | say 10 AdOsIn | 3 | 3 | 招聘 | 出 | PARTE13 | 3 | 中國 | 3 | 部 | 股份 | SHUDE | SE | 招工 | 3 | CNT[15:0] | |||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
0x28 | TIMx_PSC | 超市 | 中國 | Proof. | 3 | 路 | 3招聘 | 3 | Proof. | 3 | 千港元 | 千港元 | : | 路 | 的 | 粉丝 | PSC[15:0] | |||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
0x2C | TIMx_ARR | : | 1,000 | 股本 | 33 | 38 | 好 | 8 | 33 | 部 | 第 | ARR[19:0] | ||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
LPTIM modes/features(1) | LPTIM1 |
---|---|
Encoder mode | X |
TRIGSEL | External trigger |
---|---|
lptim_ext_trig0 | GPIO |
lptim_ext_trig1 | RTC_ALARMA |
lptim_ext_trig2 | RTC_ALARMB |
TRIGSEL | External trigger |
---|---|
lptim_ext_trig3 | RTC_TAMP1_OUT |
lptim_ext_trig4 | RTC_TAMP2_OUT |
lptim_ext_trig5 | RTC_TAMP3_OUT |
lptim_ext_trig6 | COMP1_OUT |
lptim_ext_trig7 | COMP2_OUT |
lptim_ext_trig8 | COMP3_OUT |
lptim_ext_trig9 | COMP4_OUT |
lptim_ext_trig10 | COMP5_OUT |
lptim_ext_trig11 | COMP6_OUT |
lptim_ext_trig12 | COMP7_OUT |
lptim_in1_mux | LPTIM1 input 1 connected to |
---|---|
lptim_in1_0 | GPIO pin as LPTIM1_IN1 alternate function |
lptim_in1_1 | COMP1 |
lptim_in1_2 | COMP3 |
lptim_in1_3 | COMP5 |
lptim_in1_4 | COMP7 |
lptim_in2_mux | LPTIM1 input 2 connected to |
---|---|
lptim_in2_0 | GPIO pin as LPTIM1_IN2 alternate function |
lptim_in2_1 | COMP2 |
lptim_in2_2 | COMP4 |
lptim_in2_3 | COMP6 |
lptim_in2_4 | COMP6 |
programming | dividing factor |
---|---|
000 | /1 |
001 | 12 |
010 | 14 |
011 | 18 |
100 | /16 |
101 | /32 |
110 | /64 |
111 | /128 |
Active edge | Level on opposite signal (Input1 for Input2, Input2 for Input1) | Input1 signal | Input2 signal | ||
---|---|---|---|---|---|
Rising | Falling | Rising | Falling | ||
Rising Edge | High | Down | No count | Up | No count |
Low | Up | No count | Down | No count | |
Falling Edge | High | No count | Up | No count | Down |
Low | No count | Down | No count | Up | |
Both Edges | High | Down | Up | Up | Down |
Low | Up | Down | Down | Up |
Mode | Description |
---|---|
Sleep | No effect. LPTIM interrupts cause the device to exit Sleep mode. |
Low-power run | No effect. |
Low-power sleep | No effect. LPTIM interrupts cause the device to exit the Low-power sleep mode. |
Stop 0 / Stop 1 | No effect when LPTIM is clocked by LSE or LSI. LPTIM interrupts cause the device to exit Stop 0 and Stop 1. |
Standby | The LPTIM peripheral is powered down and must be reinitialized after exiting Standby or Shutdown mode |
Shutdown |
Interrupt event | Description |
---|---|
Compare match | Interrupt flag is raised when the content of the Counter register (LPTIM_CNT) matches the content of the compare register (LPTIM_CMP). |
Auto-reload match | Interrupt flag is raised when the content of the Counter register (LPTIM_CNT) matches the content of the Auto-reload register (LPTIM_ARR). |
External trigger event | Interrupt flag is raised when an external trigger event is detected |
Auto-reload register update OK | Interrupt flag is raised when the write operation to the LPTIM_ARR register is complete. |
Compare register update OK | Interrupt flag is raised when the write operation to the LPTIM_CMP register is complete. |
Direction change | Used in Encoder mode. Two interrupt flags are embedded to signal direction change: – UP flag signals up-counting direction change – DOWN flag signals down-counting direction change. |
Res. | Res. | Res. | Res. | Res. | Resr | Res. | Res. | Res. | DOWN CF | UPCF | ARRO KCF | CMPO KCF | EXTTR IGCF | ARRM CF | CMPM CF |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
w | w | w | w | w | w | w |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DOWNI E | UPIE | ARRO KIE | CMPO KIE | EXT TRIGIE | ARRM IE | CMPM IE |
rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | TRIG SEL [3] | Res. | Res. | Res. | Res. | ENC | COUNT MODE | PRELOAD | WAVPOL | WAVE | TIMOUT | TRIGEN[1:0] | Res. | |
rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TRIGSEL[2:0] | Res. | PRESC[2:0] | Res: | TRGFLT[1:0] | Res. | CKFLT[1:0] | CKPOL[1:0] | CKSEL | |||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Res. | Resr | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IN2[2:1] | IN1[2:1] | IN2[0] | IN1[0] | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw |
Offset | Register name | 31 | 300 | 23 | 23 | 27 | 26 | 23 | 24 | 23 | 22 | 21 | 2021 | 9 | - 00 | 17 | (6) | 16 | 4 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x000 | LPTIM_ISR | BOOD | y | THE | 中华 | 30 | 8 | COUT | 5 | BOOD | SHIP | SON | 1,010 | : | SCON | S | TOUT | 中华 | Suppose | 3 | 时 | 坊中 | 时 | 新中心 | Suppose | 1)NMOC | PAR | HOYY | HOdWO | 01811X3 | Art | CHFF | |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x004 | LPTIM_ICR | a | 3 | 3 | y | y | 3 | CON | 奶 | 3 | 3 | 3 | CONDER | y y | : | 3 | 8 | 3 | 3 | 3 | 3 | y y | 3 | 3 | 30 | (1) | (1) | JOXOYY | HOXODIWO | HOONILLX3 | JOWY | 30WdW0 | |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x008 | LPTIM_IER | 3 | 3 | 3 | 超 | 3 | 3 | 38 | S | 3 | 3 | La | gé | 3 | 3 | y y | 1,010 | 3 | y | 5 | 3 | : | STA | y1 | 3 | 好 | .)3INMOC | (1) 3.1dN | JIJIOUV | 31)10dW0 | 3101811.1X3 | 31WYY | 3IWdWO |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x00C | LPTIM_CFGR | 时 | M | [8]hasonal | 3 | : | BUR | Suppose | Europe | EXCOWINNOC | avoid | 70d3AVM | VALL | inowil | N351Y1 | Light | [0.2]hasonal | mid | PEE | mi | 17:1981 | REPT | CHF | COND | 13SYO | ||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||
0x010 | LPTIM_CR | 时 | : | y | 3 | y | 部 | 好的 | 34 | y | 的 | S | 8 | 好 | y | : | : | y | y | 8 | g | 34 | g | Let | 鲜 | 8 | y y | 8 | JYVISY | LSYINNOC | IVISINO | IVISONS | 379VN3 |
Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
0x014 | LPTIM_CMP | d | a | (a) | 3 | 8 | 8 | d | CMP[15:0] | ||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
0x018 | LPTIM_ARR | y | y | 89 | 协 | 8 | 8 | 福 | 8 | 的 | 8 | 电 | 8 | ARR[15:0] | |||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||
0x01C | LPTIM_CNT | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
0x020 | LPTIM OR | 好 | 串串 | 3 | : | 8 | LATE | 明日 | S | : | STRICAL | LIG | 明日 | 13 | 华 | 串 | a | 串 | 中國 | si | 邮 | 3 | : | B | NEW2 | NEW-12 | Nov-20 | IMPO | |||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 |
Signal name | Signal type | Description |
---|---|---|
aes_hclk | Input | AHB bus clock |
aes_it | Output | AES interrupt request |
aes_in_dma | Input/Output | Input DMA single request/acknowledge |
aes_out_dma | Input/Output | Output DMA single request/acknowledge |
AES_IVR3[31:0] | AES_IVR2[31:0] | AES_IVR1[31:0] | AES_IVR0[31:0] |
---|---|---|---|
IVI[127:96] | IVI[95:64] | IVI[63:32] | IVI[31:0\} 32-bit counter = 0x0001 |
Endianness | Bit[0] --------- Bit[31] | Bit[32]---------- Bit[63] | Bit[64] -------- Bit[95] | Bit[96] -------- Bit[127] |
---|---|---|---|---|
Input data | 0x0 | AAD length[31:0] | 0x0 | Payload length[31:0] |
AES_IVR3[31:0] | AES_IVR2[31:0] | AES_IVR1[31:0] | AES_IVR0[31:0] |
---|---|---|---|
ICB[127:96] | ICB[95:64] | ICB[63:32] | ICB[31:0] 32-bit counter = 0x0002 |
AES_IVR3[31:0] | AES_IVR2[31:0] | AES_IVR1[31:0] | AES_IVR0[31:0] |
---|---|---|---|
B0[127:96] | B0[95:64] | B0[63:32] | B0[31:0] |
AES_KEYR7 [31:0] | AES_KEYR6 [31:0] | AES_KEYR5 [31:0] | AES_KEYR4 [31:0] | AES_KEYR3 [31:0] | AES_KEYR2 [31:0] | AES_KEYR1 [31:0] | AES_KEYR0 [31:0] |
---|---|---|---|---|---|---|---|
, | - | , | - | KEY[127:96] | KEY[95:64] | KEY[63:32] | KEY[31:0] |
KEY[255:224] | KEY[223:192] | KEY[191:160] | KEY[159:128] | KEY[127:96] | KEY[95:64] | KEY[63:32] | KEY[31:0] |
Interrupt acronym | AES interrupt event | Event flag | Enable bit | Interrupt clear method |
---|---|---|---|---|
AES | computation completed flag | CCF | CCFIE | set CCFC(1) |
read error flag | RDERR | ERRIE | set | |
write error flag | WRERR |
Key size | Mode of operation | Algorithm | Clock cycles |
---|---|---|---|
128-bit | Mode 1: Encryption | ECB, CBC, CTR | 51 |
Mode 2: Key derivation | - | 59 | |
Mode 3: Decryption | ECB, CBC, CTR | 51 | |
Mode 4: Key derivation then decryption | ECB, CBC | 106 |
Key size | Mode of operation | Algorithm | Clock cycles |
---|---|---|---|
256-bit | Mode 1: Encryption | ECB, CBC, CTR | 75 |
Mode 2: Key derivation | - | 82 | |
Mode 3: Decryption | ECB, CBC, CTR | 75 | |
Mode 4: Key derivation then decryption | ECB, CBC | 145 |
Key size | Mode of operation | Algorithm | Init Phase | Header phase(1) | Payload phase(1) | Tag phase(1) |
---|---|---|---|---|---|---|
128-bit | Mode 1: Encryption/ Mode 3: Decryption | GCM | 64 | 35 | 51 | 59 |
CCM | 63 | 55 | 114 | 58 | ||
256-bit | Mode 1: Encryption/ Mode 3: Decryption | GCM | 88 | 35 | 75 | 75 |
CCM | 87 | 79 | 162 | 82 |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NPBLB[3:0] | Res. | 3ZISA3Y | Res. | [8] gowho | |||
rw | rw | rw | rw | rw | rw | ||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | GCMPH[1:0] | NELNOVING | N3NIVWO | ERRIE | CCFIE | ERRC | CCFC | CHMOD[1:0] | MODE[1:0] | DATATYPE[1:0] | EN | ||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
DIN[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DOUT[31:16] | |||||||||||||||
r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DOUT[15:0] | |||||||||||||||
r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[63:48] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[47:32] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[95:80] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[79:64] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[127:112] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[111:96] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IVI[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IVI[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
TVT[47,02] | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IVI[95:80] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IVI[79:64] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IVI[127:112] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
IVI[111:96] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[159:144] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[143:128] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[191:176] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[175:160] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[223:208] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[207:192] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
KEY[255:240] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY[239:224] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SUSP[31:16] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SUSP[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Offset | Register | 31 | 30 | 23 | 2Q3 | 27 | 26 | 26 | 2423 | 22 | 21 | 20 | 1. | 1. | 17 | 1.6 | 16 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x000 | AES_CR | 1.5 | 中心 | LIG | Let | S | LIG | SHIP | BUS | [0:8]879dN | STO | 3ZISA3Y | [Z]GOWHO | [OIL]HdWOO | NELNOVWA | N3NIVWO | Europe | Output | Effect | Output | [O'1] GOWHO | 1.00 | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||
0x004 | AES_SR | 3 | STE | y | 6 | 3 | 好好 | 3,399 | 3S | 3 | SHIP | 1.5 | a | SHOP | y | SHUD | SHI | 3 | 3 | 3 | 3 | 3,399 | y | 3 | 3 | 3 | 金融 | BUR | BSTS | JYJYM | YYJOY | 8 |
Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
0x008 | AES_DINR | DIN[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x00C | AES_DOUTR | DOUT[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x010 | AES_KEYR0 | KEY[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x014 | AES_KEYR1 | KEY[63:32] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x018 | AES_KEYR2 | KEY[95:64] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x01C | AES_KEYR3 | KEY[127:96] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x020 | AES_IVR0 | IVI[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x024 | AES_IVR1 | IVI[63:32] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x028 | AES_IVR2 | IVI[95:64] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Offset | Register | 31 | 30 | 23 | 2Q3 | 27 | 26 | 26 | 2423 | 22 | 21 | 20 | 1. | 1. | 17 | 1.5 | 1.5 | 1.4 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x02C | AES_IVR3 | IVI[127:96] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x030 | AES_KEYR4 | KEY[159:128] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x034 | AES_KEYR5 | KEY[191:160] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x038 | AES_KEYR6 | KEY[223:192] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x03C | AES_KEYR7KEY[255:224] | |||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x040 | AES_SUSPOR | SUSP[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x044 | AES_SUSP1RSUSP[31:0] | |||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x048 | AES_SUSP2R | SUSP[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x04C | AES_SUSP3R | SUSP[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x050 | AES SUSP4R | SUSP[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x054 | AES SUSP5R | SUSP[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x058 | AES SUSP6R | SUSP[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x05C | AES SUSP7R | SUSP[31:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x060- 0x3FF | Reserved | 13 | 83 | S | 13 | 3 | 3 | 3 | 8a | 8 | S | : | 3 | : | 3 | : | 3 | S | 23 | 3 | 3 | 3 | 8 | 13 | 8 | a | 福 | 3 | 3 | 13 |
Pin name | Signal type | Description |
---|---|---|
RTC_TS | Input | RTC timestamp input |
RTC_REFIN | Input | RTC 50 or 60 Hz reference clock input |
RTC_OUT1 | Output | RTC output 1 |
RTC_OUT2 | Output | RTC output 2 |
Internal signal name | Signal type | Description |
---|---|---|
rtc_ker_ck | Input | RTC kernel clock, also named RTCCLK in this document |
rtc_pclk | Input | RTC APB clock |
rtc_its | Input | RTC internal timestamp event |
rtc_tamp_evt | Input | Tamper event (internal or external) detected in TAMP peripheral |
rtc_it | Output | RTC interrupts (refer to Section 35.5: RTC interrupts for details) |
rtc_alra_trg | Output | RTC alarm A event detection trigger |
rtc_alrb_trg | Output | RTC alarm B event detection trigger |
rtc_wut_trg | Output | RTC wakeup timer event detection trigger |
rtc_calovf | Output | RTC calendar overflow |
Signal name | Source/destination |
---|---|
rtc_its | From power controller (PWR): main power loss/switch to |
rtc_tamp_evt | From TAMP peripheral: tamp_evt |
rtc_calovf | To TAMP peripheral: tamp_itamp5 |
PC13 Pin function | [0:1]73SO(ajqeua Ind,Ino WYVIV) | 30dWV1(ajqeua jndyno 23dWVL) | Q4(ajqeua jndyno girvo) | NEZINO | nd waivdWyl | ELAWVL(ajqeua jndu! LNITdWVL) | TSE(a|qua 1ndu! SLTOLY) | |
---|---|---|---|---|---|---|---|---|
TAMPALRM output Push-Pull | 01 or 10 or 11 | 0 | Don't care | Don't care | 0 | 0 | Don't care | Don't care |
00 | 1 | |||||||
01 or 10 or 11 | 1 |
Table 5.5.1 The configuration(commutative) | |||||||||
---|---|---|---|---|---|---|---|---|---|
PC13 Pin function | [O'1]73SO(a)qua ¿nd¡no WăVṖv) | 30dWV1(ajqeua jndyno djdwyl) | COUTE(a queue and no gives) | NEZINO | nd warvdwyl | 3ldWV1(a|queua indu! INITd | TS(a|qua indu! SLTOLY) | ||
TAMPALRM output Open-Drain(2) | No pull | 01 or 10 or 11 | 0 | Don't care | Don't care | 1 | 0 | Don't care | Don't care |
00 | 1 | ||||||||
01 or 10 or 11 | 1 | ||||||||
Internal pull-up | 01 or 10 or 11 | 0 | Don't care | Don't care | 1 | 1 | Don't care | Don't care | |
00 | 1 | ||||||||
01 or 10 or 11 | 1 | ||||||||
CALIB output PP | 00 | 0 | 1 | 0 | Don't care | Don't care | Don't care | Don't care | |
TAMP_IN1 input floating | 00 | 0 | 0 | Don't care | Don't care | Don't care | 1 | 0 | |
00 | 0 | 1 | 1 | ||||||
Don't care | Don't care | 0 | |||||||
RTC_TS and TAMP_IN1 input floating | 00 | 0 | 0 | Don't care | Don't care | Don't care | 1 | 1 | |
00 | 0 | 1 | 1 | ||||||
Don't care | Don't care | 0 | |||||||
RTC_TS input floating | 00 | 0 | 0 | Don't care | Don't care | Don't care | 0 | 1 | |
00 | 0 | 1 | 1 | ||||||
Don't care | Don't care | 0 |
PC13 Pin function | [0:1]73SO(a)quark and,no WYVW) | 30dWV1(ajqeua ¿nd,no ¿3dWv1) | COU(a qual indino girl(v) | NEZINO | nd WarvdWV1 | TSE(a|qua \}ndu! SL_018) | ||
---|---|---|---|---|---|---|---|---|
Wakeup pin or Standard GPIO | 00 | 0 | 0 | Don't care | Don't care | Don't care | 0 | 0 |
00 | 0 | 1 | 1 | |||||
Don't care | Don't care | 0 |
OSEL[1:0] bits ALARM output enable) | COE bit (CALIB output enable) | OUT2EN bit | RTC_OUT1 on PC13 | RTC_OUT2 on PB2 |
---|---|---|---|---|
00 | 0 | 0 | - | - |
00 | 1 | CALIB | - | |
01 or 10 or 11 | Don't care | TAMPALRM | - | |
00 | 0 | 1 | - | - |
00 | 1 | - | CALIB | |
01 or 10 or 11 | 0 | - | TAMPALRM | |
01 or 10 or 11 | 1 | TAMPALRM | CALIB |
1. Set INIT bit to 1 in the RTC_ICSR register to enter initialization mode. In this mode, the calendar counter is stopped and its value can be updated. | |
2. Poll INITF bit of in the RTC_ICSR register. The initialization phase mode is entered when INITF is set to 1. It takes around 2 RTCCLK clock cycles (due to clock synchronization). | |
3. To generate a 1 Hz clock for the calendar counter, program both the prescaler factor in RTC_PRER register. | |
4. Load the initial time and date values in the shadow registers (RTC_TR and RTC_DR) and configure the time format (12 or 24 hours) through the FMT bit in the RTC_CR register. | |
5. Exit the initialization mode by clearing the INIT bit. The actual calendar counter value is then automatically loaded and the counting restarts after 4 RTCCLK clock cycles. | |
When the initialization sequence is complete, the calendar starts counting. | |
Note: | After a system reset, the application can read the INITS flag in the RTC_ICSR register to check if the calendar has been initialized or not. If this flag equals 0, the calendar has no been initialized since the year field is set at its Backup domain reset default value (0x00). |
To read the calendar after initialization, the software must first check that the RSF flag is se in the RTC_ICSR register. | |
Daylight saving time | |
The daylight saving time management is performed through bits SUB1H, ADD1H, and BKP of the RTC_CR register. | |
Using SUB1H or ADD1H, the software can subtract or add one hour to the calendar in one single operation without going through the initialization procedure | |
In addition, the software can use the BKP bit to memorize this operation | |
Programming the alarm | |
A similar procedure must be followed to program or update the programmable alarms. Th procedure below is given for alarm A but can be translated in the same way for alarm B. | |
1. Clear ALRAE in RTC_CR to disable alarm A. | |
2. Program the alarm A registers (RTC_ALRMASSR/RTC_ALRMAR). | |
3. Set ALRAE in the RTC_CR register to enable alarm A again. | |
Note: | Each change of the RTC_CR register is taken into account after around 2 RTCCLK clock cycles due to clock synchronization. |
Programming the wakeup timer | |
The following sequence is required to configure or change the wakeup timer auto-reload value (WUT[15:0] in RTC_WUTR): | |
1. Clear WUTE in RTC_CR to disable the wakeup timer | |
Poll WUTWF until it is set in RTC_ICSR to make sure the access to wakeup auto- reload counter and to WUCKSEL[2:0] bits is allowed. This step must be skipped in calendar initialization mode. It takes around 2 RTCCLK clock cycles (due to clock synchronization). | |
3. Program the wakeup auto-reload value WUT[15:0], and the wakeup clock selection (WUCKSEL[2:0] bits in RTC_CR). Set WUTE in RTC_CR to enable the timer again | |
RM0440Real-time clock (RTC) | |
---|---|
Note: | While BYPSHAD = 1, instructions which read the calendar registers require one extra APB cycle to complete. |
35.3.10 | Resetting the RTC |
The calendar shadow registers (RTC_SSR, RTC_TR and RTC_DR) and some bits of the RTC status register (RTC_ICSR) are reset to their default values by all available system reset sources. | |
On the contrary, the following registers are reset to their default values by a Backup domain reset and are not affected by a system reset: the RTC current calendar registers, the RTC control register (RTC_CR), the prescaler register (RTC_PRER), the RTC calibration register (RTC_CALR), the RTC shift register (RTC_SHIFTR), the RTC timestamp registers (RTC_TSSSR, RTC_TSTR and RTC_TSDR), the wakeup timer register (RTC_WUTR), an the alarm A and alarm B registers (RTC_ALRMASSR/RTC_ALRMAR and RTC_ALRMBSSR/RTC_ALRMBR) | |
In addition, when clocked by LSE, the RTC keeps on running under system reset if the reset source is different from the Backup domain reset one (refer to RCC for details about RTC clock sources not affected by system reset). When a Backup domain reset occurs, the RTC is stopped and all the RTC registers are set to their reset values. | |
35.3.11 | RTC synchronization |
The RTC can be synchronized to a remote clock with a high degree of precision. After reading the sub-second field (RTC_SSR or RTC_TSSSR), a calculation can be made of the precise offset between the times being maintained by the remote clock and the RTC. The RTC can then be adjusted to eliminate this offset by "shifting" its clock by a fraction of a second using RTC_SHIFTR | |
RTC_SSR contains the value of the synchronous prescaler counter. This allows one to calculate the exact time being maintained by the RTC down to a resolution 1 / (PREDIV_S + 1) seconds. As a consequence, the resolution can be improved by increasing the synchronous prescaler value (PREDIV_S[14:0]. The maximum resolution allowed (30.52 µs with a 32768 Hz clock) is obtained with PREDIV_S set to 0x7FFF. | |
However, increasing PREDIV_S means that PREDIV_A must be decreased in order to maintain the synchronous prescaler output at | |
The RTC can be finely adjusted using the RTC shift control register (RTC_SHIFTR). Writing to RTC_SHIFTR can shift (either delay or advance) the clock by up to a second with a resolution of | |
Caution: | Before initiating a shift operation,the user must check that |
As soon as a shift operation is initiated by a write to the RTC_SHIFTR register, the SHPF flag is set by hardware to indicate that a shift operation is pending. This bit is cleared by hardware as soon as the shift operation has completed |
The calendar is saved in the timestamp registers (RTC_TSSSR, RTC_TSTR, RTC_TSDR) when an internal timestamp event is detected. The internal timestamp event is generated by the switch to the | |
When a timestamp event occurs, due to internal or external event, the timestamp flag bi (TSF) in RTC_SR register is set. In case the event is internal, the ITSF flag is also set in RTC_SR register. | |
By setting the TSIE bit in the RTC_CR register, an interrupt is generated when a timestamp event occurs. | |
If a new timestamp event is detected while the timestamp flag (TSF) is already set, the timestamp overflow flag (TSOVF) flag is set and the timestamp registers (RTC_TSTR and RTC_TSDR) maintain the results of the previous event. | |
Note: | TSF is set 2 ck_apre cycles after the timestamp event occurs due to synchronization process. |
There is no delay in the setting of TSOVF. This means that if two timestamp events are close together, TSOVF can be seen as ’1’ while TSF is still ’0’. As a consequence, it is recommended to poll TSOVF only after TSF has been set. | |
Caution: | If a timestamp event occurs immediately after the TSF bit is supposed to be cleared, ther both TSF and TSOVF bits are set. To avoid masking a timestamp event occurring at the same moment, the application must not write 0 into TSF bit unless it has already read it to 1 |
Optionally, a tamper event can cause a timestamp to be recorded. See the description of the TAMPTS control bit in the RTC control register (RTC_CR). | |
35.3.15 | Calibration clock output |
When the COE bit is set to 1 in the RTC_CR register, a reference clock is provided on the CALIB device output. | |
If the COSEL bit in the RTC_CR register is reset and PREDIV_A = 0x7F, the CALIB frequency is | |
When COSEL is set and "PREDIV_S+1" is a non-zero multiple of 256 (i.e: PREDIV_S[7:0] = 0xFF), the CALIB frequency is fRTCCLK/(256 * (PREDIV_A+1)). This corresponds to a calibration output at 1 Hz for prescaler default values (PREDIV_A = 0x7F, PREDIV_S 0xFF), with an RTCCLK frequency at 32.768 kHz. | |
Note: | When the CALIB output is selected, the RTC_OUT1 pin is automatically configured but the proof. RTC_OUT2 pin must be set as alternate function. |
When COSEL is cleared, the CALIB output is the output of the | |
When COSEL is set, the CALIB output is the output of the |
When the TAMPOE control bit is set in the RTC_CR, all external and internal tamper flag. are ORed and routed to the TAMPALRM output. If OSEL = 00 the TAMPALRM out reflects only the tampers flags. If OSEL ≠ 00, the signal on TAMPALRM provides both tamper flags and alarm A, B, or wakeup flag. | |
The polarity of the TAMPALRM output is determined by the POL control bit in RTC_CR so that the opposite of the selected flags bit is output when POL is set to 1 | |
TAMPALRM output | |
The TAMPALRM pin can be configured in output open drain or output push-pull using the control bit TAMPALRM_TYPE in the RTC_CR register. It is possible to apply the intern pull-up in output mode thanks to TAMPALRM_PU in the RTC_CR | |
Note: | Once the TAMPALRM output is enabled, it has priority over CALIB on RTC_OUT1. |
When TAMPALRM output is selected, the RTC_OUT1 pin is automatically configured but the RTC_OUT2 pin must be set as alternate function. In case the TAMPALRM is configurated by the first figure the relation of open-drain in the RTC, the RTC_OUT1 GPIO must be configured as input. |
Mode | Description |
---|---|
Sleep | No effect RTC interrupts cause the device to exit the Sleep mode |
Stop | The RTC remains active when the RTC clock source is LSE or LSI. RTC interrupts cause the device to exit the Stop mode. |
Standby | The RTC remains active when the RTC clock source is LSE or LSI. RTC interrupts cause the device to exit the Standby mode. |
Shutdown | The RTC remains active when the RTC clock source is LSE. RTC interrupts cause th device to exit the Shutdown mode. |
Functions | Functional in all low- power modes except Standby and Shutdown modes | Functional in Standby and Shutdown mode | Functional in |
---|---|---|---|
RTC_TS | Yes | Yes | Yes |
RTC_REFIN | Yes | No | No |
RTC_OUT1 | Yes | Yes | Yes |
RTC_OUT2 | Yes | No | No |
Interrupt acronym | Interrupt event | Event flag(1) | Enable control bit(2) | Interrupt clear method | Exit from Sleep mode | Exit from Stop and Standby mode | Exit from Shutdown mode |
---|---|---|---|---|---|---|---|
RTC | Alarm A | ALRAF | ALRAIE | write 1 in CALRAF | Yes | Yes(3) | Yes(4) |
Alarm B | ALRBF | ALRBIE | write 1 in CALRBF | Yes | Yes(3) | Yes(4) | |
Timestamp | TSF | TSIE | write 1 in CTSF | Yes | Yes(3) | Yes(4) | |
Wakeup timer interrupt | WUTF | WUTIE | write 1 in CWUTF | Yes | Yes(3) | Yes(4) |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PM | HT[1:0] | HU[3:0] | ||||
rw | rw | rw | rw | rw | rw | rw | |||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | MNT[2:0] | MNU[3:0] | Res. | ST[2:0] | SU[3:0] | ||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | YT[3:0] | YU[3:0] | ||||||
rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WDU[2:0] | MT | MU[3:0] | Res. | Res. | DT[1:0] | DU[3:0] | |||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SS[15:0] | |||||||||||||||
r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Res. | Res | Res. | Res. | Res. | Res | Res. | Res. | INIT | INITF | RSF | INITS | SHPF | WUTW F | ALRB WF | ALRAW F |
rw | r | rc_w0 | r | r | r | r | r |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREDIV_A[6:0] | ||||||
rw | rw | rw | rw | rw | rw | rw | |||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | PREDIV_S[14:0] | ||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OUT2 EN | TAMP ALRM TYPE | TAMP ALRM PU | Res. | Res. | TAMP OE | TAMP TS | ITSE | COE | OSEL[1:0] | POL | COSEL | BKP | SUB1H | ADD1H | |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | w | w | ||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TSIE | WUTIE | ALRB 1E | ALRA IE | TSE | WUTE | ALRBE | ALRAE | Res. | FMT | BYP SHAD | REFCK ON | TS EDGE | WUCKSEL[2:0] | ||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res: | Res. | Res. | Res. | KEY[7:0] | |||||||
w | w | w | w | w | w | w | w |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CALP | CALW8 | CALW 16 | Res. | Res. | Res. | Res. | CALM[8:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PM | HT[1:0] | HU[3:0] | ||||
r | r | r | r | r | r | r |
Res. | MNT[2:0] | MNU[3:0] | Res. | ST[2:0] | SU[3:0] | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
r | r | r | r | r | r | r | r | r | r | r | r | r | r |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WDU[2:0] | MT | MU[3:0] | Res. | Res. | DT[1:0] | DU[3:0] | |||||||||
r | r | r | r | r | r | r | r | r | r | r | r | r |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSK4 | WDSE L | DT[1:0] | DU[3:0] | MSK3 | PM | HT[1:0] | HU[3:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MSK2 | MNT[2:0] | MNU[3:0] | MSK1 | ST[2:0] | SU[3:0] | ||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | MASKSS[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | SS[14:0] | ||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | w | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MSK4 | WD SEL | DT[1:0] | DU[3:0] | MSK3 | PM | HT[1:0] | HU[3:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MSK2 | MNT[2:0] | MNU[3:0] | MSK1 | ST[2:0] | SU[3:0] | ||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | MASKSS[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | SS[14:0] | ||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | w | rw | rw |
To | 14 | 13 | 12 | 11 | 10 | 9 | 0 | 7 | 0 | 0 | 4 | 3 | 2 | 1 | U |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ITSF | TSOVF | TSF | WUTF | ALRBF | ALRAF |
r | r | r | r | r | r |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ITS MF | TSOV MF | TS MF | WUT MF | ALRB MF | ALRA MF |
r | r | r | r | r |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CITS F | CTSOV F | CTS F | CWUT F | CALRB F | CALRA F |
w | w | w | w | w | w |
Offset | Register | 31 | 30 | 23 | 23 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 1Q | 1. | 17 | 伯 | 1.5 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 32 | 10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | RTC_TR | ga | For | 股份 | 中国 | 3 | 海 | 3 | COM | HT [1:0] | HU[3:0] | MNT[2:0] | MNU[3:0] | ST[2:0] | SU[3:0] | ||||||||||||||||
Reset value | 000 | 0000 | 0 | 0 | 0 | 0000 | 0 | 0 | 0 | 0000 | |||||||||||||||||||||
0x04 | RTC_DR | 3,050 | R. | Let | (1) | 3,010 | 5,050 | (a) | 好 | YT[3:0] | YU[3:0] | WDU[2:0] | VI. | MU[3:0] | 3 | DT [1:0] | DU[3:0] | ||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 00 | 01 | |||||||||||
0x08 | RTC_SSR | : | : | S | BRATT | 33 | 333 | 千港元 | 粉 | 千港元 | 88 | 千港元 | BUR | YU | 3 | Proof. | 33 | SS[15:0] | |||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 00 | |||||||||||||||||
0x0C | RTC_ICSR | SHI | 88 | 5 | 郎 | 3 | 6,659 | 3 | 8 | 粥 | 3 | 串 | 6 | 33 | 串 | a | 3d7V038 | 33 | 8 | E | 郎 | 13 | 8 | 粉 | 1,040 | II. | Klit | RSS | IVE | SHATEJM INM | JMAYTYJMVY |
Reset value | 0 | 0 | 0 | 0 | 0 | 01 | 11 | ||||||||||||||||||||||||
0x10 | RTC_PRER | 千港元 | SOC | 好 | 3 | (2) | SHIP | : | 好好 | PREDIV_A[6:0] | PREDIV_S[14:0] | ||||||||||||||||||||
Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 11 | 11 | ||||||||||
0x14 | RTC_WUTR Reset value | 13 | 3 | B | BUS | 3.00 | BUR | 千港元 | Effective | 留 | SHE | 福 | 134,691 | 324 | RASE | Effects | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | WUT[15:0] 1 | 1 | 1 | 1 | 11 | 11 | |
0x18 | RTC_CR | NEZINO | nd warydwyl | 3 | 30dWV1 | SIdWV1 | ICS | 0.00 | O SEL [1:0] | PO | 13SOO | BKPH | HI ans | HLACK | TSE | 311NM | 3188 TV | 3IVY1V | 155 | WIST | ARBIR | Apr-12 | 福 | Furth | CVHSd人8 | NOXOJEY | 3903S1 | wuck SEL[2:0] | |||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 00 | ||||
0x24 | RTC_WPR | 3 | COND | 3 | : | 部 | 粉 | 8 | 千港元 | : | 串 | 3 | 好 | PAR | y | E | 8 | 1.5 | 3 | 8 | B | y | 8 | 19 | 8 | KEY[7:0] | |||||
Reset value | 0 | 0 | 0 | 0 | 00 | 00 | |||||||||||||||||||||||||
0x28 | RTC_ CALR | g | 超 | 8 | 3 | 商 | 8 | 千港元 | 照 | 3 | 8 | (a) | 招 | (a) | 3 | 好 | 3 | CANT | 8MTVO | 91M7V0 | 3 | 3 | 3 | CALM[8:0] | |||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 00 | |||||||||||||||||||||
0x2C | RTC_SHIFTR | slady | 0 | 路 | 5,000 | (a) | SHU | PROS | S | 1.00 | SHU | High | 5 | E | 5,549 | 1.5 | 3,046 | SUBFS[14:0] | |||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 00 | |||||||||||||||||
0x30 | RTC_TSTR | (a) | 好 | (a) | 串 | 8 | 134 | SCON | 好 | 5,000 | PR | HK$’000 | HU[3:0] | [0:z]⊥NW | MNU[3:0] | 3.00 | ST[2:0] | SU[3:0] | |||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0000 | 0 | 0 | 0 | 00 | 00 | |||||||||||||||
0x34 | RTC_TSDR | 1.5 | 8 | 时 | S | Proof. | (1) | PROS | 电话 | COM | (1) | BUB | S | PHY | Proof. | .9 | WDU[1:0] | VII | MU[3:0] | 3 | DT [1:0] | DU[3:0] | |||||||||
Reset value | 0 | 0 | 0 | 0 | 0000 | 0 | 0 | 00 | 00 | ||||||||||||||||||||||
0x38 | RTC_TSSSR | COMP | 8 | COMP | 超 | 好 | SS[15:0] | ||||||||||||||||||||||||
Reset value | 0000000000000000 |
Offset | Register | 31 | 30 | 23 | 23 | 27 | 26 | 23 | 24 | 23 | 22 | 21 | 20 | 1. | 1,6 | 17 | 伯 | 16 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1O |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x40 | RTC_ALRMAR | MSS | 73SGM | DT [1:0] | DU[3:0] | MS5 | Proof. | HT [1:0] | HU[3:0] | MSE2 | MNT[2:0] | MNU[3:0] | Math. | ST[2:0] | SU[3:0] | |||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | |
0x44 | RTC ALRMASSR | B | For | (a) | For | MASKSS [3:0] | bill | BUS | W | S | Effect | Effects | Effective | SQUE | STRON | SS[14:0] | ||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | ||||||||||||||
0x48 | RTC ALRMBR | MSS | 13SGM | DT [1:0] | DU[3:0] | MS5 | PR | HT [1:0] | HU[3:0] | MSE2 | MNT[2:0] | MNU[3:0] | MSS | ST[2:0] | SU[3:0] | |||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | |
0x4C | RTC ALRMBSSR | 3 | : | 1,000 | 3 | MASKSS [3:0] | 中國 | 3 | 3 | 3 | 新 | 3 | 3 | 39 | 钢 | SS[14:0] | ||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | ||||||||||||||
0x50 | RTC_SR | (1) | 中心 | (1,000) | 1,000 | 1,000 | (1,000) | SHIP | (a) | For | Let | S | (a) | 3 | 5,053 | 1,000 | SQUE | 路 | (1) | PUL | 3 | 中国 | 3 | 中国 | 3,133 | 1.00 | vi | IGS | HAOSI | TS | While | AREEJVY TV |
Reset value | 0 | 0 | 0 | 0 | 00 | |||||||||||||||||||||||||||
0x54 | RTC MISR | S | (a) | 1.00 | 1.00% | 1.00 | 5,050 | 股本 | (a) | 股本 | (a) | si | 1,000 | SU | Effect | SU | STA | 好 | (a) | Let | 33 | 1.00 | 福 | Let | 福 | 8 | 3 | IGNE | JIWAOSI | TST | JWINM | JW SYTYJWVY |
Reset value | 0 | 0 | 0 | 0 | 00 | |||||||||||||||||||||||||||
0x5C | RTC SCR | 1,131 | 3 | 1,133 | 3 | 欢迎 | 5,000 | (a) | 5,000 | 1,000 | BALL | 欢迎 | Sept. | 8 | (a) | : | 8 | 3 | 3 | 8 | 3,373 | BUCK | 1,173 | BUCK | S | : | GISTE | HAOSIO | CSTE | 310M0 | 388770JVY170 | |
Reset value | 0 | 0 | 0 | 0 | 00 |
Pin name | Signal type | Description |
---|---|---|
TAMP_INx (x = pin index) | Input | Tamper input pin |
Internal signal name | Signal type | Description |
---|---|---|
tamp_ker_ck | Input | TAMP kernel clock, connected to rtc_ker_ck and also named RTCCLK in this document |
tamp_pclk | Input | TAMP APB clock, connected to rtc_pclk |
tamp_itamp[y] (y = signal index) | Inputs | Internal tamper event sources |
tamp_evt | Output | Tamper event detection (internal or external) The tamp_evt is used to generate a RTC timestamp event |
tamp_erase | Output | Device secrets erase request following tamper event detection (internal or external) |
tamp_it | Output | TAMP interrupt (refer to Section 36.5: TAMP interrupts for details) |
tamp_trg[x] (x = signal index) | Output | Tamper detection trigger |
Signal name | Source/Destination |
---|---|
tamp_evt | rtc_tamp_evt used to generate a timestamp event |
tamp_erase | The tamp_erase signal is used to erase the device secrets listed hereafter: backup registers |
tamp_itamp3 | LSE monitoring |
tamp_itamp4 | HSE monitoring |
tamp_itamp5 | RTC calendar overflow (rtc_calovf) |
tamp_itamp6 | ST manufacturer readout |
This feature is available only when the tamper is configured in the Level detection with filtering on tamper inputs (passive mode) mode (TAMPFLT ≠ 00 and active mode is not selected). | ||
Timestamp on tamper event | ||
With TAMPTS set to 1 in the RTC_CR, any tamper event causes a timestamp to occur. In this case, either the TSF bit or the TSOVF bit is set in RTC_SR, in the same manner as if normal timestamp event occurs. The affected tamper flag register TAMPxF is set in the TAMP_SR at the same time that TSF or TSOVF is set in the RTC_SF | ||
Edge detection on tamper inputs (passive mode) | ||
If the TAMPFLT bits are 00, the TAMP_INx pins generate tamper detection events when either a rising edge/high level or a falling edge/low level is observed depending on the corresponding TAMPxTRG bit. The internal pull-up resistors on the TAMP_INx inputs are deactivated when edge detection is selected | ||
Caution: | When using the edge detection, it is recommended to check by software the tamper pin level just after enabling the tamper detection (by reading the GPIO registers), and before writing sensitive values in the backup registers, to ensure that an active edge did not occur before enabling the tamper event detection. When TAMPFLT = 00 and TAMPxTRG = 0 (rising edge detection), a tamper event may be detected by hardware if the tamper input is already at high level before enabling the tampe detection. | |
After a tamper event has been detected and cleared, the TAMP_INx should be disabled and then re-enabled (TAMPxE set to 1) before re-programming the backup registers (TAMP_BKPxR). This prevents the application from writing to the backup registers while the TAMP_INx input value still indicates a tamper detection. This is equivalent to a level detection on the TAMP_INx input. | ||
Note: | Tamper detection is still active when | |
Level detection with filtering on tamper inputs (passive mode) | ||
Level detection with filtering is performed by setting TAMPFLT to a non-zero value. A tampe detection event is generated when either 2, 4, or 8 (depending on TAMPFLT) consecutive samples are observed at the level designated by the TAMPxTRG bit | ||
The TAMP_INx inputs are precharged through the I/O internal pull-up resistance before its state is sampled, unless disabled by setting TAMPPUDIS to 1 . The duration of the precharge is determined by the TAMPPRCH bits, allowing for larger capacitances on the TAMP_INx inputs. | ||
The trade-off between tamper detection latency and power consumption through the pull-up can be optimized by using TAMPFREQ to determine the frequency of the sampling for level detection. | ||
Note: | Refer to the datasheet for the electrical characteristics of the pull-up resistors. |
Mode | Description |
---|---|
Sleep | No effect. TAMP interrupts cause the device to exit the Sleep mode |
Stop | No effect on all features, except for level detection with filtering mode which remain active only when the clock source is LSE or LSI. Tamper events cause the device to exit the Stop mode. |
Standby | No effect on all features, except for level detection with filtering mode which remain active only when the clock source is LSE or LSI.Tamper events cause the device to ex the Standby mode. |
Shutdown | No effect on all features, except for level detection with filtering mode which remain active only when the clock source is LSE. Tamper events cause the device to exit the Shutdown mode. |
Interrupt acronym | Interrupt event | Event flag(1) | Enable control bit(2) | Interrupt clear method | Exit from Sleep mode | Exit from Stop and Standby modes | Exit from Shutdown mode |
---|---|---|---|---|---|---|---|
TAMP | Tamper x(3) | TAMPxF | TAMPxIE | Write 1 in CTAMPxF | Yes | Yes(4) | Yes(5) |
Internal tamper y(3) | ITAMPyF | ITAMPYIE | Write 1 in CITAMPxF | Yes | Yes(4) | Yes(5) |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | TAMP3 TRG | TAMP2 TRG | TAMP1 TRG | Res. | Res. | Res. | Res. | Res. | TAMP3 MSK | TAMP2 MSK | TAMP1 MSK |
rw | rw | rw | rw | rw | rw | ||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TAMP3 NOER | TAMP2 NOER | TAMP1 NOER |
rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ITAMP6 IE | ITAMP5 IE | ITAMP4 IE | ITAMP3 IE | Res. | Res. |
rw | rw | rw | rw | ||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TAMP 31E | TAMP 21E | TAMP 1IE |
rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res: | Res. | Res | Res. | Res. | Res. | Res. | Res. | Res. | TAMP 3F | TAMP 2F | TAMP 1F |
r | r | r |
BKP[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | w | rw | rw |
d- | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Offset | Register | 31 | 30 | 23 | 23 | 27 | 26 | 23 | 24 | 23 | 22 | 21 | 20 | 1. | 18 | 17 | 1. | 16 | 4 | 13 | 12 | 1 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | O |
0x00 | TAMP_CR1 | 串 | S | 超 | SHE | y | STRAND | 1,471 | REPT | 13 | BUS | 39dWV1I | 39dWV1l | 3bdWV1l | SHIP | SHE | S | S | 中华 | LOU | 串串 | SHE | 3 | SHIP | PAR | R.S. | : | SHIP | : | 3ldWV1 | |||
Reset value | 1 | 1 | 1 | 1 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x04 | TAMP_CR2 | E | 出生 | 3 | COMPER | 路 | OVILEdWVI | SYLZAWVL | SYLLAWVL | SK | 招聘 | 1,133 | 鲜 | HSWEdWV1 | XSWZdWV1 | YSWIdWV1 | BUR | g | y | y | g | 鲜 | g | 千港元 | 新疆 | 粉色 | SHE | 3 | 3 | YEONEHWYL | YEONTHWY | YION LAWVL | |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
0x0C | TAMP_FLTCR | 时 | Let | 1,373 | Let | SCO | 3 | 时间 | LUM | 新 | 3,050 | 3.3 | COND | STRAND | 1,000 | Let | y | Let | y | 3 | of | COND | Let | 时 | Let | SIGNDDINVI | [0:1]HOdddWV1 | [0:2]032,1.1,1.1 | |||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
0x2C | TAMP_IER | 3 | 3 | 3,471 | POT | 好 | 8 | 3 | 5,459 | 股本 | 5,459 | 319dWV1l | 311.1 | 318dWVL1 | : | POT | 到 | 5,459 | 3 | COND | S | 3 | POT | STRAND | 2,473 | 1,000 | 好 | 43 | 311dWV1 | ||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x30 | TAMP_SR | y | 3 | 33 | 新 | 千港元 | 8 | For | : | 路 | 招 | 19dWV1I | JSdWV1I | JtdWV1I | JEdWVLI | 34 | : | 新华 | 33 | 3 | a | STRAND | 8 | 股份 | 3 | :3 | 33 | SH | For | : | JEdWV1 | JZdWV1 | 北dWV1 |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x34 | TAMP_MISR | THE | 3 | Rep | 3 | 1.0 | SQUE | BUD | 坊 | y | 5,959 | JW9dWV1I | JWSDWVLI | JWTDWVLI | JWEdWV⊥1 | SQUE | S | La | SCON | STRIC | Suppose | SHIP | Suppose | 1,000 | 3 | (a) | PROM | 1.00 | 中华 | JWEdWV1 | JWZdWV1 | JWLdWV1 | |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x3C | TAMP_SCR | 8 | 3 | 8 | SQUEST | 股本 | 1,373 | REPT | 部 | 股本 | 超 | 19dWVL10 | JSDWVID | 北dWV1i0 | JEdWVLIO | 3 | 3 | BUR | S | REPT | S | 8 | 经营 | 新鲜 | 3 | 3 | 粉 | 3 | 股本 | 3 | JEdWVLO | JITHWIN | HdWV10 |
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
0x100 + 0x04*x, (x = 0 to 31) | TAMP_BKPxR | BKP[31:0] | |||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
USART / LPUART modes/features(1) | USART1/2/3 | UART4/5 | LPUART1 |
---|---|---|---|
Hardware flow control for modem | X | X | X |
Continuous communication using DMA | X | X | X |
Multiprocessor communication | X | X | X |
Synchronous mode (Master/Slave) | X | - | - |
Smartcard mode | X | - | - |
Single-wire half-duplex communication | X | X | X |
IrDA SIR ENDEC block | X | X | - |
LIN mode | X | X | - |
Dual clock domain and wake-up from low-power mode | X | X | X |
Receiver timeout interrupt | X | X | - |
Modbus communication | X | X | - |
Auto baud rate detection | X | X | - |
Driver Enable | X | X | X |
USART data length | 7, 8 and 9 bits | ||
Tx/Rx FIFO | X | X | X |
Tx/Rx FIFO size | 8 |
Pin name | Signal type | Description |
---|---|---|
USART_RX/UART_RX | Input | Serial data receive input |
USART_TX/UART_TX | Output | Transmit data output |
USART_CTS/UART_CTS | Input | Clear to send |
USART_RTS/UART_RTS | Output | Request to send |
Output | Driver enable | |
USART_CK | Output | Clock output in synchronous master and smartcard modes. |
USART NSS(3) | Input | Slave select input in synchronous slave mode |
Pin name | Signal type | Description |
---|---|---|
usart_pclk | Input | APB clock |
usart_ker_ck | Input | USART kernel clock |
usart_wkup | Output | USART provides a wake-up interrupt |
usart_it | Output | USART global interrupt |
usart_tx_dma | Input/output | USART transmit DMA request |
usart_rx_dma | Input/output | USART receive DMA request |
The word length can be set to 7, 8 or 9 bits, by programming the M bits (M0: bit 12 and M1: bit 28) in the USART_CR1 register (see Figure 532): | |
- 7-bit character length: M[1:0] = '10' | |
- 8-bit character length: M[1:0] = '00' | |
- 9-bit character length: M[1:0] = '01' | |
Note: | In 7-bit data length mode, the smartcard mode, LIN master mode and auto baud rate (0x7 and 0x55 frames detection) are not supported. |
By default, the signal (TX or RX) is in low state during the start bit. It is in high state durin the stop bit. | |
These values can be inverted, separately for each signal, through polarity configuration control. | |
An Idle character is interpreted as an entire frame of "1"s (the number of "1"s includes the number of stop bits). | |
Sampled value | NE status | Received bit value |
---|---|---|
000 | 0 | 0 |
001 | 1 | 0 |
010 | 1 | 0 |
011 | 1 | 1 |
100 | 1 | 0 |
101 | 1 | 1 |
110 | 1 | 1 |
111 | 0 | 1 |
M bits | OVER8 bit = 0 | OVER8 bit = 1 | ||
---|---|---|---|---|
ONEBIT = 0 | ONEBIT = 1 | ONEBIT = 0 | ONEBIT = 1 | |
00 | 3.75% | 4.375% | 2.50% | 3.75% |
01 | 3.41% | 3.97% | 2.27% | 3.41% |
10 | 4.16% | 4.86% | 2.77% | 4.16% |
M bits | OVER8 bit = 0 | OVER8 bit = 1 | ||
---|---|---|---|---|
ONEBIT = 0 | ONEBIT = 1 | ONEBIT = 0 | ONEBIT = 1 | |
00 | 3.33% | 3.88% | 2% | 3% |
01 | 3.03% | 3.53% | 1.82% | 2.73% |
10 | 3.7% | 4.31% | 2.22% | 3.33% |
RX Data 3 Data 4 RWU MMRQ written to 1 MSv31154V1 | |
Note: | If the MMRQ is set while the IDLE character has already elapsed, mute mode is not entered. (RWU is not set). If the USART is activated while the line is IDLE, the idle state is detected after the duration of one IDLE frame (not only after the reception of one character frame 4-bit/7-bit address mark detection (WAKE = 1) In this mode, bytes are recognized as addresses if their MSB is a ‘1’, otherwise they are considered as data. In an address byte, the address of the targeted receiver is put in the or 7 LSBs. The choice of 7 or 4 bit address detection is done using the ADDM7 bit. This 4- bit/7-bit word is compared by the receiver with its own address which is programmed in the ADD bits in the USART_CR2 register In 7-bit and 9-bit data modes, address detection is done on 6-bit and 8-bit addresses (ADD[5:0] and ADD[7:0]) respectively. |
Note: | |
The USART enters mute mode when an address character is received which does not match its programmed address. In this case, the RWU bit is set by hardware. The RXNE flag is not set for this address byte and no interrupt or DMA request is issued when the USART enters mute mode. When FIFO management is enabled, the software should ensure that there is at least one empty location in the RXFIFO before entering mute mode | |
The USART also enters mute mode when the MMRQ bit is written to 1. The RWU bit is also automatically set in this case. | |
The USART exits from mute mode when an address character is received which matches the programmed address. Then the RWU bit is cleared and subsequent bytes are received normally. The RXNE/RXFNE bit is set for the address character since the RWU bit has been cleared. | |
Note: | When FIFO management is enabled, when MMRQ is set while the receiver is sampling last bit of a data, this data may be received before effectively entering in mute mode |
An example of mute mode behavior using address mark detection is given in Figure 540 |
M bits | PCE bit | USART frame(1) |
---|---|---|
00 | 0 | | SB | 8 bit data | STB | |
00 | 1 | | SB | 7-bit data | PB | STB | |
01 | 0 | | SB | 9-bit data | STB | |
01 | 1 | | SB | 8-bit data PB | STB | |
10 | 0 | | SB | 7bit data | STB | |
10 | 1 | | SB | 6-bit data | PB | STB | |
RM0440 | Universal synchronous/asynchronous receiver transmitter (USART/UART) |
---|---|
(0x0). With this value, an interrupt is generated after the 4th received character. The software must read the LEN field (third byte), its value must be read from the receive buffer. | |
In interrupt driven receive mode, the length of the block may be checked by software or by programming the BLEN value. However, before the start of the block, the maximum value of BLEN (0xFF) may be programmed. The real value is programmed after the reception of the third character. | |
If the block is using the LRC longitudinal redundancy check (1 epilogue byte), the BLEN = LEN. If the block is using the CRC mechanism (2 epilog bytes), BLEN = LEN+1 must be programmed. The total block length (including prologue, epilogue and information fields) equals BLEN+4. The end of the block is signaled to the software through the EOBF flag and interrupt (when EOBIE bit is set). | |
In case of an error in the block length, the end of the block is signaled by the RTO interrupt (Character Wait Time overflow). | |
Note: | The error checking code (LRC/CRC) must be computed/verified by software. |
Direct and inverse convention | |
The smartcard protocol defines two conventions: direct and inverse | |
The direct convention is defined as: LSB first, logical bit value of 1 corresponds to a H state of the line and parity is even. In order to use this convention, the following control bits must be programmed: MSBFIRST = 0, DATAINV = 0 (default values). | |
The inverse convention is defined as: MSB first, logical bit value 1 corresponds to an L state on the signal line and parity is even. In order to use this convention, the following control bits must be programmed: MSBFIRST = 1, DATAINV = 1. | |
Note: | When logical data values are inverted |
In order to recognize the card convention, the card sends the initial character, TS, as the first character of the ATR (Answer To Reset) frame. The two possible patterns for the TS are: LHHL LLL LLH and LHHL HHH LLH. | |
(H) LHHL LLL LLH sets up the inverse convention: state L encodes value 1 and moment 2 conveys the most significant bit (MSB first). When decoded by inverse convention, the conveyed byte is equal to ’3F’. | |
(H) LHHL HHH LLH sets up the direct convention: state H encodes value 1 and moment 2 conveys the least significant bit (LSB first). When decoded by direct convention, the conveyed byte is equal to ’3B’. | |
Character parity is correct when there is an even number of bits set to 1 in the nine moments 2 to 10. | |
As the USART does not know which convention is used by the card, it needs to be able to recognize either pattern and act accordingly. The pattern recognition is not done hardware, but through a software sequence. Moreover, assuming that the USART is configured in direct convention (default) and the card answers with the inverse convention. TS = LHHL LLL LLH results in a USART received character of 03 and an odd parity. | |
Mode | Description |
---|---|
Sleep | No effect. USART interrupts cause the device to exit Sleep mode. |
Stop(1) | The content of the USART registers is kept The USART is able to wake up the microcontroller from Stop mode wher the USART is clocked by an oscillator available in Stop mode. |
Standby | The USART peripheral is powered down and must be reinitialized afte exiting Standby mode. |
Interrupt vector | Interrupt event | Event flag | Enable Control bit | Interrupt clear method | Exit from Sleep mode | Exit from Stop(1) modes | Exit from Standby mode |
---|---|---|---|---|---|---|---|
USART or UART | Transmit data register empty | TXE | TXEIE | Write TDR | Yes | No | No |
Transmit FIFO not Full | TXFNF | TXFNFIE | TXFIFO full | No | |||
Transmit FIFO Empty | TXFE | TXFEIE | Write TDR or write 1 in TXFRQ | Yes | |||
Transmit FIFO threshold reached | TXFT | TXFTIE | Write TDR | Yes | |||
CTS interrupt | CTSIF | CTSIE | Write 1 in CTSCF | No | |||
Transmission Complete | TC | TCIE | Write TDR or write 1 in TCCF | No | |||
Transmission Complete Before Guard Time | TCBGT | TCBGTIE | Write TDR or write 1 in TCBGT | No | |||
USART or UART | Receive data register not empty (data ready to be read) | RXNE | RXNEIE | Read RDR or write 1 in RXFRQ | Yes | Yes | No |
Receive FIFO Not Empty | RXFNE | RXFNEIE | Read RDR until RXFIFO empty or write 1 in RXFRQ | Yes | |||
Receive FIFO Full | RXFF(2) | RXFFIE | Read RDR | Yes | |||
Receive FIFO threshold reached | RXFT | RXFTIE | Read RDR | Yes | |||
Overrun error detected | ORE | RXNEIE/ RXFNEIE | Write 1 in ORECF | No | |||
Idle line detected | IDLE | IDLEIE | Write 1 in IDLECF | No | |||
Parity error | PE | PEIE | Write 1 in PECF | No | |||
LIN break | LBDF | LBDIE | Write 1 in LBDCF | No | |||
Noise error in multibuffer communication | NE | EIE | Write 1 in NFCF | No | |||
Overrun error in multibuffer communication | ORE(3) | Write 1 in ORECF | No | ||||
Framing Error in multibuffer communication | FE | Write 1 in FECF | No | ||||
Character match | CMF | CMIE | Write 1 in CMCF | No | |||
Receiver timeout | RTOF | RTOFIE | Write 1 in RTOCCF | No | |||
End of Block | EOBF | EOBIE | Write 1 in EOBCF | No | |||
Wake-up from low-power mode | WUF | WUFIE | Write 1 in WUC | Yes | |||
SPI slave underrun error | UDR | EIE | Write 1 in UDRCF | No |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RXF FIE | TXFEIE | FIFO EN | M1 | EOBIE | RTOIE | DEAT[4:0] | DEDT[4:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8 | CMIE | MME | M0 | WAKE | PCE | PS | PEIE | TXFNFI E | TCIE | RXFNE IE | IDLEIE | TE | RE | UESM | UE |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | FIFO EN | M1 | EOBIE | RTOIE | DEAT[4:0] | DEDT[4:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
OVER8 | CMIE | MME | M0 | WAKE | PCE | PS | PEIE | TXEIE | TCIE | RXNEI E | IDLEIE | TE | RE | UESM | UE |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ADD[7:0] | RTOEN | ABRMOD[1:0] | ABREN | MSBFI RST | DATAIN V | TXINV | RXINV | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SWAP | LINEN | STOP[1:0] | CLKEN | CPOL | CPHA | LBCL | Res. | LBDIE | LBDL | ADDM7 | DIS NSS | Res. | Res. | SLVEN | |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TXFTCFG[2:0] | RXF TIE | RXFTCFG[2:0] | TCBG TIE | TXFTIE | WUFIE | WUS[1:0] | SCARCNT[2:0] | Res. | |||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEP | DEM | DDRE | OVR DIS | ONE BIT | CTSIE | CTSE | RTSE | DMAT | DMAR | SCEN | NACK | HD SEL | IRLP | IREN | EIE |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BLEN[7:0] | RTO[23:16] | ||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RTO[15:0] | |||||||||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | TXFT | RXFT | TCBGT | RXFF | TXFE | RE ACK | TE ACK | WUF | RWU | SBKF | CMF | BUSY |
r | r | r | r | r | r | r | r | r | r | r | r | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF | ABRE | UDR | EOBF | RTOF | CTS | CTSIF | LBDF | TXFNF | TC | RXFNE | IDLE | ORE | NE | FE | PE |
r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | TCBGT | Res. | Res. | RE ACK | TE ACK | WUF | RWU | SBKF | CMF | BUSY |
r | r | r | r | r | r | r | r | ||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ABRF | ABRE | UDR | EOBF | RTOF | CTS | CTSIF | LBDF | TXE | TC | RXNE | IDLE | ORE | NE | FE | PE |
r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Res. | Res. | Res. | Res. | Res. | Res. | Res. | TDR[8:0] | ||||||||
rw | rw | rw | rw | rw | rw | rw | rw | rw |
Offset | Register name reset value | 3,311 | 300 | 23 | 2Q3 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 1. | 1,8 | 17 | 16 | 16 | 件 | 13 | 亿 | 们 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | USART CR1 FIFO enabled | 3133X8 | 313.9X1 | N30313 | MM | ECE | ROUS | DEAT[4:0] | DEDT[4:0] | 8日AO | CHK$’000 | NVVV | MVD | WMM | POF | PS | PEE | 313N3X1 | TCHF | 313NJXY | IDE | TE | REE | Univ. | 当 | ||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x00 | USART CR1 FIFO disabled | 中 | N30311 | MM | ECE | ROUTE | DEAT[4:0] | DEDT[4:0] | 8日AO | CHK$’000 | NVVV | MVD | VAKE | PCE | PP | PHE | 12/2021 | TCLE | 313NXY | IOUE | 正 | REE | Univ. | 当 | |||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
0x04 | USART_CR2 | ADD[7:0] | N301Y | 0:1]gowygy | Apr-12 | is an | ANIVIVO | The | Revisite | SMAR | Jun-20 | STOP [1:0] | Over County | COND | CHF | 1.3% | 3 | 139,811 | 199 | Apr-20 | SSN SIC | PROM | SHIPT | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||
0x08 | USART_CR3 | [0:2]9.10.1.-1x1. | 30.4X8 | [0:z]9.10.1.3x8 | 31.18801 | 311.3X1 | 313NM | wus [1:0] | SCAR CNT2:0] | DEE | Dec-22 | DEE | SIGYAO | 1.183NO | GUI | C$ | RSS | Dec-19 | DIAND | SEL | Nov-20 | HK$’000 | HR | REE | EE | ||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
0x0C | USART_BRR | SCO | 3 | 1.00 | 3,549 | (a) | SHI | 1.01 | STROP | RECT | SCON | (a)3Problem8BRR[15:0] | |||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
0x10 | USART_GTPR | 33 | SEL | GT[7:0] | PSC[7:0] | ||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
0x14 | USART_RTOR | BLEN[7:0] | RTO[23:0] | ||||||||||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
0x18 | USART_RQR | a | 鲜 | y | 8 | : | 招 | y | g | 路 | 招聘 | y | gas | 3 | 3 | 3 | S | 3 | 3 | 33 | gas | 3 | 3 | 千港元 | 33 | 超市 | 3 | Dec-12 | OUHXY | Management | SHK$’000 | OYYAY | |
Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
0x1C | USART ISR FIFO mode enabled | 部 | :3 | 1.4 | Revisible | (C) 139,971) | RK$’000 | 千港元 | YOVEL | IEE | WH | RMM | SHK$’000 | 0.00% | BIG | ABEE | A股本 | III. | ECG | ROUS | CS | CISTE | 195 | KK$’000 | P | RKFE | IDE | Ope | 当 | HE | 叱 | ||
Reset value | X | X | X | X | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
0x1C | USART ISR FIFO mode disabled | 3 | 福 | 好好 | 新华 | : | Dependent | 好 | RAGE | IEE | VVVV | RMM | SHK$’000 | CHK$’000 | BSS | ABEE | ABEE | USE | Europe | ROUS | CS | Grand | 195 | 7% | P | RMM | IDE | Ope | 火 | 旺 | FE | ||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||
0x20 | USART_ICR | E | 8 | (1) | BUR | (1) | 3 | (b) | 3 | (1) | S | WSTS | 3 | 出 | Output | 6,000 | 3 | down | ECG: | ROOD | GS5 | LandS | 30.15801 | 100,040 | 303.1 | 303101 | 30380 | Nov-20 | ELECT | PECT | |||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
0x24 | USART_RDR | : | S | 8 | 1.5 | 5 | ig | 5,671 | 股本 | RDR[8:0] | |||||||||||||||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Offset | Register name reset value | 31 | 30 | 23 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 1. | 仍 | 伯 | 16 | 件 | 13 | 12 | 1 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 21 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x28 | USART_TDR | 3 | : | 中华 | BUE | 中國 | SHOR | 13 | STRAND | 中國 | S | S | 8 | S | gas | 3 | 3 | HK$’000 | REPT | S | LIM | TDR[8:0] | ||||||||||
Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 00 | 0 | ||||||||||||||||||||||||
0x2C | USART PRESC | : 3 | The | Refs. | 股本 | 1,373 | BUR | S | S | Refs. | B | 3 | 3 | SCON | 超 | 3 | 部 | 3 | 5,000 | 3 | 3 | SCON | 股本 | 3 | STRAND | COMP | STRAND | PRESCALE R[3:0] | ||||
Reset value | 0 | 00 | 0 |