-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInitializations.h
More file actions
37 lines (28 loc) · 816 Bytes
/
Initializations.h
File metadata and controls
37 lines (28 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Initializations.c
// This software holds all the initialization functions
// Runs on LM4F120 or TM4C123
// Program written by: Devin Chaky and Aldo Baez
// Date Created: 4/4/23
// Last Modified: 4/4/23
// Lab number: 10
#ifndef Initializations_H
#define Initializations_H
#include <stdint.h>
// used to initialize main screen
void GameInit(void);
// initializes periodic Systick Interrupt
// used to generate random number
void SysTick_Init(uint32_t period);
// initializes start screen logo
void Logo_Init(void);
// initializes edge triggered interrupts
void EdgeTrigger_Init(void);
// initializes port e buttons
void PortE_Init(void);
//initializes port d buttons
void PortD_Init(void);
// initializes LEDs
void Red(void);
void Yellow(void);
void Green(void);
#endif