PMC232/PMS232 Series
12-bit ADC Enhanced FPPATM
8-bit OTP Controller
6-6. Interrupt Request Register (intrq), IO address = 0x05..........................................................61
6-7. Timer16 mode Register (t16m), IO address = 0x06 .............................................................62
6-8. General Data register for IO (gdio), IO address = 0x07........................................................62
6-9. External Oscillator setting Register (eoscr), IO address = 0x0a ...........................................62
6-10. Internal High RC oscillator control Register (ihrcr), IO address = 0x0b...............................63
6-11. Interrupt Edge Select Register (integs), IO address = 0x0c................................................63
6-12. Port A Digital Input Enable Register (padier), IO address = 0x0d.......................................64
6-13. Port B Digital Input Enable Register (pbdier), IO address = 0x0e.......................................64
6-14. Port A Data Register (pa), IO address = 0x10....................................................................64
6-15. Port A Control Register (pac), IO address = 0x11 ..............................................................65
6-16. Port A Pull-up Register (paph), IO address = 0x12 ............................................................65
6-17. Port B Data Register (pb), IO address = 0x14....................................................................65
6-18. Port B Control Register (pbc), IO address = 0x15 ..............................................................65
6-19. Port B Pull-up Register (pbph), IO address = 0x16 ............................................................65
6-20. Port C Data Register (pc), IO address = 0x17....................................................................65
6-21. Port C Control Register (pcc), IO address = 0x18 ..............................................................65
6-22. Port C Pull-up Register (pcph), IO address = 0x19 ............................................................65
6-23. ADC Control Register (adcc), IO address = 0x20...............................................................66
6-24. ADC Mode Register (adcm), IO address = 0x21 ................................................................66
6-25. ADC Result High Register (adcrh), IO address = 0x22.......................................................66
6-26. ADC Result Low Register (adcrl), IO address = 0x23 ........................................................67
6-27. Miscellaneous Register (misc), IO address = 0x3b ............................................................67
6-28. Timer2 Control Register (tm2c), IO address = 0x3c ...........................................................68
6-29. Timer2 Counter Register (tm2ct), IO address = 0x3d.........................................................68
6-30. Timer2 Scalar Register (tm2s), IO address = 0x37 ............................................................68
6-31. Timer2 Bound Register (tm2b), IO address = 0x09............................................................68
7. Instructions.....................................................................................................................69
7-1. Data Transfer Instructions....................................................................................................69
7-2. Arithmetic Operation Instructions.........................................................................................73
7-3. Shift Operation Instructions..................................................................................................75
7-4. Logic Operation Instructions ................................................................................................77
7-5. Bit Operation Instructions.....................................................................................................80
7-6. Conditional Operation Instructions .......................................................................................81
7-7. System control Instructions..................................................................................................83
7-8. Summary of Instructions Execution Cycle............................................................................85
7-9. Summary of affected flags by Instructions............................................................................86
8. Code Options..................................................................................................................87
9. Special Notes..................................................................................................................88
©Copyright 2018, PADAUK Technology Co. Ltd
Page 5 of 94
PDK-DS-PMx232_V104– Dec. 18, 2018