|
LevelMeter-Display
2.0
An ultrasonic Level Meter for Stormwater Cisterns
|

Go to the source code of this file.
Functions | |
| void | HexDump (uint16_t adr, void *ptr, uint8_t n) |
| Prints one line of Hexdump. More... | |
| int8_t | UpdateSensorFirmware (void) |
| Updates the Sensor Firmware. More... | |
| int8_t | VerifySensorFirmware (void) |
| Verifies the Sensor Firmware against an Intel-Hex-File. More... | |
Variables | |
| static const uint8_t | RECTYPE_DATA =0x00 |
| Data Record. More... | |
| static const uint8_t | RECTYPE_EOF =0x01 |
| End of File Marker. More... | |
| static const uint8_t | RECTYPE_EXTSEG =0x02 |
| Extended Segment Address Record. More... | |
| void HexDump | ( | uint16_t | adr, |
| void * | ptr, | ||
| uint8_t | n | ||
| ) |
Prints one line of Hexdump.
| adr | The Address to be displayed |
| ptr | A Pointer to the first Byte |
| n | The number of Bytes to dump |
References hprintf_P().
Referenced by VerifySensor().


| int8_t UpdateSensorFirmware | ( | void | ) |
Updates the Sensor Firmware.
References blFlags, BOOTLDHELLO, hprintf_P(), ProgramSensor(), putc0(), ReadIntelHex(), SensorPowerOff(), SensorPowerOn(), and VerifySensor().
Referenced by CmdUpdateSensorFirmware().


| int8_t VerifySensorFirmware | ( | void | ) |
Verifies the Sensor Firmware against an Intel-Hex-File.
References blFlags, BOOTLDHELLO, hprintf_P(), putc0(), ReadIntelHex(), SensorPowerOff(), SensorPowerOn(), and VerifySensor().
Referenced by CmdVerifySensorFirmware().


|
static |
Data Record.
Referenced by DoOneLine().
|
static |
End of File Marker.
Referenced by DoOneLine().
|
static |
Extended Segment Address Record.
Referenced by DoOneLine().
1.8.15