Datasheet

LEDs and Push Buttons
1-12 ADSP-21369 EZ-KIT Lite Evaluation System Manual
LEDs and Push Buttons
The EZ-KIT Lite has eight general-purpose user LEDs and four gen-
eral-purpose push buttons.
Two general-purpose push buttons are attached to the FLAG pins of the
processor, while the other two are attached to the DAI pins. All of the
push buttons are connected to the processor through a DIP switch (SW7).
The DIP switch can disconnect the processor pins connected to the push
buttons. See “Push Button Enable Switch (SW7)” on page 2-13 for
instructions on how to disable a push button from driving its correspond-
ing processor pin.
The state of the push buttons connected to the FLAG pins can be deter-
mined by reading the FLAG register. The push buttons connected to the
DAI pins must be configured as interrupts. It is necessary to set up an
interrupt routine to determine each pin’s state. Table 1-2 shows the push
button and processor connections. Refer to the related example program
shipped with the EZ-KIT Lite for more information.
Table 1-3 summarizes the LED connections to the processor. To use the
LEDs connected to the DAI or DPI pins, configure the respective registers
of the processor. For more information, refer to the ADSP-21368 SHARC
Processor Hardware Reference (includes ADSP-21369).
Table 1-2. Push Button Connections
Push Button Label Push Button Reference Designator Processor Pin
PB1 SW8 FLAG1/~IRQ1
PB2 SW11 FLAG0/~IRQ0
PB3 SW10 DAI19
PB4 SW9 DAI20