Set all GPIOs to 3.3V
This commit is contained in:
parent
b0fa0f004c
commit
9f57e03518
@ -21,6 +21,8 @@ void gpio_init() {
|
||||
GCR = 0x04;
|
||||
// Enable SMBus channel 4
|
||||
GCR15 = (1 << 4);
|
||||
// Set GPF2 and GPF3 to 3.3V
|
||||
GCR20 = 0;
|
||||
|
||||
// Set GPIO data
|
||||
GPDRA = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user