Line 1... |
Line 1... |
1 |
CCS PCM C Compiler, Version 4.106, 47914 29-6-13 22:36 |
1 |
CCS PCM C Compiler, Version 4.106, 47914 19-7-13 17:14 |
2 |
|
2 |
|
3 |
Filename: D:\Honza\MLAB\Modules\Sensors\LTS01A\SW\PIC16F887\main.lst |
3 |
Filename: D:\Honza\MLAB\Modules\Sensors\LTS01A\SW\PIC16F887\main.lst |
4 |
|
4 |
|
5 |
ROM used: 1725 words (21%) |
5 |
ROM used: 1725 words (21%) |
6 |
Largest free fragment is 2048 |
6 |
Largest free fragment is 2048 |
Line 244... |
Line 244... |
244 |
0043: GOTO 02F |
244 |
0043: GOTO 02F |
245 |
0044: BTFSC 78.6 |
245 |
0044: BTFSC 78.6 |
246 |
0045: GOTO 037 |
246 |
0045: GOTO 037 |
247 |
0046: RETURN |
247 |
0046: RETURN |
248 |
.................... |
248 |
.................... |
- |
|
249 |
.................... //Adresa pro VDD, VDD, VDD W 0x9E R 0x9F |
- |
|
250 |
.................... //Adresa pro GND GND GND W 0x90 R 0x91 |
249 |
.................... |
251 |
.................... |
250 |
.................... void main() |
252 |
.................... void main() |
251 |
.................... { |
253 |
.................... { |
252 |
* |
254 |
* |
253 |
0574: CLRF 04 |
255 |
0574: CLRF 04 |
Line 404... |
Line 406... |
404 |
05F6: BCF 07.4 |
406 |
05F6: BCF 07.4 |
405 |
05F7: BCF 20.4 |
407 |
05F7: BCF 20.4 |
406 |
05F8: MOVF 20,W |
408 |
05F8: MOVF 20,W |
407 |
05F9: BSF 03.5 |
409 |
05F9: BSF 03.5 |
408 |
05FA: MOVWF 07 |
410 |
05FA: MOVWF 07 |
409 |
.................... I2C_Write(0x9E); |
411 |
.................... I2C_Write(0x90); |
410 |
05FB: MOVLW 9E |
412 |
05FB: MOVLW 90 |
411 |
05FC: BCF 03.5 |
413 |
05FC: BCF 03.5 |
412 |
05FD: MOVWF 27 |
414 |
05FD: MOVWF 27 |
413 |
05FE: CALL 08D |
415 |
05FE: CALL 08D |
414 |
.................... I2C_write(0x00); |
416 |
.................... I2C_write(0x00); |
415 |
05FF: CLRF 27 |
417 |
05FF: CLRF 27 |
Line 460... |
Line 462... |
460 |
062A: BCF 07.4 |
462 |
062A: BCF 07.4 |
461 |
062B: BCF 20.4 |
463 |
062B: BCF 20.4 |
462 |
062C: MOVF 20,W |
464 |
062C: MOVF 20,W |
463 |
062D: BSF 03.5 |
465 |
062D: BSF 03.5 |
464 |
062E: MOVWF 07 |
466 |
062E: MOVWF 07 |
465 |
.................... I2C_Write(0x9F); |
467 |
.................... I2C_Write(0x91); |
466 |
062F: MOVLW 9F |
468 |
062F: MOVLW 91 |
467 |
0630: BCF 03.5 |
469 |
0630: BCF 03.5 |
468 |
0631: MOVWF 27 |
470 |
0631: MOVWF 27 |
469 |
0632: CALL 08D |
471 |
0632: CALL 08D |
470 |
.................... MSB=i2c_read(1); |
472 |
.................... MSB=i2c_read(1); |
471 |
0633: MOVLW 01 |
473 |
0633: MOVLW 01 |