doc/doxygen/latex/hcs12_2applicfg_8h.tex
author nico
Thu, 07 Jun 2007 09:03:41 +0200
changeset 213 1df3055de547
parent 207 b6572d0336c3
permissions -rw-r--r--
Manual and Documentation finish
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
\hypertarget{hcs12_2applicfg_8h}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
\section{/home/epimerde/documents/tc11/Can\-Festival-3/include/hcs12/applicfg.h File Reference}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
\label{hcs12_2applicfg_8h}\index{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/applicfg.h@{/home/epimerde/documents/tc11/CanFestival-3/include/hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
{\tt \#include $<$string.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
{\tt \#include $<$stdio.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
{\tt \#include $<$../include/hcs12/asm-m68hc12/portsaccess.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
{\tt \#include $<$../include/hcs12/asm-m68hc12/ports\_\-def.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
{\tt \#include $<$../include/hcs12/asm-m68hc12/ports.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
{\tt \#include $<$../include/hcs12/interrupt.h$>$}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
{\tt \#include \char`\"{}can.h\char`\"{}}\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
\subsection*{Defines}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
\begin{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
\#define \hyperlink{hcs12_2applicfg_8h_751707f06cc1e5a62a109e6ad780b631}{CANOPEN\_\-BIG\_\-ENDIAN}~1
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
\begin{CompactList}\small\item\em Define the architecture : little\_\-endian or big\_\-endian. \item\end{CompactList}\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
\#define \hyperlink{hcs12_2applicfg_8h_1caba0e524eb249e9f6bf160b74aa14e}{BUS\_\-CLOCK}~8
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
\#define \hyperlink{hcs12_2applicfg_8h_759dabd0f6ef66964bb0b0bf8c426398}{SERIAL\_\-SCI0\_\-BAUD\_\-RATE}~38400
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
\begin{CompactList}\small\item\em Configuration of the serials port SCI0 and SCI1. \item\end{CompactList}\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
\#define \hyperlink{hcs12_2applicfg_8h_2831f0cbcc1686e98815825dba49c7f5}{SERIAL\_\-SCI1\_\-BAUD\_\-RATE}~9600
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    23
\#define \hyperlink{hcs12_2applicfg_8h_662ebb8e51dc6acbd8850e22f172c5bf}{INTEGER8}~signed char
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
\#define \hyperlink{hcs12_2applicfg_8h_ef74ac6cf2d7e6e7ceb25199c0a4e8d9}{INTEGER16}~short
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
\#define \hyperlink{hcs12_2applicfg_8h_b5cc60bcec9bf20f8565a80fe68ab8f6}{INTEGER24}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
\#define \hyperlink{hcs12_2applicfg_8h_88a720c5453c6335aa3784ee788ec8cd}{INTEGER32}~long
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
\#define \hyperlink{hcs12_2applicfg_8h_161c8f6e6a63ce9ed9966896f211b8a8}{INTEGER40}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
\#define \hyperlink{hcs12_2applicfg_8h_0c5278d056153e1ff380e759c884f479}{INTEGER48}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
\#define \hyperlink{hcs12_2applicfg_8h_9543c1a090746b76b7972dcb7cc7483e}{INTEGER56}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
\#define \hyperlink{hcs12_2applicfg_8h_4e3182e4d79fdb99c05d57a3abe5ae4e}{INTEGER64}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
\#define \hyperlink{hcs12_2applicfg_8h_539234687760592d01a8b0d3357bc00e}{UNS8}~unsigned char
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
\#define \hyperlink{hcs12_2applicfg_8h_5528eeccf214bfe021532622d78c6a96}{UNS16}~unsigned short
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
\#define \hyperlink{hcs12_2applicfg_8h_889a782714194ae2f780002d25d6e0be}{UNS32}~unsigned long
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
\#define \hyperlink{hcs12_2applicfg_8h_7eec2f0575ec58202f7e7e8072722508}{UNS24}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
\#define \hyperlink{hcs12_2applicfg_8h_e83de5a9f9a3ea891eb0ce1044277ee9}{UNS40}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
\#define \hyperlink{hcs12_2applicfg_8h_c67204750d2dc3f2681555bf81368765}{UNS48}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
\#define \hyperlink{hcs12_2applicfg_8h_0cba1f6285c9f23a663d56d0c99559da}{UNS56}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
\#define \hyperlink{hcs12_2applicfg_8h_55de1c7512d46f732dcaea5db4aa7fa9}{UNS64}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
\#define \hyperlink{hcs12_2applicfg_8h_6ae11f09e1ebf40f3562857272fab8bf}{TIMEVAL}~UNS32
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
\#define \hyperlink{hcs12_2applicfg_8h_35b2fd1a5f6b88bf3842ba3663e6f85e}{TIMEVAL\_\-MAX}~0x\-FFFF
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
\#define \hyperlink{hcs12_2applicfg_8h_ee85d2eeabff670269ebc2e00251ac6d}{MS\_\-TO\_\-TIMEVAL}(ms)~(ms $\ast$ 250)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
\#define \hyperlink{hcs12_2applicfg_8h_56849fe35cb6cbe17f7768a2d3af62f8}{US\_\-TO\_\-TIMEVAL}(us)~(us$>$$>$2)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
\#define \hyperlink{hcs12_2applicfg_8h_a317e78f368f51a31a7ea72ea7afbc89}{REAL32}~float
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
\#define \hyperlink{hcs12_2applicfg_8h_3c2031a645686699b0f1e3b0ceaac6ee}{REAL64}~double
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
\#define \hyperlink{hcs12_2applicfg_8h_99178e2619db849578b20df5aa241844}{MSG\_\-ERR}(num, str, val)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
\begin{CompactList}\small\item\em Definition of MSG\_\-ERR. \item\end{CompactList}\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
\#define \hyperlink{hcs12_2applicfg_8h_5f4e5133c4c3113931684d3aba518bba}{MSG\_\-WAR}(num, str, val)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
\begin{CompactList}\small\item\em Definition of MSG\_\-WAR. \item\end{CompactList}\end{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
\subsection*{Functions}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
\begin{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
void \hyperlink{hcs12_2applicfg_8h_f86db4b817c1a59a819cbdd51779bfaa}{init\-SCI\_\-0} (void)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
\begin{CompactList}\small\item\em Initialisation of the serial port 0. \item\end{CompactList}\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
void \hyperlink{hcs12_2applicfg_8h_b56fa1754706a57059103710178bdb68}{init\-SCI\_\-1} (void)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
\begin{CompactList}\small\item\em Initialisation of the serial port 1. \item\end{CompactList}\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
char $\ast$ \hyperlink{hcs12_2applicfg_8h_2a9aef0efc98c5b41ef97ef91ad403e5}{hex\_\-convert} (char $\ast$buf, unsigned long value, char last\-Car)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    79
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
void \hyperlink{hcs12_2applicfg_8h_6e3075ae435e83aefc018e5218c197d0}{print\-SCI\_\-str} (char sci, const char $\ast$str)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    81
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    82
void \hyperlink{hcs12_2applicfg_8h_80f5dbbc046cba0e5e9cf2bcc4c1e78e}{print\-SCI\_\-nbr} (char sci, unsigned long nbr, char last\-Car)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    83
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    84
void \hyperlink{hcs12_2applicfg_8h_51e71c727eb7a49e2fde962a3d190a6b}{init\-PLL} (void)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    85
\item 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
void \hyperlink{hcs12_2applicfg_8h_c71399958d35a7f703416f025603ee26}{init\-HCS12} (void)
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    87
\begin{CompactList}\small\item\em Put here all the code to init the HCS12. \item\end{CompactList}\end{CompactItemize}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
\subsection{Define Documentation}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
\hypertarget{hcs12_2applicfg_8h_1caba0e524eb249e9f6bf160b74aa14e}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!BUS_CLOCK@{BUS\_\-CLOCK}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
\index{BUS_CLOCK@{BUS\_\-CLOCK}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
\subsubsection[BUS\_\-CLOCK]{\setlength{\rightskip}{0pt plus 5cm}\#define BUS\_\-CLOCK~8}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    95
\label{hcs12_2applicfg_8h_1caba0e524eb249e9f6bf160b74aa14e}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    96
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    97
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    98
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    99
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   100
Definition at line 65 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_751707f06cc1e5a62a109e6ad780b631}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   101
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!CANOPEN_BIG_ENDIAN@{CANOPEN\_\-BIG\_\-ENDIAN}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
\index{CANOPEN_BIG_ENDIAN@{CANOPEN\_\-BIG\_\-ENDIAN}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
\subsubsection[CANOPEN\_\-BIG\_\-ENDIAN]{\setlength{\rightskip}{0pt plus 5cm}\#define CANOPEN\_\-BIG\_\-ENDIAN~1}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
\label{hcs12_2applicfg_8h_751707f06cc1e5a62a109e6ad780b631}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   105
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
Define the architecture : little\_\-endian or big\_\-endian. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
Definition at line 55 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_ef74ac6cf2d7e6e7ceb25199c0a4e8d9}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER16@{INTEGER16}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
\index{INTEGER16@{INTEGER16}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
\subsubsection[INTEGER16]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER16~short}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
\label{hcs12_2applicfg_8h_ef74ac6cf2d7e6e7ceb25199c0a4e8d9}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   120
Definition at line 130 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_b5cc60bcec9bf20f8565a80fe68ab8f6}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   121
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER24@{INTEGER24}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   122
\index{INTEGER24@{INTEGER24}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   123
\subsubsection[INTEGER24]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER24}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   124
\label{hcs12_2applicfg_8h_b5cc60bcec9bf20f8565a80fe68ab8f6}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   125
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   127
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   128
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   129
Definition at line 131 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_88a720c5453c6335aa3784ee788ec8cd}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   130
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER32@{INTEGER32}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   131
\index{INTEGER32@{INTEGER32}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   132
\subsubsection[INTEGER32]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER32~long}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   133
\label{hcs12_2applicfg_8h_88a720c5453c6335aa3784ee788ec8cd}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   135
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   136
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   137
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   138
Definition at line 132 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_161c8f6e6a63ce9ed9966896f211b8a8}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   139
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER40@{INTEGER40}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   140
\index{INTEGER40@{INTEGER40}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   141
\subsubsection[INTEGER40]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER40}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   142
\label{hcs12_2applicfg_8h_161c8f6e6a63ce9ed9966896f211b8a8}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   143
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   144
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   145
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   146
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   147
Definition at line 133 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_0c5278d056153e1ff380e759c884f479}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   148
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER48@{INTEGER48}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   149
\index{INTEGER48@{INTEGER48}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   150
\subsubsection[INTEGER48]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER48}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   151
\label{hcs12_2applicfg_8h_0c5278d056153e1ff380e759c884f479}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   152
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   153
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   154
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   155
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   156
Definition at line 134 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_9543c1a090746b76b7972dcb7cc7483e}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   157
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER56@{INTEGER56}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   158
\index{INTEGER56@{INTEGER56}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   159
\subsubsection[INTEGER56]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER56}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   160
\label{hcs12_2applicfg_8h_9543c1a090746b76b7972dcb7cc7483e}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   161
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   162
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   163
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   164
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   165
Definition at line 135 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_4e3182e4d79fdb99c05d57a3abe5ae4e}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   166
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER64@{INTEGER64}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   167
\index{INTEGER64@{INTEGER64}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   168
\subsubsection[INTEGER64]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER64}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   169
\label{hcs12_2applicfg_8h_4e3182e4d79fdb99c05d57a3abe5ae4e}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   170
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   171
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   172
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   173
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   174
Definition at line 136 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_662ebb8e51dc6acbd8850e22f172c5bf}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   175
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!INTEGER8@{INTEGER8}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   176
\index{INTEGER8@{INTEGER8}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   177
\subsubsection[INTEGER8]{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGER8~signed char}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   178
\label{hcs12_2applicfg_8h_662ebb8e51dc6acbd8850e22f172c5bf}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   179
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   180
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   181
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   182
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   183
Definition at line 129 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_ee85d2eeabff670269ebc2e00251ac6d}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   184
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!MS_TO_TIMEVAL@{MS\_\-TO\_\-TIMEVAL}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   185
\index{MS_TO_TIMEVAL@{MS\_\-TO\_\-TIMEVAL}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   186
\subsubsection[MS\_\-TO\_\-TIMEVAL]{\setlength{\rightskip}{0pt plus 5cm}\#define MS\_\-TO\_\-TIMEVAL(ms)~(ms $\ast$ 250)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   187
\label{hcs12_2applicfg_8h_ee85d2eeabff670269ebc2e00251ac6d}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   188
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   189
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   190
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   191
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   192
Definition at line 156 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_99178e2619db849578b20df5aa241844}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   193
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!MSG_ERR@{MSG\_\-ERR}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   194
\index{MSG_ERR@{MSG\_\-ERR}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   195
\subsubsection[MSG\_\-ERR]{\setlength{\rightskip}{0pt plus 5cm}\#define MSG\_\-ERR(num, str, val)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   196
\label{hcs12_2applicfg_8h_99178e2619db849578b20df5aa241844}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   197
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   198
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   199
Definition of MSG\_\-ERR. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   200
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   201
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   202
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   203
Definition at line 177 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_5f4e5133c4c3113931684d3aba518bba}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   204
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!MSG_WAR@{MSG\_\-WAR}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   205
\index{MSG_WAR@{MSG\_\-WAR}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   206
\subsubsection[MSG\_\-WAR]{\setlength{\rightskip}{0pt plus 5cm}\#define MSG\_\-WAR(num, str, val)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   207
\label{hcs12_2applicfg_8h_5f4e5133c4c3113931684d3aba518bba}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   208
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   209
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   210
Definition of MSG\_\-WAR. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   211
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   212
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   213
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   214
Definition at line 190 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_a317e78f368f51a31a7ea72ea7afbc89}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   215
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!REAL32@{REAL32}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   216
\index{REAL32@{REAL32}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   217
\subsubsection[REAL32]{\setlength{\rightskip}{0pt plus 5cm}\#define REAL32~float}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   218
\label{hcs12_2applicfg_8h_a317e78f368f51a31a7ea72ea7afbc89}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   219
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   220
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   221
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   222
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   223
Definition at line 161 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_3c2031a645686699b0f1e3b0ceaac6ee}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   224
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!REAL64@{REAL64}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   225
\index{REAL64@{REAL64}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   226
\subsubsection[REAL64]{\setlength{\rightskip}{0pt plus 5cm}\#define REAL64~double}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   227
\label{hcs12_2applicfg_8h_3c2031a645686699b0f1e3b0ceaac6ee}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   228
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   229
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   230
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   231
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   232
Definition at line 162 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_759dabd0f6ef66964bb0b0bf8c426398}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   233
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!SERIAL_SCI0_BAUD_RATE@{SERIAL\_\-SCI0\_\-BAUD\_\-RATE}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   234
\index{SERIAL_SCI0_BAUD_RATE@{SERIAL\_\-SCI0\_\-BAUD\_\-RATE}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   235
\subsubsection[SERIAL\_\-SCI0\_\-BAUD\_\-RATE]{\setlength{\rightskip}{0pt plus 5cm}\#define SERIAL\_\-SCI0\_\-BAUD\_\-RATE~38400}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   236
\label{hcs12_2applicfg_8h_759dabd0f6ef66964bb0b0bf8c426398}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   237
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   238
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   239
Configuration of the serials port SCI0 and SCI1. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   240
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   241
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   242
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   243
Definition at line 82 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_2831f0cbcc1686e98815825dba49c7f5}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   244
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!SERIAL_SCI1_BAUD_RATE@{SERIAL\_\-SCI1\_\-BAUD\_\-RATE}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   245
\index{SERIAL_SCI1_BAUD_RATE@{SERIAL\_\-SCI1\_\-BAUD\_\-RATE}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   246
\subsubsection[SERIAL\_\-SCI1\_\-BAUD\_\-RATE]{\setlength{\rightskip}{0pt plus 5cm}\#define SERIAL\_\-SCI1\_\-BAUD\_\-RATE~9600}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   247
\label{hcs12_2applicfg_8h_2831f0cbcc1686e98815825dba49c7f5}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   248
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   249
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   250
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   251
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   252
Definition at line 83 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_6ae11f09e1ebf40f3562857272fab8bf}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   253
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!TIMEVAL@{TIMEVAL}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   254
\index{TIMEVAL@{TIMEVAL}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   255
\subsubsection[TIMEVAL]{\setlength{\rightskip}{0pt plus 5cm}\#define TIMEVAL~UNS32}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   256
\label{hcs12_2applicfg_8h_6ae11f09e1ebf40f3562857272fab8bf}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   257
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   258
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   259
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   260
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   261
Definition at line 150 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_35b2fd1a5f6b88bf3842ba3663e6f85e}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   262
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!TIMEVAL_MAX@{TIMEVAL\_\-MAX}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   263
\index{TIMEVAL_MAX@{TIMEVAL\_\-MAX}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   264
\subsubsection[TIMEVAL\_\-MAX]{\setlength{\rightskip}{0pt plus 5cm}\#define TIMEVAL\_\-MAX~0x\-FFFF}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   265
\label{hcs12_2applicfg_8h_35b2fd1a5f6b88bf3842ba3663e6f85e}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   266
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   267
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   268
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   269
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   270
Definition at line 153 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_5528eeccf214bfe021532622d78c6a96}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   271
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS16@{UNS16}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   272
\index{UNS16@{UNS16}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   273
\subsubsection[UNS16]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS16~unsigned short}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   274
\label{hcs12_2applicfg_8h_5528eeccf214bfe021532622d78c6a96}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   275
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   276
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   277
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   278
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   279
Definition at line 140 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_7eec2f0575ec58202f7e7e8072722508}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   280
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS24@{UNS24}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   281
\index{UNS24@{UNS24}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   282
\subsubsection[UNS24]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS24}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   283
\label{hcs12_2applicfg_8h_7eec2f0575ec58202f7e7e8072722508}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   284
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   285
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   286
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   287
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   288
Definition at line 142 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_889a782714194ae2f780002d25d6e0be}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   289
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS32@{UNS32}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   290
\index{UNS32@{UNS32}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   291
\subsubsection[UNS32]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS32~unsigned long}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   292
\label{hcs12_2applicfg_8h_889a782714194ae2f780002d25d6e0be}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   293
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   294
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   295
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   296
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   297
Definition at line 141 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_e83de5a9f9a3ea891eb0ce1044277ee9}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   298
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS40@{UNS40}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   299
\index{UNS40@{UNS40}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   300
\subsubsection[UNS40]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS40}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   301
\label{hcs12_2applicfg_8h_e83de5a9f9a3ea891eb0ce1044277ee9}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   302
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   303
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   304
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   305
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   306
Definition at line 143 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_c67204750d2dc3f2681555bf81368765}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   307
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS48@{UNS48}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   308
\index{UNS48@{UNS48}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   309
\subsubsection[UNS48]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS48}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   310
\label{hcs12_2applicfg_8h_c67204750d2dc3f2681555bf81368765}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   311
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   312
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   313
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   314
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   315
Definition at line 144 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_0cba1f6285c9f23a663d56d0c99559da}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   316
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS56@{UNS56}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   317
\index{UNS56@{UNS56}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   318
\subsubsection[UNS56]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS56}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   319
\label{hcs12_2applicfg_8h_0cba1f6285c9f23a663d56d0c99559da}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   320
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   321
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   322
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   323
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   324
Definition at line 145 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_55de1c7512d46f732dcaea5db4aa7fa9}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   325
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS64@{UNS64}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   326
\index{UNS64@{UNS64}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   327
\subsubsection[UNS64]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS64}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   328
\label{hcs12_2applicfg_8h_55de1c7512d46f732dcaea5db4aa7fa9}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   329
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   330
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   331
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   332
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   333
Definition at line 146 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_539234687760592d01a8b0d3357bc00e}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   334
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!UNS8@{UNS8}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   335
\index{UNS8@{UNS8}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   336
\subsubsection[UNS8]{\setlength{\rightskip}{0pt plus 5cm}\#define UNS8~unsigned char}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   337
\label{hcs12_2applicfg_8h_539234687760592d01a8b0d3357bc00e}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   338
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   339
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   340
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   341
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   342
Definition at line 139 of file applicfg.h.\hypertarget{hcs12_2applicfg_8h_56849fe35cb6cbe17f7768a2d3af62f8}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   343
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!US_TO_TIMEVAL@{US\_\-TO\_\-TIMEVAL}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   344
\index{US_TO_TIMEVAL@{US\_\-TO\_\-TIMEVAL}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   345
\subsubsection[US\_\-TO\_\-TIMEVAL]{\setlength{\rightskip}{0pt plus 5cm}\#define US\_\-TO\_\-TIMEVAL(us)~(us$>$$>$2)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   346
\label{hcs12_2applicfg_8h_56849fe35cb6cbe17f7768a2d3af62f8}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   347
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   348
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   349
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   350
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   351
Definition at line 157 of file applicfg.h.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   352
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   353
\subsection{Function Documentation}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   354
\hypertarget{hcs12_2applicfg_8h_2a9aef0efc98c5b41ef97ef91ad403e5}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   355
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!hex_convert@{hex\_\-convert}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   356
\index{hex_convert@{hex\_\-convert}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   357
\subsubsection[hex\_\-convert]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ hex\_\-convert (char $\ast$ {\em buf}, unsigned long {\em value}, char {\em last\-Car})}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   358
\label{hcs12_2applicfg_8h_2a9aef0efc98c5b41ef97ef91ad403e5}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   359
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   360
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   361
Convert an integer to a string in hexadecimal format If you do not wants to use a last\-Car, put last\-Car = '' (end of string) ex : value = 0XABCDEF and last\-Car = '\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   362
' buf\mbox{[}0\mbox{]} = '0' buf\mbox{[}1\mbox{]} = 'X' buf\mbox{[}2\mbox{]} = 'A' .... buf\mbox{[}7\mbox{]} = 'F' buf\mbox{[}8\mbox{]} = '\par
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   363
' buf\mbox{[}9\mbox{]} = '' 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   364
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   365
Definition at line 135 of file can\-Open\-Driver.c.\hypertarget{hcs12_2applicfg_8h_c71399958d35a7f703416f025603ee26}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   366
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!initHCS12@{initHCS12}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   367
\index{initHCS12@{initHCS12}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   368
\subsubsection[initHCS12]{\setlength{\rightskip}{0pt plus 5cm}void init\-HCS12 (void)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   369
\label{hcs12_2applicfg_8h_c71399958d35a7f703416f025603ee26}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   370
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   371
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   372
Put here all the code to init the HCS12. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   373
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   374
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   375
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   376
Definition at line 199 of file can\-Open\-Driver.c.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   377
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   378
References init\-PLL(), and MSG\_\-WAR.\hypertarget{hcs12_2applicfg_8h_51e71c727eb7a49e2fde962a3d190a6b}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   379
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!initPLL@{initPLL}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   380
\index{initPLL@{initPLL}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   381
\subsubsection[initPLL]{\setlength{\rightskip}{0pt plus 5cm}void init\-PLL (void)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   382
\label{hcs12_2applicfg_8h_51e71c727eb7a49e2fde962a3d190a6b}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   383
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   384
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   385
to start using the PLL. Bus clock becomes 24 MHz if the quartz on the board is at 16 MHz 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   386
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   387
Definition at line 188 of file can\-Open\-Driver.c.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   388
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   389
References CLKSEL, CRGFLG, IO\_\-PORTS\_\-8, PLLCTL, REFDV, and SYNR.\hypertarget{hcs12_2applicfg_8h_f86db4b817c1a59a819cbdd51779bfaa}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   390
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!initSCI_0@{initSCI\_\-0}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   391
\index{initSCI_0@{initSCI\_\-0}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   392
\subsubsection[initSCI\_\-0]{\setlength{\rightskip}{0pt plus 5cm}void init\-SCI\_\-0 (void)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   393
\label{hcs12_2applicfg_8h_f86db4b817c1a59a819cbdd51779bfaa}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   394
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   395
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   396
Initialisation of the serial port 0. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   397
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   398
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   399
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   400
Definition at line 115 of file can\-Open\-Driver.c.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   401
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   402
References BUS\_\-CLOCK, IO\_\-PORTS\_\-16, IO\_\-PORTS\_\-8, SCI0, SCIBDH, SCICR1, SCICR2, and SERIAL\_\-SCI0\_\-BAUD\_\-RATE.\hypertarget{hcs12_2applicfg_8h_b56fa1754706a57059103710178bdb68}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   403
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!initSCI_1@{initSCI\_\-1}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   404
\index{initSCI_1@{initSCI\_\-1}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   405
\subsubsection[initSCI\_\-1]{\setlength{\rightskip}{0pt plus 5cm}void init\-SCI\_\-1 (void)}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   406
\label{hcs12_2applicfg_8h_b56fa1754706a57059103710178bdb68}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   407
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   408
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   409
Initialisation of the serial port 1. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   410
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   411
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   412
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   413
Definition at line 124 of file can\-Open\-Driver.c.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   414
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   415
References BUS\_\-CLOCK, IO\_\-PORTS\_\-16, IO\_\-PORTS\_\-8, SCI1, SCIBDH, SCICR1, SCICR2, and SERIAL\_\-SCI1\_\-BAUD\_\-RATE.\hypertarget{hcs12_2applicfg_8h_80f5dbbc046cba0e5e9cf2bcc4c1e78e}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   416
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!printSCI_nbr@{printSCI\_\-nbr}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   417
\index{printSCI_nbr@{printSCI\_\-nbr}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   418
\subsubsection[printSCI\_\-nbr]{\setlength{\rightskip}{0pt plus 5cm}void print\-SCI\_\-nbr (char {\em sci}, unsigned long {\em nbr}, char {\em last\-Car})}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   419
\label{hcs12_2applicfg_8h_80f5dbbc046cba0e5e9cf2bcc4c1e78e}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   420
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   421
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   422
Print the number in hexadecimal to the serial port sci (sci takes the values SCI0 or SCI1) 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   423
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   424
Definition at line 179 of file can\-Open\-Driver.c.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   425
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   426
References hex\_\-convert(), and print\-SCI\_\-str().\hypertarget{hcs12_2applicfg_8h_6e3075ae435e83aefc018e5218c197d0}{
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   427
\index{hcs12/applicfg.h@{hcs12/applicfg.h}!printSCI_str@{printSCI\_\-str}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   428
\index{printSCI_str@{printSCI\_\-str}!hcs12/applicfg.h@{hcs12/applicfg.h}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   429
\subsubsection[printSCI\_\-str]{\setlength{\rightskip}{0pt plus 5cm}void print\-SCI\_\-str (char {\em sci}, const char $\ast$ {\em str})}}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   430
\label{hcs12_2applicfg_8h_6e3075ae435e83aefc018e5218c197d0}
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   431
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   432
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   433
Print the string to the serial port sci (sci takes the values SCI0 or SCI1) 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   434
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   435
Definition at line 162 of file can\-Open\-Driver.c.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   436
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   437
References IO\_\-PORTS\_\-8, SCIDRL, and SCISR1.