|
BowlerKernel
|

Public Member Functions | |
| int | getCheckSum () |
| hexLine (String s) throws Exception | |
| int | getStartAddress () |
| int | getEndAddress () |
| void | setHighAddress (long highAddress) |
| int | getByteCount () |
| int | getRecordType () |
| byte[] | getDataBytes () |
| Boolean | hasData () |
| String | toString () |
Private Member Functions | |
| byte[] | dataToArray (ArrayList< Byte > bl) |
Private Attributes | |
| ArrayList< Byte > | dataBytes = new ArrayList<Byte>() |
| int | address |
| int | byteCount |
| int | recordType |
| int | checkSum |
| boolean | hasSetHighAddress =false |
The Class hexLine.
Definition at line 10 of file hexLine.java.
| com.neuronrobotics.sdk.bootloader.hexLine.hexLine | ( | String | s | ) | throws Exception |
Instantiates a new hex line.
| s | the s |
| Exception | the exception |
Definition at line 45 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.address, com.neuronrobotics.sdk.bootloader.hexLine.byteCount, com.neuronrobotics.sdk.bootloader.hexLine.checkSum, com.neuronrobotics.sdk.bootloader.hexLine.dataBytes, and com.neuronrobotics.sdk.bootloader.hexLine.recordType.
|
private |
Data to array.
| bl | the bl |
Definition at line 145 of file hexLine.java.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.getDataBytes().
| int com.neuronrobotics.sdk.bootloader.hexLine.getByteCount | ( | ) |
Gets the byte count.
Definition at line 105 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.byteCount.
| int com.neuronrobotics.sdk.bootloader.hexLine.getCheckSum | ( | ) |
Gets the check sum.
Definition at line 35 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.checkSum.
| byte [] com.neuronrobotics.sdk.bootloader.hexLine.getDataBytes | ( | ) |
Gets the data bytes.
Definition at line 123 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.dataBytes, and com.neuronrobotics.sdk.bootloader.hexLine.dataToArray().
Referenced by com.neuronrobotics.sdk.bootloader.IntelHexParser.IntelHexParser(), and com.neuronrobotics.sdk.bootloader.hexLine.toString().

| int com.neuronrobotics.sdk.bootloader.hexLine.getEndAddress | ( | ) |
Gets the end address.
Definition at line 84 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.address, and com.neuronrobotics.sdk.bootloader.hexLine.dataBytes.
Referenced by com.neuronrobotics.sdk.bootloader.IntelHexParser.IntelHexParser().
| int com.neuronrobotics.sdk.bootloader.hexLine.getRecordType | ( | ) |
Gets the record type.
Definition at line 114 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.recordType.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.toString().
| int com.neuronrobotics.sdk.bootloader.hexLine.getStartAddress | ( | ) |
Gets the start address.
Definition at line 75 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.address.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.toString().
| Boolean com.neuronrobotics.sdk.bootloader.hexLine.hasData | ( | ) |
Checks for data.
Definition at line 134 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.dataBytes.
| void com.neuronrobotics.sdk.bootloader.hexLine.setHighAddress | ( | long | highAddress | ) |
Sets the high address.
| highAddress | the new high address |
Definition at line 93 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.address, and com.neuronrobotics.sdk.bootloader.hexLine.hasSetHighAddress.
| String com.neuronrobotics.sdk.bootloader.hexLine.toString | ( | ) |
Definition at line 157 of file hexLine.java.
References com.neuronrobotics.sdk.bootloader.hexLine.getDataBytes(), com.neuronrobotics.sdk.bootloader.hexLine.getRecordType(), and com.neuronrobotics.sdk.bootloader.hexLine.getStartAddress().

|
private |
The address.
Definition at line 16 of file hexLine.java.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.getEndAddress(), com.neuronrobotics.sdk.bootloader.hexLine.getStartAddress(), com.neuronrobotics.sdk.bootloader.hexLine.hexLine(), and com.neuronrobotics.sdk.bootloader.hexLine.setHighAddress().
|
private |
The byte count.
Definition at line 19 of file hexLine.java.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.getByteCount(), and com.neuronrobotics.sdk.bootloader.hexLine.hexLine().
|
private |
The check sum.
Definition at line 25 of file hexLine.java.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.getCheckSum(), and com.neuronrobotics.sdk.bootloader.hexLine.hexLine().
|
private |
The data bytes.
Definition at line 13 of file hexLine.java.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.getDataBytes(), com.neuronrobotics.sdk.bootloader.hexLine.getEndAddress(), com.neuronrobotics.sdk.bootloader.hexLine.hasData(), and com.neuronrobotics.sdk.bootloader.hexLine.hexLine().
|
private |
The has set high address.
Definition at line 28 of file hexLine.java.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.setHighAddress().
|
private |
The record type.
Definition at line 22 of file hexLine.java.
Referenced by com.neuronrobotics.sdk.bootloader.hexLine.getRecordType(), and com.neuronrobotics.sdk.bootloader.hexLine.hexLine().