comparison src/hwos.asm @ 630:4cd81bdbf15c

3.08 stable release
author heinrichsweikamp
date Fri, 21 Feb 2020 10:51:36 +0100
parents 237931377539
children 185ba2f91f59
comparison
equal deleted inserted replaced
629:237931377539 630:4cd81bdbf15c
267 ; A/D Converter 267 ; A/D Converter
268 movlw b'00011000' ; power off ADC, select AN6 268 movlw b'00011000' ; power off ADC, select AN6
269 movwf ADCON0 269 movwf ADCON0
270 movlw b'00100000' ; 2.048V Vref+ 270 movlw b'00100000' ; 2.048V Vref+
271 movwf ADCON1 271 movwf ADCON1
272 movlw b'10001101' ; right aligned 272 movlw b'10111010' ; right aligned, 20 x T_AD acquisition time, FOSC/32 -> Max. 40MHz device clock speed
273 movwf ADCON2 273 movwf ADCON2
274 274
275 275
276 ; serial Port 1 (TRISC6/7) 276 ; serial Port 1 (TRISC6/7)
277 movlw b'00001000' ; BRG16=1 277 movlw b'00001000' ; BRG16=1