mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-22 07:18:52 -05:00
Updated MCU port default values (clock)
This commit is contained in:
parent
8c3e9c8eec
commit
ea5d5cf35d
8
main.c
8
main.c
@ -196,11 +196,11 @@ void hwinit(void)
|
|||||||
* 4: NC Output low
|
* 4: NC Output low
|
||||||
* 3: (no such pin)
|
* 3: (no such pin)
|
||||||
* 2: NC Output low
|
* 2: NC Output low
|
||||||
* 1: RESET (N/A: Reset input per fuses)
|
* 1: RESET (N/A: Reset input per fuses) (left floating)
|
||||||
* 0: XTAL2 (N/A: Crystal oscillator)
|
* 0: XTAL2 (N/A: Crystal oscillator) (left floating)
|
||||||
*/
|
*/
|
||||||
PORTB = 0x00;
|
DDRC = 0xfc;
|
||||||
DDRB = 0xff;
|
PORTC = 0x00;
|
||||||
|
|
||||||
/* PORTD
|
/* PORTD
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user