Logo
Explore Help
Sign In
coolfactor/quadrotor
1
0
Fork 0
You've already forked quadrotor
Code Issues Pull Requests Projects Releases Wiki Activity
Files
2890007195af9c275a2eefc3d77f089ed7eb7700
quadrotor/uart.h

15 lines
243 B
C
Raw Normal View History

* Move UART code into its own file * Set up vectored interrupt controller * Set up timer interrupt
2011-05-21 22:26:19 +00:00
#ifndef __UART_H
#define __UART_H
Change API for getch to make it the caller's responsibility to poll for input, allowing it to do other stuff if it wants to.
2011-06-04 19:28:59 +00:00
#include "types.h"
* Move UART code into its own file * Set up vectored interrupt controller * Set up timer interrupt
2011-05-21 22:26:19 +00:00
void init_uart(void);
void putch(char c);
void putstr(char *s);
void putint(unsigned int n);
Track gyro using a DCM. This brings in an implementation of some general matrix manipulation routines, not all of which are used at teh moment. Output the DCM on the UART at 50Hz for the host to display it usefully.
2011-10-07 23:39:28 +00:00
void putint_s(int n);
* Move UART code into its own file * Set up vectored interrupt controller * Set up timer interrupt
2011-05-21 22:26:19 +00:00
void puthex(unsigned int n);
Change API for getch to make it the caller's responsibility to poll for input, allowing it to do other stuff if it wants to.
2011-06-04 19:28:59 +00:00
bool getch(char *c);
* Move UART code into its own file * Set up vectored interrupt controller * Set up timer interrupt
2011-05-21 22:26:19 +00:00
#endif /* __UART_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 113ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API