Download MiniOS7 API Functions Reference
Transcript
9.2.3 SetUserTimer Description The default timer of user timer functions (InstallUserTimerFunction_us()/InstallUserTimerFunction_ms()) use system's timer 0. User can call SetUserTimer(1) to set them to use timer 1. Prototype int SetUserTimer(int no); Arguments num num=0 use timer 0 num=1 use timer 1 Return Value 0 1 Use timer 0 Use timer 1 MiniOS7 API Functions Reference Manual, version 1.12 ,Jan 2009 Page196