| Purpose: | Read one of the three (3) ATmega Signature bytes or the RC Oscillator Calibration Byte. | |||
| Assumes: | The value should be one of these four (4) documented values: 0 the Device Signature Byte 1 1 the RC Oscillator Calibration Byte 2 the Device Signature Byte 2 4 the Device Signature Byte 3 |
|||
| Passed: | R24 | BYTE | bSelect | 0, 1, 2, or 4, selected from one of the four values shown above |
| Returns: | R24 | BYTE | bResult | the value which the MCU reported for the byte selected |
| Alters: | R25 and the FLAGS | |||
| Example: |
|
|||
| Notes: | For an ATmega328P, the three signature bytes returned should be: Byte 1 = 0x1E, Byte 2 = 0x95, and Byte 3 = 0x0F. The RC Oscillator Calibration Byte value is device-dependant and was set at the Atmel factory. | |||
| Also see: | ReadFuseByte and the G commands. | |||