Table of Contents
Chapter1 Initialization of the memory at the time of a power supply injection (power-on boot) Chapter2 Each peripheral initial by C
2-1 About description of C and an assembler............................................................................................................2-2
2-2 Interruption, a peripheral initial............................................................................................................................2-4
2-2-1 Interruption control register......................................................................................................................2-4
2-2-2 Interruption level (multiplex interruption)...............................................................................................2-6
2-3 The Interruption Processing Method.................................................................................................................2-7
2-3-1 Interrupt vector table..........................................................................................................................2-7
2-3-2 Interruption group handler routine..................................................................................................... 2-7
2-3-3 Interruption processing program........................................................................................................2-7
2-3-4 The check of interruption................................................................................................................... 2-7
2-4 A 8-bit 16-bit timer, a peripheral initial...............................................................................................................2-30
2-4-1 The various registers of a 8-bit timer.......................................................................................................2-30
2-4-2 The various registers of a 16-bit timer.....................................................................................................2-40
2-5 Serial communication, a peripheral initial...........................................................................................................2-51
2-5-1 The various registers of serial communication (channels 0 and 1)........................................................2-51
2-5-2 The various registers of serial communication (channel 2)....................................................................2-53
2-6 PWM for motor control........................................................................................................................................2-63
2-7 The initial of I/O Port........................................................................................................................................ 2-70
2-7-1 Port0.......................................................................................................................................................... 2-71
2-7-2 Port1.......................................................................................................................................................... 2-71
2-7-3 Port2.......................................................................................................................................................... 2-72
2-7-4 Port3.......................................................................................................................................................... 2-73
2-7-5 Port4.......................................................................................................................................................... 2-74
2-7-6 Port5.......................................................................................................................................................... 2-75
2-7-7 Port6.......................................................................................................................................................... 2-76
2-7-8 Port7.......................................................................................................................................................... 2-77
2-7-9 Port8.......................................................................................................................................................... 2-78
2-7-10 Port9........................................................................................................................................................2-79
2-8 Noise filter function................................................................................................................................................2-87
2-9 A/D conversion, a peripheral initial.......................................................................................................................2-91
2-9-1 The various registers of A/D conversion.................................................................................................2-91
VIII