You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
808 B
37 lines
808 B
#ifndef __GPIOWINDOW_H_INCL__
|
|
#define __GPIOWINDOW_H_INCL__
|
|
|
|
#include "../../source/lib/hardware/soc/classSOC.h"
|
|
#include "../../source/lib/cli/cliClass.h"
|
|
#ifndef NEWT_CLI
|
|
#include "../../source/lib/components/base/basicNCursesEngine.h"
|
|
#endif
|
|
|
|
#include <fcntl.h>
|
|
#include <sys/stat.h>
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author gagua
|
|
*/
|
|
class gpioWindow : public WindowCLI {
|
|
uint32_t m_nGPI0;
|
|
uint32_t m_nGPI1;
|
|
uint32_t m_nGPI2;
|
|
uint32_t m_nGPI3;
|
|
uint32_t m_nGPI4;
|
|
uint32_t m_nGPI5;
|
|
uint32_t m_nGPO0;
|
|
uint32_t m_nGPO1;
|
|
uint32_t m_nGPO2;
|
|
uint32_t m_nGPO3;
|
|
uint32_t m_nGPO4;
|
|
uint32_t m_nGPO5;
|
|
newtComponent m_t1, m_t2, m_t3, m_t4, m_t5, m_t6;
|
|
public:
|
|
gpioWindow();
|
|
~gpioWindow();
|
|
void paint( void );
|
|
};
|
|
|
|
#endif // __MOTORWINDOW_H_INCL__
|