Changes between Version 2 and Version 3 of FreeRunnerLEDs


Ignore:
Timestamp:
2009-11-18T20:09:25Z (14 years ago)
Author:
Jiri Svoboda
Comment:

Clarifications

Legend:

Unmodified
Added
Removed
Modified
  • FreeRunnerLEDs

    v2 v3  
    2121'''Register descriptions:'''
    2222 * GPBCON: Two configuration bits per pin (GPBCON![1:0] for GPB0, GPBCON![3:2] for GPB1, etc.), 00 = Input, 01 = Output, 10 = XXX, 11 = reserved. XXX refers to internal signals, different for each pin.
    23  * GPBDAT: Obvious, write in output mode and read in input mode.
    24  * GPBDN![10:0]: 0 = pull-down enabled, 1 = pull-down disabled.
     23 * GPBDAT![10:0]: Obvious, write GPB10..GPB0 in output mode and read GPB10..GPB0 in input mode.
     24 * GPBDN![10:0]: 0 = pull-down enabled, 1 = pull-down disabled in GPB10..GPB0.
    2525
    2626For blinking LEDs, we select output mode (0b01) for GPB0..GPB2. Pull-down should be disabled. Then write to GPBDAT![0:2].