diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c26d4af --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +zig-out +zig-cache diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e69de29 diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..7c2fa2f --- /dev/null +++ b/README.adoc @@ -0,0 +1,11 @@ += Nordic nrf5x + +HALs and register definitions for nrf5x devices + +== What version of Zig to use + +Right now we are following https://ziglang.org/download/[master], but once 0.11.0 is released, we will be switching to the latest stable version of Zig. + +== Renode supports: + +- nrf52840 development kit diff --git a/build.zig b/build.zig new file mode 100644 index 0000000..1690e0c --- /dev/null +++ b/build.zig @@ -0,0 +1,65 @@ +const std = @import("std"); + +fn path(comptime suffix: []const u8) std.Build.LazyPath { + return .{ + .cwd_relative = comptime ((std.fs.path.dirname(@src().file) orelse ".") ++ suffix), + }; +} + +pub const chips = struct { + pub const nrf52840 = .{ + .preferred_format = .elf, + .chip = .{ + .name = "nrf52840", + .url = "https://www.nordicsemi.com/products/nrf52840", + .cpu = .cortex_m4, + .register_definition = .{ + .json = path("/src/chips/nrf52840.json"), + }, + .memory_regions = &.{ + .{ .offset = 0x00000000, .length = 0x100000, .kind = .flash }, + .{ .offset = 0x20000000, .length = 0x40000, .kind = .ram }, + + // EXTFLASH + .{ .offset = 0x12000000, .length = 0x8000000, .kind = .flash }, + + // CODE_RAM + .{ .offset = 0x800000, .length = 0x40000, .kind = .ram }, + }, + }, + }; + + pub const nrf52832 = .{ + .preferred_format = .elf, + .chip = .{ + .name = "nrf52", + .url = "https://www.nordicsemi.com/products/nrf52832", + .cpu = .cortex_m4, + .register_definition = .{ + .json = path("/src/chips/nrf52.json"), + }, + .memory_regions = &.{ + .{ .offset = 0x00000000, .length = 0x80000, .kind = .flash }, + .{ .offset = 0x20000000, .length = 0x10000, .kind = .ram }, + }, + }, + }; +}; + +pub const boards = struct { + pub const nordic = struct { + pub const nRF52840_Dongle = .{ + .preferred_format = .elf, + .chip = chips.nrf52840.chip, + .board = .{ + .name = "nRF52840 Dongle", + .url = "https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dongle", + .source_file = path("/src/boards/nrf52840-dongle.zig"), + }, + }; + }; +}; + +pub fn build(b: *std.build.Builder) void { + _ = b; +} diff --git a/build.zig.zon b/build.zig.zon new file mode 100644 index 0000000..64c0de6 --- /dev/null +++ b/build.zig.zon @@ -0,0 +1,5 @@ +.{ + .name = "microzig-nordic-nrf5x", + .version = "0.1.0", + .dependencies = .{}, +} diff --git a/src/boards/nrf52840-dongle.zig b/src/boards/nrf52840-dongle.zig new file mode 100644 index 0000000..8bbed2f --- /dev/null +++ b/src/boards/nrf52840-dongle.zig @@ -0,0 +1 @@ +// TODO: Implement board support diff --git a/src/chips/nrf52.json b/src/chips/nrf52.json new file mode 100644 index 0000000..8c71c64 --- /dev/null +++ b/src/chips/nrf52.json @@ -0,0 +1,34901 @@ +{ + "version": "0.1.0", + "types": { + "peripherals": { + "SCS": { + "description": "System Control Space", + "children": { + "register_groups": { + "SysTick": { + "description": "System Tick Timer", + "children": { + "registers": { + "CTRL": { + "description": "SysTick Control and Status Register", + "offset": 0, + "size": 32, + "children": { + "fields": { + "ENABLE": { + "offset": 0, + "size": 1 + }, + "TICKINT": { + "offset": 1, + "size": 1 + }, + "CLKSOURCE": { + "offset": 2, + "size": 1 + }, + "COUNTFLAG": { + "offset": 16, + "size": 1 + } + } + } + }, + "LOAD": { + "description": "SysTick Reload Value Register", + "offset": 4, + "size": 32, + "children": { + "fields": { + "RELOAD": { + "offset": 0, + "size": 24 + } + } + } + }, + "VAL": { + "description": "SysTick Current Value Register", + "offset": 8, + "size": 32, + "children": { + "fields": { + "CURRENT": { + "offset": 0, + "size": 24 + } + } + } + }, + "CALIB": { + "description": "SysTick Calibration Register", + "offset": 12, + "size": 32, + "access": "read-only", + "children": { + "fields": { + "TENMS": { + "offset": 0, + "size": 24 + }, + "SKEW": { + "offset": 30, + "size": 1 + }, + "NOREF": { + "offset": 31, + "size": 1 + } + } + } + } + } + } + } + } + } + }, + "FICR": { + "description": "Factory Information Configuration Registers", + "children": { + "registers": { + "CODEPAGESIZE": { + "description": "Code memory page size", + "offset": 16, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "CODEPAGESIZE": { + "description": "Code memory page size", + "offset": 0, + "size": 32 + } + } + } + }, + "CODESIZE": { + "description": "Code memory size", + "offset": 20, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "CODESIZE": { + "description": "Code memory size in number of pages", + "offset": 0, + "size": 32 + } + } + } + }, + "DEVICEID": { + "description": "Description collection[0]: Device identifier", + "offset": 96, + "size": 32, + "count": 2, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DEVICEID": { + "description": "64 bit unique device identifier", + "offset": 0, + "size": 32 + } + } + } + }, + "ER": { + "description": "Description collection[0]: Encryption Root, word 0", + "offset": 128, + "size": 32, + "count": 4, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ER": { + "description": "Encryption Root, word n", + "offset": 0, + "size": 32 + } + } + } + }, + "IR": { + "description": "Description collection[0]: Identity Root, word 0", + "offset": 144, + "size": 32, + "count": 4, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "IR": { + "description": "Identity Root, word n", + "offset": 0, + "size": 32 + } + } + } + }, + "DEVICEADDRTYPE": { + "description": "Device address type", + "offset": 160, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DEVICEADDRTYPE": { + "description": "Device address type", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Public": { + "description": "Public address", + "value": 0 + }, + "Random": { + "description": "Random address", + "value": 1 + } + } + } + } + } + } + } + }, + "DEVICEADDR": { + "description": "Description collection[0]: Device address 0", + "offset": 164, + "size": 32, + "count": 2, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DEVICEADDR": { + "description": "48 bit device address", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "UICR": { + "description": "User Information Configuration Registers", + "children": { + "registers": { + "UNUSED0": { + "description": "Unspecified", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "UNUSED1": { + "description": "Unspecified", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "UNUSED2": { + "description": "Unspecified", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "UNUSED3": { + "description": "Unspecified", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "NRFFW": { + "description": "Description collection[0]: Reserved for Nordic firmware design", + "offset": 20, + "size": 32, + "count": 15, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "NRFFW": { + "description": "Reserved for Nordic firmware design", + "offset": 0, + "size": 32 + } + } + } + }, + "NRFHW": { + "description": "Description collection[0]: Reserved for Nordic hardware design", + "offset": 80, + "size": 32, + "count": 12, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "NRFHW": { + "description": "Reserved for Nordic hardware design", + "offset": 0, + "size": 32 + } + } + } + }, + "CUSTOMER": { + "description": "Description collection[0]: Reserved for customer", + "offset": 128, + "size": 32, + "count": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "CUSTOMER": { + "description": "Reserved for customer", + "offset": 0, + "size": 32 + } + } + } + }, + "PSELRESET": { + "description": "Description collection[0]: Mapping of the nRESET function (see POWER chapter for details)", + "offset": 512, + "size": 32, + "count": 2, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN": { + "description": "GPIO number P0.n onto which Reset is exposed", + "offset": 0, + "size": 6 + }, + "CONNECT": { + "description": "Connection", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 1 + }, + "Connected": { + "description": "Connect", + "value": 0 + } + } + } + } + } + } + } + }, + "APPROTECT": { + "description": "Access Port protection", + "offset": 520, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PALL": { + "description": "Enable or disable Access Port protection. Any other value than 0xFF being written to this field will enable protection.", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 255 + }, + "Enabled": { + "description": "Enable", + "value": 0 + } + } + } + } + } + } + } + }, + "NFCPINS": { + "description": "Setting of pins dedicated to NFC functionality: NFC antenna or GPIO", + "offset": 524, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PROTECT": { + "description": "Setting of pins dedicated to NFC functionality", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Operation as GPIO pins. Same protection as normal GPIO pins", + "value": 0 + }, + "NFC": { + "description": "Operation as NFC antenna pins. Configures the protection for NFC operation", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "BPROT": { + "description": "Block Protect", + "children": { + "registers": { + "CONFIG0": { + "description": "Block protect configuration register 0", + "offset": 1536, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0": { + "description": "Enable protection for region 0. Write '0' has no effect.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION1": { + "description": "Enable protection for region 1. Write '0' has no effect.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION2": { + "description": "Enable protection for region 2. Write '0' has no effect.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION3": { + "description": "Enable protection for region 3. Write '0' has no effect.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION4": { + "description": "Enable protection for region 4. Write '0' has no effect.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION5": { + "description": "Enable protection for region 5. Write '0' has no effect.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION6": { + "description": "Enable protection for region 6. Write '0' has no effect.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION7": { + "description": "Enable protection for region 7. Write '0' has no effect.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION8": { + "description": "Enable protection for region 8. Write '0' has no effect.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION9": { + "description": "Enable protection for region 9. Write '0' has no effect.", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION10": { + "description": "Enable protection for region 10. Write '0' has no effect.", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION11": { + "description": "Enable protection for region 11. Write '0' has no effect.", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION12": { + "description": "Enable protection for region 12. Write '0' has no effect.", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION13": { + "description": "Enable protection for region 13. Write '0' has no effect.", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION14": { + "description": "Enable protection for region 14. Write '0' has no effect.", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION15": { + "description": "Enable protection for region 15. Write '0' has no effect.", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION16": { + "description": "Enable protection for region 16. Write '0' has no effect.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION17": { + "description": "Enable protection for region 17. Write '0' has no effect.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION18": { + "description": "Enable protection for region 18. Write '0' has no effect.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION19": { + "description": "Enable protection for region 19. Write '0' has no effect.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION20": { + "description": "Enable protection for region 20. Write '0' has no effect.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION21": { + "description": "Enable protection for region 21. Write '0' has no effect.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION22": { + "description": "Enable protection for region 22. Write '0' has no effect.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION23": { + "description": "Enable protection for region 23. Write '0' has no effect.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION24": { + "description": "Enable protection for region 24. Write '0' has no effect.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION25": { + "description": "Enable protection for region 25. Write '0' has no effect.", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION26": { + "description": "Enable protection for region 26. Write '0' has no effect.", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION27": { + "description": "Enable protection for region 27. Write '0' has no effect.", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION28": { + "description": "Enable protection for region 28. Write '0' has no effect.", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION29": { + "description": "Enable protection for region 29. Write '0' has no effect.", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION30": { + "description": "Enable protection for region 30. Write '0' has no effect.", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + }, + "REGION31": { + "description": "Enable protection for region 31. Write '0' has no effect.", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enable", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG1": { + "description": "Block protect configuration register 1", + "offset": 1540, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION32": { + "description": "Enable protection for region 32. Write '0' has no effect.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION33": { + "description": "Enable protection for region 33. Write '0' has no effect.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION34": { + "description": "Enable protection for region 34. Write '0' has no effect.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION35": { + "description": "Enable protection for region 35. Write '0' has no effect.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION36": { + "description": "Enable protection for region 36. Write '0' has no effect.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION37": { + "description": "Enable protection for region 37. Write '0' has no effect.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION38": { + "description": "Enable protection for region 38. Write '0' has no effect.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION39": { + "description": "Enable protection for region 39. Write '0' has no effect.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION40": { + "description": "Enable protection for region 40. Write '0' has no effect.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION41": { + "description": "Enable protection for region 41. Write '0' has no effect.", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION42": { + "description": "Enable protection for region 42. Write '0' has no effect.", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION43": { + "description": "Enable protection for region 43. Write '0' has no effect.", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION44": { + "description": "Enable protection for region 44. Write '0' has no effect.", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION45": { + "description": "Enable protection for region 45. Write '0' has no effect.", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION46": { + "description": "Enable protection for region 46. Write '0' has no effect.", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION47": { + "description": "Enable protection for region 47. Write '0' has no effect.", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION48": { + "description": "Enable protection for region 48. Write '0' has no effect.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION49": { + "description": "Enable protection for region 49. Write '0' has no effect.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION50": { + "description": "Enable protection for region 50. Write '0' has no effect.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION51": { + "description": "Enable protection for region 51. Write '0' has no effect.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION52": { + "description": "Enable protection for region 52. Write '0' has no effect.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION53": { + "description": "Enable protection for region 53. Write '0' has no effect.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION54": { + "description": "Enable protection for region 54. Write '0' has no effect.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION55": { + "description": "Enable protection for region 55. Write '0' has no effect.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION56": { + "description": "Enable protection for region 56. Write '0' has no effect.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION57": { + "description": "Enable protection for region 57. Write '0' has no effect.", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION58": { + "description": "Enable protection for region 58. Write '0' has no effect.", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION59": { + "description": "Enable protection for region 59. Write '0' has no effect.", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION60": { + "description": "Enable protection for region 60. Write '0' has no effect.", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION61": { + "description": "Enable protection for region 61. Write '0' has no effect.", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION62": { + "description": "Enable protection for region 62. Write '0' has no effect.", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION63": { + "description": "Enable protection for region 63. Write '0' has no effect.", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "DISABLEINDEBUG": { + "description": "Disable protection mechanism in debug interface mode", + "offset": 1544, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "DISABLEINDEBUG": { + "description": "Disable the protection mechanism for NVM regions while in debug interface mode. This register will only disable the protection mechanism if the device is in debug interface mode.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable in debug", + "value": 1 + }, + "Enabled": { + "description": "Enable in debug", + "value": 0 + } + } + } + } + } + } + } + }, + "UNUSED0": { + "description": "Unspecified", + "offset": 1548, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "CONFIG2": { + "description": "Block protect configuration register 2", + "offset": 1552, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION64": { + "description": "Enable protection for region 64. Write '0' has no effect.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION65": { + "description": "Enable protection for region 65. Write '0' has no effect.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION66": { + "description": "Enable protection for region 66. Write '0' has no effect.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION67": { + "description": "Enable protection for region 67. Write '0' has no effect.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION68": { + "description": "Enable protection for region 68. Write '0' has no effect.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION69": { + "description": "Enable protection for region 69. Write '0' has no effect.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION70": { + "description": "Enable protection for region 70. Write '0' has no effect.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION71": { + "description": "Enable protection for region 71. Write '0' has no effect.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION72": { + "description": "Enable protection for region 72. Write '0' has no effect.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION73": { + "description": "Enable protection for region 73. Write '0' has no effect.", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION74": { + "description": "Enable protection for region 74. Write '0' has no effect.", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION75": { + "description": "Enable protection for region 75. Write '0' has no effect.", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION76": { + "description": "Enable protection for region 76. Write '0' has no effect.", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION77": { + "description": "Enable protection for region 77. Write '0' has no effect.", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION78": { + "description": "Enable protection for region 78. Write '0' has no effect.", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION79": { + "description": "Enable protection for region 79. Write '0' has no effect.", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION80": { + "description": "Enable protection for region 80. Write '0' has no effect.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION81": { + "description": "Enable protection for region 81. Write '0' has no effect.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION82": { + "description": "Enable protection for region 82. Write '0' has no effect.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION83": { + "description": "Enable protection for region 83. Write '0' has no effect.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION84": { + "description": "Enable protection for region 84. Write '0' has no effect.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION85": { + "description": "Enable protection for region 85. Write '0' has no effect.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION86": { + "description": "Enable protection for region 86. Write '0' has no effect.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION87": { + "description": "Enable protection for region 87. Write '0' has no effect.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION88": { + "description": "Enable protection for region 88. Write '0' has no effect.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION89": { + "description": "Enable protection for region 89. Write '0' has no effect.", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION90": { + "description": "Enable protection for region 90. Write '0' has no effect.", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION91": { + "description": "Enable protection for region 91. Write '0' has no effect.", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION92": { + "description": "Enable protection for region 92. Write '0' has no effect.", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION93": { + "description": "Enable protection for region 93. Write '0' has no effect.", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION94": { + "description": "Enable protection for region 94. Write '0' has no effect.", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION95": { + "description": "Enable protection for region 95. Write '0' has no effect.", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG3": { + "description": "Block protect configuration register 3", + "offset": 1556, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION96": { + "description": "Enable protection for region 96. Write '0' has no effect.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION97": { + "description": "Enable protection for region 97. Write '0' has no effect.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION98": { + "description": "Enable protection for region 98. Write '0' has no effect.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION99": { + "description": "Enable protection for region 99. Write '0' has no effect.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION100": { + "description": "Enable protection for region 100. Write '0' has no effect.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION101": { + "description": "Enable protection for region 101. Write '0' has no effect.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION102": { + "description": "Enable protection for region 102. Write '0' has no effect.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION103": { + "description": "Enable protection for region 103. Write '0' has no effect.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION104": { + "description": "Enable protection for region 104. Write '0' has no effect.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION105": { + "description": "Enable protection for region 105. Write '0' has no effect.", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION106": { + "description": "Enable protection for region 106. Write '0' has no effect.", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION107": { + "description": "Enable protection for region 107. Write '0' has no effect.", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION108": { + "description": "Enable protection for region 108. Write '0' has no effect.", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION109": { + "description": "Enable protection for region 109. Write '0' has no effect.", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION110": { + "description": "Enable protection for region 110. Write '0' has no effect.", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION111": { + "description": "Enable protection for region 111. Write '0' has no effect.", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION112": { + "description": "Enable protection for region 112. Write '0' has no effect.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION113": { + "description": "Enable protection for region 113. Write '0' has no effect.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION114": { + "description": "Enable protection for region 114. Write '0' has no effect.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION115": { + "description": "Enable protection for region 115. Write '0' has no effect.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION116": { + "description": "Enable protection for region 116. Write '0' has no effect.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION117": { + "description": "Enable protection for region 117. Write '0' has no effect.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION118": { + "description": "Enable protection for region 118. Write '0' has no effect.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION119": { + "description": "Enable protection for region 119. Write '0' has no effect.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION120": { + "description": "Enable protection for region 120. Write '0' has no effect.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION121": { + "description": "Enable protection for region 121. Write '0' has no effect.", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION122": { + "description": "Enable protection for region 122. Write '0' has no effect.", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION123": { + "description": "Enable protection for region 123. Write '0' has no effect.", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION124": { + "description": "Enable protection for region 124. Write '0' has no effect.", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION125": { + "description": "Enable protection for region 125. Write '0' has no effect.", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION126": { + "description": "Enable protection for region 126. Write '0' has no effect.", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + }, + "REGION127": { + "description": "Enable protection for region 127. Write '0' has no effect.", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Protection disabled", + "value": 0 + }, + "Enabled": { + "description": "Protection enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "POWER": { + "description": "Power control", + "children": { + "registers": { + "TASKS_CONSTLAT": { + "description": "Enable constant latency mode", + "offset": 120, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_LOWPWR": { + "description": "Enable low power mode (variable latency)", + "offset": 124, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_POFWARN": { + "description": "Power failure warning", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_SLEEPENTER": { + "description": "CPU entered WFI/WFE sleep", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_SLEEPEXIT": { + "description": "CPU exited WFI/WFE sleep", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "POFWARN": { + "description": "Write '1' to Enable interrupt for POFWARN event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPENTER": { + "description": "Write '1' to Enable interrupt for SLEEPENTER event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPEXIT": { + "description": "Write '1' to Enable interrupt for SLEEPEXIT event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "POFWARN": { + "description": "Write '1' to Disable interrupt for POFWARN event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPENTER": { + "description": "Write '1' to Disable interrupt for SLEEPENTER event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPEXIT": { + "description": "Write '1' to Disable interrupt for SLEEPEXIT event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RESETREAS": { + "description": "Reset reason", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RESETPIN": { + "description": "Reset from pin-reset detected", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "DOG": { + "description": "Reset from watchdog detected", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "SREQ": { + "description": "Reset from soft reset detected", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "LOCKUP": { + "description": "Reset from CPU lock-up detected", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "OFF": { + "description": "Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "LPCOMP": { + "description": "Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "DIF": { + "description": "Reset due to wake up from System OFF mode when wakeup is triggered from entering into debug interface mode", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "NFC": { + "description": "Reset due to wake up from System OFF mode by NFC field detect", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + } + } + } + }, + "RAMSTATUS": { + "description": "Deprecated register - RAM status register", + "offset": 1064, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RAMBLOCK0": { + "description": "RAM block 0 is on or off/powering up", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "RAMBLOCK1": { + "description": "RAM block 1 is on or off/powering up", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "RAMBLOCK2": { + "description": "RAM block 2 is on or off/powering up", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "RAMBLOCK3": { + "description": "RAM block 3 is on or off/powering up", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + } + } + } + }, + "SYSTEMOFF": { + "description": "System OFF register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "SYSTEMOFF": { + "description": "Enable System OFF mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Enter": { + "description": "Enable System OFF mode", + "value": 1 + } + } + } + } + } + } + } + }, + "POFCON": { + "description": "Power failure comparator configuration", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "POF": { + "description": "Enable or disable power failure comparator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "THRESHOLD": { + "description": "Power failure comparator threshold setting", + "offset": 1, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "V17": { + "description": "Set threshold to 1.7 V", + "value": 4 + }, + "V18": { + "description": "Set threshold to 1.8 V", + "value": 5 + }, + "V19": { + "description": "Set threshold to 1.9 V", + "value": 6 + }, + "V20": { + "description": "Set threshold to 2.0 V", + "value": 7 + }, + "V21": { + "description": "Set threshold to 2.1 V", + "value": 8 + }, + "V22": { + "description": "Set threshold to 2.2 V", + "value": 9 + }, + "V23": { + "description": "Set threshold to 2.3 V", + "value": 10 + }, + "V24": { + "description": "Set threshold to 2.4 V", + "value": 11 + }, + "V25": { + "description": "Set threshold to 2.5 V", + "value": 12 + }, + "V26": { + "description": "Set threshold to 2.6 V", + "value": 13 + }, + "V27": { + "description": "Set threshold to 2.7 V", + "value": 14 + }, + "V28": { + "description": "Set threshold to 2.8 V", + "value": 15 + } + } + } + } + } + } + } + }, + "GPREGRET": { + "description": "General purpose retention register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "GPREGRET": { + "description": "General purpose retention register", + "offset": 0, + "size": 8 + } + } + } + }, + "GPREGRET2": { + "description": "General purpose retention register", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "GPREGRET": { + "description": "General purpose retention register", + "offset": 0, + "size": 8 + } + } + } + }, + "RAMON": { + "description": "Deprecated register - RAM on/off register (this register is retained)", + "offset": 1316, + "size": 32, + "reset_value": 3, + "reset_mask": 4294967295, + "children": { + "fields": { + "ONRAM0": { + "description": "Keep RAM block 0 on or off in system ON Mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM0Off": { + "description": "Off", + "value": 0 + }, + "RAM0On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "ONRAM1": { + "description": "Keep RAM block 1 on or off in system ON Mode", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM1Off": { + "description": "Off", + "value": 0 + }, + "RAM1On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "OFFRAM0": { + "description": "Keep retention on RAM block 0 when RAM block is switched off", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM0Off": { + "description": "Off", + "value": 0 + }, + "RAM0On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "OFFRAM1": { + "description": "Keep retention on RAM block 1 when RAM block is switched off", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM1Off": { + "description": "Off", + "value": 0 + }, + "RAM1On": { + "description": "On", + "value": 1 + } + } + } + } + } + } + } + }, + "RAMONB": { + "description": "Deprecated register - RAM on/off register (this register is retained)", + "offset": 1364, + "size": 32, + "reset_value": 3, + "reset_mask": 4294967295, + "children": { + "fields": { + "ONRAM2": { + "description": "Keep RAM block 2 on or off in system ON Mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM2Off": { + "description": "Off", + "value": 0 + }, + "RAM2On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "ONRAM3": { + "description": "Keep RAM block 3 on or off in system ON Mode", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM3Off": { + "description": "Off", + "value": 0 + }, + "RAM3On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "OFFRAM2": { + "description": "Keep retention on RAM block 2 when RAM block is switched off", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM2Off": { + "description": "Off", + "value": 0 + }, + "RAM2On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "OFFRAM3": { + "description": "Keep retention on RAM block 3 when RAM block is switched off", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RAM3Off": { + "description": "Off", + "value": 0 + }, + "RAM3On": { + "description": "On", + "value": 1 + } + } + } + } + } + } + } + }, + "DCDCEN": { + "description": "DC/DC enable register", + "offset": 1400, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DCDCEN": { + "description": "Enable or disable DC/DC converter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "CLOCK": { + "description": "Clock control", + "children": { + "registers": { + "TASKS_HFCLKSTART": { + "description": "Start HFCLK crystal oscillator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_HFCLKSTOP": { + "description": "Stop HFCLK crystal oscillator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_LFCLKSTART": { + "description": "Start LFCLK source", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_LFCLKSTOP": { + "description": "Stop LFCLK source", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CAL": { + "description": "Start calibration of LFRC oscillator", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CTSTART": { + "description": "Start calibration timer", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CTSTOP": { + "description": "Stop calibration timer", + "offset": 24, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_HFCLKSTARTED": { + "description": "HFCLK oscillator started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_LFCLKSTARTED": { + "description": "LFCLK started", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DONE": { + "description": "Calibration of LFCLK RC oscillator complete event", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_CTTO": { + "description": "Calibration timer timeout", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HFCLKSTARTED": { + "description": "Write '1' to Enable interrupt for HFCLKSTARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LFCLKSTARTED": { + "description": "Write '1' to Enable interrupt for LFCLKSTARTED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to Enable interrupt for DONE event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTTO": { + "description": "Write '1' to Enable interrupt for CTTO event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HFCLKSTARTED": { + "description": "Write '1' to Disable interrupt for HFCLKSTARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LFCLKSTARTED": { + "description": "Write '1' to Disable interrupt for LFCLKSTARTED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to Disable interrupt for DONE event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTTO": { + "description": "Write '1' to Disable interrupt for CTTO event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "HFCLKRUN": { + "description": "Status indicating that HFCLKSTART task has been triggered", + "offset": 1032, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "HFCLKSTART task triggered or not", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotTriggered": { + "description": "Task not triggered", + "value": 0 + }, + "Triggered": { + "description": "Task triggered", + "value": 1 + } + } + } + } + } + } + } + }, + "HFCLKSTAT": { + "description": "HFCLK status", + "offset": 1036, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SRC": { + "description": "Source of HFCLK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RC": { + "description": "64 MHz internal oscillator (HFINT)", + "value": 0 + }, + "Xtal": { + "description": "64 MHz crystal oscillator (HFXO)", + "value": 1 + } + } + } + } + }, + "STATE": { + "description": "HFCLK state", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotRunning": { + "description": "HFCLK not running", + "value": 0 + }, + "Running": { + "description": "HFCLK running", + "value": 1 + } + } + } + } + } + } + } + }, + "LFCLKRUN": { + "description": "Status indicating that LFCLKSTART task has been triggered", + "offset": 1044, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "LFCLKSTART task triggered or not", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotTriggered": { + "description": "Task not triggered", + "value": 0 + }, + "Triggered": { + "description": "Task triggered", + "value": 1 + } + } + } + } + } + } + } + }, + "LFCLKSTAT": { + "description": "LFCLK status", + "offset": 1048, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SRC": { + "description": "Source of LFCLK", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "RC": { + "description": "32.768 kHz RC oscillator", + "value": 0 + }, + "Xtal": { + "description": "32.768 kHz crystal oscillator", + "value": 1 + }, + "Synth": { + "description": "32.768 kHz synthesized from HFCLK", + "value": 2 + } + } + } + } + }, + "STATE": { + "description": "LFCLK state", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotRunning": { + "description": "LFCLK not running", + "value": 0 + }, + "Running": { + "description": "LFCLK running", + "value": 1 + } + } + } + } + } + } + } + }, + "LFCLKSRCCOPY": { + "description": "Copy of LFCLKSRC register, set when LFCLKSTART task was triggered", + "offset": 1052, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SRC": { + "description": "Clock source", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "RC": { + "description": "32.768 kHz RC oscillator", + "value": 0 + }, + "Xtal": { + "description": "32.768 kHz crystal oscillator", + "value": 1 + }, + "Synth": { + "description": "32.768 kHz synthesized from HFCLK", + "value": 2 + } + } + } + } + } + } + } + }, + "LFCLKSRC": { + "description": "Clock source for the LFCLK", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SRC": { + "description": "Clock source", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "RC": { + "description": "32.768 kHz RC oscillator", + "value": 0 + }, + "Xtal": { + "description": "32.768 kHz crystal oscillator", + "value": 1 + }, + "Synth": { + "description": "32.768 kHz synthesized from HFCLK", + "value": 2 + } + } + } + } + }, + "BYPASS": { + "description": "Enable or disable bypass of LFCLK crystal oscillator with external clock source", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable (use with Xtal or low-swing external source)", + "value": 0 + }, + "Enabled": { + "description": "Enable (use with rail-to-rail external source)", + "value": 1 + } + } + } + } + }, + "EXTERNAL": { + "description": "Enable or disable external source for LFCLK", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable external source (use with Xtal)", + "value": 0 + }, + "Enabled": { + "description": "Enable use of external source instead of Xtal (SRC needs to be set to Xtal)", + "value": 1 + } + } + } + } + } + } + } + }, + "CTIV": { + "description": "Calibration timer interval", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTIV": { + "description": "Calibration timer interval in multiple of 0.25 seconds. Range: 0.25 seconds to 31.75 seconds.", + "offset": 0, + "size": 7 + } + } + } + }, + "TRACECONFIG": { + "description": "Clocking options for the Trace Port debug interface", + "offset": 1372, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRACEPORTSPEED": { + "description": "Speed of Trace Port clock. Note that the TRACECLK pin will output this clock divided by two.", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "32MHz": { + "description": "32 MHz Trace Port clock (TRACECLK = 16 MHz)", + "value": 0 + }, + "16MHz": { + "description": "16 MHz Trace Port clock (TRACECLK = 8 MHz)", + "value": 1 + }, + "8MHz": { + "description": "8 MHz Trace Port clock (TRACECLK = 4 MHz)", + "value": 2 + }, + "4MHz": { + "description": "4 MHz Trace Port clock (TRACECLK = 2 MHz)", + "value": 3 + } + } + } + } + }, + "TRACEMUX": { + "description": "Pin multiplexing of trace signals.", + "offset": 16, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "GPIO": { + "description": "GPIOs multiplexed onto all trace-pins", + "value": 0 + }, + "Serial": { + "description": "SWO multiplexed onto P0.18, GPIO multiplexed onto other trace pins", + "value": 1 + }, + "Parallel": { + "description": "TRACECLK and TRACEDATA multiplexed onto P0.20, P0.18, P0.16, P0.15 and P0.14.", + "value": 2 + } + } + } + } + } + } + } + } + } + } + }, + "RADIO": { + "description": "2.4 GHz Radio", + "children": { + "registers": { + "TASKS_TXEN": { + "description": "Enable RADIO in TX mode", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RXEN": { + "description": "Enable RADIO in RX mode", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_START": { + "description": "Start RADIO", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop RADIO", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_DISABLE": { + "description": "Disable RADIO", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RSSISTART": { + "description": "Start the RSSI and take one single sample of the receive signal strength.", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RSSISTOP": { + "description": "Stop the RSSI measurement", + "offset": 24, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_BCSTART": { + "description": "Start the bit counter", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_BCSTOP": { + "description": "Stop the bit counter", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_READY": { + "description": "RADIO has ramped up and is ready to be started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ADDRESS": { + "description": "Address sent or received", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_PAYLOAD": { + "description": "Packet payload sent or received", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_END": { + "description": "Packet sent or received", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DISABLED": { + "description": "RADIO has been disabled", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DEVMATCH": { + "description": "A device address match occurred on the last received packet", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DEVMISS": { + "description": "No device address match occurred on the last received packet", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RSSIEND": { + "description": "Sampling of receive signal strength complete.", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_BCMATCH": { + "description": "Bit counter reached bit count value.", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_CRCOK": { + "description": "Packet received with CRC ok", + "offset": 304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_CRCERROR": { + "description": "Packet received with CRC error", + "offset": 308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY_START": { + "description": "Shortcut between READY event and START task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "END_DISABLE": { + "description": "Shortcut between END event and DISABLE task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DISABLED_TXEN": { + "description": "Shortcut between DISABLED event and TXEN task", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DISABLED_RXEN": { + "description": "Shortcut between DISABLED event and RXEN task", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ADDRESS_RSSISTART": { + "description": "Shortcut between ADDRESS event and RSSISTART task", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "END_START": { + "description": "Shortcut between END event and START task", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ADDRESS_BCSTART": { + "description": "Shortcut between ADDRESS event and BCSTART task", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DISABLED_RSSISTOP": { + "description": "Shortcut between DISABLED event and RSSISTOP task", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Enable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ADDRESS": { + "description": "Write '1' to Enable interrupt for ADDRESS event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PAYLOAD": { + "description": "Write '1' to Enable interrupt for PAYLOAD event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Enable interrupt for END event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DISABLED": { + "description": "Write '1' to Enable interrupt for DISABLED event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMATCH": { + "description": "Write '1' to Enable interrupt for DEVMATCH event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMISS": { + "description": "Write '1' to Enable interrupt for DEVMISS event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RSSIEND": { + "description": "Write '1' to Enable interrupt for RSSIEND event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BCMATCH": { + "description": "Write '1' to Enable interrupt for BCMATCH event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCOK": { + "description": "Write '1' to Enable interrupt for CRCOK event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCERROR": { + "description": "Write '1' to Enable interrupt for CRCERROR event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Disable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ADDRESS": { + "description": "Write '1' to Disable interrupt for ADDRESS event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PAYLOAD": { + "description": "Write '1' to Disable interrupt for PAYLOAD event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Disable interrupt for END event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DISABLED": { + "description": "Write '1' to Disable interrupt for DISABLED event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMATCH": { + "description": "Write '1' to Disable interrupt for DEVMATCH event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMISS": { + "description": "Write '1' to Disable interrupt for DEVMISS event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RSSIEND": { + "description": "Write '1' to Disable interrupt for RSSIEND event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BCMATCH": { + "description": "Write '1' to Disable interrupt for BCMATCH event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCOK": { + "description": "Write '1' to Disable interrupt for CRCOK event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCERROR": { + "description": "Write '1' to Disable interrupt for CRCERROR event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CRCSTATUS": { + "description": "CRC status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "CRCSTATUS": { + "description": "CRC status of packet received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "CRCError": { + "description": "Packet received with CRC error", + "value": 0 + }, + "CRCOk": { + "description": "Packet received with CRC ok", + "value": 1 + } + } + } + } + } + } + } + }, + "RXMATCH": { + "description": "Received address", + "offset": 1032, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXMATCH": { + "description": "Received address", + "offset": 0, + "size": 3 + } + } + } + }, + "RXCRC": { + "description": "CRC field of previously received packet", + "offset": 1036, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXCRC": { + "description": "CRC field of previously received packet", + "offset": 0, + "size": 24 + } + } + } + }, + "DAI": { + "description": "Device address match index", + "offset": 1040, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DAI": { + "description": "Device address match index", + "offset": 0, + "size": 3 + } + } + } + }, + "PACKETPTR": { + "description": "Packet pointer", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PACKETPTR": { + "description": "Packet pointer", + "offset": 0, + "size": 32 + } + } + } + }, + "FREQUENCY": { + "description": "Frequency", + "offset": 1288, + "size": 32, + "reset_value": 2, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "Radio channel frequency", + "offset": 0, + "size": 7 + }, + "MAP": { + "description": "Channel map selection.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "Channel map between 2400 MHZ .. 2500 MHz", + "value": 0 + }, + "Low": { + "description": "Channel map between 2360 MHZ .. 2460 MHz", + "value": 1 + } + } + } + } + } + } + } + }, + "TXPOWER": { + "description": "Output power", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXPOWER": { + "description": "RADIO output power.", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "Pos4dBm": { + "description": "+4 dBm", + "value": 4 + }, + "Pos3dBm": { + "description": "+3 dBm", + "value": 3 + }, + "0dBm": { + "description": "0 dBm", + "value": 0 + }, + "Neg4dBm": { + "description": "-4 dBm", + "value": 252 + }, + "Neg8dBm": { + "description": "-8 dBm", + "value": 248 + }, + "Neg12dBm": { + "description": "-12 dBm", + "value": 244 + }, + "Neg16dBm": { + "description": "-16 dBm", + "value": 240 + }, + "Neg20dBm": { + "description": "-20 dBm", + "value": 236 + }, + "Neg30dBm": { + "description": "Deprecated enumerator - -40 dBm", + "value": 255 + }, + "Neg40dBm": { + "description": "-40 dBm", + "value": 216 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Data rate and modulation", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Radio data rate and modulation setting. The radio supports Frequency-shift Keying (FSK) modulation.", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Nrf_1Mbit": { + "description": "1 Mbit/s Nordic proprietary radio mode", + "value": 0 + }, + "Nrf_2Mbit": { + "description": "2 Mbit/s Nordic proprietary radio mode", + "value": 1 + }, + "Nrf_250Kbit": { + "description": "Deprecated enumerator - 250 kbit/s Nordic proprietary radio mode", + "value": 2 + }, + "Ble_1Mbit": { + "description": "1 Mbit/s Bluetooth Low Energy", + "value": 3 + }, + "Ble_2Mbit": { + "description": "2 Mbit/s Bluetooth Low Energy", + "value": 4 + } + } + } + } + } + } + } + }, + "PCNF0": { + "description": "Packet configuration register 0", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LFLEN": { + "description": "Length on air of LENGTH field in number of bits.", + "offset": 0, + "size": 4 + }, + "S0LEN": { + "description": "Length on air of S0 field in number of bytes.", + "offset": 8, + "size": 1 + }, + "S1LEN": { + "description": "Length on air of S1 field in number of bits.", + "offset": 16, + "size": 4 + }, + "S1INCL": { + "description": "Include or exclude S1 field in RAM", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Automatic": { + "description": "Include S1 field in RAM only if S1LEN > 0", + "value": 0 + }, + "Include": { + "description": "Always include S1 field in RAM independent of S1LEN", + "value": 1 + } + } + } + } + }, + "PLEN": { + "description": "Length of preamble on air. Decision point: TASKS_START task", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "8bit": { + "description": "8-bit preamble", + "value": 0 + }, + "16bit": { + "description": "16-bit preamble", + "value": 1 + } + } + } + } + } + } + } + }, + "PCNF1": { + "description": "Packet configuration register 1", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MAXLEN": { + "description": "Maximum length of packet payload. If the packet payload is larger than MAXLEN, the radio will truncate the payload to MAXLEN.", + "offset": 0, + "size": 8 + }, + "STATLEN": { + "description": "Static length in number of bytes", + "offset": 8, + "size": 8 + }, + "BALEN": { + "description": "Base address length in number of bytes", + "offset": 16, + "size": 3 + }, + "ENDIAN": { + "description": "On air endianness of packet, this applies to the S0, LENGTH, S1 and the PAYLOAD fields.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Little": { + "description": "Least Significant bit on air first", + "value": 0 + }, + "Big": { + "description": "Most significant bit on air first", + "value": 1 + } + } + } + } + }, + "WHITEEN": { + "description": "Enable or disable packet whitening", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "BASE0": { + "description": "Base address 0", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BASE0": { + "description": "Base address 0", + "offset": 0, + "size": 32 + } + } + } + }, + "BASE1": { + "description": "Base address 1", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BASE1": { + "description": "Base address 1", + "offset": 0, + "size": 32 + } + } + } + }, + "PREFIX0": { + "description": "Prefixes bytes for logical addresses 0-3", + "offset": 1316, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "AP0": { + "description": "Address prefix 0.", + "offset": 0, + "size": 8 + }, + "AP1": { + "description": "Address prefix 1.", + "offset": 8, + "size": 8 + }, + "AP2": { + "description": "Address prefix 2.", + "offset": 16, + "size": 8 + }, + "AP3": { + "description": "Address prefix 3.", + "offset": 24, + "size": 8 + } + } + } + }, + "PREFIX1": { + "description": "Prefixes bytes for logical addresses 4-7", + "offset": 1320, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "AP4": { + "description": "Address prefix 4.", + "offset": 0, + "size": 8 + }, + "AP5": { + "description": "Address prefix 5.", + "offset": 8, + "size": 8 + }, + "AP6": { + "description": "Address prefix 6.", + "offset": 16, + "size": 8 + }, + "AP7": { + "description": "Address prefix 7.", + "offset": 24, + "size": 8 + } + } + } + }, + "TXADDRESS": { + "description": "Transmit address select", + "offset": 1324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXADDRESS": { + "description": "Transmit address select", + "offset": 0, + "size": 3 + } + } + } + }, + "RXADDRESSES": { + "description": "Receive address select", + "offset": 1328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDR0": { + "description": "Enable or disable reception on logical address 0.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR1": { + "description": "Enable or disable reception on logical address 1.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR2": { + "description": "Enable or disable reception on logical address 2.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR3": { + "description": "Enable or disable reception on logical address 3.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR4": { + "description": "Enable or disable reception on logical address 4.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR5": { + "description": "Enable or disable reception on logical address 5.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR6": { + "description": "Enable or disable reception on logical address 6.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR7": { + "description": "Enable or disable reception on logical address 7.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "CRCCNF": { + "description": "CRC configuration", + "offset": 1332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LEN": { + "description": "CRC length in number of bytes.", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "CRC length is zero and CRC calculation is disabled", + "value": 0 + }, + "One": { + "description": "CRC length is one byte and CRC calculation is enabled", + "value": 1 + }, + "Two": { + "description": "CRC length is two bytes and CRC calculation is enabled", + "value": 2 + }, + "Three": { + "description": "CRC length is three bytes and CRC calculation is enabled", + "value": 3 + } + } + } + } + }, + "SKIPADDR": { + "description": "Include or exclude packet address field out of CRC calculation.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Include": { + "description": "CRC calculation includes address field", + "value": 0 + }, + "Skip": { + "description": "CRC calculation does not include address field. The CRC calculation will start at the first byte after the address.", + "value": 1 + } + } + } + } + } + } + } + }, + "CRCPOLY": { + "description": "CRC polynomial", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CRCPOLY": { + "description": "CRC polynomial", + "offset": 0, + "size": 24 + } + } + } + }, + "CRCINIT": { + "description": "CRC initial value", + "offset": 1340, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CRCINIT": { + "description": "CRC initial value", + "offset": 0, + "size": 24 + } + } + } + }, + "UNUSED0": { + "description": "Unspecified", + "offset": 1344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "TIFS": { + "description": "Inter Frame Spacing in us", + "offset": 1348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TIFS": { + "description": "Inter Frame Spacing in us", + "offset": 0, + "size": 8 + } + } + } + }, + "RSSISAMPLE": { + "description": "RSSI sample", + "offset": 1352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RSSISAMPLE": { + "description": "RSSI sample", + "offset": 0, + "size": 7 + } + } + } + }, + "STATE": { + "description": "Current radio state", + "offset": 1360, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATE": { + "description": "Current radio state", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "RADIO is in the Disabled state", + "value": 0 + }, + "RxRu": { + "description": "RADIO is in the RXRU state", + "value": 1 + }, + "RxIdle": { + "description": "RADIO is in the RXIDLE state", + "value": 2 + }, + "Rx": { + "description": "RADIO is in the RX state", + "value": 3 + }, + "RxDisable": { + "description": "RADIO is in the RXDISABLED state", + "value": 4 + }, + "TxRu": { + "description": "RADIO is in the TXRU state", + "value": 9 + }, + "TxIdle": { + "description": "RADIO is in the TXIDLE state", + "value": 10 + }, + "Tx": { + "description": "RADIO is in the TX state", + "value": 11 + }, + "TxDisable": { + "description": "RADIO is in the TXDISABLED state", + "value": 12 + } + } + } + } + } + } + } + }, + "DATAWHITEIV": { + "description": "Data whitening initial value", + "offset": 1364, + "size": 32, + "reset_value": 64, + "reset_mask": 4294967295, + "children": { + "fields": { + "DATAWHITEIV": { + "description": "Data whitening initial value. Bit 6 is hard-wired to '1', writing '0' to it has no effect, and it will always be read back and used by the device as '1'.", + "offset": 0, + "size": 7 + } + } + } + }, + "BCC": { + "description": "Bit counter compare", + "offset": 1376, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BCC": { + "description": "Bit counter compare", + "offset": 0, + "size": 32 + } + } + } + }, + "DAB": { + "description": "Description collection[0]: Device address base segment 0", + "offset": 1536, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DAB": { + "description": "Device address base segment 0", + "offset": 0, + "size": 32 + } + } + } + }, + "DAP": { + "description": "Description collection[0]: Device address prefix 0", + "offset": 1568, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DAP": { + "description": "Device address prefix 0", + "offset": 0, + "size": 16 + } + } + } + }, + "DACNF": { + "description": "Device address match configuration", + "offset": 1600, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENA0": { + "description": "Enable or disable device address matching using device address 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA1": { + "description": "Enable or disable device address matching using device address 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA2": { + "description": "Enable or disable device address matching using device address 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA3": { + "description": "Enable or disable device address matching using device address 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA4": { + "description": "Enable or disable device address matching using device address 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA5": { + "description": "Enable or disable device address matching using device address 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA6": { + "description": "Enable or disable device address matching using device address 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA7": { + "description": "Enable or disable device address matching using device address 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "TXADD0": { + "description": "TxAdd for device address 0", + "offset": 8, + "size": 1 + }, + "TXADD1": { + "description": "TxAdd for device address 1", + "offset": 9, + "size": 1 + }, + "TXADD2": { + "description": "TxAdd for device address 2", + "offset": 10, + "size": 1 + }, + "TXADD3": { + "description": "TxAdd for device address 3", + "offset": 11, + "size": 1 + }, + "TXADD4": { + "description": "TxAdd for device address 4", + "offset": 12, + "size": 1 + }, + "TXADD5": { + "description": "TxAdd for device address 5", + "offset": 13, + "size": 1 + }, + "TXADD6": { + "description": "TxAdd for device address 6", + "offset": 14, + "size": 1 + }, + "TXADD7": { + "description": "TxAdd for device address 7", + "offset": 15, + "size": 1 + } + } + } + }, + "MODECNF0": { + "description": "Radio mode configuration register 0", + "offset": 1616, + "size": 32, + "reset_value": 512, + "reset_mask": 4294967295, + "children": { + "fields": { + "RU": { + "description": "Radio ramp-up time", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "Default ramp-up time (tRXEN), compatible with firmware written for nRF51", + "value": 0 + }, + "Fast": { + "description": "Fast ramp-up (tRXEN,FAST), see electrical specification for more information", + "value": 1 + } + } + } + } + }, + "DTX": { + "description": "Default TX value", + "offset": 8, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "B1": { + "description": "Transmit '1'", + "value": 0 + }, + "B0": { + "description": "Transmit '0'", + "value": 1 + }, + "Center": { + "description": "Transmit center frequency", + "value": 2 + } + } + } + } + } + } + } + }, + "POWER": { + "description": "Peripheral power control", + "offset": 4092, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "POWER": { + "description": "Peripheral power control. The peripheral and its registers will be reset to its initial state by switching the peripheral off and then back on again.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Peripheral is powered off", + "value": 0 + }, + "Enabled": { + "description": "Peripheral is powered on", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "UARTE0": { + "description": "UART with EasyDMA", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start UART receiver", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOPRX": { + "description": "Stop UART receiver", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STARTTX": { + "description": "Start UART transmitter", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOPTX": { + "description": "Stop UART transmitter", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_FLUSHRX": { + "description": "Flush RX FIFO into RX buffer", + "offset": 44, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_CTS": { + "description": "CTS is activated (set low). Clear To Send.", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_NCTS": { + "description": "CTS is deactivated (set high). Not Clear To Send.", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXDRDY": { + "description": "Data received in RXD (but potentially not yet transferred to Data RAM)", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDRX": { + "description": "Receive buffer is filled up", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXDRDY": { + "description": "Data sent from TXD", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDTX": { + "description": "Last TX byte transmitted", + "offset": 288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERROR": { + "description": "Error detected", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXTO": { + "description": "Receiver timeout", + "offset": 324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXSTARTED": { + "description": "UART receiver has started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXSTARTED": { + "description": "UART transmitter has started", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXSTOPPED": { + "description": "Transmitter stopped", + "offset": 344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDRX_STARTRX": { + "description": "Shortcut between ENDRX event and STARTRX task", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ENDRX_STOPRX": { + "description": "Shortcut between ENDRX event and STOPRX task", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Enable or disable interrupt for CTS event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Enable or disable interrupt for NCTS event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Enable or disable interrupt for RXDRDY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Enable or disable interrupt for ENDRX event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Enable or disable interrupt for TXDRDY event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Enable or disable interrupt for ENDTX event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Enable or disable interrupt for RXTO event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Enable or disable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Enable or disable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTOPPED": { + "description": "Enable or disable interrupt for TXSTOPPED event", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to Enable interrupt for CTS event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to Enable interrupt for NCTS event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to Enable interrupt for RXDRDY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Enable interrupt for ENDRX event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to Enable interrupt for TXDRDY event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to Enable interrupt for ENDTX event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Enable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to Enable interrupt for RXTO event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to Enable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to Enable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTOPPED": { + "description": "Write '1' to Enable interrupt for TXSTOPPED event", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to Disable interrupt for CTS event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to Disable interrupt for NCTS event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to Disable interrupt for RXDRDY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Disable interrupt for ENDRX event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to Disable interrupt for TXDRDY event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to Disable interrupt for ENDTX event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to Disable interrupt for RXTO event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to Disable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to Disable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTOPPED": { + "description": "Write '1' to Disable interrupt for TXSTOPPED event", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1152, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity error", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "FRAMING": { + "description": "Framing error occurred", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "BREAK": { + "description": "Break condition", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable UART", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable UARTE", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable UARTE", + "value": 0 + }, + "Enabled": { + "description": "Enable UARTE", + "value": 8 + } + } + } + } + } + } + } + }, + "BAUDRATE": { + "description": "Baud rate. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "BAUDRATE": { + "description": "Baud rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Baud1200": { + "description": "1200 baud (actual rate: 1205)", + "value": 323584 + }, + "Baud2400": { + "description": "2400 baud (actual rate: 2396)", + "value": 643072 + }, + "Baud4800": { + "description": "4800 baud (actual rate: 4808)", + "value": 1290240 + }, + "Baud9600": { + "description": "9600 baud (actual rate: 9598)", + "value": 2576384 + }, + "Baud14400": { + "description": "14400 baud (actual rate: 14401)", + "value": 3862528 + }, + "Baud19200": { + "description": "19200 baud (actual rate: 19208)", + "value": 5152768 + }, + "Baud28800": { + "description": "28800 baud (actual rate: 28777)", + "value": 7716864 + }, + "Baud31250": { + "description": "31250 baud", + "value": 8388608 + }, + "Baud38400": { + "description": "38400 baud (actual rate: 38369)", + "value": 10289152 + }, + "Baud56000": { + "description": "56000 baud (actual rate: 55944)", + "value": 15007744 + }, + "Baud57600": { + "description": "57600 baud (actual rate: 57554)", + "value": 15400960 + }, + "Baud76800": { + "description": "76800 baud (actual rate: 76923)", + "value": 20615168 + }, + "Baud115200": { + "description": "115200 baud (actual rate: 115108)", + "value": 30801920 + }, + "Baud230400": { + "description": "230400 baud (actual rate: 231884)", + "value": 61865984 + }, + "Baud250000": { + "description": "250000 baud", + "value": 67108864 + }, + "Baud460800": { + "description": "460800 baud (actual rate: 457143)", + "value": 121634816 + }, + "Baud921600": { + "description": "921600 baud (actual rate: 941176)", + "value": 251658240 + }, + "Baud1M": { + "description": "1Mega baud", + "value": 268435456 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration of parity and hardware flow control", + "offset": 1388, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HWFC": { + "description": "Hardware flow control", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity", + "offset": 1, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude parity bit", + "value": 0 + }, + "Included": { + "description": "Include parity bit", + "value": 7 + } + } + } + } + } + } + } + } + } + } + }, + "UART0": { + "description": "Universal Asynchronous Receiver/Transmitter", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start UART receiver", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOPRX": { + "description": "Stop UART receiver", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STARTTX": { + "description": "Start UART transmitter", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOPTX": { + "description": "Stop UART transmitter", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SUSPEND": { + "description": "Suspend UART", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_CTS": { + "description": "CTS is activated (set low). Clear To Send.", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_NCTS": { + "description": "CTS is deactivated (set high). Not Clear To Send.", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXDRDY": { + "description": "Data received in RXD", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXDRDY": { + "description": "Data sent from TXD", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERROR": { + "description": "Error detected", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXTO": { + "description": "Receiver timeout", + "offset": 324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS_STARTRX": { + "description": "Shortcut between CTS event and STARTRX task", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "NCTS_STOPRX": { + "description": "Shortcut between NCTS event and STOPRX task", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to Enable interrupt for CTS event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to Enable interrupt for NCTS event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to Enable interrupt for RXDRDY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to Enable interrupt for TXDRDY event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Enable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to Enable interrupt for RXTO event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to Disable interrupt for CTS event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to Disable interrupt for NCTS event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to Disable interrupt for RXDRDY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to Disable interrupt for TXDRDY event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to Disable interrupt for RXTO event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1152, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity error", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "FRAMING": { + "description": "Framing error occurred", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "BREAK": { + "description": "Break condition", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable UART", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable UART", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable UART", + "value": 0 + }, + "Enabled": { + "description": "Enable UART", + "value": 4 + } + } + } + } + } + } + } + }, + "PSELRTS": { + "description": "Pin select for RTS", + "offset": 1288, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSELRTS": { + "description": "Pin number configuration for UART RTS signal", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 4294967295 + } + } + } + } + } + } + } + }, + "PSELTXD": { + "description": "Pin select for TXD", + "offset": 1292, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSELTXD": { + "description": "Pin number configuration for UART TXD signal", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 4294967295 + } + } + } + } + } + } + } + }, + "PSELCTS": { + "description": "Pin select for CTS", + "offset": 1296, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSELCTS": { + "description": "Pin number configuration for UART CTS signal", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 4294967295 + } + } + } + } + } + } + } + }, + "PSELRXD": { + "description": "Pin select for RXD", + "offset": 1300, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSELRXD": { + "description": "Pin number configuration for UART RXD signal", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 4294967295 + } + } + } + } + } + } + } + }, + "RXD": { + "description": "RXD register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXD": { + "description": "RX data received in previous transfers, double buffered", + "offset": 0, + "size": 8 + } + } + } + }, + "TXD": { + "description": "TXD register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TXD": { + "description": "TX data to be transferred", + "offset": 0, + "size": 8 + } + } + } + }, + "BAUDRATE": { + "description": "Baud rate", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "BAUDRATE": { + "description": "Baud rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Baud1200": { + "description": "1200 baud (actual rate: 1205)", + "value": 323584 + }, + "Baud2400": { + "description": "2400 baud (actual rate: 2396)", + "value": 643072 + }, + "Baud4800": { + "description": "4800 baud (actual rate: 4808)", + "value": 1290240 + }, + "Baud9600": { + "description": "9600 baud (actual rate: 9598)", + "value": 2576384 + }, + "Baud14400": { + "description": "14400 baud (actual rate: 14414)", + "value": 3866624 + }, + "Baud19200": { + "description": "19200 baud (actual rate: 19208)", + "value": 5152768 + }, + "Baud28800": { + "description": "28800 baud (actual rate: 28829)", + "value": 7729152 + }, + "Baud31250": { + "description": "31250 baud", + "value": 8388608 + }, + "Baud38400": { + "description": "38400 baud (actual rate: 38462)", + "value": 10309632 + }, + "Baud56000": { + "description": "56000 baud (actual rate: 55944)", + "value": 15007744 + }, + "Baud57600": { + "description": "57600 baud (actual rate: 57762)", + "value": 15462400 + }, + "Baud76800": { + "description": "76800 baud (actual rate: 76923)", + "value": 20615168 + }, + "Baud115200": { + "description": "115200 baud (actual rate: 115942)", + "value": 30924800 + }, + "Baud230400": { + "description": "230400 baud (actual rate: 231884)", + "value": 61845504 + }, + "Baud250000": { + "description": "250000 baud", + "value": 67108864 + }, + "Baud460800": { + "description": "460800 baud (actual rate: 470588)", + "value": 123695104 + }, + "Baud921600": { + "description": "921600 baud (actual rate: 941176)", + "value": 247386112 + }, + "Baud1M": { + "description": "1Mega baud", + "value": 268435456 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration of parity and hardware flow control", + "offset": 1388, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HWFC": { + "description": "Hardware flow control", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity", + "offset": 1, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude parity bit", + "value": 0 + }, + "Included": { + "description": "Include parity bit", + "value": 7 + } + } + } + } + } + } + } + } + } + } + }, + "SPIM0": { + "description": "Serial Peripheral Interface Master with EasyDMA 0", + "children": { + "registers": { + "TASKS_START": { + "description": "Start SPI transaction", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop SPI transaction", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SUSPEND": { + "description": "Suspend SPI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RESUME": { + "description": "Resume SPI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_STOPPED": { + "description": "SPI transaction has stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDRX": { + "description": "End of RXD buffer reached", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_END": { + "description": "End of RXD buffer and TXD buffer reached", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDTX": { + "description": "End of TXD buffer reached", + "offset": 288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_STARTED": { + "description": "Transaction started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END_START": { + "description": "Shortcut between END event and START task", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Enable interrupt for ENDRX event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Enable interrupt for END event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to Enable interrupt for ENDTX event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to Enable interrupt for STARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Disable interrupt for ENDRX event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Disable interrupt for END event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to Disable interrupt for ENDTX event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to Disable interrupt for STARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable SPIM", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable SPIM", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable SPIM", + "value": 0 + }, + "Enabled": { + "description": "Enable SPIM", + "value": 7 + } + } + } + } + } + } + } + }, + "FREQUENCY": { + "description": "SPI frequency. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "SPI master data rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K125": { + "description": "125 kbps", + "value": 33554432 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K500": { + "description": "500 kbps", + "value": 134217728 + }, + "M1": { + "description": "1 Mbps", + "value": 268435456 + }, + "M2": { + "description": "2 Mbps", + "value": 536870912 + }, + "M4": { + "description": "4 Mbps", + "value": 1073741824 + }, + "M8": { + "description": "8 Mbps", + "value": 2147483648 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1364, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORDER": { + "description": "Bit order", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "MsbFirst": { + "description": "Most significant bit shifted out first", + "value": 0 + }, + "LsbFirst": { + "description": "Least significant bit shifted out first", + "value": 1 + } + } + } + } + }, + "CPHA": { + "description": "Serial clock (SCK) phase", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Leading": { + "description": "Sample on leading edge of clock, shift serial data on trailing edge", + "value": 0 + }, + "Trailing": { + "description": "Sample on trailing edge of clock, shift serial data on leading edge", + "value": 1 + } + } + } + } + }, + "CPOL": { + "description": "Serial clock (SCK) polarity", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveHigh": { + "description": "Active high", + "value": 0 + }, + "ActiveLow": { + "description": "Active low", + "value": 1 + } + } + } + } + } + } + } + }, + "ORC": { + "description": "Over-read character. Character clocked out in case and over-read of the TXD buffer.", + "offset": 1472, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORC": { + "description": "Over-read character. Character clocked out in case and over-read of the TXD buffer.", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "SPIS0": { + "description": "SPI Slave 0", + "children": { + "registers": { + "TASKS_ACQUIRE": { + "description": "Acquire SPI semaphore", + "offset": 36, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RELEASE": { + "description": "Release SPI semaphore, enabling the SPI slave to acquire it", + "offset": 40, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_END": { + "description": "Granted transaction completed", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDRX": { + "description": "End of RXD buffer reached", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ACQUIRED": { + "description": "Semaphore acquired", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END_ACQUIRE": { + "description": "Shortcut between END event and ACQUIRE task", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to Enable interrupt for END event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Enable interrupt for ENDRX event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACQUIRED": { + "description": "Write '1' to Enable interrupt for ACQUIRED event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to Disable interrupt for END event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Disable interrupt for ENDRX event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACQUIRED": { + "description": "Write '1' to Disable interrupt for ACQUIRED event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "SEMSTAT": { + "description": "Semaphore status register", + "offset": 1024, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SEMSTAT": { + "description": "Semaphore status", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Free": { + "description": "Semaphore is free", + "value": 0 + }, + "CPU": { + "description": "Semaphore is assigned to CPU", + "value": 1 + }, + "SPIS": { + "description": "Semaphore is assigned to SPI slave", + "value": 2 + }, + "CPUPending": { + "description": "Semaphore is assigned to SPI but a handover to the CPU is pending", + "value": 3 + } + } + } + } + } + } + } + }, + "STATUS": { + "description": "Status from last transaction", + "offset": 1088, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERREAD": { + "description": "TX buffer over-read detected, and prevented", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "OVERFLOW": { + "description": "RX buffer overflow detected, and prevented", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable SPI slave", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable SPI slave", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable SPI slave", + "value": 0 + }, + "Enabled": { + "description": "Enable SPI slave", + "value": 2 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1364, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORDER": { + "description": "Bit order", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "MsbFirst": { + "description": "Most significant bit shifted out first", + "value": 0 + }, + "LsbFirst": { + "description": "Least significant bit shifted out first", + "value": 1 + } + } + } + } + }, + "CPHA": { + "description": "Serial clock (SCK) phase", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Leading": { + "description": "Sample on leading edge of clock, shift serial data on trailing edge", + "value": 0 + }, + "Trailing": { + "description": "Sample on trailing edge of clock, shift serial data on leading edge", + "value": 1 + } + } + } + } + }, + "CPOL": { + "description": "Serial clock (SCK) polarity", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveHigh": { + "description": "Active high", + "value": 0 + }, + "ActiveLow": { + "description": "Active low", + "value": 1 + } + } + } + } + } + } + } + }, + "DEF": { + "description": "Default character. Character clocked out in case of an ignored transaction.", + "offset": 1372, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DEF": { + "description": "Default character. Character clocked out in case of an ignored transaction.", + "offset": 0, + "size": 8 + } + } + } + }, + "ORC": { + "description": "Over-read character", + "offset": 1472, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORC": { + "description": "Over-read character. Character clocked out after an over-read of the transmit buffer.", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "TWIM0": { + "description": "I2C compatible Two-Wire Master Interface with EasyDMA 0", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start TWI receive sequence", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STARTTX": { + "description": "Start TWI transmit sequence", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop TWI transaction. Must be issued while the TWI master is not suspended.", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_SUSPENDED": { + "description": "Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.", + "offset": 328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXSTARTED": { + "description": "Receive sequence started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXSTARTED": { + "description": "Transmit sequence started", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_LASTRX": { + "description": "Byte boundary, starting to receive the last byte", + "offset": 348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_LASTTX": { + "description": "Byte boundary, starting to transmit the last byte", + "offset": 352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LASTTX_STARTRX": { + "description": "Shortcut between LASTTX event and STARTRX task", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTTX_SUSPEND": { + "description": "Shortcut between LASTTX event and SUSPEND task", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTTX_STOP": { + "description": "Shortcut between LASTTX event and STOP task", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTRX_STARTTX": { + "description": "Shortcut between LASTRX event and STARTTX task", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTRX_STOP": { + "description": "Shortcut between LASTRX event and STOP task", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Enable or disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Enable or disable interrupt for SUSPENDED event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Enable or disable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Enable or disable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "LASTRX": { + "description": "Enable or disable interrupt for LASTRX event", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "LASTTX": { + "description": "Enable or disable interrupt for LASTTX event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Enable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to Enable interrupt for SUSPENDED event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to Enable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to Enable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTRX": { + "description": "Write '1' to Enable interrupt for LASTRX event", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTTX": { + "description": "Write '1' to Enable interrupt for LASTTX event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to Disable interrupt for SUSPENDED event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to Disable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to Disable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTRX": { + "description": "Write '1' to Disable interrupt for LASTRX event", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTTX": { + "description": "Write '1' to Disable interrupt for LASTTX event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1220, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "ANACK": { + "description": "NACK received after sending the address (write '1' to clear)", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "DNACK": { + "description": "NACK received after sending a data byte (write '1' to clear)", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable TWIM", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable TWIM", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable TWIM", + "value": 0 + }, + "Enabled": { + "description": "Enable TWIM", + "value": 6 + } + } + } + } + } + } + } + }, + "FREQUENCY": { + "description": "TWI frequency", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "TWI master clock frequency", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K100": { + "description": "100 kbps", + "value": 26738688 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K400": { + "description": "400 kbps", + "value": 104857600 + } + } + } + } + } + } + } + }, + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 1416, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 0, + "size": 7 + } + } + } + } + } + } + }, + "TWIS0": { + "description": "I2C compatible Two-Wire Slave Interface with EasyDMA 0", + "children": { + "registers": { + "TASKS_STOP": { + "description": "Stop TWI transaction", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_PREPARERX": { + "description": "Prepare the TWI slave to respond to a write command", + "offset": 48, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_PREPARETX": { + "description": "Prepare the TWI slave to respond to a read command", + "offset": 52, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXSTARTED": { + "description": "Receive sequence started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXSTARTED": { + "description": "Transmit sequence started", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_WRITE": { + "description": "Write command received", + "offset": 356, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_READ": { + "description": "Read command received", + "offset": 360, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "WRITE_SUSPEND": { + "description": "Shortcut between WRITE event and SUSPEND task", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "READ_SUSPEND": { + "description": "Shortcut between READ event and SUSPEND task", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Enable or disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Enable or disable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Enable or disable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "WRITE": { + "description": "Enable or disable interrupt for WRITE event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "READ": { + "description": "Enable or disable interrupt for READ event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Enable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to Enable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to Enable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "WRITE": { + "description": "Write '1' to Enable interrupt for WRITE event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "READ": { + "description": "Write '1' to Enable interrupt for READ event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to Disable interrupt for RXSTARTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to Disable interrupt for TXSTARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "WRITE": { + "description": "Write '1' to Disable interrupt for WRITE event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "READ": { + "description": "Write '1' to Disable interrupt for READ event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1232, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERFLOW": { + "description": "RX buffer overflow detected, and prevented", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Error did not occur", + "value": 0 + }, + "Detected": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "DNACK": { + "description": "NACK sent after receiving a data byte", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "OVERREAD": { + "description": "TX buffer over-read detected, and prevented", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Error did not occur", + "value": 0 + }, + "Detected": { + "description": "Error occurred", + "value": 1 + } + } + } + } + } + } + } + }, + "MATCH": { + "description": "Status register indicating which address had a match", + "offset": 1236, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "MATCH": { + "description": "Which of the addresses in {ADDRESS} matched the incoming address", + "offset": 0, + "size": 1 + } + } + } + }, + "ENABLE": { + "description": "Enable TWIS", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable TWIS", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable TWIS", + "value": 0 + }, + "Enabled": { + "description": "Enable TWIS", + "value": 9 + } + } + } + } + } + } + } + }, + "ADDRESS": { + "description": "Description collection[0]: TWI slave address 0", + "offset": 1416, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS": { + "description": "TWI slave address", + "offset": 0, + "size": 7 + } + } + } + }, + "CONFIG": { + "description": "Configuration register for the address match mechanism", + "offset": 1428, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS0": { + "description": "Enable or disable address matching on ADDRESS[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ADDRESS1": { + "description": "Enable or disable address matching on ADDRESS[1]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ORC": { + "description": "Over-read character. Character sent out in case of an over-read of the transmit buffer.", + "offset": 1472, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORC": { + "description": "Over-read character. Character sent out in case of an over-read of the transmit buffer.", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "SPI0": { + "description": "Serial Peripheral Interface 0", + "children": { + "registers": { + "EVENTS_READY": { + "description": "TXD byte sent and RXD byte received", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Enable interrupt for READY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Disable interrupt for READY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable SPI", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable SPI", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable SPI", + "value": 0 + }, + "Enabled": { + "description": "Enable SPI", + "value": 1 + } + } + } + } + } + } + } + }, + "RXD": { + "description": "RXD register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXD": { + "description": "RX data received. Double buffered", + "offset": 0, + "size": 8 + } + } + } + }, + "TXD": { + "description": "TXD register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXD": { + "description": "TX data to send. Double buffered", + "offset": 0, + "size": 8 + } + } + } + }, + "FREQUENCY": { + "description": "SPI frequency", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "SPI master data rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K125": { + "description": "125 kbps", + "value": 33554432 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K500": { + "description": "500 kbps", + "value": 134217728 + }, + "M1": { + "description": "1 Mbps", + "value": 268435456 + }, + "M2": { + "description": "2 Mbps", + "value": 536870912 + }, + "M4": { + "description": "4 Mbps", + "value": 1073741824 + }, + "M8": { + "description": "8 Mbps", + "value": 2147483648 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1364, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORDER": { + "description": "Bit order", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "MsbFirst": { + "description": "Most significant bit shifted out first", + "value": 0 + }, + "LsbFirst": { + "description": "Least significant bit shifted out first", + "value": 1 + } + } + } + } + }, + "CPHA": { + "description": "Serial clock (SCK) phase", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Leading": { + "description": "Sample on leading edge of clock, shift serial data on trailing edge", + "value": 0 + }, + "Trailing": { + "description": "Sample on trailing edge of clock, shift serial data on leading edge", + "value": 1 + } + } + } + } + }, + "CPOL": { + "description": "Serial clock (SCK) polarity", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveHigh": { + "description": "Active high", + "value": 0 + }, + "ActiveLow": { + "description": "Active low", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "TWI0": { + "description": "I2C compatible Two-Wire Interface 0", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start TWI receive sequence", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STARTTX": { + "description": "Start TWI transmit sequence", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop TWI transaction", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXDREADY": { + "description": "TWI RXD byte received", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXDSENT": { + "description": "TWI TXD byte sent", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_BB": { + "description": "TWI byte boundary, generated before each byte that is sent or received", + "offset": 312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_SUSPENDED": { + "description": "TWI entered the suspended state", + "offset": 328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BB_SUSPEND": { + "description": "Shortcut between BB event and SUSPEND task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "BB_STOP": { + "description": "Shortcut between BB event and STOP task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDREADY": { + "description": "Write '1' to Enable interrupt for RXDREADY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDSENT": { + "description": "Write '1' to Enable interrupt for TXDSENT event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Enable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BB": { + "description": "Write '1' to Enable interrupt for BB event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to Enable interrupt for SUSPENDED event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDREADY": { + "description": "Write '1' to Disable interrupt for RXDREADY event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDSENT": { + "description": "Write '1' to Disable interrupt for TXDSENT event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Disable interrupt for ERROR event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BB": { + "description": "Write '1' to Disable interrupt for BB event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to Disable interrupt for SUSPENDED event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1220, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: no overrun occured", + "value": 0 + }, + "Present": { + "description": "Read: overrun occured", + "value": 1 + } + } + } + } + }, + "ANACK": { + "description": "NACK received after sending the address (write '1' to clear)", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "DNACK": { + "description": "NACK received after sending a data byte (write '1' to clear)", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable TWI", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable TWI", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable TWI", + "value": 0 + }, + "Enabled": { + "description": "Enable TWI", + "value": 5 + } + } + } + } + } + } + } + }, + "PSELSCL": { + "description": "Pin select for SCL", + "offset": 1288, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSELSCL": { + "description": "Pin number configuration for TWI SCL signal", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 4294967295 + } + } + } + } + } + } + } + }, + "PSELSDA": { + "description": "Pin select for SDA", + "offset": 1292, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSELSDA": { + "description": "Pin number configuration for TWI SDA signal", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 4294967295 + } + } + } + } + } + } + } + }, + "RXD": { + "description": "RXD register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXD": { + "description": "RXD register", + "offset": 0, + "size": 8 + } + } + } + }, + "TXD": { + "description": "TXD register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXD": { + "description": "TXD register", + "offset": 0, + "size": 8 + } + } + } + }, + "FREQUENCY": { + "description": "TWI frequency", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "TWI master clock frequency", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K100": { + "description": "100 kbps", + "value": 26738688 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K400": { + "description": "400 kbps (actual rate 410.256 kbps)", + "value": 107479040 + } + } + } + } + } + } + } + }, + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 1416, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 0, + "size": 7 + } + } + } + } + } + } + }, + "P0": { + "description": "GPIO Port 1", + "children": { + "registers": { + "OUT": { + "description": "Write GPIO port", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + } + } + } + }, + "OUTSET": { + "description": "Set individual bits in GPIO port", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + } + } + } + }, + "OUTCLR": { + "description": "Clear individual bits in GPIO port", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + } + } + } + }, + "IN": { + "description": "Read GPIO port", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + } + } + } + }, + "DIR": { + "description": "Direction of GPIO pins", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + } + } + } + }, + "DIRSET": { + "description": "DIR set register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Set as output pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Set as output pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Set as output pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Set as output pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Set as output pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Set as output pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Set as output pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Set as output pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Set as output pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Set as output pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Set as output pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Set as output pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Set as output pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Set as output pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Set as output pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Set as output pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Set as output pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Set as output pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Set as output pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Set as output pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Set as output pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Set as output pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Set as output pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Set as output pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Set as output pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Set as output pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Set as output pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Set as output pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Set as output pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Set as output pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Set as output pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Set as output pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + } + } + } + }, + "DIRCLR": { + "description": "DIR clear register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Set as input pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Set as input pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Set as input pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Set as input pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Set as input pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Set as input pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Set as input pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Set as input pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Set as input pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Set as input pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Set as input pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Set as input pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Set as input pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Set as input pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Set as input pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Set as input pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Set as input pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Set as input pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Set as input pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Set as input pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Set as input pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Set as input pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Set as input pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Set as input pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Set as input pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Set as input pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Set as input pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Set as input pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Set as input pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Set as input pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Set as input pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Set as input pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + } + } + } + }, + "LATCH": { + "description": "Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write '1' to clear.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register. Write '1' to clear.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write '1' to clear.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register. Write '1' to clear.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register. Write '1' to clear.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register. Write '1' to clear.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register. Write '1' to clear.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register. Write '1' to clear.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register. Write '1' to clear.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register. Write '1' to clear.", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register. Write '1' to clear.", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register. Write '1' to clear.", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register. Write '1' to clear.", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register. Write '1' to clear.", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register. Write '1' to clear.", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register. Write '1' to clear.", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register. Write '1' to clear.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register. Write '1' to clear.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register. Write '1' to clear.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register. Write '1' to clear.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register. Write '1' to clear.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register. Write '1' to clear.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register. Write '1' to clear.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register. Write '1' to clear.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register. Write '1' to clear.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register. Write '1' to clear.", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register. Write '1' to clear.", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register. Write '1' to clear.", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register. Write '1' to clear.", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register. Write '1' to clear.", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register. Write '1' to clear.", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register. Write '1' to clear.", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + } + } + } + }, + "DETECTMODE": { + "description": "Select between default DETECT signal behaviour and LDETECT mode", + "offset": 1316, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DETECTMODE": { + "description": "Select between default DETECT signal behaviour and LDETECT mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "DETECT directly connected to PIN DETECT signals", + "value": 0 + }, + "LDETECT": { + "description": "Use the latched LDETECT behaviour", + "value": 1 + } + } + } + } + } + } + } + }, + "PIN_CNF": { + "description": "Description collection[0]: Configuration of GPIO pins", + "offset": 1792, + "size": 32, + "count": 32, + "reset_value": 2, + "reset_mask": 4294967295, + "children": { + "fields": { + "DIR": { + "description": "Pin direction. Same physical register as DIR register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Configure pin as an input pin", + "value": 0 + }, + "Output": { + "description": "Configure pin as an output pin", + "value": 1 + } + } + } + } + }, + "INPUT": { + "description": "Connect or disconnect input buffer", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Connect": { + "description": "Connect input buffer", + "value": 0 + }, + "Disconnect": { + "description": "Disconnect input buffer", + "value": 1 + } + } + } + } + }, + "PULL": { + "description": "Pull configuration", + "offset": 2, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "No pull", + "value": 0 + }, + "Pulldown": { + "description": "Pull down on pin", + "value": 1 + }, + "Pullup": { + "description": "Pull up on pin", + "value": 3 + } + } + } + } + }, + "DRIVE": { + "description": "Drive configuration", + "offset": 8, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "S0S1": { + "description": "Standard '0', standard '1'", + "value": 0 + }, + "H0S1": { + "description": "High drive '0', standard '1'", + "value": 1 + }, + "S0H1": { + "description": "Standard '0', high drive '1'", + "value": 2 + }, + "H0H1": { + "description": "High drive '0', high 'drive '1''", + "value": 3 + }, + "D0S1": { + "description": "Disconnect '0' standard '1' (normally used for wired-or connections)", + "value": 4 + }, + "D0H1": { + "description": "Disconnect '0', high drive '1' (normally used for wired-or connections)", + "value": 5 + }, + "S0D1": { + "description": "Standard '0'. disconnect '1' (normally used for wired-and connections)", + "value": 6 + }, + "H0D1": { + "description": "High drive '0', disconnect '1' (normally used for wired-and connections)", + "value": 7 + } + } + } + } + }, + "SENSE": { + "description": "Pin sensing mechanism", + "offset": 16, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "High": { + "description": "Sense for high level", + "value": 2 + }, + "Low": { + "description": "Sense for low level", + "value": 3 + } + } + } + } + } + } + } + } + } + } + }, + "FPU": { + "description": "FPU", + "children": { + "registers": { + "UNUSED": { + "description": "Unused.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only" + } + } + } + }, + "I2S": { + "description": "Inter-IC Sound", + "children": { + "registers": { + "TASKS_START": { + "description": "Starts continuous I2S transfer. Also starts MCK generator when this is enabled.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the {event:STOPPED} event to be generated.", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_RXPTRUPD": { + "description": "The RXD.PTR register has been copied to internal double-buffers. When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin.", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_STOPPED": { + "description": "I2S transfer stopped.", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXPTRUPD": { + "description": "The TDX.PTR register has been copied to internal double-buffers. When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin.", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RXPTRUPD": { + "description": "Enable or disable interrupt for RXPTRUPD event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Enable or disable interrupt for STOPPED event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXPTRUPD": { + "description": "Enable or disable interrupt for TXPTRUPD event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RXPTRUPD": { + "description": "Write '1' to Enable interrupt for RXPTRUPD event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXPTRUPD": { + "description": "Write '1' to Enable interrupt for TXPTRUPD event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RXPTRUPD": { + "description": "Write '1' to Disable interrupt for RXPTRUPD event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXPTRUPD": { + "description": "Write '1' to Disable interrupt for TXPTRUPD event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable I2S module.", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable I2S module.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "EGU0": { + "description": "Event Generator Unit 0", + "children": { + "registers": { + "TASKS_TRIGGER": { + "description": "Description collection[0]: Trigger 0 for triggering the corresponding TRIGGERED[0] event", + "offset": 0, + "size": 32, + "count": 16, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_TRIGGERED": { + "description": "Description collection[0]: Event number 0 generated by triggering the corresponding TRIGGER[0] task", + "offset": 256, + "size": 32, + "count": 16, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRIGGERED0": { + "description": "Enable or disable interrupt for TRIGGERED[0] event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED1": { + "description": "Enable or disable interrupt for TRIGGERED[1] event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED2": { + "description": "Enable or disable interrupt for TRIGGERED[2] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED3": { + "description": "Enable or disable interrupt for TRIGGERED[3] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED4": { + "description": "Enable or disable interrupt for TRIGGERED[4] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED5": { + "description": "Enable or disable interrupt for TRIGGERED[5] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED6": { + "description": "Enable or disable interrupt for TRIGGERED[6] event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED7": { + "description": "Enable or disable interrupt for TRIGGERED[7] event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED8": { + "description": "Enable or disable interrupt for TRIGGERED[8] event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED9": { + "description": "Enable or disable interrupt for TRIGGERED[9] event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED10": { + "description": "Enable or disable interrupt for TRIGGERED[10] event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED11": { + "description": "Enable or disable interrupt for TRIGGERED[11] event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED12": { + "description": "Enable or disable interrupt for TRIGGERED[12] event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED13": { + "description": "Enable or disable interrupt for TRIGGERED[13] event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED14": { + "description": "Enable or disable interrupt for TRIGGERED[14] event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED15": { + "description": "Enable or disable interrupt for TRIGGERED[15] event", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRIGGERED0": { + "description": "Write '1' to Enable interrupt for TRIGGERED[0] event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED1": { + "description": "Write '1' to Enable interrupt for TRIGGERED[1] event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED2": { + "description": "Write '1' to Enable interrupt for TRIGGERED[2] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED3": { + "description": "Write '1' to Enable interrupt for TRIGGERED[3] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED4": { + "description": "Write '1' to Enable interrupt for TRIGGERED[4] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED5": { + "description": "Write '1' to Enable interrupt for TRIGGERED[5] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED6": { + "description": "Write '1' to Enable interrupt for TRIGGERED[6] event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED7": { + "description": "Write '1' to Enable interrupt for TRIGGERED[7] event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED8": { + "description": "Write '1' to Enable interrupt for TRIGGERED[8] event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED9": { + "description": "Write '1' to Enable interrupt for TRIGGERED[9] event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED10": { + "description": "Write '1' to Enable interrupt for TRIGGERED[10] event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED11": { + "description": "Write '1' to Enable interrupt for TRIGGERED[11] event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED12": { + "description": "Write '1' to Enable interrupt for TRIGGERED[12] event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED13": { + "description": "Write '1' to Enable interrupt for TRIGGERED[13] event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED14": { + "description": "Write '1' to Enable interrupt for TRIGGERED[14] event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED15": { + "description": "Write '1' to Enable interrupt for TRIGGERED[15] event", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRIGGERED0": { + "description": "Write '1' to Disable interrupt for TRIGGERED[0] event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED1": { + "description": "Write '1' to Disable interrupt for TRIGGERED[1] event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED2": { + "description": "Write '1' to Disable interrupt for TRIGGERED[2] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED3": { + "description": "Write '1' to Disable interrupt for TRIGGERED[3] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED4": { + "description": "Write '1' to Disable interrupt for TRIGGERED[4] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED5": { + "description": "Write '1' to Disable interrupt for TRIGGERED[5] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED6": { + "description": "Write '1' to Disable interrupt for TRIGGERED[6] event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED7": { + "description": "Write '1' to Disable interrupt for TRIGGERED[7] event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED8": { + "description": "Write '1' to Disable interrupt for TRIGGERED[8] event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED9": { + "description": "Write '1' to Disable interrupt for TRIGGERED[9] event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED10": { + "description": "Write '1' to Disable interrupt for TRIGGERED[10] event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED11": { + "description": "Write '1' to Disable interrupt for TRIGGERED[11] event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED12": { + "description": "Write '1' to Disable interrupt for TRIGGERED[12] event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED13": { + "description": "Write '1' to Disable interrupt for TRIGGERED[13] event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED14": { + "description": "Write '1' to Disable interrupt for TRIGGERED[14] event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED15": { + "description": "Write '1' to Disable interrupt for TRIGGERED[15] event", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "MWU": { + "description": "Memory Watch Unit", + "children": { + "registers": { + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Enable or disable interrupt for REGION[0].WA event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Enable or disable interrupt for REGION[0].RA event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Enable or disable interrupt for REGION[1].WA event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Enable or disable interrupt for REGION[1].RA event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Enable or disable interrupt for REGION[2].WA event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Enable or disable interrupt for REGION[2].RA event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Enable or disable interrupt for REGION[3].WA event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Enable or disable interrupt for REGION[3].RA event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Enable or disable interrupt for PREGION[0].WA event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Enable or disable interrupt for PREGION[0].RA event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Enable or disable interrupt for PREGION[1].WA event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Enable or disable interrupt for PREGION[1].RA event", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to Enable interrupt for REGION[0].WA event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to Enable interrupt for REGION[0].RA event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to Enable interrupt for REGION[1].WA event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to Enable interrupt for REGION[1].RA event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to Enable interrupt for REGION[2].WA event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to Enable interrupt for REGION[2].RA event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to Enable interrupt for REGION[3].WA event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to Enable interrupt for REGION[3].RA event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to Enable interrupt for PREGION[0].WA event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to Enable interrupt for PREGION[0].RA event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to Enable interrupt for PREGION[1].WA event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to Enable interrupt for PREGION[1].RA event", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to Disable interrupt for REGION[0].WA event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to Disable interrupt for REGION[0].RA event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to Disable interrupt for REGION[1].WA event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to Disable interrupt for REGION[1].RA event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to Disable interrupt for REGION[2].WA event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to Disable interrupt for REGION[2].RA event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to Disable interrupt for REGION[3].WA event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to Disable interrupt for REGION[3].RA event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to Disable interrupt for PREGION[0].WA event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to Disable interrupt for PREGION[0].RA event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to Disable interrupt for PREGION[1].WA event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to Disable interrupt for PREGION[1].RA event", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "NMIEN": { + "description": "Enable or disable non-maskable interrupt", + "offset": 800, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Enable or disable non-maskable interrupt for REGION[0].WA event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Enable or disable non-maskable interrupt for REGION[0].RA event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Enable or disable non-maskable interrupt for REGION[1].WA event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Enable or disable non-maskable interrupt for REGION[1].RA event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Enable or disable non-maskable interrupt for REGION[2].WA event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Enable or disable non-maskable interrupt for REGION[2].RA event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Enable or disable non-maskable interrupt for REGION[3].WA event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Enable or disable non-maskable interrupt for REGION[3].RA event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Enable or disable non-maskable interrupt for PREGION[0].WA event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Enable or disable non-maskable interrupt for PREGION[0].RA event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Enable or disable non-maskable interrupt for PREGION[1].WA event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Enable or disable non-maskable interrupt for PREGION[1].RA event", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "NMIENSET": { + "description": "Enable non-maskable interrupt", + "offset": 804, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[0].WA event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[0].RA event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[1].WA event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[1].RA event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[2].WA event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[2].RA event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[3].WA event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to Enable non-maskable interrupt for REGION[3].RA event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to Enable non-maskable interrupt for PREGION[0].WA event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to Enable non-maskable interrupt for PREGION[0].RA event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to Enable non-maskable interrupt for PREGION[1].WA event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to Enable non-maskable interrupt for PREGION[1].RA event", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "NMIENCLR": { + "description": "Disable non-maskable interrupt", + "offset": 808, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[0].WA event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[0].RA event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[1].WA event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[1].RA event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[2].WA event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[2].RA event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[3].WA event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to Disable non-maskable interrupt for REGION[3].RA event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to Disable non-maskable interrupt for PREGION[0].WA event", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to Disable non-maskable interrupt for PREGION[0].RA event", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to Disable non-maskable interrupt for PREGION[1].WA event", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to Disable non-maskable interrupt for PREGION[1].RA event", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "REGIONEN": { + "description": "Enable/disable regions watch", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RGN0WA": { + "description": "Enable/disable write access watch in region[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN0RA": { + "description": "Enable/disable read access watch in region[0]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN1WA": { + "description": "Enable/disable write access watch in region[1]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN1RA": { + "description": "Enable/disable read access watch in region[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN2WA": { + "description": "Enable/disable write access watch in region[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN2RA": { + "description": "Enable/disable read access watch in region[2]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN3WA": { + "description": "Enable/disable write access watch in region[3]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN3RA": { + "description": "Enable/disable read access watch in region[3]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "PRGN0WA": { + "description": "Enable/disable write access watch in PREGION[0]", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this PREGION", + "value": 1 + } + } + } + } + }, + "PRGN0RA": { + "description": "Enable/disable read access watch in PREGION[0]", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this PREGION", + "value": 1 + } + } + } + } + }, + "PRGN1WA": { + "description": "Enable/disable write access watch in PREGION[1]", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this PREGION", + "value": 1 + } + } + } + } + }, + "PRGN1RA": { + "description": "Enable/disable read access watch in PREGION[1]", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this PREGION", + "value": 1 + } + } + } + } + } + } + } + }, + "REGIONENSET": { + "description": "Enable regions watch", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RGN0WA": { + "description": "Enable write access watch in region[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN0RA": { + "description": "Enable read access watch in region[0]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1WA": { + "description": "Enable write access watch in region[1]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1RA": { + "description": "Enable read access watch in region[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2WA": { + "description": "Enable write access watch in region[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2RA": { + "description": "Enable read access watch in region[2]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3WA": { + "description": "Enable write access watch in region[3]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3RA": { + "description": "Enable read access watch in region[3]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0WA": { + "description": "Enable write access watch in PREGION[0]", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0RA": { + "description": "Enable read access watch in PREGION[0]", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1WA": { + "description": "Enable write access watch in PREGION[1]", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1RA": { + "description": "Enable read access watch in PREGION[1]", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "REGIONENCLR": { + "description": "Disable regions watch", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RGN0WA": { + "description": "Disable write access watch in region[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN0RA": { + "description": "Disable read access watch in region[0]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1WA": { + "description": "Disable write access watch in region[1]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1RA": { + "description": "Disable read access watch in region[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2WA": { + "description": "Disable write access watch in region[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2RA": { + "description": "Disable read access watch in region[2]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3WA": { + "description": "Disable write access watch in region[3]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3RA": { + "description": "Disable read access watch in region[3]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0WA": { + "description": "Disable write access watch in PREGION[0]", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0RA": { + "description": "Disable read access watch in PREGION[0]", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1WA": { + "description": "Disable write access watch in PREGION[1]", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1RA": { + "description": "Disable read access watch in PREGION[1]", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "PPI": { + "description": "Programmable Peripheral Interconnect", + "children": { + "registers": { + "CHEN": { + "description": "Channel enable register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Enable or disable channel 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Enable or disable channel 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Enable or disable channel 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Enable or disable channel 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Enable or disable channel 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Enable or disable channel 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Enable or disable channel 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Enable or disable channel 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Enable or disable channel 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Enable or disable channel 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Enable or disable channel 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Enable or disable channel 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Enable or disable channel 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Enable or disable channel 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Enable or disable channel 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Enable or disable channel 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Enable or disable channel 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Enable or disable channel 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Enable or disable channel 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Enable or disable channel 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Enable or disable channel 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Enable or disable channel 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Enable or disable channel 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Enable or disable channel 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Enable or disable channel 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Enable or disable channel 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Enable or disable channel 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Enable or disable channel 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Enable or disable channel 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Enable or disable channel 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Enable or disable channel 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Enable or disable channel 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + } + } + } + }, + "CHENSET": { + "description": "Channel enable set register", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Channel 0 enable set register. Writing '0' has no effect", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Channel 1 enable set register. Writing '0' has no effect", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Channel 2 enable set register. Writing '0' has no effect", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Channel 3 enable set register. Writing '0' has no effect", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Channel 4 enable set register. Writing '0' has no effect", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Channel 5 enable set register. Writing '0' has no effect", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Channel 6 enable set register. Writing '0' has no effect", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Channel 7 enable set register. Writing '0' has no effect", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Channel 8 enable set register. Writing '0' has no effect", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Channel 9 enable set register. Writing '0' has no effect", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Channel 10 enable set register. Writing '0' has no effect", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Channel 11 enable set register. Writing '0' has no effect", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Channel 12 enable set register. Writing '0' has no effect", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Channel 13 enable set register. Writing '0' has no effect", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Channel 14 enable set register. Writing '0' has no effect", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Channel 15 enable set register. Writing '0' has no effect", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Channel 16 enable set register. Writing '0' has no effect", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Channel 17 enable set register. Writing '0' has no effect", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Channel 18 enable set register. Writing '0' has no effect", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Channel 19 enable set register. Writing '0' has no effect", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Channel 20 enable set register. Writing '0' has no effect", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Channel 21 enable set register. Writing '0' has no effect", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Channel 22 enable set register. Writing '0' has no effect", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Channel 23 enable set register. Writing '0' has no effect", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Channel 24 enable set register. Writing '0' has no effect", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Channel 25 enable set register. Writing '0' has no effect", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Channel 26 enable set register. Writing '0' has no effect", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Channel 27 enable set register. Writing '0' has no effect", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Channel 28 enable set register. Writing '0' has no effect", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Channel 29 enable set register. Writing '0' has no effect", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Channel 30 enable set register. Writing '0' has no effect", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Channel 31 enable set register. Writing '0' has no effect", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CHENCLR": { + "description": "Channel enable clear register", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Channel 0 enable clear register. Writing '0' has no effect", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Channel 1 enable clear register. Writing '0' has no effect", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Channel 2 enable clear register. Writing '0' has no effect", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Channel 3 enable clear register. Writing '0' has no effect", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Channel 4 enable clear register. Writing '0' has no effect", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Channel 5 enable clear register. Writing '0' has no effect", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Channel 6 enable clear register. Writing '0' has no effect", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Channel 7 enable clear register. Writing '0' has no effect", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Channel 8 enable clear register. Writing '0' has no effect", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Channel 9 enable clear register. Writing '0' has no effect", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Channel 10 enable clear register. Writing '0' has no effect", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Channel 11 enable clear register. Writing '0' has no effect", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Channel 12 enable clear register. Writing '0' has no effect", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Channel 13 enable clear register. Writing '0' has no effect", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Channel 14 enable clear register. Writing '0' has no effect", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Channel 15 enable clear register. Writing '0' has no effect", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Channel 16 enable clear register. Writing '0' has no effect", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Channel 17 enable clear register. Writing '0' has no effect", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Channel 18 enable clear register. Writing '0' has no effect", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Channel 19 enable clear register. Writing '0' has no effect", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Channel 20 enable clear register. Writing '0' has no effect", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Channel 21 enable clear register. Writing '0' has no effect", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Channel 22 enable clear register. Writing '0' has no effect", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Channel 23 enable clear register. Writing '0' has no effect", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Channel 24 enable clear register. Writing '0' has no effect", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Channel 25 enable clear register. Writing '0' has no effect", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Channel 26 enable clear register. Writing '0' has no effect", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Channel 27 enable clear register. Writing '0' has no effect", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Channel 28 enable clear register. Writing '0' has no effect", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Channel 29 enable clear register. Writing '0' has no effect", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Channel 30 enable clear register. Writing '0' has no effect", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Channel 31 enable clear register. Writing '0' has no effect", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CHG": { + "description": "Description collection[0]: Channel group 0", + "offset": 2048, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Include or exclude channel 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Include or exclude channel 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Include or exclude channel 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Include or exclude channel 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Include or exclude channel 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Include or exclude channel 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Include or exclude channel 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Include or exclude channel 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Include or exclude channel 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Include or exclude channel 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Include or exclude channel 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Include or exclude channel 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Include or exclude channel 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Include or exclude channel 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Include or exclude channel 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Include or exclude channel 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Include or exclude channel 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Include or exclude channel 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Include or exclude channel 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Include or exclude channel 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Include or exclude channel 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Include or exclude channel 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Include or exclude channel 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Include or exclude channel 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Include or exclude channel 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Include or exclude channel 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Include or exclude channel 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Include or exclude channel 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Include or exclude channel 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Include or exclude channel 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Include or exclude channel 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Include or exclude channel 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "NFCT": { + "description": "NFC-A compatible radio", + "children": { + "registers": { + "TASKS_ACTIVATE": { + "description": "Activate NFC peripheral for incoming and outgoing frames, change state to activated", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_DISABLE": { + "description": "Disable NFC peripheral", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SENSE": { + "description": "Enable NFC sense field mode, change state to sense mode", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STARTTX": { + "description": "Start transmission of a outgoing frame, change state to transmit", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_ENABLERXDATA": { + "description": "Initializes the EasyDMA for receive.", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_GOIDLE": { + "description": "Force state machine to IDLE state", + "offset": 36, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_GOSLEEP": { + "description": "Force state machine to SLEEP_A state", + "offset": 40, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_READY": { + "description": "The NFC peripheral is ready to receive and send frames", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_FIELDDETECTED": { + "description": "Remote NFC field detected", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_FIELDLOST": { + "description": "Remote NFC field lost", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXFRAMESTART": { + "description": "Marks the start of the first symbol of a transmitted frame", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_TXFRAMEEND": { + "description": "Marks the end of the last transmitted on-air symbol of a frame", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXFRAMESTART": { + "description": "Marks the end of the first symbol of a received frame", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXFRAMEEND": { + "description": "Received data have been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERROR": { + "description": "NFC error reported. The ERRORSTATUS register contains details on the source of the error.", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RXERROR": { + "description": "NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error.", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDRX": { + "description": "RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.", + "offset": 300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDTX": { + "description": "Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer", + "offset": 304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_AUTOCOLRESSTARTED": { + "description": "Auto collision resolution process has started", + "offset": 312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_COLLISION": { + "description": "NFC Auto collision resolution error reported.", + "offset": 328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_SELECTED": { + "description": "NFC Auto collision resolution successfully completed", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_STARTED": { + "description": "EasyDMA is ready to receive or send frames.", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "FIELDDETECTED_ACTIVATE": { + "description": "Shortcut between FIELDDETECTED event and ACTIVATE task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "FIELDLOST_SENSE": { + "description": "Shortcut between FIELDLOST event and SENSE task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Enable or disable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "FIELDDETECTED": { + "description": "Enable or disable interrupt for FIELDDETECTED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "FIELDLOST": { + "description": "Enable or disable interrupt for FIELDLOST event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXFRAMESTART": { + "description": "Enable or disable interrupt for TXFRAMESTART event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXFRAMEEND": { + "description": "Enable or disable interrupt for TXFRAMEEND event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXFRAMESTART": { + "description": "Enable or disable interrupt for RXFRAMESTART event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXFRAMEEND": { + "description": "Enable or disable interrupt for RXFRAMEEND event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for ERROR event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXERROR": { + "description": "Enable or disable interrupt for RXERROR event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Enable or disable interrupt for ENDRX event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Enable or disable interrupt for ENDTX event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "AUTOCOLRESSTARTED": { + "description": "Enable or disable interrupt for AUTOCOLRESSTARTED event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "COLLISION": { + "description": "Enable or disable interrupt for COLLISION event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SELECTED": { + "description": "Enable or disable interrupt for SELECTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Enable or disable interrupt for STARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Enable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDDETECTED": { + "description": "Write '1' to Enable interrupt for FIELDDETECTED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDLOST": { + "description": "Write '1' to Enable interrupt for FIELDLOST event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMESTART": { + "description": "Write '1' to Enable interrupt for TXFRAMESTART event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMEEND": { + "description": "Write '1' to Enable interrupt for TXFRAMEEND event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMESTART": { + "description": "Write '1' to Enable interrupt for RXFRAMESTART event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMEEND": { + "description": "Write '1' to Enable interrupt for RXFRAMEEND event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Enable interrupt for ERROR event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXERROR": { + "description": "Write '1' to Enable interrupt for RXERROR event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Enable interrupt for ENDRX event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to Enable interrupt for ENDTX event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "AUTOCOLRESSTARTED": { + "description": "Write '1' to Enable interrupt for AUTOCOLRESSTARTED event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COLLISION": { + "description": "Write '1' to Enable interrupt for COLLISION event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SELECTED": { + "description": "Write '1' to Enable interrupt for SELECTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to Enable interrupt for STARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Disable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDDETECTED": { + "description": "Write '1' to Disable interrupt for FIELDDETECTED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDLOST": { + "description": "Write '1' to Disable interrupt for FIELDLOST event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMESTART": { + "description": "Write '1' to Disable interrupt for TXFRAMESTART event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMEEND": { + "description": "Write '1' to Disable interrupt for TXFRAMEEND event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMESTART": { + "description": "Write '1' to Disable interrupt for RXFRAMESTART event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMEEND": { + "description": "Write '1' to Disable interrupt for RXFRAMEEND event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Disable interrupt for ERROR event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXERROR": { + "description": "Write '1' to Disable interrupt for RXERROR event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to Disable interrupt for ENDRX event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to Disable interrupt for ENDTX event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "AUTOCOLRESSTARTED": { + "description": "Write '1' to Disable interrupt for AUTOCOLRESSTARTED event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COLLISION": { + "description": "Write '1' to Disable interrupt for COLLISION event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SELECTED": { + "description": "Write '1' to Disable interrupt for SELECTED event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to Disable interrupt for STARTED event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSTATUS": { + "description": "NFC Error Status register", + "offset": 1028, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYTIMEOUT": { + "description": "No STARTTX task triggered before expiration of the time set in FRAMEDELAYMAX", + "offset": 0, + "size": 1 + }, + "NFCFIELDTOOSTRONG": { + "description": "Field level is too high at max load resistance", + "offset": 2, + "size": 1 + }, + "NFCFIELDTOOWEAK": { + "description": "Field level is too low at min load resistance", + "offset": 3, + "size": 1 + } + } + } + }, + "CURRENTLOADCTRL": { + "description": "Current value driven to the NFC Load Control", + "offset": 1072, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "CURRENTLOADCTRL": { + "description": "Current value driven to the NFC Load Control", + "offset": 0, + "size": 6 + } + } + } + }, + "FIELDPRESENT": { + "description": "Indicates the presence or not of a valid field", + "offset": 1084, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "FIELDPRESENT": { + "description": "Indicates the presence or not of a valid field. Available only in the activated state.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoField": { + "description": "No valid field detected", + "value": 0 + }, + "FieldPresent": { + "description": "Valid field detected", + "value": 1 + } + } + } + } + }, + "LOCKDETECT": { + "description": "Indicates if the low level has locked to the field", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLocked": { + "description": "Not locked to field", + "value": 0 + }, + "Locked": { + "description": "Locked to field", + "value": 1 + } + } + } + } + } + } + } + }, + "FRAMEDELAYMIN": { + "description": "Minimum frame delay", + "offset": 1284, + "size": 32, + "reset_value": 1152, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYMIN": { + "description": "Minimum frame delay in number of 13.56 MHz clocks", + "offset": 0, + "size": 16 + } + } + } + }, + "FRAMEDELAYMAX": { + "description": "Maximum frame delay", + "offset": 1288, + "size": 32, + "reset_value": 4096, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYMAX": { + "description": "Maximum frame delay in number of 13.56 MHz clocks", + "offset": 0, + "size": 16 + } + } + } + }, + "FRAMEDELAYMODE": { + "description": "Configuration register for the Frame Delay Timer", + "offset": 1292, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYMODE": { + "description": "Configuration register for the Frame Delay Timer", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "FreeRun": { + "description": "Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout.", + "value": 0 + }, + "Window": { + "description": "Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX", + "value": 1 + }, + "ExactVal": { + "description": "Frame is transmitted exactly at FRAMEDELAYMAX", + "value": 2 + }, + "WindowGrid": { + "description": "Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX", + "value": 3 + } + } + } + } + } + } + } + }, + "PACKETPTR": { + "description": "Packet pointer for TXD and RXD data storage in Data RAM", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PTR": { + "description": "Packet pointer for TXD and RXD data storage in Data RAM. This address is a byte aligned RAM address.", + "offset": 0, + "size": 32 + } + } + } + }, + "MAXLEN": { + "description": "Size of allocated for TXD and RXD data storage buffer in Data RAM", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MAXLEN": { + "description": "Size of allocated for TXD and RXD data storage buffer in Data RAM", + "offset": 0, + "size": 9 + } + } + } + }, + "NFCID1_LAST": { + "description": "Last NFCID1 part (4, 7 or 10 bytes ID)", + "offset": 1424, + "size": 32, + "reset_value": 25443, + "reset_mask": 4294967295, + "children": { + "fields": { + "NFCID1_Z": { + "description": "NFCID1 byte Z (very last byte sent)", + "offset": 0, + "size": 8 + }, + "NFCID1_Y": { + "description": "NFCID1 byte Y", + "offset": 8, + "size": 8 + }, + "NFCID1_X": { + "description": "NFCID1 byte X", + "offset": 16, + "size": 8 + }, + "NFCID1_W": { + "description": "NFCID1 byte W", + "offset": 24, + "size": 8 + } + } + } + }, + "NFCID1_2ND_LAST": { + "description": "Second last NFCID1 part (7 or 10 bytes ID)", + "offset": 1428, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "NFCID1_V": { + "description": "NFCID1 byte V", + "offset": 0, + "size": 8 + }, + "NFCID1_U": { + "description": "NFCID1 byte U", + "offset": 8, + "size": 8 + }, + "NFCID1_T": { + "description": "NFCID1 byte T", + "offset": 16, + "size": 8 + } + } + } + }, + "NFCID1_3RD_LAST": { + "description": "Third last NFCID1 part (10 bytes ID)", + "offset": 1432, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "NFCID1_S": { + "description": "NFCID1 byte S", + "offset": 0, + "size": 8 + }, + "NFCID1_R": { + "description": "NFCID1 byte R", + "offset": 8, + "size": 8 + }, + "NFCID1_Q": { + "description": "NFCID1 byte Q", + "offset": 16, + "size": 8 + } + } + } + }, + "SENSRES": { + "description": "NFC-A SENS_RES auto-response settings", + "offset": 1440, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "BITFRAMESDD": { + "description": "Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification", + "offset": 0, + "size": 5, + "enum": { + "size": 5, + "children": { + "enum_fields": { + "SDD00000": { + "description": "SDD pattern 00000", + "value": 0 + }, + "SDD00001": { + "description": "SDD pattern 00001", + "value": 1 + }, + "SDD00010": { + "description": "SDD pattern 00010", + "value": 2 + }, + "SDD00100": { + "description": "SDD pattern 00100", + "value": 4 + }, + "SDD01000": { + "description": "SDD pattern 01000", + "value": 8 + }, + "SDD10000": { + "description": "SDD pattern 10000", + "value": 16 + } + } + } + } + }, + "RFU5": { + "description": "Reserved for future use. Shall be 0.", + "offset": 5, + "size": 1 + }, + "NFCIDSIZE": { + "description": "NFCID1 size. This value is used by the Auto collision resolution engine.", + "offset": 6, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "NFCID1Single": { + "description": "NFCID1 size: single (4 bytes)", + "value": 0 + }, + "NFCID1Double": { + "description": "NFCID1 size: double (7 bytes)", + "value": 1 + }, + "NFCID1Triple": { + "description": "NFCID1 size: triple (10 bytes)", + "value": 2 + } + } + } + } + }, + "PLATFCONFIG": { + "description": "Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification", + "offset": 8, + "size": 4 + }, + "RFU74": { + "description": "Reserved for future use. Shall be 0.", + "offset": 12, + "size": 4 + } + } + } + }, + "SELRES": { + "description": "NFC-A SEL_RES auto-response settings", + "offset": 1444, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RFU10": { + "description": "Reserved for future use. Shall be 0.", + "offset": 0, + "size": 2 + }, + "CASCADE": { + "description": "Cascade bit (controlled by hardware, write has no effect)", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Complete": { + "description": "NFCID1 complete", + "value": 0 + }, + "NotComplete": { + "description": "NFCID1 not complete", + "value": 1 + } + } + } + } + }, + "RFU43": { + "description": "Reserved for future use. Shall be 0.", + "offset": 3, + "size": 2 + }, + "PROTOCOL": { + "description": "Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification", + "offset": 5, + "size": 2 + }, + "RFU7": { + "description": "Reserved for future use. Shall be 0.", + "offset": 7, + "size": 1 + } + } + } + } + } + } + }, + "GPIOTE": { + "description": "GPIO Tasks and Events", + "children": { + "registers": { + "TASKS_OUT": { + "description": "Description collection[0]: Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is configured in CONFIG[0].POLARITY.", + "offset": 0, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SET": { + "description": "Description collection[0]: Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it high.", + "offset": 48, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CLR": { + "description": "Description collection[0]: Task for writing to pin specified in CONFIG[0].PSEL. Action on pin is to set it low.", + "offset": 96, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_IN": { + "description": "Description collection[0]: Event generated from pin specified in CONFIG[0].PSEL", + "offset": 256, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_PORT": { + "description": "Event generated from multiple input GPIO pins with SENSE mechanism enabled", + "offset": 380, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "IN0": { + "description": "Write '1' to Enable interrupt for IN[0] event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN1": { + "description": "Write '1' to Enable interrupt for IN[1] event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN2": { + "description": "Write '1' to Enable interrupt for IN[2] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN3": { + "description": "Write '1' to Enable interrupt for IN[3] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN4": { + "description": "Write '1' to Enable interrupt for IN[4] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN5": { + "description": "Write '1' to Enable interrupt for IN[5] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN6": { + "description": "Write '1' to Enable interrupt for IN[6] event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN7": { + "description": "Write '1' to Enable interrupt for IN[7] event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PORT": { + "description": "Write '1' to Enable interrupt for PORT event", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "IN0": { + "description": "Write '1' to Disable interrupt for IN[0] event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN1": { + "description": "Write '1' to Disable interrupt for IN[1] event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN2": { + "description": "Write '1' to Disable interrupt for IN[2] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN3": { + "description": "Write '1' to Disable interrupt for IN[3] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN4": { + "description": "Write '1' to Disable interrupt for IN[4] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN5": { + "description": "Write '1' to Disable interrupt for IN[5] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN6": { + "description": "Write '1' to Disable interrupt for IN[6] event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN7": { + "description": "Write '1' to Disable interrupt for IN[7] event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PORT": { + "description": "Write '1' to Disable interrupt for PORT event", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Description collection[0]: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event", + "offset": 1296, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Mode", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.", + "value": 0 + }, + "Event": { + "description": "Event mode", + "value": 1 + }, + "Task": { + "description": "Task mode", + "value": 3 + } + } + } + } + }, + "PSEL": { + "description": "GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event", + "offset": 8, + "size": 5 + }, + "POLARITY": { + "description": "When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event.", + "offset": 16, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "None": { + "description": "Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity.", + "value": 0 + }, + "LoToHi": { + "description": "Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin.", + "value": 1 + }, + "HiToLo": { + "description": "Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin.", + "value": 2 + }, + "Toggle": { + "description": "Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin.", + "value": 3 + } + } + } + } + }, + "OUTINIT": { + "description": "When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Task mode: Initial value of pin before task triggering is low", + "value": 0 + }, + "High": { + "description": "Task mode: Initial value of pin before task triggering is high", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "SAADC": { + "description": "Analog to Digital Converter", + "children": { + "registers": { + "TASKS_START": { + "description": "Start the ADC and prepare the result buffer in RAM", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SAMPLE": { + "description": "Take one ADC sample, if scan is enabled all channels are sampled", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop the ADC and terminate any on-going conversion", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CALIBRATEOFFSET": { + "description": "Starts offset auto-calibration", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_STARTED": { + "description": "The ADC has started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_END": { + "description": "The ADC has filled up the Result buffer", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DONE": { + "description": "A conversion task has been completed. Depending on the mode, multiple conversions might be needed for a result to be transferred to RAM.", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RESULTDONE": { + "description": "A result is ready to get transferred to RAM.", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_CALIBRATEDONE": { + "description": "Calibration is complete", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_STOPPED": { + "description": "The ADC has stopped", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Enable or disable interrupt for STARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Enable or disable interrupt for END event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Enable or disable interrupt for DONE event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RESULTDONE": { + "description": "Enable or disable interrupt for RESULTDONE event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CALIBRATEDONE": { + "description": "Enable or disable interrupt for CALIBRATEDONE event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Enable or disable interrupt for STOPPED event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH0LIMITH": { + "description": "Enable or disable interrupt for CH[0].LIMITH event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH0LIMITL": { + "description": "Enable or disable interrupt for CH[0].LIMITL event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH1LIMITH": { + "description": "Enable or disable interrupt for CH[1].LIMITH event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH1LIMITL": { + "description": "Enable or disable interrupt for CH[1].LIMITL event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH2LIMITH": { + "description": "Enable or disable interrupt for CH[2].LIMITH event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH2LIMITL": { + "description": "Enable or disable interrupt for CH[2].LIMITL event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH3LIMITH": { + "description": "Enable or disable interrupt for CH[3].LIMITH event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH3LIMITL": { + "description": "Enable or disable interrupt for CH[3].LIMITL event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH4LIMITH": { + "description": "Enable or disable interrupt for CH[4].LIMITH event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH4LIMITL": { + "description": "Enable or disable interrupt for CH[4].LIMITL event", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH5LIMITH": { + "description": "Enable or disable interrupt for CH[5].LIMITH event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH5LIMITL": { + "description": "Enable or disable interrupt for CH[5].LIMITL event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH6LIMITH": { + "description": "Enable or disable interrupt for CH[6].LIMITH event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH6LIMITL": { + "description": "Enable or disable interrupt for CH[6].LIMITL event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH7LIMITH": { + "description": "Enable or disable interrupt for CH[7].LIMITH event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH7LIMITL": { + "description": "Enable or disable interrupt for CH[7].LIMITL event", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to Enable interrupt for STARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Enable interrupt for END event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to Enable interrupt for DONE event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESULTDONE": { + "description": "Write '1' to Enable interrupt for RESULTDONE event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CALIBRATEDONE": { + "description": "Write '1' to Enable interrupt for CALIBRATEDONE event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITH": { + "description": "Write '1' to Enable interrupt for CH[0].LIMITH event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITL": { + "description": "Write '1' to Enable interrupt for CH[0].LIMITL event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITH": { + "description": "Write '1' to Enable interrupt for CH[1].LIMITH event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITL": { + "description": "Write '1' to Enable interrupt for CH[1].LIMITL event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITH": { + "description": "Write '1' to Enable interrupt for CH[2].LIMITH event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITL": { + "description": "Write '1' to Enable interrupt for CH[2].LIMITL event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITH": { + "description": "Write '1' to Enable interrupt for CH[3].LIMITH event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITL": { + "description": "Write '1' to Enable interrupt for CH[3].LIMITL event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITH": { + "description": "Write '1' to Enable interrupt for CH[4].LIMITH event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITL": { + "description": "Write '1' to Enable interrupt for CH[4].LIMITL event", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITH": { + "description": "Write '1' to Enable interrupt for CH[5].LIMITH event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITL": { + "description": "Write '1' to Enable interrupt for CH[5].LIMITL event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITH": { + "description": "Write '1' to Enable interrupt for CH[6].LIMITH event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITL": { + "description": "Write '1' to Enable interrupt for CH[6].LIMITL event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITH": { + "description": "Write '1' to Enable interrupt for CH[7].LIMITH event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITL": { + "description": "Write '1' to Enable interrupt for CH[7].LIMITL event", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to Disable interrupt for STARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Disable interrupt for END event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to Disable interrupt for DONE event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESULTDONE": { + "description": "Write '1' to Disable interrupt for RESULTDONE event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CALIBRATEDONE": { + "description": "Write '1' to Disable interrupt for CALIBRATEDONE event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITH": { + "description": "Write '1' to Disable interrupt for CH[0].LIMITH event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITL": { + "description": "Write '1' to Disable interrupt for CH[0].LIMITL event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITH": { + "description": "Write '1' to Disable interrupt for CH[1].LIMITH event", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITL": { + "description": "Write '1' to Disable interrupt for CH[1].LIMITL event", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITH": { + "description": "Write '1' to Disable interrupt for CH[2].LIMITH event", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITL": { + "description": "Write '1' to Disable interrupt for CH[2].LIMITL event", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITH": { + "description": "Write '1' to Disable interrupt for CH[3].LIMITH event", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITL": { + "description": "Write '1' to Disable interrupt for CH[3].LIMITL event", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITH": { + "description": "Write '1' to Disable interrupt for CH[4].LIMITH event", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITL": { + "description": "Write '1' to Disable interrupt for CH[4].LIMITL event", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITH": { + "description": "Write '1' to Disable interrupt for CH[5].LIMITH event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITL": { + "description": "Write '1' to Disable interrupt for CH[5].LIMITL event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITH": { + "description": "Write '1' to Disable interrupt for CH[6].LIMITH event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITL": { + "description": "Write '1' to Disable interrupt for CH[6].LIMITL event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITH": { + "description": "Write '1' to Disable interrupt for CH[7].LIMITH event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITL": { + "description": "Write '1' to Disable interrupt for CH[7].LIMITL event", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "STATUS": { + "description": "Status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "Status", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Ready": { + "description": "ADC is ready. No on-going conversion.", + "value": 0 + }, + "Busy": { + "description": "ADC is busy. Conversion in progress.", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable or disable ADC", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable ADC", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable ADC", + "value": 0 + }, + "Enabled": { + "description": "Enable ADC", + "value": 1 + } + } + } + } + } + } + } + }, + "RESOLUTION": { + "description": "Resolution configuration", + "offset": 1520, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "VAL": { + "description": "Set the resolution", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "8bit": { + "description": "8 bit", + "value": 0 + }, + "10bit": { + "description": "10 bit", + "value": 1 + }, + "12bit": { + "description": "12 bit", + "value": 2 + }, + "14bit": { + "description": "14 bit", + "value": 3 + } + } + } + } + } + } + } + }, + "OVERSAMPLE": { + "description": "Oversampling configuration. OVERSAMPLE should not be combined with SCAN. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used.", + "offset": 1524, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERSAMPLE": { + "description": "Oversample control", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Bypass": { + "description": "Bypass oversampling", + "value": 0 + }, + "Over2x": { + "description": "Oversample 2x", + "value": 1 + }, + "Over4x": { + "description": "Oversample 4x", + "value": 2 + }, + "Over8x": { + "description": "Oversample 8x", + "value": 3 + }, + "Over16x": { + "description": "Oversample 16x", + "value": 4 + }, + "Over32x": { + "description": "Oversample 32x", + "value": 5 + }, + "Over64x": { + "description": "Oversample 64x", + "value": 6 + }, + "Over128x": { + "description": "Oversample 128x", + "value": 7 + }, + "Over256x": { + "description": "Oversample 256x", + "value": 8 + } + } + } + } + } + } + } + }, + "SAMPLERATE": { + "description": "Controls normal or continuous sample rate", + "offset": 1528, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CC": { + "description": "Capture and compare value. Sample rate is 16 MHz/CC", + "offset": 0, + "size": 11 + }, + "MODE": { + "description": "Select mode for sample rate control", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Task": { + "description": "Rate is controlled from SAMPLE task", + "value": 0 + }, + "Timers": { + "description": "Rate is controlled from local timer (use CC to control the rate)", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "TIMER0": { + "description": "Timer/Counter 0", + "children": { + "registers": { + "TASKS_START": { + "description": "Start Timer", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop Timer", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_COUNT": { + "description": "Increment Timer (Counter mode only)", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CLEAR": { + "description": "Clear time", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SHUTDOWN": { + "description": "Deprecated register - Shut down timer", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CAPTURE": { + "description": "Description collection[0]: Capture Timer value to CC[0] register", + "offset": 64, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_COMPARE": { + "description": "Description collection[0]: Compare event on CC[0] match", + "offset": 320, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE0_CLEAR": { + "description": "Shortcut between COMPARE[0] event and CLEAR task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE1_CLEAR": { + "description": "Shortcut between COMPARE[1] event and CLEAR task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE2_CLEAR": { + "description": "Shortcut between COMPARE[2] event and CLEAR task", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE3_CLEAR": { + "description": "Shortcut between COMPARE[3] event and CLEAR task", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE4_CLEAR": { + "description": "Shortcut between COMPARE[4] event and CLEAR task", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE5_CLEAR": { + "description": "Shortcut between COMPARE[5] event and CLEAR task", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE0_STOP": { + "description": "Shortcut between COMPARE[0] event and STOP task", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE1_STOP": { + "description": "Shortcut between COMPARE[1] event and STOP task", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE2_STOP": { + "description": "Shortcut between COMPARE[2] event and STOP task", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE3_STOP": { + "description": "Shortcut between COMPARE[3] event and STOP task", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE4_STOP": { + "description": "Shortcut between COMPARE[4] event and STOP task", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE5_STOP": { + "description": "Shortcut between COMPARE[5] event and STOP task", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE0": { + "description": "Write '1' to Enable interrupt for COMPARE[0] event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to Enable interrupt for COMPARE[1] event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to Enable interrupt for COMPARE[2] event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to Enable interrupt for COMPARE[3] event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE4": { + "description": "Write '1' to Enable interrupt for COMPARE[4] event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE5": { + "description": "Write '1' to Enable interrupt for COMPARE[5] event", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE0": { + "description": "Write '1' to Disable interrupt for COMPARE[0] event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to Disable interrupt for COMPARE[1] event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to Disable interrupt for COMPARE[2] event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to Disable interrupt for COMPARE[3] event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE4": { + "description": "Write '1' to Disable interrupt for COMPARE[4] event", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE5": { + "description": "Write '1' to Disable interrupt for COMPARE[5] event", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Timer mode selection", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Timer mode", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Timer": { + "description": "Select Timer mode", + "value": 0 + }, + "Counter": { + "description": "Deprecated enumerator - Select Counter mode", + "value": 1 + }, + "LowPowerCounter": { + "description": "Select Low Power Counter mode", + "value": 2 + } + } + } + } + } + } + } + }, + "BITMODE": { + "description": "Configure the number of bits used by the TIMER", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BITMODE": { + "description": "Timer bit width", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "16Bit": { + "description": "16 bit timer bit width", + "value": 0 + }, + "08Bit": { + "description": "8 bit timer bit width", + "value": 1 + }, + "24Bit": { + "description": "24 bit timer bit width", + "value": 2 + }, + "32Bit": { + "description": "32 bit timer bit width", + "value": 3 + } + } + } + } + } + } + } + }, + "PRESCALER": { + "description": "Timer prescaler register", + "offset": 1296, + "size": 32, + "reset_value": 4, + "reset_mask": 4294967295, + "children": { + "fields": { + "PRESCALER": { + "description": "Prescaler value", + "offset": 0, + "size": 4 + } + } + } + }, + "CC": { + "description": "Description collection[0]: Capture/Compare register 0", + "offset": 1344, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CC": { + "description": "Capture/Compare value", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "NVMC": { + "description": "Non Volatile Memory Controller", + "children": { + "registers": { + "READY": { + "description": "Ready flag", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "READY": { + "description": "NVMC is ready or busy", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Busy": { + "description": "NVMC is busy (on-going write or erase operation)", + "value": 0 + }, + "Ready": { + "description": "NVMC is ready", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "WEN": { + "description": "Program memory access mode. It is strongly recommended to only activate erase and write modes when they are actively used. Enabling write or erase will invalidate the cache and keep it invalidated.", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Ren": { + "description": "Read only access", + "value": 0 + }, + "Wen": { + "description": "Write Enabled", + "value": 1 + }, + "Een": { + "description": "Erase enabled", + "value": 2 + } + } + } + } + } + } + } + }, + "ERASEPAGE": { + "description": "Register for erasing a page in Code area", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEPAGE": { + "description": "Register for starting erase of a page in Code area", + "offset": 0, + "size": 32 + } + } + } + }, + "ERASEPCR1": { + "description": "Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE.", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEPCR1": { + "description": "Register for erasing a page in Code area. Equivalent to ERASEPAGE.", + "offset": 0, + "size": 32 + } + } + } + }, + "ERASEALL": { + "description": "Register for erasing all non-volatile user memory", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEALL": { + "description": "Erase all non-volatile memory including UICR registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoOperation": { + "description": "No operation", + "value": 0 + }, + "Erase": { + "description": "Start chip erase", + "value": 1 + } + } + } + } + } + } + } + }, + "ERASEPCR0": { + "description": "Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE.", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEPCR0": { + "description": "Register for starting erase of a page in Code area. Equivalent to ERASEPAGE.", + "offset": 0, + "size": 32 + } + } + } + }, + "ERASEUICR": { + "description": "Register for erasing User Information Configuration Registers", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEUICR": { + "description": "Register starting erase of all User Information Configuration Registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoOperation": { + "description": "No operation", + "value": 0 + }, + "Erase": { + "description": "Start erase of UICR", + "value": 1 + } + } + } + } + } + } + } + }, + "ICACHECNF": { + "description": "I-Code cache configuration register.", + "offset": 1344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CACHEEN": { + "description": "Cache enable", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable cache. Invalidates all cache entries.", + "value": 0 + }, + "Enabled": { + "description": "Enable cache", + "value": 1 + } + } + } + } + }, + "CACHEPROFEN": { + "description": "Cache profiling enable", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable cache profiling", + "value": 0 + }, + "Enabled": { + "description": "Enable cache profiling", + "value": 1 + } + } + } + } + } + } + } + }, + "IHIT": { + "description": "I-Code cache hit counter.", + "offset": 1352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HITS": { + "description": "Number of cache hits", + "offset": 0, + "size": 32 + } + } + } + }, + "IMISS": { + "description": "I-Code cache miss counter.", + "offset": 1356, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MISSES": { + "description": "Number of cache misses", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "PDM": { + "description": "Pulse Density Modulation (Digital Microphone) Interface", + "children": { + "registers": { + "TASKS_START": { + "description": "Starts continuous PDM transfer", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stops PDM transfer", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_STARTED": { + "description": "PDM transfer has started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_STOPPED": { + "description": "PDM transfer has finished", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_END": { + "description": "The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Enable or disable interrupt for STARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Enable or disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Enable or disable interrupt for END event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to Enable interrupt for STARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Enable interrupt for END event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to Disable interrupt for STARTED event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to Disable interrupt for END event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "PDM module enable register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable PDM module", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "PDMCLKCTRL": { + "description": "PDM clock generator control", + "offset": 1284, + "size": 32, + "reset_value": 138412032, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQ": { + "description": "PDM_CLK frequency", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "1000K": { + "description": "PDM_CLK = 32 MHz / 32 = 1.000 MHz", + "value": 134217728 + }, + "Default": { + "description": "PDM_CLK = 32 MHz / 31 = 1.032 MHz", + "value": 138412032 + }, + "1067K": { + "description": "PDM_CLK = 32 MHz / 30 = 1.067 MHz", + "value": 142606336 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Defines the routing of the connected PDM microphones' signals", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OPERATION": { + "description": "Mono or stereo operation", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Stereo": { + "description": "Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0]", + "value": 0 + }, + "Mono": { + "description": "Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0]", + "value": 1 + } + } + } + } + }, + "EDGE": { + "description": "Defines on which PDM_CLK edge Left (or mono) is sampled", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "LeftFalling": { + "description": "Left (or mono) is sampled on falling edge of PDM_CLK", + "value": 0 + }, + "LeftRising": { + "description": "Left (or mono) is sampled on rising edge of PDM_CLK", + "value": 1 + } + } + } + } + } + } + } + }, + "GAINL": { + "description": "Left output gain adjustment", + "offset": 1304, + "size": 32, + "reset_value": 40, + "reset_mask": 4294967295, + "children": { + "fields": { + "GAINL": { + "description": "Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (...) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (...) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust", + "offset": 0, + "size": 7, + "enum": { + "size": 7, + "children": { + "enum_fields": { + "MinGain": { + "description": "-20dB gain adjustment (minimum)", + "value": 0 + }, + "DefaultGain": { + "description": "0dB gain adjustment ('2500 RMS' requirement)", + "value": 40 + }, + "MaxGain": { + "description": "+20dB gain adjustment (maximum)", + "value": 80 + } + } + } + } + } + } + } + }, + "GAINR": { + "description": "Right output gain adjustment", + "offset": 1308, + "size": 32, + "reset_value": 40, + "reset_mask": 4294967295, + "children": { + "fields": { + "GAINR": { + "description": "Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters)", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "MinGain": { + "description": "-20dB gain adjustment (minimum)", + "value": 0 + }, + "DefaultGain": { + "description": "0dB gain adjustment ('2500 RMS' requirement)", + "value": 40 + }, + "MaxGain": { + "description": "+20dB gain adjustment (maximum)", + "value": 80 + } + } + } + } + } + } + } + } + } + } + }, + "RTC0": { + "description": "Real time counter 0", + "children": { + "registers": { + "TASKS_START": { + "description": "Start RTC COUNTER", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop RTC COUNTER", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CLEAR": { + "description": "Clear RTC COUNTER", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_TRIGOVRFLW": { + "description": "Set COUNTER to 0xFFFFF0", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_TICK": { + "description": "Event on COUNTER increment", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_OVRFLW": { + "description": "Event on COUNTER overflow", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_COMPARE": { + "description": "Description collection[0]: Compare event on CC[0] match", + "offset": 320, + "size": 32, + "count": 4, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to Enable interrupt for TICK event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to Enable interrupt for OVRFLW event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to Enable interrupt for COMPARE[0] event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to Enable interrupt for COMPARE[1] event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to Enable interrupt for COMPARE[2] event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to Enable interrupt for COMPARE[3] event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to Disable interrupt for TICK event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to Disable interrupt for OVRFLW event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to Disable interrupt for COMPARE[0] event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to Disable interrupt for COMPARE[1] event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to Disable interrupt for COMPARE[2] event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to Disable interrupt for COMPARE[3] event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "EVTEN": { + "description": "Enable or disable event routing", + "offset": 832, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Enable or disable event routing for TICK event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Enable or disable event routing for OVRFLW event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Enable or disable event routing for COMPARE[0] event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Enable or disable event routing for COMPARE[1] event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Enable or disable event routing for COMPARE[2] event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Enable or disable event routing for COMPARE[3] event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "EVTENSET": { + "description": "Enable event routing", + "offset": 836, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to Enable event routing for TICK event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to Enable event routing for OVRFLW event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to Enable event routing for COMPARE[0] event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to Enable event routing for COMPARE[1] event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to Enable event routing for COMPARE[2] event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to Enable event routing for COMPARE[3] event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "EVTENCLR": { + "description": "Disable event routing", + "offset": 840, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to Disable event routing for TICK event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to Disable event routing for OVRFLW event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to Disable event routing for COMPARE[0] event", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to Disable event routing for COMPARE[1] event", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to Disable event routing for COMPARE[2] event", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to Disable event routing for COMPARE[3] event", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "COUNTER": { + "description": "Current COUNTER value", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "COUNTER": { + "description": "Counter value", + "offset": 0, + "size": 24 + } + } + } + }, + "PRESCALER": { + "description": "12 bit prescaler for COUNTER frequency (32768/(PRESCALER+1)).Must be written when RTC is stopped", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PRESCALER": { + "description": "Prescaler value", + "offset": 0, + "size": 12 + } + } + } + }, + "CC": { + "description": "Description collection[0]: Compare register 0", + "offset": 1344, + "size": 32, + "count": 4, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE": { + "description": "Compare value", + "offset": 0, + "size": 24 + } + } + } + } + } + } + }, + "TEMP": { + "description": "Temperature Sensor", + "children": { + "registers": { + "TASKS_START": { + "description": "Start temperature measurement", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop temperature measurement", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_DATARDY": { + "description": "Temperature measurement complete, data ready", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DATARDY": { + "description": "Write '1' to Enable interrupt for DATARDY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DATARDY": { + "description": "Write '1' to Disable interrupt for DATARDY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "TEMP": { + "description": "Temperature in degC (0.25deg steps)", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "TEMP": { + "description": "Temperature in degC (0.25deg steps)", + "offset": 0, + "size": 32 + } + } + } + }, + "A0": { + "description": "Slope of 1st piece wise linear function", + "offset": 1312, + "size": 32, + "reset_value": 800, + "reset_mask": 4294967295, + "children": { + "fields": { + "A0": { + "description": "Slope of 1st piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A1": { + "description": "Slope of 2nd piece wise linear function", + "offset": 1316, + "size": 32, + "reset_value": 835, + "reset_mask": 4294967295, + "children": { + "fields": { + "A1": { + "description": "Slope of 2nd piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A2": { + "description": "Slope of 3rd piece wise linear function", + "offset": 1320, + "size": 32, + "reset_value": 861, + "reset_mask": 4294967295, + "children": { + "fields": { + "A2": { + "description": "Slope of 3rd piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A3": { + "description": "Slope of 4th piece wise linear function", + "offset": 1324, + "size": 32, + "reset_value": 1024, + "reset_mask": 4294967295, + "children": { + "fields": { + "A3": { + "description": "Slope of 4th piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A4": { + "description": "Slope of 5th piece wise linear function", + "offset": 1328, + "size": 32, + "reset_value": 1151, + "reset_mask": 4294967295, + "children": { + "fields": { + "A4": { + "description": "Slope of 5th piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A5": { + "description": "Slope of 6th piece wise linear function", + "offset": 1332, + "size": 32, + "reset_value": 891, + "reset_mask": 4294967295, + "children": { + "fields": { + "A5": { + "description": "Slope of 6th piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "B0": { + "description": "y-intercept of 1st piece wise linear function", + "offset": 1344, + "size": 32, + "reset_value": 16332, + "reset_mask": 4294967295, + "children": { + "fields": { + "B0": { + "description": "y-intercept of 1st piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B1": { + "description": "y-intercept of 2nd piece wise linear function", + "offset": 1348, + "size": 32, + "reset_value": 16280, + "reset_mask": 4294967295, + "children": { + "fields": { + "B1": { + "description": "y-intercept of 2nd piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B2": { + "description": "y-intercept of 3rd piece wise linear function", + "offset": 1352, + "size": 32, + "reset_value": 16280, + "reset_mask": 4294967295, + "children": { + "fields": { + "B2": { + "description": "y-intercept of 3rd piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B3": { + "description": "y-intercept of 4th piece wise linear function", + "offset": 1356, + "size": 32, + "reset_value": 18, + "reset_mask": 4294967295, + "children": { + "fields": { + "B3": { + "description": "y-intercept of 4th piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B4": { + "description": "y-intercept of 5th piece wise linear function", + "offset": 1360, + "size": 32, + "reset_value": 106, + "reset_mask": 4294967295, + "children": { + "fields": { + "B4": { + "description": "y-intercept of 5th piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B5": { + "description": "y-intercept of 6th piece wise linear function", + "offset": 1364, + "size": 32, + "reset_value": 15824, + "reset_mask": 4294967295, + "children": { + "fields": { + "B5": { + "description": "y-intercept of 6th piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "T0": { + "description": "End point of 1st piece wise linear function", + "offset": 1376, + "size": 32, + "reset_value": 226, + "reset_mask": 4294967295, + "children": { + "fields": { + "T0": { + "description": "End point of 1st piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T1": { + "description": "End point of 2nd piece wise linear function", + "offset": 1380, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "T1": { + "description": "End point of 2nd piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T2": { + "description": "End point of 3rd piece wise linear function", + "offset": 1384, + "size": 32, + "reset_value": 20, + "reset_mask": 4294967295, + "children": { + "fields": { + "T2": { + "description": "End point of 3rd piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T3": { + "description": "End point of 4th piece wise linear function", + "offset": 1388, + "size": 32, + "reset_value": 25, + "reset_mask": 4294967295, + "children": { + "fields": { + "T3": { + "description": "End point of 4th piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T4": { + "description": "End point of 5th piece wise linear function", + "offset": 1392, + "size": 32, + "reset_value": 80, + "reset_mask": 4294967295, + "children": { + "fields": { + "T4": { + "description": "End point of 5th piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "RNG": { + "description": "Random Number Generator", + "children": { + "registers": { + "TASKS_START": { + "description": "Task starting the random number generator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Task stopping the random number generator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_VALRDY": { + "description": "Event being generated for every new random number written to the VALUE register", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "VALRDY_STOP": { + "description": "Shortcut between VALRDY event and STOP task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "VALRDY": { + "description": "Write '1' to Enable interrupt for VALRDY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "VALRDY": { + "description": "Write '1' to Disable interrupt for VALRDY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DERCEN": { + "description": "Bias correction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "VALUE": { + "description": "Output random number", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "VALUE": { + "description": "Generated random number", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "ECB": { + "description": "AES ECB Mode Encryption", + "children": { + "registers": { + "TASKS_STARTECB": { + "description": "Start ECB block encrypt", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOPECB": { + "description": "Abort a possible executing ECB operation", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_ENDECB": { + "description": "ECB block encrypt complete", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERRORECB": { + "description": "ECB block encrypt aborted because of a STOPECB task or due to an error", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDECB": { + "description": "Write '1' to Enable interrupt for ENDECB event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERRORECB": { + "description": "Write '1' to Enable interrupt for ERRORECB event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDECB": { + "description": "Write '1' to Disable interrupt for ENDECB event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERRORECB": { + "description": "Write '1' to Disable interrupt for ERRORECB event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ECBDATAPTR": { + "description": "ECB block encrypt memory pointers", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ECBDATAPTR": { + "description": "Pointer to the ECB data structure (see Table 1 ECB data structure overview)", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "CCM": { + "description": "AES CCM Mode Encryption", + "children": { + "registers": { + "TASKS_KSGEN": { + "description": "Start generation of key-stream. This operation will stop by itself when completed.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_CRYPT": { + "description": "Start encryption/decryption. This operation will stop by itself when completed.", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop encryption/decryption", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_ENDKSGEN": { + "description": "Key-stream generation complete", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ENDCRYPT": { + "description": "Encrypt/decrypt complete", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ERROR": { + "description": "CCM error event", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDKSGEN_CRYPT": { + "description": "Shortcut between ENDKSGEN event and CRYPT task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDKSGEN": { + "description": "Write '1' to Enable interrupt for ENDKSGEN event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDCRYPT": { + "description": "Write '1' to Enable interrupt for ENDCRYPT event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Enable interrupt for ERROR event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDKSGEN": { + "description": "Write '1' to Disable interrupt for ENDKSGEN event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDCRYPT": { + "description": "Write '1' to Disable interrupt for ENDCRYPT event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to Disable interrupt for ERROR event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "MICSTATUS": { + "description": "MIC check result", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "MICSTATUS": { + "description": "The result of the MIC check performed during the previous decryption operation", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "CheckFailed": { + "description": "MIC check failed", + "value": 0 + }, + "CheckPassed": { + "description": "MIC check passed", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable CCM", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 2 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Operation mode", + "offset": 1284, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "The mode of operation to be used", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Encryption": { + "description": "AES CCM packet encryption mode", + "value": 0 + }, + "Decryption": { + "description": "AES CCM packet decryption mode", + "value": 1 + } + } + } + } + }, + "DATARATE": { + "description": "Data rate that the CCM shall run in synch with", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "1Mbit": { + "description": "In synch with 1 Mbit data rate", + "value": 0 + }, + "2Mbit": { + "description": "In synch with 2 Mbit data rate", + "value": 1 + } + } + } + } + }, + "LENGTH": { + "description": "Packet length configuration", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "Default length. Effective length of LENGTH field is 5-bit", + "value": 0 + }, + "Extended": { + "description": "Extended length. Effective length of LENGTH field is 8-bit", + "value": 1 + } + } + } + } + } + } + } + }, + "CNFPTR": { + "description": "Pointer to data structure holding AES key and NONCE vector", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CNFPTR": { + "description": "Pointer to the data structure holding the AES key and the CCM NONCE vector (see Table 1 CCM data structure overview)", + "offset": 0, + "size": 32 + } + } + } + }, + "INPTR": { + "description": "Input pointer", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "INPTR": { + "description": "Input pointer", + "offset": 0, + "size": 32 + } + } + } + }, + "OUTPTR": { + "description": "Output pointer", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OUTPTR": { + "description": "Output pointer", + "offset": 0, + "size": 32 + } + } + } + }, + "SCRATCHPTR": { + "description": "Pointer to data area used for temporary storage", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SCRATCHPTR": { + "description": "Pointer to a scratch data area used for temporary storage during key-stream generation, MIC generation and encryption/decryption.", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "AAR": { + "description": "Accelerated Address Resolver", + "children": { + "registers": { + "TASKS_START": { + "description": "Start resolving addresses based on IRKs specified in the IRK data structure", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop resolving addresses", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_END": { + "description": "Address resolution procedure complete", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_RESOLVED": { + "description": "Address resolved", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_NOTRESOLVED": { + "description": "Address not resolved", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to Enable interrupt for END event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESOLVED": { + "description": "Write '1' to Enable interrupt for RESOLVED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NOTRESOLVED": { + "description": "Write '1' to Enable interrupt for NOTRESOLVED event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to Disable interrupt for END event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESOLVED": { + "description": "Write '1' to Disable interrupt for RESOLVED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NOTRESOLVED": { + "description": "Write '1' to Disable interrupt for NOTRESOLVED event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "STATUS": { + "description": "Resolution status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "The IRK that was used last time an address was resolved", + "offset": 0, + "size": 4 + } + } + } + }, + "ENABLE": { + "description": "Enable AAR", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable AAR", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 3 + } + } + } + } + } + } + } + }, + "NIRK": { + "description": "Number of IRKs", + "offset": 1284, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "NIRK": { + "description": "Number of Identity root keys available in the IRK data structure", + "offset": 0, + "size": 5 + } + } + } + }, + "IRKPTR": { + "description": "Pointer to IRK data structure", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "IRKPTR": { + "description": "Pointer to the IRK data structure", + "offset": 0, + "size": 32 + } + } + } + }, + "ADDRPTR": { + "description": "Pointer to the resolvable address", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRPTR": { + "description": "Pointer to the resolvable address (6-bytes)", + "offset": 0, + "size": 32 + } + } + } + }, + "SCRATCHPTR": { + "description": "Pointer to data area used for temporary storage", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SCRATCHPTR": { + "description": "Pointer to a scratch data area used for temporary storage during resolution.A space of minimum 3 bytes must be reserved.", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "WDT": { + "description": "Watchdog Timer", + "children": { + "registers": { + "TASKS_START": { + "description": "Start the watchdog", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_TIMEOUT": { + "description": "Watchdog timeout", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TIMEOUT": { + "description": "Write '1' to Enable interrupt for TIMEOUT event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TIMEOUT": { + "description": "Write '1' to Disable interrupt for TIMEOUT event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RUNSTATUS": { + "description": "Run status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RUNSTATUS": { + "description": "Indicates whether or not the watchdog is running", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotRunning": { + "description": "Watchdog not running", + "value": 0 + }, + "Running": { + "description": "Watchdog is running", + "value": 1 + } + } + } + } + } + } + } + }, + "REQSTATUS": { + "description": "Request status", + "offset": 1028, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RR0": { + "description": "Request status for RR[0] register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[0] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[0] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR1": { + "description": "Request status for RR[1] register", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[1] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[1] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR2": { + "description": "Request status for RR[2] register", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[2] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[2] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR3": { + "description": "Request status for RR[3] register", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[3] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[3] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR4": { + "description": "Request status for RR[4] register", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[4] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[4] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR5": { + "description": "Request status for RR[5] register", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[5] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[5] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR6": { + "description": "Request status for RR[6] register", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[6] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[6] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR7": { + "description": "Request status for RR[7] register", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[7] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[7] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + } + } + } + }, + "CRV": { + "description": "Counter reload value", + "offset": 1284, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "CRV": { + "description": "Counter reload value in number of cycles of the 32.768 kHz clock", + "offset": 0, + "size": 32 + } + } + } + }, + "RREN": { + "description": "Enable register for reload request registers", + "offset": 1288, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "RR0": { + "description": "Enable or disable RR[0] register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[0] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[0] register", + "value": 1 + } + } + } + } + }, + "RR1": { + "description": "Enable or disable RR[1] register", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[1] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[1] register", + "value": 1 + } + } + } + } + }, + "RR2": { + "description": "Enable or disable RR[2] register", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[2] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[2] register", + "value": 1 + } + } + } + } + }, + "RR3": { + "description": "Enable or disable RR[3] register", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[3] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[3] register", + "value": 1 + } + } + } + } + }, + "RR4": { + "description": "Enable or disable RR[4] register", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[4] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[4] register", + "value": 1 + } + } + } + } + }, + "RR5": { + "description": "Enable or disable RR[5] register", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[5] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[5] register", + "value": 1 + } + } + } + } + }, + "RR6": { + "description": "Enable or disable RR[6] register", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[6] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[6] register", + "value": 1 + } + } + } + } + }, + "RR7": { + "description": "Enable or disable RR[7] register", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[7] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[7] register", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1292, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "SLEEP": { + "description": "Configure the watchdog to either be paused, or kept running, while the CPU is sleeping", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Pause": { + "description": "Pause watchdog while the CPU is sleeping", + "value": 0 + }, + "Run": { + "description": "Keep the watchdog running while the CPU is sleeping", + "value": 1 + } + } + } + } + }, + "HALT": { + "description": "Configure the watchdog to either be paused, or kept running, while the CPU is halted by the debugger", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Pause": { + "description": "Pause watchdog while the CPU is halted by the debugger", + "value": 0 + }, + "Run": { + "description": "Keep the watchdog running while the CPU is halted by the debugger", + "value": 1 + } + } + } + } + } + } + } + }, + "RR": { + "description": "Description collection[0]: Reload request 0", + "offset": 1536, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "RR": { + "description": "Reload request register", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Reload": { + "description": "Value to request a reload of the watchdog timer", + "value": 1850885685 + } + } + } + } + } + } + } + } + } + } + }, + "PWM0": { + "description": "Pulse Width Modulation Unit 0", + "children": { + "registers": { + "TASKS_STOP": { + "description": "Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SEQSTART": { + "description": "Description collection[0]: Loads the first PWM value on all enabled channels from sequence 0, and starts playing that sequence at the rate defined in SEQ[0]REFRESH and/or DECODER.MODE. Causes PWM generation to start it was not running.", + "offset": 8, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_NEXTSTEP": { + "description": "Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start it was not running.", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_STOPPED": { + "description": "Response to STOP task, emitted when PWM pulses are no longer generated", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_SEQSTARTED": { + "description": "Description collection[0]: First PWM period started on sequence 0", + "offset": 264, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_SEQEND": { + "description": "Description collection[0]: Emitted at end of every sequence 0, when last value from RAM has been applied to wave counter", + "offset": 272, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_PWMPERIODEND": { + "description": "Emitted at the end of each PWM period", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_LOOPSDONE": { + "description": "Concatenated sequences have been played the amount of times defined in LOOP.CNT", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SEQEND0_STOP": { + "description": "Shortcut between SEQEND[0] event and STOP task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "SEQEND1_STOP": { + "description": "Shortcut between SEQEND[1] event and STOP task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LOOPSDONE_SEQSTART0": { + "description": "Shortcut between LOOPSDONE event and SEQSTART[0] task", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LOOPSDONE_SEQSTART1": { + "description": "Shortcut between LOOPSDONE event and SEQSTART[1] task", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LOOPSDONE_STOP": { + "description": "Shortcut between LOOPSDONE event and STOP task", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Enable or disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQSTARTED0": { + "description": "Enable or disable interrupt for SEQSTARTED[0] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQSTARTED1": { + "description": "Enable or disable interrupt for SEQSTARTED[1] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQEND0": { + "description": "Enable or disable interrupt for SEQEND[0] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQEND1": { + "description": "Enable or disable interrupt for SEQEND[1] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PWMPERIODEND": { + "description": "Enable or disable interrupt for PWMPERIODEND event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "LOOPSDONE": { + "description": "Enable or disable interrupt for LOOPSDONE event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED0": { + "description": "Write '1' to Enable interrupt for SEQSTARTED[0] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED1": { + "description": "Write '1' to Enable interrupt for SEQSTARTED[1] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND0": { + "description": "Write '1' to Enable interrupt for SEQEND[0] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND1": { + "description": "Write '1' to Enable interrupt for SEQEND[1] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PWMPERIODEND": { + "description": "Write '1' to Enable interrupt for PWMPERIODEND event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LOOPSDONE": { + "description": "Write '1' to Enable interrupt for LOOPSDONE event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED0": { + "description": "Write '1' to Disable interrupt for SEQSTARTED[0] event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED1": { + "description": "Write '1' to Disable interrupt for SEQSTARTED[1] event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND0": { + "description": "Write '1' to Disable interrupt for SEQEND[0] event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND1": { + "description": "Write '1' to Disable interrupt for SEQEND[1] event", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PWMPERIODEND": { + "description": "Write '1' to Disable interrupt for PWMPERIODEND event", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LOOPSDONE": { + "description": "Write '1' to Disable interrupt for LOOPSDONE event", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "PWM module enable register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable PWM module", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Selects operating mode of the wave counter", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "UPDOWN": { + "description": "Selects up or up and down as wave counter mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Up": { + "description": "Up counter - edge aligned PWM duty-cycle", + "value": 0 + }, + "UpAndDown": { + "description": "Up and down counter - center aligned PWM duty cycle", + "value": 1 + } + } + } + } + } + } + } + }, + "COUNTERTOP": { + "description": "Value up to which the pulse generator counter counts", + "offset": 1288, + "size": 32, + "reset_value": 1023, + "reset_mask": 4294967295, + "children": { + "fields": { + "COUNTERTOP": { + "description": "Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM will be used.", + "offset": 0, + "size": 15 + } + } + } + }, + "PRESCALER": { + "description": "Configuration for PWM_CLK", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PRESCALER": { + "description": "Pre-scaler of PWM_CLK", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "DIV_1": { + "description": "Divide by 1 (16MHz)", + "value": 0 + }, + "DIV_2": { + "description": "Divide by 2 ( 8MHz)", + "value": 1 + }, + "DIV_4": { + "description": "Divide by 4 ( 4MHz)", + "value": 2 + }, + "DIV_8": { + "description": "Divide by 8 ( 2MHz)", + "value": 3 + }, + "DIV_16": { + "description": "Divide by 16 ( 1MHz)", + "value": 4 + }, + "DIV_32": { + "description": "Divide by 32 ( 500kHz)", + "value": 5 + }, + "DIV_64": { + "description": "Divide by 64 ( 250kHz)", + "value": 6 + }, + "DIV_128": { + "description": "Divide by 128 ( 125kHz)", + "value": 7 + } + } + } + } + } + } + } + }, + "DECODER": { + "description": "Configuration of the decoder", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LOAD": { + "description": "How a sequence is read from RAM and spread to the compare register", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Common": { + "description": "1st half word (16-bit) used in all PWM channels 0..3", + "value": 0 + }, + "Grouped": { + "description": "1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3", + "value": 1 + }, + "Individual": { + "description": "1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3", + "value": 2 + }, + "WaveForm": { + "description": "1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP", + "value": 3 + } + } + } + } + }, + "MODE": { + "description": "Selects source for advancing the active sequence", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RefreshCount": { + "description": "SEQ[n].REFRESH is used to determine loading internal compare registers", + "value": 0 + }, + "NextStep": { + "description": "NEXTSTEP task causes a new value to be loaded to internal compare registers", + "value": 1 + } + } + } + } + } + } + } + }, + "LOOP": { + "description": "Amount of playback of a loop", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CNT": { + "description": "Amount of playback of pattern cycles", + "offset": 0, + "size": 16, + "enum": { + "size": 16, + "children": { + "enum_fields": { + "Disabled": { + "description": "Looping disabled (stop at the end of the sequence)", + "value": 0 + } + } + } + } + } + } + } + } + } + } + }, + "QDEC": { + "description": "Quadrature Decoder", + "children": { + "registers": { + "TASKS_START": { + "description": "Task starting the quadrature decoder", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Task stopping the quadrature decoder", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_READCLRACC": { + "description": "Read and clear ACC and ACCDBL", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RDCLRACC": { + "description": "Read and clear ACC", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_RDCLRDBL": { + "description": "Read and clear ACCDBL", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_SAMPLERDY": { + "description": "Event being generated for every new sample value written to the SAMPLE register", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_REPORTRDY": { + "description": "Non-null report ready", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_ACCOF": { + "description": "ACC or ACCDBL register overflow", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DBLRDY": { + "description": "Double displacement(s) detected", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_STOPPED": { + "description": "QDEC has been stopped", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REPORTRDY_READCLRACC": { + "description": "Shortcut between REPORTRDY event and READCLRACC task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "SAMPLERDY_STOP": { + "description": "Shortcut between SAMPLERDY event and STOP task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "REPORTRDY_RDCLRACC": { + "description": "Shortcut between REPORTRDY event and RDCLRACC task", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "REPORTRDY_STOP": { + "description": "Shortcut between REPORTRDY event and STOP task", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DBLRDY_RDCLRDBL": { + "description": "Shortcut between DBLRDY event and RDCLRDBL task", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DBLRDY_STOP": { + "description": "Shortcut between DBLRDY event and STOP task", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "SAMPLERDY_READCLRACC": { + "description": "Shortcut between SAMPLERDY event and READCLRACC task", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SAMPLERDY": { + "description": "Write '1' to Enable interrupt for SAMPLERDY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REPORTRDY": { + "description": "Write '1' to Enable interrupt for REPORTRDY event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACCOF": { + "description": "Write '1' to Enable interrupt for ACCOF event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DBLRDY": { + "description": "Write '1' to Enable interrupt for DBLRDY event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Enable interrupt for STOPPED event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SAMPLERDY": { + "description": "Write '1' to Disable interrupt for SAMPLERDY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REPORTRDY": { + "description": "Write '1' to Disable interrupt for REPORTRDY event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACCOF": { + "description": "Write '1' to Disable interrupt for ACCOF event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DBLRDY": { + "description": "Write '1' to Disable interrupt for DBLRDY event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to Disable interrupt for STOPPED event", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable the quadrature decoder", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable the quadrature decoder", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "LEDPOL": { + "description": "LED output pin polarity", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LEDPOL": { + "description": "LED output pin polarity", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveLow": { + "description": "Led active on output pin low", + "value": 0 + }, + "ActiveHigh": { + "description": "Led active on output pin high", + "value": 1 + } + } + } + } + } + } + } + }, + "SAMPLEPER": { + "description": "Sample period", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SAMPLEPER": { + "description": "Sample period. The SAMPLE register will be updated for every new sample", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "128us": { + "description": "128 us", + "value": 0 + }, + "256us": { + "description": "256 us", + "value": 1 + }, + "512us": { + "description": "512 us", + "value": 2 + }, + "1024us": { + "description": "1024 us", + "value": 3 + }, + "2048us": { + "description": "2048 us", + "value": 4 + }, + "4096us": { + "description": "4096 us", + "value": 5 + }, + "8192us": { + "description": "8192 us", + "value": 6 + }, + "16384us": { + "description": "16384 us", + "value": 7 + }, + "32ms": { + "description": "32768 us", + "value": 8 + }, + "65ms": { + "description": "65536 us", + "value": 9 + }, + "131ms": { + "description": "131072 us", + "value": 10 + } + } + } + } + } + } + } + }, + "SAMPLE": { + "description": "Motion sample value", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SAMPLE": { + "description": "Last motion sample", + "offset": 0, + "size": 32 + } + } + } + }, + "REPORTPER": { + "description": "Number of samples to be taken before REPORTRDY and DBLRDY events can be generated", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REPORTPER": { + "description": "Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "10Smpl": { + "description": "10 samples / report", + "value": 0 + }, + "40Smpl": { + "description": "40 samples / report", + "value": 1 + }, + "80Smpl": { + "description": "80 samples / report", + "value": 2 + }, + "120Smpl": { + "description": "120 samples / report", + "value": 3 + }, + "160Smpl": { + "description": "160 samples / report", + "value": 4 + }, + "200Smpl": { + "description": "200 samples / report", + "value": 5 + }, + "240Smpl": { + "description": "240 samples / report", + "value": 6 + }, + "280Smpl": { + "description": "280 samples / report", + "value": 7 + }, + "1Smpl": { + "description": "1 sample / report", + "value": 8 + } + } + } + } + } + } + } + }, + "ACC": { + "description": "Register accumulating the valid transitions", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACC": { + "description": "Register accumulating all valid samples (not double transition) read from the SAMPLE register", + "offset": 0, + "size": 32 + } + } + } + }, + "ACCREAD": { + "description": "Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACCREAD": { + "description": "Snapshot of the ACC register.", + "offset": 0, + "size": 32 + } + } + } + }, + "DBFEN": { + "description": "Enable input debounce filters", + "offset": 1320, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DBFEN": { + "description": "Enable input debounce filters", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Debounce input filters disabled", + "value": 0 + }, + "Enabled": { + "description": "Debounce input filters enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "LEDPRE": { + "description": "Time period the LED is switched ON prior to sampling", + "offset": 1344, + "size": 32, + "reset_value": 16, + "reset_mask": 4294967295, + "children": { + "fields": { + "LEDPRE": { + "description": "Period in us the LED is switched on prior to sampling", + "offset": 0, + "size": 9 + } + } + } + }, + "ACCDBL": { + "description": "Register accumulating the number of detected double transitions", + "offset": 1348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACCDBL": { + "description": "Register accumulating the number of detected double or illegal transitions. ( SAMPLE = 2 ).", + "offset": 0, + "size": 4 + } + } + } + }, + "ACCDBLREAD": { + "description": "Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task", + "offset": 1352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACCDBLREAD": { + "description": "Snapshot of the ACCDBL register. This field is updated when the READCLRACC or RDCLRDBL task is triggered.", + "offset": 0, + "size": 4 + } + } + } + } + } + } + }, + "COMP": { + "description": "Comparator", + "children": { + "registers": { + "TASKS_START": { + "description": "Start comparator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop comparator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SAMPLE": { + "description": "Sample comparator value", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_READY": { + "description": "COMP is ready and output is valid", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DOWN": { + "description": "Downward crossing", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_UP": { + "description": "Upward crossing", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_CROSS": { + "description": "Downward or upward crossing", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY_SAMPLE": { + "description": "Shortcut between READY event and SAMPLE task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "READY_STOP": { + "description": "Shortcut between READY event and STOP task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DOWN_STOP": { + "description": "Shortcut between DOWN event and STOP task", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "UP_STOP": { + "description": "Shortcut between UP event and STOP task", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "CROSS_STOP": { + "description": "Shortcut between CROSS event and STOP task", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Enable or disable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Enable or disable interrupt for DOWN event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Enable or disable interrupt for UP event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Enable or disable interrupt for CROSS event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Enable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to Enable interrupt for DOWN event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to Enable interrupt for UP event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to Enable interrupt for CROSS event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Disable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to Disable interrupt for DOWN event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to Disable interrupt for UP event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to Disable interrupt for CROSS event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RESULT": { + "description": "Compare result", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RESULT": { + "description": "Result of last compare. Decision point SAMPLE task.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Below": { + "description": "Input voltage is below the threshold (VIN+ < VIN-)", + "value": 0 + }, + "Above": { + "description": "Input voltage is above the threshold (VIN+ > VIN-)", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "COMP enable", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable COMP", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 2 + } + } + } + } + } + } + } + }, + "PSEL": { + "description": "Pin select", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSEL": { + "description": "Analog pin select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "AnalogInput0": { + "description": "AIN0 selected as analog input", + "value": 0 + }, + "AnalogInput1": { + "description": "AIN1 selected as analog input", + "value": 1 + }, + "AnalogInput2": { + "description": "AIN2 selected as analog input", + "value": 2 + }, + "AnalogInput3": { + "description": "AIN3 selected as analog input", + "value": 3 + }, + "AnalogInput4": { + "description": "AIN4 selected as analog input", + "value": 4 + }, + "AnalogInput5": { + "description": "AIN5 selected as analog input", + "value": 5 + }, + "AnalogInput6": { + "description": "AIN6 selected as analog input", + "value": 6 + }, + "AnalogInput7": { + "description": "AIN7 selected as analog input", + "value": 7 + } + } + } + } + } + } + } + }, + "REFSEL": { + "description": "Reference source select for single-ended mode", + "offset": 1288, + "size": 32, + "reset_value": 4, + "reset_mask": 4294967295, + "children": { + "fields": { + "REFSEL": { + "description": "Reference select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Int1V2": { + "description": "VREF = internal 1.2 V reference (VDD >= 1.7 V)", + "value": 0 + }, + "Int1V8": { + "description": "VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V)", + "value": 1 + }, + "Int2V4": { + "description": "VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V)", + "value": 2 + }, + "VDD": { + "description": "VREF = VDD", + "value": 4 + }, + "ARef": { + "description": "VREF = AREF (VDD >= VREF >= AREFMIN)", + "value": 7 + } + } + } + } + } + } + } + }, + "EXTREFSEL": { + "description": "External reference select", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EXTREFSEL": { + "description": "External analog reference select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "AnalogReference0": { + "description": "Use AIN0 as external analog reference", + "value": 0 + }, + "AnalogReference1": { + "description": "Use AIN1 as external analog reference", + "value": 1 + }, + "AnalogReference2": { + "description": "Use AIN2 as external analog reference", + "value": 2 + }, + "AnalogReference3": { + "description": "Use AIN3 as external analog reference", + "value": 3 + }, + "AnalogReference4": { + "description": "Use AIN4 as external analog reference", + "value": 4 + }, + "AnalogReference5": { + "description": "Use AIN5 as external analog reference", + "value": 5 + }, + "AnalogReference6": { + "description": "Use AIN6 as external analog reference", + "value": 6 + }, + "AnalogReference7": { + "description": "Use AIN7 as external analog reference", + "value": 7 + } + } + } + } + } + } + } + }, + "TH": { + "description": "Threshold configuration for hysteresis unit", + "offset": 1328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "THDOWN": { + "description": "VDOWN = (THDOWN+1)/64*VREF", + "offset": 0, + "size": 6 + }, + "THUP": { + "description": "VUP = (THUP+1)/64*VREF", + "offset": 8, + "size": 6 + } + } + } + }, + "MODE": { + "description": "Mode configuration", + "offset": 1332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SP": { + "description": "Speed and power modes", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Low": { + "description": "Low-power mode", + "value": 0 + }, + "Normal": { + "description": "Normal mode", + "value": 1 + }, + "High": { + "description": "High-speed mode", + "value": 2 + } + } + } + } + }, + "MAIN": { + "description": "Main operation modes", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "SE": { + "description": "Single-ended mode", + "value": 0 + }, + "Diff": { + "description": "Differential mode", + "value": 1 + } + } + } + } + } + } + } + }, + "HYST": { + "description": "Comparator hysteresis enable", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HYST": { + "description": "Comparator hysteresis", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoHyst": { + "description": "Comparator hysteresis disabled", + "value": 0 + }, + "Hyst50mV": { + "description": "Comparator hysteresis enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ISOURCE": { + "description": "Current source select on analog input", + "offset": 1340, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ISOURCE": { + "description": "Comparator hysteresis", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Off": { + "description": "Current source disabled", + "value": 0 + }, + "Ien2mA5": { + "description": "Current source enabled (+/- 2.5 uA)", + "value": 1 + }, + "Ien5mA": { + "description": "Current source enabled (+/- 5 uA)", + "value": 2 + }, + "Ien10mA": { + "description": "Current source enabled (+/- 10 uA)", + "value": 3 + } + } + } + } + } + } + } + } + } + } + }, + "LPCOMP": { + "description": "Low Power Comparator", + "children": { + "registers": { + "TASKS_START": { + "description": "Start comparator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_STOP": { + "description": "Stop comparator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "TASKS_SAMPLE": { + "description": "Sample comparator value", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only" + }, + "EVENTS_READY": { + "description": "LPCOMP is ready and output is valid", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_DOWN": { + "description": "Downward crossing", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_UP": { + "description": "Upward crossing", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "EVENTS_CROSS": { + "description": "Downward or upward crossing", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295 + }, + "SHORTS": { + "description": "Shortcut register", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY_SAMPLE": { + "description": "Shortcut between READY event and SAMPLE task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "READY_STOP": { + "description": "Shortcut between READY event and STOP task", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DOWN_STOP": { + "description": "Shortcut between DOWN event and STOP task", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "UP_STOP": { + "description": "Shortcut between UP event and STOP task", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "CROSS_STOP": { + "description": "Shortcut between CROSS event and STOP task", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Enable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to Enable interrupt for DOWN event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to Enable interrupt for UP event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to Enable interrupt for CROSS event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to Disable interrupt for READY event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to Disable interrupt for DOWN event", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to Disable interrupt for UP event", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to Disable interrupt for CROSS event", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RESULT": { + "description": "Compare result", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RESULT": { + "description": "Result of last compare. Decision point SAMPLE task.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Below": { + "description": "Input voltage is below the reference threshold (VIN+ < VIN-).", + "value": 0 + }, + "Above": { + "description": "Input voltage is above the reference threshold (VIN+ > VIN-).", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable LPCOMP", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable LPCOMP", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "PSEL": { + "description": "Input pin select", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSEL": { + "description": "Analog pin select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "AnalogInput0": { + "description": "AIN0 selected as analog input", + "value": 0 + }, + "AnalogInput1": { + "description": "AIN1 selected as analog input", + "value": 1 + }, + "AnalogInput2": { + "description": "AIN2 selected as analog input", + "value": 2 + }, + "AnalogInput3": { + "description": "AIN3 selected as analog input", + "value": 3 + }, + "AnalogInput4": { + "description": "AIN4 selected as analog input", + "value": 4 + }, + "AnalogInput5": { + "description": "AIN5 selected as analog input", + "value": 5 + }, + "AnalogInput6": { + "description": "AIN6 selected as analog input", + "value": 6 + }, + "AnalogInput7": { + "description": "AIN7 selected as analog input", + "value": 7 + } + } + } + } + } + } + } + }, + "REFSEL": { + "description": "Reference select", + "offset": 1288, + "size": 32, + "reset_value": 4, + "reset_mask": 4294967295, + "children": { + "fields": { + "REFSEL": { + "description": "Reference select", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Ref1_8Vdd": { + "description": "VDD * 1/8 selected as reference", + "value": 0 + }, + "Ref2_8Vdd": { + "description": "VDD * 2/8 selected as reference", + "value": 1 + }, + "Ref3_8Vdd": { + "description": "VDD * 3/8 selected as reference", + "value": 2 + }, + "Ref4_8Vdd": { + "description": "VDD * 4/8 selected as reference", + "value": 3 + }, + "Ref5_8Vdd": { + "description": "VDD * 5/8 selected as reference", + "value": 4 + }, + "Ref6_8Vdd": { + "description": "VDD * 6/8 selected as reference", + "value": 5 + }, + "Ref7_8Vdd": { + "description": "VDD * 7/8 selected as reference", + "value": 6 + }, + "ARef": { + "description": "External analog reference selected", + "value": 7 + }, + "Ref1_16Vdd": { + "description": "VDD * 1/16 selected as reference", + "value": 8 + }, + "Ref3_16Vdd": { + "description": "VDD * 3/16 selected as reference", + "value": 9 + }, + "Ref5_16Vdd": { + "description": "VDD * 5/16 selected as reference", + "value": 10 + }, + "Ref7_16Vdd": { + "description": "VDD * 7/16 selected as reference", + "value": 11 + }, + "Ref9_16Vdd": { + "description": "VDD * 9/16 selected as reference", + "value": 12 + }, + "Ref11_16Vdd": { + "description": "VDD * 11/16 selected as reference", + "value": 13 + }, + "Ref13_16Vdd": { + "description": "VDD * 13/16 selected as reference", + "value": 14 + }, + "Ref15_16Vdd": { + "description": "VDD * 15/16 selected as reference", + "value": 15 + } + } + } + } + } + } + } + }, + "EXTREFSEL": { + "description": "External reference select", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EXTREFSEL": { + "description": "External analog reference select", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "AnalogReference0": { + "description": "Use AIN0 as external analog reference", + "value": 0 + }, + "AnalogReference1": { + "description": "Use AIN1 as external analog reference", + "value": 1 + } + } + } + } + } + } + } + }, + "ANADETECT": { + "description": "Analog detect configuration", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ANADETECT": { + "description": "Analog detect configuration", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Cross": { + "description": "Generate ANADETECT on crossing, both upward crossing and downward crossing", + "value": 0 + }, + "Up": { + "description": "Generate ANADETECT on upward crossing only", + "value": 1 + }, + "Down": { + "description": "Generate ANADETECT on downward crossing only", + "value": 2 + } + } + } + } + } + } + } + }, + "HYST": { + "description": "Comparator hysteresis enable", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HYST": { + "description": "Comparator hysteresis enable", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoHyst": { + "description": "Comparator hysteresis disabled", + "value": 0 + }, + "Hyst50mV": { + "description": "Comparator hysteresis disabled (typ. 50 mV)", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "SWI0": { + "description": "Software interrupt 0", + "children": { + "registers": { + "UNUSED": { + "description": "Unused.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only" + } + } + } + } + } + }, + "devices": { + "nrf52": { + "arch": "cortex_m4", + "description": "nRF52832 reference description for radio MCU with ARM 32-bit Cortex-M4 Microcontroller ", + "properties": { + "cpu.nvic_prio_bits": "3", + "cpu.mpu": "1", + "cpu.fpu": "1", + "cpu.revision": "r0p1", + "cpu.vendor_systick_config": "0", + "license": "\nCopyright (c) 2010 - 2021, Nordic Semiconductor ASA All rights reserved.\\n\n\\n\nRedistribution and use in source and binary forms, with or without\\n\nmodification, are permitted provided that the following conditions are met:\\n\n\\n\n1. Redistributions of source code must retain the above copyright notice, this\\n\n list of conditions and the following disclaimer.\\n\n\\n\n2. Redistributions in binary form must reproduce the above copyright\\n\n notice, this list of conditions and the following disclaimer in the\\n\n documentation and/or other materials provided with the distribution.\\n\n\\n\n3. Neither the name of Nordic Semiconductor ASA nor the names of its\\n\n contributors may be used to endorse or promote products derived from this\\n\n software without specific prior written permission.\\n\n\\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\\n\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n\nIMPLIED WARRANTIES OF MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE\\n\nARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE\\n\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\\n\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\\n\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\\n\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\\n\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\\n\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\\n\nPOSSIBILITY OF SUCH DAMAGE.\\n\n ", + "cpu.name": "CM4", + "cpu.endian": "little" + }, + "children": { + "interrupts": { + "MemManageFault": { + "index": -12 + }, + "BusFault": { + "index": -11 + }, + "UsageFault": { + "index": -10 + }, + "DebugMonitor": { + "index": -4 + }, + "NMI": { + "index": -14 + }, + "HardFault": { + "index": -13 + }, + "SVCall": { + "index": -5 + }, + "PendSV": { + "index": -2 + }, + "SysTick": { + "index": -1 + }, + "POWER_CLOCK": { + "index": 0 + }, + "RADIO": { + "index": 1 + }, + "UARTE0_UART0": { + "index": 2 + }, + "SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0": { + "index": 3 + }, + "SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1": { + "index": 4 + }, + "NFCT": { + "index": 5 + }, + "GPIOTE": { + "index": 6 + }, + "SAADC": { + "index": 7 + }, + "TIMER0": { + "index": 8 + }, + "TIMER1": { + "index": 9 + }, + "TIMER2": { + "index": 10 + }, + "RTC0": { + "index": 11 + }, + "TEMP": { + "index": 12 + }, + "RNG": { + "index": 13 + }, + "ECB": { + "index": 14 + }, + "CCM_AAR": { + "index": 15 + }, + "WDT": { + "index": 16 + }, + "RTC1": { + "index": 17 + }, + "QDEC": { + "index": 18 + }, + "COMP_LPCOMP": { + "index": 19 + }, + "SWI0_EGU0": { + "index": 20 + }, + "SWI1_EGU1": { + "index": 21 + }, + "SWI2_EGU2": { + "index": 22 + }, + "SWI3_EGU3": { + "index": 23 + }, + "SWI4_EGU4": { + "index": 24 + }, + "SWI5_EGU5": { + "index": 25 + }, + "TIMER3": { + "index": 26 + }, + "TIMER4": { + "index": 27 + }, + "PWM0": { + "index": 28 + }, + "PDM": { + "index": 29 + }, + "MWU": { + "index": 32 + }, + "PWM1": { + "index": 33 + }, + "PWM2": { + "index": 34 + }, + "SPIM2_SPIS2_SPI2": { + "index": 35 + }, + "RTC2": { + "index": 36 + }, + "I2S": { + "index": 37 + }, + "FPU": { + "index": 38 + } + }, + "peripheral_instances": { + "SysTick": { + "offset": 3758153744, + "type": "types.peripherals.SCS.children.register_groups.SysTick" + }, + "FICR": { + "description": "Factory Information Configuration Registers", + "offset": 268435456, + "type": "types.peripherals.FICR" + }, + "UICR": { + "description": "User Information Configuration Registers", + "offset": 268439552, + "type": "types.peripherals.UICR" + }, + "BPROT": { + "description": "Block Protect", + "offset": 1073741824, + "type": "types.peripherals.BPROT" + }, + "POWER": { + "description": "Power control", + "offset": 1073741824, + "type": "types.peripherals.POWER" + }, + "CLOCK": { + "description": "Clock control", + "offset": 1073741824, + "type": "types.peripherals.CLOCK" + }, + "RADIO": { + "description": "2.4 GHz Radio", + "offset": 1073745920, + "type": "types.peripherals.RADIO" + }, + "UARTE0": { + "description": "UART with EasyDMA", + "offset": 1073750016, + "type": "types.peripherals.UARTE0" + }, + "UART0": { + "description": "Universal Asynchronous Receiver/Transmitter", + "offset": 1073750016, + "type": "types.peripherals.UART0" + }, + "SPIM0": { + "description": "Serial Peripheral Interface Master with EasyDMA 0", + "offset": 1073754112, + "type": "types.peripherals.SPIM0" + }, + "SPIS0": { + "description": "SPI Slave 0", + "offset": 1073754112, + "type": "types.peripherals.SPIS0" + }, + "TWIM0": { + "description": "I2C compatible Two-Wire Master Interface with EasyDMA 0", + "offset": 1073754112, + "type": "types.peripherals.TWIM0" + }, + "TWIS0": { + "description": "I2C compatible Two-Wire Slave Interface with EasyDMA 0", + "offset": 1073754112, + "type": "types.peripherals.TWIS0" + }, + "SPI0": { + "description": "Serial Peripheral Interface 0", + "offset": 1073754112, + "type": "types.peripherals.SPI0" + }, + "TWI0": { + "description": "I2C compatible Two-Wire Interface 0", + "offset": 1073754112, + "type": "types.peripherals.TWI0" + }, + "SPIM1": { + "description": "Serial Peripheral Interface Master with EasyDMA 1", + "offset": 1073758208, + "type": "types.peripherals.SPIM0" + }, + "SPIS1": { + "description": "SPI Slave 1", + "offset": 1073758208, + "type": "types.peripherals.SPIS0" + }, + "TWIM1": { + "description": "I2C compatible Two-Wire Master Interface with EasyDMA 1", + "offset": 1073758208, + "type": "types.peripherals.TWIM0" + }, + "TWIS1": { + "description": "I2C compatible Two-Wire Slave Interface with EasyDMA 1", + "offset": 1073758208, + "type": "types.peripherals.TWIS0" + }, + "SPI1": { + "description": "Serial Peripheral Interface 1", + "offset": 1073758208, + "type": "types.peripherals.SPI0" + }, + "TWI1": { + "description": "I2C compatible Two-Wire Interface 1", + "offset": 1073758208, + "type": "types.peripherals.TWI0" + }, + "NFCT": { + "description": "NFC-A compatible radio", + "offset": 1073762304, + "type": "types.peripherals.NFCT" + }, + "GPIOTE": { + "description": "GPIO Tasks and Events", + "offset": 1073766400, + "type": "types.peripherals.GPIOTE" + }, + "SAADC": { + "description": "Analog to Digital Converter", + "offset": 1073770496, + "type": "types.peripherals.SAADC" + }, + "TIMER0": { + "description": "Timer/Counter 0", + "offset": 1073774592, + "type": "types.peripherals.TIMER0" + }, + "TIMER1": { + "description": "Timer/Counter 1", + "offset": 1073778688, + "type": "types.peripherals.TIMER0" + }, + "TIMER2": { + "description": "Timer/Counter 2", + "offset": 1073782784, + "type": "types.peripherals.TIMER0" + }, + "RTC0": { + "description": "Real time counter 0", + "offset": 1073786880, + "type": "types.peripherals.RTC0" + }, + "TEMP": { + "description": "Temperature Sensor", + "offset": 1073790976, + "type": "types.peripherals.TEMP" + }, + "RNG": { + "description": "Random Number Generator", + "offset": 1073795072, + "type": "types.peripherals.RNG" + }, + "ECB": { + "description": "AES ECB Mode Encryption", + "offset": 1073799168, + "type": "types.peripherals.ECB" + }, + "CCM": { + "description": "AES CCM Mode Encryption", + "offset": 1073803264, + "type": "types.peripherals.CCM" + }, + "AAR": { + "description": "Accelerated Address Resolver", + "offset": 1073803264, + "type": "types.peripherals.AAR" + }, + "WDT": { + "description": "Watchdog Timer", + "offset": 1073807360, + "type": "types.peripherals.WDT" + }, + "RTC1": { + "description": "Real time counter 1", + "offset": 1073811456, + "type": "types.peripherals.RTC0" + }, + "QDEC": { + "description": "Quadrature Decoder", + "offset": 1073815552, + "type": "types.peripherals.QDEC" + }, + "COMP": { + "description": "Comparator", + "offset": 1073819648, + "type": "types.peripherals.COMP" + }, + "LPCOMP": { + "description": "Low Power Comparator", + "offset": 1073819648, + "type": "types.peripherals.LPCOMP" + }, + "SWI0": { + "description": "Software interrupt 0", + "offset": 1073823744, + "type": "types.peripherals.SWI0" + }, + "EGU0": { + "description": "Event Generator Unit 0", + "offset": 1073823744, + "type": "types.peripherals.EGU0" + }, + "SWI1": { + "description": "Software interrupt 1", + "offset": 1073827840, + "type": "types.peripherals.SWI0" + }, + "EGU1": { + "description": "Event Generator Unit 1", + "offset": 1073827840, + "type": "types.peripherals.EGU0" + }, + "SWI2": { + "description": "Software interrupt 2", + "offset": 1073831936, + "type": "types.peripherals.SWI0" + }, + "EGU2": { + "description": "Event Generator Unit 2", + "offset": 1073831936, + "type": "types.peripherals.EGU0" + }, + "SWI3": { + "description": "Software interrupt 3", + "offset": 1073836032, + "type": "types.peripherals.SWI0" + }, + "EGU3": { + "description": "Event Generator Unit 3", + "offset": 1073836032, + "type": "types.peripherals.EGU0" + }, + "SWI4": { + "description": "Software interrupt 4", + "offset": 1073840128, + "type": "types.peripherals.SWI0" + }, + "EGU4": { + "description": "Event Generator Unit 4", + "offset": 1073840128, + "type": "types.peripherals.EGU0" + }, + "SWI5": { + "description": "Software interrupt 5", + "offset": 1073844224, + "type": "types.peripherals.SWI0" + }, + "EGU5": { + "description": "Event Generator Unit 5", + "offset": 1073844224, + "type": "types.peripherals.EGU0" + }, + "TIMER3": { + "description": "Timer/Counter 3", + "offset": 1073848320, + "type": "types.peripherals.TIMER0" + }, + "TIMER4": { + "description": "Timer/Counter 4", + "offset": 1073852416, + "type": "types.peripherals.TIMER0" + }, + "PWM0": { + "description": "Pulse Width Modulation Unit 0", + "offset": 1073856512, + "type": "types.peripherals.PWM0" + }, + "PDM": { + "description": "Pulse Density Modulation (Digital Microphone) Interface", + "offset": 1073860608, + "type": "types.peripherals.PDM" + }, + "NVMC": { + "description": "Non Volatile Memory Controller", + "offset": 1073864704, + "type": "types.peripherals.NVMC" + }, + "PPI": { + "description": "Programmable Peripheral Interconnect", + "offset": 1073868800, + "type": "types.peripherals.PPI" + }, + "MWU": { + "description": "Memory Watch Unit", + "offset": 1073872896, + "type": "types.peripherals.MWU" + }, + "PWM1": { + "description": "Pulse Width Modulation Unit 1", + "offset": 1073876992, + "type": "types.peripherals.PWM0" + }, + "PWM2": { + "description": "Pulse Width Modulation Unit 2", + "offset": 1073881088, + "type": "types.peripherals.PWM0" + }, + "SPIM2": { + "description": "Serial Peripheral Interface Master with EasyDMA 2", + "offset": 1073885184, + "type": "types.peripherals.SPIM0" + }, + "SPIS2": { + "description": "SPI Slave 2", + "offset": 1073885184, + "type": "types.peripherals.SPIS0" + }, + "SPI2": { + "description": "Serial Peripheral Interface 2", + "offset": 1073885184, + "type": "types.peripherals.SPI0" + }, + "RTC2": { + "description": "Real time counter 2", + "offset": 1073889280, + "type": "types.peripherals.RTC0" + }, + "I2S": { + "description": "Inter-IC Sound", + "offset": 1073893376, + "type": "types.peripherals.I2S" + }, + "FPU": { + "description": "FPU", + "offset": 1073897472, + "type": "types.peripherals.FPU" + }, + "P0": { + "description": "GPIO Port 1", + "offset": 1342177280, + "type": "types.peripherals.P0" + } + } + } + } + } +} \ No newline at end of file diff --git a/src/chips/nrf52840.json b/src/chips/nrf52840.json new file mode 100644 index 0000000..a758e21 --- /dev/null +++ b/src/chips/nrf52840.json @@ -0,0 +1,44867 @@ +{ + "version": "0.1.0", + "types": { + "peripherals": { + "SCS": { + "description": "System Control Space", + "children": { + "register_groups": { + "SysTick": { + "description": "System Tick Timer", + "children": { + "registers": { + "CTRL": { + "description": "SysTick Control and Status Register", + "offset": 0, + "size": 32, + "children": { + "fields": { + "ENABLE": { + "offset": 0, + "size": 1 + }, + "TICKINT": { + "offset": 1, + "size": 1 + }, + "CLKSOURCE": { + "offset": 2, + "size": 1 + }, + "COUNTFLAG": { + "offset": 16, + "size": 1 + } + } + } + }, + "LOAD": { + "description": "SysTick Reload Value Register", + "offset": 4, + "size": 32, + "children": { + "fields": { + "RELOAD": { + "offset": 0, + "size": 24 + } + } + } + }, + "VAL": { + "description": "SysTick Current Value Register", + "offset": 8, + "size": 32, + "children": { + "fields": { + "CURRENT": { + "offset": 0, + "size": 24 + } + } + } + }, + "CALIB": { + "description": "SysTick Calibration Register", + "offset": 12, + "size": 32, + "access": "read-only", + "children": { + "fields": { + "TENMS": { + "offset": 0, + "size": 24 + }, + "SKEW": { + "offset": 30, + "size": 1 + }, + "NOREF": { + "offset": 31, + "size": 1 + } + } + } + } + } + } + } + } + } + }, + "FICR": { + "description": "Factory information configuration registers", + "children": { + "registers": { + "CODEPAGESIZE": { + "description": "Code memory page size", + "offset": 16, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "CODEPAGESIZE": { + "description": "Code memory page size", + "offset": 0, + "size": 32 + } + } + } + }, + "CODESIZE": { + "description": "Code memory size", + "offset": 20, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "CODESIZE": { + "description": "Code memory size in number of pages", + "offset": 0, + "size": 32 + } + } + } + }, + "DEVICEID": { + "description": "Description collection: Device identifier", + "offset": 96, + "size": 32, + "count": 2, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DEVICEID": { + "description": "64 bit unique device identifier", + "offset": 0, + "size": 32 + } + } + } + }, + "ER": { + "description": "Description collection: Encryption root, word n", + "offset": 128, + "size": 32, + "count": 4, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ER": { + "description": "Encryption root, word n", + "offset": 0, + "size": 32 + } + } + } + }, + "IR": { + "description": "Description collection: Identity Root, word n", + "offset": 144, + "size": 32, + "count": 4, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "IR": { + "description": "Identity Root, word n", + "offset": 0, + "size": 32 + } + } + } + }, + "DEVICEADDRTYPE": { + "description": "Device address type", + "offset": 160, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DEVICEADDRTYPE": { + "description": "Device address type", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Public": { + "description": "Public address", + "value": 0 + }, + "Random": { + "description": "Random address", + "value": 1 + } + } + } + } + } + } + } + }, + "DEVICEADDR": { + "description": "Description collection: Device address n", + "offset": 164, + "size": 32, + "count": 2, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DEVICEADDR": { + "description": "48 bit device address", + "offset": 0, + "size": 32 + } + } + } + }, + "PRODTEST": { + "description": "Description collection: Production test signature n", + "offset": 848, + "size": 32, + "count": 3, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "PRODTEST": { + "description": "Production test signature n", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Done": { + "description": "Production tests done", + "value": 3141677471 + }, + "NotDone": { + "description": "Production tests not done", + "value": 4294967295 + } + } + } + } + } + } + } + } + } + } + }, + "UICR": { + "description": "User information configuration registers", + "children": { + "registers": { + "NRFFW": { + "description": "Description collection: Reserved for Nordic firmware design", + "offset": 20, + "size": 32, + "count": 13, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "NRFFW": { + "description": "Reserved for Nordic firmware design", + "offset": 0, + "size": 32 + } + } + } + }, + "NRFHW": { + "description": "Description collection: Reserved for Nordic hardware design", + "offset": 80, + "size": 32, + "count": 12, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "NRFHW": { + "description": "Reserved for Nordic hardware design", + "offset": 0, + "size": 32 + } + } + } + }, + "CUSTOMER": { + "description": "Description collection: Reserved for customer", + "offset": 128, + "size": 32, + "count": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "CUSTOMER": { + "description": "Reserved for customer", + "offset": 0, + "size": 32 + } + } + } + }, + "PSELRESET": { + "description": "Description collection: Mapping of the nRESET function (see POWER chapter for details)", + "offset": 512, + "size": 32, + "count": 2, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN": { + "description": "GPIO pin number onto which nRESET is exposed", + "offset": 0, + "size": 5 + }, + "PORT": { + "description": "Port number onto which nRESET is exposed", + "offset": 5, + "size": 1 + }, + "CONNECT": { + "description": "Connection", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 1 + }, + "Connected": { + "description": "Connect", + "value": 0 + } + } + } + } + } + } + } + }, + "APPROTECT": { + "description": "Access port protection", + "offset": 520, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PALL": { + "description": "Enable or disable access port protection.", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 255 + }, + "Enabled": { + "description": "Enable", + "value": 0 + } + } + } + } + } + } + } + }, + "NFCPINS": { + "description": "Setting of pins dedicated to NFC functionality: NFC antenna or GPIO", + "offset": 524, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PROTECT": { + "description": "Setting of pins dedicated to NFC functionality", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Operation as GPIO pins. Same protection as normal GPIO pins", + "value": 0 + }, + "NFC": { + "description": "Operation as NFC antenna pins. Configures the protection for NFC operation", + "value": 1 + } + } + } + } + } + } + } + }, + "DEBUGCTRL": { + "description": "Processor debug control", + "offset": 528, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "CPUNIDEN": { + "description": "Configure CPU non-intrusive debug features", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "Enabled": { + "description": "Enable CPU ITM and ETM functionality (default behavior)", + "value": 255 + }, + "Disabled": { + "description": "Disable CPU ITM and ETM functionality", + "value": 0 + } + } + } + } + }, + "CPUFPBEN": { + "description": "Configure CPU flash patch and breakpoint (FPB) unit behavior", + "offset": 8, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "Enabled": { + "description": "Enable CPU FPB unit (default behavior)", + "value": 255 + }, + "Disabled": { + "description": "Disable CPU FPB unit. Writes into the FPB registers will be ignored.", + "value": 0 + } + } + } + } + } + } + } + }, + "REGOUT0": { + "description": "GPIO reference voltage / external output supply voltage in high voltage mode", + "offset": 772, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "VOUT": { + "description": "Output voltage from of REG0 regulator stage. The maximum output voltage from this stage is given as VDDH - VEXDIF.", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "1V8": { + "description": "1.8 V", + "value": 0 + }, + "2V1": { + "description": "2.1 V", + "value": 1 + }, + "2V4": { + "description": "2.4 V", + "value": 2 + }, + "2V7": { + "description": "2.7 V", + "value": 3 + }, + "3V0": { + "description": "3.0 V", + "value": 4 + }, + "3V3": { + "description": "3.3 V", + "value": 5 + }, + "DEFAULT": { + "description": "Default voltage: 1.8 V", + "value": 7 + } + } + } + } + } + } + } + } + } + } + }, + "CLOCK": { + "description": "Clock control", + "children": { + "registers": { + "TASKS_HFCLKSTART": { + "description": "Start HFXO crystal oscillator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_HFCLKSTART": { + "description": "Start HFXO crystal oscillator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_HFCLKSTOP": { + "description": "Stop HFXO crystal oscillator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_HFCLKSTOP": { + "description": "Stop HFXO crystal oscillator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_LFCLKSTART": { + "description": "Start LFCLK", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_LFCLKSTART": { + "description": "Start LFCLK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_LFCLKSTOP": { + "description": "Stop LFCLK", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_LFCLKSTOP": { + "description": "Stop LFCLK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CAL": { + "description": "Start calibration of LFRC", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CAL": { + "description": "Start calibration of LFRC", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CTSTART": { + "description": "Start calibration timer", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CTSTART": { + "description": "Start calibration timer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CTSTOP": { + "description": "Stop calibration timer", + "offset": 24, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CTSTOP": { + "description": "Stop calibration timer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_HFCLKSTARTED": { + "description": "HFXO crystal oscillator started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_HFCLKSTARTED": { + "description": "HFXO crystal oscillator started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_LFCLKSTARTED": { + "description": "LFCLK started", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_LFCLKSTARTED": { + "description": "LFCLK started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DONE": { + "description": "Calibration of LFRC completed", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DONE": { + "description": "Calibration of LFRC completed", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CTTO": { + "description": "Calibration timer timeout", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CTTO": { + "description": "Calibration timer timeout", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CTSTARTED": { + "description": "Calibration timer has been started and is ready to process new tasks", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CTSTARTED": { + "description": "Calibration timer has been started and is ready to process new tasks", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CTSTOPPED": { + "description": "Calibration timer has been stopped and is ready to process new tasks", + "offset": 300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CTSTOPPED": { + "description": "Calibration timer has been stopped and is ready to process new tasks", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HFCLKSTARTED": { + "description": "Write '1' to enable interrupt for event HFCLKSTARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LFCLKSTARTED": { + "description": "Write '1' to enable interrupt for event LFCLKSTARTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to enable interrupt for event DONE", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTTO": { + "description": "Write '1' to enable interrupt for event CTTO", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTSTARTED": { + "description": "Write '1' to enable interrupt for event CTSTARTED", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTSTOPPED": { + "description": "Write '1' to enable interrupt for event CTSTOPPED", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HFCLKSTARTED": { + "description": "Write '1' to disable interrupt for event HFCLKSTARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LFCLKSTARTED": { + "description": "Write '1' to disable interrupt for event LFCLKSTARTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to disable interrupt for event DONE", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTTO": { + "description": "Write '1' to disable interrupt for event CTTO", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTSTARTED": { + "description": "Write '1' to disable interrupt for event CTSTARTED", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CTSTOPPED": { + "description": "Write '1' to disable interrupt for event CTSTOPPED", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "HFCLKRUN": { + "description": "Status indicating that HFCLKSTART task has been triggered", + "offset": 1032, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "HFCLKSTART task triggered or not", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotTriggered": { + "description": "Task not triggered", + "value": 0 + }, + "Triggered": { + "description": "Task triggered", + "value": 1 + } + } + } + } + } + } + } + }, + "HFCLKSTAT": { + "description": "HFCLK status", + "offset": 1036, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SRC": { + "description": "Source of HFCLK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RC": { + "description": "64 MHz internal oscillator (HFINT)", + "value": 0 + }, + "Xtal": { + "description": "64 MHz crystal oscillator (HFXO)", + "value": 1 + } + } + } + } + }, + "STATE": { + "description": "HFCLK state", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotRunning": { + "description": "HFCLK not running", + "value": 0 + }, + "Running": { + "description": "HFCLK running", + "value": 1 + } + } + } + } + } + } + } + }, + "LFCLKRUN": { + "description": "Status indicating that LFCLKSTART task has been triggered", + "offset": 1044, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "LFCLKSTART task triggered or not", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotTriggered": { + "description": "Task not triggered", + "value": 0 + }, + "Triggered": { + "description": "Task triggered", + "value": 1 + } + } + } + } + } + } + } + }, + "LFCLKSTAT": { + "description": "LFCLK status", + "offset": 1048, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SRC": { + "description": "Source of LFCLK", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "RC": { + "description": "32.768 kHz RC oscillator (LFRC)", + "value": 0 + }, + "Xtal": { + "description": "32.768 kHz crystal oscillator (LFXO)", + "value": 1 + }, + "Synth": { + "description": "32.768 kHz synthesized from HFCLK (LFSYNT)", + "value": 2 + } + } + } + } + }, + "STATE": { + "description": "LFCLK state", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotRunning": { + "description": "LFCLK not running", + "value": 0 + }, + "Running": { + "description": "LFCLK running", + "value": 1 + } + } + } + } + } + } + } + }, + "LFCLKSRCCOPY": { + "description": "Copy of LFCLKSRC register, set when LFCLKSTART task was triggered", + "offset": 1052, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SRC": { + "description": "Clock source", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "RC": { + "description": "32.768 kHz RC oscillator (LFRC)", + "value": 0 + }, + "Xtal": { + "description": "32.768 kHz crystal oscillator (LFXO)", + "value": 1 + }, + "Synth": { + "description": "32.768 kHz synthesized from HFCLK (LFSYNT)", + "value": 2 + } + } + } + } + } + } + } + }, + "LFCLKSRC": { + "description": "Clock source for the LFCLK", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SRC": { + "description": "Clock source", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "RC": { + "description": "32.768 kHz RC oscillator (LFRC)", + "value": 0 + }, + "Xtal": { + "description": "32.768 kHz crystal oscillator (LFXO)", + "value": 1 + }, + "Synth": { + "description": "32.768 kHz synthesized from HFCLK (LFSYNT)", + "value": 2 + } + } + } + } + }, + "BYPASS": { + "description": "Enable or disable bypass of LFCLK crystal oscillator with external clock source", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable (use with Xtal or low-swing external source)", + "value": 0 + }, + "Enabled": { + "description": "Enable (use with rail-to-rail external source)", + "value": 1 + } + } + } + } + }, + "EXTERNAL": { + "description": "Enable or disable external source for LFCLK", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable external source (use with Xtal)", + "value": 0 + }, + "Enabled": { + "description": "Enable use of external source instead of Xtal (SRC needs to be set to Xtal)", + "value": 1 + } + } + } + } + } + } + } + }, + "HFXODEBOUNCE": { + "description": "HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task.", + "offset": 1320, + "size": 32, + "reset_value": 16, + "reset_mask": 4294967295, + "children": { + "fields": { + "HFXODEBOUNCE": { + "description": "HFXO debounce time. Debounce time = HFXODEBOUNCE * 16 us.", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "Db256us": { + "description": "256 us debounce time. Recommended for TSX-3225, FA-20H and FA-128 crystals.", + "value": 16 + }, + "Db1024us": { + "description": "1024 us debounce time. Recommended for NX1612AA and NX1210AB crystals.", + "value": 64 + } + } + } + } + } + } + } + }, + "CTIV": { + "description": "Calibration timer interval", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTIV": { + "description": "Calibration timer interval in multiple of 0.25 seconds. Range: 0.25 seconds to 31.75 seconds.", + "offset": 0, + "size": 7 + } + } + } + }, + "TRACECONFIG": { + "description": "Clocking options for the trace port debug interface", + "offset": 1372, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRACEPORTSPEED": { + "description": "Speed of trace port clock. Note that the TRACECLK pin will output this clock divided by two.", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "32MHz": { + "description": "32 MHz trace port clock (TRACECLK = 16 MHz)", + "value": 0 + }, + "16MHz": { + "description": "16 MHz trace port clock (TRACECLK = 8 MHz)", + "value": 1 + }, + "8MHz": { + "description": "8 MHz trace port clock (TRACECLK = 4 MHz)", + "value": 2 + }, + "4MHz": { + "description": "4 MHz trace port clock (TRACECLK = 2 MHz)", + "value": 3 + } + } + } + } + }, + "TRACEMUX": { + "description": "Pin multiplexing of trace signals. See pin assignment chapter for more details.", + "offset": 16, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "GPIO": { + "description": "No trace signals routed to pins. All pins can be used as regular GPIOs.", + "value": 0 + }, + "Serial": { + "description": "SWO trace signal routed to pin. Remaining pins can be used as regular GPIOs.", + "value": 1 + }, + "Parallel": { + "description": "All trace signals (TRACECLK and TRACEDATA[n]) routed to pins.", + "value": 2 + } + } + } + } + } + } + } + }, + "LFRCMODE": { + "description": "LFRC mode configuration", + "offset": 1460, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Set LFRC mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Normal": { + "description": "Normal mode", + "value": 0 + }, + "ULP": { + "description": "Ultra-low power mode (ULP)", + "value": 1 + } + } + } + } + }, + "STATUS": { + "description": "Active LFRC mode. This field is read only.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Normal": { + "description": "Normal mode", + "value": 0 + }, + "ULP": { + "description": "Ultra-low power mode (ULP)", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "POWER": { + "description": "Power control", + "children": { + "registers": { + "TASKS_CONSTLAT": { + "description": "Enable Constant Latency mode", + "offset": 120, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CONSTLAT": { + "description": "Enable Constant Latency mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_LOWPWR": { + "description": "Enable Low-power mode (variable latency)", + "offset": 124, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_LOWPWR": { + "description": "Enable Low-power mode (variable latency)", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_POFWARN": { + "description": "Power failure warning", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_POFWARN": { + "description": "Power failure warning", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SLEEPENTER": { + "description": "CPU entered WFI/WFE sleep", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SLEEPENTER": { + "description": "CPU entered WFI/WFE sleep", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SLEEPEXIT": { + "description": "CPU exited WFI/WFE sleep", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SLEEPEXIT": { + "description": "CPU exited WFI/WFE sleep", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_USBDETECTED": { + "description": "Voltage supply detected on VBUS", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_USBDETECTED": { + "description": "Voltage supply detected on VBUS", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_USBREMOVED": { + "description": "Voltage supply removed from VBUS", + "offset": 288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_USBREMOVED": { + "description": "Voltage supply removed from VBUS", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_USBPWRRDY": { + "description": "USB 3.3 V supply ready", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_USBPWRRDY": { + "description": "USB 3.3 V supply ready", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "POFWARN": { + "description": "Write '1' to enable interrupt for event POFWARN", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPENTER": { + "description": "Write '1' to enable interrupt for event SLEEPENTER", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPEXIT": { + "description": "Write '1' to enable interrupt for event SLEEPEXIT", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBDETECTED": { + "description": "Write '1' to enable interrupt for event USBDETECTED", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBREMOVED": { + "description": "Write '1' to enable interrupt for event USBREMOVED", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBPWRRDY": { + "description": "Write '1' to enable interrupt for event USBPWRRDY", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "POFWARN": { + "description": "Write '1' to disable interrupt for event POFWARN", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPENTER": { + "description": "Write '1' to disable interrupt for event SLEEPENTER", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SLEEPEXIT": { + "description": "Write '1' to disable interrupt for event SLEEPEXIT", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBDETECTED": { + "description": "Write '1' to disable interrupt for event USBDETECTED", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBREMOVED": { + "description": "Write '1' to disable interrupt for event USBREMOVED", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBPWRRDY": { + "description": "Write '1' to disable interrupt for event USBPWRRDY", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RESETREAS": { + "description": "Reset reason", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RESETPIN": { + "description": "Reset from pin-reset detected", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "DOG": { + "description": "Reset from watchdog detected", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "SREQ": { + "description": "Reset from soft reset detected", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "LOCKUP": { + "description": "Reset from CPU lock-up detected", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "OFF": { + "description": "Reset due to wake up from System OFF mode when wakeup is triggered from DETECT signal from GPIO", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "LPCOMP": { + "description": "Reset due to wake up from System OFF mode when wakeup is triggered from ANADETECT signal from LPCOMP", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "DIF": { + "description": "Reset due to wake up from System OFF mode when wakeup is triggered from entering into debug interface mode", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "NFC": { + "description": "Reset due to wake up from System OFF mode by NFC field detect", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + }, + "VBUS": { + "description": "Reset due to wake up from System OFF mode by VBUS rising into valid range", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Not detected", + "value": 0 + }, + "Detected": { + "description": "Detected", + "value": 1 + } + } + } + } + } + } + } + }, + "RAMSTATUS": { + "description": "Deprecated register - RAM status register", + "offset": 1064, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RAMBLOCK0": { + "description": "RAM block 0 is on or off/powering up", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "RAMBLOCK1": { + "description": "RAM block 1 is on or off/powering up", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "RAMBLOCK2": { + "description": "RAM block 2 is on or off/powering up", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + }, + "RAMBLOCK3": { + "description": "RAM block 3 is on or off/powering up", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Off": { + "description": "Off", + "value": 0 + }, + "On": { + "description": "On", + "value": 1 + } + } + } + } + } + } + } + }, + "USBREGSTATUS": { + "description": "USB supply status", + "offset": 1080, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "VBUSDETECT": { + "description": "VBUS input detection status (USBDETECTED and USBREMOVED events are derived from this information)", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoVbus": { + "description": "VBUS voltage below valid threshold", + "value": 0 + }, + "VbusPresent": { + "description": "VBUS voltage above valid threshold", + "value": 1 + } + } + } + } + }, + "OUTPUTRDY": { + "description": "USB supply output settling time elapsed", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReady": { + "description": "USBREG output settling time not elapsed", + "value": 0 + }, + "Ready": { + "description": "USBREG output settling time elapsed (same information as USBPWRRDY event)", + "value": 1 + } + } + } + } + } + } + } + }, + "SYSTEMOFF": { + "description": "System OFF register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "SYSTEMOFF": { + "description": "Enable System OFF mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Enter": { + "description": "Enable System OFF mode", + "value": 1 + } + } + } + } + } + } + } + }, + "POFCON": { + "description": "Power-fail comparator configuration", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "POF": { + "description": "Enable or disable power failure warning", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "THRESHOLD": { + "description": "Power-fail comparator threshold setting. This setting applies both for normal voltage mode (supply connected to both VDD and VDDH) and high voltage mode (supply connected to VDDH only). Values 0-3 set threshold below 1.7 V and should not be used as brown out detection will be activated before power failure warning on such low voltages.", + "offset": 1, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "V17": { + "description": "Set threshold to 1.7 V", + "value": 4 + }, + "V18": { + "description": "Set threshold to 1.8 V", + "value": 5 + }, + "V19": { + "description": "Set threshold to 1.9 V", + "value": 6 + }, + "V20": { + "description": "Set threshold to 2.0 V", + "value": 7 + }, + "V21": { + "description": "Set threshold to 2.1 V", + "value": 8 + }, + "V22": { + "description": "Set threshold to 2.2 V", + "value": 9 + }, + "V23": { + "description": "Set threshold to 2.3 V", + "value": 10 + }, + "V24": { + "description": "Set threshold to 2.4 V", + "value": 11 + }, + "V25": { + "description": "Set threshold to 2.5 V", + "value": 12 + }, + "V26": { + "description": "Set threshold to 2.6 V", + "value": 13 + }, + "V27": { + "description": "Set threshold to 2.7 V", + "value": 14 + }, + "V28": { + "description": "Set threshold to 2.8 V", + "value": 15 + } + } + } + } + }, + "THRESHOLDVDDH": { + "description": "Power-fail comparator threshold setting for high voltage mode (supply connected to VDDH only). This setting does not apply for normal voltage mode (supply connected to both VDD and VDDH).", + "offset": 8, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "V27": { + "description": "Set threshold to 2.7 V", + "value": 0 + }, + "V28": { + "description": "Set threshold to 2.8 V", + "value": 1 + }, + "V29": { + "description": "Set threshold to 2.9 V", + "value": 2 + }, + "V30": { + "description": "Set threshold to 3.0 V", + "value": 3 + }, + "V31": { + "description": "Set threshold to 3.1 V", + "value": 4 + }, + "V32": { + "description": "Set threshold to 3.2 V", + "value": 5 + }, + "V33": { + "description": "Set threshold to 3.3 V", + "value": 6 + }, + "V34": { + "description": "Set threshold to 3.4 V", + "value": 7 + }, + "V35": { + "description": "Set threshold to 3.5 V", + "value": 8 + }, + "V36": { + "description": "Set threshold to 3.6 V", + "value": 9 + }, + "V37": { + "description": "Set threshold to 3.7 V", + "value": 10 + }, + "V38": { + "description": "Set threshold to 3.8 V", + "value": 11 + }, + "V39": { + "description": "Set threshold to 3.9 V", + "value": 12 + }, + "V40": { + "description": "Set threshold to 4.0 V", + "value": 13 + }, + "V41": { + "description": "Set threshold to 4.1 V", + "value": 14 + }, + "V42": { + "description": "Set threshold to 4.2 V", + "value": 15 + } + } + } + } + } + } + } + }, + "GPREGRET": { + "description": "General purpose retention register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "GPREGRET": { + "description": "General purpose retention register", + "offset": 0, + "size": 8 + } + } + } + }, + "GPREGRET2": { + "description": "General purpose retention register", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "GPREGRET": { + "description": "General purpose retention register", + "offset": 0, + "size": 8 + } + } + } + }, + "DCDCEN": { + "description": "Enable DC/DC converter for REG1 stage", + "offset": 1400, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DCDCEN": { + "description": "Enable DC/DC converter for REG1 stage.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "DCDCEN0": { + "description": "Enable DC/DC converter for REG0 stage", + "offset": 1408, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DCDCEN": { + "description": "Enable DC/DC converter for REG0 stage.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "MAINREGSTATUS": { + "description": "Main supply status", + "offset": 1600, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "MAINREGSTATUS": { + "description": "Main supply status", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Normal": { + "description": "Normal voltage mode. Voltage supplied on VDD.", + "value": 0 + }, + "High": { + "description": "High voltage mode. Voltage supplied on VDDH.", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "P0": { + "description": "GPIO Port 1", + "children": { + "registers": { + "OUT": { + "description": "Write GPIO port", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin driver is low", + "value": 0 + }, + "High": { + "description": "Pin driver is high", + "value": 1 + } + } + } + } + } + } + } + }, + "OUTSET": { + "description": "Set individual bits in GPIO port", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + } + } + } + }, + "OUTCLR": { + "description": "Clear individual bits in GPIO port", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Read: pin driver is low", + "value": 0 + }, + "High": { + "description": "Read: pin driver is high", + "value": 1 + } + } + } + } + } + } + } + }, + "IN": { + "description": "Read GPIO port", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Pin input is low", + "value": 0 + }, + "High": { + "description": "Pin input is high", + "value": 1 + } + } + } + } + } + } + } + }, + "DIR": { + "description": "Direction of GPIO pins", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Pin set as input", + "value": 0 + }, + "Output": { + "description": "Pin set as output", + "value": 1 + } + } + } + } + } + } + } + }, + "DIRSET": { + "description": "DIR set register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Set as output pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Set as output pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Set as output pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Set as output pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Set as output pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Set as output pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Set as output pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Set as output pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Set as output pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Set as output pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Set as output pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Set as output pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Set as output pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Set as output pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Set as output pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Set as output pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Set as output pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Set as output pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Set as output pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Set as output pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Set as output pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Set as output pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Set as output pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Set as output pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Set as output pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Set as output pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Set as output pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Set as output pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Set as output pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Set as output pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Set as output pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Set as output pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + } + } + } + }, + "DIRCLR": { + "description": "DIR clear register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Set as input pin 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Set as input pin 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Set as input pin 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Set as input pin 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Set as input pin 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Set as input pin 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Set as input pin 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Set as input pin 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Set as input pin 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Set as input pin 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Set as input pin 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Set as input pin 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Set as input pin 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Set as input pin 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Set as input pin 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Set as input pin 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Set as input pin 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Set as input pin 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Set as input pin 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Set as input pin 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Set as input pin 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Set as input pin 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Set as input pin 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Set as input pin 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Set as input pin 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Set as input pin 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Set as input pin 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Set as input pin 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Set as input pin 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Set as input pin 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Set as input pin 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Set as input pin 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Read: pin set as input", + "value": 0 + }, + "Output": { + "description": "Read: pin set as output", + "value": 1 + } + } + } + } + } + } + } + }, + "LATCH": { + "description": "Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN0": { + "description": "Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write '1' to clear.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN1": { + "description": "Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register. Write '1' to clear.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN2": { + "description": "Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write '1' to clear.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN3": { + "description": "Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register. Write '1' to clear.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN4": { + "description": "Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register. Write '1' to clear.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN5": { + "description": "Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register. Write '1' to clear.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN6": { + "description": "Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register. Write '1' to clear.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN7": { + "description": "Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register. Write '1' to clear.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN8": { + "description": "Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register. Write '1' to clear.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN9": { + "description": "Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register. Write '1' to clear.", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN10": { + "description": "Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register. Write '1' to clear.", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN11": { + "description": "Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register. Write '1' to clear.", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN12": { + "description": "Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register. Write '1' to clear.", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN13": { + "description": "Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register. Write '1' to clear.", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN14": { + "description": "Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register. Write '1' to clear.", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN15": { + "description": "Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register. Write '1' to clear.", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN16": { + "description": "Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register. Write '1' to clear.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN17": { + "description": "Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register. Write '1' to clear.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN18": { + "description": "Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register. Write '1' to clear.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN19": { + "description": "Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register. Write '1' to clear.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN20": { + "description": "Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register. Write '1' to clear.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN21": { + "description": "Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register. Write '1' to clear.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN22": { + "description": "Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register. Write '1' to clear.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN23": { + "description": "Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register. Write '1' to clear.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN24": { + "description": "Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register. Write '1' to clear.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN25": { + "description": "Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register. Write '1' to clear.", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN26": { + "description": "Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register. Write '1' to clear.", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN27": { + "description": "Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register. Write '1' to clear.", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN28": { + "description": "Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register. Write '1' to clear.", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN29": { + "description": "Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register. Write '1' to clear.", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN30": { + "description": "Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register. Write '1' to clear.", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + }, + "PIN31": { + "description": "Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register. Write '1' to clear.", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLatched": { + "description": "Criteria has not been met", + "value": 0 + }, + "Latched": { + "description": "Criteria has been met", + "value": 1 + } + } + } + } + } + } + } + }, + "DETECTMODE": { + "description": "Select between default DETECT signal behaviour and LDETECT mode", + "offset": 1316, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DETECTMODE": { + "description": "Select between default DETECT signal behaviour and LDETECT mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "DETECT directly connected to PIN DETECT signals", + "value": 0 + }, + "LDETECT": { + "description": "Use the latched LDETECT behaviour", + "value": 1 + } + } + } + } + } + } + } + }, + "PIN_CNF": { + "description": "Description collection: Configuration of GPIO pins", + "offset": 1792, + "size": 32, + "count": 32, + "reset_value": 2, + "reset_mask": 4294967295, + "children": { + "fields": { + "DIR": { + "description": "Pin direction. Same physical register as DIR register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Input": { + "description": "Configure pin as an input pin", + "value": 0 + }, + "Output": { + "description": "Configure pin as an output pin", + "value": 1 + } + } + } + } + }, + "INPUT": { + "description": "Connect or disconnect input buffer", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Connect": { + "description": "Connect input buffer", + "value": 0 + }, + "Disconnect": { + "description": "Disconnect input buffer", + "value": 1 + } + } + } + } + }, + "PULL": { + "description": "Pull configuration", + "offset": 2, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "No pull", + "value": 0 + }, + "Pulldown": { + "description": "Pull down on pin", + "value": 1 + }, + "Pullup": { + "description": "Pull up on pin", + "value": 3 + } + } + } + } + }, + "DRIVE": { + "description": "Drive configuration", + "offset": 8, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "S0S1": { + "description": "Standard '0', standard '1'", + "value": 0 + }, + "H0S1": { + "description": "High drive '0', standard '1'", + "value": 1 + }, + "S0H1": { + "description": "Standard '0', high drive '1'", + "value": 2 + }, + "H0H1": { + "description": "High drive '0', high 'drive '1''", + "value": 3 + }, + "D0S1": { + "description": "Disconnect '0' standard '1' (normally used for wired-or connections)", + "value": 4 + }, + "D0H1": { + "description": "Disconnect '0', high drive '1' (normally used for wired-or connections)", + "value": 5 + }, + "S0D1": { + "description": "Standard '0'. disconnect '1' (normally used for wired-and connections)", + "value": 6 + }, + "H0D1": { + "description": "High drive '0', disconnect '1' (normally used for wired-and connections)", + "value": 7 + } + } + } + } + }, + "SENSE": { + "description": "Pin sensing mechanism", + "offset": 16, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "High": { + "description": "Sense for high level", + "value": 2 + }, + "Low": { + "description": "Sense for low level", + "value": 3 + } + } + } + } + } + } + } + } + } + } + }, + "ACL": { + "description": "Access control lists" + }, + "RADIO": { + "description": "2.4 GHz radio", + "children": { + "registers": { + "TASKS_TXEN": { + "description": "Enable RADIO in TX mode", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_TXEN": { + "description": "Enable RADIO in TX mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RXEN": { + "description": "Enable RADIO in RX mode", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RXEN": { + "description": "Enable RADIO in RX mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_START": { + "description": "Start RADIO", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start RADIO", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop RADIO", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop RADIO", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_DISABLE": { + "description": "Disable RADIO", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_DISABLE": { + "description": "Disable RADIO", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RSSISTART": { + "description": "Start the RSSI and take one single sample of the receive signal strength", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RSSISTART": { + "description": "Start the RSSI and take one single sample of the receive signal strength", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RSSISTOP": { + "description": "Stop the RSSI measurement", + "offset": 24, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RSSISTOP": { + "description": "Stop the RSSI measurement", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_BCSTART": { + "description": "Start the bit counter", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_BCSTART": { + "description": "Start the bit counter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_BCSTOP": { + "description": "Stop the bit counter", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_BCSTOP": { + "description": "Stop the bit counter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_EDSTART": { + "description": "Start the energy detect measurement used in IEEE 802.15.4 mode", + "offset": 36, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_EDSTART": { + "description": "Start the energy detect measurement used in IEEE 802.15.4 mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_EDSTOP": { + "description": "Stop the energy detect measurement", + "offset": 40, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_EDSTOP": { + "description": "Stop the energy detect measurement", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CCASTART": { + "description": "Start the clear channel assessment used in IEEE 802.15.4 mode", + "offset": 44, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CCASTART": { + "description": "Start the clear channel assessment used in IEEE 802.15.4 mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CCASTOP": { + "description": "Stop the clear channel assessment", + "offset": 48, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CCASTOP": { + "description": "Stop the clear channel assessment", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_READY": { + "description": "RADIO has ramped up and is ready to be started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_READY": { + "description": "RADIO has ramped up and is ready to be started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ADDRESS": { + "description": "Address sent or received", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ADDRESS": { + "description": "Address sent or received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_PAYLOAD": { + "description": "Packet payload sent or received", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_PAYLOAD": { + "description": "Packet payload sent or received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_END": { + "description": "Packet sent or received", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_END": { + "description": "Packet sent or received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DISABLED": { + "description": "RADIO has been disabled", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DISABLED": { + "description": "RADIO has been disabled", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DEVMATCH": { + "description": "A device address match occurred on the last received packet", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DEVMATCH": { + "description": "A device address match occurred on the last received packet", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DEVMISS": { + "description": "No device address match occurred on the last received packet", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DEVMISS": { + "description": "No device address match occurred on the last received packet", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RSSIEND": { + "description": "Sampling of receive signal strength complete", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RSSIEND": { + "description": "Sampling of receive signal strength complete", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_BCMATCH": { + "description": "Bit counter reached bit count value", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_BCMATCH": { + "description": "Bit counter reached bit count value", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CRCOK": { + "description": "Packet received with CRC ok", + "offset": 304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CRCOK": { + "description": "Packet received with CRC ok", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CRCERROR": { + "description": "Packet received with CRC error", + "offset": 308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CRCERROR": { + "description": "Packet received with CRC error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_FRAMESTART": { + "description": "IEEE 802.15.4 length field received", + "offset": 312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_FRAMESTART": { + "description": "IEEE 802.15.4 length field received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_EDEND": { + "description": "Sampling of energy detection complete. A new ED sample is ready for readout from the RADIO.EDSAMPLE register.", + "offset": 316, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_EDEND": { + "description": "Sampling of energy detection complete. A new ED sample is ready for readout from the RADIO.EDSAMPLE register.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_EDSTOPPED": { + "description": "The sampling of energy detection has stopped", + "offset": 320, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_EDSTOPPED": { + "description": "The sampling of energy detection has stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CCAIDLE": { + "description": "Wireless medium in idle - clear to send", + "offset": 324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CCAIDLE": { + "description": "Wireless medium in idle - clear to send", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CCABUSY": { + "description": "Wireless medium busy - do not send", + "offset": 328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CCABUSY": { + "description": "Wireless medium busy - do not send", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CCASTOPPED": { + "description": "The CCA has stopped", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CCASTOPPED": { + "description": "The CCA has stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RATEBOOST": { + "description": "Ble_LR CI field received, receive mode is changed from Ble_LR125Kbit to Ble_LR500Kbit.", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RATEBOOST": { + "description": "Ble_LR CI field received, receive mode is changed from Ble_LR125Kbit to Ble_LR500Kbit.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXREADY": { + "description": "RADIO has ramped up and is ready to be started TX path", + "offset": 340, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXREADY": { + "description": "RADIO has ramped up and is ready to be started TX path", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXREADY": { + "description": "RADIO has ramped up and is ready to be started RX path", + "offset": 344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXREADY": { + "description": "RADIO has ramped up and is ready to be started RX path", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_MHRMATCH": { + "description": "MAC header match found", + "offset": 348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_MHRMATCH": { + "description": "MAC header match found", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SYNC": { + "description": "Preamble indicator.", + "offset": 360, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SYNC": { + "description": "Preamble indicator.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_PHYEND": { + "description": "Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit modes when last bit is sent on air.", + "offset": 364, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_PHYEND": { + "description": "Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit modes when last bit is sent on air.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY_START": { + "description": "Shortcut between event READY and task START", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "END_DISABLE": { + "description": "Shortcut between event END and task DISABLE", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DISABLED_TXEN": { + "description": "Shortcut between event DISABLED and task TXEN", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DISABLED_RXEN": { + "description": "Shortcut between event DISABLED and task RXEN", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ADDRESS_RSSISTART": { + "description": "Shortcut between event ADDRESS and task RSSISTART", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "END_START": { + "description": "Shortcut between event END and task START", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ADDRESS_BCSTART": { + "description": "Shortcut between event ADDRESS and task BCSTART", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DISABLED_RSSISTOP": { + "description": "Shortcut between event DISABLED and task RSSISTOP", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "RXREADY_CCASTART": { + "description": "Shortcut between event RXREADY and task CCASTART", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "CCAIDLE_TXEN": { + "description": "Shortcut between event CCAIDLE and task TXEN", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "CCABUSY_DISABLE": { + "description": "Shortcut between event CCABUSY and task DISABLE", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "FRAMESTART_BCSTART": { + "description": "Shortcut between event FRAMESTART and task BCSTART", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "READY_EDSTART": { + "description": "Shortcut between event READY and task EDSTART", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "EDEND_DISABLE": { + "description": "Shortcut between event EDEND and task DISABLE", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "CCAIDLE_STOP": { + "description": "Shortcut between event CCAIDLE and task STOP", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "TXREADY_START": { + "description": "Shortcut between event TXREADY and task START", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "RXREADY_START": { + "description": "Shortcut between event RXREADY and task START", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "PHYEND_DISABLE": { + "description": "Shortcut between event PHYEND and task DISABLE", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "PHYEND_START": { + "description": "Shortcut between event PHYEND and task START", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to enable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ADDRESS": { + "description": "Write '1' to enable interrupt for event ADDRESS", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PAYLOAD": { + "description": "Write '1' to enable interrupt for event PAYLOAD", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to enable interrupt for event END", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DISABLED": { + "description": "Write '1' to enable interrupt for event DISABLED", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMATCH": { + "description": "Write '1' to enable interrupt for event DEVMATCH", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMISS": { + "description": "Write '1' to enable interrupt for event DEVMISS", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RSSIEND": { + "description": "Write '1' to enable interrupt for event RSSIEND", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BCMATCH": { + "description": "Write '1' to enable interrupt for event BCMATCH", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCOK": { + "description": "Write '1' to enable interrupt for event CRCOK", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCERROR": { + "description": "Write '1' to enable interrupt for event CRCERROR", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FRAMESTART": { + "description": "Write '1' to enable interrupt for event FRAMESTART", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EDEND": { + "description": "Write '1' to enable interrupt for event EDEND", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EDSTOPPED": { + "description": "Write '1' to enable interrupt for event EDSTOPPED", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CCAIDLE": { + "description": "Write '1' to enable interrupt for event CCAIDLE", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CCABUSY": { + "description": "Write '1' to enable interrupt for event CCABUSY", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CCASTOPPED": { + "description": "Write '1' to enable interrupt for event CCASTOPPED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RATEBOOST": { + "description": "Write '1' to enable interrupt for event RATEBOOST", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXREADY": { + "description": "Write '1' to enable interrupt for event TXREADY", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXREADY": { + "description": "Write '1' to enable interrupt for event RXREADY", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "MHRMATCH": { + "description": "Write '1' to enable interrupt for event MHRMATCH", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SYNC": { + "description": "Write '1' to enable interrupt for event SYNC", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PHYEND": { + "description": "Write '1' to enable interrupt for event PHYEND", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ADDRESS": { + "description": "Write '1' to disable interrupt for event ADDRESS", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PAYLOAD": { + "description": "Write '1' to disable interrupt for event PAYLOAD", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to disable interrupt for event END", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DISABLED": { + "description": "Write '1' to disable interrupt for event DISABLED", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMATCH": { + "description": "Write '1' to disable interrupt for event DEVMATCH", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DEVMISS": { + "description": "Write '1' to disable interrupt for event DEVMISS", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RSSIEND": { + "description": "Write '1' to disable interrupt for event RSSIEND", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BCMATCH": { + "description": "Write '1' to disable interrupt for event BCMATCH", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCOK": { + "description": "Write '1' to disable interrupt for event CRCOK", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CRCERROR": { + "description": "Write '1' to disable interrupt for event CRCERROR", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FRAMESTART": { + "description": "Write '1' to disable interrupt for event FRAMESTART", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EDEND": { + "description": "Write '1' to disable interrupt for event EDEND", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EDSTOPPED": { + "description": "Write '1' to disable interrupt for event EDSTOPPED", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CCAIDLE": { + "description": "Write '1' to disable interrupt for event CCAIDLE", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CCABUSY": { + "description": "Write '1' to disable interrupt for event CCABUSY", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CCASTOPPED": { + "description": "Write '1' to disable interrupt for event CCASTOPPED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RATEBOOST": { + "description": "Write '1' to disable interrupt for event RATEBOOST", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXREADY": { + "description": "Write '1' to disable interrupt for event TXREADY", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXREADY": { + "description": "Write '1' to disable interrupt for event RXREADY", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "MHRMATCH": { + "description": "Write '1' to disable interrupt for event MHRMATCH", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SYNC": { + "description": "Write '1' to disable interrupt for event SYNC", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PHYEND": { + "description": "Write '1' to disable interrupt for event PHYEND", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CRCSTATUS": { + "description": "CRC status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "CRCSTATUS": { + "description": "CRC status of packet received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "CRCError": { + "description": "Packet received with CRC error", + "value": 0 + }, + "CRCOk": { + "description": "Packet received with CRC ok", + "value": 1 + } + } + } + } + } + } + } + }, + "RXMATCH": { + "description": "Received address", + "offset": 1032, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXMATCH": { + "description": "Received address", + "offset": 0, + "size": 3 + } + } + } + }, + "RXCRC": { + "description": "CRC field of previously received packet", + "offset": 1036, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXCRC": { + "description": "CRC field of previously received packet", + "offset": 0, + "size": 24 + } + } + } + }, + "DAI": { + "description": "Device address match index", + "offset": 1040, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DAI": { + "description": "Device address match index", + "offset": 0, + "size": 3 + } + } + } + }, + "PDUSTAT": { + "description": "Payload status", + "offset": 1044, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "PDUSTAT": { + "description": "Status on payload length vs. PCNF1.MAXLEN", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "LessThan": { + "description": "Payload less than PCNF1.MAXLEN", + "value": 0 + }, + "GreaterThan": { + "description": "Payload greater than PCNF1.MAXLEN", + "value": 1 + } + } + } + } + }, + "CISTAT": { + "description": "Status on what rate packet is received with in Long Range", + "offset": 1, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "LR125kbit": { + "description": "Frame is received at 125kbps", + "value": 0 + }, + "LR500kbit": { + "description": "Frame is received at 500kbps", + "value": 1 + } + } + } + } + } + } + } + }, + "PACKETPTR": { + "description": "Packet pointer", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PACKETPTR": { + "description": "Packet pointer", + "offset": 0, + "size": 32 + } + } + } + }, + "FREQUENCY": { + "description": "Frequency", + "offset": 1288, + "size": 32, + "reset_value": 2, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "Radio channel frequency", + "offset": 0, + "size": 7 + }, + "MAP": { + "description": "Channel map selection.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "Channel map between 2400 MHZ .. 2500 MHz", + "value": 0 + }, + "Low": { + "description": "Channel map between 2360 MHZ .. 2460 MHz", + "value": 1 + } + } + } + } + } + } + } + }, + "TXPOWER": { + "description": "Output power", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXPOWER": { + "description": "RADIO output power", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "Pos8dBm": { + "description": "+8 dBm", + "value": 8 + }, + "Pos7dBm": { + "description": "+7 dBm", + "value": 7 + }, + "Pos6dBm": { + "description": "+6 dBm", + "value": 6 + }, + "Pos5dBm": { + "description": "+5 dBm", + "value": 5 + }, + "Pos4dBm": { + "description": "+4 dBm", + "value": 4 + }, + "Pos3dBm": { + "description": "+3 dBm", + "value": 3 + }, + "Pos2dBm": { + "description": "+2 dBm", + "value": 2 + }, + "0dBm": { + "description": "0 dBm", + "value": 0 + }, + "Neg4dBm": { + "description": "-4 dBm", + "value": 252 + }, + "Neg8dBm": { + "description": "-8 dBm", + "value": 248 + }, + "Neg12dBm": { + "description": "-12 dBm", + "value": 244 + }, + "Neg16dBm": { + "description": "-16 dBm", + "value": 240 + }, + "Neg20dBm": { + "description": "-20 dBm", + "value": 236 + }, + "Neg30dBm": { + "description": "Deprecated enumerator - -40 dBm", + "value": 226 + }, + "Neg40dBm": { + "description": "-40 dBm", + "value": 216 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Data rate and modulation", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Radio data rate and modulation setting. The radio supports frequency-shift keying (FSK) modulation.", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Nrf_1Mbit": { + "description": "1 Mbit/s Nordic proprietary radio mode", + "value": 0 + }, + "Nrf_2Mbit": { + "description": "2 Mbit/s Nordic proprietary radio mode", + "value": 1 + }, + "Ble_1Mbit": { + "description": "1 Mbit/s BLE", + "value": 3 + }, + "Ble_2Mbit": { + "description": "2 Mbit/s BLE", + "value": 4 + }, + "Ble_LR125Kbit": { + "description": "Long range 125 kbit/s TX, 125 kbit/s and 500 kbit/s RX", + "value": 5 + }, + "Ble_LR500Kbit": { + "description": "Long range 500 kbit/s TX, 125 kbit/s and 500 kbit/s RX", + "value": 6 + }, + "Ieee802154_250Kbit": { + "description": "IEEE 802.15.4-2006 250 kbit/s", + "value": 15 + } + } + } + } + } + } + } + }, + "PCNF0": { + "description": "Packet configuration register 0", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LFLEN": { + "description": "Length on air of LENGTH field in number of bits.", + "offset": 0, + "size": 4 + }, + "S0LEN": { + "description": "Length on air of S0 field in number of bytes.", + "offset": 8, + "size": 1 + }, + "S1LEN": { + "description": "Length on air of S1 field in number of bits.", + "offset": 16, + "size": 4 + }, + "S1INCL": { + "description": "Include or exclude S1 field in RAM", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Automatic": { + "description": "Include S1 field in RAM only if S1LEN > 0", + "value": 0 + }, + "Include": { + "description": "Always include S1 field in RAM independent of S1LEN", + "value": 1 + } + } + } + } + }, + "CILEN": { + "description": "Length of code indicator - long range", + "offset": 22, + "size": 2 + }, + "PLEN": { + "description": "Length of preamble on air. Decision point: TASKS_START task", + "offset": 24, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "8bit": { + "description": "8-bit preamble", + "value": 0 + }, + "16bit": { + "description": "16-bit preamble", + "value": 1 + }, + "32bitZero": { + "description": "32-bit zero preamble - used for IEEE 802.15.4", + "value": 2 + }, + "LongRange": { + "description": "Preamble - used for BLE long range", + "value": 3 + } + } + } + } + }, + "CRCINC": { + "description": "Indicates if LENGTH field contains CRC or not", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Exclude": { + "description": "LENGTH does not contain CRC", + "value": 0 + }, + "Include": { + "description": "LENGTH includes CRC", + "value": 1 + } + } + } + } + }, + "TERMLEN": { + "description": "Length of TERM field in Long Range operation", + "offset": 29, + "size": 2 + } + } + } + }, + "PCNF1": { + "description": "Packet configuration register 1", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MAXLEN": { + "description": "Maximum length of packet payload. If the packet payload is larger than MAXLEN, the radio will truncate the payload to MAXLEN.", + "offset": 0, + "size": 8 + }, + "STATLEN": { + "description": "Static length in number of bytes", + "offset": 8, + "size": 8 + }, + "BALEN": { + "description": "Base address length in number of bytes", + "offset": 16, + "size": 3 + }, + "ENDIAN": { + "description": "On air endianness of packet, this applies to the S0, LENGTH, S1 and the PAYLOAD fields.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Little": { + "description": "Least significant bit on air first", + "value": 0 + }, + "Big": { + "description": "Most significant bit on air first", + "value": 1 + } + } + } + } + }, + "WHITEEN": { + "description": "Enable or disable packet whitening", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "BASE0": { + "description": "Base address 0", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BASE0": { + "description": "Base address 0", + "offset": 0, + "size": 32 + } + } + } + }, + "BASE1": { + "description": "Base address 1", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BASE1": { + "description": "Base address 1", + "offset": 0, + "size": 32 + } + } + } + }, + "PREFIX0": { + "description": "Prefixes bytes for logical addresses 0-3", + "offset": 1316, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "AP0": { + "description": "Address prefix 0.", + "offset": 0, + "size": 8 + }, + "AP1": { + "description": "Address prefix 1.", + "offset": 8, + "size": 8 + }, + "AP2": { + "description": "Address prefix 2.", + "offset": 16, + "size": 8 + }, + "AP3": { + "description": "Address prefix 3.", + "offset": 24, + "size": 8 + } + } + } + }, + "PREFIX1": { + "description": "Prefixes bytes for logical addresses 4-7", + "offset": 1320, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "AP4": { + "description": "Address prefix 4.", + "offset": 0, + "size": 8 + }, + "AP5": { + "description": "Address prefix 5.", + "offset": 8, + "size": 8 + }, + "AP6": { + "description": "Address prefix 6.", + "offset": 16, + "size": 8 + }, + "AP7": { + "description": "Address prefix 7.", + "offset": 24, + "size": 8 + } + } + } + }, + "TXADDRESS": { + "description": "Transmit address select", + "offset": 1324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXADDRESS": { + "description": "Transmit address select", + "offset": 0, + "size": 3 + } + } + } + }, + "RXADDRESSES": { + "description": "Receive address select", + "offset": 1328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDR0": { + "description": "Enable or disable reception on logical address 0.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR1": { + "description": "Enable or disable reception on logical address 1.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR2": { + "description": "Enable or disable reception on logical address 2.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR3": { + "description": "Enable or disable reception on logical address 3.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR4": { + "description": "Enable or disable reception on logical address 4.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR5": { + "description": "Enable or disable reception on logical address 5.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR6": { + "description": "Enable or disable reception on logical address 6.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ADDR7": { + "description": "Enable or disable reception on logical address 7.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "CRCCNF": { + "description": "CRC configuration", + "offset": 1332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LEN": { + "description": "CRC length in number of bytes.", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "CRC length is zero and CRC calculation is disabled", + "value": 0 + }, + "One": { + "description": "CRC length is one byte and CRC calculation is enabled", + "value": 1 + }, + "Two": { + "description": "CRC length is two bytes and CRC calculation is enabled", + "value": 2 + }, + "Three": { + "description": "CRC length is three bytes and CRC calculation is enabled", + "value": 3 + } + } + } + } + }, + "SKIPADDR": { + "description": "Include or exclude packet address field out of CRC calculation.", + "offset": 8, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Include": { + "description": "CRC calculation includes address field", + "value": 0 + }, + "Skip": { + "description": "CRC calculation does not include address field. The CRC calculation will start at the first byte after the address.", + "value": 1 + }, + "Ieee802154": { + "description": "CRC calculation as per 802.15.4 standard. Starting at first byte after length field.", + "value": 2 + } + } + } + } + } + } + } + }, + "CRCPOLY": { + "description": "CRC polynomial", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CRCPOLY": { + "description": "CRC polynomial", + "offset": 0, + "size": 24 + } + } + } + }, + "CRCINIT": { + "description": "CRC initial value", + "offset": 1340, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CRCINIT": { + "description": "CRC initial value", + "offset": 0, + "size": 24 + } + } + } + }, + "TIFS": { + "description": "Interframe spacing in us", + "offset": 1348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TIFS": { + "description": "Interframe spacing in us", + "offset": 0, + "size": 10 + } + } + } + }, + "RSSISAMPLE": { + "description": "RSSI sample", + "offset": 1352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RSSISAMPLE": { + "description": "RSSI sample", + "offset": 0, + "size": 7 + } + } + } + }, + "STATE": { + "description": "Current radio state", + "offset": 1360, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATE": { + "description": "Current radio state", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "RADIO is in the Disabled state", + "value": 0 + }, + "RxRu": { + "description": "RADIO is in the RXRU state", + "value": 1 + }, + "RxIdle": { + "description": "RADIO is in the RXIDLE state", + "value": 2 + }, + "Rx": { + "description": "RADIO is in the RX state", + "value": 3 + }, + "RxDisable": { + "description": "RADIO is in the RXDISABLED state", + "value": 4 + }, + "TxRu": { + "description": "RADIO is in the TXRU state", + "value": 9 + }, + "TxIdle": { + "description": "RADIO is in the TXIDLE state", + "value": 10 + }, + "Tx": { + "description": "RADIO is in the TX state", + "value": 11 + }, + "TxDisable": { + "description": "RADIO is in the TXDISABLED state", + "value": 12 + } + } + } + } + } + } + } + }, + "DATAWHITEIV": { + "description": "Data whitening initial value", + "offset": 1364, + "size": 32, + "reset_value": 64, + "reset_mask": 4294967295, + "children": { + "fields": { + "DATAWHITEIV": { + "description": "Data whitening initial value. Bit 6 is hard-wired to '1', writing '0' to it has no effect, and it will always be read back and used by the device as '1'.", + "offset": 0, + "size": 7 + } + } + } + }, + "BCC": { + "description": "Bit counter compare", + "offset": 1376, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BCC": { + "description": "Bit counter compare", + "offset": 0, + "size": 32 + } + } + } + }, + "DAB": { + "description": "Description collection: Device address base segment n", + "offset": 1536, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DAB": { + "description": "Device address base segment n", + "offset": 0, + "size": 32 + } + } + } + }, + "DAP": { + "description": "Description collection: Device address prefix n", + "offset": 1568, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DAP": { + "description": "Device address prefix n", + "offset": 0, + "size": 16 + } + } + } + }, + "DACNF": { + "description": "Device address match configuration", + "offset": 1600, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENA0": { + "description": "Enable or disable device address matching using device address 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA1": { + "description": "Enable or disable device address matching using device address 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA2": { + "description": "Enable or disable device address matching using device address 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA3": { + "description": "Enable or disable device address matching using device address 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA4": { + "description": "Enable or disable device address matching using device address 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA5": { + "description": "Enable or disable device address matching using device address 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA6": { + "description": "Enable or disable device address matching using device address 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ENA7": { + "description": "Enable or disable device address matching using device address 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "TXADD0": { + "description": "TxAdd for device address 0", + "offset": 8, + "size": 1 + }, + "TXADD1": { + "description": "TxAdd for device address 1", + "offset": 9, + "size": 1 + }, + "TXADD2": { + "description": "TxAdd for device address 2", + "offset": 10, + "size": 1 + }, + "TXADD3": { + "description": "TxAdd for device address 3", + "offset": 11, + "size": 1 + }, + "TXADD4": { + "description": "TxAdd for device address 4", + "offset": 12, + "size": 1 + }, + "TXADD5": { + "description": "TxAdd for device address 5", + "offset": 13, + "size": 1 + }, + "TXADD6": { + "description": "TxAdd for device address 6", + "offset": 14, + "size": 1 + }, + "TXADD7": { + "description": "TxAdd for device address 7", + "offset": 15, + "size": 1 + } + } + } + }, + "MHRMATCHCONF": { + "description": "Search pattern configuration", + "offset": 1604, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MHRMATCHCONF": { + "description": "Search pattern configuration", + "offset": 0, + "size": 32 + } + } + } + }, + "MHRMATCHMAS": { + "description": "Pattern mask", + "offset": 1608, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MHRMATCHMAS": { + "description": "Pattern mask", + "offset": 0, + "size": 32 + } + } + } + }, + "MODECNF0": { + "description": "Radio mode configuration register 0", + "offset": 1616, + "size": 32, + "reset_value": 512, + "reset_mask": 4294967295, + "children": { + "fields": { + "RU": { + "description": "Radio ramp-up time", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "Default ramp-up time (tRXEN and tTXEN), compatible with firmware written for nRF51", + "value": 0 + }, + "Fast": { + "description": "Fast ramp-up (tRXEN,FAST and tTXEN,FAST), see electrical specification for more information", + "value": 1 + } + } + } + } + }, + "DTX": { + "description": "Default TX value", + "offset": 8, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "B1": { + "description": "Transmit '1'", + "value": 0 + }, + "B0": { + "description": "Transmit '0'", + "value": 1 + }, + "Center": { + "description": "Transmit center frequency", + "value": 2 + } + } + } + } + } + } + } + }, + "SFD": { + "description": "IEEE 802.15.4 start of frame delimiter", + "offset": 1632, + "size": 32, + "reset_value": 167, + "reset_mask": 4294967295, + "children": { + "fields": { + "SFD": { + "description": "IEEE 802.15.4 start of frame delimiter", + "offset": 0, + "size": 8 + } + } + } + }, + "EDCNT": { + "description": "IEEE 802.15.4 energy detect loop count", + "offset": 1636, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EDCNT": { + "description": "IEEE 802.15.4 energy detect loop count", + "offset": 0, + "size": 21 + } + } + } + }, + "EDSAMPLE": { + "description": "IEEE 802.15.4 energy detect level", + "offset": 1640, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EDLVL": { + "description": "IEEE 802.15.4 energy detect level", + "offset": 0, + "size": 8 + } + } + } + }, + "CCACTRL": { + "description": "IEEE 802.15.4 clear channel assessment control", + "offset": 1644, + "size": 32, + "reset_value": 86835200, + "reset_mask": 4294967295, + "children": { + "fields": { + "CCAMODE": { + "description": "CCA mode of operation", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "EdMode": { + "description": "Energy above threshold", + "value": 0 + }, + "CarrierMode": { + "description": "Carrier seen", + "value": 1 + }, + "CarrierAndEdMode": { + "description": "Energy above threshold AND carrier seen", + "value": 2 + }, + "CarrierOrEdMode": { + "description": "Energy above threshold OR carrier seen", + "value": 3 + }, + "EdModeTest1": { + "description": "Energy above threshold test mode that will abort when first ED measurement over threshold is seen. No averaging.", + "value": 4 + } + } + } + } + }, + "CCAEDTHRES": { + "description": "CCA energy busy threshold. Used in all the CCA modes except CarrierMode.", + "offset": 8, + "size": 8 + }, + "CCACORRTHRES": { + "description": "CCA correlator busy threshold. Only relevant to CarrierMode, CarrierAndEdMode and CarrierOrEdMode.", + "offset": 16, + "size": 8 + }, + "CCACORRCNT": { + "description": "Limit for occurances above CCACORRTHRES. When not equal to zero the corrolator based signal detect is enabled.", + "offset": 24, + "size": 8 + } + } + } + }, + "POWER": { + "description": "Peripheral power control", + "offset": 4092, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "POWER": { + "description": "Peripheral power control. The peripheral and its registers will be reset to its initial state by switching the peripheral off and then back on again.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Peripheral is powered off", + "value": 0 + }, + "Enabled": { + "description": "Peripheral is powered on", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "UART0": { + "description": "Universal Asynchronous Receiver/Transmitter", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start UART receiver", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTRX": { + "description": "Start UART receiver", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOPRX": { + "description": "Stop UART receiver", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOPRX": { + "description": "Stop UART receiver", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTTX": { + "description": "Start UART transmitter", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTTX": { + "description": "Start UART transmitter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOPTX": { + "description": "Stop UART transmitter", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOPTX": { + "description": "Stop UART transmitter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SUSPEND": { + "description": "Suspend UART", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SUSPEND": { + "description": "Suspend UART", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CTS": { + "description": "CTS is activated (set low). Clear To Send.", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CTS": { + "description": "CTS is activated (set low). Clear To Send.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_NCTS": { + "description": "CTS is deactivated (set high). Not Clear To Send.", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_NCTS": { + "description": "CTS is deactivated (set high). Not Clear To Send.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXDRDY": { + "description": "Data received in RXD", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXDRDY": { + "description": "Data received in RXD", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXDRDY": { + "description": "Data sent from TXD", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXDRDY": { + "description": "Data sent from TXD", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERROR": { + "description": "Error detected", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERROR": { + "description": "Error detected", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXTO": { + "description": "Receiver timeout", + "offset": 324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXTO": { + "description": "Receiver timeout", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS_STARTRX": { + "description": "Shortcut between event CTS and task STARTRX", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "NCTS_STOPRX": { + "description": "Shortcut between event NCTS and task STOPRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to enable interrupt for event CTS", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to enable interrupt for event NCTS", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to enable interrupt for event RXDRDY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to enable interrupt for event TXDRDY", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to enable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to enable interrupt for event RXTO", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to disable interrupt for event CTS", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to disable interrupt for event NCTS", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to disable interrupt for event RXDRDY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to disable interrupt for event TXDRDY", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to disable interrupt for event RXTO", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1152, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity error", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "FRAMING": { + "description": "Framing error occurred", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "BREAK": { + "description": "Break condition", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable UART", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable UART", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable UART", + "value": 0 + }, + "Enabled": { + "description": "Enable UART", + "value": 4 + } + } + } + } + } + } + } + }, + "RXD": { + "description": "RXD register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXD": { + "description": "RX data received in previous transfers, double buffered", + "offset": 0, + "size": 8 + } + } + } + }, + "TXD": { + "description": "TXD register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TXD": { + "description": "TX data to be transferred", + "offset": 0, + "size": 8 + } + } + } + }, + "BAUDRATE": { + "description": "Baud rate. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "BAUDRATE": { + "description": "Baud rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Baud1200": { + "description": "1200 baud (actual rate: 1205)", + "value": 323584 + }, + "Baud2400": { + "description": "2400 baud (actual rate: 2396)", + "value": 643072 + }, + "Baud4800": { + "description": "4800 baud (actual rate: 4808)", + "value": 1290240 + }, + "Baud9600": { + "description": "9600 baud (actual rate: 9598)", + "value": 2576384 + }, + "Baud14400": { + "description": "14400 baud (actual rate: 14414)", + "value": 3866624 + }, + "Baud19200": { + "description": "19200 baud (actual rate: 19208)", + "value": 5152768 + }, + "Baud28800": { + "description": "28800 baud (actual rate: 28829)", + "value": 7729152 + }, + "Baud31250": { + "description": "31250 baud", + "value": 8388608 + }, + "Baud38400": { + "description": "38400 baud (actual rate: 38462)", + "value": 10309632 + }, + "Baud56000": { + "description": "56000 baud (actual rate: 55944)", + "value": 15007744 + }, + "Baud57600": { + "description": "57600 baud (actual rate: 57762)", + "value": 15462400 + }, + "Baud76800": { + "description": "76800 baud (actual rate: 76923)", + "value": 20615168 + }, + "Baud115200": { + "description": "115200 baud (actual rate: 115942)", + "value": 30924800 + }, + "Baud230400": { + "description": "230400 baud (actual rate: 231884)", + "value": 61845504 + }, + "Baud250000": { + "description": "250000 baud", + "value": 67108864 + }, + "Baud460800": { + "description": "460800 baud (actual rate: 470588)", + "value": 123695104 + }, + "Baud921600": { + "description": "921600 baud (actual rate: 941176)", + "value": 247386112 + }, + "Baud1M": { + "description": "1Mega baud", + "value": 268435456 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration of parity and hardware flow control", + "offset": 1388, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HWFC": { + "description": "Hardware flow control", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity", + "offset": 1, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude parity bit", + "value": 0 + }, + "Included": { + "description": "Include parity bit", + "value": 7 + } + } + } + } + }, + "STOP": { + "description": "Stop bits", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "One": { + "description": "One stop bit", + "value": 0 + }, + "Two": { + "description": "Two stop bits", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "UARTE0": { + "description": "UART with EasyDMA 0", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start UART receiver", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTRX": { + "description": "Start UART receiver", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOPRX": { + "description": "Stop UART receiver", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOPRX": { + "description": "Stop UART receiver", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTTX": { + "description": "Start UART transmitter", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTTX": { + "description": "Start UART transmitter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOPTX": { + "description": "Stop UART transmitter", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOPTX": { + "description": "Stop UART transmitter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_FLUSHRX": { + "description": "Flush RX FIFO into RX buffer", + "offset": 44, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_FLUSHRX": { + "description": "Flush RX FIFO into RX buffer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CTS": { + "description": "CTS is activated (set low). Clear To Send.", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CTS": { + "description": "CTS is activated (set low). Clear To Send.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_NCTS": { + "description": "CTS is deactivated (set high). Not Clear To Send.", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_NCTS": { + "description": "CTS is deactivated (set high). Not Clear To Send.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXDRDY": { + "description": "Data received in RXD (but potentially not yet transferred to Data RAM)", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXDRDY": { + "description": "Data received in RXD (but potentially not yet transferred to Data RAM)", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDRX": { + "description": "Receive buffer is filled up", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDRX": { + "description": "Receive buffer is filled up", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXDRDY": { + "description": "Data sent from TXD", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXDRDY": { + "description": "Data sent from TXD", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDTX": { + "description": "Last TX byte transmitted", + "offset": 288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDTX": { + "description": "Last TX byte transmitted", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERROR": { + "description": "Error detected", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERROR": { + "description": "Error detected", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXTO": { + "description": "Receiver timeout", + "offset": 324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXTO": { + "description": "Receiver timeout", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXSTARTED": { + "description": "UART receiver has started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXSTARTED": { + "description": "UART receiver has started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXSTARTED": { + "description": "UART transmitter has started", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXSTARTED": { + "description": "UART transmitter has started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXSTOPPED": { + "description": "Transmitter stopped", + "offset": 344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXSTOPPED": { + "description": "Transmitter stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDRX_STARTRX": { + "description": "Shortcut between event ENDRX and task STARTRX", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ENDRX_STOPRX": { + "description": "Shortcut between event ENDRX and task STOPRX", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Enable or disable interrupt for event CTS", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Enable or disable interrupt for event NCTS", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Enable or disable interrupt for event RXDRDY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Enable or disable interrupt for event ENDRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Enable or disable interrupt for event TXDRDY", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Enable or disable interrupt for event ENDTX", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Enable or disable interrupt for event RXTO", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Enable or disable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Enable or disable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTOPPED": { + "description": "Enable or disable interrupt for event TXSTOPPED", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to enable interrupt for event CTS", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to enable interrupt for event NCTS", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to enable interrupt for event RXDRDY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to enable interrupt for event ENDRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to enable interrupt for event TXDRDY", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to enable interrupt for event ENDTX", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to enable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to enable interrupt for event RXTO", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to enable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to enable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTOPPED": { + "description": "Write '1' to enable interrupt for event TXSTOPPED", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CTS": { + "description": "Write '1' to disable interrupt for event CTS", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NCTS": { + "description": "Write '1' to disable interrupt for event NCTS", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDRDY": { + "description": "Write '1' to disable interrupt for event RXDRDY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to disable interrupt for event ENDRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDRDY": { + "description": "Write '1' to disable interrupt for event TXDRDY", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to disable interrupt for event ENDTX", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXTO": { + "description": "Write '1' to disable interrupt for event RXTO", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to disable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to disable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTOPPED": { + "description": "Write '1' to disable interrupt for event TXSTOPPED", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source Note : this register is read / write one to clear.", + "offset": 1152, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity error", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "FRAMING": { + "description": "Framing error occurred", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "BREAK": { + "description": "Break condition", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable UART", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable UARTE", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable UARTE", + "value": 0 + }, + "Enabled": { + "description": "Enable UARTE", + "value": 8 + } + } + } + } + } + } + } + }, + "BAUDRATE": { + "description": "Baud rate. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "BAUDRATE": { + "description": "Baud rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Baud1200": { + "description": "1200 baud (actual rate: 1205)", + "value": 323584 + }, + "Baud2400": { + "description": "2400 baud (actual rate: 2396)", + "value": 643072 + }, + "Baud4800": { + "description": "4800 baud (actual rate: 4808)", + "value": 1290240 + }, + "Baud9600": { + "description": "9600 baud (actual rate: 9598)", + "value": 2576384 + }, + "Baud14400": { + "description": "14400 baud (actual rate: 14401)", + "value": 3862528 + }, + "Baud19200": { + "description": "19200 baud (actual rate: 19208)", + "value": 5152768 + }, + "Baud28800": { + "description": "28800 baud (actual rate: 28777)", + "value": 7716864 + }, + "Baud31250": { + "description": "31250 baud", + "value": 8388608 + }, + "Baud38400": { + "description": "38400 baud (actual rate: 38369)", + "value": 10289152 + }, + "Baud56000": { + "description": "56000 baud (actual rate: 55944)", + "value": 15007744 + }, + "Baud57600": { + "description": "57600 baud (actual rate: 57554)", + "value": 15400960 + }, + "Baud76800": { + "description": "76800 baud (actual rate: 76923)", + "value": 20615168 + }, + "Baud115200": { + "description": "115200 baud (actual rate: 115108)", + "value": 30801920 + }, + "Baud230400": { + "description": "230400 baud (actual rate: 231884)", + "value": 61865984 + }, + "Baud250000": { + "description": "250000 baud", + "value": 67108864 + }, + "Baud460800": { + "description": "460800 baud (actual rate: 457143)", + "value": 121634816 + }, + "Baud921600": { + "description": "921600 baud (actual rate: 941176)", + "value": 251658240 + }, + "Baud1M": { + "description": "1Mega baud", + "value": 268435456 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration of parity and hardware flow control", + "offset": 1388, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HWFC": { + "description": "Hardware flow control", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "PARITY": { + "description": "Parity", + "offset": 1, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude parity bit", + "value": 0 + }, + "Included": { + "description": "Include even parity bit", + "value": 7 + } + } + } + } + }, + "STOP": { + "description": "Stop bits", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "One": { + "description": "One stop bit", + "value": 0 + }, + "Two": { + "description": "Two stop bits", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "SPI0": { + "description": "Serial Peripheral Interface 0", + "children": { + "registers": { + "EVENTS_READY": { + "description": "TXD byte sent and RXD byte received", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_READY": { + "description": "TXD byte sent and RXD byte received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to enable interrupt for event READY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to disable interrupt for event READY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable SPI", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable SPI", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable SPI", + "value": 0 + }, + "Enabled": { + "description": "Enable SPI", + "value": 1 + } + } + } + } + } + } + } + }, + "RXD": { + "description": "RXD register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXD": { + "description": "RX data received. Double buffered", + "offset": 0, + "size": 8 + } + } + } + }, + "TXD": { + "description": "TXD register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXD": { + "description": "TX data to send. Double buffered", + "offset": 0, + "size": 8 + } + } + } + }, + "FREQUENCY": { + "description": "SPI frequency. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "SPI master data rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K125": { + "description": "125 kbps", + "value": 33554432 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K500": { + "description": "500 kbps", + "value": 134217728 + }, + "M1": { + "description": "1 Mbps", + "value": 268435456 + }, + "M2": { + "description": "2 Mbps", + "value": 536870912 + }, + "M4": { + "description": "4 Mbps", + "value": 1073741824 + }, + "M8": { + "description": "8 Mbps", + "value": 2147483648 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1364, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORDER": { + "description": "Bit order", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "MsbFirst": { + "description": "Most significant bit shifted out first", + "value": 0 + }, + "LsbFirst": { + "description": "Least significant bit shifted out first", + "value": 1 + } + } + } + } + }, + "CPHA": { + "description": "Serial clock (SCK) phase", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Leading": { + "description": "Sample on leading edge of clock, shift serial data on trailing edge", + "value": 0 + }, + "Trailing": { + "description": "Sample on trailing edge of clock, shift serial data on leading edge", + "value": 1 + } + } + } + } + }, + "CPOL": { + "description": "Serial clock (SCK) polarity", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveHigh": { + "description": "Active high", + "value": 0 + }, + "ActiveLow": { + "description": "Active low", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "SPIM0": { + "description": "Serial Peripheral Interface Master with EasyDMA 0", + "children": { + "registers": { + "TASKS_START": { + "description": "Start SPI transaction", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start SPI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop SPI transaction", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop SPI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SUSPEND": { + "description": "Suspend SPI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SUSPEND": { + "description": "Suspend SPI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RESUME": { + "description": "Resume SPI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RESUME": { + "description": "Resume SPI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "SPI transaction has stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "SPI transaction has stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDRX": { + "description": "End of RXD buffer reached", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDRX": { + "description": "End of RXD buffer reached", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_END": { + "description": "End of RXD buffer and TXD buffer reached", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_END": { + "description": "End of RXD buffer and TXD buffer reached", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDTX": { + "description": "End of TXD buffer reached", + "offset": 288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDTX": { + "description": "End of TXD buffer reached", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STARTED": { + "description": "Transaction started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STARTED": { + "description": "Transaction started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END_START": { + "description": "Shortcut between event END and task START", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to enable interrupt for event ENDRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to enable interrupt for event END", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to enable interrupt for event ENDTX", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to enable interrupt for event STARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to disable interrupt for event ENDRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to disable interrupt for event END", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to disable interrupt for event ENDTX", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to disable interrupt for event STARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "STALLSTAT": { + "description": "Stall status for EasyDMA RAM accesses. The fields in this register is set to STALL by hardware whenever a stall occurres and can be cleared (set to NOSTALL) by the CPU.", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TX": { + "description": "Stall status for EasyDMA RAM reads", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NOSTALL": { + "description": "No stall", + "value": 0 + }, + "STALL": { + "description": "A stall has occurred", + "value": 1 + } + } + } + } + }, + "RX": { + "description": "Stall status for EasyDMA RAM writes", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NOSTALL": { + "description": "No stall", + "value": 0 + }, + "STALL": { + "description": "A stall has occurred", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable SPIM", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable SPIM", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable SPIM", + "value": 0 + }, + "Enabled": { + "description": "Enable SPIM", + "value": 7 + } + } + } + } + } + } + } + }, + "FREQUENCY": { + "description": "SPI frequency. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "SPI master data rate", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K125": { + "description": "125 kbps", + "value": 33554432 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K500": { + "description": "500 kbps", + "value": 134217728 + }, + "M1": { + "description": "1 Mbps", + "value": 268435456 + }, + "M2": { + "description": "2 Mbps", + "value": 536870912 + }, + "M4": { + "description": "4 Mbps", + "value": 1073741824 + }, + "M8": { + "description": "8 Mbps", + "value": 2147483648 + }, + "M16": { + "description": "16 Mbps", + "value": 167772160 + }, + "M32": { + "description": "32 Mbps", + "value": 335544320 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1364, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORDER": { + "description": "Bit order", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "MsbFirst": { + "description": "Most significant bit shifted out first", + "value": 0 + }, + "LsbFirst": { + "description": "Least significant bit shifted out first", + "value": 1 + } + } + } + } + }, + "CPHA": { + "description": "Serial clock (SCK) phase", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Leading": { + "description": "Sample on leading edge of clock, shift serial data on trailing edge", + "value": 0 + }, + "Trailing": { + "description": "Sample on trailing edge of clock, shift serial data on leading edge", + "value": 1 + } + } + } + } + }, + "CPOL": { + "description": "Serial clock (SCK) polarity", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveHigh": { + "description": "Active high", + "value": 0 + }, + "ActiveLow": { + "description": "Active low", + "value": 1 + } + } + } + } + } + } + } + }, + "CSNPOL": { + "description": "Polarity of CSN output", + "offset": 1384, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CSNPOL": { + "description": "Polarity of CSN output", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "LOW": { + "description": "Active low (idle state high)", + "value": 0 + }, + "HIGH": { + "description": "Active high (idle state low)", + "value": 1 + } + } + } + } + } + } + } + }, + "PSELDCX": { + "description": "Pin select for DCX signal", + "offset": 1388, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "PIN": { + "description": "Pin number", + "offset": 0, + "size": 5 + }, + "PORT": { + "description": "Port number", + "offset": 5, + "size": 1 + }, + "CONNECT": { + "description": "Connection", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disconnected": { + "description": "Disconnect", + "value": 1 + }, + "Connected": { + "description": "Connect", + "value": 0 + } + } + } + } + } + } + } + }, + "DCXCNT": { + "description": "DCX configuration", + "offset": 1392, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DCXCNT": { + "description": "This register specifies the number of command bytes preceding the data bytes. The PSEL.DCX line will be low during transmission of command bytes and high during transmission of data bytes. Value 0xF indicates that all bytes are command bytes.", + "offset": 0, + "size": 4 + } + } + } + }, + "ORC": { + "description": "Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is greater than TXD.MAXCNT", + "offset": 1472, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORC": { + "description": "Byte transmitted after TXD.MAXCNT bytes have been transmitted in the case when RXD.MAXCNT is greater than TXD.MAXCNT.", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "SPIS0": { + "description": "SPI Slave 0", + "children": { + "registers": { + "TASKS_ACQUIRE": { + "description": "Acquire SPI semaphore", + "offset": 36, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_ACQUIRE": { + "description": "Acquire SPI semaphore", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RELEASE": { + "description": "Release SPI semaphore, enabling the SPI slave to acquire it", + "offset": 40, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RELEASE": { + "description": "Release SPI semaphore, enabling the SPI slave to acquire it", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_END": { + "description": "Granted transaction completed", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_END": { + "description": "Granted transaction completed", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDRX": { + "description": "End of RXD buffer reached", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDRX": { + "description": "End of RXD buffer reached", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ACQUIRED": { + "description": "Semaphore acquired", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ACQUIRED": { + "description": "Semaphore acquired", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END_ACQUIRE": { + "description": "Shortcut between event END and task ACQUIRE", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to enable interrupt for event END", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to enable interrupt for event ENDRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACQUIRED": { + "description": "Write '1' to enable interrupt for event ACQUIRED", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to disable interrupt for event END", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to disable interrupt for event ENDRX", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACQUIRED": { + "description": "Write '1' to disable interrupt for event ACQUIRED", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "SEMSTAT": { + "description": "Semaphore status register", + "offset": 1024, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SEMSTAT": { + "description": "Semaphore status", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Free": { + "description": "Semaphore is free", + "value": 0 + }, + "CPU": { + "description": "Semaphore is assigned to CPU", + "value": 1 + }, + "SPIS": { + "description": "Semaphore is assigned to SPI slave", + "value": 2 + }, + "CPUPending": { + "description": "Semaphore is assigned to SPI but a handover to the CPU is pending", + "value": 3 + } + } + } + } + } + } + } + }, + "STATUS": { + "description": "Status from last transaction", + "offset": 1088, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERREAD": { + "description": "TX buffer over-read detected, and prevented", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "OVERFLOW": { + "description": "RX buffer overflow detected, and prevented", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable SPI slave", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable SPI slave", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable SPI slave", + "value": 0 + }, + "Enabled": { + "description": "Enable SPI slave", + "value": 2 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1364, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORDER": { + "description": "Bit order", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "MsbFirst": { + "description": "Most significant bit shifted out first", + "value": 0 + }, + "LsbFirst": { + "description": "Least significant bit shifted out first", + "value": 1 + } + } + } + } + }, + "CPHA": { + "description": "Serial clock (SCK) phase", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Leading": { + "description": "Sample on leading edge of clock, shift serial data on trailing edge", + "value": 0 + }, + "Trailing": { + "description": "Sample on trailing edge of clock, shift serial data on leading edge", + "value": 1 + } + } + } + } + }, + "CPOL": { + "description": "Serial clock (SCK) polarity", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveHigh": { + "description": "Active high", + "value": 0 + }, + "ActiveLow": { + "description": "Active low", + "value": 1 + } + } + } + } + } + } + } + }, + "DEF": { + "description": "Default character. Character clocked out in case of an ignored transaction.", + "offset": 1372, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DEF": { + "description": "Default character. Character clocked out in case of an ignored transaction.", + "offset": 0, + "size": 8 + } + } + } + }, + "ORC": { + "description": "Over-read character", + "offset": 1472, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORC": { + "description": "Over-read character. Character clocked out after an over-read of the transmit buffer.", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "TWI0": { + "description": "I2C compatible Two-Wire Interface 0", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start TWI receive sequence", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTRX": { + "description": "Start TWI receive sequence", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTTX": { + "description": "Start TWI transmit sequence", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTTX": { + "description": "Start TWI transmit sequence", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop TWI transaction", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXDREADY": { + "description": "TWI RXD byte received", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXDREADY": { + "description": "TWI RXD byte received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXDSENT": { + "description": "TWI TXD byte sent", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXDSENT": { + "description": "TWI TXD byte sent", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_BB": { + "description": "TWI byte boundary, generated before each byte that is sent or received", + "offset": 312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_BB": { + "description": "TWI byte boundary, generated before each byte that is sent or received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SUSPENDED": { + "description": "TWI entered the suspended state", + "offset": 328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SUSPENDED": { + "description": "TWI entered the suspended state", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BB_SUSPEND": { + "description": "Shortcut between event BB and task SUSPEND", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "BB_STOP": { + "description": "Shortcut between event BB and task STOP", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDREADY": { + "description": "Write '1' to enable interrupt for event RXDREADY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDSENT": { + "description": "Write '1' to enable interrupt for event TXDSENT", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to enable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BB": { + "description": "Write '1' to enable interrupt for event BB", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to enable interrupt for event SUSPENDED", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXDREADY": { + "description": "Write '1' to disable interrupt for event RXDREADY", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXDSENT": { + "description": "Write '1' to disable interrupt for event TXDSENT", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "BB": { + "description": "Write '1' to disable interrupt for event BB", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to disable interrupt for event SUSPENDED", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1220, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: no overrun occured", + "value": 0 + }, + "Present": { + "description": "Read: overrun occured", + "value": 1 + } + } + } + } + }, + "ANACK": { + "description": "NACK received after sending the address (write '1' to clear)", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + }, + "DNACK": { + "description": "NACK received after sending a data byte (write '1' to clear)", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotPresent": { + "description": "Read: error not present", + "value": 0 + }, + "Present": { + "description": "Read: error present", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable TWI", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable TWI", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable TWI", + "value": 0 + }, + "Enabled": { + "description": "Enable TWI", + "value": 5 + } + } + } + } + } + } + } + }, + "RXD": { + "description": "RXD register", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RXD": { + "description": "RXD register", + "offset": 0, + "size": 8 + } + } + } + }, + "TXD": { + "description": "TXD register", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TXD": { + "description": "TXD register", + "offset": 0, + "size": 8 + } + } + } + }, + "FREQUENCY": { + "description": "TWI frequency. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "TWI master clock frequency", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K100": { + "description": "100 kbps", + "value": 26738688 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K400": { + "description": "400 kbps (actual rate 410.256 kbps)", + "value": 107479040 + } + } + } + } + } + } + } + }, + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 1416, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 0, + "size": 7 + } + } + } + } + } + } + }, + "TWIM0": { + "description": "I2C compatible Two-Wire Master Interface with EasyDMA 0", + "children": { + "registers": { + "TASKS_STARTRX": { + "description": "Start TWI receive sequence", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTRX": { + "description": "Start TWI receive sequence", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTTX": { + "description": "Start TWI transmit sequence", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTTX": { + "description": "Start TWI transmit sequence", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop TWI transaction. Must be issued while the TWI master is not suspended.", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop TWI transaction. Must be issued while the TWI master is not suspended.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SUSPENDED": { + "description": "Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.", + "offset": 328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SUSPENDED": { + "description": "Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXSTARTED": { + "description": "Receive sequence started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXSTARTED": { + "description": "Receive sequence started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXSTARTED": { + "description": "Transmit sequence started", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXSTARTED": { + "description": "Transmit sequence started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_LASTRX": { + "description": "Byte boundary, starting to receive the last byte", + "offset": 348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_LASTRX": { + "description": "Byte boundary, starting to receive the last byte", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_LASTTX": { + "description": "Byte boundary, starting to transmit the last byte", + "offset": 352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_LASTTX": { + "description": "Byte boundary, starting to transmit the last byte", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LASTTX_STARTRX": { + "description": "Shortcut between event LASTTX and task STARTRX", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTTX_SUSPEND": { + "description": "Shortcut between event LASTTX and task SUSPEND", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTTX_STOP": { + "description": "Shortcut between event LASTTX and task STOP", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTRX_STARTTX": { + "description": "Shortcut between event LASTRX and task STARTTX", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTRX_SUSPEND": { + "description": "Shortcut between event LASTRX and task SUSPEND", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LASTRX_STOP": { + "description": "Shortcut between event LASTRX and task STOP", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Enable or disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Enable or disable interrupt for event SUSPENDED", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Enable or disable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Enable or disable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "LASTRX": { + "description": "Enable or disable interrupt for event LASTRX", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "LASTTX": { + "description": "Enable or disable interrupt for event LASTTX", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to enable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to enable interrupt for event SUSPENDED", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to enable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to enable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTRX": { + "description": "Write '1' to enable interrupt for event LASTRX", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTTX": { + "description": "Write '1' to enable interrupt for event LASTTX", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SUSPENDED": { + "description": "Write '1' to disable interrupt for event SUSPENDED", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to disable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to disable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTRX": { + "description": "Write '1' to disable interrupt for event LASTRX", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LASTTX": { + "description": "Write '1' to disable interrupt for event LASTTX", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1220, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERRUN": { + "description": "Overrun error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "ANACK": { + "description": "NACK received after sending the address (write '1' to clear)", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "DNACK": { + "description": "NACK received after sending a data byte (write '1' to clear)", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable TWIM", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable TWIM", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable TWIM", + "value": 0 + }, + "Enabled": { + "description": "Enable TWIM", + "value": 6 + } + } + } + } + } + } + } + }, + "FREQUENCY": { + "description": "TWI frequency. Accuracy depends on the HFCLK source selected.", + "offset": 1316, + "size": 32, + "reset_value": 67108864, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQUENCY": { + "description": "TWI master clock frequency", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "K100": { + "description": "100 kbps", + "value": 26738688 + }, + "K250": { + "description": "250 kbps", + "value": 67108864 + }, + "K400": { + "description": "400 kbps", + "value": 104857600 + } + } + } + } + } + } + } + }, + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 1416, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS": { + "description": "Address used in the TWI transfer", + "offset": 0, + "size": 7 + } + } + } + } + } + } + }, + "TWIS0": { + "description": "I2C compatible Two-Wire Slave Interface with EasyDMA 0", + "children": { + "registers": { + "TASKS_STOP": { + "description": "Stop TWI transaction", + "offset": 20, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SUSPEND": { + "description": "Suspend TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 32, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RESUME": { + "description": "Resume TWI transaction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_PREPARERX": { + "description": "Prepare the TWI slave to respond to a write command", + "offset": 48, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_PREPARERX": { + "description": "Prepare the TWI slave to respond to a write command", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_PREPARETX": { + "description": "Prepare the TWI slave to respond to a read command", + "offset": 52, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_PREPARETX": { + "description": "Prepare the TWI slave to respond to a read command", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "TWI stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERROR": { + "description": "TWI error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXSTARTED": { + "description": "Receive sequence started", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXSTARTED": { + "description": "Receive sequence started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXSTARTED": { + "description": "Transmit sequence started", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXSTARTED": { + "description": "Transmit sequence started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_WRITE": { + "description": "Write command received", + "offset": 356, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_WRITE": { + "description": "Write command received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_READ": { + "description": "Read command received", + "offset": 360, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_READ": { + "description": "Read command received", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "WRITE_SUSPEND": { + "description": "Shortcut between event WRITE and task SUSPEND", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "READ_SUSPEND": { + "description": "Shortcut between event READ and task SUSPEND", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Enable or disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Enable or disable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Enable or disable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "WRITE": { + "description": "Enable or disable interrupt for event WRITE", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "READ": { + "description": "Enable or disable interrupt for event READ", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to enable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to enable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to enable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "WRITE": { + "description": "Write '1' to enable interrupt for event WRITE", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "READ": { + "description": "Write '1' to enable interrupt for event READ", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to disable interrupt for event ERROR", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXSTARTED": { + "description": "Write '1' to disable interrupt for event RXSTARTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXSTARTED": { + "description": "Write '1' to disable interrupt for event TXSTARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "WRITE": { + "description": "Write '1' to disable interrupt for event WRITE", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "READ": { + "description": "Write '1' to disable interrupt for event READ", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSRC": { + "description": "Error source", + "offset": 1232, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERFLOW": { + "description": "RX buffer overflow detected, and prevented", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Error did not occur", + "value": 0 + }, + "Detected": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "DNACK": { + "description": "NACK sent after receiving a data byte", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotReceived": { + "description": "Error did not occur", + "value": 0 + }, + "Received": { + "description": "Error occurred", + "value": 1 + } + } + } + } + }, + "OVERREAD": { + "description": "TX buffer over-read detected, and prevented", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Error did not occur", + "value": 0 + }, + "Detected": { + "description": "Error occurred", + "value": 1 + } + } + } + } + } + } + } + }, + "MATCH": { + "description": "Status register indicating which address had a match", + "offset": 1236, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "MATCH": { + "description": "Which of the addresses in {ADDRESS} matched the incoming address", + "offset": 0, + "size": 1 + } + } + } + }, + "ENABLE": { + "description": "Enable TWIS", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable TWIS", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable TWIS", + "value": 0 + }, + "Enabled": { + "description": "Enable TWIS", + "value": 9 + } + } + } + } + } + } + } + }, + "ADDRESS": { + "description": "Description collection: TWI slave address n", + "offset": 1416, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS": { + "description": "TWI slave address", + "offset": 0, + "size": 7 + } + } + } + }, + "CONFIG": { + "description": "Configuration register for the address match mechanism", + "offset": 1428, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRESS0": { + "description": "Enable or disable address matching on ADDRESS[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + }, + "ADDRESS1": { + "description": "Enable or disable address matching on ADDRESS[1]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ORC": { + "description": "Over-read character. Character sent out in case of an over-read of the transmit buffer.", + "offset": 1472, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ORC": { + "description": "Over-read character. Character sent out in case of an over-read of the transmit buffer.", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "PDM": { + "description": "Pulse Density Modulation (Digital Microphone) Interface", + "children": { + "registers": { + "TASKS_START": { + "description": "Starts continuous PDM transfer", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Starts continuous PDM transfer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stops PDM transfer", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stops PDM transfer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STARTED": { + "description": "PDM transfer has started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STARTED": { + "description": "PDM transfer has started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "PDM transfer has finished", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "PDM transfer has finished", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_END": { + "description": "The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_END": { + "description": "The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Enable or disable interrupt for event STARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Enable or disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Enable or disable interrupt for event END", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to enable interrupt for event STARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to enable interrupt for event END", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to disable interrupt for event STARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to disable interrupt for event END", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "PDM module enable register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable PDM module", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "PDMCLKCTRL": { + "description": "PDM clock generator control", + "offset": 1284, + "size": 32, + "reset_value": 138412032, + "reset_mask": 4294967295, + "children": { + "fields": { + "FREQ": { + "description": "PDM_CLK frequency", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "1000K": { + "description": "PDM_CLK = 32 MHz / 32 = 1.000 MHz", + "value": 134217728 + }, + "Default": { + "description": "PDM_CLK = 32 MHz / 31 = 1.032 MHz. Nominal clock for RATIO=Ratio64.", + "value": 138412032 + }, + "1067K": { + "description": "PDM_CLK = 32 MHz / 30 = 1.067 MHz", + "value": 142606336 + }, + "1231K": { + "description": "PDM_CLK = 32 MHz / 26 = 1.231 MHz", + "value": 159383552 + }, + "1280K": { + "description": "PDM_CLK = 32 MHz / 25 = 1.280 MHz. Nominal clock for RATIO=Ratio80.", + "value": 167772160 + }, + "1333K": { + "description": "PDM_CLK = 32 MHz / 24 = 1.333 MHz", + "value": 176160768 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Defines the routing of the connected PDM microphones' signals", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OPERATION": { + "description": "Mono or stereo operation", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Stereo": { + "description": "Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0]", + "value": 0 + }, + "Mono": { + "description": "Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0]", + "value": 1 + } + } + } + } + }, + "EDGE": { + "description": "Defines on which PDM_CLK edge Left (or mono) is sampled", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "LeftFalling": { + "description": "Left (or mono) is sampled on falling edge of PDM_CLK", + "value": 0 + }, + "LeftRising": { + "description": "Left (or mono) is sampled on rising edge of PDM_CLK", + "value": 1 + } + } + } + } + } + } + } + }, + "GAINL": { + "description": "Left output gain adjustment", + "offset": 1304, + "size": 32, + "reset_value": 40, + "reset_mask": 4294967295, + "children": { + "fields": { + "GAINL": { + "description": "Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (...) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (...) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust", + "offset": 0, + "size": 7, + "enum": { + "size": 7, + "children": { + "enum_fields": { + "MinGain": { + "description": "-20dB gain adjustment (minimum)", + "value": 0 + }, + "DefaultGain": { + "description": "0dB gain adjustment", + "value": 40 + }, + "MaxGain": { + "description": "+20dB gain adjustment (maximum)", + "value": 80 + } + } + } + } + } + } + } + }, + "GAINR": { + "description": "Right output gain adjustment", + "offset": 1308, + "size": 32, + "reset_value": 40, + "reset_mask": 4294967295, + "children": { + "fields": { + "GAINR": { + "description": "Right output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters)", + "offset": 0, + "size": 7, + "enum": { + "size": 7, + "children": { + "enum_fields": { + "MinGain": { + "description": "-20dB gain adjustment (minimum)", + "value": 0 + }, + "DefaultGain": { + "description": "0dB gain adjustment", + "value": 40 + }, + "MaxGain": { + "description": "+20dB gain adjustment (maximum)", + "value": 80 + } + } + } + } + } + } + } + }, + "RATIO": { + "description": "Selects the ratio between PDM_CLK and output sample rate. Change PDMCLKCTRL accordingly.", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RATIO": { + "description": "Selects the ratio between PDM_CLK and output sample rate", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Ratio64": { + "description": "Ratio of 64", + "value": 0 + }, + "Ratio80": { + "description": "Ratio of 80", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "CRYPTOCELL": { + "description": "ARM TrustZone CryptoCell register interface", + "children": { + "registers": { + "ENABLE": { + "description": "Enable CRYPTOCELL subsystem", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable the CRYPTOCELL subsystem", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "CRYPTOCELL subsystem disabled", + "value": 0 + }, + "Enabled": { + "description": "CRYPTOCELL subsystem enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "CC_HOST_RGF": { + "description": "CRYPTOCELL HOST_RGF interface", + "children": { + "registers": { + "HOST_CRYPTOKEY_SEL": { + "description": "AES hardware key select", + "offset": 6712, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HOST_CRYPTOKEY_SEL": { + "description": "Select the source of the HW key that is used by the AES engine", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "K_DR": { + "description": "Use device root key K_DR from CRYPTOCELL AO power domain", + "value": 0 + }, + "K_PRTL": { + "description": "Use hard-coded RTL key K_PRTL", + "value": 1 + }, + "Session": { + "description": "Use provided session key", + "value": 2 + } + } + } + } + } + } + } + }, + "HOST_IOT_KPRTL_LOCK": { + "description": "This write-once register is the K_PRTL lock register. When this register is set, K_PRTL can not be used and a zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain.", + "offset": 6732, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HOST_IOT_KPRTL_LOCK": { + "description": "This register is the K_PRTL lock register. When this register is set, K_PRTL can not be used and a zeroed key will be used instead. The value of this register is saved in the CRYPTOCELL AO power domain.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "K_PRTL can be selected for use from register HOST_CRYPTOKEY_SEL", + "value": 0 + }, + "Enabled": { + "description": "K_PRTL has been locked until next power-on reset (POR). If K_PRTL is selected anyway, a zeroed key will be used instead.", + "value": 1 + } + } + } + } + } + } + } + }, + "HOST_IOT_KDR0": { + "description": "This register holds bits 31:0 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain. Reading from this address returns the K_DR valid status indicating if K_DR is successfully retained.", + "offset": 6736, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HOST_IOT_KDR0": { + "description": "Write: K_DR bits 31:0 Read: 0x00000000 when 128-bit K_DR key value is not yet retained in the CRYPTOCELL AO power domain Read: 0x00000001 when 128-bit K_DR key value is successfully retained in the CRYPTOCELL AO power domain", + "offset": 0, + "size": 32 + } + } + } + }, + "HOST_IOT_KDR1": { + "description": "This register holds bits 63:32 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain.", + "offset": 6740, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "HOST_IOT_KDR1": { + "description": "K_DR bits 63:32", + "offset": 0, + "size": 32 + } + } + } + }, + "HOST_IOT_KDR2": { + "description": "This register holds bits 95:64 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain.", + "offset": 6744, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "HOST_IOT_KDR2": { + "description": "K_DR bits 95:64", + "offset": 0, + "size": 32 + } + } + } + }, + "HOST_IOT_KDR3": { + "description": "This register holds bits 127:96 of K_DR. The value of this register is saved in the CRYPTOCELL AO power domain.", + "offset": 6748, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "HOST_IOT_KDR3": { + "description": "K_DR bits 127:96", + "offset": 0, + "size": 32 + } + } + } + }, + "HOST_IOT_LCS": { + "description": "Controls lifecycle state (LCS) for CRYPTOCELL subsystem", + "offset": 6752, + "size": 32, + "reset_value": 2, + "reset_mask": 4294967295, + "children": { + "fields": { + "LCS": { + "description": "Lifecycle state value. This field is write-once per reset.", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Debug": { + "description": "CC310 operates in debug mode", + "value": 0 + }, + "Secure": { + "description": "CC310 operates in secure mode", + "value": 2 + } + } + } + } + }, + "LCS_IS_VALID": { + "description": "This field is read-only and indicates if CRYPTOCELL LCS has been successfully configured since last reset", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Invalid": { + "description": "A valid LCS is not yet retained in the CRYPTOCELL AO power domain", + "value": 0 + }, + "Valid": { + "description": "A valid LCS is successfully retained in the CRYPTOCELL AO power domain", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "QSPI": { + "description": "External flash interface", + "children": { + "registers": { + "TASKS_ACTIVATE": { + "description": "Activate QSPI interface", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_ACTIVATE": { + "description": "Activate QSPI interface", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_READSTART": { + "description": "Start transfer from external flash memory to internal RAM", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_READSTART": { + "description": "Start transfer from external flash memory to internal RAM", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_WRITESTART": { + "description": "Start transfer from internal RAM to external flash memory", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_WRITESTART": { + "description": "Start transfer from internal RAM to external flash memory", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_ERASESTART": { + "description": "Start external flash memory erase operation", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_ERASESTART": { + "description": "Start external flash memory erase operation", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_DEACTIVATE": { + "description": "Deactivate QSPI interface", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_DEACTIVATE": { + "description": "Deactivate QSPI interface", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_READY": { + "description": "QSPI peripheral is ready. This event will be generated as a response to any QSPI task.", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_READY": { + "description": "QSPI peripheral is ready. This event will be generated as a response to any QSPI task.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Enable or disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to enable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable QSPI peripheral and acquire the pins selected in PSELn registers", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable QSPI", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable QSPI", + "value": 0 + }, + "Enabled": { + "description": "Enable QSPI", + "value": 1 + } + } + } + } + } + } + } + }, + "XIPOFFSET": { + "description": "Address offset into the external memory for Execute in Place operation.", + "offset": 1344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "XIPOFFSET": { + "description": "Address offset into the external memory for Execute in Place operation. Value must be a multiple of 4.", + "offset": 0, + "size": 32 + } + } + } + }, + "IFCONFIG0": { + "description": "Interface configuration.", + "offset": 1348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READOC": { + "description": "Configure number of data lines and opcode used for reading.", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "FASTREAD": { + "description": "Single data line SPI. FAST_READ (opcode 0x0B).", + "value": 0 + }, + "READ2O": { + "description": "Dual data line SPI. READ2O (opcode 0x3B).", + "value": 1 + }, + "READ2IO": { + "description": "Dual data line SPI. READ2IO (opcode 0xBB).", + "value": 2 + }, + "READ4O": { + "description": "Quad data line SPI. READ4O (opcode 0x6B).", + "value": 3 + }, + "READ4IO": { + "description": "Quad data line SPI. READ4IO (opcode 0xEB).", + "value": 4 + } + } + } + } + }, + "WRITEOC": { + "description": "Configure number of data lines and opcode used for writing.", + "offset": 3, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "PP": { + "description": "Single data line SPI. PP (opcode 0x02).", + "value": 0 + }, + "PP2O": { + "description": "Dual data line SPI. PP2O (opcode 0xA2).", + "value": 1 + }, + "PP4O": { + "description": "Quad data line SPI. PP4O (opcode 0x32).", + "value": 2 + }, + "PP4IO": { + "description": "Quad data line SPI. PP4IO (opcode 0x38).", + "value": 3 + } + } + } + } + }, + "ADDRMODE": { + "description": "Addressing mode.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "24BIT": { + "description": "24-bit addressing.", + "value": 0 + }, + "32BIT": { + "description": "32-bit addressing.", + "value": 1 + } + } + } + } + }, + "DPMENABLE": { + "description": "Enable deep power-down mode (DPM) feature.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable DPM feature.", + "value": 0 + }, + "Enable": { + "description": "Enable DPM feature.", + "value": 1 + } + } + } + } + }, + "PPSIZE": { + "description": "Page size for commands PP, PP2O, PP4O and PP4IO.", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "256Bytes": { + "description": "256 bytes.", + "value": 0 + }, + "512Bytes": { + "description": "512 bytes.", + "value": 1 + } + } + } + } + } + } + } + }, + "IFCONFIG1": { + "description": "Interface configuration.", + "offset": 1536, + "size": 32, + "reset_value": 263296, + "reset_mask": 4294967295, + "children": { + "fields": { + "SCKDELAY": { + "description": "Minimum amount of time that the CSN pin must stay high before it can go low again. Value is specified in number of 16 MHz periods (62.5 ns).", + "offset": 0, + "size": 8 + }, + "DPMEN": { + "description": "Enter/exit deep power-down mode (DPM) for external flash memory.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Exit": { + "description": "Exit DPM.", + "value": 0 + }, + "Enter": { + "description": "Enter DPM.", + "value": 1 + } + } + } + } + }, + "SPIMODE": { + "description": "Select SPI mode.", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "MODE0": { + "description": "Mode 0: Data are captured on the clock rising edge and data is output on a falling edge. Base level of clock is 0 (CPOL=0, CPHA=0).", + "value": 0 + }, + "MODE3": { + "description": "Mode 3: Data are captured on the clock falling edge and data is output on a rising edge. Base level of clock is 1 (CPOL=1, CPHA=1).", + "value": 1 + } + } + } + } + }, + "SCKFREQ": { + "description": "SCK frequency is given as 32 MHz / (SCKFREQ + 1).", + "offset": 28, + "size": 4 + } + } + } + }, + "STATUS": { + "description": "Status register.", + "offset": 1540, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "DPM": { + "description": "Deep power-down mode (DPM) status of external flash.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "External flash is not in DPM.", + "value": 0 + }, + "Enabled": { + "description": "External flash is in DPM.", + "value": 1 + } + } + } + } + }, + "READY": { + "description": "Ready status.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "READY": { + "description": "QSPI peripheral is ready. It is allowed to trigger new tasks, writing custom instructions or enter/exit DPM.", + "value": 1 + }, + "BUSY": { + "description": "QSPI peripheral is busy. It is not allowed to trigger any new tasks, writing custom instructions or enter/exit DPM.", + "value": 0 + } + } + } + } + }, + "SREG": { + "description": "Value of external flash device Status Register. When the external flash has two bytes status register this field includes the value of the low byte.", + "offset": 24, + "size": 8 + } + } + } + }, + "DPMDUR": { + "description": "Set the duration required to enter/exit deep power-down mode (DPM).", + "offset": 1556, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENTER": { + "description": "Duration needed by external flash to enter DPM. Duration is given as ENTER * 256 * 62.5 ns.", + "offset": 0, + "size": 16 + }, + "EXIT": { + "description": "Duration needed by external flash to exit DPM. Duration is given as EXIT * 256 * 62.5 ns.", + "offset": 16, + "size": 16 + } + } + } + }, + "ADDRCONF": { + "description": "Extended address configuration.", + "offset": 1572, + "size": 32, + "reset_value": 183, + "reset_mask": 4294967295, + "children": { + "fields": { + "OPCODE": { + "description": "Opcode that enters the 32-bit addressing mode.", + "offset": 0, + "size": 8 + }, + "BYTE0": { + "description": "Byte 0 following opcode.", + "offset": 8, + "size": 8 + }, + "BYTE1": { + "description": "Byte 1 following byte 0.", + "offset": 16, + "size": 8 + }, + "MODE": { + "description": "Extended addressing mode.", + "offset": 24, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "NoInstr": { + "description": "Do not send any instruction.", + "value": 0 + }, + "Opcode": { + "description": "Send opcode.", + "value": 1 + }, + "OpByte0": { + "description": "Send opcode, byte0.", + "value": 2 + }, + "All": { + "description": "Send opcode, byte0, byte1.", + "value": 3 + } + } + } + } + }, + "WIPWAIT": { + "description": "Wait for write complete before sending command.", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "No wait.", + "value": 0 + }, + "Enable": { + "description": "Wait.", + "value": 1 + } + } + } + } + }, + "WREN": { + "description": "Send WREN (write enable opcode 0x06) before instruction.", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Do not send WREN.", + "value": 0 + }, + "Enable": { + "description": "Send WREN.", + "value": 1 + } + } + } + } + } + } + } + }, + "CINSTRCONF": { + "description": "Custom instruction configuration register.", + "offset": 1588, + "size": 32, + "reset_value": 8192, + "reset_mask": 4294967295, + "children": { + "fields": { + "OPCODE": { + "description": "Opcode of Custom instruction.", + "offset": 0, + "size": 8 + }, + "LENGTH": { + "description": "Length of custom instruction in number of bytes.", + "offset": 8, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "1B": { + "description": "Send opcode only.", + "value": 1 + }, + "2B": { + "description": "Send opcode, CINSTRDAT0.BYTE0.", + "value": 2 + }, + "3B": { + "description": "Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE1.", + "value": 3 + }, + "4B": { + "description": "Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE2.", + "value": 4 + }, + "5B": { + "description": "Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT0.BYTE3.", + "value": 5 + }, + "6B": { + "description": "Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE4.", + "value": 6 + }, + "7B": { + "description": "Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE5.", + "value": 7 + }, + "8B": { + "description": "Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE6.", + "value": 8 + }, + "9B": { + "description": "Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDAT1.BYTE7.", + "value": 9 + } + } + } + } + }, + "LIO2": { + "description": "Level of the IO2 pin (if connected) during transmission of custom instruction.", + "offset": 12, + "size": 1 + }, + "LIO3": { + "description": "Level of the IO3 pin (if connected) during transmission of custom instruction.", + "offset": 13, + "size": 1 + }, + "WIPWAIT": { + "description": "Wait for write complete before sending command.", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "No wait.", + "value": 0 + }, + "Enable": { + "description": "Wait.", + "value": 1 + } + } + } + } + }, + "WREN": { + "description": "Send WREN (write enable opcode 0x06) before instruction.", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Do not send WREN.", + "value": 0 + }, + "Enable": { + "description": "Send WREN.", + "value": 1 + } + } + } + } + }, + "LFEN": { + "description": "Enable long frame mode. When enabled, a custom instruction transaction has to be ended by writing the LFSTOP field.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Long frame mode disabled", + "value": 0 + }, + "Enable": { + "description": "Long frame mode enabled", + "value": 1 + } + } + } + } + }, + "LFSTOP": { + "description": "Stop (finalize) long frame transaction", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Stop": { + "description": "Stop", + "value": 1 + } + } + } + } + } + } + } + }, + "CINSTRDAT0": { + "description": "Custom instruction data register 0.", + "offset": 1592, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BYTE0": { + "description": "Data byte 0", + "offset": 0, + "size": 8 + }, + "BYTE1": { + "description": "Data byte 1", + "offset": 8, + "size": 8 + }, + "BYTE2": { + "description": "Data byte 2", + "offset": 16, + "size": 8 + }, + "BYTE3": { + "description": "Data byte 3", + "offset": 24, + "size": 8 + } + } + } + }, + "CINSTRDAT1": { + "description": "Custom instruction data register 1.", + "offset": 1596, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BYTE4": { + "description": "Data byte 4", + "offset": 0, + "size": 8 + }, + "BYTE5": { + "description": "Data byte 5", + "offset": 8, + "size": 8 + }, + "BYTE6": { + "description": "Data byte 6", + "offset": 16, + "size": 8 + }, + "BYTE7": { + "description": "Data byte 7", + "offset": 24, + "size": 8 + } + } + } + }, + "IFTIMING": { + "description": "SPI interface timing.", + "offset": 1600, + "size": 32, + "reset_value": 512, + "reset_mask": 4294967295, + "children": { + "fields": { + "RXDELAY": { + "description": "Timing related to sampling of the input serial data. The value of RXDELAY specifies the number of 64 MHz cycles (15.625 ns) delay from the the rising edge of the SPI Clock (SCK) until the input serial data is sampled. As en example, if set to 0 the input serial data is sampled on the rising edge of SCK.", + "offset": 8, + "size": 3 + } + } + } + } + } + } + }, + "PWM0": { + "description": "Pulse width modulation unit 0", + "children": { + "registers": { + "TASKS_STOP": { + "description": "Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SEQSTART": { + "description": "Description collection: Loads the first PWM value on all enabled channels from sequence n, and starts playing that sequence at the rate defined in SEQ[n]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not running.", + "offset": 8, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SEQSTART": { + "description": "Loads the first PWM value on all enabled channels from sequence n, and starts playing that sequence at the rate defined in SEQ[n]REFRESH and/or DECODER.MODE. Causes PWM generation to start if not running.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_NEXTSTEP": { + "description": "Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start if not running.", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_NEXTSTEP": { + "description": "Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start if not running.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "Response to STOP task, emitted when PWM pulses are no longer generated", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "Response to STOP task, emitted when PWM pulses are no longer generated", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SEQSTARTED": { + "description": "Description collection: First PWM period started on sequence n", + "offset": 264, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SEQSTARTED": { + "description": "First PWM period started on sequence n", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SEQEND": { + "description": "Description collection: Emitted at end of every sequence n, when last value from RAM has been applied to wave counter", + "offset": 272, + "size": 32, + "count": 2, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SEQEND": { + "description": "Emitted at end of every sequence n, when last value from RAM has been applied to wave counter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_PWMPERIODEND": { + "description": "Emitted at the end of each PWM period", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_PWMPERIODEND": { + "description": "Emitted at the end of each PWM period", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_LOOPSDONE": { + "description": "Concatenated sequences have been played the amount of times defined in LOOP.CNT", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_LOOPSDONE": { + "description": "Concatenated sequences have been played the amount of times defined in LOOP.CNT", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SEQEND0_STOP": { + "description": "Shortcut between event SEQEND[0] and task STOP", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "SEQEND1_STOP": { + "description": "Shortcut between event SEQEND[1] and task STOP", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LOOPSDONE_SEQSTART0": { + "description": "Shortcut between event LOOPSDONE and task SEQSTART[0]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LOOPSDONE_SEQSTART1": { + "description": "Shortcut between event LOOPSDONE and task SEQSTART[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "LOOPSDONE_STOP": { + "description": "Shortcut between event LOOPSDONE and task STOP", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Enable or disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQSTARTED0": { + "description": "Enable or disable interrupt for event SEQSTARTED[0]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQSTARTED1": { + "description": "Enable or disable interrupt for event SEQSTARTED[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQEND0": { + "description": "Enable or disable interrupt for event SEQEND[0]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SEQEND1": { + "description": "Enable or disable interrupt for event SEQEND[1]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PWMPERIODEND": { + "description": "Enable or disable interrupt for event PWMPERIODEND", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "LOOPSDONE": { + "description": "Enable or disable interrupt for event LOOPSDONE", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED0": { + "description": "Write '1' to enable interrupt for event SEQSTARTED[0]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED1": { + "description": "Write '1' to enable interrupt for event SEQSTARTED[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND0": { + "description": "Write '1' to enable interrupt for event SEQEND[0]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND1": { + "description": "Write '1' to enable interrupt for event SEQEND[1]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PWMPERIODEND": { + "description": "Write '1' to enable interrupt for event PWMPERIODEND", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LOOPSDONE": { + "description": "Write '1' to enable interrupt for event LOOPSDONE", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED0": { + "description": "Write '1' to disable interrupt for event SEQSTARTED[0]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQSTARTED1": { + "description": "Write '1' to disable interrupt for event SEQSTARTED[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND0": { + "description": "Write '1' to disable interrupt for event SEQEND[0]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SEQEND1": { + "description": "Write '1' to disable interrupt for event SEQEND[1]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PWMPERIODEND": { + "description": "Write '1' to disable interrupt for event PWMPERIODEND", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "LOOPSDONE": { + "description": "Write '1' to disable interrupt for event LOOPSDONE", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "PWM module enable register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable PWM module", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Selects operating mode of the wave counter", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "UPDOWN": { + "description": "Selects up mode or up-and-down mode for the counter", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Up": { + "description": "Up counter, edge-aligned PWM duty cycle", + "value": 0 + }, + "UpAndDown": { + "description": "Up and down counter, center-aligned PWM duty cycle", + "value": 1 + } + } + } + } + } + } + } + }, + "COUNTERTOP": { + "description": "Value up to which the pulse generator counter counts", + "offset": 1288, + "size": 32, + "reset_value": 1023, + "reset_mask": 4294967295, + "children": { + "fields": { + "COUNTERTOP": { + "description": "Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM are used.", + "offset": 0, + "size": 15 + } + } + } + }, + "PRESCALER": { + "description": "Configuration for PWM_CLK", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PRESCALER": { + "description": "Prescaler of PWM_CLK", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "DIV_1": { + "description": "Divide by 1 (16 MHz)", + "value": 0 + }, + "DIV_2": { + "description": "Divide by 2 (8 MHz)", + "value": 1 + }, + "DIV_4": { + "description": "Divide by 4 (4 MHz)", + "value": 2 + }, + "DIV_8": { + "description": "Divide by 8 (2 MHz)", + "value": 3 + }, + "DIV_16": { + "description": "Divide by 16 (1 MHz)", + "value": 4 + }, + "DIV_32": { + "description": "Divide by 32 (500 kHz)", + "value": 5 + }, + "DIV_64": { + "description": "Divide by 64 (250 kHz)", + "value": 6 + }, + "DIV_128": { + "description": "Divide by 128 (125 kHz)", + "value": 7 + } + } + } + } + } + } + } + }, + "DECODER": { + "description": "Configuration of the decoder", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LOAD": { + "description": "How a sequence is read from RAM and spread to the compare register", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Common": { + "description": "1st half word (16-bit) used in all PWM channels 0..3", + "value": 0 + }, + "Grouped": { + "description": "1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3", + "value": 1 + }, + "Individual": { + "description": "1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3", + "value": 2 + }, + "WaveForm": { + "description": "1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP", + "value": 3 + } + } + } + } + }, + "MODE": { + "description": "Selects source for advancing the active sequence", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "RefreshCount": { + "description": "SEQ[n].REFRESH is used to determine loading internal compare registers", + "value": 0 + }, + "NextStep": { + "description": "NEXTSTEP task causes a new value to be loaded to internal compare registers", + "value": 1 + } + } + } + } + } + } + } + }, + "LOOP": { + "description": "Number of playbacks of a loop", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CNT": { + "description": "Number of playbacks of pattern cycles", + "offset": 0, + "size": 16, + "enum": { + "size": 16, + "children": { + "enum_fields": { + "Disabled": { + "description": "Looping disabled (stop at the end of the sequence)", + "value": 0 + } + } + } + } + } + } + } + } + } + } + }, + "USBD": { + "description": "Universal serial bus device", + "children": { + "registers": { + "TASKS_STARTEPIN": { + "description": "Description collection: Captures the EPIN[n].PTR and EPIN[n].MAXCNT registers values, and enables endpoint IN n to respond to traffic from host", + "offset": 4, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTEPIN": { + "description": "Captures the EPIN[n].PTR and EPIN[n].MAXCNT registers values, and enables endpoint IN n to respond to traffic from host", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTISOIN": { + "description": "Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables sending data on ISO endpoint", + "offset": 36, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTISOIN": { + "description": "Captures the ISOIN.PTR and ISOIN.MAXCNT registers values, and enables sending data on ISO endpoint", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTEPOUT": { + "description": "Description collection: Captures the EPOUT[n].PTR and EPOUT[n].MAXCNT registers values, and enables endpoint n to respond to traffic from host", + "offset": 40, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTEPOUT": { + "description": "Captures the EPOUT[n].PTR and EPOUT[n].MAXCNT registers values, and enables endpoint n to respond to traffic from host", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTISOOUT": { + "description": "Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and enables receiving of data on ISO endpoint", + "offset": 72, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTISOOUT": { + "description": "Captures the ISOOUT.PTR and ISOOUT.MAXCNT registers values, and enables receiving of data on ISO endpoint", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_EP0RCVOUT": { + "description": "Allows OUT data stage on control endpoint 0", + "offset": 76, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_EP0RCVOUT": { + "description": "Allows OUT data stage on control endpoint 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_EP0STATUS": { + "description": "Allows status stage on control endpoint 0", + "offset": 80, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_EP0STATUS": { + "description": "Allows status stage on control endpoint 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_EP0STALL": { + "description": "Stalls data and status stage on control endpoint 0", + "offset": 84, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_EP0STALL": { + "description": "Stalls data and status stage on control endpoint 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_DPDMDRIVE": { + "description": "Forces D+ and D- lines into the state defined in the DPDMVALUE register", + "offset": 88, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_DPDMDRIVE": { + "description": "Forces D+ and D- lines into the state defined in the DPDMVALUE register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_DPDMNODRIVE": { + "description": "Stops forcing D+ and D- lines into any state (USB engine takes control)", + "offset": 92, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_DPDMNODRIVE": { + "description": "Stops forcing D+ and D- lines into any state (USB engine takes control)", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_USBRESET": { + "description": "Signals that a USB reset condition has been detected on USB lines", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_USBRESET": { + "description": "Signals that a USB reset condition has been detected on USB lines", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STARTED": { + "description": "Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and EPOUT[n].MAXCNT registers have been captured on all endpoints reported in the EPSTATUS register", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STARTED": { + "description": "Confirms that the EPIN[n].PTR and EPIN[n].MAXCNT, or EPOUT[n].PTR and EPOUT[n].MAXCNT registers have been captured on all endpoints reported in the EPSTATUS register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDEPIN": { + "description": "Description collection: The whole EPIN[n] buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 264, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDEPIN": { + "description": "The whole EPIN[n] buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_EP0DATADONE": { + "description": "An acknowledged data transfer has taken place on the control endpoint", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_EP0DATADONE": { + "description": "An acknowledged data transfer has taken place on the control endpoint", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDISOIN": { + "description": "The whole ISOIN buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDISOIN": { + "description": "The whole ISOIN buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDEPOUT": { + "description": "Description collection: The whole EPOUT[n] buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 304, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDEPOUT": { + "description": "The whole EPOUT[n] buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDISOOUT": { + "description": "The whole ISOOUT buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDISOOUT": { + "description": "The whole ISOOUT buffer has been consumed. The RAM buffer can be accessed safely by software.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SOF": { + "description": "Signals that a SOF (start of frame) condition has been detected on USB lines", + "offset": 340, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SOF": { + "description": "Signals that a SOF (start of frame) condition has been detected on USB lines", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_USBEVENT": { + "description": "An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the cause.", + "offset": 344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_USBEVENT": { + "description": "An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the cause.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_EP0SETUP": { + "description": "A valid SETUP token has been received (and acknowledged) on the control endpoint", + "offset": 348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_EP0SETUP": { + "description": "A valid SETUP token has been received (and acknowledged) on the control endpoint", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_EPDATA": { + "description": "A data transfer has occurred on a data endpoint, indicated by the EPDATASTATUS register", + "offset": 352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_EPDATA": { + "description": "A data transfer has occurred on a data endpoint, indicated by the EPDATASTATUS register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EP0DATADONE_STARTEPIN0": { + "description": "Shortcut between event EP0DATADONE and task STARTEPIN[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "EP0DATADONE_STARTEPOUT0": { + "description": "Shortcut between event EP0DATADONE and task STARTEPOUT[0]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "EP0DATADONE_EP0STATUS": { + "description": "Shortcut between event EP0DATADONE and task EP0STATUS", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ENDEPOUT0_EP0STATUS": { + "description": "Shortcut between event ENDEPOUT[0] and task EP0STATUS", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "ENDEPOUT0_EP0RCVOUT": { + "description": "Shortcut between event ENDEPOUT[0] and task EP0RCVOUT", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "USBRESET": { + "description": "Enable or disable interrupt for event USBRESET", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Enable or disable interrupt for event STARTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN0": { + "description": "Enable or disable interrupt for event ENDEPIN[0]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN1": { + "description": "Enable or disable interrupt for event ENDEPIN[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN2": { + "description": "Enable or disable interrupt for event ENDEPIN[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN3": { + "description": "Enable or disable interrupt for event ENDEPIN[3]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN4": { + "description": "Enable or disable interrupt for event ENDEPIN[4]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN5": { + "description": "Enable or disable interrupt for event ENDEPIN[5]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN6": { + "description": "Enable or disable interrupt for event ENDEPIN[6]", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPIN7": { + "description": "Enable or disable interrupt for event ENDEPIN[7]", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "EP0DATADONE": { + "description": "Enable or disable interrupt for event EP0DATADONE", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDISOIN": { + "description": "Enable or disable interrupt for event ENDISOIN", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT0": { + "description": "Enable or disable interrupt for event ENDEPOUT[0]", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT1": { + "description": "Enable or disable interrupt for event ENDEPOUT[1]", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT2": { + "description": "Enable or disable interrupt for event ENDEPOUT[2]", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT3": { + "description": "Enable or disable interrupt for event ENDEPOUT[3]", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT4": { + "description": "Enable or disable interrupt for event ENDEPOUT[4]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT5": { + "description": "Enable or disable interrupt for event ENDEPOUT[5]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT6": { + "description": "Enable or disable interrupt for event ENDEPOUT[6]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDEPOUT7": { + "description": "Enable or disable interrupt for event ENDEPOUT[7]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDISOOUT": { + "description": "Enable or disable interrupt for event ENDISOOUT", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SOF": { + "description": "Enable or disable interrupt for event SOF", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "USBEVENT": { + "description": "Enable or disable interrupt for event USBEVENT", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "EP0SETUP": { + "description": "Enable or disable interrupt for event EP0SETUP", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "EPDATA": { + "description": "Enable or disable interrupt for event EPDATA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "USBRESET": { + "description": "Write '1' to enable interrupt for event USBRESET", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to enable interrupt for event STARTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN0": { + "description": "Write '1' to enable interrupt for event ENDEPIN[0]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN1": { + "description": "Write '1' to enable interrupt for event ENDEPIN[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN2": { + "description": "Write '1' to enable interrupt for event ENDEPIN[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN3": { + "description": "Write '1' to enable interrupt for event ENDEPIN[3]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN4": { + "description": "Write '1' to enable interrupt for event ENDEPIN[4]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN5": { + "description": "Write '1' to enable interrupt for event ENDEPIN[5]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN6": { + "description": "Write '1' to enable interrupt for event ENDEPIN[6]", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN7": { + "description": "Write '1' to enable interrupt for event ENDEPIN[7]", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EP0DATADONE": { + "description": "Write '1' to enable interrupt for event EP0DATADONE", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDISOIN": { + "description": "Write '1' to enable interrupt for event ENDISOIN", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT0": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[0]", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT1": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[1]", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT2": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[2]", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT3": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[3]", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT4": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[4]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT5": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[5]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT6": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[6]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT7": { + "description": "Write '1' to enable interrupt for event ENDEPOUT[7]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDISOOUT": { + "description": "Write '1' to enable interrupt for event ENDISOOUT", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SOF": { + "description": "Write '1' to enable interrupt for event SOF", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBEVENT": { + "description": "Write '1' to enable interrupt for event USBEVENT", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EP0SETUP": { + "description": "Write '1' to enable interrupt for event EP0SETUP", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EPDATA": { + "description": "Write '1' to enable interrupt for event EPDATA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "USBRESET": { + "description": "Write '1' to disable interrupt for event USBRESET", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to disable interrupt for event STARTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN0": { + "description": "Write '1' to disable interrupt for event ENDEPIN[0]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN1": { + "description": "Write '1' to disable interrupt for event ENDEPIN[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN2": { + "description": "Write '1' to disable interrupt for event ENDEPIN[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN3": { + "description": "Write '1' to disable interrupt for event ENDEPIN[3]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN4": { + "description": "Write '1' to disable interrupt for event ENDEPIN[4]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN5": { + "description": "Write '1' to disable interrupt for event ENDEPIN[5]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN6": { + "description": "Write '1' to disable interrupt for event ENDEPIN[6]", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPIN7": { + "description": "Write '1' to disable interrupt for event ENDEPIN[7]", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EP0DATADONE": { + "description": "Write '1' to disable interrupt for event EP0DATADONE", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDISOIN": { + "description": "Write '1' to disable interrupt for event ENDISOIN", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT0": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[0]", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT1": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[1]", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT2": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[2]", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT3": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[3]", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT4": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[4]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT5": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[5]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT6": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[6]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDEPOUT7": { + "description": "Write '1' to disable interrupt for event ENDEPOUT[7]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDISOOUT": { + "description": "Write '1' to disable interrupt for event ENDISOOUT", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SOF": { + "description": "Write '1' to disable interrupt for event SOF", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "USBEVENT": { + "description": "Write '1' to disable interrupt for event USBEVENT", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EP0SETUP": { + "description": "Write '1' to disable interrupt for event EP0SETUP", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "EPDATA": { + "description": "Write '1' to disable interrupt for event EPDATA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTCAUSE": { + "description": "Details on what caused the USBEVENT event", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ISOOUTCRC": { + "description": "CRC error was detected on isochronous OUT endpoint 8. Write '1' to clear.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "No error detected", + "value": 0 + }, + "Detected": { + "description": "Error detected", + "value": 1 + } + } + } + } + }, + "SUSPEND": { + "description": "Signals that USB lines have been idle long enough for the device to enter suspend. Write '1' to clear.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Suspend not detected", + "value": 0 + }, + "Detected": { + "description": "Suspend detected", + "value": 1 + } + } + } + } + }, + "RESUME": { + "description": "Signals that a RESUME condition (K state or activity restart) has been detected on USB lines. Write '1' to clear.", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "Resume not detected", + "value": 0 + }, + "Detected": { + "description": "Resume detected", + "value": 1 + } + } + } + } + }, + "USBWUALLOWED": { + "description": "USB MAC has been woken up and operational. Write '1' to clear.", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotAllowed": { + "description": "Wake up not allowed", + "value": 0 + }, + "Allowed": { + "description": "Wake up allowed", + "value": 1 + } + } + } + } + }, + "READY": { + "description": "USB device is ready for normal operation. Write '1' to clear.", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDetected": { + "description": "USBEVENT was not issued due to USBD peripheral ready", + "value": 0 + }, + "Ready": { + "description": "USBD peripheral is ready", + "value": 1 + } + } + } + } + } + } + } + }, + "EPSTATUS": { + "description": "Provides information on which endpoint's EasyDMA registers have been captured", + "offset": 1128, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EPIN0": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN1": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN2": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN3": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN4": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN5": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN6": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN7": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPIN8": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT0": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT1": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT2": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT3": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT4": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT5": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT6": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT7": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + }, + "EPOUT8": { + "description": "Captured state of endpoint's EasyDMA registers. Write '1' to clear.", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoData": { + "description": "EasyDMA registers have not been captured for this endpoint", + "value": 0 + }, + "DataDone": { + "description": "EasyDMA registers have been captured for this endpoint", + "value": 1 + } + } + } + } + } + } + } + }, + "EPDATASTATUS": { + "description": "Provides information on which endpoint(s) an acknowledged data transfer has occurred (EPDATA event)", + "offset": 1132, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EPIN1": { + "description": "Acknowledged data transfer on this IN endpoint. Write '1' to clear.", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDone": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "DataDone": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPIN2": { + "description": "Acknowledged data transfer on this IN endpoint. Write '1' to clear.", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDone": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "DataDone": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPIN3": { + "description": "Acknowledged data transfer on this IN endpoint. Write '1' to clear.", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDone": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "DataDone": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPIN4": { + "description": "Acknowledged data transfer on this IN endpoint. Write '1' to clear.", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDone": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "DataDone": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPIN5": { + "description": "Acknowledged data transfer on this IN endpoint. Write '1' to clear.", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDone": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "DataDone": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPIN6": { + "description": "Acknowledged data transfer on this IN endpoint. Write '1' to clear.", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDone": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "DataDone": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPIN7": { + "description": "Acknowledged data transfer on this IN endpoint. Write '1' to clear.", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotDone": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "DataDone": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPOUT1": { + "description": "Acknowledged data transfer on this OUT endpoint. Write '1' to clear.", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotStarted": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "Started": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPOUT2": { + "description": "Acknowledged data transfer on this OUT endpoint. Write '1' to clear.", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotStarted": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "Started": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPOUT3": { + "description": "Acknowledged data transfer on this OUT endpoint. Write '1' to clear.", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotStarted": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "Started": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPOUT4": { + "description": "Acknowledged data transfer on this OUT endpoint. Write '1' to clear.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotStarted": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "Started": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPOUT5": { + "description": "Acknowledged data transfer on this OUT endpoint. Write '1' to clear.", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotStarted": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "Started": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPOUT6": { + "description": "Acknowledged data transfer on this OUT endpoint. Write '1' to clear.", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotStarted": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "Started": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + }, + "EPOUT7": { + "description": "Acknowledged data transfer on this OUT endpoint. Write '1' to clear.", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotStarted": { + "description": "No acknowledged data transfer on this endpoint", + "value": 0 + }, + "Started": { + "description": "Acknowledged data transfer on this endpoint has occurred", + "value": 1 + } + } + } + } + } + } + } + }, + "USBADDR": { + "description": "Device USB address", + "offset": 1136, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ADDR": { + "description": "Device USB address", + "offset": 0, + "size": 7 + } + } + } + }, + "BMREQUESTTYPE": { + "description": "SETUP data, byte 0, bmRequestType", + "offset": 1152, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RECIPIENT": { + "description": "Data transfer type", + "offset": 0, + "size": 5, + "enum": { + "size": 5, + "children": { + "enum_fields": { + "Device": { + "description": "Device", + "value": 0 + }, + "Interface": { + "description": "Interface", + "value": 1 + }, + "Endpoint": { + "description": "Endpoint", + "value": 2 + }, + "Other": { + "description": "Other", + "value": 3 + } + } + } + } + }, + "TYPE": { + "description": "Data transfer type", + "offset": 5, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Standard": { + "description": "Standard", + "value": 0 + }, + "Class": { + "description": "Class", + "value": 1 + }, + "Vendor": { + "description": "Vendor", + "value": 2 + } + } + } + } + }, + "DIRECTION": { + "description": "Data transfer direction", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "HostToDevice": { + "description": "Host-to-device", + "value": 0 + }, + "DeviceToHost": { + "description": "Device-to-host", + "value": 1 + } + } + } + } + } + } + } + }, + "BREQUEST": { + "description": "SETUP data, byte 1, bRequest", + "offset": 1156, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "BREQUEST": { + "description": "SETUP data, byte 1, bRequest. Values provided for standard requests only, user must implement class and vendor values.", + "offset": 0, + "size": 8, + "enum": { + "size": 8, + "children": { + "enum_fields": { + "STD_GET_STATUS": { + "description": "Standard request GET_STATUS", + "value": 0 + }, + "STD_CLEAR_FEATURE": { + "description": "Standard request CLEAR_FEATURE", + "value": 1 + }, + "STD_SET_FEATURE": { + "description": "Standard request SET_FEATURE", + "value": 3 + }, + "STD_SET_ADDRESS": { + "description": "Standard request SET_ADDRESS", + "value": 5 + }, + "STD_GET_DESCRIPTOR": { + "description": "Standard request GET_DESCRIPTOR", + "value": 6 + }, + "STD_SET_DESCRIPTOR": { + "description": "Standard request SET_DESCRIPTOR", + "value": 7 + }, + "STD_GET_CONFIGURATION": { + "description": "Standard request GET_CONFIGURATION", + "value": 8 + }, + "STD_SET_CONFIGURATION": { + "description": "Standard request SET_CONFIGURATION", + "value": 9 + }, + "STD_GET_INTERFACE": { + "description": "Standard request GET_INTERFACE", + "value": 10 + }, + "STD_SET_INTERFACE": { + "description": "Standard request SET_INTERFACE", + "value": 11 + }, + "STD_SYNCH_FRAME": { + "description": "Standard request SYNCH_FRAME", + "value": 12 + } + } + } + } + } + } + } + }, + "WVALUEL": { + "description": "SETUP data, byte 2, LSB of wValue", + "offset": 1160, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "WVALUEL": { + "description": "SETUP data, byte 2, LSB of wValue", + "offset": 0, + "size": 8 + } + } + } + }, + "WVALUEH": { + "description": "SETUP data, byte 3, MSB of wValue", + "offset": 1164, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "WVALUEH": { + "description": "SETUP data, byte 3, MSB of wValue", + "offset": 0, + "size": 8 + } + } + } + }, + "WINDEXL": { + "description": "SETUP data, byte 4, LSB of wIndex", + "offset": 1168, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "WINDEXL": { + "description": "SETUP data, byte 4, LSB of wIndex", + "offset": 0, + "size": 8 + } + } + } + }, + "WINDEXH": { + "description": "SETUP data, byte 5, MSB of wIndex", + "offset": 1172, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "WINDEXH": { + "description": "SETUP data, byte 5, MSB of wIndex", + "offset": 0, + "size": 8 + } + } + } + }, + "WLENGTHL": { + "description": "SETUP data, byte 6, LSB of wLength", + "offset": 1176, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "WLENGTHL": { + "description": "SETUP data, byte 6, LSB of wLength", + "offset": 0, + "size": 8 + } + } + } + }, + "WLENGTHH": { + "description": "SETUP data, byte 7, MSB of wLength", + "offset": 1180, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "WLENGTHH": { + "description": "SETUP data, byte 7, MSB of wLength", + "offset": 0, + "size": 8 + } + } + } + }, + "ENABLE": { + "description": "Enable USB", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable USB", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "USB peripheral is disabled", + "value": 0 + }, + "Enabled": { + "description": "USB peripheral is enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "USBPULLUP": { + "description": "Control of the USB pull-up", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CONNECT": { + "description": "Control of the USB pull-up on the D+ line", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Pull-up is disconnected", + "value": 0 + }, + "Enabled": { + "description": "Pull-up is connected to D+", + "value": 1 + } + } + } + } + } + } + } + }, + "DPDMVALUE": { + "description": "State D+ and D- lines will be forced into by the DPDMDRIVE task. The DPDMNODRIVE task reverts the control of the lines to MAC IP (no forcing).", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STATE": { + "description": "State D+ and D- lines will be forced into by the DPDMDRIVE task", + "offset": 0, + "size": 5, + "enum": { + "size": 5, + "children": { + "enum_fields": { + "Resume": { + "description": "D+ forced low, D- forced high (K state) for a timing preset in hardware (50 us or 5 ms, depending on bus state)", + "value": 1 + }, + "J": { + "description": "D+ forced high, D- forced low (J state)", + "value": 2 + }, + "K": { + "description": "D+ forced low, D- forced high (K state)", + "value": 4 + } + } + } + } + } + } + } + }, + "DTOGGLE": { + "description": "Data toggle control and status", + "offset": 1292, + "size": 32, + "reset_value": 256, + "reset_mask": 4294967295, + "children": { + "fields": { + "EP": { + "description": "Select bulk endpoint number", + "offset": 0, + "size": 3 + }, + "IO": { + "description": "Selects IN or OUT endpoint", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Out": { + "description": "Selects OUT endpoint", + "value": 0 + }, + "In": { + "description": "Selects IN endpoint", + "value": 1 + } + } + } + } + }, + "VALUE": { + "description": "Data toggle value", + "offset": 8, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Nop": { + "description": "No action on data toggle when writing the register with this value", + "value": 0 + }, + "Data0": { + "description": "Data toggle is DATA0 on endpoint set by EP and IO", + "value": 1 + }, + "Data1": { + "description": "Data toggle is DATA1 on endpoint set by EP and IO", + "value": 2 + } + } + } + } + } + } + } + }, + "EPINEN": { + "description": "Endpoint IN enable", + "offset": 1296, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "IN0": { + "description": "Enable IN endpoint 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 0 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 0 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "IN1": { + "description": "Enable IN endpoint 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 1 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 1 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "IN2": { + "description": "Enable IN endpoint 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 2 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 2 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "IN3": { + "description": "Enable IN endpoint 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 3 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 3 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "IN4": { + "description": "Enable IN endpoint 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 4 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 4 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "IN5": { + "description": "Enable IN endpoint 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 5 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 5 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "IN6": { + "description": "Enable IN endpoint 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 6 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 6 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "IN7": { + "description": "Enable IN endpoint 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint IN 7 (no response to IN tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint IN 7 (response to IN tokens)", + "value": 1 + } + } + } + } + }, + "ISOIN": { + "description": "Enable ISO IN endpoint", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable ISO IN endpoint 8", + "value": 0 + }, + "Enable": { + "description": "Enable ISO IN endpoint 8", + "value": 1 + } + } + } + } + } + } + } + }, + "EPOUTEN": { + "description": "Endpoint OUT enable", + "offset": 1300, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "OUT0": { + "description": "Enable OUT endpoint 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 0 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 0 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "OUT1": { + "description": "Enable OUT endpoint 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 1 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 1 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "OUT2": { + "description": "Enable OUT endpoint 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 2 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 2 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "OUT3": { + "description": "Enable OUT endpoint 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 3 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 3 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "OUT4": { + "description": "Enable OUT endpoint 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 4 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 4 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "OUT5": { + "description": "Enable OUT endpoint 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 5 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 5 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "OUT6": { + "description": "Enable OUT endpoint 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 6 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 6 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "OUT7": { + "description": "Enable OUT endpoint 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable endpoint OUT 7 (no response to OUT tokens)", + "value": 0 + }, + "Enable": { + "description": "Enable endpoint OUT 7 (response to OUT tokens)", + "value": 1 + } + } + } + } + }, + "ISOOUT": { + "description": "Enable ISO OUT endpoint 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable ISO OUT endpoint 8", + "value": 0 + }, + "Enable": { + "description": "Enable ISO OUT endpoint 8", + "value": 1 + } + } + } + } + } + } + } + }, + "EPSTALL": { + "description": "STALL endpoints", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "EP": { + "description": "Select endpoint number", + "offset": 0, + "size": 3 + }, + "IO": { + "description": "Selects IN or OUT endpoint", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Out": { + "description": "Selects OUT endpoint", + "value": 0 + }, + "In": { + "description": "Selects IN endpoint", + "value": 1 + } + } + } + } + }, + "STALL": { + "description": "Stall selected endpoint", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "UnStall": { + "description": "Don't stall selected endpoint", + "value": 0 + }, + "Stall": { + "description": "Stall selected endpoint", + "value": 1 + } + } + } + } + } + } + } + }, + "ISOSPLIT": { + "description": "Controls the split of ISO buffers", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SPLIT": { + "description": "Controls the split of ISO buffers", + "offset": 0, + "size": 16, + "enum": { + "size": 16, + "children": { + "enum_fields": { + "OneDir": { + "description": "Full buffer dedicated to either iso IN or OUT", + "value": 0 + }, + "HalfIN": { + "description": "Lower half for IN, upper half for OUT", + "value": 128 + } + } + } + } + } + } + } + }, + "FRAMECNTR": { + "description": "Returns the current value of the start of frame counter", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "FRAMECNTR": { + "description": "Returns the current value of the start of frame counter", + "offset": 0, + "size": 11 + } + } + } + }, + "LOWPOWER": { + "description": "Controls USBD peripheral low power mode during USB suspend", + "offset": 1324, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LOWPOWER": { + "description": "Controls USBD peripheral low-power mode during USB suspend", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ForceNormal": { + "description": "Software must write this value to exit low power mode and before performing a remote wake-up", + "value": 0 + }, + "LowPower": { + "description": "Software must write this value to enter low power mode after DMA and software have finished interacting with the USB peripheral", + "value": 1 + } + } + } + } + } + } + } + }, + "ISOINCONFIG": { + "description": "Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent", + "offset": 1328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RESPONSE": { + "description": "Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoResp": { + "description": "Endpoint does not respond in that case", + "value": 0 + }, + "ZeroData": { + "description": "Endpoint responds with a zero-length data packet in that case", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "NFCT": { + "description": "NFC-A compatible radio", + "children": { + "registers": { + "TASKS_ACTIVATE": { + "description": "Activate NFCT peripheral for incoming and outgoing frames, change state to activated", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_ACTIVATE": { + "description": "Activate NFCT peripheral for incoming and outgoing frames, change state to activated", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_DISABLE": { + "description": "Disable NFCT peripheral", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_DISABLE": { + "description": "Disable NFCT peripheral", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SENSE": { + "description": "Enable NFC sense field mode, change state to sense mode", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SENSE": { + "description": "Enable NFC sense field mode, change state to sense mode", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STARTTX": { + "description": "Start transmission of an outgoing frame, change state to transmit", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTTX": { + "description": "Start transmission of an outgoing frame, change state to transmit", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_ENABLERXDATA": { + "description": "Initializes the EasyDMA for receive.", + "offset": 28, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_ENABLERXDATA": { + "description": "Initializes the EasyDMA for receive.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_GOIDLE": { + "description": "Force state machine to IDLE state", + "offset": 36, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_GOIDLE": { + "description": "Force state machine to IDLE state", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_GOSLEEP": { + "description": "Force state machine to SLEEP_A state", + "offset": 40, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_GOSLEEP": { + "description": "Force state machine to SLEEP_A state", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_READY": { + "description": "The NFCT peripheral is ready to receive and send frames", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_READY": { + "description": "The NFCT peripheral is ready to receive and send frames", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_FIELDDETECTED": { + "description": "Remote NFC field detected", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_FIELDDETECTED": { + "description": "Remote NFC field detected", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_FIELDLOST": { + "description": "Remote NFC field lost", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_FIELDLOST": { + "description": "Remote NFC field lost", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXFRAMESTART": { + "description": "Marks the start of the first symbol of a transmitted frame", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXFRAMESTART": { + "description": "Marks the start of the first symbol of a transmitted frame", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXFRAMEEND": { + "description": "Marks the end of the last transmitted on-air symbol of a frame", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXFRAMEEND": { + "description": "Marks the end of the last transmitted on-air symbol of a frame", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXFRAMESTART": { + "description": "Marks the end of the first symbol of a received frame", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXFRAMESTART": { + "description": "Marks the end of the first symbol of a received frame", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXFRAMEEND": { + "description": "Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer", + "offset": 280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXFRAMEEND": { + "description": "Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERROR": { + "description": "NFC error reported. The ERRORSTATUS register contains details on the source of the error.", + "offset": 284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERROR": { + "description": "NFC error reported. The ERRORSTATUS register contains details on the source of the error.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXERROR": { + "description": "NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error.", + "offset": 296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXERROR": { + "description": "NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDRX": { + "description": "RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.", + "offset": 300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDRX": { + "description": "RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDTX": { + "description": "Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer", + "offset": 304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDTX": { + "description": "Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_AUTOCOLRESSTARTED": { + "description": "Auto collision resolution process has started", + "offset": 312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_AUTOCOLRESSTARTED": { + "description": "Auto collision resolution process has started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_COLLISION": { + "description": "NFC auto collision resolution error reported.", + "offset": 328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_COLLISION": { + "description": "NFC auto collision resolution error reported.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SELECTED": { + "description": "NFC auto collision resolution successfully completed", + "offset": 332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SELECTED": { + "description": "NFC auto collision resolution successfully completed", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STARTED": { + "description": "EasyDMA is ready to receive or send frames.", + "offset": 336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STARTED": { + "description": "EasyDMA is ready to receive or send frames.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "FIELDDETECTED_ACTIVATE": { + "description": "Shortcut between event FIELDDETECTED and task ACTIVATE", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "FIELDLOST_SENSE": { + "description": "Shortcut between event FIELDLOST and task SENSE", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "TXFRAMEEND_ENABLERXDATA": { + "description": "Shortcut between event TXFRAMEEND and task ENABLERXDATA", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Enable or disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "FIELDDETECTED": { + "description": "Enable or disable interrupt for event FIELDDETECTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "FIELDLOST": { + "description": "Enable or disable interrupt for event FIELDLOST", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXFRAMESTART": { + "description": "Enable or disable interrupt for event TXFRAMESTART", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXFRAMEEND": { + "description": "Enable or disable interrupt for event TXFRAMEEND", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXFRAMESTART": { + "description": "Enable or disable interrupt for event RXFRAMESTART", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXFRAMEEND": { + "description": "Enable or disable interrupt for event RXFRAMEEND", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Enable or disable interrupt for event ERROR", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RXERROR": { + "description": "Enable or disable interrupt for event RXERROR", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Enable or disable interrupt for event ENDRX", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Enable or disable interrupt for event ENDTX", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "AUTOCOLRESSTARTED": { + "description": "Enable or disable interrupt for event AUTOCOLRESSTARTED", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "COLLISION": { + "description": "Enable or disable interrupt for event COLLISION", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "SELECTED": { + "description": "Enable or disable interrupt for event SELECTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Enable or disable interrupt for event STARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to enable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDDETECTED": { + "description": "Write '1' to enable interrupt for event FIELDDETECTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDLOST": { + "description": "Write '1' to enable interrupt for event FIELDLOST", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMESTART": { + "description": "Write '1' to enable interrupt for event TXFRAMESTART", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMEEND": { + "description": "Write '1' to enable interrupt for event TXFRAMEEND", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMESTART": { + "description": "Write '1' to enable interrupt for event RXFRAMESTART", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMEEND": { + "description": "Write '1' to enable interrupt for event RXFRAMEEND", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to enable interrupt for event ERROR", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXERROR": { + "description": "Write '1' to enable interrupt for event RXERROR", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to enable interrupt for event ENDRX", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to enable interrupt for event ENDTX", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "AUTOCOLRESSTARTED": { + "description": "Write '1' to enable interrupt for event AUTOCOLRESSTARTED", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COLLISION": { + "description": "Write '1' to enable interrupt for event COLLISION", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SELECTED": { + "description": "Write '1' to enable interrupt for event SELECTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to enable interrupt for event STARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDDETECTED": { + "description": "Write '1' to disable interrupt for event FIELDDETECTED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "FIELDLOST": { + "description": "Write '1' to disable interrupt for event FIELDLOST", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMESTART": { + "description": "Write '1' to disable interrupt for event TXFRAMESTART", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXFRAMEEND": { + "description": "Write '1' to disable interrupt for event TXFRAMEEND", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMESTART": { + "description": "Write '1' to disable interrupt for event RXFRAMESTART", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXFRAMEEND": { + "description": "Write '1' to disable interrupt for event RXFRAMEEND", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Write '1' to disable interrupt for event ERROR", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RXERROR": { + "description": "Write '1' to disable interrupt for event RXERROR", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDRX": { + "description": "Write '1' to disable interrupt for event ENDRX", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDTX": { + "description": "Write '1' to disable interrupt for event ENDTX", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "AUTOCOLRESSTARTED": { + "description": "Write '1' to disable interrupt for event AUTOCOLRESSTARTED", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COLLISION": { + "description": "Write '1' to disable interrupt for event COLLISION", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "SELECTED": { + "description": "Write '1' to disable interrupt for event SELECTED", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STARTED": { + "description": "Write '1' to disable interrupt for event STARTED", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ERRORSTATUS": { + "description": "NFC Error Status register", + "offset": 1028, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYTIMEOUT": { + "description": "No STARTTX task triggered before expiration of the time set in FRAMEDELAYMAX", + "offset": 0, + "size": 1 + } + } + } + }, + "NFCTAGSTATE": { + "description": "NfcTag state register", + "offset": 1040, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "NFCTAGSTATE": { + "description": "NfcTag state", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled or sense", + "value": 0 + }, + "RampUp": { + "description": "RampUp", + "value": 2 + }, + "Idle": { + "description": "Idle", + "value": 3 + }, + "Receive": { + "description": "Receive", + "value": 4 + }, + "FrameDelay": { + "description": "FrameDelay", + "value": 5 + }, + "Transmit": { + "description": "Transmit", + "value": 6 + } + } + } + } + } + } + } + }, + "SLEEPSTATE": { + "description": "Sleep state during automatic collision resolution", + "offset": 1056, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SLEEPSTATE": { + "description": "Reflects the sleep state during automatic collision resolution. Set to IDLE \n by a GOIDLE task. Set to SLEEP_A when a valid SLEEP_REQ frame is received or by a \n GOSLEEP task.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Idle": { + "description": "State is IDLE.", + "value": 0 + }, + "SleepA": { + "description": "State is SLEEP_A.", + "value": 1 + } + } + } + } + } + } + } + }, + "FIELDPRESENT": { + "description": "Indicates the presence or not of a valid field", + "offset": 1084, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "FIELDPRESENT": { + "description": "Indicates if a valid field is present. Available only in the activated state.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoField": { + "description": "No valid field detected", + "value": 0 + }, + "FieldPresent": { + "description": "Valid field detected", + "value": 1 + } + } + } + } + }, + "LOCKDETECT": { + "description": "Indicates if the low level has locked to the field", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotLocked": { + "description": "Not locked to field", + "value": 0 + }, + "Locked": { + "description": "Locked to field", + "value": 1 + } + } + } + } + } + } + } + }, + "FRAMEDELAYMIN": { + "description": "Minimum frame delay", + "offset": 1284, + "size": 32, + "reset_value": 1152, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYMIN": { + "description": "Minimum frame delay in number of 13.56 MHz clocks", + "offset": 0, + "size": 16 + } + } + } + }, + "FRAMEDELAYMAX": { + "description": "Maximum frame delay", + "offset": 1288, + "size": 32, + "reset_value": 4096, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYMAX": { + "description": "Maximum frame delay in number of 13.56 MHz clocks", + "offset": 0, + "size": 20 + } + } + } + }, + "FRAMEDELAYMODE": { + "description": "Configuration register for the Frame Delay Timer", + "offset": 1292, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "FRAMEDELAYMODE": { + "description": "Configuration register for the Frame Delay Timer", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "FreeRun": { + "description": "Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout.", + "value": 0 + }, + "Window": { + "description": "Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX", + "value": 1 + }, + "ExactVal": { + "description": "Frame is transmitted exactly at FRAMEDELAYMAX", + "value": 2 + }, + "WindowGrid": { + "description": "Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX", + "value": 3 + } + } + } + } + } + } + } + }, + "PACKETPTR": { + "description": "Packet pointer for TXD and RXD data storage in Data RAM", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PTR": { + "description": "Packet pointer for TXD and RXD data storage in Data RAM. This address is a byte-aligned RAM address.", + "offset": 0, + "size": 32 + } + } + } + }, + "MAXLEN": { + "description": "Size of the RAM buffer allocated to TXD and RXD data storage each", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MAXLEN": { + "description": "Size of the RAM buffer allocated to TXD and RXD data storage each", + "offset": 0, + "size": 9 + } + } + } + }, + "NFCID1_LAST": { + "description": "Last NFCID1 part (4, 7 or 10 bytes ID)", + "offset": 1424, + "size": 32, + "reset_value": 25443, + "reset_mask": 4294967295, + "children": { + "fields": { + "NFCID1_Z": { + "description": "NFCID1 byte Z (very last byte sent)", + "offset": 0, + "size": 8 + }, + "NFCID1_Y": { + "description": "NFCID1 byte Y", + "offset": 8, + "size": 8 + }, + "NFCID1_X": { + "description": "NFCID1 byte X", + "offset": 16, + "size": 8 + }, + "NFCID1_W": { + "description": "NFCID1 byte W", + "offset": 24, + "size": 8 + } + } + } + }, + "NFCID1_2ND_LAST": { + "description": "Second last NFCID1 part (7 or 10 bytes ID)", + "offset": 1428, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "NFCID1_V": { + "description": "NFCID1 byte V", + "offset": 0, + "size": 8 + }, + "NFCID1_U": { + "description": "NFCID1 byte U", + "offset": 8, + "size": 8 + }, + "NFCID1_T": { + "description": "NFCID1 byte T", + "offset": 16, + "size": 8 + } + } + } + }, + "NFCID1_3RD_LAST": { + "description": "Third last NFCID1 part (10 bytes ID)", + "offset": 1432, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "NFCID1_S": { + "description": "NFCID1 byte S", + "offset": 0, + "size": 8 + }, + "NFCID1_R": { + "description": "NFCID1 byte R", + "offset": 8, + "size": 8 + }, + "NFCID1_Q": { + "description": "NFCID1 byte Q", + "offset": 16, + "size": 8 + } + } + } + }, + "AUTOCOLRESCONFIG": { + "description": "Controls the auto collision resolution function. This setting must be done before the NFCT peripheral is enabled.", + "offset": 1436, + "size": 32, + "reset_value": 2, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Enables/disables auto collision resolution", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Enabled": { + "description": "Auto collision resolution enabled", + "value": 0 + }, + "Disabled": { + "description": "Auto collision resolution disabled", + "value": 1 + } + } + } + } + } + } + } + }, + "SENSRES": { + "description": "NFC-A SENS_RES auto-response settings", + "offset": 1440, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "BITFRAMESDD": { + "description": "Bit frame SDD as defined by the b5:b1 of byte 1 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification", + "offset": 0, + "size": 5, + "enum": { + "size": 5, + "children": { + "enum_fields": { + "SDD00000": { + "description": "SDD pattern 00000", + "value": 0 + }, + "SDD00001": { + "description": "SDD pattern 00001", + "value": 1 + }, + "SDD00010": { + "description": "SDD pattern 00010", + "value": 2 + }, + "SDD00100": { + "description": "SDD pattern 00100", + "value": 4 + }, + "SDD01000": { + "description": "SDD pattern 01000", + "value": 8 + }, + "SDD10000": { + "description": "SDD pattern 10000", + "value": 16 + } + } + } + } + }, + "RFU5": { + "description": "Reserved for future use. Shall be 0.", + "offset": 5, + "size": 1 + }, + "NFCIDSIZE": { + "description": "NFCID1 size. This value is used by the auto collision resolution engine.", + "offset": 6, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "NFCID1Single": { + "description": "NFCID1 size: single (4 bytes)", + "value": 0 + }, + "NFCID1Double": { + "description": "NFCID1 size: double (7 bytes)", + "value": 1 + }, + "NFCID1Triple": { + "description": "NFCID1 size: triple (10 bytes)", + "value": 2 + } + } + } + } + }, + "PLATFCONFIG": { + "description": "Tag platform configuration as defined by the b4:b1 of byte 2 in SENS_RES response in the NFC Forum, NFC Digital Protocol Technical Specification", + "offset": 8, + "size": 4 + }, + "RFU74": { + "description": "Reserved for future use. Shall be 0.", + "offset": 12, + "size": 4 + } + } + } + }, + "SELRES": { + "description": "NFC-A SEL_RES auto-response settings", + "offset": 1444, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RFU10": { + "description": "Reserved for future use. Shall be 0.", + "offset": 0, + "size": 2 + }, + "CASCADE": { + "description": "Cascade as defined by the b3 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification (controlled by hardware, shall be 0)", + "offset": 2, + "size": 1 + }, + "RFU43": { + "description": "Reserved for future use. Shall be 0.", + "offset": 3, + "size": 2 + }, + "PROTOCOL": { + "description": "Protocol as defined by the b7:b6 of SEL_RES response in the NFC Forum, NFC Digital Protocol Technical Specification", + "offset": 5, + "size": 2 + }, + "RFU7": { + "description": "Reserved for future use. Shall be 0.", + "offset": 7, + "size": 1 + } + } + } + } + } + } + }, + "GPIOTE": { + "description": "GPIO Tasks and Events", + "children": { + "registers": { + "TASKS_OUT": { + "description": "Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY.", + "offset": 0, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_OUT": { + "description": "Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SET": { + "description": "Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high.", + "offset": 48, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SET": { + "description": "Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CLR": { + "description": "Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low.", + "offset": 96, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CLR": { + "description": "Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_IN": { + "description": "Description collection: Event generated from pin specified in CONFIG[n].PSEL", + "offset": 256, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_IN": { + "description": "Event generated from pin specified in CONFIG[n].PSEL", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_PORT": { + "description": "Event generated from multiple input GPIO pins with SENSE mechanism enabled", + "offset": 380, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_PORT": { + "description": "Event generated from multiple input GPIO pins with SENSE mechanism enabled", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "IN0": { + "description": "Write '1' to enable interrupt for event IN[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN1": { + "description": "Write '1' to enable interrupt for event IN[1]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN2": { + "description": "Write '1' to enable interrupt for event IN[2]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN3": { + "description": "Write '1' to enable interrupt for event IN[3]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN4": { + "description": "Write '1' to enable interrupt for event IN[4]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN5": { + "description": "Write '1' to enable interrupt for event IN[5]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN6": { + "description": "Write '1' to enable interrupt for event IN[6]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN7": { + "description": "Write '1' to enable interrupt for event IN[7]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PORT": { + "description": "Write '1' to enable interrupt for event PORT", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "IN0": { + "description": "Write '1' to disable interrupt for event IN[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN1": { + "description": "Write '1' to disable interrupt for event IN[1]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN2": { + "description": "Write '1' to disable interrupt for event IN[2]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN3": { + "description": "Write '1' to disable interrupt for event IN[3]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN4": { + "description": "Write '1' to disable interrupt for event IN[4]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN5": { + "description": "Write '1' to disable interrupt for event IN[5]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN6": { + "description": "Write '1' to disable interrupt for event IN[6]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "IN7": { + "description": "Write '1' to disable interrupt for event IN[7]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PORT": { + "description": "Write '1' to disable interrupt for event PORT", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Description collection: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event", + "offset": 1296, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Mode", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.", + "value": 0 + }, + "Event": { + "description": "Event mode", + "value": 1 + }, + "Task": { + "description": "Task mode", + "value": 3 + } + } + } + } + }, + "PSEL": { + "description": "GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event", + "offset": 8, + "size": 5 + }, + "PORT": { + "description": "Port number", + "offset": 13, + "size": 1 + }, + "POLARITY": { + "description": "When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event.", + "offset": 16, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "None": { + "description": "Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity.", + "value": 0 + }, + "LoToHi": { + "description": "Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin.", + "value": 1 + }, + "HiToLo": { + "description": "Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin.", + "value": 2 + }, + "Toggle": { + "description": "Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin.", + "value": 3 + } + } + } + } + }, + "OUTINIT": { + "description": "When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect.", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Low": { + "description": "Task mode: Initial value of pin before task triggering is low", + "value": 0 + }, + "High": { + "description": "Task mode: Initial value of pin before task triggering is high", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "SAADC": { + "description": "Successive approximation register (SAR) analog-to-digital converter", + "children": { + "registers": { + "TASKS_START": { + "description": "Starts the SAADC and prepares the result buffer in RAM", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Starts the SAADC and prepares the result buffer in RAM", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SAMPLE": { + "description": "Takes one SAADC sample", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SAMPLE": { + "description": "Takes one SAADC sample", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stops the SAADC and terminates all on-going conversions", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stops the SAADC and terminates all on-going conversions", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CALIBRATEOFFSET": { + "description": "Starts offset auto-calibration", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CALIBRATEOFFSET": { + "description": "Starts offset auto-calibration", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STARTED": { + "description": "The SAADC has started", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STARTED": { + "description": "The SAADC has started", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_END": { + "description": "The SAADC has filled up the result buffer", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_END": { + "description": "The SAADC has filled up the result buffer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DONE": { + "description": "A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM.", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DONE": { + "description": "A conversion task has been completed. Depending on the configuration, multiple conversions might be needed for a result to be transferred to RAM.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RESULTDONE": { + "description": "Result ready for transfer to RAM", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RESULTDONE": { + "description": "Result ready for transfer to RAM", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CALIBRATEDONE": { + "description": "Calibration is complete", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CALIBRATEDONE": { + "description": "Calibration is complete", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "The SAADC has stopped", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "The SAADC has stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Enable or disable interrupt for event STARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Enable or disable interrupt for event END", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Enable or disable interrupt for event DONE", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "RESULTDONE": { + "description": "Enable or disable interrupt for event RESULTDONE", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CALIBRATEDONE": { + "description": "Enable or disable interrupt for event CALIBRATEDONE", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Enable or disable interrupt for event STOPPED", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH0LIMITH": { + "description": "Enable or disable interrupt for event CH0LIMITH", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH0LIMITL": { + "description": "Enable or disable interrupt for event CH0LIMITL", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH1LIMITH": { + "description": "Enable or disable interrupt for event CH1LIMITH", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH1LIMITL": { + "description": "Enable or disable interrupt for event CH1LIMITL", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH2LIMITH": { + "description": "Enable or disable interrupt for event CH2LIMITH", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH2LIMITL": { + "description": "Enable or disable interrupt for event CH2LIMITL", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH3LIMITH": { + "description": "Enable or disable interrupt for event CH3LIMITH", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH3LIMITL": { + "description": "Enable or disable interrupt for event CH3LIMITL", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH4LIMITH": { + "description": "Enable or disable interrupt for event CH4LIMITH", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH4LIMITL": { + "description": "Enable or disable interrupt for event CH4LIMITL", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH5LIMITH": { + "description": "Enable or disable interrupt for event CH5LIMITH", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH5LIMITL": { + "description": "Enable or disable interrupt for event CH5LIMITL", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH6LIMITH": { + "description": "Enable or disable interrupt for event CH6LIMITH", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH6LIMITL": { + "description": "Enable or disable interrupt for event CH6LIMITL", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH7LIMITH": { + "description": "Enable or disable interrupt for event CH7LIMITH", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CH7LIMITL": { + "description": "Enable or disable interrupt for event CH7LIMITL", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to enable interrupt for event STARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to enable interrupt for event END", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to enable interrupt for event DONE", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESULTDONE": { + "description": "Write '1' to enable interrupt for event RESULTDONE", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CALIBRATEDONE": { + "description": "Write '1' to enable interrupt for event CALIBRATEDONE", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITH": { + "description": "Write '1' to enable interrupt for event CH0LIMITH", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITL": { + "description": "Write '1' to enable interrupt for event CH0LIMITL", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITH": { + "description": "Write '1' to enable interrupt for event CH1LIMITH", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITL": { + "description": "Write '1' to enable interrupt for event CH1LIMITL", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITH": { + "description": "Write '1' to enable interrupt for event CH2LIMITH", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITL": { + "description": "Write '1' to enable interrupt for event CH2LIMITL", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITH": { + "description": "Write '1' to enable interrupt for event CH3LIMITH", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITL": { + "description": "Write '1' to enable interrupt for event CH3LIMITL", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITH": { + "description": "Write '1' to enable interrupt for event CH4LIMITH", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITL": { + "description": "Write '1' to enable interrupt for event CH4LIMITL", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITH": { + "description": "Write '1' to enable interrupt for event CH5LIMITH", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITL": { + "description": "Write '1' to enable interrupt for event CH5LIMITL", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITH": { + "description": "Write '1' to enable interrupt for event CH6LIMITH", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITL": { + "description": "Write '1' to enable interrupt for event CH6LIMITL", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITH": { + "description": "Write '1' to enable interrupt for event CH7LIMITH", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITL": { + "description": "Write '1' to enable interrupt for event CH7LIMITL", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "STARTED": { + "description": "Write '1' to disable interrupt for event STARTED", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "END": { + "description": "Write '1' to disable interrupt for event END", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DONE": { + "description": "Write '1' to disable interrupt for event DONE", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESULTDONE": { + "description": "Write '1' to disable interrupt for event RESULTDONE", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CALIBRATEDONE": { + "description": "Write '1' to disable interrupt for event CALIBRATEDONE", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITH": { + "description": "Write '1' to disable interrupt for event CH0LIMITH", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH0LIMITL": { + "description": "Write '1' to disable interrupt for event CH0LIMITL", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITH": { + "description": "Write '1' to disable interrupt for event CH1LIMITH", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH1LIMITL": { + "description": "Write '1' to disable interrupt for event CH1LIMITL", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITH": { + "description": "Write '1' to disable interrupt for event CH2LIMITH", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH2LIMITL": { + "description": "Write '1' to disable interrupt for event CH2LIMITL", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITH": { + "description": "Write '1' to disable interrupt for event CH3LIMITH", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH3LIMITL": { + "description": "Write '1' to disable interrupt for event CH3LIMITL", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITH": { + "description": "Write '1' to disable interrupt for event CH4LIMITH", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH4LIMITL": { + "description": "Write '1' to disable interrupt for event CH4LIMITL", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITH": { + "description": "Write '1' to disable interrupt for event CH5LIMITH", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH5LIMITL": { + "description": "Write '1' to disable interrupt for event CH5LIMITL", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITH": { + "description": "Write '1' to disable interrupt for event CH6LIMITH", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH6LIMITL": { + "description": "Write '1' to disable interrupt for event CH6LIMITL", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITH": { + "description": "Write '1' to disable interrupt for event CH7LIMITH", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CH7LIMITL": { + "description": "Write '1' to disable interrupt for event CH7LIMITL", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "STATUS": { + "description": "Status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "Status", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Ready": { + "description": "SAADC is ready. No on-going conversions.", + "value": 0 + }, + "Busy": { + "description": "SAADC is busy. Conversion in progress.", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable or disable SAADC", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable SAADC", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable SAADC", + "value": 0 + }, + "Enabled": { + "description": "Enable SAADC", + "value": 1 + } + } + } + } + } + } + } + }, + "RESOLUTION": { + "description": "Resolution configuration", + "offset": 1520, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "VAL": { + "description": "Set the resolution", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "8bit": { + "description": "8 bits", + "value": 0 + }, + "10bit": { + "description": "10 bits", + "value": 1 + }, + "12bit": { + "description": "12 bits", + "value": 2 + }, + "14bit": { + "description": "14 bits", + "value": 3 + } + } + } + } + } + } + } + }, + "OVERSAMPLE": { + "description": "Oversampling configuration. The RESOLUTION is applied before averaging, thus for high OVERSAMPLE a higher RESOLUTION should be used.", + "offset": 1524, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OVERSAMPLE": { + "description": "Oversample control", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Bypass": { + "description": "Bypass oversampling", + "value": 0 + }, + "Over2x": { + "description": "Oversample 2x", + "value": 1 + }, + "Over4x": { + "description": "Oversample 4x", + "value": 2 + }, + "Over8x": { + "description": "Oversample 8x", + "value": 3 + }, + "Over16x": { + "description": "Oversample 16x", + "value": 4 + }, + "Over32x": { + "description": "Oversample 32x", + "value": 5 + }, + "Over64x": { + "description": "Oversample 64x", + "value": 6 + }, + "Over128x": { + "description": "Oversample 128x", + "value": 7 + }, + "Over256x": { + "description": "Oversample 256x", + "value": 8 + } + } + } + } + } + } + } + }, + "SAMPLERATE": { + "description": "Controls normal or continuous sample rate", + "offset": 1528, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CC": { + "description": "Capture and compare value. Sample rate is 16 MHz/CC", + "offset": 0, + "size": 11 + }, + "MODE": { + "description": "Select mode for sample rate control", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Task": { + "description": "Rate is controlled from SAMPLE task", + "value": 0 + }, + "Timers": { + "description": "Rate is controlled from local timer (use CC to control the rate)", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "TIMER0": { + "description": "Timer/Counter 0", + "children": { + "registers": { + "TASKS_START": { + "description": "Start Timer", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start Timer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop Timer", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop Timer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_COUNT": { + "description": "Increment Timer (Counter mode only)", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_COUNT": { + "description": "Increment Timer (Counter mode only)", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CLEAR": { + "description": "Clear time", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CLEAR": { + "description": "Clear time", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SHUTDOWN": { + "description": "Deprecated register - Shut down timer", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SHUTDOWN": { + "description": "Deprecated field - Shut down timer", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CAPTURE": { + "description": "Description collection: Capture Timer value to CC[n] register", + "offset": 64, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CAPTURE": { + "description": "Capture Timer value to CC[n] register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_COMPARE": { + "description": "Description collection: Compare event on CC[n] match", + "offset": 320, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_COMPARE": { + "description": "Compare event on CC[n] match", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE0_CLEAR": { + "description": "Shortcut between event COMPARE[0] and task CLEAR", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE1_CLEAR": { + "description": "Shortcut between event COMPARE[1] and task CLEAR", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE2_CLEAR": { + "description": "Shortcut between event COMPARE[2] and task CLEAR", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE3_CLEAR": { + "description": "Shortcut between event COMPARE[3] and task CLEAR", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE4_CLEAR": { + "description": "Shortcut between event COMPARE[4] and task CLEAR", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE5_CLEAR": { + "description": "Shortcut between event COMPARE[5] and task CLEAR", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE0_STOP": { + "description": "Shortcut between event COMPARE[0] and task STOP", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE1_STOP": { + "description": "Shortcut between event COMPARE[1] and task STOP", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE2_STOP": { + "description": "Shortcut between event COMPARE[2] and task STOP", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE3_STOP": { + "description": "Shortcut between event COMPARE[3] and task STOP", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE4_STOP": { + "description": "Shortcut between event COMPARE[4] and task STOP", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "COMPARE5_STOP": { + "description": "Shortcut between event COMPARE[5] and task STOP", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE0": { + "description": "Write '1' to enable interrupt for event COMPARE[0]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to enable interrupt for event COMPARE[1]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to enable interrupt for event COMPARE[2]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to enable interrupt for event COMPARE[3]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE4": { + "description": "Write '1' to enable interrupt for event COMPARE[4]", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE5": { + "description": "Write '1' to enable interrupt for event COMPARE[5]", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE0": { + "description": "Write '1' to disable interrupt for event COMPARE[0]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to disable interrupt for event COMPARE[1]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to disable interrupt for event COMPARE[2]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to disable interrupt for event COMPARE[3]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE4": { + "description": "Write '1' to disable interrupt for event COMPARE[4]", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE5": { + "description": "Write '1' to disable interrupt for event COMPARE[5]", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Timer mode selection", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "Timer mode", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Timer": { + "description": "Select Timer mode", + "value": 0 + }, + "Counter": { + "description": "Deprecated enumerator - Select Counter mode", + "value": 1 + }, + "LowPowerCounter": { + "description": "Select Low Power Counter mode", + "value": 2 + } + } + } + } + } + } + } + }, + "BITMODE": { + "description": "Configure the number of bits used by the TIMER", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "BITMODE": { + "description": "Timer bit width", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "16Bit": { + "description": "16 bit timer bit width", + "value": 0 + }, + "08Bit": { + "description": "8 bit timer bit width", + "value": 1 + }, + "24Bit": { + "description": "24 bit timer bit width", + "value": 2 + }, + "32Bit": { + "description": "32 bit timer bit width", + "value": 3 + } + } + } + } + } + } + } + }, + "PRESCALER": { + "description": "Timer prescaler register", + "offset": 1296, + "size": 32, + "reset_value": 4, + "reset_mask": 4294967295, + "children": { + "fields": { + "PRESCALER": { + "description": "Prescaler value", + "offset": 0, + "size": 4 + } + } + } + }, + "CC": { + "description": "Description collection: Capture/Compare register n", + "offset": 1344, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CC": { + "description": "Capture/Compare value", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "FPU": { + "description": "FPU", + "children": { + "registers": { + "UNUSED": { + "description": "Unused.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only" + } + } + } + }, + "I2S": { + "description": "Inter-IC Sound", + "children": { + "registers": { + "TASKS_START": { + "description": "Starts continuous I2S transfer. Also starts MCK generator when this is enabled.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Starts continuous I2S transfer. Also starts MCK generator when this is enabled.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the STOPPED event to be generated.", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the STOPPED event to be generated.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RXPTRUPD": { + "description": "The RXD.PTR register has been copied to internal double-buffers.\n When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin.", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RXPTRUPD": { + "description": "The RXD.PTR register has been copied to internal double-buffers.\n When the I2S module is started and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on the SDIN pin.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "I2S transfer stopped.", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "I2S transfer stopped.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TXPTRUPD": { + "description": "The TDX.PTR register has been copied to internal double-buffers.\n When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin.", + "offset": 276, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TXPTRUPD": { + "description": "The TDX.PTR register has been copied to internal double-buffers.\n When the I2S module is started and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the SDOUT pin.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RXPTRUPD": { + "description": "Enable or disable interrupt for event RXPTRUPD", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Enable or disable interrupt for event STOPPED", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TXPTRUPD": { + "description": "Enable or disable interrupt for event TXPTRUPD", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RXPTRUPD": { + "description": "Write '1' to enable interrupt for event RXPTRUPD", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXPTRUPD": { + "description": "Write '1' to enable interrupt for event TXPTRUPD", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RXPTRUPD": { + "description": "Write '1' to disable interrupt for event RXPTRUPD", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TXPTRUPD": { + "description": "Write '1' to disable interrupt for event TXPTRUPD", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable I2S module.", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable I2S module.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "RTC0": { + "description": "Real time counter 0", + "children": { + "registers": { + "TASKS_START": { + "description": "Start RTC COUNTER", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start RTC COUNTER", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop RTC COUNTER", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop RTC COUNTER", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CLEAR": { + "description": "Clear RTC COUNTER", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CLEAR": { + "description": "Clear RTC COUNTER", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_TRIGOVRFLW": { + "description": "Set COUNTER to 0xFFFFF0", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_TRIGOVRFLW": { + "description": "Set COUNTER to 0xFFFFF0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TICK": { + "description": "Event on COUNTER increment", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TICK": { + "description": "Event on COUNTER increment", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_OVRFLW": { + "description": "Event on COUNTER overflow", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_OVRFLW": { + "description": "Event on COUNTER overflow", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_COMPARE": { + "description": "Description collection: Compare event on CC[n] match", + "offset": 320, + "size": 32, + "count": 4, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_COMPARE": { + "description": "Compare event on CC[n] match", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to enable interrupt for event TICK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to enable interrupt for event OVRFLW", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to enable interrupt for event COMPARE[0]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to enable interrupt for event COMPARE[1]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to enable interrupt for event COMPARE[2]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to enable interrupt for event COMPARE[3]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to disable interrupt for event TICK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to disable interrupt for event OVRFLW", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to disable interrupt for event COMPARE[0]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to disable interrupt for event COMPARE[1]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to disable interrupt for event COMPARE[2]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to disable interrupt for event COMPARE[3]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "EVTEN": { + "description": "Enable or disable event routing", + "offset": 832, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Enable or disable event routing for event TICK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Disable", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Enable or disable event routing for event OVRFLW", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Disable", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Enable or disable event routing for event COMPARE[0]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Disable", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Enable or disable event routing for event COMPARE[1]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Disable", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Enable or disable event routing for event COMPARE[2]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Disable", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Enable or disable event routing for event COMPARE[3]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Disable", + "value": 1 + } + } + } + } + } + } + } + }, + "EVTENSET": { + "description": "Enable event routing", + "offset": 836, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to enable event routing for event TICK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to enable event routing for event OVRFLW", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to enable event routing for event COMPARE[0]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to enable event routing for event COMPARE[1]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to enable event routing for event COMPARE[2]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to enable event routing for event COMPARE[3]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "EVTENCLR": { + "description": "Disable event routing", + "offset": 840, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TICK": { + "description": "Write '1' to disable event routing for event TICK", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "OVRFLW": { + "description": "Write '1' to disable event routing for event OVRFLW", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE0": { + "description": "Write '1' to disable event routing for event COMPARE[0]", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE1": { + "description": "Write '1' to disable event routing for event COMPARE[1]", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE2": { + "description": "Write '1' to disable event routing for event COMPARE[2]", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "COMPARE3": { + "description": "Write '1' to disable event routing for event COMPARE[3]", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "COUNTER": { + "description": "Current COUNTER value", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "COUNTER": { + "description": "Counter value", + "offset": 0, + "size": 24 + } + } + } + }, + "PRESCALER": { + "description": "12 bit prescaler for COUNTER frequency (32768/(PRESCALER+1)).Must be written when RTC is stopped", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PRESCALER": { + "description": "Prescaler value", + "offset": 0, + "size": 12 + } + } + } + }, + "CC": { + "description": "Description collection: Compare register n", + "offset": 1344, + "size": 32, + "count": 4, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "COMPARE": { + "description": "Compare value", + "offset": 0, + "size": 24 + } + } + } + } + } + } + }, + "TEMP": { + "description": "Temperature Sensor", + "children": { + "registers": { + "TASKS_START": { + "description": "Start temperature measurement", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start temperature measurement", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop temperature measurement", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop temperature measurement", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DATARDY": { + "description": "Temperature measurement complete, data ready", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DATARDY": { + "description": "Temperature measurement complete, data ready", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DATARDY": { + "description": "Write '1' to enable interrupt for event DATARDY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DATARDY": { + "description": "Write '1' to disable interrupt for event DATARDY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "TEMP": { + "description": "Temperature in degC (0.25deg steps)", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "TEMP": { + "description": "Temperature in degC (0.25deg steps)", + "offset": 0, + "size": 32 + } + } + } + }, + "A0": { + "description": "Slope of 1st piece wise linear function", + "offset": 1312, + "size": 32, + "reset_value": 806, + "reset_mask": 4294967295, + "children": { + "fields": { + "A0": { + "description": "Slope of 1st piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A1": { + "description": "Slope of 2nd piece wise linear function", + "offset": 1316, + "size": 32, + "reset_value": 840, + "reset_mask": 4294967295, + "children": { + "fields": { + "A1": { + "description": "Slope of 2nd piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A2": { + "description": "Slope of 3rd piece wise linear function", + "offset": 1320, + "size": 32, + "reset_value": 938, + "reset_mask": 4294967295, + "children": { + "fields": { + "A2": { + "description": "Slope of 3rd piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A3": { + "description": "Slope of 4th piece wise linear function", + "offset": 1324, + "size": 32, + "reset_value": 1038, + "reset_mask": 4294967295, + "children": { + "fields": { + "A3": { + "description": "Slope of 4th piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A4": { + "description": "Slope of 5th piece wise linear function", + "offset": 1328, + "size": 32, + "reset_value": 1213, + "reset_mask": 4294967295, + "children": { + "fields": { + "A4": { + "description": "Slope of 5th piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "A5": { + "description": "Slope of 6th piece wise linear function", + "offset": 1332, + "size": 32, + "reset_value": 1443, + "reset_mask": 4294967295, + "children": { + "fields": { + "A5": { + "description": "Slope of 6th piece wise linear function", + "offset": 0, + "size": 12 + } + } + } + }, + "B0": { + "description": "y-intercept of 1st piece wise linear function", + "offset": 1344, + "size": 32, + "reset_value": 16367, + "reset_mask": 4294967295, + "children": { + "fields": { + "B0": { + "description": "y-intercept of 1st piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B1": { + "description": "y-intercept of 2nd piece wise linear function", + "offset": 1348, + "size": 32, + "reset_value": 16318, + "reset_mask": 4294967295, + "children": { + "fields": { + "B1": { + "description": "y-intercept of 2nd piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B2": { + "description": "y-intercept of 3rd piece wise linear function", + "offset": 1352, + "size": 32, + "reset_value": 16318, + "reset_mask": 4294967295, + "children": { + "fields": { + "B2": { + "description": "y-intercept of 3rd piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B3": { + "description": "y-intercept of 4th piece wise linear function", + "offset": 1356, + "size": 32, + "reset_value": 18, + "reset_mask": 4294967295, + "children": { + "fields": { + "B3": { + "description": "y-intercept of 4th piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B4": { + "description": "y-intercept of 5th piece wise linear function", + "offset": 1360, + "size": 32, + "reset_value": 292, + "reset_mask": 4294967295, + "children": { + "fields": { + "B4": { + "description": "y-intercept of 5th piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "B5": { + "description": "y-intercept of 6th piece wise linear function", + "offset": 1364, + "size": 32, + "reset_value": 636, + "reset_mask": 4294967295, + "children": { + "fields": { + "B5": { + "description": "y-intercept of 6th piece wise linear function", + "offset": 0, + "size": 14 + } + } + } + }, + "T0": { + "description": "End point of 1st piece wise linear function", + "offset": 1376, + "size": 32, + "reset_value": 226, + "reset_mask": 4294967295, + "children": { + "fields": { + "T0": { + "description": "End point of 1st piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T1": { + "description": "End point of 2nd piece wise linear function", + "offset": 1380, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "T1": { + "description": "End point of 2nd piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T2": { + "description": "End point of 3rd piece wise linear function", + "offset": 1384, + "size": 32, + "reset_value": 25, + "reset_mask": 4294967295, + "children": { + "fields": { + "T2": { + "description": "End point of 3rd piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T3": { + "description": "End point of 4th piece wise linear function", + "offset": 1388, + "size": 32, + "reset_value": 60, + "reset_mask": 4294967295, + "children": { + "fields": { + "T3": { + "description": "End point of 4th piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + }, + "T4": { + "description": "End point of 5th piece wise linear function", + "offset": 1392, + "size": 32, + "reset_value": 80, + "reset_mask": 4294967295, + "children": { + "fields": { + "T4": { + "description": "End point of 5th piece wise linear function", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "RNG": { + "description": "Random Number Generator", + "children": { + "registers": { + "TASKS_START": { + "description": "Task starting the random number generator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Task starting the random number generator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Task stopping the random number generator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Task stopping the random number generator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_VALRDY": { + "description": "Event being generated for every new random number written to the VALUE register", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_VALRDY": { + "description": "Event being generated for every new random number written to the VALUE register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "VALRDY_STOP": { + "description": "Shortcut between event VALRDY and task STOP", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "VALRDY": { + "description": "Write '1' to enable interrupt for event VALRDY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "VALRDY": { + "description": "Write '1' to disable interrupt for event VALRDY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DERCEN": { + "description": "Bias correction", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disabled", + "value": 0 + }, + "Enabled": { + "description": "Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "VALUE": { + "description": "Output random number", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "VALUE": { + "description": "Generated random number", + "offset": 0, + "size": 8 + } + } + } + } + } + } + }, + "ECB": { + "description": "AES ECB Mode Encryption", + "children": { + "registers": { + "TASKS_STARTECB": { + "description": "Start ECB block encrypt", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STARTECB": { + "description": "Start ECB block encrypt", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOPECB": { + "description": "Abort a possible executing ECB operation", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOPECB": { + "description": "Abort a possible executing ECB operation", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDECB": { + "description": "ECB block encrypt complete", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDECB": { + "description": "ECB block encrypt complete", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERRORECB": { + "description": "ECB block encrypt aborted because of a STOPECB task or due to an error", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERRORECB": { + "description": "ECB block encrypt aborted because of a STOPECB task or due to an error", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDECB": { + "description": "Write '1' to enable interrupt for event ENDECB", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERRORECB": { + "description": "Write '1' to enable interrupt for event ERRORECB", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDECB": { + "description": "Write '1' to disable interrupt for event ENDECB", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERRORECB": { + "description": "Write '1' to disable interrupt for event ERRORECB", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ECBDATAPTR": { + "description": "ECB block encrypt memory pointers", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ECBDATAPTR": { + "description": "Pointer to the ECB data structure (see Table 1 ECB data structure overview)", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "AAR": { + "description": "Accelerated Address Resolver", + "children": { + "registers": { + "TASKS_START": { + "description": "Start resolving addresses based on IRKs specified in the IRK data structure", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start resolving addresses based on IRKs specified in the IRK data structure", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop resolving addresses", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop resolving addresses", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_END": { + "description": "Address resolution procedure complete", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_END": { + "description": "Address resolution procedure complete", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_RESOLVED": { + "description": "Address resolved", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_RESOLVED": { + "description": "Address resolved", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_NOTRESOLVED": { + "description": "Address not resolved", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_NOTRESOLVED": { + "description": "Address not resolved", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to enable interrupt for event END", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESOLVED": { + "description": "Write '1' to enable interrupt for event RESOLVED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NOTRESOLVED": { + "description": "Write '1' to enable interrupt for event NOTRESOLVED", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "END": { + "description": "Write '1' to disable interrupt for event END", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "RESOLVED": { + "description": "Write '1' to disable interrupt for event RESOLVED", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "NOTRESOLVED": { + "description": "Write '1' to disable interrupt for event NOTRESOLVED", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "STATUS": { + "description": "Resolution status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "STATUS": { + "description": "The IRK that was used last time an address was resolved", + "offset": 0, + "size": 4 + } + } + } + }, + "ENABLE": { + "description": "Enable AAR", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable AAR", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 3 + } + } + } + } + } + } + } + }, + "NIRK": { + "description": "Number of IRKs", + "offset": 1284, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "NIRK": { + "description": "Number of Identity root keys available in the IRK data structure", + "offset": 0, + "size": 5 + } + } + } + }, + "IRKPTR": { + "description": "Pointer to IRK data structure", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "IRKPTR": { + "description": "Pointer to the IRK data structure", + "offset": 0, + "size": 32 + } + } + } + }, + "ADDRPTR": { + "description": "Pointer to the resolvable address", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ADDRPTR": { + "description": "Pointer to the resolvable address (6-bytes)", + "offset": 0, + "size": 32 + } + } + } + }, + "SCRATCHPTR": { + "description": "Pointer to data area used for temporary storage", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SCRATCHPTR": { + "description": "Pointer to a scratch data area used for temporary storage during resolution. A space of minimum 3 bytes must be reserved.", + "offset": 0, + "size": 32 + } + } + } + } + } + } + }, + "CCM": { + "description": "AES CCM Mode Encryption", + "children": { + "registers": { + "TASKS_KSGEN": { + "description": "Start generation of key-stream. This operation will stop by itself when completed.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_KSGEN": { + "description": "Start generation of key-stream. This operation will stop by itself when completed.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_CRYPT": { + "description": "Start encryption/decryption. This operation will stop by itself when completed.", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_CRYPT": { + "description": "Start encryption/decryption. This operation will stop by itself when completed.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop encryption/decryption", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop encryption/decryption", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RATEOVERRIDE": { + "description": "Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any ongoing encryption/decryption", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RATEOVERRIDE": { + "description": "Override DATARATE setting in MODE register with the contents of the RATEOVERRIDE register for any ongoing encryption/decryption", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDKSGEN": { + "description": "Key-stream generation complete", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDKSGEN": { + "description": "Key-stream generation complete", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ENDCRYPT": { + "description": "Encrypt/decrypt complete", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ENDCRYPT": { + "description": "Encrypt/decrypt complete", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ERROR": { + "description": "Deprecated register - CCM error event", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ERROR": { + "description": "Deprecated field - CCM error event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDKSGEN_CRYPT": { + "description": "Shortcut between event ENDKSGEN and task CRYPT", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDKSGEN": { + "description": "Write '1' to enable interrupt for event ENDKSGEN", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDCRYPT": { + "description": "Write '1' to enable interrupt for event ENDCRYPT", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Deprecated intsetfield - Write '1' to enable interrupt for event ERROR", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENDKSGEN": { + "description": "Write '1' to disable interrupt for event ENDKSGEN", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ENDCRYPT": { + "description": "Write '1' to disable interrupt for event ENDCRYPT", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ERROR": { + "description": "Deprecated intclrfield - Write '1' to disable interrupt for event ERROR", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "MICSTATUS": { + "description": "MIC check result", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "MICSTATUS": { + "description": "The result of the MIC check performed during the previous decryption operation", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "CheckFailed": { + "description": "MIC check failed", + "value": 0 + }, + "CheckPassed": { + "description": "MIC check passed", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable CCM", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 2 + } + } + } + } + } + } + } + }, + "MODE": { + "description": "Operation mode", + "offset": 1284, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "MODE": { + "description": "The mode of operation to be used. The settings in this register apply whenever either the KSGEN or CRYPT tasks are triggered.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Encryption": { + "description": "AES CCM packet encryption mode", + "value": 0 + }, + "Decryption": { + "description": "AES CCM packet decryption mode", + "value": 1 + } + } + } + } + }, + "DATARATE": { + "description": "Radio data rate that the CCM shall run synchronous with", + "offset": 16, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "1Mbit": { + "description": "1 Mbps", + "value": 0 + }, + "2Mbit": { + "description": "2 Mbps", + "value": 1 + }, + "125Kbps": { + "description": "125 Kbps", + "value": 2 + }, + "500Kbps": { + "description": "500 Kbps", + "value": 3 + } + } + } + } + }, + "LENGTH": { + "description": "Packet length configuration", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Default": { + "description": "Default length. Effective length of LENGTH field in encrypted/decrypted packet is 5 bits. A key-stream for packet payloads up to 27 bytes will be generated.", + "value": 0 + }, + "Extended": { + "description": "Extended length. Effective length of LENGTH field in encrypted/decrypted packet is 8 bits. A key-stream for packet payloads up to MAXPACKETSIZE bytes will be generated.", + "value": 1 + } + } + } + } + } + } + } + }, + "CNFPTR": { + "description": "Pointer to data structure holding AES key and NONCE vector", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CNFPTR": { + "description": "Pointer to the data structure holding the AES key and the CCM NONCE vector (see Table 1 CCM data structure overview)", + "offset": 0, + "size": 32 + } + } + } + }, + "INPTR": { + "description": "Input pointer", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "INPTR": { + "description": "Input pointer", + "offset": 0, + "size": 32 + } + } + } + }, + "OUTPTR": { + "description": "Output pointer", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "OUTPTR": { + "description": "Output pointer", + "offset": 0, + "size": 32 + } + } + } + }, + "SCRATCHPTR": { + "description": "Pointer to data area used for temporary storage", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SCRATCHPTR": { + "description": "Pointer to a scratch data area used for temporary storage during key-stream generation,\n MIC generation and encryption/decryption.", + "offset": 0, + "size": 32 + } + } + } + }, + "MAXPACKETSIZE": { + "description": "Length of key-stream generated when MODE.LENGTH = Extended.", + "offset": 1304, + "size": 32, + "reset_value": 251, + "reset_mask": 4294967295, + "children": { + "fields": { + "MAXPACKETSIZE": { + "description": "Length of key-stream generated when MODE.LENGTH = Extended. This value must be greater or equal to the subsequent packet payload to be encrypted/decrypted.", + "offset": 0, + "size": 8 + } + } + } + }, + "RATEOVERRIDE": { + "description": "Data rate override setting.", + "offset": 1308, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RATEOVERRIDE": { + "description": "Data rate override setting.", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "1Mbit": { + "description": "1 Mbps", + "value": 0 + }, + "2Mbit": { + "description": "2 Mbps", + "value": 1 + }, + "125Kbps": { + "description": "125 Kbps", + "value": 2 + }, + "500Kbps": { + "description": "500 Kbps", + "value": 3 + } + } + } + } + } + } + } + } + } + } + }, + "WDT": { + "description": "Watchdog Timer", + "children": { + "registers": { + "TASKS_START": { + "description": "Start the watchdog", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start the watchdog", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TIMEOUT": { + "description": "Watchdog timeout", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TIMEOUT": { + "description": "Watchdog timeout", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TIMEOUT": { + "description": "Write '1' to enable interrupt for event TIMEOUT", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TIMEOUT": { + "description": "Write '1' to disable interrupt for event TIMEOUT", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RUNSTATUS": { + "description": "Run status", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RUNSTATUS": { + "description": "Indicates whether or not the watchdog is running", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotRunning": { + "description": "Watchdog not running", + "value": 0 + }, + "Running": { + "description": "Watchdog is running", + "value": 1 + } + } + } + } + } + } + } + }, + "REQSTATUS": { + "description": "Request status", + "offset": 1028, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RR0": { + "description": "Request status for RR[0] register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[0] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[0] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR1": { + "description": "Request status for RR[1] register", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[1] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[1] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR2": { + "description": "Request status for RR[2] register", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[2] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[2] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR3": { + "description": "Request status for RR[3] register", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[3] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[3] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR4": { + "description": "Request status for RR[4] register", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[4] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[4] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR5": { + "description": "Request status for RR[5] register", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[5] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[5] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR6": { + "description": "Request status for RR[6] register", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[6] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[6] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + }, + "RR7": { + "description": "Request status for RR[7] register", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "DisabledOrRequested": { + "description": "RR[7] register is not enabled, or are already requesting reload", + "value": 0 + }, + "EnabledAndUnrequested": { + "description": "RR[7] register is enabled, and are not yet requesting reload", + "value": 1 + } + } + } + } + } + } + } + }, + "CRV": { + "description": "Counter reload value", + "offset": 1284, + "size": 32, + "reset_value": 4294967295, + "reset_mask": 4294967295, + "children": { + "fields": { + "CRV": { + "description": "Counter reload value in number of cycles of the 32.768 kHz clock", + "offset": 0, + "size": 32 + } + } + } + }, + "RREN": { + "description": "Enable register for reload request registers", + "offset": 1288, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "RR0": { + "description": "Enable or disable RR[0] register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[0] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[0] register", + "value": 1 + } + } + } + } + }, + "RR1": { + "description": "Enable or disable RR[1] register", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[1] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[1] register", + "value": 1 + } + } + } + } + }, + "RR2": { + "description": "Enable or disable RR[2] register", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[2] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[2] register", + "value": 1 + } + } + } + } + }, + "RR3": { + "description": "Enable or disable RR[3] register", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[3] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[3] register", + "value": 1 + } + } + } + } + }, + "RR4": { + "description": "Enable or disable RR[4] register", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[4] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[4] register", + "value": 1 + } + } + } + } + }, + "RR5": { + "description": "Enable or disable RR[5] register", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[5] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[5] register", + "value": 1 + } + } + } + } + }, + "RR6": { + "description": "Enable or disable RR[6] register", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[6] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[6] register", + "value": 1 + } + } + } + } + }, + "RR7": { + "description": "Enable or disable RR[7] register", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable RR[7] register", + "value": 0 + }, + "Enabled": { + "description": "Enable RR[7] register", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1292, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "children": { + "fields": { + "SLEEP": { + "description": "Configure the watchdog to either be paused, or kept running, while the CPU is sleeping", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Pause": { + "description": "Pause watchdog while the CPU is sleeping", + "value": 0 + }, + "Run": { + "description": "Keep the watchdog running while the CPU is sleeping", + "value": 1 + } + } + } + } + }, + "HALT": { + "description": "Configure the watchdog to either be paused, or kept running, while the CPU is halted by the debugger", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Pause": { + "description": "Pause watchdog while the CPU is halted by the debugger", + "value": 0 + }, + "Run": { + "description": "Keep the watchdog running while the CPU is halted by the debugger", + "value": 1 + } + } + } + } + } + } + } + }, + "RR": { + "description": "Description collection: Reload request n", + "offset": 1536, + "size": 32, + "count": 8, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "RR": { + "description": "Reload request register", + "offset": 0, + "size": 32, + "enum": { + "size": 32, + "children": { + "enum_fields": { + "Reload": { + "description": "Value to request a reload of the watchdog timer", + "value": 1850885685 + } + } + } + } + } + } + } + } + } + } + }, + "MWU": { + "description": "Memory Watch Unit", + "children": { + "registers": { + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Enable or disable interrupt for event REGION0WA", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Enable or disable interrupt for event REGION0RA", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Enable or disable interrupt for event REGION1WA", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Enable or disable interrupt for event REGION1RA", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Enable or disable interrupt for event REGION2WA", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Enable or disable interrupt for event REGION2RA", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Enable or disable interrupt for event REGION3WA", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Enable or disable interrupt for event REGION3RA", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Enable or disable interrupt for event PREGION0WA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Enable or disable interrupt for event PREGION0RA", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Enable or disable interrupt for event PREGION1WA", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Enable or disable interrupt for event PREGION1RA", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to enable interrupt for event REGION0WA", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to enable interrupt for event REGION0RA", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to enable interrupt for event REGION1WA", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to enable interrupt for event REGION1RA", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to enable interrupt for event REGION2WA", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to enable interrupt for event REGION2RA", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to enable interrupt for event REGION3WA", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to enable interrupt for event REGION3RA", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to enable interrupt for event PREGION0WA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to enable interrupt for event PREGION0RA", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to enable interrupt for event PREGION1WA", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to enable interrupt for event PREGION1RA", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to disable interrupt for event REGION0WA", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to disable interrupt for event REGION0RA", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to disable interrupt for event REGION1WA", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to disable interrupt for event REGION1RA", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to disable interrupt for event REGION2WA", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to disable interrupt for event REGION2RA", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to disable interrupt for event REGION3WA", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to disable interrupt for event REGION3RA", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to disable interrupt for event PREGION0WA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to disable interrupt for event PREGION0RA", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to disable interrupt for event PREGION1WA", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to disable interrupt for event PREGION1RA", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "NMIEN": { + "description": "Enable or disable interrupt", + "offset": 800, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Enable or disable interrupt for event REGION0WA", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Enable or disable interrupt for event REGION0RA", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Enable or disable interrupt for event REGION1WA", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Enable or disable interrupt for event REGION1RA", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Enable or disable interrupt for event REGION2WA", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Enable or disable interrupt for event REGION2RA", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Enable or disable interrupt for event REGION3WA", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Enable or disable interrupt for event REGION3RA", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Enable or disable interrupt for event PREGION0WA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Enable or disable interrupt for event PREGION0RA", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Enable or disable interrupt for event PREGION1WA", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Enable or disable interrupt for event PREGION1RA", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "NMIENSET": { + "description": "Enable interrupt", + "offset": 804, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to enable interrupt for event REGION0WA", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to enable interrupt for event REGION0RA", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to enable interrupt for event REGION1WA", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to enable interrupt for event REGION1RA", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to enable interrupt for event REGION2WA", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to enable interrupt for event REGION2RA", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to enable interrupt for event REGION3WA", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to enable interrupt for event REGION3RA", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to enable interrupt for event PREGION0WA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to enable interrupt for event PREGION0RA", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to enable interrupt for event PREGION1WA", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to enable interrupt for event PREGION1RA", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "NMIENCLR": { + "description": "Disable interrupt", + "offset": 808, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REGION0WA": { + "description": "Write '1' to disable interrupt for event REGION0WA", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION0RA": { + "description": "Write '1' to disable interrupt for event REGION0RA", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1WA": { + "description": "Write '1' to disable interrupt for event REGION1WA", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION1RA": { + "description": "Write '1' to disable interrupt for event REGION1RA", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2WA": { + "description": "Write '1' to disable interrupt for event REGION2WA", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION2RA": { + "description": "Write '1' to disable interrupt for event REGION2RA", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3WA": { + "description": "Write '1' to disable interrupt for event REGION3WA", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REGION3RA": { + "description": "Write '1' to disable interrupt for event REGION3RA", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0WA": { + "description": "Write '1' to disable interrupt for event PREGION0WA", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION0RA": { + "description": "Write '1' to disable interrupt for event PREGION0RA", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1WA": { + "description": "Write '1' to disable interrupt for event PREGION1WA", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "PREGION1RA": { + "description": "Write '1' to disable interrupt for event PREGION1RA", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "REGIONEN": { + "description": "Enable/disable regions watch", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RGN0WA": { + "description": "Enable/disable write access watch in region[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN0RA": { + "description": "Enable/disable read access watch in region[0]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN1WA": { + "description": "Enable/disable write access watch in region[1]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN1RA": { + "description": "Enable/disable read access watch in region[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN2WA": { + "description": "Enable/disable write access watch in region[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN2RA": { + "description": "Enable/disable read access watch in region[2]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN3WA": { + "description": "Enable/disable write access watch in region[3]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this region", + "value": 1 + } + } + } + } + }, + "RGN3RA": { + "description": "Enable/disable read access watch in region[3]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this region", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this region", + "value": 1 + } + } + } + } + }, + "PRGN0WA": { + "description": "Enable/disable write access watch in PREGION[0]", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this PREGION", + "value": 1 + } + } + } + } + }, + "PRGN0RA": { + "description": "Enable/disable read access watch in PREGION[0]", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this PREGION", + "value": 1 + } + } + } + } + }, + "PRGN1WA": { + "description": "Enable/disable write access watch in PREGION[1]", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable write access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable write access watch in this PREGION", + "value": 1 + } + } + } + } + }, + "PRGN1RA": { + "description": "Enable/disable read access watch in PREGION[1]", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disable": { + "description": "Disable read access watch in this PREGION", + "value": 0 + }, + "Enable": { + "description": "Enable read access watch in this PREGION", + "value": 1 + } + } + } + } + } + } + } + }, + "REGIONENSET": { + "description": "Enable regions watch", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RGN0WA": { + "description": "Enable write access watch in region[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN0RA": { + "description": "Enable read access watch in region[0]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1WA": { + "description": "Enable write access watch in region[1]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1RA": { + "description": "Enable read access watch in region[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2WA": { + "description": "Enable write access watch in region[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2RA": { + "description": "Enable read access watch in region[2]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3WA": { + "description": "Enable write access watch in region[3]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3RA": { + "description": "Enable read access watch in region[3]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0WA": { + "description": "Enable write access watch in PREGION[0]", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0RA": { + "description": "Enable read access watch in PREGION[0]", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1WA": { + "description": "Enable write access watch in PREGION[1]", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1RA": { + "description": "Enable read access watch in PREGION[1]", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "REGIONENCLR": { + "description": "Disable regions watch", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "RGN0WA": { + "description": "Disable write access watch in region[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN0RA": { + "description": "Disable read access watch in region[0]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1WA": { + "description": "Disable write access watch in region[1]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN1RA": { + "description": "Disable read access watch in region[1]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2WA": { + "description": "Disable write access watch in region[2]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN2RA": { + "description": "Disable read access watch in region[2]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3WA": { + "description": "Disable write access watch in region[3]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "RGN3RA": { + "description": "Disable read access watch in region[3]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this region is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this region is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0WA": { + "description": "Disable write access watch in PREGION[0]", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN0RA": { + "description": "Disable read access watch in PREGION[0]", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1WA": { + "description": "Disable write access watch in PREGION[1]", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Write access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Write access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + }, + "PRGN1RA": { + "description": "Disable read access watch in PREGION[1]", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read access watch in this PREGION is disabled", + "value": 0 + }, + "Enabled": { + "description": "Read access watch in this PREGION is enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "QDEC": { + "description": "Quadrature Decoder", + "children": { + "registers": { + "TASKS_START": { + "description": "Task starting the quadrature decoder", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Task starting the quadrature decoder", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Task stopping the quadrature decoder", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Task stopping the quadrature decoder", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_READCLRACC": { + "description": "Read and clear ACC and ACCDBL", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_READCLRACC": { + "description": "Read and clear ACC and ACCDBL", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RDCLRACC": { + "description": "Read and clear ACC", + "offset": 12, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RDCLRACC": { + "description": "Read and clear ACC", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_RDCLRDBL": { + "description": "Read and clear ACCDBL", + "offset": 16, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_RDCLRDBL": { + "description": "Read and clear ACCDBL", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_SAMPLERDY": { + "description": "Event being generated for every new sample value written to the SAMPLE register", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_SAMPLERDY": { + "description": "Event being generated for every new sample value written to the SAMPLE register", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_REPORTRDY": { + "description": "Non-null report ready", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_REPORTRDY": { + "description": "Non-null report ready", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_ACCOF": { + "description": "ACC or ACCDBL register overflow", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_ACCOF": { + "description": "ACC or ACCDBL register overflow", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DBLRDY": { + "description": "Double displacement(s) detected", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DBLRDY": { + "description": "Double displacement(s) detected", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_STOPPED": { + "description": "QDEC has been stopped", + "offset": 272, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_STOPPED": { + "description": "QDEC has been stopped", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REPORTRDY_READCLRACC": { + "description": "Shortcut between event REPORTRDY and task READCLRACC", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "SAMPLERDY_STOP": { + "description": "Shortcut between event SAMPLERDY and task STOP", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "REPORTRDY_RDCLRACC": { + "description": "Shortcut between event REPORTRDY and task RDCLRACC", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "REPORTRDY_STOP": { + "description": "Shortcut between event REPORTRDY and task STOP", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DBLRDY_RDCLRDBL": { + "description": "Shortcut between event DBLRDY and task RDCLRDBL", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DBLRDY_STOP": { + "description": "Shortcut between event DBLRDY and task STOP", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "SAMPLERDY_READCLRACC": { + "description": "Shortcut between event SAMPLERDY and task READCLRACC", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SAMPLERDY": { + "description": "Write '1' to enable interrupt for event SAMPLERDY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REPORTRDY": { + "description": "Write '1' to enable interrupt for event REPORTRDY", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACCOF": { + "description": "Write '1' to enable interrupt for event ACCOF", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DBLRDY": { + "description": "Write '1' to enable interrupt for event DBLRDY", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to enable interrupt for event STOPPED", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SAMPLERDY": { + "description": "Write '1' to disable interrupt for event SAMPLERDY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "REPORTRDY": { + "description": "Write '1' to disable interrupt for event REPORTRDY", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "ACCOF": { + "description": "Write '1' to disable interrupt for event ACCOF", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DBLRDY": { + "description": "Write '1' to disable interrupt for event DBLRDY", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "STOPPED": { + "description": "Write '1' to disable interrupt for event STOPPED", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable the quadrature decoder", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable the quadrature decoder", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "LEDPOL": { + "description": "LED output pin polarity", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "LEDPOL": { + "description": "LED output pin polarity", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "ActiveLow": { + "description": "Led active on output pin low", + "value": 0 + }, + "ActiveHigh": { + "description": "Led active on output pin high", + "value": 1 + } + } + } + } + } + } + } + }, + "SAMPLEPER": { + "description": "Sample period", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SAMPLEPER": { + "description": "Sample period. The SAMPLE register will be updated for every new sample", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "128us": { + "description": "128 us", + "value": 0 + }, + "256us": { + "description": "256 us", + "value": 1 + }, + "512us": { + "description": "512 us", + "value": 2 + }, + "1024us": { + "description": "1024 us", + "value": 3 + }, + "2048us": { + "description": "2048 us", + "value": 4 + }, + "4096us": { + "description": "4096 us", + "value": 5 + }, + "8192us": { + "description": "8192 us", + "value": 6 + }, + "16384us": { + "description": "16384 us", + "value": 7 + }, + "32ms": { + "description": "32768 us", + "value": 8 + }, + "65ms": { + "description": "65536 us", + "value": 9 + }, + "131ms": { + "description": "131072 us", + "value": 10 + } + } + } + } + } + } + } + }, + "SAMPLE": { + "description": "Motion sample value", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "SAMPLE": { + "description": "Last motion sample", + "offset": 0, + "size": 32 + } + } + } + }, + "REPORTPER": { + "description": "Number of samples to be taken before REPORTRDY and DBLRDY events can be generated", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "REPORTPER": { + "description": "Specifies the number of samples to be accumulated in the ACC register before the REPORTRDY and DBLRDY events can be generated", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "10Smpl": { + "description": "10 samples / report", + "value": 0 + }, + "40Smpl": { + "description": "40 samples / report", + "value": 1 + }, + "80Smpl": { + "description": "80 samples / report", + "value": 2 + }, + "120Smpl": { + "description": "120 samples / report", + "value": 3 + }, + "160Smpl": { + "description": "160 samples / report", + "value": 4 + }, + "200Smpl": { + "description": "200 samples / report", + "value": 5 + }, + "240Smpl": { + "description": "240 samples / report", + "value": 6 + }, + "280Smpl": { + "description": "280 samples / report", + "value": 7 + }, + "1Smpl": { + "description": "1 sample / report", + "value": 8 + } + } + } + } + } + } + } + }, + "ACC": { + "description": "Register accumulating the valid transitions", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACC": { + "description": "Register accumulating all valid samples (not double transition) read from the SAMPLE register", + "offset": 0, + "size": 32 + } + } + } + }, + "ACCREAD": { + "description": "Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACCREAD": { + "description": "Snapshot of the ACC register.", + "offset": 0, + "size": 32 + } + } + } + }, + "DBFEN": { + "description": "Enable input debounce filters", + "offset": 1320, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "DBFEN": { + "description": "Enable input debounce filters", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Debounce input filters disabled", + "value": 0 + }, + "Enabled": { + "description": "Debounce input filters enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "LEDPRE": { + "description": "Time period the LED is switched ON prior to sampling", + "offset": 1344, + "size": 32, + "reset_value": 16, + "reset_mask": 4294967295, + "children": { + "fields": { + "LEDPRE": { + "description": "Period in us the LED is switched on prior to sampling", + "offset": 0, + "size": 9 + } + } + } + }, + "ACCDBL": { + "description": "Register accumulating the number of detected double transitions", + "offset": 1348, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACCDBL": { + "description": "Register accumulating the number of detected double or illegal transitions. ( SAMPLE = 2 ).", + "offset": 0, + "size": 4 + } + } + } + }, + "ACCDBLREAD": { + "description": "Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task", + "offset": 1352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "ACCDBLREAD": { + "description": "Snapshot of the ACCDBL register. This field is updated when the READCLRACC or RDCLRDBL task is triggered.", + "offset": 0, + "size": 4 + } + } + } + } + } + } + }, + "COMP": { + "description": "Comparator", + "children": { + "registers": { + "TASKS_START": { + "description": "Start comparator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start comparator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop comparator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop comparator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SAMPLE": { + "description": "Sample comparator value", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SAMPLE": { + "description": "Sample comparator value", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_READY": { + "description": "COMP is ready and output is valid", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_READY": { + "description": "COMP is ready and output is valid", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DOWN": { + "description": "Downward crossing", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DOWN": { + "description": "Downward crossing", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_UP": { + "description": "Upward crossing", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_UP": { + "description": "Upward crossing", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CROSS": { + "description": "Downward or upward crossing", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CROSS": { + "description": "Downward or upward crossing", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY_SAMPLE": { + "description": "Shortcut between event READY and task SAMPLE", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "READY_STOP": { + "description": "Shortcut between event READY and task STOP", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DOWN_STOP": { + "description": "Shortcut between event DOWN and task STOP", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "UP_STOP": { + "description": "Shortcut between event UP and task STOP", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "CROSS_STOP": { + "description": "Shortcut between event CROSS and task STOP", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Enable or disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Enable or disable interrupt for event DOWN", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Enable or disable interrupt for event UP", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Enable or disable interrupt for event CROSS", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to enable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to enable interrupt for event DOWN", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to enable interrupt for event UP", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to enable interrupt for event CROSS", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to disable interrupt for event DOWN", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to disable interrupt for event UP", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to disable interrupt for event CROSS", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RESULT": { + "description": "Compare result", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RESULT": { + "description": "Result of last compare. Decision point SAMPLE task.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Below": { + "description": "Input voltage is below the threshold (VIN+ < VIN-)", + "value": 0 + }, + "Above": { + "description": "Input voltage is above the threshold (VIN+ > VIN-)", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "COMP enable", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable COMP", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 2 + } + } + } + } + } + } + } + }, + "PSEL": { + "description": "Pin select", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSEL": { + "description": "Analog pin select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "AnalogInput0": { + "description": "AIN0 selected as analog input", + "value": 0 + }, + "AnalogInput1": { + "description": "AIN1 selected as analog input", + "value": 1 + }, + "AnalogInput2": { + "description": "AIN2 selected as analog input", + "value": 2 + }, + "AnalogInput3": { + "description": "AIN3 selected as analog input", + "value": 3 + }, + "AnalogInput4": { + "description": "AIN4 selected as analog input", + "value": 4 + }, + "AnalogInput5": { + "description": "AIN5 selected as analog input", + "value": 5 + }, + "AnalogInput6": { + "description": "AIN6 selected as analog input", + "value": 6 + }, + "AnalogInput7": { + "description": "AIN7 selected as analog input", + "value": 7 + } + } + } + } + } + } + } + }, + "REFSEL": { + "description": "Reference source select for single-ended mode", + "offset": 1288, + "size": 32, + "reset_value": 4, + "reset_mask": 4294967295, + "children": { + "fields": { + "REFSEL": { + "description": "Reference select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "Int1V2": { + "description": "VREF = internal 1.2 V reference (VDD >= 1.7 V)", + "value": 0 + }, + "Int1V8": { + "description": "VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V)", + "value": 1 + }, + "Int2V4": { + "description": "VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V)", + "value": 2 + }, + "VDD": { + "description": "VREF = VDD", + "value": 4 + }, + "ARef": { + "description": "VREF = AREF (VDD >= VREF >= AREFMIN)", + "value": 5 + } + } + } + } + } + } + } + }, + "EXTREFSEL": { + "description": "External reference select", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EXTREFSEL": { + "description": "External analog reference select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "AnalogReference0": { + "description": "Use AIN0 as external analog reference", + "value": 0 + }, + "AnalogReference1": { + "description": "Use AIN1 as external analog reference", + "value": 1 + }, + "AnalogReference2": { + "description": "Use AIN2 as external analog reference", + "value": 2 + }, + "AnalogReference3": { + "description": "Use AIN3 as external analog reference", + "value": 3 + }, + "AnalogReference4": { + "description": "Use AIN4 as external analog reference", + "value": 4 + }, + "AnalogReference5": { + "description": "Use AIN5 as external analog reference", + "value": 5 + }, + "AnalogReference6": { + "description": "Use AIN6 as external analog reference", + "value": 6 + }, + "AnalogReference7": { + "description": "Use AIN7 as external analog reference", + "value": 7 + } + } + } + } + } + } + } + }, + "TH": { + "description": "Threshold configuration for hysteresis unit", + "offset": 1328, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "THDOWN": { + "description": "VDOWN = (THDOWN+1)/64*VREF", + "offset": 0, + "size": 6 + }, + "THUP": { + "description": "VUP = (THUP+1)/64*VREF", + "offset": 8, + "size": 6 + } + } + } + }, + "MODE": { + "description": "Mode configuration", + "offset": 1332, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "SP": { + "description": "Speed and power modes", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Low": { + "description": "Low-power mode", + "value": 0 + }, + "Normal": { + "description": "Normal mode", + "value": 1 + }, + "High": { + "description": "High-speed mode", + "value": 2 + } + } + } + } + }, + "MAIN": { + "description": "Main operation modes", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "SE": { + "description": "Single-ended mode", + "value": 0 + }, + "Diff": { + "description": "Differential mode", + "value": 1 + } + } + } + } + } + } + } + }, + "HYST": { + "description": "Comparator hysteresis enable", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HYST": { + "description": "Comparator hysteresis", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoHyst": { + "description": "Comparator hysteresis disabled", + "value": 0 + }, + "Hyst50mV": { + "description": "Comparator hysteresis enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "LPCOMP": { + "description": "Low Power Comparator", + "children": { + "registers": { + "TASKS_START": { + "description": "Start comparator", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_START": { + "description": "Start comparator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_STOP": { + "description": "Stop comparator", + "offset": 4, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_STOP": { + "description": "Stop comparator", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "TASKS_SAMPLE": { + "description": "Sample comparator value", + "offset": 8, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_SAMPLE": { + "description": "Sample comparator value", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_READY": { + "description": "LPCOMP is ready and output is valid", + "offset": 256, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_READY": { + "description": "LPCOMP is ready and output is valid", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_DOWN": { + "description": "Downward crossing", + "offset": 260, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_DOWN": { + "description": "Downward crossing", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_UP": { + "description": "Upward crossing", + "offset": 264, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_UP": { + "description": "Upward crossing", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_CROSS": { + "description": "Downward or upward crossing", + "offset": 268, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_CROSS": { + "description": "Downward or upward crossing", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "SHORTS": { + "description": "Shortcuts between local events and tasks", + "offset": 512, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY_SAMPLE": { + "description": "Shortcut between event READY and task SAMPLE", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "READY_STOP": { + "description": "Shortcut between event READY and task STOP", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "DOWN_STOP": { + "description": "Shortcut between event DOWN and task STOP", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "UP_STOP": { + "description": "Shortcut between event UP and task STOP", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + }, + "CROSS_STOP": { + "description": "Shortcut between event CROSS and task STOP", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable shortcut", + "value": 0 + }, + "Enabled": { + "description": "Enable shortcut", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to enable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to enable interrupt for event DOWN", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to enable interrupt for event UP", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to enable interrupt for event CROSS", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "READY": { + "description": "Write '1' to disable interrupt for event READY", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "DOWN": { + "description": "Write '1' to disable interrupt for event DOWN", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "UP": { + "description": "Write '1' to disable interrupt for event UP", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "CROSS": { + "description": "Write '1' to disable interrupt for event CROSS", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "RESULT": { + "description": "Compare result", + "offset": 1024, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "RESULT": { + "description": "Result of last compare. Decision point SAMPLE task.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Below": { + "description": "Input voltage is below the reference threshold (VIN+ < VIN-).", + "value": 0 + }, + "Above": { + "description": "Input voltage is above the reference threshold (VIN+ > VIN-).", + "value": 1 + } + } + } + } + } + } + } + }, + "ENABLE": { + "description": "Enable LPCOMP", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ENABLE": { + "description": "Enable or disable LPCOMP", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "PSEL": { + "description": "Input pin select", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "PSEL": { + "description": "Analog pin select", + "offset": 0, + "size": 3, + "enum": { + "size": 3, + "children": { + "enum_fields": { + "AnalogInput0": { + "description": "AIN0 selected as analog input", + "value": 0 + }, + "AnalogInput1": { + "description": "AIN1 selected as analog input", + "value": 1 + }, + "AnalogInput2": { + "description": "AIN2 selected as analog input", + "value": 2 + }, + "AnalogInput3": { + "description": "AIN3 selected as analog input", + "value": 3 + }, + "AnalogInput4": { + "description": "AIN4 selected as analog input", + "value": 4 + }, + "AnalogInput5": { + "description": "AIN5 selected as analog input", + "value": 5 + }, + "AnalogInput6": { + "description": "AIN6 selected as analog input", + "value": 6 + }, + "AnalogInput7": { + "description": "AIN7 selected as analog input", + "value": 7 + } + } + } + } + } + } + } + }, + "REFSEL": { + "description": "Reference select", + "offset": 1288, + "size": 32, + "reset_value": 4, + "reset_mask": 4294967295, + "children": { + "fields": { + "REFSEL": { + "description": "Reference select", + "offset": 0, + "size": 4, + "enum": { + "size": 4, + "children": { + "enum_fields": { + "Ref1_8Vdd": { + "description": "VDD * 1/8 selected as reference", + "value": 0 + }, + "Ref2_8Vdd": { + "description": "VDD * 2/8 selected as reference", + "value": 1 + }, + "Ref3_8Vdd": { + "description": "VDD * 3/8 selected as reference", + "value": 2 + }, + "Ref4_8Vdd": { + "description": "VDD * 4/8 selected as reference", + "value": 3 + }, + "Ref5_8Vdd": { + "description": "VDD * 5/8 selected as reference", + "value": 4 + }, + "Ref6_8Vdd": { + "description": "VDD * 6/8 selected as reference", + "value": 5 + }, + "Ref7_8Vdd": { + "description": "VDD * 7/8 selected as reference", + "value": 6 + }, + "ARef": { + "description": "External analog reference selected", + "value": 7 + }, + "Ref1_16Vdd": { + "description": "VDD * 1/16 selected as reference", + "value": 8 + }, + "Ref3_16Vdd": { + "description": "VDD * 3/16 selected as reference", + "value": 9 + }, + "Ref5_16Vdd": { + "description": "VDD * 5/16 selected as reference", + "value": 10 + }, + "Ref7_16Vdd": { + "description": "VDD * 7/16 selected as reference", + "value": 11 + }, + "Ref9_16Vdd": { + "description": "VDD * 9/16 selected as reference", + "value": 12 + }, + "Ref11_16Vdd": { + "description": "VDD * 11/16 selected as reference", + "value": 13 + }, + "Ref13_16Vdd": { + "description": "VDD * 13/16 selected as reference", + "value": 14 + }, + "Ref15_16Vdd": { + "description": "VDD * 15/16 selected as reference", + "value": 15 + } + } + } + } + } + } + } + }, + "EXTREFSEL": { + "description": "External reference select", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EXTREFSEL": { + "description": "External analog reference select", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "AnalogReference0": { + "description": "Use AIN0 as external analog reference", + "value": 0 + }, + "AnalogReference1": { + "description": "Use AIN1 as external analog reference", + "value": 1 + } + } + } + } + } + } + } + }, + "ANADETECT": { + "description": "Analog detect configuration", + "offset": 1312, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ANADETECT": { + "description": "Analog detect configuration", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Cross": { + "description": "Generate ANADETECT on crossing, both upward crossing and downward crossing", + "value": 0 + }, + "Up": { + "description": "Generate ANADETECT on upward crossing only", + "value": 1 + }, + "Down": { + "description": "Generate ANADETECT on downward crossing only", + "value": 2 + } + } + } + } + } + } + } + }, + "HYST": { + "description": "Comparator hysteresis enable", + "offset": 1336, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HYST": { + "description": "Comparator hysteresis enable", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Comparator hysteresis disabled", + "value": 0 + }, + "Enabled": { + "description": "Comparator hysteresis enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "EGU0": { + "description": "Event Generator Unit 0", + "children": { + "registers": { + "TASKS_TRIGGER": { + "description": "Description collection: Trigger n for triggering the corresponding TRIGGERED[n] event", + "offset": 0, + "size": 32, + "count": 16, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "write-only", + "children": { + "fields": { + "TASKS_TRIGGER": { + "description": "Trigger n for triggering the corresponding TRIGGERED[n] event", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Trigger": { + "description": "Trigger task", + "value": 1 + } + } + } + } + } + } + } + }, + "EVENTS_TRIGGERED": { + "description": "Description collection: Event number n generated by triggering the corresponding TRIGGER[n] task", + "offset": 256, + "size": 32, + "count": 16, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "EVENTS_TRIGGERED": { + "description": "Event number n generated by triggering the corresponding TRIGGER[n] task", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NotGenerated": { + "description": "Event not generated", + "value": 0 + }, + "Generated": { + "description": "Event generated", + "value": 1 + } + } + } + } + } + } + } + }, + "INTEN": { + "description": "Enable or disable interrupt", + "offset": 768, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRIGGERED0": { + "description": "Enable or disable interrupt for event TRIGGERED[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED1": { + "description": "Enable or disable interrupt for event TRIGGERED[1]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED2": { + "description": "Enable or disable interrupt for event TRIGGERED[2]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED3": { + "description": "Enable or disable interrupt for event TRIGGERED[3]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED4": { + "description": "Enable or disable interrupt for event TRIGGERED[4]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED5": { + "description": "Enable or disable interrupt for event TRIGGERED[5]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED6": { + "description": "Enable or disable interrupt for event TRIGGERED[6]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED7": { + "description": "Enable or disable interrupt for event TRIGGERED[7]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED8": { + "description": "Enable or disable interrupt for event TRIGGERED[8]", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED9": { + "description": "Enable or disable interrupt for event TRIGGERED[9]", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED10": { + "description": "Enable or disable interrupt for event TRIGGERED[10]", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED11": { + "description": "Enable or disable interrupt for event TRIGGERED[11]", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED12": { + "description": "Enable or disable interrupt for event TRIGGERED[12]", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED13": { + "description": "Enable or disable interrupt for event TRIGGERED[13]", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED14": { + "description": "Enable or disable interrupt for event TRIGGERED[14]", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + }, + "TRIGGERED15": { + "description": "Enable or disable interrupt for event TRIGGERED[15]", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable", + "value": 0 + }, + "Enabled": { + "description": "Enable", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENSET": { + "description": "Enable interrupt", + "offset": 772, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRIGGERED0": { + "description": "Write '1' to enable interrupt for event TRIGGERED[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED1": { + "description": "Write '1' to enable interrupt for event TRIGGERED[1]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED2": { + "description": "Write '1' to enable interrupt for event TRIGGERED[2]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED3": { + "description": "Write '1' to enable interrupt for event TRIGGERED[3]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED4": { + "description": "Write '1' to enable interrupt for event TRIGGERED[4]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED5": { + "description": "Write '1' to enable interrupt for event TRIGGERED[5]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED6": { + "description": "Write '1' to enable interrupt for event TRIGGERED[6]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED7": { + "description": "Write '1' to enable interrupt for event TRIGGERED[7]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED8": { + "description": "Write '1' to enable interrupt for event TRIGGERED[8]", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED9": { + "description": "Write '1' to enable interrupt for event TRIGGERED[9]", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED10": { + "description": "Write '1' to enable interrupt for event TRIGGERED[10]", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED11": { + "description": "Write '1' to enable interrupt for event TRIGGERED[11]", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED12": { + "description": "Write '1' to enable interrupt for event TRIGGERED[12]", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED13": { + "description": "Write '1' to enable interrupt for event TRIGGERED[13]", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED14": { + "description": "Write '1' to enable interrupt for event TRIGGERED[14]", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED15": { + "description": "Write '1' to enable interrupt for event TRIGGERED[15]", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "INTENCLR": { + "description": "Disable interrupt", + "offset": 776, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "TRIGGERED0": { + "description": "Write '1' to disable interrupt for event TRIGGERED[0]", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED1": { + "description": "Write '1' to disable interrupt for event TRIGGERED[1]", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED2": { + "description": "Write '1' to disable interrupt for event TRIGGERED[2]", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED3": { + "description": "Write '1' to disable interrupt for event TRIGGERED[3]", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED4": { + "description": "Write '1' to disable interrupt for event TRIGGERED[4]", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED5": { + "description": "Write '1' to disable interrupt for event TRIGGERED[5]", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED6": { + "description": "Write '1' to disable interrupt for event TRIGGERED[6]", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED7": { + "description": "Write '1' to disable interrupt for event TRIGGERED[7]", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED8": { + "description": "Write '1' to disable interrupt for event TRIGGERED[8]", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED9": { + "description": "Write '1' to disable interrupt for event TRIGGERED[9]", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED10": { + "description": "Write '1' to disable interrupt for event TRIGGERED[10]", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED11": { + "description": "Write '1' to disable interrupt for event TRIGGERED[11]", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED12": { + "description": "Write '1' to disable interrupt for event TRIGGERED[12]", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED13": { + "description": "Write '1' to disable interrupt for event TRIGGERED[13]", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED14": { + "description": "Write '1' to disable interrupt for event TRIGGERED[14]", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + }, + "TRIGGERED15": { + "description": "Write '1' to disable interrupt for event TRIGGERED[15]", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: Disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: Enabled", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "SWI0": { + "description": "Software interrupt 0", + "children": { + "registers": { + "UNUSED": { + "description": "Unused.", + "offset": 0, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only" + } + } + } + }, + "PPI": { + "description": "Programmable Peripheral Interconnect", + "children": { + "registers": { + "CHEN": { + "description": "Channel enable register", + "offset": 1280, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Enable or disable channel 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Enable or disable channel 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Enable or disable channel 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Enable or disable channel 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Enable or disable channel 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Enable or disable channel 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Enable or disable channel 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Enable or disable channel 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Enable or disable channel 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Enable or disable channel 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Enable or disable channel 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Enable or disable channel 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Enable or disable channel 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Enable or disable channel 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Enable or disable channel 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Enable or disable channel 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Enable or disable channel 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Enable or disable channel 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Enable or disable channel 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Enable or disable channel 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Enable or disable channel 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Enable or disable channel 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Enable or disable channel 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Enable or disable channel 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Enable or disable channel 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Enable or disable channel 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Enable or disable channel 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Enable or disable channel 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Enable or disable channel 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Enable or disable channel 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Enable or disable channel 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Enable or disable channel 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable channel", + "value": 0 + }, + "Enabled": { + "description": "Enable channel", + "value": 1 + } + } + } + } + } + } + } + }, + "CHENSET": { + "description": "Channel enable set register", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Channel 0 enable set register. Writing '0' has no effect", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Channel 1 enable set register. Writing '0' has no effect", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Channel 2 enable set register. Writing '0' has no effect", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Channel 3 enable set register. Writing '0' has no effect", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Channel 4 enable set register. Writing '0' has no effect", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Channel 5 enable set register. Writing '0' has no effect", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Channel 6 enable set register. Writing '0' has no effect", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Channel 7 enable set register. Writing '0' has no effect", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Channel 8 enable set register. Writing '0' has no effect", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Channel 9 enable set register. Writing '0' has no effect", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Channel 10 enable set register. Writing '0' has no effect", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Channel 11 enable set register. Writing '0' has no effect", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Channel 12 enable set register. Writing '0' has no effect", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Channel 13 enable set register. Writing '0' has no effect", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Channel 14 enable set register. Writing '0' has no effect", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Channel 15 enable set register. Writing '0' has no effect", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Channel 16 enable set register. Writing '0' has no effect", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Channel 17 enable set register. Writing '0' has no effect", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Channel 18 enable set register. Writing '0' has no effect", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Channel 19 enable set register. Writing '0' has no effect", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Channel 20 enable set register. Writing '0' has no effect", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Channel 21 enable set register. Writing '0' has no effect", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Channel 22 enable set register. Writing '0' has no effect", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Channel 23 enable set register. Writing '0' has no effect", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Channel 24 enable set register. Writing '0' has no effect", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Channel 25 enable set register. Writing '0' has no effect", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Channel 26 enable set register. Writing '0' has no effect", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Channel 27 enable set register. Writing '0' has no effect", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Channel 28 enable set register. Writing '0' has no effect", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Channel 29 enable set register. Writing '0' has no effect", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Channel 30 enable set register. Writing '0' has no effect", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Channel 31 enable set register. Writing '0' has no effect", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CHENCLR": { + "description": "Channel enable clear register", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Channel 0 enable clear register. Writing '0' has no effect", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Channel 1 enable clear register. Writing '0' has no effect", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Channel 2 enable clear register. Writing '0' has no effect", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Channel 3 enable clear register. Writing '0' has no effect", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Channel 4 enable clear register. Writing '0' has no effect", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Channel 5 enable clear register. Writing '0' has no effect", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Channel 6 enable clear register. Writing '0' has no effect", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Channel 7 enable clear register. Writing '0' has no effect", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Channel 8 enable clear register. Writing '0' has no effect", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Channel 9 enable clear register. Writing '0' has no effect", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Channel 10 enable clear register. Writing '0' has no effect", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Channel 11 enable clear register. Writing '0' has no effect", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Channel 12 enable clear register. Writing '0' has no effect", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Channel 13 enable clear register. Writing '0' has no effect", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Channel 14 enable clear register. Writing '0' has no effect", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Channel 15 enable clear register. Writing '0' has no effect", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Channel 16 enable clear register. Writing '0' has no effect", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Channel 17 enable clear register. Writing '0' has no effect", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Channel 18 enable clear register. Writing '0' has no effect", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Channel 19 enable clear register. Writing '0' has no effect", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Channel 20 enable clear register. Writing '0' has no effect", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Channel 21 enable clear register. Writing '0' has no effect", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Channel 22 enable clear register. Writing '0' has no effect", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Channel 23 enable clear register. Writing '0' has no effect", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Channel 24 enable clear register. Writing '0' has no effect", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Channel 25 enable clear register. Writing '0' has no effect", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Channel 26 enable clear register. Writing '0' has no effect", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Channel 27 enable clear register. Writing '0' has no effect", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Channel 28 enable clear register. Writing '0' has no effect", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Channel 29 enable clear register. Writing '0' has no effect", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Channel 30 enable clear register. Writing '0' has no effect", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Channel 31 enable clear register. Writing '0' has no effect", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Read: channel disabled", + "value": 0 + }, + "Enabled": { + "description": "Read: channel enabled", + "value": 1 + } + } + } + } + } + } + } + }, + "CHG": { + "description": "Description collection: Channel group n", + "offset": 2048, + "size": 32, + "count": 6, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CH0": { + "description": "Include or exclude channel 0", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH1": { + "description": "Include or exclude channel 1", + "offset": 1, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH2": { + "description": "Include or exclude channel 2", + "offset": 2, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH3": { + "description": "Include or exclude channel 3", + "offset": 3, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH4": { + "description": "Include or exclude channel 4", + "offset": 4, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH5": { + "description": "Include or exclude channel 5", + "offset": 5, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH6": { + "description": "Include or exclude channel 6", + "offset": 6, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH7": { + "description": "Include or exclude channel 7", + "offset": 7, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH8": { + "description": "Include or exclude channel 8", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH9": { + "description": "Include or exclude channel 9", + "offset": 9, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH10": { + "description": "Include or exclude channel 10", + "offset": 10, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH11": { + "description": "Include or exclude channel 11", + "offset": 11, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH12": { + "description": "Include or exclude channel 12", + "offset": 12, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH13": { + "description": "Include or exclude channel 13", + "offset": 13, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH14": { + "description": "Include or exclude channel 14", + "offset": 14, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH15": { + "description": "Include or exclude channel 15", + "offset": 15, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH16": { + "description": "Include or exclude channel 16", + "offset": 16, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH17": { + "description": "Include or exclude channel 17", + "offset": 17, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH18": { + "description": "Include or exclude channel 18", + "offset": 18, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH19": { + "description": "Include or exclude channel 19", + "offset": 19, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH20": { + "description": "Include or exclude channel 20", + "offset": 20, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH21": { + "description": "Include or exclude channel 21", + "offset": 21, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH22": { + "description": "Include or exclude channel 22", + "offset": 22, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH23": { + "description": "Include or exclude channel 23", + "offset": 23, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH24": { + "description": "Include or exclude channel 24", + "offset": 24, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH25": { + "description": "Include or exclude channel 25", + "offset": 25, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH26": { + "description": "Include or exclude channel 26", + "offset": 26, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH27": { + "description": "Include or exclude channel 27", + "offset": 27, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH28": { + "description": "Include or exclude channel 28", + "offset": 28, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH29": { + "description": "Include or exclude channel 29", + "offset": 29, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH30": { + "description": "Include or exclude channel 30", + "offset": 30, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + }, + "CH31": { + "description": "Include or exclude channel 31", + "offset": 31, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Excluded": { + "description": "Exclude", + "value": 0 + }, + "Included": { + "description": "Include", + "value": 1 + } + } + } + } + } + } + } + } + } + } + }, + "NVMC": { + "description": "Non Volatile Memory Controller", + "children": { + "registers": { + "READY": { + "description": "Ready flag", + "offset": 1024, + "size": 32, + "reset_value": 1, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "READY": { + "description": "NVMC is ready or busy", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Busy": { + "description": "NVMC is busy (on-going write or erase operation)", + "value": 0 + }, + "Ready": { + "description": "NVMC is ready", + "value": 1 + } + } + } + } + } + } + } + }, + "READYNEXT": { + "description": "Ready flag", + "offset": 1032, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "access": "read-only", + "children": { + "fields": { + "READYNEXT": { + "description": "NVMC can accept a new write operation", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Busy": { + "description": "NVMC cannot accept any write operation", + "value": 0 + }, + "Ready": { + "description": "NVMC is ready", + "value": 1 + } + } + } + } + } + } + } + }, + "CONFIG": { + "description": "Configuration register", + "offset": 1284, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "WEN": { + "description": "Program memory access mode. It is strongly recommended to only activate erase and write modes when they are actively used. Enabling write or erase will invalidate the cache and keep it invalidated.", + "offset": 0, + "size": 2, + "enum": { + "size": 2, + "children": { + "enum_fields": { + "Ren": { + "description": "Read only access", + "value": 0 + }, + "Wen": { + "description": "Write enabled", + "value": 1 + }, + "Een": { + "description": "Erase enabled", + "value": 2 + } + } + } + } + } + } + } + }, + "ERASEPAGE": { + "description": "Register for erasing a page in code area", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEPAGE": { + "description": "Register for starting erase of a page in code area", + "offset": 0, + "size": 32 + } + } + } + }, + "ERASEPCR1": { + "description": "Deprecated register - Register for erasing a page in code area. Equivalent to ERASEPAGE.", + "offset": 1288, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEPCR1": { + "description": "Register for erasing a page in code area. Equivalent to ERASEPAGE.", + "offset": 0, + "size": 32 + } + } + } + }, + "ERASEALL": { + "description": "Register for erasing all non-volatile user memory", + "offset": 1292, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEALL": { + "description": "Erase all non-volatile memory including UICR registers. Note that the erase must be enabled using CONFIG.WEN before the non-volatile memory can be erased.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoOperation": { + "description": "No operation", + "value": 0 + }, + "Erase": { + "description": "Start chip erase", + "value": 1 + } + } + } + } + } + } + } + }, + "ERASEPCR0": { + "description": "Deprecated register - Register for erasing a page in code area. Equivalent to ERASEPAGE.", + "offset": 1296, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEPCR0": { + "description": "Register for starting erase of a page in code area. Equivalent to ERASEPAGE.", + "offset": 0, + "size": 32 + } + } + } + }, + "ERASEUICR": { + "description": "Register for erasing user information configuration registers", + "offset": 1300, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEUICR": { + "description": "Register starting erase of all user information configuration registers. Note that the erase must be enabled using CONFIG.WEN before the UICR can be erased.", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "NoOperation": { + "description": "No operation", + "value": 0 + }, + "Erase": { + "description": "Start erase of UICR", + "value": 1 + } + } + } + } + } + } + } + }, + "ERASEPAGEPARTIAL": { + "description": "Register for partial erase of a page in code area", + "offset": 1304, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "ERASEPAGEPARTIAL": { + "description": "Register for starting partial erase of a page in code area", + "offset": 0, + "size": 32 + } + } + } + }, + "ERASEPAGEPARTIALCFG": { + "description": "Register for partial erase configuration", + "offset": 1308, + "size": 32, + "reset_value": 10, + "reset_mask": 4294967295, + "children": { + "fields": { + "DURATION": { + "description": "Duration of the partial erase in milliseconds", + "offset": 0, + "size": 7 + } + } + } + }, + "ICACHECNF": { + "description": "I-code cache configuration register.", + "offset": 1344, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "CACHEEN": { + "description": "Cache enable", + "offset": 0, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable cache. Invalidates all cache entries.", + "value": 0 + }, + "Enabled": { + "description": "Enable cache", + "value": 1 + } + } + } + } + }, + "CACHEPROFEN": { + "description": "Cache profiling enable", + "offset": 8, + "size": 1, + "enum": { + "size": 1, + "children": { + "enum_fields": { + "Disabled": { + "description": "Disable cache profiling", + "value": 0 + }, + "Enabled": { + "description": "Enable cache profiling", + "value": 1 + } + } + } + } + } + } + } + }, + "IHIT": { + "description": "I-code cache hit counter.", + "offset": 1352, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "HITS": { + "description": "Number of cache hits", + "offset": 0, + "size": 32 + } + } + } + }, + "IMISS": { + "description": "I-code cache miss counter.", + "offset": 1356, + "size": 32, + "reset_value": 0, + "reset_mask": 4294967295, + "children": { + "fields": { + "MISSES": { + "description": "Number of cache misses", + "offset": 0, + "size": 32 + } + } + } + } + } + } + } + } + }, + "devices": { + "nrf52840": { + "arch": "cortex_m4", + "description": "nRF52840 reference description for radio MCU with ARM 32-bit Cortex-M4 Microcontroller ", + "properties": { + "cpu.nvic_prio_bits": "3", + "cpu.mpu": "1", + "cpu.fpu": "1", + "cpu.revision": "r0p1", + "cpu.vendor_systick_config": "0", + "license": "\nCopyright (c) 2010 - 2021, Nordic Semiconductor ASA All rights reserved.\\n\n\\n\nRedistribution and use in source and binary forms, with or without\\n\nmodification, are permitted provided that the following conditions are met:\\n\n\\n\n1. Redistributions of source code must retain the above copyright notice, this\\n\n list of conditions and the following disclaimer.\\n\n\\n\n2. Redistributions in binary form must reproduce the above copyright\\n\n notice, this list of conditions and the following disclaimer in the\\n\n documentation and/or other materials provided with the distribution.\\n\n\\n\n3. Neither the name of Nordic Semiconductor ASA nor the names of its\\n\n contributors may be used to endorse or promote products derived from this\\n\n software without specific prior written permission.\\n\n\\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\\n\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\\n\nIMPLIED WARRANTIES OF MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE\\n\nARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE\\n\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\\n\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\\n\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\\n\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\\n\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\\n\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\\n\nPOSSIBILITY OF SUCH DAMAGE.\\n\n ", + "cpu.name": "CM4", + "cpu.endian": "little" + }, + "children": { + "interrupts": { + "MemManageFault": { + "index": -12 + }, + "BusFault": { + "index": -11 + }, + "UsageFault": { + "index": -10 + }, + "DebugMonitor": { + "index": -4 + }, + "NMI": { + "index": -14 + }, + "HardFault": { + "index": -13 + }, + "SVCall": { + "index": -5 + }, + "PendSV": { + "index": -2 + }, + "SysTick": { + "index": -1 + }, + "POWER_CLOCK": { + "index": 0 + }, + "RADIO": { + "index": 1 + }, + "UARTE0_UART0": { + "index": 2 + }, + "SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0": { + "index": 3 + }, + "SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1": { + "index": 4 + }, + "NFCT": { + "index": 5 + }, + "GPIOTE": { + "index": 6 + }, + "SAADC": { + "index": 7 + }, + "TIMER0": { + "index": 8 + }, + "TIMER1": { + "index": 9 + }, + "TIMER2": { + "index": 10 + }, + "RTC0": { + "index": 11 + }, + "TEMP": { + "index": 12 + }, + "RNG": { + "index": 13 + }, + "ECB": { + "index": 14 + }, + "CCM_AAR": { + "index": 15 + }, + "WDT": { + "index": 16 + }, + "RTC1": { + "index": 17 + }, + "QDEC": { + "index": 18 + }, + "COMP_LPCOMP": { + "index": 19 + }, + "SWI0_EGU0": { + "index": 20 + }, + "SWI1_EGU1": { + "index": 21 + }, + "SWI2_EGU2": { + "index": 22 + }, + "SWI3_EGU3": { + "index": 23 + }, + "SWI4_EGU4": { + "index": 24 + }, + "SWI5_EGU5": { + "index": 25 + }, + "TIMER3": { + "index": 26 + }, + "TIMER4": { + "index": 27 + }, + "PWM0": { + "index": 28 + }, + "PDM": { + "index": 29 + }, + "MWU": { + "index": 32 + }, + "PWM1": { + "index": 33 + }, + "PWM2": { + "index": 34 + }, + "SPIM2_SPIS2_SPI2": { + "index": 35 + }, + "RTC2": { + "index": 36 + }, + "I2S": { + "index": 37 + }, + "FPU": { + "index": 38 + }, + "USBD": { + "index": 39 + }, + "UARTE1": { + "index": 40 + }, + "QSPI": { + "index": 41 + }, + "CRYPTOCELL": { + "index": 42 + }, + "PWM3": { + "index": 45 + }, + "SPIM3": { + "index": 47 + } + }, + "peripheral_instances": { + "SysTick": { + "offset": 3758153744, + "type": "types.peripherals.SCS.children.register_groups.SysTick" + }, + "FICR": { + "description": "Factory information configuration registers", + "offset": 268435456, + "type": "types.peripherals.FICR" + }, + "UICR": { + "description": "User information configuration registers", + "offset": 268439552, + "type": "types.peripherals.UICR" + }, + "CLOCK": { + "description": "Clock control", + "offset": 1073741824, + "type": "types.peripherals.CLOCK" + }, + "POWER": { + "description": "Power control", + "offset": 1073741824, + "type": "types.peripherals.POWER" + }, + "P0": { + "description": "GPIO Port 1", + "offset": 1342177280, + "type": "types.peripherals.P0" + }, + "P1": { + "description": "GPIO Port 2", + "offset": 1342178048, + "type": "types.peripherals.P0" + }, + "RADIO": { + "description": "2.4 GHz radio", + "offset": 1073745920, + "type": "types.peripherals.RADIO" + }, + "UART0": { + "description": "Universal Asynchronous Receiver/Transmitter", + "offset": 1073750016, + "type": "types.peripherals.UART0" + }, + "UARTE0": { + "description": "UART with EasyDMA 0", + "offset": 1073750016, + "type": "types.peripherals.UARTE0" + }, + "SPI0": { + "description": "Serial Peripheral Interface 0", + "offset": 1073754112, + "type": "types.peripherals.SPI0" + }, + "SPIM0": { + "description": "Serial Peripheral Interface Master with EasyDMA 0", + "offset": 1073754112, + "type": "types.peripherals.SPIM0" + }, + "SPIS0": { + "description": "SPI Slave 0", + "offset": 1073754112, + "type": "types.peripherals.SPIS0" + }, + "TWI0": { + "description": "I2C compatible Two-Wire Interface 0", + "offset": 1073754112, + "type": "types.peripherals.TWI0" + }, + "TWIM0": { + "description": "I2C compatible Two-Wire Master Interface with EasyDMA 0", + "offset": 1073754112, + "type": "types.peripherals.TWIM0" + }, + "TWIS0": { + "description": "I2C compatible Two-Wire Slave Interface with EasyDMA 0", + "offset": 1073754112, + "type": "types.peripherals.TWIS0" + }, + "SPI1": { + "description": "Serial Peripheral Interface 1", + "offset": 1073758208, + "type": "types.peripherals.SPI0" + }, + "SPIM1": { + "description": "Serial Peripheral Interface Master with EasyDMA 1", + "offset": 1073758208, + "type": "types.peripherals.SPIM0" + }, + "SPIS1": { + "description": "SPI Slave 1", + "offset": 1073758208, + "type": "types.peripherals.SPIS0" + }, + "TWI1": { + "description": "I2C compatible Two-Wire Interface 1", + "offset": 1073758208, + "type": "types.peripherals.TWI0" + }, + "TWIM1": { + "description": "I2C compatible Two-Wire Master Interface with EasyDMA 1", + "offset": 1073758208, + "type": "types.peripherals.TWIM0" + }, + "TWIS1": { + "description": "I2C compatible Two-Wire Slave Interface with EasyDMA 1", + "offset": 1073758208, + "type": "types.peripherals.TWIS0" + }, + "NFCT": { + "description": "NFC-A compatible radio", + "offset": 1073762304, + "type": "types.peripherals.NFCT" + }, + "GPIOTE": { + "description": "GPIO Tasks and Events", + "offset": 1073766400, + "type": "types.peripherals.GPIOTE" + }, + "SAADC": { + "description": "Successive approximation register (SAR) analog-to-digital converter", + "offset": 1073770496, + "type": "types.peripherals.SAADC" + }, + "TIMER0": { + "description": "Timer/Counter 0", + "offset": 1073774592, + "type": "types.peripherals.TIMER0" + }, + "TIMER1": { + "description": "Timer/Counter 1", + "offset": 1073778688, + "type": "types.peripherals.TIMER0" + }, + "TIMER2": { + "description": "Timer/Counter 2", + "offset": 1073782784, + "type": "types.peripherals.TIMER0" + }, + "RTC0": { + "description": "Real time counter 0", + "offset": 1073786880, + "type": "types.peripherals.RTC0" + }, + "TEMP": { + "description": "Temperature Sensor", + "offset": 1073790976, + "type": "types.peripherals.TEMP" + }, + "RNG": { + "description": "Random Number Generator", + "offset": 1073795072, + "type": "types.peripherals.RNG" + }, + "ECB": { + "description": "AES ECB Mode Encryption", + "offset": 1073799168, + "type": "types.peripherals.ECB" + }, + "AAR": { + "description": "Accelerated Address Resolver", + "offset": 1073803264, + "type": "types.peripherals.AAR" + }, + "CCM": { + "description": "AES CCM Mode Encryption", + "offset": 1073803264, + "type": "types.peripherals.CCM" + }, + "WDT": { + "description": "Watchdog Timer", + "offset": 1073807360, + "type": "types.peripherals.WDT" + }, + "RTC1": { + "description": "Real time counter 1", + "offset": 1073811456, + "type": "types.peripherals.RTC0" + }, + "QDEC": { + "description": "Quadrature Decoder", + "offset": 1073815552, + "type": "types.peripherals.QDEC" + }, + "COMP": { + "description": "Comparator", + "offset": 1073819648, + "type": "types.peripherals.COMP" + }, + "LPCOMP": { + "description": "Low Power Comparator", + "offset": 1073819648, + "type": "types.peripherals.LPCOMP" + }, + "EGU0": { + "description": "Event Generator Unit 0", + "offset": 1073823744, + "type": "types.peripherals.EGU0" + }, + "SWI0": { + "description": "Software interrupt 0", + "offset": 1073823744, + "type": "types.peripherals.SWI0" + }, + "EGU1": { + "description": "Event Generator Unit 1", + "offset": 1073827840, + "type": "types.peripherals.EGU0" + }, + "SWI1": { + "description": "Software interrupt 1", + "offset": 1073827840, + "type": "types.peripherals.SWI0" + }, + "EGU2": { + "description": "Event Generator Unit 2", + "offset": 1073831936, + "type": "types.peripherals.EGU0" + }, + "SWI2": { + "description": "Software interrupt 2", + "offset": 1073831936, + "type": "types.peripherals.SWI0" + }, + "EGU3": { + "description": "Event Generator Unit 3", + "offset": 1073836032, + "type": "types.peripherals.EGU0" + }, + "SWI3": { + "description": "Software interrupt 3", + "offset": 1073836032, + "type": "types.peripherals.SWI0" + }, + "EGU4": { + "description": "Event Generator Unit 4", + "offset": 1073840128, + "type": "types.peripherals.EGU0" + }, + "SWI4": { + "description": "Software interrupt 4", + "offset": 1073840128, + "type": "types.peripherals.SWI0" + }, + "EGU5": { + "description": "Event Generator Unit 5", + "offset": 1073844224, + "type": "types.peripherals.EGU0" + }, + "SWI5": { + "description": "Software interrupt 5", + "offset": 1073844224, + "type": "types.peripherals.SWI0" + }, + "TIMER3": { + "description": "Timer/Counter 3", + "offset": 1073848320, + "type": "types.peripherals.TIMER0" + }, + "TIMER4": { + "description": "Timer/Counter 4", + "offset": 1073852416, + "type": "types.peripherals.TIMER0" + }, + "PWM0": { + "description": "Pulse width modulation unit 0", + "offset": 1073856512, + "type": "types.peripherals.PWM0" + }, + "PDM": { + "description": "Pulse Density Modulation (Digital Microphone) Interface", + "offset": 1073860608, + "type": "types.peripherals.PDM" + }, + "ACL": { + "description": "Access control lists", + "offset": 1073864704, + "type": "types.peripherals.ACL" + }, + "NVMC": { + "description": "Non Volatile Memory Controller", + "offset": 1073864704, + "type": "types.peripherals.NVMC" + }, + "PPI": { + "description": "Programmable Peripheral Interconnect", + "offset": 1073868800, + "type": "types.peripherals.PPI" + }, + "MWU": { + "description": "Memory Watch Unit", + "offset": 1073872896, + "type": "types.peripherals.MWU" + }, + "PWM1": { + "description": "Pulse width modulation unit 1", + "offset": 1073876992, + "type": "types.peripherals.PWM0" + }, + "PWM2": { + "description": "Pulse width modulation unit 2", + "offset": 1073881088, + "type": "types.peripherals.PWM0" + }, + "SPI2": { + "description": "Serial Peripheral Interface 2", + "offset": 1073885184, + "type": "types.peripherals.SPI0" + }, + "SPIM2": { + "description": "Serial Peripheral Interface Master with EasyDMA 2", + "offset": 1073885184, + "type": "types.peripherals.SPIM0" + }, + "SPIS2": { + "description": "SPI Slave 2", + "offset": 1073885184, + "type": "types.peripherals.SPIS0" + }, + "RTC2": { + "description": "Real time counter 2", + "offset": 1073889280, + "type": "types.peripherals.RTC0" + }, + "I2S": { + "description": "Inter-IC Sound", + "offset": 1073893376, + "type": "types.peripherals.I2S" + }, + "FPU": { + "description": "FPU", + "offset": 1073897472, + "type": "types.peripherals.FPU" + }, + "USBD": { + "description": "Universal serial bus device", + "offset": 1073901568, + "type": "types.peripherals.USBD" + }, + "UARTE1": { + "description": "UART with EasyDMA 1", + "offset": 1073905664, + "type": "types.peripherals.UARTE0" + }, + "QSPI": { + "description": "External flash interface", + "offset": 1073909760, + "type": "types.peripherals.QSPI" + }, + "CC_HOST_RGF": { + "description": "CRYPTOCELL HOST_RGF interface", + "offset": 1342349312, + "type": "types.peripherals.CC_HOST_RGF" + }, + "CRYPTOCELL": { + "description": "ARM TrustZone CryptoCell register interface", + "offset": 1342349312, + "type": "types.peripherals.CRYPTOCELL" + }, + "PWM3": { + "description": "Pulse width modulation unit 3", + "offset": 1073926144, + "type": "types.peripherals.PWM0" + }, + "SPIM3": { + "description": "Serial Peripheral Interface Master with EasyDMA 3", + "offset": 1073934336, + "type": "types.peripherals.SPIM0" + } + } + } + } + } +} \ No newline at end of file diff --git a/test/nrf52840.robot b/test/nrf52840.robot new file mode 100644 index 0000000..28c77fe --- /dev/null +++ b/test/nrf52840.robot @@ -0,0 +1,10 @@ +*** Settings *** +Suite Setup Setup +Suite Teardown Teardown +Test Teardown Test Teardown +Resource ${RENODEKEYWORDS} + +*** Test Cases *** +Should Print Help + ${x}= Execute Command help + Should Contain ${x} Available commands: diff --git a/test/programs/minimal.zig b/test/programs/minimal.zig new file mode 100644 index 0000000..5258ce3 --- /dev/null +++ b/test/programs/minimal.zig @@ -0,0 +1,5 @@ +const micro = @import("microzig"); + +pub fn main() void { + // This function will contain the application logic. +}