User’s Manual
33
3.9 Other Hardware
3.9.1 External Interrupts
The BL2100 is already configured to support external interrupts on pin 11 of screw-terminal
header J11. The external interrupt circuit is shown in Figure 22.
Figure 22. Use of Rabbit 2000 External Interrupt
In addition to its primary use as an external interrupt, pin 11 of screw-terminal header J11
may also be used as a CMOS-level digital input or output, or to generate a PWM signal.
When using pin 11 as a CMOS-level digital input or output, use the standard Rabbit 2000
register function configuration for PE5 (on Parallel Port E) to set this pin up for your
intended use. Be aware that there is no provision for protection against voltage spikes
while PE5 is pulled up to Vcc with a 27 k
pull-up resistor.
The sample program
PWM.C
in the Dynamic C
SAMPLES/BL2100
directory illustrates
how to use pin 11 of screw-terminal header J11 to generate a PWM signal.
Interrupt Request #1
INT1B
23
29
Interrupt Request #0
INT0B
24
30
Edge
Detectors
1 k
W
External Interrupt
Request
Single-Interrupt Request
R66
J11
12
11
10
Содержание Smartcat
Страница 6: ...Smartcat BL2100 ...
Страница 14: ...8 Smartcat BL2100 ...
Страница 60: ...54 Smartcat BL2100 ...
Страница 78: ...72 Smartcat BL2100 ...
Страница 84: ...78 Smartcat BL2100 ...
Страница 118: ...112 Smartcat BL2100 ...
Страница 124: ...118 Smartcat BL2100 ...
Страница 132: ...126 Smartcat BL2100 ...
Страница 134: ......