Nuvoton M0516LAN Example Code for CoOS Free RTOS
Device:
Evaluation Board:
Complier:
Tasks:
| task_init |
Initialize all the hardware ,Create all the flag and mutex in this application. |
| show_3led |
This task use to show 3 color led. |
| show_lcd |
This task use to show SPI lcd. |
| led_blink |
This task use to blink the 8 leds. |
Descriptions:
1. System samples the value of AD at regular intervals and show it by LCD. You can adjust the input voltage of AD by the regulation resistance on board, and you could see the change on the LCD.
2. 8 LEDs will blink and 3 color led will blink too.
3. Buzzer will ring according to the AD value.
System Configuration:
The max user task:10
Enable Mutexes(CFG_MUTEX_EN) and software timer (CFG_TMR_EN).
- XTAL freq = 12.00 MHz
- SYSCLK freq = 48.00 MHz
- System Tick freq = 100Hz (10ms)
Download File
|