EasyManua.ls Logo

Renesas V850 Series - Page 34

Renesas V850 Series
186 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 3 SOFTWARE CONFIGURATION
Application Note U17209EJ1V0AN
37
Figure 3-4. Main Processing
START
hinit
(hardware initialization)
ainit
(used area initialization)
Enable interrupts
: Refer to Figure 3-20 Hardware Initialization.
: Refer to 4.1.5, 4.2.5, 4.3.5, 4.4.5, 4.5.5 Main processing function.
: Refer to Figure 3-21 Common Area Initialization.
SW CW pressed?
Case?
(case 0 to case 7)
SW mode = CW
SW CCW pressed?
SW mode = CCW
SW STOP pressed?
SW mode = STOP
0
1
2
3
4
5
6
C
No
Yes
No
Yes
No
Yes

Table of Contents