![ARTERY AT32F435 Series Скачать руководство пользователя страница 499](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592499.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 499
Rev 2.03
remains 0. The RSLOST bit is immediately cleared after
the CALON bit is cleared or when the RSLOST is written
with 0. Reference signal detection occurs only when
CALON=1.
Bit 0
CALRDY
0x0
ro
Internal high-speed clock calibration ready
0: Internal 8MHz oscillator calibration is not ready
1: Internal 8MHz oscillator calibration is ready
Note: This bit is set by hardware to indicate that internal
8MHz oscillator has been calibrated to the frequency
closest to 8MHz. The CALRDY is immediately cleared
after the CALON bit is cleared or when the CALRDY is
written with 0.
22.6.3 Control register 1 (ACC_CTRL1)
Bit
Register
Reset value
Type
Description
Bit 31: 12 Reserved
0x00000
resd
Forced by hardware to 0
Bit 11: 8
STEP
0x1
rw
Calibrated step
This field defines the value after each calibration.
Note: It is recommended to set the step bit in order to get
a more accurate calibration result. While ENTRIM=0, only
the HICKCAL is calibrated. If the step is incremented or
decremented by one, the HICKCAL will be incremented or
decremented by one accordingly, and the HICK frequency
will increase or decrease by 40KHz (design value). This is
a positive relationship.
While ENTRIM=1, only the HICKTRIM is calibrated. If the
step is incremented or decremented by one, the
HICKTRIM will be incremented or decremented by one
accordingly, and the HICK frequency will increase or
decrease by 20KHz (design value). This is a positive
relationship.
Bit 7: 6
Reserved
0x0
rw
Forced by hardware to 0
Bit 5
CALRDYIEN
0x0
rw
CALRDY interrupt enable
This bit is set or cleared by software.
0: Interrupt generation disabled
1: ACC interrupt is generated when CALRDY=1 in the
ACC_STS register
Bit 4
EIEN
0x0
rw
RSLOST error interrupt enable
This bit is set or cleared by software.
0: Interrupt generation disabled
1: ACC interrupt is generated when RSLOST=1 in the
ACC_STS register
Bit 3: 2
Reserved
0x0
rw
Forced by hardware to 0
Bit 1
ENTRIM
0x0
rw
Enable trim
This bit is set or cleared by software.
0: HICKCAL is calibrated.
1: HICKTRIM is calibrated.
Note: It is recommended to set ENTRIM=1 in order to get
higher calibration accuracy.
Bit 0
CALON
0x0
rw
Calibration on
This bit is set or cleared by software.
0: Calibration disabled
1: Calibration enabled, and starts searching for a pulse on
the USB_SOF.
Note: This module cannot be used without the USB_SOF
reference signal. If there are no requirements on the
accuracy of the HICK clock, it is unnecessary to enable
this module.