lpc2158fbd100 NXP Semiconductors, lpc2158fbd100 Datasheet - Page 10
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
lpc2158fbd100
Manufacturer Part Number
lpc2158fbd100
Description
Single-chip 16-bit/32-bit Microcontrollers; 512 Kb ?ash, With 32 Segment X 4 Lcd Driver
Manufacturer
NXP Semiconductors
Datasheet
1.LPC2158FBD100.pdf
(45 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
lpc2158fbd100,551
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
Table 3.
LPC2157_2158_2
Product data sheet
Symbol
P0[0] to P0[31]
P0[0]/TXD0/
PWM1
P0[1]/RXD0/
PWM3/EINT0
P0[2]/SCL0/
CAP0[0]
P0[3]/SDA0/
MAT0[0]/EINT1
P0[4]/SCK0/
CAP0[1]/AD0[6]
P0[5]/MISO0/
MAT0[1]/AD0[7]
P0[6]/MOSI0/
CAP0[2]/AD1[0]
P0[7]/SSEL0/
PWM2/EINT2
P0[8]/TXD1/
PWM4/AD1[1]
Pin description LPC2158
Pin
7
9
10
14
15
17
18
19
20
[1]
[2]
[3]
[3]
[4]
[4]
[4]
[2]
[4]
Type
I/O
I/O
O
O
I/O
I
O
I
I/O
I/O
I
I/O
I/O
O
I
I/O
I/O
I
I
I/O
I/O
O
I
I/O
I/O
I
I
I/O
I
O
I
I/O
O
O
I
Description
Port 0: Port 0 is a 32-bit I/O port with individual direction controls for each bit.
Total of 29 pins of the Port 0 can be used as a general purpose bidirectional
digital I/Os while P0[31] is output only pin. The operation of port 0 pins
depends upon the pin function selected via the pin connect block.
Pins P0[24], P0[26] and P0[27] are not available.
P0[0] — General purpose input/output digital pin (GPIO).
TXD0 — Transmitter output for UART0.
PWM1 — Pulse Width Modulator output 1.
P0[1] — General purpose input/output digital pin (GPIO).
RXD0 — Receiver input for UART0.
PWM3 — Pulse Width Modulator output 3.
EINT0 — External interrupt 0 input.
P0[2] — General purpose input/output digital pin (GPIO).
SCL0 — I
CAP0[0] — Capture input for Timer 0, channel 0.
P0[3] — General purpose input/output digital pin (GPIO).
SDA0 — I
MAT0[0] — Match output for Timer 0, channel 0.
EINT1 — External interrupt 1 input.
P0[4] — General purpose input/output digital pin (GPIO).
SCK0 — Serial clock for SPI0. SPI clock output from master or input to slave.
CAP0[1] — Capture input for Timer 0, channel 1.
AD0[6] — ADC 0, input 6.
P0[5] — General purpose input/output digital pin (GPIO).
MISO0 — Master In Slave Out for SPI0. Data input to SPI master or data
output from SPI slave.
MAT0[1] — Match output for Timer 0, channel 1.
AD0[7] — ADC 0, input 7.
P0[6] — General purpose input/output digital pin (GPIO).
MOSI0 — Master Out Slave In for SPI0. Data output from SPI master or data
input to SPI slave.
CAP0[2] — Capture input for Timer 0, channel 2.
AD1[0] — ADC 1, input 0.
P0[7] — General purpose input/output digital pin (GPIO).
SSEL0 — Slave Select for SPI0. Selects the SPI interface as a slave.
PWM2 — Pulse Width Modulator output 2.
EINT2 — External interrupt 2 input.
P0[8] — General purpose input/output digital pin (GPIO).
TXD1 — Transmitter output for UART1.
PWM4 — Pulse Width Modulator output 4.
AD1[1] — ADC 1, input 1.
Rev. 02 — 9 February 2009
2
2
C0 clock input/output. Open-drain output (for I
C0 data input/output. Open-drain output (for I
Single-chip 16-bit/32-bit microcontrollers
LPC2157/2158
2
2
C-bus compliance).
C-bus compliance).
© NXP B.V. 2009. All rights reserved.
10 of 45