UM10346_1
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 01 — 2 November 2009
128 of 132
NXP Semiconductors
UM10346
LPC980/982 User manual
20. Tables
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . .4
Special function registers - P89LPC980/982 . .12
Extended special function registers -
P89LPC980/982
[1]
. . . . . . . . . . . . . . . . . . . . . .19
Data RAM arrangement . . . . . . . . . . . . . . . . . .21
Oscillator type selection for clock switch . . . . .25
Table 10. Interrupt priority level . . . . . . . . . . . . . . . . . . . .27
Table 11. Summary of interrupts . . . . . . . . . . . . . . . . . . .28
Table 12. Number of I/O pins available . . . . . . . . . . . . . .29
Table 13. Port output configuration settings . . . . . . . . . .30
Table 14. Port output configuration . . . . . . . . . . . . . . . . .34
Table 15. SPI/I2C/UART Pin Remap . . . . . . . . . . . . . . . .35
Table 16. Pin remap Control register (PINCON - address
CFh) bit allocation. . . . . . . . . . . . . . . . . . . . . . .35
Table 17. Pin remap Control register (PINCON - address
CFh) bit description . . . . . . . . . . . . . . . . . . . . .35
Table 18. BOD reset Trip points configuration . . . . . . . . .36
Table 19. BOD interrupt Trip points configuration . . . . . .37
Table 20. BOD Reset and BOD Interrupt configuration . .37
Table 21. Power reduction modes . . . . . . . . . . . . . . . . . .38
Table 22. Power Control register (PCON - address 87h) bit
allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Table 23. Power Control register (PCON - address 87h) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Table 24. Power Control register A (PCONA - address B5h)
bit allocation . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Table 25. Power Control register A (PCONA - address B5h)
bit description . . . . . . . . . . . . . . . . . . . . . . . . .39
Table 26. PMU Control register (PMUCON - address FAh)
bit allocation . . . . . . . . . . . . . . . . . . . . . . . . . . .40
Table 27. PMU control register (PMUCON - address FAh) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
Table 28. Reset Sources register (RSTSRC - address DFh)
bit allocation . . . . . . . . . . . . . . . . . . . . . . . . . . .41
Table 29. Reset Sources register (RSTSRC - address DFh)
bit description . . . . . . . . . . . . . . . . . . . . . . . . .41
Table 30. Timer/Counter Mode register (TMOD - address
89h) bit allocation . . . . . . . . . . . . . . . . . . . . . .42
Table 31. Timer/Counter Mode register (TMOD - address
89h) bit description . . . . . . . . . . . . . . . . . . . . .43
Table 32. Timer/Counter Auxiliary Mode register (TAMOD -
address 8Fh) bit allocation . . . . . . . . . . . . . . .43
Table 33. Timer/Counter Auxiliary Mode register (TAMOD -
address 8Fh) bit description . . . . . . . . . . . . . .43
Table 34. Timer/Counter Control register (TCON) - address
88h) bit allocation . . . . . . . . . . . . . . . . . . . . . .45
Table 35. Timer/Counter Control register (TCON - address
88h) bit description . . . . . . . . . . . . . . . . . . . . .45
Table 36. Timer/Counter x Control(TxCON - where x = 2, 3
or 4) bit allocation. . . . . . . . . . . . . . . . . . . . . . . 47
Table 37. Timer/Counter x Control(TxCON - where x = 2, 3
or 4) bit description . . . . . . . . . . . . . . . . . . . . . 48
Table 38. Timer/Counters Overflow and External Flags
(TINTF, address CEh) bit allocation . . . . . . . . . 48
Table 39. Timer/Counters Overflow and External Flags
(TINTF, address CEh) bit description . . . . . . . 48
Table 40. Data Register Map . . . . . . . . . . . . . . . . . . . . . . 49
Table 41. Real-time Clock/System Timer clock sources . 54
Table 42. Real-time Clock Control register (RTCCON -
address D1h) bit allocation . . . . . . . . . . . . . . . 55
Table 43. Real-time Clock Control register (RTCCON -
address D1h) bit description . . . . . . . . . . . . . . 55
- address BDh) bit allocation . . . . . . . . . . . . . . 57
Table 47. Baud Rate Generator Control register (BRGCON
- address BDh) bit description . . . . . . . . . . . . . 58
Table 48. Serial Port Control register (SCON - address 98h)
bit allocation . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Table 49. Serial Port Control register (SCON - address 98h)
bit description . . . . . . . . . . . . . . . . . . . . . . . . . 58
bit allocation . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Table 52. Serial Port Status register (SSTAT - address BAh)
bit description . . . . . . . . . . . . . . . . . . . . . . . . . 59
Table 53. FE and RI when SM2 = 1 in Modes 2 and 3 . . 63
Table 54. Slave 0/1 examples . . . . . . . . . . . . . . . . . . . . . 66
Table 55. Slave 0/1/2 examples . . . . . . . . . . . . . . . . . . . 66
Table 56. I
2
C data register (I2DAT - address DAh) bit
allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
2
C slave address register (I2ADR - address DBh)
bit allocation . . . . . . . . . . . . . . . . . . . . . . . . . . 68
2
C slave address register (I2ADR - address DBh)
bit description. . . . . . . . . . . . . . . . . . . . . . . . . . 68
2
C Control register (I2CON - address D8h) bit
allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
2
C Control register (I2CON - address D8h) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
2
C Status register (I2STAT - address D9h) bit
allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
2
C Status register (I2STAT - address D9h) bit
description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
2
C clock rates selection . . . . . . . . . . . . . . . . . 71
2
C Control register (I2CON - address D8h) . . 71
2
C Control register (I2CON - address D8h) . . 73
Table 66. Master Transmitter mode . . . . . . . . . . . . . . . . 76
Table 67. Master Receiver mode . . . . . . . . . . . . . . . . . . 77
Table 68. Slave Receiver mode . . . . . . . . . . . . . . . . . . . 78
Table 69. Slave Transmitter mode . . . . . . . . . . . . . . . . . 80
Table 70. SPI Control register (SPCTL - address E2h) bit
allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82