parent
d110658f12
commit
a35071825e
9
main.c
9
main.c
|
@ -36,5 +36,14 @@ void GPIO_PORT_B_init(void)
|
|||
UART1_CC_R = 0x00; // USE SYSTEM CLOCK
|
||||
|
||||
UART1_CTL_R |= 0x301; // ENABLE UART1, RX AND TX
|
||||
}
|
||||
|
||||
int main(void) // MAIN FUNCTION
|
||||
{
|
||||
GPIO_PORT_F_init(); // GPIO PORT F INITIALISATION FUNCTION
|
||||
GPIO_PORT_B_init(); // GPIO PORT B INITIALISATION FUNCTION
|
||||
|
||||
while (1)
|
||||
{
|
||||
|
||||
}
|
Loading…
Reference in New Issue