2016-12-10 20:29:51 +00:00
|
|
|
__IO uint16_t ADCVal[2];
|
2017-01-10 01:24:10 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-12-22 22:38:48 +00:00
|
|
|
void NVIC_Conf();
|
2017-01-10 01:24:10 +00:00
|
|
|
|
2016-12-22 22:38:48 +00:00
|
|
|
void RCC_Conf();
|
2017-01-10 01:24:10 +00:00
|
|
|
|
2016-12-22 22:38:48 +00:00
|
|
|
void init_port();
|
2017-01-10 01:24:10 +00:00
|
|
|
|
2016-12-24 21:23:49 +00:00
|
|
|
void init_timer(const int rtty_speed);
|
2017-01-10 01:24:10 +00:00
|
|
|
|
2016-12-28 10:53:34 +00:00
|
|
|
void init_usart_gps(const uint32_t speed, const uint8_t enable_irq);
|
2017-01-10 01:24:10 +00:00
|
|
|
|
|
|
|
void spi_init();
|
|
|
|
|
|
|
|
void spi_deinit();
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|