?? io.lst
字號:
148 1 POCON0L = 0x0000; // load output control register
149 1 DP0L = 0x0000; // load direction register
150 1
151 1 /// -----------------------------------------------------------------------
152 1 /// Configuration of Port P1H:
153 1 /// -----------------------------------------------------------------------
154 1 /// - no pin of port P1H is used
155 1
156 1 P1H = 0x0000; // load data register
157 1 ALTSEL0P1H = 0x0000; // load alternate output function select
158 1 // register 0
159 1 POCON1H = 0x0000; // load output control register
160 1 DP1H = 0x0000; // load direction register
161 1
162 1 /// -----------------------------------------------------------------------
163 1 /// Configuration of Port P1L:
164 1 /// -----------------------------------------------------------------------
165 1 /// - no pin of port P1L is used
166 1
167 1 P1L = 0x0000; // load data register
168 1 ALTSEL0P1L = 0x0000; // load alternate output function select
169 1 // register 0
170 1 POCON1L = 0x0000; // load output control register
171 1 DP1L = 0x0000; // load direction register
172 1
173 1 /// -----------------------------------------------------------------------
174 1 /// Configuration of Port P3:
175 1 /// -----------------------------------------------------------------------
176 1 /// P3.10 is used as alternate output for the ASC0 Transmit Data Output
177 1 /// (TxDA0)
178 1 /// - push/pull output is selected
179 1 /// P3.11 is used as alternate input for the ASC0 Receive data Input
C166 COMPILER V6.04, IO 08/30/2007 14:28:44 PAGE 4
180 1 /// (RxDA0)
181 1
182 1 /// P3.0 - P3.7 threshold type: TTL input
183 1 /// P3.8 - P3.15 threshold type: TTL input
184 1
185 1 /// P3.0 - P3.3 output driver characteristic: strong driver
186 1 /// P3.4 - P3.7 output driver characteristic: strong driver
187 1 /// P3.8 - P3.11 output driver characteristic: strong driver
188 1 /// P3.12 - P3.15 output driver characteristic: strong driver
189 1
190 1 /// P3.0 - P3.3 output edge characteristic: sharp edge mode
191 1 /// P3.4 - P3.7 output edge characteristic: sharp edge mode
192 1 /// P3.8 - P3.11 output edge characteristic: sharp edge mode
193 1 /// P3.12 - P3.15 output edge characteristic: sharp edge mode
194 1
195 1 ODP3 = 0x0000; // load open-drain register
196 1 P3 = 0x0000; // load data register
197 1 ALTSEL0P3 = 0x0000; // load alternate output function select
198 1 // register 0
199 1 ALTSEL1P3 = 0x0000; // load alternate output function select
200 1 // register 1
201 1 POCON3 = 0x0000; // load output control register
202 1 DP3 = 0x0000; // load direction register
203 1
204 1 /// -----------------------------------------------------------------------
205 1 /// Configuration of Port P4:
206 1 /// -----------------------------------------------------------------------
207 1 /// P4.0 is used as alternate input for the Port Pin (A16)
208 1 /// P4.1 is used as alternate input for the Port Pin (A17)
209 1 /// P4.2 is used as alternate input for the Chip select (CS1_n)
210 1 /// P4.3 is used as alternate input for the Chip select (CS0_n)
211 1
212 1 /// P4.0 - P4.7 threshold type: TTL input
213 1
214 1 /// P4.0 - P4.3 output driver characteristic: strong driver
215 1 /// P4.4 - P4.7 output driver characteristic: strong driver
216 1
217 1 /// P4.0 - P4.3 output edge characteristic: sharp edge mode
218 1 /// P4.4 - P4.7 output edge characteristic: sharp edge mode
219 1
220 1 ODP4 = 0x0000; // load open-drain register
221 1 P4 = 0x0000; // load data register
222 1 ALTSEL0P4 = 0x0000; // load alternate output function select
223 1 // register 0
224 1 ALTSEL1P4 = 0x0000; // load alternate output function select
225 1 // register 1
226 1 POCON4 = 0x0000; // load output control register
227 1 DP4 = 0x0000; // load direction register
228 1
229 1 /// -----------------------------------------------------------------------
230 1 /// Configuration of Port P5:
231 1 /// -----------------------------------------------------------------------
232 1 /// - no pin of port P5 is used
233 1
234 1 P5 = 0x0000; // load data register
235 1
236 1 /// -----------------------------------------------------------------------
237 1 /// Configuration of Port P9:
238 1 /// -----------------------------------------------------------------------
239 1 /// P9.4 is used as general input
240 1 /// P9.5 is used as general input
241 1
C166 COMPILER V6.04, IO 08/30/2007 14:28:44 PAGE 5
242 1 /// P9.0 - P9.7 threshold type: TTL input
243 1
244 1 /// P9.0 - P9.3 output driver characteristic: strong driver
245 1 /// P9.4 - P9.7 output driver characteristic: strong driver
246 1
247 1 /// P9.0 - P9.3 output edge characteristic: sharp edge mode
248 1 /// P9.4 - P9.7 output edge characteristic: sharp edge mode
249 1
250 1 ODP9 = 0x0000; // load open-drain register
251 1 P9 = 0x0000; // load data register
252 1 ALTSEL0P9 = 0x0000; // load alternate output function select
253 1 // register 0
254 1 ALTSEL1P9 = 0x0000; // load alternate output function select
255 1 // register 1
256 1 POCON9 = 0x0000; // load output control register
257 1 DP9 = 0x0000; // load direction register
258 1
259 1 /// -----------------------------------------------------------------------
260 1 /// Configuration of Port P20:
261 1 /// -----------------------------------------------------------------------
262 1 /// - no pin of port P20 is used
263 1
264 1 P20 = 0x0000; // load data register
265 1 POCON20 = 0x0000; // load output control register
266 1 DP20 = 0x0000; // load direction register
267 1
268 1
269 1 // USER CODE BEGIN (IO_Function,3)
270 1
271 1 // USER CODE END
272 1
273 1 } // End of function IO_vInit
274
275
276
277
278 // USER CODE BEGIN (IO_General,10)
279
280 // USER CODE END
281
MODULE INFORMATION: INITIALIZED UNINITIALIZED
CODE SIZE = 170 --------
NEAR-CONST SIZE = -------- --------
FAR-CONST SIZE = -------- --------
HUGE-CONST SIZE = -------- --------
XHUGE-CONST SIZE = -------- --------
NEAR-DATA SIZE = -------- --------
FAR-DATA SIZE = -------- --------
XHUGE-DATA SIZE = -------- --------
IDATA-DATA SIZE = -------- --------
SDATA-DATA SIZE = -------- --------
BDATA-DATA SIZE = -------- --------
HUGE-DATA SIZE = -------- --------
BIT SIZE = -------- --------
INIT'L SIZE = -------- --------
END OF MODULE INFORMATION.
C166 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -