libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Functions | |
void | opamp_enable (uint32_t base) |
void | opamp_disable (uint32_t base) |
void | opamp_lock (uint32_t base) |
void | opamp_set_calsel (uint32_t base, uint32_t calsel) |
void | opamp_force_vp_enable (uint32_t base) |
void | opamp_force_vp_disable (uint32_t base) |
void | opamp_cal_enable (uint32_t base) |
void | opamp_cal_disable (uint32_t base) |
void | opamp_trimoffsetn_set (uint32_t base, uint32_t trim) |
void | opamp_trimoffsetp_set (uint32_t base, uint32_t trim) |
void | opamp_user_trim_enable (uint32_t base) |
void | opamp_user_trim_disable (uint32_t base) |
void | opamp_pga_gain_select (uint32_t base, uint32_t gain) |
void | opamp_vp_select (uint32_t base, uint32_t vp) |
void | opamp_vm_select (uint32_t base, uint32_t vm) |
bool | opamp_read_outcal (uint32_t base) |
void | opamp_tcm_enable (uint32_t base) |
void | opamp_tcm_disable (uint32_t base) |
void | opamp_vps_select (uint32_t base, uint32_t vps) |
void | opamp_vms_select (uint32_t base, uint32_t vms) |
void opamp_cal_disable | ( | uint32_t | base | ) |
Definition at line 62 of file opamp_common_all.c.
References OPAMP_CSR.
void opamp_cal_enable | ( | uint32_t | base | ) |
Definition at line 57 of file opamp_common_all.c.
References OPAMP_CSR, and OPAMP_CSR_CALON.
void opamp_disable | ( | uint32_t | base | ) |
Definition at line 31 of file opamp_common_all.c.
References OPAMP_CSR.
void opamp_enable | ( | uint32_t | base | ) |
Definition at line 26 of file opamp_common_all.c.
References OPAMP_CSR, and OPAMP_CSR_EN.
void opamp_force_vp_disable | ( | uint32_t | base | ) |
Definition at line 52 of file opamp_common_all.c.
References OPAMP_CSR.
void opamp_force_vp_enable | ( | uint32_t | base | ) |
Definition at line 47 of file opamp_common_all.c.
References OPAMP_CSR, and OPAMP_CSR_FORCE_VP.
void opamp_lock | ( | uint32_t | base | ) |
Definition at line 36 of file opamp_common_all.c.
References OPAMP_CSR, and OPAMP_CSR_LOCK.
void opamp_pga_gain_select | ( | uint32_t | base, |
uint32_t | gain | ||
) |
Definition at line 91 of file opamp_common_all.c.
References OPAMP_CSR, OPAMP_CSR_PGA_GAIN_MASK, and OPAMP_CSR_PGA_GAIN_SHIFT.
bool opamp_read_outcal | ( | uint32_t | base | ) |
Definition at line 26 of file opamp_common_v1.c.
References OPAMP_CSR, OPAMP_CSR_OUTCAL_MASK, and OPAMP_CSR_OUTCAL_SHIFT.
void opamp_set_calsel | ( | uint32_t | base, |
uint32_t | calsel | ||
) |
Definition at line 41 of file opamp_common_all.c.
References OPAMP_CSR, OPAMP_CSR_CALSEL_MASK, and OPAMP_CSR_CALSEL_SHIFT.
void opamp_tcm_disable | ( | uint32_t | base | ) |
Definition at line 37 of file opamp_common_v1.c.
References OPAMP_CSR.
void opamp_tcm_enable | ( | uint32_t | base | ) |
Definition at line 32 of file opamp_common_v1.c.
References OPAMP_CSR, and OPAMP_CSR_TCM_EN.
void opamp_trimoffsetn_set | ( | uint32_t | base, |
uint32_t | trim | ||
) |
Definition at line 67 of file opamp_common_all.c.
References OPAMP_CSR, OPAMP_CSR_TRIMOFFSETN_MASK, and OPAMP_CSR_TRIMOFFSETN_SHIFT.
void opamp_trimoffsetp_set | ( | uint32_t | base, |
uint32_t | trim | ||
) |
Definition at line 74 of file opamp_common_all.c.
References OPAMP_CSR, OPAMP_CSR_TRIMOFFSETP_MASK, and OPAMP_CSR_TRIMOFFSETP_SHIFT.
void opamp_user_trim_disable | ( | uint32_t | base | ) |
Definition at line 86 of file opamp_common_all.c.
References OPAMP_CSR.
void opamp_user_trim_enable | ( | uint32_t | base | ) |
Definition at line 81 of file opamp_common_all.c.
References OPAMP_CSR, and OPAMP_CSR_USER_TRIM.
void opamp_vm_select | ( | uint32_t | base, |
uint32_t | vm | ||
) |
Definition at line 105 of file opamp_common_all.c.
References OPAMP_CSR, OPAMP_CSR_VM_SEL_MASK, and OPAMP_CSR_VM_SEL_SHIFT.
void opamp_vms_select | ( | uint32_t | base, |
uint32_t | vms | ||
) |
Definition at line 49 of file opamp_common_v1.c.
References OPAMP_CSR, OPAMP_CSR_VMS_SEL_MASK, and OPAMP_CSR_VMS_SEL_SHIFT.
void opamp_vp_select | ( | uint32_t | base, |
uint32_t | vp | ||
) |
Definition at line 98 of file opamp_common_all.c.
References OPAMP_CSR, OPAMP_CSR_VP_SEL_MASK, and OPAMP_CSR_VP_SEL_SHIFT.
void opamp_vps_select | ( | uint32_t | base, |
uint32_t | vps | ||
) |
Definition at line 42 of file opamp_common_v1.c.
References OPAMP_CSR, OPAMP_CSR_VPS_SEL_MASK, and OPAMP_CSR_VPS_SEL_SHIFT.