GD32W51x User Manual
1015
the HPDF_CHxCFG0 register. The result is round to the nearest value by abandoning the
lowest bit.
Data offset calibration
In the HPDF module, each channel has a data offset calibration value, which is stored in the
CALOFF[23:0] bit field in HPDF_CHxCFG0 register. When offset calibration is performed, the
offset calibration value is subtracted from the output data of the channel to obtain the final
data output by the HPDF module.
Data offset calibration occurs after the right shift of the data.
30.3.14.
HPDF interrupt
HPDF interrupt events can be divided into channel conversion interrupt events, threshold
monitor interrupt events, malfunction monitor interrupt events, and channel clock loss interrupt
events. The specific interrupt event description is as
Table 30-9. HPDF interrupt event
shown.
Table 30-9. HPDF interrupt event
Interrupt event
description
Clear
Enable interrupt
ICEF
end of inserted
conversion
Read HPDF_FLTy IDATA
register
ICEIE
RCEF
end of regular conversion
Read HPDF_FLTy RDATA
register
RCEIE
ICDOF
inserted conversion data
overflow
Write 1 to the ICDOFC bit
ICDOIE
RCDOF
regular conversion data
overflow
Write 1 to RCDOFC bit
RCDOIE
TMEOF
HTF[1:0]
LTF[1:0]
threshold monitor events
Write 1 to HTFC[1:0] bit field
Write 1 to LTFC[1:0] bit field
TMIE
MMF
malfunction event
Write 1 to MMFC[1:0] bits
MMIE
CKLF
Channel clock loss event
Write 1 to CKLFC[1:0] bits
CKLIE
HPDF interrupt logic is as
Figure 30-8. HPDF interrupt logic diagram
shown.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...