Changes between Version 2 and Version 3 of FreeRunnerLEDs
- Timestamp:
- 2009-11-18T20:09:25Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FreeRunnerLEDs
v2 v3 21 21 '''Register descriptions:''' 22 22 * 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 readin 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. 25 25 26 26 For blinking LEDs, we select output mode (0b01) for GPB0..GPB2. Pull-down should be disabled. Then write to GPBDAT![0:2].