资源介绍
This file contains the main function for AWU Active Halt Mode example. More...
#include "stm8a_lib.h"
#include "mono_lcd.h"
Go to the source code of this file.
Defines
#define BUTTON_PIN (GPIO_PIN_0)
#define BUTTON_PORT (GPIOC)
#define LED1_PIN (GPIO_PIN_3)
#define LED2_PIN (GPIO_PIN_2)
#define LED3_PIN (GPIO_PIN_1)
#define LED4_PIN (GPIO_PIN_0)
#define LEDS_PORT (GPIOH)
Functions
void assert_failed (void)
Reports the name of the source file and the source line number where the assert error has occurred.
void Delay (u16 nCount)
Inssert a delay.
void main (void)
Example main entry point.
- 上一篇: STM8芯片S系列的完整固件库
- 下一篇: stm8s及stm8a外设库