Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim.mcu
Class ATMega128L.SimImpl.PowerManagement.ControlRegister

    java.lang.Object
      avrora.sim.State.RWIOReg
          avrora.sim.mcu.ATMega128L.SimImpl.PowerManagement.ControlRegister

All Implemented Interfaces:
  State.IOReg

Enclosing class:
  ATMega128L.SimImpl.PowerManagement

protected class ATMega128L.SimImpl.PowerManagement.ControlRegister
extends State.RWIOReg

implementation of the MCUCR control register

Field Summary
`static byte` | `IVCE`
`static byte` | `IVSEL`
`static byte` | `SE`
`static byte` | `SM0`
`static byte` | `SM1`
`static byte` | `SM2`
`static byte` | `SRE`
`static byte` | `SRW10`

Fields inherited from class avrora.sim.State.RWIOReg
`value`

Constructor Summary
`protected` | `ATMega128L.SimImpl.PowerManagement.ControlRegister()`

Method Summary
`void` | `write(byte val)` write byte to the register
`void` | `writeBit(int bit, boolean val)` write bit to the register

Methods inherited from class avrora.sim.State.RWIOReg
`read, readBit`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### SRE

    public static final byte SRE

See Also:
  Constant Field Values

### SRW10

    public static final byte SRW10

See Also:
  Constant Field Values

### SE

    public static final byte SE

See Also:
  Constant Field Values

### SM1

    public static final byte SM1

See Also:
  Constant Field Values

### SM0

    public static final byte SM0

See Also:
  Constant Field Values

### SM2

    public static final byte SM2

See Also:
  Constant Field Values

### IVSEL

    public static final byte IVSEL

See Also:
  Constant Field Values

### IVCE

    public static final byte IVCE

See Also:
  Constant Field Values

Constructor Detail

### ATMega128L.SimImpl.PowerManagement.ControlRegister

    protected ATMega128L.SimImpl.PowerManagement.ControlRegister()

Method Detail

### write

    public void write(byte val)

  write byte to the register

  Specified by:
    `write` in interface `State.IOReg`
  Overrides:
    `write` in class `State.RWIOReg`
  Parameters:
    `val` - value to write
  See Also:
    `State.IOReg.write(byte)`

### writeBit

    public void writeBit(int bit,
                         boolean val)

  write bit to the register

  Specified by:
    `writeBit` in interface `State.IOReg`
  Overrides:
    `writeBit` in class `State.RWIOReg`
  Parameters:
    `bit` - bit to write on
    `val` - value to write
  See Also:
    `State.IOReg.writeBit(int, boolean)`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD