📄 io.lst
字号:
165 1 /// P1L.0 is used as general purpose output
166 1 /// - the pin status is low level
167 1 /// P1L.1 is used as general purpose output
168 1 /// - the pin status is low level
169 1 /// P1L.2 is used as general purpose output
170 1 /// - the pin status is low level
171 1 /// P1L.3 is used as general purpose output
172 1 /// - the pin status is low level
173 1 /// P1L.4 is used as general purpose output
174 1 /// - the pin status is low level
175 1 /// P1L.5 is used as general purpose output
176 1 /// - the pin status is low level
177 1 /// P1L.6 is used as general purpose output
178 1 /// - the pin status is low level
179 1 /// P1L.7 is used as general purpose output
C166 COMPILER V6.04, IO 12/10/2006 17:29:06 PAGE 4
180 1 /// - the pin status is low level
181 1
182 1 /// P1L.0 - P1L.3 output driver characteristic: strong driver
183 1 /// P1L.4 - P1L.7 output driver characteristic: strong driver
184 1
185 1 /// P1L.0 - P1L.3 output edge characteristic: sharp edge mode
186 1 /// P1L.4 - P1L.7 output edge characteristic: sharp edge mode
187 1
188 1 P1L = 0x0000; // load data register
189 1 ALTSEL0P1L = 0x0000; // load alternate output function select
190 1 // register 0
191 1 POCON1L = 0x0000; // load output control register
192 1 DP1L = 0x00FF; // load direction register
193 1
194 1 /// -----------------------------------------------------------------------
195 1 /// Configuration of Port P2:
196 1 /// -----------------------------------------------------------------------
197 1 /// - no pin of port P2 is used
198 1
199 1 ODP2 = 0x0000; // load open-drain register
200 1 P2 = 0x0000; // load data register
201 1 ALTSEL0P2 = 0x0000; // load alternate output function select
202 1 // register 0
203 1 POCON2 = 0x0000; // load output control register
204 1 DP2 = 0x0000; // load direction register
205 1
206 1 /// -----------------------------------------------------------------------
207 1 /// Configuration of Port P3:
208 1 /// -----------------------------------------------------------------------
209 1 /// - no pin of port P3 is used
210 1
211 1 ODP3 = 0x0000; // load open-drain register
212 1 P3 = 0x0000; // load data register
213 1 ALTSEL0P3 = 0x0000; // load alternate output function select
214 1 // register 0
215 1 ALTSEL1P3 = 0x0000; // load alternate output function select
216 1 // register 1
217 1 POCON3 = 0x0000; // load output control register
218 1 DP3 = 0x0000; // load direction register
219 1
220 1 /// -----------------------------------------------------------------------
221 1 /// Configuration of Port P4:
222 1 /// -----------------------------------------------------------------------
223 1 /// - no pin of port P4 is used
224 1
225 1 ODP4 = 0x0000; // load open-drain register
226 1 P4 = 0x0000; // load data register
227 1 ALTSEL0P4 = 0x0000; // load alternate output function select
228 1 // register 0
229 1 ALTSEL1P4 = 0x0000; // load alternate output function select
230 1 // register 1
231 1 POCON4 = 0x0000; // load output control register
232 1 DP4 = 0x0000; // load direction register
233 1
234 1 /// -----------------------------------------------------------------------
235 1 /// Configuration of Port P5:
236 1 /// -----------------------------------------------------------------------
237 1 /// - no pin of port P5 is used
238 1
239 1 P5 = 0x0000; // load data register
240 1
241 1 /// -----------------------------------------------------------------------
C166 COMPILER V6.04, IO 12/10/2006 17:29:06 PAGE 5
242 1 /// Configuration of Port P6:
243 1 /// -----------------------------------------------------------------------
244 1 /// - no pin of port P6 is used
245 1
246 1 ODP6 = 0x0000; // load open-drain register
247 1 P6 = 0x0000; // load data register
248 1 ALTSEL0P6 = 0x0000; // load alternate output function select
249 1 // register 0
250 1 POCON6 = 0x0000; // load output control register
251 1 DP6 = 0x0000; // load direction register
252 1
253 1 /// -----------------------------------------------------------------------
254 1 /// Configuration of Port P7:
255 1 /// -----------------------------------------------------------------------
256 1 /// - no pin of port P7 is used
257 1
258 1 ODP7 = 0x0000; // load open-drain register
259 1 P7 = 0x0000; // load data register
260 1 ALTSEL0P7 = 0x0000; // load alternate output function select
261 1 // register 0
262 1 ALTSEL1P7 = 0x0000; // load alternate output function select
263 1 // register 1
264 1 POCON7 = 0x0000; // load output control register
265 1 DP7 = 0x0000; // load direction register
266 1
267 1 /// -----------------------------------------------------------------------
268 1 /// Configuration of Port P9:
269 1 /// -----------------------------------------------------------------------
270 1 /// P9.0 is used as alternate input for the CAN Interface Input (RXDCB)
271 1 /// P9.1 is used as alternate output for the CAN Interface Output (TXDCB)
272 1 /// - push/pull output is selected
273 1
274 1 /// P9.0 - P9.7 threshold type: TTL input
275 1
276 1 /// P9.0 - P9.3 output driver characteristic: strong driver
277 1 /// P9.4 - P9.7 output driver characteristic: strong driver
278 1
279 1 /// P9.0 - P9.3 output edge characteristic: sharp edge mode
280 1 /// P9.4 - P9.7 output edge characteristic: sharp edge mode
281 1
282 1 ODP9 = 0x0000; // load open-drain register
283 1 P9 = 0x0000; // load data register
284 1 ALTSEL0P9 = 0x0000; // load alternate output function select
285 1 // register 0
286 1 ALTSEL1P9 = 0x0000; // load alternate output function select
287 1 // register 1
288 1 POCON9 = 0x0000; // load output control register
289 1 DP9 = 0x0000; // load direction register
290 1
291 1 /// -----------------------------------------------------------------------
292 1 /// Configuration of Port P20:
293 1 /// -----------------------------------------------------------------------
294 1 /// - no pin of port P20 is used
295 1
296 1 P20 = 0x0000; // load data register
297 1 POCON20 = 0x0000; // load output control register
298 1 DP20 = 0x0000; // load direction register
299 1
300 1
301 1 // USER CODE BEGIN (IO_Function,3)
302 1
303 1 // USER CODE END
C166 COMPILER V6.04, IO 12/10/2006 17:29:06 PAGE 6
304 1
305 1 } // End of function IO_vInit
306
307
308
309
310 // USER CODE BEGIN (IO_General,10)
311
312 // USER CODE END
313
MODULE INFORMATION: INITIALIZED UNINITIALIZED
CODE SIZE = 246 --------
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 + -