button

Dependencies:   BMI160 SDFileSystem USBDevice max32630fthr

Fork of MPSMAX by Faizan Ahmad

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Functions.cpp Source File

Functions.cpp

00001 #include <stdlib.h>
00002 #include <string.h>
00003 #include "sc_types.h"
00004 #include "Default.h"
00005 #include "DefaultRequired.h"
00006 #include "main.h"
00007 
00008 extern void defaultIface_menu(const Default * handle, const sc_integer select1)
00009 {
00010     PrintStatus_Serial(1);
00011 }
00012 extern void defaultIface_function(const Default * handle, const sc_integer select2)
00013 {
00014     PrintStatus_Serial(2);
00015 }
00016 extern void defaultIface_execute(const Default * handle)
00017 {
00018     PrintStatus_Serial(3);
00019 }
00020 extern void defaultIfaceFunc_ready(const Default * handle)
00021 {
00022 PrintStatus_Serial(4);
00023 }
00024 extern void defaultIfaceFunc_active(const Default * handle)
00025 {
00026     PrintStatus_Serial(5);
00027 }
00028 extern void defaultIfaceFunc_alarm(const Default * handle)
00029 {
00030     PrintStatus_Serial(6);
00031 }
00032 extern void defaultIfaceFunc_moveDownAct(const Default * handle)
00033 {
00034     PrintStatus_Serial(7);
00035 }
00036 
00037 extern void defaultIfaceFunc_moveUpAct(const Default * handle)
00038 {
00039     PrintStatus_Serial(8);
00040 }
00041 extern void defaultIfaceFunc_return(const Default * handle)
00042 {
00043     PrintStatus_Serial(9);
00044 }
00045 extern void default_setTimer(Default * handle, const sc_eventid evid, const sc_integer time_ms, const sc_boolean periodic)
00046 {
00047     
00048 }
00049 
00050 extern void default_unsetTimer(Default * handle, const sc_eventid evid)
00051 {
00052 }