Panasonic MN101C49G Laptop User Manual


 
3.6 How to Interrupt................................................................................................................................................45
3.6.1 Interrupt vector table..................................................................................................................................45
3.6.2 Interrupt processing programs....................................................................................................................47
3.6.3 Checking interrupt.....................................................................................................................................47
3.7 Input/Output, Initializing Peripherals................................................................................................................48
3.7.1 Port 0..........................................................................................................................................................49
3.7.2 Port 1..........................................................................................................................................................50
3.7.3 Port 2..........................................................................................................................................................51
3.7.4 Port 3..........................................................................................................................................................51
3.7.5 Port 4..........................................................................................................................................................52
3.7.6 Port 5..........................................................................................................................................................53
3.7.7 Port 6..........................................................................................................................................................54
3.7.8 Port 7..........................................................................................................................................................55
3.7.9 Port 8..........................................................................................................................................................56
3.7.10 Port A.......................................................................................................................................................56
3.7.11 Port C.......................................................................................................................................................57
3.7.12 Port D.......................................................................................................................................................58
3.8 Prescaler, Initializing Peripherals......................................................................................................................59
3.8.1 Prescaler control register............................................................................................................................59
3.8.2 Timer prescaler selection register ..............................................................................................................59
3.8.3 Serial interface transfer clock selection register.........................................................................................60
3.9 8-bit Timer, Initializing Peripherals...................................................................................................................62
3.9.1 Types of setting for 8-bit timer..................................................................................................................64
3.9.2 Setting for cascade connection...................................................................................................................70
3.9.3 Setting remote control carrier output operation..........................................................................................72
3.10 16-bit Timer, Initializing Peripherals...............................................................................................................75
3.10.1 Types of setting for 16-bit timer ..............................................................................................................76
3.11 Initializing Free Run Time Base Timer, Initializing Peripherals.....................................................................82
3.11.1 Time base timer .......................................................................................................................................82
3.11.2 Free run timer...........................................................................................................................................83
3.12 Watchdog Timer, Initializing Peripherals........................................................................................................84
3.13 Buzzer, Initializing Peripherals .......................................................................................................................86
3.14 Serial Communication, Initializing Peripherals...............................................................................................88
3.14.1
Setting asynchronous (UART) communication (Half duplex, Full duplex)
...............................................98
3.14.2 Setting synchronous (SYSNC) communication.....................................................................................101
3.14.3 Handling on communication errors........................................................................................................105