8.2.14 boot_signature_byte_get Macro

Read the signature row byte at address.

Include

<avr/boot.h>

Prototype

unsigned char boot_signature_byte_get(unsigned int address);

Remarks

This macro returns the signature row byte at the specified address. For some devices, this macro can obtain the factory-stored oscillator calibration bytes. The address argument can be 0-0x1f, as documented by the datasheet.

Example

#include <avr/boot.h>
int main(void)
{
  unsigned char signature;

  signature = boot_signature_byte_get(0x1f);
}