1˵

	1չʾ RT_Thread ϵͳ PIN 豸

2ʹû

	/* Ӳ̶ӦĿӲƽ̨ */
	壺N32L43XM-STB N32L40XM-STB V1.1

3ʹ˵
	
	/* ģ÷:ʱӣI/O */
	SystemClock64MHz
	GPIO:	LED:D1--PA8D2--PB4
	KEY:	KEY1--PA4,KEY2--PA5,KEY3--PA6

	/* DemoĲԲ */
	1.سλ
	2.̴̣߳LED1 ̡߳ LED2 ̺߳keỵ߳LED1 ߳ڿ D1 500ms˸LED2 ߳ڿ D2 250ms˸
	  key߳ڼKEY1KEY2KEY3״̬KEY3 ´жϣڻصдӡ־
    

4 ע
    

1. Function description
    This routine shows to create PIN devices on the RT_Thread system

2. Use environment
    Hardware environment: development hardware platform corresponding to the project 
    Development board:      N32L43XM-STB N32L40XM-STB V1.1

3. Instructions for use
    Describe the configuration method of related modules; for example: clock, I/O, etc. 
        1. SystemClock64MHz
	2. GPIO:	LED:D1--PA8D2--PB4
	3. KEY:		KEY1--PA4,KEY2--PA5,KEY3--PA6
                     Log(USART1): TX--PA9 RX--PA10 Baud rate: 115200

    Describe the test steps and phenomena of Demo 
        1. After compiling, download the program to reset and run;
        2. This routine creates three threads, led1 thread, led2 thread key thread, led1 thread is used to control D1 500ms flashing, led2 thread is used to control D2 250ms flashing, 
            key thread detects KEY0, KEY1 and KEY2, When KEY3 is pressed, the interrupt callback function is called, and the corresponding log is printed when a key is pressed.

4. Matters needing attention
    None.