Release 1.01

Files at this revision

API Documentation at this revision

Comitter:
foxbrianr
Date:
Tue Sep 17 13:48:28 2019 +0000
Parent:
1:86f6ebbe4fd1
Commit message:
Beta 2

Changed in this revision

ButtonController.cpp Show annotated file Show diff for this revision Revisions of this file
ButtonController.h Show annotated file Show diff for this revision Revisions of this file
SPI_MX25R.cpp Show annotated file Show diff for this revision Revisions of this file
SPI_MX25R.h Show annotated file Show diff for this revision Revisions of this file
mcp23s08.cpp Show annotated file Show diff for this revision Revisions of this file
mcp23s08.h Show annotated file Show diff for this revision Revisions of this file
--- a/ButtonController.cpp	Thu Sep 12 11:27:59 2019 +0000
+++ b/ButtonController.cpp	Tue Sep 17 13:48:28 2019 +0000
@@ -1,6 +1,29 @@
+/**************************************************************************//**
+ * @file     ButtonController.cpp
+ * @brief    Base class for wrapping the interface with the GPIO Extender.
+ * @version: V1.0
+ * @date:    9/17/2019
+
+ *
+ * @note
+ * Copyright (C) 2019 E3 Design. All rights reserved.
+ *
+ * @par
+ * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
+ * processor based microcontroller for the ESCM 2000 Monitor and Display.  
+ *  *
+ * @par
+ * 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.
+ * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
+ * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+ *
+ ******************************************************************************/
 #include "ButtonController.h"
 
 
+/******************************************************************************/
 ButtonController::ButtonController()
 {
     
@@ -28,16 +51,19 @@
     
 }
 
+/******************************************************************************/
 ButtonController::~ButtonController()
 {
     
 }
 
+/******************************************************************************/
 void ButtonController::init(void)
 {
     
 }
 
+/******************************************************************************/
 void ButtonController::processCmdQueue(Menu * activeMenu)
 {
     while (!cmd_queue.empty()) {
@@ -75,6 +101,7 @@
 }
 
 
+/******************************************************************************/
 uint8_t ButtonController::getCurrentState()
 {
     currentValue = spi_io_exp->readGpioPort();
@@ -83,6 +110,7 @@
 }
 
 
+/******************************************************************************/
 void ButtonController::update(void)
 {        
 
@@ -133,34 +161,41 @@
 }
 
 
+/******************************************************************************/
 void ButtonController::pressButtonUp(void)
 {
     printf("Up Button Pressed:%d\n\r",currentValue);
 }
 
+/******************************************************************************/
 void ButtonController::pressButtonDown(void)
 {
     printf("Down Button Pressed:%d\n\r",currentValue);
 }
 
+/******************************************************************************/
 void ButtonController::pressButtonSet(void)
 {
     printf("Set Button Pressed:%d\n\r",currentValue);
 }
 
+/******************************************************************************/
 void ButtonController::pressButtonMode(void)
 {
     printf("Mode Button Pressed:%d\n\r",currentValue);
 }
 
+/******************************************************************************/
 void ButtonController::pressButtonClear(void)
 {
     printf("Clear Button Pressed:%d\n\r",currentValue);
 }
 
+/******************************************************************************/
 void ButtonController::releaseButton(void)
 {
     //printf("Button Released:%d\n\r",currentValue);
     isHeld = 0;
     countsSinceChange = 0;
 }
+/******************************************************************************/
--- a/ButtonController.h	Thu Sep 12 11:27:59 2019 +0000
+++ b/ButtonController.h	Tue Sep 17 13:48:28 2019 +0000
@@ -1,4 +1,27 @@
-#ifndef _BUTTON_CONTROLLER_
+/**************************************************************************//**
+ * @file     ButtonController.h
+ * @brief    Base class for wrapping the interface with the GPIO Extender.
+ * @version: V1.0
+ * @date:    9/17/2019
+
+ *
+ * @note
+ * Copyright (C) 2019 E3 Design. All rights reserved.
+ *
+ * @par
+ * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
+ * processor based microcontroller for the ESCM 2000 Monitor and Display.  
+ *  *
+ * @par
+ * 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.
+ * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
+ * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+ *
+ ******************************************************************************/
+ 
+ #ifndef _BUTTON_CONTROLLER_
 #define _BUTTON_CONTROLLER_
 
 #include "mbed.h"
--- a/SPI_MX25R.cpp	Thu Sep 12 11:27:59 2019 +0000
+++ b/SPI_MX25R.cpp	Tue Sep 17 13:48:28 2019 +0000
@@ -1,8 +1,31 @@
-/*
+/**************************************************************************//**
+ * @file     SPI_MX25R.cpp
+ * @brief    Base class for wrapping the interface with the SPI NOR Flash.
+ * @version: V1.0
+ * @date:    9/17/2019
+ *
+ * @note
  * SPI_MX25R Series SPI-Flash Memory
  * Macronix Low Power Serial NOR Flash
  * (x2, and x4 I/O modes not implemented)
- */
+ *
+ *
+ * @note
+ * Copyright (C) 2019 E3 Design. All rights reserved.
+ *
+ * @par
+ * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
+ * processor based microcontroller for the ESCM 2000 Monitor and Display.  
+ *  *
+ * @par
+ * 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.
+ * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
+ * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+ *
+ ******************************************************************************/
+
  
 #include "SPI_MX25R.h"
 
--- a/SPI_MX25R.h	Thu Sep 12 11:27:59 2019 +0000
+++ b/SPI_MX25R.h	Tue Sep 17 13:48:28 2019 +0000
@@ -1,3 +1,30 @@
+/**************************************************************************//**
+ * @file     SPI_MX25R.cpp
+ * @brief    Base class for wrapping the interface with the SPI NOR Flash.
+ * @version: V1.0
+ * @date:    9/17/2019
+ *
+ * @note
+ * SPI_MX25R Series SPI-Flash Memory
+ * Macronix Low Power Serial NOR Flash
+ * (x2, and x4 I/O modes not implemented)
+ *
+ *
+ * @note
+ * Copyright (C) 2019 E3 Design. All rights reserved.
+ *
+ * @par
+ * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
+ * processor based microcontroller for the ESCM 2000 Monitor and Display.  
+ *  *
+ * @par
+ * 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.
+ * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
+ * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+ *
+ ******************************************************************************/
 #ifndef _SPI_MX25R_H_
 #define _SPI_MX25R_H_
  
--- a/mcp23s08.cpp	Thu Sep 12 11:27:59 2019 +0000
+++ b/mcp23s08.cpp	Tue Sep 17 13:48:28 2019 +0000
@@ -1,3 +1,25 @@
+/**************************************************************************//**
+ * @file     mcp23s08.cpp
+ * @brief    Base class for wrapping the interface with the GPIO Extender .
+ * @version: V1.0
+ * @date:    9/17/2019
+
+ *
+ * @note
+ * Copyright (C) 2019 E3 Design. All rights reserved.
+ *
+ * @par
+ * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
+ * processor based microcontroller for the ESCM 2000 Monitor and Display.  
+ *  *
+ * @par
+ * 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.
+ * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
+ * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+ *
+ ******************************************************************************/
 #include "mbed.h"
 #include "mcp23s08.h"
 
--- a/mcp23s08.h	Thu Sep 12 11:27:59 2019 +0000
+++ b/mcp23s08.h	Tue Sep 17 13:48:28 2019 +0000
@@ -1,4 +1,28 @@
-/*
+/**************************************************************************//**
+ * @file     mcp23s08.cpp
+ * @brief    Base class for wrapping the interface with the GPIO Extender .
+ * @version: V1.0
+ * @date:    9/17/2019
+
+ *
+ * @note
+ * This is Third party software adapted to the ESCM project.  
+ * See copyright below.
+ *
+ * @par
+ * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
+ * processor based microcontroller for the ESCM 2000 Monitor and Display.  
+ *  *
+ * @par
+ * 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.
+ * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
+ * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+ *
+ ******************************************************************************/
+ 
+ /*
  ___  _   _  _ __ ___    ___  | |_  ___   _   _ 
 / __|| | | || '_ ` _ \  / _ \ | __|/ _ \ | | | |
 \__ \| |_| || | | | | || (_) || |_| (_) || |_| |