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.
bit_offset: 18
bit_size: 1
enum: USERTRIM
- name: TSTREF
description: OPAMP calibration reference voltage output control (reserved for test).
bit_offset: 29
@ -122,6 +123,15 @@ enum/CALSEL:
- name: Percent90
description: VREFOPAMP=90% VDDA.
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:
bit_size: 1
variants:
@ -131,6 +141,15 @@ enum/OPAHSM:
- name: HighSpeed
description: operational amplifier in high-speed mode
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:
bit_size: 2
variants:
@ -149,18 +168,12 @@ enum/VM_SEL:
enum/VP_SEL:
bit_size: 2
variants:
- name: Gpio
description: GPIO connected to OPAMPx_VINP
- name: GpioInp0
description: GPIO INP0 connected to OPAMP_VINP
value: 0
- name: DacOut
description: dac_outx connected to OPAMPx_VINP
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
- name: GpioInp2
description: GPIO INP2 is connected to OPAMP_VINP
value: 2

View File

@ -58,6 +58,7 @@ fieldset/CSR:
description: User trimming enable.
bit_offset: 18
bit_size: 1
enum: USERTRIM
- name: TSTREF
description: OPAMP calibration reference voltage output control (reserved for test).
bit_offset: 29
@ -122,6 +123,15 @@ enum/CALSEL:
- name: Percent90
description: VREFOPAMP=90% VDDA.
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:
bit_size: 1
variants:
@ -131,6 +141,15 @@ enum/OPAHSM:
- name: HighSpeed
description: operational amplifier in high-speed mode
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:
bit_size: 2
variants:
@ -155,12 +174,3 @@ enum/VP_SEL:
- name: DacOut
description: dac_outx connected to OPAMPx_VINP
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