List of figures
Figure 1. A96G140/A96G148/A96A148 Block Diagram.......................................................................................... 21
Figure 2. A96G140/A96G148 48LQFP/48QFN Pin Assignment........................................................................... 22
Figure 3. A96G140/A96G148 44MQFP-1010 Pin Assignment............................................................................. 23
Figure 4. A96G140/A96G148 32LQFP Pin Assignment ........................................................................................... 24
Figure 5. A96G140/A96G148 32SOP Pin Assignment............................................................................................. 25
Figure 6. A96G140/A96G148 28SOP Pin Assignment............................................................................................. 25
Figure 7. A96A148 28SOP Pin Assignment .................................................................................................................. 26
Figure 8. General Purpose I/O Port ................................................................................................................................. 32
Figure 9. External Interrupt I/O Port................................................................................................................................ 33
Figure 10. Program Memory Map.................................................................................................................................... 35
Figure 11. Data Memory Map............................................................................................................................................ 36
Figure 12. Lower 128bytes of RAM ................................................................................................................................. 37
Figure 13. XDATA Memory Area........................................................................................................................................ 38
Figure 14. Interrupt Group Priority Level ...................................................................................................................... 65
Figure 15. External Interrupt Description ...................................................................................................................... 66
Figure 16. Interrupt Controller Block Diagram ........................................................................................................... 67
Figure 17. Interrupt Sequence Flow ................................................................................................................................ 70
Figure 18. Effective Timing of Interrupt Enable Register....................................................................................... 71
Figure 19. Effective Timing of Interrupt Flag Register ............................................................................................ 71
Figure 20. Effective Timing of Multi-Interrupt ............................................................................................................ 72
Figure 21. Interrupt Response Timing Diagram......................................................................................................... 73
Figure 22. Correspondence between Vector Table Address and the Entry Address of ISR .................. 73
Figure 23. Saving/Restore Process Diagram and Sample Source...................................................................... 73
Figure 24. Timing Chart of Interrupt Acceptance and Interrupt Return Instruction................................. 74
Figure 25. Clock Generator Block Diagram.................................................................................................................. 83
Figure 26. Basic Interval Timer Block Diagram........................................................................................................... 86
Figure 27. Watch Dog Timer Interrupt Timing Waveform .................................................................................... 88
Figure 28. Watch Dog Timer Block Diagram............................................................................................................... 89
Figure 29. Watch Timer Block Diagram ......................................................................................................................... 91
Figure 30. 8-bit Timer/Counter Mode for Timer 0................................................................................................... 95
Figure 31. 8-bit Timer/Counter 0 Example................................................................................................................... 95
Figure 32. 8-bit PWM Mode for Timer 0...................................................................................................................... 96
Figure 33. PWM Output Waveforms in PWM Mode for Timer 0...................................................................... 97
Figure 34. 8-bit Capture Mode for Timer 0................................................................................................................. 98
Figure 35. Input Capture Mode Operation for Timer 0 ......................................................................................... 99
Figure 36. Express Timer Overflow in Capture Mode ............................................................................................. 99
Figure 37. 8-bit Timer 0 Block Diagram ......................................................................................................................100