phyCORE-P8xC51Mx2
62
PHYTEC MMesstechnikGmbH 2005 L-602e_3
14.3.8
Programmable LED D3
The phyCORE Development Board LD 5V offers a programmable
LED at D3 for user implementations. This LED can be connected to a
port pin at GPIO0 (JP17 = 1+2) or the data bus via a latch at
U14 (JP17 = 2+3). When using the phyCORE-P8xC51Mx2, the
factory default configuration enables control of LED D3 using port
pin P1.0 (GPIO0).
Control and illumination of the LED can be enabled via user code
toggling port pin P1.0 or data bit D0 at address
00:FDA0h (IOSW = 0) or 3F:FDA0h (IOSW = 1). A low-level at
port pin P1.0 or latch U14 causes the LED to illuminate, LED D3
remains off when writing a high-level to port pin P1.0 or latch U14.
Jumper
Setting
Description
JP17
1 + 2
Port pin P1.0 (GPIO0) of the P8xC51Mx2 controller
controls LED D3 on the Development Board
JP17
2 + 3
Data bit D0 from the P8xC51Mx2 controller controls
LED D3 via latch U14 on the Development Board
Table 34:
JP17 Configuration of the Programmable LED D3