ccNOos  v0.0.0
Build Portable Microcontroller Applications!
Functions
LCDapi.c File Reference

IMS: ccNOos, Implementation for straight C More...

#include "LCDapi.h"
Include dependency graph for LCDapi.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void parseLCDKeyPadAPI (struct SatComACSStruct *satcomacsStructPtrIn, struct uiStruct *uiStructPtrIn)
 

Detailed Description

IMS: ccNOos, Implementation for straight C

Copyright 2021 InMechaSol, Inc

Licensed under the Apache License, Version 2.0(the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Notes: (.c includes .h) - for straight C or (.cpp includes .c which includes .h) - for C++ wrapped straight C Always compiled to a single compilation unit, either C or CPP, not both

Definition in file LCDapi.c.

Function Documentation

◆ parseLCDKeyPadAPI()

void parseLCDKeyPadAPI ( struct SatComACSStruct *  satcomacsStructPtrIn,
struct uiStruct *  uiStructPtrIn 
)

Definition at line 29 of file LCDapi.c.

30 {
31  enum currentMenuAction theCurrentAction = cA_NoAction;
32  // Down
33  KEYIF("2", cA_Down)
34  // Up
35  KEYIF("8", cA_Up);
36  // Forward
37  KEYIF("6", cA_Forward);
38  // Back
39  KEYIF("4", cA_Back);
40  // Enter
41  KEYIF("5", cA_Enter);
42  // Status
43  KEYIF("7", cA_Status);
44  goParsedAction(theCurrentAction, satcomacsStructPtrIn, uiStructPtrIn);
45 }
goParsedAction
void goParsedAction(enum currentMenuAction theCurrentAction, struct SatComACSStruct *satcomacsStructPtrIn, struct uiStruct *uiStructPtrIn)
Definition: MenuAPI.c:90