Clean up the template header a bit

Closes #8
main
alexis 2023-01-03 21:18:59 -07:00
parent b9f806d30b
commit 110a0c4b1f
1 changed files with 5 additions and 2 deletions

View File

@ -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 <<port, pin>>: 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)