⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msp430lib_8h.tex

📁 在DM6446上实现了编码和解码功能
💻 TEX
📖 第 1 页 / 共 2 页
字号:
\hypertarget{msp430lib_8h}{\subsection{msp430lib.h File Reference}\label{msp430lib_8h}\index{msp430lib.h@{msp430lib.h}}}\subsubsection{Detailed Description}\begin{Desc}\item[Version:]00.10 \end{Desc}Put the file comments here.\footnotesize\begin{verbatim} * ============================================================================ * Copyright (c) Texas Instruments Inc 2007 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied or provided. * ============================================================================ * \end{verbatim}\normalsize Definition in file \hyperlink{msp430lib_8h-source}{msp430lib.h}.\subsubsection*{Defines}\begin{CompactItemize}\item \#define \hyperlink{msp430lib_8h_791a0125e6971edbe3beef415ed57fe2}{MSP430LIB\_\-SUCCESS}~1\begin{CompactList}\small\item\em Indicates success of an API call. \item\end{CompactList}\item \#define \hyperlink{msp430lib_8h_b4a3ea0da0f11f1eb259c60fcb43d63d}{MSP430LIB\_\-FAILURE}~0\begin{CompactList}\small\item\em Indicates failure of an API call. \item\end{CompactList}\end{CompactItemize}\subsubsection*{Enumerations}\begin{CompactItemize}\item enum \hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f}{msp430lib\_\-keycode} \{ \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fef8d8d47cfc463e1f6265dfde00891bf}{MSP430LIB\_\-KEYCODE\_\-POWER} =  0x300c, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9d42712853bc1d2a7f010a92ed212f53}{MSP430LIB\_\-KEYCODE\_\-CHANINC} =  0x3020, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f8b235f6e2088afcaf594687e0b4720f0}{MSP430LIB\_\-KEYCODE\_\-CHANDEC} =  0x3021, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9f4bc9f94e6123415bd73292648be1a7}{MSP430LIB\_\-KEYCODE\_\-VOLINC} =  0x3010, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f8d08e708cf46f44d2e2e590eb626f3f6}{MSP430LIB\_\-KEYCODE\_\-VOLDEC} =  0x3011, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f4ba711d04794cb430c840e1871896045}{MSP430LIB\_\-KEYCODE\_\-OK} =  0x300d, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f79d295151c8fc775b4c21845f86e729e}{MSP430LIB\_\-KEYCODE\_\-MENU} =  0x302e, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f3207329f94482fad83caf171c09f53ee}{MSP430LIB\_\-KEYCODE\_\-MENUDONE} =  0x300f, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f3acd2cfa5462927dcd2084a25885f50e}{MSP430LIB\_\-KEYCODE\_\-INFOSELECT} =  0x300f, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f45e37f41971225e3b97f500925d78264}{MSP430LIB\_\-KEYCODE\_\-SLEEP} =  0x3026, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f6090a6b8d488014adcbf41cec6809c8b}{MSP430LIB\_\-KEYCODE\_\-SUBTITLE} =  0x30cb, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fa9cd522a35719a8292c9783879936c0f}{MSP430LIB\_\-KEYCODE\_\-REPEAT} =  0x3022, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f419002900c726b03cd08e356c7a2468f}{MSP430LIB\_\-KEYCODE\_\-1} =  0x3001, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f7a408588ae3d87d9b625610c27ca9454}{MSP430LIB\_\-KEYCODE\_\-2} =  0x3002, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f31c56bad371f9ac7e311fbbc70a7b247}{MSP430LIB\_\-KEYCODE\_\-3} =  0x3003, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f83dd25027dcf1e3d9caf36333885aa30}{MSP430LIB\_\-KEYCODE\_\-4} =  0x3004, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fd8277492e6846e9f936e13baee087518}{MSP430LIB\_\-KEYCODE\_\-5} =  0x3005, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9d636c61f98b3944f5938171c994df3e}{MSP430LIB\_\-KEYCODE\_\-6} =  0x3006, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fa0a6496411fa921f4eba8f3d9601a23c}{MSP430LIB\_\-KEYCODE\_\-7} =  0x3007, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fa7284dcb6f38ed80fb52ec0d77310a84}{MSP430LIB\_\-KEYCODE\_\-8} =  0x3008, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f1565699b82c9ed15bb2a7b9431578294}{MSP430LIB\_\-KEYCODE\_\-9} =  0x3009, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f848c8466bc99830005de03c4becd058d}{MSP430LIB\_\-KEYCODE\_\-0} =  0x3000, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031ff9e6ac04a73b88ca28288c4bfe961587}{MSP430LIB\_\-KEYCODE\_\-ENTER} =  0x2039, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9c8f0f8cd36a0208f052b2e1545c4160}{MSP430LIB\_\-KEYCODE\_\-INPUT} =  0x20ff, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f3df7d810fa89b13091b657ddfc2276cf}{MSP430LIB\_\-KEYCODE\_\-REWIND} =  0x3172, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f7d23b425f43d42f04592e32aff0755e8}{MSP430LIB\_\-KEYCODE\_\-PLAY} =  0x3175, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fbe858b30830f861e5ba34a0c87ffa8ed}{MSP430LIB\_\-KEYCODE\_\-FASTFORWARD} =  0x3174, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f72a8a3f4bc986051840204ad0b7e5b2c}{MSP430LIB\_\-KEYCODE\_\-RECORD} =  0x3177, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f0cfa472429e8a89de95bf2486682f737}{MSP430LIB\_\-KEYCODE\_\-STOP} =  0x3176, \par\hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fecef47a2bd44d13c211e72e1bf261cb9}{MSP430LIB\_\-KEYCODE\_\-PAUSE} =  0x3169 \}\begin{CompactList}\small\item\em The IR remote keycodes returned by the MSP430. Requires the DVD function on Philips PM4S set to code 020. \item\end{CompactList}\end{CompactItemize}\subsubsection*{Functions}\begin{CompactItemize}\item int \hyperlink{msp430lib_8h_55a17295a611c121408ffeb40eebdb7a}{msp430lib\_\-init} (void)\begin{CompactList}\small\item\em Initializes the MSP430 library. Must be called before any API calls. \item\end{CompactList}\item int \hyperlink{msp430lib_8h_18ce3e53617bb8c39995454188b877fc}{msp430lib\_\-get\_\-rtc} (int $\ast$year, int $\ast$month, int $\ast$day, int $\ast$hour, int $\ast$minute, int $\ast$second)\begin{CompactList}\small\item\em Get the current Real Time Clock value from the MSP430. \item\end{CompactList}\item int \hyperlink{msp430lib_8h_eb435b549dc1f426222527aa569dadbe}{msp430lib\_\-set\_\-rtc} (int year, int month, int day, int hour, int minute, int second)\begin{CompactList}\small\item\em Set the current Real Time Clock value on the MSP430. \item\end{CompactList}\item int \hyperlink{msp430lib_8h_20760f4c5a84bcddbb115e59b522393c}{msp430lib\_\-get\_\-ir\_\-key} (enum \hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f}{msp430lib\_\-keycode} $\ast$key)\begin{CompactList}\small\item\em Get a new IR key from the msp430 (if any). \item\end{CompactList}\item int \hyperlink{msp430lib_8h_516ed0b9224a683cd8b8a8a1391d692b}{msp430lib\_\-exit} (void)\begin{CompactList}\small\item\em Deinitalize the MSP430 library. No API calls can be made after this function has been called. \item\end{CompactList}\end{CompactItemize}\subsubsection{Define Documentation}\hypertarget{msp430lib_8h_791a0125e6971edbe3beef415ed57fe2}{\index{msp430lib.h@{msp430lib.h}!MSP430LIB_SUCCESS@{MSP430LIB\_\-SUCCESS}}\index{MSP430LIB_SUCCESS@{MSP430LIB\_\-SUCCESS}!msp430lib.h@{msp430lib.h}}\paragraph[MSP430LIB\_\-SUCCESS]{\setlength{\rightskip}{0pt plus 5cm}\#define MSP430LIB\_\-SUCCESS~1}\hfill}\label{msp430lib_8h_791a0125e6971edbe3beef415ed57fe2}Indicates success of an API call. Definition at line 21 of file msp430lib.h.\hypertarget{msp430lib_8h_b4a3ea0da0f11f1eb259c60fcb43d63d}{\index{msp430lib.h@{msp430lib.h}!MSP430LIB_FAILURE@{MSP430LIB\_\-FAILURE}}\index{MSP430LIB_FAILURE@{MSP430LIB\_\-FAILURE}!msp430lib.h@{msp430lib.h}}\paragraph[MSP430LIB\_\-FAILURE]{\setlength{\rightskip}{0pt plus 5cm}\#define MSP430LIB\_\-FAILURE~0}\hfill}\label{msp430lib_8h_b4a3ea0da0f11f1eb259c60fcb43d63d}Indicates failure of an API call. Definition at line 22 of file msp430lib.h.\subsubsection{Enumeration Type Documentation}\hypertarget{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f}{\index{msp430lib.h@{msp430lib.h}!msp430lib_keycode@{msp430lib\_\-keycode}}\index{msp430lib_keycode@{msp430lib\_\-keycode}!msp430lib.h@{msp430lib.h}}\paragraph[msp430lib\_\-keycode]{\setlength{\rightskip}{0pt plus 5cm}enum \hyperlink{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f}{msp430lib\_\-keycode}}\hfill}\label{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f}The IR remote keycodes returned by the MSP430. Requires the DVD function on Philips PM4S set to code 020. \begin{Desc}\item[Enumerator: ]\par\begin{description}\index{MSP430LIB_KEYCODE_POWER@{MSP430LIB\_\-KEYCODE\_\-POWER}!msp430lib.h@{msp430lib.h}}\index{msp430lib.h@{msp430lib.h}!MSP430LIB_KEYCODE_POWER@{MSP430LIB\_\-KEYCODE\_\-POWER}}\item[{\em \hypertarget{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fef8d8d47cfc463e1f6265dfde00891bf}{MSP430LIB\_\-KEYCODE\_\-POWER}\label{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031fef8d8d47cfc463e1f6265dfde00891bf}}]\index{MSP430LIB_KEYCODE_CHANINC@{MSP430LIB\_\-KEYCODE\_\-CHANINC}!msp430lib.h@{msp430lib.h}}\index{msp430lib.h@{msp430lib.h}!MSP430LIB_KEYCODE_CHANINC@{MSP430LIB\_\-KEYCODE\_\-CHANINC}}\item[{\em \hypertarget{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9d42712853bc1d2a7f010a92ed212f53}{MSP430LIB\_\-KEYCODE\_\-CHANINC}\label{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9d42712853bc1d2a7f010a92ed212f53}}]\index{MSP430LIB_KEYCODE_CHANDEC@{MSP430LIB\_\-KEYCODE\_\-CHANDEC}!msp430lib.h@{msp430lib.h}}\index{msp430lib.h@{msp430lib.h}!MSP430LIB_KEYCODE_CHANDEC@{MSP430LIB\_\-KEYCODE\_\-CHANDEC}}\item[{\em \hypertarget{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f8b235f6e2088afcaf594687e0b4720f0}{MSP430LIB\_\-KEYCODE\_\-CHANDEC}\label{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f8b235f6e2088afcaf594687e0b4720f0}}]\index{MSP430LIB_KEYCODE_VOLINC@{MSP430LIB\_\-KEYCODE\_\-VOLINC}!msp430lib.h@{msp430lib.h}}\index{msp430lib.h@{msp430lib.h}!MSP430LIB_KEYCODE_VOLINC@{MSP430LIB\_\-KEYCODE\_\-VOLINC}}\item[{\em \hypertarget{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9f4bc9f94e6123415bd73292648be1a7}{MSP430LIB\_\-KEYCODE\_\-VOLINC}\label{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f9f4bc9f94e6123415bd73292648be1a7}}]\index{MSP430LIB_KEYCODE_VOLDEC@{MSP430LIB\_\-KEYCODE\_\-VOLDEC}!msp430lib.h@{msp430lib.h}}\index{msp430lib.h@{msp430lib.h}!MSP430LIB_KEYCODE_VOLDEC@{MSP430LIB\_\-KEYCODE\_\-VOLDEC}}\item[{\em \hypertarget{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f8d08e708cf46f44d2e2e590eb626f3f6}{MSP430LIB\_\-KEYCODE\_\-VOLDEC}\label{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f8d08e708cf46f44d2e2e590eb626f3f6}}]\index{MSP430LIB_KEYCODE_OK@{MSP430LIB\_\-KEYCODE\_\-OK}!msp430lib.h@{msp430lib.h}}\index{msp430lib.h@{msp430lib.h}!MSP430LIB_KEYCODE_OK@{MSP430LIB\_\-KEYCODE\_\-OK}}\item[{\em \hypertarget{msp430lib_8h_27945b7ef15c0b08e25c239ef03d031f4ba711d04794cb430c840e1871896045}{MSP430LIB\_\-KEYCODE\_\-OK}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -