@@ -3,85 +3,131 @@
<pre>
<h1>µVision Build Log</h1>
<h2>Project:</h2>
C:\Users\Jack\Documents\GitHub\445L\Lab3\ST7735_4C123\ST7735_4C123\ST7735.uvproj
Project File Date: 02/13/2016
C:\Users\MichaelPark\Desktop\UT\4-1 Spring 2016\EE 445L\Labs\445L\Lab3\ST7735_4C123\ST7735_4C123\ST7735.uvproj
Project File Date: 02/14/2016

<h2>Output:</h2>
Rebuild target 'ST7735'
assembling startup.s...
compiling PLL.c...
compiling ST7735.c...
compiling ST7735TestMain.c...
compiling SysTick.c...
ST7735.c(1646): warning: #177-D: variable "store" was declared but never referenced
int32_t store=0;
ST7735.c: 1 warning, 0 errors
compiling Switch.c...
SetTime.h(26): warning: #1-D: last line of file ends without a newline
void decrementMin(void);
SetAlarm.h(21): warning: #1-D: last line of file ends without a newline
void AlarmToggleOFF(void);
Switch.c: 2 warnings, 0 errors
compiling Timer1.c...
compiling SetTime.c...
SetTime.c(69): warning: #186-D: pointless comparison of unsigned integer with zero
if((--Time_Hours)<0) {Time_Hours = 23;} //if hour below 0, reset to 23
SetTime.c(81): warning: #186-D: pointless comparison of unsigned integer with zero
if((--Time_Minutes)<0) {Time_Minutes = 59;} //if min below 0, reset to 59
SetTime.c: 2 warnings, 0 errors
SetTime.h(26): warning: #1-D: last line of file ends without a newline
void decrementMin(void);
SetTime.c: 1 warning, 0 errors
compiling SetAlarm.c...
SetAlarm.h(21): warning: #1-D: last line of file ends without a newline
void AlarmToggleOFF(void);
SetAlarm.c(55): warning: #186-D: pointless comparison of unsigned integer with zero
if((--alarm_hours)<0) {alarm_hours = 23;} //if hour below 0, reset to 23
SetAlarm.c(67): warning: #186-D: pointless comparison of unsigned integer with zero
if((--Alarm_Hours)<0) {Alarm_Hours = 23;} //if hour below 0, reset to 23
SetAlarm.c(79): warning: #186-D: pointless comparison of unsigned integer with zero
if((--Alarm_Minutes)<0) {Alarm_Minutes = 59;} //if min below 0, reset to 59
SetAlarm.c: 2 warnings, 0 errors
compiling PWM.c...
compiling TimeDisplay.c...
compiling ToggleAlarm.c...
compiling MainMenu.c...
linking...
Program Size: Code=8032 RO-data=2344 RW-data=84 ZI-data=1028
".\ST7735.axf" - 0 Error(s), 4 Warning(s).
</pre>
</body>
</html>
list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\ST7735.axf" - 1 Error(s), 4 Warning(s).
Target not created
tion to list the image map.
Finished: 2 information, 0 warning and 1 error messages.
".\ST7735.axf" - 1 Error(s), 5 Warning(s).
Target not created
(by mainmenu.o and timedisplay.o).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 2 error messages.
".\ST7735.axf" - 2 Error(s), 6 Warning(s).
Target not created
ling TimeDisplay.c...
compiling ToggleAlarm.c...
linking...
Program Size: Code=7756 RO-data=2340 RW-data=84 ZI-data=1028
".\ST7735.axf" - 0 Error(s), 11 Warning(s).
hour below 0, reset to 23
SetAlarm.c(81): warning: #186-D: pointless comparison of unsigned integer with zero
if((--Alarm_Minutes)<0) {Alarm_Minutes = 59;} //if min below 0, reset to 59
SetAlarm.c(89): warning: #1-D: last line of file ends without a newline
if((--alarm_minutes)<0) {alarm_minutes = 59;} //if min below 0, reset to 59
SetAlarm.c(82): warning: #1-D: last line of file ends without a newline
}
SetAlarm.c: 4 warnings, 0 errors
compiling PWM.c...
compiling TimeDisplay.c...
compiling ToggleAlarm.c...
SetAlarm.h(20): warning: #1-D: last line of file ends without a newline
void DisplayAlarm(void);
ToggleAlarm.c: 1 warning, 0 errors
compiling AlarmClockMain.c...
SetTime.h(26): warning: #1-D: last line of file ends without a newline
void decrementMin(void);
SetAlarm.h(21): warning: #1-D: last line of file ends without a newline
void AlarmToggleOFF(void);
AlarmClockMain.c: 2 warnings, 0 errors
compiling SysTick.c...
linking...
Program Size: Code=7756 RO-data=2340 RW-data=84 ZI-data=1028
".\ST7735.axf" - 0 Error(s), 17 Warning(s).
}
ToggleAlarm.c: 1 warning, 2 errors
".\ST7735.axf" - 2 Error(s), 17 Warning(s).
Program Size: Code=8152 RO-data=2344 RW-data=64 ZI-data=1024
".\ST7735.axf" - 0 Error(s), 10 Warning(s).
Load "C:\\Users\\MichaelPark\\Desktop\\UT\\4-1 Spring 2016\\EE 445L\\Labs\\445L\\Lab3\\ST7735_4C123\\ST7735_4C123\\ST7735.axf"
Connecting: Mode=JTAG, Speed=1000000Hz
Erase Done.
Programming Done.
Verify OK.
Load "C:\\Users\\MichaelPark\\Desktop\\UT\\4-1 Spring 2016\\EE 445L\\Labs\\445L\\Lab3\\ST7735_4C123\\ST7735_4C123\\ST7735.axf"
Connecting: Mode=JTAG, Speed=1000000Hz
Erase Done.
Programming Done.
Verify OK.
g(s).
Target not created
rmTime" declared implicitly
CheckAlarmTime()
ToggleAlarm.c(32): error: #65: expected a ";"
}
ToggleAlarm.c(47): error: #159: declaration is incompatible with previous "CheckAlarmTime" (declared at line 31)
void CheckAlarmTime(void)
ToggleAlarm.c: 3 warnings, 3 errors
".\ST7735.axf" - 3 Error(s), 19 Warning(s).
2 Error(s), 11 Warning(s).
Target not created
30: expected a "{"
extern __softfp unsigned __ARM_dcmp4(double /*x*/, double /*y*/);
C:\Keil\ARM\ARMCC\bin\..\include\math.h(126): error: #118: a void function may not return a value
return ((__FLT(__x) >> 23) & 0xff) != 0xff;
C:\Keil\ARM\ARMCC\bin\..\include\math.h(126): error: #20: identifier "__x" is undefined
return ((__FLT(__x) >> 23) & 0xff) != 0xff;
TimeDisplay.c(78): warning: #223-D: function "DelayWait10ms" declared implicitly
DelayWait10ms(500);
TimeDisplay.c(92): warning: #223-D: function "DelayWait10ms" declared implicitly
DelayWait10ms(1);
TimeDisplay.c: 2 warnings, 3 errors
compiling AlarmClockMain.c...
TimeDisplay.h(12): error: #130: expected a "{"
void TimeDisplay_Init(void);
SetTime.h(26): warning: #1-D: last line of file ends without a newline
void decrementMin(void);
SetAlarm.h(21): warning: #1-D: last line of file ends without a newline
void AlarmToggleOFF(void);
AlarmClockMain.c(28): warning: #12-D: parsing restarts here after previous syntax error
{
AlarmClockMain.c(29): error: #20: identifier "SetTime_Mode" is undefined
SetTime_Mode,
AlarmClockMain.c(30): error: #20: identifier "SetAlarm_Mode" is undefined
SetAlarm_Mode,
AlarmClockMain.c(31): error: #20: identifier "ToggleAlarm_Mode" is undefined
ToggleAlarm_Mode,
AlarmClockMain.c(32): error: #20: identifier "TimeDisplay_Mode" is undefined
TimeDisplay_Mode
AlarmClockMain.c(33): error: #65: expected a ";"
};
AlarmClockMain.c(49): warning: #223-D: function "PLL_Init" declared implicitly
PLL_Init(Bus80MHz); // set system clock to 80 MHz
AlarmClockMain.c(50): warning: #223-D: function "Timer1_Init" declared implicitly
Timer1_Init(0, PERIOD); // Init Timer1 for global clock
AlarmClockMain.c(52): warning: #223-D: function "Switch_Init" declared implicitly
Switch_Init(); // Init PORTB and switch initialization
AlarmClockMain.c(53): warning: #223-D: function "PWM0A_Init" declared implicitly
PWM0A_Init(40000, 30000); // Init PWM Sound module
AlarmClockMain.c(54): warning: #223-D: function "SysTick_Init" declared implicitly
SysTick_Init(80000);
AlarmClockMain.c(68): warning: #223-D: function "SetTime_Init" declared implicitly
SetTime_Init();
AlarmClockMain.c(82): error: #20: identifier "SetTime_Mode" is undefined
if(Mode == SetTime_Mode)
AlarmClockMain.c(85): error: #20: identifier "SetAlarm_Mode" is undefined
if(Mode == SetAlarm_Mode)
AlarmClockMain.c(89): error: #20: identifier "ToggleAlarm_Mode" is undefined
if(Mode == ToggleAlarm_Mode)
AlarmClockMain.c(93): error: #20: identifier "TimeDisplay_Mode" is undefined
if(Mode == TimeDisplay_Mode)
AlarmClockMain.c(95): warning: #223-D: function "DisplayRefresh" declared implicitly
DisplayRefresh();
AlarmClockMain.c(96): warning: #223-D: function "DisplayMinute" declared implicitly
DisplayMinute();
AlarmClockMain.c(97): warning: #223-D: function "DisplayHour" declared implicitly
DisplayHour();
AlarmClockMain.c(128): error: #20: identifier "SetTime_Mode" is undefined
Mode = SetTime_Mode;
AlarmClockMain.c(135): error: #20: identifier "SetAlarm_Mode" is undefined
Mode = SetAlarm_Mode;
AlarmClockMain.c(142): error: #20: identifier "ToggleAlarm_Mode" is undefined
Mode = ToggleAlarm_Mode;
AlarmClockMain.c(149): error: #20: identifier "TimeDisplay_Mode" is undefined
Mode = TimeDisplay_Mode;
AlarmClockMain.c: 12 warnings, 14 errors
compiling SysTickInts.c...
compiling SysTick.c...
compiling Timer0A.c...
".\ST7735.axf" - 22 Error(s), 24 Warning(s).
Target not created
@@ -1631,13 +1631,19 @@ void Output_Color(uint32_t newColor){ // Set color of future output
// Output: none

void ST7735_Line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color){

if(y1<32)
y1=32;
if(y2<32)
y2=32;
int16_t num, denom;
uint16_t currentX, currentY;
int32_t inc = 0;
num = y2 - y1;
denom = x2 - x1;
currentX = x1;
currentY = y1;
int32_t store=0;

if (abs(denom) > abs(num) )
{
@@ -1677,3 +1683,42 @@ void ST7735_Line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t co
}
}

// *************** ST7735_DrawCircle ********************
// Inputs: x0, center x coordinate
// y0, center left y coordinate
// r, radius of circle
// color, color of circle r,g,b
// Outputs: none
void ST7735_DrawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color) {
int16_t f = 1 - r;
int16_t ddF_x = 1;
int16_t ddF_y = -2 * r;
int16_t x = 0;
int16_t y = r;

ST7735_DrawPixel(x0, y0+r, color);
ST7735_DrawPixel(x0, y0-r, color);
ST7735_DrawPixel(x0+r, y0, color);
ST7735_DrawPixel(x0-r, y0, color);

while (x<y) {
if (f >= 0) {
y--;
ddF_y += 2;
f += ddF_y;
}
x++;
ddF_x += 2;
f += ddF_x;

ST7735_DrawPixel(x0 + x, y0 + y, color);
ST7735_DrawPixel(x0 - x, y0 + y, color);
ST7735_DrawPixel(x0 + x, y0 - y, color);
ST7735_DrawPixel(x0 - x, y0 - y, color);
ST7735_DrawPixel(x0 + y, y0 + x, color);
ST7735_DrawPixel(x0 - y, y0 + x, color);
ST7735_DrawPixel(x0 + y, y0 - x, color);
ST7735_DrawPixel(x0 - y, y0 - x, color);

}
}
@@ -457,4 +457,5 @@ void Output_Color(uint32_t newColor);

void ST7735_Line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);

void ST7735_DrawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color);
#endif

Large diffs are not rendered by default.

@@ -2,16 +2,14 @@
".\startup.o"
".\pll.o"
".\st7735.o"
".\st7735testmain.o"
".\systick.o"
".\switch.o"
".\timer1.o"
".\settime.o"
".\setalarm.o"
".\pwm.o"
".\timedisplay.o"
".\togglealarm.o"
".\mainmenu.o"
".\alarmclockmain.o"
".\systick.o"
--library_type=microlib --ro-base 0x00000000 --entry 0x00000000 --rw-base 0x20000000 --entry Reset_Handler --first __Vectors --strict --summary_stderr --info summarysizes --map --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list ".\ST7735.map" -o .\ST7735.axf

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -77,8 +77,8 @@
</OPTFL>
<CpuCode>255</CpuCode>
<DebugOpt>
<uSim>1</uSim>
<uTrg>0</uTrg>
<uSim>0</uSim>
<uTrg>1</uTrg>
<sLdApp>1</sLdApp>
<sGomain>1</sGomain>
<sRbreak>1</sRbreak>
@@ -96,7 +96,7 @@
<tRtrace>0</tRtrace>
<sRSysVw>1</sRSysVw>
<tRSysVw>1</tRSysVw>
<tPdscDbg>1</tPdscDbg>
<tPdscDbg>0</tPdscDbg>
<sRunDeb>0</sRunDeb>
<sLrtime>0</sLrtime>
<nTsel>3</nTsel>
@@ -116,7 +116,6 @@
<SetRegEntry>
<Number>0</Number>
<Key>DLGUARM</Key>
<Name>ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÈ`äŒû&amp;&lt;Àò&amp;</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
@@ -144,7 +143,24 @@
<Name>-U-O4622 -O4622 -S3 -FO29</Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint/>
<Breakpoint>
<Bp>
<Number>0</Number>
<Type>0</Type>
<LineNumber>79</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>4016</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>1</BreakIfRCount>
<Filename>.\Switch.c</Filename>
<ExecCommand></ExecCommand>
<Expression></Expression>
</Bp>
</Breakpoint>
<MemoryWindow1>
<Mm>
<WinNumber>1</WinNumber>
@@ -200,8 +216,8 @@
<Focus>0</Focus>
<ColumnNumber>0</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1</TopLine>
<CurrentLine>1</CurrentLine>
<TopLine>270</TopLine>
<CurrentLine>277</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\startup.s</PathWithFileName>
<FilenameWithoutPath>startup.s</FilenameWithoutPath>
@@ -228,12 +244,12 @@
<GroupNumber>1</GroupNumber>
<FileNumber>3</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>34</ColumnNumber>
<ColumnNumber>8</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1489</TopLine>
<CurrentLine>1541</CurrentLine>
<TopLine>1574</TopLine>
<CurrentLine>1601</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\ST7735.c</PathWithFileName>
<FilenameWithoutPath>ST7735.c</FilenameWithoutPath>
@@ -244,12 +260,12 @@
<GroupNumber>1</GroupNumber>
<FileNumber>4</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>22</ColumnNumber>
<ColumnNumber>21</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1</TopLine>
<CurrentLine>48</CurrentLine>
<CurrentLine>7</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\ST7735TestMain.c</PathWithFileName>
<FilenameWithoutPath>ST7735TestMain.c</FilenameWithoutPath>
@@ -264,7 +280,7 @@
<Focus>0</Focus>
<ColumnNumber>41</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>27</TopLine>
<TopLine>28</TopLine>
<CurrentLine>41</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\SysTick.c</PathWithFileName>
@@ -278,10 +294,10 @@
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>17</ColumnNumber>
<ColumnNumber>0</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>86</TopLine>
<CurrentLine>78</CurrentLine>
<TopLine>82</TopLine>
<CurrentLine>93</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\Switch.c</PathWithFileName>
<FilenameWithoutPath>Switch.c</FilenameWithoutPath>
@@ -294,10 +310,10 @@
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>0</ColumnNumber>
<ColumnNumber>1</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>17</TopLine>
<CurrentLine>34</CurrentLine>
<TopLine>14</TopLine>
<CurrentLine>55</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\Timer1.c</PathWithFileName>
<FilenameWithoutPath>Timer1.c</FilenameWithoutPath>
@@ -310,10 +326,10 @@
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>20</ColumnNumber>
<ColumnNumber>0</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>2</TopLine>
<CurrentLine>11</CurrentLine>
<TopLine>9</TopLine>
<CurrentLine>23</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\SetTime.c</PathWithFileName>
<FilenameWithoutPath>SetTime.c</FilenameWithoutPath>
@@ -324,12 +340,12 @@
<GroupNumber>1</GroupNumber>
<FileNumber>9</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>11</ColumnNumber>
<ColumnNumber>0</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>3</TopLine>
<CurrentLine>12</CurrentLine>
<TopLine>46</TopLine>
<CurrentLine>81</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\SetAlarm.c</PathWithFileName>
<FilenameWithoutPath>SetAlarm.c</FilenameWithoutPath>
@@ -342,10 +358,10 @@
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>69</ColumnNumber>
<ColumnNumber>68</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1</TopLine>
<CurrentLine>46</CurrentLine>
<TopLine>26</TopLine>
<CurrentLine>34</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\PWM.c</PathWithFileName>
<FilenameWithoutPath>PWM.c</FilenameWithoutPath>
@@ -358,48 +374,16 @@
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>0</ColumnNumber>
<ColumnNumber>2</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1</TopLine>
<CurrentLine>15</CurrentLine>
<TopLine>32</TopLine>
<CurrentLine>31</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\TimeDisplay.c</PathWithFileName>
<FilenameWithoutPath>TimeDisplay.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>1</GroupNumber>
<FileNumber>12</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<Focus>0</Focus>
<ColumnNumber>27</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1</TopLine>
<CurrentLine>22</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\ToggleAlarm.c</PathWithFileName>
<FilenameWithoutPath>ToggleAlarm.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>1</GroupNumber>
<FileNumber>13</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>19</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1</TopLine>
<CurrentLine>5</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\MainMenu.c</PathWithFileName>
<FilenameWithoutPath>MainMenu.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>

</ProjectOpt>
@@ -119,7 +119,7 @@
<Oh166RecLen>16</Oh166RecLen>
</OPTHX>
<Simulator>
<UseSimulator>1</UseSimulator>
<UseSimulator>0</UseSimulator>
<LoadApplicationAtStartup>1</LoadApplicationAtStartup>
<RunToMain>1</RunToMain>
<RestoreBreakpoints>1</RestoreBreakpoints>
@@ -131,7 +131,7 @@
<RestoreSysVw>1</RestoreSysVw>
</Simulator>
<Target>
<UseTarget>0</UseTarget>
<UseTarget>1</UseTarget>
<LoadApplicationAtStartup>1</LoadApplicationAtStartup>
<RunToMain>1</RunToMain>
<RestoreBreakpoints>1</RestoreBreakpoints>
@@ -141,7 +141,7 @@
<RestoreToolbox>1</RestoreToolbox>
<RestoreTracepoints>0</RestoreTracepoints>
<RestoreSysVw>1</RestoreSysVw>
<UsePdscDebugDescription>1</UsePdscDebugDescription>
<UsePdscDebugDescription>0</UsePdscDebugDescription>
</Target>
<RunDebugAfterBuild>0</RunDebugAfterBuild>
<TargetSelection>3</TargetSelection>
@@ -460,16 +460,6 @@
<FileType>1</FileType>
<FilePath>.\TimeDisplay.c</FilePath>
</File>
<File>
<FileName>ToggleAlarm.c</FileName>
<FileType>1</FileType>
<FilePath>.\ToggleAlarm.c</FilePath>
</File>
<File>
<FileName>MainMenu.c</FileName>
<FileType>1</FileType>
<FilePath>.\MainMenu.c</FilePath>
</File>
</Files>
</Group>
</Groups>
@@ -1,75 +1,64 @@
Dependencies for Project 'ST7735', Target 'ST7735': (DO NOT MODIFY !)
F (.\startup.s)(0x56BFD2B8)(--cpu Cortex-M4 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1"-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"--list .\startup.lst --xref -o .\startup.o --depend .\startup.d)
F (.\PLL.c)(0x56BFD2B8)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\pll.o --omf_browse .\pll.crf --depend .\pll.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (PLL.h)(0x56BFD2B8)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\ST7735.c)(0x56BFF205)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\st7735.o --omf_browse .\st7735.crf --depend .\st7735.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdlib.h)(0x51C87C24)
I (ST7735.h)(0x56BFD2B8)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
I (D:\Program Files (x86)\ARM\ARMCC\include\math.h)(0x51C87C24)
F (.\ST7735TestMain.c)(0x56BFF752)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\st7735testmain.o --omf_browse .\st7735testmain.crf --depend .\st7735testmain.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (ST7735.h)(0x56BFD2B8)
I (TimeDisplay.h)(0x56BFD2B8)
I (SetTime.h)(0x56BFF83A)
I (PLL.h)(0x56BFD2B8)
I (Timer1.h)(0x56BFD2B8)
I (Switch.h)(0x56BFD2B8)
I (SetAlarm.h)(0x56BFF0D3)
I (ToggleAlarm.h)(0x56BFF008)
I (MainMenu.h)(0x56BFF787)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\SysTick.c)(0x56BFD2B8)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\systick.o --omf_browse .\systick.crf --depend .\systick.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\Switch.c)(0x56BFD2B8)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\switch.o --omf_browse .\switch.crf --depend .\switch.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
I (SysTick.h)(0x56BFD2B8)
I (Switch.h)(0x56BFD2B8)
I (SetTime.h)(0x56BFF83A)
I (SetAlarm.h)(0x56BFF0D3)
I (TimeDisplay.h)(0x56BFD2B8)
F (.\Timer1.c)(0x56BFD2B8)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\timer1.o --omf_browse .\timer1.crf --depend .\timer1.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
I (Timer1.h)(0x56BFD2B8)
F (.\SetTime.c)(0x56BFF8C6)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\settime.o --omf_browse .\settime.crf --depend .\settime.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (SetTime.h)(0x56BFF83A)
I (TimeDisplay.h)(0x56BFD2B8)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\SetAlarm.c)(0x56BFF871)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\setalarm.o --omf_browse .\setalarm.crf --depend .\setalarm.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (SetAlarm.h)(0x56BFF0D3)
I (ST7735.h)(0x56BFD2B8)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\PWM.c)(0x56BFD2B8)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\pwm.o --omf_browse .\pwm.crf --depend .\pwm.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
F (.\TimeDisplay.c)(0x56BFF827)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\timedisplay.o --omf_browse .\timedisplay.crf --depend .\timedisplay.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\math.h)(0x51C87C24)
I (ST7735.h)(0x56BFD2B8)
I (TimeDisplay.h)(0x56BFD2B8)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\ToggleAlarm.c)(0x56BFF7DF)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\togglealarm.o --omf_browse .\togglealarm.crf --depend .\togglealarm.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (SetAlarm.h)(0x56BFF0D3)
I (ToggleAlarm.h)(0x56BFF008)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\MainMenu.c)(0x56BFF79A)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I "D:\Program Files (x86)\ARM\RV31\INC"-I "D:\Program Files (x86)\ARM\CMSIS\Include"-I "D:\Program Files (x86)\ARM\Inc\Luminary"-Drvmdk -DPART_LM4F120H5QR-o .\mainmenu.o --omf_browse .\mainmenu.crf --depend .\mainmenu.d)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (D:\Program Files (x86)\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (ST7735.h)(0x56BFD2B8)
I (MainMenu.h)(0x56BFF787)
I (ToggleAlarm.h)(0x56BFF008)
I (..\../Shared/tm4c123gh6pm.h)(0x56BFD2B8)
F (.\startup.s)(0x56BE5E49)(--cpu Cortex-M4 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1"-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary--list .\startup.lst --xref -o .\startup.o --depend .\startup.d)
F (.\PLL.c)(0x56BE5E49)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\pll.o --omf_browse .\pll.crf --depend .\pll.d)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (PLL.h)(0x56BE5E49)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
F (.\ST7735.c)(0x56C06908)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\st7735.o --omf_browse .\st7735.crf --depend .\st7735.d)
I (C:\Keil\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (C:\Keil\ARM\ARMCC\include\stdlib.h)(0x51C87C24)
I (ST7735.h)(0x56C068F6)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
I (C:\Keil\ARM\ARMCC\include\math.h)(0x51C87C24)
F (.\Switch.c)(0x56C0180E)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\switch.o --omf_browse .\switch.crf --depend .\switch.d)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
I (SysTick.h)(0x56BE5E49)
I (Switch.h)(0x56BE5E49)
I (SetTime.h)(0x56BEA654)
I (C:\Keil\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (SetAlarm.h)(0x56BE5E49)
I (TimeDisplay.h)(0x56C068DA)
I (ST7735.h)(0x56C068F6)
F (.\Timer1.c)(0x56BEA654)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\timer1.o --omf_browse .\timer1.crf --depend .\timer1.d)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
I (Timer1.h)(0x56BE5E49)
F (.\SetTime.c)(0x56C06728)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\settime.o --omf_browse .\settime.crf --depend .\settime.d)
I (C:\Keil\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (SetTime.h)(0x56BEA654)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
I (Timer1.h)(0x56BE5E49)
I (TimeDisplay.h)(0x56C068DA)
F (.\SetAlarm.c)(0x56BE5E49)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\setalarm.o --omf_browse .\setalarm.crf --depend .\setalarm.d)
I (C:\Keil\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (SetAlarm.h)(0x56BE5E49)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
F (.\PWM.c)(0x56C03BD0)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\pwm.o --omf_browse .\pwm.crf --depend .\pwm.d)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
F (.\TimeDisplay.c)(0x56C06D3F)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\timedisplay.o --omf_browse .\timedisplay.crf --depend .\timedisplay.d)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (C:\Keil\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
I (ST7735.h)(0x56C068F6)
I (C:\Keil\ARM\ARMCC\include\math.h)(0x51C87C24)
I (TimeDisplay.h)(0x56C068DA)
F (.\AlarmClockMain.c)(0x56C06DE3)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\alarmclockmain.o --omf_browse .\alarmclockmain.crf --depend .\alarmclockmain.d)
I (C:\Keil\ARM\ARMCC\include\stdio.h)(0x51C87C24)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (ST7735.h)(0x56C068F6)
I (TimeDisplay.h)(0x56C068DA)
I (SetTime.h)(0x56BEA654)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
I (PLL.h)(0x56BE5E49)
I (Timer1.h)(0x56BE5E49)
I (Switch.h)(0x56BE5E49)
I (SetAlarm.h)(0x56BE5E49)
I (PWM.h)(0x56BE5E49)
I (SystickInts.h)(0x56A7C9DE)
F (.\SysTick.c)(0x56BE5E49)(-c --cpu Cortex-M4 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections --signed_chars -I.. -I..\..\.. --C99-I C:\Keil\ARM\RV31\INC-I C:\Keil\ARM\CMSIS\Include-I C:\Keil\ARM\Inc\Luminary-Drvmdk -DPART_LM4F120H5QR-o .\systick.o --omf_browse .\systick.crf --depend .\systick.d)
I (C:\Keil\ARM\ARMCC\include\stdint.h)(0x51C87C24)
I (..\../Shared/tm4c123gh6pm.h)(0x56BE5E49)
@@ -228,12 +228,12 @@
<GroupNumber>1</GroupNumber>
<FileNumber>3</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>46</ColumnNumber>
<ColumnNumber>37</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>66</TopLine>
<CurrentLine>67</CurrentLine>
<TopLine>34</TopLine>
<CurrentLine>54</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\ST7735.c</PathWithFileName>
<FilenameWithoutPath>ST7735.c</FilenameWithoutPath>
@@ -244,12 +244,12 @@
<GroupNumber>1</GroupNumber>
<FileNumber>4</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>6</ColumnNumber>
<ColumnNumber>14</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>514</TopLine>
<CurrentLine>531</CurrentLine>
<TopLine>34</TopLine>
<CurrentLine>42</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\ST7735TestMain.c</PathWithFileName>
<FilenameWithoutPath>ST7735TestMain.c</FilenameWithoutPath>
@@ -278,10 +278,10 @@
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>0</ColumnNumber>
<ColumnNumber>15</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>46</TopLine>
<CurrentLine>63</CurrentLine>
<TopLine>133</TopLine>
<CurrentLine>143</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\Switch.c</PathWithFileName>
<FilenameWithoutPath>Switch.c</FilenameWithoutPath>
@@ -312,8 +312,8 @@
<Focus>0</Focus>
<ColumnNumber>0</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>34</TopLine>
<CurrentLine>8</CurrentLine>
<TopLine>1</TopLine>
<CurrentLine>23</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\SetTime.c</PathWithFileName>
<FilenameWithoutPath>SetTime.c</FilenameWithoutPath>
@@ -352,6 +352,22 @@
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>1</GroupNumber>
<FileNumber>11</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
<ColumnNumber>0</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
<TopLine>1</TopLine>
<CurrentLine>1</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>.\TimeDisplay.c</PathWithFileName>
<FilenameWithoutPath>TimeDisplay.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>

</ProjectOpt>
@@ -455,6 +455,11 @@
<FileType>1</FileType>
<FilePath>.\PWM.c</FilePath>
</File>
<File>
<FileName>TimeDisplay.c</FileName>
<FileType>1</FileType>
<FilePath>.\TimeDisplay.c</FilePath>
</File>
</Files>
</Group>
</Groups>
@@ -9,36 +9,21 @@
#include <stdio.h>
#include <stdint.h>
#include "SetAlarm.h"
#include "ST7735.h"
#include "../Shared/tm4c123gh6pm.h"

extern long StartCritical (void); // previous I bit, disable interrupts
extern void EndCritical(long sr); // restore I bit to previous value
extern volatile uint16_t Time_Seconds, Time_Minutes, Time_Hours; //from Main Class
volatile uint16_t Alarm_Seconds, Alarm_Minutes, Alarm_Hours; //from Main Class
volatile uint16_t alarm_hours, alarm_minutes;
volatile uint16_t alarm_flag;
//global: hour, min, alarmflag, displayflag, switchflag(for interrupt)

void SetAlarm_Init(void)
void setAlarmTimeInit(void)
{
Alarm_Seconds=0;
Alarm_Minutes=0;
Alarm_Hours=0;
}
void DisplayAlarmTime(void){
//disable interrupts
long critical=StartCritical();
DisplayAlarm();
EndCritical(critical);
//disable interrupts
}

//Assuming Time interrupt is disalbed
void changeAlarmTime(uint32_t buttonSelect)
void setAlarmTimeBase(uint32_t choice)
{
//enable critical section
long critical=StartCritical();

//set time seconds to 0
Alarm_Seconds=0;

switch(buttonSelect)
switch(choice)
{
case 0:
incrementAlarmHour();
@@ -52,36 +37,46 @@ void changeAlarmTime(uint32_t buttonSelect)
case 3:
decrementAlarmMin();
break;
//default:
//incrementHour(); //increment both for debugging
//incrementMin();
}
EndCritical(critical);

}

void incrementAlarmHour(void)
{
if((++Alarm_Hours)>23) {Alarm_Hours = 0;} //if hour exceeds 23, reset to 0
else {Alarm_Hours++;}
if((++alarm_hours)>23) {alarm_hours = 0;} //if hour exceeds 23, reset to 0
else {alarm_hours++;}
}

void decrementAlarmHour(void)
{
if((--Alarm_Hours)<0) {Alarm_Hours = 23;} //if hour below 0, reset to 23
else {Alarm_Hours--;}
if((--alarm_hours)<0) {alarm_hours = 23;} //if hour below 0, reset to 23
else {alarm_hours--;}
}

void incrementAlarmMin(void)
{
if((++Alarm_Minutes)>59) {Alarm_Minutes = 0;} //if min exceeds 59, reset to 0
else {Alarm_Minutes++;}
if((++alarm_minutes)>59) {alarm_minutes = 0;} //if min exceeds 59, reset to 0
else {alarm_minutes++;}
}

void decrementAlarmMin(void)
{
if((--Alarm_Minutes)<0) {Alarm_Minutes = 59;} //if min below 0, reset to 59
else {Alarm_Minutes--;}
if((--alarm_minutes)<0) {alarm_minutes = 59;} //if min below 0, reset to 59
else {alarm_minutes--;}
}
void DisplayAlarm(void){
char ch[5];
sprintf(ch,"%.2d:%.2d",Alarm_Hours, Alarm_Minutes);
ST7735_SetCursor(50, 79);
ST7735_OutString(ch);
void AlarmToggleON(void){

if(alarm_flag==0)
alarm_flag =1;



}
void AlarmToggleOFF(void){
if(alarm_flag==1)
alarm_flag =0;

}
@@ -7,14 +7,15 @@
// Last Revised: 02/15/16

//global: hour, min, alarmflag, displayflag, switchflag(for interrupt)
void SetAlarm_Init(void);

void DisplayAlarmTime(void);
void setAlarmTimeInit(void);
//Assuming Time interrupt is disalbed
void changeAlarmTime(uint32_t choice);
void setAlarmTimeBase(uint32_t choice);

void incrementAlarmHour(void);
void decrementAlarmHour(void);
void incrementAlarmMin(void);

void decrementAlarmMin(void);
void DisplayAlarm(void);
void AlarmToggleON(void);
void AlarmToggleOFF(void);
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <stdint.h>
#include "SetTime.h"
#include "Timer1.h"
#include "TimeDisplay.h"
#include "../Shared/tm4c123gh6pm.h"

@@ -19,10 +20,7 @@ extern volatile uint32_t Display_Mode; //from TimeDisplay Class

void SetTime_Init(void)
{
Time_Seconds=0;
Time_Minutes=0;
Time_Hours=0;


}
void DisplaySetTime(void){
//disable interrupts
@@ -60,24 +58,25 @@ void changeTime(uint32_t buttonSelect)

void incrementHour(void)
{
if((++Time_Hours)>23) {Time_Hours = 0;} //if hour exceeds 23, reset to 0
if((Time_Hours+1)>23) {Time_Hours = 0;} //if hour exceeds 23, reset to 0
else {Time_Hours++;}
}

void decrementHour(void)
{
if((--Time_Hours)<0) {Time_Hours = 23;} //if hour below 0, reset to 23
if((Time_Hours-1)<0) {Time_Hours = 23;} //if hour below 0, reset to 23
else {Time_Hours--;}
}

void incrementMin(void)
{
if((++Time_Minutes)>59) {Time_Minutes = 0;} //if min exceeds 59, reset to 0
if((Time_Minutes+1)>59) {Time_Minutes = 0;} //if min exceeds 59, reset to 0
else {Time_Minutes++;}
}

void decrementMin(void)
{
if((--Time_Minutes)<0) {Time_Minutes = 59;} //if min below 0, reset to 59
if((Time_Minutes-1)<0) {Time_Minutes = 59;} //if min below 0, reset to 59
else {Time_Minutes--;}
}

@@ -5,6 +5,11 @@
// Lab Number: 16340
// TA: Mahesh Srinivasan
// Last Revised: 02/15/16
#include <stdio.h>
#include <stdint.h>
#include "../Shared/tm4c123gh6pm.h"

//global: hour, min, alarmflag, displayflag, switchflag(for interrupt)

void SetTime_Init(void);
//Assuming Time interrupt is disalbed
@@ -18,5 +23,4 @@ void decrementHour(void);

void incrementMin(void);

void decrementMin(void);

void decrementMin(void);
@@ -51,6 +51,7 @@
#include "SetTime.h"
#include "SetAlarm.h"
#include "TimeDisplay.h"
#include "ST7735.h"

#define GPIO_LOCK_KEY 0x4C4F434B // Unlocks the GPIO_CR register
#define PF0 (*((volatile uint32_t *)0x40025004))
@@ -75,14 +76,20 @@ volatile uint16_t hours2,minutes2;
// Input: none
// Output: none
void Switch_Init(void){
SysTick_Init();
SYSCTL_RCGCGPIO_R |= 0x00000001; // 1) activate clock for Port A
while((SYSCTL_PRGPIO_R&0x01) == 0){};// ready?
GPIO_PORTA_AMSEL_R &= ~0x20; // 3) disable analog on PA5
GPIO_PORTA_PCTL_R &= ~0x00F00000; // 4) PCTL GPIO on PA5
GPIO_PORTA_DIR_R &= ~0x20; // 5) direction PA5 input
GPIO_PORTA_AFSEL_R &= ~0x20; // 6) PA5 regular port function
GPIO_PORTA_DEN_R |= 0x20; // 7) enable PA5 digital port
SYSCTL_RCGCGPIO_R |= 0x02; // 1) activate clock for Port B
// while((SYSCTL_PRGPIO_R&0x02) == 0){};// ready?
GPIO_PORTB_DIR_R &= ~0x0F; // PB0-3 is an input
//GPIO_PORTB_AFSEL_R &= ~0x0F; // regular port function
GPIO_PORTB_AMSEL_R &= ~0x0F; // disable analog on PB0-3
//GPIO_PORTB_PCTL_R &= ~0x0000FFFF; // PCTL GPIO on PB1
GPIO_PORTB_DEN_R |= 0x0F; // PB3-0 enabled as a digital port
GPIO_PORTB_IS_R &= ~0x0F; // PB 0-3 is edge-sensitive
GPIO_PORTB_IBE_R &= ~0x0F; // PB 0-3 is not both edges
GPIO_PORTB_IEV_R &= ~0x0F; // PB 0-3 falling edge event
GPIO_PORTB_ICR_R = 0x0F; // clear flag 0-3
GPIO_PORTB_IM_R |= 0x0F; // arm interrupt on PB 0-3
//NVIC_PRI0_R = (NVIC_PRI0_R&0xFF00FFFF)|0x00A00000; // (5) priority 5
NVIC_EN0_R = 0x00000002; //enable interrupt 1(PB) in NVIC
}
//------------Switch_Input------------
// Read and return the status of GPIO Port A bit 5
@@ -138,18 +145,27 @@ uint32_t Board_Input(void){
#define PB2 (*((volatile uint32_t *)0x40005010))
#define PB3 (*((volatile uint32_t *)0x40005020))
//------------Switch_Init3------------
// Initialize GPIO Port B bit 1 for input
// Initialize GPIO Port B bit 0-3 for input
// Input: none
// Output: none
void Switch_Init3(void){
SYSCTL_RCGCGPIO_R |= 0x02; // 1) activate clock for Port B
while((SYSCTL_PRGPIO_R&0x02) == 0){};// ready?
GPIO_PORTB_DIR_R &= ~0x02; // PB1 is an input
GPIO_PORTB_AFSEL_R &= ~0x02; // regular port function
GPIO_PORTB_AMSEL_R &= ~0x02; // disable analog on PB1
GPIO_PORTB_PCTL_R &= ~0x000000F0; // PCTL GPIO on PB1
GPIO_PORTB_DEN_R |= 0x02; // PB3-0 enabled as a digital port
GPIO_PORTB_DIR_R &= ~0x0F; // PB0-3 is an input
//GPIO_PORTB_AFSEL_R &= ~0x0F; // regular port function
//GPIO_PORTB_AMSEL_R &= ~0x0F; // disable analog on PB0-3
//GPIO_PORTB_PCTL_R &= ~0x0000FFFF; // PCTL GPIO on PB1
GPIO_PORTB_DEN_R |= 0x0F; // PB3-0 enabled as a digital port
GPIO_PORTC_IS_R &= ~0x0F; // PB 0-3 is edge-sensitive
GPIO_PORTC_IBE_R &= ~0x0F; // PB 0-3 is not both edges
GPIO_PORTC_IEV_R &= ~0x0F; // PB 0-3 falling edge event
GPIO_PORTC_ICR_R = 0x0F; // clear flag 0-3
GPIO_PORTC_IM_R |= 0x0F; // arm interrupt on PB 0-3
//NVIC_PRI0_R = (NVIC_PRI0_R&0xFF00FFFF)|0x00A00000; // (5) priority 5
NVIC_EN0_R = 0x00000002; //enable interrupt 1(PB) in NVIC
}


//------------Switch_Input3------------
// Read and return the status of GPIO Port B bit 1
// Input: none
@@ -183,22 +199,24 @@ uint32_t Switch_Input3(void){
void mainMenu(void){//check to see which button is pressed in which method
if(PB0){
menu_mode=MENU_SET_TIME;
setTime();
// setTime();
}
if(PB1){
menu_mode=MENU_SET_ALARM;
setAlarm();
// setAlarm();
}
if(PB2){
menu_mode=MENU_DISPLAY_TIME;
displayTime();
// displayTime();
}
if(PB3){
menu_mode=MENU_ALARM;
displayAlarm();
// displayAlarm();
}
}
void setTime(void){//time set method
if(PB0){
//setTimeInit();
@@ -268,12 +286,12 @@ void displayAlarm(void){
}
*/





#define DELAY10MS 160000
#define DELAY10US 160
//------------Switch_Debounce------------
@@ -0,0 +1,59 @@
// SysTickInts.c
// Runs on LM4F120/TM4C123
// Use the SysTick timer to request interrupts at a particular period.
// Daniel Valvano
// October 11, 2012

/* This example accompanies the book
"Embedded Systems: Real Time Interfacing to Arm Cortex M Microcontrollers",
ISBN: 978-1463590154, Jonathan Valvano, copyright (c) 2015
Program 5.12, section 5.7
Copyright 2015 by Jonathan W. Valvano, valvano@mail.utexas.edu
You may use, edit, run or distribute this file
as long as the above copyright notice remains
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
VALVANO SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
For more information about my classes, my research, and my books, see
http://users.ece.utexas.edu/~valvano/
*/

#include <stdint.h>
#include "../Shared/tm4c123gh6pm.h"
#include "SysTickInts.h"


void DisableInterrupts(void); // Disable interrupts
void EnableInterrupts(void); // Enable interrupts
long StartCritical (void); // previous I bit, disable interrupts
void EndCritical(long sr); // restore I bit to previous value
void WaitForInterrupt(void); // low power mode

// **************SysTick_Init*********************
// Initialize SysTick periodic interrupts
// Input: interrupt period
// Units of period are 12.5ns (assuming 50 MHz clock)
// Maximum is 2^24-1
// Minimum is determined by length of ISR
// Output: none
void SysTick_Init(uint32_t period){long sr;
sr = StartCritical();
NVIC_ST_CTRL_R = 0; // disable SysTick during setup
NVIC_ST_RELOAD_R = period-1;// reload value
NVIC_ST_CURRENT_R = 0; // any write to current clears it
NVIC_SYS_PRI3_R = (NVIC_SYS_PRI3_R&0x00FFFFFF)|0x40000000; // priority 2
// enable SysTick with core clock and interrupts
NVIC_ST_CTRL_R = 0x07;
EndCritical(sr);
}







@@ -0,0 +1,41 @@
// SysTickInts.h
// Runs on LM4F120/TM4C123
// Use the SysTick timer to request interrupts at a particular period.
// Daniel Valvano
// October 11, 2012

/* This example accompanies the book
"Embedded Systems: Real Time Interfacing to Arm Cortex M Microcontrollers",
ISBN: 978-1463590154, Jonathan Valvano, copyright (c) 2015
Program 5.12, section 5.7
Copyright 2015 by Jonathan W. Valvano, valvano@mail.utexas.edu
You may use, edit, run or distribute this file
as long as the above copyright notice remains
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
VALVANO SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
For more information about my classes, my research, and my books, see
http://users.ece.utexas.edu/~valvano/
*/

#ifndef __SYSTICKINTS_H__ // do not include more than once
#define __SYSTICKINTS_H__

// **************SysTick_Init*********************
// Initialize Systick periodic interrupts
// Input: interrupt period
// Units of period are 12.5ns (assuming 50 MHz clock)
// Maximum is 2^24-1
// Minimum is determined by lenght of ISR
// Output: none
void SysTick_Init(uint32_t period);

// Interrupt service routine
// Executed every 20ns*(period)
void SysTick_Handler(void);

#endif // __SYSTICKINTS_H__
@@ -4,17 +4,20 @@

#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include "../Shared/tm4c123gh6pm.h"
#include "ST7735.h"
#include <math.h>
#include "TimeDisplay.h"
#include "../Shared/tm4c123gh6pm.h"



#define CENTER_X 63
#define CENTER_Y 79
#define PI 3.14159265

#define PI 3.14159265358979323846
extern long StartCritical (void); // previous I bit, disable interrupts
extern void EndCritical(long sr); // restore I bit to previous value
void DelayWait10ms(uint32_t n);

extern volatile uint16_t Time_Minutes, Time_Hours;
volatile uint32_t Display_Mode;
@@ -27,12 +30,13 @@ volatile uint32_t Display_Mode;
// Output: none
void TimeDisplay_Init(void){
Display_Mode=0;
DisplayRefresh();
}
void DisplayMinute(void){
ST7735_Line(CENTER_X,CENTER_Y,CENTER_X+60*sin(Time_Minutes*6*PI/180),CENTER_Y+60*cos(Time_Minutes*6*PI/180),ST7735_BLACK);
ST7735_Line(CENTER_X,CENTER_Y,CENTER_X+60*sin(Time_Minutes*6*PI/180),CENTER_Y+60*cos(Time_Minutes*6*PI/180),ST7735_YELLOW);
}
void DisplayHour(void){
ST7735_Line(CENTER_X,CENTER_Y,CENTER_X+30*sin(Time_Hours*6*PI/180),CENTER_Y+30*cos(Time_Hours*6*PI/180),ST7735_BLACK);
ST7735_Line(CENTER_X,CENTER_Y,CENTER_X+30*sin(Time_Hours*6*PI/180),CENTER_Y+30*cos(Time_Hours*6*PI/180),ST7735_YELLOW);
}
void DisplayDigital(void){
char ch[5];
@@ -58,3 +62,52 @@ void SwitchMode(void){
}


void drawClockHands(void){
double lineLength = 45.0;
double rX = 64;
double rY = 80;
double x2 = 0;
double y2 = 0;
int sec = 0;
for(int angle = 0; angle < 360; angle+=6){
x2 = rX + lineLength*cos(angle * (PI/180));
y2 = rY + lineLength*sin(angle * (PI/180));
if(sec%10 == 0){
printf("%d", sec);
}
sec++;
ST7735_Line(rX, rY, x2, y2, ST7735_GREEN);
DelayWait10ms(500);
ST7735_Line(rX, rY, x2, y2, ST7735_YELLOW);
}
}

void ClockFace_Init(void)
{
int radius = 60;
ST7735_DrawCircle(64, 80, radius, ST7735_Color565(0, 0, 255)); // clock face
ST7735_DrawCharS(57, 22, '1', ST7735_Color565(255, 0, 0), 0, 1);
ST7735_DrawCharS(62, 22, '2', ST7735_Color565(255, 0, 0), 0, 1);
ST7735_DrawCharS(117, 77, '3', ST7735_Color565(255, 128, 0), 0, 1);
ST7735_DrawCharS(61, 132, '6', ST7735_Color565(255, 0, 0), 0, 1);
ST7735_DrawCharS(6, 77, '9', ST7735_Color565(255, 0, 0), 0, 1);
DelayWait10ms(1);
//drawClockHands();

}

// Subroutine to wait 10 msec
// Inputs: None
// Outputs: None
// Notes: ...
void DelayWait10ms(uint32_t n)
{
uint32_t volatile time;
while(n){
time = 727240*2/91; // 10msec
while(time){
time--;
}
n--;
}
}
@@ -7,12 +7,11 @@
// Output: none




void TimeDisplay_Init(void);
void DisplayMinute(void);
void DisplayHour(void);
void DisplayDigital(void);
void DisplayRefresh(void);
void SwitchMode(void);

void drawClockHands(void);
void ClockFace_Init(void);
@@ -0,0 +1,68 @@
// Timer0A.c
// Runs on LM4F120/TM4C123
// Use Timer0A in periodic mode to request interrupts at a particular
// period.
// Daniel Valvano
// September 11, 2013

/* This example accompanies the book
"Embedded Systems: Introduction to ARM Cortex M Microcontrollers"
ISBN: 978-1469998749, Jonathan Valvano, copyright (c) 2015
Volume 1, Program 9.8
"Embedded Systems: Real Time Interfacing to ARM Cortex M Microcontrollers",
ISBN: 978-1463590154, Jonathan Valvano, copyright (c) 2014
Volume 2, Program 7.5, example 7.6
Copyright 2015 by Jonathan W. Valvano, valvano@mail.utexas.edu
You may use, edit, run or distribute this file
as long as the above copyright notice remains
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
VALVANO SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
For more information about my classes, my research, and my books, see
http://users.ece.utexas.edu/~valvano/
*/
#include <stdint.h>
#include "../Shared/tm4c123gh6pm.h"



void DisableInterrupts(void); // Disable interrupts
void EnableInterrupts(void); // Enable interrupts
long StartCritical (void); // previous I bit, disable interrupts
void EndCritical(long sr); // restore I bit to previous value
void WaitForInterrupt(void); // low power mode
void (*PeriodicTask)(void); // user function


// ***************** Timer0A_Init ****************
// Activate TIMER0 interrupts to run user task periodically
// Inputs: task is a pointer to a user function
// period in units (1/clockfreq), 32 bits
// Outputs: none
void Timer0A_Init(void(*task)(void), uint32_t period){long sr;
sr = StartCritical();
SYSCTL_RCGCTIMER_R |= 0x01; // 0) activate TIMER0
PeriodicTask = task; // user function
TIMER0_CTL_R = 0x00000000; // 1) disable TIMER0A during setup
TIMER0_CFG_R = 0x00000000; // 2) configure for 32-bit mode
TIMER0_TAMR_R = 0x00000002; // 3) configure for periodic mode, default down-count settings
TIMER0_TAILR_R = period-1; // 4) reload value
TIMER0_TAPR_R = 0; // 5) bus clock resolution
TIMER0_ICR_R = 0x00000001; // 6) clear TIMER0A timeout flag
TIMER0_IMR_R = 0x00000001; // 7) arm timeout interrupt
NVIC_PRI4_R = (NVIC_PRI4_R&0x00FFFFFF)|0x80000000; // 8) priority 4
// interrupts enabled in the main program after all devices initialized
// vector number 35, interrupt number 19
NVIC_EN0_R = 1<<19; // 9) enable IRQ 19 in NVIC
TIMER0_CTL_R = 0x00000001; // 10) enable TIMER0A
EndCritical(sr);
}

void Timer0A_Handler(void){
TIMER0_ICR_R = TIMER_ICR_TATOCINT;// acknowledge timer0A timeout
(*PeriodicTask)(); // execute user task
}
@@ -0,0 +1,35 @@
// Timer0A.h
// Runs on LM4F120/TM4C123
// Use Timer0A in periodic mode to request interrupts at a particular
// period.
// Daniel Valvano
// September 11, 2013

/* This example accompanies the book
"Embedded Systems: Real Time Interfacing to Arm Cortex M Microcontrollers",
ISBN: 978-1463590154, Jonathan Valvano, copyright (c) 2015
Program 7.5, example 7.6
Copyright 2015 by Jonathan W. Valvano, valvano@mail.utexas.edu
You may use, edit, run or distribute this file
as long as the above copyright notice remains
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
VALVANO SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
For more information about my classes, my research, and my books, see
http://users.ece.utexas.edu/~valvano/
*/

#ifndef __TIMER0AINTS_H__ // do not include more than once
#define __TIMER0AINTS_H__

// ***************** Timer0A_Init ****************
// Activate Timer0A interrupts to run user task periodically
// Inputs: task is a pointer to a user function
// period in units (1/clockfreq), 32 bits
// Outputs: none
void Timer0A_Init(void(*task)(void), uint32_t period);

#endif // __TIMER0AINTS_H__
Binary file not shown.
@@ -0,0 +1,13 @@
.\alarmclockmain.o: AlarmClockMain.c
.\alarmclockmain.o: C:\Keil\ARM\ARMCC\bin\..\include\stdio.h
.\alarmclockmain.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\alarmclockmain.o: ST7735.h
.\alarmclockmain.o: TimeDisplay.h
.\alarmclockmain.o: SetTime.h
.\alarmclockmain.o: ..\../Shared/tm4c123gh6pm.h
.\alarmclockmain.o: PLL.h
.\alarmclockmain.o: Timer1.h
.\alarmclockmain.o: Switch.h
.\alarmclockmain.o: SetAlarm.h
.\alarmclockmain.o: PWM.h
.\alarmclockmain.o: SystickInts.h
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
.\periodicsystickints.o: PeriodicSysTickInts.c
.\periodicsystickints.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\periodicsystickints.o: ..\../Shared/tm4c123gh6pm.h
.\periodicsystickints.o: SysTickInts.h
.\periodicsystickints.o: PLL.h
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
.\pll.o: PLL.c
.\pll.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\pll.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\pll.o: PLL.h
.\pll.o: ..\../Shared/tm4c123gh6pm.h
Binary file not shown.
Binary file not shown.
@@ -1,2 +1,2 @@
.\pwm.o: PWM.c
.\pwm.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\pwm.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,5 @@
.\setalarm.o: SetAlarm.c
.\setalarm.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdio.h
.\setalarm.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\setalarm.o: C:\Keil\ARM\ARMCC\bin\..\include\stdio.h
.\setalarm.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\setalarm.o: SetAlarm.h
.\setalarm.o: ST7735.h
.\setalarm.o: ..\../Shared/tm4c123gh6pm.h
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,7 @@
.\settime.o: SetTime.c
.\settime.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdio.h
.\settime.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\settime.o: C:\Keil\ARM\ARMCC\bin\..\include\stdio.h
.\settime.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\settime.o: SetTime.h
.\settime.o: TimeDisplay.h
.\settime.o: ..\../Shared/tm4c123gh6pm.h
.\settime.o: Timer1.h
.\settime.o: TimeDisplay.h
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
.\st7735.o: ST7735.c
.\st7735.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdio.h
.\st7735.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\st7735.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdlib.h
.\st7735.o: C:\Keil\ARM\ARMCC\bin\..\include\stdio.h
.\st7735.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\st7735.o: C:\Keil\ARM\ARMCC\bin\..\include\stdlib.h
.\st7735.o: ST7735.h
.\st7735.o: ..\../Shared/tm4c123gh6pm.h
.\st7735.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\math.h
.\st7735.o: C:\Keil\ARM\ARMCC\bin\..\include\math.h
Binary file not shown.
Binary file not shown.
@@ -1,13 +1,11 @@
.\st7735testmain.o: ST7735TestMain.c
.\st7735testmain.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdio.h
.\st7735testmain.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\st7735testmain.o: C:\Keil\ARM\ARMCC\bin\..\include\stdio.h
.\st7735testmain.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\st7735testmain.o: ST7735.h
.\st7735testmain.o: TimeDisplay.h
.\st7735testmain.o: SetTime.h
.\st7735testmain.o: ..\../Shared/tm4c123gh6pm.h
.\st7735testmain.o: PLL.h
.\st7735testmain.o: Timer1.h
.\st7735testmain.o: Switch.h
.\st7735testmain.o: SetAlarm.h
.\st7735testmain.o: ToggleAlarm.h
.\st7735testmain.o: MainMenu.h
.\st7735testmain.o: ..\../Shared/tm4c123gh6pm.h
Binary file not shown.
@@ -1083,9 +1083,9 @@ ARM Macro Assembler Page 17
***********************
674 0000001C END
Command Line: --debug --xref --cpu=Cortex-M4 --apcs=interwork --depend=.\startu
p.d -o.\startup.o -I"D:\Program Files (x86)\ARM\RV31\INC" -I"D:\Program Files (
x86)\ARM\CMSIS\Include" -I"D:\Program Files (x86)\ARM\Inc\Luminary" --predefine
="__EVAL SETA 1" --predefine="__MICROLIB SETA 1" --list=.\startup.lst startup.s
p.d -o.\startup.o -IC:\Keil\ARM\RV31\INC -IC:\Keil\ARM\CMSIS\Include -IC:\Keil\
ARM\Inc\Luminary --predefine="__EVAL SETA 1" --predefine="__MICROLIB SETA 1" --
list=.\startup.lst startup.s



Binary file not shown.
Binary file not shown.
@@ -1,8 +1,10 @@
.\switch.o: Switch.c
.\switch.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\switch.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\switch.o: ..\../Shared/tm4c123gh6pm.h
.\switch.o: SysTick.h
.\switch.o: Switch.h
.\switch.o: SetTime.h
.\switch.o: C:\Keil\ARM\ARMCC\bin\..\include\stdio.h
.\switch.o: SetAlarm.h
.\switch.o: TimeDisplay.h
.\switch.o: ST7735.h
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
.\systick.o: SysTick.c
.\systick.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\systick.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\systick.o: ..\../Shared/tm4c123gh6pm.h
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
.\systickints.o: SysTickInts.c
.\systickints.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\systickints.o: ..\../Shared/tm4c123gh6pm.h
.\systickints.o: SysTickInts.h
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
.\timedisplay.o: TimeDisplay.c
.\timedisplay.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\timedisplay.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdio.h
.\timedisplay.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\math.h
.\timedisplay.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\timedisplay.o: C:\Keil\ARM\ARMCC\bin\..\include\stdio.h
.\timedisplay.o: ..\../Shared/tm4c123gh6pm.h
.\timedisplay.o: ST7735.h
.\timedisplay.o: C:\Keil\ARM\ARMCC\bin\..\include\math.h
.\timedisplay.o: TimeDisplay.h
.\timedisplay.o: ..\../Shared/tm4c123gh6pm.h
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
.\timer0a.o: Timer0A.c
.\timer0a.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\timer0a.o: ..\../Shared/tm4c123gh6pm.h
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
.\timer1.o: Timer1.c
.\timer1.o: D:\Program Files (x86)\ARM\ARMCC\bin\..\include\stdint.h
.\timer1.o: C:\Keil\ARM\ARMCC\bin\..\include\stdint.h
.\timer1.o: ..\../Shared/tm4c123gh6pm.h
.\timer1.o: Timer1.h
Binary file not shown.