Renamed main header files
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MAIN_H_
|
#ifndef SUNSEEKERTELEMETRY2021_H_
|
||||||
#define MAIN_H_
|
#define SUNSEEKERTELEMETRY2021_H_
|
||||||
|
|
||||||
#include <msp430x54xa.h>
|
#include <msp430x54xa.h>
|
||||||
|
|
||||||
@@ -155,4 +155,4 @@ void timerB_init(void);
|
|||||||
#define JTAG_TMS 0x04
|
#define JTAG_TMS 0x04
|
||||||
#define JTAG_TCK 0x08
|
#define JTAG_TCK 0x08
|
||||||
|
|
||||||
#endif /* MAIN_H_ */
|
#endif /* SUNSEEKERTELEMETRY2021_H_ */
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
#include "main.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
// General Variables
|
// General Variables
|
||||||
volatile unsigned char status_flag = FALSE; //status flag set on timer B
|
volatile unsigned char status_flag = FALSE; //status flag set on timer B
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
#define can0_select() P4OUT &= ~CAN0_CSn
|
#define can0_select() P4OUT &= ~CAN0_CSn
|
||||||
#define can0_deselect() P4OUT |= CAN0_CSn
|
#define can0_deselect() P4OUT |= CAN0_CSn
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Telemetry MODEM Code
|
// Telemetry MODEM Code
|
||||||
//
|
//
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
int synccount = 0;
|
int synccount = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Telemetry Real Time Clock
|
// Telemetry Real Time Clock
|
||||||
//
|
//
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
/*************************************************************
|
/*************************************************************
|
||||||
/ Name: setRTC
|
/ Name: setRTC
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SUNSEEKER2021_H_
|
#ifndef SUNSEEKERTELEMETRY2021_H_
|
||||||
#define SUNSEEKER2021_H_
|
#define SUNSEEKERTELEMETRY2021_H_
|
||||||
|
|
||||||
#include <msp430x54xa.h>
|
#include <msp430x54xa.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -369,4 +369,4 @@ static char *name_lookup[NAME_LOOKUP_ROWS] = {
|
|||||||
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
||||||
//"MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
//"MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
||||||
|
|
||||||
#endif /* SUNSEEKER2021_H_ */
|
#endif /* SUNSEEKERTELEMETRY2021_H_ */
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Telemetry Character FIFO
|
// Telemetry Character FIFO
|
||||||
//
|
//
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
|
|
||||||
void CHAR_FIFO_INIT(char_fifo queue)
|
void CHAR_FIFO_INIT(char_fifo queue)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialise I/O port directions and states
|
* Initialise I/O port directions and states
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
// structures
|
// structures
|
||||||
message_fifo decode_queue;
|
message_fifo decode_queue;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Telemetry Messgae FIFO
|
// Telemetry Messgae FIFO
|
||||||
//
|
//
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
void message_fifo_INIT(void)
|
void message_fifo_INIT(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
#include<msp430x54xa.h>
|
#include<msp430x54xa.h>
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
#include "RS232.h"
|
#include "RS232.h"
|
||||||
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
/*********************************************************************************/
|
/*********************************************************************************/
|
||||||
// UART to Modem UCA3 Interface (voltage isolated)
|
// UART to Modem UCA3 Interface (voltage isolated)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// Telemetry Real Time Clock
|
// Telemetry Real Time Clock
|
||||||
//
|
//
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
/*************************************************************
|
/*************************************************************
|
||||||
/ Name: setRTC
|
/ Name: setRTC
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SUNSEEKER2021_H_
|
#ifndef SUNSEEKERTELEMETRY2021_H_
|
||||||
#define SUNSEEKER2021_H_
|
#define SUNSEEKERTELEMETRY2021_H_
|
||||||
|
|
||||||
#include <msp430x54xa.h>
|
#include <msp430x54xa.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -374,4 +374,4 @@ static char *name_lookup[NAME_LOOKUP_ROWS] = {
|
|||||||
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
||||||
// "MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
// "MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
||||||
|
|
||||||
#endif /* SUNSEEKER2021_H_ */
|
#endif /* SUNSEEKERTELEMETRY2021_H_ */
|
||||||
@@ -30,8 +30,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
#include "can.h"
|
#include "can.h"
|
||||||
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
// Public variables
|
// Public variables
|
||||||
can_variables can;
|
can_variables can;
|
||||||
|
|||||||
@@ -30,8 +30,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
#include "can.h"
|
#include "can.h"
|
||||||
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
// Public variables
|
// Public variables
|
||||||
can_variables can;
|
can_variables can;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize I/O port directions and states
|
* Initialize I/O port directions and states
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
// structures
|
// structures
|
||||||
//message_fifo decode_queue;
|
//message_fifo decode_queue;
|
||||||
|
|||||||
@@ -9,8 +9,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SUNSEEKER2021_H_
|
#ifndef SUNSEEKERTELEMETRY2021_H_RY2021_H_SUNSEEKERTELEMETRY2021_H_ERTELEMETRY2021_H_
|
||||||
#define SUNSEEKER2021_H_
|
|
||||||
|
|
||||||
#include <msp430x54xa.h>
|
#include <msp430x54xa.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -372,6 +371,4 @@ static char *name_lookup[NAME_LOOKUP_ROWS] = {
|
|||||||
// "MC1FAN", //MC_CAN_BASE1 + MC_FAN
|
// "MC1FAN", //MC_CAN_BASE1 + MC_FAN
|
||||||
// "MC1TP3", //MC_CAN_BASE1 + MC_TEMP3
|
// "MC1TP3", //MC_CAN_BASE1 + MC_TEMP3
|
||||||
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
||||||
// "MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
// "MC2TP3", //MC_CAN_BASE2 + MCSUNSEEKERTELEMETRY2021_H_* SUNSEEKERTELEMETRY2021_H_ */
|
||||||
|
|
||||||
#endif /* SUNSEEKER2021_H_ */
|
|
||||||
@@ -20,7 +20,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Sunseeker2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
y2021.h"
|
||||||
|
|
||||||
// structures
|
// structures
|
||||||
//message_fifo decode_queue;
|
//message_fifo decode_queue;
|
||||||
|
|||||||
Reference in New Issue
Block a user