mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 21:51:15 +00:00
Added old firmware and pcb design files
These are all design documents that I thought I had lost. It's may make me cringe, but it's still cool to use it to see how far I've come.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* InitFunctions.h
|
||||
*
|
||||
* Created: 8/9/2014 4:24:44 PM
|
||||
* Author: corwin
|
||||
*/
|
||||
|
||||
|
||||
#ifndef INITFUNCTIONS_H_
|
||||
#define INITFUNCTIONS_H_
|
||||
#define F_CPU 32000000UL
|
||||
|
||||
#include <avr/io.h>
|
||||
#include <util/delay.h>
|
||||
|
||||
#include "avr_compiler.h"
|
||||
#include "DefinesAndMacros.h"
|
||||
#include "usart_driver.h"
|
||||
#include "Steppers.h"
|
||||
#include "SystemInputFunctions.h"
|
||||
|
||||
|
||||
void setupDriverBoardComplete();
|
||||
void testDriverBoardComplete();
|
||||
|
||||
void setupXMEGAIO();
|
||||
void setupXMEGAClock();
|
||||
void setupXMEGAUART();
|
||||
void setupXMEGATimers();
|
||||
void setupStepperPararms();
|
||||
void setupPinChangeInterrupts();
|
||||
void setupSystemParams();
|
||||
|
||||
void testStatusLeds();
|
||||
void testLightBoard();
|
||||
void testSteppers();
|
||||
void testUART();
|
||||
|
||||
void setupIOPin(PORT_t *port, int pinbm, char direction, char defaultstate);
|
||||
void setupRTC();
|
||||
void setupStepDriveTimer();
|
||||
|
||||
|
||||
#endif /* INITFUNCTIONS_H_ */
|
||||
Reference in New Issue
Block a user