|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SystemRegisters
Instances of this class are system registers of PICs.
You can read the source of this class here.
Field Summary | |
static int |
C
Bit C (Carry) of STATUS file register. |
static int |
DC
Bit DC (DigitCarry) of STATUS file register. |
static int |
EEADR
Address of EEADR system register. |
static int |
EECON1
Address of EECON1 system register. |
static int |
EECON2
Address of EECON2 system register. |
static int |
EEDATA
Address of EEDATA system register. |
static int |
FSR
Address of FSR system register. |
static int |
INTCON
Address of INTCON system register. |
static int |
IRP
Bit IRP of STATUS file register. |
static int |
OPTION
Address of OPTION system register. |
static int |
PCL
Address of PCL system register. |
static int |
PCLATH
Address of PCLATH system register. |
static int |
PD
Bit PD of STATUS file register. |
static int |
PORTA
Address of PORTA system register. |
static int |
PORTB
Address of PORTB system register. |
static int |
RP0
Bit RP0 of STATUS file register. |
static int |
RP1
Bit RP1 of STATUS file register. |
static int |
STATUS
Address of STATUS system register. |
static int |
TMR0
Address of TMR0 system register. |
static int |
TO
Bit TO of STATUS file register. |
static int |
TRISA
Address of TRISA system register. |
static int |
TRISB
Address of TRISB system register. |
static int |
Z
Bit Z (Zero) of STATUS file register. |
Constructor Summary | |
SystemRegisters()
Creates a new SystemRegisters. |
Method Summary | |
int |
Read(int address)
Returns byte at address address in system registers. |
int |
Read(int address,
int Bank)
Returns byte at address address in bank Bank of system registers. |
void |
Write(int address,
int n)
Writes byte n at address address in system registers. |
void |
Write(int address,
int n,
int Bank)
Writes byte n at address address in bank Bank of system registers. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int PCL
public static final int STATUS
public static final int FSR
public static final int PCLATH
public static final int INTCON
public static final int TMR0
public static final int PORTA
public static final int PORTB
public static final int EEDATA
public static final int EEADR
public static final int OPTION
public static final int TRISA
public static final int TRISB
public static final int EECON1
public static final int EECON2
public static final int IRP
public static final int RP1
public static final int RP0
public static final int TO
public static final int PD
public static final int Z
public static final int DC
public static final int C
Constructor Detail |
public SystemRegisters()
Method Detail |
public int Read(int address)
address
- Address to read from.public void Write(int address, int n)
address
- Address to write to.n
- Byte to write.public int Read(int address, int Bank)
address
- Address to read from.Bank
- Bank to read from.public void Write(int address, int n, int Bank)
address
- Address to write to.n
- Byte to write.Bank
- Bank to write to.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |