From 99bd378792f1ceb16e815e1d1cb115116b2efcd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 5 Jan 2016 16:43:12 +0100 Subject: [PATCH] Update opamp.h --- opamp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opamp.h b/opamp.h index 5ee8f6b..a9d07a1 100644 --- a/opamp.h +++ b/opamp.h @@ -91,6 +91,9 @@ enum OPAMP_VPS_SEL { OPAMP_VPS_SEL_VP2 = (2 << OPAMP_CSR_VPS_SEL_SHIFT), OPAMP_VPS_SEL_VP3 = (3 << OPAMP_CSR_VPS_SEL_SHIFT), + // The following are just aliases for convenience, mapped for F303. + // probably should not be included in the library, as they're too specific. + // same for the following enums. OPAMP1_VPS_SEL_PA7 = OPAMP_VPS_SEL_VP0, OPAMP1_VPS_SEL_PA5 = OPAMP_VPS_SEL_VP1, OPAMP1_VPS_SEL_PA3 = OPAMP_VPS_SEL_VP2,