?? io.lst
字號:
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 /// 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 04/06/2009 22:15:29 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 P3:
196 1 /// -----------------------------------------------------------------------
197 1 /// P3.10 is used as alternate output for the ASC0 Transmit Data Output
198 1 /// (TxDA0)
199 1 /// - push/pull output is selected
200 1 /// P3.11 is used as alternate input for the ASC0 Receive data Input
201 1 /// (RxDA0)
202 1
203 1 /// P3.0 - P3.7 threshold type: TTL input
204 1 /// P3.8 - P3.15 threshold type: TTL input
205 1
206 1 /// P3.0 - P3.3 output driver characteristic: strong driver
207 1 /// P3.4 - P3.7 output driver characteristic: strong driver
208 1 /// P3.8 - P3.11 output driver characteristic: strong driver
209 1 /// P3.12 - P3.15 output driver characteristic: strong driver
210 1
211 1 /// P3.0 - P3.3 output edge characteristic: sharp edge mode
212 1 /// P3.4 - P3.7 output edge characteristic: sharp edge mode
213 1 /// P3.8 - P3.11 output edge characteristic: sharp edge mode
214 1 /// P3.12 - P3.15 output edge characteristic: sharp edge mode
215 1
216 1 ODP3 = 0x0000; // load open-drain register
217 1 P3 = 0x0000; // load data register
218 1 ALTSEL0P3 = 0x0000; // load alternate output function select
219 1 // register 0
220 1 ALTSEL1P3 = 0x0000; // load alternate output function select
221 1 // register 1
222 1 POCON3 = 0x0000; // load output control register
223 1 DP3 = 0x0000; // load direction register
224 1
225 1 /// -----------------------------------------------------------------------
226 1 /// Configuration of Port P4:
227 1 /// -----------------------------------------------------------------------
228 1 /// P4.0 is used as alternate input for the Port Pin (A16)
229 1 /// P4.1 is used as alternate input for the Port Pin (A17)
230 1 /// P4.2 is used as alternate input for the Chip select (CS1_n)
231 1 /// P4.3 is used as alternate input for the Chip select (CS0_n)
232 1 /// P4.5 is used as alternate input for the CAN Interface Input (RXDCA)
233 1 /// P4.6 is used as alternate output for the CAN Interface Output (TXDCA)
234 1 /// - push/pull output is selected
235 1
236 1 /// P4.0 - P4.7 threshold type: TTL input
237 1
238 1 /// P4.0 - P4.3 output driver characteristic: strong driver
239 1 /// P4.4 - P4.7 output driver characteristic: strong driver
240 1
241 1 /// P4.0 - P4.3 output edge characteristic: sharp edge mode
C166 COMPILER V6.04, IO 04/06/2009 22:15:29 PAGE 5
242 1 /// P4.4 - P4.7 output edge characteristic: sharp edge mode
243 1
244 1 ODP4 = 0x0000; // load open-drain register
245 1 P4 = 0x0000; // load data register
246 1 ALTSEL0P4 = 0x0000; // load alternate output function select
247 1 // register 0
248 1 ALTSEL1P4 = 0x0000; // load alternate output function select
249 1 // register 1
250 1 POCON4 = 0x0000; // load output control register
251 1 DP4 = 0x0000; // load direction register
252 1
253 1 /// -----------------------------------------------------------------------
254 1 /// Configuration of Port P5:
255 1 /// -----------------------------------------------------------------------
256 1 /// - no pin of port P5 is used
257 1
258 1 P5 = 0x0000; // load data register
259 1
260 1 /// -----------------------------------------------------------------------
261 1 /// Configuration of Port P9:
262 1 /// -----------------------------------------------------------------------
263 1 /// - no pin of port P9 is used
264 1
265 1 ODP9 = 0x0000; // load open-drain register
266 1 P9 = 0x0000; // load data register
267 1 ALTSEL0P9 = 0x0000; // load alternate output function select
268 1 // register 0
269 1 ALTSEL1P9 = 0x0000; // load alternate output function select
270 1 // register 1
271 1 POCON9 = 0x0000; // load output control register
272 1 DP9 = 0x0000; // load direction register
273 1
274 1 /// -----------------------------------------------------------------------
275 1 /// Configuration of Port P20:
276 1 /// -----------------------------------------------------------------------
277 1 /// - no pin of port P20 is used
278 1
279 1 P20 = 0x0000; // load data register
280 1 POCON20 = 0x0000; // load output control register
281 1 DP20 = 0x0000; // load direction register
282 1
283 1
284 1 // USER CODE BEGIN (IO_Function,3)
285 1
286 1 // USER CODE END
287 1
288 1 } // End of function IO_vInit
289
290
291
292
293 // USER CODE BEGIN (IO_General,10)
294
295 // USER CODE END
296
MODULE INFORMATION: INITIALIZED UNINITIALIZED
CODE SIZE = 170 --------
NEAR-CONST SIZE = -------- --------
FAR-CONST SIZE = -------- --------
HUGE-CONST SIZE = -------- --------
C166 COMPILER V6.04, IO 04/06/2009 22:15:29 PAGE 6
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 + -