參數(shù)資料
型號: FACT002
英文描述: Fact 3 Documentation
中文描述: 事實3文件
文件頁數(shù): 4/4頁
文件大?。?/td> 49K
代理商: FACT002
FACT003-page 4
1996 Microchip Technology Inc.
adcnvrt movf
Adcnt,0
Adcntw
STATUS,0
Adcntw,1
Adcntw,1
Adcntw,1
0C1h
Adcntw,0
ADCON0
wait
ADCON0,2
Adcnt
ADCON0,2
adwait
ADRES,0
0Fh
30h
STATUS,RP0
TXSTA,1
sendat
STATUS,RP0
TXREG
;get a/d count value
;put in work register
;clear the carry flag for the upcoming rotate operations
;rotate left and leave the number in adcntw
;need to do it three times to put the count in the right
;position to select the next A/D pin
;load the initial ADCON0 value excepting channel select
;set the pin select bits we want
;set the new ADCON0 with new channels selected
;wait about twenty micro seconds
;start conversion
;increment pin counter register
;wait for conversion done
;not done yet
;conversion done, swap result nibbles into W register
;mask off the upper nibble to limit number to an ascii range
;convert to ascii character to make it visible on terminal
;select page one
;check transmit status ready to send
;if not ready go try again
;back to page 0
;transmit buffer empty send new data
movwf
bcf
rlf
rlf
rlf
movlw
iorwf
movwf
call
bsf
incf
adwait btfsc
goto
swapf
andlw
addlw
sendat bsf
btfss
goto
bcf
movwf
return
movf
movwf
goto
movlw
movwf
decfsz Temp
goto
return
end
dopwm
ADRES,0
CCPR2L
adloop
08h
Temp
;get the a/d conversion value
;put the value into the PWM duty cycle register
wait
;do a wait loop of before using a/d converter
w1
w1
;end of program
FIGURE 3:
PIC16C74 DEMO SCHEMATIC
相關(guān)PDF資料
PDF描述
FADSFACT MPC860 and MPC850 Family Application Development Systems Facts Sheet
FALCON Series Regulators; Surface Mount Type: N; Package: TO-92; Number Of Pins: 3; Polarity: Positive; General Description: Three-Terminal Voltage Regulator; Features: Low current output; Note: Radial tape packing for automatic mounting; V OUT (%): (max +/-4)
FALL2003 High Efficiency Diodes (HEDs); Surface Mount Type: Y; Package: M-FLAT; Number Of Pins: 2; Application Scope: Switching mode power supply; Internal Connection: Single; T RR (ns): (max 35); Repetitive Peak Reverse Voltage V_RRM Max (V): (max 3); I O (A): (max 200)
FAN4113IS5 Voltage-Feedback Operational Amplifier
FAN4113IS5TR3 Voltage-Feedback Operational Amplifier
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
FACT-OR-MAINT-VXW-EP 制造商:Emerson Network Power 功能描述:MAINTENANCE FOR FACT-OR ON WTRB500 - Bulk
FACTORY CHARGES 制造商:Misc 功能描述:
FACTORY MODIFICATION 制造商:Teledyne Relays 功能描述:
FACTORYFLOOR 制造商:Opto 22 功能描述:Software, Factory Floor
FACTORYFLOOR MANUAL 制造商:Opto 22 功能描述:Manual, Factory Floor