STC8H1K08 TSSOP20 - UART1 - Mode 1 - 使用 T2 做为波特率发生器
文章目录工程结构:原理图:main.c/** * Interrupt Registers Definition */sfr IE = 0xA8; /* Interrupt Enable Register */sfr IE2 = 0xAF;/** * Interrupt Registers Bits Definition *//** IE */#define GLOBAL_IE_EA (0x80)#define UART_IE_ES (0x10)/** IE