12 lines
288 B
C
12 lines
288 B
C
#ifndef FREQUENCY_C
|
|
#define FREQUENCY_C
|
|
#define gSystemClock 120000000 // [Hz] system clock frequency
|
|
|
|
#define PWM_FREQUENCY 20000 // PWM frequency = 20 kHz
|
|
|
|
void start_frequency_scan(void);
|
|
void set_pwm_period(uint32_t period);
|
|
|
|
uint32_t gPeriod;
|
|
uint32_t gPWMPeriod;
|
|
#endif
|