Skip to Navigation

5.2.3 - ConfigIO

Writes and reads the current IO configuration.

  • WriteMask: Has a bit that determines if new timer/counter settings are written.
  • NumberTimersEnabled: 0-4. Used to enable/disable timers. Timers will be assigned to IO pins starting with FIO0 plus TimerCounterPinOffset. Timer0 takes the first IO pin, then Timer1, and so on. Whenever this function is called and timers are enabled, the timers are initialized to mode 10, so the desired timer mode must always be specified after every call to this function.
  • TimerCounterPinOffset: 0-8. Timers/counters are assigned terminals starting from here.
tags:

Comments

No comments yet. Speak up. We're listening.