Nxp Semiconductors UM10310 User Manual
UM10310_1
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 01 — 1 December 2008
137 of 139
NXP Semiconductors
UM10310
P89LPC9321 User manual
22. Figures
Fig 10. Quasi-bidirectional output. . . . . . . . . . . . . . . . . . .30
Fig 11. Open drain output. . . . . . . . . . . . . . . . . . . . . . . . .30
Fig 12. Input only.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Fig 13. Push-pull output. . . . . . . . . . . . . . . . . . . . . . . . . .31
Fig 14. Block diagram of reset . . . . . . . . . . . . . . . . . . . . .38
Fig 15. Timer/counter 0 or 1 in Mode 0 (13-bit counter). .42
Fig 16. Timer/counter 0 or 1 in mode 1 (16-bit counter). .42
Fig 17. Timer/counter 0 or 1 in Mode 2
Fig 11. Open drain output. . . . . . . . . . . . . . . . . . . . . . . . .30
Fig 12. Input only.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Fig 13. Push-pull output. . . . . . . . . . . . . . . . . . . . . . . . . .31
Fig 14. Block diagram of reset . . . . . . . . . . . . . . . . . . . . .38
Fig 15. Timer/counter 0 or 1 in Mode 0 (13-bit counter). .42
Fig 16. Timer/counter 0 or 1 in mode 1 (16-bit counter). .42
Fig 17. Timer/counter 0 or 1 in Mode 2
Fig 20. Real-time clock/system timer block diagram.. . . .44
Fig 21. Capture Compare Unit block diagram.. . . . . . . . .48
Fig 22. Asymmetrical PWM, downcounting. . . . . . . . . . .53
Fig 23. Symmetrical PWM. . . . . . . . . . . . . . . . . . . . . . . .53
Fig 24. Alternate output mode. . . . . . . . . . . . . . . . . . . . .54
Fig 25. Capture/compare unit interrupts. . . . . . . . . . . . . .57
Fig 26. Baud rate generation for UART (Modes 1, 3) . . .61
Fig 27. Serial Port Mode 0 (double buffering must be
Fig 21. Capture Compare Unit block diagram.. . . . . . . . .48
Fig 22. Asymmetrical PWM, downcounting. . . . . . . . . . .53
Fig 23. Symmetrical PWM. . . . . . . . . . . . . . . . . . . . . . . .53
Fig 24. Alternate output mode. . . . . . . . . . . . . . . . . . . . .54
Fig 25. Capture/compare unit interrupts. . . . . . . . . . . . . .57
Fig 26. Baud rate generation for UART (Modes 1, 3) . . .61
Fig 27. Serial Port Mode 0 (double buffering must be
C-bus configuration. . . . . . . . . . . . . . . . . . . . . .71
Fig 32. Format in the Master Transmitter mode. . . . . . . .75
Fig 33. Format of Master Receiver mode. . . . . . . . . . . . .76
Fig 34. A Master Receiver switches to Master Transmitter
Fig 33. Format of Master Receiver mode. . . . . . . . . . . . .76
Fig 34. A Master Receiver switches to Master Transmitter
Fig 35. Format of Slave Receiver mode. . . . . . . . . . . . . .77
Fig 36. Format of Slave Transmitter mode. . . . . . . . . . . .77
Fig 37. I
Fig 36. Format of Slave Transmitter mode. . . . . . . . . . . .77
Fig 37. I
C serial interface block diagram. . . . . . . . . . . . .78
Fig 38. SPI block diagram.. . . . . . . . . . . . . . . . . . . . . . . .85
Fig 39. SPI single master single slave configuration. . . .87
Fig 40. SPI dual device configuration, where either can be a
Fig 39. SPI single master single slave configuration. . . .87
Fig 40. SPI dual device configuration, where either can be a
Fig 41. SPI single master multiple slaves configuration. .88
Fig 42. SPI slave transfer format with CPHA = 0. . . . . . .91
Fig 43. SPI slave transfer format with CPHA = 1. . . . . . .92
Fig 44. SPI master transfer format with CPHA = 0. . . . . .93
Fig 45. SPI master transfer format with CPHA = 1. . . . . .94
Fig 46. Comparator input and output connections. . . . . .96
Fig 47. Comparator configurations. (Suppose PGA1 is
Fig 42. SPI slave transfer format with CPHA = 0. . . . . . .91
Fig 43. SPI slave transfer format with CPHA = 1. . . . . . .92
Fig 44. SPI master transfer format with CPHA = 0. . . . . .93
Fig 45. SPI master transfer format with CPHA = 1. . . . . .94
Fig 46. Comparator input and output connections. . . . . .96
Fig 47. Comparator configurations. (Suppose PGA1 is