BL4S200 User’s Manual
31
Keep the following guidelines in mind when selecting special uses for the remaining con-
figurable I/O pins.
•
Interrupts, event counters, and input capture are available on any configurable I/O pin.
•
Each Quadrature Decoder channel requires at least two configurable I/O pins associ-
ated with the same counter/timer block; three configurable I/O pins associated with the
same counter/timer block are needed if you need indexing.
•
When using configurable I/O pins for PWM outputs, they can only share the same RIO
block if they are using the same period or frequency. Depending on the pin(s) selected,
from one to four PWM outputs could operate based on the same counter block.
Remember to set the corresponding jumper (Table 4) so that the I/O for that bank are
pulled up to the selected voltage. The output voltage swing will be from 0 to the voltage
you selected\.
The sample program
PWM.C
in the
DIO
subdirectory in
SAMPLES\BLxS2xx
shows
how to set up and use the PWM outputs.
•
Configurable I/O have their own set of function calls. These function calls will only
work with configurable I/O. High-current outputs have their own function calls that end
with
_H
.
See Appendix D for additional information about the Rabbit RIO pin associations and
how to select which special functionality to best apply to a particular pin.
electronic components distributor