This commit is contained in:
eZio Pan 2024-02-27 19:59:40 +08:00
parent cb9c35bb4b
commit 69c3921fc3
2 changed files with 43 additions and 20 deletions

View File

@ -58,6 +58,7 @@ fieldset/CSR:
description: User trimming enable. description: User trimming enable.
bit_offset: 18 bit_offset: 18
bit_size: 1 bit_size: 1
enum: USERTRIM
- name: TSTREF - name: TSTREF
description: OPAMP calibration reference voltage output control (reserved for test). description: OPAMP calibration reference voltage output control (reserved for test).
bit_offset: 29 bit_offset: 29
@ -122,6 +123,15 @@ enum/CALSEL:
- name: Percent90 - name: Percent90
description: VREFOPAMP=90% VDDA. description: VREFOPAMP=90% VDDA.
value: 3 value: 3
enum/FORCE_VP:
bit_size: 1
variants:
- name: NormalOperating
description: Normal operating mode. Non-inverting input connected to inputs.
value: 0
- name: CalibrationVerification
description: Calibration verification mode. Non-inverting input connected to calibration reference voltage.
value: 1
enum/OPAHSM: enum/OPAHSM:
bit_size: 1 bit_size: 1
variants: variants:
@ -131,6 +141,15 @@ enum/OPAHSM:
- name: HighSpeed - name: HighSpeed
description: operational amplifier in high-speed mode description: operational amplifier in high-speed mode
value: 1 value: 1
enum/USERTRIM:
bit_size: 1
variants:
- name: Factory
description: \'factory\' trim code used
value: 0
- name: User
description: \'user\' trim code used
value: 1
enum/VM_SEL: enum/VM_SEL:
bit_size: 2 bit_size: 2
variants: variants:
@ -149,18 +168,12 @@ enum/VM_SEL:
enum/VP_SEL: enum/VP_SEL:
bit_size: 2 bit_size: 2
variants: variants:
- name: Gpio - name: GpioInp0
description: GPIO connected to OPAMPx_VINP description: GPIO INP0 connected to OPAMP_VINP
value: 0 value: 0
- name: DacOut - name: DacOut
description: dac_outx connected to OPAMPx_VINP description: dac_outx connected to OPAMPx_VINP
value: 1 value: 1
enum/FORCE_VP: - name: GpioInp2
bit_size: 1 description: GPIO INP2 is connected to OPAMP_VINP
variants: value: 2
- name: NormalOperating
description: Normal operating mode. Non-inverting input connected to inputs.
value: 0
- name: CalibrationVerification
description: Calibration verification mode. Non-inverting input connected to calibration reference voltage.
value: 1

View File

@ -58,6 +58,7 @@ fieldset/CSR:
description: User trimming enable. description: User trimming enable.
bit_offset: 18 bit_offset: 18
bit_size: 1 bit_size: 1
enum: USERTRIM
- name: TSTREF - name: TSTREF
description: OPAMP calibration reference voltage output control (reserved for test). description: OPAMP calibration reference voltage output control (reserved for test).
bit_offset: 29 bit_offset: 29
@ -122,6 +123,15 @@ enum/CALSEL:
- name: Percent90 - name: Percent90
description: VREFOPAMP=90% VDDA. description: VREFOPAMP=90% VDDA.
value: 3 value: 3
enum/FORCE_VP:
bit_size: 1
variants:
- name: NormalOperating
description: Normal operating mode. Non-inverting input connected to inputs.
value: 0
- name: CalibrationVerification
description: Calibration verification mode. Non-inverting input connected to calibration reference voltage.
value: 1
enum/OPAHSM: enum/OPAHSM:
bit_size: 1 bit_size: 1
variants: variants:
@ -131,6 +141,15 @@ enum/OPAHSM:
- name: HighSpeed - name: HighSpeed
description: operational amplifier in high-speed mode description: operational amplifier in high-speed mode
value: 1 value: 1
enum/USERTRIM:
bit_size: 1
variants:
- name: Factory
description: \'factory\' trim code used
value: 0
- name: User
description: \'user\' trim code used
value: 1
enum/VM_SEL: enum/VM_SEL:
bit_size: 2 bit_size: 2
variants: variants:
@ -155,12 +174,3 @@ enum/VP_SEL:
- name: DacOut - name: DacOut
description: dac_outx connected to OPAMPx_VINP description: dac_outx connected to OPAMPx_VINP
value: 1 value: 1
enum/FORCE_VP:
bit_size: 1
variants:
- name: NormalOperating
description: Normal operating mode. Non-inverting input connected to inputs.
value: 0
- name: CalibrationVerification
description: Calibration verification mode. Non-inverting input connected to calibration reference voltage.
value: 1