parent
b9f806d30b
commit
110a0c4b1f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue