mirror of
https://github.com/itead/ITEADLIB_Arduino_Nextion.git
synced 2026-03-03 00:34:01 +01:00
93 lines
6.2 KiB
TeX
Executable File
93 lines
6.2 KiB
TeX
Executable File
\hypertarget{_nex_hardware_8cpp}{\section{Nex\+Hardware.\+cpp File Reference}
|
|
\label{_nex_hardware_8cpp}\index{Nex\+Hardware.\+cpp@{Nex\+Hardware.\+cpp}}
|
|
}
|
|
{\ttfamily \#include \char`\"{}Nex\+Hardware.\+h\char`\"{}}\\*
|
|
\subsection*{Macros}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_ae3edc1700fdd59bc9d11a5ead7d2b7bf}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+C\+M\+D\+\_\+\+F\+I\+N\+I\+S\+H\+E\+D}~(0x01)}\label{_nex_hardware_8cpp_ae3edc1700fdd59bc9d11a5ead7d2b7bf}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a97ae92ee182304b936dfa6047dbf74dd}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+L\+A\+U\+N\+C\+H\+E\+D}~(0x88)}\label{_nex_hardware_8cpp_a97ae92ee182304b936dfa6047dbf74dd}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a82ed72ae453aceb87a028c8852fa8fb5}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+P\+G\+R\+A\+D\+E\+D}~(0x89)}\label{_nex_hardware_8cpp_a82ed72ae453aceb87a028c8852fa8fb5}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a35fd18c4bac38480ee0245b52ee4ea77}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+T\+O\+U\+C\+H\+\_\+\+H\+E\+A\+D}~(0x65)}\label{_nex_hardware_8cpp_a35fd18c4bac38480ee0245b52ee4ea77}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a3bee97cbefe18e5722460ad3a956efe3}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+\_\+\+H\+E\+A\+D}~(0x67)}\label{_nex_hardware_8cpp_a3bee97cbefe18e5722460ad3a956efe3}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_ad71409f4588b5daebfb34e1c9f5f5f27}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+L\+E\+E\+P\+\_\+\+P\+O\+S\+I\+T\+I\+O\+N\+\_\+\+H\+E\+A\+D}~(0x68)}\label{_nex_hardware_8cpp_ad71409f4588b5daebfb34e1c9f5f5f27}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a8ecaa6008b80a4bbed8be6a523508814}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+C\+U\+R\+R\+E\+N\+T\+\_\+\+P\+A\+G\+E\+\_\+\+I\+D\+\_\+\+H\+E\+A\+D}~(0x66)}\label{_nex_hardware_8cpp_a8ecaa6008b80a4bbed8be6a523508814}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_ad393b486073a63b083b94e0926ce755b}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+H\+E\+A\+D}~(0x70)}\label{_nex_hardware_8cpp_ad393b486073a63b083b94e0926ce755b}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a753a02ecda0a2cfed5b448dfb2bd9032}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+N\+U\+M\+B\+E\+R\+\_\+\+H\+E\+A\+D}~(0x71)}\label{_nex_hardware_8cpp_a753a02ecda0a2cfed5b448dfb2bd9032}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a09b3fd43e3232a8df9dfa2606183db60}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+M\+D}~(0x00)}\label{_nex_hardware_8cpp_a09b3fd43e3232a8df9dfa2606183db60}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a4efe404424b8f1316f84c57ad293406c}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+C\+O\+M\+P\+O\+N\+E\+N\+T\+\_\+\+I\+D}~(0x02)}\label{_nex_hardware_8cpp_a4efe404424b8f1316f84c57ad293406c}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a9d13ad0362b7ff8876f190e9d01454b8}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+P\+A\+G\+E\+\_\+\+I\+D}~(0x03)}\label{_nex_hardware_8cpp_a9d13ad0362b7ff8876f190e9d01454b8}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a28f4c61d70816f56b19218370db65dd0}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+P\+I\+C\+T\+U\+R\+E\+\_\+\+I\+D}~(0x04)}\label{_nex_hardware_8cpp_a28f4c61d70816f56b19218370db65dd0}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a3d21e14aca88ed8864740ab9c9b22fdd}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+F\+O\+N\+T\+\_\+\+I\+D}~(0x05)}\label{_nex_hardware_8cpp_a3d21e14aca88ed8864740ab9c9b22fdd}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_aafafcc0e09c7ad210c7bab9bc665c152}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+B\+A\+U\+D}~(0x11)}\label{_nex_hardware_8cpp_aafafcc0e09c7ad210c7bab9bc665c152}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a01de24b149d483660f16993be96e4e34}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+V\+A\+R\+I\+A\+B\+L\+E}~(0x1\+A)}\label{_nex_hardware_8cpp_a01de24b149d483660f16993be96e4e34}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_aa0f5b36c29c3a5888c8fe91860bbef47}{\#define {\bfseries N\+E\+X\+\_\+\+R\+E\+T\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+O\+P\+E\+R\+A\+T\+I\+O\+N}~(0x1\+B)}\label{_nex_hardware_8cpp_aa0f5b36c29c3a5888c8fe91860bbef47}
|
|
|
|
\end{DoxyCompactItemize}
|
|
\subsection*{Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_ae26fbfe1541acac85ac10398be787852}{bool {\bfseries recv\+Ret\+Number} (uint32\+\_\+t $\ast$number, uint32\+\_\+t timeout)}\label{_nex_hardware_8cpp_ae26fbfe1541acac85ac10398be787852}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a6f894a77fe0b93a26137e1d790c335fb}{uint16\+\_\+t {\bfseries recv\+Ret\+String} (char $\ast$buffer, uint16\+\_\+t len, uint32\+\_\+t timeout)}\label{_nex_hardware_8cpp_a6f894a77fe0b93a26137e1d790c335fb}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_aa382dfd2890722f1891f4924d87f2f79}{void {\bfseries send\+Command} (const char $\ast$cmd)}\label{_nex_hardware_8cpp_aa382dfd2890722f1891f4924d87f2f79}
|
|
|
|
\item
|
|
\hypertarget{_nex_hardware_8cpp_a7fdd8b9f8bd1ea31e38af8d854c3c63f}{bool {\bfseries recv\+Ret\+Command\+Finished} (uint32\+\_\+t timeout)}\label{_nex_hardware_8cpp_a7fdd8b9f8bd1ea31e38af8d854c3c63f}
|
|
|
|
\item
|
|
bool \hyperlink{group___core_a_p_i_gab09ddba6b72334d30ae091a7b038d790}{nex\+Init} (void)
|
|
\item
|
|
void \hyperlink{group___core_a_p_i_ga91c549e696b0ca035cf18901e6a50d5a}{nex\+Loop} (\hyperlink{class_nex_touch}{Nex\+Touch} $\ast$nex\+\_\+listen\+\_\+list\mbox{[}$\,$\mbox{]})
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
The implementation of base A\+P\+I for using Nextion.
|
|
|
|
\begin{DoxyAuthor}{Author}
|
|
Wu Pengfei (email\+:\href{mailto:pengfei.wu@itead.cc}{\tt pengfei.\+wu@itead.\+cc})
|
|
\end{DoxyAuthor}
|
|
\begin{DoxyDate}{Date}
|
|
2015/8/11
|
|
\end{DoxyDate}
|
|
\begin{DoxyCopyright}{Copyright}
|
|
Copyright (C) 2014-\/2015 I\+T\+E\+A\+D Intelligent Systems Co., Ltd. ~\newline
|
|
This program is free software; you can redistribute it and/or modify it under the terms of the G\+N\+U General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
|
\end{DoxyCopyright}
|