diff --git a/inc/timdac_config_template_ch32v103.h b/inc/timdac_config_template_ch32v103.h index ec2dbe2..04d96e7 100644 --- a/inc/timdac_config_template_ch32v103.h +++ b/inc/timdac_config_template_ch32v103.h @@ -9,11 +9,14 @@ // ---------------------------------------------------------------------------- // MAIN DRIVER CONFIGURATION +// Timer base frequency in Hz #define TIMDAC_TIMERFREQ_HZ 72000000 +// How many channels are present, up to 254 #define TIMDAC_N_CHANNELS 4 -#define TIMDAC_DIAGNOSTIC 1 +// Whether special diagnostic functions should be compiled in +#define TIMDAC_DIAGNOSTIC 0 // Include the reference design hardware parameters here: #include "timdac_config_ref1p0.h" @@ -69,6 +72,6 @@ // OPTIONAL GPIO <>: ISR profiler. Goes high when executing the ISR. // For debugging/development. -#define TIMDAC_HW_GPIO_PROFILE GPIOB, GPIO_Pin_2 +//#define TIMDAC_HW_GPIO_PROFILE GPIOB, GPIO_Pin_2 #endif // !defined(TIMDAC_CONFIG_H)