2014-12-26 11:36:32 +01:00
|
|
|
#ifndef _CHIPINFO_H_
|
|
|
|
#define _CHIPINFO_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-01-17 23:26:41 +01:00
|
|
|
typedef struct avr_chipinfo_s
|
|
|
|
{
|
|
|
|
uint8_t sig[3];
|
|
|
|
const char name[16];
|
|
|
|
uint16_t flashsize;
|
|
|
|
uint16_t eepromsize;
|
|
|
|
} avr_chipinfo_t;
|
|
|
|
|
|
|
|
const avr_chipinfo_t * chipinfo_get_by_signature (const uint8_t *sig);
|
|
|
|
const char * chipinfo_get_avr_name (const uint8_t *sig);
|
2014-12-26 11:36:32 +01:00
|
|
|
|
|
|
|
#endif /* _CHIPINFO_H_ */
|