If pinInit(); function is called after the pins bit configurations the MCU can't start anymore after a reset or power off as he will try to configure the resiters but without having a Clk source
parent
aeda7542d3
commit
8c67198b08
@ -0,0 +1,16 @@
|
||||
#ifndef _USART_H_
|
||||
#define _USART_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
void usartTxInit();
|
||||
void usartRxInit();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _USART_H_
|
Loading…
Reference in new issue