Ir al contenido

Guia rapida de registros

RegistroBits claveUso
WREG8Acumulador
STATUSZ,C,DC,OV,NBanderas ALU
BSR0-3Banco memoria
INTCONGIE, PEIE, TMR0IFInterrupciones globales
RegistroFuncion
TRISx1=in, 0=out
PORTxLeer pines
LATxEscribir salida
TimerControlContador
Timer0T0CONTMR0L/H
Timer1T1CONTMR1L/H
Timer2T2CONTMR2, PR2
RegistroFuncion
ADCON0Canal, GO/DONE, ADON
ADCON1PCFG analogico/digital
ADCON2ADFM, ADCS reloj
ADRESH/LResultado 10 bit
RegistroFuncion
TXSTATXEN, BRGH
RCSTASPEN, CREN
SPBRGBaudios
TXREG/RCREGDatos
RegistroFuncion
CCP1CONModo CCP/PWM
CCPR1LDuty cycle
PR2Periodo PWM