![]() |
Prusa Slicer 2.6.0
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | mega_device_desc |
| struct | xmega_device_desc |
Macros | |
| #define | TOKEN 0x0e |
| #define | SCOPE_INFO 0x00 |
| #define | SCOPE_GENERAL 0x01 |
| #define | SCOPE_AVR_ISP 0x11 |
| #define | SCOPE_AVR 0x12 |
| #define | CMD3_GET_INFO 0x00 |
| #define | CMD3_INFO_NAME 0x80 /* JTAGICE3 */ |
| #define | CMD3_INFO_SERIAL 0x81 /* J3xxxxxxxxxx */ |
| #define | CMD3_SET_PARAMETER 0x01 |
| #define | CMD3_GET_PARAMETER 0x02 |
| #define | CMD3_SIGN_ON 0x10 |
| #define | CMD3_SIGN_OFF 0x11 /* takes one parameter? */ |
| #define | CMD3_START_DW_DEBUG 0x13 |
| #define | CMD3_MONCON_DISABLE 0x17 |
| #define | CMD3_ENTER_PROGMODE 0x15 |
| #define | CMD3_LEAVE_PROGMODE 0x16 |
| #define | CMD3_ERASE_MEMORY 0x20 |
| #define | CMD3_READ_MEMORY 0x21 |
| #define | CMD3_WRITE_MEMORY 0x23 |
| #define | CMD3_READ_PC 0x35 |
| #define | RSP3_OK 0x80 |
| #define | RSP3_INFO 0x81 |
| #define | RSP3_PC 0x83 |
| #define | RSP3_DATA 0x84 |
| #define | RSP3_FAILED 0xA0 |
| #define | RSP3_STATUS_MASK 0xE0 |
| #define | RSP3_FAIL_DEBUGWIRE 0x10 |
| #define | RSP3_FAIL_PDI 0x1B |
| #define | RSP3_FAIL_NO_ANSWER 0x20 |
| #define | RSP3_FAIL_NO_TARGET_POWER 0x22 |
| #define | RSP3_FAIL_WRONG_MODE 0x32 /* progmode vs. non-prog */ |
| #define | RSP3_FAIL_UNSUPP_MEMORY 0x34 /* unsupported memory type */ |
| #define | RSP3_FAIL_WRONG_LENGTH 0x35 /* wrong lenth for mem access */ |
| #define | RSP3_FAIL_NOT_UNDERSTOOD 0x91 |
| #define | EVT3_BREAK 0x40 /* AVR scope */ |
| #define | EVT3_SLEEP 0x11 /* General scope, also wakeup */ |
| #define | EVT3_POWER 0x10 /* General scope */ |
| #define | MTYPE_SRAM 0x20 /* target's SRAM or [ext.] IO registers */ |
| #define | MTYPE_EEPROM 0x22 /* EEPROM, what way? */ |
| #define | MTYPE_SPM 0xA0 /* flash through LPM/SPM */ |
| #define | MTYPE_FLASH_PAGE 0xB0 /* flash in programming mode */ |
| #define | MTYPE_EEPROM_PAGE 0xB1 /* EEPROM in programming mode */ |
| #define | MTYPE_FUSE_BITS 0xB2 /* fuse bits in programming mode */ |
| #define | MTYPE_LOCK_BITS 0xB3 /* lock bits in programming mode */ |
| #define | MTYPE_SIGN_JTAG 0xB4 /* signature in programming mode */ |
| #define | MTYPE_OSCCAL_BYTE 0xB5 /* osccal cells in programming mode */ |
| #define | MTYPE_FLASH 0xc0 /* xmega (app.) flash - undocumented in AVR067 */ |
| #define | MTYPE_BOOT_FLASH 0xc1 /* xmega boot flash - undocumented in AVR067 */ |
| #define | MTYPE_EEPROM_XMEGA 0xc4 /* xmega EEPROM in debug mode - undocumented in AVR067 */ |
| #define | MTYPE_USERSIG 0xc5 /* xmega user signature - undocumented in AVR067 */ |
| #define | MTYPE_PRODSIG 0xc6 /* xmega production signature - undocumented in AVR067 */ |
| #define | PARM3_HW_VER 0x00 /* section 0, generic scope, 1 byte */ |
| #define | PARM3_FW_MAJOR 0x01 /* section 0, generic scope, 1 byte */ |
| #define | PARM3_FW_MINOR 0x02 /* section 0, generic scope, 1 byte */ |
| #define | PARM3_FW_RELEASE |
| #define | PARM3_VTARGET |
| #define | PARM3_DEVICEDESC |
| #define | PARM3_ARCH 0x00 /* section 0, AVR scope, 1 byte */ |
| #define | PARM3_ARCH_TINY 1 /* also small megaAVR with ISP/DW only */ |
| #define | PARM3_ARCH_MEGA 2 |
| #define | PARM3_ARCH_XMEGA 3 |
| #define | PARM3_SESS_PURPOSE 0x01 /* section 0, AVR scope, 1 byte */ |
| #define | PARM3_SESS_PROGRAMMING 1 |
| #define | PARM3_SESS_DEBUGGING 2 |
| #define | PARM3_CONNECTION 0x00 /* section 1, AVR scope, 1 byte */ |
| #define | PARM3_CONN_ISP 1 |
| #define | PARM3_CONN_JTAG 4 |
| #define | PARM3_CONN_DW 5 |
| #define | PARM3_CONN_PDI 6 |
| #define | PARM3_JTAGCHAIN |
| #define | PARM3_CLK_MEGA_PROG 0x20 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define | PARM3_CLK_MEGA_DEBUG 0x21 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define | PARM3_CLK_XMEGA_JTAG 0x30 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define | PARM3_CLK_XMEGA_PDI 0x31 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define | XMEGA_ERASE_CHIP 0x00 |
| #define | XMEGA_ERASE_APP 0x01 |
| #define | XMEGA_ERASE_BOOT 0x02 |
| #define | XMEGA_ERASE_EEPROM 0x03 |
| #define | XMEGA_ERASE_APP_PAGE 0x04 |
| #define | XMEGA_ERASE_BOOT_PAGE 0x05 |
| #define | XMEGA_ERASE_EEPROM_PAGE 0x06 |
| #define | XMEGA_ERASE_USERSIG 0x07 |
| #define | EDBG_VENDOR_AVR_CMD 0x80 |
| #define | EDBG_VENDOR_AVR_RSP 0x81 |
| #define | EDBG_VENDOR_AVR_EVT 0x82 |
| #define | CMSISDAP_CMD_INFO 0x00 /* get info, followed by INFO byte */ |
| #define | CMSISDAP_INFO_VID 0x01 /* vendor ID (string) */ |
| #define | CMSISDAP_INFO_PID 0x02 /* product ID (string) */ |
| #define | CMSISDAP_INFO_SERIAL 0x03 /* serial number (string) */ |
| #define | CMSISDAP_INFO_FIRMWARE 0x04 /* firmware version (string) */ |
| #define | CMSISDAP_INFO_TARGET_VENDOR 0x05 /* target device vendor (string) */ |
| #define | CMSISDAP_INFO_TARGET_NAME 0x06 /* target device name (string) */ |
| #define | CMSISDAP_INFO_CAPABILITIES 0xF0 /* debug unit capabilities (byte) */ |
| #define | CMSISDAP_INFO_PACKET_COUNT 0xFE /* packet count (byte) (which packets, anyway?) */ |
| #define | CMSISDAP_INFO_PACKET_SIZE 0xFF /* packet size (short) */ |
| #define | CMSISDAP_CMD_LED 0x01 /* LED control, followed by LED number and on/off byte */ |
| #define | CMSISDAP_LED_CONNECT 0x00 /* connect LED */ |
| #define | CMSISDAP_LED_RUNNING 0x01 /* running LED */ |
| #define | CMSISDAP_CMD_CONNECT 0x02 /* connect to target, followed by DAP mode */ |
| #define | CMSISDAP_CONN_DEFAULT 0x00 |
| #define | CMSISDAP_CONN_SWD 0x01 /* serial wire debug */ |
| #define | CMSISDAP_CONN_JTAG 0x02 /* JTAG mode */ |
| #define | CMSISDAP_CMD_DISCONNECT 0x03 /* disconnect from target */ |
| #define | CMSISDAP_XFR_CONFIGURE |
| #define | CMSISDAP_CMD_WRITEAPBORT 0x08 /* write to CoreSight ABORT register of target */ |
| #define | CMSISDAP_CMD_DELAY 0x09 /* delay for number of microseconds (short) */ |
| #define | CMSISDAP_CMD_RESET 0x0A /* reset target */ |
| #define | CMSISDAP_CMD_SWJ_CLOCK 0x11 /* SWD/JTAG clock, (word) */ |
| #define | CMSISDAP_CMD_SWD_CONFIGURE 0x13 /* configure SWD protocol; (byte) */ |
| struct mega_device_desc |
| struct xmega_device_desc |
| #define CMD3_ENTER_PROGMODE 0x15 |
| #define CMD3_ERASE_MEMORY 0x20 |
| #define CMD3_GET_INFO 0x00 |
| #define CMD3_GET_PARAMETER 0x02 |
| #define CMD3_INFO_NAME 0x80 /* JTAGICE3 */ |
| #define CMD3_INFO_SERIAL 0x81 /* J3xxxxxxxxxx */ |
| #define CMD3_LEAVE_PROGMODE 0x16 |
| #define CMD3_MONCON_DISABLE 0x17 |
| #define CMD3_READ_MEMORY 0x21 |
| #define CMD3_READ_PC 0x35 |
| #define CMD3_SET_PARAMETER 0x01 |
| #define CMD3_SIGN_OFF 0x11 /* takes one parameter? */ |
| #define CMD3_SIGN_ON 0x10 |
| #define CMD3_START_DW_DEBUG 0x13 |
| #define CMD3_WRITE_MEMORY 0x23 |
| #define CMSISDAP_CMD_CONNECT 0x02 /* connect to target, followed by DAP mode */ |
| #define CMSISDAP_CMD_DELAY 0x09 /* delay for number of microseconds (short) */ |
| #define CMSISDAP_CMD_DISCONNECT 0x03 /* disconnect from target */ |
| #define CMSISDAP_CMD_INFO 0x00 /* get info, followed by INFO byte */ |
| #define CMSISDAP_CMD_LED 0x01 /* LED control, followed by LED number and on/off byte */ |
| #define CMSISDAP_CMD_RESET 0x0A /* reset target */ |
| #define CMSISDAP_CMD_SWD_CONFIGURE 0x13 /* configure SWD protocol; (byte) */ |
| #define CMSISDAP_CMD_SWJ_CLOCK 0x11 /* SWD/JTAG clock, (word) */ |
| #define CMSISDAP_CMD_WRITEAPBORT 0x08 /* write to CoreSight ABORT register of target */ |
| #define CMSISDAP_CONN_DEFAULT 0x00 |
| #define CMSISDAP_CONN_JTAG 0x02 /* JTAG mode */ |
| #define CMSISDAP_CONN_SWD 0x01 /* serial wire debug */ |
| #define CMSISDAP_INFO_CAPABILITIES 0xF0 /* debug unit capabilities (byte) */ |
| #define CMSISDAP_INFO_PACKET_COUNT 0xFE /* packet count (byte) (which packets, anyway?) */ |
| #define CMSISDAP_INFO_PACKET_SIZE 0xFF /* packet size (short) */ |
| #define CMSISDAP_INFO_PID 0x02 /* product ID (string) */ |
| #define CMSISDAP_INFO_TARGET_NAME 0x06 /* target device name (string) */ |
| #define CMSISDAP_INFO_TARGET_VENDOR 0x05 /* target device vendor (string) */ |
| #define CMSISDAP_INFO_VID 0x01 /* vendor ID (string) */ |
| #define CMSISDAP_LED_CONNECT 0x00 /* connect LED */ |
| #define CMSISDAP_LED_RUNNING 0x01 /* running LED */ |
| #define CMSISDAP_XFR_CONFIGURE |
| #define EDBG_VENDOR_AVR_CMD 0x80 |
| #define EDBG_VENDOR_AVR_EVT 0x82 |
| #define EDBG_VENDOR_AVR_RSP 0x81 |
| #define EVT3_BREAK 0x40 /* AVR scope */ |
| #define EVT3_POWER 0x10 /* General scope */ |
| #define EVT3_SLEEP 0x11 /* General scope, also wakeup */ |
| #define MTYPE_BOOT_FLASH 0xc1 /* xmega boot flash - undocumented in AVR067 */ |
| #define MTYPE_EEPROM 0x22 /* EEPROM, what way? */ |
| #define MTYPE_EEPROM_PAGE 0xB1 /* EEPROM in programming mode */ |
| #define MTYPE_EEPROM_XMEGA 0xc4 /* xmega EEPROM in debug mode - undocumented in AVR067 */ |
| #define MTYPE_FLASH 0xc0 /* xmega (app.) flash - undocumented in AVR067 */ |
| #define MTYPE_FLASH_PAGE 0xB0 /* flash in programming mode */ |
| #define MTYPE_FUSE_BITS 0xB2 /* fuse bits in programming mode */ |
| #define MTYPE_LOCK_BITS 0xB3 /* lock bits in programming mode */ |
| #define MTYPE_OSCCAL_BYTE 0xB5 /* osccal cells in programming mode */ |
| #define MTYPE_PRODSIG 0xc6 /* xmega production signature - undocumented in AVR067 */ |
| #define MTYPE_SIGN_JTAG 0xB4 /* signature in programming mode */ |
| #define MTYPE_SPM 0xA0 /* flash through LPM/SPM */ |
| #define MTYPE_SRAM 0x20 /* target's SRAM or [ext.] IO registers */ |
| #define MTYPE_USERSIG 0xc5 /* xmega user signature - undocumented in AVR067 */ |
| #define PARM3_ARCH 0x00 /* section 0, AVR scope, 1 byte */ |
| #define PARM3_ARCH_MEGA 2 |
| #define PARM3_ARCH_TINY 1 /* also small megaAVR with ISP/DW only */ |
| #define PARM3_ARCH_XMEGA 3 |
| #define PARM3_CLK_MEGA_DEBUG 0x21 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define PARM3_CLK_MEGA_PROG 0x20 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define PARM3_CLK_XMEGA_JTAG 0x30 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define PARM3_CLK_XMEGA_PDI 0x31 /* section 1, AVR scope, 2 bytes (kHz) */ |
| #define PARM3_CONN_DW 5 |
| #define PARM3_CONN_ISP 1 |
| #define PARM3_CONN_JTAG 4 |
| #define PARM3_CONN_PDI 6 |
| #define PARM3_CONNECTION 0x00 /* section 1, AVR scope, 1 byte */ |
| #define PARM3_DEVICEDESC |
| #define PARM3_FW_MAJOR 0x01 /* section 0, generic scope, 1 byte */ |
| #define PARM3_FW_MINOR 0x02 /* section 0, generic scope, 1 byte */ |
| #define PARM3_FW_RELEASE |
| #define PARM3_HW_VER 0x00 /* section 0, generic scope, 1 byte */ |
| #define PARM3_JTAGCHAIN |
| #define PARM3_SESS_DEBUGGING 2 |
| #define PARM3_SESS_PROGRAMMING 1 |
| #define PARM3_SESS_PURPOSE 0x01 /* section 0, AVR scope, 1 byte */ |
| #define PARM3_VTARGET |
| #define RSP3_DATA 0x84 |
| #define RSP3_FAIL_DEBUGWIRE 0x10 |
| #define RSP3_FAIL_NO_ANSWER 0x20 |
| #define RSP3_FAIL_NO_TARGET_POWER 0x22 |
| #define RSP3_FAIL_NOT_UNDERSTOOD 0x91 |
| #define RSP3_FAIL_PDI 0x1B |
| #define RSP3_FAIL_UNSUPP_MEMORY 0x34 /* unsupported memory type */ |
| #define RSP3_FAIL_WRONG_LENGTH 0x35 /* wrong lenth for mem access */ |
| #define RSP3_FAIL_WRONG_MODE 0x32 /* progmode vs. non-prog */ |
| #define RSP3_FAILED 0xA0 |
| #define RSP3_INFO 0x81 |
| #define RSP3_OK 0x80 |
| #define RSP3_PC 0x83 |
| #define RSP3_STATUS_MASK 0xE0 |
| #define SCOPE_AVR 0x12 |
| #define SCOPE_AVR_ISP 0x11 |
| #define SCOPE_GENERAL 0x01 |
| #define SCOPE_INFO 0x00 |
| #define TOKEN 0x0e |
| #define XMEGA_ERASE_APP 0x01 |
| #define XMEGA_ERASE_APP_PAGE 0x04 |
| #define XMEGA_ERASE_BOOT 0x02 |
| #define XMEGA_ERASE_BOOT_PAGE 0x05 |
| #define XMEGA_ERASE_CHIP 0x00 |
| #define XMEGA_ERASE_EEPROM 0x03 |
| #define XMEGA_ERASE_EEPROM_PAGE 0x06 |
| #define XMEGA_ERASE_USERSIG 0x07 |