Line 1... |
Line 1... |
1 |
CCS PCM C Compiler, Version 4.106, 47914 30-4-13 23:58 |
1 |
CCS PCM C Compiler, Version 4.106, 47914 14-V-13 19:16 |
2 |
|
2 |
|
3 |
Filename: c:\users\honza\documents\pic\i2c_hub\main.lst |
3 |
Filename: Z:\home\kaklik\svnMLAB\Modules\CommSerial\I2CHUB02A\SW\PIC16F887\main.lst |
4 |
|
4 |
|
5 |
ROM used: 468 words (6%) |
5 |
ROM used: 468 words (6%) |
6 |
Largest free fragment is 2048 |
6 |
Largest free fragment is 2048 |
7 |
RAM used: 7 (2%) at main() level |
7 |
RAM used: 7 (2%) at main() level |
8 |
11 (3%) worst case |
8 |
11 (3%) worst case |
Line 11... |
Line 11... |
11 |
* |
11 |
* |
12 |
0000: MOVLW 01 |
12 |
0000: MOVLW 01 |
13 |
0001: MOVWF 0A |
13 |
0001: MOVWF 0A |
14 |
0002: GOTO 155 |
14 |
0002: GOTO 155 |
15 |
0003: NOP |
15 |
0003: NOP |
16 |
.................... //#include "C:\Users\Honza\Documents\pic\I2C_HUB\main.h" |
- |
|
17 |
.................... |
- |
|
18 |
.................... #include "main.h" |
16 |
.................... #include "main.h" |
19 |
.................... #include <16F887.h> |
17 |
.................... #include <16F887.h> |
20 |
.................... //////// Standard Header file for the PIC16F887 device //////////////// |
18 |
.................... //////// Standard Header file for the PIC16F887 device //////////////// |
21 |
.................... #device PIC16F887 |
19 |
.................... #device PIC16F887 |
22 |
.................... #list |
20 |
.................... #list |
Line 65... |
Line 63... |
65 |
.................... |
63 |
.................... |
66 |
.................... //I2CHUB |
64 |
.................... //I2CHUB |
67 |
.................... //ADRESA pro èteni 0xE1 |
65 |
.................... //ADRESA pro èteni 0xE1 |
68 |
.................... //pro zápis 0xE0 |
66 |
.................... //pro zápis 0xE0 |
69 |
.................... |
67 |
.................... |
70 |
.................... |
- |
|
71 |
.................... #define EEPROM_SDA PIN_C4 |
- |
|
72 |
.................... #define EEPROM_SCL PIN_C3 |
- |
|
73 |
.................... #use i2c(master, sda=EEPROM_SDA, scl=EEPROM_SCL) |
68 |
.................... #use i2c(master, sda=PIN_C4, scl=PIN_C3) |
74 |
* |
69 |
* |
75 |
0083: MOVLW 08 |
70 |
0083: MOVLW 08 |
76 |
0084: MOVWF 78 |
71 |
0084: MOVWF 78 |
77 |
0085: NOP |
72 |
0085: NOP |
78 |
0086: BCF 07.3 |
73 |
0086: BCF 07.3 |