new function

This commit is contained in:
2024-12-07 08:26:54 +08:00
parent 138fc45e27
commit 890287a706
4 changed files with 151 additions and 38 deletions

View File

@@ -35,4 +35,13 @@ OF SUCH DAMAGE.
#ifndef MAIN_H
#define MAIN_H
#define LED_PORT GPIOA
#define LED_PIN GPIO_PIN_7
#define LED_RCU RCU_GPIOA
#define LED_TIMER_RCU RCU_TIMER16
#define LED_TIMER TIMER16
#define LED_IRQ TIMER16_IRQn
void led_config(void);
#endif /* MAIN_H */