migrate
This commit is contained in:
18
fw/n76e003/test1/defaults.h
Normal file
18
fw/n76e003/test1/defaults.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef DEFAULTS_H
|
||||
#define DEFAULTS_H
|
||||
|
||||
#define LED0 P14
|
||||
#define SW0 P13
|
||||
|
||||
#define BUZZER_CLK (16000000 / 12)
|
||||
#define BUZZER_FREQ (1200 * 2)
|
||||
#define BUZZER_PERIOD (0xFFFF - ((BUZZER_CLK / BUZZER_FREQ) - 1))
|
||||
|
||||
#define PWM_CLK (16000000 / 8)
|
||||
#define PWM_FREQ 240
|
||||
#define PWM_PERIOD ((PWM_CLK / PWM_FREQ) - 1)
|
||||
#define PWM_SLICE (PWM_PERIOD / 100)
|
||||
|
||||
#define SRV0_START 0
|
||||
|
||||
#endif /* DEFAULTS_H */
|
||||
Reference in New Issue
Block a user