Stepper-Motor-Control
v3.0.0
System on a Chip 2014 - Group 04
|
Header file for userInputTask.c. More...
#include <sys/alt_irq.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include "includes.h"
#include "events.h"
#include "hardwareAccess.h"
#include "registerAccess.h"
#include "dataTypes.h"
#include "auxilaryFunctions.h"
#include "debugAndErrorOutput.h"
Go to the source code of this file.
Macros | |
#define | INTERRUPT_ENABLE |
global interrupts are enabled | |
#define | CTRL_REG_0_6_MSK (0b01111111) |
Bits 0..6 in ctrlReg. | |
Functions | |
void | UserInputTask (void *pdata) |
UserInputTask. More... | |
void | hardwareTest (void) |
Tests hardware. More... | |
Header file for userInputTask.c.
Contains defines, includes, typedefs and declarations needed for this task.
v0.1.0 22.10.2014 Riedel & Kossmann
v0.1.1 27.10.2014 Riedel
v0.1.2 30.10.2014 Kossmann
v0.1.3 30.10.2014 Kossmann
v0.1.4 30.10.2014 Riedel
v0.1.5 31.10.2014 Riedel & Kossmann
v1.0.0 03.11.2014 Kossmann
v1.0.1 13.11.2014 Kossmann
v1.0.2 14.11.2014 Riedel & Kossmann
v2.0.0 18.11.2014 Riedel & Kossmann
Definition in file userInputTask.h.
void hardwareTest | ( | void | ) |
Tests hardware.
A functions for just test some hardware features. Has no needed functionality for any Milestone
None |
Definition at line 223 of file userInputTask.c.
void UserInputTask | ( | void * | pdata | ) |
UserInputTask.
This task is the control instance for the whole system. All register access is done in this Task. It reacts to user input, sets needed flags and delivers needed informatino to other tasks.
pdata | : Pointer to parameter structure (not used) |
None |
Definition at line 55 of file userInputTask.c.