18 #if HIGH_VOLTAGE_PARALLEL || HIGH_VOLTAGE_SERIAL
22 CMD_CHIP_ERASE = 0b10000000,
23 CMD_WRITE_FUSE_BITS = 0b01000000,
24 CMD_WRITE_LOCK_BITS = 0b00100000,
25 CMD_WRITE_FLASH = 0b00010000,
26 CMD_WRITE_EEPROM = 0b00010001,
27 CMD_READ_SIGNATURE = 0b00001000,
28 CMD_READ_FUSE_BITS = 0b00000100,
29 CMD_READ_FLASH = 0b00000010,
30 CMD_READ_EEPROM = 0b00000011,
31 CMD_NO_OPERATION = 0b00000000,
34 #endif // HIGH_VOLTAGE_PARALLEL || HIGH_VOLTAGE_SERIAL
36 #if HIGH_VOLTAGE_PARALLEL
41 const byte dataPins [8] = {
95 #endif // HIGH_VOLTAGE_PARALLEL
97 #if HIGH_VOLTAGE_SERIAL
120 SII_LOAD_COMMAND = 0b01001100,
121 SII_LOAD_ADDRESS_LOW = 0b00001100,
122 SII_LOAD_ADDRESS_HIGH = 0b00011100,
123 SII_READ_LOW_BYTE = 0b01101000,
124 SII_READ_HIGH_BYTE = 0b01111000,
125 SII_WRITE_LOW_BYTE = 0b01100100,
126 SII_WRITE_HIGH_BYTE = 0b01110100,
127 SII_LOAD_LOW_BYTE = 0b00101100,
128 SII_LOAD_HIGH_BYTE = 0b00111100,
129 SII_WRITE_EXTENDED_FUSE = 0b01100110,
130 SII_PROGRAM_LOW_BYTE = 0b01101101,
131 SII_PROGRAM_HIGH_BYTE = 0b01111101,
132 SII_READ_EEPROM = 0b01101000,
135 SII_OR_MASK = 0b00001100,
139 #endif // HIGH_VOLTAGE_SERIAL
uint8_t byte
Definition: Arduino.h:123