mirror of
https://github.com/EranMorkon/AMTS.git
synced 2023-12-28 16:48:38 +00:00
Software
This commit is contained in:
parent
4093cd295f
commit
dc99dcf6e8
41 changed files with 1775 additions and 19 deletions
16
Mieke/SW/MT/interface_uart.h
Normal file
16
Mieke/SW/MT/interface_uart.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#ifndef INTERFACE_UART_H
|
||||
#define INTERFACE_UART_H
|
||||
|
||||
#include "stm32f10x.h" // Device header
|
||||
#include "stm32f10x_rcc.h" // Keil::Device:StdPeriph Drivers:RCC
|
||||
#include "stm32f10x_gpio.h" // Keil::Device:StdPeriph Drivers:GPIO
|
||||
#include "stm32f10x_usart.h" // Keil::Device:StdPeriph Drivers:USART
|
||||
|
||||
void USART_SendString(USART_TypeDef *USARTx, char *str);
|
||||
void init_all(void);
|
||||
void send_welcome(void);
|
||||
unsigned int wait_for_start(void);
|
||||
unsigned int wait_for_test(USART_TypeDef *USARTx);
|
||||
unsigned int get_test(USART_TypeDef *USARTx);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue