
User’s Manual U14833EJ2V0UM
11
7.2.2
7.2.3
Delaying Tasks..........................................................................................................................85
Timeout......................................................................................................................................85
Cyclic Handlers.........................................................................................................................86
7.5.1
Creating cyclic handlers...............................................................................................................86
7.5.2
Deleting cyclic handlers ...............................................................................................................86
7.5.3
Cyclic handler states....................................................................................................................86
7.5.4
Activating a cyclic handler............................................................................................................87
7.5.5
Terminating cyclic handlers .........................................................................................................87
7.5.6
Cyclic handler phase....................................................................................................................87
7.5.7
Interrupts during cyclic handler execution....................................................................................88
7.5.8
PID...............................................................................................................................................89
7.5.9
Use of coprocessor in cyclic handler............................................................................................89
7.5.10
Issuance of service calls from cyclic handler ...............................................................................89
7.5.11
Obtaining cyclic handler information............................................................................................89
Reading the system clock............................................................................................................84
Updating the system clock...........................................................................................................84
7.3
7.4
7.5
CHAPTER 8 INTERRUPT MANAGEMENT..........................................................................................90
8.1
8.2
Overview....................................................................................................................................90
Interrupt Management ..............................................................................................................90
8.2.1
Interrupt control............................................................................................................................90
8.2.2
Interrupt processing management ...............................................................................................91
Saving/Restoring Registers.....................................................................................................93
Interrupt Generation Notification ............................................................................................93
Interrupt Service Routines.......................................................................................................94
8.5.1
Interrupt service routine ID number and interrupt number ...........................................................94
8.5.2
Creating interrupt service routines...............................................................................................94
8.5.3
Deleting interrupt service routines................................................................................................94
8.5.4
Activating interrupt service routines.............................................................................................94
8.5.5
Terminating interrupt service routines..........................................................................................95
8.5.6
PID...............................................................................................................................................95
8.5.7
Use of coprocessor in interrupt service routine............................................................................95
8.5.8
Issuance of service calls from interrupt service routines..............................................................95
8.3
8.4
8.5
CHAPTER 9 SYSTEM CONFIGURATION MANAGEMENT ...............................................................96
9.1
9.2
Overview....................................................................................................................................96
Exception Processing ..............................................................................................................96
9.2.1
Exception processing flow ...........................................................................................................96
9.2.2
Saving/restoring registers ............................................................................................................99
9.2.3
Exception occurrence notification ................................................................................................99
9.2.4
CPU exception handlers ..............................................................................................................99
Initialization Routines.............................................................................................................101
9.3.1
Defining initialization routines.....................................................................................................101
9.3.2
Activating initialization routines..................................................................................................101
9.3.3
Terminating initialization routines...............................................................................................101
9.3
CHAPTER 10 SERVICE CALL MANAGEMENT...............................................................................102