diff --git a/src/ADC/ADC.c b/src/ADC/ADC.c index 364251c..78cd81c 100644 --- a/src/ADC/ADC.c +++ b/src/ADC/ADC.c @@ -1,8 +1,29 @@ /* - * Author: username - * Date: 2024 + * Author: Jake Goodwin + * Date: 2025 * filename: ADC.c - * description: module_purpose + * description: + */ + +/*DEVNOTES: + * The CH32v003 micro-controllers have 8channels for the ADC that are + * external and 2 internal channels. + * + * The channels/inputs are labeled as AIN0-AIN7 + */ + +/*CH32v003 ADC TO PINs: + * A0 --> PA2 + * A1 --> PA1 + * A2 --> PC2 + * A3 --> PD2 + * A4 --> PD3 + * A5 --> PD5 + * A6 --> PD6 + * A7 --> PD4 + * + * Because they don't exactly match up, I'll need to write up my own + * way to do the mapping. */ #include "ADC.h" diff --git a/src/ADC/ADC.h b/src/ADC/ADC.h index bc5c74a..7791664 100644 --- a/src/ADC/ADC.h +++ b/src/ADC/ADC.h @@ -1,8 +1,8 @@ /** * @brief Interface to the AVR ADC hardware. * @details This file is... - * @author Jake G - * @date 2024 + * @author Jake Goodwin + * @date 2025 * @copyright None * @file ADC.h */