Created
November 28, 2018 08:28
-
-
Save deadprogram/9975d4b3a7e7bb26558fe78dd81017e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Automatically generated file. DO NOT EDIT. | |
// Generated by gen-device-svd.py from nrf52.svd, see https://github.com/NordicSemiconductor/nrfx/tree/master/mdk | |
// +build nrf,nrf52 | |
// nRF52832 reference description for radio MCU with ARM 32-bit Cortex-M4 Microcontroller | |
// | |
// Copyright (c) 2010 - 2018, Nordic Semiconductor ASA All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// | |
// 1. Redistributions of source code must retain the above copyright notice, this | |
// list of conditions and the following disclaimer. | |
// | |
// 2. Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the | |
// documentation and/or other materials provided with the distribution. | |
// | |
// 3. Neither the name of Nordic Semiconductor ASA nor the names of its | |
// contributors may be used to endorse or promote products derived from this | |
// software without specific prior written permission. | |
// | |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
// IMPLIED WARRANTIES OF MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE | |
// ARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE | |
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
// POSSIBILITY OF SUCH DAMAGE. | |
package nrf | |
import "unsafe" | |
// Special type that causes loads/stores to be volatile (necessary for | |
// memory-mapped registers). | |
//go:volatile | |
type RegValue uint32 | |
// Some information about this device. | |
const ( | |
DEVICE = "nrf52" | |
) | |
// Interrupt numbers | |
const ( | |
IRQ_POWER_CLOCK = 0 // Power control // Clock control | |
IRQ_POWER = 0 // Power control | |
IRQ_CLOCK = 0 // Clock control | |
IRQ_RADIO = 1 // 2.4 GHz Radio | |
IRQ_UARTE0_UART0 = 2 // UART with EasyDMA // Universal Asynchronous Receiver/Transmitter | |
IRQ_UARTE0 = 2 // UART with EasyDMA | |
IRQ_UART0 = 2 // Universal Asynchronous Receiver/Transmitter | |
IRQ_SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0 = 3 // Serial Peripheral Interface Master with EasyDMA 0 // SPI Slave 0 // I2C compatible Two-Wire Master Interface with EasyDMA 0 // I2C compatible Two-Wire Slave Interface with EasyDMA 0 // Serial Peripheral Interface 0 // I2C compatible Two-Wire Interface 0 | |
IRQ_SPIM0 = 3 // Serial Peripheral Interface Master with EasyDMA 0 | |
IRQ_SPIS0 = 3 // SPI Slave 0 | |
IRQ_TWIM0 = 3 // I2C compatible Two-Wire Master Interface with EasyDMA 0 | |
IRQ_TWIS0 = 3 // I2C compatible Two-Wire Slave Interface with EasyDMA 0 | |
IRQ_SPI0 = 3 // Serial Peripheral Interface 0 | |
IRQ_TWI0 = 3 // I2C compatible Two-Wire Interface 0 | |
IRQ_SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1 = 4 // Serial Peripheral Interface Master with EasyDMA 1 // SPI Slave 1 // I2C compatible Two-Wire Master Interface with EasyDMA 1 // I2C compatible Two-Wire Slave Interface with EasyDMA 1 // Serial Peripheral Interface 1 // I2C compatible Two-Wire Interface 1 | |
IRQ_SPIM1 = 4 // Serial Peripheral Interface Master with EasyDMA 1 | |
IRQ_SPIS1 = 4 // SPI Slave 1 | |
IRQ_TWIM1 = 4 // I2C compatible Two-Wire Master Interface with EasyDMA 1 | |
IRQ_TWIS1 = 4 // I2C compatible Two-Wire Slave Interface with EasyDMA 1 | |
IRQ_SPI1 = 4 // Serial Peripheral Interface 1 | |
IRQ_TWI1 = 4 // I2C compatible Two-Wire Interface 1 | |
IRQ_NFCT = 5 // NFC-A compatible radio | |
IRQ_GPIOTE = 6 // GPIO Tasks and Events | |
IRQ_SAADC = 7 // Analog to Digital Converter | |
IRQ_TIMER0 = 8 // Timer/Counter 0 | |
IRQ_TIMER1 = 9 // Timer/Counter 1 | |
IRQ_TIMER2 = 10 // Timer/Counter 2 | |
IRQ_RTC0 = 11 // Real time counter 0 | |
IRQ_TEMP = 12 // Temperature Sensor | |
IRQ_RNG = 13 // Random Number Generator | |
IRQ_ECB = 14 // AES ECB Mode Encryption | |
IRQ_CCM_AAR = 15 // AES CCM Mode Encryption // Accelerated Address Resolver | |
IRQ_CCM = 15 // AES CCM Mode Encryption | |
IRQ_AAR = 15 // Accelerated Address Resolver | |
IRQ_WDT = 16 // Watchdog Timer | |
IRQ_RTC1 = 17 // Real time counter 1 | |
IRQ_QDEC = 18 // Quadrature Decoder | |
IRQ_COMP_LPCOMP = 19 // Comparator // Low Power Comparator | |
IRQ_COMP = 19 // Comparator | |
IRQ_LPCOMP = 19 // Low Power Comparator | |
IRQ_SWI0_EGU0 = 20 // Software interrupt 0 // Event Generator Unit 0 | |
IRQ_SWI0 = 20 // Software interrupt 0 | |
IRQ_EGU0 = 20 // Event Generator Unit 0 | |
IRQ_SWI1_EGU1 = 21 // Software interrupt 1 // Event Generator Unit 1 | |
IRQ_SWI1 = 21 // Software interrupt 1 | |
IRQ_EGU1 = 21 // Event Generator Unit 1 | |
IRQ_SWI2_EGU2 = 22 // Software interrupt 2 // Event Generator Unit 2 | |
IRQ_SWI2 = 22 // Software interrupt 2 | |
IRQ_EGU2 = 22 // Event Generator Unit 2 | |
IRQ_SWI3_EGU3 = 23 // Software interrupt 3 // Event Generator Unit 3 | |
IRQ_SWI3 = 23 // Software interrupt 3 | |
IRQ_EGU3 = 23 // Event Generator Unit 3 | |
IRQ_SWI4_EGU4 = 24 // Software interrupt 4 // Event Generator Unit 4 | |
IRQ_SWI4 = 24 // Software interrupt 4 | |
IRQ_EGU4 = 24 // Event Generator Unit 4 | |
IRQ_SWI5_EGU5 = 25 // Software interrupt 5 // Event Generator Unit 5 | |
IRQ_SWI5 = 25 // Software interrupt 5 | |
IRQ_EGU5 = 25 // Event Generator Unit 5 | |
IRQ_TIMER3 = 26 // Timer/Counter 3 | |
IRQ_TIMER4 = 27 // Timer/Counter 4 | |
IRQ_PWM0 = 28 // Pulse Width Modulation Unit 0 | |
IRQ_PDM = 29 // Pulse Density Modulation (Digital Microphone) Interface | |
IRQ_MWU = 32 // Memory Watch Unit | |
IRQ_PWM1 = 33 // Pulse Width Modulation Unit 1 | |
IRQ_PWM2 = 34 // Pulse Width Modulation Unit 2 | |
IRQ_SPIM2_SPIS2_SPI2 = 35 // Serial Peripheral Interface Master with EasyDMA 2 // SPI Slave 2 // Serial Peripheral Interface 2 | |
IRQ_SPIM2 = 35 // Serial Peripheral Interface Master with EasyDMA 2 | |
IRQ_SPIS2 = 35 // SPI Slave 2 | |
IRQ_SPI2 = 35 // Serial Peripheral Interface 2 | |
IRQ_RTC2 = 36 // Real time counter 2 | |
IRQ_I2S = 37 // Inter-IC Sound | |
IRQ_FPU = 38 // FPU | |
IRQ_max = 38 // Highest interrupt number on this device. | |
) | |
// Peripherals. | |
var ( | |
FICR = (*FICR_Type)(unsafe.Pointer(uintptr(0x10000000))) // Factory Information Configuration Registers | |
UICR = (*UICR_Type)(unsafe.Pointer(uintptr(0x10001000))) // User Information Configuration Registers | |
BPROT = (*BPROT_Type)(unsafe.Pointer(uintptr(0x40000000))) // Block Protect | |
POWER = (*POWER_Type)(unsafe.Pointer(uintptr(0x40000000))) // Power control | |
CLOCK = (*CLOCK_Type)(unsafe.Pointer(uintptr(0x40000000))) // Clock control | |
RADIO = (*RADIO_Type)(unsafe.Pointer(uintptr(0x40001000))) // 2.4 GHz Radio | |
UARTE0 = (*UARTE_Type)(unsafe.Pointer(uintptr(0x40002000))) // UART with EasyDMA | |
UART0 = (*UART_Type)(unsafe.Pointer(uintptr(0x40002000))) // Universal Asynchronous Receiver/Transmitter | |
SPIM0 = (*SPIM_Type)(unsafe.Pointer(uintptr(0x40003000))) // Serial Peripheral Interface Master with EasyDMA 0 | |
SPIS0 = (*SPIS_Type)(unsafe.Pointer(uintptr(0x40003000))) // SPI Slave 0 | |
TWIM0 = (*TWIM_Type)(unsafe.Pointer(uintptr(0x40003000))) // I2C compatible Two-Wire Master Interface with EasyDMA 0 | |
TWIS0 = (*TWIS_Type)(unsafe.Pointer(uintptr(0x40003000))) // I2C compatible Two-Wire Slave Interface with EasyDMA 0 | |
SPI0 = (*SPI_Type)(unsafe.Pointer(uintptr(0x40003000))) // Serial Peripheral Interface 0 | |
TWI0 = (*TWI_Type)(unsafe.Pointer(uintptr(0x40003000))) // I2C compatible Two-Wire Interface 0 | |
SPIM1 = (*SPIM_Type)(unsafe.Pointer(uintptr(0x40004000))) // Serial Peripheral Interface Master with EasyDMA 1 | |
SPIS1 = (*SPIS_Type)(unsafe.Pointer(uintptr(0x40004000))) // SPI Slave 1 | |
TWIM1 = (*TWIM_Type)(unsafe.Pointer(uintptr(0x40004000))) // I2C compatible Two-Wire Master Interface with EasyDMA 1 | |
TWIS1 = (*TWIS_Type)(unsafe.Pointer(uintptr(0x40004000))) // I2C compatible Two-Wire Slave Interface with EasyDMA 1 | |
SPI1 = (*SPI_Type)(unsafe.Pointer(uintptr(0x40004000))) // Serial Peripheral Interface 1 | |
TWI1 = (*TWI_Type)(unsafe.Pointer(uintptr(0x40004000))) // I2C compatible Two-Wire Interface 1 | |
NFCT = (*NFCT_Type)(unsafe.Pointer(uintptr(0x40005000))) // NFC-A compatible radio | |
GPIOTE = (*GPIOTE_Type)(unsafe.Pointer(uintptr(0x40006000))) // GPIO Tasks and Events | |
SAADC = (*SAADC_Type)(unsafe.Pointer(uintptr(0x40007000))) // Analog to Digital Converter | |
TIMER0 = (*TIMER_Type)(unsafe.Pointer(uintptr(0x40008000))) // Timer/Counter 0 | |
TIMER1 = (*TIMER_Type)(unsafe.Pointer(uintptr(0x40009000))) // Timer/Counter 1 | |
TIMER2 = (*TIMER_Type)(unsafe.Pointer(uintptr(0x4000a000))) // Timer/Counter 2 | |
RTC0 = (*RTC_Type)(unsafe.Pointer(uintptr(0x4000b000))) // Real time counter 0 | |
TEMP = (*TEMP_Type)(unsafe.Pointer(uintptr(0x4000c000))) // Temperature Sensor | |
RNG = (*RNG_Type)(unsafe.Pointer(uintptr(0x4000d000))) // Random Number Generator | |
ECB = (*ECB_Type)(unsafe.Pointer(uintptr(0x4000e000))) // AES ECB Mode Encryption | |
CCM = (*CCM_Type)(unsafe.Pointer(uintptr(0x4000f000))) // AES CCM Mode Encryption | |
AAR = (*AAR_Type)(unsafe.Pointer(uintptr(0x4000f000))) // Accelerated Address Resolver | |
WDT = (*WDT_Type)(unsafe.Pointer(uintptr(0x40010000))) // Watchdog Timer | |
RTC1 = (*RTC_Type)(unsafe.Pointer(uintptr(0x40011000))) // Real time counter 1 | |
QDEC = (*QDEC_Type)(unsafe.Pointer(uintptr(0x40012000))) // Quadrature Decoder | |
COMP = (*COMP_Type)(unsafe.Pointer(uintptr(0x40013000))) // Comparator | |
LPCOMP = (*LPCOMP_Type)(unsafe.Pointer(uintptr(0x40013000))) // Low Power Comparator | |
SWI0 = (*SWI_Type)(unsafe.Pointer(uintptr(0x40014000))) // Software interrupt 0 | |
EGU0 = (*EGU_Type)(unsafe.Pointer(uintptr(0x40014000))) // Event Generator Unit 0 | |
SWI1 = (*SWI_Type)(unsafe.Pointer(uintptr(0x40015000))) // Software interrupt 1 | |
EGU1 = (*EGU_Type)(unsafe.Pointer(uintptr(0x40015000))) // Event Generator Unit 1 | |
SWI2 = (*SWI_Type)(unsafe.Pointer(uintptr(0x40016000))) // Software interrupt 2 | |
EGU2 = (*EGU_Type)(unsafe.Pointer(uintptr(0x40016000))) // Event Generator Unit 2 | |
SWI3 = (*SWI_Type)(unsafe.Pointer(uintptr(0x40017000))) // Software interrupt 3 | |
EGU3 = (*EGU_Type)(unsafe.Pointer(uintptr(0x40017000))) // Event Generator Unit 3 | |
SWI4 = (*SWI_Type)(unsafe.Pointer(uintptr(0x40018000))) // Software interrupt 4 | |
EGU4 = (*EGU_Type)(unsafe.Pointer(uintptr(0x40018000))) // Event Generator Unit 4 | |
SWI5 = (*SWI_Type)(unsafe.Pointer(uintptr(0x40019000))) // Software interrupt 5 | |
EGU5 = (*EGU_Type)(unsafe.Pointer(uintptr(0x40019000))) // Event Generator Unit 5 | |
TIMER3 = (*TIMER_Type)(unsafe.Pointer(uintptr(0x4001a000))) // Timer/Counter 3 | |
TIMER4 = (*TIMER_Type)(unsafe.Pointer(uintptr(0x4001b000))) // Timer/Counter 4 | |
PWM0 = (*PWM_Type)(unsafe.Pointer(uintptr(0x4001c000))) // Pulse Width Modulation Unit 0 | |
PDM = (*PDM_Type)(unsafe.Pointer(uintptr(0x4001d000))) // Pulse Density Modulation (Digital Microphone) Interface | |
NVMC = (*NVMC_Type)(unsafe.Pointer(uintptr(0x4001e000))) // Non Volatile Memory Controller | |
PPI = (*PPI_Type)(unsafe.Pointer(uintptr(0x4001f000))) // Programmable Peripheral Interconnect | |
MWU = (*MWU_Type)(unsafe.Pointer(uintptr(0x40020000))) // Memory Watch Unit | |
PWM1 = (*PWM_Type)(unsafe.Pointer(uintptr(0x40021000))) // Pulse Width Modulation Unit 1 | |
PWM2 = (*PWM_Type)(unsafe.Pointer(uintptr(0x40022000))) // Pulse Width Modulation Unit 2 | |
SPIM2 = (*SPIM_Type)(unsafe.Pointer(uintptr(0x40023000))) // Serial Peripheral Interface Master with EasyDMA 2 | |
SPIS2 = (*SPIS_Type)(unsafe.Pointer(uintptr(0x40023000))) // SPI Slave 2 | |
SPI2 = (*SPI_Type)(unsafe.Pointer(uintptr(0x40023000))) // Serial Peripheral Interface 2 | |
RTC2 = (*RTC_Type)(unsafe.Pointer(uintptr(0x40024000))) // Real time counter 2 | |
I2S = (*I2S_Type)(unsafe.Pointer(uintptr(0x40025000))) // Inter-IC Sound | |
FPU = (*FPU_Type)(unsafe.Pointer(uintptr(0x40026000))) // FPU | |
P0 = (*GPIO_Type)(unsafe.Pointer(uintptr(0x50000000))) // GPIO Port 1 | |
) | |
// Factory Information Configuration Registers | |
type FICR_Type struct { | |
_padding0 [4]RegValue | |
CODEPAGESIZE RegValue | |
CODESIZE RegValue | |
_padding1 [18]RegValue | |
DEVICEID [2]RegValue | |
_padding2 [6]RegValue | |
ER [4]RegValue | |
IR [4]RegValue | |
DEVICEADDRTYPE RegValue | |
DEVICEADDR [2]RegValue | |
_padding3 [21]RegValue | |
INFO struct { | |
PART RegValue | |
VARIANT RegValue | |
PACKAGE RegValue | |
RAM RegValue | |
FLASH RegValue | |
UNUSED0 [3]RegValue | |
} | |
_padding4 [185]RegValue | |
TEMP struct { | |
A0 RegValue | |
A1 RegValue | |
A2 RegValue | |
A3 RegValue | |
A4 RegValue | |
A5 RegValue | |
B0 RegValue | |
B1 RegValue | |
B2 RegValue | |
B3 RegValue | |
B4 RegValue | |
B5 RegValue | |
T0 RegValue | |
T1 RegValue | |
T2 RegValue | |
T3 RegValue | |
T4 RegValue | |
} | |
_padding5 [3]RegValue | |
NFC struct { | |
TAGHEADER0 RegValue | |
TAGHEADER1 RegValue | |
TAGHEADER2 RegValue | |
TAGHEADER3 RegValue | |
} | |
} | |
// User Information Configuration Registers | |
type UICR_Type struct { | |
UNUSED0 RegValue | |
UNUSED1 RegValue | |
UNUSED2 RegValue | |
_padding0 RegValue | |
UNUSED3 RegValue | |
NRFFW [15]RegValue | |
NRFHW [12]RegValue | |
CUSTOMER [32]RegValue | |
_padding1 [64]RegValue | |
PSELRESET [2]RegValue | |
APPROTECT RegValue | |
NFCPINS RegValue | |
} | |
// Block Protect | |
type BPROT_Type struct { | |
_padding0 [384]RegValue | |
CONFIG0 RegValue | |
CONFIG1 RegValue | |
DISABLEINDEBUG RegValue | |
UNUSED0 RegValue | |
CONFIG2 RegValue | |
CONFIG3 RegValue | |
} | |
// Power control | |
type POWER_Type struct { | |
_padding0 [30]RegValue | |
TASKS_CONSTLAT RegValue | |
TASKS_LOWPWR RegValue | |
_padding1 [34]RegValue | |
EVENTS_POFWARN RegValue | |
_padding2 [2]RegValue | |
EVENTS_SLEEPENTER RegValue | |
EVENTS_SLEEPEXIT RegValue | |
_padding3 [122]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding4 [61]RegValue | |
RESETREAS RegValue | |
_padding5 [9]RegValue | |
RAMSTATUS RegValue | |
_padding6 [53]RegValue | |
SYSTEMOFF RegValue | |
_padding7 [3]RegValue | |
POFCON RegValue | |
_padding8 [2]RegValue | |
GPREGRET RegValue | |
GPREGRET2 RegValue | |
RAMON RegValue | |
_padding9 [11]RegValue | |
RAMONB RegValue | |
_padding10 [8]RegValue | |
DCDCEN RegValue | |
_padding11 [225]RegValue | |
RAM [8]struct { | |
POWER RegValue | |
POWERSET RegValue | |
POWERCLR RegValue | |
_padding12 RegValue | |
} | |
} | |
// Clock control | |
type CLOCK_Type struct { | |
TASKS_HFCLKSTART RegValue | |
TASKS_HFCLKSTOP RegValue | |
TASKS_LFCLKSTART RegValue | |
TASKS_LFCLKSTOP RegValue | |
TASKS_CAL RegValue | |
TASKS_CTSTART RegValue | |
TASKS_CTSTOP RegValue | |
_padding0 [57]RegValue | |
EVENTS_HFCLKSTARTED RegValue | |
EVENTS_LFCLKSTARTED RegValue | |
_padding1 RegValue | |
EVENTS_DONE RegValue | |
EVENTS_CTTO RegValue | |
_padding2 [124]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [63]RegValue | |
HFCLKRUN RegValue | |
HFCLKSTAT RegValue | |
_padding4 RegValue | |
LFCLKRUN RegValue | |
LFCLKSTAT RegValue | |
LFCLKSRCCOPY RegValue | |
_padding5 [62]RegValue | |
LFCLKSRC RegValue | |
_padding6 [7]RegValue | |
CTIV RegValue | |
_padding7 [8]RegValue | |
TRACECONFIG RegValue | |
} | |
// 2.4 GHz Radio | |
type RADIO_Type struct { | |
TASKS_TXEN RegValue | |
TASKS_RXEN RegValue | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
TASKS_DISABLE RegValue | |
TASKS_RSSISTART RegValue | |
TASKS_RSSISTOP RegValue | |
TASKS_BCSTART RegValue | |
TASKS_BCSTOP RegValue | |
_padding0 [55]RegValue | |
EVENTS_READY RegValue | |
EVENTS_ADDRESS RegValue | |
EVENTS_PAYLOAD RegValue | |
EVENTS_END RegValue | |
EVENTS_DISABLED RegValue | |
EVENTS_DEVMATCH RegValue | |
EVENTS_DEVMISS RegValue | |
EVENTS_RSSIEND RegValue | |
_padding1 [2]RegValue | |
EVENTS_BCMATCH RegValue | |
_padding2 RegValue | |
EVENTS_CRCOK RegValue | |
EVENTS_CRCERROR RegValue | |
_padding3 [50]RegValue | |
SHORTS RegValue | |
_padding4 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding5 [61]RegValue | |
CRCSTATUS RegValue | |
_padding6 RegValue | |
RXMATCH RegValue | |
RXCRC RegValue | |
DAI RegValue | |
_padding7 [60]RegValue | |
PACKETPTR RegValue | |
FREQUENCY RegValue | |
TXPOWER RegValue | |
MODE RegValue | |
PCNF0 RegValue | |
PCNF1 RegValue | |
BASE0 RegValue | |
BASE1 RegValue | |
PREFIX0 RegValue | |
PREFIX1 RegValue | |
TXADDRESS RegValue | |
RXADDRESSES RegValue | |
CRCCNF RegValue | |
CRCPOLY RegValue | |
CRCINIT RegValue | |
UNUSED0 RegValue | |
TIFS RegValue | |
RSSISAMPLE RegValue | |
_padding8 RegValue | |
STATE RegValue | |
DATAWHITEIV RegValue | |
_padding9 [2]RegValue | |
BCC RegValue | |
_padding10 [39]RegValue | |
DAB [8]RegValue | |
DAP [8]RegValue | |
DACNF RegValue | |
_padding11 [3]RegValue | |
MODECNF0 RegValue | |
_padding12 [618]RegValue | |
POWER RegValue | |
} | |
// UART with EasyDMA | |
type UARTE_Type struct { | |
TASKS_STARTRX RegValue | |
TASKS_STOPRX RegValue | |
TASKS_STARTTX RegValue | |
TASKS_STOPTX RegValue | |
_padding0 [7]RegValue | |
TASKS_FLUSHRX RegValue | |
_padding1 [52]RegValue | |
EVENTS_CTS RegValue | |
EVENTS_NCTS RegValue | |
EVENTS_RXDRDY RegValue | |
_padding2 RegValue | |
EVENTS_ENDRX RegValue | |
_padding3 [2]RegValue | |
EVENTS_TXDRDY RegValue | |
EVENTS_ENDTX RegValue | |
EVENTS_ERROR RegValue | |
_padding4 [7]RegValue | |
EVENTS_RXTO RegValue | |
_padding5 RegValue | |
EVENTS_RXSTARTED RegValue | |
EVENTS_TXSTARTED RegValue | |
_padding6 RegValue | |
EVENTS_TXSTOPPED RegValue | |
_padding7 [41]RegValue | |
SHORTS RegValue | |
_padding8 [63]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding9 [93]RegValue | |
ERRORSRC RegValue | |
_padding10 [31]RegValue | |
ENABLE RegValue | |
_padding11 RegValue | |
PSEL struct { | |
RTS RegValue | |
TXD RegValue | |
CTS RegValue | |
RXD RegValue | |
} | |
_padding12 [4]RegValue | |
BAUDRATE RegValue | |
_padding13 [3]RegValue | |
RXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
} | |
_padding14 [2]RegValue | |
TXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
} | |
_padding15 [8]RegValue | |
CONFIG RegValue | |
} | |
// Universal Asynchronous Receiver/Transmitter | |
type UART_Type struct { | |
TASKS_STARTRX RegValue | |
TASKS_STOPRX RegValue | |
TASKS_STARTTX RegValue | |
TASKS_STOPTX RegValue | |
_padding0 [3]RegValue | |
TASKS_SUSPEND RegValue | |
_padding1 [56]RegValue | |
EVENTS_CTS RegValue | |
EVENTS_NCTS RegValue | |
EVENTS_RXDRDY RegValue | |
_padding2 [4]RegValue | |
EVENTS_TXDRDY RegValue | |
_padding3 RegValue | |
EVENTS_ERROR RegValue | |
_padding4 [7]RegValue | |
EVENTS_RXTO RegValue | |
_padding5 [46]RegValue | |
SHORTS RegValue | |
_padding6 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding7 [93]RegValue | |
ERRORSRC RegValue | |
_padding8 [31]RegValue | |
ENABLE RegValue | |
_padding9 RegValue | |
PSELRTS RegValue | |
PSELTXD RegValue | |
PSELCTS RegValue | |
PSELRXD RegValue | |
RXD RegValue | |
TXD RegValue | |
_padding10 RegValue | |
BAUDRATE RegValue | |
_padding11 [17]RegValue | |
CONFIG RegValue | |
} | |
// Serial Peripheral Interface Master with EasyDMA 0 | |
type SPIM_Type struct { | |
_padding0 [4]RegValue | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
_padding1 RegValue | |
TASKS_SUSPEND RegValue | |
TASKS_RESUME RegValue | |
_padding2 [56]RegValue | |
EVENTS_STOPPED RegValue | |
_padding3 [2]RegValue | |
EVENTS_ENDRX RegValue | |
_padding4 RegValue | |
EVENTS_END RegValue | |
_padding5 RegValue | |
EVENTS_ENDTX RegValue | |
_padding6 [10]RegValue | |
EVENTS_STARTED RegValue | |
_padding7 [44]RegValue | |
SHORTS RegValue | |
_padding8 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding9 [125]RegValue | |
ENABLE RegValue | |
_padding10 RegValue | |
PSEL struct { | |
SCK RegValue | |
MOSI RegValue | |
MISO RegValue | |
} | |
_padding11 [5]RegValue | |
FREQUENCY RegValue | |
_padding12 [3]RegValue | |
RXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
LIST RegValue | |
} | |
_padding13 RegValue | |
TXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
LIST RegValue | |
} | |
_padding14 RegValue | |
CONFIG RegValue | |
_padding15 [26]RegValue | |
ORC RegValue | |
} | |
// SPI Slave 0 | |
type SPIS_Type struct { | |
_padding0 [9]RegValue | |
TASKS_ACQUIRE RegValue | |
TASKS_RELEASE RegValue | |
_padding1 [54]RegValue | |
EVENTS_END RegValue | |
_padding2 [2]RegValue | |
EVENTS_ENDRX RegValue | |
_padding3 [5]RegValue | |
EVENTS_ACQUIRED RegValue | |
_padding4 [53]RegValue | |
SHORTS RegValue | |
_padding5 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding6 [61]RegValue | |
SEMSTAT RegValue | |
_padding7 [15]RegValue | |
STATUS RegValue | |
_padding8 [47]RegValue | |
ENABLE RegValue | |
_padding9 RegValue | |
PSEL struct { | |
SCK RegValue | |
MISO RegValue | |
MOSI RegValue | |
CSN RegValue | |
} | |
_padding10 [8]RegValue | |
RXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
} | |
_padding11 [2]RegValue | |
TXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
} | |
_padding12 [2]RegValue | |
CONFIG RegValue | |
_padding13 RegValue | |
DEF RegValue | |
_padding14 [24]RegValue | |
ORC RegValue | |
} | |
// I2C compatible Two-Wire Master Interface with EasyDMA 0 | |
type TWIM_Type struct { | |
TASKS_STARTRX RegValue | |
_padding0 RegValue | |
TASKS_STARTTX RegValue | |
_padding1 [2]RegValue | |
TASKS_STOP RegValue | |
_padding2 RegValue | |
TASKS_SUSPEND RegValue | |
TASKS_RESUME RegValue | |
_padding3 [56]RegValue | |
EVENTS_STOPPED RegValue | |
_padding4 [7]RegValue | |
EVENTS_ERROR RegValue | |
_padding5 [8]RegValue | |
EVENTS_SUSPENDED RegValue | |
EVENTS_RXSTARTED RegValue | |
EVENTS_TXSTARTED RegValue | |
_padding6 [2]RegValue | |
EVENTS_LASTRX RegValue | |
EVENTS_LASTTX RegValue | |
_padding7 [39]RegValue | |
SHORTS RegValue | |
_padding8 [63]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding9 [110]RegValue | |
ERRORSRC RegValue | |
_padding10 [14]RegValue | |
ENABLE RegValue | |
_padding11 RegValue | |
PSEL struct { | |
SCL RegValue | |
SDA RegValue | |
} | |
_padding12 [6]RegValue | |
FREQUENCY RegValue | |
_padding13 [3]RegValue | |
RXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
LIST RegValue | |
} | |
_padding14 RegValue | |
TXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
LIST RegValue | |
} | |
_padding15 [14]RegValue | |
ADDRESS RegValue | |
} | |
// I2C compatible Two-Wire Slave Interface with EasyDMA 0 | |
type TWIS_Type struct { | |
_padding0 [5]RegValue | |
TASKS_STOP RegValue | |
_padding1 RegValue | |
TASKS_SUSPEND RegValue | |
TASKS_RESUME RegValue | |
_padding2 [3]RegValue | |
TASKS_PREPARERX RegValue | |
TASKS_PREPARETX RegValue | |
_padding3 [51]RegValue | |
EVENTS_STOPPED RegValue | |
_padding4 [7]RegValue | |
EVENTS_ERROR RegValue | |
_padding5 [9]RegValue | |
EVENTS_RXSTARTED RegValue | |
EVENTS_TXSTARTED RegValue | |
_padding6 [4]RegValue | |
EVENTS_WRITE RegValue | |
EVENTS_READ RegValue | |
_padding7 [37]RegValue | |
SHORTS RegValue | |
_padding8 [63]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding9 [113]RegValue | |
ERRORSRC RegValue | |
MATCH RegValue | |
_padding10 [10]RegValue | |
ENABLE RegValue | |
_padding11 RegValue | |
PSEL struct { | |
SCL RegValue | |
SDA RegValue | |
} | |
_padding12 [10]RegValue | |
RXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
} | |
_padding13 [2]RegValue | |
TXD struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
} | |
_padding14 [15]RegValue | |
ADDRESS [2]RegValue | |
_padding15 RegValue | |
CONFIG RegValue | |
_padding16 [10]RegValue | |
ORC RegValue | |
} | |
// Serial Peripheral Interface 0 | |
type SPI_Type struct { | |
_padding0 [66]RegValue | |
EVENTS_READY RegValue | |
_padding1 [126]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding2 [125]RegValue | |
ENABLE RegValue | |
_padding3 RegValue | |
PSEL struct { | |
SCK RegValue | |
MOSI RegValue | |
MISO RegValue | |
} | |
_padding4 [2]RegValue | |
RXD RegValue | |
TXD RegValue | |
_padding5 RegValue | |
FREQUENCY RegValue | |
_padding6 [11]RegValue | |
CONFIG RegValue | |
} | |
// I2C compatible Two-Wire Interface 0 | |
type TWI_Type struct { | |
TASKS_STARTRX RegValue | |
_padding0 RegValue | |
TASKS_STARTTX RegValue | |
_padding1 [2]RegValue | |
TASKS_STOP RegValue | |
_padding2 RegValue | |
TASKS_SUSPEND RegValue | |
TASKS_RESUME RegValue | |
_padding3 [56]RegValue | |
EVENTS_STOPPED RegValue | |
EVENTS_RXDREADY RegValue | |
_padding4 [4]RegValue | |
EVENTS_TXDSENT RegValue | |
_padding5 RegValue | |
EVENTS_ERROR RegValue | |
_padding6 [4]RegValue | |
EVENTS_BB RegValue | |
_padding7 [3]RegValue | |
EVENTS_SUSPENDED RegValue | |
_padding8 [45]RegValue | |
SHORTS RegValue | |
_padding9 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding10 [110]RegValue | |
ERRORSRC RegValue | |
_padding11 [14]RegValue | |
ENABLE RegValue | |
_padding12 RegValue | |
PSELSCL RegValue | |
PSELSDA RegValue | |
_padding13 [2]RegValue | |
RXD RegValue | |
TXD RegValue | |
_padding14 RegValue | |
FREQUENCY RegValue | |
_padding15 [24]RegValue | |
ADDRESS RegValue | |
} | |
// NFC-A compatible radio | |
type NFCT_Type struct { | |
TASKS_ACTIVATE RegValue | |
TASKS_DISABLE RegValue | |
TASKS_SENSE RegValue | |
TASKS_STARTTX RegValue | |
_padding0 [3]RegValue | |
TASKS_ENABLERXDATA RegValue | |
_padding1 RegValue | |
TASKS_GOIDLE RegValue | |
TASKS_GOSLEEP RegValue | |
_padding2 [53]RegValue | |
EVENTS_READY RegValue | |
EVENTS_FIELDDETECTED RegValue | |
EVENTS_FIELDLOST RegValue | |
EVENTS_TXFRAMESTART RegValue | |
EVENTS_TXFRAMEEND RegValue | |
EVENTS_RXFRAMESTART RegValue | |
EVENTS_RXFRAMEEND RegValue | |
EVENTS_ERROR RegValue | |
_padding3 [2]RegValue | |
EVENTS_RXERROR RegValue | |
EVENTS_ENDRX RegValue | |
EVENTS_ENDTX RegValue | |
_padding4 RegValue | |
EVENTS_AUTOCOLRESSTARTED RegValue | |
_padding5 [3]RegValue | |
EVENTS_COLLISION RegValue | |
EVENTS_SELECTED RegValue | |
EVENTS_STARTED RegValue | |
_padding6 [43]RegValue | |
SHORTS RegValue | |
_padding7 [63]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding8 [62]RegValue | |
ERRORSTATUS RegValue | |
_padding9 RegValue | |
FRAMESTATUS struct { | |
RX RegValue | |
} | |
_padding10 [9]RegValue | |
CURRENTLOADCTRL RegValue | |
_padding11 [2]RegValue | |
FIELDPRESENT RegValue | |
_padding12 [49]RegValue | |
FRAMEDELAYMIN RegValue | |
FRAMEDELAYMAX RegValue | |
FRAMEDELAYMODE RegValue | |
PACKETPTR RegValue | |
MAXLEN RegValue | |
TXD struct { | |
FRAMECONFIG RegValue | |
AMOUNT RegValue | |
} | |
_padding13 RegValue | |
RXD struct { | |
FRAMECONFIG RegValue | |
AMOUNT RegValue | |
} | |
_padding14 [27]RegValue | |
NFCID1_LAST RegValue | |
NFCID1_2ND_LAST RegValue | |
NFCID1_3RD_LAST RegValue | |
_padding15 RegValue | |
SENSRES RegValue | |
SELRES RegValue | |
} | |
// GPIO Tasks and Events | |
type GPIOTE_Type struct { | |
TASKS_OUT [8]RegValue | |
_padding0 [4]RegValue | |
TASKS_SET [8]RegValue | |
_padding1 [4]RegValue | |
TASKS_CLR [8]RegValue | |
_padding2 [32]RegValue | |
EVENTS_IN [8]RegValue | |
_padding3 [23]RegValue | |
EVENTS_PORT RegValue | |
_padding4 [97]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding5 [129]RegValue | |
CONFIG [8]RegValue | |
} | |
// Analog to Digital Converter | |
type SAADC_Type struct { | |
TASKS_START RegValue | |
TASKS_SAMPLE RegValue | |
TASKS_STOP RegValue | |
TASKS_CALIBRATEOFFSET RegValue | |
_padding0 [60]RegValue | |
EVENTS_STARTED RegValue | |
EVENTS_END RegValue | |
EVENTS_DONE RegValue | |
EVENTS_RESULTDONE RegValue | |
EVENTS_CALIBRATEDONE RegValue | |
EVENTS_STOPPED RegValue | |
EVENTS_CH [8]struct { | |
LIMITH RegValue | |
LIMITL RegValue | |
} | |
_padding1 [106]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding2 [61]RegValue | |
STATUS RegValue | |
_padding3 [63]RegValue | |
ENABLE RegValue | |
_padding4 [3]RegValue | |
CH [8]struct { | |
PSELP RegValue | |
PSELN RegValue | |
CONFIG RegValue | |
LIMIT RegValue | |
} | |
_padding5 [24]RegValue | |
RESOLUTION RegValue | |
OVERSAMPLE RegValue | |
SAMPLERATE RegValue | |
_padding6 [12]RegValue | |
RESULT struct { | |
PTR RegValue | |
MAXCNT RegValue | |
AMOUNT RegValue | |
} | |
} | |
// Timer/Counter 0 | |
type TIMER_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
TASKS_COUNT RegValue | |
TASKS_CLEAR RegValue | |
TASKS_SHUTDOWN RegValue | |
_padding0 [11]RegValue | |
TASKS_CAPTURE [6]RegValue | |
_padding1 [58]RegValue | |
EVENTS_COMPARE [6]RegValue | |
_padding2 [42]RegValue | |
SHORTS RegValue | |
_padding3 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding4 [126]RegValue | |
MODE RegValue | |
BITMODE RegValue | |
_padding5 RegValue | |
PRESCALER RegValue | |
_padding6 [11]RegValue | |
CC [6]RegValue | |
} | |
// Real time counter 0 | |
type RTC_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
TASKS_CLEAR RegValue | |
TASKS_TRIGOVRFLW RegValue | |
_padding0 [60]RegValue | |
EVENTS_TICK RegValue | |
EVENTS_OVRFLW RegValue | |
_padding1 [14]RegValue | |
EVENTS_COMPARE [4]RegValue | |
_padding2 [109]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [13]RegValue | |
EVTEN RegValue | |
EVTENSET RegValue | |
EVTENCLR RegValue | |
_padding4 [110]RegValue | |
COUNTER RegValue | |
PRESCALER RegValue | |
_padding5 [13]RegValue | |
CC [4]RegValue | |
} | |
// Temperature Sensor | |
type TEMP_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
_padding0 [62]RegValue | |
EVENTS_DATARDY RegValue | |
_padding1 [128]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding2 [127]RegValue | |
TEMP RegValue | |
_padding3 [5]RegValue | |
A0 RegValue | |
A1 RegValue | |
A2 RegValue | |
A3 RegValue | |
A4 RegValue | |
A5 RegValue | |
_padding4 [2]RegValue | |
B0 RegValue | |
B1 RegValue | |
B2 RegValue | |
B3 RegValue | |
B4 RegValue | |
B5 RegValue | |
_padding5 [2]RegValue | |
T0 RegValue | |
T1 RegValue | |
T2 RegValue | |
T3 RegValue | |
T4 RegValue | |
} | |
// Random Number Generator | |
type RNG_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
_padding0 [62]RegValue | |
EVENTS_VALRDY RegValue | |
_padding1 [63]RegValue | |
SHORTS RegValue | |
_padding2 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [126]RegValue | |
CONFIG RegValue | |
VALUE RegValue | |
} | |
// AES ECB Mode Encryption | |
type ECB_Type struct { | |
TASKS_STARTECB RegValue | |
TASKS_STOPECB RegValue | |
_padding0 [62]RegValue | |
EVENTS_ENDECB RegValue | |
EVENTS_ERRORECB RegValue | |
_padding1 [127]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding2 [126]RegValue | |
ECBDATAPTR RegValue | |
} | |
// AES CCM Mode Encryption | |
type CCM_Type struct { | |
TASKS_KSGEN RegValue | |
TASKS_CRYPT RegValue | |
TASKS_STOP RegValue | |
_padding0 [61]RegValue | |
EVENTS_ENDKSGEN RegValue | |
EVENTS_ENDCRYPT RegValue | |
EVENTS_ERROR RegValue | |
_padding1 [61]RegValue | |
SHORTS RegValue | |
_padding2 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [61]RegValue | |
MICSTATUS RegValue | |
_padding4 [63]RegValue | |
ENABLE RegValue | |
MODE RegValue | |
CNFPTR RegValue | |
INPTR RegValue | |
OUTPTR RegValue | |
SCRATCHPTR RegValue | |
} | |
// Accelerated Address Resolver | |
type AAR_Type struct { | |
TASKS_START RegValue | |
_padding0 RegValue | |
TASKS_STOP RegValue | |
_padding1 [61]RegValue | |
EVENTS_END RegValue | |
EVENTS_RESOLVED RegValue | |
EVENTS_NOTRESOLVED RegValue | |
_padding2 [126]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [61]RegValue | |
STATUS RegValue | |
_padding4 [63]RegValue | |
ENABLE RegValue | |
NIRK RegValue | |
IRKPTR RegValue | |
_padding5 RegValue | |
ADDRPTR RegValue | |
SCRATCHPTR RegValue | |
} | |
// Watchdog Timer | |
type WDT_Type struct { | |
TASKS_START RegValue | |
_padding0 [63]RegValue | |
EVENTS_TIMEOUT RegValue | |
_padding1 [128]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding2 [61]RegValue | |
RUNSTATUS RegValue | |
REQSTATUS RegValue | |
_padding3 [63]RegValue | |
CRV RegValue | |
RREN RegValue | |
CONFIG RegValue | |
_padding4 [60]RegValue | |
RR [8]RegValue | |
} | |
// Quadrature Decoder | |
type QDEC_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
TASKS_READCLRACC RegValue | |
TASKS_RDCLRACC RegValue | |
TASKS_RDCLRDBL RegValue | |
_padding0 [59]RegValue | |
EVENTS_SAMPLERDY RegValue | |
EVENTS_REPORTRDY RegValue | |
EVENTS_ACCOF RegValue | |
EVENTS_DBLRDY RegValue | |
EVENTS_STOPPED RegValue | |
_padding1 [59]RegValue | |
SHORTS RegValue | |
_padding2 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [125]RegValue | |
ENABLE RegValue | |
LEDPOL RegValue | |
SAMPLEPER RegValue | |
SAMPLE RegValue | |
REPORTPER RegValue | |
ACC RegValue | |
ACCREAD RegValue | |
PSEL struct { | |
LED RegValue | |
A RegValue | |
B RegValue | |
} | |
_padding4 RegValue | |
DBFEN RegValue | |
_padding5 [5]RegValue | |
LEDPRE RegValue | |
ACCDBL RegValue | |
ACCDBLREAD RegValue | |
} | |
// Comparator | |
type COMP_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
TASKS_SAMPLE RegValue | |
_padding0 [61]RegValue | |
EVENTS_READY RegValue | |
EVENTS_DOWN RegValue | |
EVENTS_UP RegValue | |
EVENTS_CROSS RegValue | |
_padding1 [60]RegValue | |
SHORTS RegValue | |
_padding2 [63]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [61]RegValue | |
RESULT RegValue | |
_padding4 [63]RegValue | |
ENABLE RegValue | |
PSEL RegValue | |
REFSEL RegValue | |
EXTREFSEL RegValue | |
_padding5 [8]RegValue | |
TH RegValue | |
MODE RegValue | |
HYST RegValue | |
ISOURCE RegValue | |
} | |
// Low Power Comparator | |
type LPCOMP_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
TASKS_SAMPLE RegValue | |
_padding0 [61]RegValue | |
EVENTS_READY RegValue | |
EVENTS_DOWN RegValue | |
EVENTS_UP RegValue | |
EVENTS_CROSS RegValue | |
_padding1 [60]RegValue | |
SHORTS RegValue | |
_padding2 [64]RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [61]RegValue | |
RESULT RegValue | |
_padding4 [63]RegValue | |
ENABLE RegValue | |
PSEL RegValue | |
REFSEL RegValue | |
EXTREFSEL RegValue | |
_padding5 [4]RegValue | |
ANADETECT RegValue | |
_padding6 [5]RegValue | |
HYST RegValue | |
} | |
// Software interrupt 0 | |
type SWI_Type struct { | |
UNUSED RegValue | |
} | |
// Event Generator Unit 0 | |
type EGU_Type struct { | |
TASKS_TRIGGER [16]RegValue | |
_padding0 [48]RegValue | |
EVENTS_TRIGGERED [16]RegValue | |
_padding1 [112]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
} | |
// Pulse Width Modulation Unit 0 | |
type PWM_Type struct { | |
_padding0 RegValue | |
TASKS_STOP RegValue | |
TASKS_SEQSTART [2]RegValue | |
TASKS_NEXTSTEP RegValue | |
_padding1 [60]RegValue | |
EVENTS_STOPPED RegValue | |
EVENTS_SEQSTARTED [2]RegValue | |
EVENTS_SEQEND [2]RegValue | |
EVENTS_PWMPERIODEND RegValue | |
EVENTS_LOOPSDONE RegValue | |
_padding2 [56]RegValue | |
SHORTS RegValue | |
_padding3 [63]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding4 [125]RegValue | |
ENABLE RegValue | |
MODE RegValue | |
COUNTERTOP RegValue | |
PRESCALER RegValue | |
DECODER RegValue | |
LOOP RegValue | |
_padding5 [2]RegValue | |
SEQ [2]struct { | |
PTR RegValue | |
CNT RegValue | |
REFRESH RegValue | |
ENDDELAY RegValue | |
_padding6 [4]RegValue | |
} | |
PSEL struct { | |
OUT [4]RegValue | |
} | |
} | |
// Pulse Density Modulation (Digital Microphone) Interface | |
type PDM_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
_padding0 [62]RegValue | |
EVENTS_STARTED RegValue | |
EVENTS_STOPPED RegValue | |
EVENTS_END RegValue | |
_padding1 [125]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding2 [125]RegValue | |
ENABLE RegValue | |
PDMCLKCTRL RegValue | |
MODE RegValue | |
_padding3 [3]RegValue | |
GAINL RegValue | |
GAINR RegValue | |
_padding4 [8]RegValue | |
PSEL struct { | |
CLK RegValue | |
DIN RegValue | |
} | |
_padding5 [7]RegValue | |
SAMPLE struct { | |
PTR RegValue | |
MAXCNT RegValue | |
} | |
} | |
// Non Volatile Memory Controller | |
type NVMC_Type struct { | |
_padding0 [256]RegValue | |
READY RegValue | |
_padding1 [64]RegValue | |
CONFIG RegValue | |
ERASEPAGE RegValue | |
ERASEALL RegValue | |
ERASEPCR0 RegValue | |
ERASEUICR RegValue | |
_padding2 [10]RegValue | |
ICACHECNF RegValue | |
_padding3 RegValue | |
IHIT RegValue | |
IMISS RegValue | |
} | |
// Programmable Peripheral Interconnect | |
type PPI_Type struct { | |
TASKS_CHG [6]struct { | |
EN RegValue | |
DIS RegValue | |
} | |
_padding0 [308]RegValue | |
CHEN RegValue | |
CHENSET RegValue | |
CHENCLR RegValue | |
_padding1 RegValue | |
CH [20]struct { | |
EEP RegValue | |
TEP RegValue | |
} | |
_padding2 [148]RegValue | |
CHG [6]RegValue | |
_padding3 [62]RegValue | |
FORK [32]struct { | |
TEP RegValue | |
} | |
} | |
// Memory Watch Unit | |
type MWU_Type struct { | |
_padding0 [64]RegValue | |
EVENTS_REGION [4]struct { | |
WA RegValue | |
RA RegValue | |
} | |
_padding1 [16]RegValue | |
EVENTS_PREGION [2]struct { | |
WA RegValue | |
RA RegValue | |
} | |
_padding2 [100]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [5]RegValue | |
NMIEN RegValue | |
NMIENSET RegValue | |
NMIENCLR RegValue | |
_padding4 [53]RegValue | |
PERREGION [2]struct { | |
SUBSTATWA RegValue | |
SUBSTATRA RegValue | |
} | |
_padding5 [64]RegValue | |
REGIONEN RegValue | |
REGIONENSET RegValue | |
REGIONENCLR RegValue | |
_padding6 [57]RegValue | |
REGION [4]struct { | |
START RegValue | |
END RegValue | |
_padding7 [2]RegValue | |
} | |
_padding7 [32]RegValue | |
PREGION [2]struct { | |
START RegValue | |
END RegValue | |
SUBS RegValue | |
_padding8 RegValue | |
} | |
} | |
// Inter-IC Sound | |
type I2S_Type struct { | |
TASKS_START RegValue | |
TASKS_STOP RegValue | |
_padding0 [63]RegValue | |
EVENTS_RXPTRUPD RegValue | |
EVENTS_STOPPED RegValue | |
_padding1 [2]RegValue | |
EVENTS_TXPTRUPD RegValue | |
_padding2 [122]RegValue | |
INTEN RegValue | |
INTENSET RegValue | |
INTENCLR RegValue | |
_padding3 [125]RegValue | |
ENABLE RegValue | |
CONFIG struct { | |
MODE RegValue | |
RXEN RegValue | |
TXEN RegValue | |
MCKEN RegValue | |
MCKFREQ RegValue | |
RATIO RegValue | |
SWIDTH RegValue | |
ALIGN RegValue | |
FORMAT RegValue | |
CHANNELS RegValue | |
} | |
_padding4 [4]RegValue | |
RXD struct { | |
PTR RegValue | |
} | |
_padding5 [2]RegValue | |
TXD struct { | |
PTR RegValue | |
} | |
_padding6 [4]RegValue | |
RXTXD struct { | |
MAXCNT RegValue | |
} | |
_padding7 [4]RegValue | |
PSEL struct { | |
MCK RegValue | |
SCK RegValue | |
LRCK RegValue | |
SDIN RegValue | |
SDOUT RegValue | |
} | |
} | |
// FPU | |
type FPU_Type struct { | |
UNUSED RegValue | |
} | |
// GPIO Port 1 | |
type GPIO_Type struct { | |
_padding0 [321]RegValue | |
OUT RegValue | |
OUTSET RegValue | |
OUTCLR RegValue | |
IN RegValue | |
DIR RegValue | |
DIRSET RegValue | |
DIRCLR RegValue | |
LATCH RegValue | |
DETECTMODE RegValue | |
_padding1 [118]RegValue | |
PIN_CNF [32]RegValue | |
} | |
// Bitfields for FICR: Factory Information Configuration Registers | |
const ( | |
// CODEPAGESIZE: Code memory page size | |
FICR_CODEPAGESIZE_CODEPAGESIZE_Pos = 0x0 // Position of CODEPAGESIZE field. | |
FICR_CODEPAGESIZE_CODEPAGESIZE_Msk = 0xffffffff // Bit mask of CODEPAGESIZE field. | |
// CODESIZE: Code memory size | |
FICR_CODESIZE_CODESIZE_Pos = 0x0 // Position of CODESIZE field. | |
FICR_CODESIZE_CODESIZE_Msk = 0xffffffff // Bit mask of CODESIZE field. | |
// DEVICEID: Description collection[0]: Device identifier | |
FICR_DEVICEID_DEVICEID_Pos = 0x0 // Position of DEVICEID field. | |
FICR_DEVICEID_DEVICEID_Msk = 0xffffffff // Bit mask of DEVICEID field. | |
// ER: Description collection[0]: Encryption Root, word 0 | |
FICR_ER_ER_Pos = 0x0 // Position of ER field. | |
FICR_ER_ER_Msk = 0xffffffff // Bit mask of ER field. | |
// IR: Description collection[0]: Identity Root, word 0 | |
FICR_IR_IR_Pos = 0x0 // Position of IR field. | |
FICR_IR_IR_Msk = 0xffffffff // Bit mask of IR field. | |
// DEVICEADDRTYPE: Device address type | |
FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Pos = 0x0 // Position of DEVICEADDRTYPE field. | |
FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Msk = 0x1 // Bit mask of DEVICEADDRTYPE field. | |
FICR_DEVICEADDRTYPE_DEVICEADDRTYPE = 0x1 // Bit DEVICEADDRTYPE. | |
FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Public = 0x0 // Public address | |
FICR_DEVICEADDRTYPE_DEVICEADDRTYPE_Random = 0x1 // Random address | |
// DEVICEADDR: Description collection[0]: Device address 0 | |
FICR_DEVICEADDR_DEVICEADDR_Pos = 0x0 // Position of DEVICEADDR field. | |
FICR_DEVICEADDR_DEVICEADDR_Msk = 0xffffffff // Bit mask of DEVICEADDR field. | |
// INFO.PART: Part code | |
FICR_INFO_PART_PART_Pos = 0x0 // Position of PART field. | |
FICR_INFO_PART_PART_Msk = 0xffffffff // Bit mask of PART field. | |
FICR_INFO_PART_PART_N52832 = 0x52832 // nRF52832 | |
FICR_INFO_PART_PART_Unspecified = 0xffffffff // Unspecified | |
// INFO.VARIANT: Part Variant, Hardware version and Production configuration | |
FICR_INFO_VARIANT_VARIANT_Pos = 0x0 // Position of VARIANT field. | |
FICR_INFO_VARIANT_VARIANT_Msk = 0xffffffff // Bit mask of VARIANT field. | |
FICR_INFO_VARIANT_VARIANT_AAAA = 0x41414141 // AAAA | |
FICR_INFO_VARIANT_VARIANT_AAAB = 0x41414142 // AAAB | |
FICR_INFO_VARIANT_VARIANT_AABA = 0x41414241 // AABA | |
FICR_INFO_VARIANT_VARIANT_AABB = 0x41414242 // AABB | |
FICR_INFO_VARIANT_VARIANT_AAB0 = 0x41414230 // AAB0 | |
FICR_INFO_VARIANT_VARIANT_AAE0 = 0x41414530 // AAE0 | |
FICR_INFO_VARIANT_VARIANT_Unspecified = 0xffffffff // Unspecified | |
// INFO.PACKAGE: Package option | |
FICR_INFO_PACKAGE_PACKAGE_Pos = 0x0 // Position of PACKAGE field. | |
FICR_INFO_PACKAGE_PACKAGE_Msk = 0xffffffff // Bit mask of PACKAGE field. | |
FICR_INFO_PACKAGE_PACKAGE_QF = 0x2000 // QFxx - 48-pin QFN | |
FICR_INFO_PACKAGE_PACKAGE_CH = 0x2001 // CHxx - 7x8 WLCSP 56 balls | |
FICR_INFO_PACKAGE_PACKAGE_CI = 0x2002 // CIxx - 7x8 WLCSP 56 balls | |
FICR_INFO_PACKAGE_PACKAGE_CK = 0x2005 // CKxx - 7x8 WLCSP 56 balls with backside coating for light protection | |
FICR_INFO_PACKAGE_PACKAGE_Unspecified = 0xffffffff // Unspecified | |
// INFO.RAM: RAM variant | |
FICR_INFO_RAM_RAM_Pos = 0x0 // Position of RAM field. | |
FICR_INFO_RAM_RAM_Msk = 0xffffffff // Bit mask of RAM field. | |
FICR_INFO_RAM_RAM_K16 = 0x10 // 16 kByte RAM | |
FICR_INFO_RAM_RAM_K32 = 0x20 // 32 kByte RAM | |
FICR_INFO_RAM_RAM_K64 = 0x40 // 64 kByte RAM | |
FICR_INFO_RAM_RAM_Unspecified = 0xffffffff // Unspecified | |
// INFO.FLASH: Flash variant | |
FICR_INFO_FLASH_FLASH_Pos = 0x0 // Position of FLASH field. | |
FICR_INFO_FLASH_FLASH_Msk = 0xffffffff // Bit mask of FLASH field. | |
FICR_INFO_FLASH_FLASH_K128 = 0x80 // 128 kByte FLASH | |
FICR_INFO_FLASH_FLASH_K256 = 0x100 // 256 kByte FLASH | |
FICR_INFO_FLASH_FLASH_K512 = 0x200 // 512 kByte FLASH | |
FICR_INFO_FLASH_FLASH_Unspecified = 0xffffffff // Unspecified | |
// INFO.UNUSED0: Description collection[0]: Unspecified | |
// TEMP.A0: Slope definition A0. | |
FICR_TEMP_A0_A_Pos = 0x0 // Position of A field. | |
FICR_TEMP_A0_A_Msk = 0xfff // Bit mask of A field. | |
// TEMP.A1: Slope definition A1. | |
FICR_TEMP_A1_A_Pos = 0x0 // Position of A field. | |
FICR_TEMP_A1_A_Msk = 0xfff // Bit mask of A field. | |
// TEMP.A2: Slope definition A2. | |
FICR_TEMP_A2_A_Pos = 0x0 // Position of A field. | |
FICR_TEMP_A2_A_Msk = 0xfff // Bit mask of A field. | |
// TEMP.A3: Slope definition A3. | |
FICR_TEMP_A3_A_Pos = 0x0 // Position of A field. | |
FICR_TEMP_A3_A_Msk = 0xfff // Bit mask of A field. | |
// TEMP.A4: Slope definition A4. | |
FICR_TEMP_A4_A_Pos = 0x0 // Position of A field. | |
FICR_TEMP_A4_A_Msk = 0xfff // Bit mask of A field. | |
// TEMP.A5: Slope definition A5. | |
FICR_TEMP_A5_A_Pos = 0x0 // Position of A field. | |
FICR_TEMP_A5_A_Msk = 0xfff // Bit mask of A field. | |
// TEMP.B0: y-intercept B0. | |
FICR_TEMP_B0_B_Pos = 0x0 // Position of B field. | |
FICR_TEMP_B0_B_Msk = 0x3fff // Bit mask of B field. | |
// TEMP.B1: y-intercept B1. | |
FICR_TEMP_B1_B_Pos = 0x0 // Position of B field. | |
FICR_TEMP_B1_B_Msk = 0x3fff // Bit mask of B field. | |
// TEMP.B2: y-intercept B2. | |
FICR_TEMP_B2_B_Pos = 0x0 // Position of B field. | |
FICR_TEMP_B2_B_Msk = 0x3fff // Bit mask of B field. | |
// TEMP.B3: y-intercept B3. | |
FICR_TEMP_B3_B_Pos = 0x0 // Position of B field. | |
FICR_TEMP_B3_B_Msk = 0x3fff // Bit mask of B field. | |
// TEMP.B4: y-intercept B4. | |
FICR_TEMP_B4_B_Pos = 0x0 // Position of B field. | |
FICR_TEMP_B4_B_Msk = 0x3fff // Bit mask of B field. | |
// TEMP.B5: y-intercept B5. | |
FICR_TEMP_B5_B_Pos = 0x0 // Position of B field. | |
FICR_TEMP_B5_B_Msk = 0x3fff // Bit mask of B field. | |
// TEMP.T0: Segment end T0. | |
FICR_TEMP_T0_T_Pos = 0x0 // Position of T field. | |
FICR_TEMP_T0_T_Msk = 0xff // Bit mask of T field. | |
// TEMP.T1: Segment end T1. | |
FICR_TEMP_T1_T_Pos = 0x0 // Position of T field. | |
FICR_TEMP_T1_T_Msk = 0xff // Bit mask of T field. | |
// TEMP.T2: Segment end T2. | |
FICR_TEMP_T2_T_Pos = 0x0 // Position of T field. | |
FICR_TEMP_T2_T_Msk = 0xff // Bit mask of T field. | |
// TEMP.T3: Segment end T3. | |
FICR_TEMP_T3_T_Pos = 0x0 // Position of T field. | |
FICR_TEMP_T3_T_Msk = 0xff // Bit mask of T field. | |
// TEMP.T4: Segment end T4. | |
FICR_TEMP_T4_T_Pos = 0x0 // Position of T field. | |
FICR_TEMP_T4_T_Msk = 0xff // Bit mask of T field. | |
// NFC.TAGHEADER0: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. | |
FICR_NFC_TAGHEADER0_MFGID_Pos = 0x0 // Position of MFGID field. | |
FICR_NFC_TAGHEADER0_MFGID_Msk = 0xff // Bit mask of MFGID field. | |
FICR_NFC_TAGHEADER0_UD1_Pos = 0x8 // Position of UD1 field. | |
FICR_NFC_TAGHEADER0_UD1_Msk = 0xff00 // Bit mask of UD1 field. | |
FICR_NFC_TAGHEADER0_UD2_Pos = 0x10 // Position of UD2 field. | |
FICR_NFC_TAGHEADER0_UD2_Msk = 0xff0000 // Bit mask of UD2 field. | |
FICR_NFC_TAGHEADER0_UD3_Pos = 0x18 // Position of UD3 field. | |
FICR_NFC_TAGHEADER0_UD3_Msk = 0xff000000 // Bit mask of UD3 field. | |
// NFC.TAGHEADER1: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. | |
FICR_NFC_TAGHEADER1_UD4_Pos = 0x0 // Position of UD4 field. | |
FICR_NFC_TAGHEADER1_UD4_Msk = 0xff // Bit mask of UD4 field. | |
FICR_NFC_TAGHEADER1_UD5_Pos = 0x8 // Position of UD5 field. | |
FICR_NFC_TAGHEADER1_UD5_Msk = 0xff00 // Bit mask of UD5 field. | |
FICR_NFC_TAGHEADER1_UD6_Pos = 0x10 // Position of UD6 field. | |
FICR_NFC_TAGHEADER1_UD6_Msk = 0xff0000 // Bit mask of UD6 field. | |
FICR_NFC_TAGHEADER1_UD7_Pos = 0x18 // Position of UD7 field. | |
FICR_NFC_TAGHEADER1_UD7_Msk = 0xff000000 // Bit mask of UD7 field. | |
// NFC.TAGHEADER2: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. | |
FICR_NFC_TAGHEADER2_UD8_Pos = 0x0 // Position of UD8 field. | |
FICR_NFC_TAGHEADER2_UD8_Msk = 0xff // Bit mask of UD8 field. | |
FICR_NFC_TAGHEADER2_UD9_Pos = 0x8 // Position of UD9 field. | |
FICR_NFC_TAGHEADER2_UD9_Msk = 0xff00 // Bit mask of UD9 field. | |
FICR_NFC_TAGHEADER2_UD10_Pos = 0x10 // Position of UD10 field. | |
FICR_NFC_TAGHEADER2_UD10_Msk = 0xff0000 // Bit mask of UD10 field. | |
FICR_NFC_TAGHEADER2_UD11_Pos = 0x18 // Position of UD11 field. | |
FICR_NFC_TAGHEADER2_UD11_Msk = 0xff000000 // Bit mask of UD11 field. | |
// NFC.TAGHEADER3: Default header for NFC Tag. Software can read these values to populate NFCID1_3RD_LAST, NFCID1_2ND_LAST and NFCID1_LAST. | |
FICR_NFC_TAGHEADER3_UD12_Pos = 0x0 // Position of UD12 field. | |
FICR_NFC_TAGHEADER3_UD12_Msk = 0xff // Bit mask of UD12 field. | |
FICR_NFC_TAGHEADER3_UD13_Pos = 0x8 // Position of UD13 field. | |
FICR_NFC_TAGHEADER3_UD13_Msk = 0xff00 // Bit mask of UD13 field. | |
FICR_NFC_TAGHEADER3_UD14_Pos = 0x10 // Position of UD14 field. | |
FICR_NFC_TAGHEADER3_UD14_Msk = 0xff0000 // Bit mask of UD14 field. | |
FICR_NFC_TAGHEADER3_UD15_Pos = 0x18 // Position of UD15 field. | |
FICR_NFC_TAGHEADER3_UD15_Msk = 0xff000000 // Bit mask of UD15 field. | |
) | |
// Bitfields for UICR: User Information Configuration Registers | |
const ( | |
// NRFFW: Description collection[0]: Reserved for Nordic firmware design | |
UICR_NRFFW_NRFFW_Pos = 0x0 // Position of NRFFW field. | |
UICR_NRFFW_NRFFW_Msk = 0xffffffff // Bit mask of NRFFW field. | |
// NRFHW: Description collection[0]: Reserved for Nordic hardware design | |
UICR_NRFHW_NRFHW_Pos = 0x0 // Position of NRFHW field. | |
UICR_NRFHW_NRFHW_Msk = 0xffffffff // Bit mask of NRFHW field. | |
// CUSTOMER: Description collection[0]: Reserved for customer | |
UICR_CUSTOMER_CUSTOMER_Pos = 0x0 // Position of CUSTOMER field. | |
UICR_CUSTOMER_CUSTOMER_Msk = 0xffffffff // Bit mask of CUSTOMER field. | |
// PSELRESET: Description collection[0]: Mapping of the nRESET function (see POWER chapter for details) | |
UICR_PSELRESET_PIN_Pos = 0x0 // Position of PIN field. | |
UICR_PSELRESET_PIN_Msk = 0x3f // Bit mask of PIN field. | |
UICR_PSELRESET_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
UICR_PSELRESET_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
UICR_PSELRESET_CONNECT = 0x80000000 // Bit CONNECT. | |
UICR_PSELRESET_CONNECT_Disconnected = 0x1 // Disconnect | |
UICR_PSELRESET_CONNECT_Connected = 0x0 // Connect | |
// APPROTECT: Access Port protection | |
UICR_APPROTECT_PALL_Pos = 0x0 // Position of PALL field. | |
UICR_APPROTECT_PALL_Msk = 0xff // Bit mask of PALL field. | |
UICR_APPROTECT_PALL_Disabled = 0xff // Disable | |
UICR_APPROTECT_PALL_Enabled = 0x0 // Enable | |
// NFCPINS: Setting of pins dedicated to NFC functionality: NFC antenna or GPIO | |
UICR_NFCPINS_PROTECT_Pos = 0x0 // Position of PROTECT field. | |
UICR_NFCPINS_PROTECT_Msk = 0x1 // Bit mask of PROTECT field. | |
UICR_NFCPINS_PROTECT = 0x1 // Bit PROTECT. | |
UICR_NFCPINS_PROTECT_Disabled = 0x0 // Operation as GPIO pins. Same protection as normal GPIO pins | |
UICR_NFCPINS_PROTECT_NFC = 0x1 // Operation as NFC antenna pins. Configures the protection for NFC operation | |
) | |
// Bitfields for BPROT: Block Protect | |
const ( | |
// CONFIG0: Block protect configuration register 0 | |
BPROT_CONFIG0_REGION0_Pos = 0x0 // Position of REGION0 field. | |
BPROT_CONFIG0_REGION0_Msk = 0x1 // Bit mask of REGION0 field. | |
BPROT_CONFIG0_REGION0 = 0x1 // Bit REGION0. | |
BPROT_CONFIG0_REGION0_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION0_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION1_Pos = 0x1 // Position of REGION1 field. | |
BPROT_CONFIG0_REGION1_Msk = 0x2 // Bit mask of REGION1 field. | |
BPROT_CONFIG0_REGION1 = 0x2 // Bit REGION1. | |
BPROT_CONFIG0_REGION1_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION1_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION2_Pos = 0x2 // Position of REGION2 field. | |
BPROT_CONFIG0_REGION2_Msk = 0x4 // Bit mask of REGION2 field. | |
BPROT_CONFIG0_REGION2 = 0x4 // Bit REGION2. | |
BPROT_CONFIG0_REGION2_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION2_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION3_Pos = 0x3 // Position of REGION3 field. | |
BPROT_CONFIG0_REGION3_Msk = 0x8 // Bit mask of REGION3 field. | |
BPROT_CONFIG0_REGION3 = 0x8 // Bit REGION3. | |
BPROT_CONFIG0_REGION3_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION3_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION4_Pos = 0x4 // Position of REGION4 field. | |
BPROT_CONFIG0_REGION4_Msk = 0x10 // Bit mask of REGION4 field. | |
BPROT_CONFIG0_REGION4 = 0x10 // Bit REGION4. | |
BPROT_CONFIG0_REGION4_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION4_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION5_Pos = 0x5 // Position of REGION5 field. | |
BPROT_CONFIG0_REGION5_Msk = 0x20 // Bit mask of REGION5 field. | |
BPROT_CONFIG0_REGION5 = 0x20 // Bit REGION5. | |
BPROT_CONFIG0_REGION5_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION5_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION6_Pos = 0x6 // Position of REGION6 field. | |
BPROT_CONFIG0_REGION6_Msk = 0x40 // Bit mask of REGION6 field. | |
BPROT_CONFIG0_REGION6 = 0x40 // Bit REGION6. | |
BPROT_CONFIG0_REGION6_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION6_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION7_Pos = 0x7 // Position of REGION7 field. | |
BPROT_CONFIG0_REGION7_Msk = 0x80 // Bit mask of REGION7 field. | |
BPROT_CONFIG0_REGION7 = 0x80 // Bit REGION7. | |
BPROT_CONFIG0_REGION7_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION7_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION8_Pos = 0x8 // Position of REGION8 field. | |
BPROT_CONFIG0_REGION8_Msk = 0x100 // Bit mask of REGION8 field. | |
BPROT_CONFIG0_REGION8 = 0x100 // Bit REGION8. | |
BPROT_CONFIG0_REGION8_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION8_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION9_Pos = 0x9 // Position of REGION9 field. | |
BPROT_CONFIG0_REGION9_Msk = 0x200 // Bit mask of REGION9 field. | |
BPROT_CONFIG0_REGION9 = 0x200 // Bit REGION9. | |
BPROT_CONFIG0_REGION9_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION9_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION10_Pos = 0xa // Position of REGION10 field. | |
BPROT_CONFIG0_REGION10_Msk = 0x400 // Bit mask of REGION10 field. | |
BPROT_CONFIG0_REGION10 = 0x400 // Bit REGION10. | |
BPROT_CONFIG0_REGION10_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION10_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION11_Pos = 0xb // Position of REGION11 field. | |
BPROT_CONFIG0_REGION11_Msk = 0x800 // Bit mask of REGION11 field. | |
BPROT_CONFIG0_REGION11 = 0x800 // Bit REGION11. | |
BPROT_CONFIG0_REGION11_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION11_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION12_Pos = 0xc // Position of REGION12 field. | |
BPROT_CONFIG0_REGION12_Msk = 0x1000 // Bit mask of REGION12 field. | |
BPROT_CONFIG0_REGION12 = 0x1000 // Bit REGION12. | |
BPROT_CONFIG0_REGION12_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION12_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION13_Pos = 0xd // Position of REGION13 field. | |
BPROT_CONFIG0_REGION13_Msk = 0x2000 // Bit mask of REGION13 field. | |
BPROT_CONFIG0_REGION13 = 0x2000 // Bit REGION13. | |
BPROT_CONFIG0_REGION13_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION13_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION14_Pos = 0xe // Position of REGION14 field. | |
BPROT_CONFIG0_REGION14_Msk = 0x4000 // Bit mask of REGION14 field. | |
BPROT_CONFIG0_REGION14 = 0x4000 // Bit REGION14. | |
BPROT_CONFIG0_REGION14_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION14_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION15_Pos = 0xf // Position of REGION15 field. | |
BPROT_CONFIG0_REGION15_Msk = 0x8000 // Bit mask of REGION15 field. | |
BPROT_CONFIG0_REGION15 = 0x8000 // Bit REGION15. | |
BPROT_CONFIG0_REGION15_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION15_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION16_Pos = 0x10 // Position of REGION16 field. | |
BPROT_CONFIG0_REGION16_Msk = 0x10000 // Bit mask of REGION16 field. | |
BPROT_CONFIG0_REGION16 = 0x10000 // Bit REGION16. | |
BPROT_CONFIG0_REGION16_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION16_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION17_Pos = 0x11 // Position of REGION17 field. | |
BPROT_CONFIG0_REGION17_Msk = 0x20000 // Bit mask of REGION17 field. | |
BPROT_CONFIG0_REGION17 = 0x20000 // Bit REGION17. | |
BPROT_CONFIG0_REGION17_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION17_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION18_Pos = 0x12 // Position of REGION18 field. | |
BPROT_CONFIG0_REGION18_Msk = 0x40000 // Bit mask of REGION18 field. | |
BPROT_CONFIG0_REGION18 = 0x40000 // Bit REGION18. | |
BPROT_CONFIG0_REGION18_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION18_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION19_Pos = 0x13 // Position of REGION19 field. | |
BPROT_CONFIG0_REGION19_Msk = 0x80000 // Bit mask of REGION19 field. | |
BPROT_CONFIG0_REGION19 = 0x80000 // Bit REGION19. | |
BPROT_CONFIG0_REGION19_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION19_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION20_Pos = 0x14 // Position of REGION20 field. | |
BPROT_CONFIG0_REGION20_Msk = 0x100000 // Bit mask of REGION20 field. | |
BPROT_CONFIG0_REGION20 = 0x100000 // Bit REGION20. | |
BPROT_CONFIG0_REGION20_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION20_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION21_Pos = 0x15 // Position of REGION21 field. | |
BPROT_CONFIG0_REGION21_Msk = 0x200000 // Bit mask of REGION21 field. | |
BPROT_CONFIG0_REGION21 = 0x200000 // Bit REGION21. | |
BPROT_CONFIG0_REGION21_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION21_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION22_Pos = 0x16 // Position of REGION22 field. | |
BPROT_CONFIG0_REGION22_Msk = 0x400000 // Bit mask of REGION22 field. | |
BPROT_CONFIG0_REGION22 = 0x400000 // Bit REGION22. | |
BPROT_CONFIG0_REGION22_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION22_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION23_Pos = 0x17 // Position of REGION23 field. | |
BPROT_CONFIG0_REGION23_Msk = 0x800000 // Bit mask of REGION23 field. | |
BPROT_CONFIG0_REGION23 = 0x800000 // Bit REGION23. | |
BPROT_CONFIG0_REGION23_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION23_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION24_Pos = 0x18 // Position of REGION24 field. | |
BPROT_CONFIG0_REGION24_Msk = 0x1000000 // Bit mask of REGION24 field. | |
BPROT_CONFIG0_REGION24 = 0x1000000 // Bit REGION24. | |
BPROT_CONFIG0_REGION24_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION24_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION25_Pos = 0x19 // Position of REGION25 field. | |
BPROT_CONFIG0_REGION25_Msk = 0x2000000 // Bit mask of REGION25 field. | |
BPROT_CONFIG0_REGION25 = 0x2000000 // Bit REGION25. | |
BPROT_CONFIG0_REGION25_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION25_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION26_Pos = 0x1a // Position of REGION26 field. | |
BPROT_CONFIG0_REGION26_Msk = 0x4000000 // Bit mask of REGION26 field. | |
BPROT_CONFIG0_REGION26 = 0x4000000 // Bit REGION26. | |
BPROT_CONFIG0_REGION26_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION26_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION27_Pos = 0x1b // Position of REGION27 field. | |
BPROT_CONFIG0_REGION27_Msk = 0x8000000 // Bit mask of REGION27 field. | |
BPROT_CONFIG0_REGION27 = 0x8000000 // Bit REGION27. | |
BPROT_CONFIG0_REGION27_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION27_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION28_Pos = 0x1c // Position of REGION28 field. | |
BPROT_CONFIG0_REGION28_Msk = 0x10000000 // Bit mask of REGION28 field. | |
BPROT_CONFIG0_REGION28 = 0x10000000 // Bit REGION28. | |
BPROT_CONFIG0_REGION28_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION28_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION29_Pos = 0x1d // Position of REGION29 field. | |
BPROT_CONFIG0_REGION29_Msk = 0x20000000 // Bit mask of REGION29 field. | |
BPROT_CONFIG0_REGION29 = 0x20000000 // Bit REGION29. | |
BPROT_CONFIG0_REGION29_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION29_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION30_Pos = 0x1e // Position of REGION30 field. | |
BPROT_CONFIG0_REGION30_Msk = 0x40000000 // Bit mask of REGION30 field. | |
BPROT_CONFIG0_REGION30 = 0x40000000 // Bit REGION30. | |
BPROT_CONFIG0_REGION30_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION30_Enabled = 0x1 // Protection enable | |
BPROT_CONFIG0_REGION31_Pos = 0x1f // Position of REGION31 field. | |
BPROT_CONFIG0_REGION31_Msk = 0x80000000 // Bit mask of REGION31 field. | |
BPROT_CONFIG0_REGION31 = 0x80000000 // Bit REGION31. | |
BPROT_CONFIG0_REGION31_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG0_REGION31_Enabled = 0x1 // Protection enable | |
// CONFIG1: Block protect configuration register 1 | |
BPROT_CONFIG1_REGION32_Pos = 0x0 // Position of REGION32 field. | |
BPROT_CONFIG1_REGION32_Msk = 0x1 // Bit mask of REGION32 field. | |
BPROT_CONFIG1_REGION32 = 0x1 // Bit REGION32. | |
BPROT_CONFIG1_REGION32_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION32_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION33_Pos = 0x1 // Position of REGION33 field. | |
BPROT_CONFIG1_REGION33_Msk = 0x2 // Bit mask of REGION33 field. | |
BPROT_CONFIG1_REGION33 = 0x2 // Bit REGION33. | |
BPROT_CONFIG1_REGION33_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION33_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION34_Pos = 0x2 // Position of REGION34 field. | |
BPROT_CONFIG1_REGION34_Msk = 0x4 // Bit mask of REGION34 field. | |
BPROT_CONFIG1_REGION34 = 0x4 // Bit REGION34. | |
BPROT_CONFIG1_REGION34_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION34_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION35_Pos = 0x3 // Position of REGION35 field. | |
BPROT_CONFIG1_REGION35_Msk = 0x8 // Bit mask of REGION35 field. | |
BPROT_CONFIG1_REGION35 = 0x8 // Bit REGION35. | |
BPROT_CONFIG1_REGION35_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION35_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION36_Pos = 0x4 // Position of REGION36 field. | |
BPROT_CONFIG1_REGION36_Msk = 0x10 // Bit mask of REGION36 field. | |
BPROT_CONFIG1_REGION36 = 0x10 // Bit REGION36. | |
BPROT_CONFIG1_REGION36_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION36_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION37_Pos = 0x5 // Position of REGION37 field. | |
BPROT_CONFIG1_REGION37_Msk = 0x20 // Bit mask of REGION37 field. | |
BPROT_CONFIG1_REGION37 = 0x20 // Bit REGION37. | |
BPROT_CONFIG1_REGION37_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION37_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION38_Pos = 0x6 // Position of REGION38 field. | |
BPROT_CONFIG1_REGION38_Msk = 0x40 // Bit mask of REGION38 field. | |
BPROT_CONFIG1_REGION38 = 0x40 // Bit REGION38. | |
BPROT_CONFIG1_REGION38_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION38_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION39_Pos = 0x7 // Position of REGION39 field. | |
BPROT_CONFIG1_REGION39_Msk = 0x80 // Bit mask of REGION39 field. | |
BPROT_CONFIG1_REGION39 = 0x80 // Bit REGION39. | |
BPROT_CONFIG1_REGION39_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION39_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION40_Pos = 0x8 // Position of REGION40 field. | |
BPROT_CONFIG1_REGION40_Msk = 0x100 // Bit mask of REGION40 field. | |
BPROT_CONFIG1_REGION40 = 0x100 // Bit REGION40. | |
BPROT_CONFIG1_REGION40_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION40_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION41_Pos = 0x9 // Position of REGION41 field. | |
BPROT_CONFIG1_REGION41_Msk = 0x200 // Bit mask of REGION41 field. | |
BPROT_CONFIG1_REGION41 = 0x200 // Bit REGION41. | |
BPROT_CONFIG1_REGION41_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION41_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION42_Pos = 0xa // Position of REGION42 field. | |
BPROT_CONFIG1_REGION42_Msk = 0x400 // Bit mask of REGION42 field. | |
BPROT_CONFIG1_REGION42 = 0x400 // Bit REGION42. | |
BPROT_CONFIG1_REGION42_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION42_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION43_Pos = 0xb // Position of REGION43 field. | |
BPROT_CONFIG1_REGION43_Msk = 0x800 // Bit mask of REGION43 field. | |
BPROT_CONFIG1_REGION43 = 0x800 // Bit REGION43. | |
BPROT_CONFIG1_REGION43_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION43_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION44_Pos = 0xc // Position of REGION44 field. | |
BPROT_CONFIG1_REGION44_Msk = 0x1000 // Bit mask of REGION44 field. | |
BPROT_CONFIG1_REGION44 = 0x1000 // Bit REGION44. | |
BPROT_CONFIG1_REGION44_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION44_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION45_Pos = 0xd // Position of REGION45 field. | |
BPROT_CONFIG1_REGION45_Msk = 0x2000 // Bit mask of REGION45 field. | |
BPROT_CONFIG1_REGION45 = 0x2000 // Bit REGION45. | |
BPROT_CONFIG1_REGION45_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION45_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION46_Pos = 0xe // Position of REGION46 field. | |
BPROT_CONFIG1_REGION46_Msk = 0x4000 // Bit mask of REGION46 field. | |
BPROT_CONFIG1_REGION46 = 0x4000 // Bit REGION46. | |
BPROT_CONFIG1_REGION46_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION46_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION47_Pos = 0xf // Position of REGION47 field. | |
BPROT_CONFIG1_REGION47_Msk = 0x8000 // Bit mask of REGION47 field. | |
BPROT_CONFIG1_REGION47 = 0x8000 // Bit REGION47. | |
BPROT_CONFIG1_REGION47_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION47_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION48_Pos = 0x10 // Position of REGION48 field. | |
BPROT_CONFIG1_REGION48_Msk = 0x10000 // Bit mask of REGION48 field. | |
BPROT_CONFIG1_REGION48 = 0x10000 // Bit REGION48. | |
BPROT_CONFIG1_REGION48_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION48_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION49_Pos = 0x11 // Position of REGION49 field. | |
BPROT_CONFIG1_REGION49_Msk = 0x20000 // Bit mask of REGION49 field. | |
BPROT_CONFIG1_REGION49 = 0x20000 // Bit REGION49. | |
BPROT_CONFIG1_REGION49_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION49_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION50_Pos = 0x12 // Position of REGION50 field. | |
BPROT_CONFIG1_REGION50_Msk = 0x40000 // Bit mask of REGION50 field. | |
BPROT_CONFIG1_REGION50 = 0x40000 // Bit REGION50. | |
BPROT_CONFIG1_REGION50_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION50_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION51_Pos = 0x13 // Position of REGION51 field. | |
BPROT_CONFIG1_REGION51_Msk = 0x80000 // Bit mask of REGION51 field. | |
BPROT_CONFIG1_REGION51 = 0x80000 // Bit REGION51. | |
BPROT_CONFIG1_REGION51_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION51_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION52_Pos = 0x14 // Position of REGION52 field. | |
BPROT_CONFIG1_REGION52_Msk = 0x100000 // Bit mask of REGION52 field. | |
BPROT_CONFIG1_REGION52 = 0x100000 // Bit REGION52. | |
BPROT_CONFIG1_REGION52_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION52_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION53_Pos = 0x15 // Position of REGION53 field. | |
BPROT_CONFIG1_REGION53_Msk = 0x200000 // Bit mask of REGION53 field. | |
BPROT_CONFIG1_REGION53 = 0x200000 // Bit REGION53. | |
BPROT_CONFIG1_REGION53_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION53_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION54_Pos = 0x16 // Position of REGION54 field. | |
BPROT_CONFIG1_REGION54_Msk = 0x400000 // Bit mask of REGION54 field. | |
BPROT_CONFIG1_REGION54 = 0x400000 // Bit REGION54. | |
BPROT_CONFIG1_REGION54_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION54_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION55_Pos = 0x17 // Position of REGION55 field. | |
BPROT_CONFIG1_REGION55_Msk = 0x800000 // Bit mask of REGION55 field. | |
BPROT_CONFIG1_REGION55 = 0x800000 // Bit REGION55. | |
BPROT_CONFIG1_REGION55_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION55_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION56_Pos = 0x18 // Position of REGION56 field. | |
BPROT_CONFIG1_REGION56_Msk = 0x1000000 // Bit mask of REGION56 field. | |
BPROT_CONFIG1_REGION56 = 0x1000000 // Bit REGION56. | |
BPROT_CONFIG1_REGION56_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION56_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION57_Pos = 0x19 // Position of REGION57 field. | |
BPROT_CONFIG1_REGION57_Msk = 0x2000000 // Bit mask of REGION57 field. | |
BPROT_CONFIG1_REGION57 = 0x2000000 // Bit REGION57. | |
BPROT_CONFIG1_REGION57_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION57_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION58_Pos = 0x1a // Position of REGION58 field. | |
BPROT_CONFIG1_REGION58_Msk = 0x4000000 // Bit mask of REGION58 field. | |
BPROT_CONFIG1_REGION58 = 0x4000000 // Bit REGION58. | |
BPROT_CONFIG1_REGION58_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION58_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION59_Pos = 0x1b // Position of REGION59 field. | |
BPROT_CONFIG1_REGION59_Msk = 0x8000000 // Bit mask of REGION59 field. | |
BPROT_CONFIG1_REGION59 = 0x8000000 // Bit REGION59. | |
BPROT_CONFIG1_REGION59_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION59_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION60_Pos = 0x1c // Position of REGION60 field. | |
BPROT_CONFIG1_REGION60_Msk = 0x10000000 // Bit mask of REGION60 field. | |
BPROT_CONFIG1_REGION60 = 0x10000000 // Bit REGION60. | |
BPROT_CONFIG1_REGION60_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION60_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION61_Pos = 0x1d // Position of REGION61 field. | |
BPROT_CONFIG1_REGION61_Msk = 0x20000000 // Bit mask of REGION61 field. | |
BPROT_CONFIG1_REGION61 = 0x20000000 // Bit REGION61. | |
BPROT_CONFIG1_REGION61_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION61_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION62_Pos = 0x1e // Position of REGION62 field. | |
BPROT_CONFIG1_REGION62_Msk = 0x40000000 // Bit mask of REGION62 field. | |
BPROT_CONFIG1_REGION62 = 0x40000000 // Bit REGION62. | |
BPROT_CONFIG1_REGION62_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION62_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG1_REGION63_Pos = 0x1f // Position of REGION63 field. | |
BPROT_CONFIG1_REGION63_Msk = 0x80000000 // Bit mask of REGION63 field. | |
BPROT_CONFIG1_REGION63 = 0x80000000 // Bit REGION63. | |
BPROT_CONFIG1_REGION63_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG1_REGION63_Enabled = 0x1 // Protection enabled | |
// DISABLEINDEBUG: Disable protection mechanism in debug interface mode | |
BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Pos = 0x0 // Position of DISABLEINDEBUG field. | |
BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Msk = 0x1 // Bit mask of DISABLEINDEBUG field. | |
BPROT_DISABLEINDEBUG_DISABLEINDEBUG = 0x1 // Bit DISABLEINDEBUG. | |
BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Disabled = 0x1 // Disable in debug | |
BPROT_DISABLEINDEBUG_DISABLEINDEBUG_Enabled = 0x0 // Enable in debug | |
// CONFIG2: Block protect configuration register 2 | |
BPROT_CONFIG2_REGION64_Pos = 0x0 // Position of REGION64 field. | |
BPROT_CONFIG2_REGION64_Msk = 0x1 // Bit mask of REGION64 field. | |
BPROT_CONFIG2_REGION64 = 0x1 // Bit REGION64. | |
BPROT_CONFIG2_REGION64_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION64_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION65_Pos = 0x1 // Position of REGION65 field. | |
BPROT_CONFIG2_REGION65_Msk = 0x2 // Bit mask of REGION65 field. | |
BPROT_CONFIG2_REGION65 = 0x2 // Bit REGION65. | |
BPROT_CONFIG2_REGION65_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION65_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION66_Pos = 0x2 // Position of REGION66 field. | |
BPROT_CONFIG2_REGION66_Msk = 0x4 // Bit mask of REGION66 field. | |
BPROT_CONFIG2_REGION66 = 0x4 // Bit REGION66. | |
BPROT_CONFIG2_REGION66_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION66_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION67_Pos = 0x3 // Position of REGION67 field. | |
BPROT_CONFIG2_REGION67_Msk = 0x8 // Bit mask of REGION67 field. | |
BPROT_CONFIG2_REGION67 = 0x8 // Bit REGION67. | |
BPROT_CONFIG2_REGION67_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION67_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION68_Pos = 0x4 // Position of REGION68 field. | |
BPROT_CONFIG2_REGION68_Msk = 0x10 // Bit mask of REGION68 field. | |
BPROT_CONFIG2_REGION68 = 0x10 // Bit REGION68. | |
BPROT_CONFIG2_REGION68_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION68_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION69_Pos = 0x5 // Position of REGION69 field. | |
BPROT_CONFIG2_REGION69_Msk = 0x20 // Bit mask of REGION69 field. | |
BPROT_CONFIG2_REGION69 = 0x20 // Bit REGION69. | |
BPROT_CONFIG2_REGION69_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION69_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION70_Pos = 0x6 // Position of REGION70 field. | |
BPROT_CONFIG2_REGION70_Msk = 0x40 // Bit mask of REGION70 field. | |
BPROT_CONFIG2_REGION70 = 0x40 // Bit REGION70. | |
BPROT_CONFIG2_REGION70_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION70_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION71_Pos = 0x7 // Position of REGION71 field. | |
BPROT_CONFIG2_REGION71_Msk = 0x80 // Bit mask of REGION71 field. | |
BPROT_CONFIG2_REGION71 = 0x80 // Bit REGION71. | |
BPROT_CONFIG2_REGION71_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION71_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION72_Pos = 0x8 // Position of REGION72 field. | |
BPROT_CONFIG2_REGION72_Msk = 0x100 // Bit mask of REGION72 field. | |
BPROT_CONFIG2_REGION72 = 0x100 // Bit REGION72. | |
BPROT_CONFIG2_REGION72_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION72_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION73_Pos = 0x9 // Position of REGION73 field. | |
BPROT_CONFIG2_REGION73_Msk = 0x200 // Bit mask of REGION73 field. | |
BPROT_CONFIG2_REGION73 = 0x200 // Bit REGION73. | |
BPROT_CONFIG2_REGION73_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION73_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION74_Pos = 0xa // Position of REGION74 field. | |
BPROT_CONFIG2_REGION74_Msk = 0x400 // Bit mask of REGION74 field. | |
BPROT_CONFIG2_REGION74 = 0x400 // Bit REGION74. | |
BPROT_CONFIG2_REGION74_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION74_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION75_Pos = 0xb // Position of REGION75 field. | |
BPROT_CONFIG2_REGION75_Msk = 0x800 // Bit mask of REGION75 field. | |
BPROT_CONFIG2_REGION75 = 0x800 // Bit REGION75. | |
BPROT_CONFIG2_REGION75_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION75_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION76_Pos = 0xc // Position of REGION76 field. | |
BPROT_CONFIG2_REGION76_Msk = 0x1000 // Bit mask of REGION76 field. | |
BPROT_CONFIG2_REGION76 = 0x1000 // Bit REGION76. | |
BPROT_CONFIG2_REGION76_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION76_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION77_Pos = 0xd // Position of REGION77 field. | |
BPROT_CONFIG2_REGION77_Msk = 0x2000 // Bit mask of REGION77 field. | |
BPROT_CONFIG2_REGION77 = 0x2000 // Bit REGION77. | |
BPROT_CONFIG2_REGION77_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION77_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION78_Pos = 0xe // Position of REGION78 field. | |
BPROT_CONFIG2_REGION78_Msk = 0x4000 // Bit mask of REGION78 field. | |
BPROT_CONFIG2_REGION78 = 0x4000 // Bit REGION78. | |
BPROT_CONFIG2_REGION78_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION78_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION79_Pos = 0xf // Position of REGION79 field. | |
BPROT_CONFIG2_REGION79_Msk = 0x8000 // Bit mask of REGION79 field. | |
BPROT_CONFIG2_REGION79 = 0x8000 // Bit REGION79. | |
BPROT_CONFIG2_REGION79_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION79_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION80_Pos = 0x10 // Position of REGION80 field. | |
BPROT_CONFIG2_REGION80_Msk = 0x10000 // Bit mask of REGION80 field. | |
BPROT_CONFIG2_REGION80 = 0x10000 // Bit REGION80. | |
BPROT_CONFIG2_REGION80_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION80_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION81_Pos = 0x11 // Position of REGION81 field. | |
BPROT_CONFIG2_REGION81_Msk = 0x20000 // Bit mask of REGION81 field. | |
BPROT_CONFIG2_REGION81 = 0x20000 // Bit REGION81. | |
BPROT_CONFIG2_REGION81_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION81_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION82_Pos = 0x12 // Position of REGION82 field. | |
BPROT_CONFIG2_REGION82_Msk = 0x40000 // Bit mask of REGION82 field. | |
BPROT_CONFIG2_REGION82 = 0x40000 // Bit REGION82. | |
BPROT_CONFIG2_REGION82_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION82_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION83_Pos = 0x13 // Position of REGION83 field. | |
BPROT_CONFIG2_REGION83_Msk = 0x80000 // Bit mask of REGION83 field. | |
BPROT_CONFIG2_REGION83 = 0x80000 // Bit REGION83. | |
BPROT_CONFIG2_REGION83_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION83_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION84_Pos = 0x14 // Position of REGION84 field. | |
BPROT_CONFIG2_REGION84_Msk = 0x100000 // Bit mask of REGION84 field. | |
BPROT_CONFIG2_REGION84 = 0x100000 // Bit REGION84. | |
BPROT_CONFIG2_REGION84_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION84_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION85_Pos = 0x15 // Position of REGION85 field. | |
BPROT_CONFIG2_REGION85_Msk = 0x200000 // Bit mask of REGION85 field. | |
BPROT_CONFIG2_REGION85 = 0x200000 // Bit REGION85. | |
BPROT_CONFIG2_REGION85_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION85_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION86_Pos = 0x16 // Position of REGION86 field. | |
BPROT_CONFIG2_REGION86_Msk = 0x400000 // Bit mask of REGION86 field. | |
BPROT_CONFIG2_REGION86 = 0x400000 // Bit REGION86. | |
BPROT_CONFIG2_REGION86_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION86_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION87_Pos = 0x17 // Position of REGION87 field. | |
BPROT_CONFIG2_REGION87_Msk = 0x800000 // Bit mask of REGION87 field. | |
BPROT_CONFIG2_REGION87 = 0x800000 // Bit REGION87. | |
BPROT_CONFIG2_REGION87_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION87_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION88_Pos = 0x18 // Position of REGION88 field. | |
BPROT_CONFIG2_REGION88_Msk = 0x1000000 // Bit mask of REGION88 field. | |
BPROT_CONFIG2_REGION88 = 0x1000000 // Bit REGION88. | |
BPROT_CONFIG2_REGION88_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION88_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION89_Pos = 0x19 // Position of REGION89 field. | |
BPROT_CONFIG2_REGION89_Msk = 0x2000000 // Bit mask of REGION89 field. | |
BPROT_CONFIG2_REGION89 = 0x2000000 // Bit REGION89. | |
BPROT_CONFIG2_REGION89_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION89_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION90_Pos = 0x1a // Position of REGION90 field. | |
BPROT_CONFIG2_REGION90_Msk = 0x4000000 // Bit mask of REGION90 field. | |
BPROT_CONFIG2_REGION90 = 0x4000000 // Bit REGION90. | |
BPROT_CONFIG2_REGION90_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION90_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION91_Pos = 0x1b // Position of REGION91 field. | |
BPROT_CONFIG2_REGION91_Msk = 0x8000000 // Bit mask of REGION91 field. | |
BPROT_CONFIG2_REGION91 = 0x8000000 // Bit REGION91. | |
BPROT_CONFIG2_REGION91_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION91_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION92_Pos = 0x1c // Position of REGION92 field. | |
BPROT_CONFIG2_REGION92_Msk = 0x10000000 // Bit mask of REGION92 field. | |
BPROT_CONFIG2_REGION92 = 0x10000000 // Bit REGION92. | |
BPROT_CONFIG2_REGION92_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION92_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION93_Pos = 0x1d // Position of REGION93 field. | |
BPROT_CONFIG2_REGION93_Msk = 0x20000000 // Bit mask of REGION93 field. | |
BPROT_CONFIG2_REGION93 = 0x20000000 // Bit REGION93. | |
BPROT_CONFIG2_REGION93_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION93_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION94_Pos = 0x1e // Position of REGION94 field. | |
BPROT_CONFIG2_REGION94_Msk = 0x40000000 // Bit mask of REGION94 field. | |
BPROT_CONFIG2_REGION94 = 0x40000000 // Bit REGION94. | |
BPROT_CONFIG2_REGION94_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION94_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG2_REGION95_Pos = 0x1f // Position of REGION95 field. | |
BPROT_CONFIG2_REGION95_Msk = 0x80000000 // Bit mask of REGION95 field. | |
BPROT_CONFIG2_REGION95 = 0x80000000 // Bit REGION95. | |
BPROT_CONFIG2_REGION95_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG2_REGION95_Enabled = 0x1 // Protection enabled | |
// CONFIG3: Block protect configuration register 3 | |
BPROT_CONFIG3_REGION96_Pos = 0x0 // Position of REGION96 field. | |
BPROT_CONFIG3_REGION96_Msk = 0x1 // Bit mask of REGION96 field. | |
BPROT_CONFIG3_REGION96 = 0x1 // Bit REGION96. | |
BPROT_CONFIG3_REGION96_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION96_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION97_Pos = 0x1 // Position of REGION97 field. | |
BPROT_CONFIG3_REGION97_Msk = 0x2 // Bit mask of REGION97 field. | |
BPROT_CONFIG3_REGION97 = 0x2 // Bit REGION97. | |
BPROT_CONFIG3_REGION97_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION97_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION98_Pos = 0x2 // Position of REGION98 field. | |
BPROT_CONFIG3_REGION98_Msk = 0x4 // Bit mask of REGION98 field. | |
BPROT_CONFIG3_REGION98 = 0x4 // Bit REGION98. | |
BPROT_CONFIG3_REGION98_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION98_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION99_Pos = 0x3 // Position of REGION99 field. | |
BPROT_CONFIG3_REGION99_Msk = 0x8 // Bit mask of REGION99 field. | |
BPROT_CONFIG3_REGION99 = 0x8 // Bit REGION99. | |
BPROT_CONFIG3_REGION99_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION99_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION100_Pos = 0x4 // Position of REGION100 field. | |
BPROT_CONFIG3_REGION100_Msk = 0x10 // Bit mask of REGION100 field. | |
BPROT_CONFIG3_REGION100 = 0x10 // Bit REGION100. | |
BPROT_CONFIG3_REGION100_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION100_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION101_Pos = 0x5 // Position of REGION101 field. | |
BPROT_CONFIG3_REGION101_Msk = 0x20 // Bit mask of REGION101 field. | |
BPROT_CONFIG3_REGION101 = 0x20 // Bit REGION101. | |
BPROT_CONFIG3_REGION101_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION101_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION102_Pos = 0x6 // Position of REGION102 field. | |
BPROT_CONFIG3_REGION102_Msk = 0x40 // Bit mask of REGION102 field. | |
BPROT_CONFIG3_REGION102 = 0x40 // Bit REGION102. | |
BPROT_CONFIG3_REGION102_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION102_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION103_Pos = 0x7 // Position of REGION103 field. | |
BPROT_CONFIG3_REGION103_Msk = 0x80 // Bit mask of REGION103 field. | |
BPROT_CONFIG3_REGION103 = 0x80 // Bit REGION103. | |
BPROT_CONFIG3_REGION103_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION103_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION104_Pos = 0x8 // Position of REGION104 field. | |
BPROT_CONFIG3_REGION104_Msk = 0x100 // Bit mask of REGION104 field. | |
BPROT_CONFIG3_REGION104 = 0x100 // Bit REGION104. | |
BPROT_CONFIG3_REGION104_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION104_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION105_Pos = 0x9 // Position of REGION105 field. | |
BPROT_CONFIG3_REGION105_Msk = 0x200 // Bit mask of REGION105 field. | |
BPROT_CONFIG3_REGION105 = 0x200 // Bit REGION105. | |
BPROT_CONFIG3_REGION105_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION105_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION106_Pos = 0xa // Position of REGION106 field. | |
BPROT_CONFIG3_REGION106_Msk = 0x400 // Bit mask of REGION106 field. | |
BPROT_CONFIG3_REGION106 = 0x400 // Bit REGION106. | |
BPROT_CONFIG3_REGION106_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION106_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION107_Pos = 0xb // Position of REGION107 field. | |
BPROT_CONFIG3_REGION107_Msk = 0x800 // Bit mask of REGION107 field. | |
BPROT_CONFIG3_REGION107 = 0x800 // Bit REGION107. | |
BPROT_CONFIG3_REGION107_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION107_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION108_Pos = 0xc // Position of REGION108 field. | |
BPROT_CONFIG3_REGION108_Msk = 0x1000 // Bit mask of REGION108 field. | |
BPROT_CONFIG3_REGION108 = 0x1000 // Bit REGION108. | |
BPROT_CONFIG3_REGION108_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION108_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION109_Pos = 0xd // Position of REGION109 field. | |
BPROT_CONFIG3_REGION109_Msk = 0x2000 // Bit mask of REGION109 field. | |
BPROT_CONFIG3_REGION109 = 0x2000 // Bit REGION109. | |
BPROT_CONFIG3_REGION109_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION109_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION110_Pos = 0xe // Position of REGION110 field. | |
BPROT_CONFIG3_REGION110_Msk = 0x4000 // Bit mask of REGION110 field. | |
BPROT_CONFIG3_REGION110 = 0x4000 // Bit REGION110. | |
BPROT_CONFIG3_REGION110_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION110_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION111_Pos = 0xf // Position of REGION111 field. | |
BPROT_CONFIG3_REGION111_Msk = 0x8000 // Bit mask of REGION111 field. | |
BPROT_CONFIG3_REGION111 = 0x8000 // Bit REGION111. | |
BPROT_CONFIG3_REGION111_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION111_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION112_Pos = 0x10 // Position of REGION112 field. | |
BPROT_CONFIG3_REGION112_Msk = 0x10000 // Bit mask of REGION112 field. | |
BPROT_CONFIG3_REGION112 = 0x10000 // Bit REGION112. | |
BPROT_CONFIG3_REGION112_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION112_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION113_Pos = 0x11 // Position of REGION113 field. | |
BPROT_CONFIG3_REGION113_Msk = 0x20000 // Bit mask of REGION113 field. | |
BPROT_CONFIG3_REGION113 = 0x20000 // Bit REGION113. | |
BPROT_CONFIG3_REGION113_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION113_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION114_Pos = 0x12 // Position of REGION114 field. | |
BPROT_CONFIG3_REGION114_Msk = 0x40000 // Bit mask of REGION114 field. | |
BPROT_CONFIG3_REGION114 = 0x40000 // Bit REGION114. | |
BPROT_CONFIG3_REGION114_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION114_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION115_Pos = 0x13 // Position of REGION115 field. | |
BPROT_CONFIG3_REGION115_Msk = 0x80000 // Bit mask of REGION115 field. | |
BPROT_CONFIG3_REGION115 = 0x80000 // Bit REGION115. | |
BPROT_CONFIG3_REGION115_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION115_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION116_Pos = 0x14 // Position of REGION116 field. | |
BPROT_CONFIG3_REGION116_Msk = 0x100000 // Bit mask of REGION116 field. | |
BPROT_CONFIG3_REGION116 = 0x100000 // Bit REGION116. | |
BPROT_CONFIG3_REGION116_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION116_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION117_Pos = 0x15 // Position of REGION117 field. | |
BPROT_CONFIG3_REGION117_Msk = 0x200000 // Bit mask of REGION117 field. | |
BPROT_CONFIG3_REGION117 = 0x200000 // Bit REGION117. | |
BPROT_CONFIG3_REGION117_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION117_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION118_Pos = 0x16 // Position of REGION118 field. | |
BPROT_CONFIG3_REGION118_Msk = 0x400000 // Bit mask of REGION118 field. | |
BPROT_CONFIG3_REGION118 = 0x400000 // Bit REGION118. | |
BPROT_CONFIG3_REGION118_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION118_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION119_Pos = 0x17 // Position of REGION119 field. | |
BPROT_CONFIG3_REGION119_Msk = 0x800000 // Bit mask of REGION119 field. | |
BPROT_CONFIG3_REGION119 = 0x800000 // Bit REGION119. | |
BPROT_CONFIG3_REGION119_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION119_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION120_Pos = 0x18 // Position of REGION120 field. | |
BPROT_CONFIG3_REGION120_Msk = 0x1000000 // Bit mask of REGION120 field. | |
BPROT_CONFIG3_REGION120 = 0x1000000 // Bit REGION120. | |
BPROT_CONFIG3_REGION120_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION120_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION121_Pos = 0x19 // Position of REGION121 field. | |
BPROT_CONFIG3_REGION121_Msk = 0x2000000 // Bit mask of REGION121 field. | |
BPROT_CONFIG3_REGION121 = 0x2000000 // Bit REGION121. | |
BPROT_CONFIG3_REGION121_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION121_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION122_Pos = 0x1a // Position of REGION122 field. | |
BPROT_CONFIG3_REGION122_Msk = 0x4000000 // Bit mask of REGION122 field. | |
BPROT_CONFIG3_REGION122 = 0x4000000 // Bit REGION122. | |
BPROT_CONFIG3_REGION122_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION122_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION123_Pos = 0x1b // Position of REGION123 field. | |
BPROT_CONFIG3_REGION123_Msk = 0x8000000 // Bit mask of REGION123 field. | |
BPROT_CONFIG3_REGION123 = 0x8000000 // Bit REGION123. | |
BPROT_CONFIG3_REGION123_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION123_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION124_Pos = 0x1c // Position of REGION124 field. | |
BPROT_CONFIG3_REGION124_Msk = 0x10000000 // Bit mask of REGION124 field. | |
BPROT_CONFIG3_REGION124 = 0x10000000 // Bit REGION124. | |
BPROT_CONFIG3_REGION124_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION124_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION125_Pos = 0x1d // Position of REGION125 field. | |
BPROT_CONFIG3_REGION125_Msk = 0x20000000 // Bit mask of REGION125 field. | |
BPROT_CONFIG3_REGION125 = 0x20000000 // Bit REGION125. | |
BPROT_CONFIG3_REGION125_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION125_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION126_Pos = 0x1e // Position of REGION126 field. | |
BPROT_CONFIG3_REGION126_Msk = 0x40000000 // Bit mask of REGION126 field. | |
BPROT_CONFIG3_REGION126 = 0x40000000 // Bit REGION126. | |
BPROT_CONFIG3_REGION126_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION126_Enabled = 0x1 // Protection enabled | |
BPROT_CONFIG3_REGION127_Pos = 0x1f // Position of REGION127 field. | |
BPROT_CONFIG3_REGION127_Msk = 0x80000000 // Bit mask of REGION127 field. | |
BPROT_CONFIG3_REGION127 = 0x80000000 // Bit REGION127. | |
BPROT_CONFIG3_REGION127_Disabled = 0x0 // Protection disabled | |
BPROT_CONFIG3_REGION127_Enabled = 0x1 // Protection enabled | |
) | |
// Bitfields for POWER: Power control | |
const ( | |
// INTENSET: Enable interrupt | |
POWER_INTENSET_POFWARN_Pos = 0x2 // Position of POFWARN field. | |
POWER_INTENSET_POFWARN_Msk = 0x4 // Bit mask of POFWARN field. | |
POWER_INTENSET_POFWARN = 0x4 // Bit POFWARN. | |
POWER_INTENSET_POFWARN_Disabled = 0x0 // Read: Disabled | |
POWER_INTENSET_POFWARN_Enabled = 0x1 // Read: Enabled | |
POWER_INTENSET_POFWARN_Set = 0x1 // Enable | |
POWER_INTENSET_SLEEPENTER_Pos = 0x5 // Position of SLEEPENTER field. | |
POWER_INTENSET_SLEEPENTER_Msk = 0x20 // Bit mask of SLEEPENTER field. | |
POWER_INTENSET_SLEEPENTER = 0x20 // Bit SLEEPENTER. | |
POWER_INTENSET_SLEEPENTER_Disabled = 0x0 // Read: Disabled | |
POWER_INTENSET_SLEEPENTER_Enabled = 0x1 // Read: Enabled | |
POWER_INTENSET_SLEEPENTER_Set = 0x1 // Enable | |
POWER_INTENSET_SLEEPEXIT_Pos = 0x6 // Position of SLEEPEXIT field. | |
POWER_INTENSET_SLEEPEXIT_Msk = 0x40 // Bit mask of SLEEPEXIT field. | |
POWER_INTENSET_SLEEPEXIT = 0x40 // Bit SLEEPEXIT. | |
POWER_INTENSET_SLEEPEXIT_Disabled = 0x0 // Read: Disabled | |
POWER_INTENSET_SLEEPEXIT_Enabled = 0x1 // Read: Enabled | |
POWER_INTENSET_SLEEPEXIT_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
POWER_INTENCLR_POFWARN_Pos = 0x2 // Position of POFWARN field. | |
POWER_INTENCLR_POFWARN_Msk = 0x4 // Bit mask of POFWARN field. | |
POWER_INTENCLR_POFWARN = 0x4 // Bit POFWARN. | |
POWER_INTENCLR_POFWARN_Disabled = 0x0 // Read: Disabled | |
POWER_INTENCLR_POFWARN_Enabled = 0x1 // Read: Enabled | |
POWER_INTENCLR_POFWARN_Clear = 0x1 // Disable | |
POWER_INTENCLR_SLEEPENTER_Pos = 0x5 // Position of SLEEPENTER field. | |
POWER_INTENCLR_SLEEPENTER_Msk = 0x20 // Bit mask of SLEEPENTER field. | |
POWER_INTENCLR_SLEEPENTER = 0x20 // Bit SLEEPENTER. | |
POWER_INTENCLR_SLEEPENTER_Disabled = 0x0 // Read: Disabled | |
POWER_INTENCLR_SLEEPENTER_Enabled = 0x1 // Read: Enabled | |
POWER_INTENCLR_SLEEPENTER_Clear = 0x1 // Disable | |
POWER_INTENCLR_SLEEPEXIT_Pos = 0x6 // Position of SLEEPEXIT field. | |
POWER_INTENCLR_SLEEPEXIT_Msk = 0x40 // Bit mask of SLEEPEXIT field. | |
POWER_INTENCLR_SLEEPEXIT = 0x40 // Bit SLEEPEXIT. | |
POWER_INTENCLR_SLEEPEXIT_Disabled = 0x0 // Read: Disabled | |
POWER_INTENCLR_SLEEPEXIT_Enabled = 0x1 // Read: Enabled | |
POWER_INTENCLR_SLEEPEXIT_Clear = 0x1 // Disable | |
// RESETREAS: Reset reason | |
POWER_RESETREAS_RESETPIN_Pos = 0x0 // Position of RESETPIN field. | |
POWER_RESETREAS_RESETPIN_Msk = 0x1 // Bit mask of RESETPIN field. | |
POWER_RESETREAS_RESETPIN = 0x1 // Bit RESETPIN. | |
POWER_RESETREAS_RESETPIN_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_RESETPIN_Detected = 0x1 // Detected | |
POWER_RESETREAS_DOG_Pos = 0x1 // Position of DOG field. | |
POWER_RESETREAS_DOG_Msk = 0x2 // Bit mask of DOG field. | |
POWER_RESETREAS_DOG = 0x2 // Bit DOG. | |
POWER_RESETREAS_DOG_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_DOG_Detected = 0x1 // Detected | |
POWER_RESETREAS_SREQ_Pos = 0x2 // Position of SREQ field. | |
POWER_RESETREAS_SREQ_Msk = 0x4 // Bit mask of SREQ field. | |
POWER_RESETREAS_SREQ = 0x4 // Bit SREQ. | |
POWER_RESETREAS_SREQ_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_SREQ_Detected = 0x1 // Detected | |
POWER_RESETREAS_LOCKUP_Pos = 0x3 // Position of LOCKUP field. | |
POWER_RESETREAS_LOCKUP_Msk = 0x8 // Bit mask of LOCKUP field. | |
POWER_RESETREAS_LOCKUP = 0x8 // Bit LOCKUP. | |
POWER_RESETREAS_LOCKUP_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_LOCKUP_Detected = 0x1 // Detected | |
POWER_RESETREAS_OFF_Pos = 0x10 // Position of OFF field. | |
POWER_RESETREAS_OFF_Msk = 0x10000 // Bit mask of OFF field. | |
POWER_RESETREAS_OFF = 0x10000 // Bit OFF. | |
POWER_RESETREAS_OFF_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_OFF_Detected = 0x1 // Detected | |
POWER_RESETREAS_LPCOMP_Pos = 0x11 // Position of LPCOMP field. | |
POWER_RESETREAS_LPCOMP_Msk = 0x20000 // Bit mask of LPCOMP field. | |
POWER_RESETREAS_LPCOMP = 0x20000 // Bit LPCOMP. | |
POWER_RESETREAS_LPCOMP_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_LPCOMP_Detected = 0x1 // Detected | |
POWER_RESETREAS_DIF_Pos = 0x12 // Position of DIF field. | |
POWER_RESETREAS_DIF_Msk = 0x40000 // Bit mask of DIF field. | |
POWER_RESETREAS_DIF = 0x40000 // Bit DIF. | |
POWER_RESETREAS_DIF_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_DIF_Detected = 0x1 // Detected | |
POWER_RESETREAS_NFC_Pos = 0x13 // Position of NFC field. | |
POWER_RESETREAS_NFC_Msk = 0x80000 // Bit mask of NFC field. | |
POWER_RESETREAS_NFC = 0x80000 // Bit NFC. | |
POWER_RESETREAS_NFC_NotDetected = 0x0 // Not detected | |
POWER_RESETREAS_NFC_Detected = 0x1 // Detected | |
// RAMSTATUS: Deprecated register - RAM status register | |
POWER_RAMSTATUS_RAMBLOCK0_Pos = 0x0 // Position of RAMBLOCK0 field. | |
POWER_RAMSTATUS_RAMBLOCK0_Msk = 0x1 // Bit mask of RAMBLOCK0 field. | |
POWER_RAMSTATUS_RAMBLOCK0 = 0x1 // Bit RAMBLOCK0. | |
POWER_RAMSTATUS_RAMBLOCK0_Off = 0x0 // Off | |
POWER_RAMSTATUS_RAMBLOCK0_On = 0x1 // On | |
POWER_RAMSTATUS_RAMBLOCK1_Pos = 0x1 // Position of RAMBLOCK1 field. | |
POWER_RAMSTATUS_RAMBLOCK1_Msk = 0x2 // Bit mask of RAMBLOCK1 field. | |
POWER_RAMSTATUS_RAMBLOCK1 = 0x2 // Bit RAMBLOCK1. | |
POWER_RAMSTATUS_RAMBLOCK1_Off = 0x0 // Off | |
POWER_RAMSTATUS_RAMBLOCK1_On = 0x1 // On | |
POWER_RAMSTATUS_RAMBLOCK2_Pos = 0x2 // Position of RAMBLOCK2 field. | |
POWER_RAMSTATUS_RAMBLOCK2_Msk = 0x4 // Bit mask of RAMBLOCK2 field. | |
POWER_RAMSTATUS_RAMBLOCK2 = 0x4 // Bit RAMBLOCK2. | |
POWER_RAMSTATUS_RAMBLOCK2_Off = 0x0 // Off | |
POWER_RAMSTATUS_RAMBLOCK2_On = 0x1 // On | |
POWER_RAMSTATUS_RAMBLOCK3_Pos = 0x3 // Position of RAMBLOCK3 field. | |
POWER_RAMSTATUS_RAMBLOCK3_Msk = 0x8 // Bit mask of RAMBLOCK3 field. | |
POWER_RAMSTATUS_RAMBLOCK3 = 0x8 // Bit RAMBLOCK3. | |
POWER_RAMSTATUS_RAMBLOCK3_Off = 0x0 // Off | |
POWER_RAMSTATUS_RAMBLOCK3_On = 0x1 // On | |
// SYSTEMOFF: System OFF register | |
POWER_SYSTEMOFF_SYSTEMOFF_Pos = 0x0 // Position of SYSTEMOFF field. | |
POWER_SYSTEMOFF_SYSTEMOFF_Msk = 0x1 // Bit mask of SYSTEMOFF field. | |
POWER_SYSTEMOFF_SYSTEMOFF = 0x1 // Bit SYSTEMOFF. | |
POWER_SYSTEMOFF_SYSTEMOFF_Enter = 0x1 // Enable System OFF mode | |
// POFCON: Power failure comparator configuration | |
POWER_POFCON_POF_Pos = 0x0 // Position of POF field. | |
POWER_POFCON_POF_Msk = 0x1 // Bit mask of POF field. | |
POWER_POFCON_POF = 0x1 // Bit POF. | |
POWER_POFCON_POF_Disabled = 0x0 // Disable | |
POWER_POFCON_POF_Enabled = 0x1 // Enable | |
POWER_POFCON_THRESHOLD_Pos = 0x1 // Position of THRESHOLD field. | |
POWER_POFCON_THRESHOLD_Msk = 0x1e // Bit mask of THRESHOLD field. | |
POWER_POFCON_THRESHOLD_V17 = 0x4 // Set threshold to 1.7 V | |
POWER_POFCON_THRESHOLD_V18 = 0x5 // Set threshold to 1.8 V | |
POWER_POFCON_THRESHOLD_V19 = 0x6 // Set threshold to 1.9 V | |
POWER_POFCON_THRESHOLD_V20 = 0x7 // Set threshold to 2.0 V | |
POWER_POFCON_THRESHOLD_V21 = 0x8 // Set threshold to 2.1 V | |
POWER_POFCON_THRESHOLD_V22 = 0x9 // Set threshold to 2.2 V | |
POWER_POFCON_THRESHOLD_V23 = 0xa // Set threshold to 2.3 V | |
POWER_POFCON_THRESHOLD_V24 = 0xb // Set threshold to 2.4 V | |
POWER_POFCON_THRESHOLD_V25 = 0xc // Set threshold to 2.5 V | |
POWER_POFCON_THRESHOLD_V26 = 0xd // Set threshold to 2.6 V | |
POWER_POFCON_THRESHOLD_V27 = 0xe // Set threshold to 2.7 V | |
POWER_POFCON_THRESHOLD_V28 = 0xf // Set threshold to 2.8 V | |
// GPREGRET: General purpose retention register | |
POWER_GPREGRET_GPREGRET_Pos = 0x0 // Position of GPREGRET field. | |
POWER_GPREGRET_GPREGRET_Msk = 0xff // Bit mask of GPREGRET field. | |
// GPREGRET2: General purpose retention register | |
POWER_GPREGRET2_GPREGRET_Pos = 0x0 // Position of GPREGRET field. | |
POWER_GPREGRET2_GPREGRET_Msk = 0xff // Bit mask of GPREGRET field. | |
// RAMON: Deprecated register - RAM on/off register (this register is retained) | |
POWER_RAMON_ONRAM0_Pos = 0x0 // Position of ONRAM0 field. | |
POWER_RAMON_ONRAM0_Msk = 0x1 // Bit mask of ONRAM0 field. | |
POWER_RAMON_ONRAM0 = 0x1 // Bit ONRAM0. | |
POWER_RAMON_ONRAM0_RAM0Off = 0x0 // Off | |
POWER_RAMON_ONRAM0_RAM0On = 0x1 // On | |
POWER_RAMON_ONRAM1_Pos = 0x1 // Position of ONRAM1 field. | |
POWER_RAMON_ONRAM1_Msk = 0x2 // Bit mask of ONRAM1 field. | |
POWER_RAMON_ONRAM1 = 0x2 // Bit ONRAM1. | |
POWER_RAMON_ONRAM1_RAM1Off = 0x0 // Off | |
POWER_RAMON_ONRAM1_RAM1On = 0x1 // On | |
POWER_RAMON_OFFRAM0_Pos = 0x10 // Position of OFFRAM0 field. | |
POWER_RAMON_OFFRAM0_Msk = 0x10000 // Bit mask of OFFRAM0 field. | |
POWER_RAMON_OFFRAM0 = 0x10000 // Bit OFFRAM0. | |
POWER_RAMON_OFFRAM0_RAM0Off = 0x0 // Off | |
POWER_RAMON_OFFRAM0_RAM0On = 0x1 // On | |
POWER_RAMON_OFFRAM1_Pos = 0x11 // Position of OFFRAM1 field. | |
POWER_RAMON_OFFRAM1_Msk = 0x20000 // Bit mask of OFFRAM1 field. | |
POWER_RAMON_OFFRAM1 = 0x20000 // Bit OFFRAM1. | |
POWER_RAMON_OFFRAM1_RAM1Off = 0x0 // Off | |
POWER_RAMON_OFFRAM1_RAM1On = 0x1 // On | |
// RAMONB: Deprecated register - RAM on/off register (this register is retained) | |
POWER_RAMONB_ONRAM2_Pos = 0x0 // Position of ONRAM2 field. | |
POWER_RAMONB_ONRAM2_Msk = 0x1 // Bit mask of ONRAM2 field. | |
POWER_RAMONB_ONRAM2 = 0x1 // Bit ONRAM2. | |
POWER_RAMONB_ONRAM2_RAM2Off = 0x0 // Off | |
POWER_RAMONB_ONRAM2_RAM2On = 0x1 // On | |
POWER_RAMONB_ONRAM3_Pos = 0x1 // Position of ONRAM3 field. | |
POWER_RAMONB_ONRAM3_Msk = 0x2 // Bit mask of ONRAM3 field. | |
POWER_RAMONB_ONRAM3 = 0x2 // Bit ONRAM3. | |
POWER_RAMONB_ONRAM3_RAM3Off = 0x0 // Off | |
POWER_RAMONB_ONRAM3_RAM3On = 0x1 // On | |
POWER_RAMONB_OFFRAM2_Pos = 0x10 // Position of OFFRAM2 field. | |
POWER_RAMONB_OFFRAM2_Msk = 0x10000 // Bit mask of OFFRAM2 field. | |
POWER_RAMONB_OFFRAM2 = 0x10000 // Bit OFFRAM2. | |
POWER_RAMONB_OFFRAM2_RAM2Off = 0x0 // Off | |
POWER_RAMONB_OFFRAM2_RAM2On = 0x1 // On | |
POWER_RAMONB_OFFRAM3_Pos = 0x11 // Position of OFFRAM3 field. | |
POWER_RAMONB_OFFRAM3_Msk = 0x20000 // Bit mask of OFFRAM3 field. | |
POWER_RAMONB_OFFRAM3 = 0x20000 // Bit OFFRAM3. | |
POWER_RAMONB_OFFRAM3_RAM3Off = 0x0 // Off | |
POWER_RAMONB_OFFRAM3_RAM3On = 0x1 // On | |
// DCDCEN: DC/DC enable register | |
POWER_DCDCEN_DCDCEN_Pos = 0x0 // Position of DCDCEN field. | |
POWER_DCDCEN_DCDCEN_Msk = 0x1 // Bit mask of DCDCEN field. | |
POWER_DCDCEN_DCDCEN = 0x1 // Bit DCDCEN. | |
POWER_DCDCEN_DCDCEN_Disabled = 0x0 // Disable | |
POWER_DCDCEN_DCDCEN_Enabled = 0x1 // Enable | |
// RAM.POWER: Description cluster[0]: RAM0 power control register | |
POWER_RAM_POWER_S0POWER_Pos = 0x0 // Position of S0POWER field. | |
POWER_RAM_POWER_S0POWER_Msk = 0x1 // Bit mask of S0POWER field. | |
POWER_RAM_POWER_S0POWER = 0x1 // Bit S0POWER. | |
POWER_RAM_POWER_S0POWER_Off = 0x0 // Off | |
POWER_RAM_POWER_S0POWER_On = 0x1 // On | |
POWER_RAM_POWER_S1POWER_Pos = 0x1 // Position of S1POWER field. | |
POWER_RAM_POWER_S1POWER_Msk = 0x2 // Bit mask of S1POWER field. | |
POWER_RAM_POWER_S1POWER = 0x2 // Bit S1POWER. | |
POWER_RAM_POWER_S1POWER_Off = 0x0 // Off | |
POWER_RAM_POWER_S1POWER_On = 0x1 // On | |
POWER_RAM_POWER_S0RETENTION_Pos = 0x10 // Position of S0RETENTION field. | |
POWER_RAM_POWER_S0RETENTION_Msk = 0x10000 // Bit mask of S0RETENTION field. | |
POWER_RAM_POWER_S0RETENTION = 0x10000 // Bit S0RETENTION. | |
POWER_RAM_POWER_S0RETENTION_Off = 0x0 // Off | |
POWER_RAM_POWER_S0RETENTION_On = 0x1 // On | |
POWER_RAM_POWER_S1RETENTION_Pos = 0x11 // Position of S1RETENTION field. | |
POWER_RAM_POWER_S1RETENTION_Msk = 0x20000 // Bit mask of S1RETENTION field. | |
POWER_RAM_POWER_S1RETENTION = 0x20000 // Bit S1RETENTION. | |
POWER_RAM_POWER_S1RETENTION_Off = 0x0 // Off | |
POWER_RAM_POWER_S1RETENTION_On = 0x1 // On | |
// RAM.POWERSET: Description cluster[0]: RAM0 power control set register | |
POWER_RAM_POWERSET_S0POWER_Pos = 0x0 // Position of S0POWER field. | |
POWER_RAM_POWERSET_S0POWER_Msk = 0x1 // Bit mask of S0POWER field. | |
POWER_RAM_POWERSET_S0POWER = 0x1 // Bit S0POWER. | |
POWER_RAM_POWERSET_S0POWER_On = 0x1 // On | |
POWER_RAM_POWERSET_S1POWER_Pos = 0x1 // Position of S1POWER field. | |
POWER_RAM_POWERSET_S1POWER_Msk = 0x2 // Bit mask of S1POWER field. | |
POWER_RAM_POWERSET_S1POWER = 0x2 // Bit S1POWER. | |
POWER_RAM_POWERSET_S1POWER_On = 0x1 // On | |
POWER_RAM_POWERSET_S0RETENTION_Pos = 0x10 // Position of S0RETENTION field. | |
POWER_RAM_POWERSET_S0RETENTION_Msk = 0x10000 // Bit mask of S0RETENTION field. | |
POWER_RAM_POWERSET_S0RETENTION = 0x10000 // Bit S0RETENTION. | |
POWER_RAM_POWERSET_S0RETENTION_On = 0x1 // On | |
POWER_RAM_POWERSET_S1RETENTION_Pos = 0x11 // Position of S1RETENTION field. | |
POWER_RAM_POWERSET_S1RETENTION_Msk = 0x20000 // Bit mask of S1RETENTION field. | |
POWER_RAM_POWERSET_S1RETENTION = 0x20000 // Bit S1RETENTION. | |
POWER_RAM_POWERSET_S1RETENTION_On = 0x1 // On | |
// RAM.POWERCLR: Description cluster[0]: RAM0 power control clear register | |
POWER_RAM_POWERCLR_S0POWER_Pos = 0x0 // Position of S0POWER field. | |
POWER_RAM_POWERCLR_S0POWER_Msk = 0x1 // Bit mask of S0POWER field. | |
POWER_RAM_POWERCLR_S0POWER = 0x1 // Bit S0POWER. | |
POWER_RAM_POWERCLR_S0POWER_Off = 0x1 // Off | |
POWER_RAM_POWERCLR_S1POWER_Pos = 0x1 // Position of S1POWER field. | |
POWER_RAM_POWERCLR_S1POWER_Msk = 0x2 // Bit mask of S1POWER field. | |
POWER_RAM_POWERCLR_S1POWER = 0x2 // Bit S1POWER. | |
POWER_RAM_POWERCLR_S1POWER_Off = 0x1 // Off | |
POWER_RAM_POWERCLR_S0RETENTION_Pos = 0x10 // Position of S0RETENTION field. | |
POWER_RAM_POWERCLR_S0RETENTION_Msk = 0x10000 // Bit mask of S0RETENTION field. | |
POWER_RAM_POWERCLR_S0RETENTION = 0x10000 // Bit S0RETENTION. | |
POWER_RAM_POWERCLR_S0RETENTION_Off = 0x1 // Off | |
POWER_RAM_POWERCLR_S1RETENTION_Pos = 0x11 // Position of S1RETENTION field. | |
POWER_RAM_POWERCLR_S1RETENTION_Msk = 0x20000 // Bit mask of S1RETENTION field. | |
POWER_RAM_POWERCLR_S1RETENTION = 0x20000 // Bit S1RETENTION. | |
POWER_RAM_POWERCLR_S1RETENTION_Off = 0x1 // Off | |
) | |
// Bitfields for CLOCK: Clock control | |
const ( | |
// INTENSET: Enable interrupt | |
CLOCK_INTENSET_HFCLKSTARTED_Pos = 0x0 // Position of HFCLKSTARTED field. | |
CLOCK_INTENSET_HFCLKSTARTED_Msk = 0x1 // Bit mask of HFCLKSTARTED field. | |
CLOCK_INTENSET_HFCLKSTARTED = 0x1 // Bit HFCLKSTARTED. | |
CLOCK_INTENSET_HFCLKSTARTED_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENSET_HFCLKSTARTED_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENSET_HFCLKSTARTED_Set = 0x1 // Enable | |
CLOCK_INTENSET_LFCLKSTARTED_Pos = 0x1 // Position of LFCLKSTARTED field. | |
CLOCK_INTENSET_LFCLKSTARTED_Msk = 0x2 // Bit mask of LFCLKSTARTED field. | |
CLOCK_INTENSET_LFCLKSTARTED = 0x2 // Bit LFCLKSTARTED. | |
CLOCK_INTENSET_LFCLKSTARTED_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENSET_LFCLKSTARTED_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENSET_LFCLKSTARTED_Set = 0x1 // Enable | |
CLOCK_INTENSET_DONE_Pos = 0x3 // Position of DONE field. | |
CLOCK_INTENSET_DONE_Msk = 0x8 // Bit mask of DONE field. | |
CLOCK_INTENSET_DONE = 0x8 // Bit DONE. | |
CLOCK_INTENSET_DONE_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENSET_DONE_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENSET_DONE_Set = 0x1 // Enable | |
CLOCK_INTENSET_CTTO_Pos = 0x4 // Position of CTTO field. | |
CLOCK_INTENSET_CTTO_Msk = 0x10 // Bit mask of CTTO field. | |
CLOCK_INTENSET_CTTO = 0x10 // Bit CTTO. | |
CLOCK_INTENSET_CTTO_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENSET_CTTO_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENSET_CTTO_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
CLOCK_INTENCLR_HFCLKSTARTED_Pos = 0x0 // Position of HFCLKSTARTED field. | |
CLOCK_INTENCLR_HFCLKSTARTED_Msk = 0x1 // Bit mask of HFCLKSTARTED field. | |
CLOCK_INTENCLR_HFCLKSTARTED = 0x1 // Bit HFCLKSTARTED. | |
CLOCK_INTENCLR_HFCLKSTARTED_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENCLR_HFCLKSTARTED_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENCLR_HFCLKSTARTED_Clear = 0x1 // Disable | |
CLOCK_INTENCLR_LFCLKSTARTED_Pos = 0x1 // Position of LFCLKSTARTED field. | |
CLOCK_INTENCLR_LFCLKSTARTED_Msk = 0x2 // Bit mask of LFCLKSTARTED field. | |
CLOCK_INTENCLR_LFCLKSTARTED = 0x2 // Bit LFCLKSTARTED. | |
CLOCK_INTENCLR_LFCLKSTARTED_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENCLR_LFCLKSTARTED_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENCLR_LFCLKSTARTED_Clear = 0x1 // Disable | |
CLOCK_INTENCLR_DONE_Pos = 0x3 // Position of DONE field. | |
CLOCK_INTENCLR_DONE_Msk = 0x8 // Bit mask of DONE field. | |
CLOCK_INTENCLR_DONE = 0x8 // Bit DONE. | |
CLOCK_INTENCLR_DONE_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENCLR_DONE_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENCLR_DONE_Clear = 0x1 // Disable | |
CLOCK_INTENCLR_CTTO_Pos = 0x4 // Position of CTTO field. | |
CLOCK_INTENCLR_CTTO_Msk = 0x10 // Bit mask of CTTO field. | |
CLOCK_INTENCLR_CTTO = 0x10 // Bit CTTO. | |
CLOCK_INTENCLR_CTTO_Disabled = 0x0 // Read: Disabled | |
CLOCK_INTENCLR_CTTO_Enabled = 0x1 // Read: Enabled | |
CLOCK_INTENCLR_CTTO_Clear = 0x1 // Disable | |
// HFCLKRUN: Status indicating that HFCLKSTART task has been triggered | |
CLOCK_HFCLKRUN_STATUS_Pos = 0x0 // Position of STATUS field. | |
CLOCK_HFCLKRUN_STATUS_Msk = 0x1 // Bit mask of STATUS field. | |
CLOCK_HFCLKRUN_STATUS = 0x1 // Bit STATUS. | |
CLOCK_HFCLKRUN_STATUS_NotTriggered = 0x0 // Task not triggered | |
CLOCK_HFCLKRUN_STATUS_Triggered = 0x1 // Task triggered | |
// HFCLKSTAT: HFCLK status | |
CLOCK_HFCLKSTAT_SRC_Pos = 0x0 // Position of SRC field. | |
CLOCK_HFCLKSTAT_SRC_Msk = 0x1 // Bit mask of SRC field. | |
CLOCK_HFCLKSTAT_SRC = 0x1 // Bit SRC. | |
CLOCK_HFCLKSTAT_SRC_RC = 0x0 // 64 MHz internal oscillator (HFINT) | |
CLOCK_HFCLKSTAT_SRC_Xtal = 0x1 // 64 MHz crystal oscillator (HFXO) | |
CLOCK_HFCLKSTAT_STATE_Pos = 0x10 // Position of STATE field. | |
CLOCK_HFCLKSTAT_STATE_Msk = 0x10000 // Bit mask of STATE field. | |
CLOCK_HFCLKSTAT_STATE = 0x10000 // Bit STATE. | |
CLOCK_HFCLKSTAT_STATE_NotRunning = 0x0 // HFCLK not running | |
CLOCK_HFCLKSTAT_STATE_Running = 0x1 // HFCLK running | |
// LFCLKRUN: Status indicating that LFCLKSTART task has been triggered | |
CLOCK_LFCLKRUN_STATUS_Pos = 0x0 // Position of STATUS field. | |
CLOCK_LFCLKRUN_STATUS_Msk = 0x1 // Bit mask of STATUS field. | |
CLOCK_LFCLKRUN_STATUS = 0x1 // Bit STATUS. | |
CLOCK_LFCLKRUN_STATUS_NotTriggered = 0x0 // Task not triggered | |
CLOCK_LFCLKRUN_STATUS_Triggered = 0x1 // Task triggered | |
// LFCLKSTAT: LFCLK status | |
CLOCK_LFCLKSTAT_SRC_Pos = 0x0 // Position of SRC field. | |
CLOCK_LFCLKSTAT_SRC_Msk = 0x3 // Bit mask of SRC field. | |
CLOCK_LFCLKSTAT_SRC_RC = 0x0 // 32.768 kHz RC oscillator | |
CLOCK_LFCLKSTAT_SRC_Xtal = 0x1 // 32.768 kHz crystal oscillator | |
CLOCK_LFCLKSTAT_SRC_Synth = 0x2 // 32.768 kHz synthesized from HFCLK | |
CLOCK_LFCLKSTAT_STATE_Pos = 0x10 // Position of STATE field. | |
CLOCK_LFCLKSTAT_STATE_Msk = 0x10000 // Bit mask of STATE field. | |
CLOCK_LFCLKSTAT_STATE = 0x10000 // Bit STATE. | |
CLOCK_LFCLKSTAT_STATE_NotRunning = 0x0 // LFCLK not running | |
CLOCK_LFCLKSTAT_STATE_Running = 0x1 // LFCLK running | |
// LFCLKSRCCOPY: Copy of LFCLKSRC register, set when LFCLKSTART task was triggered | |
CLOCK_LFCLKSRCCOPY_SRC_Pos = 0x0 // Position of SRC field. | |
CLOCK_LFCLKSRCCOPY_SRC_Msk = 0x3 // Bit mask of SRC field. | |
CLOCK_LFCLKSRCCOPY_SRC_RC = 0x0 // 32.768 kHz RC oscillator | |
CLOCK_LFCLKSRCCOPY_SRC_Xtal = 0x1 // 32.768 kHz crystal oscillator | |
CLOCK_LFCLKSRCCOPY_SRC_Synth = 0x2 // 32.768 kHz synthesized from HFCLK | |
// LFCLKSRC: Clock source for the LFCLK | |
CLOCK_LFCLKSRC_SRC_Pos = 0x0 // Position of SRC field. | |
CLOCK_LFCLKSRC_SRC_Msk = 0x3 // Bit mask of SRC field. | |
CLOCK_LFCLKSRC_SRC_RC = 0x0 // 32.768 kHz RC oscillator | |
CLOCK_LFCLKSRC_SRC_Xtal = 0x1 // 32.768 kHz crystal oscillator | |
CLOCK_LFCLKSRC_SRC_Synth = 0x2 // 32.768 kHz synthesized from HFCLK | |
CLOCK_LFCLKSRC_BYPASS_Pos = 0x10 // Position of BYPASS field. | |
CLOCK_LFCLKSRC_BYPASS_Msk = 0x10000 // Bit mask of BYPASS field. | |
CLOCK_LFCLKSRC_BYPASS = 0x10000 // Bit BYPASS. | |
CLOCK_LFCLKSRC_BYPASS_Disabled = 0x0 // Disable (use with Xtal or low-swing external source) | |
CLOCK_LFCLKSRC_BYPASS_Enabled = 0x1 // Enable (use with rail-to-rail external source) | |
CLOCK_LFCLKSRC_EXTERNAL_Pos = 0x11 // Position of EXTERNAL field. | |
CLOCK_LFCLKSRC_EXTERNAL_Msk = 0x20000 // Bit mask of EXTERNAL field. | |
CLOCK_LFCLKSRC_EXTERNAL = 0x20000 // Bit EXTERNAL. | |
CLOCK_LFCLKSRC_EXTERNAL_Disabled = 0x0 // Disable external source (use with Xtal) | |
CLOCK_LFCLKSRC_EXTERNAL_Enabled = 0x1 // Enable use of external source instead of Xtal (SRC needs to be set to Xtal) | |
// CTIV: Calibration timer interval | |
CLOCK_CTIV_CTIV_Pos = 0x0 // Position of CTIV field. | |
CLOCK_CTIV_CTIV_Msk = 0x7f // Bit mask of CTIV field. | |
// TRACECONFIG: Clocking options for the Trace Port debug interface | |
CLOCK_TRACECONFIG_TRACEPORTSPEED_Pos = 0x0 // Position of TRACEPORTSPEED field. | |
CLOCK_TRACECONFIG_TRACEPORTSPEED_Msk = 0x3 // Bit mask of TRACEPORTSPEED field. | |
CLOCK_TRACECONFIG_TRACEPORTSPEED_32MHz = 0x0 // 32 MHz Trace Port clock (TRACECLK = 16 MHz) | |
CLOCK_TRACECONFIG_TRACEPORTSPEED_16MHz = 0x1 // 16 MHz Trace Port clock (TRACECLK = 8 MHz) | |
CLOCK_TRACECONFIG_TRACEPORTSPEED_8MHz = 0x2 // 8 MHz Trace Port clock (TRACECLK = 4 MHz) | |
CLOCK_TRACECONFIG_TRACEPORTSPEED_4MHz = 0x3 // 4 MHz Trace Port clock (TRACECLK = 2 MHz) | |
CLOCK_TRACECONFIG_TRACEMUX_Pos = 0x10 // Position of TRACEMUX field. | |
CLOCK_TRACECONFIG_TRACEMUX_Msk = 0x30000 // Bit mask of TRACEMUX field. | |
CLOCK_TRACECONFIG_TRACEMUX_GPIO = 0x0 // GPIOs multiplexed onto all trace-pins | |
CLOCK_TRACECONFIG_TRACEMUX_Serial = 0x1 // SWO multiplexed onto P0.18, GPIO multiplexed onto other trace pins | |
CLOCK_TRACECONFIG_TRACEMUX_Parallel = 0x2 // TRACECLK and TRACEDATA multiplexed onto P0.20, P0.18, P0.16, P0.15 and P0.14. | |
) | |
// Bitfields for RADIO: 2.4 GHz Radio | |
const ( | |
// SHORTS: Shortcut register | |
RADIO_SHORTS_READY_START_Pos = 0x0 // Position of READY_START field. | |
RADIO_SHORTS_READY_START_Msk = 0x1 // Bit mask of READY_START field. | |
RADIO_SHORTS_READY_START = 0x1 // Bit READY_START. | |
RADIO_SHORTS_READY_START_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_READY_START_Enabled = 0x1 // Enable shortcut | |
RADIO_SHORTS_END_DISABLE_Pos = 0x1 // Position of END_DISABLE field. | |
RADIO_SHORTS_END_DISABLE_Msk = 0x2 // Bit mask of END_DISABLE field. | |
RADIO_SHORTS_END_DISABLE = 0x2 // Bit END_DISABLE. | |
RADIO_SHORTS_END_DISABLE_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_END_DISABLE_Enabled = 0x1 // Enable shortcut | |
RADIO_SHORTS_DISABLED_TXEN_Pos = 0x2 // Position of DISABLED_TXEN field. | |
RADIO_SHORTS_DISABLED_TXEN_Msk = 0x4 // Bit mask of DISABLED_TXEN field. | |
RADIO_SHORTS_DISABLED_TXEN = 0x4 // Bit DISABLED_TXEN. | |
RADIO_SHORTS_DISABLED_TXEN_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_DISABLED_TXEN_Enabled = 0x1 // Enable shortcut | |
RADIO_SHORTS_DISABLED_RXEN_Pos = 0x3 // Position of DISABLED_RXEN field. | |
RADIO_SHORTS_DISABLED_RXEN_Msk = 0x8 // Bit mask of DISABLED_RXEN field. | |
RADIO_SHORTS_DISABLED_RXEN = 0x8 // Bit DISABLED_RXEN. | |
RADIO_SHORTS_DISABLED_RXEN_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_DISABLED_RXEN_Enabled = 0x1 // Enable shortcut | |
RADIO_SHORTS_ADDRESS_RSSISTART_Pos = 0x4 // Position of ADDRESS_RSSISTART field. | |
RADIO_SHORTS_ADDRESS_RSSISTART_Msk = 0x10 // Bit mask of ADDRESS_RSSISTART field. | |
RADIO_SHORTS_ADDRESS_RSSISTART = 0x10 // Bit ADDRESS_RSSISTART. | |
RADIO_SHORTS_ADDRESS_RSSISTART_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_ADDRESS_RSSISTART_Enabled = 0x1 // Enable shortcut | |
RADIO_SHORTS_END_START_Pos = 0x5 // Position of END_START field. | |
RADIO_SHORTS_END_START_Msk = 0x20 // Bit mask of END_START field. | |
RADIO_SHORTS_END_START = 0x20 // Bit END_START. | |
RADIO_SHORTS_END_START_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_END_START_Enabled = 0x1 // Enable shortcut | |
RADIO_SHORTS_ADDRESS_BCSTART_Pos = 0x6 // Position of ADDRESS_BCSTART field. | |
RADIO_SHORTS_ADDRESS_BCSTART_Msk = 0x40 // Bit mask of ADDRESS_BCSTART field. | |
RADIO_SHORTS_ADDRESS_BCSTART = 0x40 // Bit ADDRESS_BCSTART. | |
RADIO_SHORTS_ADDRESS_BCSTART_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_ADDRESS_BCSTART_Enabled = 0x1 // Enable shortcut | |
RADIO_SHORTS_DISABLED_RSSISTOP_Pos = 0x8 // Position of DISABLED_RSSISTOP field. | |
RADIO_SHORTS_DISABLED_RSSISTOP_Msk = 0x100 // Bit mask of DISABLED_RSSISTOP field. | |
RADIO_SHORTS_DISABLED_RSSISTOP = 0x100 // Bit DISABLED_RSSISTOP. | |
RADIO_SHORTS_DISABLED_RSSISTOP_Disabled = 0x0 // Disable shortcut | |
RADIO_SHORTS_DISABLED_RSSISTOP_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
RADIO_INTENSET_READY_Pos = 0x0 // Position of READY field. | |
RADIO_INTENSET_READY_Msk = 0x1 // Bit mask of READY field. | |
RADIO_INTENSET_READY = 0x1 // Bit READY. | |
RADIO_INTENSET_READY_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_READY_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_READY_Set = 0x1 // Enable | |
RADIO_INTENSET_ADDRESS_Pos = 0x1 // Position of ADDRESS field. | |
RADIO_INTENSET_ADDRESS_Msk = 0x2 // Bit mask of ADDRESS field. | |
RADIO_INTENSET_ADDRESS = 0x2 // Bit ADDRESS. | |
RADIO_INTENSET_ADDRESS_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_ADDRESS_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_ADDRESS_Set = 0x1 // Enable | |
RADIO_INTENSET_PAYLOAD_Pos = 0x2 // Position of PAYLOAD field. | |
RADIO_INTENSET_PAYLOAD_Msk = 0x4 // Bit mask of PAYLOAD field. | |
RADIO_INTENSET_PAYLOAD = 0x4 // Bit PAYLOAD. | |
RADIO_INTENSET_PAYLOAD_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_PAYLOAD_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_PAYLOAD_Set = 0x1 // Enable | |
RADIO_INTENSET_END_Pos = 0x3 // Position of END field. | |
RADIO_INTENSET_END_Msk = 0x8 // Bit mask of END field. | |
RADIO_INTENSET_END = 0x8 // Bit END. | |
RADIO_INTENSET_END_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_END_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_END_Set = 0x1 // Enable | |
RADIO_INTENSET_DISABLED_Pos = 0x4 // Position of DISABLED field. | |
RADIO_INTENSET_DISABLED_Msk = 0x10 // Bit mask of DISABLED field. | |
RADIO_INTENSET_DISABLED = 0x10 // Bit DISABLED. | |
RADIO_INTENSET_DISABLED_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_DISABLED_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_DISABLED_Set = 0x1 // Enable | |
RADIO_INTENSET_DEVMATCH_Pos = 0x5 // Position of DEVMATCH field. | |
RADIO_INTENSET_DEVMATCH_Msk = 0x20 // Bit mask of DEVMATCH field. | |
RADIO_INTENSET_DEVMATCH = 0x20 // Bit DEVMATCH. | |
RADIO_INTENSET_DEVMATCH_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_DEVMATCH_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_DEVMATCH_Set = 0x1 // Enable | |
RADIO_INTENSET_DEVMISS_Pos = 0x6 // Position of DEVMISS field. | |
RADIO_INTENSET_DEVMISS_Msk = 0x40 // Bit mask of DEVMISS field. | |
RADIO_INTENSET_DEVMISS = 0x40 // Bit DEVMISS. | |
RADIO_INTENSET_DEVMISS_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_DEVMISS_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_DEVMISS_Set = 0x1 // Enable | |
RADIO_INTENSET_RSSIEND_Pos = 0x7 // Position of RSSIEND field. | |
RADIO_INTENSET_RSSIEND_Msk = 0x80 // Bit mask of RSSIEND field. | |
RADIO_INTENSET_RSSIEND = 0x80 // Bit RSSIEND. | |
RADIO_INTENSET_RSSIEND_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_RSSIEND_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_RSSIEND_Set = 0x1 // Enable | |
RADIO_INTENSET_BCMATCH_Pos = 0xa // Position of BCMATCH field. | |
RADIO_INTENSET_BCMATCH_Msk = 0x400 // Bit mask of BCMATCH field. | |
RADIO_INTENSET_BCMATCH = 0x400 // Bit BCMATCH. | |
RADIO_INTENSET_BCMATCH_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_BCMATCH_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_BCMATCH_Set = 0x1 // Enable | |
RADIO_INTENSET_CRCOK_Pos = 0xc // Position of CRCOK field. | |
RADIO_INTENSET_CRCOK_Msk = 0x1000 // Bit mask of CRCOK field. | |
RADIO_INTENSET_CRCOK = 0x1000 // Bit CRCOK. | |
RADIO_INTENSET_CRCOK_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_CRCOK_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_CRCOK_Set = 0x1 // Enable | |
RADIO_INTENSET_CRCERROR_Pos = 0xd // Position of CRCERROR field. | |
RADIO_INTENSET_CRCERROR_Msk = 0x2000 // Bit mask of CRCERROR field. | |
RADIO_INTENSET_CRCERROR = 0x2000 // Bit CRCERROR. | |
RADIO_INTENSET_CRCERROR_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENSET_CRCERROR_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENSET_CRCERROR_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
RADIO_INTENCLR_READY_Pos = 0x0 // Position of READY field. | |
RADIO_INTENCLR_READY_Msk = 0x1 // Bit mask of READY field. | |
RADIO_INTENCLR_READY = 0x1 // Bit READY. | |
RADIO_INTENCLR_READY_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_READY_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_READY_Clear = 0x1 // Disable | |
RADIO_INTENCLR_ADDRESS_Pos = 0x1 // Position of ADDRESS field. | |
RADIO_INTENCLR_ADDRESS_Msk = 0x2 // Bit mask of ADDRESS field. | |
RADIO_INTENCLR_ADDRESS = 0x2 // Bit ADDRESS. | |
RADIO_INTENCLR_ADDRESS_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_ADDRESS_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_ADDRESS_Clear = 0x1 // Disable | |
RADIO_INTENCLR_PAYLOAD_Pos = 0x2 // Position of PAYLOAD field. | |
RADIO_INTENCLR_PAYLOAD_Msk = 0x4 // Bit mask of PAYLOAD field. | |
RADIO_INTENCLR_PAYLOAD = 0x4 // Bit PAYLOAD. | |
RADIO_INTENCLR_PAYLOAD_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_PAYLOAD_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_PAYLOAD_Clear = 0x1 // Disable | |
RADIO_INTENCLR_END_Pos = 0x3 // Position of END field. | |
RADIO_INTENCLR_END_Msk = 0x8 // Bit mask of END field. | |
RADIO_INTENCLR_END = 0x8 // Bit END. | |
RADIO_INTENCLR_END_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_END_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_END_Clear = 0x1 // Disable | |
RADIO_INTENCLR_DISABLED_Pos = 0x4 // Position of DISABLED field. | |
RADIO_INTENCLR_DISABLED_Msk = 0x10 // Bit mask of DISABLED field. | |
RADIO_INTENCLR_DISABLED = 0x10 // Bit DISABLED. | |
RADIO_INTENCLR_DISABLED_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_DISABLED_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_DISABLED_Clear = 0x1 // Disable | |
RADIO_INTENCLR_DEVMATCH_Pos = 0x5 // Position of DEVMATCH field. | |
RADIO_INTENCLR_DEVMATCH_Msk = 0x20 // Bit mask of DEVMATCH field. | |
RADIO_INTENCLR_DEVMATCH = 0x20 // Bit DEVMATCH. | |
RADIO_INTENCLR_DEVMATCH_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_DEVMATCH_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_DEVMATCH_Clear = 0x1 // Disable | |
RADIO_INTENCLR_DEVMISS_Pos = 0x6 // Position of DEVMISS field. | |
RADIO_INTENCLR_DEVMISS_Msk = 0x40 // Bit mask of DEVMISS field. | |
RADIO_INTENCLR_DEVMISS = 0x40 // Bit DEVMISS. | |
RADIO_INTENCLR_DEVMISS_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_DEVMISS_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_DEVMISS_Clear = 0x1 // Disable | |
RADIO_INTENCLR_RSSIEND_Pos = 0x7 // Position of RSSIEND field. | |
RADIO_INTENCLR_RSSIEND_Msk = 0x80 // Bit mask of RSSIEND field. | |
RADIO_INTENCLR_RSSIEND = 0x80 // Bit RSSIEND. | |
RADIO_INTENCLR_RSSIEND_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_RSSIEND_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_RSSIEND_Clear = 0x1 // Disable | |
RADIO_INTENCLR_BCMATCH_Pos = 0xa // Position of BCMATCH field. | |
RADIO_INTENCLR_BCMATCH_Msk = 0x400 // Bit mask of BCMATCH field. | |
RADIO_INTENCLR_BCMATCH = 0x400 // Bit BCMATCH. | |
RADIO_INTENCLR_BCMATCH_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_BCMATCH_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_BCMATCH_Clear = 0x1 // Disable | |
RADIO_INTENCLR_CRCOK_Pos = 0xc // Position of CRCOK field. | |
RADIO_INTENCLR_CRCOK_Msk = 0x1000 // Bit mask of CRCOK field. | |
RADIO_INTENCLR_CRCOK = 0x1000 // Bit CRCOK. | |
RADIO_INTENCLR_CRCOK_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_CRCOK_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_CRCOK_Clear = 0x1 // Disable | |
RADIO_INTENCLR_CRCERROR_Pos = 0xd // Position of CRCERROR field. | |
RADIO_INTENCLR_CRCERROR_Msk = 0x2000 // Bit mask of CRCERROR field. | |
RADIO_INTENCLR_CRCERROR = 0x2000 // Bit CRCERROR. | |
RADIO_INTENCLR_CRCERROR_Disabled = 0x0 // Read: Disabled | |
RADIO_INTENCLR_CRCERROR_Enabled = 0x1 // Read: Enabled | |
RADIO_INTENCLR_CRCERROR_Clear = 0x1 // Disable | |
// CRCSTATUS: CRC status | |
RADIO_CRCSTATUS_CRCSTATUS_Pos = 0x0 // Position of CRCSTATUS field. | |
RADIO_CRCSTATUS_CRCSTATUS_Msk = 0x1 // Bit mask of CRCSTATUS field. | |
RADIO_CRCSTATUS_CRCSTATUS = 0x1 // Bit CRCSTATUS. | |
RADIO_CRCSTATUS_CRCSTATUS_CRCError = 0x0 // Packet received with CRC error | |
RADIO_CRCSTATUS_CRCSTATUS_CRCOk = 0x1 // Packet received with CRC ok | |
// RXMATCH: Received address | |
RADIO_RXMATCH_RXMATCH_Pos = 0x0 // Position of RXMATCH field. | |
RADIO_RXMATCH_RXMATCH_Msk = 0x7 // Bit mask of RXMATCH field. | |
// RXCRC: CRC field of previously received packet | |
RADIO_RXCRC_RXCRC_Pos = 0x0 // Position of RXCRC field. | |
RADIO_RXCRC_RXCRC_Msk = 0xffffff // Bit mask of RXCRC field. | |
// DAI: Device address match index | |
RADIO_DAI_DAI_Pos = 0x0 // Position of DAI field. | |
RADIO_DAI_DAI_Msk = 0x7 // Bit mask of DAI field. | |
// PACKETPTR: Packet pointer | |
RADIO_PACKETPTR_PACKETPTR_Pos = 0x0 // Position of PACKETPTR field. | |
RADIO_PACKETPTR_PACKETPTR_Msk = 0xffffffff // Bit mask of PACKETPTR field. | |
// FREQUENCY: Frequency | |
RADIO_FREQUENCY_FREQUENCY_Pos = 0x0 // Position of FREQUENCY field. | |
RADIO_FREQUENCY_FREQUENCY_Msk = 0x7f // Bit mask of FREQUENCY field. | |
RADIO_FREQUENCY_MAP_Pos = 0x8 // Position of MAP field. | |
RADIO_FREQUENCY_MAP_Msk = 0x100 // Bit mask of MAP field. | |
RADIO_FREQUENCY_MAP = 0x100 // Bit MAP. | |
RADIO_FREQUENCY_MAP_Default = 0x0 // Channel map between 2400 MHZ .. 2500 MHz | |
RADIO_FREQUENCY_MAP_Low = 0x1 // Channel map between 2360 MHZ .. 2460 MHz | |
// TXPOWER: Output power | |
RADIO_TXPOWER_TXPOWER_Pos = 0x0 // Position of TXPOWER field. | |
RADIO_TXPOWER_TXPOWER_Msk = 0xff // Bit mask of TXPOWER field. | |
RADIO_TXPOWER_TXPOWER_Pos4dBm = 0x4 // +4 dBm | |
RADIO_TXPOWER_TXPOWER_Pos3dBm = 0x3 // +3 dBm | |
RADIO_TXPOWER_TXPOWER_0dBm = 0x0 // 0 dBm | |
RADIO_TXPOWER_TXPOWER_Neg4dBm = 0xfc // -4 dBm | |
RADIO_TXPOWER_TXPOWER_Neg8dBm = 0xf8 // -8 dBm | |
RADIO_TXPOWER_TXPOWER_Neg12dBm = 0xf4 // -12 dBm | |
RADIO_TXPOWER_TXPOWER_Neg16dBm = 0xf0 // -16 dBm | |
RADIO_TXPOWER_TXPOWER_Neg20dBm = 0xec // -20 dBm | |
RADIO_TXPOWER_TXPOWER_Neg30dBm = 0xff // Deprecated enumerator - -40 dBm | |
RADIO_TXPOWER_TXPOWER_Neg40dBm = 0xd8 // -40 dBm | |
// MODE: Data rate and modulation | |
RADIO_MODE_MODE_Pos = 0x0 // Position of MODE field. | |
RADIO_MODE_MODE_Msk = 0xf // Bit mask of MODE field. | |
RADIO_MODE_MODE_Nrf_1Mbit = 0x0 // 1 Mbit/s Nordic proprietary radio mode | |
RADIO_MODE_MODE_Nrf_2Mbit = 0x1 // 2 Mbit/s Nordic proprietary radio mode | |
RADIO_MODE_MODE_Nrf_250Kbit = 0x2 // Deprecated enumerator - 250 kbit/s Nordic proprietary radio mode | |
RADIO_MODE_MODE_Ble_1Mbit = 0x3 // 1 Mbit/s Bluetooth Low Energy | |
RADIO_MODE_MODE_Ble_2Mbit = 0x4 // 2 Mbit/s Bluetooth Low Energy | |
// PCNF0: Packet configuration register 0 | |
RADIO_PCNF0_LFLEN_Pos = 0x0 // Position of LFLEN field. | |
RADIO_PCNF0_LFLEN_Msk = 0xf // Bit mask of LFLEN field. | |
RADIO_PCNF0_S0LEN_Pos = 0x8 // Position of S0LEN field. | |
RADIO_PCNF0_S0LEN_Msk = 0x100 // Bit mask of S0LEN field. | |
RADIO_PCNF0_S0LEN = 0x100 // Bit S0LEN. | |
RADIO_PCNF0_S1LEN_Pos = 0x10 // Position of S1LEN field. | |
RADIO_PCNF0_S1LEN_Msk = 0xf0000 // Bit mask of S1LEN field. | |
RADIO_PCNF0_S1INCL_Pos = 0x14 // Position of S1INCL field. | |
RADIO_PCNF0_S1INCL_Msk = 0x100000 // Bit mask of S1INCL field. | |
RADIO_PCNF0_S1INCL = 0x100000 // Bit S1INCL. | |
RADIO_PCNF0_S1INCL_Automatic = 0x0 // Include S1 field in RAM only if S1LEN > 0 | |
RADIO_PCNF0_S1INCL_Include = 0x1 // Always include S1 field in RAM independent of S1LEN | |
RADIO_PCNF0_PLEN_Pos = 0x18 // Position of PLEN field. | |
RADIO_PCNF0_PLEN_Msk = 0x1000000 // Bit mask of PLEN field. | |
RADIO_PCNF0_PLEN = 0x1000000 // Bit PLEN. | |
RADIO_PCNF0_PLEN_8bit = 0x0 // 8-bit preamble | |
RADIO_PCNF0_PLEN_16bit = 0x1 // 16-bit preamble | |
// PCNF1: Packet configuration register 1 | |
RADIO_PCNF1_MAXLEN_Pos = 0x0 // Position of MAXLEN field. | |
RADIO_PCNF1_MAXLEN_Msk = 0xff // Bit mask of MAXLEN field. | |
RADIO_PCNF1_STATLEN_Pos = 0x8 // Position of STATLEN field. | |
RADIO_PCNF1_STATLEN_Msk = 0xff00 // Bit mask of STATLEN field. | |
RADIO_PCNF1_BALEN_Pos = 0x10 // Position of BALEN field. | |
RADIO_PCNF1_BALEN_Msk = 0x70000 // Bit mask of BALEN field. | |
RADIO_PCNF1_ENDIAN_Pos = 0x18 // Position of ENDIAN field. | |
RADIO_PCNF1_ENDIAN_Msk = 0x1000000 // Bit mask of ENDIAN field. | |
RADIO_PCNF1_ENDIAN = 0x1000000 // Bit ENDIAN. | |
RADIO_PCNF1_ENDIAN_Little = 0x0 // Least Significant bit on air first | |
RADIO_PCNF1_ENDIAN_Big = 0x1 // Most significant bit on air first | |
RADIO_PCNF1_WHITEEN_Pos = 0x19 // Position of WHITEEN field. | |
RADIO_PCNF1_WHITEEN_Msk = 0x2000000 // Bit mask of WHITEEN field. | |
RADIO_PCNF1_WHITEEN = 0x2000000 // Bit WHITEEN. | |
RADIO_PCNF1_WHITEEN_Disabled = 0x0 // Disable | |
RADIO_PCNF1_WHITEEN_Enabled = 0x1 // Enable | |
// BASE0: Base address 0 | |
RADIO_BASE0_BASE0_Pos = 0x0 // Position of BASE0 field. | |
RADIO_BASE0_BASE0_Msk = 0xffffffff // Bit mask of BASE0 field. | |
// BASE1: Base address 1 | |
RADIO_BASE1_BASE1_Pos = 0x0 // Position of BASE1 field. | |
RADIO_BASE1_BASE1_Msk = 0xffffffff // Bit mask of BASE1 field. | |
// PREFIX0: Prefixes bytes for logical addresses 0-3 | |
RADIO_PREFIX0_AP0_Pos = 0x0 // Position of AP0 field. | |
RADIO_PREFIX0_AP0_Msk = 0xff // Bit mask of AP0 field. | |
RADIO_PREFIX0_AP1_Pos = 0x8 // Position of AP1 field. | |
RADIO_PREFIX0_AP1_Msk = 0xff00 // Bit mask of AP1 field. | |
RADIO_PREFIX0_AP2_Pos = 0x10 // Position of AP2 field. | |
RADIO_PREFIX0_AP2_Msk = 0xff0000 // Bit mask of AP2 field. | |
RADIO_PREFIX0_AP3_Pos = 0x18 // Position of AP3 field. | |
RADIO_PREFIX0_AP3_Msk = 0xff000000 // Bit mask of AP3 field. | |
// PREFIX1: Prefixes bytes for logical addresses 4-7 | |
RADIO_PREFIX1_AP4_Pos = 0x0 // Position of AP4 field. | |
RADIO_PREFIX1_AP4_Msk = 0xff // Bit mask of AP4 field. | |
RADIO_PREFIX1_AP5_Pos = 0x8 // Position of AP5 field. | |
RADIO_PREFIX1_AP5_Msk = 0xff00 // Bit mask of AP5 field. | |
RADIO_PREFIX1_AP6_Pos = 0x10 // Position of AP6 field. | |
RADIO_PREFIX1_AP6_Msk = 0xff0000 // Bit mask of AP6 field. | |
RADIO_PREFIX1_AP7_Pos = 0x18 // Position of AP7 field. | |
RADIO_PREFIX1_AP7_Msk = 0xff000000 // Bit mask of AP7 field. | |
// TXADDRESS: Transmit address select | |
RADIO_TXADDRESS_TXADDRESS_Pos = 0x0 // Position of TXADDRESS field. | |
RADIO_TXADDRESS_TXADDRESS_Msk = 0x7 // Bit mask of TXADDRESS field. | |
// RXADDRESSES: Receive address select | |
RADIO_RXADDRESSES_ADDR0_Pos = 0x0 // Position of ADDR0 field. | |
RADIO_RXADDRESSES_ADDR0_Msk = 0x1 // Bit mask of ADDR0 field. | |
RADIO_RXADDRESSES_ADDR0 = 0x1 // Bit ADDR0. | |
RADIO_RXADDRESSES_ADDR0_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR0_Enabled = 0x1 // Enable | |
RADIO_RXADDRESSES_ADDR1_Pos = 0x1 // Position of ADDR1 field. | |
RADIO_RXADDRESSES_ADDR1_Msk = 0x2 // Bit mask of ADDR1 field. | |
RADIO_RXADDRESSES_ADDR1 = 0x2 // Bit ADDR1. | |
RADIO_RXADDRESSES_ADDR1_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR1_Enabled = 0x1 // Enable | |
RADIO_RXADDRESSES_ADDR2_Pos = 0x2 // Position of ADDR2 field. | |
RADIO_RXADDRESSES_ADDR2_Msk = 0x4 // Bit mask of ADDR2 field. | |
RADIO_RXADDRESSES_ADDR2 = 0x4 // Bit ADDR2. | |
RADIO_RXADDRESSES_ADDR2_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR2_Enabled = 0x1 // Enable | |
RADIO_RXADDRESSES_ADDR3_Pos = 0x3 // Position of ADDR3 field. | |
RADIO_RXADDRESSES_ADDR3_Msk = 0x8 // Bit mask of ADDR3 field. | |
RADIO_RXADDRESSES_ADDR3 = 0x8 // Bit ADDR3. | |
RADIO_RXADDRESSES_ADDR3_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR3_Enabled = 0x1 // Enable | |
RADIO_RXADDRESSES_ADDR4_Pos = 0x4 // Position of ADDR4 field. | |
RADIO_RXADDRESSES_ADDR4_Msk = 0x10 // Bit mask of ADDR4 field. | |
RADIO_RXADDRESSES_ADDR4 = 0x10 // Bit ADDR4. | |
RADIO_RXADDRESSES_ADDR4_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR4_Enabled = 0x1 // Enable | |
RADIO_RXADDRESSES_ADDR5_Pos = 0x5 // Position of ADDR5 field. | |
RADIO_RXADDRESSES_ADDR5_Msk = 0x20 // Bit mask of ADDR5 field. | |
RADIO_RXADDRESSES_ADDR5 = 0x20 // Bit ADDR5. | |
RADIO_RXADDRESSES_ADDR5_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR5_Enabled = 0x1 // Enable | |
RADIO_RXADDRESSES_ADDR6_Pos = 0x6 // Position of ADDR6 field. | |
RADIO_RXADDRESSES_ADDR6_Msk = 0x40 // Bit mask of ADDR6 field. | |
RADIO_RXADDRESSES_ADDR6 = 0x40 // Bit ADDR6. | |
RADIO_RXADDRESSES_ADDR6_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR6_Enabled = 0x1 // Enable | |
RADIO_RXADDRESSES_ADDR7_Pos = 0x7 // Position of ADDR7 field. | |
RADIO_RXADDRESSES_ADDR7_Msk = 0x80 // Bit mask of ADDR7 field. | |
RADIO_RXADDRESSES_ADDR7 = 0x80 // Bit ADDR7. | |
RADIO_RXADDRESSES_ADDR7_Disabled = 0x0 // Disable | |
RADIO_RXADDRESSES_ADDR7_Enabled = 0x1 // Enable | |
// CRCCNF: CRC configuration | |
RADIO_CRCCNF_LEN_Pos = 0x0 // Position of LEN field. | |
RADIO_CRCCNF_LEN_Msk = 0x3 // Bit mask of LEN field. | |
RADIO_CRCCNF_LEN_Disabled = 0x0 // CRC length is zero and CRC calculation is disabled | |
RADIO_CRCCNF_LEN_One = 0x1 // CRC length is one byte and CRC calculation is enabled | |
RADIO_CRCCNF_LEN_Two = 0x2 // CRC length is two bytes and CRC calculation is enabled | |
RADIO_CRCCNF_LEN_Three = 0x3 // CRC length is three bytes and CRC calculation is enabled | |
RADIO_CRCCNF_SKIPADDR_Pos = 0x8 // Position of SKIPADDR field. | |
RADIO_CRCCNF_SKIPADDR_Msk = 0x100 // Bit mask of SKIPADDR field. | |
RADIO_CRCCNF_SKIPADDR = 0x100 // Bit SKIPADDR. | |
RADIO_CRCCNF_SKIPADDR_Include = 0x0 // CRC calculation includes address field | |
RADIO_CRCCNF_SKIPADDR_Skip = 0x1 // CRC calculation does not include address field. The CRC calculation will start at the first byte after the address. | |
// CRCPOLY: CRC polynomial | |
RADIO_CRCPOLY_CRCPOLY_Pos = 0x0 // Position of CRCPOLY field. | |
RADIO_CRCPOLY_CRCPOLY_Msk = 0xffffff // Bit mask of CRCPOLY field. | |
// CRCINIT: CRC initial value | |
RADIO_CRCINIT_CRCINIT_Pos = 0x0 // Position of CRCINIT field. | |
RADIO_CRCINIT_CRCINIT_Msk = 0xffffff // Bit mask of CRCINIT field. | |
// TIFS: Inter Frame Spacing in us | |
RADIO_TIFS_TIFS_Pos = 0x0 // Position of TIFS field. | |
RADIO_TIFS_TIFS_Msk = 0xff // Bit mask of TIFS field. | |
// RSSISAMPLE: RSSI sample | |
RADIO_RSSISAMPLE_RSSISAMPLE_Pos = 0x0 // Position of RSSISAMPLE field. | |
RADIO_RSSISAMPLE_RSSISAMPLE_Msk = 0x7f // Bit mask of RSSISAMPLE field. | |
// STATE: Current radio state | |
RADIO_STATE_STATE_Pos = 0x0 // Position of STATE field. | |
RADIO_STATE_STATE_Msk = 0xf // Bit mask of STATE field. | |
RADIO_STATE_STATE_Disabled = 0x0 // RADIO is in the Disabled state | |
RADIO_STATE_STATE_RxRu = 0x1 // RADIO is in the RXRU state | |
RADIO_STATE_STATE_RxIdle = 0x2 // RADIO is in the RXIDLE state | |
RADIO_STATE_STATE_Rx = 0x3 // RADIO is in the RX state | |
RADIO_STATE_STATE_RxDisable = 0x4 // RADIO is in the RXDISABLED state | |
RADIO_STATE_STATE_TxRu = 0x9 // RADIO is in the TXRU state | |
RADIO_STATE_STATE_TxIdle = 0xa // RADIO is in the TXIDLE state | |
RADIO_STATE_STATE_Tx = 0xb // RADIO is in the TX state | |
RADIO_STATE_STATE_TxDisable = 0xc // RADIO is in the TXDISABLED state | |
// DATAWHITEIV: Data whitening initial value | |
RADIO_DATAWHITEIV_DATAWHITEIV_Pos = 0x0 // Position of DATAWHITEIV field. | |
RADIO_DATAWHITEIV_DATAWHITEIV_Msk = 0x7f // Bit mask of DATAWHITEIV field. | |
// BCC: Bit counter compare | |
RADIO_BCC_BCC_Pos = 0x0 // Position of BCC field. | |
RADIO_BCC_BCC_Msk = 0xffffffff // Bit mask of BCC field. | |
// DAB: Description collection[0]: Device address base segment 0 | |
RADIO_DAB_DAB_Pos = 0x0 // Position of DAB field. | |
RADIO_DAB_DAB_Msk = 0xffffffff // Bit mask of DAB field. | |
// DAP: Description collection[0]: Device address prefix 0 | |
RADIO_DAP_DAP_Pos = 0x0 // Position of DAP field. | |
RADIO_DAP_DAP_Msk = 0xffff // Bit mask of DAP field. | |
// DACNF: Device address match configuration | |
RADIO_DACNF_ENA0_Pos = 0x0 // Position of ENA0 field. | |
RADIO_DACNF_ENA0_Msk = 0x1 // Bit mask of ENA0 field. | |
RADIO_DACNF_ENA0 = 0x1 // Bit ENA0. | |
RADIO_DACNF_ENA0_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA0_Enabled = 0x1 // Enabled | |
RADIO_DACNF_ENA1_Pos = 0x1 // Position of ENA1 field. | |
RADIO_DACNF_ENA1_Msk = 0x2 // Bit mask of ENA1 field. | |
RADIO_DACNF_ENA1 = 0x2 // Bit ENA1. | |
RADIO_DACNF_ENA1_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA1_Enabled = 0x1 // Enabled | |
RADIO_DACNF_ENA2_Pos = 0x2 // Position of ENA2 field. | |
RADIO_DACNF_ENA2_Msk = 0x4 // Bit mask of ENA2 field. | |
RADIO_DACNF_ENA2 = 0x4 // Bit ENA2. | |
RADIO_DACNF_ENA2_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA2_Enabled = 0x1 // Enabled | |
RADIO_DACNF_ENA3_Pos = 0x3 // Position of ENA3 field. | |
RADIO_DACNF_ENA3_Msk = 0x8 // Bit mask of ENA3 field. | |
RADIO_DACNF_ENA3 = 0x8 // Bit ENA3. | |
RADIO_DACNF_ENA3_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA3_Enabled = 0x1 // Enabled | |
RADIO_DACNF_ENA4_Pos = 0x4 // Position of ENA4 field. | |
RADIO_DACNF_ENA4_Msk = 0x10 // Bit mask of ENA4 field. | |
RADIO_DACNF_ENA4 = 0x10 // Bit ENA4. | |
RADIO_DACNF_ENA4_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA4_Enabled = 0x1 // Enabled | |
RADIO_DACNF_ENA5_Pos = 0x5 // Position of ENA5 field. | |
RADIO_DACNF_ENA5_Msk = 0x20 // Bit mask of ENA5 field. | |
RADIO_DACNF_ENA5 = 0x20 // Bit ENA5. | |
RADIO_DACNF_ENA5_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA5_Enabled = 0x1 // Enabled | |
RADIO_DACNF_ENA6_Pos = 0x6 // Position of ENA6 field. | |
RADIO_DACNF_ENA6_Msk = 0x40 // Bit mask of ENA6 field. | |
RADIO_DACNF_ENA6 = 0x40 // Bit ENA6. | |
RADIO_DACNF_ENA6_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA6_Enabled = 0x1 // Enabled | |
RADIO_DACNF_ENA7_Pos = 0x7 // Position of ENA7 field. | |
RADIO_DACNF_ENA7_Msk = 0x80 // Bit mask of ENA7 field. | |
RADIO_DACNF_ENA7 = 0x80 // Bit ENA7. | |
RADIO_DACNF_ENA7_Disabled = 0x0 // Disabled | |
RADIO_DACNF_ENA7_Enabled = 0x1 // Enabled | |
RADIO_DACNF_TXADD0_Pos = 0x8 // Position of TXADD0 field. | |
RADIO_DACNF_TXADD0_Msk = 0x100 // Bit mask of TXADD0 field. | |
RADIO_DACNF_TXADD0 = 0x100 // Bit TXADD0. | |
RADIO_DACNF_TXADD1_Pos = 0x9 // Position of TXADD1 field. | |
RADIO_DACNF_TXADD1_Msk = 0x200 // Bit mask of TXADD1 field. | |
RADIO_DACNF_TXADD1 = 0x200 // Bit TXADD1. | |
RADIO_DACNF_TXADD2_Pos = 0xa // Position of TXADD2 field. | |
RADIO_DACNF_TXADD2_Msk = 0x400 // Bit mask of TXADD2 field. | |
RADIO_DACNF_TXADD2 = 0x400 // Bit TXADD2. | |
RADIO_DACNF_TXADD3_Pos = 0xb // Position of TXADD3 field. | |
RADIO_DACNF_TXADD3_Msk = 0x800 // Bit mask of TXADD3 field. | |
RADIO_DACNF_TXADD3 = 0x800 // Bit TXADD3. | |
RADIO_DACNF_TXADD4_Pos = 0xc // Position of TXADD4 field. | |
RADIO_DACNF_TXADD4_Msk = 0x1000 // Bit mask of TXADD4 field. | |
RADIO_DACNF_TXADD4 = 0x1000 // Bit TXADD4. | |
RADIO_DACNF_TXADD5_Pos = 0xd // Position of TXADD5 field. | |
RADIO_DACNF_TXADD5_Msk = 0x2000 // Bit mask of TXADD5 field. | |
RADIO_DACNF_TXADD5 = 0x2000 // Bit TXADD5. | |
RADIO_DACNF_TXADD6_Pos = 0xe // Position of TXADD6 field. | |
RADIO_DACNF_TXADD6_Msk = 0x4000 // Bit mask of TXADD6 field. | |
RADIO_DACNF_TXADD6 = 0x4000 // Bit TXADD6. | |
RADIO_DACNF_TXADD7_Pos = 0xf // Position of TXADD7 field. | |
RADIO_DACNF_TXADD7_Msk = 0x8000 // Bit mask of TXADD7 field. | |
RADIO_DACNF_TXADD7 = 0x8000 // Bit TXADD7. | |
// MODECNF0: Radio mode configuration register 0 | |
RADIO_MODECNF0_RU_Pos = 0x0 // Position of RU field. | |
RADIO_MODECNF0_RU_Msk = 0x1 // Bit mask of RU field. | |
RADIO_MODECNF0_RU = 0x1 // Bit RU. | |
RADIO_MODECNF0_RU_Default = 0x0 // Default ramp-up time (tRXEN), compatible with firmware written for nRF51 | |
RADIO_MODECNF0_RU_Fast = 0x1 // Fast ramp-up (tRXEN,FAST), see electrical specification for more information | |
RADIO_MODECNF0_DTX_Pos = 0x8 // Position of DTX field. | |
RADIO_MODECNF0_DTX_Msk = 0x300 // Bit mask of DTX field. | |
RADIO_MODECNF0_DTX_B1 = 0x0 // Transmit '1' | |
RADIO_MODECNF0_DTX_B0 = 0x1 // Transmit '0' | |
RADIO_MODECNF0_DTX_Center = 0x2 // Transmit center frequency | |
// POWER: Peripheral power control | |
RADIO_POWER_POWER_Pos = 0x0 // Position of POWER field. | |
RADIO_POWER_POWER_Msk = 0x1 // Bit mask of POWER field. | |
RADIO_POWER_POWER = 0x1 // Bit POWER. | |
RADIO_POWER_POWER_Disabled = 0x0 // Peripheral is powered off | |
RADIO_POWER_POWER_Enabled = 0x1 // Peripheral is powered on | |
) | |
// Bitfields for UARTE0: UART with EasyDMA | |
const ( | |
// SHORTS: Shortcut register | |
UARTE_SHORTS_ENDRX_STARTRX_Pos = 0x5 // Position of ENDRX_STARTRX field. | |
UARTE_SHORTS_ENDRX_STARTRX_Msk = 0x20 // Bit mask of ENDRX_STARTRX field. | |
UARTE_SHORTS_ENDRX_STARTRX = 0x20 // Bit ENDRX_STARTRX. | |
UARTE_SHORTS_ENDRX_STARTRX_Disabled = 0x0 // Disable shortcut | |
UARTE_SHORTS_ENDRX_STARTRX_Enabled = 0x1 // Enable shortcut | |
UARTE_SHORTS_ENDRX_STOPRX_Pos = 0x6 // Position of ENDRX_STOPRX field. | |
UARTE_SHORTS_ENDRX_STOPRX_Msk = 0x40 // Bit mask of ENDRX_STOPRX field. | |
UARTE_SHORTS_ENDRX_STOPRX = 0x40 // Bit ENDRX_STOPRX. | |
UARTE_SHORTS_ENDRX_STOPRX_Disabled = 0x0 // Disable shortcut | |
UARTE_SHORTS_ENDRX_STOPRX_Enabled = 0x1 // Enable shortcut | |
// INTEN: Enable or disable interrupt | |
UARTE_INTEN_CTS_Pos = 0x0 // Position of CTS field. | |
UARTE_INTEN_CTS_Msk = 0x1 // Bit mask of CTS field. | |
UARTE_INTEN_CTS = 0x1 // Bit CTS. | |
UARTE_INTEN_CTS_Disabled = 0x0 // Disable | |
UARTE_INTEN_CTS_Enabled = 0x1 // Enable | |
UARTE_INTEN_NCTS_Pos = 0x1 // Position of NCTS field. | |
UARTE_INTEN_NCTS_Msk = 0x2 // Bit mask of NCTS field. | |
UARTE_INTEN_NCTS = 0x2 // Bit NCTS. | |
UARTE_INTEN_NCTS_Disabled = 0x0 // Disable | |
UARTE_INTEN_NCTS_Enabled = 0x1 // Enable | |
UARTE_INTEN_RXDRDY_Pos = 0x2 // Position of RXDRDY field. | |
UARTE_INTEN_RXDRDY_Msk = 0x4 // Bit mask of RXDRDY field. | |
UARTE_INTEN_RXDRDY = 0x4 // Bit RXDRDY. | |
UARTE_INTEN_RXDRDY_Disabled = 0x0 // Disable | |
UARTE_INTEN_RXDRDY_Enabled = 0x1 // Enable | |
UARTE_INTEN_ENDRX_Pos = 0x4 // Position of ENDRX field. | |
UARTE_INTEN_ENDRX_Msk = 0x10 // Bit mask of ENDRX field. | |
UARTE_INTEN_ENDRX = 0x10 // Bit ENDRX. | |
UARTE_INTEN_ENDRX_Disabled = 0x0 // Disable | |
UARTE_INTEN_ENDRX_Enabled = 0x1 // Enable | |
UARTE_INTEN_TXDRDY_Pos = 0x7 // Position of TXDRDY field. | |
UARTE_INTEN_TXDRDY_Msk = 0x80 // Bit mask of TXDRDY field. | |
UARTE_INTEN_TXDRDY = 0x80 // Bit TXDRDY. | |
UARTE_INTEN_TXDRDY_Disabled = 0x0 // Disable | |
UARTE_INTEN_TXDRDY_Enabled = 0x1 // Enable | |
UARTE_INTEN_ENDTX_Pos = 0x8 // Position of ENDTX field. | |
UARTE_INTEN_ENDTX_Msk = 0x100 // Bit mask of ENDTX field. | |
UARTE_INTEN_ENDTX = 0x100 // Bit ENDTX. | |
UARTE_INTEN_ENDTX_Disabled = 0x0 // Disable | |
UARTE_INTEN_ENDTX_Enabled = 0x1 // Enable | |
UARTE_INTEN_ERROR_Pos = 0x9 // Position of ERROR field. | |
UARTE_INTEN_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
UARTE_INTEN_ERROR = 0x200 // Bit ERROR. | |
UARTE_INTEN_ERROR_Disabled = 0x0 // Disable | |
UARTE_INTEN_ERROR_Enabled = 0x1 // Enable | |
UARTE_INTEN_RXTO_Pos = 0x11 // Position of RXTO field. | |
UARTE_INTEN_RXTO_Msk = 0x20000 // Bit mask of RXTO field. | |
UARTE_INTEN_RXTO = 0x20000 // Bit RXTO. | |
UARTE_INTEN_RXTO_Disabled = 0x0 // Disable | |
UARTE_INTEN_RXTO_Enabled = 0x1 // Enable | |
UARTE_INTEN_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
UARTE_INTEN_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
UARTE_INTEN_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
UARTE_INTEN_RXSTARTED_Disabled = 0x0 // Disable | |
UARTE_INTEN_RXSTARTED_Enabled = 0x1 // Enable | |
UARTE_INTEN_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
UARTE_INTEN_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
UARTE_INTEN_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
UARTE_INTEN_TXSTARTED_Disabled = 0x0 // Disable | |
UARTE_INTEN_TXSTARTED_Enabled = 0x1 // Enable | |
UARTE_INTEN_TXSTOPPED_Pos = 0x16 // Position of TXSTOPPED field. | |
UARTE_INTEN_TXSTOPPED_Msk = 0x400000 // Bit mask of TXSTOPPED field. | |
UARTE_INTEN_TXSTOPPED = 0x400000 // Bit TXSTOPPED. | |
UARTE_INTEN_TXSTOPPED_Disabled = 0x0 // Disable | |
UARTE_INTEN_TXSTOPPED_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
UARTE_INTENSET_CTS_Pos = 0x0 // Position of CTS field. | |
UARTE_INTENSET_CTS_Msk = 0x1 // Bit mask of CTS field. | |
UARTE_INTENSET_CTS = 0x1 // Bit CTS. | |
UARTE_INTENSET_CTS_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_CTS_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_CTS_Set = 0x1 // Enable | |
UARTE_INTENSET_NCTS_Pos = 0x1 // Position of NCTS field. | |
UARTE_INTENSET_NCTS_Msk = 0x2 // Bit mask of NCTS field. | |
UARTE_INTENSET_NCTS = 0x2 // Bit NCTS. | |
UARTE_INTENSET_NCTS_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_NCTS_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_NCTS_Set = 0x1 // Enable | |
UARTE_INTENSET_RXDRDY_Pos = 0x2 // Position of RXDRDY field. | |
UARTE_INTENSET_RXDRDY_Msk = 0x4 // Bit mask of RXDRDY field. | |
UARTE_INTENSET_RXDRDY = 0x4 // Bit RXDRDY. | |
UARTE_INTENSET_RXDRDY_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_RXDRDY_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_RXDRDY_Set = 0x1 // Enable | |
UARTE_INTENSET_ENDRX_Pos = 0x4 // Position of ENDRX field. | |
UARTE_INTENSET_ENDRX_Msk = 0x10 // Bit mask of ENDRX field. | |
UARTE_INTENSET_ENDRX = 0x10 // Bit ENDRX. | |
UARTE_INTENSET_ENDRX_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_ENDRX_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_ENDRX_Set = 0x1 // Enable | |
UARTE_INTENSET_TXDRDY_Pos = 0x7 // Position of TXDRDY field. | |
UARTE_INTENSET_TXDRDY_Msk = 0x80 // Bit mask of TXDRDY field. | |
UARTE_INTENSET_TXDRDY = 0x80 // Bit TXDRDY. | |
UARTE_INTENSET_TXDRDY_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_TXDRDY_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_TXDRDY_Set = 0x1 // Enable | |
UARTE_INTENSET_ENDTX_Pos = 0x8 // Position of ENDTX field. | |
UARTE_INTENSET_ENDTX_Msk = 0x100 // Bit mask of ENDTX field. | |
UARTE_INTENSET_ENDTX = 0x100 // Bit ENDTX. | |
UARTE_INTENSET_ENDTX_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_ENDTX_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_ENDTX_Set = 0x1 // Enable | |
UARTE_INTENSET_ERROR_Pos = 0x9 // Position of ERROR field. | |
UARTE_INTENSET_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
UARTE_INTENSET_ERROR = 0x200 // Bit ERROR. | |
UARTE_INTENSET_ERROR_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_ERROR_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_ERROR_Set = 0x1 // Enable | |
UARTE_INTENSET_RXTO_Pos = 0x11 // Position of RXTO field. | |
UARTE_INTENSET_RXTO_Msk = 0x20000 // Bit mask of RXTO field. | |
UARTE_INTENSET_RXTO = 0x20000 // Bit RXTO. | |
UARTE_INTENSET_RXTO_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_RXTO_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_RXTO_Set = 0x1 // Enable | |
UARTE_INTENSET_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
UARTE_INTENSET_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
UARTE_INTENSET_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
UARTE_INTENSET_RXSTARTED_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_RXSTARTED_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_RXSTARTED_Set = 0x1 // Enable | |
UARTE_INTENSET_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
UARTE_INTENSET_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
UARTE_INTENSET_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
UARTE_INTENSET_TXSTARTED_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_TXSTARTED_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_TXSTARTED_Set = 0x1 // Enable | |
UARTE_INTENSET_TXSTOPPED_Pos = 0x16 // Position of TXSTOPPED field. | |
UARTE_INTENSET_TXSTOPPED_Msk = 0x400000 // Bit mask of TXSTOPPED field. | |
UARTE_INTENSET_TXSTOPPED = 0x400000 // Bit TXSTOPPED. | |
UARTE_INTENSET_TXSTOPPED_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENSET_TXSTOPPED_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENSET_TXSTOPPED_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
UARTE_INTENCLR_CTS_Pos = 0x0 // Position of CTS field. | |
UARTE_INTENCLR_CTS_Msk = 0x1 // Bit mask of CTS field. | |
UARTE_INTENCLR_CTS = 0x1 // Bit CTS. | |
UARTE_INTENCLR_CTS_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_CTS_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_CTS_Clear = 0x1 // Disable | |
UARTE_INTENCLR_NCTS_Pos = 0x1 // Position of NCTS field. | |
UARTE_INTENCLR_NCTS_Msk = 0x2 // Bit mask of NCTS field. | |
UARTE_INTENCLR_NCTS = 0x2 // Bit NCTS. | |
UARTE_INTENCLR_NCTS_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_NCTS_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_NCTS_Clear = 0x1 // Disable | |
UARTE_INTENCLR_RXDRDY_Pos = 0x2 // Position of RXDRDY field. | |
UARTE_INTENCLR_RXDRDY_Msk = 0x4 // Bit mask of RXDRDY field. | |
UARTE_INTENCLR_RXDRDY = 0x4 // Bit RXDRDY. | |
UARTE_INTENCLR_RXDRDY_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_RXDRDY_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_RXDRDY_Clear = 0x1 // Disable | |
UARTE_INTENCLR_ENDRX_Pos = 0x4 // Position of ENDRX field. | |
UARTE_INTENCLR_ENDRX_Msk = 0x10 // Bit mask of ENDRX field. | |
UARTE_INTENCLR_ENDRX = 0x10 // Bit ENDRX. | |
UARTE_INTENCLR_ENDRX_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_ENDRX_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_ENDRX_Clear = 0x1 // Disable | |
UARTE_INTENCLR_TXDRDY_Pos = 0x7 // Position of TXDRDY field. | |
UARTE_INTENCLR_TXDRDY_Msk = 0x80 // Bit mask of TXDRDY field. | |
UARTE_INTENCLR_TXDRDY = 0x80 // Bit TXDRDY. | |
UARTE_INTENCLR_TXDRDY_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_TXDRDY_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_TXDRDY_Clear = 0x1 // Disable | |
UARTE_INTENCLR_ENDTX_Pos = 0x8 // Position of ENDTX field. | |
UARTE_INTENCLR_ENDTX_Msk = 0x100 // Bit mask of ENDTX field. | |
UARTE_INTENCLR_ENDTX = 0x100 // Bit ENDTX. | |
UARTE_INTENCLR_ENDTX_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_ENDTX_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_ENDTX_Clear = 0x1 // Disable | |
UARTE_INTENCLR_ERROR_Pos = 0x9 // Position of ERROR field. | |
UARTE_INTENCLR_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
UARTE_INTENCLR_ERROR = 0x200 // Bit ERROR. | |
UARTE_INTENCLR_ERROR_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_ERROR_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_ERROR_Clear = 0x1 // Disable | |
UARTE_INTENCLR_RXTO_Pos = 0x11 // Position of RXTO field. | |
UARTE_INTENCLR_RXTO_Msk = 0x20000 // Bit mask of RXTO field. | |
UARTE_INTENCLR_RXTO = 0x20000 // Bit RXTO. | |
UARTE_INTENCLR_RXTO_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_RXTO_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_RXTO_Clear = 0x1 // Disable | |
UARTE_INTENCLR_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
UARTE_INTENCLR_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
UARTE_INTENCLR_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
UARTE_INTENCLR_RXSTARTED_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_RXSTARTED_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_RXSTARTED_Clear = 0x1 // Disable | |
UARTE_INTENCLR_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
UARTE_INTENCLR_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
UARTE_INTENCLR_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
UARTE_INTENCLR_TXSTARTED_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_TXSTARTED_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_TXSTARTED_Clear = 0x1 // Disable | |
UARTE_INTENCLR_TXSTOPPED_Pos = 0x16 // Position of TXSTOPPED field. | |
UARTE_INTENCLR_TXSTOPPED_Msk = 0x400000 // Bit mask of TXSTOPPED field. | |
UARTE_INTENCLR_TXSTOPPED = 0x400000 // Bit TXSTOPPED. | |
UARTE_INTENCLR_TXSTOPPED_Disabled = 0x0 // Read: Disabled | |
UARTE_INTENCLR_TXSTOPPED_Enabled = 0x1 // Read: Enabled | |
UARTE_INTENCLR_TXSTOPPED_Clear = 0x1 // Disable | |
// ERRORSRC: Error source | |
UARTE_ERRORSRC_OVERRUN_Pos = 0x0 // Position of OVERRUN field. | |
UARTE_ERRORSRC_OVERRUN_Msk = 0x1 // Bit mask of OVERRUN field. | |
UARTE_ERRORSRC_OVERRUN = 0x1 // Bit OVERRUN. | |
UARTE_ERRORSRC_OVERRUN_NotPresent = 0x0 // Read: error not present | |
UARTE_ERRORSRC_OVERRUN_Present = 0x1 // Read: error present | |
UARTE_ERRORSRC_PARITY_Pos = 0x1 // Position of PARITY field. | |
UARTE_ERRORSRC_PARITY_Msk = 0x2 // Bit mask of PARITY field. | |
UARTE_ERRORSRC_PARITY = 0x2 // Bit PARITY. | |
UARTE_ERRORSRC_PARITY_NotPresent = 0x0 // Read: error not present | |
UARTE_ERRORSRC_PARITY_Present = 0x1 // Read: error present | |
UARTE_ERRORSRC_FRAMING_Pos = 0x2 // Position of FRAMING field. | |
UARTE_ERRORSRC_FRAMING_Msk = 0x4 // Bit mask of FRAMING field. | |
UARTE_ERRORSRC_FRAMING = 0x4 // Bit FRAMING. | |
UARTE_ERRORSRC_FRAMING_NotPresent = 0x0 // Read: error not present | |
UARTE_ERRORSRC_FRAMING_Present = 0x1 // Read: error present | |
UARTE_ERRORSRC_BREAK_Pos = 0x3 // Position of BREAK field. | |
UARTE_ERRORSRC_BREAK_Msk = 0x8 // Bit mask of BREAK field. | |
UARTE_ERRORSRC_BREAK = 0x8 // Bit BREAK. | |
UARTE_ERRORSRC_BREAK_NotPresent = 0x0 // Read: error not present | |
UARTE_ERRORSRC_BREAK_Present = 0x1 // Read: error present | |
// ENABLE: Enable UART | |
UARTE_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
UARTE_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
UARTE_ENABLE_ENABLE_Disabled = 0x0 // Disable UARTE | |
UARTE_ENABLE_ENABLE_Enabled = 0x8 // Enable UARTE | |
// PSEL.RTS: Pin select for RTS signal | |
UARTE_PSEL_RTS_PIN_Pos = 0x0 // Position of PIN field. | |
UARTE_PSEL_RTS_PIN_Msk = 0x1f // Bit mask of PIN field. | |
UARTE_PSEL_RTS_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
UARTE_PSEL_RTS_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
UARTE_PSEL_RTS_CONNECT = 0x80000000 // Bit CONNECT. | |
UARTE_PSEL_RTS_CONNECT_Disconnected = 0x1 // Disconnect | |
UARTE_PSEL_RTS_CONNECT_Connected = 0x0 // Connect | |
// PSEL.TXD: Pin select for TXD signal | |
UARTE_PSEL_TXD_PIN_Pos = 0x0 // Position of PIN field. | |
UARTE_PSEL_TXD_PIN_Msk = 0x1f // Bit mask of PIN field. | |
UARTE_PSEL_TXD_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
UARTE_PSEL_TXD_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
UARTE_PSEL_TXD_CONNECT = 0x80000000 // Bit CONNECT. | |
UARTE_PSEL_TXD_CONNECT_Disconnected = 0x1 // Disconnect | |
UARTE_PSEL_TXD_CONNECT_Connected = 0x0 // Connect | |
// PSEL.CTS: Pin select for CTS signal | |
UARTE_PSEL_CTS_PIN_Pos = 0x0 // Position of PIN field. | |
UARTE_PSEL_CTS_PIN_Msk = 0x1f // Bit mask of PIN field. | |
UARTE_PSEL_CTS_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
UARTE_PSEL_CTS_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
UARTE_PSEL_CTS_CONNECT = 0x80000000 // Bit CONNECT. | |
UARTE_PSEL_CTS_CONNECT_Disconnected = 0x1 // Disconnect | |
UARTE_PSEL_CTS_CONNECT_Connected = 0x0 // Connect | |
// PSEL.RXD: Pin select for RXD signal | |
UARTE_PSEL_RXD_PIN_Pos = 0x0 // Position of PIN field. | |
UARTE_PSEL_RXD_PIN_Msk = 0x1f // Bit mask of PIN field. | |
UARTE_PSEL_RXD_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
UARTE_PSEL_RXD_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
UARTE_PSEL_RXD_CONNECT = 0x80000000 // Bit CONNECT. | |
UARTE_PSEL_RXD_CONNECT_Disconnected = 0x1 // Disconnect | |
UARTE_PSEL_RXD_CONNECT_Connected = 0x0 // Connect | |
// BAUDRATE: Baud rate. Accuracy depends on the HFCLK source selected. | |
UARTE_BAUDRATE_BAUDRATE_Pos = 0x0 // Position of BAUDRATE field. | |
UARTE_BAUDRATE_BAUDRATE_Msk = 0xffffffff // Bit mask of BAUDRATE field. | |
UARTE_BAUDRATE_BAUDRATE_Baud1200 = 0x4f000 // 1200 baud (actual rate: 1205) | |
UARTE_BAUDRATE_BAUDRATE_Baud2400 = 0x9d000 // 2400 baud (actual rate: 2396) | |
UARTE_BAUDRATE_BAUDRATE_Baud4800 = 0x13b000 // 4800 baud (actual rate: 4808) | |
UARTE_BAUDRATE_BAUDRATE_Baud9600 = 0x275000 // 9600 baud (actual rate: 9598) | |
UARTE_BAUDRATE_BAUDRATE_Baud14400 = 0x3af000 // 14400 baud (actual rate: 14401) | |
UARTE_BAUDRATE_BAUDRATE_Baud19200 = 0x4ea000 // 19200 baud (actual rate: 19208) | |
UARTE_BAUDRATE_BAUDRATE_Baud28800 = 0x75c000 // 28800 baud (actual rate: 28777) | |
UARTE_BAUDRATE_BAUDRATE_Baud31250 = 0x800000 // 31250 baud | |
UARTE_BAUDRATE_BAUDRATE_Baud38400 = 0x9d0000 // 38400 baud (actual rate: 38369) | |
UARTE_BAUDRATE_BAUDRATE_Baud56000 = 0xe50000 // 56000 baud (actual rate: 55944) | |
UARTE_BAUDRATE_BAUDRATE_Baud57600 = 0xeb0000 // 57600 baud (actual rate: 57554) | |
UARTE_BAUDRATE_BAUDRATE_Baud76800 = 0x13a9000 // 76800 baud (actual rate: 76923) | |
UARTE_BAUDRATE_BAUDRATE_Baud115200 = 0x1d60000 // 115200 baud (actual rate: 115108) | |
UARTE_BAUDRATE_BAUDRATE_Baud230400 = 0x3b00000 // 230400 baud (actual rate: 231884) | |
UARTE_BAUDRATE_BAUDRATE_Baud250000 = 0x4000000 // 250000 baud | |
UARTE_BAUDRATE_BAUDRATE_Baud460800 = 0x7400000 // 460800 baud (actual rate: 457143) | |
UARTE_BAUDRATE_BAUDRATE_Baud921600 = 0xf000000 // 921600 baud (actual rate: 941176) | |
UARTE_BAUDRATE_BAUDRATE_Baud1M = 0x10000000 // 1Mega baud | |
// RXD.PTR: Data pointer | |
UARTE_RXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
UARTE_RXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// RXD.MAXCNT: Maximum number of bytes in receive buffer | |
UARTE_RXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
UARTE_RXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// RXD.AMOUNT: Number of bytes transferred in the last transaction | |
UARTE_RXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
UARTE_RXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// TXD.PTR: Data pointer | |
UARTE_TXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
UARTE_TXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// TXD.MAXCNT: Maximum number of bytes in transmit buffer | |
UARTE_TXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
UARTE_TXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// TXD.AMOUNT: Number of bytes transferred in the last transaction | |
UARTE_TXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
UARTE_TXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// CONFIG: Configuration of parity and hardware flow control | |
UARTE_CONFIG_HWFC_Pos = 0x0 // Position of HWFC field. | |
UARTE_CONFIG_HWFC_Msk = 0x1 // Bit mask of HWFC field. | |
UARTE_CONFIG_HWFC = 0x1 // Bit HWFC. | |
UARTE_CONFIG_HWFC_Disabled = 0x0 // Disabled | |
UARTE_CONFIG_HWFC_Enabled = 0x1 // Enabled | |
UARTE_CONFIG_PARITY_Pos = 0x1 // Position of PARITY field. | |
UARTE_CONFIG_PARITY_Msk = 0xe // Bit mask of PARITY field. | |
UARTE_CONFIG_PARITY_Excluded = 0x0 // Exclude parity bit | |
UARTE_CONFIG_PARITY_Included = 0x7 // Include parity bit | |
) | |
// Bitfields for UART0: Universal Asynchronous Receiver/Transmitter | |
const ( | |
// SHORTS: Shortcut register | |
UART_SHORTS_CTS_STARTRX_Pos = 0x3 // Position of CTS_STARTRX field. | |
UART_SHORTS_CTS_STARTRX_Msk = 0x8 // Bit mask of CTS_STARTRX field. | |
UART_SHORTS_CTS_STARTRX = 0x8 // Bit CTS_STARTRX. | |
UART_SHORTS_CTS_STARTRX_Disabled = 0x0 // Disable shortcut | |
UART_SHORTS_CTS_STARTRX_Enabled = 0x1 // Enable shortcut | |
UART_SHORTS_NCTS_STOPRX_Pos = 0x4 // Position of NCTS_STOPRX field. | |
UART_SHORTS_NCTS_STOPRX_Msk = 0x10 // Bit mask of NCTS_STOPRX field. | |
UART_SHORTS_NCTS_STOPRX = 0x10 // Bit NCTS_STOPRX. | |
UART_SHORTS_NCTS_STOPRX_Disabled = 0x0 // Disable shortcut | |
UART_SHORTS_NCTS_STOPRX_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
UART_INTENSET_CTS_Pos = 0x0 // Position of CTS field. | |
UART_INTENSET_CTS_Msk = 0x1 // Bit mask of CTS field. | |
UART_INTENSET_CTS = 0x1 // Bit CTS. | |
UART_INTENSET_CTS_Disabled = 0x0 // Read: Disabled | |
UART_INTENSET_CTS_Enabled = 0x1 // Read: Enabled | |
UART_INTENSET_CTS_Set = 0x1 // Enable | |
UART_INTENSET_NCTS_Pos = 0x1 // Position of NCTS field. | |
UART_INTENSET_NCTS_Msk = 0x2 // Bit mask of NCTS field. | |
UART_INTENSET_NCTS = 0x2 // Bit NCTS. | |
UART_INTENSET_NCTS_Disabled = 0x0 // Read: Disabled | |
UART_INTENSET_NCTS_Enabled = 0x1 // Read: Enabled | |
UART_INTENSET_NCTS_Set = 0x1 // Enable | |
UART_INTENSET_RXDRDY_Pos = 0x2 // Position of RXDRDY field. | |
UART_INTENSET_RXDRDY_Msk = 0x4 // Bit mask of RXDRDY field. | |
UART_INTENSET_RXDRDY = 0x4 // Bit RXDRDY. | |
UART_INTENSET_RXDRDY_Disabled = 0x0 // Read: Disabled | |
UART_INTENSET_RXDRDY_Enabled = 0x1 // Read: Enabled | |
UART_INTENSET_RXDRDY_Set = 0x1 // Enable | |
UART_INTENSET_TXDRDY_Pos = 0x7 // Position of TXDRDY field. | |
UART_INTENSET_TXDRDY_Msk = 0x80 // Bit mask of TXDRDY field. | |
UART_INTENSET_TXDRDY = 0x80 // Bit TXDRDY. | |
UART_INTENSET_TXDRDY_Disabled = 0x0 // Read: Disabled | |
UART_INTENSET_TXDRDY_Enabled = 0x1 // Read: Enabled | |
UART_INTENSET_TXDRDY_Set = 0x1 // Enable | |
UART_INTENSET_ERROR_Pos = 0x9 // Position of ERROR field. | |
UART_INTENSET_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
UART_INTENSET_ERROR = 0x200 // Bit ERROR. | |
UART_INTENSET_ERROR_Disabled = 0x0 // Read: Disabled | |
UART_INTENSET_ERROR_Enabled = 0x1 // Read: Enabled | |
UART_INTENSET_ERROR_Set = 0x1 // Enable | |
UART_INTENSET_RXTO_Pos = 0x11 // Position of RXTO field. | |
UART_INTENSET_RXTO_Msk = 0x20000 // Bit mask of RXTO field. | |
UART_INTENSET_RXTO = 0x20000 // Bit RXTO. | |
UART_INTENSET_RXTO_Disabled = 0x0 // Read: Disabled | |
UART_INTENSET_RXTO_Enabled = 0x1 // Read: Enabled | |
UART_INTENSET_RXTO_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
UART_INTENCLR_CTS_Pos = 0x0 // Position of CTS field. | |
UART_INTENCLR_CTS_Msk = 0x1 // Bit mask of CTS field. | |
UART_INTENCLR_CTS = 0x1 // Bit CTS. | |
UART_INTENCLR_CTS_Disabled = 0x0 // Read: Disabled | |
UART_INTENCLR_CTS_Enabled = 0x1 // Read: Enabled | |
UART_INTENCLR_CTS_Clear = 0x1 // Disable | |
UART_INTENCLR_NCTS_Pos = 0x1 // Position of NCTS field. | |
UART_INTENCLR_NCTS_Msk = 0x2 // Bit mask of NCTS field. | |
UART_INTENCLR_NCTS = 0x2 // Bit NCTS. | |
UART_INTENCLR_NCTS_Disabled = 0x0 // Read: Disabled | |
UART_INTENCLR_NCTS_Enabled = 0x1 // Read: Enabled | |
UART_INTENCLR_NCTS_Clear = 0x1 // Disable | |
UART_INTENCLR_RXDRDY_Pos = 0x2 // Position of RXDRDY field. | |
UART_INTENCLR_RXDRDY_Msk = 0x4 // Bit mask of RXDRDY field. | |
UART_INTENCLR_RXDRDY = 0x4 // Bit RXDRDY. | |
UART_INTENCLR_RXDRDY_Disabled = 0x0 // Read: Disabled | |
UART_INTENCLR_RXDRDY_Enabled = 0x1 // Read: Enabled | |
UART_INTENCLR_RXDRDY_Clear = 0x1 // Disable | |
UART_INTENCLR_TXDRDY_Pos = 0x7 // Position of TXDRDY field. | |
UART_INTENCLR_TXDRDY_Msk = 0x80 // Bit mask of TXDRDY field. | |
UART_INTENCLR_TXDRDY = 0x80 // Bit TXDRDY. | |
UART_INTENCLR_TXDRDY_Disabled = 0x0 // Read: Disabled | |
UART_INTENCLR_TXDRDY_Enabled = 0x1 // Read: Enabled | |
UART_INTENCLR_TXDRDY_Clear = 0x1 // Disable | |
UART_INTENCLR_ERROR_Pos = 0x9 // Position of ERROR field. | |
UART_INTENCLR_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
UART_INTENCLR_ERROR = 0x200 // Bit ERROR. | |
UART_INTENCLR_ERROR_Disabled = 0x0 // Read: Disabled | |
UART_INTENCLR_ERROR_Enabled = 0x1 // Read: Enabled | |
UART_INTENCLR_ERROR_Clear = 0x1 // Disable | |
UART_INTENCLR_RXTO_Pos = 0x11 // Position of RXTO field. | |
UART_INTENCLR_RXTO_Msk = 0x20000 // Bit mask of RXTO field. | |
UART_INTENCLR_RXTO = 0x20000 // Bit RXTO. | |
UART_INTENCLR_RXTO_Disabled = 0x0 // Read: Disabled | |
UART_INTENCLR_RXTO_Enabled = 0x1 // Read: Enabled | |
UART_INTENCLR_RXTO_Clear = 0x1 // Disable | |
// ERRORSRC: Error source | |
UART_ERRORSRC_OVERRUN_Pos = 0x0 // Position of OVERRUN field. | |
UART_ERRORSRC_OVERRUN_Msk = 0x1 // Bit mask of OVERRUN field. | |
UART_ERRORSRC_OVERRUN = 0x1 // Bit OVERRUN. | |
UART_ERRORSRC_OVERRUN_NotPresent = 0x0 // Read: error not present | |
UART_ERRORSRC_OVERRUN_Present = 0x1 // Read: error present | |
UART_ERRORSRC_PARITY_Pos = 0x1 // Position of PARITY field. | |
UART_ERRORSRC_PARITY_Msk = 0x2 // Bit mask of PARITY field. | |
UART_ERRORSRC_PARITY = 0x2 // Bit PARITY. | |
UART_ERRORSRC_PARITY_NotPresent = 0x0 // Read: error not present | |
UART_ERRORSRC_PARITY_Present = 0x1 // Read: error present | |
UART_ERRORSRC_FRAMING_Pos = 0x2 // Position of FRAMING field. | |
UART_ERRORSRC_FRAMING_Msk = 0x4 // Bit mask of FRAMING field. | |
UART_ERRORSRC_FRAMING = 0x4 // Bit FRAMING. | |
UART_ERRORSRC_FRAMING_NotPresent = 0x0 // Read: error not present | |
UART_ERRORSRC_FRAMING_Present = 0x1 // Read: error present | |
UART_ERRORSRC_BREAK_Pos = 0x3 // Position of BREAK field. | |
UART_ERRORSRC_BREAK_Msk = 0x8 // Bit mask of BREAK field. | |
UART_ERRORSRC_BREAK = 0x8 // Bit BREAK. | |
UART_ERRORSRC_BREAK_NotPresent = 0x0 // Read: error not present | |
UART_ERRORSRC_BREAK_Present = 0x1 // Read: error present | |
// ENABLE: Enable UART | |
UART_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
UART_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
UART_ENABLE_ENABLE_Disabled = 0x0 // Disable UART | |
UART_ENABLE_ENABLE_Enabled = 0x4 // Enable UART | |
// PSELRTS: Pin select for RTS | |
UART_PSELRTS_PSELRTS_Pos = 0x0 // Position of PSELRTS field. | |
UART_PSELRTS_PSELRTS_Msk = 0xffffffff // Bit mask of PSELRTS field. | |
UART_PSELRTS_PSELRTS_Disconnected = 0xffffffff // Disconnect | |
// PSELTXD: Pin select for TXD | |
UART_PSELTXD_PSELTXD_Pos = 0x0 // Position of PSELTXD field. | |
UART_PSELTXD_PSELTXD_Msk = 0xffffffff // Bit mask of PSELTXD field. | |
UART_PSELTXD_PSELTXD_Disconnected = 0xffffffff // Disconnect | |
// PSELCTS: Pin select for CTS | |
UART_PSELCTS_PSELCTS_Pos = 0x0 // Position of PSELCTS field. | |
UART_PSELCTS_PSELCTS_Msk = 0xffffffff // Bit mask of PSELCTS field. | |
UART_PSELCTS_PSELCTS_Disconnected = 0xffffffff // Disconnect | |
// PSELRXD: Pin select for RXD | |
UART_PSELRXD_PSELRXD_Pos = 0x0 // Position of PSELRXD field. | |
UART_PSELRXD_PSELRXD_Msk = 0xffffffff // Bit mask of PSELRXD field. | |
UART_PSELRXD_PSELRXD_Disconnected = 0xffffffff // Disconnect | |
// RXD: RXD register | |
UART_RXD_RXD_Pos = 0x0 // Position of RXD field. | |
UART_RXD_RXD_Msk = 0xff // Bit mask of RXD field. | |
// TXD: TXD register | |
UART_TXD_TXD_Pos = 0x0 // Position of TXD field. | |
UART_TXD_TXD_Msk = 0xff // Bit mask of TXD field. | |
// BAUDRATE: Baud rate | |
UART_BAUDRATE_BAUDRATE_Pos = 0x0 // Position of BAUDRATE field. | |
UART_BAUDRATE_BAUDRATE_Msk = 0xffffffff // Bit mask of BAUDRATE field. | |
UART_BAUDRATE_BAUDRATE_Baud1200 = 0x4f000 // 1200 baud (actual rate: 1205) | |
UART_BAUDRATE_BAUDRATE_Baud2400 = 0x9d000 // 2400 baud (actual rate: 2396) | |
UART_BAUDRATE_BAUDRATE_Baud4800 = 0x13b000 // 4800 baud (actual rate: 4808) | |
UART_BAUDRATE_BAUDRATE_Baud9600 = 0x275000 // 9600 baud (actual rate: 9598) | |
UART_BAUDRATE_BAUDRATE_Baud14400 = 0x3b0000 // 14400 baud (actual rate: 14414) | |
UART_BAUDRATE_BAUDRATE_Baud19200 = 0x4ea000 // 19200 baud (actual rate: 19208) | |
UART_BAUDRATE_BAUDRATE_Baud28800 = 0x75f000 // 28800 baud (actual rate: 28829) | |
UART_BAUDRATE_BAUDRATE_Baud31250 = 0x800000 // 31250 baud | |
UART_BAUDRATE_BAUDRATE_Baud38400 = 0x9d5000 // 38400 baud (actual rate: 38462) | |
UART_BAUDRATE_BAUDRATE_Baud56000 = 0xe50000 // 56000 baud (actual rate: 55944) | |
UART_BAUDRATE_BAUDRATE_Baud57600 = 0xebf000 // 57600 baud (actual rate: 57762) | |
UART_BAUDRATE_BAUDRATE_Baud76800 = 0x13a9000 // 76800 baud (actual rate: 76923) | |
UART_BAUDRATE_BAUDRATE_Baud115200 = 0x1d7e000 // 115200 baud (actual rate: 115942) | |
UART_BAUDRATE_BAUDRATE_Baud230400 = 0x3afb000 // 230400 baud (actual rate: 231884) | |
UART_BAUDRATE_BAUDRATE_Baud250000 = 0x4000000 // 250000 baud | |
UART_BAUDRATE_BAUDRATE_Baud460800 = 0x75f7000 // 460800 baud (actual rate: 470588) | |
UART_BAUDRATE_BAUDRATE_Baud921600 = 0xebed000 // 921600 baud (actual rate: 941176) | |
UART_BAUDRATE_BAUDRATE_Baud1M = 0x10000000 // 1Mega baud | |
// CONFIG: Configuration of parity and hardware flow control | |
UART_CONFIG_HWFC_Pos = 0x0 // Position of HWFC field. | |
UART_CONFIG_HWFC_Msk = 0x1 // Bit mask of HWFC field. | |
UART_CONFIG_HWFC = 0x1 // Bit HWFC. | |
UART_CONFIG_HWFC_Disabled = 0x0 // Disabled | |
UART_CONFIG_HWFC_Enabled = 0x1 // Enabled | |
UART_CONFIG_PARITY_Pos = 0x1 // Position of PARITY field. | |
UART_CONFIG_PARITY_Msk = 0xe // Bit mask of PARITY field. | |
UART_CONFIG_PARITY_Excluded = 0x0 // Exclude parity bit | |
UART_CONFIG_PARITY_Included = 0x7 // Include parity bit | |
) | |
// Bitfields for SPIM0: Serial Peripheral Interface Master with EasyDMA 0 | |
const ( | |
// SHORTS: Shortcut register | |
SPIM_SHORTS_END_START_Pos = 0x11 // Position of END_START field. | |
SPIM_SHORTS_END_START_Msk = 0x20000 // Bit mask of END_START field. | |
SPIM_SHORTS_END_START = 0x20000 // Bit END_START. | |
SPIM_SHORTS_END_START_Disabled = 0x0 // Disable shortcut | |
SPIM_SHORTS_END_START_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
SPIM_INTENSET_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
SPIM_INTENSET_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
SPIM_INTENSET_STOPPED = 0x2 // Bit STOPPED. | |
SPIM_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENSET_STOPPED_Set = 0x1 // Enable | |
SPIM_INTENSET_ENDRX_Pos = 0x4 // Position of ENDRX field. | |
SPIM_INTENSET_ENDRX_Msk = 0x10 // Bit mask of ENDRX field. | |
SPIM_INTENSET_ENDRX = 0x10 // Bit ENDRX. | |
SPIM_INTENSET_ENDRX_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENSET_ENDRX_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENSET_ENDRX_Set = 0x1 // Enable | |
SPIM_INTENSET_END_Pos = 0x6 // Position of END field. | |
SPIM_INTENSET_END_Msk = 0x40 // Bit mask of END field. | |
SPIM_INTENSET_END = 0x40 // Bit END. | |
SPIM_INTENSET_END_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENSET_END_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENSET_END_Set = 0x1 // Enable | |
SPIM_INTENSET_ENDTX_Pos = 0x8 // Position of ENDTX field. | |
SPIM_INTENSET_ENDTX_Msk = 0x100 // Bit mask of ENDTX field. | |
SPIM_INTENSET_ENDTX = 0x100 // Bit ENDTX. | |
SPIM_INTENSET_ENDTX_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENSET_ENDTX_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENSET_ENDTX_Set = 0x1 // Enable | |
SPIM_INTENSET_STARTED_Pos = 0x13 // Position of STARTED field. | |
SPIM_INTENSET_STARTED_Msk = 0x80000 // Bit mask of STARTED field. | |
SPIM_INTENSET_STARTED = 0x80000 // Bit STARTED. | |
SPIM_INTENSET_STARTED_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENSET_STARTED_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENSET_STARTED_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
SPIM_INTENCLR_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
SPIM_INTENCLR_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
SPIM_INTENCLR_STOPPED = 0x2 // Bit STOPPED. | |
SPIM_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
SPIM_INTENCLR_ENDRX_Pos = 0x4 // Position of ENDRX field. | |
SPIM_INTENCLR_ENDRX_Msk = 0x10 // Bit mask of ENDRX field. | |
SPIM_INTENCLR_ENDRX = 0x10 // Bit ENDRX. | |
SPIM_INTENCLR_ENDRX_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENCLR_ENDRX_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENCLR_ENDRX_Clear = 0x1 // Disable | |
SPIM_INTENCLR_END_Pos = 0x6 // Position of END field. | |
SPIM_INTENCLR_END_Msk = 0x40 // Bit mask of END field. | |
SPIM_INTENCLR_END = 0x40 // Bit END. | |
SPIM_INTENCLR_END_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENCLR_END_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENCLR_END_Clear = 0x1 // Disable | |
SPIM_INTENCLR_ENDTX_Pos = 0x8 // Position of ENDTX field. | |
SPIM_INTENCLR_ENDTX_Msk = 0x100 // Bit mask of ENDTX field. | |
SPIM_INTENCLR_ENDTX = 0x100 // Bit ENDTX. | |
SPIM_INTENCLR_ENDTX_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENCLR_ENDTX_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENCLR_ENDTX_Clear = 0x1 // Disable | |
SPIM_INTENCLR_STARTED_Pos = 0x13 // Position of STARTED field. | |
SPIM_INTENCLR_STARTED_Msk = 0x80000 // Bit mask of STARTED field. | |
SPIM_INTENCLR_STARTED = 0x80000 // Bit STARTED. | |
SPIM_INTENCLR_STARTED_Disabled = 0x0 // Read: Disabled | |
SPIM_INTENCLR_STARTED_Enabled = 0x1 // Read: Enabled | |
SPIM_INTENCLR_STARTED_Clear = 0x1 // Disable | |
// ENABLE: Enable SPIM | |
SPIM_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
SPIM_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
SPIM_ENABLE_ENABLE_Disabled = 0x0 // Disable SPIM | |
SPIM_ENABLE_ENABLE_Enabled = 0x7 // Enable SPIM | |
// PSEL.SCK: Pin select for SCK | |
SPIM_PSEL_SCK_PIN_Pos = 0x0 // Position of PIN field. | |
SPIM_PSEL_SCK_PIN_Msk = 0x1f // Bit mask of PIN field. | |
SPIM_PSEL_SCK_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
SPIM_PSEL_SCK_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
SPIM_PSEL_SCK_CONNECT = 0x80000000 // Bit CONNECT. | |
SPIM_PSEL_SCK_CONNECT_Disconnected = 0x1 // Disconnect | |
SPIM_PSEL_SCK_CONNECT_Connected = 0x0 // Connect | |
// PSEL.MOSI: Pin select for MOSI signal | |
SPIM_PSEL_MOSI_PIN_Pos = 0x0 // Position of PIN field. | |
SPIM_PSEL_MOSI_PIN_Msk = 0x1f // Bit mask of PIN field. | |
SPIM_PSEL_MOSI_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
SPIM_PSEL_MOSI_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
SPIM_PSEL_MOSI_CONNECT = 0x80000000 // Bit CONNECT. | |
SPIM_PSEL_MOSI_CONNECT_Disconnected = 0x1 // Disconnect | |
SPIM_PSEL_MOSI_CONNECT_Connected = 0x0 // Connect | |
// PSEL.MISO: Pin select for MISO signal | |
SPIM_PSEL_MISO_PIN_Pos = 0x0 // Position of PIN field. | |
SPIM_PSEL_MISO_PIN_Msk = 0x1f // Bit mask of PIN field. | |
SPIM_PSEL_MISO_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
SPIM_PSEL_MISO_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
SPIM_PSEL_MISO_CONNECT = 0x80000000 // Bit CONNECT. | |
SPIM_PSEL_MISO_CONNECT_Disconnected = 0x1 // Disconnect | |
SPIM_PSEL_MISO_CONNECT_Connected = 0x0 // Connect | |
// FREQUENCY: SPI frequency. Accuracy depends on the HFCLK source selected. | |
SPIM_FREQUENCY_FREQUENCY_Pos = 0x0 // Position of FREQUENCY field. | |
SPIM_FREQUENCY_FREQUENCY_Msk = 0xffffffff // Bit mask of FREQUENCY field. | |
SPIM_FREQUENCY_FREQUENCY_K125 = 0x2000000 // 125 kbps | |
SPIM_FREQUENCY_FREQUENCY_K250 = 0x4000000 // 250 kbps | |
SPIM_FREQUENCY_FREQUENCY_K500 = 0x8000000 // 500 kbps | |
SPIM_FREQUENCY_FREQUENCY_M1 = 0x10000000 // 1 Mbps | |
SPIM_FREQUENCY_FREQUENCY_M2 = 0x20000000 // 2 Mbps | |
SPIM_FREQUENCY_FREQUENCY_M4 = 0x40000000 // 4 Mbps | |
SPIM_FREQUENCY_FREQUENCY_M8 = 0x80000000 // 8 Mbps | |
// RXD.PTR: Data pointer | |
SPIM_RXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
SPIM_RXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// RXD.MAXCNT: Maximum number of bytes in receive buffer | |
SPIM_RXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
SPIM_RXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// RXD.AMOUNT: Number of bytes transferred in the last transaction | |
SPIM_RXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
SPIM_RXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// RXD.LIST: EasyDMA list type | |
SPIM_RXD_LIST_LIST_Pos = 0x0 // Position of LIST field. | |
SPIM_RXD_LIST_LIST_Msk = 0x7 // Bit mask of LIST field. | |
SPIM_RXD_LIST_LIST_Disabled = 0x0 // Disable EasyDMA list | |
SPIM_RXD_LIST_LIST_ArrayList = 0x1 // Use array list | |
// TXD.PTR: Data pointer | |
SPIM_TXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
SPIM_TXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// TXD.MAXCNT: Maximum number of bytes in transmit buffer | |
SPIM_TXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
SPIM_TXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// TXD.AMOUNT: Number of bytes transferred in the last transaction | |
SPIM_TXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
SPIM_TXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// TXD.LIST: EasyDMA list type | |
SPIM_TXD_LIST_LIST_Pos = 0x0 // Position of LIST field. | |
SPIM_TXD_LIST_LIST_Msk = 0x7 // Bit mask of LIST field. | |
SPIM_TXD_LIST_LIST_Disabled = 0x0 // Disable EasyDMA list | |
SPIM_TXD_LIST_LIST_ArrayList = 0x1 // Use array list | |
// CONFIG: Configuration register | |
SPIM_CONFIG_ORDER_Pos = 0x0 // Position of ORDER field. | |
SPIM_CONFIG_ORDER_Msk = 0x1 // Bit mask of ORDER field. | |
SPIM_CONFIG_ORDER = 0x1 // Bit ORDER. | |
SPIM_CONFIG_ORDER_MsbFirst = 0x0 // Most significant bit shifted out first | |
SPIM_CONFIG_ORDER_LsbFirst = 0x1 // Least significant bit shifted out first | |
SPIM_CONFIG_CPHA_Pos = 0x1 // Position of CPHA field. | |
SPIM_CONFIG_CPHA_Msk = 0x2 // Bit mask of CPHA field. | |
SPIM_CONFIG_CPHA = 0x2 // Bit CPHA. | |
SPIM_CONFIG_CPHA_Leading = 0x0 // Sample on leading edge of clock, shift serial data on trailing edge | |
SPIM_CONFIG_CPHA_Trailing = 0x1 // Sample on trailing edge of clock, shift serial data on leading edge | |
SPIM_CONFIG_CPOL_Pos = 0x2 // Position of CPOL field. | |
SPIM_CONFIG_CPOL_Msk = 0x4 // Bit mask of CPOL field. | |
SPIM_CONFIG_CPOL = 0x4 // Bit CPOL. | |
SPIM_CONFIG_CPOL_ActiveHigh = 0x0 // Active high | |
SPIM_CONFIG_CPOL_ActiveLow = 0x1 // Active low | |
// ORC: Over-read character. Character clocked out in case and over-read of the TXD buffer. | |
SPIM_ORC_ORC_Pos = 0x0 // Position of ORC field. | |
SPIM_ORC_ORC_Msk = 0xff // Bit mask of ORC field. | |
) | |
// Bitfields for SPIS0: SPI Slave 0 | |
const ( | |
// SHORTS: Shortcut register | |
SPIS_SHORTS_END_ACQUIRE_Pos = 0x2 // Position of END_ACQUIRE field. | |
SPIS_SHORTS_END_ACQUIRE_Msk = 0x4 // Bit mask of END_ACQUIRE field. | |
SPIS_SHORTS_END_ACQUIRE = 0x4 // Bit END_ACQUIRE. | |
SPIS_SHORTS_END_ACQUIRE_Disabled = 0x0 // Disable shortcut | |
SPIS_SHORTS_END_ACQUIRE_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
SPIS_INTENSET_END_Pos = 0x1 // Position of END field. | |
SPIS_INTENSET_END_Msk = 0x2 // Bit mask of END field. | |
SPIS_INTENSET_END = 0x2 // Bit END. | |
SPIS_INTENSET_END_Disabled = 0x0 // Read: Disabled | |
SPIS_INTENSET_END_Enabled = 0x1 // Read: Enabled | |
SPIS_INTENSET_END_Set = 0x1 // Enable | |
SPIS_INTENSET_ENDRX_Pos = 0x4 // Position of ENDRX field. | |
SPIS_INTENSET_ENDRX_Msk = 0x10 // Bit mask of ENDRX field. | |
SPIS_INTENSET_ENDRX = 0x10 // Bit ENDRX. | |
SPIS_INTENSET_ENDRX_Disabled = 0x0 // Read: Disabled | |
SPIS_INTENSET_ENDRX_Enabled = 0x1 // Read: Enabled | |
SPIS_INTENSET_ENDRX_Set = 0x1 // Enable | |
SPIS_INTENSET_ACQUIRED_Pos = 0xa // Position of ACQUIRED field. | |
SPIS_INTENSET_ACQUIRED_Msk = 0x400 // Bit mask of ACQUIRED field. | |
SPIS_INTENSET_ACQUIRED = 0x400 // Bit ACQUIRED. | |
SPIS_INTENSET_ACQUIRED_Disabled = 0x0 // Read: Disabled | |
SPIS_INTENSET_ACQUIRED_Enabled = 0x1 // Read: Enabled | |
SPIS_INTENSET_ACQUIRED_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
SPIS_INTENCLR_END_Pos = 0x1 // Position of END field. | |
SPIS_INTENCLR_END_Msk = 0x2 // Bit mask of END field. | |
SPIS_INTENCLR_END = 0x2 // Bit END. | |
SPIS_INTENCLR_END_Disabled = 0x0 // Read: Disabled | |
SPIS_INTENCLR_END_Enabled = 0x1 // Read: Enabled | |
SPIS_INTENCLR_END_Clear = 0x1 // Disable | |
SPIS_INTENCLR_ENDRX_Pos = 0x4 // Position of ENDRX field. | |
SPIS_INTENCLR_ENDRX_Msk = 0x10 // Bit mask of ENDRX field. | |
SPIS_INTENCLR_ENDRX = 0x10 // Bit ENDRX. | |
SPIS_INTENCLR_ENDRX_Disabled = 0x0 // Read: Disabled | |
SPIS_INTENCLR_ENDRX_Enabled = 0x1 // Read: Enabled | |
SPIS_INTENCLR_ENDRX_Clear = 0x1 // Disable | |
SPIS_INTENCLR_ACQUIRED_Pos = 0xa // Position of ACQUIRED field. | |
SPIS_INTENCLR_ACQUIRED_Msk = 0x400 // Bit mask of ACQUIRED field. | |
SPIS_INTENCLR_ACQUIRED = 0x400 // Bit ACQUIRED. | |
SPIS_INTENCLR_ACQUIRED_Disabled = 0x0 // Read: Disabled | |
SPIS_INTENCLR_ACQUIRED_Enabled = 0x1 // Read: Enabled | |
SPIS_INTENCLR_ACQUIRED_Clear = 0x1 // Disable | |
// SEMSTAT: Semaphore status register | |
SPIS_SEMSTAT_SEMSTAT_Pos = 0x0 // Position of SEMSTAT field. | |
SPIS_SEMSTAT_SEMSTAT_Msk = 0x3 // Bit mask of SEMSTAT field. | |
SPIS_SEMSTAT_SEMSTAT_Free = 0x0 // Semaphore is free | |
SPIS_SEMSTAT_SEMSTAT_CPU = 0x1 // Semaphore is assigned to CPU | |
SPIS_SEMSTAT_SEMSTAT_SPIS = 0x2 // Semaphore is assigned to SPI slave | |
SPIS_SEMSTAT_SEMSTAT_CPUPending = 0x3 // Semaphore is assigned to SPI but a handover to the CPU is pending | |
// STATUS: Status from last transaction | |
SPIS_STATUS_OVERREAD_Pos = 0x0 // Position of OVERREAD field. | |
SPIS_STATUS_OVERREAD_Msk = 0x1 // Bit mask of OVERREAD field. | |
SPIS_STATUS_OVERREAD = 0x1 // Bit OVERREAD. | |
SPIS_STATUS_OVERREAD_NotPresent = 0x0 // Read: error not present | |
SPIS_STATUS_OVERREAD_Present = 0x1 // Read: error present | |
SPIS_STATUS_OVERREAD_Clear = 0x1 // Write: clear error on writing '1' | |
SPIS_STATUS_OVERFLOW_Pos = 0x1 // Position of OVERFLOW field. | |
SPIS_STATUS_OVERFLOW_Msk = 0x2 // Bit mask of OVERFLOW field. | |
SPIS_STATUS_OVERFLOW = 0x2 // Bit OVERFLOW. | |
SPIS_STATUS_OVERFLOW_NotPresent = 0x0 // Read: error not present | |
SPIS_STATUS_OVERFLOW_Present = 0x1 // Read: error present | |
SPIS_STATUS_OVERFLOW_Clear = 0x1 // Write: clear error on writing '1' | |
// ENABLE: Enable SPI slave | |
SPIS_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
SPIS_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
SPIS_ENABLE_ENABLE_Disabled = 0x0 // Disable SPI slave | |
SPIS_ENABLE_ENABLE_Enabled = 0x2 // Enable SPI slave | |
// PSEL.SCK: Pin select for SCK | |
SPIS_PSEL_SCK_PIN_Pos = 0x0 // Position of PIN field. | |
SPIS_PSEL_SCK_PIN_Msk = 0x1f // Bit mask of PIN field. | |
SPIS_PSEL_SCK_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
SPIS_PSEL_SCK_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
SPIS_PSEL_SCK_CONNECT = 0x80000000 // Bit CONNECT. | |
SPIS_PSEL_SCK_CONNECT_Disconnected = 0x1 // Disconnect | |
SPIS_PSEL_SCK_CONNECT_Connected = 0x0 // Connect | |
// PSEL.MISO: Pin select for MISO signal | |
SPIS_PSEL_MISO_PIN_Pos = 0x0 // Position of PIN field. | |
SPIS_PSEL_MISO_PIN_Msk = 0x1f // Bit mask of PIN field. | |
SPIS_PSEL_MISO_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
SPIS_PSEL_MISO_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
SPIS_PSEL_MISO_CONNECT = 0x80000000 // Bit CONNECT. | |
SPIS_PSEL_MISO_CONNECT_Disconnected = 0x1 // Disconnect | |
SPIS_PSEL_MISO_CONNECT_Connected = 0x0 // Connect | |
// PSEL.MOSI: Pin select for MOSI signal | |
SPIS_PSEL_MOSI_PIN_Pos = 0x0 // Position of PIN field. | |
SPIS_PSEL_MOSI_PIN_Msk = 0x1f // Bit mask of PIN field. | |
SPIS_PSEL_MOSI_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
SPIS_PSEL_MOSI_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
SPIS_PSEL_MOSI_CONNECT = 0x80000000 // Bit CONNECT. | |
SPIS_PSEL_MOSI_CONNECT_Disconnected = 0x1 // Disconnect | |
SPIS_PSEL_MOSI_CONNECT_Connected = 0x0 // Connect | |
// PSEL.CSN: Pin select for CSN signal | |
SPIS_PSEL_CSN_PIN_Pos = 0x0 // Position of PIN field. | |
SPIS_PSEL_CSN_PIN_Msk = 0x1f // Bit mask of PIN field. | |
SPIS_PSEL_CSN_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
SPIS_PSEL_CSN_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
SPIS_PSEL_CSN_CONNECT = 0x80000000 // Bit CONNECT. | |
SPIS_PSEL_CSN_CONNECT_Disconnected = 0x1 // Disconnect | |
SPIS_PSEL_CSN_CONNECT_Connected = 0x0 // Connect | |
// RXD.PTR: RXD data pointer | |
SPIS_RXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
SPIS_RXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// RXD.MAXCNT: Maximum number of bytes in receive buffer | |
SPIS_RXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
SPIS_RXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// RXD.AMOUNT: Number of bytes received in last granted transaction | |
SPIS_RXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
SPIS_RXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// TXD.PTR: TXD data pointer | |
SPIS_TXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
SPIS_TXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// TXD.MAXCNT: Maximum number of bytes in transmit buffer | |
SPIS_TXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
SPIS_TXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// TXD.AMOUNT: Number of bytes transmitted in last granted transaction | |
SPIS_TXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
SPIS_TXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// CONFIG: Configuration register | |
SPIS_CONFIG_ORDER_Pos = 0x0 // Position of ORDER field. | |
SPIS_CONFIG_ORDER_Msk = 0x1 // Bit mask of ORDER field. | |
SPIS_CONFIG_ORDER = 0x1 // Bit ORDER. | |
SPIS_CONFIG_ORDER_MsbFirst = 0x0 // Most significant bit shifted out first | |
SPIS_CONFIG_ORDER_LsbFirst = 0x1 // Least significant bit shifted out first | |
SPIS_CONFIG_CPHA_Pos = 0x1 // Position of CPHA field. | |
SPIS_CONFIG_CPHA_Msk = 0x2 // Bit mask of CPHA field. | |
SPIS_CONFIG_CPHA = 0x2 // Bit CPHA. | |
SPIS_CONFIG_CPHA_Leading = 0x0 // Sample on leading edge of clock, shift serial data on trailing edge | |
SPIS_CONFIG_CPHA_Trailing = 0x1 // Sample on trailing edge of clock, shift serial data on leading edge | |
SPIS_CONFIG_CPOL_Pos = 0x2 // Position of CPOL field. | |
SPIS_CONFIG_CPOL_Msk = 0x4 // Bit mask of CPOL field. | |
SPIS_CONFIG_CPOL = 0x4 // Bit CPOL. | |
SPIS_CONFIG_CPOL_ActiveHigh = 0x0 // Active high | |
SPIS_CONFIG_CPOL_ActiveLow = 0x1 // Active low | |
// DEF: Default character. Character clocked out in case of an ignored transaction. | |
SPIS_DEF_DEF_Pos = 0x0 // Position of DEF field. | |
SPIS_DEF_DEF_Msk = 0xff // Bit mask of DEF field. | |
// ORC: Over-read character | |
SPIS_ORC_ORC_Pos = 0x0 // Position of ORC field. | |
SPIS_ORC_ORC_Msk = 0xff // Bit mask of ORC field. | |
) | |
// Bitfields for TWIM0: I2C compatible Two-Wire Master Interface with EasyDMA 0 | |
const ( | |
// SHORTS: Shortcut register | |
TWIM_SHORTS_LASTTX_STARTRX_Pos = 0x7 // Position of LASTTX_STARTRX field. | |
TWIM_SHORTS_LASTTX_STARTRX_Msk = 0x80 // Bit mask of LASTTX_STARTRX field. | |
TWIM_SHORTS_LASTTX_STARTRX = 0x80 // Bit LASTTX_STARTRX. | |
TWIM_SHORTS_LASTTX_STARTRX_Disabled = 0x0 // Disable shortcut | |
TWIM_SHORTS_LASTTX_STARTRX_Enabled = 0x1 // Enable shortcut | |
TWIM_SHORTS_LASTTX_SUSPEND_Pos = 0x8 // Position of LASTTX_SUSPEND field. | |
TWIM_SHORTS_LASTTX_SUSPEND_Msk = 0x100 // Bit mask of LASTTX_SUSPEND field. | |
TWIM_SHORTS_LASTTX_SUSPEND = 0x100 // Bit LASTTX_SUSPEND. | |
TWIM_SHORTS_LASTTX_SUSPEND_Disabled = 0x0 // Disable shortcut | |
TWIM_SHORTS_LASTTX_SUSPEND_Enabled = 0x1 // Enable shortcut | |
TWIM_SHORTS_LASTTX_STOP_Pos = 0x9 // Position of LASTTX_STOP field. | |
TWIM_SHORTS_LASTTX_STOP_Msk = 0x200 // Bit mask of LASTTX_STOP field. | |
TWIM_SHORTS_LASTTX_STOP = 0x200 // Bit LASTTX_STOP. | |
TWIM_SHORTS_LASTTX_STOP_Disabled = 0x0 // Disable shortcut | |
TWIM_SHORTS_LASTTX_STOP_Enabled = 0x1 // Enable shortcut | |
TWIM_SHORTS_LASTRX_STARTTX_Pos = 0xa // Position of LASTRX_STARTTX field. | |
TWIM_SHORTS_LASTRX_STARTTX_Msk = 0x400 // Bit mask of LASTRX_STARTTX field. | |
TWIM_SHORTS_LASTRX_STARTTX = 0x400 // Bit LASTRX_STARTTX. | |
TWIM_SHORTS_LASTRX_STARTTX_Disabled = 0x0 // Disable shortcut | |
TWIM_SHORTS_LASTRX_STARTTX_Enabled = 0x1 // Enable shortcut | |
TWIM_SHORTS_LASTRX_STOP_Pos = 0xc // Position of LASTRX_STOP field. | |
TWIM_SHORTS_LASTRX_STOP_Msk = 0x1000 // Bit mask of LASTRX_STOP field. | |
TWIM_SHORTS_LASTRX_STOP = 0x1000 // Bit LASTRX_STOP. | |
TWIM_SHORTS_LASTRX_STOP_Disabled = 0x0 // Disable shortcut | |
TWIM_SHORTS_LASTRX_STOP_Enabled = 0x1 // Enable shortcut | |
// INTEN: Enable or disable interrupt | |
TWIM_INTEN_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWIM_INTEN_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWIM_INTEN_STOPPED = 0x2 // Bit STOPPED. | |
TWIM_INTEN_STOPPED_Disabled = 0x0 // Disable | |
TWIM_INTEN_STOPPED_Enabled = 0x1 // Enable | |
TWIM_INTEN_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWIM_INTEN_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWIM_INTEN_ERROR = 0x200 // Bit ERROR. | |
TWIM_INTEN_ERROR_Disabled = 0x0 // Disable | |
TWIM_INTEN_ERROR_Enabled = 0x1 // Enable | |
TWIM_INTEN_SUSPENDED_Pos = 0x12 // Position of SUSPENDED field. | |
TWIM_INTEN_SUSPENDED_Msk = 0x40000 // Bit mask of SUSPENDED field. | |
TWIM_INTEN_SUSPENDED = 0x40000 // Bit SUSPENDED. | |
TWIM_INTEN_SUSPENDED_Disabled = 0x0 // Disable | |
TWIM_INTEN_SUSPENDED_Enabled = 0x1 // Enable | |
TWIM_INTEN_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
TWIM_INTEN_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
TWIM_INTEN_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
TWIM_INTEN_RXSTARTED_Disabled = 0x0 // Disable | |
TWIM_INTEN_RXSTARTED_Enabled = 0x1 // Enable | |
TWIM_INTEN_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
TWIM_INTEN_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
TWIM_INTEN_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
TWIM_INTEN_TXSTARTED_Disabled = 0x0 // Disable | |
TWIM_INTEN_TXSTARTED_Enabled = 0x1 // Enable | |
TWIM_INTEN_LASTRX_Pos = 0x17 // Position of LASTRX field. | |
TWIM_INTEN_LASTRX_Msk = 0x800000 // Bit mask of LASTRX field. | |
TWIM_INTEN_LASTRX = 0x800000 // Bit LASTRX. | |
TWIM_INTEN_LASTRX_Disabled = 0x0 // Disable | |
TWIM_INTEN_LASTRX_Enabled = 0x1 // Enable | |
TWIM_INTEN_LASTTX_Pos = 0x18 // Position of LASTTX field. | |
TWIM_INTEN_LASTTX_Msk = 0x1000000 // Bit mask of LASTTX field. | |
TWIM_INTEN_LASTTX = 0x1000000 // Bit LASTTX. | |
TWIM_INTEN_LASTTX_Disabled = 0x0 // Disable | |
TWIM_INTEN_LASTTX_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
TWIM_INTENSET_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWIM_INTENSET_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWIM_INTENSET_STOPPED = 0x2 // Bit STOPPED. | |
TWIM_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENSET_STOPPED_Set = 0x1 // Enable | |
TWIM_INTENSET_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWIM_INTENSET_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWIM_INTENSET_ERROR = 0x200 // Bit ERROR. | |
TWIM_INTENSET_ERROR_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENSET_ERROR_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENSET_ERROR_Set = 0x1 // Enable | |
TWIM_INTENSET_SUSPENDED_Pos = 0x12 // Position of SUSPENDED field. | |
TWIM_INTENSET_SUSPENDED_Msk = 0x40000 // Bit mask of SUSPENDED field. | |
TWIM_INTENSET_SUSPENDED = 0x40000 // Bit SUSPENDED. | |
TWIM_INTENSET_SUSPENDED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENSET_SUSPENDED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENSET_SUSPENDED_Set = 0x1 // Enable | |
TWIM_INTENSET_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
TWIM_INTENSET_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
TWIM_INTENSET_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
TWIM_INTENSET_RXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENSET_RXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENSET_RXSTARTED_Set = 0x1 // Enable | |
TWIM_INTENSET_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
TWIM_INTENSET_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
TWIM_INTENSET_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
TWIM_INTENSET_TXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENSET_TXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENSET_TXSTARTED_Set = 0x1 // Enable | |
TWIM_INTENSET_LASTRX_Pos = 0x17 // Position of LASTRX field. | |
TWIM_INTENSET_LASTRX_Msk = 0x800000 // Bit mask of LASTRX field. | |
TWIM_INTENSET_LASTRX = 0x800000 // Bit LASTRX. | |
TWIM_INTENSET_LASTRX_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENSET_LASTRX_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENSET_LASTRX_Set = 0x1 // Enable | |
TWIM_INTENSET_LASTTX_Pos = 0x18 // Position of LASTTX field. | |
TWIM_INTENSET_LASTTX_Msk = 0x1000000 // Bit mask of LASTTX field. | |
TWIM_INTENSET_LASTTX = 0x1000000 // Bit LASTTX. | |
TWIM_INTENSET_LASTTX_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENSET_LASTTX_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENSET_LASTTX_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
TWIM_INTENCLR_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWIM_INTENCLR_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWIM_INTENCLR_STOPPED = 0x2 // Bit STOPPED. | |
TWIM_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
TWIM_INTENCLR_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWIM_INTENCLR_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWIM_INTENCLR_ERROR = 0x200 // Bit ERROR. | |
TWIM_INTENCLR_ERROR_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENCLR_ERROR_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENCLR_ERROR_Clear = 0x1 // Disable | |
TWIM_INTENCLR_SUSPENDED_Pos = 0x12 // Position of SUSPENDED field. | |
TWIM_INTENCLR_SUSPENDED_Msk = 0x40000 // Bit mask of SUSPENDED field. | |
TWIM_INTENCLR_SUSPENDED = 0x40000 // Bit SUSPENDED. | |
TWIM_INTENCLR_SUSPENDED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENCLR_SUSPENDED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENCLR_SUSPENDED_Clear = 0x1 // Disable | |
TWIM_INTENCLR_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
TWIM_INTENCLR_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
TWIM_INTENCLR_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
TWIM_INTENCLR_RXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENCLR_RXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENCLR_RXSTARTED_Clear = 0x1 // Disable | |
TWIM_INTENCLR_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
TWIM_INTENCLR_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
TWIM_INTENCLR_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
TWIM_INTENCLR_TXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENCLR_TXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENCLR_TXSTARTED_Clear = 0x1 // Disable | |
TWIM_INTENCLR_LASTRX_Pos = 0x17 // Position of LASTRX field. | |
TWIM_INTENCLR_LASTRX_Msk = 0x800000 // Bit mask of LASTRX field. | |
TWIM_INTENCLR_LASTRX = 0x800000 // Bit LASTRX. | |
TWIM_INTENCLR_LASTRX_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENCLR_LASTRX_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENCLR_LASTRX_Clear = 0x1 // Disable | |
TWIM_INTENCLR_LASTTX_Pos = 0x18 // Position of LASTTX field. | |
TWIM_INTENCLR_LASTTX_Msk = 0x1000000 // Bit mask of LASTTX field. | |
TWIM_INTENCLR_LASTTX = 0x1000000 // Bit LASTTX. | |
TWIM_INTENCLR_LASTTX_Disabled = 0x0 // Read: Disabled | |
TWIM_INTENCLR_LASTTX_Enabled = 0x1 // Read: Enabled | |
TWIM_INTENCLR_LASTTX_Clear = 0x1 // Disable | |
// ERRORSRC: Error source | |
TWIM_ERRORSRC_OVERRUN_Pos = 0x0 // Position of OVERRUN field. | |
TWIM_ERRORSRC_OVERRUN_Msk = 0x1 // Bit mask of OVERRUN field. | |
TWIM_ERRORSRC_OVERRUN = 0x1 // Bit OVERRUN. | |
TWIM_ERRORSRC_OVERRUN_NotReceived = 0x0 // Error did not occur | |
TWIM_ERRORSRC_OVERRUN_Received = 0x1 // Error occurred | |
TWIM_ERRORSRC_ANACK_Pos = 0x1 // Position of ANACK field. | |
TWIM_ERRORSRC_ANACK_Msk = 0x2 // Bit mask of ANACK field. | |
TWIM_ERRORSRC_ANACK = 0x2 // Bit ANACK. | |
TWIM_ERRORSRC_ANACK_NotReceived = 0x0 // Error did not occur | |
TWIM_ERRORSRC_ANACK_Received = 0x1 // Error occurred | |
TWIM_ERRORSRC_DNACK_Pos = 0x2 // Position of DNACK field. | |
TWIM_ERRORSRC_DNACK_Msk = 0x4 // Bit mask of DNACK field. | |
TWIM_ERRORSRC_DNACK = 0x4 // Bit DNACK. | |
TWIM_ERRORSRC_DNACK_NotReceived = 0x0 // Error did not occur | |
TWIM_ERRORSRC_DNACK_Received = 0x1 // Error occurred | |
// ENABLE: Enable TWIM | |
TWIM_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
TWIM_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
TWIM_ENABLE_ENABLE_Disabled = 0x0 // Disable TWIM | |
TWIM_ENABLE_ENABLE_Enabled = 0x6 // Enable TWIM | |
// PSEL.SCL: Pin select for SCL signal | |
TWIM_PSEL_SCL_PIN_Pos = 0x0 // Position of PIN field. | |
TWIM_PSEL_SCL_PIN_Msk = 0x1f // Bit mask of PIN field. | |
TWIM_PSEL_SCL_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
TWIM_PSEL_SCL_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
TWIM_PSEL_SCL_CONNECT = 0x80000000 // Bit CONNECT. | |
TWIM_PSEL_SCL_CONNECT_Disconnected = 0x1 // Disconnect | |
TWIM_PSEL_SCL_CONNECT_Connected = 0x0 // Connect | |
// PSEL.SDA: Pin select for SDA signal | |
TWIM_PSEL_SDA_PIN_Pos = 0x0 // Position of PIN field. | |
TWIM_PSEL_SDA_PIN_Msk = 0x1f // Bit mask of PIN field. | |
TWIM_PSEL_SDA_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
TWIM_PSEL_SDA_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
TWIM_PSEL_SDA_CONNECT = 0x80000000 // Bit CONNECT. | |
TWIM_PSEL_SDA_CONNECT_Disconnected = 0x1 // Disconnect | |
TWIM_PSEL_SDA_CONNECT_Connected = 0x0 // Connect | |
// FREQUENCY: TWI frequency | |
TWIM_FREQUENCY_FREQUENCY_Pos = 0x0 // Position of FREQUENCY field. | |
TWIM_FREQUENCY_FREQUENCY_Msk = 0xffffffff // Bit mask of FREQUENCY field. | |
TWIM_FREQUENCY_FREQUENCY_K100 = 0x1980000 // 100 kbps | |
TWIM_FREQUENCY_FREQUENCY_K250 = 0x4000000 // 250 kbps | |
TWIM_FREQUENCY_FREQUENCY_K400 = 0x6400000 // 400 kbps | |
// RXD.PTR: Data pointer | |
TWIM_RXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
TWIM_RXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// RXD.MAXCNT: Maximum number of bytes in receive buffer | |
TWIM_RXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
TWIM_RXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// RXD.AMOUNT: Number of bytes transferred in the last transaction | |
TWIM_RXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
TWIM_RXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// RXD.LIST: EasyDMA list type | |
TWIM_RXD_LIST_LIST_Pos = 0x0 // Position of LIST field. | |
TWIM_RXD_LIST_LIST_Msk = 0x7 // Bit mask of LIST field. | |
TWIM_RXD_LIST_LIST_Disabled = 0x0 // Disable EasyDMA list | |
TWIM_RXD_LIST_LIST_ArrayList = 0x1 // Use array list | |
// TXD.PTR: Data pointer | |
TWIM_TXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
TWIM_TXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// TXD.MAXCNT: Maximum number of bytes in transmit buffer | |
TWIM_TXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
TWIM_TXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// TXD.AMOUNT: Number of bytes transferred in the last transaction | |
TWIM_TXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
TWIM_TXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// TXD.LIST: EasyDMA list type | |
TWIM_TXD_LIST_LIST_Pos = 0x0 // Position of LIST field. | |
TWIM_TXD_LIST_LIST_Msk = 0x7 // Bit mask of LIST field. | |
TWIM_TXD_LIST_LIST_Disabled = 0x0 // Disable EasyDMA list | |
TWIM_TXD_LIST_LIST_ArrayList = 0x1 // Use array list | |
// ADDRESS: Address used in the TWI transfer | |
TWIM_ADDRESS_ADDRESS_Pos = 0x0 // Position of ADDRESS field. | |
TWIM_ADDRESS_ADDRESS_Msk = 0x7f // Bit mask of ADDRESS field. | |
) | |
// Bitfields for TWIS0: I2C compatible Two-Wire Slave Interface with EasyDMA 0 | |
const ( | |
// SHORTS: Shortcut register | |
TWIS_SHORTS_WRITE_SUSPEND_Pos = 0xd // Position of WRITE_SUSPEND field. | |
TWIS_SHORTS_WRITE_SUSPEND_Msk = 0x2000 // Bit mask of WRITE_SUSPEND field. | |
TWIS_SHORTS_WRITE_SUSPEND = 0x2000 // Bit WRITE_SUSPEND. | |
TWIS_SHORTS_WRITE_SUSPEND_Disabled = 0x0 // Disable shortcut | |
TWIS_SHORTS_WRITE_SUSPEND_Enabled = 0x1 // Enable shortcut | |
TWIS_SHORTS_READ_SUSPEND_Pos = 0xe // Position of READ_SUSPEND field. | |
TWIS_SHORTS_READ_SUSPEND_Msk = 0x4000 // Bit mask of READ_SUSPEND field. | |
TWIS_SHORTS_READ_SUSPEND = 0x4000 // Bit READ_SUSPEND. | |
TWIS_SHORTS_READ_SUSPEND_Disabled = 0x0 // Disable shortcut | |
TWIS_SHORTS_READ_SUSPEND_Enabled = 0x1 // Enable shortcut | |
// INTEN: Enable or disable interrupt | |
TWIS_INTEN_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWIS_INTEN_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWIS_INTEN_STOPPED = 0x2 // Bit STOPPED. | |
TWIS_INTEN_STOPPED_Disabled = 0x0 // Disable | |
TWIS_INTEN_STOPPED_Enabled = 0x1 // Enable | |
TWIS_INTEN_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWIS_INTEN_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWIS_INTEN_ERROR = 0x200 // Bit ERROR. | |
TWIS_INTEN_ERROR_Disabled = 0x0 // Disable | |
TWIS_INTEN_ERROR_Enabled = 0x1 // Enable | |
TWIS_INTEN_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
TWIS_INTEN_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
TWIS_INTEN_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
TWIS_INTEN_RXSTARTED_Disabled = 0x0 // Disable | |
TWIS_INTEN_RXSTARTED_Enabled = 0x1 // Enable | |
TWIS_INTEN_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
TWIS_INTEN_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
TWIS_INTEN_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
TWIS_INTEN_TXSTARTED_Disabled = 0x0 // Disable | |
TWIS_INTEN_TXSTARTED_Enabled = 0x1 // Enable | |
TWIS_INTEN_WRITE_Pos = 0x19 // Position of WRITE field. | |
TWIS_INTEN_WRITE_Msk = 0x2000000 // Bit mask of WRITE field. | |
TWIS_INTEN_WRITE = 0x2000000 // Bit WRITE. | |
TWIS_INTEN_WRITE_Disabled = 0x0 // Disable | |
TWIS_INTEN_WRITE_Enabled = 0x1 // Enable | |
TWIS_INTEN_READ_Pos = 0x1a // Position of READ field. | |
TWIS_INTEN_READ_Msk = 0x4000000 // Bit mask of READ field. | |
TWIS_INTEN_READ = 0x4000000 // Bit READ. | |
TWIS_INTEN_READ_Disabled = 0x0 // Disable | |
TWIS_INTEN_READ_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
TWIS_INTENSET_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWIS_INTENSET_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWIS_INTENSET_STOPPED = 0x2 // Bit STOPPED. | |
TWIS_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENSET_STOPPED_Set = 0x1 // Enable | |
TWIS_INTENSET_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWIS_INTENSET_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWIS_INTENSET_ERROR = 0x200 // Bit ERROR. | |
TWIS_INTENSET_ERROR_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENSET_ERROR_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENSET_ERROR_Set = 0x1 // Enable | |
TWIS_INTENSET_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
TWIS_INTENSET_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
TWIS_INTENSET_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
TWIS_INTENSET_RXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENSET_RXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENSET_RXSTARTED_Set = 0x1 // Enable | |
TWIS_INTENSET_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
TWIS_INTENSET_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
TWIS_INTENSET_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
TWIS_INTENSET_TXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENSET_TXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENSET_TXSTARTED_Set = 0x1 // Enable | |
TWIS_INTENSET_WRITE_Pos = 0x19 // Position of WRITE field. | |
TWIS_INTENSET_WRITE_Msk = 0x2000000 // Bit mask of WRITE field. | |
TWIS_INTENSET_WRITE = 0x2000000 // Bit WRITE. | |
TWIS_INTENSET_WRITE_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENSET_WRITE_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENSET_WRITE_Set = 0x1 // Enable | |
TWIS_INTENSET_READ_Pos = 0x1a // Position of READ field. | |
TWIS_INTENSET_READ_Msk = 0x4000000 // Bit mask of READ field. | |
TWIS_INTENSET_READ = 0x4000000 // Bit READ. | |
TWIS_INTENSET_READ_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENSET_READ_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENSET_READ_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
TWIS_INTENCLR_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWIS_INTENCLR_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWIS_INTENCLR_STOPPED = 0x2 // Bit STOPPED. | |
TWIS_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
TWIS_INTENCLR_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWIS_INTENCLR_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWIS_INTENCLR_ERROR = 0x200 // Bit ERROR. | |
TWIS_INTENCLR_ERROR_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENCLR_ERROR_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENCLR_ERROR_Clear = 0x1 // Disable | |
TWIS_INTENCLR_RXSTARTED_Pos = 0x13 // Position of RXSTARTED field. | |
TWIS_INTENCLR_RXSTARTED_Msk = 0x80000 // Bit mask of RXSTARTED field. | |
TWIS_INTENCLR_RXSTARTED = 0x80000 // Bit RXSTARTED. | |
TWIS_INTENCLR_RXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENCLR_RXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENCLR_RXSTARTED_Clear = 0x1 // Disable | |
TWIS_INTENCLR_TXSTARTED_Pos = 0x14 // Position of TXSTARTED field. | |
TWIS_INTENCLR_TXSTARTED_Msk = 0x100000 // Bit mask of TXSTARTED field. | |
TWIS_INTENCLR_TXSTARTED = 0x100000 // Bit TXSTARTED. | |
TWIS_INTENCLR_TXSTARTED_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENCLR_TXSTARTED_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENCLR_TXSTARTED_Clear = 0x1 // Disable | |
TWIS_INTENCLR_WRITE_Pos = 0x19 // Position of WRITE field. | |
TWIS_INTENCLR_WRITE_Msk = 0x2000000 // Bit mask of WRITE field. | |
TWIS_INTENCLR_WRITE = 0x2000000 // Bit WRITE. | |
TWIS_INTENCLR_WRITE_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENCLR_WRITE_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENCLR_WRITE_Clear = 0x1 // Disable | |
TWIS_INTENCLR_READ_Pos = 0x1a // Position of READ field. | |
TWIS_INTENCLR_READ_Msk = 0x4000000 // Bit mask of READ field. | |
TWIS_INTENCLR_READ = 0x4000000 // Bit READ. | |
TWIS_INTENCLR_READ_Disabled = 0x0 // Read: Disabled | |
TWIS_INTENCLR_READ_Enabled = 0x1 // Read: Enabled | |
TWIS_INTENCLR_READ_Clear = 0x1 // Disable | |
// ERRORSRC: Error source | |
TWIS_ERRORSRC_OVERFLOW_Pos = 0x0 // Position of OVERFLOW field. | |
TWIS_ERRORSRC_OVERFLOW_Msk = 0x1 // Bit mask of OVERFLOW field. | |
TWIS_ERRORSRC_OVERFLOW = 0x1 // Bit OVERFLOW. | |
TWIS_ERRORSRC_OVERFLOW_NotDetected = 0x0 // Error did not occur | |
TWIS_ERRORSRC_OVERFLOW_Detected = 0x1 // Error occurred | |
TWIS_ERRORSRC_DNACK_Pos = 0x2 // Position of DNACK field. | |
TWIS_ERRORSRC_DNACK_Msk = 0x4 // Bit mask of DNACK field. | |
TWIS_ERRORSRC_DNACK = 0x4 // Bit DNACK. | |
TWIS_ERRORSRC_DNACK_NotReceived = 0x0 // Error did not occur | |
TWIS_ERRORSRC_DNACK_Received = 0x1 // Error occurred | |
TWIS_ERRORSRC_OVERREAD_Pos = 0x3 // Position of OVERREAD field. | |
TWIS_ERRORSRC_OVERREAD_Msk = 0x8 // Bit mask of OVERREAD field. | |
TWIS_ERRORSRC_OVERREAD = 0x8 // Bit OVERREAD. | |
TWIS_ERRORSRC_OVERREAD_NotDetected = 0x0 // Error did not occur | |
TWIS_ERRORSRC_OVERREAD_Detected = 0x1 // Error occurred | |
// MATCH: Status register indicating which address had a match | |
TWIS_MATCH_MATCH_Pos = 0x0 // Position of MATCH field. | |
TWIS_MATCH_MATCH_Msk = 0x1 // Bit mask of MATCH field. | |
TWIS_MATCH_MATCH = 0x1 // Bit MATCH. | |
// ENABLE: Enable TWIS | |
TWIS_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
TWIS_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
TWIS_ENABLE_ENABLE_Disabled = 0x0 // Disable TWIS | |
TWIS_ENABLE_ENABLE_Enabled = 0x9 // Enable TWIS | |
// PSEL.SCL: Pin select for SCL signal | |
TWIS_PSEL_SCL_PIN_Pos = 0x0 // Position of PIN field. | |
TWIS_PSEL_SCL_PIN_Msk = 0x1f // Bit mask of PIN field. | |
TWIS_PSEL_SCL_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
TWIS_PSEL_SCL_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
TWIS_PSEL_SCL_CONNECT = 0x80000000 // Bit CONNECT. | |
TWIS_PSEL_SCL_CONNECT_Disconnected = 0x1 // Disconnect | |
TWIS_PSEL_SCL_CONNECT_Connected = 0x0 // Connect | |
// PSEL.SDA: Pin select for SDA signal | |
TWIS_PSEL_SDA_PIN_Pos = 0x0 // Position of PIN field. | |
TWIS_PSEL_SDA_PIN_Msk = 0x1f // Bit mask of PIN field. | |
TWIS_PSEL_SDA_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
TWIS_PSEL_SDA_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
TWIS_PSEL_SDA_CONNECT = 0x80000000 // Bit CONNECT. | |
TWIS_PSEL_SDA_CONNECT_Disconnected = 0x1 // Disconnect | |
TWIS_PSEL_SDA_CONNECT_Connected = 0x0 // Connect | |
// RXD.PTR: RXD Data pointer | |
TWIS_RXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
TWIS_RXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// RXD.MAXCNT: Maximum number of bytes in RXD buffer | |
TWIS_RXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
TWIS_RXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// RXD.AMOUNT: Number of bytes transferred in the last RXD transaction | |
TWIS_RXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
TWIS_RXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// TXD.PTR: TXD Data pointer | |
TWIS_TXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
TWIS_TXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// TXD.MAXCNT: Maximum number of bytes in TXD buffer | |
TWIS_TXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
TWIS_TXD_MAXCNT_MAXCNT_Msk = 0xff // Bit mask of MAXCNT field. | |
// TXD.AMOUNT: Number of bytes transferred in the last TXD transaction | |
TWIS_TXD_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
TWIS_TXD_AMOUNT_AMOUNT_Msk = 0xff // Bit mask of AMOUNT field. | |
// ADDRESS: Description collection[0]: TWI slave address 0 | |
TWIS_ADDRESS_ADDRESS_Pos = 0x0 // Position of ADDRESS field. | |
TWIS_ADDRESS_ADDRESS_Msk = 0x7f // Bit mask of ADDRESS field. | |
// CONFIG: Configuration register for the address match mechanism | |
TWIS_CONFIG_ADDRESS0_Pos = 0x0 // Position of ADDRESS0 field. | |
TWIS_CONFIG_ADDRESS0_Msk = 0x1 // Bit mask of ADDRESS0 field. | |
TWIS_CONFIG_ADDRESS0 = 0x1 // Bit ADDRESS0. | |
TWIS_CONFIG_ADDRESS0_Disabled = 0x0 // Disabled | |
TWIS_CONFIG_ADDRESS0_Enabled = 0x1 // Enabled | |
TWIS_CONFIG_ADDRESS1_Pos = 0x1 // Position of ADDRESS1 field. | |
TWIS_CONFIG_ADDRESS1_Msk = 0x2 // Bit mask of ADDRESS1 field. | |
TWIS_CONFIG_ADDRESS1 = 0x2 // Bit ADDRESS1. | |
TWIS_CONFIG_ADDRESS1_Disabled = 0x0 // Disabled | |
TWIS_CONFIG_ADDRESS1_Enabled = 0x1 // Enabled | |
// ORC: Over-read character. Character sent out in case of an over-read of the transmit buffer. | |
TWIS_ORC_ORC_Pos = 0x0 // Position of ORC field. | |
TWIS_ORC_ORC_Msk = 0xff // Bit mask of ORC field. | |
) | |
// Bitfields for SPI0: Serial Peripheral Interface 0 | |
const ( | |
// INTENSET: Enable interrupt | |
SPI_INTENSET_READY_Pos = 0x2 // Position of READY field. | |
SPI_INTENSET_READY_Msk = 0x4 // Bit mask of READY field. | |
SPI_INTENSET_READY = 0x4 // Bit READY. | |
SPI_INTENSET_READY_Disabled = 0x0 // Read: Disabled | |
SPI_INTENSET_READY_Enabled = 0x1 // Read: Enabled | |
SPI_INTENSET_READY_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
SPI_INTENCLR_READY_Pos = 0x2 // Position of READY field. | |
SPI_INTENCLR_READY_Msk = 0x4 // Bit mask of READY field. | |
SPI_INTENCLR_READY = 0x4 // Bit READY. | |
SPI_INTENCLR_READY_Disabled = 0x0 // Read: Disabled | |
SPI_INTENCLR_READY_Enabled = 0x1 // Read: Enabled | |
SPI_INTENCLR_READY_Clear = 0x1 // Disable | |
// ENABLE: Enable SPI | |
SPI_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
SPI_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
SPI_ENABLE_ENABLE_Disabled = 0x0 // Disable SPI | |
SPI_ENABLE_ENABLE_Enabled = 0x1 // Enable SPI | |
// PSEL.SCK: Pin select for SCK | |
SPI_PSEL_SCK_PSELSCK_Pos = 0x0 // Position of PSELSCK field. | |
SPI_PSEL_SCK_PSELSCK_Msk = 0xffffffff // Bit mask of PSELSCK field. | |
SPI_PSEL_SCK_PSELSCK_Disconnected = 0xffffffff // Disconnect | |
// PSEL.MOSI: Pin select for MOSI | |
SPI_PSEL_MOSI_PSELMOSI_Pos = 0x0 // Position of PSELMOSI field. | |
SPI_PSEL_MOSI_PSELMOSI_Msk = 0xffffffff // Bit mask of PSELMOSI field. | |
SPI_PSEL_MOSI_PSELMOSI_Disconnected = 0xffffffff // Disconnect | |
// PSEL.MISO: Pin select for MISO | |
SPI_PSEL_MISO_PSELMISO_Pos = 0x0 // Position of PSELMISO field. | |
SPI_PSEL_MISO_PSELMISO_Msk = 0xffffffff // Bit mask of PSELMISO field. | |
SPI_PSEL_MISO_PSELMISO_Disconnected = 0xffffffff // Disconnect | |
// RXD: RXD register | |
SPI_RXD_RXD_Pos = 0x0 // Position of RXD field. | |
SPI_RXD_RXD_Msk = 0xff // Bit mask of RXD field. | |
// TXD: TXD register | |
SPI_TXD_TXD_Pos = 0x0 // Position of TXD field. | |
SPI_TXD_TXD_Msk = 0xff // Bit mask of TXD field. | |
// FREQUENCY: SPI frequency | |
SPI_FREQUENCY_FREQUENCY_Pos = 0x0 // Position of FREQUENCY field. | |
SPI_FREQUENCY_FREQUENCY_Msk = 0xffffffff // Bit mask of FREQUENCY field. | |
SPI_FREQUENCY_FREQUENCY_K125 = 0x2000000 // 125 kbps | |
SPI_FREQUENCY_FREQUENCY_K250 = 0x4000000 // 250 kbps | |
SPI_FREQUENCY_FREQUENCY_K500 = 0x8000000 // 500 kbps | |
SPI_FREQUENCY_FREQUENCY_M1 = 0x10000000 // 1 Mbps | |
SPI_FREQUENCY_FREQUENCY_M2 = 0x20000000 // 2 Mbps | |
SPI_FREQUENCY_FREQUENCY_M4 = 0x40000000 // 4 Mbps | |
SPI_FREQUENCY_FREQUENCY_M8 = 0x80000000 // 8 Mbps | |
// CONFIG: Configuration register | |
SPI_CONFIG_ORDER_Pos = 0x0 // Position of ORDER field. | |
SPI_CONFIG_ORDER_Msk = 0x1 // Bit mask of ORDER field. | |
SPI_CONFIG_ORDER = 0x1 // Bit ORDER. | |
SPI_CONFIG_ORDER_MsbFirst = 0x0 // Most significant bit shifted out first | |
SPI_CONFIG_ORDER_LsbFirst = 0x1 // Least significant bit shifted out first | |
SPI_CONFIG_CPHA_Pos = 0x1 // Position of CPHA field. | |
SPI_CONFIG_CPHA_Msk = 0x2 // Bit mask of CPHA field. | |
SPI_CONFIG_CPHA = 0x2 // Bit CPHA. | |
SPI_CONFIG_CPHA_Leading = 0x0 // Sample on leading edge of clock, shift serial data on trailing edge | |
SPI_CONFIG_CPHA_Trailing = 0x1 // Sample on trailing edge of clock, shift serial data on leading edge | |
SPI_CONFIG_CPOL_Pos = 0x2 // Position of CPOL field. | |
SPI_CONFIG_CPOL_Msk = 0x4 // Bit mask of CPOL field. | |
SPI_CONFIG_CPOL = 0x4 // Bit CPOL. | |
SPI_CONFIG_CPOL_ActiveHigh = 0x0 // Active high | |
SPI_CONFIG_CPOL_ActiveLow = 0x1 // Active low | |
) | |
// Bitfields for TWI0: I2C compatible Two-Wire Interface 0 | |
const ( | |
// SHORTS: Shortcut register | |
TWI_SHORTS_BB_SUSPEND_Pos = 0x0 // Position of BB_SUSPEND field. | |
TWI_SHORTS_BB_SUSPEND_Msk = 0x1 // Bit mask of BB_SUSPEND field. | |
TWI_SHORTS_BB_SUSPEND = 0x1 // Bit BB_SUSPEND. | |
TWI_SHORTS_BB_SUSPEND_Disabled = 0x0 // Disable shortcut | |
TWI_SHORTS_BB_SUSPEND_Enabled = 0x1 // Enable shortcut | |
TWI_SHORTS_BB_STOP_Pos = 0x1 // Position of BB_STOP field. | |
TWI_SHORTS_BB_STOP_Msk = 0x2 // Bit mask of BB_STOP field. | |
TWI_SHORTS_BB_STOP = 0x2 // Bit BB_STOP. | |
TWI_SHORTS_BB_STOP_Disabled = 0x0 // Disable shortcut | |
TWI_SHORTS_BB_STOP_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
TWI_INTENSET_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWI_INTENSET_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWI_INTENSET_STOPPED = 0x2 // Bit STOPPED. | |
TWI_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
TWI_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
TWI_INTENSET_STOPPED_Set = 0x1 // Enable | |
TWI_INTENSET_RXDREADY_Pos = 0x2 // Position of RXDREADY field. | |
TWI_INTENSET_RXDREADY_Msk = 0x4 // Bit mask of RXDREADY field. | |
TWI_INTENSET_RXDREADY = 0x4 // Bit RXDREADY. | |
TWI_INTENSET_RXDREADY_Disabled = 0x0 // Read: Disabled | |
TWI_INTENSET_RXDREADY_Enabled = 0x1 // Read: Enabled | |
TWI_INTENSET_RXDREADY_Set = 0x1 // Enable | |
TWI_INTENSET_TXDSENT_Pos = 0x7 // Position of TXDSENT field. | |
TWI_INTENSET_TXDSENT_Msk = 0x80 // Bit mask of TXDSENT field. | |
TWI_INTENSET_TXDSENT = 0x80 // Bit TXDSENT. | |
TWI_INTENSET_TXDSENT_Disabled = 0x0 // Read: Disabled | |
TWI_INTENSET_TXDSENT_Enabled = 0x1 // Read: Enabled | |
TWI_INTENSET_TXDSENT_Set = 0x1 // Enable | |
TWI_INTENSET_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWI_INTENSET_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWI_INTENSET_ERROR = 0x200 // Bit ERROR. | |
TWI_INTENSET_ERROR_Disabled = 0x0 // Read: Disabled | |
TWI_INTENSET_ERROR_Enabled = 0x1 // Read: Enabled | |
TWI_INTENSET_ERROR_Set = 0x1 // Enable | |
TWI_INTENSET_BB_Pos = 0xe // Position of BB field. | |
TWI_INTENSET_BB_Msk = 0x4000 // Bit mask of BB field. | |
TWI_INTENSET_BB = 0x4000 // Bit BB. | |
TWI_INTENSET_BB_Disabled = 0x0 // Read: Disabled | |
TWI_INTENSET_BB_Enabled = 0x1 // Read: Enabled | |
TWI_INTENSET_BB_Set = 0x1 // Enable | |
TWI_INTENSET_SUSPENDED_Pos = 0x12 // Position of SUSPENDED field. | |
TWI_INTENSET_SUSPENDED_Msk = 0x40000 // Bit mask of SUSPENDED field. | |
TWI_INTENSET_SUSPENDED = 0x40000 // Bit SUSPENDED. | |
TWI_INTENSET_SUSPENDED_Disabled = 0x0 // Read: Disabled | |
TWI_INTENSET_SUSPENDED_Enabled = 0x1 // Read: Enabled | |
TWI_INTENSET_SUSPENDED_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
TWI_INTENCLR_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
TWI_INTENCLR_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
TWI_INTENCLR_STOPPED = 0x2 // Bit STOPPED. | |
TWI_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
TWI_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
TWI_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
TWI_INTENCLR_RXDREADY_Pos = 0x2 // Position of RXDREADY field. | |
TWI_INTENCLR_RXDREADY_Msk = 0x4 // Bit mask of RXDREADY field. | |
TWI_INTENCLR_RXDREADY = 0x4 // Bit RXDREADY. | |
TWI_INTENCLR_RXDREADY_Disabled = 0x0 // Read: Disabled | |
TWI_INTENCLR_RXDREADY_Enabled = 0x1 // Read: Enabled | |
TWI_INTENCLR_RXDREADY_Clear = 0x1 // Disable | |
TWI_INTENCLR_TXDSENT_Pos = 0x7 // Position of TXDSENT field. | |
TWI_INTENCLR_TXDSENT_Msk = 0x80 // Bit mask of TXDSENT field. | |
TWI_INTENCLR_TXDSENT = 0x80 // Bit TXDSENT. | |
TWI_INTENCLR_TXDSENT_Disabled = 0x0 // Read: Disabled | |
TWI_INTENCLR_TXDSENT_Enabled = 0x1 // Read: Enabled | |
TWI_INTENCLR_TXDSENT_Clear = 0x1 // Disable | |
TWI_INTENCLR_ERROR_Pos = 0x9 // Position of ERROR field. | |
TWI_INTENCLR_ERROR_Msk = 0x200 // Bit mask of ERROR field. | |
TWI_INTENCLR_ERROR = 0x200 // Bit ERROR. | |
TWI_INTENCLR_ERROR_Disabled = 0x0 // Read: Disabled | |
TWI_INTENCLR_ERROR_Enabled = 0x1 // Read: Enabled | |
TWI_INTENCLR_ERROR_Clear = 0x1 // Disable | |
TWI_INTENCLR_BB_Pos = 0xe // Position of BB field. | |
TWI_INTENCLR_BB_Msk = 0x4000 // Bit mask of BB field. | |
TWI_INTENCLR_BB = 0x4000 // Bit BB. | |
TWI_INTENCLR_BB_Disabled = 0x0 // Read: Disabled | |
TWI_INTENCLR_BB_Enabled = 0x1 // Read: Enabled | |
TWI_INTENCLR_BB_Clear = 0x1 // Disable | |
TWI_INTENCLR_SUSPENDED_Pos = 0x12 // Position of SUSPENDED field. | |
TWI_INTENCLR_SUSPENDED_Msk = 0x40000 // Bit mask of SUSPENDED field. | |
TWI_INTENCLR_SUSPENDED = 0x40000 // Bit SUSPENDED. | |
TWI_INTENCLR_SUSPENDED_Disabled = 0x0 // Read: Disabled | |
TWI_INTENCLR_SUSPENDED_Enabled = 0x1 // Read: Enabled | |
TWI_INTENCLR_SUSPENDED_Clear = 0x1 // Disable | |
// ERRORSRC: Error source | |
TWI_ERRORSRC_OVERRUN_Pos = 0x0 // Position of OVERRUN field. | |
TWI_ERRORSRC_OVERRUN_Msk = 0x1 // Bit mask of OVERRUN field. | |
TWI_ERRORSRC_OVERRUN = 0x1 // Bit OVERRUN. | |
TWI_ERRORSRC_OVERRUN_NotPresent = 0x0 // Read: no overrun occured | |
TWI_ERRORSRC_OVERRUN_Present = 0x1 // Read: overrun occured | |
TWI_ERRORSRC_OVERRUN_Clear = 0x1 // Write: clear error on writing '1' | |
TWI_ERRORSRC_ANACK_Pos = 0x1 // Position of ANACK field. | |
TWI_ERRORSRC_ANACK_Msk = 0x2 // Bit mask of ANACK field. | |
TWI_ERRORSRC_ANACK = 0x2 // Bit ANACK. | |
TWI_ERRORSRC_ANACK_NotPresent = 0x0 // Read: error not present | |
TWI_ERRORSRC_ANACK_Present = 0x1 // Read: error present | |
TWI_ERRORSRC_ANACK_Clear = 0x1 // Write: clear error on writing '1' | |
TWI_ERRORSRC_DNACK_Pos = 0x2 // Position of DNACK field. | |
TWI_ERRORSRC_DNACK_Msk = 0x4 // Bit mask of DNACK field. | |
TWI_ERRORSRC_DNACK = 0x4 // Bit DNACK. | |
TWI_ERRORSRC_DNACK_NotPresent = 0x0 // Read: error not present | |
TWI_ERRORSRC_DNACK_Present = 0x1 // Read: error present | |
TWI_ERRORSRC_DNACK_Clear = 0x1 // Write: clear error on writing '1' | |
// ENABLE: Enable TWI | |
TWI_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
TWI_ENABLE_ENABLE_Msk = 0xf // Bit mask of ENABLE field. | |
TWI_ENABLE_ENABLE_Disabled = 0x0 // Disable TWI | |
TWI_ENABLE_ENABLE_Enabled = 0x5 // Enable TWI | |
// PSELSCL: Pin select for SCL | |
TWI_PSELSCL_PSELSCL_Pos = 0x0 // Position of PSELSCL field. | |
TWI_PSELSCL_PSELSCL_Msk = 0xffffffff // Bit mask of PSELSCL field. | |
TWI_PSELSCL_PSELSCL_Disconnected = 0xffffffff // Disconnect | |
// PSELSDA: Pin select for SDA | |
TWI_PSELSDA_PSELSDA_Pos = 0x0 // Position of PSELSDA field. | |
TWI_PSELSDA_PSELSDA_Msk = 0xffffffff // Bit mask of PSELSDA field. | |
TWI_PSELSDA_PSELSDA_Disconnected = 0xffffffff // Disconnect | |
// RXD: RXD register | |
TWI_RXD_RXD_Pos = 0x0 // Position of RXD field. | |
TWI_RXD_RXD_Msk = 0xff // Bit mask of RXD field. | |
// TXD: TXD register | |
TWI_TXD_TXD_Pos = 0x0 // Position of TXD field. | |
TWI_TXD_TXD_Msk = 0xff // Bit mask of TXD field. | |
// FREQUENCY: TWI frequency | |
TWI_FREQUENCY_FREQUENCY_Pos = 0x0 // Position of FREQUENCY field. | |
TWI_FREQUENCY_FREQUENCY_Msk = 0xffffffff // Bit mask of FREQUENCY field. | |
TWI_FREQUENCY_FREQUENCY_K100 = 0x1980000 // 100 kbps | |
TWI_FREQUENCY_FREQUENCY_K250 = 0x4000000 // 250 kbps | |
TWI_FREQUENCY_FREQUENCY_K400 = 0x6680000 // 400 kbps (actual rate 410.256 kbps) | |
// ADDRESS: Address used in the TWI transfer | |
TWI_ADDRESS_ADDRESS_Pos = 0x0 // Position of ADDRESS field. | |
TWI_ADDRESS_ADDRESS_Msk = 0x7f // Bit mask of ADDRESS field. | |
) | |
// Bitfields for NFCT: NFC-A compatible radio | |
const ( | |
// SHORTS: Shortcut register | |
NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Pos = 0x0 // Position of FIELDDETECTED_ACTIVATE field. | |
NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Msk = 0x1 // Bit mask of FIELDDETECTED_ACTIVATE field. | |
NFCT_SHORTS_FIELDDETECTED_ACTIVATE = 0x1 // Bit FIELDDETECTED_ACTIVATE. | |
NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Disabled = 0x0 // Disable shortcut | |
NFCT_SHORTS_FIELDDETECTED_ACTIVATE_Enabled = 0x1 // Enable shortcut | |
NFCT_SHORTS_FIELDLOST_SENSE_Pos = 0x1 // Position of FIELDLOST_SENSE field. | |
NFCT_SHORTS_FIELDLOST_SENSE_Msk = 0x2 // Bit mask of FIELDLOST_SENSE field. | |
NFCT_SHORTS_FIELDLOST_SENSE = 0x2 // Bit FIELDLOST_SENSE. | |
NFCT_SHORTS_FIELDLOST_SENSE_Disabled = 0x0 // Disable shortcut | |
NFCT_SHORTS_FIELDLOST_SENSE_Enabled = 0x1 // Enable shortcut | |
// INTEN: Enable or disable interrupt | |
NFCT_INTEN_READY_Pos = 0x0 // Position of READY field. | |
NFCT_INTEN_READY_Msk = 0x1 // Bit mask of READY field. | |
NFCT_INTEN_READY = 0x1 // Bit READY. | |
NFCT_INTEN_READY_Disabled = 0x0 // Disable | |
NFCT_INTEN_READY_Enabled = 0x1 // Enable | |
NFCT_INTEN_FIELDDETECTED_Pos = 0x1 // Position of FIELDDETECTED field. | |
NFCT_INTEN_FIELDDETECTED_Msk = 0x2 // Bit mask of FIELDDETECTED field. | |
NFCT_INTEN_FIELDDETECTED = 0x2 // Bit FIELDDETECTED. | |
NFCT_INTEN_FIELDDETECTED_Disabled = 0x0 // Disable | |
NFCT_INTEN_FIELDDETECTED_Enabled = 0x1 // Enable | |
NFCT_INTEN_FIELDLOST_Pos = 0x2 // Position of FIELDLOST field. | |
NFCT_INTEN_FIELDLOST_Msk = 0x4 // Bit mask of FIELDLOST field. | |
NFCT_INTEN_FIELDLOST = 0x4 // Bit FIELDLOST. | |
NFCT_INTEN_FIELDLOST_Disabled = 0x0 // Disable | |
NFCT_INTEN_FIELDLOST_Enabled = 0x1 // Enable | |
NFCT_INTEN_TXFRAMESTART_Pos = 0x3 // Position of TXFRAMESTART field. | |
NFCT_INTEN_TXFRAMESTART_Msk = 0x8 // Bit mask of TXFRAMESTART field. | |
NFCT_INTEN_TXFRAMESTART = 0x8 // Bit TXFRAMESTART. | |
NFCT_INTEN_TXFRAMESTART_Disabled = 0x0 // Disable | |
NFCT_INTEN_TXFRAMESTART_Enabled = 0x1 // Enable | |
NFCT_INTEN_TXFRAMEEND_Pos = 0x4 // Position of TXFRAMEEND field. | |
NFCT_INTEN_TXFRAMEEND_Msk = 0x10 // Bit mask of TXFRAMEEND field. | |
NFCT_INTEN_TXFRAMEEND = 0x10 // Bit TXFRAMEEND. | |
NFCT_INTEN_TXFRAMEEND_Disabled = 0x0 // Disable | |
NFCT_INTEN_TXFRAMEEND_Enabled = 0x1 // Enable | |
NFCT_INTEN_RXFRAMESTART_Pos = 0x5 // Position of RXFRAMESTART field. | |
NFCT_INTEN_RXFRAMESTART_Msk = 0x20 // Bit mask of RXFRAMESTART field. | |
NFCT_INTEN_RXFRAMESTART = 0x20 // Bit RXFRAMESTART. | |
NFCT_INTEN_RXFRAMESTART_Disabled = 0x0 // Disable | |
NFCT_INTEN_RXFRAMESTART_Enabled = 0x1 // Enable | |
NFCT_INTEN_RXFRAMEEND_Pos = 0x6 // Position of RXFRAMEEND field. | |
NFCT_INTEN_RXFRAMEEND_Msk = 0x40 // Bit mask of RXFRAMEEND field. | |
NFCT_INTEN_RXFRAMEEND = 0x40 // Bit RXFRAMEEND. | |
NFCT_INTEN_RXFRAMEEND_Disabled = 0x0 // Disable | |
NFCT_INTEN_RXFRAMEEND_Enabled = 0x1 // Enable | |
NFCT_INTEN_ERROR_Pos = 0x7 // Position of ERROR field. | |
NFCT_INTEN_ERROR_Msk = 0x80 // Bit mask of ERROR field. | |
NFCT_INTEN_ERROR = 0x80 // Bit ERROR. | |
NFCT_INTEN_ERROR_Disabled = 0x0 // Disable | |
NFCT_INTEN_ERROR_Enabled = 0x1 // Enable | |
NFCT_INTEN_RXERROR_Pos = 0xa // Position of RXERROR field. | |
NFCT_INTEN_RXERROR_Msk = 0x400 // Bit mask of RXERROR field. | |
NFCT_INTEN_RXERROR = 0x400 // Bit RXERROR. | |
NFCT_INTEN_RXERROR_Disabled = 0x0 // Disable | |
NFCT_INTEN_RXERROR_Enabled = 0x1 // Enable | |
NFCT_INTEN_ENDRX_Pos = 0xb // Position of ENDRX field. | |
NFCT_INTEN_ENDRX_Msk = 0x800 // Bit mask of ENDRX field. | |
NFCT_INTEN_ENDRX = 0x800 // Bit ENDRX. | |
NFCT_INTEN_ENDRX_Disabled = 0x0 // Disable | |
NFCT_INTEN_ENDRX_Enabled = 0x1 // Enable | |
NFCT_INTEN_ENDTX_Pos = 0xc // Position of ENDTX field. | |
NFCT_INTEN_ENDTX_Msk = 0x1000 // Bit mask of ENDTX field. | |
NFCT_INTEN_ENDTX = 0x1000 // Bit ENDTX. | |
NFCT_INTEN_ENDTX_Disabled = 0x0 // Disable | |
NFCT_INTEN_ENDTX_Enabled = 0x1 // Enable | |
NFCT_INTEN_AUTOCOLRESSTARTED_Pos = 0xe // Position of AUTOCOLRESSTARTED field. | |
NFCT_INTEN_AUTOCOLRESSTARTED_Msk = 0x4000 // Bit mask of AUTOCOLRESSTARTED field. | |
NFCT_INTEN_AUTOCOLRESSTARTED = 0x4000 // Bit AUTOCOLRESSTARTED. | |
NFCT_INTEN_AUTOCOLRESSTARTED_Disabled = 0x0 // Disable | |
NFCT_INTEN_AUTOCOLRESSTARTED_Enabled = 0x1 // Enable | |
NFCT_INTEN_COLLISION_Pos = 0x12 // Position of COLLISION field. | |
NFCT_INTEN_COLLISION_Msk = 0x40000 // Bit mask of COLLISION field. | |
NFCT_INTEN_COLLISION = 0x40000 // Bit COLLISION. | |
NFCT_INTEN_COLLISION_Disabled = 0x0 // Disable | |
NFCT_INTEN_COLLISION_Enabled = 0x1 // Enable | |
NFCT_INTEN_SELECTED_Pos = 0x13 // Position of SELECTED field. | |
NFCT_INTEN_SELECTED_Msk = 0x80000 // Bit mask of SELECTED field. | |
NFCT_INTEN_SELECTED = 0x80000 // Bit SELECTED. | |
NFCT_INTEN_SELECTED_Disabled = 0x0 // Disable | |
NFCT_INTEN_SELECTED_Enabled = 0x1 // Enable | |
NFCT_INTEN_STARTED_Pos = 0x14 // Position of STARTED field. | |
NFCT_INTEN_STARTED_Msk = 0x100000 // Bit mask of STARTED field. | |
NFCT_INTEN_STARTED = 0x100000 // Bit STARTED. | |
NFCT_INTEN_STARTED_Disabled = 0x0 // Disable | |
NFCT_INTEN_STARTED_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
NFCT_INTENSET_READY_Pos = 0x0 // Position of READY field. | |
NFCT_INTENSET_READY_Msk = 0x1 // Bit mask of READY field. | |
NFCT_INTENSET_READY = 0x1 // Bit READY. | |
NFCT_INTENSET_READY_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_READY_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_READY_Set = 0x1 // Enable | |
NFCT_INTENSET_FIELDDETECTED_Pos = 0x1 // Position of FIELDDETECTED field. | |
NFCT_INTENSET_FIELDDETECTED_Msk = 0x2 // Bit mask of FIELDDETECTED field. | |
NFCT_INTENSET_FIELDDETECTED = 0x2 // Bit FIELDDETECTED. | |
NFCT_INTENSET_FIELDDETECTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_FIELDDETECTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_FIELDDETECTED_Set = 0x1 // Enable | |
NFCT_INTENSET_FIELDLOST_Pos = 0x2 // Position of FIELDLOST field. | |
NFCT_INTENSET_FIELDLOST_Msk = 0x4 // Bit mask of FIELDLOST field. | |
NFCT_INTENSET_FIELDLOST = 0x4 // Bit FIELDLOST. | |
NFCT_INTENSET_FIELDLOST_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_FIELDLOST_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_FIELDLOST_Set = 0x1 // Enable | |
NFCT_INTENSET_TXFRAMESTART_Pos = 0x3 // Position of TXFRAMESTART field. | |
NFCT_INTENSET_TXFRAMESTART_Msk = 0x8 // Bit mask of TXFRAMESTART field. | |
NFCT_INTENSET_TXFRAMESTART = 0x8 // Bit TXFRAMESTART. | |
NFCT_INTENSET_TXFRAMESTART_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_TXFRAMESTART_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_TXFRAMESTART_Set = 0x1 // Enable | |
NFCT_INTENSET_TXFRAMEEND_Pos = 0x4 // Position of TXFRAMEEND field. | |
NFCT_INTENSET_TXFRAMEEND_Msk = 0x10 // Bit mask of TXFRAMEEND field. | |
NFCT_INTENSET_TXFRAMEEND = 0x10 // Bit TXFRAMEEND. | |
NFCT_INTENSET_TXFRAMEEND_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_TXFRAMEEND_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_TXFRAMEEND_Set = 0x1 // Enable | |
NFCT_INTENSET_RXFRAMESTART_Pos = 0x5 // Position of RXFRAMESTART field. | |
NFCT_INTENSET_RXFRAMESTART_Msk = 0x20 // Bit mask of RXFRAMESTART field. | |
NFCT_INTENSET_RXFRAMESTART = 0x20 // Bit RXFRAMESTART. | |
NFCT_INTENSET_RXFRAMESTART_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_RXFRAMESTART_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_RXFRAMESTART_Set = 0x1 // Enable | |
NFCT_INTENSET_RXFRAMEEND_Pos = 0x6 // Position of RXFRAMEEND field. | |
NFCT_INTENSET_RXFRAMEEND_Msk = 0x40 // Bit mask of RXFRAMEEND field. | |
NFCT_INTENSET_RXFRAMEEND = 0x40 // Bit RXFRAMEEND. | |
NFCT_INTENSET_RXFRAMEEND_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_RXFRAMEEND_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_RXFRAMEEND_Set = 0x1 // Enable | |
NFCT_INTENSET_ERROR_Pos = 0x7 // Position of ERROR field. | |
NFCT_INTENSET_ERROR_Msk = 0x80 // Bit mask of ERROR field. | |
NFCT_INTENSET_ERROR = 0x80 // Bit ERROR. | |
NFCT_INTENSET_ERROR_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_ERROR_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_ERROR_Set = 0x1 // Enable | |
NFCT_INTENSET_RXERROR_Pos = 0xa // Position of RXERROR field. | |
NFCT_INTENSET_RXERROR_Msk = 0x400 // Bit mask of RXERROR field. | |
NFCT_INTENSET_RXERROR = 0x400 // Bit RXERROR. | |
NFCT_INTENSET_RXERROR_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_RXERROR_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_RXERROR_Set = 0x1 // Enable | |
NFCT_INTENSET_ENDRX_Pos = 0xb // Position of ENDRX field. | |
NFCT_INTENSET_ENDRX_Msk = 0x800 // Bit mask of ENDRX field. | |
NFCT_INTENSET_ENDRX = 0x800 // Bit ENDRX. | |
NFCT_INTENSET_ENDRX_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_ENDRX_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_ENDRX_Set = 0x1 // Enable | |
NFCT_INTENSET_ENDTX_Pos = 0xc // Position of ENDTX field. | |
NFCT_INTENSET_ENDTX_Msk = 0x1000 // Bit mask of ENDTX field. | |
NFCT_INTENSET_ENDTX = 0x1000 // Bit ENDTX. | |
NFCT_INTENSET_ENDTX_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_ENDTX_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_ENDTX_Set = 0x1 // Enable | |
NFCT_INTENSET_AUTOCOLRESSTARTED_Pos = 0xe // Position of AUTOCOLRESSTARTED field. | |
NFCT_INTENSET_AUTOCOLRESSTARTED_Msk = 0x4000 // Bit mask of AUTOCOLRESSTARTED field. | |
NFCT_INTENSET_AUTOCOLRESSTARTED = 0x4000 // Bit AUTOCOLRESSTARTED. | |
NFCT_INTENSET_AUTOCOLRESSTARTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_AUTOCOLRESSTARTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_AUTOCOLRESSTARTED_Set = 0x1 // Enable | |
NFCT_INTENSET_COLLISION_Pos = 0x12 // Position of COLLISION field. | |
NFCT_INTENSET_COLLISION_Msk = 0x40000 // Bit mask of COLLISION field. | |
NFCT_INTENSET_COLLISION = 0x40000 // Bit COLLISION. | |
NFCT_INTENSET_COLLISION_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_COLLISION_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_COLLISION_Set = 0x1 // Enable | |
NFCT_INTENSET_SELECTED_Pos = 0x13 // Position of SELECTED field. | |
NFCT_INTENSET_SELECTED_Msk = 0x80000 // Bit mask of SELECTED field. | |
NFCT_INTENSET_SELECTED = 0x80000 // Bit SELECTED. | |
NFCT_INTENSET_SELECTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_SELECTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_SELECTED_Set = 0x1 // Enable | |
NFCT_INTENSET_STARTED_Pos = 0x14 // Position of STARTED field. | |
NFCT_INTENSET_STARTED_Msk = 0x100000 // Bit mask of STARTED field. | |
NFCT_INTENSET_STARTED = 0x100000 // Bit STARTED. | |
NFCT_INTENSET_STARTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENSET_STARTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENSET_STARTED_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
NFCT_INTENCLR_READY_Pos = 0x0 // Position of READY field. | |
NFCT_INTENCLR_READY_Msk = 0x1 // Bit mask of READY field. | |
NFCT_INTENCLR_READY = 0x1 // Bit READY. | |
NFCT_INTENCLR_READY_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_READY_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_READY_Clear = 0x1 // Disable | |
NFCT_INTENCLR_FIELDDETECTED_Pos = 0x1 // Position of FIELDDETECTED field. | |
NFCT_INTENCLR_FIELDDETECTED_Msk = 0x2 // Bit mask of FIELDDETECTED field. | |
NFCT_INTENCLR_FIELDDETECTED = 0x2 // Bit FIELDDETECTED. | |
NFCT_INTENCLR_FIELDDETECTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_FIELDDETECTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_FIELDDETECTED_Clear = 0x1 // Disable | |
NFCT_INTENCLR_FIELDLOST_Pos = 0x2 // Position of FIELDLOST field. | |
NFCT_INTENCLR_FIELDLOST_Msk = 0x4 // Bit mask of FIELDLOST field. | |
NFCT_INTENCLR_FIELDLOST = 0x4 // Bit FIELDLOST. | |
NFCT_INTENCLR_FIELDLOST_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_FIELDLOST_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_FIELDLOST_Clear = 0x1 // Disable | |
NFCT_INTENCLR_TXFRAMESTART_Pos = 0x3 // Position of TXFRAMESTART field. | |
NFCT_INTENCLR_TXFRAMESTART_Msk = 0x8 // Bit mask of TXFRAMESTART field. | |
NFCT_INTENCLR_TXFRAMESTART = 0x8 // Bit TXFRAMESTART. | |
NFCT_INTENCLR_TXFRAMESTART_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_TXFRAMESTART_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_TXFRAMESTART_Clear = 0x1 // Disable | |
NFCT_INTENCLR_TXFRAMEEND_Pos = 0x4 // Position of TXFRAMEEND field. | |
NFCT_INTENCLR_TXFRAMEEND_Msk = 0x10 // Bit mask of TXFRAMEEND field. | |
NFCT_INTENCLR_TXFRAMEEND = 0x10 // Bit TXFRAMEEND. | |
NFCT_INTENCLR_TXFRAMEEND_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_TXFRAMEEND_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_TXFRAMEEND_Clear = 0x1 // Disable | |
NFCT_INTENCLR_RXFRAMESTART_Pos = 0x5 // Position of RXFRAMESTART field. | |
NFCT_INTENCLR_RXFRAMESTART_Msk = 0x20 // Bit mask of RXFRAMESTART field. | |
NFCT_INTENCLR_RXFRAMESTART = 0x20 // Bit RXFRAMESTART. | |
NFCT_INTENCLR_RXFRAMESTART_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_RXFRAMESTART_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_RXFRAMESTART_Clear = 0x1 // Disable | |
NFCT_INTENCLR_RXFRAMEEND_Pos = 0x6 // Position of RXFRAMEEND field. | |
NFCT_INTENCLR_RXFRAMEEND_Msk = 0x40 // Bit mask of RXFRAMEEND field. | |
NFCT_INTENCLR_RXFRAMEEND = 0x40 // Bit RXFRAMEEND. | |
NFCT_INTENCLR_RXFRAMEEND_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_RXFRAMEEND_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_RXFRAMEEND_Clear = 0x1 // Disable | |
NFCT_INTENCLR_ERROR_Pos = 0x7 // Position of ERROR field. | |
NFCT_INTENCLR_ERROR_Msk = 0x80 // Bit mask of ERROR field. | |
NFCT_INTENCLR_ERROR = 0x80 // Bit ERROR. | |
NFCT_INTENCLR_ERROR_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_ERROR_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_ERROR_Clear = 0x1 // Disable | |
NFCT_INTENCLR_RXERROR_Pos = 0xa // Position of RXERROR field. | |
NFCT_INTENCLR_RXERROR_Msk = 0x400 // Bit mask of RXERROR field. | |
NFCT_INTENCLR_RXERROR = 0x400 // Bit RXERROR. | |
NFCT_INTENCLR_RXERROR_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_RXERROR_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_RXERROR_Clear = 0x1 // Disable | |
NFCT_INTENCLR_ENDRX_Pos = 0xb // Position of ENDRX field. | |
NFCT_INTENCLR_ENDRX_Msk = 0x800 // Bit mask of ENDRX field. | |
NFCT_INTENCLR_ENDRX = 0x800 // Bit ENDRX. | |
NFCT_INTENCLR_ENDRX_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_ENDRX_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_ENDRX_Clear = 0x1 // Disable | |
NFCT_INTENCLR_ENDTX_Pos = 0xc // Position of ENDTX field. | |
NFCT_INTENCLR_ENDTX_Msk = 0x1000 // Bit mask of ENDTX field. | |
NFCT_INTENCLR_ENDTX = 0x1000 // Bit ENDTX. | |
NFCT_INTENCLR_ENDTX_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_ENDTX_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_ENDTX_Clear = 0x1 // Disable | |
NFCT_INTENCLR_AUTOCOLRESSTARTED_Pos = 0xe // Position of AUTOCOLRESSTARTED field. | |
NFCT_INTENCLR_AUTOCOLRESSTARTED_Msk = 0x4000 // Bit mask of AUTOCOLRESSTARTED field. | |
NFCT_INTENCLR_AUTOCOLRESSTARTED = 0x4000 // Bit AUTOCOLRESSTARTED. | |
NFCT_INTENCLR_AUTOCOLRESSTARTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_AUTOCOLRESSTARTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_AUTOCOLRESSTARTED_Clear = 0x1 // Disable | |
NFCT_INTENCLR_COLLISION_Pos = 0x12 // Position of COLLISION field. | |
NFCT_INTENCLR_COLLISION_Msk = 0x40000 // Bit mask of COLLISION field. | |
NFCT_INTENCLR_COLLISION = 0x40000 // Bit COLLISION. | |
NFCT_INTENCLR_COLLISION_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_COLLISION_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_COLLISION_Clear = 0x1 // Disable | |
NFCT_INTENCLR_SELECTED_Pos = 0x13 // Position of SELECTED field. | |
NFCT_INTENCLR_SELECTED_Msk = 0x80000 // Bit mask of SELECTED field. | |
NFCT_INTENCLR_SELECTED = 0x80000 // Bit SELECTED. | |
NFCT_INTENCLR_SELECTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_SELECTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_SELECTED_Clear = 0x1 // Disable | |
NFCT_INTENCLR_STARTED_Pos = 0x14 // Position of STARTED field. | |
NFCT_INTENCLR_STARTED_Msk = 0x100000 // Bit mask of STARTED field. | |
NFCT_INTENCLR_STARTED = 0x100000 // Bit STARTED. | |
NFCT_INTENCLR_STARTED_Disabled = 0x0 // Read: Disabled | |
NFCT_INTENCLR_STARTED_Enabled = 0x1 // Read: Enabled | |
NFCT_INTENCLR_STARTED_Clear = 0x1 // Disable | |
// ERRORSTATUS: NFC Error Status register | |
NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Pos = 0x0 // Position of FRAMEDELAYTIMEOUT field. | |
NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT_Msk = 0x1 // Bit mask of FRAMEDELAYTIMEOUT field. | |
NFCT_ERRORSTATUS_FRAMEDELAYTIMEOUT = 0x1 // Bit FRAMEDELAYTIMEOUT. | |
NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Pos = 0x2 // Position of NFCFIELDTOOSTRONG field. | |
NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG_Msk = 0x4 // Bit mask of NFCFIELDTOOSTRONG field. | |
NFCT_ERRORSTATUS_NFCFIELDTOOSTRONG = 0x4 // Bit NFCFIELDTOOSTRONG. | |
NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Pos = 0x3 // Position of NFCFIELDTOOWEAK field. | |
NFCT_ERRORSTATUS_NFCFIELDTOOWEAK_Msk = 0x8 // Bit mask of NFCFIELDTOOWEAK field. | |
NFCT_ERRORSTATUS_NFCFIELDTOOWEAK = 0x8 // Bit NFCFIELDTOOWEAK. | |
// FRAMESTATUS.RX: Result of last incoming frames | |
NFCT_FRAMESTATUS_RX_CRCERROR_Pos = 0x0 // Position of CRCERROR field. | |
NFCT_FRAMESTATUS_RX_CRCERROR_Msk = 0x1 // Bit mask of CRCERROR field. | |
NFCT_FRAMESTATUS_RX_CRCERROR = 0x1 // Bit CRCERROR. | |
NFCT_FRAMESTATUS_RX_CRCERROR_CRCCorrect = 0x0 // Valid CRC detected | |
NFCT_FRAMESTATUS_RX_CRCERROR_CRCError = 0x1 // CRC received does not match local check | |
NFCT_FRAMESTATUS_RX_PARITYSTATUS_Pos = 0x2 // Position of PARITYSTATUS field. | |
NFCT_FRAMESTATUS_RX_PARITYSTATUS_Msk = 0x4 // Bit mask of PARITYSTATUS field. | |
NFCT_FRAMESTATUS_RX_PARITYSTATUS = 0x4 // Bit PARITYSTATUS. | |
NFCT_FRAMESTATUS_RX_PARITYSTATUS_ParityOK = 0x0 // Frame received with parity OK | |
NFCT_FRAMESTATUS_RX_PARITYSTATUS_ParityError = 0x1 // Frame received with parity error | |
NFCT_FRAMESTATUS_RX_OVERRUN_Pos = 0x3 // Position of OVERRUN field. | |
NFCT_FRAMESTATUS_RX_OVERRUN_Msk = 0x8 // Bit mask of OVERRUN field. | |
NFCT_FRAMESTATUS_RX_OVERRUN = 0x8 // Bit OVERRUN. | |
NFCT_FRAMESTATUS_RX_OVERRUN_NoOverrun = 0x0 // No overrun detected | |
NFCT_FRAMESTATUS_RX_OVERRUN_Overrun = 0x1 // Overrun error | |
// CURRENTLOADCTRL: Current value driven to the NFC Load Control | |
NFCT_CURRENTLOADCTRL_CURRENTLOADCTRL_Pos = 0x0 // Position of CURRENTLOADCTRL field. | |
NFCT_CURRENTLOADCTRL_CURRENTLOADCTRL_Msk = 0x3f // Bit mask of CURRENTLOADCTRL field. | |
// FIELDPRESENT: Indicates the presence or not of a valid field | |
NFCT_FIELDPRESENT_FIELDPRESENT_Pos = 0x0 // Position of FIELDPRESENT field. | |
NFCT_FIELDPRESENT_FIELDPRESENT_Msk = 0x1 // Bit mask of FIELDPRESENT field. | |
NFCT_FIELDPRESENT_FIELDPRESENT = 0x1 // Bit FIELDPRESENT. | |
NFCT_FIELDPRESENT_FIELDPRESENT_NoField = 0x0 // No valid field detected | |
NFCT_FIELDPRESENT_FIELDPRESENT_FieldPresent = 0x1 // Valid field detected | |
NFCT_FIELDPRESENT_LOCKDETECT_Pos = 0x1 // Position of LOCKDETECT field. | |
NFCT_FIELDPRESENT_LOCKDETECT_Msk = 0x2 // Bit mask of LOCKDETECT field. | |
NFCT_FIELDPRESENT_LOCKDETECT = 0x2 // Bit LOCKDETECT. | |
NFCT_FIELDPRESENT_LOCKDETECT_NotLocked = 0x0 // Not locked to field | |
NFCT_FIELDPRESENT_LOCKDETECT_Locked = 0x1 // Locked to field | |
// FRAMEDELAYMIN: Minimum frame delay | |
NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Pos = 0x0 // Position of FRAMEDELAYMIN field. | |
NFCT_FRAMEDELAYMIN_FRAMEDELAYMIN_Msk = 0xffff // Bit mask of FRAMEDELAYMIN field. | |
// FRAMEDELAYMAX: Maximum frame delay | |
NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Pos = 0x0 // Position of FRAMEDELAYMAX field. | |
NFCT_FRAMEDELAYMAX_FRAMEDELAYMAX_Msk = 0xffff // Bit mask of FRAMEDELAYMAX field. | |
// FRAMEDELAYMODE: Configuration register for the Frame Delay Timer | |
NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Pos = 0x0 // Position of FRAMEDELAYMODE field. | |
NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Msk = 0x3 // Bit mask of FRAMEDELAYMODE field. | |
NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_FreeRun = 0x0 // Transmission is independent of frame timer and will start when the STARTTX task is triggered. No timeout. | |
NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_Window = 0x1 // Frame is transmitted between FRAMEDELAYMIN and FRAMEDELAYMAX | |
NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_ExactVal = 0x2 // Frame is transmitted exactly at FRAMEDELAYMAX | |
NFCT_FRAMEDELAYMODE_FRAMEDELAYMODE_WindowGrid = 0x3 // Frame is transmitted on a bit grid between FRAMEDELAYMIN and FRAMEDELAYMAX | |
// PACKETPTR: Packet pointer for TXD and RXD data storage in Data RAM | |
NFCT_PACKETPTR_PTR_Pos = 0x0 // Position of PTR field. | |
NFCT_PACKETPTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// MAXLEN: Size of allocated for TXD and RXD data storage buffer in Data RAM | |
NFCT_MAXLEN_MAXLEN_Pos = 0x0 // Position of MAXLEN field. | |
NFCT_MAXLEN_MAXLEN_Msk = 0x1ff // Bit mask of MAXLEN field. | |
// TXD.FRAMECONFIG: Configuration of outgoing frames | |
NFCT_TXD_FRAMECONFIG_PARITY_Pos = 0x0 // Position of PARITY field. | |
NFCT_TXD_FRAMECONFIG_PARITY_Msk = 0x1 // Bit mask of PARITY field. | |
NFCT_TXD_FRAMECONFIG_PARITY = 0x1 // Bit PARITY. | |
NFCT_TXD_FRAMECONFIG_PARITY_NoParity = 0x0 // Parity is not added in TX frames | |
NFCT_TXD_FRAMECONFIG_PARITY_Parity = 0x1 // Parity is added TX frames | |
NFCT_TXD_FRAMECONFIG_DISCARDMODE_Pos = 0x1 // Position of DISCARDMODE field. | |
NFCT_TXD_FRAMECONFIG_DISCARDMODE_Msk = 0x2 // Bit mask of DISCARDMODE field. | |
NFCT_TXD_FRAMECONFIG_DISCARDMODE = 0x2 // Bit DISCARDMODE. | |
NFCT_TXD_FRAMECONFIG_DISCARDMODE_DiscardEnd = 0x0 // Unused bits is discarded at end of frame | |
NFCT_TXD_FRAMECONFIG_DISCARDMODE_DiscardStart = 0x1 // Unused bits is discarded at start of frame | |
NFCT_TXD_FRAMECONFIG_SOF_Pos = 0x2 // Position of SOF field. | |
NFCT_TXD_FRAMECONFIG_SOF_Msk = 0x4 // Bit mask of SOF field. | |
NFCT_TXD_FRAMECONFIG_SOF = 0x4 // Bit SOF. | |
NFCT_TXD_FRAMECONFIG_SOF_NoSoF = 0x0 // Start of Frame symbol not added | |
NFCT_TXD_FRAMECONFIG_SOF_SoF = 0x1 // Start of Frame symbol added | |
NFCT_TXD_FRAMECONFIG_CRCMODETX_Pos = 0x4 // Position of CRCMODETX field. | |
NFCT_TXD_FRAMECONFIG_CRCMODETX_Msk = 0x10 // Bit mask of CRCMODETX field. | |
NFCT_TXD_FRAMECONFIG_CRCMODETX = 0x10 // Bit CRCMODETX. | |
NFCT_TXD_FRAMECONFIG_CRCMODETX_NoCRCTX = 0x0 // CRC is not added to the frame | |
NFCT_TXD_FRAMECONFIG_CRCMODETX_CRC16TX = 0x1 // 16 bit CRC added to the frame based on all the data read from RAM that is used in the frame | |
// TXD.AMOUNT: Size of outgoing frame | |
NFCT_TXD_AMOUNT_TXDATABITS_Pos = 0x0 // Position of TXDATABITS field. | |
NFCT_TXD_AMOUNT_TXDATABITS_Msk = 0x7 // Bit mask of TXDATABITS field. | |
NFCT_TXD_AMOUNT_TXDATABYTES_Pos = 0x3 // Position of TXDATABYTES field. | |
NFCT_TXD_AMOUNT_TXDATABYTES_Msk = 0xff8 // Bit mask of TXDATABYTES field. | |
// RXD.FRAMECONFIG: Configuration of incoming frames | |
NFCT_RXD_FRAMECONFIG_PARITY_Pos = 0x0 // Position of PARITY field. | |
NFCT_RXD_FRAMECONFIG_PARITY_Msk = 0x1 // Bit mask of PARITY field. | |
NFCT_RXD_FRAMECONFIG_PARITY = 0x1 // Bit PARITY. | |
NFCT_RXD_FRAMECONFIG_PARITY_NoParity = 0x0 // Parity is not expected in RX frames | |
NFCT_RXD_FRAMECONFIG_PARITY_Parity = 0x1 // Parity is expected in RX frames | |
NFCT_RXD_FRAMECONFIG_SOF_Pos = 0x2 // Position of SOF field. | |
NFCT_RXD_FRAMECONFIG_SOF_Msk = 0x4 // Bit mask of SOF field. | |
NFCT_RXD_FRAMECONFIG_SOF = 0x4 // Bit SOF. | |
NFCT_RXD_FRAMECONFIG_SOF_NoSoF = 0x0 // Start of Frame symbol is not expected in RX frames | |
NFCT_RXD_FRAMECONFIG_SOF_SoF = 0x1 // Start of Frame symbol is expected in RX frames | |
NFCT_RXD_FRAMECONFIG_CRCMODERX_Pos = 0x4 // Position of CRCMODERX field. | |
NFCT_RXD_FRAMECONFIG_CRCMODERX_Msk = 0x10 // Bit mask of CRCMODERX field. | |
NFCT_RXD_FRAMECONFIG_CRCMODERX = 0x10 // Bit CRCMODERX. | |
NFCT_RXD_FRAMECONFIG_CRCMODERX_NoCRCRX = 0x0 // CRC is not expected in RX frames | |
NFCT_RXD_FRAMECONFIG_CRCMODERX_CRC16RX = 0x1 // Last 16 bits in RX frame is CRC, CRC is checked and CRCSTATUS updated | |
// RXD.AMOUNT: Size of last incoming frame | |
NFCT_RXD_AMOUNT_RXDATABITS_Pos = 0x0 // Position of RXDATABITS field. | |
NFCT_RXD_AMOUNT_RXDATABITS_Msk = 0x7 // Bit mask of RXDATABITS field. | |
NFCT_RXD_AMOUNT_RXDATABYTES_Pos = 0x3 // Position of RXDATABYTES field. | |
NFCT_RXD_AMOUNT_RXDATABYTES_Msk = 0xff8 // Bit mask of RXDATABYTES field. | |
// NFCID1_LAST: Last NFCID1 part (4, 7 or 10 bytes ID) | |
NFCT_NFCID1_LAST_NFCID1_Z_Pos = 0x0 // Position of NFCID1_Z field. | |
NFCT_NFCID1_LAST_NFCID1_Z_Msk = 0xff // Bit mask of NFCID1_Z field. | |
NFCT_NFCID1_LAST_NFCID1_Y_Pos = 0x8 // Position of NFCID1_Y field. | |
NFCT_NFCID1_LAST_NFCID1_Y_Msk = 0xff00 // Bit mask of NFCID1_Y field. | |
NFCT_NFCID1_LAST_NFCID1_X_Pos = 0x10 // Position of NFCID1_X field. | |
NFCT_NFCID1_LAST_NFCID1_X_Msk = 0xff0000 // Bit mask of NFCID1_X field. | |
NFCT_NFCID1_LAST_NFCID1_W_Pos = 0x18 // Position of NFCID1_W field. | |
NFCT_NFCID1_LAST_NFCID1_W_Msk = 0xff000000 // Bit mask of NFCID1_W field. | |
// NFCID1_2ND_LAST: Second last NFCID1 part (7 or 10 bytes ID) | |
NFCT_NFCID1_2ND_LAST_NFCID1_V_Pos = 0x0 // Position of NFCID1_V field. | |
NFCT_NFCID1_2ND_LAST_NFCID1_V_Msk = 0xff // Bit mask of NFCID1_V field. | |
NFCT_NFCID1_2ND_LAST_NFCID1_U_Pos = 0x8 // Position of NFCID1_U field. | |
NFCT_NFCID1_2ND_LAST_NFCID1_U_Msk = 0xff00 // Bit mask of NFCID1_U field. | |
NFCT_NFCID1_2ND_LAST_NFCID1_T_Pos = 0x10 // Position of NFCID1_T field. | |
NFCT_NFCID1_2ND_LAST_NFCID1_T_Msk = 0xff0000 // Bit mask of NFCID1_T field. | |
// NFCID1_3RD_LAST: Third last NFCID1 part (10 bytes ID) | |
NFCT_NFCID1_3RD_LAST_NFCID1_S_Pos = 0x0 // Position of NFCID1_S field. | |
NFCT_NFCID1_3RD_LAST_NFCID1_S_Msk = 0xff // Bit mask of NFCID1_S field. | |
NFCT_NFCID1_3RD_LAST_NFCID1_R_Pos = 0x8 // Position of NFCID1_R field. | |
NFCT_NFCID1_3RD_LAST_NFCID1_R_Msk = 0xff00 // Bit mask of NFCID1_R field. | |
NFCT_NFCID1_3RD_LAST_NFCID1_Q_Pos = 0x10 // Position of NFCID1_Q field. | |
NFCT_NFCID1_3RD_LAST_NFCID1_Q_Msk = 0xff0000 // Bit mask of NFCID1_Q field. | |
// SENSRES: NFC-A SENS_RES auto-response settings | |
NFCT_SENSRES_BITFRAMESDD_Pos = 0x0 // Position of BITFRAMESDD field. | |
NFCT_SENSRES_BITFRAMESDD_Msk = 0x1f // Bit mask of BITFRAMESDD field. | |
NFCT_SENSRES_BITFRAMESDD_SDD00000 = 0x0 // SDD pattern 00000 | |
NFCT_SENSRES_BITFRAMESDD_SDD00001 = 0x1 // SDD pattern 00001 | |
NFCT_SENSRES_BITFRAMESDD_SDD00010 = 0x2 // SDD pattern 00010 | |
NFCT_SENSRES_BITFRAMESDD_SDD00100 = 0x4 // SDD pattern 00100 | |
NFCT_SENSRES_BITFRAMESDD_SDD01000 = 0x8 // SDD pattern 01000 | |
NFCT_SENSRES_BITFRAMESDD_SDD10000 = 0x10 // SDD pattern 10000 | |
NFCT_SENSRES_RFU5_Pos = 0x5 // Position of RFU5 field. | |
NFCT_SENSRES_RFU5_Msk = 0x20 // Bit mask of RFU5 field. | |
NFCT_SENSRES_RFU5 = 0x20 // Bit RFU5. | |
NFCT_SENSRES_NFCIDSIZE_Pos = 0x6 // Position of NFCIDSIZE field. | |
NFCT_SENSRES_NFCIDSIZE_Msk = 0xc0 // Bit mask of NFCIDSIZE field. | |
NFCT_SENSRES_NFCIDSIZE_NFCID1Single = 0x0 // NFCID1 size: single (4 bytes) | |
NFCT_SENSRES_NFCIDSIZE_NFCID1Double = 0x1 // NFCID1 size: double (7 bytes) | |
NFCT_SENSRES_NFCIDSIZE_NFCID1Triple = 0x2 // NFCID1 size: triple (10 bytes) | |
NFCT_SENSRES_PLATFCONFIG_Pos = 0x8 // Position of PLATFCONFIG field. | |
NFCT_SENSRES_PLATFCONFIG_Msk = 0xf00 // Bit mask of PLATFCONFIG field. | |
NFCT_SENSRES_RFU74_Pos = 0xc // Position of RFU74 field. | |
NFCT_SENSRES_RFU74_Msk = 0xf000 // Bit mask of RFU74 field. | |
// SELRES: NFC-A SEL_RES auto-response settings | |
NFCT_SELRES_RFU10_Pos = 0x0 // Position of RFU10 field. | |
NFCT_SELRES_RFU10_Msk = 0x3 // Bit mask of RFU10 field. | |
NFCT_SELRES_CASCADE_Pos = 0x2 // Position of CASCADE field. | |
NFCT_SELRES_CASCADE_Msk = 0x4 // Bit mask of CASCADE field. | |
NFCT_SELRES_CASCADE = 0x4 // Bit CASCADE. | |
NFCT_SELRES_CASCADE_Complete = 0x0 // NFCID1 complete | |
NFCT_SELRES_CASCADE_NotComplete = 0x1 // NFCID1 not complete | |
NFCT_SELRES_RFU43_Pos = 0x3 // Position of RFU43 field. | |
NFCT_SELRES_RFU43_Msk = 0x18 // Bit mask of RFU43 field. | |
NFCT_SELRES_PROTOCOL_Pos = 0x5 // Position of PROTOCOL field. | |
NFCT_SELRES_PROTOCOL_Msk = 0x60 // Bit mask of PROTOCOL field. | |
NFCT_SELRES_RFU7_Pos = 0x7 // Position of RFU7 field. | |
NFCT_SELRES_RFU7_Msk = 0x80 // Bit mask of RFU7 field. | |
NFCT_SELRES_RFU7 = 0x80 // Bit RFU7. | |
) | |
// Bitfields for GPIOTE: GPIO Tasks and Events | |
const ( | |
// INTENSET: Enable interrupt | |
GPIOTE_INTENSET_IN0_Pos = 0x0 // Position of IN0 field. | |
GPIOTE_INTENSET_IN0_Msk = 0x1 // Bit mask of IN0 field. | |
GPIOTE_INTENSET_IN0 = 0x1 // Bit IN0. | |
GPIOTE_INTENSET_IN0_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN0_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN0_Set = 0x1 // Enable | |
GPIOTE_INTENSET_IN1_Pos = 0x1 // Position of IN1 field. | |
GPIOTE_INTENSET_IN1_Msk = 0x2 // Bit mask of IN1 field. | |
GPIOTE_INTENSET_IN1 = 0x2 // Bit IN1. | |
GPIOTE_INTENSET_IN1_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN1_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN1_Set = 0x1 // Enable | |
GPIOTE_INTENSET_IN2_Pos = 0x2 // Position of IN2 field. | |
GPIOTE_INTENSET_IN2_Msk = 0x4 // Bit mask of IN2 field. | |
GPIOTE_INTENSET_IN2 = 0x4 // Bit IN2. | |
GPIOTE_INTENSET_IN2_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN2_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN2_Set = 0x1 // Enable | |
GPIOTE_INTENSET_IN3_Pos = 0x3 // Position of IN3 field. | |
GPIOTE_INTENSET_IN3_Msk = 0x8 // Bit mask of IN3 field. | |
GPIOTE_INTENSET_IN3 = 0x8 // Bit IN3. | |
GPIOTE_INTENSET_IN3_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN3_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN3_Set = 0x1 // Enable | |
GPIOTE_INTENSET_IN4_Pos = 0x4 // Position of IN4 field. | |
GPIOTE_INTENSET_IN4_Msk = 0x10 // Bit mask of IN4 field. | |
GPIOTE_INTENSET_IN4 = 0x10 // Bit IN4. | |
GPIOTE_INTENSET_IN4_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN4_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN4_Set = 0x1 // Enable | |
GPIOTE_INTENSET_IN5_Pos = 0x5 // Position of IN5 field. | |
GPIOTE_INTENSET_IN5_Msk = 0x20 // Bit mask of IN5 field. | |
GPIOTE_INTENSET_IN5 = 0x20 // Bit IN5. | |
GPIOTE_INTENSET_IN5_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN5_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN5_Set = 0x1 // Enable | |
GPIOTE_INTENSET_IN6_Pos = 0x6 // Position of IN6 field. | |
GPIOTE_INTENSET_IN6_Msk = 0x40 // Bit mask of IN6 field. | |
GPIOTE_INTENSET_IN6 = 0x40 // Bit IN6. | |
GPIOTE_INTENSET_IN6_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN6_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN6_Set = 0x1 // Enable | |
GPIOTE_INTENSET_IN7_Pos = 0x7 // Position of IN7 field. | |
GPIOTE_INTENSET_IN7_Msk = 0x80 // Bit mask of IN7 field. | |
GPIOTE_INTENSET_IN7 = 0x80 // Bit IN7. | |
GPIOTE_INTENSET_IN7_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_IN7_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_IN7_Set = 0x1 // Enable | |
GPIOTE_INTENSET_PORT_Pos = 0x1f // Position of PORT field. | |
GPIOTE_INTENSET_PORT_Msk = 0x80000000 // Bit mask of PORT field. | |
GPIOTE_INTENSET_PORT = 0x80000000 // Bit PORT. | |
GPIOTE_INTENSET_PORT_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENSET_PORT_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENSET_PORT_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
GPIOTE_INTENCLR_IN0_Pos = 0x0 // Position of IN0 field. | |
GPIOTE_INTENCLR_IN0_Msk = 0x1 // Bit mask of IN0 field. | |
GPIOTE_INTENCLR_IN0 = 0x1 // Bit IN0. | |
GPIOTE_INTENCLR_IN0_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN0_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN0_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_IN1_Pos = 0x1 // Position of IN1 field. | |
GPIOTE_INTENCLR_IN1_Msk = 0x2 // Bit mask of IN1 field. | |
GPIOTE_INTENCLR_IN1 = 0x2 // Bit IN1. | |
GPIOTE_INTENCLR_IN1_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN1_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN1_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_IN2_Pos = 0x2 // Position of IN2 field. | |
GPIOTE_INTENCLR_IN2_Msk = 0x4 // Bit mask of IN2 field. | |
GPIOTE_INTENCLR_IN2 = 0x4 // Bit IN2. | |
GPIOTE_INTENCLR_IN2_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN2_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN2_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_IN3_Pos = 0x3 // Position of IN3 field. | |
GPIOTE_INTENCLR_IN3_Msk = 0x8 // Bit mask of IN3 field. | |
GPIOTE_INTENCLR_IN3 = 0x8 // Bit IN3. | |
GPIOTE_INTENCLR_IN3_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN3_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN3_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_IN4_Pos = 0x4 // Position of IN4 field. | |
GPIOTE_INTENCLR_IN4_Msk = 0x10 // Bit mask of IN4 field. | |
GPIOTE_INTENCLR_IN4 = 0x10 // Bit IN4. | |
GPIOTE_INTENCLR_IN4_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN4_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN4_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_IN5_Pos = 0x5 // Position of IN5 field. | |
GPIOTE_INTENCLR_IN5_Msk = 0x20 // Bit mask of IN5 field. | |
GPIOTE_INTENCLR_IN5 = 0x20 // Bit IN5. | |
GPIOTE_INTENCLR_IN5_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN5_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN5_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_IN6_Pos = 0x6 // Position of IN6 field. | |
GPIOTE_INTENCLR_IN6_Msk = 0x40 // Bit mask of IN6 field. | |
GPIOTE_INTENCLR_IN6 = 0x40 // Bit IN6. | |
GPIOTE_INTENCLR_IN6_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN6_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN6_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_IN7_Pos = 0x7 // Position of IN7 field. | |
GPIOTE_INTENCLR_IN7_Msk = 0x80 // Bit mask of IN7 field. | |
GPIOTE_INTENCLR_IN7 = 0x80 // Bit IN7. | |
GPIOTE_INTENCLR_IN7_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_IN7_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_IN7_Clear = 0x1 // Disable | |
GPIOTE_INTENCLR_PORT_Pos = 0x1f // Position of PORT field. | |
GPIOTE_INTENCLR_PORT_Msk = 0x80000000 // Bit mask of PORT field. | |
GPIOTE_INTENCLR_PORT = 0x80000000 // Bit PORT. | |
GPIOTE_INTENCLR_PORT_Disabled = 0x0 // Read: Disabled | |
GPIOTE_INTENCLR_PORT_Enabled = 0x1 // Read: Enabled | |
GPIOTE_INTENCLR_PORT_Clear = 0x1 // Disable | |
// CONFIG: Description collection[0]: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event | |
GPIOTE_CONFIG_MODE_Pos = 0x0 // Position of MODE field. | |
GPIOTE_CONFIG_MODE_Msk = 0x3 // Bit mask of MODE field. | |
GPIOTE_CONFIG_MODE_Disabled = 0x0 // Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module. | |
GPIOTE_CONFIG_MODE_Event = 0x1 // Event mode | |
GPIOTE_CONFIG_MODE_Task = 0x3 // Task mode | |
GPIOTE_CONFIG_PSEL_Pos = 0x8 // Position of PSEL field. | |
GPIOTE_CONFIG_PSEL_Msk = 0x1f00 // Bit mask of PSEL field. | |
GPIOTE_CONFIG_POLARITY_Pos = 0x10 // Position of POLARITY field. | |
GPIOTE_CONFIG_POLARITY_Msk = 0x30000 // Bit mask of POLARITY field. | |
GPIOTE_CONFIG_POLARITY_None = 0x0 // Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity. | |
GPIOTE_CONFIG_POLARITY_LoToHi = 0x1 // Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin. | |
GPIOTE_CONFIG_POLARITY_HiToLo = 0x2 // Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin. | |
GPIOTE_CONFIG_POLARITY_Toggle = 0x3 // Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin. | |
GPIOTE_CONFIG_OUTINIT_Pos = 0x14 // Position of OUTINIT field. | |
GPIOTE_CONFIG_OUTINIT_Msk = 0x100000 // Bit mask of OUTINIT field. | |
GPIOTE_CONFIG_OUTINIT = 0x100000 // Bit OUTINIT. | |
GPIOTE_CONFIG_OUTINIT_Low = 0x0 // Task mode: Initial value of pin before task triggering is low | |
GPIOTE_CONFIG_OUTINIT_High = 0x1 // Task mode: Initial value of pin before task triggering is high | |
) | |
// Bitfields for SAADC: Analog to Digital Converter | |
const ( | |
// EVENTS_CH.LIMITH: Description cluster[0]: Last results is equal or above CH[0].LIMIT.HIGH | |
// EVENTS_CH.LIMITL: Description cluster[0]: Last results is equal or below CH[0].LIMIT.LOW | |
// INTEN: Enable or disable interrupt | |
SAADC_INTEN_STARTED_Pos = 0x0 // Position of STARTED field. | |
SAADC_INTEN_STARTED_Msk = 0x1 // Bit mask of STARTED field. | |
SAADC_INTEN_STARTED = 0x1 // Bit STARTED. | |
SAADC_INTEN_STARTED_Disabled = 0x0 // Disable | |
SAADC_INTEN_STARTED_Enabled = 0x1 // Enable | |
SAADC_INTEN_END_Pos = 0x1 // Position of END field. | |
SAADC_INTEN_END_Msk = 0x2 // Bit mask of END field. | |
SAADC_INTEN_END = 0x2 // Bit END. | |
SAADC_INTEN_END_Disabled = 0x0 // Disable | |
SAADC_INTEN_END_Enabled = 0x1 // Enable | |
SAADC_INTEN_DONE_Pos = 0x2 // Position of DONE field. | |
SAADC_INTEN_DONE_Msk = 0x4 // Bit mask of DONE field. | |
SAADC_INTEN_DONE = 0x4 // Bit DONE. | |
SAADC_INTEN_DONE_Disabled = 0x0 // Disable | |
SAADC_INTEN_DONE_Enabled = 0x1 // Enable | |
SAADC_INTEN_RESULTDONE_Pos = 0x3 // Position of RESULTDONE field. | |
SAADC_INTEN_RESULTDONE_Msk = 0x8 // Bit mask of RESULTDONE field. | |
SAADC_INTEN_RESULTDONE = 0x8 // Bit RESULTDONE. | |
SAADC_INTEN_RESULTDONE_Disabled = 0x0 // Disable | |
SAADC_INTEN_RESULTDONE_Enabled = 0x1 // Enable | |
SAADC_INTEN_CALIBRATEDONE_Pos = 0x4 // Position of CALIBRATEDONE field. | |
SAADC_INTEN_CALIBRATEDONE_Msk = 0x10 // Bit mask of CALIBRATEDONE field. | |
SAADC_INTEN_CALIBRATEDONE = 0x10 // Bit CALIBRATEDONE. | |
SAADC_INTEN_CALIBRATEDONE_Disabled = 0x0 // Disable | |
SAADC_INTEN_CALIBRATEDONE_Enabled = 0x1 // Enable | |
SAADC_INTEN_STOPPED_Pos = 0x5 // Position of STOPPED field. | |
SAADC_INTEN_STOPPED_Msk = 0x20 // Bit mask of STOPPED field. | |
SAADC_INTEN_STOPPED = 0x20 // Bit STOPPED. | |
SAADC_INTEN_STOPPED_Disabled = 0x0 // Disable | |
SAADC_INTEN_STOPPED_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH0LIMITH_Pos = 0x6 // Position of CH0LIMITH field. | |
SAADC_INTEN_CH0LIMITH_Msk = 0x40 // Bit mask of CH0LIMITH field. | |
SAADC_INTEN_CH0LIMITH = 0x40 // Bit CH0LIMITH. | |
SAADC_INTEN_CH0LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH0LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH0LIMITL_Pos = 0x7 // Position of CH0LIMITL field. | |
SAADC_INTEN_CH0LIMITL_Msk = 0x80 // Bit mask of CH0LIMITL field. | |
SAADC_INTEN_CH0LIMITL = 0x80 // Bit CH0LIMITL. | |
SAADC_INTEN_CH0LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH0LIMITL_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH1LIMITH_Pos = 0x8 // Position of CH1LIMITH field. | |
SAADC_INTEN_CH1LIMITH_Msk = 0x100 // Bit mask of CH1LIMITH field. | |
SAADC_INTEN_CH1LIMITH = 0x100 // Bit CH1LIMITH. | |
SAADC_INTEN_CH1LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH1LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH1LIMITL_Pos = 0x9 // Position of CH1LIMITL field. | |
SAADC_INTEN_CH1LIMITL_Msk = 0x200 // Bit mask of CH1LIMITL field. | |
SAADC_INTEN_CH1LIMITL = 0x200 // Bit CH1LIMITL. | |
SAADC_INTEN_CH1LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH1LIMITL_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH2LIMITH_Pos = 0xa // Position of CH2LIMITH field. | |
SAADC_INTEN_CH2LIMITH_Msk = 0x400 // Bit mask of CH2LIMITH field. | |
SAADC_INTEN_CH2LIMITH = 0x400 // Bit CH2LIMITH. | |
SAADC_INTEN_CH2LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH2LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH2LIMITL_Pos = 0xb // Position of CH2LIMITL field. | |
SAADC_INTEN_CH2LIMITL_Msk = 0x800 // Bit mask of CH2LIMITL field. | |
SAADC_INTEN_CH2LIMITL = 0x800 // Bit CH2LIMITL. | |
SAADC_INTEN_CH2LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH2LIMITL_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH3LIMITH_Pos = 0xc // Position of CH3LIMITH field. | |
SAADC_INTEN_CH3LIMITH_Msk = 0x1000 // Bit mask of CH3LIMITH field. | |
SAADC_INTEN_CH3LIMITH = 0x1000 // Bit CH3LIMITH. | |
SAADC_INTEN_CH3LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH3LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH3LIMITL_Pos = 0xd // Position of CH3LIMITL field. | |
SAADC_INTEN_CH3LIMITL_Msk = 0x2000 // Bit mask of CH3LIMITL field. | |
SAADC_INTEN_CH3LIMITL = 0x2000 // Bit CH3LIMITL. | |
SAADC_INTEN_CH3LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH3LIMITL_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH4LIMITH_Pos = 0xe // Position of CH4LIMITH field. | |
SAADC_INTEN_CH4LIMITH_Msk = 0x4000 // Bit mask of CH4LIMITH field. | |
SAADC_INTEN_CH4LIMITH = 0x4000 // Bit CH4LIMITH. | |
SAADC_INTEN_CH4LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH4LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH4LIMITL_Pos = 0xf // Position of CH4LIMITL field. | |
SAADC_INTEN_CH4LIMITL_Msk = 0x8000 // Bit mask of CH4LIMITL field. | |
SAADC_INTEN_CH4LIMITL = 0x8000 // Bit CH4LIMITL. | |
SAADC_INTEN_CH4LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH4LIMITL_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH5LIMITH_Pos = 0x10 // Position of CH5LIMITH field. | |
SAADC_INTEN_CH5LIMITH_Msk = 0x10000 // Bit mask of CH5LIMITH field. | |
SAADC_INTEN_CH5LIMITH = 0x10000 // Bit CH5LIMITH. | |
SAADC_INTEN_CH5LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH5LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH5LIMITL_Pos = 0x11 // Position of CH5LIMITL field. | |
SAADC_INTEN_CH5LIMITL_Msk = 0x20000 // Bit mask of CH5LIMITL field. | |
SAADC_INTEN_CH5LIMITL = 0x20000 // Bit CH5LIMITL. | |
SAADC_INTEN_CH5LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH5LIMITL_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH6LIMITH_Pos = 0x12 // Position of CH6LIMITH field. | |
SAADC_INTEN_CH6LIMITH_Msk = 0x40000 // Bit mask of CH6LIMITH field. | |
SAADC_INTEN_CH6LIMITH = 0x40000 // Bit CH6LIMITH. | |
SAADC_INTEN_CH6LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH6LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH6LIMITL_Pos = 0x13 // Position of CH6LIMITL field. | |
SAADC_INTEN_CH6LIMITL_Msk = 0x80000 // Bit mask of CH6LIMITL field. | |
SAADC_INTEN_CH6LIMITL = 0x80000 // Bit CH6LIMITL. | |
SAADC_INTEN_CH6LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH6LIMITL_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH7LIMITH_Pos = 0x14 // Position of CH7LIMITH field. | |
SAADC_INTEN_CH7LIMITH_Msk = 0x100000 // Bit mask of CH7LIMITH field. | |
SAADC_INTEN_CH7LIMITH = 0x100000 // Bit CH7LIMITH. | |
SAADC_INTEN_CH7LIMITH_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH7LIMITH_Enabled = 0x1 // Enable | |
SAADC_INTEN_CH7LIMITL_Pos = 0x15 // Position of CH7LIMITL field. | |
SAADC_INTEN_CH7LIMITL_Msk = 0x200000 // Bit mask of CH7LIMITL field. | |
SAADC_INTEN_CH7LIMITL = 0x200000 // Bit CH7LIMITL. | |
SAADC_INTEN_CH7LIMITL_Disabled = 0x0 // Disable | |
SAADC_INTEN_CH7LIMITL_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
SAADC_INTENSET_STARTED_Pos = 0x0 // Position of STARTED field. | |
SAADC_INTENSET_STARTED_Msk = 0x1 // Bit mask of STARTED field. | |
SAADC_INTENSET_STARTED = 0x1 // Bit STARTED. | |
SAADC_INTENSET_STARTED_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_STARTED_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_STARTED_Set = 0x1 // Enable | |
SAADC_INTENSET_END_Pos = 0x1 // Position of END field. | |
SAADC_INTENSET_END_Msk = 0x2 // Bit mask of END field. | |
SAADC_INTENSET_END = 0x2 // Bit END. | |
SAADC_INTENSET_END_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_END_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_END_Set = 0x1 // Enable | |
SAADC_INTENSET_DONE_Pos = 0x2 // Position of DONE field. | |
SAADC_INTENSET_DONE_Msk = 0x4 // Bit mask of DONE field. | |
SAADC_INTENSET_DONE = 0x4 // Bit DONE. | |
SAADC_INTENSET_DONE_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_DONE_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_DONE_Set = 0x1 // Enable | |
SAADC_INTENSET_RESULTDONE_Pos = 0x3 // Position of RESULTDONE field. | |
SAADC_INTENSET_RESULTDONE_Msk = 0x8 // Bit mask of RESULTDONE field. | |
SAADC_INTENSET_RESULTDONE = 0x8 // Bit RESULTDONE. | |
SAADC_INTENSET_RESULTDONE_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_RESULTDONE_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_RESULTDONE_Set = 0x1 // Enable | |
SAADC_INTENSET_CALIBRATEDONE_Pos = 0x4 // Position of CALIBRATEDONE field. | |
SAADC_INTENSET_CALIBRATEDONE_Msk = 0x10 // Bit mask of CALIBRATEDONE field. | |
SAADC_INTENSET_CALIBRATEDONE = 0x10 // Bit CALIBRATEDONE. | |
SAADC_INTENSET_CALIBRATEDONE_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CALIBRATEDONE_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CALIBRATEDONE_Set = 0x1 // Enable | |
SAADC_INTENSET_STOPPED_Pos = 0x5 // Position of STOPPED field. | |
SAADC_INTENSET_STOPPED_Msk = 0x20 // Bit mask of STOPPED field. | |
SAADC_INTENSET_STOPPED = 0x20 // Bit STOPPED. | |
SAADC_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_STOPPED_Set = 0x1 // Enable | |
SAADC_INTENSET_CH0LIMITH_Pos = 0x6 // Position of CH0LIMITH field. | |
SAADC_INTENSET_CH0LIMITH_Msk = 0x40 // Bit mask of CH0LIMITH field. | |
SAADC_INTENSET_CH0LIMITH = 0x40 // Bit CH0LIMITH. | |
SAADC_INTENSET_CH0LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH0LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH0LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH0LIMITL_Pos = 0x7 // Position of CH0LIMITL field. | |
SAADC_INTENSET_CH0LIMITL_Msk = 0x80 // Bit mask of CH0LIMITL field. | |
SAADC_INTENSET_CH0LIMITL = 0x80 // Bit CH0LIMITL. | |
SAADC_INTENSET_CH0LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH0LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH0LIMITL_Set = 0x1 // Enable | |
SAADC_INTENSET_CH1LIMITH_Pos = 0x8 // Position of CH1LIMITH field. | |
SAADC_INTENSET_CH1LIMITH_Msk = 0x100 // Bit mask of CH1LIMITH field. | |
SAADC_INTENSET_CH1LIMITH = 0x100 // Bit CH1LIMITH. | |
SAADC_INTENSET_CH1LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH1LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH1LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH1LIMITL_Pos = 0x9 // Position of CH1LIMITL field. | |
SAADC_INTENSET_CH1LIMITL_Msk = 0x200 // Bit mask of CH1LIMITL field. | |
SAADC_INTENSET_CH1LIMITL = 0x200 // Bit CH1LIMITL. | |
SAADC_INTENSET_CH1LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH1LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH1LIMITL_Set = 0x1 // Enable | |
SAADC_INTENSET_CH2LIMITH_Pos = 0xa // Position of CH2LIMITH field. | |
SAADC_INTENSET_CH2LIMITH_Msk = 0x400 // Bit mask of CH2LIMITH field. | |
SAADC_INTENSET_CH2LIMITH = 0x400 // Bit CH2LIMITH. | |
SAADC_INTENSET_CH2LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH2LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH2LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH2LIMITL_Pos = 0xb // Position of CH2LIMITL field. | |
SAADC_INTENSET_CH2LIMITL_Msk = 0x800 // Bit mask of CH2LIMITL field. | |
SAADC_INTENSET_CH2LIMITL = 0x800 // Bit CH2LIMITL. | |
SAADC_INTENSET_CH2LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH2LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH2LIMITL_Set = 0x1 // Enable | |
SAADC_INTENSET_CH3LIMITH_Pos = 0xc // Position of CH3LIMITH field. | |
SAADC_INTENSET_CH3LIMITH_Msk = 0x1000 // Bit mask of CH3LIMITH field. | |
SAADC_INTENSET_CH3LIMITH = 0x1000 // Bit CH3LIMITH. | |
SAADC_INTENSET_CH3LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH3LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH3LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH3LIMITL_Pos = 0xd // Position of CH3LIMITL field. | |
SAADC_INTENSET_CH3LIMITL_Msk = 0x2000 // Bit mask of CH3LIMITL field. | |
SAADC_INTENSET_CH3LIMITL = 0x2000 // Bit CH3LIMITL. | |
SAADC_INTENSET_CH3LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH3LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH3LIMITL_Set = 0x1 // Enable | |
SAADC_INTENSET_CH4LIMITH_Pos = 0xe // Position of CH4LIMITH field. | |
SAADC_INTENSET_CH4LIMITH_Msk = 0x4000 // Bit mask of CH4LIMITH field. | |
SAADC_INTENSET_CH4LIMITH = 0x4000 // Bit CH4LIMITH. | |
SAADC_INTENSET_CH4LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH4LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH4LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH4LIMITL_Pos = 0xf // Position of CH4LIMITL field. | |
SAADC_INTENSET_CH4LIMITL_Msk = 0x8000 // Bit mask of CH4LIMITL field. | |
SAADC_INTENSET_CH4LIMITL = 0x8000 // Bit CH4LIMITL. | |
SAADC_INTENSET_CH4LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH4LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH4LIMITL_Set = 0x1 // Enable | |
SAADC_INTENSET_CH5LIMITH_Pos = 0x10 // Position of CH5LIMITH field. | |
SAADC_INTENSET_CH5LIMITH_Msk = 0x10000 // Bit mask of CH5LIMITH field. | |
SAADC_INTENSET_CH5LIMITH = 0x10000 // Bit CH5LIMITH. | |
SAADC_INTENSET_CH5LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH5LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH5LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH5LIMITL_Pos = 0x11 // Position of CH5LIMITL field. | |
SAADC_INTENSET_CH5LIMITL_Msk = 0x20000 // Bit mask of CH5LIMITL field. | |
SAADC_INTENSET_CH5LIMITL = 0x20000 // Bit CH5LIMITL. | |
SAADC_INTENSET_CH5LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH5LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH5LIMITL_Set = 0x1 // Enable | |
SAADC_INTENSET_CH6LIMITH_Pos = 0x12 // Position of CH6LIMITH field. | |
SAADC_INTENSET_CH6LIMITH_Msk = 0x40000 // Bit mask of CH6LIMITH field. | |
SAADC_INTENSET_CH6LIMITH = 0x40000 // Bit CH6LIMITH. | |
SAADC_INTENSET_CH6LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH6LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH6LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH6LIMITL_Pos = 0x13 // Position of CH6LIMITL field. | |
SAADC_INTENSET_CH6LIMITL_Msk = 0x80000 // Bit mask of CH6LIMITL field. | |
SAADC_INTENSET_CH6LIMITL = 0x80000 // Bit CH6LIMITL. | |
SAADC_INTENSET_CH6LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH6LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH6LIMITL_Set = 0x1 // Enable | |
SAADC_INTENSET_CH7LIMITH_Pos = 0x14 // Position of CH7LIMITH field. | |
SAADC_INTENSET_CH7LIMITH_Msk = 0x100000 // Bit mask of CH7LIMITH field. | |
SAADC_INTENSET_CH7LIMITH = 0x100000 // Bit CH7LIMITH. | |
SAADC_INTENSET_CH7LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH7LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH7LIMITH_Set = 0x1 // Enable | |
SAADC_INTENSET_CH7LIMITL_Pos = 0x15 // Position of CH7LIMITL field. | |
SAADC_INTENSET_CH7LIMITL_Msk = 0x200000 // Bit mask of CH7LIMITL field. | |
SAADC_INTENSET_CH7LIMITL = 0x200000 // Bit CH7LIMITL. | |
SAADC_INTENSET_CH7LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENSET_CH7LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENSET_CH7LIMITL_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
SAADC_INTENCLR_STARTED_Pos = 0x0 // Position of STARTED field. | |
SAADC_INTENCLR_STARTED_Msk = 0x1 // Bit mask of STARTED field. | |
SAADC_INTENCLR_STARTED = 0x1 // Bit STARTED. | |
SAADC_INTENCLR_STARTED_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_STARTED_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_STARTED_Clear = 0x1 // Disable | |
SAADC_INTENCLR_END_Pos = 0x1 // Position of END field. | |
SAADC_INTENCLR_END_Msk = 0x2 // Bit mask of END field. | |
SAADC_INTENCLR_END = 0x2 // Bit END. | |
SAADC_INTENCLR_END_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_END_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_END_Clear = 0x1 // Disable | |
SAADC_INTENCLR_DONE_Pos = 0x2 // Position of DONE field. | |
SAADC_INTENCLR_DONE_Msk = 0x4 // Bit mask of DONE field. | |
SAADC_INTENCLR_DONE = 0x4 // Bit DONE. | |
SAADC_INTENCLR_DONE_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_DONE_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_DONE_Clear = 0x1 // Disable | |
SAADC_INTENCLR_RESULTDONE_Pos = 0x3 // Position of RESULTDONE field. | |
SAADC_INTENCLR_RESULTDONE_Msk = 0x8 // Bit mask of RESULTDONE field. | |
SAADC_INTENCLR_RESULTDONE = 0x8 // Bit RESULTDONE. | |
SAADC_INTENCLR_RESULTDONE_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_RESULTDONE_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_RESULTDONE_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CALIBRATEDONE_Pos = 0x4 // Position of CALIBRATEDONE field. | |
SAADC_INTENCLR_CALIBRATEDONE_Msk = 0x10 // Bit mask of CALIBRATEDONE field. | |
SAADC_INTENCLR_CALIBRATEDONE = 0x10 // Bit CALIBRATEDONE. | |
SAADC_INTENCLR_CALIBRATEDONE_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CALIBRATEDONE_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CALIBRATEDONE_Clear = 0x1 // Disable | |
SAADC_INTENCLR_STOPPED_Pos = 0x5 // Position of STOPPED field. | |
SAADC_INTENCLR_STOPPED_Msk = 0x20 // Bit mask of STOPPED field. | |
SAADC_INTENCLR_STOPPED = 0x20 // Bit STOPPED. | |
SAADC_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH0LIMITH_Pos = 0x6 // Position of CH0LIMITH field. | |
SAADC_INTENCLR_CH0LIMITH_Msk = 0x40 // Bit mask of CH0LIMITH field. | |
SAADC_INTENCLR_CH0LIMITH = 0x40 // Bit CH0LIMITH. | |
SAADC_INTENCLR_CH0LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH0LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH0LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH0LIMITL_Pos = 0x7 // Position of CH0LIMITL field. | |
SAADC_INTENCLR_CH0LIMITL_Msk = 0x80 // Bit mask of CH0LIMITL field. | |
SAADC_INTENCLR_CH0LIMITL = 0x80 // Bit CH0LIMITL. | |
SAADC_INTENCLR_CH0LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH0LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH0LIMITL_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH1LIMITH_Pos = 0x8 // Position of CH1LIMITH field. | |
SAADC_INTENCLR_CH1LIMITH_Msk = 0x100 // Bit mask of CH1LIMITH field. | |
SAADC_INTENCLR_CH1LIMITH = 0x100 // Bit CH1LIMITH. | |
SAADC_INTENCLR_CH1LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH1LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH1LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH1LIMITL_Pos = 0x9 // Position of CH1LIMITL field. | |
SAADC_INTENCLR_CH1LIMITL_Msk = 0x200 // Bit mask of CH1LIMITL field. | |
SAADC_INTENCLR_CH1LIMITL = 0x200 // Bit CH1LIMITL. | |
SAADC_INTENCLR_CH1LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH1LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH1LIMITL_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH2LIMITH_Pos = 0xa // Position of CH2LIMITH field. | |
SAADC_INTENCLR_CH2LIMITH_Msk = 0x400 // Bit mask of CH2LIMITH field. | |
SAADC_INTENCLR_CH2LIMITH = 0x400 // Bit CH2LIMITH. | |
SAADC_INTENCLR_CH2LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH2LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH2LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH2LIMITL_Pos = 0xb // Position of CH2LIMITL field. | |
SAADC_INTENCLR_CH2LIMITL_Msk = 0x800 // Bit mask of CH2LIMITL field. | |
SAADC_INTENCLR_CH2LIMITL = 0x800 // Bit CH2LIMITL. | |
SAADC_INTENCLR_CH2LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH2LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH2LIMITL_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH3LIMITH_Pos = 0xc // Position of CH3LIMITH field. | |
SAADC_INTENCLR_CH3LIMITH_Msk = 0x1000 // Bit mask of CH3LIMITH field. | |
SAADC_INTENCLR_CH3LIMITH = 0x1000 // Bit CH3LIMITH. | |
SAADC_INTENCLR_CH3LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH3LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH3LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH3LIMITL_Pos = 0xd // Position of CH3LIMITL field. | |
SAADC_INTENCLR_CH3LIMITL_Msk = 0x2000 // Bit mask of CH3LIMITL field. | |
SAADC_INTENCLR_CH3LIMITL = 0x2000 // Bit CH3LIMITL. | |
SAADC_INTENCLR_CH3LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH3LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH3LIMITL_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH4LIMITH_Pos = 0xe // Position of CH4LIMITH field. | |
SAADC_INTENCLR_CH4LIMITH_Msk = 0x4000 // Bit mask of CH4LIMITH field. | |
SAADC_INTENCLR_CH4LIMITH = 0x4000 // Bit CH4LIMITH. | |
SAADC_INTENCLR_CH4LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH4LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH4LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH4LIMITL_Pos = 0xf // Position of CH4LIMITL field. | |
SAADC_INTENCLR_CH4LIMITL_Msk = 0x8000 // Bit mask of CH4LIMITL field. | |
SAADC_INTENCLR_CH4LIMITL = 0x8000 // Bit CH4LIMITL. | |
SAADC_INTENCLR_CH4LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH4LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH4LIMITL_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH5LIMITH_Pos = 0x10 // Position of CH5LIMITH field. | |
SAADC_INTENCLR_CH5LIMITH_Msk = 0x10000 // Bit mask of CH5LIMITH field. | |
SAADC_INTENCLR_CH5LIMITH = 0x10000 // Bit CH5LIMITH. | |
SAADC_INTENCLR_CH5LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH5LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH5LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH5LIMITL_Pos = 0x11 // Position of CH5LIMITL field. | |
SAADC_INTENCLR_CH5LIMITL_Msk = 0x20000 // Bit mask of CH5LIMITL field. | |
SAADC_INTENCLR_CH5LIMITL = 0x20000 // Bit CH5LIMITL. | |
SAADC_INTENCLR_CH5LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH5LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH5LIMITL_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH6LIMITH_Pos = 0x12 // Position of CH6LIMITH field. | |
SAADC_INTENCLR_CH6LIMITH_Msk = 0x40000 // Bit mask of CH6LIMITH field. | |
SAADC_INTENCLR_CH6LIMITH = 0x40000 // Bit CH6LIMITH. | |
SAADC_INTENCLR_CH6LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH6LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH6LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH6LIMITL_Pos = 0x13 // Position of CH6LIMITL field. | |
SAADC_INTENCLR_CH6LIMITL_Msk = 0x80000 // Bit mask of CH6LIMITL field. | |
SAADC_INTENCLR_CH6LIMITL = 0x80000 // Bit CH6LIMITL. | |
SAADC_INTENCLR_CH6LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH6LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH6LIMITL_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH7LIMITH_Pos = 0x14 // Position of CH7LIMITH field. | |
SAADC_INTENCLR_CH7LIMITH_Msk = 0x100000 // Bit mask of CH7LIMITH field. | |
SAADC_INTENCLR_CH7LIMITH = 0x100000 // Bit CH7LIMITH. | |
SAADC_INTENCLR_CH7LIMITH_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH7LIMITH_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH7LIMITH_Clear = 0x1 // Disable | |
SAADC_INTENCLR_CH7LIMITL_Pos = 0x15 // Position of CH7LIMITL field. | |
SAADC_INTENCLR_CH7LIMITL_Msk = 0x200000 // Bit mask of CH7LIMITL field. | |
SAADC_INTENCLR_CH7LIMITL = 0x200000 // Bit CH7LIMITL. | |
SAADC_INTENCLR_CH7LIMITL_Disabled = 0x0 // Read: Disabled | |
SAADC_INTENCLR_CH7LIMITL_Enabled = 0x1 // Read: Enabled | |
SAADC_INTENCLR_CH7LIMITL_Clear = 0x1 // Disable | |
// STATUS: Status | |
SAADC_STATUS_STATUS_Pos = 0x0 // Position of STATUS field. | |
SAADC_STATUS_STATUS_Msk = 0x1 // Bit mask of STATUS field. | |
SAADC_STATUS_STATUS = 0x1 // Bit STATUS. | |
SAADC_STATUS_STATUS_Ready = 0x0 // ADC is ready. No on-going conversion. | |
SAADC_STATUS_STATUS_Busy = 0x1 // ADC is busy. Conversion in progress. | |
// ENABLE: Enable or disable ADC | |
SAADC_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
SAADC_ENABLE_ENABLE_Msk = 0x1 // Bit mask of ENABLE field. | |
SAADC_ENABLE_ENABLE = 0x1 // Bit ENABLE. | |
SAADC_ENABLE_ENABLE_Disabled = 0x0 // Disable ADC | |
SAADC_ENABLE_ENABLE_Enabled = 0x1 // Enable ADC | |
// CH.PSELP: Description cluster[0]: Input positive pin selection for CH[0] | |
SAADC_CH_PSELP_PSELP_Pos = 0x0 // Position of PSELP field. | |
SAADC_CH_PSELP_PSELP_Msk = 0x1f // Bit mask of PSELP field. | |
SAADC_CH_PSELP_PSELP_NC = 0x0 // Not connected | |
SAADC_CH_PSELP_PSELP_AnalogInput0 = 0x1 // AIN0 | |
SAADC_CH_PSELP_PSELP_AnalogInput1 = 0x2 // AIN1 | |
SAADC_CH_PSELP_PSELP_AnalogInput2 = 0x3 // AIN2 | |
SAADC_CH_PSELP_PSELP_AnalogInput3 = 0x4 // AIN3 | |
SAADC_CH_PSELP_PSELP_AnalogInput4 = 0x5 // AIN4 | |
SAADC_CH_PSELP_PSELP_AnalogInput5 = 0x6 // AIN5 | |
SAADC_CH_PSELP_PSELP_AnalogInput6 = 0x7 // AIN6 | |
SAADC_CH_PSELP_PSELP_AnalogInput7 = 0x8 // AIN7 | |
SAADC_CH_PSELP_PSELP_VDD = 0x9 // VDD | |
// CH.PSELN: Description cluster[0]: Input negative pin selection for CH[0] | |
SAADC_CH_PSELN_PSELN_Pos = 0x0 // Position of PSELN field. | |
SAADC_CH_PSELN_PSELN_Msk = 0x1f // Bit mask of PSELN field. | |
SAADC_CH_PSELN_PSELN_NC = 0x0 // Not connected | |
SAADC_CH_PSELN_PSELN_AnalogInput0 = 0x1 // AIN0 | |
SAADC_CH_PSELN_PSELN_AnalogInput1 = 0x2 // AIN1 | |
SAADC_CH_PSELN_PSELN_AnalogInput2 = 0x3 // AIN2 | |
SAADC_CH_PSELN_PSELN_AnalogInput3 = 0x4 // AIN3 | |
SAADC_CH_PSELN_PSELN_AnalogInput4 = 0x5 // AIN4 | |
SAADC_CH_PSELN_PSELN_AnalogInput5 = 0x6 // AIN5 | |
SAADC_CH_PSELN_PSELN_AnalogInput6 = 0x7 // AIN6 | |
SAADC_CH_PSELN_PSELN_AnalogInput7 = 0x8 // AIN7 | |
SAADC_CH_PSELN_PSELN_VDD = 0x9 // VDD | |
// CH.CONFIG: Description cluster[0]: Input configuration for CH[0] | |
SAADC_CH_CONFIG_RESP_Pos = 0x0 // Position of RESP field. | |
SAADC_CH_CONFIG_RESP_Msk = 0x3 // Bit mask of RESP field. | |
SAADC_CH_CONFIG_RESP_Bypass = 0x0 // Bypass resistor ladder | |
SAADC_CH_CONFIG_RESP_Pulldown = 0x1 // Pull-down to GND | |
SAADC_CH_CONFIG_RESP_Pullup = 0x2 // Pull-up to VDD | |
SAADC_CH_CONFIG_RESP_VDD1_2 = 0x3 // Set input at VDD/2 | |
SAADC_CH_CONFIG_RESN_Pos = 0x4 // Position of RESN field. | |
SAADC_CH_CONFIG_RESN_Msk = 0x30 // Bit mask of RESN field. | |
SAADC_CH_CONFIG_RESN_Bypass = 0x0 // Bypass resistor ladder | |
SAADC_CH_CONFIG_RESN_Pulldown = 0x1 // Pull-down to GND | |
SAADC_CH_CONFIG_RESN_Pullup = 0x2 // Pull-up to VDD | |
SAADC_CH_CONFIG_RESN_VDD1_2 = 0x3 // Set input at VDD/2 | |
SAADC_CH_CONFIG_GAIN_Pos = 0x8 // Position of GAIN field. | |
SAADC_CH_CONFIG_GAIN_Msk = 0x700 // Bit mask of GAIN field. | |
SAADC_CH_CONFIG_GAIN_Gain1_6 = 0x0 // 1/6 | |
SAADC_CH_CONFIG_GAIN_Gain1_5 = 0x1 // 1/5 | |
SAADC_CH_CONFIG_GAIN_Gain1_4 = 0x2 // 1/4 | |
SAADC_CH_CONFIG_GAIN_Gain1_3 = 0x3 // 1/3 | |
SAADC_CH_CONFIG_GAIN_Gain1_2 = 0x4 // 1/2 | |
SAADC_CH_CONFIG_GAIN_Gain1 = 0x5 // 1 | |
SAADC_CH_CONFIG_GAIN_Gain2 = 0x6 // 2 | |
SAADC_CH_CONFIG_GAIN_Gain4 = 0x7 // 4 | |
SAADC_CH_CONFIG_REFSEL_Pos = 0xc // Position of REFSEL field. | |
SAADC_CH_CONFIG_REFSEL_Msk = 0x1000 // Bit mask of REFSEL field. | |
SAADC_CH_CONFIG_REFSEL = 0x1000 // Bit REFSEL. | |
SAADC_CH_CONFIG_REFSEL_Internal = 0x0 // Internal reference (0.6 V) | |
SAADC_CH_CONFIG_REFSEL_VDD1_4 = 0x1 // VDD/4 as reference | |
SAADC_CH_CONFIG_TACQ_Pos = 0x10 // Position of TACQ field. | |
SAADC_CH_CONFIG_TACQ_Msk = 0x70000 // Bit mask of TACQ field. | |
SAADC_CH_CONFIG_TACQ_3us = 0x0 // 3 us | |
SAADC_CH_CONFIG_TACQ_5us = 0x1 // 5 us | |
SAADC_CH_CONFIG_TACQ_10us = 0x2 // 10 us | |
SAADC_CH_CONFIG_TACQ_15us = 0x3 // 15 us | |
SAADC_CH_CONFIG_TACQ_20us = 0x4 // 20 us | |
SAADC_CH_CONFIG_TACQ_40us = 0x5 // 40 us | |
SAADC_CH_CONFIG_MODE_Pos = 0x14 // Position of MODE field. | |
SAADC_CH_CONFIG_MODE_Msk = 0x100000 // Bit mask of MODE field. | |
SAADC_CH_CONFIG_MODE = 0x100000 // Bit MODE. | |
SAADC_CH_CONFIG_MODE_SE = 0x0 // Single ended, PSELN will be ignored, negative input to ADC shorted to GND | |
SAADC_CH_CONFIG_MODE_Diff = 0x1 // Differential | |
SAADC_CH_CONFIG_BURST_Pos = 0x18 // Position of BURST field. | |
SAADC_CH_CONFIG_BURST_Msk = 0x1000000 // Bit mask of BURST field. | |
SAADC_CH_CONFIG_BURST = 0x1000000 // Bit BURST. | |
SAADC_CH_CONFIG_BURST_Disabled = 0x0 // Burst mode is disabled (normal operation) | |
SAADC_CH_CONFIG_BURST_Enabled = 0x1 // Burst mode is enabled. SAADC takes 2^OVERSAMPLE number of samples as fast as it can, and sends the average to Data RAM. | |
// CH.LIMIT: Description cluster[0]: High/low limits for event monitoring a channel | |
SAADC_CH_LIMIT_LOW_Pos = 0x0 // Position of LOW field. | |
SAADC_CH_LIMIT_LOW_Msk = 0xffff // Bit mask of LOW field. | |
SAADC_CH_LIMIT_HIGH_Pos = 0x10 // Position of HIGH field. | |
SAADC_CH_LIMIT_HIGH_Msk = 0xffff0000 // Bit mask of HIGH field. | |
// RESOLUTION: Resolution configuration | |
SAADC_RESOLUTION_VAL_Pos = 0x0 // Position of VAL field. | |
SAADC_RESOLUTION_VAL_Msk = 0x7 // Bit mask of VAL field. | |
SAADC_RESOLUTION_VAL_8bit = 0x0 // 8 bit | |
SAADC_RESOLUTION_VAL_10bit = 0x1 // 10 bit | |
SAADC_RESOLUTION_VAL_12bit = 0x2 // 12 bit | |
SAADC_RESOLUTION_VAL_14bit = 0x3 // 14 bit | |
// OVERSAMPLE: 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. | |
SAADC_OVERSAMPLE_OVERSAMPLE_Pos = 0x0 // Position of OVERSAMPLE field. | |
SAADC_OVERSAMPLE_OVERSAMPLE_Msk = 0xf // Bit mask of OVERSAMPLE field. | |
SAADC_OVERSAMPLE_OVERSAMPLE_Bypass = 0x0 // Bypass oversampling | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over2x = 0x1 // Oversample 2x | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over4x = 0x2 // Oversample 4x | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over8x = 0x3 // Oversample 8x | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over16x = 0x4 // Oversample 16x | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over32x = 0x5 // Oversample 32x | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over64x = 0x6 // Oversample 64x | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over128x = 0x7 // Oversample 128x | |
SAADC_OVERSAMPLE_OVERSAMPLE_Over256x = 0x8 // Oversample 256x | |
// SAMPLERATE: Controls normal or continuous sample rate | |
SAADC_SAMPLERATE_CC_Pos = 0x0 // Position of CC field. | |
SAADC_SAMPLERATE_CC_Msk = 0x7ff // Bit mask of CC field. | |
SAADC_SAMPLERATE_MODE_Pos = 0xc // Position of MODE field. | |
SAADC_SAMPLERATE_MODE_Msk = 0x1000 // Bit mask of MODE field. | |
SAADC_SAMPLERATE_MODE = 0x1000 // Bit MODE. | |
SAADC_SAMPLERATE_MODE_Task = 0x0 // Rate is controlled from SAMPLE task | |
SAADC_SAMPLERATE_MODE_Timers = 0x1 // Rate is controlled from local timer (use CC to control the rate) | |
// RESULT.PTR: Data pointer | |
SAADC_RESULT_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
SAADC_RESULT_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// RESULT.MAXCNT: Maximum number of buffer words to transfer | |
SAADC_RESULT_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
SAADC_RESULT_MAXCNT_MAXCNT_Msk = 0x7fff // Bit mask of MAXCNT field. | |
// RESULT.AMOUNT: Number of buffer words transferred since last START | |
SAADC_RESULT_AMOUNT_AMOUNT_Pos = 0x0 // Position of AMOUNT field. | |
SAADC_RESULT_AMOUNT_AMOUNT_Msk = 0x7fff // Bit mask of AMOUNT field. | |
) | |
// Bitfields for TIMER0: Timer/Counter 0 | |
const ( | |
// SHORTS: Shortcut register | |
TIMER_SHORTS_COMPARE0_CLEAR_Pos = 0x0 // Position of COMPARE0_CLEAR field. | |
TIMER_SHORTS_COMPARE0_CLEAR_Msk = 0x1 // Bit mask of COMPARE0_CLEAR field. | |
TIMER_SHORTS_COMPARE0_CLEAR = 0x1 // Bit COMPARE0_CLEAR. | |
TIMER_SHORTS_COMPARE0_CLEAR_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE0_CLEAR_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE1_CLEAR_Pos = 0x1 // Position of COMPARE1_CLEAR field. | |
TIMER_SHORTS_COMPARE1_CLEAR_Msk = 0x2 // Bit mask of COMPARE1_CLEAR field. | |
TIMER_SHORTS_COMPARE1_CLEAR = 0x2 // Bit COMPARE1_CLEAR. | |
TIMER_SHORTS_COMPARE1_CLEAR_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE1_CLEAR_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE2_CLEAR_Pos = 0x2 // Position of COMPARE2_CLEAR field. | |
TIMER_SHORTS_COMPARE2_CLEAR_Msk = 0x4 // Bit mask of COMPARE2_CLEAR field. | |
TIMER_SHORTS_COMPARE2_CLEAR = 0x4 // Bit COMPARE2_CLEAR. | |
TIMER_SHORTS_COMPARE2_CLEAR_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE2_CLEAR_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE3_CLEAR_Pos = 0x3 // Position of COMPARE3_CLEAR field. | |
TIMER_SHORTS_COMPARE3_CLEAR_Msk = 0x8 // Bit mask of COMPARE3_CLEAR field. | |
TIMER_SHORTS_COMPARE3_CLEAR = 0x8 // Bit COMPARE3_CLEAR. | |
TIMER_SHORTS_COMPARE3_CLEAR_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE3_CLEAR_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE4_CLEAR_Pos = 0x4 // Position of COMPARE4_CLEAR field. | |
TIMER_SHORTS_COMPARE4_CLEAR_Msk = 0x10 // Bit mask of COMPARE4_CLEAR field. | |
TIMER_SHORTS_COMPARE4_CLEAR = 0x10 // Bit COMPARE4_CLEAR. | |
TIMER_SHORTS_COMPARE4_CLEAR_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE4_CLEAR_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE5_CLEAR_Pos = 0x5 // Position of COMPARE5_CLEAR field. | |
TIMER_SHORTS_COMPARE5_CLEAR_Msk = 0x20 // Bit mask of COMPARE5_CLEAR field. | |
TIMER_SHORTS_COMPARE5_CLEAR = 0x20 // Bit COMPARE5_CLEAR. | |
TIMER_SHORTS_COMPARE5_CLEAR_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE5_CLEAR_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE0_STOP_Pos = 0x8 // Position of COMPARE0_STOP field. | |
TIMER_SHORTS_COMPARE0_STOP_Msk = 0x100 // Bit mask of COMPARE0_STOP field. | |
TIMER_SHORTS_COMPARE0_STOP = 0x100 // Bit COMPARE0_STOP. | |
TIMER_SHORTS_COMPARE0_STOP_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE0_STOP_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE1_STOP_Pos = 0x9 // Position of COMPARE1_STOP field. | |
TIMER_SHORTS_COMPARE1_STOP_Msk = 0x200 // Bit mask of COMPARE1_STOP field. | |
TIMER_SHORTS_COMPARE1_STOP = 0x200 // Bit COMPARE1_STOP. | |
TIMER_SHORTS_COMPARE1_STOP_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE1_STOP_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE2_STOP_Pos = 0xa // Position of COMPARE2_STOP field. | |
TIMER_SHORTS_COMPARE2_STOP_Msk = 0x400 // Bit mask of COMPARE2_STOP field. | |
TIMER_SHORTS_COMPARE2_STOP = 0x400 // Bit COMPARE2_STOP. | |
TIMER_SHORTS_COMPARE2_STOP_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE2_STOP_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE3_STOP_Pos = 0xb // Position of COMPARE3_STOP field. | |
TIMER_SHORTS_COMPARE3_STOP_Msk = 0x800 // Bit mask of COMPARE3_STOP field. | |
TIMER_SHORTS_COMPARE3_STOP = 0x800 // Bit COMPARE3_STOP. | |
TIMER_SHORTS_COMPARE3_STOP_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE3_STOP_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE4_STOP_Pos = 0xc // Position of COMPARE4_STOP field. | |
TIMER_SHORTS_COMPARE4_STOP_Msk = 0x1000 // Bit mask of COMPARE4_STOP field. | |
TIMER_SHORTS_COMPARE4_STOP = 0x1000 // Bit COMPARE4_STOP. | |
TIMER_SHORTS_COMPARE4_STOP_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE4_STOP_Enabled = 0x1 // Enable shortcut | |
TIMER_SHORTS_COMPARE5_STOP_Pos = 0xd // Position of COMPARE5_STOP field. | |
TIMER_SHORTS_COMPARE5_STOP_Msk = 0x2000 // Bit mask of COMPARE5_STOP field. | |
TIMER_SHORTS_COMPARE5_STOP = 0x2000 // Bit COMPARE5_STOP. | |
TIMER_SHORTS_COMPARE5_STOP_Disabled = 0x0 // Disable shortcut | |
TIMER_SHORTS_COMPARE5_STOP_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
TIMER_INTENSET_COMPARE0_Pos = 0x10 // Position of COMPARE0 field. | |
TIMER_INTENSET_COMPARE0_Msk = 0x10000 // Bit mask of COMPARE0 field. | |
TIMER_INTENSET_COMPARE0 = 0x10000 // Bit COMPARE0. | |
TIMER_INTENSET_COMPARE0_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENSET_COMPARE0_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENSET_COMPARE0_Set = 0x1 // Enable | |
TIMER_INTENSET_COMPARE1_Pos = 0x11 // Position of COMPARE1 field. | |
TIMER_INTENSET_COMPARE1_Msk = 0x20000 // Bit mask of COMPARE1 field. | |
TIMER_INTENSET_COMPARE1 = 0x20000 // Bit COMPARE1. | |
TIMER_INTENSET_COMPARE1_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENSET_COMPARE1_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENSET_COMPARE1_Set = 0x1 // Enable | |
TIMER_INTENSET_COMPARE2_Pos = 0x12 // Position of COMPARE2 field. | |
TIMER_INTENSET_COMPARE2_Msk = 0x40000 // Bit mask of COMPARE2 field. | |
TIMER_INTENSET_COMPARE2 = 0x40000 // Bit COMPARE2. | |
TIMER_INTENSET_COMPARE2_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENSET_COMPARE2_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENSET_COMPARE2_Set = 0x1 // Enable | |
TIMER_INTENSET_COMPARE3_Pos = 0x13 // Position of COMPARE3 field. | |
TIMER_INTENSET_COMPARE3_Msk = 0x80000 // Bit mask of COMPARE3 field. | |
TIMER_INTENSET_COMPARE3 = 0x80000 // Bit COMPARE3. | |
TIMER_INTENSET_COMPARE3_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENSET_COMPARE3_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENSET_COMPARE3_Set = 0x1 // Enable | |
TIMER_INTENSET_COMPARE4_Pos = 0x14 // Position of COMPARE4 field. | |
TIMER_INTENSET_COMPARE4_Msk = 0x100000 // Bit mask of COMPARE4 field. | |
TIMER_INTENSET_COMPARE4 = 0x100000 // Bit COMPARE4. | |
TIMER_INTENSET_COMPARE4_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENSET_COMPARE4_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENSET_COMPARE4_Set = 0x1 // Enable | |
TIMER_INTENSET_COMPARE5_Pos = 0x15 // Position of COMPARE5 field. | |
TIMER_INTENSET_COMPARE5_Msk = 0x200000 // Bit mask of COMPARE5 field. | |
TIMER_INTENSET_COMPARE5 = 0x200000 // Bit COMPARE5. | |
TIMER_INTENSET_COMPARE5_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENSET_COMPARE5_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENSET_COMPARE5_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
TIMER_INTENCLR_COMPARE0_Pos = 0x10 // Position of COMPARE0 field. | |
TIMER_INTENCLR_COMPARE0_Msk = 0x10000 // Bit mask of COMPARE0 field. | |
TIMER_INTENCLR_COMPARE0 = 0x10000 // Bit COMPARE0. | |
TIMER_INTENCLR_COMPARE0_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENCLR_COMPARE0_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENCLR_COMPARE0_Clear = 0x1 // Disable | |
TIMER_INTENCLR_COMPARE1_Pos = 0x11 // Position of COMPARE1 field. | |
TIMER_INTENCLR_COMPARE1_Msk = 0x20000 // Bit mask of COMPARE1 field. | |
TIMER_INTENCLR_COMPARE1 = 0x20000 // Bit COMPARE1. | |
TIMER_INTENCLR_COMPARE1_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENCLR_COMPARE1_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENCLR_COMPARE1_Clear = 0x1 // Disable | |
TIMER_INTENCLR_COMPARE2_Pos = 0x12 // Position of COMPARE2 field. | |
TIMER_INTENCLR_COMPARE2_Msk = 0x40000 // Bit mask of COMPARE2 field. | |
TIMER_INTENCLR_COMPARE2 = 0x40000 // Bit COMPARE2. | |
TIMER_INTENCLR_COMPARE2_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENCLR_COMPARE2_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENCLR_COMPARE2_Clear = 0x1 // Disable | |
TIMER_INTENCLR_COMPARE3_Pos = 0x13 // Position of COMPARE3 field. | |
TIMER_INTENCLR_COMPARE3_Msk = 0x80000 // Bit mask of COMPARE3 field. | |
TIMER_INTENCLR_COMPARE3 = 0x80000 // Bit COMPARE3. | |
TIMER_INTENCLR_COMPARE3_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENCLR_COMPARE3_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENCLR_COMPARE3_Clear = 0x1 // Disable | |
TIMER_INTENCLR_COMPARE4_Pos = 0x14 // Position of COMPARE4 field. | |
TIMER_INTENCLR_COMPARE4_Msk = 0x100000 // Bit mask of COMPARE4 field. | |
TIMER_INTENCLR_COMPARE4 = 0x100000 // Bit COMPARE4. | |
TIMER_INTENCLR_COMPARE4_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENCLR_COMPARE4_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENCLR_COMPARE4_Clear = 0x1 // Disable | |
TIMER_INTENCLR_COMPARE5_Pos = 0x15 // Position of COMPARE5 field. | |
TIMER_INTENCLR_COMPARE5_Msk = 0x200000 // Bit mask of COMPARE5 field. | |
TIMER_INTENCLR_COMPARE5 = 0x200000 // Bit COMPARE5. | |
TIMER_INTENCLR_COMPARE5_Disabled = 0x0 // Read: Disabled | |
TIMER_INTENCLR_COMPARE5_Enabled = 0x1 // Read: Enabled | |
TIMER_INTENCLR_COMPARE5_Clear = 0x1 // Disable | |
// MODE: Timer mode selection | |
TIMER_MODE_MODE_Pos = 0x0 // Position of MODE field. | |
TIMER_MODE_MODE_Msk = 0x3 // Bit mask of MODE field. | |
TIMER_MODE_MODE_Timer = 0x0 // Select Timer mode | |
TIMER_MODE_MODE_Counter = 0x1 // Deprecated enumerator - Select Counter mode | |
TIMER_MODE_MODE_LowPowerCounter = 0x2 // Select Low Power Counter mode | |
// BITMODE: Configure the number of bits used by the TIMER | |
TIMER_BITMODE_BITMODE_Pos = 0x0 // Position of BITMODE field. | |
TIMER_BITMODE_BITMODE_Msk = 0x3 // Bit mask of BITMODE field. | |
TIMER_BITMODE_BITMODE_16Bit = 0x0 // 16 bit timer bit width | |
TIMER_BITMODE_BITMODE_08Bit = 0x1 // 8 bit timer bit width | |
TIMER_BITMODE_BITMODE_24Bit = 0x2 // 24 bit timer bit width | |
TIMER_BITMODE_BITMODE_32Bit = 0x3 // 32 bit timer bit width | |
// PRESCALER: Timer prescaler register | |
TIMER_PRESCALER_PRESCALER_Pos = 0x0 // Position of PRESCALER field. | |
TIMER_PRESCALER_PRESCALER_Msk = 0xf // Bit mask of PRESCALER field. | |
// CC: Description collection[0]: Capture/Compare register 0 | |
TIMER_CC_CC_Pos = 0x0 // Position of CC field. | |
TIMER_CC_CC_Msk = 0xffffffff // Bit mask of CC field. | |
) | |
// Bitfields for RTC0: Real time counter 0 | |
const ( | |
// INTENSET: Enable interrupt | |
RTC_INTENSET_TICK_Pos = 0x0 // Position of TICK field. | |
RTC_INTENSET_TICK_Msk = 0x1 // Bit mask of TICK field. | |
RTC_INTENSET_TICK = 0x1 // Bit TICK. | |
RTC_INTENSET_TICK_Disabled = 0x0 // Read: Disabled | |
RTC_INTENSET_TICK_Enabled = 0x1 // Read: Enabled | |
RTC_INTENSET_TICK_Set = 0x1 // Enable | |
RTC_INTENSET_OVRFLW_Pos = 0x1 // Position of OVRFLW field. | |
RTC_INTENSET_OVRFLW_Msk = 0x2 // Bit mask of OVRFLW field. | |
RTC_INTENSET_OVRFLW = 0x2 // Bit OVRFLW. | |
RTC_INTENSET_OVRFLW_Disabled = 0x0 // Read: Disabled | |
RTC_INTENSET_OVRFLW_Enabled = 0x1 // Read: Enabled | |
RTC_INTENSET_OVRFLW_Set = 0x1 // Enable | |
RTC_INTENSET_COMPARE0_Pos = 0x10 // Position of COMPARE0 field. | |
RTC_INTENSET_COMPARE0_Msk = 0x10000 // Bit mask of COMPARE0 field. | |
RTC_INTENSET_COMPARE0 = 0x10000 // Bit COMPARE0. | |
RTC_INTENSET_COMPARE0_Disabled = 0x0 // Read: Disabled | |
RTC_INTENSET_COMPARE0_Enabled = 0x1 // Read: Enabled | |
RTC_INTENSET_COMPARE0_Set = 0x1 // Enable | |
RTC_INTENSET_COMPARE1_Pos = 0x11 // Position of COMPARE1 field. | |
RTC_INTENSET_COMPARE1_Msk = 0x20000 // Bit mask of COMPARE1 field. | |
RTC_INTENSET_COMPARE1 = 0x20000 // Bit COMPARE1. | |
RTC_INTENSET_COMPARE1_Disabled = 0x0 // Read: Disabled | |
RTC_INTENSET_COMPARE1_Enabled = 0x1 // Read: Enabled | |
RTC_INTENSET_COMPARE1_Set = 0x1 // Enable | |
RTC_INTENSET_COMPARE2_Pos = 0x12 // Position of COMPARE2 field. | |
RTC_INTENSET_COMPARE2_Msk = 0x40000 // Bit mask of COMPARE2 field. | |
RTC_INTENSET_COMPARE2 = 0x40000 // Bit COMPARE2. | |
RTC_INTENSET_COMPARE2_Disabled = 0x0 // Read: Disabled | |
RTC_INTENSET_COMPARE2_Enabled = 0x1 // Read: Enabled | |
RTC_INTENSET_COMPARE2_Set = 0x1 // Enable | |
RTC_INTENSET_COMPARE3_Pos = 0x13 // Position of COMPARE3 field. | |
RTC_INTENSET_COMPARE3_Msk = 0x80000 // Bit mask of COMPARE3 field. | |
RTC_INTENSET_COMPARE3 = 0x80000 // Bit COMPARE3. | |
RTC_INTENSET_COMPARE3_Disabled = 0x0 // Read: Disabled | |
RTC_INTENSET_COMPARE3_Enabled = 0x1 // Read: Enabled | |
RTC_INTENSET_COMPARE3_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
RTC_INTENCLR_TICK_Pos = 0x0 // Position of TICK field. | |
RTC_INTENCLR_TICK_Msk = 0x1 // Bit mask of TICK field. | |
RTC_INTENCLR_TICK = 0x1 // Bit TICK. | |
RTC_INTENCLR_TICK_Disabled = 0x0 // Read: Disabled | |
RTC_INTENCLR_TICK_Enabled = 0x1 // Read: Enabled | |
RTC_INTENCLR_TICK_Clear = 0x1 // Disable | |
RTC_INTENCLR_OVRFLW_Pos = 0x1 // Position of OVRFLW field. | |
RTC_INTENCLR_OVRFLW_Msk = 0x2 // Bit mask of OVRFLW field. | |
RTC_INTENCLR_OVRFLW = 0x2 // Bit OVRFLW. | |
RTC_INTENCLR_OVRFLW_Disabled = 0x0 // Read: Disabled | |
RTC_INTENCLR_OVRFLW_Enabled = 0x1 // Read: Enabled | |
RTC_INTENCLR_OVRFLW_Clear = 0x1 // Disable | |
RTC_INTENCLR_COMPARE0_Pos = 0x10 // Position of COMPARE0 field. | |
RTC_INTENCLR_COMPARE0_Msk = 0x10000 // Bit mask of COMPARE0 field. | |
RTC_INTENCLR_COMPARE0 = 0x10000 // Bit COMPARE0. | |
RTC_INTENCLR_COMPARE0_Disabled = 0x0 // Read: Disabled | |
RTC_INTENCLR_COMPARE0_Enabled = 0x1 // Read: Enabled | |
RTC_INTENCLR_COMPARE0_Clear = 0x1 // Disable | |
RTC_INTENCLR_COMPARE1_Pos = 0x11 // Position of COMPARE1 field. | |
RTC_INTENCLR_COMPARE1_Msk = 0x20000 // Bit mask of COMPARE1 field. | |
RTC_INTENCLR_COMPARE1 = 0x20000 // Bit COMPARE1. | |
RTC_INTENCLR_COMPARE1_Disabled = 0x0 // Read: Disabled | |
RTC_INTENCLR_COMPARE1_Enabled = 0x1 // Read: Enabled | |
RTC_INTENCLR_COMPARE1_Clear = 0x1 // Disable | |
RTC_INTENCLR_COMPARE2_Pos = 0x12 // Position of COMPARE2 field. | |
RTC_INTENCLR_COMPARE2_Msk = 0x40000 // Bit mask of COMPARE2 field. | |
RTC_INTENCLR_COMPARE2 = 0x40000 // Bit COMPARE2. | |
RTC_INTENCLR_COMPARE2_Disabled = 0x0 // Read: Disabled | |
RTC_INTENCLR_COMPARE2_Enabled = 0x1 // Read: Enabled | |
RTC_INTENCLR_COMPARE2_Clear = 0x1 // Disable | |
RTC_INTENCLR_COMPARE3_Pos = 0x13 // Position of COMPARE3 field. | |
RTC_INTENCLR_COMPARE3_Msk = 0x80000 // Bit mask of COMPARE3 field. | |
RTC_INTENCLR_COMPARE3 = 0x80000 // Bit COMPARE3. | |
RTC_INTENCLR_COMPARE3_Disabled = 0x0 // Read: Disabled | |
RTC_INTENCLR_COMPARE3_Enabled = 0x1 // Read: Enabled | |
RTC_INTENCLR_COMPARE3_Clear = 0x1 // Disable | |
// EVTEN: Enable or disable event routing | |
RTC_EVTEN_TICK_Pos = 0x0 // Position of TICK field. | |
RTC_EVTEN_TICK_Msk = 0x1 // Bit mask of TICK field. | |
RTC_EVTEN_TICK = 0x1 // Bit TICK. | |
RTC_EVTEN_TICK_Disabled = 0x0 // Disable | |
RTC_EVTEN_TICK_Enabled = 0x1 // Enable | |
RTC_EVTEN_OVRFLW_Pos = 0x1 // Position of OVRFLW field. | |
RTC_EVTEN_OVRFLW_Msk = 0x2 // Bit mask of OVRFLW field. | |
RTC_EVTEN_OVRFLW = 0x2 // Bit OVRFLW. | |
RTC_EVTEN_OVRFLW_Disabled = 0x0 // Disable | |
RTC_EVTEN_OVRFLW_Enabled = 0x1 // Enable | |
RTC_EVTEN_COMPARE0_Pos = 0x10 // Position of COMPARE0 field. | |
RTC_EVTEN_COMPARE0_Msk = 0x10000 // Bit mask of COMPARE0 field. | |
RTC_EVTEN_COMPARE0 = 0x10000 // Bit COMPARE0. | |
RTC_EVTEN_COMPARE0_Disabled = 0x0 // Disable | |
RTC_EVTEN_COMPARE0_Enabled = 0x1 // Enable | |
RTC_EVTEN_COMPARE1_Pos = 0x11 // Position of COMPARE1 field. | |
RTC_EVTEN_COMPARE1_Msk = 0x20000 // Bit mask of COMPARE1 field. | |
RTC_EVTEN_COMPARE1 = 0x20000 // Bit COMPARE1. | |
RTC_EVTEN_COMPARE1_Disabled = 0x0 // Disable | |
RTC_EVTEN_COMPARE1_Enabled = 0x1 // Enable | |
RTC_EVTEN_COMPARE2_Pos = 0x12 // Position of COMPARE2 field. | |
RTC_EVTEN_COMPARE2_Msk = 0x40000 // Bit mask of COMPARE2 field. | |
RTC_EVTEN_COMPARE2 = 0x40000 // Bit COMPARE2. | |
RTC_EVTEN_COMPARE2_Disabled = 0x0 // Disable | |
RTC_EVTEN_COMPARE2_Enabled = 0x1 // Enable | |
RTC_EVTEN_COMPARE3_Pos = 0x13 // Position of COMPARE3 field. | |
RTC_EVTEN_COMPARE3_Msk = 0x80000 // Bit mask of COMPARE3 field. | |
RTC_EVTEN_COMPARE3 = 0x80000 // Bit COMPARE3. | |
RTC_EVTEN_COMPARE3_Disabled = 0x0 // Disable | |
RTC_EVTEN_COMPARE3_Enabled = 0x1 // Enable | |
// EVTENSET: Enable event routing | |
RTC_EVTENSET_TICK_Pos = 0x0 // Position of TICK field. | |
RTC_EVTENSET_TICK_Msk = 0x1 // Bit mask of TICK field. | |
RTC_EVTENSET_TICK = 0x1 // Bit TICK. | |
RTC_EVTENSET_TICK_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENSET_TICK_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENSET_TICK_Set = 0x1 // Enable | |
RTC_EVTENSET_OVRFLW_Pos = 0x1 // Position of OVRFLW field. | |
RTC_EVTENSET_OVRFLW_Msk = 0x2 // Bit mask of OVRFLW field. | |
RTC_EVTENSET_OVRFLW = 0x2 // Bit OVRFLW. | |
RTC_EVTENSET_OVRFLW_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENSET_OVRFLW_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENSET_OVRFLW_Set = 0x1 // Enable | |
RTC_EVTENSET_COMPARE0_Pos = 0x10 // Position of COMPARE0 field. | |
RTC_EVTENSET_COMPARE0_Msk = 0x10000 // Bit mask of COMPARE0 field. | |
RTC_EVTENSET_COMPARE0 = 0x10000 // Bit COMPARE0. | |
RTC_EVTENSET_COMPARE0_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENSET_COMPARE0_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENSET_COMPARE0_Set = 0x1 // Enable | |
RTC_EVTENSET_COMPARE1_Pos = 0x11 // Position of COMPARE1 field. | |
RTC_EVTENSET_COMPARE1_Msk = 0x20000 // Bit mask of COMPARE1 field. | |
RTC_EVTENSET_COMPARE1 = 0x20000 // Bit COMPARE1. | |
RTC_EVTENSET_COMPARE1_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENSET_COMPARE1_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENSET_COMPARE1_Set = 0x1 // Enable | |
RTC_EVTENSET_COMPARE2_Pos = 0x12 // Position of COMPARE2 field. | |
RTC_EVTENSET_COMPARE2_Msk = 0x40000 // Bit mask of COMPARE2 field. | |
RTC_EVTENSET_COMPARE2 = 0x40000 // Bit COMPARE2. | |
RTC_EVTENSET_COMPARE2_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENSET_COMPARE2_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENSET_COMPARE2_Set = 0x1 // Enable | |
RTC_EVTENSET_COMPARE3_Pos = 0x13 // Position of COMPARE3 field. | |
RTC_EVTENSET_COMPARE3_Msk = 0x80000 // Bit mask of COMPARE3 field. | |
RTC_EVTENSET_COMPARE3 = 0x80000 // Bit COMPARE3. | |
RTC_EVTENSET_COMPARE3_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENSET_COMPARE3_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENSET_COMPARE3_Set = 0x1 // Enable | |
// EVTENCLR: Disable event routing | |
RTC_EVTENCLR_TICK_Pos = 0x0 // Position of TICK field. | |
RTC_EVTENCLR_TICK_Msk = 0x1 // Bit mask of TICK field. | |
RTC_EVTENCLR_TICK = 0x1 // Bit TICK. | |
RTC_EVTENCLR_TICK_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENCLR_TICK_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENCLR_TICK_Clear = 0x1 // Disable | |
RTC_EVTENCLR_OVRFLW_Pos = 0x1 // Position of OVRFLW field. | |
RTC_EVTENCLR_OVRFLW_Msk = 0x2 // Bit mask of OVRFLW field. | |
RTC_EVTENCLR_OVRFLW = 0x2 // Bit OVRFLW. | |
RTC_EVTENCLR_OVRFLW_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENCLR_OVRFLW_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENCLR_OVRFLW_Clear = 0x1 // Disable | |
RTC_EVTENCLR_COMPARE0_Pos = 0x10 // Position of COMPARE0 field. | |
RTC_EVTENCLR_COMPARE0_Msk = 0x10000 // Bit mask of COMPARE0 field. | |
RTC_EVTENCLR_COMPARE0 = 0x10000 // Bit COMPARE0. | |
RTC_EVTENCLR_COMPARE0_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENCLR_COMPARE0_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENCLR_COMPARE0_Clear = 0x1 // Disable | |
RTC_EVTENCLR_COMPARE1_Pos = 0x11 // Position of COMPARE1 field. | |
RTC_EVTENCLR_COMPARE1_Msk = 0x20000 // Bit mask of COMPARE1 field. | |
RTC_EVTENCLR_COMPARE1 = 0x20000 // Bit COMPARE1. | |
RTC_EVTENCLR_COMPARE1_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENCLR_COMPARE1_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENCLR_COMPARE1_Clear = 0x1 // Disable | |
RTC_EVTENCLR_COMPARE2_Pos = 0x12 // Position of COMPARE2 field. | |
RTC_EVTENCLR_COMPARE2_Msk = 0x40000 // Bit mask of COMPARE2 field. | |
RTC_EVTENCLR_COMPARE2 = 0x40000 // Bit COMPARE2. | |
RTC_EVTENCLR_COMPARE2_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENCLR_COMPARE2_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENCLR_COMPARE2_Clear = 0x1 // Disable | |
RTC_EVTENCLR_COMPARE3_Pos = 0x13 // Position of COMPARE3 field. | |
RTC_EVTENCLR_COMPARE3_Msk = 0x80000 // Bit mask of COMPARE3 field. | |
RTC_EVTENCLR_COMPARE3 = 0x80000 // Bit COMPARE3. | |
RTC_EVTENCLR_COMPARE3_Disabled = 0x0 // Read: Disabled | |
RTC_EVTENCLR_COMPARE3_Enabled = 0x1 // Read: Enabled | |
RTC_EVTENCLR_COMPARE3_Clear = 0x1 // Disable | |
// COUNTER: Current COUNTER value | |
RTC_COUNTER_COUNTER_Pos = 0x0 // Position of COUNTER field. | |
RTC_COUNTER_COUNTER_Msk = 0xffffff // Bit mask of COUNTER field. | |
// PRESCALER: 12 bit prescaler for COUNTER frequency (32768/(PRESCALER+1)).Must be written when RTC is stopped | |
RTC_PRESCALER_PRESCALER_Pos = 0x0 // Position of PRESCALER field. | |
RTC_PRESCALER_PRESCALER_Msk = 0xfff // Bit mask of PRESCALER field. | |
// CC: Description collection[0]: Compare register 0 | |
RTC_CC_COMPARE_Pos = 0x0 // Position of COMPARE field. | |
RTC_CC_COMPARE_Msk = 0xffffff // Bit mask of COMPARE field. | |
) | |
// Bitfields for TEMP: Temperature Sensor | |
const ( | |
// INTENSET: Enable interrupt | |
TEMP_INTENSET_DATARDY_Pos = 0x0 // Position of DATARDY field. | |
TEMP_INTENSET_DATARDY_Msk = 0x1 // Bit mask of DATARDY field. | |
TEMP_INTENSET_DATARDY = 0x1 // Bit DATARDY. | |
TEMP_INTENSET_DATARDY_Disabled = 0x0 // Read: Disabled | |
TEMP_INTENSET_DATARDY_Enabled = 0x1 // Read: Enabled | |
TEMP_INTENSET_DATARDY_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
TEMP_INTENCLR_DATARDY_Pos = 0x0 // Position of DATARDY field. | |
TEMP_INTENCLR_DATARDY_Msk = 0x1 // Bit mask of DATARDY field. | |
TEMP_INTENCLR_DATARDY = 0x1 // Bit DATARDY. | |
TEMP_INTENCLR_DATARDY_Disabled = 0x0 // Read: Disabled | |
TEMP_INTENCLR_DATARDY_Enabled = 0x1 // Read: Enabled | |
TEMP_INTENCLR_DATARDY_Clear = 0x1 // Disable | |
// TEMP: Temperature in degC (0.25deg steps) | |
TEMP_TEMP_TEMP_Pos = 0x0 // Position of TEMP field. | |
TEMP_TEMP_TEMP_Msk = 0xffffffff // Bit mask of TEMP field. | |
// A0: Slope of 1st piece wise linear function | |
TEMP_A0_A0_Pos = 0x0 // Position of A0 field. | |
TEMP_A0_A0_Msk = 0xfff // Bit mask of A0 field. | |
// A1: Slope of 2nd piece wise linear function | |
TEMP_A1_A1_Pos = 0x0 // Position of A1 field. | |
TEMP_A1_A1_Msk = 0xfff // Bit mask of A1 field. | |
// A2: Slope of 3rd piece wise linear function | |
TEMP_A2_A2_Pos = 0x0 // Position of A2 field. | |
TEMP_A2_A2_Msk = 0xfff // Bit mask of A2 field. | |
// A3: Slope of 4th piece wise linear function | |
TEMP_A3_A3_Pos = 0x0 // Position of A3 field. | |
TEMP_A3_A3_Msk = 0xfff // Bit mask of A3 field. | |
// A4: Slope of 5th piece wise linear function | |
TEMP_A4_A4_Pos = 0x0 // Position of A4 field. | |
TEMP_A4_A4_Msk = 0xfff // Bit mask of A4 field. | |
// A5: Slope of 6th piece wise linear function | |
TEMP_A5_A5_Pos = 0x0 // Position of A5 field. | |
TEMP_A5_A5_Msk = 0xfff // Bit mask of A5 field. | |
// B0: y-intercept of 1st piece wise linear function | |
TEMP_B0_B0_Pos = 0x0 // Position of B0 field. | |
TEMP_B0_B0_Msk = 0x3fff // Bit mask of B0 field. | |
// B1: y-intercept of 2nd piece wise linear function | |
TEMP_B1_B1_Pos = 0x0 // Position of B1 field. | |
TEMP_B1_B1_Msk = 0x3fff // Bit mask of B1 field. | |
// B2: y-intercept of 3rd piece wise linear function | |
TEMP_B2_B2_Pos = 0x0 // Position of B2 field. | |
TEMP_B2_B2_Msk = 0x3fff // Bit mask of B2 field. | |
// B3: y-intercept of 4th piece wise linear function | |
TEMP_B3_B3_Pos = 0x0 // Position of B3 field. | |
TEMP_B3_B3_Msk = 0x3fff // Bit mask of B3 field. | |
// B4: y-intercept of 5th piece wise linear function | |
TEMP_B4_B4_Pos = 0x0 // Position of B4 field. | |
TEMP_B4_B4_Msk = 0x3fff // Bit mask of B4 field. | |
// B5: y-intercept of 6th piece wise linear function | |
TEMP_B5_B5_Pos = 0x0 // Position of B5 field. | |
TEMP_B5_B5_Msk = 0x3fff // Bit mask of B5 field. | |
// T0: End point of 1st piece wise linear function | |
TEMP_T0_T0_Pos = 0x0 // Position of T0 field. | |
TEMP_T0_T0_Msk = 0xff // Bit mask of T0 field. | |
// T1: End point of 2nd piece wise linear function | |
TEMP_T1_T1_Pos = 0x0 // Position of T1 field. | |
TEMP_T1_T1_Msk = 0xff // Bit mask of T1 field. | |
// T2: End point of 3rd piece wise linear function | |
TEMP_T2_T2_Pos = 0x0 // Position of T2 field. | |
TEMP_T2_T2_Msk = 0xff // Bit mask of T2 field. | |
// T3: End point of 4th piece wise linear function | |
TEMP_T3_T3_Pos = 0x0 // Position of T3 field. | |
TEMP_T3_T3_Msk = 0xff // Bit mask of T3 field. | |
// T4: End point of 5th piece wise linear function | |
TEMP_T4_T4_Pos = 0x0 // Position of T4 field. | |
TEMP_T4_T4_Msk = 0xff // Bit mask of T4 field. | |
) | |
// Bitfields for RNG: Random Number Generator | |
const ( | |
// SHORTS: Shortcut register | |
RNG_SHORTS_VALRDY_STOP_Pos = 0x0 // Position of VALRDY_STOP field. | |
RNG_SHORTS_VALRDY_STOP_Msk = 0x1 // Bit mask of VALRDY_STOP field. | |
RNG_SHORTS_VALRDY_STOP = 0x1 // Bit VALRDY_STOP. | |
RNG_SHORTS_VALRDY_STOP_Disabled = 0x0 // Disable shortcut | |
RNG_SHORTS_VALRDY_STOP_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
RNG_INTENSET_VALRDY_Pos = 0x0 // Position of VALRDY field. | |
RNG_INTENSET_VALRDY_Msk = 0x1 // Bit mask of VALRDY field. | |
RNG_INTENSET_VALRDY = 0x1 // Bit VALRDY. | |
RNG_INTENSET_VALRDY_Disabled = 0x0 // Read: Disabled | |
RNG_INTENSET_VALRDY_Enabled = 0x1 // Read: Enabled | |
RNG_INTENSET_VALRDY_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
RNG_INTENCLR_VALRDY_Pos = 0x0 // Position of VALRDY field. | |
RNG_INTENCLR_VALRDY_Msk = 0x1 // Bit mask of VALRDY field. | |
RNG_INTENCLR_VALRDY = 0x1 // Bit VALRDY. | |
RNG_INTENCLR_VALRDY_Disabled = 0x0 // Read: Disabled | |
RNG_INTENCLR_VALRDY_Enabled = 0x1 // Read: Enabled | |
RNG_INTENCLR_VALRDY_Clear = 0x1 // Disable | |
// CONFIG: Configuration register | |
RNG_CONFIG_DERCEN_Pos = 0x0 // Position of DERCEN field. | |
RNG_CONFIG_DERCEN_Msk = 0x1 // Bit mask of DERCEN field. | |
RNG_CONFIG_DERCEN = 0x1 // Bit DERCEN. | |
RNG_CONFIG_DERCEN_Disabled = 0x0 // Disabled | |
RNG_CONFIG_DERCEN_Enabled = 0x1 // Enabled | |
// VALUE: Output random number | |
RNG_VALUE_VALUE_Pos = 0x0 // Position of VALUE field. | |
RNG_VALUE_VALUE_Msk = 0xff // Bit mask of VALUE field. | |
) | |
// Bitfields for ECB: AES ECB Mode Encryption | |
const ( | |
// INTENSET: Enable interrupt | |
ECB_INTENSET_ENDECB_Pos = 0x0 // Position of ENDECB field. | |
ECB_INTENSET_ENDECB_Msk = 0x1 // Bit mask of ENDECB field. | |
ECB_INTENSET_ENDECB = 0x1 // Bit ENDECB. | |
ECB_INTENSET_ENDECB_Disabled = 0x0 // Read: Disabled | |
ECB_INTENSET_ENDECB_Enabled = 0x1 // Read: Enabled | |
ECB_INTENSET_ENDECB_Set = 0x1 // Enable | |
ECB_INTENSET_ERRORECB_Pos = 0x1 // Position of ERRORECB field. | |
ECB_INTENSET_ERRORECB_Msk = 0x2 // Bit mask of ERRORECB field. | |
ECB_INTENSET_ERRORECB = 0x2 // Bit ERRORECB. | |
ECB_INTENSET_ERRORECB_Disabled = 0x0 // Read: Disabled | |
ECB_INTENSET_ERRORECB_Enabled = 0x1 // Read: Enabled | |
ECB_INTENSET_ERRORECB_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
ECB_INTENCLR_ENDECB_Pos = 0x0 // Position of ENDECB field. | |
ECB_INTENCLR_ENDECB_Msk = 0x1 // Bit mask of ENDECB field. | |
ECB_INTENCLR_ENDECB = 0x1 // Bit ENDECB. | |
ECB_INTENCLR_ENDECB_Disabled = 0x0 // Read: Disabled | |
ECB_INTENCLR_ENDECB_Enabled = 0x1 // Read: Enabled | |
ECB_INTENCLR_ENDECB_Clear = 0x1 // Disable | |
ECB_INTENCLR_ERRORECB_Pos = 0x1 // Position of ERRORECB field. | |
ECB_INTENCLR_ERRORECB_Msk = 0x2 // Bit mask of ERRORECB field. | |
ECB_INTENCLR_ERRORECB = 0x2 // Bit ERRORECB. | |
ECB_INTENCLR_ERRORECB_Disabled = 0x0 // Read: Disabled | |
ECB_INTENCLR_ERRORECB_Enabled = 0x1 // Read: Enabled | |
ECB_INTENCLR_ERRORECB_Clear = 0x1 // Disable | |
// ECBDATAPTR: ECB block encrypt memory pointers | |
ECB_ECBDATAPTR_ECBDATAPTR_Pos = 0x0 // Position of ECBDATAPTR field. | |
ECB_ECBDATAPTR_ECBDATAPTR_Msk = 0xffffffff // Bit mask of ECBDATAPTR field. | |
) | |
// Bitfields for CCM: AES CCM Mode Encryption | |
const ( | |
// SHORTS: Shortcut register | |
CCM_SHORTS_ENDKSGEN_CRYPT_Pos = 0x0 // Position of ENDKSGEN_CRYPT field. | |
CCM_SHORTS_ENDKSGEN_CRYPT_Msk = 0x1 // Bit mask of ENDKSGEN_CRYPT field. | |
CCM_SHORTS_ENDKSGEN_CRYPT = 0x1 // Bit ENDKSGEN_CRYPT. | |
CCM_SHORTS_ENDKSGEN_CRYPT_Disabled = 0x0 // Disable shortcut | |
CCM_SHORTS_ENDKSGEN_CRYPT_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
CCM_INTENSET_ENDKSGEN_Pos = 0x0 // Position of ENDKSGEN field. | |
CCM_INTENSET_ENDKSGEN_Msk = 0x1 // Bit mask of ENDKSGEN field. | |
CCM_INTENSET_ENDKSGEN = 0x1 // Bit ENDKSGEN. | |
CCM_INTENSET_ENDKSGEN_Disabled = 0x0 // Read: Disabled | |
CCM_INTENSET_ENDKSGEN_Enabled = 0x1 // Read: Enabled | |
CCM_INTENSET_ENDKSGEN_Set = 0x1 // Enable | |
CCM_INTENSET_ENDCRYPT_Pos = 0x1 // Position of ENDCRYPT field. | |
CCM_INTENSET_ENDCRYPT_Msk = 0x2 // Bit mask of ENDCRYPT field. | |
CCM_INTENSET_ENDCRYPT = 0x2 // Bit ENDCRYPT. | |
CCM_INTENSET_ENDCRYPT_Disabled = 0x0 // Read: Disabled | |
CCM_INTENSET_ENDCRYPT_Enabled = 0x1 // Read: Enabled | |
CCM_INTENSET_ENDCRYPT_Set = 0x1 // Enable | |
CCM_INTENSET_ERROR_Pos = 0x2 // Position of ERROR field. | |
CCM_INTENSET_ERROR_Msk = 0x4 // Bit mask of ERROR field. | |
CCM_INTENSET_ERROR = 0x4 // Bit ERROR. | |
CCM_INTENSET_ERROR_Disabled = 0x0 // Read: Disabled | |
CCM_INTENSET_ERROR_Enabled = 0x1 // Read: Enabled | |
CCM_INTENSET_ERROR_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
CCM_INTENCLR_ENDKSGEN_Pos = 0x0 // Position of ENDKSGEN field. | |
CCM_INTENCLR_ENDKSGEN_Msk = 0x1 // Bit mask of ENDKSGEN field. | |
CCM_INTENCLR_ENDKSGEN = 0x1 // Bit ENDKSGEN. | |
CCM_INTENCLR_ENDKSGEN_Disabled = 0x0 // Read: Disabled | |
CCM_INTENCLR_ENDKSGEN_Enabled = 0x1 // Read: Enabled | |
CCM_INTENCLR_ENDKSGEN_Clear = 0x1 // Disable | |
CCM_INTENCLR_ENDCRYPT_Pos = 0x1 // Position of ENDCRYPT field. | |
CCM_INTENCLR_ENDCRYPT_Msk = 0x2 // Bit mask of ENDCRYPT field. | |
CCM_INTENCLR_ENDCRYPT = 0x2 // Bit ENDCRYPT. | |
CCM_INTENCLR_ENDCRYPT_Disabled = 0x0 // Read: Disabled | |
CCM_INTENCLR_ENDCRYPT_Enabled = 0x1 // Read: Enabled | |
CCM_INTENCLR_ENDCRYPT_Clear = 0x1 // Disable | |
CCM_INTENCLR_ERROR_Pos = 0x2 // Position of ERROR field. | |
CCM_INTENCLR_ERROR_Msk = 0x4 // Bit mask of ERROR field. | |
CCM_INTENCLR_ERROR = 0x4 // Bit ERROR. | |
CCM_INTENCLR_ERROR_Disabled = 0x0 // Read: Disabled | |
CCM_INTENCLR_ERROR_Enabled = 0x1 // Read: Enabled | |
CCM_INTENCLR_ERROR_Clear = 0x1 // Disable | |
// MICSTATUS: MIC check result | |
CCM_MICSTATUS_MICSTATUS_Pos = 0x0 // Position of MICSTATUS field. | |
CCM_MICSTATUS_MICSTATUS_Msk = 0x1 // Bit mask of MICSTATUS field. | |
CCM_MICSTATUS_MICSTATUS = 0x1 // Bit MICSTATUS. | |
CCM_MICSTATUS_MICSTATUS_CheckFailed = 0x0 // MIC check failed | |
CCM_MICSTATUS_MICSTATUS_CheckPassed = 0x1 // MIC check passed | |
// ENABLE: Enable | |
CCM_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
CCM_ENABLE_ENABLE_Msk = 0x3 // Bit mask of ENABLE field. | |
CCM_ENABLE_ENABLE_Disabled = 0x0 // Disable | |
CCM_ENABLE_ENABLE_Enabled = 0x2 // Enable | |
// MODE: Operation mode | |
CCM_MODE_MODE_Pos = 0x0 // Position of MODE field. | |
CCM_MODE_MODE_Msk = 0x1 // Bit mask of MODE field. | |
CCM_MODE_MODE = 0x1 // Bit MODE. | |
CCM_MODE_MODE_Encryption = 0x0 // AES CCM packet encryption mode | |
CCM_MODE_MODE_Decryption = 0x1 // AES CCM packet decryption mode | |
CCM_MODE_DATARATE_Pos = 0x10 // Position of DATARATE field. | |
CCM_MODE_DATARATE_Msk = 0x10000 // Bit mask of DATARATE field. | |
CCM_MODE_DATARATE = 0x10000 // Bit DATARATE. | |
CCM_MODE_DATARATE_1Mbit = 0x0 // In synch with 1 Mbit data rate | |
CCM_MODE_DATARATE_2Mbit = 0x1 // In synch with 2 Mbit data rate | |
CCM_MODE_LENGTH_Pos = 0x18 // Position of LENGTH field. | |
CCM_MODE_LENGTH_Msk = 0x1000000 // Bit mask of LENGTH field. | |
CCM_MODE_LENGTH = 0x1000000 // Bit LENGTH. | |
CCM_MODE_LENGTH_Default = 0x0 // Default length. Effective length of LENGTH field is 5-bit | |
CCM_MODE_LENGTH_Extended = 0x1 // Extended length. Effective length of LENGTH field is 8-bit | |
// CNFPTR: Pointer to data structure holding AES key and NONCE vector | |
CCM_CNFPTR_CNFPTR_Pos = 0x0 // Position of CNFPTR field. | |
CCM_CNFPTR_CNFPTR_Msk = 0xffffffff // Bit mask of CNFPTR field. | |
// INPTR: Input pointer | |
CCM_INPTR_INPTR_Pos = 0x0 // Position of INPTR field. | |
CCM_INPTR_INPTR_Msk = 0xffffffff // Bit mask of INPTR field. | |
// OUTPTR: Output pointer | |
CCM_OUTPTR_OUTPTR_Pos = 0x0 // Position of OUTPTR field. | |
CCM_OUTPTR_OUTPTR_Msk = 0xffffffff // Bit mask of OUTPTR field. | |
// SCRATCHPTR: Pointer to data area used for temporary storage | |
CCM_SCRATCHPTR_SCRATCHPTR_Pos = 0x0 // Position of SCRATCHPTR field. | |
CCM_SCRATCHPTR_SCRATCHPTR_Msk = 0xffffffff // Bit mask of SCRATCHPTR field. | |
) | |
// Bitfields for AAR: Accelerated Address Resolver | |
const ( | |
// INTENSET: Enable interrupt | |
AAR_INTENSET_END_Pos = 0x0 // Position of END field. | |
AAR_INTENSET_END_Msk = 0x1 // Bit mask of END field. | |
AAR_INTENSET_END = 0x1 // Bit END. | |
AAR_INTENSET_END_Disabled = 0x0 // Read: Disabled | |
AAR_INTENSET_END_Enabled = 0x1 // Read: Enabled | |
AAR_INTENSET_END_Set = 0x1 // Enable | |
AAR_INTENSET_RESOLVED_Pos = 0x1 // Position of RESOLVED field. | |
AAR_INTENSET_RESOLVED_Msk = 0x2 // Bit mask of RESOLVED field. | |
AAR_INTENSET_RESOLVED = 0x2 // Bit RESOLVED. | |
AAR_INTENSET_RESOLVED_Disabled = 0x0 // Read: Disabled | |
AAR_INTENSET_RESOLVED_Enabled = 0x1 // Read: Enabled | |
AAR_INTENSET_RESOLVED_Set = 0x1 // Enable | |
AAR_INTENSET_NOTRESOLVED_Pos = 0x2 // Position of NOTRESOLVED field. | |
AAR_INTENSET_NOTRESOLVED_Msk = 0x4 // Bit mask of NOTRESOLVED field. | |
AAR_INTENSET_NOTRESOLVED = 0x4 // Bit NOTRESOLVED. | |
AAR_INTENSET_NOTRESOLVED_Disabled = 0x0 // Read: Disabled | |
AAR_INTENSET_NOTRESOLVED_Enabled = 0x1 // Read: Enabled | |
AAR_INTENSET_NOTRESOLVED_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
AAR_INTENCLR_END_Pos = 0x0 // Position of END field. | |
AAR_INTENCLR_END_Msk = 0x1 // Bit mask of END field. | |
AAR_INTENCLR_END = 0x1 // Bit END. | |
AAR_INTENCLR_END_Disabled = 0x0 // Read: Disabled | |
AAR_INTENCLR_END_Enabled = 0x1 // Read: Enabled | |
AAR_INTENCLR_END_Clear = 0x1 // Disable | |
AAR_INTENCLR_RESOLVED_Pos = 0x1 // Position of RESOLVED field. | |
AAR_INTENCLR_RESOLVED_Msk = 0x2 // Bit mask of RESOLVED field. | |
AAR_INTENCLR_RESOLVED = 0x2 // Bit RESOLVED. | |
AAR_INTENCLR_RESOLVED_Disabled = 0x0 // Read: Disabled | |
AAR_INTENCLR_RESOLVED_Enabled = 0x1 // Read: Enabled | |
AAR_INTENCLR_RESOLVED_Clear = 0x1 // Disable | |
AAR_INTENCLR_NOTRESOLVED_Pos = 0x2 // Position of NOTRESOLVED field. | |
AAR_INTENCLR_NOTRESOLVED_Msk = 0x4 // Bit mask of NOTRESOLVED field. | |
AAR_INTENCLR_NOTRESOLVED = 0x4 // Bit NOTRESOLVED. | |
AAR_INTENCLR_NOTRESOLVED_Disabled = 0x0 // Read: Disabled | |
AAR_INTENCLR_NOTRESOLVED_Enabled = 0x1 // Read: Enabled | |
AAR_INTENCLR_NOTRESOLVED_Clear = 0x1 // Disable | |
// STATUS: Resolution status | |
AAR_STATUS_STATUS_Pos = 0x0 // Position of STATUS field. | |
AAR_STATUS_STATUS_Msk = 0xf // Bit mask of STATUS field. | |
// ENABLE: Enable AAR | |
AAR_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
AAR_ENABLE_ENABLE_Msk = 0x3 // Bit mask of ENABLE field. | |
AAR_ENABLE_ENABLE_Disabled = 0x0 // Disable | |
AAR_ENABLE_ENABLE_Enabled = 0x3 // Enable | |
// NIRK: Number of IRKs | |
AAR_NIRK_NIRK_Pos = 0x0 // Position of NIRK field. | |
AAR_NIRK_NIRK_Msk = 0x1f // Bit mask of NIRK field. | |
// IRKPTR: Pointer to IRK data structure | |
AAR_IRKPTR_IRKPTR_Pos = 0x0 // Position of IRKPTR field. | |
AAR_IRKPTR_IRKPTR_Msk = 0xffffffff // Bit mask of IRKPTR field. | |
// ADDRPTR: Pointer to the resolvable address | |
AAR_ADDRPTR_ADDRPTR_Pos = 0x0 // Position of ADDRPTR field. | |
AAR_ADDRPTR_ADDRPTR_Msk = 0xffffffff // Bit mask of ADDRPTR field. | |
// SCRATCHPTR: Pointer to data area used for temporary storage | |
AAR_SCRATCHPTR_SCRATCHPTR_Pos = 0x0 // Position of SCRATCHPTR field. | |
AAR_SCRATCHPTR_SCRATCHPTR_Msk = 0xffffffff // Bit mask of SCRATCHPTR field. | |
) | |
// Bitfields for WDT: Watchdog Timer | |
const ( | |
// INTENSET: Enable interrupt | |
WDT_INTENSET_TIMEOUT_Pos = 0x0 // Position of TIMEOUT field. | |
WDT_INTENSET_TIMEOUT_Msk = 0x1 // Bit mask of TIMEOUT field. | |
WDT_INTENSET_TIMEOUT = 0x1 // Bit TIMEOUT. | |
WDT_INTENSET_TIMEOUT_Disabled = 0x0 // Read: Disabled | |
WDT_INTENSET_TIMEOUT_Enabled = 0x1 // Read: Enabled | |
WDT_INTENSET_TIMEOUT_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
WDT_INTENCLR_TIMEOUT_Pos = 0x0 // Position of TIMEOUT field. | |
WDT_INTENCLR_TIMEOUT_Msk = 0x1 // Bit mask of TIMEOUT field. | |
WDT_INTENCLR_TIMEOUT = 0x1 // Bit TIMEOUT. | |
WDT_INTENCLR_TIMEOUT_Disabled = 0x0 // Read: Disabled | |
WDT_INTENCLR_TIMEOUT_Enabled = 0x1 // Read: Enabled | |
WDT_INTENCLR_TIMEOUT_Clear = 0x1 // Disable | |
// RUNSTATUS: Run status | |
WDT_RUNSTATUS_RUNSTATUS_Pos = 0x0 // Position of RUNSTATUS field. | |
WDT_RUNSTATUS_RUNSTATUS_Msk = 0x1 // Bit mask of RUNSTATUS field. | |
WDT_RUNSTATUS_RUNSTATUS = 0x1 // Bit RUNSTATUS. | |
WDT_RUNSTATUS_RUNSTATUS_NotRunning = 0x0 // Watchdog not running | |
WDT_RUNSTATUS_RUNSTATUS_Running = 0x1 // Watchdog is running | |
// REQSTATUS: Request status | |
WDT_REQSTATUS_RR0_Pos = 0x0 // Position of RR0 field. | |
WDT_REQSTATUS_RR0_Msk = 0x1 // Bit mask of RR0 field. | |
WDT_REQSTATUS_RR0 = 0x1 // Bit RR0. | |
WDT_REQSTATUS_RR0_DisabledOrRequested = 0x0 // RR[0] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR0_EnabledAndUnrequested = 0x1 // RR[0] register is enabled, and are not yet requesting reload | |
WDT_REQSTATUS_RR1_Pos = 0x1 // Position of RR1 field. | |
WDT_REQSTATUS_RR1_Msk = 0x2 // Bit mask of RR1 field. | |
WDT_REQSTATUS_RR1 = 0x2 // Bit RR1. | |
WDT_REQSTATUS_RR1_DisabledOrRequested = 0x0 // RR[1] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR1_EnabledAndUnrequested = 0x1 // RR[1] register is enabled, and are not yet requesting reload | |
WDT_REQSTATUS_RR2_Pos = 0x2 // Position of RR2 field. | |
WDT_REQSTATUS_RR2_Msk = 0x4 // Bit mask of RR2 field. | |
WDT_REQSTATUS_RR2 = 0x4 // Bit RR2. | |
WDT_REQSTATUS_RR2_DisabledOrRequested = 0x0 // RR[2] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR2_EnabledAndUnrequested = 0x1 // RR[2] register is enabled, and are not yet requesting reload | |
WDT_REQSTATUS_RR3_Pos = 0x3 // Position of RR3 field. | |
WDT_REQSTATUS_RR3_Msk = 0x8 // Bit mask of RR3 field. | |
WDT_REQSTATUS_RR3 = 0x8 // Bit RR3. | |
WDT_REQSTATUS_RR3_DisabledOrRequested = 0x0 // RR[3] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR3_EnabledAndUnrequested = 0x1 // RR[3] register is enabled, and are not yet requesting reload | |
WDT_REQSTATUS_RR4_Pos = 0x4 // Position of RR4 field. | |
WDT_REQSTATUS_RR4_Msk = 0x10 // Bit mask of RR4 field. | |
WDT_REQSTATUS_RR4 = 0x10 // Bit RR4. | |
WDT_REQSTATUS_RR4_DisabledOrRequested = 0x0 // RR[4] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR4_EnabledAndUnrequested = 0x1 // RR[4] register is enabled, and are not yet requesting reload | |
WDT_REQSTATUS_RR5_Pos = 0x5 // Position of RR5 field. | |
WDT_REQSTATUS_RR5_Msk = 0x20 // Bit mask of RR5 field. | |
WDT_REQSTATUS_RR5 = 0x20 // Bit RR5. | |
WDT_REQSTATUS_RR5_DisabledOrRequested = 0x0 // RR[5] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR5_EnabledAndUnrequested = 0x1 // RR[5] register is enabled, and are not yet requesting reload | |
WDT_REQSTATUS_RR6_Pos = 0x6 // Position of RR6 field. | |
WDT_REQSTATUS_RR6_Msk = 0x40 // Bit mask of RR6 field. | |
WDT_REQSTATUS_RR6 = 0x40 // Bit RR6. | |
WDT_REQSTATUS_RR6_DisabledOrRequested = 0x0 // RR[6] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR6_EnabledAndUnrequested = 0x1 // RR[6] register is enabled, and are not yet requesting reload | |
WDT_REQSTATUS_RR7_Pos = 0x7 // Position of RR7 field. | |
WDT_REQSTATUS_RR7_Msk = 0x80 // Bit mask of RR7 field. | |
WDT_REQSTATUS_RR7 = 0x80 // Bit RR7. | |
WDT_REQSTATUS_RR7_DisabledOrRequested = 0x0 // RR[7] register is not enabled, or are already requesting reload | |
WDT_REQSTATUS_RR7_EnabledAndUnrequested = 0x1 // RR[7] register is enabled, and are not yet requesting reload | |
// CRV: Counter reload value | |
WDT_CRV_CRV_Pos = 0x0 // Position of CRV field. | |
WDT_CRV_CRV_Msk = 0xffffffff // Bit mask of CRV field. | |
// RREN: Enable register for reload request registers | |
WDT_RREN_RR0_Pos = 0x0 // Position of RR0 field. | |
WDT_RREN_RR0_Msk = 0x1 // Bit mask of RR0 field. | |
WDT_RREN_RR0 = 0x1 // Bit RR0. | |
WDT_RREN_RR0_Disabled = 0x0 // Disable RR[0] register | |
WDT_RREN_RR0_Enabled = 0x1 // Enable RR[0] register | |
WDT_RREN_RR1_Pos = 0x1 // Position of RR1 field. | |
WDT_RREN_RR1_Msk = 0x2 // Bit mask of RR1 field. | |
WDT_RREN_RR1 = 0x2 // Bit RR1. | |
WDT_RREN_RR1_Disabled = 0x0 // Disable RR[1] register | |
WDT_RREN_RR1_Enabled = 0x1 // Enable RR[1] register | |
WDT_RREN_RR2_Pos = 0x2 // Position of RR2 field. | |
WDT_RREN_RR2_Msk = 0x4 // Bit mask of RR2 field. | |
WDT_RREN_RR2 = 0x4 // Bit RR2. | |
WDT_RREN_RR2_Disabled = 0x0 // Disable RR[2] register | |
WDT_RREN_RR2_Enabled = 0x1 // Enable RR[2] register | |
WDT_RREN_RR3_Pos = 0x3 // Position of RR3 field. | |
WDT_RREN_RR3_Msk = 0x8 // Bit mask of RR3 field. | |
WDT_RREN_RR3 = 0x8 // Bit RR3. | |
WDT_RREN_RR3_Disabled = 0x0 // Disable RR[3] register | |
WDT_RREN_RR3_Enabled = 0x1 // Enable RR[3] register | |
WDT_RREN_RR4_Pos = 0x4 // Position of RR4 field. | |
WDT_RREN_RR4_Msk = 0x10 // Bit mask of RR4 field. | |
WDT_RREN_RR4 = 0x10 // Bit RR4. | |
WDT_RREN_RR4_Disabled = 0x0 // Disable RR[4] register | |
WDT_RREN_RR4_Enabled = 0x1 // Enable RR[4] register | |
WDT_RREN_RR5_Pos = 0x5 // Position of RR5 field. | |
WDT_RREN_RR5_Msk = 0x20 // Bit mask of RR5 field. | |
WDT_RREN_RR5 = 0x20 // Bit RR5. | |
WDT_RREN_RR5_Disabled = 0x0 // Disable RR[5] register | |
WDT_RREN_RR5_Enabled = 0x1 // Enable RR[5] register | |
WDT_RREN_RR6_Pos = 0x6 // Position of RR6 field. | |
WDT_RREN_RR6_Msk = 0x40 // Bit mask of RR6 field. | |
WDT_RREN_RR6 = 0x40 // Bit RR6. | |
WDT_RREN_RR6_Disabled = 0x0 // Disable RR[6] register | |
WDT_RREN_RR6_Enabled = 0x1 // Enable RR[6] register | |
WDT_RREN_RR7_Pos = 0x7 // Position of RR7 field. | |
WDT_RREN_RR7_Msk = 0x80 // Bit mask of RR7 field. | |
WDT_RREN_RR7 = 0x80 // Bit RR7. | |
WDT_RREN_RR7_Disabled = 0x0 // Disable RR[7] register | |
WDT_RREN_RR7_Enabled = 0x1 // Enable RR[7] register | |
// CONFIG: Configuration register | |
WDT_CONFIG_SLEEP_Pos = 0x0 // Position of SLEEP field. | |
WDT_CONFIG_SLEEP_Msk = 0x1 // Bit mask of SLEEP field. | |
WDT_CONFIG_SLEEP = 0x1 // Bit SLEEP. | |
WDT_CONFIG_SLEEP_Pause = 0x0 // Pause watchdog while the CPU is sleeping | |
WDT_CONFIG_SLEEP_Run = 0x1 // Keep the watchdog running while the CPU is sleeping | |
WDT_CONFIG_HALT_Pos = 0x3 // Position of HALT field. | |
WDT_CONFIG_HALT_Msk = 0x8 // Bit mask of HALT field. | |
WDT_CONFIG_HALT = 0x8 // Bit HALT. | |
WDT_CONFIG_HALT_Pause = 0x0 // Pause watchdog while the CPU is halted by the debugger | |
WDT_CONFIG_HALT_Run = 0x1 // Keep the watchdog running while the CPU is halted by the debugger | |
// RR: Description collection[0]: Reload request 0 | |
WDT_RR_RR_Pos = 0x0 // Position of RR field. | |
WDT_RR_RR_Msk = 0xffffffff // Bit mask of RR field. | |
WDT_RR_RR_Reload = 0x6e524635 // Value to request a reload of the watchdog timer | |
) | |
// Bitfields for QDEC: Quadrature Decoder | |
const ( | |
// SHORTS: Shortcut register | |
QDEC_SHORTS_REPORTRDY_READCLRACC_Pos = 0x0 // Position of REPORTRDY_READCLRACC field. | |
QDEC_SHORTS_REPORTRDY_READCLRACC_Msk = 0x1 // Bit mask of REPORTRDY_READCLRACC field. | |
QDEC_SHORTS_REPORTRDY_READCLRACC = 0x1 // Bit REPORTRDY_READCLRACC. | |
QDEC_SHORTS_REPORTRDY_READCLRACC_Disabled = 0x0 // Disable shortcut | |
QDEC_SHORTS_REPORTRDY_READCLRACC_Enabled = 0x1 // Enable shortcut | |
QDEC_SHORTS_SAMPLERDY_STOP_Pos = 0x1 // Position of SAMPLERDY_STOP field. | |
QDEC_SHORTS_SAMPLERDY_STOP_Msk = 0x2 // Bit mask of SAMPLERDY_STOP field. | |
QDEC_SHORTS_SAMPLERDY_STOP = 0x2 // Bit SAMPLERDY_STOP. | |
QDEC_SHORTS_SAMPLERDY_STOP_Disabled = 0x0 // Disable shortcut | |
QDEC_SHORTS_SAMPLERDY_STOP_Enabled = 0x1 // Enable shortcut | |
QDEC_SHORTS_REPORTRDY_RDCLRACC_Pos = 0x2 // Position of REPORTRDY_RDCLRACC field. | |
QDEC_SHORTS_REPORTRDY_RDCLRACC_Msk = 0x4 // Bit mask of REPORTRDY_RDCLRACC field. | |
QDEC_SHORTS_REPORTRDY_RDCLRACC = 0x4 // Bit REPORTRDY_RDCLRACC. | |
QDEC_SHORTS_REPORTRDY_RDCLRACC_Disabled = 0x0 // Disable shortcut | |
QDEC_SHORTS_REPORTRDY_RDCLRACC_Enabled = 0x1 // Enable shortcut | |
QDEC_SHORTS_REPORTRDY_STOP_Pos = 0x3 // Position of REPORTRDY_STOP field. | |
QDEC_SHORTS_REPORTRDY_STOP_Msk = 0x8 // Bit mask of REPORTRDY_STOP field. | |
QDEC_SHORTS_REPORTRDY_STOP = 0x8 // Bit REPORTRDY_STOP. | |
QDEC_SHORTS_REPORTRDY_STOP_Disabled = 0x0 // Disable shortcut | |
QDEC_SHORTS_REPORTRDY_STOP_Enabled = 0x1 // Enable shortcut | |
QDEC_SHORTS_DBLRDY_RDCLRDBL_Pos = 0x4 // Position of DBLRDY_RDCLRDBL field. | |
QDEC_SHORTS_DBLRDY_RDCLRDBL_Msk = 0x10 // Bit mask of DBLRDY_RDCLRDBL field. | |
QDEC_SHORTS_DBLRDY_RDCLRDBL = 0x10 // Bit DBLRDY_RDCLRDBL. | |
QDEC_SHORTS_DBLRDY_RDCLRDBL_Disabled = 0x0 // Disable shortcut | |
QDEC_SHORTS_DBLRDY_RDCLRDBL_Enabled = 0x1 // Enable shortcut | |
QDEC_SHORTS_DBLRDY_STOP_Pos = 0x5 // Position of DBLRDY_STOP field. | |
QDEC_SHORTS_DBLRDY_STOP_Msk = 0x20 // Bit mask of DBLRDY_STOP field. | |
QDEC_SHORTS_DBLRDY_STOP = 0x20 // Bit DBLRDY_STOP. | |
QDEC_SHORTS_DBLRDY_STOP_Disabled = 0x0 // Disable shortcut | |
QDEC_SHORTS_DBLRDY_STOP_Enabled = 0x1 // Enable shortcut | |
QDEC_SHORTS_SAMPLERDY_READCLRACC_Pos = 0x6 // Position of SAMPLERDY_READCLRACC field. | |
QDEC_SHORTS_SAMPLERDY_READCLRACC_Msk = 0x40 // Bit mask of SAMPLERDY_READCLRACC field. | |
QDEC_SHORTS_SAMPLERDY_READCLRACC = 0x40 // Bit SAMPLERDY_READCLRACC. | |
QDEC_SHORTS_SAMPLERDY_READCLRACC_Disabled = 0x0 // Disable shortcut | |
QDEC_SHORTS_SAMPLERDY_READCLRACC_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
QDEC_INTENSET_SAMPLERDY_Pos = 0x0 // Position of SAMPLERDY field. | |
QDEC_INTENSET_SAMPLERDY_Msk = 0x1 // Bit mask of SAMPLERDY field. | |
QDEC_INTENSET_SAMPLERDY = 0x1 // Bit SAMPLERDY. | |
QDEC_INTENSET_SAMPLERDY_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENSET_SAMPLERDY_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENSET_SAMPLERDY_Set = 0x1 // Enable | |
QDEC_INTENSET_REPORTRDY_Pos = 0x1 // Position of REPORTRDY field. | |
QDEC_INTENSET_REPORTRDY_Msk = 0x2 // Bit mask of REPORTRDY field. | |
QDEC_INTENSET_REPORTRDY = 0x2 // Bit REPORTRDY. | |
QDEC_INTENSET_REPORTRDY_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENSET_REPORTRDY_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENSET_REPORTRDY_Set = 0x1 // Enable | |
QDEC_INTENSET_ACCOF_Pos = 0x2 // Position of ACCOF field. | |
QDEC_INTENSET_ACCOF_Msk = 0x4 // Bit mask of ACCOF field. | |
QDEC_INTENSET_ACCOF = 0x4 // Bit ACCOF. | |
QDEC_INTENSET_ACCOF_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENSET_ACCOF_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENSET_ACCOF_Set = 0x1 // Enable | |
QDEC_INTENSET_DBLRDY_Pos = 0x3 // Position of DBLRDY field. | |
QDEC_INTENSET_DBLRDY_Msk = 0x8 // Bit mask of DBLRDY field. | |
QDEC_INTENSET_DBLRDY = 0x8 // Bit DBLRDY. | |
QDEC_INTENSET_DBLRDY_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENSET_DBLRDY_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENSET_DBLRDY_Set = 0x1 // Enable | |
QDEC_INTENSET_STOPPED_Pos = 0x4 // Position of STOPPED field. | |
QDEC_INTENSET_STOPPED_Msk = 0x10 // Bit mask of STOPPED field. | |
QDEC_INTENSET_STOPPED = 0x10 // Bit STOPPED. | |
QDEC_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENSET_STOPPED_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
QDEC_INTENCLR_SAMPLERDY_Pos = 0x0 // Position of SAMPLERDY field. | |
QDEC_INTENCLR_SAMPLERDY_Msk = 0x1 // Bit mask of SAMPLERDY field. | |
QDEC_INTENCLR_SAMPLERDY = 0x1 // Bit SAMPLERDY. | |
QDEC_INTENCLR_SAMPLERDY_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENCLR_SAMPLERDY_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENCLR_SAMPLERDY_Clear = 0x1 // Disable | |
QDEC_INTENCLR_REPORTRDY_Pos = 0x1 // Position of REPORTRDY field. | |
QDEC_INTENCLR_REPORTRDY_Msk = 0x2 // Bit mask of REPORTRDY field. | |
QDEC_INTENCLR_REPORTRDY = 0x2 // Bit REPORTRDY. | |
QDEC_INTENCLR_REPORTRDY_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENCLR_REPORTRDY_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENCLR_REPORTRDY_Clear = 0x1 // Disable | |
QDEC_INTENCLR_ACCOF_Pos = 0x2 // Position of ACCOF field. | |
QDEC_INTENCLR_ACCOF_Msk = 0x4 // Bit mask of ACCOF field. | |
QDEC_INTENCLR_ACCOF = 0x4 // Bit ACCOF. | |
QDEC_INTENCLR_ACCOF_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENCLR_ACCOF_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENCLR_ACCOF_Clear = 0x1 // Disable | |
QDEC_INTENCLR_DBLRDY_Pos = 0x3 // Position of DBLRDY field. | |
QDEC_INTENCLR_DBLRDY_Msk = 0x8 // Bit mask of DBLRDY field. | |
QDEC_INTENCLR_DBLRDY = 0x8 // Bit DBLRDY. | |
QDEC_INTENCLR_DBLRDY_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENCLR_DBLRDY_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENCLR_DBLRDY_Clear = 0x1 // Disable | |
QDEC_INTENCLR_STOPPED_Pos = 0x4 // Position of STOPPED field. | |
QDEC_INTENCLR_STOPPED_Msk = 0x10 // Bit mask of STOPPED field. | |
QDEC_INTENCLR_STOPPED = 0x10 // Bit STOPPED. | |
QDEC_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
QDEC_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
QDEC_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
// ENABLE: Enable the quadrature decoder | |
QDEC_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
QDEC_ENABLE_ENABLE_Msk = 0x1 // Bit mask of ENABLE field. | |
QDEC_ENABLE_ENABLE = 0x1 // Bit ENABLE. | |
QDEC_ENABLE_ENABLE_Disabled = 0x0 // Disable | |
QDEC_ENABLE_ENABLE_Enabled = 0x1 // Enable | |
// LEDPOL: LED output pin polarity | |
QDEC_LEDPOL_LEDPOL_Pos = 0x0 // Position of LEDPOL field. | |
QDEC_LEDPOL_LEDPOL_Msk = 0x1 // Bit mask of LEDPOL field. | |
QDEC_LEDPOL_LEDPOL = 0x1 // Bit LEDPOL. | |
QDEC_LEDPOL_LEDPOL_ActiveLow = 0x0 // Led active on output pin low | |
QDEC_LEDPOL_LEDPOL_ActiveHigh = 0x1 // Led active on output pin high | |
// SAMPLEPER: Sample period | |
QDEC_SAMPLEPER_SAMPLEPER_Pos = 0x0 // Position of SAMPLEPER field. | |
QDEC_SAMPLEPER_SAMPLEPER_Msk = 0xf // Bit mask of SAMPLEPER field. | |
QDEC_SAMPLEPER_SAMPLEPER_128us = 0x0 // 128 us | |
QDEC_SAMPLEPER_SAMPLEPER_256us = 0x1 // 256 us | |
QDEC_SAMPLEPER_SAMPLEPER_512us = 0x2 // 512 us | |
QDEC_SAMPLEPER_SAMPLEPER_1024us = 0x3 // 1024 us | |
QDEC_SAMPLEPER_SAMPLEPER_2048us = 0x4 // 2048 us | |
QDEC_SAMPLEPER_SAMPLEPER_4096us = 0x5 // 4096 us | |
QDEC_SAMPLEPER_SAMPLEPER_8192us = 0x6 // 8192 us | |
QDEC_SAMPLEPER_SAMPLEPER_16384us = 0x7 // 16384 us | |
QDEC_SAMPLEPER_SAMPLEPER_32ms = 0x8 // 32768 us | |
QDEC_SAMPLEPER_SAMPLEPER_65ms = 0x9 // 65536 us | |
QDEC_SAMPLEPER_SAMPLEPER_131ms = 0xa // 131072 us | |
// SAMPLE: Motion sample value | |
QDEC_SAMPLE_SAMPLE_Pos = 0x0 // Position of SAMPLE field. | |
QDEC_SAMPLE_SAMPLE_Msk = 0xffffffff // Bit mask of SAMPLE field. | |
// REPORTPER: Number of samples to be taken before REPORTRDY and DBLRDY events can be generated | |
QDEC_REPORTPER_REPORTPER_Pos = 0x0 // Position of REPORTPER field. | |
QDEC_REPORTPER_REPORTPER_Msk = 0xf // Bit mask of REPORTPER field. | |
QDEC_REPORTPER_REPORTPER_10Smpl = 0x0 // 10 samples / report | |
QDEC_REPORTPER_REPORTPER_40Smpl = 0x1 // 40 samples / report | |
QDEC_REPORTPER_REPORTPER_80Smpl = 0x2 // 80 samples / report | |
QDEC_REPORTPER_REPORTPER_120Smpl = 0x3 // 120 samples / report | |
QDEC_REPORTPER_REPORTPER_160Smpl = 0x4 // 160 samples / report | |
QDEC_REPORTPER_REPORTPER_200Smpl = 0x5 // 200 samples / report | |
QDEC_REPORTPER_REPORTPER_240Smpl = 0x6 // 240 samples / report | |
QDEC_REPORTPER_REPORTPER_280Smpl = 0x7 // 280 samples / report | |
QDEC_REPORTPER_REPORTPER_1Smpl = 0x8 // 1 sample / report | |
// ACC: Register accumulating the valid transitions | |
QDEC_ACC_ACC_Pos = 0x0 // Position of ACC field. | |
QDEC_ACC_ACC_Msk = 0xffffffff // Bit mask of ACC field. | |
// ACCREAD: Snapshot of the ACC register, updated by the READCLRACC or RDCLRACC task | |
QDEC_ACCREAD_ACCREAD_Pos = 0x0 // Position of ACCREAD field. | |
QDEC_ACCREAD_ACCREAD_Msk = 0xffffffff // Bit mask of ACCREAD field. | |
// PSEL.LED: Pin select for LED signal | |
QDEC_PSEL_LED_PIN_Pos = 0x0 // Position of PIN field. | |
QDEC_PSEL_LED_PIN_Msk = 0x1f // Bit mask of PIN field. | |
QDEC_PSEL_LED_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
QDEC_PSEL_LED_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
QDEC_PSEL_LED_CONNECT = 0x80000000 // Bit CONNECT. | |
QDEC_PSEL_LED_CONNECT_Disconnected = 0x1 // Disconnect | |
QDEC_PSEL_LED_CONNECT_Connected = 0x0 // Connect | |
// PSEL.A: Pin select for A signal | |
QDEC_PSEL_A_PIN_Pos = 0x0 // Position of PIN field. | |
QDEC_PSEL_A_PIN_Msk = 0x1f // Bit mask of PIN field. | |
QDEC_PSEL_A_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
QDEC_PSEL_A_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
QDEC_PSEL_A_CONNECT = 0x80000000 // Bit CONNECT. | |
QDEC_PSEL_A_CONNECT_Disconnected = 0x1 // Disconnect | |
QDEC_PSEL_A_CONNECT_Connected = 0x0 // Connect | |
// PSEL.B: Pin select for B signal | |
QDEC_PSEL_B_PIN_Pos = 0x0 // Position of PIN field. | |
QDEC_PSEL_B_PIN_Msk = 0x1f // Bit mask of PIN field. | |
QDEC_PSEL_B_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
QDEC_PSEL_B_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
QDEC_PSEL_B_CONNECT = 0x80000000 // Bit CONNECT. | |
QDEC_PSEL_B_CONNECT_Disconnected = 0x1 // Disconnect | |
QDEC_PSEL_B_CONNECT_Connected = 0x0 // Connect | |
// DBFEN: Enable input debounce filters | |
QDEC_DBFEN_DBFEN_Pos = 0x0 // Position of DBFEN field. | |
QDEC_DBFEN_DBFEN_Msk = 0x1 // Bit mask of DBFEN field. | |
QDEC_DBFEN_DBFEN = 0x1 // Bit DBFEN. | |
QDEC_DBFEN_DBFEN_Disabled = 0x0 // Debounce input filters disabled | |
QDEC_DBFEN_DBFEN_Enabled = 0x1 // Debounce input filters enabled | |
// LEDPRE: Time period the LED is switched ON prior to sampling | |
QDEC_LEDPRE_LEDPRE_Pos = 0x0 // Position of LEDPRE field. | |
QDEC_LEDPRE_LEDPRE_Msk = 0x1ff // Bit mask of LEDPRE field. | |
// ACCDBL: Register accumulating the number of detected double transitions | |
QDEC_ACCDBL_ACCDBL_Pos = 0x0 // Position of ACCDBL field. | |
QDEC_ACCDBL_ACCDBL_Msk = 0xf // Bit mask of ACCDBL field. | |
// ACCDBLREAD: Snapshot of the ACCDBL, updated by the READCLRACC or RDCLRDBL task | |
QDEC_ACCDBLREAD_ACCDBLREAD_Pos = 0x0 // Position of ACCDBLREAD field. | |
QDEC_ACCDBLREAD_ACCDBLREAD_Msk = 0xf // Bit mask of ACCDBLREAD field. | |
) | |
// Bitfields for COMP: Comparator | |
const ( | |
// SHORTS: Shortcut register | |
COMP_SHORTS_READY_SAMPLE_Pos = 0x0 // Position of READY_SAMPLE field. | |
COMP_SHORTS_READY_SAMPLE_Msk = 0x1 // Bit mask of READY_SAMPLE field. | |
COMP_SHORTS_READY_SAMPLE = 0x1 // Bit READY_SAMPLE. | |
COMP_SHORTS_READY_SAMPLE_Disabled = 0x0 // Disable shortcut | |
COMP_SHORTS_READY_SAMPLE_Enabled = 0x1 // Enable shortcut | |
COMP_SHORTS_READY_STOP_Pos = 0x1 // Position of READY_STOP field. | |
COMP_SHORTS_READY_STOP_Msk = 0x2 // Bit mask of READY_STOP field. | |
COMP_SHORTS_READY_STOP = 0x2 // Bit READY_STOP. | |
COMP_SHORTS_READY_STOP_Disabled = 0x0 // Disable shortcut | |
COMP_SHORTS_READY_STOP_Enabled = 0x1 // Enable shortcut | |
COMP_SHORTS_DOWN_STOP_Pos = 0x2 // Position of DOWN_STOP field. | |
COMP_SHORTS_DOWN_STOP_Msk = 0x4 // Bit mask of DOWN_STOP field. | |
COMP_SHORTS_DOWN_STOP = 0x4 // Bit DOWN_STOP. | |
COMP_SHORTS_DOWN_STOP_Disabled = 0x0 // Disable shortcut | |
COMP_SHORTS_DOWN_STOP_Enabled = 0x1 // Enable shortcut | |
COMP_SHORTS_UP_STOP_Pos = 0x3 // Position of UP_STOP field. | |
COMP_SHORTS_UP_STOP_Msk = 0x8 // Bit mask of UP_STOP field. | |
COMP_SHORTS_UP_STOP = 0x8 // Bit UP_STOP. | |
COMP_SHORTS_UP_STOP_Disabled = 0x0 // Disable shortcut | |
COMP_SHORTS_UP_STOP_Enabled = 0x1 // Enable shortcut | |
COMP_SHORTS_CROSS_STOP_Pos = 0x4 // Position of CROSS_STOP field. | |
COMP_SHORTS_CROSS_STOP_Msk = 0x10 // Bit mask of CROSS_STOP field. | |
COMP_SHORTS_CROSS_STOP = 0x10 // Bit CROSS_STOP. | |
COMP_SHORTS_CROSS_STOP_Disabled = 0x0 // Disable shortcut | |
COMP_SHORTS_CROSS_STOP_Enabled = 0x1 // Enable shortcut | |
// INTEN: Enable or disable interrupt | |
COMP_INTEN_READY_Pos = 0x0 // Position of READY field. | |
COMP_INTEN_READY_Msk = 0x1 // Bit mask of READY field. | |
COMP_INTEN_READY = 0x1 // Bit READY. | |
COMP_INTEN_READY_Disabled = 0x0 // Disable | |
COMP_INTEN_READY_Enabled = 0x1 // Enable | |
COMP_INTEN_DOWN_Pos = 0x1 // Position of DOWN field. | |
COMP_INTEN_DOWN_Msk = 0x2 // Bit mask of DOWN field. | |
COMP_INTEN_DOWN = 0x2 // Bit DOWN. | |
COMP_INTEN_DOWN_Disabled = 0x0 // Disable | |
COMP_INTEN_DOWN_Enabled = 0x1 // Enable | |
COMP_INTEN_UP_Pos = 0x2 // Position of UP field. | |
COMP_INTEN_UP_Msk = 0x4 // Bit mask of UP field. | |
COMP_INTEN_UP = 0x4 // Bit UP. | |
COMP_INTEN_UP_Disabled = 0x0 // Disable | |
COMP_INTEN_UP_Enabled = 0x1 // Enable | |
COMP_INTEN_CROSS_Pos = 0x3 // Position of CROSS field. | |
COMP_INTEN_CROSS_Msk = 0x8 // Bit mask of CROSS field. | |
COMP_INTEN_CROSS = 0x8 // Bit CROSS. | |
COMP_INTEN_CROSS_Disabled = 0x0 // Disable | |
COMP_INTEN_CROSS_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
COMP_INTENSET_READY_Pos = 0x0 // Position of READY field. | |
COMP_INTENSET_READY_Msk = 0x1 // Bit mask of READY field. | |
COMP_INTENSET_READY = 0x1 // Bit READY. | |
COMP_INTENSET_READY_Disabled = 0x0 // Read: Disabled | |
COMP_INTENSET_READY_Enabled = 0x1 // Read: Enabled | |
COMP_INTENSET_READY_Set = 0x1 // Enable | |
COMP_INTENSET_DOWN_Pos = 0x1 // Position of DOWN field. | |
COMP_INTENSET_DOWN_Msk = 0x2 // Bit mask of DOWN field. | |
COMP_INTENSET_DOWN = 0x2 // Bit DOWN. | |
COMP_INTENSET_DOWN_Disabled = 0x0 // Read: Disabled | |
COMP_INTENSET_DOWN_Enabled = 0x1 // Read: Enabled | |
COMP_INTENSET_DOWN_Set = 0x1 // Enable | |
COMP_INTENSET_UP_Pos = 0x2 // Position of UP field. | |
COMP_INTENSET_UP_Msk = 0x4 // Bit mask of UP field. | |
COMP_INTENSET_UP = 0x4 // Bit UP. | |
COMP_INTENSET_UP_Disabled = 0x0 // Read: Disabled | |
COMP_INTENSET_UP_Enabled = 0x1 // Read: Enabled | |
COMP_INTENSET_UP_Set = 0x1 // Enable | |
COMP_INTENSET_CROSS_Pos = 0x3 // Position of CROSS field. | |
COMP_INTENSET_CROSS_Msk = 0x8 // Bit mask of CROSS field. | |
COMP_INTENSET_CROSS = 0x8 // Bit CROSS. | |
COMP_INTENSET_CROSS_Disabled = 0x0 // Read: Disabled | |
COMP_INTENSET_CROSS_Enabled = 0x1 // Read: Enabled | |
COMP_INTENSET_CROSS_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
COMP_INTENCLR_READY_Pos = 0x0 // Position of READY field. | |
COMP_INTENCLR_READY_Msk = 0x1 // Bit mask of READY field. | |
COMP_INTENCLR_READY = 0x1 // Bit READY. | |
COMP_INTENCLR_READY_Disabled = 0x0 // Read: Disabled | |
COMP_INTENCLR_READY_Enabled = 0x1 // Read: Enabled | |
COMP_INTENCLR_READY_Clear = 0x1 // Disable | |
COMP_INTENCLR_DOWN_Pos = 0x1 // Position of DOWN field. | |
COMP_INTENCLR_DOWN_Msk = 0x2 // Bit mask of DOWN field. | |
COMP_INTENCLR_DOWN = 0x2 // Bit DOWN. | |
COMP_INTENCLR_DOWN_Disabled = 0x0 // Read: Disabled | |
COMP_INTENCLR_DOWN_Enabled = 0x1 // Read: Enabled | |
COMP_INTENCLR_DOWN_Clear = 0x1 // Disable | |
COMP_INTENCLR_UP_Pos = 0x2 // Position of UP field. | |
COMP_INTENCLR_UP_Msk = 0x4 // Bit mask of UP field. | |
COMP_INTENCLR_UP = 0x4 // Bit UP. | |
COMP_INTENCLR_UP_Disabled = 0x0 // Read: Disabled | |
COMP_INTENCLR_UP_Enabled = 0x1 // Read: Enabled | |
COMP_INTENCLR_UP_Clear = 0x1 // Disable | |
COMP_INTENCLR_CROSS_Pos = 0x3 // Position of CROSS field. | |
COMP_INTENCLR_CROSS_Msk = 0x8 // Bit mask of CROSS field. | |
COMP_INTENCLR_CROSS = 0x8 // Bit CROSS. | |
COMP_INTENCLR_CROSS_Disabled = 0x0 // Read: Disabled | |
COMP_INTENCLR_CROSS_Enabled = 0x1 // Read: Enabled | |
COMP_INTENCLR_CROSS_Clear = 0x1 // Disable | |
// RESULT: Compare result | |
COMP_RESULT_RESULT_Pos = 0x0 // Position of RESULT field. | |
COMP_RESULT_RESULT_Msk = 0x1 // Bit mask of RESULT field. | |
COMP_RESULT_RESULT = 0x1 // Bit RESULT. | |
COMP_RESULT_RESULT_Below = 0x0 // Input voltage is below the threshold (VIN+ < VIN-) | |
COMP_RESULT_RESULT_Above = 0x1 // Input voltage is above the threshold (VIN+ > VIN-) | |
// ENABLE: COMP enable | |
COMP_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
COMP_ENABLE_ENABLE_Msk = 0x3 // Bit mask of ENABLE field. | |
COMP_ENABLE_ENABLE_Disabled = 0x0 // Disable | |
COMP_ENABLE_ENABLE_Enabled = 0x2 // Enable | |
// PSEL: Pin select | |
COMP_PSEL_PSEL_Pos = 0x0 // Position of PSEL field. | |
COMP_PSEL_PSEL_Msk = 0x7 // Bit mask of PSEL field. | |
COMP_PSEL_PSEL_AnalogInput0 = 0x0 // AIN0 selected as analog input | |
COMP_PSEL_PSEL_AnalogInput1 = 0x1 // AIN1 selected as analog input | |
COMP_PSEL_PSEL_AnalogInput2 = 0x2 // AIN2 selected as analog input | |
COMP_PSEL_PSEL_AnalogInput3 = 0x3 // AIN3 selected as analog input | |
COMP_PSEL_PSEL_AnalogInput4 = 0x4 // AIN4 selected as analog input | |
COMP_PSEL_PSEL_AnalogInput5 = 0x5 // AIN5 selected as analog input | |
COMP_PSEL_PSEL_AnalogInput6 = 0x6 // AIN6 selected as analog input | |
COMP_PSEL_PSEL_AnalogInput7 = 0x7 // AIN7 selected as analog input | |
// REFSEL: Reference source select for single-ended mode | |
COMP_REFSEL_REFSEL_Pos = 0x0 // Position of REFSEL field. | |
COMP_REFSEL_REFSEL_Msk = 0x7 // Bit mask of REFSEL field. | |
COMP_REFSEL_REFSEL_Int1V2 = 0x0 // VREF = internal 1.2 V reference (VDD >= 1.7 V) | |
COMP_REFSEL_REFSEL_Int1V8 = 0x1 // VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V) | |
COMP_REFSEL_REFSEL_Int2V4 = 0x2 // VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V) | |
COMP_REFSEL_REFSEL_VDD = 0x4 // VREF = VDD | |
COMP_REFSEL_REFSEL_ARef = 0x7 // VREF = AREF (VDD >= VREF >= AREFMIN) | |
// EXTREFSEL: External reference select | |
COMP_EXTREFSEL_EXTREFSEL_Pos = 0x0 // Position of EXTREFSEL field. | |
COMP_EXTREFSEL_EXTREFSEL_Msk = 0x7 // Bit mask of EXTREFSEL field. | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference0 = 0x0 // Use AIN0 as external analog reference | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference1 = 0x1 // Use AIN1 as external analog reference | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference2 = 0x2 // Use AIN2 as external analog reference | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference3 = 0x3 // Use AIN3 as external analog reference | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference4 = 0x4 // Use AIN4 as external analog reference | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference5 = 0x5 // Use AIN5 as external analog reference | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference6 = 0x6 // Use AIN6 as external analog reference | |
COMP_EXTREFSEL_EXTREFSEL_AnalogReference7 = 0x7 // Use AIN7 as external analog reference | |
// TH: Threshold configuration for hysteresis unit | |
COMP_TH_THDOWN_Pos = 0x0 // Position of THDOWN field. | |
COMP_TH_THDOWN_Msk = 0x3f // Bit mask of THDOWN field. | |
COMP_TH_THUP_Pos = 0x8 // Position of THUP field. | |
COMP_TH_THUP_Msk = 0x3f00 // Bit mask of THUP field. | |
// MODE: Mode configuration | |
COMP_MODE_SP_Pos = 0x0 // Position of SP field. | |
COMP_MODE_SP_Msk = 0x3 // Bit mask of SP field. | |
COMP_MODE_SP_Low = 0x0 // Low-power mode | |
COMP_MODE_SP_Normal = 0x1 // Normal mode | |
COMP_MODE_SP_High = 0x2 // High-speed mode | |
COMP_MODE_MAIN_Pos = 0x8 // Position of MAIN field. | |
COMP_MODE_MAIN_Msk = 0x100 // Bit mask of MAIN field. | |
COMP_MODE_MAIN = 0x100 // Bit MAIN. | |
COMP_MODE_MAIN_SE = 0x0 // Single-ended mode | |
COMP_MODE_MAIN_Diff = 0x1 // Differential mode | |
// HYST: Comparator hysteresis enable | |
COMP_HYST_HYST_Pos = 0x0 // Position of HYST field. | |
COMP_HYST_HYST_Msk = 0x1 // Bit mask of HYST field. | |
COMP_HYST_HYST = 0x1 // Bit HYST. | |
COMP_HYST_HYST_NoHyst = 0x0 // Comparator hysteresis disabled | |
COMP_HYST_HYST_Hyst50mV = 0x1 // Comparator hysteresis enabled | |
// ISOURCE: Current source select on analog input | |
COMP_ISOURCE_ISOURCE_Pos = 0x0 // Position of ISOURCE field. | |
COMP_ISOURCE_ISOURCE_Msk = 0x3 // Bit mask of ISOURCE field. | |
COMP_ISOURCE_ISOURCE_Off = 0x0 // Current source disabled | |
COMP_ISOURCE_ISOURCE_Ien2mA5 = 0x1 // Current source enabled (+/- 2.5 uA) | |
COMP_ISOURCE_ISOURCE_Ien5mA = 0x2 // Current source enabled (+/- 5 uA) | |
COMP_ISOURCE_ISOURCE_Ien10mA = 0x3 // Current source enabled (+/- 10 uA) | |
) | |
// Bitfields for LPCOMP: Low Power Comparator | |
const ( | |
// SHORTS: Shortcut register | |
LPCOMP_SHORTS_READY_SAMPLE_Pos = 0x0 // Position of READY_SAMPLE field. | |
LPCOMP_SHORTS_READY_SAMPLE_Msk = 0x1 // Bit mask of READY_SAMPLE field. | |
LPCOMP_SHORTS_READY_SAMPLE = 0x1 // Bit READY_SAMPLE. | |
LPCOMP_SHORTS_READY_SAMPLE_Disabled = 0x0 // Disable shortcut | |
LPCOMP_SHORTS_READY_SAMPLE_Enabled = 0x1 // Enable shortcut | |
LPCOMP_SHORTS_READY_STOP_Pos = 0x1 // Position of READY_STOP field. | |
LPCOMP_SHORTS_READY_STOP_Msk = 0x2 // Bit mask of READY_STOP field. | |
LPCOMP_SHORTS_READY_STOP = 0x2 // Bit READY_STOP. | |
LPCOMP_SHORTS_READY_STOP_Disabled = 0x0 // Disable shortcut | |
LPCOMP_SHORTS_READY_STOP_Enabled = 0x1 // Enable shortcut | |
LPCOMP_SHORTS_DOWN_STOP_Pos = 0x2 // Position of DOWN_STOP field. | |
LPCOMP_SHORTS_DOWN_STOP_Msk = 0x4 // Bit mask of DOWN_STOP field. | |
LPCOMP_SHORTS_DOWN_STOP = 0x4 // Bit DOWN_STOP. | |
LPCOMP_SHORTS_DOWN_STOP_Disabled = 0x0 // Disable shortcut | |
LPCOMP_SHORTS_DOWN_STOP_Enabled = 0x1 // Enable shortcut | |
LPCOMP_SHORTS_UP_STOP_Pos = 0x3 // Position of UP_STOP field. | |
LPCOMP_SHORTS_UP_STOP_Msk = 0x8 // Bit mask of UP_STOP field. | |
LPCOMP_SHORTS_UP_STOP = 0x8 // Bit UP_STOP. | |
LPCOMP_SHORTS_UP_STOP_Disabled = 0x0 // Disable shortcut | |
LPCOMP_SHORTS_UP_STOP_Enabled = 0x1 // Enable shortcut | |
LPCOMP_SHORTS_CROSS_STOP_Pos = 0x4 // Position of CROSS_STOP field. | |
LPCOMP_SHORTS_CROSS_STOP_Msk = 0x10 // Bit mask of CROSS_STOP field. | |
LPCOMP_SHORTS_CROSS_STOP = 0x10 // Bit CROSS_STOP. | |
LPCOMP_SHORTS_CROSS_STOP_Disabled = 0x0 // Disable shortcut | |
LPCOMP_SHORTS_CROSS_STOP_Enabled = 0x1 // Enable shortcut | |
// INTENSET: Enable interrupt | |
LPCOMP_INTENSET_READY_Pos = 0x0 // Position of READY field. | |
LPCOMP_INTENSET_READY_Msk = 0x1 // Bit mask of READY field. | |
LPCOMP_INTENSET_READY = 0x1 // Bit READY. | |
LPCOMP_INTENSET_READY_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENSET_READY_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENSET_READY_Set = 0x1 // Enable | |
LPCOMP_INTENSET_DOWN_Pos = 0x1 // Position of DOWN field. | |
LPCOMP_INTENSET_DOWN_Msk = 0x2 // Bit mask of DOWN field. | |
LPCOMP_INTENSET_DOWN = 0x2 // Bit DOWN. | |
LPCOMP_INTENSET_DOWN_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENSET_DOWN_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENSET_DOWN_Set = 0x1 // Enable | |
LPCOMP_INTENSET_UP_Pos = 0x2 // Position of UP field. | |
LPCOMP_INTENSET_UP_Msk = 0x4 // Bit mask of UP field. | |
LPCOMP_INTENSET_UP = 0x4 // Bit UP. | |
LPCOMP_INTENSET_UP_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENSET_UP_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENSET_UP_Set = 0x1 // Enable | |
LPCOMP_INTENSET_CROSS_Pos = 0x3 // Position of CROSS field. | |
LPCOMP_INTENSET_CROSS_Msk = 0x8 // Bit mask of CROSS field. | |
LPCOMP_INTENSET_CROSS = 0x8 // Bit CROSS. | |
LPCOMP_INTENSET_CROSS_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENSET_CROSS_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENSET_CROSS_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
LPCOMP_INTENCLR_READY_Pos = 0x0 // Position of READY field. | |
LPCOMP_INTENCLR_READY_Msk = 0x1 // Bit mask of READY field. | |
LPCOMP_INTENCLR_READY = 0x1 // Bit READY. | |
LPCOMP_INTENCLR_READY_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENCLR_READY_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENCLR_READY_Clear = 0x1 // Disable | |
LPCOMP_INTENCLR_DOWN_Pos = 0x1 // Position of DOWN field. | |
LPCOMP_INTENCLR_DOWN_Msk = 0x2 // Bit mask of DOWN field. | |
LPCOMP_INTENCLR_DOWN = 0x2 // Bit DOWN. | |
LPCOMP_INTENCLR_DOWN_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENCLR_DOWN_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENCLR_DOWN_Clear = 0x1 // Disable | |
LPCOMP_INTENCLR_UP_Pos = 0x2 // Position of UP field. | |
LPCOMP_INTENCLR_UP_Msk = 0x4 // Bit mask of UP field. | |
LPCOMP_INTENCLR_UP = 0x4 // Bit UP. | |
LPCOMP_INTENCLR_UP_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENCLR_UP_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENCLR_UP_Clear = 0x1 // Disable | |
LPCOMP_INTENCLR_CROSS_Pos = 0x3 // Position of CROSS field. | |
LPCOMP_INTENCLR_CROSS_Msk = 0x8 // Bit mask of CROSS field. | |
LPCOMP_INTENCLR_CROSS = 0x8 // Bit CROSS. | |
LPCOMP_INTENCLR_CROSS_Disabled = 0x0 // Read: Disabled | |
LPCOMP_INTENCLR_CROSS_Enabled = 0x1 // Read: Enabled | |
LPCOMP_INTENCLR_CROSS_Clear = 0x1 // Disable | |
// RESULT: Compare result | |
LPCOMP_RESULT_RESULT_Pos = 0x0 // Position of RESULT field. | |
LPCOMP_RESULT_RESULT_Msk = 0x1 // Bit mask of RESULT field. | |
LPCOMP_RESULT_RESULT = 0x1 // Bit RESULT. | |
LPCOMP_RESULT_RESULT_Below = 0x0 // Input voltage is below the reference threshold (VIN+ < VIN-). | |
LPCOMP_RESULT_RESULT_Above = 0x1 // Input voltage is above the reference threshold (VIN+ > VIN-). | |
// ENABLE: Enable LPCOMP | |
LPCOMP_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
LPCOMP_ENABLE_ENABLE_Msk = 0x3 // Bit mask of ENABLE field. | |
LPCOMP_ENABLE_ENABLE_Disabled = 0x0 // Disable | |
LPCOMP_ENABLE_ENABLE_Enabled = 0x1 // Enable | |
// PSEL: Input pin select | |
LPCOMP_PSEL_PSEL_Pos = 0x0 // Position of PSEL field. | |
LPCOMP_PSEL_PSEL_Msk = 0x7 // Bit mask of PSEL field. | |
LPCOMP_PSEL_PSEL_AnalogInput0 = 0x0 // AIN0 selected as analog input | |
LPCOMP_PSEL_PSEL_AnalogInput1 = 0x1 // AIN1 selected as analog input | |
LPCOMP_PSEL_PSEL_AnalogInput2 = 0x2 // AIN2 selected as analog input | |
LPCOMP_PSEL_PSEL_AnalogInput3 = 0x3 // AIN3 selected as analog input | |
LPCOMP_PSEL_PSEL_AnalogInput4 = 0x4 // AIN4 selected as analog input | |
LPCOMP_PSEL_PSEL_AnalogInput5 = 0x5 // AIN5 selected as analog input | |
LPCOMP_PSEL_PSEL_AnalogInput6 = 0x6 // AIN6 selected as analog input | |
LPCOMP_PSEL_PSEL_AnalogInput7 = 0x7 // AIN7 selected as analog input | |
// REFSEL: Reference select | |
LPCOMP_REFSEL_REFSEL_Pos = 0x0 // Position of REFSEL field. | |
LPCOMP_REFSEL_REFSEL_Msk = 0xf // Bit mask of REFSEL field. | |
LPCOMP_REFSEL_REFSEL_Ref1_8Vdd = 0x0 // VDD * 1/8 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref2_8Vdd = 0x1 // VDD * 2/8 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref3_8Vdd = 0x2 // VDD * 3/8 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref4_8Vdd = 0x3 // VDD * 4/8 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref5_8Vdd = 0x4 // VDD * 5/8 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref6_8Vdd = 0x5 // VDD * 6/8 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref7_8Vdd = 0x6 // VDD * 7/8 selected as reference | |
LPCOMP_REFSEL_REFSEL_ARef = 0x7 // External analog reference selected | |
LPCOMP_REFSEL_REFSEL_Ref1_16Vdd = 0x8 // VDD * 1/16 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref3_16Vdd = 0x9 // VDD * 3/16 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref5_16Vdd = 0xa // VDD * 5/16 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref7_16Vdd = 0xb // VDD * 7/16 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref9_16Vdd = 0xc // VDD * 9/16 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref11_16Vdd = 0xd // VDD * 11/16 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref13_16Vdd = 0xe // VDD * 13/16 selected as reference | |
LPCOMP_REFSEL_REFSEL_Ref15_16Vdd = 0xf // VDD * 15/16 selected as reference | |
// EXTREFSEL: External reference select | |
LPCOMP_EXTREFSEL_EXTREFSEL_Pos = 0x0 // Position of EXTREFSEL field. | |
LPCOMP_EXTREFSEL_EXTREFSEL_Msk = 0x1 // Bit mask of EXTREFSEL field. | |
LPCOMP_EXTREFSEL_EXTREFSEL = 0x1 // Bit EXTREFSEL. | |
LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference0 = 0x0 // Use AIN0 as external analog reference | |
LPCOMP_EXTREFSEL_EXTREFSEL_AnalogReference1 = 0x1 // Use AIN1 as external analog reference | |
// ANADETECT: Analog detect configuration | |
LPCOMP_ANADETECT_ANADETECT_Pos = 0x0 // Position of ANADETECT field. | |
LPCOMP_ANADETECT_ANADETECT_Msk = 0x3 // Bit mask of ANADETECT field. | |
LPCOMP_ANADETECT_ANADETECT_Cross = 0x0 // Generate ANADETECT on crossing, both upward crossing and downward crossing | |
LPCOMP_ANADETECT_ANADETECT_Up = 0x1 // Generate ANADETECT on upward crossing only | |
LPCOMP_ANADETECT_ANADETECT_Down = 0x2 // Generate ANADETECT on downward crossing only | |
// HYST: Comparator hysteresis enable | |
LPCOMP_HYST_HYST_Pos = 0x0 // Position of HYST field. | |
LPCOMP_HYST_HYST_Msk = 0x1 // Bit mask of HYST field. | |
LPCOMP_HYST_HYST = 0x1 // Bit HYST. | |
LPCOMP_HYST_HYST_NoHyst = 0x0 // Comparator hysteresis disabled | |
LPCOMP_HYST_HYST_Hyst50mV = 0x1 // Comparator hysteresis disabled (typ. 50 mV) | |
) | |
// Bitfields for SWI0: Software interrupt 0 | |
const () | |
// Bitfields for EGU0: Event Generator Unit 0 | |
const ( | |
// INTEN: Enable or disable interrupt | |
EGU_INTEN_TRIGGERED0_Pos = 0x0 // Position of TRIGGERED0 field. | |
EGU_INTEN_TRIGGERED0_Msk = 0x1 // Bit mask of TRIGGERED0 field. | |
EGU_INTEN_TRIGGERED0 = 0x1 // Bit TRIGGERED0. | |
EGU_INTEN_TRIGGERED0_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED0_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED1_Pos = 0x1 // Position of TRIGGERED1 field. | |
EGU_INTEN_TRIGGERED1_Msk = 0x2 // Bit mask of TRIGGERED1 field. | |
EGU_INTEN_TRIGGERED1 = 0x2 // Bit TRIGGERED1. | |
EGU_INTEN_TRIGGERED1_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED1_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED2_Pos = 0x2 // Position of TRIGGERED2 field. | |
EGU_INTEN_TRIGGERED2_Msk = 0x4 // Bit mask of TRIGGERED2 field. | |
EGU_INTEN_TRIGGERED2 = 0x4 // Bit TRIGGERED2. | |
EGU_INTEN_TRIGGERED2_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED2_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED3_Pos = 0x3 // Position of TRIGGERED3 field. | |
EGU_INTEN_TRIGGERED3_Msk = 0x8 // Bit mask of TRIGGERED3 field. | |
EGU_INTEN_TRIGGERED3 = 0x8 // Bit TRIGGERED3. | |
EGU_INTEN_TRIGGERED3_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED3_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED4_Pos = 0x4 // Position of TRIGGERED4 field. | |
EGU_INTEN_TRIGGERED4_Msk = 0x10 // Bit mask of TRIGGERED4 field. | |
EGU_INTEN_TRIGGERED4 = 0x10 // Bit TRIGGERED4. | |
EGU_INTEN_TRIGGERED4_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED4_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED5_Pos = 0x5 // Position of TRIGGERED5 field. | |
EGU_INTEN_TRIGGERED5_Msk = 0x20 // Bit mask of TRIGGERED5 field. | |
EGU_INTEN_TRIGGERED5 = 0x20 // Bit TRIGGERED5. | |
EGU_INTEN_TRIGGERED5_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED5_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED6_Pos = 0x6 // Position of TRIGGERED6 field. | |
EGU_INTEN_TRIGGERED6_Msk = 0x40 // Bit mask of TRIGGERED6 field. | |
EGU_INTEN_TRIGGERED6 = 0x40 // Bit TRIGGERED6. | |
EGU_INTEN_TRIGGERED6_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED6_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED7_Pos = 0x7 // Position of TRIGGERED7 field. | |
EGU_INTEN_TRIGGERED7_Msk = 0x80 // Bit mask of TRIGGERED7 field. | |
EGU_INTEN_TRIGGERED7 = 0x80 // Bit TRIGGERED7. | |
EGU_INTEN_TRIGGERED7_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED7_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED8_Pos = 0x8 // Position of TRIGGERED8 field. | |
EGU_INTEN_TRIGGERED8_Msk = 0x100 // Bit mask of TRIGGERED8 field. | |
EGU_INTEN_TRIGGERED8 = 0x100 // Bit TRIGGERED8. | |
EGU_INTEN_TRIGGERED8_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED8_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED9_Pos = 0x9 // Position of TRIGGERED9 field. | |
EGU_INTEN_TRIGGERED9_Msk = 0x200 // Bit mask of TRIGGERED9 field. | |
EGU_INTEN_TRIGGERED9 = 0x200 // Bit TRIGGERED9. | |
EGU_INTEN_TRIGGERED9_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED9_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED10_Pos = 0xa // Position of TRIGGERED10 field. | |
EGU_INTEN_TRIGGERED10_Msk = 0x400 // Bit mask of TRIGGERED10 field. | |
EGU_INTEN_TRIGGERED10 = 0x400 // Bit TRIGGERED10. | |
EGU_INTEN_TRIGGERED10_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED10_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED11_Pos = 0xb // Position of TRIGGERED11 field. | |
EGU_INTEN_TRIGGERED11_Msk = 0x800 // Bit mask of TRIGGERED11 field. | |
EGU_INTEN_TRIGGERED11 = 0x800 // Bit TRIGGERED11. | |
EGU_INTEN_TRIGGERED11_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED11_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED12_Pos = 0xc // Position of TRIGGERED12 field. | |
EGU_INTEN_TRIGGERED12_Msk = 0x1000 // Bit mask of TRIGGERED12 field. | |
EGU_INTEN_TRIGGERED12 = 0x1000 // Bit TRIGGERED12. | |
EGU_INTEN_TRIGGERED12_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED12_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED13_Pos = 0xd // Position of TRIGGERED13 field. | |
EGU_INTEN_TRIGGERED13_Msk = 0x2000 // Bit mask of TRIGGERED13 field. | |
EGU_INTEN_TRIGGERED13 = 0x2000 // Bit TRIGGERED13. | |
EGU_INTEN_TRIGGERED13_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED13_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED14_Pos = 0xe // Position of TRIGGERED14 field. | |
EGU_INTEN_TRIGGERED14_Msk = 0x4000 // Bit mask of TRIGGERED14 field. | |
EGU_INTEN_TRIGGERED14 = 0x4000 // Bit TRIGGERED14. | |
EGU_INTEN_TRIGGERED14_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED14_Enabled = 0x1 // Enable | |
EGU_INTEN_TRIGGERED15_Pos = 0xf // Position of TRIGGERED15 field. | |
EGU_INTEN_TRIGGERED15_Msk = 0x8000 // Bit mask of TRIGGERED15 field. | |
EGU_INTEN_TRIGGERED15 = 0x8000 // Bit TRIGGERED15. | |
EGU_INTEN_TRIGGERED15_Disabled = 0x0 // Disable | |
EGU_INTEN_TRIGGERED15_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
EGU_INTENSET_TRIGGERED0_Pos = 0x0 // Position of TRIGGERED0 field. | |
EGU_INTENSET_TRIGGERED0_Msk = 0x1 // Bit mask of TRIGGERED0 field. | |
EGU_INTENSET_TRIGGERED0 = 0x1 // Bit TRIGGERED0. | |
EGU_INTENSET_TRIGGERED0_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED0_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED0_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED1_Pos = 0x1 // Position of TRIGGERED1 field. | |
EGU_INTENSET_TRIGGERED1_Msk = 0x2 // Bit mask of TRIGGERED1 field. | |
EGU_INTENSET_TRIGGERED1 = 0x2 // Bit TRIGGERED1. | |
EGU_INTENSET_TRIGGERED1_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED1_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED1_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED2_Pos = 0x2 // Position of TRIGGERED2 field. | |
EGU_INTENSET_TRIGGERED2_Msk = 0x4 // Bit mask of TRIGGERED2 field. | |
EGU_INTENSET_TRIGGERED2 = 0x4 // Bit TRIGGERED2. | |
EGU_INTENSET_TRIGGERED2_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED2_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED2_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED3_Pos = 0x3 // Position of TRIGGERED3 field. | |
EGU_INTENSET_TRIGGERED3_Msk = 0x8 // Bit mask of TRIGGERED3 field. | |
EGU_INTENSET_TRIGGERED3 = 0x8 // Bit TRIGGERED3. | |
EGU_INTENSET_TRIGGERED3_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED3_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED3_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED4_Pos = 0x4 // Position of TRIGGERED4 field. | |
EGU_INTENSET_TRIGGERED4_Msk = 0x10 // Bit mask of TRIGGERED4 field. | |
EGU_INTENSET_TRIGGERED4 = 0x10 // Bit TRIGGERED4. | |
EGU_INTENSET_TRIGGERED4_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED4_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED4_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED5_Pos = 0x5 // Position of TRIGGERED5 field. | |
EGU_INTENSET_TRIGGERED5_Msk = 0x20 // Bit mask of TRIGGERED5 field. | |
EGU_INTENSET_TRIGGERED5 = 0x20 // Bit TRIGGERED5. | |
EGU_INTENSET_TRIGGERED5_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED5_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED5_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED6_Pos = 0x6 // Position of TRIGGERED6 field. | |
EGU_INTENSET_TRIGGERED6_Msk = 0x40 // Bit mask of TRIGGERED6 field. | |
EGU_INTENSET_TRIGGERED6 = 0x40 // Bit TRIGGERED6. | |
EGU_INTENSET_TRIGGERED6_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED6_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED6_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED7_Pos = 0x7 // Position of TRIGGERED7 field. | |
EGU_INTENSET_TRIGGERED7_Msk = 0x80 // Bit mask of TRIGGERED7 field. | |
EGU_INTENSET_TRIGGERED7 = 0x80 // Bit TRIGGERED7. | |
EGU_INTENSET_TRIGGERED7_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED7_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED7_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED8_Pos = 0x8 // Position of TRIGGERED8 field. | |
EGU_INTENSET_TRIGGERED8_Msk = 0x100 // Bit mask of TRIGGERED8 field. | |
EGU_INTENSET_TRIGGERED8 = 0x100 // Bit TRIGGERED8. | |
EGU_INTENSET_TRIGGERED8_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED8_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED8_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED9_Pos = 0x9 // Position of TRIGGERED9 field. | |
EGU_INTENSET_TRIGGERED9_Msk = 0x200 // Bit mask of TRIGGERED9 field. | |
EGU_INTENSET_TRIGGERED9 = 0x200 // Bit TRIGGERED9. | |
EGU_INTENSET_TRIGGERED9_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED9_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED9_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED10_Pos = 0xa // Position of TRIGGERED10 field. | |
EGU_INTENSET_TRIGGERED10_Msk = 0x400 // Bit mask of TRIGGERED10 field. | |
EGU_INTENSET_TRIGGERED10 = 0x400 // Bit TRIGGERED10. | |
EGU_INTENSET_TRIGGERED10_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED10_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED10_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED11_Pos = 0xb // Position of TRIGGERED11 field. | |
EGU_INTENSET_TRIGGERED11_Msk = 0x800 // Bit mask of TRIGGERED11 field. | |
EGU_INTENSET_TRIGGERED11 = 0x800 // Bit TRIGGERED11. | |
EGU_INTENSET_TRIGGERED11_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED11_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED11_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED12_Pos = 0xc // Position of TRIGGERED12 field. | |
EGU_INTENSET_TRIGGERED12_Msk = 0x1000 // Bit mask of TRIGGERED12 field. | |
EGU_INTENSET_TRIGGERED12 = 0x1000 // Bit TRIGGERED12. | |
EGU_INTENSET_TRIGGERED12_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED12_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED12_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED13_Pos = 0xd // Position of TRIGGERED13 field. | |
EGU_INTENSET_TRIGGERED13_Msk = 0x2000 // Bit mask of TRIGGERED13 field. | |
EGU_INTENSET_TRIGGERED13 = 0x2000 // Bit TRIGGERED13. | |
EGU_INTENSET_TRIGGERED13_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED13_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED13_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED14_Pos = 0xe // Position of TRIGGERED14 field. | |
EGU_INTENSET_TRIGGERED14_Msk = 0x4000 // Bit mask of TRIGGERED14 field. | |
EGU_INTENSET_TRIGGERED14 = 0x4000 // Bit TRIGGERED14. | |
EGU_INTENSET_TRIGGERED14_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED14_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED14_Set = 0x1 // Enable | |
EGU_INTENSET_TRIGGERED15_Pos = 0xf // Position of TRIGGERED15 field. | |
EGU_INTENSET_TRIGGERED15_Msk = 0x8000 // Bit mask of TRIGGERED15 field. | |
EGU_INTENSET_TRIGGERED15 = 0x8000 // Bit TRIGGERED15. | |
EGU_INTENSET_TRIGGERED15_Disabled = 0x0 // Read: Disabled | |
EGU_INTENSET_TRIGGERED15_Enabled = 0x1 // Read: Enabled | |
EGU_INTENSET_TRIGGERED15_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
EGU_INTENCLR_TRIGGERED0_Pos = 0x0 // Position of TRIGGERED0 field. | |
EGU_INTENCLR_TRIGGERED0_Msk = 0x1 // Bit mask of TRIGGERED0 field. | |
EGU_INTENCLR_TRIGGERED0 = 0x1 // Bit TRIGGERED0. | |
EGU_INTENCLR_TRIGGERED0_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED0_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED0_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED1_Pos = 0x1 // Position of TRIGGERED1 field. | |
EGU_INTENCLR_TRIGGERED1_Msk = 0x2 // Bit mask of TRIGGERED1 field. | |
EGU_INTENCLR_TRIGGERED1 = 0x2 // Bit TRIGGERED1. | |
EGU_INTENCLR_TRIGGERED1_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED1_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED1_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED2_Pos = 0x2 // Position of TRIGGERED2 field. | |
EGU_INTENCLR_TRIGGERED2_Msk = 0x4 // Bit mask of TRIGGERED2 field. | |
EGU_INTENCLR_TRIGGERED2 = 0x4 // Bit TRIGGERED2. | |
EGU_INTENCLR_TRIGGERED2_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED2_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED2_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED3_Pos = 0x3 // Position of TRIGGERED3 field. | |
EGU_INTENCLR_TRIGGERED3_Msk = 0x8 // Bit mask of TRIGGERED3 field. | |
EGU_INTENCLR_TRIGGERED3 = 0x8 // Bit TRIGGERED3. | |
EGU_INTENCLR_TRIGGERED3_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED3_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED3_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED4_Pos = 0x4 // Position of TRIGGERED4 field. | |
EGU_INTENCLR_TRIGGERED4_Msk = 0x10 // Bit mask of TRIGGERED4 field. | |
EGU_INTENCLR_TRIGGERED4 = 0x10 // Bit TRIGGERED4. | |
EGU_INTENCLR_TRIGGERED4_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED4_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED4_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED5_Pos = 0x5 // Position of TRIGGERED5 field. | |
EGU_INTENCLR_TRIGGERED5_Msk = 0x20 // Bit mask of TRIGGERED5 field. | |
EGU_INTENCLR_TRIGGERED5 = 0x20 // Bit TRIGGERED5. | |
EGU_INTENCLR_TRIGGERED5_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED5_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED5_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED6_Pos = 0x6 // Position of TRIGGERED6 field. | |
EGU_INTENCLR_TRIGGERED6_Msk = 0x40 // Bit mask of TRIGGERED6 field. | |
EGU_INTENCLR_TRIGGERED6 = 0x40 // Bit TRIGGERED6. | |
EGU_INTENCLR_TRIGGERED6_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED6_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED6_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED7_Pos = 0x7 // Position of TRIGGERED7 field. | |
EGU_INTENCLR_TRIGGERED7_Msk = 0x80 // Bit mask of TRIGGERED7 field. | |
EGU_INTENCLR_TRIGGERED7 = 0x80 // Bit TRIGGERED7. | |
EGU_INTENCLR_TRIGGERED7_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED7_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED7_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED8_Pos = 0x8 // Position of TRIGGERED8 field. | |
EGU_INTENCLR_TRIGGERED8_Msk = 0x100 // Bit mask of TRIGGERED8 field. | |
EGU_INTENCLR_TRIGGERED8 = 0x100 // Bit TRIGGERED8. | |
EGU_INTENCLR_TRIGGERED8_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED8_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED8_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED9_Pos = 0x9 // Position of TRIGGERED9 field. | |
EGU_INTENCLR_TRIGGERED9_Msk = 0x200 // Bit mask of TRIGGERED9 field. | |
EGU_INTENCLR_TRIGGERED9 = 0x200 // Bit TRIGGERED9. | |
EGU_INTENCLR_TRIGGERED9_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED9_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED9_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED10_Pos = 0xa // Position of TRIGGERED10 field. | |
EGU_INTENCLR_TRIGGERED10_Msk = 0x400 // Bit mask of TRIGGERED10 field. | |
EGU_INTENCLR_TRIGGERED10 = 0x400 // Bit TRIGGERED10. | |
EGU_INTENCLR_TRIGGERED10_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED10_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED10_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED11_Pos = 0xb // Position of TRIGGERED11 field. | |
EGU_INTENCLR_TRIGGERED11_Msk = 0x800 // Bit mask of TRIGGERED11 field. | |
EGU_INTENCLR_TRIGGERED11 = 0x800 // Bit TRIGGERED11. | |
EGU_INTENCLR_TRIGGERED11_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED11_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED11_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED12_Pos = 0xc // Position of TRIGGERED12 field. | |
EGU_INTENCLR_TRIGGERED12_Msk = 0x1000 // Bit mask of TRIGGERED12 field. | |
EGU_INTENCLR_TRIGGERED12 = 0x1000 // Bit TRIGGERED12. | |
EGU_INTENCLR_TRIGGERED12_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED12_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED12_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED13_Pos = 0xd // Position of TRIGGERED13 field. | |
EGU_INTENCLR_TRIGGERED13_Msk = 0x2000 // Bit mask of TRIGGERED13 field. | |
EGU_INTENCLR_TRIGGERED13 = 0x2000 // Bit TRIGGERED13. | |
EGU_INTENCLR_TRIGGERED13_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED13_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED13_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED14_Pos = 0xe // Position of TRIGGERED14 field. | |
EGU_INTENCLR_TRIGGERED14_Msk = 0x4000 // Bit mask of TRIGGERED14 field. | |
EGU_INTENCLR_TRIGGERED14 = 0x4000 // Bit TRIGGERED14. | |
EGU_INTENCLR_TRIGGERED14_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED14_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED14_Clear = 0x1 // Disable | |
EGU_INTENCLR_TRIGGERED15_Pos = 0xf // Position of TRIGGERED15 field. | |
EGU_INTENCLR_TRIGGERED15_Msk = 0x8000 // Bit mask of TRIGGERED15 field. | |
EGU_INTENCLR_TRIGGERED15 = 0x8000 // Bit TRIGGERED15. | |
EGU_INTENCLR_TRIGGERED15_Disabled = 0x0 // Read: Disabled | |
EGU_INTENCLR_TRIGGERED15_Enabled = 0x1 // Read: Enabled | |
EGU_INTENCLR_TRIGGERED15_Clear = 0x1 // Disable | |
) | |
// Bitfields for PWM0: Pulse Width Modulation Unit 0 | |
const ( | |
// SHORTS: Shortcut register | |
PWM_SHORTS_SEQEND0_STOP_Pos = 0x0 // Position of SEQEND0_STOP field. | |
PWM_SHORTS_SEQEND0_STOP_Msk = 0x1 // Bit mask of SEQEND0_STOP field. | |
PWM_SHORTS_SEQEND0_STOP = 0x1 // Bit SEQEND0_STOP. | |
PWM_SHORTS_SEQEND0_STOP_Disabled = 0x0 // Disable shortcut | |
PWM_SHORTS_SEQEND0_STOP_Enabled = 0x1 // Enable shortcut | |
PWM_SHORTS_SEQEND1_STOP_Pos = 0x1 // Position of SEQEND1_STOP field. | |
PWM_SHORTS_SEQEND1_STOP_Msk = 0x2 // Bit mask of SEQEND1_STOP field. | |
PWM_SHORTS_SEQEND1_STOP = 0x2 // Bit SEQEND1_STOP. | |
PWM_SHORTS_SEQEND1_STOP_Disabled = 0x0 // Disable shortcut | |
PWM_SHORTS_SEQEND1_STOP_Enabled = 0x1 // Enable shortcut | |
PWM_SHORTS_LOOPSDONE_SEQSTART0_Pos = 0x2 // Position of LOOPSDONE_SEQSTART0 field. | |
PWM_SHORTS_LOOPSDONE_SEQSTART0_Msk = 0x4 // Bit mask of LOOPSDONE_SEQSTART0 field. | |
PWM_SHORTS_LOOPSDONE_SEQSTART0 = 0x4 // Bit LOOPSDONE_SEQSTART0. | |
PWM_SHORTS_LOOPSDONE_SEQSTART0_Disabled = 0x0 // Disable shortcut | |
PWM_SHORTS_LOOPSDONE_SEQSTART0_Enabled = 0x1 // Enable shortcut | |
PWM_SHORTS_LOOPSDONE_SEQSTART1_Pos = 0x3 // Position of LOOPSDONE_SEQSTART1 field. | |
PWM_SHORTS_LOOPSDONE_SEQSTART1_Msk = 0x8 // Bit mask of LOOPSDONE_SEQSTART1 field. | |
PWM_SHORTS_LOOPSDONE_SEQSTART1 = 0x8 // Bit LOOPSDONE_SEQSTART1. | |
PWM_SHORTS_LOOPSDONE_SEQSTART1_Disabled = 0x0 // Disable shortcut | |
PWM_SHORTS_LOOPSDONE_SEQSTART1_Enabled = 0x1 // Enable shortcut | |
PWM_SHORTS_LOOPSDONE_STOP_Pos = 0x4 // Position of LOOPSDONE_STOP field. | |
PWM_SHORTS_LOOPSDONE_STOP_Msk = 0x10 // Bit mask of LOOPSDONE_STOP field. | |
PWM_SHORTS_LOOPSDONE_STOP = 0x10 // Bit LOOPSDONE_STOP. | |
PWM_SHORTS_LOOPSDONE_STOP_Disabled = 0x0 // Disable shortcut | |
PWM_SHORTS_LOOPSDONE_STOP_Enabled = 0x1 // Enable shortcut | |
// INTEN: Enable or disable interrupt | |
PWM_INTEN_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
PWM_INTEN_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
PWM_INTEN_STOPPED = 0x2 // Bit STOPPED. | |
PWM_INTEN_STOPPED_Disabled = 0x0 // Disable | |
PWM_INTEN_STOPPED_Enabled = 0x1 // Enable | |
PWM_INTEN_SEQSTARTED0_Pos = 0x2 // Position of SEQSTARTED0 field. | |
PWM_INTEN_SEQSTARTED0_Msk = 0x4 // Bit mask of SEQSTARTED0 field. | |
PWM_INTEN_SEQSTARTED0 = 0x4 // Bit SEQSTARTED0. | |
PWM_INTEN_SEQSTARTED0_Disabled = 0x0 // Disable | |
PWM_INTEN_SEQSTARTED0_Enabled = 0x1 // Enable | |
PWM_INTEN_SEQSTARTED1_Pos = 0x3 // Position of SEQSTARTED1 field. | |
PWM_INTEN_SEQSTARTED1_Msk = 0x8 // Bit mask of SEQSTARTED1 field. | |
PWM_INTEN_SEQSTARTED1 = 0x8 // Bit SEQSTARTED1. | |
PWM_INTEN_SEQSTARTED1_Disabled = 0x0 // Disable | |
PWM_INTEN_SEQSTARTED1_Enabled = 0x1 // Enable | |
PWM_INTEN_SEQEND0_Pos = 0x4 // Position of SEQEND0 field. | |
PWM_INTEN_SEQEND0_Msk = 0x10 // Bit mask of SEQEND0 field. | |
PWM_INTEN_SEQEND0 = 0x10 // Bit SEQEND0. | |
PWM_INTEN_SEQEND0_Disabled = 0x0 // Disable | |
PWM_INTEN_SEQEND0_Enabled = 0x1 // Enable | |
PWM_INTEN_SEQEND1_Pos = 0x5 // Position of SEQEND1 field. | |
PWM_INTEN_SEQEND1_Msk = 0x20 // Bit mask of SEQEND1 field. | |
PWM_INTEN_SEQEND1 = 0x20 // Bit SEQEND1. | |
PWM_INTEN_SEQEND1_Disabled = 0x0 // Disable | |
PWM_INTEN_SEQEND1_Enabled = 0x1 // Enable | |
PWM_INTEN_PWMPERIODEND_Pos = 0x6 // Position of PWMPERIODEND field. | |
PWM_INTEN_PWMPERIODEND_Msk = 0x40 // Bit mask of PWMPERIODEND field. | |
PWM_INTEN_PWMPERIODEND = 0x40 // Bit PWMPERIODEND. | |
PWM_INTEN_PWMPERIODEND_Disabled = 0x0 // Disable | |
PWM_INTEN_PWMPERIODEND_Enabled = 0x1 // Enable | |
PWM_INTEN_LOOPSDONE_Pos = 0x7 // Position of LOOPSDONE field. | |
PWM_INTEN_LOOPSDONE_Msk = 0x80 // Bit mask of LOOPSDONE field. | |
PWM_INTEN_LOOPSDONE = 0x80 // Bit LOOPSDONE. | |
PWM_INTEN_LOOPSDONE_Disabled = 0x0 // Disable | |
PWM_INTEN_LOOPSDONE_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
PWM_INTENSET_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
PWM_INTENSET_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
PWM_INTENSET_STOPPED = 0x2 // Bit STOPPED. | |
PWM_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
PWM_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
PWM_INTENSET_STOPPED_Set = 0x1 // Enable | |
PWM_INTENSET_SEQSTARTED0_Pos = 0x2 // Position of SEQSTARTED0 field. | |
PWM_INTENSET_SEQSTARTED0_Msk = 0x4 // Bit mask of SEQSTARTED0 field. | |
PWM_INTENSET_SEQSTARTED0 = 0x4 // Bit SEQSTARTED0. | |
PWM_INTENSET_SEQSTARTED0_Disabled = 0x0 // Read: Disabled | |
PWM_INTENSET_SEQSTARTED0_Enabled = 0x1 // Read: Enabled | |
PWM_INTENSET_SEQSTARTED0_Set = 0x1 // Enable | |
PWM_INTENSET_SEQSTARTED1_Pos = 0x3 // Position of SEQSTARTED1 field. | |
PWM_INTENSET_SEQSTARTED1_Msk = 0x8 // Bit mask of SEQSTARTED1 field. | |
PWM_INTENSET_SEQSTARTED1 = 0x8 // Bit SEQSTARTED1. | |
PWM_INTENSET_SEQSTARTED1_Disabled = 0x0 // Read: Disabled | |
PWM_INTENSET_SEQSTARTED1_Enabled = 0x1 // Read: Enabled | |
PWM_INTENSET_SEQSTARTED1_Set = 0x1 // Enable | |
PWM_INTENSET_SEQEND0_Pos = 0x4 // Position of SEQEND0 field. | |
PWM_INTENSET_SEQEND0_Msk = 0x10 // Bit mask of SEQEND0 field. | |
PWM_INTENSET_SEQEND0 = 0x10 // Bit SEQEND0. | |
PWM_INTENSET_SEQEND0_Disabled = 0x0 // Read: Disabled | |
PWM_INTENSET_SEQEND0_Enabled = 0x1 // Read: Enabled | |
PWM_INTENSET_SEQEND0_Set = 0x1 // Enable | |
PWM_INTENSET_SEQEND1_Pos = 0x5 // Position of SEQEND1 field. | |
PWM_INTENSET_SEQEND1_Msk = 0x20 // Bit mask of SEQEND1 field. | |
PWM_INTENSET_SEQEND1 = 0x20 // Bit SEQEND1. | |
PWM_INTENSET_SEQEND1_Disabled = 0x0 // Read: Disabled | |
PWM_INTENSET_SEQEND1_Enabled = 0x1 // Read: Enabled | |
PWM_INTENSET_SEQEND1_Set = 0x1 // Enable | |
PWM_INTENSET_PWMPERIODEND_Pos = 0x6 // Position of PWMPERIODEND field. | |
PWM_INTENSET_PWMPERIODEND_Msk = 0x40 // Bit mask of PWMPERIODEND field. | |
PWM_INTENSET_PWMPERIODEND = 0x40 // Bit PWMPERIODEND. | |
PWM_INTENSET_PWMPERIODEND_Disabled = 0x0 // Read: Disabled | |
PWM_INTENSET_PWMPERIODEND_Enabled = 0x1 // Read: Enabled | |
PWM_INTENSET_PWMPERIODEND_Set = 0x1 // Enable | |
PWM_INTENSET_LOOPSDONE_Pos = 0x7 // Position of LOOPSDONE field. | |
PWM_INTENSET_LOOPSDONE_Msk = 0x80 // Bit mask of LOOPSDONE field. | |
PWM_INTENSET_LOOPSDONE = 0x80 // Bit LOOPSDONE. | |
PWM_INTENSET_LOOPSDONE_Disabled = 0x0 // Read: Disabled | |
PWM_INTENSET_LOOPSDONE_Enabled = 0x1 // Read: Enabled | |
PWM_INTENSET_LOOPSDONE_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
PWM_INTENCLR_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
PWM_INTENCLR_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
PWM_INTENCLR_STOPPED = 0x2 // Bit STOPPED. | |
PWM_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
PWM_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
PWM_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
PWM_INTENCLR_SEQSTARTED0_Pos = 0x2 // Position of SEQSTARTED0 field. | |
PWM_INTENCLR_SEQSTARTED0_Msk = 0x4 // Bit mask of SEQSTARTED0 field. | |
PWM_INTENCLR_SEQSTARTED0 = 0x4 // Bit SEQSTARTED0. | |
PWM_INTENCLR_SEQSTARTED0_Disabled = 0x0 // Read: Disabled | |
PWM_INTENCLR_SEQSTARTED0_Enabled = 0x1 // Read: Enabled | |
PWM_INTENCLR_SEQSTARTED0_Clear = 0x1 // Disable | |
PWM_INTENCLR_SEQSTARTED1_Pos = 0x3 // Position of SEQSTARTED1 field. | |
PWM_INTENCLR_SEQSTARTED1_Msk = 0x8 // Bit mask of SEQSTARTED1 field. | |
PWM_INTENCLR_SEQSTARTED1 = 0x8 // Bit SEQSTARTED1. | |
PWM_INTENCLR_SEQSTARTED1_Disabled = 0x0 // Read: Disabled | |
PWM_INTENCLR_SEQSTARTED1_Enabled = 0x1 // Read: Enabled | |
PWM_INTENCLR_SEQSTARTED1_Clear = 0x1 // Disable | |
PWM_INTENCLR_SEQEND0_Pos = 0x4 // Position of SEQEND0 field. | |
PWM_INTENCLR_SEQEND0_Msk = 0x10 // Bit mask of SEQEND0 field. | |
PWM_INTENCLR_SEQEND0 = 0x10 // Bit SEQEND0. | |
PWM_INTENCLR_SEQEND0_Disabled = 0x0 // Read: Disabled | |
PWM_INTENCLR_SEQEND0_Enabled = 0x1 // Read: Enabled | |
PWM_INTENCLR_SEQEND0_Clear = 0x1 // Disable | |
PWM_INTENCLR_SEQEND1_Pos = 0x5 // Position of SEQEND1 field. | |
PWM_INTENCLR_SEQEND1_Msk = 0x20 // Bit mask of SEQEND1 field. | |
PWM_INTENCLR_SEQEND1 = 0x20 // Bit SEQEND1. | |
PWM_INTENCLR_SEQEND1_Disabled = 0x0 // Read: Disabled | |
PWM_INTENCLR_SEQEND1_Enabled = 0x1 // Read: Enabled | |
PWM_INTENCLR_SEQEND1_Clear = 0x1 // Disable | |
PWM_INTENCLR_PWMPERIODEND_Pos = 0x6 // Position of PWMPERIODEND field. | |
PWM_INTENCLR_PWMPERIODEND_Msk = 0x40 // Bit mask of PWMPERIODEND field. | |
PWM_INTENCLR_PWMPERIODEND = 0x40 // Bit PWMPERIODEND. | |
PWM_INTENCLR_PWMPERIODEND_Disabled = 0x0 // Read: Disabled | |
PWM_INTENCLR_PWMPERIODEND_Enabled = 0x1 // Read: Enabled | |
PWM_INTENCLR_PWMPERIODEND_Clear = 0x1 // Disable | |
PWM_INTENCLR_LOOPSDONE_Pos = 0x7 // Position of LOOPSDONE field. | |
PWM_INTENCLR_LOOPSDONE_Msk = 0x80 // Bit mask of LOOPSDONE field. | |
PWM_INTENCLR_LOOPSDONE = 0x80 // Bit LOOPSDONE. | |
PWM_INTENCLR_LOOPSDONE_Disabled = 0x0 // Read: Disabled | |
PWM_INTENCLR_LOOPSDONE_Enabled = 0x1 // Read: Enabled | |
PWM_INTENCLR_LOOPSDONE_Clear = 0x1 // Disable | |
// ENABLE: PWM module enable register | |
PWM_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
PWM_ENABLE_ENABLE_Msk = 0x1 // Bit mask of ENABLE field. | |
PWM_ENABLE_ENABLE = 0x1 // Bit ENABLE. | |
PWM_ENABLE_ENABLE_Disabled = 0x0 // Disabled | |
PWM_ENABLE_ENABLE_Enabled = 0x1 // Enable | |
// MODE: Selects operating mode of the wave counter | |
PWM_MODE_UPDOWN_Pos = 0x0 // Position of UPDOWN field. | |
PWM_MODE_UPDOWN_Msk = 0x1 // Bit mask of UPDOWN field. | |
PWM_MODE_UPDOWN = 0x1 // Bit UPDOWN. | |
PWM_MODE_UPDOWN_Up = 0x0 // Up counter - edge aligned PWM duty-cycle | |
PWM_MODE_UPDOWN_UpAndDown = 0x1 // Up and down counter - center aligned PWM duty cycle | |
// COUNTERTOP: Value up to which the pulse generator counter counts | |
PWM_COUNTERTOP_COUNTERTOP_Pos = 0x0 // Position of COUNTERTOP field. | |
PWM_COUNTERTOP_COUNTERTOP_Msk = 0x7fff // Bit mask of COUNTERTOP field. | |
// PRESCALER: Configuration for PWM_CLK | |
PWM_PRESCALER_PRESCALER_Pos = 0x0 // Position of PRESCALER field. | |
PWM_PRESCALER_PRESCALER_Msk = 0x7 // Bit mask of PRESCALER field. | |
PWM_PRESCALER_PRESCALER_DIV_1 = 0x0 // Divide by 1 (16MHz) | |
PWM_PRESCALER_PRESCALER_DIV_2 = 0x1 // Divide by 2 ( 8MHz) | |
PWM_PRESCALER_PRESCALER_DIV_4 = 0x2 // Divide by 4 ( 4MHz) | |
PWM_PRESCALER_PRESCALER_DIV_8 = 0x3 // Divide by 8 ( 2MHz) | |
PWM_PRESCALER_PRESCALER_DIV_16 = 0x4 // Divide by 16 ( 1MHz) | |
PWM_PRESCALER_PRESCALER_DIV_32 = 0x5 // Divide by 32 ( 500kHz) | |
PWM_PRESCALER_PRESCALER_DIV_64 = 0x6 // Divide by 64 ( 250kHz) | |
PWM_PRESCALER_PRESCALER_DIV_128 = 0x7 // Divide by 128 ( 125kHz) | |
// DECODER: Configuration of the decoder | |
PWM_DECODER_LOAD_Pos = 0x0 // Position of LOAD field. | |
PWM_DECODER_LOAD_Msk = 0x3 // Bit mask of LOAD field. | |
PWM_DECODER_LOAD_Common = 0x0 // 1st half word (16-bit) used in all PWM channels 0..3 | |
PWM_DECODER_LOAD_Grouped = 0x1 // 1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3 | |
PWM_DECODER_LOAD_Individual = 0x2 // 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in ch.3 | |
PWM_DECODER_LOAD_WaveForm = 0x3 // 1st half word (16-bit) in ch.0; 2nd in ch.1; ...; 4th in COUNTERTOP | |
PWM_DECODER_MODE_Pos = 0x8 // Position of MODE field. | |
PWM_DECODER_MODE_Msk = 0x100 // Bit mask of MODE field. | |
PWM_DECODER_MODE = 0x100 // Bit MODE. | |
PWM_DECODER_MODE_RefreshCount = 0x0 // SEQ[n].REFRESH is used to determine loading internal compare registers | |
PWM_DECODER_MODE_NextStep = 0x1 // NEXTSTEP task causes a new value to be loaded to internal compare registers | |
// LOOP: Amount of playback of a loop | |
PWM_LOOP_CNT_Pos = 0x0 // Position of CNT field. | |
PWM_LOOP_CNT_Msk = 0xffff // Bit mask of CNT field. | |
PWM_LOOP_CNT_Disabled = 0x0 // Looping disabled (stop at the end of the sequence) | |
// SEQ.PTR: Description cluster[0]: Beginning address in Data RAM of this sequence | |
PWM_SEQ_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
PWM_SEQ_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// SEQ.CNT: Description cluster[0]: Amount of values (duty cycles) in this sequence | |
PWM_SEQ_CNT_CNT_Pos = 0x0 // Position of CNT field. | |
PWM_SEQ_CNT_CNT_Msk = 0x7fff // Bit mask of CNT field. | |
PWM_SEQ_CNT_CNT_Disabled = 0x0 // Sequence is disabled, and shall not be started as it is empty | |
// SEQ.REFRESH: Description cluster[0]: Amount of additional PWM periods between samples loaded into compare register | |
PWM_SEQ_REFRESH_CNT_Pos = 0x0 // Position of CNT field. | |
PWM_SEQ_REFRESH_CNT_Msk = 0xffffff // Bit mask of CNT field. | |
PWM_SEQ_REFRESH_CNT_Continuous = 0x0 // Update every PWM period | |
// SEQ.ENDDELAY: Description cluster[0]: Time added after the sequence | |
PWM_SEQ_ENDDELAY_CNT_Pos = 0x0 // Position of CNT field. | |
PWM_SEQ_ENDDELAY_CNT_Msk = 0xffffff // Bit mask of CNT field. | |
// PSEL.OUT: Description collection[0]: Output pin select for PWM channel 0 | |
PWM_PSEL_OUT_PIN_Pos = 0x0 // Position of PIN field. | |
PWM_PSEL_OUT_PIN_Msk = 0x1f // Bit mask of PIN field. | |
PWM_PSEL_OUT_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
PWM_PSEL_OUT_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
PWM_PSEL_OUT_CONNECT = 0x80000000 // Bit CONNECT. | |
PWM_PSEL_OUT_CONNECT_Disconnected = 0x1 // Disconnect | |
PWM_PSEL_OUT_CONNECT_Connected = 0x0 // Connect | |
) | |
// Bitfields for PDM: Pulse Density Modulation (Digital Microphone) Interface | |
const ( | |
// INTEN: Enable or disable interrupt | |
PDM_INTEN_STARTED_Pos = 0x0 // Position of STARTED field. | |
PDM_INTEN_STARTED_Msk = 0x1 // Bit mask of STARTED field. | |
PDM_INTEN_STARTED = 0x1 // Bit STARTED. | |
PDM_INTEN_STARTED_Disabled = 0x0 // Disable | |
PDM_INTEN_STARTED_Enabled = 0x1 // Enable | |
PDM_INTEN_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
PDM_INTEN_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
PDM_INTEN_STOPPED = 0x2 // Bit STOPPED. | |
PDM_INTEN_STOPPED_Disabled = 0x0 // Disable | |
PDM_INTEN_STOPPED_Enabled = 0x1 // Enable | |
PDM_INTEN_END_Pos = 0x2 // Position of END field. | |
PDM_INTEN_END_Msk = 0x4 // Bit mask of END field. | |
PDM_INTEN_END = 0x4 // Bit END. | |
PDM_INTEN_END_Disabled = 0x0 // Disable | |
PDM_INTEN_END_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
PDM_INTENSET_STARTED_Pos = 0x0 // Position of STARTED field. | |
PDM_INTENSET_STARTED_Msk = 0x1 // Bit mask of STARTED field. | |
PDM_INTENSET_STARTED = 0x1 // Bit STARTED. | |
PDM_INTENSET_STARTED_Disabled = 0x0 // Read: Disabled | |
PDM_INTENSET_STARTED_Enabled = 0x1 // Read: Enabled | |
PDM_INTENSET_STARTED_Set = 0x1 // Enable | |
PDM_INTENSET_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
PDM_INTENSET_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
PDM_INTENSET_STOPPED = 0x2 // Bit STOPPED. | |
PDM_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
PDM_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
PDM_INTENSET_STOPPED_Set = 0x1 // Enable | |
PDM_INTENSET_END_Pos = 0x2 // Position of END field. | |
PDM_INTENSET_END_Msk = 0x4 // Bit mask of END field. | |
PDM_INTENSET_END = 0x4 // Bit END. | |
PDM_INTENSET_END_Disabled = 0x0 // Read: Disabled | |
PDM_INTENSET_END_Enabled = 0x1 // Read: Enabled | |
PDM_INTENSET_END_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
PDM_INTENCLR_STARTED_Pos = 0x0 // Position of STARTED field. | |
PDM_INTENCLR_STARTED_Msk = 0x1 // Bit mask of STARTED field. | |
PDM_INTENCLR_STARTED = 0x1 // Bit STARTED. | |
PDM_INTENCLR_STARTED_Disabled = 0x0 // Read: Disabled | |
PDM_INTENCLR_STARTED_Enabled = 0x1 // Read: Enabled | |
PDM_INTENCLR_STARTED_Clear = 0x1 // Disable | |
PDM_INTENCLR_STOPPED_Pos = 0x1 // Position of STOPPED field. | |
PDM_INTENCLR_STOPPED_Msk = 0x2 // Bit mask of STOPPED field. | |
PDM_INTENCLR_STOPPED = 0x2 // Bit STOPPED. | |
PDM_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
PDM_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
PDM_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
PDM_INTENCLR_END_Pos = 0x2 // Position of END field. | |
PDM_INTENCLR_END_Msk = 0x4 // Bit mask of END field. | |
PDM_INTENCLR_END = 0x4 // Bit END. | |
PDM_INTENCLR_END_Disabled = 0x0 // Read: Disabled | |
PDM_INTENCLR_END_Enabled = 0x1 // Read: Enabled | |
PDM_INTENCLR_END_Clear = 0x1 // Disable | |
// ENABLE: PDM module enable register | |
PDM_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
PDM_ENABLE_ENABLE_Msk = 0x1 // Bit mask of ENABLE field. | |
PDM_ENABLE_ENABLE = 0x1 // Bit ENABLE. | |
PDM_ENABLE_ENABLE_Disabled = 0x0 // Disable | |
PDM_ENABLE_ENABLE_Enabled = 0x1 // Enable | |
// PDMCLKCTRL: PDM clock generator control | |
PDM_PDMCLKCTRL_FREQ_Pos = 0x0 // Position of FREQ field. | |
PDM_PDMCLKCTRL_FREQ_Msk = 0xffffffff // Bit mask of FREQ field. | |
PDM_PDMCLKCTRL_FREQ_1000K = 0x8000000 // PDM_CLK = 32 MHz / 32 = 1.000 MHz | |
PDM_PDMCLKCTRL_FREQ_Default = 0x8400000 // PDM_CLK = 32 MHz / 31 = 1.032 MHz | |
PDM_PDMCLKCTRL_FREQ_1067K = 0x8800000 // PDM_CLK = 32 MHz / 30 = 1.067 MHz | |
// MODE: Defines the routing of the connected PDM microphones' signals | |
PDM_MODE_OPERATION_Pos = 0x0 // Position of OPERATION field. | |
PDM_MODE_OPERATION_Msk = 0x1 // Bit mask of OPERATION field. | |
PDM_MODE_OPERATION = 0x1 // Bit OPERATION. | |
PDM_MODE_OPERATION_Stereo = 0x0 // Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0] | |
PDM_MODE_OPERATION_Mono = 0x1 // Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0] | |
PDM_MODE_EDGE_Pos = 0x1 // Position of EDGE field. | |
PDM_MODE_EDGE_Msk = 0x2 // Bit mask of EDGE field. | |
PDM_MODE_EDGE = 0x2 // Bit EDGE. | |
PDM_MODE_EDGE_LeftFalling = 0x0 // Left (or mono) is sampled on falling edge of PDM_CLK | |
PDM_MODE_EDGE_LeftRising = 0x1 // Left (or mono) is sampled on rising edge of PDM_CLK | |
// GAINL: Left output gain adjustment | |
PDM_GAINL_GAINL_Pos = 0x0 // Position of GAINL field. | |
PDM_GAINL_GAINL_Msk = 0x7f // Bit mask of GAINL field. | |
PDM_GAINL_GAINL_MinGain = 0x0 // -20dB gain adjustment (minimum) | |
PDM_GAINL_GAINL_DefaultGain = 0x28 // 0dB gain adjustment ('2500 RMS' requirement) | |
PDM_GAINL_GAINL_MaxGain = 0x50 // +20dB gain adjustment (maximum) | |
// GAINR: Right output gain adjustment | |
PDM_GAINR_GAINR_Pos = 0x0 // Position of GAINR field. | |
PDM_GAINR_GAINR_Msk = 0xff // Bit mask of GAINR field. | |
PDM_GAINR_GAINR_MinGain = 0x0 // -20dB gain adjustment (minimum) | |
PDM_GAINR_GAINR_DefaultGain = 0x28 // 0dB gain adjustment ('2500 RMS' requirement) | |
PDM_GAINR_GAINR_MaxGain = 0x50 // +20dB gain adjustment (maximum) | |
// PSEL.CLK: Pin number configuration for PDM CLK signal | |
PDM_PSEL_CLK_PIN_Pos = 0x0 // Position of PIN field. | |
PDM_PSEL_CLK_PIN_Msk = 0x1f // Bit mask of PIN field. | |
PDM_PSEL_CLK_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
PDM_PSEL_CLK_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
PDM_PSEL_CLK_CONNECT = 0x80000000 // Bit CONNECT. | |
PDM_PSEL_CLK_CONNECT_Disconnected = 0x1 // Disconnect | |
PDM_PSEL_CLK_CONNECT_Connected = 0x0 // Connect | |
// PSEL.DIN: Pin number configuration for PDM DIN signal | |
PDM_PSEL_DIN_PIN_Pos = 0x0 // Position of PIN field. | |
PDM_PSEL_DIN_PIN_Msk = 0x1f // Bit mask of PIN field. | |
PDM_PSEL_DIN_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
PDM_PSEL_DIN_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
PDM_PSEL_DIN_CONNECT = 0x80000000 // Bit CONNECT. | |
PDM_PSEL_DIN_CONNECT_Disconnected = 0x1 // Disconnect | |
PDM_PSEL_DIN_CONNECT_Connected = 0x0 // Connect | |
// SAMPLE.PTR: RAM address pointer to write samples to with EasyDMA | |
PDM_SAMPLE_PTR_SAMPLEPTR_Pos = 0x0 // Position of SAMPLEPTR field. | |
PDM_SAMPLE_PTR_SAMPLEPTR_Msk = 0xffffffff // Bit mask of SAMPLEPTR field. | |
// SAMPLE.MAXCNT: Number of samples to allocate memory for in EasyDMA mode | |
PDM_SAMPLE_MAXCNT_BUFFSIZE_Pos = 0x0 // Position of BUFFSIZE field. | |
PDM_SAMPLE_MAXCNT_BUFFSIZE_Msk = 0x7fff // Bit mask of BUFFSIZE field. | |
) | |
// Bitfields for NVMC: Non Volatile Memory Controller | |
const ( | |
// READY: Ready flag | |
NVMC_READY_READY_Pos = 0x0 // Position of READY field. | |
NVMC_READY_READY_Msk = 0x1 // Bit mask of READY field. | |
NVMC_READY_READY = 0x1 // Bit READY. | |
NVMC_READY_READY_Busy = 0x0 // NVMC is busy (on-going write or erase operation) | |
NVMC_READY_READY_Ready = 0x1 // NVMC is ready | |
// CONFIG: Configuration register | |
NVMC_CONFIG_WEN_Pos = 0x0 // Position of WEN field. | |
NVMC_CONFIG_WEN_Msk = 0x3 // Bit mask of WEN field. | |
NVMC_CONFIG_WEN_Ren = 0x0 // Read only access | |
NVMC_CONFIG_WEN_Wen = 0x1 // Write Enabled | |
NVMC_CONFIG_WEN_Een = 0x2 // Erase enabled | |
// ERASEPAGE: Register for erasing a page in Code area | |
NVMC_ERASEPAGE_ERASEPAGE_Pos = 0x0 // Position of ERASEPAGE field. | |
NVMC_ERASEPAGE_ERASEPAGE_Msk = 0xffffffff // Bit mask of ERASEPAGE field. | |
// ERASEPCR1: Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE. | |
NVMC_ERASEPCR1_ERASEPCR1_Pos = 0x0 // Position of ERASEPCR1 field. | |
NVMC_ERASEPCR1_ERASEPCR1_Msk = 0xffffffff // Bit mask of ERASEPCR1 field. | |
// ERASEALL: Register for erasing all non-volatile user memory | |
NVMC_ERASEALL_ERASEALL_Pos = 0x0 // Position of ERASEALL field. | |
NVMC_ERASEALL_ERASEALL_Msk = 0x1 // Bit mask of ERASEALL field. | |
NVMC_ERASEALL_ERASEALL = 0x1 // Bit ERASEALL. | |
NVMC_ERASEALL_ERASEALL_NoOperation = 0x0 // No operation | |
NVMC_ERASEALL_ERASEALL_Erase = 0x1 // Start chip erase | |
// ERASEPCR0: Deprecated register - Register for erasing a page in Code area. Equivalent to ERASEPAGE. | |
NVMC_ERASEPCR0_ERASEPCR0_Pos = 0x0 // Position of ERASEPCR0 field. | |
NVMC_ERASEPCR0_ERASEPCR0_Msk = 0xffffffff // Bit mask of ERASEPCR0 field. | |
// ERASEUICR: Register for erasing User Information Configuration Registers | |
NVMC_ERASEUICR_ERASEUICR_Pos = 0x0 // Position of ERASEUICR field. | |
NVMC_ERASEUICR_ERASEUICR_Msk = 0x1 // Bit mask of ERASEUICR field. | |
NVMC_ERASEUICR_ERASEUICR = 0x1 // Bit ERASEUICR. | |
NVMC_ERASEUICR_ERASEUICR_NoOperation = 0x0 // No operation | |
NVMC_ERASEUICR_ERASEUICR_Erase = 0x1 // Start erase of UICR | |
// ICACHECNF: I-Code cache configuration register. | |
NVMC_ICACHECNF_CACHEEN_Pos = 0x0 // Position of CACHEEN field. | |
NVMC_ICACHECNF_CACHEEN_Msk = 0x1 // Bit mask of CACHEEN field. | |
NVMC_ICACHECNF_CACHEEN = 0x1 // Bit CACHEEN. | |
NVMC_ICACHECNF_CACHEEN_Disabled = 0x0 // Disable cache. Invalidates all cache entries. | |
NVMC_ICACHECNF_CACHEEN_Enabled = 0x1 // Enable cache | |
NVMC_ICACHECNF_CACHEPROFEN_Pos = 0x8 // Position of CACHEPROFEN field. | |
NVMC_ICACHECNF_CACHEPROFEN_Msk = 0x100 // Bit mask of CACHEPROFEN field. | |
NVMC_ICACHECNF_CACHEPROFEN = 0x100 // Bit CACHEPROFEN. | |
NVMC_ICACHECNF_CACHEPROFEN_Disabled = 0x0 // Disable cache profiling | |
NVMC_ICACHECNF_CACHEPROFEN_Enabled = 0x1 // Enable cache profiling | |
// IHIT: I-Code cache hit counter. | |
NVMC_IHIT_HITS_Pos = 0x0 // Position of HITS field. | |
NVMC_IHIT_HITS_Msk = 0xffffffff // Bit mask of HITS field. | |
// IMISS: I-Code cache miss counter. | |
NVMC_IMISS_MISSES_Pos = 0x0 // Position of MISSES field. | |
NVMC_IMISS_MISSES_Msk = 0xffffffff // Bit mask of MISSES field. | |
) | |
// Bitfields for PPI: Programmable Peripheral Interconnect | |
const ( | |
// TASKS_CHG.EN: Description cluster[0]: Enable channel group 0 | |
// TASKS_CHG.DIS: Description cluster[0]: Disable channel group 0 | |
// CHEN: Channel enable register | |
PPI_CHEN_CH0_Pos = 0x0 // Position of CH0 field. | |
PPI_CHEN_CH0_Msk = 0x1 // Bit mask of CH0 field. | |
PPI_CHEN_CH0 = 0x1 // Bit CH0. | |
PPI_CHEN_CH0_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH0_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH1_Pos = 0x1 // Position of CH1 field. | |
PPI_CHEN_CH1_Msk = 0x2 // Bit mask of CH1 field. | |
PPI_CHEN_CH1 = 0x2 // Bit CH1. | |
PPI_CHEN_CH1_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH1_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH2_Pos = 0x2 // Position of CH2 field. | |
PPI_CHEN_CH2_Msk = 0x4 // Bit mask of CH2 field. | |
PPI_CHEN_CH2 = 0x4 // Bit CH2. | |
PPI_CHEN_CH2_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH2_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH3_Pos = 0x3 // Position of CH3 field. | |
PPI_CHEN_CH3_Msk = 0x8 // Bit mask of CH3 field. | |
PPI_CHEN_CH3 = 0x8 // Bit CH3. | |
PPI_CHEN_CH3_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH3_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH4_Pos = 0x4 // Position of CH4 field. | |
PPI_CHEN_CH4_Msk = 0x10 // Bit mask of CH4 field. | |
PPI_CHEN_CH4 = 0x10 // Bit CH4. | |
PPI_CHEN_CH4_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH4_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH5_Pos = 0x5 // Position of CH5 field. | |
PPI_CHEN_CH5_Msk = 0x20 // Bit mask of CH5 field. | |
PPI_CHEN_CH5 = 0x20 // Bit CH5. | |
PPI_CHEN_CH5_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH5_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH6_Pos = 0x6 // Position of CH6 field. | |
PPI_CHEN_CH6_Msk = 0x40 // Bit mask of CH6 field. | |
PPI_CHEN_CH6 = 0x40 // Bit CH6. | |
PPI_CHEN_CH6_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH6_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH7_Pos = 0x7 // Position of CH7 field. | |
PPI_CHEN_CH7_Msk = 0x80 // Bit mask of CH7 field. | |
PPI_CHEN_CH7 = 0x80 // Bit CH7. | |
PPI_CHEN_CH7_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH7_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH8_Pos = 0x8 // Position of CH8 field. | |
PPI_CHEN_CH8_Msk = 0x100 // Bit mask of CH8 field. | |
PPI_CHEN_CH8 = 0x100 // Bit CH8. | |
PPI_CHEN_CH8_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH8_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH9_Pos = 0x9 // Position of CH9 field. | |
PPI_CHEN_CH9_Msk = 0x200 // Bit mask of CH9 field. | |
PPI_CHEN_CH9 = 0x200 // Bit CH9. | |
PPI_CHEN_CH9_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH9_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH10_Pos = 0xa // Position of CH10 field. | |
PPI_CHEN_CH10_Msk = 0x400 // Bit mask of CH10 field. | |
PPI_CHEN_CH10 = 0x400 // Bit CH10. | |
PPI_CHEN_CH10_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH10_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH11_Pos = 0xb // Position of CH11 field. | |
PPI_CHEN_CH11_Msk = 0x800 // Bit mask of CH11 field. | |
PPI_CHEN_CH11 = 0x800 // Bit CH11. | |
PPI_CHEN_CH11_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH11_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH12_Pos = 0xc // Position of CH12 field. | |
PPI_CHEN_CH12_Msk = 0x1000 // Bit mask of CH12 field. | |
PPI_CHEN_CH12 = 0x1000 // Bit CH12. | |
PPI_CHEN_CH12_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH12_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH13_Pos = 0xd // Position of CH13 field. | |
PPI_CHEN_CH13_Msk = 0x2000 // Bit mask of CH13 field. | |
PPI_CHEN_CH13 = 0x2000 // Bit CH13. | |
PPI_CHEN_CH13_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH13_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH14_Pos = 0xe // Position of CH14 field. | |
PPI_CHEN_CH14_Msk = 0x4000 // Bit mask of CH14 field. | |
PPI_CHEN_CH14 = 0x4000 // Bit CH14. | |
PPI_CHEN_CH14_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH14_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH15_Pos = 0xf // Position of CH15 field. | |
PPI_CHEN_CH15_Msk = 0x8000 // Bit mask of CH15 field. | |
PPI_CHEN_CH15 = 0x8000 // Bit CH15. | |
PPI_CHEN_CH15_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH15_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH16_Pos = 0x10 // Position of CH16 field. | |
PPI_CHEN_CH16_Msk = 0x10000 // Bit mask of CH16 field. | |
PPI_CHEN_CH16 = 0x10000 // Bit CH16. | |
PPI_CHEN_CH16_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH16_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH17_Pos = 0x11 // Position of CH17 field. | |
PPI_CHEN_CH17_Msk = 0x20000 // Bit mask of CH17 field. | |
PPI_CHEN_CH17 = 0x20000 // Bit CH17. | |
PPI_CHEN_CH17_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH17_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH18_Pos = 0x12 // Position of CH18 field. | |
PPI_CHEN_CH18_Msk = 0x40000 // Bit mask of CH18 field. | |
PPI_CHEN_CH18 = 0x40000 // Bit CH18. | |
PPI_CHEN_CH18_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH18_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH19_Pos = 0x13 // Position of CH19 field. | |
PPI_CHEN_CH19_Msk = 0x80000 // Bit mask of CH19 field. | |
PPI_CHEN_CH19 = 0x80000 // Bit CH19. | |
PPI_CHEN_CH19_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH19_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH20_Pos = 0x14 // Position of CH20 field. | |
PPI_CHEN_CH20_Msk = 0x100000 // Bit mask of CH20 field. | |
PPI_CHEN_CH20 = 0x100000 // Bit CH20. | |
PPI_CHEN_CH20_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH20_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH21_Pos = 0x15 // Position of CH21 field. | |
PPI_CHEN_CH21_Msk = 0x200000 // Bit mask of CH21 field. | |
PPI_CHEN_CH21 = 0x200000 // Bit CH21. | |
PPI_CHEN_CH21_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH21_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH22_Pos = 0x16 // Position of CH22 field. | |
PPI_CHEN_CH22_Msk = 0x400000 // Bit mask of CH22 field. | |
PPI_CHEN_CH22 = 0x400000 // Bit CH22. | |
PPI_CHEN_CH22_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH22_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH23_Pos = 0x17 // Position of CH23 field. | |
PPI_CHEN_CH23_Msk = 0x800000 // Bit mask of CH23 field. | |
PPI_CHEN_CH23 = 0x800000 // Bit CH23. | |
PPI_CHEN_CH23_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH23_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH24_Pos = 0x18 // Position of CH24 field. | |
PPI_CHEN_CH24_Msk = 0x1000000 // Bit mask of CH24 field. | |
PPI_CHEN_CH24 = 0x1000000 // Bit CH24. | |
PPI_CHEN_CH24_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH24_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH25_Pos = 0x19 // Position of CH25 field. | |
PPI_CHEN_CH25_Msk = 0x2000000 // Bit mask of CH25 field. | |
PPI_CHEN_CH25 = 0x2000000 // Bit CH25. | |
PPI_CHEN_CH25_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH25_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH26_Pos = 0x1a // Position of CH26 field. | |
PPI_CHEN_CH26_Msk = 0x4000000 // Bit mask of CH26 field. | |
PPI_CHEN_CH26 = 0x4000000 // Bit CH26. | |
PPI_CHEN_CH26_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH26_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH27_Pos = 0x1b // Position of CH27 field. | |
PPI_CHEN_CH27_Msk = 0x8000000 // Bit mask of CH27 field. | |
PPI_CHEN_CH27 = 0x8000000 // Bit CH27. | |
PPI_CHEN_CH27_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH27_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH28_Pos = 0x1c // Position of CH28 field. | |
PPI_CHEN_CH28_Msk = 0x10000000 // Bit mask of CH28 field. | |
PPI_CHEN_CH28 = 0x10000000 // Bit CH28. | |
PPI_CHEN_CH28_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH28_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH29_Pos = 0x1d // Position of CH29 field. | |
PPI_CHEN_CH29_Msk = 0x20000000 // Bit mask of CH29 field. | |
PPI_CHEN_CH29 = 0x20000000 // Bit CH29. | |
PPI_CHEN_CH29_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH29_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH30_Pos = 0x1e // Position of CH30 field. | |
PPI_CHEN_CH30_Msk = 0x40000000 // Bit mask of CH30 field. | |
PPI_CHEN_CH30 = 0x40000000 // Bit CH30. | |
PPI_CHEN_CH30_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH30_Enabled = 0x1 // Enable channel | |
PPI_CHEN_CH31_Pos = 0x1f // Position of CH31 field. | |
PPI_CHEN_CH31_Msk = 0x80000000 // Bit mask of CH31 field. | |
PPI_CHEN_CH31 = 0x80000000 // Bit CH31. | |
PPI_CHEN_CH31_Disabled = 0x0 // Disable channel | |
PPI_CHEN_CH31_Enabled = 0x1 // Enable channel | |
// CHENSET: Channel enable set register | |
PPI_CHENSET_CH0_Pos = 0x0 // Position of CH0 field. | |
PPI_CHENSET_CH0_Msk = 0x1 // Bit mask of CH0 field. | |
PPI_CHENSET_CH0 = 0x1 // Bit CH0. | |
PPI_CHENSET_CH0_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH0_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH0_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH1_Pos = 0x1 // Position of CH1 field. | |
PPI_CHENSET_CH1_Msk = 0x2 // Bit mask of CH1 field. | |
PPI_CHENSET_CH1 = 0x2 // Bit CH1. | |
PPI_CHENSET_CH1_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH1_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH1_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH2_Pos = 0x2 // Position of CH2 field. | |
PPI_CHENSET_CH2_Msk = 0x4 // Bit mask of CH2 field. | |
PPI_CHENSET_CH2 = 0x4 // Bit CH2. | |
PPI_CHENSET_CH2_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH2_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH2_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH3_Pos = 0x3 // Position of CH3 field. | |
PPI_CHENSET_CH3_Msk = 0x8 // Bit mask of CH3 field. | |
PPI_CHENSET_CH3 = 0x8 // Bit CH3. | |
PPI_CHENSET_CH3_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH3_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH3_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH4_Pos = 0x4 // Position of CH4 field. | |
PPI_CHENSET_CH4_Msk = 0x10 // Bit mask of CH4 field. | |
PPI_CHENSET_CH4 = 0x10 // Bit CH4. | |
PPI_CHENSET_CH4_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH4_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH4_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH5_Pos = 0x5 // Position of CH5 field. | |
PPI_CHENSET_CH5_Msk = 0x20 // Bit mask of CH5 field. | |
PPI_CHENSET_CH5 = 0x20 // Bit CH5. | |
PPI_CHENSET_CH5_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH5_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH5_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH6_Pos = 0x6 // Position of CH6 field. | |
PPI_CHENSET_CH6_Msk = 0x40 // Bit mask of CH6 field. | |
PPI_CHENSET_CH6 = 0x40 // Bit CH6. | |
PPI_CHENSET_CH6_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH6_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH6_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH7_Pos = 0x7 // Position of CH7 field. | |
PPI_CHENSET_CH7_Msk = 0x80 // Bit mask of CH7 field. | |
PPI_CHENSET_CH7 = 0x80 // Bit CH7. | |
PPI_CHENSET_CH7_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH7_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH7_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH8_Pos = 0x8 // Position of CH8 field. | |
PPI_CHENSET_CH8_Msk = 0x100 // Bit mask of CH8 field. | |
PPI_CHENSET_CH8 = 0x100 // Bit CH8. | |
PPI_CHENSET_CH8_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH8_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH8_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH9_Pos = 0x9 // Position of CH9 field. | |
PPI_CHENSET_CH9_Msk = 0x200 // Bit mask of CH9 field. | |
PPI_CHENSET_CH9 = 0x200 // Bit CH9. | |
PPI_CHENSET_CH9_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH9_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH9_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH10_Pos = 0xa // Position of CH10 field. | |
PPI_CHENSET_CH10_Msk = 0x400 // Bit mask of CH10 field. | |
PPI_CHENSET_CH10 = 0x400 // Bit CH10. | |
PPI_CHENSET_CH10_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH10_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH10_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH11_Pos = 0xb // Position of CH11 field. | |
PPI_CHENSET_CH11_Msk = 0x800 // Bit mask of CH11 field. | |
PPI_CHENSET_CH11 = 0x800 // Bit CH11. | |
PPI_CHENSET_CH11_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH11_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH11_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH12_Pos = 0xc // Position of CH12 field. | |
PPI_CHENSET_CH12_Msk = 0x1000 // Bit mask of CH12 field. | |
PPI_CHENSET_CH12 = 0x1000 // Bit CH12. | |
PPI_CHENSET_CH12_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH12_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH12_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH13_Pos = 0xd // Position of CH13 field. | |
PPI_CHENSET_CH13_Msk = 0x2000 // Bit mask of CH13 field. | |
PPI_CHENSET_CH13 = 0x2000 // Bit CH13. | |
PPI_CHENSET_CH13_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH13_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH13_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH14_Pos = 0xe // Position of CH14 field. | |
PPI_CHENSET_CH14_Msk = 0x4000 // Bit mask of CH14 field. | |
PPI_CHENSET_CH14 = 0x4000 // Bit CH14. | |
PPI_CHENSET_CH14_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH14_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH14_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH15_Pos = 0xf // Position of CH15 field. | |
PPI_CHENSET_CH15_Msk = 0x8000 // Bit mask of CH15 field. | |
PPI_CHENSET_CH15 = 0x8000 // Bit CH15. | |
PPI_CHENSET_CH15_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH15_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH15_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH16_Pos = 0x10 // Position of CH16 field. | |
PPI_CHENSET_CH16_Msk = 0x10000 // Bit mask of CH16 field. | |
PPI_CHENSET_CH16 = 0x10000 // Bit CH16. | |
PPI_CHENSET_CH16_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH16_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH16_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH17_Pos = 0x11 // Position of CH17 field. | |
PPI_CHENSET_CH17_Msk = 0x20000 // Bit mask of CH17 field. | |
PPI_CHENSET_CH17 = 0x20000 // Bit CH17. | |
PPI_CHENSET_CH17_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH17_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH17_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH18_Pos = 0x12 // Position of CH18 field. | |
PPI_CHENSET_CH18_Msk = 0x40000 // Bit mask of CH18 field. | |
PPI_CHENSET_CH18 = 0x40000 // Bit CH18. | |
PPI_CHENSET_CH18_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH18_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH18_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH19_Pos = 0x13 // Position of CH19 field. | |
PPI_CHENSET_CH19_Msk = 0x80000 // Bit mask of CH19 field. | |
PPI_CHENSET_CH19 = 0x80000 // Bit CH19. | |
PPI_CHENSET_CH19_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH19_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH19_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH20_Pos = 0x14 // Position of CH20 field. | |
PPI_CHENSET_CH20_Msk = 0x100000 // Bit mask of CH20 field. | |
PPI_CHENSET_CH20 = 0x100000 // Bit CH20. | |
PPI_CHENSET_CH20_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH20_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH20_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH21_Pos = 0x15 // Position of CH21 field. | |
PPI_CHENSET_CH21_Msk = 0x200000 // Bit mask of CH21 field. | |
PPI_CHENSET_CH21 = 0x200000 // Bit CH21. | |
PPI_CHENSET_CH21_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH21_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH21_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH22_Pos = 0x16 // Position of CH22 field. | |
PPI_CHENSET_CH22_Msk = 0x400000 // Bit mask of CH22 field. | |
PPI_CHENSET_CH22 = 0x400000 // Bit CH22. | |
PPI_CHENSET_CH22_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH22_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH22_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH23_Pos = 0x17 // Position of CH23 field. | |
PPI_CHENSET_CH23_Msk = 0x800000 // Bit mask of CH23 field. | |
PPI_CHENSET_CH23 = 0x800000 // Bit CH23. | |
PPI_CHENSET_CH23_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH23_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH23_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH24_Pos = 0x18 // Position of CH24 field. | |
PPI_CHENSET_CH24_Msk = 0x1000000 // Bit mask of CH24 field. | |
PPI_CHENSET_CH24 = 0x1000000 // Bit CH24. | |
PPI_CHENSET_CH24_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH24_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH24_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH25_Pos = 0x19 // Position of CH25 field. | |
PPI_CHENSET_CH25_Msk = 0x2000000 // Bit mask of CH25 field. | |
PPI_CHENSET_CH25 = 0x2000000 // Bit CH25. | |
PPI_CHENSET_CH25_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH25_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH25_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH26_Pos = 0x1a // Position of CH26 field. | |
PPI_CHENSET_CH26_Msk = 0x4000000 // Bit mask of CH26 field. | |
PPI_CHENSET_CH26 = 0x4000000 // Bit CH26. | |
PPI_CHENSET_CH26_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH26_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH26_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH27_Pos = 0x1b // Position of CH27 field. | |
PPI_CHENSET_CH27_Msk = 0x8000000 // Bit mask of CH27 field. | |
PPI_CHENSET_CH27 = 0x8000000 // Bit CH27. | |
PPI_CHENSET_CH27_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH27_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH27_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH28_Pos = 0x1c // Position of CH28 field. | |
PPI_CHENSET_CH28_Msk = 0x10000000 // Bit mask of CH28 field. | |
PPI_CHENSET_CH28 = 0x10000000 // Bit CH28. | |
PPI_CHENSET_CH28_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH28_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH28_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH29_Pos = 0x1d // Position of CH29 field. | |
PPI_CHENSET_CH29_Msk = 0x20000000 // Bit mask of CH29 field. | |
PPI_CHENSET_CH29 = 0x20000000 // Bit CH29. | |
PPI_CHENSET_CH29_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH29_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH29_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH30_Pos = 0x1e // Position of CH30 field. | |
PPI_CHENSET_CH30_Msk = 0x40000000 // Bit mask of CH30 field. | |
PPI_CHENSET_CH30 = 0x40000000 // Bit CH30. | |
PPI_CHENSET_CH30_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH30_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH30_Set = 0x1 // Write: Enable channel | |
PPI_CHENSET_CH31_Pos = 0x1f // Position of CH31 field. | |
PPI_CHENSET_CH31_Msk = 0x80000000 // Bit mask of CH31 field. | |
PPI_CHENSET_CH31 = 0x80000000 // Bit CH31. | |
PPI_CHENSET_CH31_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENSET_CH31_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENSET_CH31_Set = 0x1 // Write: Enable channel | |
// CHENCLR: Channel enable clear register | |
PPI_CHENCLR_CH0_Pos = 0x0 // Position of CH0 field. | |
PPI_CHENCLR_CH0_Msk = 0x1 // Bit mask of CH0 field. | |
PPI_CHENCLR_CH0 = 0x1 // Bit CH0. | |
PPI_CHENCLR_CH0_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH0_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH0_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH1_Pos = 0x1 // Position of CH1 field. | |
PPI_CHENCLR_CH1_Msk = 0x2 // Bit mask of CH1 field. | |
PPI_CHENCLR_CH1 = 0x2 // Bit CH1. | |
PPI_CHENCLR_CH1_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH1_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH1_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH2_Pos = 0x2 // Position of CH2 field. | |
PPI_CHENCLR_CH2_Msk = 0x4 // Bit mask of CH2 field. | |
PPI_CHENCLR_CH2 = 0x4 // Bit CH2. | |
PPI_CHENCLR_CH2_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH2_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH2_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH3_Pos = 0x3 // Position of CH3 field. | |
PPI_CHENCLR_CH3_Msk = 0x8 // Bit mask of CH3 field. | |
PPI_CHENCLR_CH3 = 0x8 // Bit CH3. | |
PPI_CHENCLR_CH3_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH3_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH3_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH4_Pos = 0x4 // Position of CH4 field. | |
PPI_CHENCLR_CH4_Msk = 0x10 // Bit mask of CH4 field. | |
PPI_CHENCLR_CH4 = 0x10 // Bit CH4. | |
PPI_CHENCLR_CH4_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH4_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH4_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH5_Pos = 0x5 // Position of CH5 field. | |
PPI_CHENCLR_CH5_Msk = 0x20 // Bit mask of CH5 field. | |
PPI_CHENCLR_CH5 = 0x20 // Bit CH5. | |
PPI_CHENCLR_CH5_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH5_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH5_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH6_Pos = 0x6 // Position of CH6 field. | |
PPI_CHENCLR_CH6_Msk = 0x40 // Bit mask of CH6 field. | |
PPI_CHENCLR_CH6 = 0x40 // Bit CH6. | |
PPI_CHENCLR_CH6_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH6_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH6_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH7_Pos = 0x7 // Position of CH7 field. | |
PPI_CHENCLR_CH7_Msk = 0x80 // Bit mask of CH7 field. | |
PPI_CHENCLR_CH7 = 0x80 // Bit CH7. | |
PPI_CHENCLR_CH7_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH7_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH7_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH8_Pos = 0x8 // Position of CH8 field. | |
PPI_CHENCLR_CH8_Msk = 0x100 // Bit mask of CH8 field. | |
PPI_CHENCLR_CH8 = 0x100 // Bit CH8. | |
PPI_CHENCLR_CH8_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH8_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH8_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH9_Pos = 0x9 // Position of CH9 field. | |
PPI_CHENCLR_CH9_Msk = 0x200 // Bit mask of CH9 field. | |
PPI_CHENCLR_CH9 = 0x200 // Bit CH9. | |
PPI_CHENCLR_CH9_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH9_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH9_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH10_Pos = 0xa // Position of CH10 field. | |
PPI_CHENCLR_CH10_Msk = 0x400 // Bit mask of CH10 field. | |
PPI_CHENCLR_CH10 = 0x400 // Bit CH10. | |
PPI_CHENCLR_CH10_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH10_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH10_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH11_Pos = 0xb // Position of CH11 field. | |
PPI_CHENCLR_CH11_Msk = 0x800 // Bit mask of CH11 field. | |
PPI_CHENCLR_CH11 = 0x800 // Bit CH11. | |
PPI_CHENCLR_CH11_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH11_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH11_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH12_Pos = 0xc // Position of CH12 field. | |
PPI_CHENCLR_CH12_Msk = 0x1000 // Bit mask of CH12 field. | |
PPI_CHENCLR_CH12 = 0x1000 // Bit CH12. | |
PPI_CHENCLR_CH12_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH12_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH12_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH13_Pos = 0xd // Position of CH13 field. | |
PPI_CHENCLR_CH13_Msk = 0x2000 // Bit mask of CH13 field. | |
PPI_CHENCLR_CH13 = 0x2000 // Bit CH13. | |
PPI_CHENCLR_CH13_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH13_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH13_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH14_Pos = 0xe // Position of CH14 field. | |
PPI_CHENCLR_CH14_Msk = 0x4000 // Bit mask of CH14 field. | |
PPI_CHENCLR_CH14 = 0x4000 // Bit CH14. | |
PPI_CHENCLR_CH14_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH14_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH14_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH15_Pos = 0xf // Position of CH15 field. | |
PPI_CHENCLR_CH15_Msk = 0x8000 // Bit mask of CH15 field. | |
PPI_CHENCLR_CH15 = 0x8000 // Bit CH15. | |
PPI_CHENCLR_CH15_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH15_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH15_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH16_Pos = 0x10 // Position of CH16 field. | |
PPI_CHENCLR_CH16_Msk = 0x10000 // Bit mask of CH16 field. | |
PPI_CHENCLR_CH16 = 0x10000 // Bit CH16. | |
PPI_CHENCLR_CH16_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH16_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH16_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH17_Pos = 0x11 // Position of CH17 field. | |
PPI_CHENCLR_CH17_Msk = 0x20000 // Bit mask of CH17 field. | |
PPI_CHENCLR_CH17 = 0x20000 // Bit CH17. | |
PPI_CHENCLR_CH17_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH17_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH17_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH18_Pos = 0x12 // Position of CH18 field. | |
PPI_CHENCLR_CH18_Msk = 0x40000 // Bit mask of CH18 field. | |
PPI_CHENCLR_CH18 = 0x40000 // Bit CH18. | |
PPI_CHENCLR_CH18_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH18_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH18_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH19_Pos = 0x13 // Position of CH19 field. | |
PPI_CHENCLR_CH19_Msk = 0x80000 // Bit mask of CH19 field. | |
PPI_CHENCLR_CH19 = 0x80000 // Bit CH19. | |
PPI_CHENCLR_CH19_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH19_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH19_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH20_Pos = 0x14 // Position of CH20 field. | |
PPI_CHENCLR_CH20_Msk = 0x100000 // Bit mask of CH20 field. | |
PPI_CHENCLR_CH20 = 0x100000 // Bit CH20. | |
PPI_CHENCLR_CH20_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH20_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH20_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH21_Pos = 0x15 // Position of CH21 field. | |
PPI_CHENCLR_CH21_Msk = 0x200000 // Bit mask of CH21 field. | |
PPI_CHENCLR_CH21 = 0x200000 // Bit CH21. | |
PPI_CHENCLR_CH21_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH21_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH21_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH22_Pos = 0x16 // Position of CH22 field. | |
PPI_CHENCLR_CH22_Msk = 0x400000 // Bit mask of CH22 field. | |
PPI_CHENCLR_CH22 = 0x400000 // Bit CH22. | |
PPI_CHENCLR_CH22_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH22_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH22_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH23_Pos = 0x17 // Position of CH23 field. | |
PPI_CHENCLR_CH23_Msk = 0x800000 // Bit mask of CH23 field. | |
PPI_CHENCLR_CH23 = 0x800000 // Bit CH23. | |
PPI_CHENCLR_CH23_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH23_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH23_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH24_Pos = 0x18 // Position of CH24 field. | |
PPI_CHENCLR_CH24_Msk = 0x1000000 // Bit mask of CH24 field. | |
PPI_CHENCLR_CH24 = 0x1000000 // Bit CH24. | |
PPI_CHENCLR_CH24_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH24_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH24_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH25_Pos = 0x19 // Position of CH25 field. | |
PPI_CHENCLR_CH25_Msk = 0x2000000 // Bit mask of CH25 field. | |
PPI_CHENCLR_CH25 = 0x2000000 // Bit CH25. | |
PPI_CHENCLR_CH25_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH25_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH25_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH26_Pos = 0x1a // Position of CH26 field. | |
PPI_CHENCLR_CH26_Msk = 0x4000000 // Bit mask of CH26 field. | |
PPI_CHENCLR_CH26 = 0x4000000 // Bit CH26. | |
PPI_CHENCLR_CH26_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH26_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH26_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH27_Pos = 0x1b // Position of CH27 field. | |
PPI_CHENCLR_CH27_Msk = 0x8000000 // Bit mask of CH27 field. | |
PPI_CHENCLR_CH27 = 0x8000000 // Bit CH27. | |
PPI_CHENCLR_CH27_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH27_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH27_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH28_Pos = 0x1c // Position of CH28 field. | |
PPI_CHENCLR_CH28_Msk = 0x10000000 // Bit mask of CH28 field. | |
PPI_CHENCLR_CH28 = 0x10000000 // Bit CH28. | |
PPI_CHENCLR_CH28_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH28_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH28_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH29_Pos = 0x1d // Position of CH29 field. | |
PPI_CHENCLR_CH29_Msk = 0x20000000 // Bit mask of CH29 field. | |
PPI_CHENCLR_CH29 = 0x20000000 // Bit CH29. | |
PPI_CHENCLR_CH29_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH29_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH29_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH30_Pos = 0x1e // Position of CH30 field. | |
PPI_CHENCLR_CH30_Msk = 0x40000000 // Bit mask of CH30 field. | |
PPI_CHENCLR_CH30 = 0x40000000 // Bit CH30. | |
PPI_CHENCLR_CH30_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH30_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH30_Clear = 0x1 // Write: disable channel | |
PPI_CHENCLR_CH31_Pos = 0x1f // Position of CH31 field. | |
PPI_CHENCLR_CH31_Msk = 0x80000000 // Bit mask of CH31 field. | |
PPI_CHENCLR_CH31 = 0x80000000 // Bit CH31. | |
PPI_CHENCLR_CH31_Disabled = 0x0 // Read: channel disabled | |
PPI_CHENCLR_CH31_Enabled = 0x1 // Read: channel enabled | |
PPI_CHENCLR_CH31_Clear = 0x1 // Write: disable channel | |
// CH.EEP: Description cluster[0]: Channel 0 event end-point | |
PPI_CH_EEP_EEP_Pos = 0x0 // Position of EEP field. | |
PPI_CH_EEP_EEP_Msk = 0xffffffff // Bit mask of EEP field. | |
// CH.TEP: Description cluster[0]: Channel 0 task end-point | |
PPI_CH_TEP_TEP_Pos = 0x0 // Position of TEP field. | |
PPI_CH_TEP_TEP_Msk = 0xffffffff // Bit mask of TEP field. | |
// CHG: Description collection[0]: Channel group 0 | |
PPI_CHG_CH0_Pos = 0x0 // Position of CH0 field. | |
PPI_CHG_CH0_Msk = 0x1 // Bit mask of CH0 field. | |
PPI_CHG_CH0 = 0x1 // Bit CH0. | |
PPI_CHG_CH0_Excluded = 0x0 // Exclude | |
PPI_CHG_CH0_Included = 0x1 // Include | |
PPI_CHG_CH1_Pos = 0x1 // Position of CH1 field. | |
PPI_CHG_CH1_Msk = 0x2 // Bit mask of CH1 field. | |
PPI_CHG_CH1 = 0x2 // Bit CH1. | |
PPI_CHG_CH1_Excluded = 0x0 // Exclude | |
PPI_CHG_CH1_Included = 0x1 // Include | |
PPI_CHG_CH2_Pos = 0x2 // Position of CH2 field. | |
PPI_CHG_CH2_Msk = 0x4 // Bit mask of CH2 field. | |
PPI_CHG_CH2 = 0x4 // Bit CH2. | |
PPI_CHG_CH2_Excluded = 0x0 // Exclude | |
PPI_CHG_CH2_Included = 0x1 // Include | |
PPI_CHG_CH3_Pos = 0x3 // Position of CH3 field. | |
PPI_CHG_CH3_Msk = 0x8 // Bit mask of CH3 field. | |
PPI_CHG_CH3 = 0x8 // Bit CH3. | |
PPI_CHG_CH3_Excluded = 0x0 // Exclude | |
PPI_CHG_CH3_Included = 0x1 // Include | |
PPI_CHG_CH4_Pos = 0x4 // Position of CH4 field. | |
PPI_CHG_CH4_Msk = 0x10 // Bit mask of CH4 field. | |
PPI_CHG_CH4 = 0x10 // Bit CH4. | |
PPI_CHG_CH4_Excluded = 0x0 // Exclude | |
PPI_CHG_CH4_Included = 0x1 // Include | |
PPI_CHG_CH5_Pos = 0x5 // Position of CH5 field. | |
PPI_CHG_CH5_Msk = 0x20 // Bit mask of CH5 field. | |
PPI_CHG_CH5 = 0x20 // Bit CH5. | |
PPI_CHG_CH5_Excluded = 0x0 // Exclude | |
PPI_CHG_CH5_Included = 0x1 // Include | |
PPI_CHG_CH6_Pos = 0x6 // Position of CH6 field. | |
PPI_CHG_CH6_Msk = 0x40 // Bit mask of CH6 field. | |
PPI_CHG_CH6 = 0x40 // Bit CH6. | |
PPI_CHG_CH6_Excluded = 0x0 // Exclude | |
PPI_CHG_CH6_Included = 0x1 // Include | |
PPI_CHG_CH7_Pos = 0x7 // Position of CH7 field. | |
PPI_CHG_CH7_Msk = 0x80 // Bit mask of CH7 field. | |
PPI_CHG_CH7 = 0x80 // Bit CH7. | |
PPI_CHG_CH7_Excluded = 0x0 // Exclude | |
PPI_CHG_CH7_Included = 0x1 // Include | |
PPI_CHG_CH8_Pos = 0x8 // Position of CH8 field. | |
PPI_CHG_CH8_Msk = 0x100 // Bit mask of CH8 field. | |
PPI_CHG_CH8 = 0x100 // Bit CH8. | |
PPI_CHG_CH8_Excluded = 0x0 // Exclude | |
PPI_CHG_CH8_Included = 0x1 // Include | |
PPI_CHG_CH9_Pos = 0x9 // Position of CH9 field. | |
PPI_CHG_CH9_Msk = 0x200 // Bit mask of CH9 field. | |
PPI_CHG_CH9 = 0x200 // Bit CH9. | |
PPI_CHG_CH9_Excluded = 0x0 // Exclude | |
PPI_CHG_CH9_Included = 0x1 // Include | |
PPI_CHG_CH10_Pos = 0xa // Position of CH10 field. | |
PPI_CHG_CH10_Msk = 0x400 // Bit mask of CH10 field. | |
PPI_CHG_CH10 = 0x400 // Bit CH10. | |
PPI_CHG_CH10_Excluded = 0x0 // Exclude | |
PPI_CHG_CH10_Included = 0x1 // Include | |
PPI_CHG_CH11_Pos = 0xb // Position of CH11 field. | |
PPI_CHG_CH11_Msk = 0x800 // Bit mask of CH11 field. | |
PPI_CHG_CH11 = 0x800 // Bit CH11. | |
PPI_CHG_CH11_Excluded = 0x0 // Exclude | |
PPI_CHG_CH11_Included = 0x1 // Include | |
PPI_CHG_CH12_Pos = 0xc // Position of CH12 field. | |
PPI_CHG_CH12_Msk = 0x1000 // Bit mask of CH12 field. | |
PPI_CHG_CH12 = 0x1000 // Bit CH12. | |
PPI_CHG_CH12_Excluded = 0x0 // Exclude | |
PPI_CHG_CH12_Included = 0x1 // Include | |
PPI_CHG_CH13_Pos = 0xd // Position of CH13 field. | |
PPI_CHG_CH13_Msk = 0x2000 // Bit mask of CH13 field. | |
PPI_CHG_CH13 = 0x2000 // Bit CH13. | |
PPI_CHG_CH13_Excluded = 0x0 // Exclude | |
PPI_CHG_CH13_Included = 0x1 // Include | |
PPI_CHG_CH14_Pos = 0xe // Position of CH14 field. | |
PPI_CHG_CH14_Msk = 0x4000 // Bit mask of CH14 field. | |
PPI_CHG_CH14 = 0x4000 // Bit CH14. | |
PPI_CHG_CH14_Excluded = 0x0 // Exclude | |
PPI_CHG_CH14_Included = 0x1 // Include | |
PPI_CHG_CH15_Pos = 0xf // Position of CH15 field. | |
PPI_CHG_CH15_Msk = 0x8000 // Bit mask of CH15 field. | |
PPI_CHG_CH15 = 0x8000 // Bit CH15. | |
PPI_CHG_CH15_Excluded = 0x0 // Exclude | |
PPI_CHG_CH15_Included = 0x1 // Include | |
PPI_CHG_CH16_Pos = 0x10 // Position of CH16 field. | |
PPI_CHG_CH16_Msk = 0x10000 // Bit mask of CH16 field. | |
PPI_CHG_CH16 = 0x10000 // Bit CH16. | |
PPI_CHG_CH16_Excluded = 0x0 // Exclude | |
PPI_CHG_CH16_Included = 0x1 // Include | |
PPI_CHG_CH17_Pos = 0x11 // Position of CH17 field. | |
PPI_CHG_CH17_Msk = 0x20000 // Bit mask of CH17 field. | |
PPI_CHG_CH17 = 0x20000 // Bit CH17. | |
PPI_CHG_CH17_Excluded = 0x0 // Exclude | |
PPI_CHG_CH17_Included = 0x1 // Include | |
PPI_CHG_CH18_Pos = 0x12 // Position of CH18 field. | |
PPI_CHG_CH18_Msk = 0x40000 // Bit mask of CH18 field. | |
PPI_CHG_CH18 = 0x40000 // Bit CH18. | |
PPI_CHG_CH18_Excluded = 0x0 // Exclude | |
PPI_CHG_CH18_Included = 0x1 // Include | |
PPI_CHG_CH19_Pos = 0x13 // Position of CH19 field. | |
PPI_CHG_CH19_Msk = 0x80000 // Bit mask of CH19 field. | |
PPI_CHG_CH19 = 0x80000 // Bit CH19. | |
PPI_CHG_CH19_Excluded = 0x0 // Exclude | |
PPI_CHG_CH19_Included = 0x1 // Include | |
PPI_CHG_CH20_Pos = 0x14 // Position of CH20 field. | |
PPI_CHG_CH20_Msk = 0x100000 // Bit mask of CH20 field. | |
PPI_CHG_CH20 = 0x100000 // Bit CH20. | |
PPI_CHG_CH20_Excluded = 0x0 // Exclude | |
PPI_CHG_CH20_Included = 0x1 // Include | |
PPI_CHG_CH21_Pos = 0x15 // Position of CH21 field. | |
PPI_CHG_CH21_Msk = 0x200000 // Bit mask of CH21 field. | |
PPI_CHG_CH21 = 0x200000 // Bit CH21. | |
PPI_CHG_CH21_Excluded = 0x0 // Exclude | |
PPI_CHG_CH21_Included = 0x1 // Include | |
PPI_CHG_CH22_Pos = 0x16 // Position of CH22 field. | |
PPI_CHG_CH22_Msk = 0x400000 // Bit mask of CH22 field. | |
PPI_CHG_CH22 = 0x400000 // Bit CH22. | |
PPI_CHG_CH22_Excluded = 0x0 // Exclude | |
PPI_CHG_CH22_Included = 0x1 // Include | |
PPI_CHG_CH23_Pos = 0x17 // Position of CH23 field. | |
PPI_CHG_CH23_Msk = 0x800000 // Bit mask of CH23 field. | |
PPI_CHG_CH23 = 0x800000 // Bit CH23. | |
PPI_CHG_CH23_Excluded = 0x0 // Exclude | |
PPI_CHG_CH23_Included = 0x1 // Include | |
PPI_CHG_CH24_Pos = 0x18 // Position of CH24 field. | |
PPI_CHG_CH24_Msk = 0x1000000 // Bit mask of CH24 field. | |
PPI_CHG_CH24 = 0x1000000 // Bit CH24. | |
PPI_CHG_CH24_Excluded = 0x0 // Exclude | |
PPI_CHG_CH24_Included = 0x1 // Include | |
PPI_CHG_CH25_Pos = 0x19 // Position of CH25 field. | |
PPI_CHG_CH25_Msk = 0x2000000 // Bit mask of CH25 field. | |
PPI_CHG_CH25 = 0x2000000 // Bit CH25. | |
PPI_CHG_CH25_Excluded = 0x0 // Exclude | |
PPI_CHG_CH25_Included = 0x1 // Include | |
PPI_CHG_CH26_Pos = 0x1a // Position of CH26 field. | |
PPI_CHG_CH26_Msk = 0x4000000 // Bit mask of CH26 field. | |
PPI_CHG_CH26 = 0x4000000 // Bit CH26. | |
PPI_CHG_CH26_Excluded = 0x0 // Exclude | |
PPI_CHG_CH26_Included = 0x1 // Include | |
PPI_CHG_CH27_Pos = 0x1b // Position of CH27 field. | |
PPI_CHG_CH27_Msk = 0x8000000 // Bit mask of CH27 field. | |
PPI_CHG_CH27 = 0x8000000 // Bit CH27. | |
PPI_CHG_CH27_Excluded = 0x0 // Exclude | |
PPI_CHG_CH27_Included = 0x1 // Include | |
PPI_CHG_CH28_Pos = 0x1c // Position of CH28 field. | |
PPI_CHG_CH28_Msk = 0x10000000 // Bit mask of CH28 field. | |
PPI_CHG_CH28 = 0x10000000 // Bit CH28. | |
PPI_CHG_CH28_Excluded = 0x0 // Exclude | |
PPI_CHG_CH28_Included = 0x1 // Include | |
PPI_CHG_CH29_Pos = 0x1d // Position of CH29 field. | |
PPI_CHG_CH29_Msk = 0x20000000 // Bit mask of CH29 field. | |
PPI_CHG_CH29 = 0x20000000 // Bit CH29. | |
PPI_CHG_CH29_Excluded = 0x0 // Exclude | |
PPI_CHG_CH29_Included = 0x1 // Include | |
PPI_CHG_CH30_Pos = 0x1e // Position of CH30 field. | |
PPI_CHG_CH30_Msk = 0x40000000 // Bit mask of CH30 field. | |
PPI_CHG_CH30 = 0x40000000 // Bit CH30. | |
PPI_CHG_CH30_Excluded = 0x0 // Exclude | |
PPI_CHG_CH30_Included = 0x1 // Include | |
PPI_CHG_CH31_Pos = 0x1f // Position of CH31 field. | |
PPI_CHG_CH31_Msk = 0x80000000 // Bit mask of CH31 field. | |
PPI_CHG_CH31 = 0x80000000 // Bit CH31. | |
PPI_CHG_CH31_Excluded = 0x0 // Exclude | |
PPI_CHG_CH31_Included = 0x1 // Include | |
// FORK.TEP: Description cluster[0]: Channel 0 task end-point | |
PPI_FORK_TEP_TEP_Pos = 0x0 // Position of TEP field. | |
PPI_FORK_TEP_TEP_Msk = 0xffffffff // Bit mask of TEP field. | |
) | |
// Bitfields for MWU: Memory Watch Unit | |
const ( | |
// EVENTS_REGION.WA: Description cluster[0]: Write access to region 0 detected | |
// EVENTS_REGION.RA: Description cluster[0]: Read access to region 0 detected | |
// EVENTS_PREGION.WA: Description cluster[0]: Write access to peripheral region 0 detected | |
// EVENTS_PREGION.RA: Description cluster[0]: Read access to peripheral region 0 detected | |
// INTEN: Enable or disable interrupt | |
MWU_INTEN_REGION0WA_Pos = 0x0 // Position of REGION0WA field. | |
MWU_INTEN_REGION0WA_Msk = 0x1 // Bit mask of REGION0WA field. | |
MWU_INTEN_REGION0WA = 0x1 // Bit REGION0WA. | |
MWU_INTEN_REGION0WA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION0WA_Enabled = 0x1 // Enable | |
MWU_INTEN_REGION0RA_Pos = 0x1 // Position of REGION0RA field. | |
MWU_INTEN_REGION0RA_Msk = 0x2 // Bit mask of REGION0RA field. | |
MWU_INTEN_REGION0RA = 0x2 // Bit REGION0RA. | |
MWU_INTEN_REGION0RA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION0RA_Enabled = 0x1 // Enable | |
MWU_INTEN_REGION1WA_Pos = 0x2 // Position of REGION1WA field. | |
MWU_INTEN_REGION1WA_Msk = 0x4 // Bit mask of REGION1WA field. | |
MWU_INTEN_REGION1WA = 0x4 // Bit REGION1WA. | |
MWU_INTEN_REGION1WA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION1WA_Enabled = 0x1 // Enable | |
MWU_INTEN_REGION1RA_Pos = 0x3 // Position of REGION1RA field. | |
MWU_INTEN_REGION1RA_Msk = 0x8 // Bit mask of REGION1RA field. | |
MWU_INTEN_REGION1RA = 0x8 // Bit REGION1RA. | |
MWU_INTEN_REGION1RA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION1RA_Enabled = 0x1 // Enable | |
MWU_INTEN_REGION2WA_Pos = 0x4 // Position of REGION2WA field. | |
MWU_INTEN_REGION2WA_Msk = 0x10 // Bit mask of REGION2WA field. | |
MWU_INTEN_REGION2WA = 0x10 // Bit REGION2WA. | |
MWU_INTEN_REGION2WA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION2WA_Enabled = 0x1 // Enable | |
MWU_INTEN_REGION2RA_Pos = 0x5 // Position of REGION2RA field. | |
MWU_INTEN_REGION2RA_Msk = 0x20 // Bit mask of REGION2RA field. | |
MWU_INTEN_REGION2RA = 0x20 // Bit REGION2RA. | |
MWU_INTEN_REGION2RA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION2RA_Enabled = 0x1 // Enable | |
MWU_INTEN_REGION3WA_Pos = 0x6 // Position of REGION3WA field. | |
MWU_INTEN_REGION3WA_Msk = 0x40 // Bit mask of REGION3WA field. | |
MWU_INTEN_REGION3WA = 0x40 // Bit REGION3WA. | |
MWU_INTEN_REGION3WA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION3WA_Enabled = 0x1 // Enable | |
MWU_INTEN_REGION3RA_Pos = 0x7 // Position of REGION3RA field. | |
MWU_INTEN_REGION3RA_Msk = 0x80 // Bit mask of REGION3RA field. | |
MWU_INTEN_REGION3RA = 0x80 // Bit REGION3RA. | |
MWU_INTEN_REGION3RA_Disabled = 0x0 // Disable | |
MWU_INTEN_REGION3RA_Enabled = 0x1 // Enable | |
MWU_INTEN_PREGION0WA_Pos = 0x18 // Position of PREGION0WA field. | |
MWU_INTEN_PREGION0WA_Msk = 0x1000000 // Bit mask of PREGION0WA field. | |
MWU_INTEN_PREGION0WA = 0x1000000 // Bit PREGION0WA. | |
MWU_INTEN_PREGION0WA_Disabled = 0x0 // Disable | |
MWU_INTEN_PREGION0WA_Enabled = 0x1 // Enable | |
MWU_INTEN_PREGION0RA_Pos = 0x19 // Position of PREGION0RA field. | |
MWU_INTEN_PREGION0RA_Msk = 0x2000000 // Bit mask of PREGION0RA field. | |
MWU_INTEN_PREGION0RA = 0x2000000 // Bit PREGION0RA. | |
MWU_INTEN_PREGION0RA_Disabled = 0x0 // Disable | |
MWU_INTEN_PREGION0RA_Enabled = 0x1 // Enable | |
MWU_INTEN_PREGION1WA_Pos = 0x1a // Position of PREGION1WA field. | |
MWU_INTEN_PREGION1WA_Msk = 0x4000000 // Bit mask of PREGION1WA field. | |
MWU_INTEN_PREGION1WA = 0x4000000 // Bit PREGION1WA. | |
MWU_INTEN_PREGION1WA_Disabled = 0x0 // Disable | |
MWU_INTEN_PREGION1WA_Enabled = 0x1 // Enable | |
MWU_INTEN_PREGION1RA_Pos = 0x1b // Position of PREGION1RA field. | |
MWU_INTEN_PREGION1RA_Msk = 0x8000000 // Bit mask of PREGION1RA field. | |
MWU_INTEN_PREGION1RA = 0x8000000 // Bit PREGION1RA. | |
MWU_INTEN_PREGION1RA_Disabled = 0x0 // Disable | |
MWU_INTEN_PREGION1RA_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
MWU_INTENSET_REGION0WA_Pos = 0x0 // Position of REGION0WA field. | |
MWU_INTENSET_REGION0WA_Msk = 0x1 // Bit mask of REGION0WA field. | |
MWU_INTENSET_REGION0WA = 0x1 // Bit REGION0WA. | |
MWU_INTENSET_REGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION0WA_Set = 0x1 // Enable | |
MWU_INTENSET_REGION0RA_Pos = 0x1 // Position of REGION0RA field. | |
MWU_INTENSET_REGION0RA_Msk = 0x2 // Bit mask of REGION0RA field. | |
MWU_INTENSET_REGION0RA = 0x2 // Bit REGION0RA. | |
MWU_INTENSET_REGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION0RA_Set = 0x1 // Enable | |
MWU_INTENSET_REGION1WA_Pos = 0x2 // Position of REGION1WA field. | |
MWU_INTENSET_REGION1WA_Msk = 0x4 // Bit mask of REGION1WA field. | |
MWU_INTENSET_REGION1WA = 0x4 // Bit REGION1WA. | |
MWU_INTENSET_REGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION1WA_Set = 0x1 // Enable | |
MWU_INTENSET_REGION1RA_Pos = 0x3 // Position of REGION1RA field. | |
MWU_INTENSET_REGION1RA_Msk = 0x8 // Bit mask of REGION1RA field. | |
MWU_INTENSET_REGION1RA = 0x8 // Bit REGION1RA. | |
MWU_INTENSET_REGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION1RA_Set = 0x1 // Enable | |
MWU_INTENSET_REGION2WA_Pos = 0x4 // Position of REGION2WA field. | |
MWU_INTENSET_REGION2WA_Msk = 0x10 // Bit mask of REGION2WA field. | |
MWU_INTENSET_REGION2WA = 0x10 // Bit REGION2WA. | |
MWU_INTENSET_REGION2WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION2WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION2WA_Set = 0x1 // Enable | |
MWU_INTENSET_REGION2RA_Pos = 0x5 // Position of REGION2RA field. | |
MWU_INTENSET_REGION2RA_Msk = 0x20 // Bit mask of REGION2RA field. | |
MWU_INTENSET_REGION2RA = 0x20 // Bit REGION2RA. | |
MWU_INTENSET_REGION2RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION2RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION2RA_Set = 0x1 // Enable | |
MWU_INTENSET_REGION3WA_Pos = 0x6 // Position of REGION3WA field. | |
MWU_INTENSET_REGION3WA_Msk = 0x40 // Bit mask of REGION3WA field. | |
MWU_INTENSET_REGION3WA = 0x40 // Bit REGION3WA. | |
MWU_INTENSET_REGION3WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION3WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION3WA_Set = 0x1 // Enable | |
MWU_INTENSET_REGION3RA_Pos = 0x7 // Position of REGION3RA field. | |
MWU_INTENSET_REGION3RA_Msk = 0x80 // Bit mask of REGION3RA field. | |
MWU_INTENSET_REGION3RA = 0x80 // Bit REGION3RA. | |
MWU_INTENSET_REGION3RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_REGION3RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_REGION3RA_Set = 0x1 // Enable | |
MWU_INTENSET_PREGION0WA_Pos = 0x18 // Position of PREGION0WA field. | |
MWU_INTENSET_PREGION0WA_Msk = 0x1000000 // Bit mask of PREGION0WA field. | |
MWU_INTENSET_PREGION0WA = 0x1000000 // Bit PREGION0WA. | |
MWU_INTENSET_PREGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_PREGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_PREGION0WA_Set = 0x1 // Enable | |
MWU_INTENSET_PREGION0RA_Pos = 0x19 // Position of PREGION0RA field. | |
MWU_INTENSET_PREGION0RA_Msk = 0x2000000 // Bit mask of PREGION0RA field. | |
MWU_INTENSET_PREGION0RA = 0x2000000 // Bit PREGION0RA. | |
MWU_INTENSET_PREGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_PREGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_PREGION0RA_Set = 0x1 // Enable | |
MWU_INTENSET_PREGION1WA_Pos = 0x1a // Position of PREGION1WA field. | |
MWU_INTENSET_PREGION1WA_Msk = 0x4000000 // Bit mask of PREGION1WA field. | |
MWU_INTENSET_PREGION1WA = 0x4000000 // Bit PREGION1WA. | |
MWU_INTENSET_PREGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_PREGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_PREGION1WA_Set = 0x1 // Enable | |
MWU_INTENSET_PREGION1RA_Pos = 0x1b // Position of PREGION1RA field. | |
MWU_INTENSET_PREGION1RA_Msk = 0x8000000 // Bit mask of PREGION1RA field. | |
MWU_INTENSET_PREGION1RA = 0x8000000 // Bit PREGION1RA. | |
MWU_INTENSET_PREGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENSET_PREGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENSET_PREGION1RA_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
MWU_INTENCLR_REGION0WA_Pos = 0x0 // Position of REGION0WA field. | |
MWU_INTENCLR_REGION0WA_Msk = 0x1 // Bit mask of REGION0WA field. | |
MWU_INTENCLR_REGION0WA = 0x1 // Bit REGION0WA. | |
MWU_INTENCLR_REGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION0WA_Clear = 0x1 // Disable | |
MWU_INTENCLR_REGION0RA_Pos = 0x1 // Position of REGION0RA field. | |
MWU_INTENCLR_REGION0RA_Msk = 0x2 // Bit mask of REGION0RA field. | |
MWU_INTENCLR_REGION0RA = 0x2 // Bit REGION0RA. | |
MWU_INTENCLR_REGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION0RA_Clear = 0x1 // Disable | |
MWU_INTENCLR_REGION1WA_Pos = 0x2 // Position of REGION1WA field. | |
MWU_INTENCLR_REGION1WA_Msk = 0x4 // Bit mask of REGION1WA field. | |
MWU_INTENCLR_REGION1WA = 0x4 // Bit REGION1WA. | |
MWU_INTENCLR_REGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION1WA_Clear = 0x1 // Disable | |
MWU_INTENCLR_REGION1RA_Pos = 0x3 // Position of REGION1RA field. | |
MWU_INTENCLR_REGION1RA_Msk = 0x8 // Bit mask of REGION1RA field. | |
MWU_INTENCLR_REGION1RA = 0x8 // Bit REGION1RA. | |
MWU_INTENCLR_REGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION1RA_Clear = 0x1 // Disable | |
MWU_INTENCLR_REGION2WA_Pos = 0x4 // Position of REGION2WA field. | |
MWU_INTENCLR_REGION2WA_Msk = 0x10 // Bit mask of REGION2WA field. | |
MWU_INTENCLR_REGION2WA = 0x10 // Bit REGION2WA. | |
MWU_INTENCLR_REGION2WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION2WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION2WA_Clear = 0x1 // Disable | |
MWU_INTENCLR_REGION2RA_Pos = 0x5 // Position of REGION2RA field. | |
MWU_INTENCLR_REGION2RA_Msk = 0x20 // Bit mask of REGION2RA field. | |
MWU_INTENCLR_REGION2RA = 0x20 // Bit REGION2RA. | |
MWU_INTENCLR_REGION2RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION2RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION2RA_Clear = 0x1 // Disable | |
MWU_INTENCLR_REGION3WA_Pos = 0x6 // Position of REGION3WA field. | |
MWU_INTENCLR_REGION3WA_Msk = 0x40 // Bit mask of REGION3WA field. | |
MWU_INTENCLR_REGION3WA = 0x40 // Bit REGION3WA. | |
MWU_INTENCLR_REGION3WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION3WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION3WA_Clear = 0x1 // Disable | |
MWU_INTENCLR_REGION3RA_Pos = 0x7 // Position of REGION3RA field. | |
MWU_INTENCLR_REGION3RA_Msk = 0x80 // Bit mask of REGION3RA field. | |
MWU_INTENCLR_REGION3RA = 0x80 // Bit REGION3RA. | |
MWU_INTENCLR_REGION3RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_REGION3RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_REGION3RA_Clear = 0x1 // Disable | |
MWU_INTENCLR_PREGION0WA_Pos = 0x18 // Position of PREGION0WA field. | |
MWU_INTENCLR_PREGION0WA_Msk = 0x1000000 // Bit mask of PREGION0WA field. | |
MWU_INTENCLR_PREGION0WA = 0x1000000 // Bit PREGION0WA. | |
MWU_INTENCLR_PREGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_PREGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_PREGION0WA_Clear = 0x1 // Disable | |
MWU_INTENCLR_PREGION0RA_Pos = 0x19 // Position of PREGION0RA field. | |
MWU_INTENCLR_PREGION0RA_Msk = 0x2000000 // Bit mask of PREGION0RA field. | |
MWU_INTENCLR_PREGION0RA = 0x2000000 // Bit PREGION0RA. | |
MWU_INTENCLR_PREGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_PREGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_PREGION0RA_Clear = 0x1 // Disable | |
MWU_INTENCLR_PREGION1WA_Pos = 0x1a // Position of PREGION1WA field. | |
MWU_INTENCLR_PREGION1WA_Msk = 0x4000000 // Bit mask of PREGION1WA field. | |
MWU_INTENCLR_PREGION1WA = 0x4000000 // Bit PREGION1WA. | |
MWU_INTENCLR_PREGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_PREGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_PREGION1WA_Clear = 0x1 // Disable | |
MWU_INTENCLR_PREGION1RA_Pos = 0x1b // Position of PREGION1RA field. | |
MWU_INTENCLR_PREGION1RA_Msk = 0x8000000 // Bit mask of PREGION1RA field. | |
MWU_INTENCLR_PREGION1RA = 0x8000000 // Bit PREGION1RA. | |
MWU_INTENCLR_PREGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_INTENCLR_PREGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_INTENCLR_PREGION1RA_Clear = 0x1 // Disable | |
// NMIEN: Enable or disable non-maskable interrupt | |
MWU_NMIEN_REGION0WA_Pos = 0x0 // Position of REGION0WA field. | |
MWU_NMIEN_REGION0WA_Msk = 0x1 // Bit mask of REGION0WA field. | |
MWU_NMIEN_REGION0WA = 0x1 // Bit REGION0WA. | |
MWU_NMIEN_REGION0WA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION0WA_Enabled = 0x1 // Enable | |
MWU_NMIEN_REGION0RA_Pos = 0x1 // Position of REGION0RA field. | |
MWU_NMIEN_REGION0RA_Msk = 0x2 // Bit mask of REGION0RA field. | |
MWU_NMIEN_REGION0RA = 0x2 // Bit REGION0RA. | |
MWU_NMIEN_REGION0RA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION0RA_Enabled = 0x1 // Enable | |
MWU_NMIEN_REGION1WA_Pos = 0x2 // Position of REGION1WA field. | |
MWU_NMIEN_REGION1WA_Msk = 0x4 // Bit mask of REGION1WA field. | |
MWU_NMIEN_REGION1WA = 0x4 // Bit REGION1WA. | |
MWU_NMIEN_REGION1WA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION1WA_Enabled = 0x1 // Enable | |
MWU_NMIEN_REGION1RA_Pos = 0x3 // Position of REGION1RA field. | |
MWU_NMIEN_REGION1RA_Msk = 0x8 // Bit mask of REGION1RA field. | |
MWU_NMIEN_REGION1RA = 0x8 // Bit REGION1RA. | |
MWU_NMIEN_REGION1RA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION1RA_Enabled = 0x1 // Enable | |
MWU_NMIEN_REGION2WA_Pos = 0x4 // Position of REGION2WA field. | |
MWU_NMIEN_REGION2WA_Msk = 0x10 // Bit mask of REGION2WA field. | |
MWU_NMIEN_REGION2WA = 0x10 // Bit REGION2WA. | |
MWU_NMIEN_REGION2WA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION2WA_Enabled = 0x1 // Enable | |
MWU_NMIEN_REGION2RA_Pos = 0x5 // Position of REGION2RA field. | |
MWU_NMIEN_REGION2RA_Msk = 0x20 // Bit mask of REGION2RA field. | |
MWU_NMIEN_REGION2RA = 0x20 // Bit REGION2RA. | |
MWU_NMIEN_REGION2RA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION2RA_Enabled = 0x1 // Enable | |
MWU_NMIEN_REGION3WA_Pos = 0x6 // Position of REGION3WA field. | |
MWU_NMIEN_REGION3WA_Msk = 0x40 // Bit mask of REGION3WA field. | |
MWU_NMIEN_REGION3WA = 0x40 // Bit REGION3WA. | |
MWU_NMIEN_REGION3WA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION3WA_Enabled = 0x1 // Enable | |
MWU_NMIEN_REGION3RA_Pos = 0x7 // Position of REGION3RA field. | |
MWU_NMIEN_REGION3RA_Msk = 0x80 // Bit mask of REGION3RA field. | |
MWU_NMIEN_REGION3RA = 0x80 // Bit REGION3RA. | |
MWU_NMIEN_REGION3RA_Disabled = 0x0 // Disable | |
MWU_NMIEN_REGION3RA_Enabled = 0x1 // Enable | |
MWU_NMIEN_PREGION0WA_Pos = 0x18 // Position of PREGION0WA field. | |
MWU_NMIEN_PREGION0WA_Msk = 0x1000000 // Bit mask of PREGION0WA field. | |
MWU_NMIEN_PREGION0WA = 0x1000000 // Bit PREGION0WA. | |
MWU_NMIEN_PREGION0WA_Disabled = 0x0 // Disable | |
MWU_NMIEN_PREGION0WA_Enabled = 0x1 // Enable | |
MWU_NMIEN_PREGION0RA_Pos = 0x19 // Position of PREGION0RA field. | |
MWU_NMIEN_PREGION0RA_Msk = 0x2000000 // Bit mask of PREGION0RA field. | |
MWU_NMIEN_PREGION0RA = 0x2000000 // Bit PREGION0RA. | |
MWU_NMIEN_PREGION0RA_Disabled = 0x0 // Disable | |
MWU_NMIEN_PREGION0RA_Enabled = 0x1 // Enable | |
MWU_NMIEN_PREGION1WA_Pos = 0x1a // Position of PREGION1WA field. | |
MWU_NMIEN_PREGION1WA_Msk = 0x4000000 // Bit mask of PREGION1WA field. | |
MWU_NMIEN_PREGION1WA = 0x4000000 // Bit PREGION1WA. | |
MWU_NMIEN_PREGION1WA_Disabled = 0x0 // Disable | |
MWU_NMIEN_PREGION1WA_Enabled = 0x1 // Enable | |
MWU_NMIEN_PREGION1RA_Pos = 0x1b // Position of PREGION1RA field. | |
MWU_NMIEN_PREGION1RA_Msk = 0x8000000 // Bit mask of PREGION1RA field. | |
MWU_NMIEN_PREGION1RA = 0x8000000 // Bit PREGION1RA. | |
MWU_NMIEN_PREGION1RA_Disabled = 0x0 // Disable | |
MWU_NMIEN_PREGION1RA_Enabled = 0x1 // Enable | |
// NMIENSET: Enable non-maskable interrupt | |
MWU_NMIENSET_REGION0WA_Pos = 0x0 // Position of REGION0WA field. | |
MWU_NMIENSET_REGION0WA_Msk = 0x1 // Bit mask of REGION0WA field. | |
MWU_NMIENSET_REGION0WA = 0x1 // Bit REGION0WA. | |
MWU_NMIENSET_REGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION0WA_Set = 0x1 // Enable | |
MWU_NMIENSET_REGION0RA_Pos = 0x1 // Position of REGION0RA field. | |
MWU_NMIENSET_REGION0RA_Msk = 0x2 // Bit mask of REGION0RA field. | |
MWU_NMIENSET_REGION0RA = 0x2 // Bit REGION0RA. | |
MWU_NMIENSET_REGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION0RA_Set = 0x1 // Enable | |
MWU_NMIENSET_REGION1WA_Pos = 0x2 // Position of REGION1WA field. | |
MWU_NMIENSET_REGION1WA_Msk = 0x4 // Bit mask of REGION1WA field. | |
MWU_NMIENSET_REGION1WA = 0x4 // Bit REGION1WA. | |
MWU_NMIENSET_REGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION1WA_Set = 0x1 // Enable | |
MWU_NMIENSET_REGION1RA_Pos = 0x3 // Position of REGION1RA field. | |
MWU_NMIENSET_REGION1RA_Msk = 0x8 // Bit mask of REGION1RA field. | |
MWU_NMIENSET_REGION1RA = 0x8 // Bit REGION1RA. | |
MWU_NMIENSET_REGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION1RA_Set = 0x1 // Enable | |
MWU_NMIENSET_REGION2WA_Pos = 0x4 // Position of REGION2WA field. | |
MWU_NMIENSET_REGION2WA_Msk = 0x10 // Bit mask of REGION2WA field. | |
MWU_NMIENSET_REGION2WA = 0x10 // Bit REGION2WA. | |
MWU_NMIENSET_REGION2WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION2WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION2WA_Set = 0x1 // Enable | |
MWU_NMIENSET_REGION2RA_Pos = 0x5 // Position of REGION2RA field. | |
MWU_NMIENSET_REGION2RA_Msk = 0x20 // Bit mask of REGION2RA field. | |
MWU_NMIENSET_REGION2RA = 0x20 // Bit REGION2RA. | |
MWU_NMIENSET_REGION2RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION2RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION2RA_Set = 0x1 // Enable | |
MWU_NMIENSET_REGION3WA_Pos = 0x6 // Position of REGION3WA field. | |
MWU_NMIENSET_REGION3WA_Msk = 0x40 // Bit mask of REGION3WA field. | |
MWU_NMIENSET_REGION3WA = 0x40 // Bit REGION3WA. | |
MWU_NMIENSET_REGION3WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION3WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION3WA_Set = 0x1 // Enable | |
MWU_NMIENSET_REGION3RA_Pos = 0x7 // Position of REGION3RA field. | |
MWU_NMIENSET_REGION3RA_Msk = 0x80 // Bit mask of REGION3RA field. | |
MWU_NMIENSET_REGION3RA = 0x80 // Bit REGION3RA. | |
MWU_NMIENSET_REGION3RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_REGION3RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_REGION3RA_Set = 0x1 // Enable | |
MWU_NMIENSET_PREGION0WA_Pos = 0x18 // Position of PREGION0WA field. | |
MWU_NMIENSET_PREGION0WA_Msk = 0x1000000 // Bit mask of PREGION0WA field. | |
MWU_NMIENSET_PREGION0WA = 0x1000000 // Bit PREGION0WA. | |
MWU_NMIENSET_PREGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_PREGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_PREGION0WA_Set = 0x1 // Enable | |
MWU_NMIENSET_PREGION0RA_Pos = 0x19 // Position of PREGION0RA field. | |
MWU_NMIENSET_PREGION0RA_Msk = 0x2000000 // Bit mask of PREGION0RA field. | |
MWU_NMIENSET_PREGION0RA = 0x2000000 // Bit PREGION0RA. | |
MWU_NMIENSET_PREGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_PREGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_PREGION0RA_Set = 0x1 // Enable | |
MWU_NMIENSET_PREGION1WA_Pos = 0x1a // Position of PREGION1WA field. | |
MWU_NMIENSET_PREGION1WA_Msk = 0x4000000 // Bit mask of PREGION1WA field. | |
MWU_NMIENSET_PREGION1WA = 0x4000000 // Bit PREGION1WA. | |
MWU_NMIENSET_PREGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_PREGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_PREGION1WA_Set = 0x1 // Enable | |
MWU_NMIENSET_PREGION1RA_Pos = 0x1b // Position of PREGION1RA field. | |
MWU_NMIENSET_PREGION1RA_Msk = 0x8000000 // Bit mask of PREGION1RA field. | |
MWU_NMIENSET_PREGION1RA = 0x8000000 // Bit PREGION1RA. | |
MWU_NMIENSET_PREGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENSET_PREGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENSET_PREGION1RA_Set = 0x1 // Enable | |
// NMIENCLR: Disable non-maskable interrupt | |
MWU_NMIENCLR_REGION0WA_Pos = 0x0 // Position of REGION0WA field. | |
MWU_NMIENCLR_REGION0WA_Msk = 0x1 // Bit mask of REGION0WA field. | |
MWU_NMIENCLR_REGION0WA = 0x1 // Bit REGION0WA. | |
MWU_NMIENCLR_REGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION0WA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_REGION0RA_Pos = 0x1 // Position of REGION0RA field. | |
MWU_NMIENCLR_REGION0RA_Msk = 0x2 // Bit mask of REGION0RA field. | |
MWU_NMIENCLR_REGION0RA = 0x2 // Bit REGION0RA. | |
MWU_NMIENCLR_REGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION0RA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_REGION1WA_Pos = 0x2 // Position of REGION1WA field. | |
MWU_NMIENCLR_REGION1WA_Msk = 0x4 // Bit mask of REGION1WA field. | |
MWU_NMIENCLR_REGION1WA = 0x4 // Bit REGION1WA. | |
MWU_NMIENCLR_REGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION1WA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_REGION1RA_Pos = 0x3 // Position of REGION1RA field. | |
MWU_NMIENCLR_REGION1RA_Msk = 0x8 // Bit mask of REGION1RA field. | |
MWU_NMIENCLR_REGION1RA = 0x8 // Bit REGION1RA. | |
MWU_NMIENCLR_REGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION1RA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_REGION2WA_Pos = 0x4 // Position of REGION2WA field. | |
MWU_NMIENCLR_REGION2WA_Msk = 0x10 // Bit mask of REGION2WA field. | |
MWU_NMIENCLR_REGION2WA = 0x10 // Bit REGION2WA. | |
MWU_NMIENCLR_REGION2WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION2WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION2WA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_REGION2RA_Pos = 0x5 // Position of REGION2RA field. | |
MWU_NMIENCLR_REGION2RA_Msk = 0x20 // Bit mask of REGION2RA field. | |
MWU_NMIENCLR_REGION2RA = 0x20 // Bit REGION2RA. | |
MWU_NMIENCLR_REGION2RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION2RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION2RA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_REGION3WA_Pos = 0x6 // Position of REGION3WA field. | |
MWU_NMIENCLR_REGION3WA_Msk = 0x40 // Bit mask of REGION3WA field. | |
MWU_NMIENCLR_REGION3WA = 0x40 // Bit REGION3WA. | |
MWU_NMIENCLR_REGION3WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION3WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION3WA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_REGION3RA_Pos = 0x7 // Position of REGION3RA field. | |
MWU_NMIENCLR_REGION3RA_Msk = 0x80 // Bit mask of REGION3RA field. | |
MWU_NMIENCLR_REGION3RA = 0x80 // Bit REGION3RA. | |
MWU_NMIENCLR_REGION3RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_REGION3RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_REGION3RA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_PREGION0WA_Pos = 0x18 // Position of PREGION0WA field. | |
MWU_NMIENCLR_PREGION0WA_Msk = 0x1000000 // Bit mask of PREGION0WA field. | |
MWU_NMIENCLR_PREGION0WA = 0x1000000 // Bit PREGION0WA. | |
MWU_NMIENCLR_PREGION0WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_PREGION0WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_PREGION0WA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_PREGION0RA_Pos = 0x19 // Position of PREGION0RA field. | |
MWU_NMIENCLR_PREGION0RA_Msk = 0x2000000 // Bit mask of PREGION0RA field. | |
MWU_NMIENCLR_PREGION0RA = 0x2000000 // Bit PREGION0RA. | |
MWU_NMIENCLR_PREGION0RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_PREGION0RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_PREGION0RA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_PREGION1WA_Pos = 0x1a // Position of PREGION1WA field. | |
MWU_NMIENCLR_PREGION1WA_Msk = 0x4000000 // Bit mask of PREGION1WA field. | |
MWU_NMIENCLR_PREGION1WA = 0x4000000 // Bit PREGION1WA. | |
MWU_NMIENCLR_PREGION1WA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_PREGION1WA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_PREGION1WA_Clear = 0x1 // Disable | |
MWU_NMIENCLR_PREGION1RA_Pos = 0x1b // Position of PREGION1RA field. | |
MWU_NMIENCLR_PREGION1RA_Msk = 0x8000000 // Bit mask of PREGION1RA field. | |
MWU_NMIENCLR_PREGION1RA = 0x8000000 // Bit PREGION1RA. | |
MWU_NMIENCLR_PREGION1RA_Disabled = 0x0 // Read: Disabled | |
MWU_NMIENCLR_PREGION1RA_Enabled = 0x1 // Read: Enabled | |
MWU_NMIENCLR_PREGION1RA_Clear = 0x1 // Disable | |
// PERREGION.SUBSTATWA: Description cluster[0]: Source of event/interrupt in region 0, write access detected while corresponding subregion was enabled for watching | |
MWU_PERREGION_SUBSTATWA_SR0_Pos = 0x0 // Position of SR0 field. | |
MWU_PERREGION_SUBSTATWA_SR0_Msk = 0x1 // Bit mask of SR0 field. | |
MWU_PERREGION_SUBSTATWA_SR0 = 0x1 // Bit SR0. | |
MWU_PERREGION_SUBSTATWA_SR0_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR0_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR1_Pos = 0x1 // Position of SR1 field. | |
MWU_PERREGION_SUBSTATWA_SR1_Msk = 0x2 // Bit mask of SR1 field. | |
MWU_PERREGION_SUBSTATWA_SR1 = 0x2 // Bit SR1. | |
MWU_PERREGION_SUBSTATWA_SR1_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR1_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR2_Pos = 0x2 // Position of SR2 field. | |
MWU_PERREGION_SUBSTATWA_SR2_Msk = 0x4 // Bit mask of SR2 field. | |
MWU_PERREGION_SUBSTATWA_SR2 = 0x4 // Bit SR2. | |
MWU_PERREGION_SUBSTATWA_SR2_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR2_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR3_Pos = 0x3 // Position of SR3 field. | |
MWU_PERREGION_SUBSTATWA_SR3_Msk = 0x8 // Bit mask of SR3 field. | |
MWU_PERREGION_SUBSTATWA_SR3 = 0x8 // Bit SR3. | |
MWU_PERREGION_SUBSTATWA_SR3_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR3_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR4_Pos = 0x4 // Position of SR4 field. | |
MWU_PERREGION_SUBSTATWA_SR4_Msk = 0x10 // Bit mask of SR4 field. | |
MWU_PERREGION_SUBSTATWA_SR4 = 0x10 // Bit SR4. | |
MWU_PERREGION_SUBSTATWA_SR4_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR4_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR5_Pos = 0x5 // Position of SR5 field. | |
MWU_PERREGION_SUBSTATWA_SR5_Msk = 0x20 // Bit mask of SR5 field. | |
MWU_PERREGION_SUBSTATWA_SR5 = 0x20 // Bit SR5. | |
MWU_PERREGION_SUBSTATWA_SR5_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR5_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR6_Pos = 0x6 // Position of SR6 field. | |
MWU_PERREGION_SUBSTATWA_SR6_Msk = 0x40 // Bit mask of SR6 field. | |
MWU_PERREGION_SUBSTATWA_SR6 = 0x40 // Bit SR6. | |
MWU_PERREGION_SUBSTATWA_SR6_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR6_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR7_Pos = 0x7 // Position of SR7 field. | |
MWU_PERREGION_SUBSTATWA_SR7_Msk = 0x80 // Bit mask of SR7 field. | |
MWU_PERREGION_SUBSTATWA_SR7 = 0x80 // Bit SR7. | |
MWU_PERREGION_SUBSTATWA_SR7_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR7_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR8_Pos = 0x8 // Position of SR8 field. | |
MWU_PERREGION_SUBSTATWA_SR8_Msk = 0x100 // Bit mask of SR8 field. | |
MWU_PERREGION_SUBSTATWA_SR8 = 0x100 // Bit SR8. | |
MWU_PERREGION_SUBSTATWA_SR8_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR8_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR9_Pos = 0x9 // Position of SR9 field. | |
MWU_PERREGION_SUBSTATWA_SR9_Msk = 0x200 // Bit mask of SR9 field. | |
MWU_PERREGION_SUBSTATWA_SR9 = 0x200 // Bit SR9. | |
MWU_PERREGION_SUBSTATWA_SR9_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR9_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR10_Pos = 0xa // Position of SR10 field. | |
MWU_PERREGION_SUBSTATWA_SR10_Msk = 0x400 // Bit mask of SR10 field. | |
MWU_PERREGION_SUBSTATWA_SR10 = 0x400 // Bit SR10. | |
MWU_PERREGION_SUBSTATWA_SR10_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR10_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR11_Pos = 0xb // Position of SR11 field. | |
MWU_PERREGION_SUBSTATWA_SR11_Msk = 0x800 // Bit mask of SR11 field. | |
MWU_PERREGION_SUBSTATWA_SR11 = 0x800 // Bit SR11. | |
MWU_PERREGION_SUBSTATWA_SR11_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR11_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR12_Pos = 0xc // Position of SR12 field. | |
MWU_PERREGION_SUBSTATWA_SR12_Msk = 0x1000 // Bit mask of SR12 field. | |
MWU_PERREGION_SUBSTATWA_SR12 = 0x1000 // Bit SR12. | |
MWU_PERREGION_SUBSTATWA_SR12_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR12_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR13_Pos = 0xd // Position of SR13 field. | |
MWU_PERREGION_SUBSTATWA_SR13_Msk = 0x2000 // Bit mask of SR13 field. | |
MWU_PERREGION_SUBSTATWA_SR13 = 0x2000 // Bit SR13. | |
MWU_PERREGION_SUBSTATWA_SR13_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR13_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR14_Pos = 0xe // Position of SR14 field. | |
MWU_PERREGION_SUBSTATWA_SR14_Msk = 0x4000 // Bit mask of SR14 field. | |
MWU_PERREGION_SUBSTATWA_SR14 = 0x4000 // Bit SR14. | |
MWU_PERREGION_SUBSTATWA_SR14_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR14_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR15_Pos = 0xf // Position of SR15 field. | |
MWU_PERREGION_SUBSTATWA_SR15_Msk = 0x8000 // Bit mask of SR15 field. | |
MWU_PERREGION_SUBSTATWA_SR15 = 0x8000 // Bit SR15. | |
MWU_PERREGION_SUBSTATWA_SR15_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR15_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR16_Pos = 0x10 // Position of SR16 field. | |
MWU_PERREGION_SUBSTATWA_SR16_Msk = 0x10000 // Bit mask of SR16 field. | |
MWU_PERREGION_SUBSTATWA_SR16 = 0x10000 // Bit SR16. | |
MWU_PERREGION_SUBSTATWA_SR16_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR16_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR17_Pos = 0x11 // Position of SR17 field. | |
MWU_PERREGION_SUBSTATWA_SR17_Msk = 0x20000 // Bit mask of SR17 field. | |
MWU_PERREGION_SUBSTATWA_SR17 = 0x20000 // Bit SR17. | |
MWU_PERREGION_SUBSTATWA_SR17_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR17_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR18_Pos = 0x12 // Position of SR18 field. | |
MWU_PERREGION_SUBSTATWA_SR18_Msk = 0x40000 // Bit mask of SR18 field. | |
MWU_PERREGION_SUBSTATWA_SR18 = 0x40000 // Bit SR18. | |
MWU_PERREGION_SUBSTATWA_SR18_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR18_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR19_Pos = 0x13 // Position of SR19 field. | |
MWU_PERREGION_SUBSTATWA_SR19_Msk = 0x80000 // Bit mask of SR19 field. | |
MWU_PERREGION_SUBSTATWA_SR19 = 0x80000 // Bit SR19. | |
MWU_PERREGION_SUBSTATWA_SR19_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR19_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR20_Pos = 0x14 // Position of SR20 field. | |
MWU_PERREGION_SUBSTATWA_SR20_Msk = 0x100000 // Bit mask of SR20 field. | |
MWU_PERREGION_SUBSTATWA_SR20 = 0x100000 // Bit SR20. | |
MWU_PERREGION_SUBSTATWA_SR20_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR20_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR21_Pos = 0x15 // Position of SR21 field. | |
MWU_PERREGION_SUBSTATWA_SR21_Msk = 0x200000 // Bit mask of SR21 field. | |
MWU_PERREGION_SUBSTATWA_SR21 = 0x200000 // Bit SR21. | |
MWU_PERREGION_SUBSTATWA_SR21_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR21_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR22_Pos = 0x16 // Position of SR22 field. | |
MWU_PERREGION_SUBSTATWA_SR22_Msk = 0x400000 // Bit mask of SR22 field. | |
MWU_PERREGION_SUBSTATWA_SR22 = 0x400000 // Bit SR22. | |
MWU_PERREGION_SUBSTATWA_SR22_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR22_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR23_Pos = 0x17 // Position of SR23 field. | |
MWU_PERREGION_SUBSTATWA_SR23_Msk = 0x800000 // Bit mask of SR23 field. | |
MWU_PERREGION_SUBSTATWA_SR23 = 0x800000 // Bit SR23. | |
MWU_PERREGION_SUBSTATWA_SR23_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR23_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR24_Pos = 0x18 // Position of SR24 field. | |
MWU_PERREGION_SUBSTATWA_SR24_Msk = 0x1000000 // Bit mask of SR24 field. | |
MWU_PERREGION_SUBSTATWA_SR24 = 0x1000000 // Bit SR24. | |
MWU_PERREGION_SUBSTATWA_SR24_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR24_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR25_Pos = 0x19 // Position of SR25 field. | |
MWU_PERREGION_SUBSTATWA_SR25_Msk = 0x2000000 // Bit mask of SR25 field. | |
MWU_PERREGION_SUBSTATWA_SR25 = 0x2000000 // Bit SR25. | |
MWU_PERREGION_SUBSTATWA_SR25_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR25_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR26_Pos = 0x1a // Position of SR26 field. | |
MWU_PERREGION_SUBSTATWA_SR26_Msk = 0x4000000 // Bit mask of SR26 field. | |
MWU_PERREGION_SUBSTATWA_SR26 = 0x4000000 // Bit SR26. | |
MWU_PERREGION_SUBSTATWA_SR26_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR26_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR27_Pos = 0x1b // Position of SR27 field. | |
MWU_PERREGION_SUBSTATWA_SR27_Msk = 0x8000000 // Bit mask of SR27 field. | |
MWU_PERREGION_SUBSTATWA_SR27 = 0x8000000 // Bit SR27. | |
MWU_PERREGION_SUBSTATWA_SR27_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR27_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR28_Pos = 0x1c // Position of SR28 field. | |
MWU_PERREGION_SUBSTATWA_SR28_Msk = 0x10000000 // Bit mask of SR28 field. | |
MWU_PERREGION_SUBSTATWA_SR28 = 0x10000000 // Bit SR28. | |
MWU_PERREGION_SUBSTATWA_SR28_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR28_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR29_Pos = 0x1d // Position of SR29 field. | |
MWU_PERREGION_SUBSTATWA_SR29_Msk = 0x20000000 // Bit mask of SR29 field. | |
MWU_PERREGION_SUBSTATWA_SR29 = 0x20000000 // Bit SR29. | |
MWU_PERREGION_SUBSTATWA_SR29_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR29_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR30_Pos = 0x1e // Position of SR30 field. | |
MWU_PERREGION_SUBSTATWA_SR30_Msk = 0x40000000 // Bit mask of SR30 field. | |
MWU_PERREGION_SUBSTATWA_SR30 = 0x40000000 // Bit SR30. | |
MWU_PERREGION_SUBSTATWA_SR30_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR30_Access = 0x1 // Write access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR31_Pos = 0x1f // Position of SR31 field. | |
MWU_PERREGION_SUBSTATWA_SR31_Msk = 0x80000000 // Bit mask of SR31 field. | |
MWU_PERREGION_SUBSTATWA_SR31 = 0x80000000 // Bit SR31. | |
MWU_PERREGION_SUBSTATWA_SR31_NoAccess = 0x0 // No write access occurred in this subregion | |
MWU_PERREGION_SUBSTATWA_SR31_Access = 0x1 // Write access(es) occurred in this subregion | |
// PERREGION.SUBSTATRA: Description cluster[0]: Source of event/interrupt in region 0, read access detected while corresponding subregion was enabled for watching | |
MWU_PERREGION_SUBSTATRA_SR0_Pos = 0x0 // Position of SR0 field. | |
MWU_PERREGION_SUBSTATRA_SR0_Msk = 0x1 // Bit mask of SR0 field. | |
MWU_PERREGION_SUBSTATRA_SR0 = 0x1 // Bit SR0. | |
MWU_PERREGION_SUBSTATRA_SR0_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR0_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR1_Pos = 0x1 // Position of SR1 field. | |
MWU_PERREGION_SUBSTATRA_SR1_Msk = 0x2 // Bit mask of SR1 field. | |
MWU_PERREGION_SUBSTATRA_SR1 = 0x2 // Bit SR1. | |
MWU_PERREGION_SUBSTATRA_SR1_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR1_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR2_Pos = 0x2 // Position of SR2 field. | |
MWU_PERREGION_SUBSTATRA_SR2_Msk = 0x4 // Bit mask of SR2 field. | |
MWU_PERREGION_SUBSTATRA_SR2 = 0x4 // Bit SR2. | |
MWU_PERREGION_SUBSTATRA_SR2_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR2_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR3_Pos = 0x3 // Position of SR3 field. | |
MWU_PERREGION_SUBSTATRA_SR3_Msk = 0x8 // Bit mask of SR3 field. | |
MWU_PERREGION_SUBSTATRA_SR3 = 0x8 // Bit SR3. | |
MWU_PERREGION_SUBSTATRA_SR3_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR3_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR4_Pos = 0x4 // Position of SR4 field. | |
MWU_PERREGION_SUBSTATRA_SR4_Msk = 0x10 // Bit mask of SR4 field. | |
MWU_PERREGION_SUBSTATRA_SR4 = 0x10 // Bit SR4. | |
MWU_PERREGION_SUBSTATRA_SR4_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR4_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR5_Pos = 0x5 // Position of SR5 field. | |
MWU_PERREGION_SUBSTATRA_SR5_Msk = 0x20 // Bit mask of SR5 field. | |
MWU_PERREGION_SUBSTATRA_SR5 = 0x20 // Bit SR5. | |
MWU_PERREGION_SUBSTATRA_SR5_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR5_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR6_Pos = 0x6 // Position of SR6 field. | |
MWU_PERREGION_SUBSTATRA_SR6_Msk = 0x40 // Bit mask of SR6 field. | |
MWU_PERREGION_SUBSTATRA_SR6 = 0x40 // Bit SR6. | |
MWU_PERREGION_SUBSTATRA_SR6_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR6_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR7_Pos = 0x7 // Position of SR7 field. | |
MWU_PERREGION_SUBSTATRA_SR7_Msk = 0x80 // Bit mask of SR7 field. | |
MWU_PERREGION_SUBSTATRA_SR7 = 0x80 // Bit SR7. | |
MWU_PERREGION_SUBSTATRA_SR7_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR7_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR8_Pos = 0x8 // Position of SR8 field. | |
MWU_PERREGION_SUBSTATRA_SR8_Msk = 0x100 // Bit mask of SR8 field. | |
MWU_PERREGION_SUBSTATRA_SR8 = 0x100 // Bit SR8. | |
MWU_PERREGION_SUBSTATRA_SR8_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR8_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR9_Pos = 0x9 // Position of SR9 field. | |
MWU_PERREGION_SUBSTATRA_SR9_Msk = 0x200 // Bit mask of SR9 field. | |
MWU_PERREGION_SUBSTATRA_SR9 = 0x200 // Bit SR9. | |
MWU_PERREGION_SUBSTATRA_SR9_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR9_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR10_Pos = 0xa // Position of SR10 field. | |
MWU_PERREGION_SUBSTATRA_SR10_Msk = 0x400 // Bit mask of SR10 field. | |
MWU_PERREGION_SUBSTATRA_SR10 = 0x400 // Bit SR10. | |
MWU_PERREGION_SUBSTATRA_SR10_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR10_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR11_Pos = 0xb // Position of SR11 field. | |
MWU_PERREGION_SUBSTATRA_SR11_Msk = 0x800 // Bit mask of SR11 field. | |
MWU_PERREGION_SUBSTATRA_SR11 = 0x800 // Bit SR11. | |
MWU_PERREGION_SUBSTATRA_SR11_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR11_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR12_Pos = 0xc // Position of SR12 field. | |
MWU_PERREGION_SUBSTATRA_SR12_Msk = 0x1000 // Bit mask of SR12 field. | |
MWU_PERREGION_SUBSTATRA_SR12 = 0x1000 // Bit SR12. | |
MWU_PERREGION_SUBSTATRA_SR12_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR12_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR13_Pos = 0xd // Position of SR13 field. | |
MWU_PERREGION_SUBSTATRA_SR13_Msk = 0x2000 // Bit mask of SR13 field. | |
MWU_PERREGION_SUBSTATRA_SR13 = 0x2000 // Bit SR13. | |
MWU_PERREGION_SUBSTATRA_SR13_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR13_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR14_Pos = 0xe // Position of SR14 field. | |
MWU_PERREGION_SUBSTATRA_SR14_Msk = 0x4000 // Bit mask of SR14 field. | |
MWU_PERREGION_SUBSTATRA_SR14 = 0x4000 // Bit SR14. | |
MWU_PERREGION_SUBSTATRA_SR14_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR14_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR15_Pos = 0xf // Position of SR15 field. | |
MWU_PERREGION_SUBSTATRA_SR15_Msk = 0x8000 // Bit mask of SR15 field. | |
MWU_PERREGION_SUBSTATRA_SR15 = 0x8000 // Bit SR15. | |
MWU_PERREGION_SUBSTATRA_SR15_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR15_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR16_Pos = 0x10 // Position of SR16 field. | |
MWU_PERREGION_SUBSTATRA_SR16_Msk = 0x10000 // Bit mask of SR16 field. | |
MWU_PERREGION_SUBSTATRA_SR16 = 0x10000 // Bit SR16. | |
MWU_PERREGION_SUBSTATRA_SR16_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR16_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR17_Pos = 0x11 // Position of SR17 field. | |
MWU_PERREGION_SUBSTATRA_SR17_Msk = 0x20000 // Bit mask of SR17 field. | |
MWU_PERREGION_SUBSTATRA_SR17 = 0x20000 // Bit SR17. | |
MWU_PERREGION_SUBSTATRA_SR17_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR17_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR18_Pos = 0x12 // Position of SR18 field. | |
MWU_PERREGION_SUBSTATRA_SR18_Msk = 0x40000 // Bit mask of SR18 field. | |
MWU_PERREGION_SUBSTATRA_SR18 = 0x40000 // Bit SR18. | |
MWU_PERREGION_SUBSTATRA_SR18_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR18_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR19_Pos = 0x13 // Position of SR19 field. | |
MWU_PERREGION_SUBSTATRA_SR19_Msk = 0x80000 // Bit mask of SR19 field. | |
MWU_PERREGION_SUBSTATRA_SR19 = 0x80000 // Bit SR19. | |
MWU_PERREGION_SUBSTATRA_SR19_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR19_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR20_Pos = 0x14 // Position of SR20 field. | |
MWU_PERREGION_SUBSTATRA_SR20_Msk = 0x100000 // Bit mask of SR20 field. | |
MWU_PERREGION_SUBSTATRA_SR20 = 0x100000 // Bit SR20. | |
MWU_PERREGION_SUBSTATRA_SR20_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR20_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR21_Pos = 0x15 // Position of SR21 field. | |
MWU_PERREGION_SUBSTATRA_SR21_Msk = 0x200000 // Bit mask of SR21 field. | |
MWU_PERREGION_SUBSTATRA_SR21 = 0x200000 // Bit SR21. | |
MWU_PERREGION_SUBSTATRA_SR21_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR21_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR22_Pos = 0x16 // Position of SR22 field. | |
MWU_PERREGION_SUBSTATRA_SR22_Msk = 0x400000 // Bit mask of SR22 field. | |
MWU_PERREGION_SUBSTATRA_SR22 = 0x400000 // Bit SR22. | |
MWU_PERREGION_SUBSTATRA_SR22_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR22_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR23_Pos = 0x17 // Position of SR23 field. | |
MWU_PERREGION_SUBSTATRA_SR23_Msk = 0x800000 // Bit mask of SR23 field. | |
MWU_PERREGION_SUBSTATRA_SR23 = 0x800000 // Bit SR23. | |
MWU_PERREGION_SUBSTATRA_SR23_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR23_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR24_Pos = 0x18 // Position of SR24 field. | |
MWU_PERREGION_SUBSTATRA_SR24_Msk = 0x1000000 // Bit mask of SR24 field. | |
MWU_PERREGION_SUBSTATRA_SR24 = 0x1000000 // Bit SR24. | |
MWU_PERREGION_SUBSTATRA_SR24_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR24_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR25_Pos = 0x19 // Position of SR25 field. | |
MWU_PERREGION_SUBSTATRA_SR25_Msk = 0x2000000 // Bit mask of SR25 field. | |
MWU_PERREGION_SUBSTATRA_SR25 = 0x2000000 // Bit SR25. | |
MWU_PERREGION_SUBSTATRA_SR25_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR25_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR26_Pos = 0x1a // Position of SR26 field. | |
MWU_PERREGION_SUBSTATRA_SR26_Msk = 0x4000000 // Bit mask of SR26 field. | |
MWU_PERREGION_SUBSTATRA_SR26 = 0x4000000 // Bit SR26. | |
MWU_PERREGION_SUBSTATRA_SR26_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR26_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR27_Pos = 0x1b // Position of SR27 field. | |
MWU_PERREGION_SUBSTATRA_SR27_Msk = 0x8000000 // Bit mask of SR27 field. | |
MWU_PERREGION_SUBSTATRA_SR27 = 0x8000000 // Bit SR27. | |
MWU_PERREGION_SUBSTATRA_SR27_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR27_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR28_Pos = 0x1c // Position of SR28 field. | |
MWU_PERREGION_SUBSTATRA_SR28_Msk = 0x10000000 // Bit mask of SR28 field. | |
MWU_PERREGION_SUBSTATRA_SR28 = 0x10000000 // Bit SR28. | |
MWU_PERREGION_SUBSTATRA_SR28_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR28_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR29_Pos = 0x1d // Position of SR29 field. | |
MWU_PERREGION_SUBSTATRA_SR29_Msk = 0x20000000 // Bit mask of SR29 field. | |
MWU_PERREGION_SUBSTATRA_SR29 = 0x20000000 // Bit SR29. | |
MWU_PERREGION_SUBSTATRA_SR29_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR29_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR30_Pos = 0x1e // Position of SR30 field. | |
MWU_PERREGION_SUBSTATRA_SR30_Msk = 0x40000000 // Bit mask of SR30 field. | |
MWU_PERREGION_SUBSTATRA_SR30 = 0x40000000 // Bit SR30. | |
MWU_PERREGION_SUBSTATRA_SR30_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR30_Access = 0x1 // Read access(es) occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR31_Pos = 0x1f // Position of SR31 field. | |
MWU_PERREGION_SUBSTATRA_SR31_Msk = 0x80000000 // Bit mask of SR31 field. | |
MWU_PERREGION_SUBSTATRA_SR31 = 0x80000000 // Bit SR31. | |
MWU_PERREGION_SUBSTATRA_SR31_NoAccess = 0x0 // No read access occurred in this subregion | |
MWU_PERREGION_SUBSTATRA_SR31_Access = 0x1 // Read access(es) occurred in this subregion | |
// REGIONEN: Enable/disable regions watch | |
MWU_REGIONEN_RGN0WA_Pos = 0x0 // Position of RGN0WA field. | |
MWU_REGIONEN_RGN0WA_Msk = 0x1 // Bit mask of RGN0WA field. | |
MWU_REGIONEN_RGN0WA = 0x1 // Bit RGN0WA. | |
MWU_REGIONEN_RGN0WA_Disable = 0x0 // Disable write access watch in this region | |
MWU_REGIONEN_RGN0WA_Enable = 0x1 // Enable write access watch in this region | |
MWU_REGIONEN_RGN0RA_Pos = 0x1 // Position of RGN0RA field. | |
MWU_REGIONEN_RGN0RA_Msk = 0x2 // Bit mask of RGN0RA field. | |
MWU_REGIONEN_RGN0RA = 0x2 // Bit RGN0RA. | |
MWU_REGIONEN_RGN0RA_Disable = 0x0 // Disable read access watch in this region | |
MWU_REGIONEN_RGN0RA_Enable = 0x1 // Enable read access watch in this region | |
MWU_REGIONEN_RGN1WA_Pos = 0x2 // Position of RGN1WA field. | |
MWU_REGIONEN_RGN1WA_Msk = 0x4 // Bit mask of RGN1WA field. | |
MWU_REGIONEN_RGN1WA = 0x4 // Bit RGN1WA. | |
MWU_REGIONEN_RGN1WA_Disable = 0x0 // Disable write access watch in this region | |
MWU_REGIONEN_RGN1WA_Enable = 0x1 // Enable write access watch in this region | |
MWU_REGIONEN_RGN1RA_Pos = 0x3 // Position of RGN1RA field. | |
MWU_REGIONEN_RGN1RA_Msk = 0x8 // Bit mask of RGN1RA field. | |
MWU_REGIONEN_RGN1RA = 0x8 // Bit RGN1RA. | |
MWU_REGIONEN_RGN1RA_Disable = 0x0 // Disable read access watch in this region | |
MWU_REGIONEN_RGN1RA_Enable = 0x1 // Enable read access watch in this region | |
MWU_REGIONEN_RGN2WA_Pos = 0x4 // Position of RGN2WA field. | |
MWU_REGIONEN_RGN2WA_Msk = 0x10 // Bit mask of RGN2WA field. | |
MWU_REGIONEN_RGN2WA = 0x10 // Bit RGN2WA. | |
MWU_REGIONEN_RGN2WA_Disable = 0x0 // Disable write access watch in this region | |
MWU_REGIONEN_RGN2WA_Enable = 0x1 // Enable write access watch in this region | |
MWU_REGIONEN_RGN2RA_Pos = 0x5 // Position of RGN2RA field. | |
MWU_REGIONEN_RGN2RA_Msk = 0x20 // Bit mask of RGN2RA field. | |
MWU_REGIONEN_RGN2RA = 0x20 // Bit RGN2RA. | |
MWU_REGIONEN_RGN2RA_Disable = 0x0 // Disable read access watch in this region | |
MWU_REGIONEN_RGN2RA_Enable = 0x1 // Enable read access watch in this region | |
MWU_REGIONEN_RGN3WA_Pos = 0x6 // Position of RGN3WA field. | |
MWU_REGIONEN_RGN3WA_Msk = 0x40 // Bit mask of RGN3WA field. | |
MWU_REGIONEN_RGN3WA = 0x40 // Bit RGN3WA. | |
MWU_REGIONEN_RGN3WA_Disable = 0x0 // Disable write access watch in this region | |
MWU_REGIONEN_RGN3WA_Enable = 0x1 // Enable write access watch in this region | |
MWU_REGIONEN_RGN3RA_Pos = 0x7 // Position of RGN3RA field. | |
MWU_REGIONEN_RGN3RA_Msk = 0x80 // Bit mask of RGN3RA field. | |
MWU_REGIONEN_RGN3RA = 0x80 // Bit RGN3RA. | |
MWU_REGIONEN_RGN3RA_Disable = 0x0 // Disable read access watch in this region | |
MWU_REGIONEN_RGN3RA_Enable = 0x1 // Enable read access watch in this region | |
MWU_REGIONEN_PRGN0WA_Pos = 0x18 // Position of PRGN0WA field. | |
MWU_REGIONEN_PRGN0WA_Msk = 0x1000000 // Bit mask of PRGN0WA field. | |
MWU_REGIONEN_PRGN0WA = 0x1000000 // Bit PRGN0WA. | |
MWU_REGIONEN_PRGN0WA_Disable = 0x0 // Disable write access watch in this PREGION | |
MWU_REGIONEN_PRGN0WA_Enable = 0x1 // Enable write access watch in this PREGION | |
MWU_REGIONEN_PRGN0RA_Pos = 0x19 // Position of PRGN0RA field. | |
MWU_REGIONEN_PRGN0RA_Msk = 0x2000000 // Bit mask of PRGN0RA field. | |
MWU_REGIONEN_PRGN0RA = 0x2000000 // Bit PRGN0RA. | |
MWU_REGIONEN_PRGN0RA_Disable = 0x0 // Disable read access watch in this PREGION | |
MWU_REGIONEN_PRGN0RA_Enable = 0x1 // Enable read access watch in this PREGION | |
MWU_REGIONEN_PRGN1WA_Pos = 0x1a // Position of PRGN1WA field. | |
MWU_REGIONEN_PRGN1WA_Msk = 0x4000000 // Bit mask of PRGN1WA field. | |
MWU_REGIONEN_PRGN1WA = 0x4000000 // Bit PRGN1WA. | |
MWU_REGIONEN_PRGN1WA_Disable = 0x0 // Disable write access watch in this PREGION | |
MWU_REGIONEN_PRGN1WA_Enable = 0x1 // Enable write access watch in this PREGION | |
MWU_REGIONEN_PRGN1RA_Pos = 0x1b // Position of PRGN1RA field. | |
MWU_REGIONEN_PRGN1RA_Msk = 0x8000000 // Bit mask of PRGN1RA field. | |
MWU_REGIONEN_PRGN1RA = 0x8000000 // Bit PRGN1RA. | |
MWU_REGIONEN_PRGN1RA_Disable = 0x0 // Disable read access watch in this PREGION | |
MWU_REGIONEN_PRGN1RA_Enable = 0x1 // Enable read access watch in this PREGION | |
// REGIONENSET: Enable regions watch | |
MWU_REGIONENSET_RGN0WA_Pos = 0x0 // Position of RGN0WA field. | |
MWU_REGIONENSET_RGN0WA_Msk = 0x1 // Bit mask of RGN0WA field. | |
MWU_REGIONENSET_RGN0WA = 0x1 // Bit RGN0WA. | |
MWU_REGIONENSET_RGN0WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENSET_RGN0WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENSET_RGN0WA_Set = 0x1 // Enable write access watch in this region | |
MWU_REGIONENSET_RGN0RA_Pos = 0x1 // Position of RGN0RA field. | |
MWU_REGIONENSET_RGN0RA_Msk = 0x2 // Bit mask of RGN0RA field. | |
MWU_REGIONENSET_RGN0RA = 0x2 // Bit RGN0RA. | |
MWU_REGIONENSET_RGN0RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENSET_RGN0RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENSET_RGN0RA_Set = 0x1 // Enable read access watch in this region | |
MWU_REGIONENSET_RGN1WA_Pos = 0x2 // Position of RGN1WA field. | |
MWU_REGIONENSET_RGN1WA_Msk = 0x4 // Bit mask of RGN1WA field. | |
MWU_REGIONENSET_RGN1WA = 0x4 // Bit RGN1WA. | |
MWU_REGIONENSET_RGN1WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENSET_RGN1WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENSET_RGN1WA_Set = 0x1 // Enable write access watch in this region | |
MWU_REGIONENSET_RGN1RA_Pos = 0x3 // Position of RGN1RA field. | |
MWU_REGIONENSET_RGN1RA_Msk = 0x8 // Bit mask of RGN1RA field. | |
MWU_REGIONENSET_RGN1RA = 0x8 // Bit RGN1RA. | |
MWU_REGIONENSET_RGN1RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENSET_RGN1RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENSET_RGN1RA_Set = 0x1 // Enable read access watch in this region | |
MWU_REGIONENSET_RGN2WA_Pos = 0x4 // Position of RGN2WA field. | |
MWU_REGIONENSET_RGN2WA_Msk = 0x10 // Bit mask of RGN2WA field. | |
MWU_REGIONENSET_RGN2WA = 0x10 // Bit RGN2WA. | |
MWU_REGIONENSET_RGN2WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENSET_RGN2WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENSET_RGN2WA_Set = 0x1 // Enable write access watch in this region | |
MWU_REGIONENSET_RGN2RA_Pos = 0x5 // Position of RGN2RA field. | |
MWU_REGIONENSET_RGN2RA_Msk = 0x20 // Bit mask of RGN2RA field. | |
MWU_REGIONENSET_RGN2RA = 0x20 // Bit RGN2RA. | |
MWU_REGIONENSET_RGN2RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENSET_RGN2RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENSET_RGN2RA_Set = 0x1 // Enable read access watch in this region | |
MWU_REGIONENSET_RGN3WA_Pos = 0x6 // Position of RGN3WA field. | |
MWU_REGIONENSET_RGN3WA_Msk = 0x40 // Bit mask of RGN3WA field. | |
MWU_REGIONENSET_RGN3WA = 0x40 // Bit RGN3WA. | |
MWU_REGIONENSET_RGN3WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENSET_RGN3WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENSET_RGN3WA_Set = 0x1 // Enable write access watch in this region | |
MWU_REGIONENSET_RGN3RA_Pos = 0x7 // Position of RGN3RA field. | |
MWU_REGIONENSET_RGN3RA_Msk = 0x80 // Bit mask of RGN3RA field. | |
MWU_REGIONENSET_RGN3RA = 0x80 // Bit RGN3RA. | |
MWU_REGIONENSET_RGN3RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENSET_RGN3RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENSET_RGN3RA_Set = 0x1 // Enable read access watch in this region | |
MWU_REGIONENSET_PRGN0WA_Pos = 0x18 // Position of PRGN0WA field. | |
MWU_REGIONENSET_PRGN0WA_Msk = 0x1000000 // Bit mask of PRGN0WA field. | |
MWU_REGIONENSET_PRGN0WA = 0x1000000 // Bit PRGN0WA. | |
MWU_REGIONENSET_PRGN0WA_Disabled = 0x0 // Write access watch in this PREGION is disabled | |
MWU_REGIONENSET_PRGN0WA_Enabled = 0x1 // Write access watch in this PREGION is enabled | |
MWU_REGIONENSET_PRGN0WA_Set = 0x1 // Enable write access watch in this PREGION | |
MWU_REGIONENSET_PRGN0RA_Pos = 0x19 // Position of PRGN0RA field. | |
MWU_REGIONENSET_PRGN0RA_Msk = 0x2000000 // Bit mask of PRGN0RA field. | |
MWU_REGIONENSET_PRGN0RA = 0x2000000 // Bit PRGN0RA. | |
MWU_REGIONENSET_PRGN0RA_Disabled = 0x0 // Read access watch in this PREGION is disabled | |
MWU_REGIONENSET_PRGN0RA_Enabled = 0x1 // Read access watch in this PREGION is enabled | |
MWU_REGIONENSET_PRGN0RA_Set = 0x1 // Enable read access watch in this PREGION | |
MWU_REGIONENSET_PRGN1WA_Pos = 0x1a // Position of PRGN1WA field. | |
MWU_REGIONENSET_PRGN1WA_Msk = 0x4000000 // Bit mask of PRGN1WA field. | |
MWU_REGIONENSET_PRGN1WA = 0x4000000 // Bit PRGN1WA. | |
MWU_REGIONENSET_PRGN1WA_Disabled = 0x0 // Write access watch in this PREGION is disabled | |
MWU_REGIONENSET_PRGN1WA_Enabled = 0x1 // Write access watch in this PREGION is enabled | |
MWU_REGIONENSET_PRGN1WA_Set = 0x1 // Enable write access watch in this PREGION | |
MWU_REGIONENSET_PRGN1RA_Pos = 0x1b // Position of PRGN1RA field. | |
MWU_REGIONENSET_PRGN1RA_Msk = 0x8000000 // Bit mask of PRGN1RA field. | |
MWU_REGIONENSET_PRGN1RA = 0x8000000 // Bit PRGN1RA. | |
MWU_REGIONENSET_PRGN1RA_Disabled = 0x0 // Read access watch in this PREGION is disabled | |
MWU_REGIONENSET_PRGN1RA_Enabled = 0x1 // Read access watch in this PREGION is enabled | |
MWU_REGIONENSET_PRGN1RA_Set = 0x1 // Enable read access watch in this PREGION | |
// REGIONENCLR: Disable regions watch | |
MWU_REGIONENCLR_RGN0WA_Pos = 0x0 // Position of RGN0WA field. | |
MWU_REGIONENCLR_RGN0WA_Msk = 0x1 // Bit mask of RGN0WA field. | |
MWU_REGIONENCLR_RGN0WA = 0x1 // Bit RGN0WA. | |
MWU_REGIONENCLR_RGN0WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENCLR_RGN0WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENCLR_RGN0WA_Clear = 0x1 // Disable write access watch in this region | |
MWU_REGIONENCLR_RGN0RA_Pos = 0x1 // Position of RGN0RA field. | |
MWU_REGIONENCLR_RGN0RA_Msk = 0x2 // Bit mask of RGN0RA field. | |
MWU_REGIONENCLR_RGN0RA = 0x2 // Bit RGN0RA. | |
MWU_REGIONENCLR_RGN0RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENCLR_RGN0RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENCLR_RGN0RA_Clear = 0x1 // Disable read access watch in this region | |
MWU_REGIONENCLR_RGN1WA_Pos = 0x2 // Position of RGN1WA field. | |
MWU_REGIONENCLR_RGN1WA_Msk = 0x4 // Bit mask of RGN1WA field. | |
MWU_REGIONENCLR_RGN1WA = 0x4 // Bit RGN1WA. | |
MWU_REGIONENCLR_RGN1WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENCLR_RGN1WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENCLR_RGN1WA_Clear = 0x1 // Disable write access watch in this region | |
MWU_REGIONENCLR_RGN1RA_Pos = 0x3 // Position of RGN1RA field. | |
MWU_REGIONENCLR_RGN1RA_Msk = 0x8 // Bit mask of RGN1RA field. | |
MWU_REGIONENCLR_RGN1RA = 0x8 // Bit RGN1RA. | |
MWU_REGIONENCLR_RGN1RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENCLR_RGN1RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENCLR_RGN1RA_Clear = 0x1 // Disable read access watch in this region | |
MWU_REGIONENCLR_RGN2WA_Pos = 0x4 // Position of RGN2WA field. | |
MWU_REGIONENCLR_RGN2WA_Msk = 0x10 // Bit mask of RGN2WA field. | |
MWU_REGIONENCLR_RGN2WA = 0x10 // Bit RGN2WA. | |
MWU_REGIONENCLR_RGN2WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENCLR_RGN2WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENCLR_RGN2WA_Clear = 0x1 // Disable write access watch in this region | |
MWU_REGIONENCLR_RGN2RA_Pos = 0x5 // Position of RGN2RA field. | |
MWU_REGIONENCLR_RGN2RA_Msk = 0x20 // Bit mask of RGN2RA field. | |
MWU_REGIONENCLR_RGN2RA = 0x20 // Bit RGN2RA. | |
MWU_REGIONENCLR_RGN2RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENCLR_RGN2RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENCLR_RGN2RA_Clear = 0x1 // Disable read access watch in this region | |
MWU_REGIONENCLR_RGN3WA_Pos = 0x6 // Position of RGN3WA field. | |
MWU_REGIONENCLR_RGN3WA_Msk = 0x40 // Bit mask of RGN3WA field. | |
MWU_REGIONENCLR_RGN3WA = 0x40 // Bit RGN3WA. | |
MWU_REGIONENCLR_RGN3WA_Disabled = 0x0 // Write access watch in this region is disabled | |
MWU_REGIONENCLR_RGN3WA_Enabled = 0x1 // Write access watch in this region is enabled | |
MWU_REGIONENCLR_RGN3WA_Clear = 0x1 // Disable write access watch in this region | |
MWU_REGIONENCLR_RGN3RA_Pos = 0x7 // Position of RGN3RA field. | |
MWU_REGIONENCLR_RGN3RA_Msk = 0x80 // Bit mask of RGN3RA field. | |
MWU_REGIONENCLR_RGN3RA = 0x80 // Bit RGN3RA. | |
MWU_REGIONENCLR_RGN3RA_Disabled = 0x0 // Read access watch in this region is disabled | |
MWU_REGIONENCLR_RGN3RA_Enabled = 0x1 // Read access watch in this region is enabled | |
MWU_REGIONENCLR_RGN3RA_Clear = 0x1 // Disable read access watch in this region | |
MWU_REGIONENCLR_PRGN0WA_Pos = 0x18 // Position of PRGN0WA field. | |
MWU_REGIONENCLR_PRGN0WA_Msk = 0x1000000 // Bit mask of PRGN0WA field. | |
MWU_REGIONENCLR_PRGN0WA = 0x1000000 // Bit PRGN0WA. | |
MWU_REGIONENCLR_PRGN0WA_Disabled = 0x0 // Write access watch in this PREGION is disabled | |
MWU_REGIONENCLR_PRGN0WA_Enabled = 0x1 // Write access watch in this PREGION is enabled | |
MWU_REGIONENCLR_PRGN0WA_Clear = 0x1 // Disable write access watch in this PREGION | |
MWU_REGIONENCLR_PRGN0RA_Pos = 0x19 // Position of PRGN0RA field. | |
MWU_REGIONENCLR_PRGN0RA_Msk = 0x2000000 // Bit mask of PRGN0RA field. | |
MWU_REGIONENCLR_PRGN0RA = 0x2000000 // Bit PRGN0RA. | |
MWU_REGIONENCLR_PRGN0RA_Disabled = 0x0 // Read access watch in this PREGION is disabled | |
MWU_REGIONENCLR_PRGN0RA_Enabled = 0x1 // Read access watch in this PREGION is enabled | |
MWU_REGIONENCLR_PRGN0RA_Clear = 0x1 // Disable read access watch in this PREGION | |
MWU_REGIONENCLR_PRGN1WA_Pos = 0x1a // Position of PRGN1WA field. | |
MWU_REGIONENCLR_PRGN1WA_Msk = 0x4000000 // Bit mask of PRGN1WA field. | |
MWU_REGIONENCLR_PRGN1WA = 0x4000000 // Bit PRGN1WA. | |
MWU_REGIONENCLR_PRGN1WA_Disabled = 0x0 // Write access watch in this PREGION is disabled | |
MWU_REGIONENCLR_PRGN1WA_Enabled = 0x1 // Write access watch in this PREGION is enabled | |
MWU_REGIONENCLR_PRGN1WA_Clear = 0x1 // Disable write access watch in this PREGION | |
MWU_REGIONENCLR_PRGN1RA_Pos = 0x1b // Position of PRGN1RA field. | |
MWU_REGIONENCLR_PRGN1RA_Msk = 0x8000000 // Bit mask of PRGN1RA field. | |
MWU_REGIONENCLR_PRGN1RA = 0x8000000 // Bit PRGN1RA. | |
MWU_REGIONENCLR_PRGN1RA_Disabled = 0x0 // Read access watch in this PREGION is disabled | |
MWU_REGIONENCLR_PRGN1RA_Enabled = 0x1 // Read access watch in this PREGION is enabled | |
MWU_REGIONENCLR_PRGN1RA_Clear = 0x1 // Disable read access watch in this PREGION | |
// REGION.START: Description cluster[0]: Start address for region 0 | |
MWU_REGION_START_START_Pos = 0x0 // Position of START field. | |
MWU_REGION_START_START_Msk = 0xffffffff // Bit mask of START field. | |
// REGION.END: Description cluster[0]: End address of region 0 | |
MWU_REGION_END_END_Pos = 0x0 // Position of END field. | |
MWU_REGION_END_END_Msk = 0xffffffff // Bit mask of END field. | |
// PREGION.START: Description cluster[0]: Reserved for future use | |
MWU_PREGION_START_START_Pos = 0x0 // Position of START field. | |
MWU_PREGION_START_START_Msk = 0xffffffff // Bit mask of START field. | |
// PREGION.END: Description cluster[0]: Reserved for future use | |
MWU_PREGION_END_END_Pos = 0x0 // Position of END field. | |
MWU_PREGION_END_END_Msk = 0xffffffff // Bit mask of END field. | |
// PREGION.SUBS: Description cluster[0]: Subregions of region 0 | |
MWU_PREGION_SUBS_SR0_Pos = 0x0 // Position of SR0 field. | |
MWU_PREGION_SUBS_SR0_Msk = 0x1 // Bit mask of SR0 field. | |
MWU_PREGION_SUBS_SR0 = 0x1 // Bit SR0. | |
MWU_PREGION_SUBS_SR0_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR0_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR1_Pos = 0x1 // Position of SR1 field. | |
MWU_PREGION_SUBS_SR1_Msk = 0x2 // Bit mask of SR1 field. | |
MWU_PREGION_SUBS_SR1 = 0x2 // Bit SR1. | |
MWU_PREGION_SUBS_SR1_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR1_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR2_Pos = 0x2 // Position of SR2 field. | |
MWU_PREGION_SUBS_SR2_Msk = 0x4 // Bit mask of SR2 field. | |
MWU_PREGION_SUBS_SR2 = 0x4 // Bit SR2. | |
MWU_PREGION_SUBS_SR2_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR2_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR3_Pos = 0x3 // Position of SR3 field. | |
MWU_PREGION_SUBS_SR3_Msk = 0x8 // Bit mask of SR3 field. | |
MWU_PREGION_SUBS_SR3 = 0x8 // Bit SR3. | |
MWU_PREGION_SUBS_SR3_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR3_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR4_Pos = 0x4 // Position of SR4 field. | |
MWU_PREGION_SUBS_SR4_Msk = 0x10 // Bit mask of SR4 field. | |
MWU_PREGION_SUBS_SR4 = 0x10 // Bit SR4. | |
MWU_PREGION_SUBS_SR4_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR4_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR5_Pos = 0x5 // Position of SR5 field. | |
MWU_PREGION_SUBS_SR5_Msk = 0x20 // Bit mask of SR5 field. | |
MWU_PREGION_SUBS_SR5 = 0x20 // Bit SR5. | |
MWU_PREGION_SUBS_SR5_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR5_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR6_Pos = 0x6 // Position of SR6 field. | |
MWU_PREGION_SUBS_SR6_Msk = 0x40 // Bit mask of SR6 field. | |
MWU_PREGION_SUBS_SR6 = 0x40 // Bit SR6. | |
MWU_PREGION_SUBS_SR6_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR6_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR7_Pos = 0x7 // Position of SR7 field. | |
MWU_PREGION_SUBS_SR7_Msk = 0x80 // Bit mask of SR7 field. | |
MWU_PREGION_SUBS_SR7 = 0x80 // Bit SR7. | |
MWU_PREGION_SUBS_SR7_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR7_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR8_Pos = 0x8 // Position of SR8 field. | |
MWU_PREGION_SUBS_SR8_Msk = 0x100 // Bit mask of SR8 field. | |
MWU_PREGION_SUBS_SR8 = 0x100 // Bit SR8. | |
MWU_PREGION_SUBS_SR8_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR8_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR9_Pos = 0x9 // Position of SR9 field. | |
MWU_PREGION_SUBS_SR9_Msk = 0x200 // Bit mask of SR9 field. | |
MWU_PREGION_SUBS_SR9 = 0x200 // Bit SR9. | |
MWU_PREGION_SUBS_SR9_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR9_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR10_Pos = 0xa // Position of SR10 field. | |
MWU_PREGION_SUBS_SR10_Msk = 0x400 // Bit mask of SR10 field. | |
MWU_PREGION_SUBS_SR10 = 0x400 // Bit SR10. | |
MWU_PREGION_SUBS_SR10_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR10_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR11_Pos = 0xb // Position of SR11 field. | |
MWU_PREGION_SUBS_SR11_Msk = 0x800 // Bit mask of SR11 field. | |
MWU_PREGION_SUBS_SR11 = 0x800 // Bit SR11. | |
MWU_PREGION_SUBS_SR11_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR11_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR12_Pos = 0xc // Position of SR12 field. | |
MWU_PREGION_SUBS_SR12_Msk = 0x1000 // Bit mask of SR12 field. | |
MWU_PREGION_SUBS_SR12 = 0x1000 // Bit SR12. | |
MWU_PREGION_SUBS_SR12_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR12_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR13_Pos = 0xd // Position of SR13 field. | |
MWU_PREGION_SUBS_SR13_Msk = 0x2000 // Bit mask of SR13 field. | |
MWU_PREGION_SUBS_SR13 = 0x2000 // Bit SR13. | |
MWU_PREGION_SUBS_SR13_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR13_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR14_Pos = 0xe // Position of SR14 field. | |
MWU_PREGION_SUBS_SR14_Msk = 0x4000 // Bit mask of SR14 field. | |
MWU_PREGION_SUBS_SR14 = 0x4000 // Bit SR14. | |
MWU_PREGION_SUBS_SR14_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR14_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR15_Pos = 0xf // Position of SR15 field. | |
MWU_PREGION_SUBS_SR15_Msk = 0x8000 // Bit mask of SR15 field. | |
MWU_PREGION_SUBS_SR15 = 0x8000 // Bit SR15. | |
MWU_PREGION_SUBS_SR15_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR15_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR16_Pos = 0x10 // Position of SR16 field. | |
MWU_PREGION_SUBS_SR16_Msk = 0x10000 // Bit mask of SR16 field. | |
MWU_PREGION_SUBS_SR16 = 0x10000 // Bit SR16. | |
MWU_PREGION_SUBS_SR16_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR16_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR17_Pos = 0x11 // Position of SR17 field. | |
MWU_PREGION_SUBS_SR17_Msk = 0x20000 // Bit mask of SR17 field. | |
MWU_PREGION_SUBS_SR17 = 0x20000 // Bit SR17. | |
MWU_PREGION_SUBS_SR17_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR17_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR18_Pos = 0x12 // Position of SR18 field. | |
MWU_PREGION_SUBS_SR18_Msk = 0x40000 // Bit mask of SR18 field. | |
MWU_PREGION_SUBS_SR18 = 0x40000 // Bit SR18. | |
MWU_PREGION_SUBS_SR18_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR18_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR19_Pos = 0x13 // Position of SR19 field. | |
MWU_PREGION_SUBS_SR19_Msk = 0x80000 // Bit mask of SR19 field. | |
MWU_PREGION_SUBS_SR19 = 0x80000 // Bit SR19. | |
MWU_PREGION_SUBS_SR19_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR19_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR20_Pos = 0x14 // Position of SR20 field. | |
MWU_PREGION_SUBS_SR20_Msk = 0x100000 // Bit mask of SR20 field. | |
MWU_PREGION_SUBS_SR20 = 0x100000 // Bit SR20. | |
MWU_PREGION_SUBS_SR20_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR20_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR21_Pos = 0x15 // Position of SR21 field. | |
MWU_PREGION_SUBS_SR21_Msk = 0x200000 // Bit mask of SR21 field. | |
MWU_PREGION_SUBS_SR21 = 0x200000 // Bit SR21. | |
MWU_PREGION_SUBS_SR21_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR21_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR22_Pos = 0x16 // Position of SR22 field. | |
MWU_PREGION_SUBS_SR22_Msk = 0x400000 // Bit mask of SR22 field. | |
MWU_PREGION_SUBS_SR22 = 0x400000 // Bit SR22. | |
MWU_PREGION_SUBS_SR22_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR22_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR23_Pos = 0x17 // Position of SR23 field. | |
MWU_PREGION_SUBS_SR23_Msk = 0x800000 // Bit mask of SR23 field. | |
MWU_PREGION_SUBS_SR23 = 0x800000 // Bit SR23. | |
MWU_PREGION_SUBS_SR23_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR23_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR24_Pos = 0x18 // Position of SR24 field. | |
MWU_PREGION_SUBS_SR24_Msk = 0x1000000 // Bit mask of SR24 field. | |
MWU_PREGION_SUBS_SR24 = 0x1000000 // Bit SR24. | |
MWU_PREGION_SUBS_SR24_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR24_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR25_Pos = 0x19 // Position of SR25 field. | |
MWU_PREGION_SUBS_SR25_Msk = 0x2000000 // Bit mask of SR25 field. | |
MWU_PREGION_SUBS_SR25 = 0x2000000 // Bit SR25. | |
MWU_PREGION_SUBS_SR25_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR25_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR26_Pos = 0x1a // Position of SR26 field. | |
MWU_PREGION_SUBS_SR26_Msk = 0x4000000 // Bit mask of SR26 field. | |
MWU_PREGION_SUBS_SR26 = 0x4000000 // Bit SR26. | |
MWU_PREGION_SUBS_SR26_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR26_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR27_Pos = 0x1b // Position of SR27 field. | |
MWU_PREGION_SUBS_SR27_Msk = 0x8000000 // Bit mask of SR27 field. | |
MWU_PREGION_SUBS_SR27 = 0x8000000 // Bit SR27. | |
MWU_PREGION_SUBS_SR27_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR27_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR28_Pos = 0x1c // Position of SR28 field. | |
MWU_PREGION_SUBS_SR28_Msk = 0x10000000 // Bit mask of SR28 field. | |
MWU_PREGION_SUBS_SR28 = 0x10000000 // Bit SR28. | |
MWU_PREGION_SUBS_SR28_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR28_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR29_Pos = 0x1d // Position of SR29 field. | |
MWU_PREGION_SUBS_SR29_Msk = 0x20000000 // Bit mask of SR29 field. | |
MWU_PREGION_SUBS_SR29 = 0x20000000 // Bit SR29. | |
MWU_PREGION_SUBS_SR29_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR29_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR30_Pos = 0x1e // Position of SR30 field. | |
MWU_PREGION_SUBS_SR30_Msk = 0x40000000 // Bit mask of SR30 field. | |
MWU_PREGION_SUBS_SR30 = 0x40000000 // Bit SR30. | |
MWU_PREGION_SUBS_SR30_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR30_Include = 0x1 // Include | |
MWU_PREGION_SUBS_SR31_Pos = 0x1f // Position of SR31 field. | |
MWU_PREGION_SUBS_SR31_Msk = 0x80000000 // Bit mask of SR31 field. | |
MWU_PREGION_SUBS_SR31 = 0x80000000 // Bit SR31. | |
MWU_PREGION_SUBS_SR31_Exclude = 0x0 // Exclude | |
MWU_PREGION_SUBS_SR31_Include = 0x1 // Include | |
) | |
// Bitfields for I2S: Inter-IC Sound | |
const ( | |
// INTEN: Enable or disable interrupt | |
I2S_INTEN_RXPTRUPD_Pos = 0x1 // Position of RXPTRUPD field. | |
I2S_INTEN_RXPTRUPD_Msk = 0x2 // Bit mask of RXPTRUPD field. | |
I2S_INTEN_RXPTRUPD = 0x2 // Bit RXPTRUPD. | |
I2S_INTEN_RXPTRUPD_Disabled = 0x0 // Disable | |
I2S_INTEN_RXPTRUPD_Enabled = 0x1 // Enable | |
I2S_INTEN_STOPPED_Pos = 0x2 // Position of STOPPED field. | |
I2S_INTEN_STOPPED_Msk = 0x4 // Bit mask of STOPPED field. | |
I2S_INTEN_STOPPED = 0x4 // Bit STOPPED. | |
I2S_INTEN_STOPPED_Disabled = 0x0 // Disable | |
I2S_INTEN_STOPPED_Enabled = 0x1 // Enable | |
I2S_INTEN_TXPTRUPD_Pos = 0x5 // Position of TXPTRUPD field. | |
I2S_INTEN_TXPTRUPD_Msk = 0x20 // Bit mask of TXPTRUPD field. | |
I2S_INTEN_TXPTRUPD = 0x20 // Bit TXPTRUPD. | |
I2S_INTEN_TXPTRUPD_Disabled = 0x0 // Disable | |
I2S_INTEN_TXPTRUPD_Enabled = 0x1 // Enable | |
// INTENSET: Enable interrupt | |
I2S_INTENSET_RXPTRUPD_Pos = 0x1 // Position of RXPTRUPD field. | |
I2S_INTENSET_RXPTRUPD_Msk = 0x2 // Bit mask of RXPTRUPD field. | |
I2S_INTENSET_RXPTRUPD = 0x2 // Bit RXPTRUPD. | |
I2S_INTENSET_RXPTRUPD_Disabled = 0x0 // Read: Disabled | |
I2S_INTENSET_RXPTRUPD_Enabled = 0x1 // Read: Enabled | |
I2S_INTENSET_RXPTRUPD_Set = 0x1 // Enable | |
I2S_INTENSET_STOPPED_Pos = 0x2 // Position of STOPPED field. | |
I2S_INTENSET_STOPPED_Msk = 0x4 // Bit mask of STOPPED field. | |
I2S_INTENSET_STOPPED = 0x4 // Bit STOPPED. | |
I2S_INTENSET_STOPPED_Disabled = 0x0 // Read: Disabled | |
I2S_INTENSET_STOPPED_Enabled = 0x1 // Read: Enabled | |
I2S_INTENSET_STOPPED_Set = 0x1 // Enable | |
I2S_INTENSET_TXPTRUPD_Pos = 0x5 // Position of TXPTRUPD field. | |
I2S_INTENSET_TXPTRUPD_Msk = 0x20 // Bit mask of TXPTRUPD field. | |
I2S_INTENSET_TXPTRUPD = 0x20 // Bit TXPTRUPD. | |
I2S_INTENSET_TXPTRUPD_Disabled = 0x0 // Read: Disabled | |
I2S_INTENSET_TXPTRUPD_Enabled = 0x1 // Read: Enabled | |
I2S_INTENSET_TXPTRUPD_Set = 0x1 // Enable | |
// INTENCLR: Disable interrupt | |
I2S_INTENCLR_RXPTRUPD_Pos = 0x1 // Position of RXPTRUPD field. | |
I2S_INTENCLR_RXPTRUPD_Msk = 0x2 // Bit mask of RXPTRUPD field. | |
I2S_INTENCLR_RXPTRUPD = 0x2 // Bit RXPTRUPD. | |
I2S_INTENCLR_RXPTRUPD_Disabled = 0x0 // Read: Disabled | |
I2S_INTENCLR_RXPTRUPD_Enabled = 0x1 // Read: Enabled | |
I2S_INTENCLR_RXPTRUPD_Clear = 0x1 // Disable | |
I2S_INTENCLR_STOPPED_Pos = 0x2 // Position of STOPPED field. | |
I2S_INTENCLR_STOPPED_Msk = 0x4 // Bit mask of STOPPED field. | |
I2S_INTENCLR_STOPPED = 0x4 // Bit STOPPED. | |
I2S_INTENCLR_STOPPED_Disabled = 0x0 // Read: Disabled | |
I2S_INTENCLR_STOPPED_Enabled = 0x1 // Read: Enabled | |
I2S_INTENCLR_STOPPED_Clear = 0x1 // Disable | |
I2S_INTENCLR_TXPTRUPD_Pos = 0x5 // Position of TXPTRUPD field. | |
I2S_INTENCLR_TXPTRUPD_Msk = 0x20 // Bit mask of TXPTRUPD field. | |
I2S_INTENCLR_TXPTRUPD = 0x20 // Bit TXPTRUPD. | |
I2S_INTENCLR_TXPTRUPD_Disabled = 0x0 // Read: Disabled | |
I2S_INTENCLR_TXPTRUPD_Enabled = 0x1 // Read: Enabled | |
I2S_INTENCLR_TXPTRUPD_Clear = 0x1 // Disable | |
// ENABLE: Enable I2S module. | |
I2S_ENABLE_ENABLE_Pos = 0x0 // Position of ENABLE field. | |
I2S_ENABLE_ENABLE_Msk = 0x1 // Bit mask of ENABLE field. | |
I2S_ENABLE_ENABLE = 0x1 // Bit ENABLE. | |
I2S_ENABLE_ENABLE_Disabled = 0x0 // Disable | |
I2S_ENABLE_ENABLE_Enabled = 0x1 // Enable | |
// CONFIG.MODE: I2S mode. | |
I2S_CONFIG_MODE_MODE_Pos = 0x0 // Position of MODE field. | |
I2S_CONFIG_MODE_MODE_Msk = 0x1 // Bit mask of MODE field. | |
I2S_CONFIG_MODE_MODE = 0x1 // Bit MODE. | |
I2S_CONFIG_MODE_MODE_Master = 0x0 // Master mode. SCK and LRCK generated from internal master clcok (MCK) and output on pins defined by PSEL.xxx. | |
I2S_CONFIG_MODE_MODE_Slave = 0x1 // Slave mode. SCK and LRCK generated by external master and received on pins defined by PSEL.xxx | |
// CONFIG.RXEN: Reception (RX) enable. | |
I2S_CONFIG_RXEN_RXEN_Pos = 0x0 // Position of RXEN field. | |
I2S_CONFIG_RXEN_RXEN_Msk = 0x1 // Bit mask of RXEN field. | |
I2S_CONFIG_RXEN_RXEN = 0x1 // Bit RXEN. | |
I2S_CONFIG_RXEN_RXEN_Disabled = 0x0 // Reception disabled and now data will be written to the RXD.PTR address. | |
I2S_CONFIG_RXEN_RXEN_Enabled = 0x1 // Reception enabled. | |
// CONFIG.TXEN: Transmission (TX) enable. | |
I2S_CONFIG_TXEN_TXEN_Pos = 0x0 // Position of TXEN field. | |
I2S_CONFIG_TXEN_TXEN_Msk = 0x1 // Bit mask of TXEN field. | |
I2S_CONFIG_TXEN_TXEN = 0x1 // Bit TXEN. | |
I2S_CONFIG_TXEN_TXEN_Disabled = 0x0 // Transmission disabled and now data will be read from the RXD.TXD address. | |
I2S_CONFIG_TXEN_TXEN_Enabled = 0x1 // Transmission enabled. | |
// CONFIG.MCKEN: Master clock generator enable. | |
I2S_CONFIG_MCKEN_MCKEN_Pos = 0x0 // Position of MCKEN field. | |
I2S_CONFIG_MCKEN_MCKEN_Msk = 0x1 // Bit mask of MCKEN field. | |
I2S_CONFIG_MCKEN_MCKEN = 0x1 // Bit MCKEN. | |
I2S_CONFIG_MCKEN_MCKEN_Disabled = 0x0 // Master clock generator disabled and PSEL.MCK not connected(available as GPIO). | |
I2S_CONFIG_MCKEN_MCKEN_Enabled = 0x1 // Master clock generator running and MCK output on PSEL.MCK. | |
// CONFIG.MCKFREQ: Master clock generator frequency. | |
I2S_CONFIG_MCKFREQ_MCKFREQ_Pos = 0x0 // Position of MCKFREQ field. | |
I2S_CONFIG_MCKFREQ_MCKFREQ_Msk = 0xffffffff // Bit mask of MCKFREQ field. | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV2 = 0x80000000 // 32 MHz / 2 = 16.0 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV3 = 0x50000000 // 32 MHz / 3 = 10.6666667 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV4 = 0x40000000 // 32 MHz / 4 = 8.0 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV5 = 0x30000000 // 32 MHz / 5 = 6.4 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV6 = 0x28000000 // 32 MHz / 6 = 5.3333333 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV8 = 0x20000000 // 32 MHz / 8 = 4.0 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV10 = 0x18000000 // 32 MHz / 10 = 3.2 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV11 = 0x16000000 // 32 MHz / 11 = 2.9090909 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV15 = 0x11000000 // 32 MHz / 15 = 2.1333333 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV16 = 0x10000000 // 32 MHz / 16 = 2.0 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV21 = 0xc000000 // 32 MHz / 21 = 1.5238095 | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV23 = 0xb000000 // 32 MHz / 23 = 1.3913043 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV30 = 0x8800000 // 32 MHz / 30 = 1.0666667 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV31 = 0x8400000 // 32 MHz / 31 = 1.0322581 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV32 = 0x8000000 // 32 MHz / 32 = 1.0 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV42 = 0x6000000 // 32 MHz / 42 = 0.7619048 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV63 = 0x4100000 // 32 MHz / 63 = 0.5079365 MHz | |
I2S_CONFIG_MCKFREQ_MCKFREQ_32MDIV125 = 0x20c0000 // 32 MHz / 125 = 0.256 MHz | |
// CONFIG.RATIO: MCK / LRCK ratio. | |
I2S_CONFIG_RATIO_RATIO_Pos = 0x0 // Position of RATIO field. | |
I2S_CONFIG_RATIO_RATIO_Msk = 0xf // Bit mask of RATIO field. | |
I2S_CONFIG_RATIO_RATIO_32X = 0x0 // LRCK = MCK / 32 | |
I2S_CONFIG_RATIO_RATIO_48X = 0x1 // LRCK = MCK / 48 | |
I2S_CONFIG_RATIO_RATIO_64X = 0x2 // LRCK = MCK / 64 | |
I2S_CONFIG_RATIO_RATIO_96X = 0x3 // LRCK = MCK / 96 | |
I2S_CONFIG_RATIO_RATIO_128X = 0x4 // LRCK = MCK / 128 | |
I2S_CONFIG_RATIO_RATIO_192X = 0x5 // LRCK = MCK / 192 | |
I2S_CONFIG_RATIO_RATIO_256X = 0x6 // LRCK = MCK / 256 | |
I2S_CONFIG_RATIO_RATIO_384X = 0x7 // LRCK = MCK / 384 | |
I2S_CONFIG_RATIO_RATIO_512X = 0x8 // LRCK = MCK / 512 | |
// CONFIG.SWIDTH: Sample width. | |
I2S_CONFIG_SWIDTH_SWIDTH_Pos = 0x0 // Position of SWIDTH field. | |
I2S_CONFIG_SWIDTH_SWIDTH_Msk = 0x3 // Bit mask of SWIDTH field. | |
I2S_CONFIG_SWIDTH_SWIDTH_8Bit = 0x0 // 8 bit. | |
I2S_CONFIG_SWIDTH_SWIDTH_16Bit = 0x1 // 16 bit. | |
I2S_CONFIG_SWIDTH_SWIDTH_24Bit = 0x2 // 24 bit. | |
// CONFIG.ALIGN: Alignment of sample within a frame. | |
I2S_CONFIG_ALIGN_ALIGN_Pos = 0x0 // Position of ALIGN field. | |
I2S_CONFIG_ALIGN_ALIGN_Msk = 0x1 // Bit mask of ALIGN field. | |
I2S_CONFIG_ALIGN_ALIGN = 0x1 // Bit ALIGN. | |
I2S_CONFIG_ALIGN_ALIGN_Left = 0x0 // Left-aligned. | |
I2S_CONFIG_ALIGN_ALIGN_Right = 0x1 // Right-aligned. | |
// CONFIG.FORMAT: Frame format. | |
I2S_CONFIG_FORMAT_FORMAT_Pos = 0x0 // Position of FORMAT field. | |
I2S_CONFIG_FORMAT_FORMAT_Msk = 0x1 // Bit mask of FORMAT field. | |
I2S_CONFIG_FORMAT_FORMAT = 0x1 // Bit FORMAT. | |
I2S_CONFIG_FORMAT_FORMAT_I2S = 0x0 // Original I2S format. | |
I2S_CONFIG_FORMAT_FORMAT_Aligned = 0x1 // Alternate (left- or right-aligned) format. | |
// CONFIG.CHANNELS: Enable channels. | |
I2S_CONFIG_CHANNELS_CHANNELS_Pos = 0x0 // Position of CHANNELS field. | |
I2S_CONFIG_CHANNELS_CHANNELS_Msk = 0x3 // Bit mask of CHANNELS field. | |
I2S_CONFIG_CHANNELS_CHANNELS_Stereo = 0x0 // Stereo. | |
I2S_CONFIG_CHANNELS_CHANNELS_Left = 0x1 // Left only. | |
I2S_CONFIG_CHANNELS_CHANNELS_Right = 0x2 // Right only. | |
// RXD.PTR: Receive buffer RAM start address. | |
I2S_RXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
I2S_RXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// TXD.PTR: Transmit buffer RAM start address. | |
I2S_TXD_PTR_PTR_Pos = 0x0 // Position of PTR field. | |
I2S_TXD_PTR_PTR_Msk = 0xffffffff // Bit mask of PTR field. | |
// RXTXD.MAXCNT: Size of RXD and TXD buffers. | |
I2S_RXTXD_MAXCNT_MAXCNT_Pos = 0x0 // Position of MAXCNT field. | |
I2S_RXTXD_MAXCNT_MAXCNT_Msk = 0x3fff // Bit mask of MAXCNT field. | |
// PSEL.MCK: Pin select for MCK signal. | |
I2S_PSEL_MCK_PIN_Pos = 0x0 // Position of PIN field. | |
I2S_PSEL_MCK_PIN_Msk = 0x1f // Bit mask of PIN field. | |
I2S_PSEL_MCK_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
I2S_PSEL_MCK_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
I2S_PSEL_MCK_CONNECT = 0x80000000 // Bit CONNECT. | |
I2S_PSEL_MCK_CONNECT_Disconnected = 0x1 // Disconnect | |
I2S_PSEL_MCK_CONNECT_Connected = 0x0 // Connect | |
// PSEL.SCK: Pin select for SCK signal. | |
I2S_PSEL_SCK_PIN_Pos = 0x0 // Position of PIN field. | |
I2S_PSEL_SCK_PIN_Msk = 0x1f // Bit mask of PIN field. | |
I2S_PSEL_SCK_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
I2S_PSEL_SCK_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
I2S_PSEL_SCK_CONNECT = 0x80000000 // Bit CONNECT. | |
I2S_PSEL_SCK_CONNECT_Disconnected = 0x1 // Disconnect | |
I2S_PSEL_SCK_CONNECT_Connected = 0x0 // Connect | |
// PSEL.LRCK: Pin select for LRCK signal. | |
I2S_PSEL_LRCK_PIN_Pos = 0x0 // Position of PIN field. | |
I2S_PSEL_LRCK_PIN_Msk = 0x1f // Bit mask of PIN field. | |
I2S_PSEL_LRCK_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
I2S_PSEL_LRCK_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
I2S_PSEL_LRCK_CONNECT = 0x80000000 // Bit CONNECT. | |
I2S_PSEL_LRCK_CONNECT_Disconnected = 0x1 // Disconnect | |
I2S_PSEL_LRCK_CONNECT_Connected = 0x0 // Connect | |
// PSEL.SDIN: Pin select for SDIN signal. | |
I2S_PSEL_SDIN_PIN_Pos = 0x0 // Position of PIN field. | |
I2S_PSEL_SDIN_PIN_Msk = 0x1f // Bit mask of PIN field. | |
I2S_PSEL_SDIN_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
I2S_PSEL_SDIN_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
I2S_PSEL_SDIN_CONNECT = 0x80000000 // Bit CONNECT. | |
I2S_PSEL_SDIN_CONNECT_Disconnected = 0x1 // Disconnect | |
I2S_PSEL_SDIN_CONNECT_Connected = 0x0 // Connect | |
// PSEL.SDOUT: Pin select for SDOUT signal. | |
I2S_PSEL_SDOUT_PIN_Pos = 0x0 // Position of PIN field. | |
I2S_PSEL_SDOUT_PIN_Msk = 0x1f // Bit mask of PIN field. | |
I2S_PSEL_SDOUT_CONNECT_Pos = 0x1f // Position of CONNECT field. | |
I2S_PSEL_SDOUT_CONNECT_Msk = 0x80000000 // Bit mask of CONNECT field. | |
I2S_PSEL_SDOUT_CONNECT = 0x80000000 // Bit CONNECT. | |
I2S_PSEL_SDOUT_CONNECT_Disconnected = 0x1 // Disconnect | |
I2S_PSEL_SDOUT_CONNECT_Connected = 0x0 // Connect | |
) | |
// Bitfields for FPU: FPU | |
const () | |
// Bitfields for P0: GPIO Port 1 | |
const ( | |
// OUT: Write GPIO port | |
GPIO_OUT_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_OUT_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_OUT_PIN0 = 0x1 // Bit PIN0. | |
GPIO_OUT_PIN0_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN0_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_OUT_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_OUT_PIN1 = 0x2 // Bit PIN1. | |
GPIO_OUT_PIN1_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN1_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_OUT_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_OUT_PIN2 = 0x4 // Bit PIN2. | |
GPIO_OUT_PIN2_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN2_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_OUT_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_OUT_PIN3 = 0x8 // Bit PIN3. | |
GPIO_OUT_PIN3_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN3_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_OUT_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_OUT_PIN4 = 0x10 // Bit PIN4. | |
GPIO_OUT_PIN4_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN4_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_OUT_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_OUT_PIN5 = 0x20 // Bit PIN5. | |
GPIO_OUT_PIN5_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN5_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_OUT_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_OUT_PIN6 = 0x40 // Bit PIN6. | |
GPIO_OUT_PIN6_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN6_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_OUT_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_OUT_PIN7 = 0x80 // Bit PIN7. | |
GPIO_OUT_PIN7_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN7_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_OUT_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_OUT_PIN8 = 0x100 // Bit PIN8. | |
GPIO_OUT_PIN8_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN8_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_OUT_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_OUT_PIN9 = 0x200 // Bit PIN9. | |
GPIO_OUT_PIN9_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN9_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_OUT_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_OUT_PIN10 = 0x400 // Bit PIN10. | |
GPIO_OUT_PIN10_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN10_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_OUT_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_OUT_PIN11 = 0x800 // Bit PIN11. | |
GPIO_OUT_PIN11_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN11_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_OUT_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_OUT_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_OUT_PIN12_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN12_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_OUT_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_OUT_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_OUT_PIN13_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN13_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_OUT_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_OUT_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_OUT_PIN14_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN14_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_OUT_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_OUT_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_OUT_PIN15_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN15_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_OUT_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_OUT_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_OUT_PIN16_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN16_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_OUT_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_OUT_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_OUT_PIN17_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN17_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_OUT_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_OUT_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_OUT_PIN18_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN18_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_OUT_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_OUT_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_OUT_PIN19_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN19_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_OUT_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_OUT_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_OUT_PIN20_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN20_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_OUT_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_OUT_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_OUT_PIN21_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN21_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_OUT_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_OUT_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_OUT_PIN22_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN22_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_OUT_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_OUT_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_OUT_PIN23_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN23_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_OUT_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_OUT_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_OUT_PIN24_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN24_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_OUT_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_OUT_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_OUT_PIN25_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN25_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_OUT_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_OUT_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_OUT_PIN26_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN26_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_OUT_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_OUT_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_OUT_PIN27_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN27_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_OUT_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_OUT_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_OUT_PIN28_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN28_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_OUT_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_OUT_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_OUT_PIN29_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN29_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_OUT_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_OUT_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_OUT_PIN30_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN30_High = 0x1 // Pin driver is high | |
GPIO_OUT_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_OUT_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_OUT_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_OUT_PIN31_Low = 0x0 // Pin driver is low | |
GPIO_OUT_PIN31_High = 0x1 // Pin driver is high | |
// OUTSET: Set individual bits in GPIO port | |
GPIO_OUTSET_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_OUTSET_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_OUTSET_PIN0 = 0x1 // Bit PIN0. | |
GPIO_OUTSET_PIN0_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN0_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN0_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_OUTSET_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_OUTSET_PIN1 = 0x2 // Bit PIN1. | |
GPIO_OUTSET_PIN1_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN1_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN1_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_OUTSET_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_OUTSET_PIN2 = 0x4 // Bit PIN2. | |
GPIO_OUTSET_PIN2_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN2_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN2_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_OUTSET_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_OUTSET_PIN3 = 0x8 // Bit PIN3. | |
GPIO_OUTSET_PIN3_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN3_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN3_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_OUTSET_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_OUTSET_PIN4 = 0x10 // Bit PIN4. | |
GPIO_OUTSET_PIN4_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN4_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN4_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_OUTSET_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_OUTSET_PIN5 = 0x20 // Bit PIN5. | |
GPIO_OUTSET_PIN5_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN5_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN5_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_OUTSET_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_OUTSET_PIN6 = 0x40 // Bit PIN6. | |
GPIO_OUTSET_PIN6_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN6_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN6_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_OUTSET_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_OUTSET_PIN7 = 0x80 // Bit PIN7. | |
GPIO_OUTSET_PIN7_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN7_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN7_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_OUTSET_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_OUTSET_PIN8 = 0x100 // Bit PIN8. | |
GPIO_OUTSET_PIN8_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN8_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN8_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_OUTSET_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_OUTSET_PIN9 = 0x200 // Bit PIN9. | |
GPIO_OUTSET_PIN9_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN9_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN9_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_OUTSET_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_OUTSET_PIN10 = 0x400 // Bit PIN10. | |
GPIO_OUTSET_PIN10_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN10_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN10_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_OUTSET_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_OUTSET_PIN11 = 0x800 // Bit PIN11. | |
GPIO_OUTSET_PIN11_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN11_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN11_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_OUTSET_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_OUTSET_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_OUTSET_PIN12_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN12_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN12_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_OUTSET_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_OUTSET_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_OUTSET_PIN13_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN13_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN13_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_OUTSET_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_OUTSET_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_OUTSET_PIN14_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN14_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN14_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_OUTSET_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_OUTSET_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_OUTSET_PIN15_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN15_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN15_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_OUTSET_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_OUTSET_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_OUTSET_PIN16_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN16_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN16_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_OUTSET_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_OUTSET_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_OUTSET_PIN17_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN17_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN17_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_OUTSET_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_OUTSET_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_OUTSET_PIN18_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN18_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN18_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_OUTSET_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_OUTSET_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_OUTSET_PIN19_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN19_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN19_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_OUTSET_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_OUTSET_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_OUTSET_PIN20_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN20_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN20_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_OUTSET_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_OUTSET_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_OUTSET_PIN21_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN21_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN21_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_OUTSET_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_OUTSET_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_OUTSET_PIN22_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN22_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN22_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_OUTSET_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_OUTSET_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_OUTSET_PIN23_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN23_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN23_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_OUTSET_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_OUTSET_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_OUTSET_PIN24_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN24_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN24_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_OUTSET_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_OUTSET_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_OUTSET_PIN25_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN25_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN25_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_OUTSET_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_OUTSET_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_OUTSET_PIN26_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN26_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN26_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_OUTSET_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_OUTSET_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_OUTSET_PIN27_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN27_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN27_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_OUTSET_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_OUTSET_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_OUTSET_PIN28_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN28_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN28_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_OUTSET_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_OUTSET_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_OUTSET_PIN29_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN29_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN29_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_OUTSET_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_OUTSET_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_OUTSET_PIN30_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN30_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN30_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
GPIO_OUTSET_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_OUTSET_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_OUTSET_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_OUTSET_PIN31_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTSET_PIN31_High = 0x1 // Read: pin driver is high | |
GPIO_OUTSET_PIN31_Set = 0x1 // Write: writing a '1' sets the pin high; writing a '0' has no effect | |
// OUTCLR: Clear individual bits in GPIO port | |
GPIO_OUTCLR_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_OUTCLR_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_OUTCLR_PIN0 = 0x1 // Bit PIN0. | |
GPIO_OUTCLR_PIN0_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN0_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN0_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_OUTCLR_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_OUTCLR_PIN1 = 0x2 // Bit PIN1. | |
GPIO_OUTCLR_PIN1_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN1_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN1_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_OUTCLR_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_OUTCLR_PIN2 = 0x4 // Bit PIN2. | |
GPIO_OUTCLR_PIN2_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN2_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN2_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_OUTCLR_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_OUTCLR_PIN3 = 0x8 // Bit PIN3. | |
GPIO_OUTCLR_PIN3_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN3_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN3_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_OUTCLR_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_OUTCLR_PIN4 = 0x10 // Bit PIN4. | |
GPIO_OUTCLR_PIN4_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN4_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN4_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_OUTCLR_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_OUTCLR_PIN5 = 0x20 // Bit PIN5. | |
GPIO_OUTCLR_PIN5_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN5_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN5_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_OUTCLR_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_OUTCLR_PIN6 = 0x40 // Bit PIN6. | |
GPIO_OUTCLR_PIN6_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN6_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN6_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_OUTCLR_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_OUTCLR_PIN7 = 0x80 // Bit PIN7. | |
GPIO_OUTCLR_PIN7_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN7_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN7_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_OUTCLR_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_OUTCLR_PIN8 = 0x100 // Bit PIN8. | |
GPIO_OUTCLR_PIN8_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN8_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN8_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_OUTCLR_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_OUTCLR_PIN9 = 0x200 // Bit PIN9. | |
GPIO_OUTCLR_PIN9_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN9_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN9_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_OUTCLR_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_OUTCLR_PIN10 = 0x400 // Bit PIN10. | |
GPIO_OUTCLR_PIN10_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN10_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN10_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_OUTCLR_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_OUTCLR_PIN11 = 0x800 // Bit PIN11. | |
GPIO_OUTCLR_PIN11_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN11_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN11_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_OUTCLR_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_OUTCLR_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_OUTCLR_PIN12_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN12_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN12_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_OUTCLR_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_OUTCLR_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_OUTCLR_PIN13_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN13_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN13_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_OUTCLR_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_OUTCLR_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_OUTCLR_PIN14_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN14_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN14_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_OUTCLR_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_OUTCLR_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_OUTCLR_PIN15_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN15_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN15_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_OUTCLR_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_OUTCLR_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_OUTCLR_PIN16_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN16_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN16_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_OUTCLR_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_OUTCLR_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_OUTCLR_PIN17_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN17_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN17_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_OUTCLR_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_OUTCLR_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_OUTCLR_PIN18_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN18_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN18_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_OUTCLR_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_OUTCLR_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_OUTCLR_PIN19_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN19_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN19_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_OUTCLR_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_OUTCLR_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_OUTCLR_PIN20_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN20_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN20_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_OUTCLR_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_OUTCLR_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_OUTCLR_PIN21_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN21_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN21_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_OUTCLR_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_OUTCLR_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_OUTCLR_PIN22_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN22_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN22_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_OUTCLR_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_OUTCLR_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_OUTCLR_PIN23_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN23_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN23_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_OUTCLR_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_OUTCLR_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_OUTCLR_PIN24_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN24_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN24_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_OUTCLR_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_OUTCLR_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_OUTCLR_PIN25_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN25_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN25_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_OUTCLR_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_OUTCLR_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_OUTCLR_PIN26_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN26_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN26_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_OUTCLR_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_OUTCLR_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_OUTCLR_PIN27_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN27_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN27_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_OUTCLR_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_OUTCLR_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_OUTCLR_PIN28_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN28_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN28_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_OUTCLR_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_OUTCLR_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_OUTCLR_PIN29_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN29_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN29_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_OUTCLR_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_OUTCLR_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_OUTCLR_PIN30_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN30_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN30_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
GPIO_OUTCLR_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_OUTCLR_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_OUTCLR_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_OUTCLR_PIN31_Low = 0x0 // Read: pin driver is low | |
GPIO_OUTCLR_PIN31_High = 0x1 // Read: pin driver is high | |
GPIO_OUTCLR_PIN31_Clear = 0x1 // Write: writing a '1' sets the pin low; writing a '0' has no effect | |
// IN: Read GPIO port | |
GPIO_IN_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_IN_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_IN_PIN0 = 0x1 // Bit PIN0. | |
GPIO_IN_PIN0_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN0_High = 0x1 // Pin input is high | |
GPIO_IN_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_IN_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_IN_PIN1 = 0x2 // Bit PIN1. | |
GPIO_IN_PIN1_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN1_High = 0x1 // Pin input is high | |
GPIO_IN_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_IN_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_IN_PIN2 = 0x4 // Bit PIN2. | |
GPIO_IN_PIN2_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN2_High = 0x1 // Pin input is high | |
GPIO_IN_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_IN_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_IN_PIN3 = 0x8 // Bit PIN3. | |
GPIO_IN_PIN3_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN3_High = 0x1 // Pin input is high | |
GPIO_IN_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_IN_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_IN_PIN4 = 0x10 // Bit PIN4. | |
GPIO_IN_PIN4_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN4_High = 0x1 // Pin input is high | |
GPIO_IN_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_IN_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_IN_PIN5 = 0x20 // Bit PIN5. | |
GPIO_IN_PIN5_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN5_High = 0x1 // Pin input is high | |
GPIO_IN_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_IN_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_IN_PIN6 = 0x40 // Bit PIN6. | |
GPIO_IN_PIN6_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN6_High = 0x1 // Pin input is high | |
GPIO_IN_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_IN_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_IN_PIN7 = 0x80 // Bit PIN7. | |
GPIO_IN_PIN7_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN7_High = 0x1 // Pin input is high | |
GPIO_IN_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_IN_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_IN_PIN8 = 0x100 // Bit PIN8. | |
GPIO_IN_PIN8_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN8_High = 0x1 // Pin input is high | |
GPIO_IN_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_IN_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_IN_PIN9 = 0x200 // Bit PIN9. | |
GPIO_IN_PIN9_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN9_High = 0x1 // Pin input is high | |
GPIO_IN_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_IN_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_IN_PIN10 = 0x400 // Bit PIN10. | |
GPIO_IN_PIN10_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN10_High = 0x1 // Pin input is high | |
GPIO_IN_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_IN_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_IN_PIN11 = 0x800 // Bit PIN11. | |
GPIO_IN_PIN11_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN11_High = 0x1 // Pin input is high | |
GPIO_IN_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_IN_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_IN_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_IN_PIN12_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN12_High = 0x1 // Pin input is high | |
GPIO_IN_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_IN_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_IN_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_IN_PIN13_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN13_High = 0x1 // Pin input is high | |
GPIO_IN_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_IN_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_IN_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_IN_PIN14_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN14_High = 0x1 // Pin input is high | |
GPIO_IN_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_IN_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_IN_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_IN_PIN15_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN15_High = 0x1 // Pin input is high | |
GPIO_IN_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_IN_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_IN_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_IN_PIN16_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN16_High = 0x1 // Pin input is high | |
GPIO_IN_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_IN_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_IN_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_IN_PIN17_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN17_High = 0x1 // Pin input is high | |
GPIO_IN_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_IN_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_IN_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_IN_PIN18_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN18_High = 0x1 // Pin input is high | |
GPIO_IN_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_IN_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_IN_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_IN_PIN19_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN19_High = 0x1 // Pin input is high | |
GPIO_IN_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_IN_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_IN_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_IN_PIN20_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN20_High = 0x1 // Pin input is high | |
GPIO_IN_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_IN_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_IN_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_IN_PIN21_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN21_High = 0x1 // Pin input is high | |
GPIO_IN_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_IN_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_IN_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_IN_PIN22_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN22_High = 0x1 // Pin input is high | |
GPIO_IN_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_IN_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_IN_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_IN_PIN23_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN23_High = 0x1 // Pin input is high | |
GPIO_IN_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_IN_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_IN_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_IN_PIN24_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN24_High = 0x1 // Pin input is high | |
GPIO_IN_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_IN_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_IN_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_IN_PIN25_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN25_High = 0x1 // Pin input is high | |
GPIO_IN_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_IN_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_IN_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_IN_PIN26_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN26_High = 0x1 // Pin input is high | |
GPIO_IN_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_IN_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_IN_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_IN_PIN27_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN27_High = 0x1 // Pin input is high | |
GPIO_IN_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_IN_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_IN_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_IN_PIN28_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN28_High = 0x1 // Pin input is high | |
GPIO_IN_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_IN_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_IN_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_IN_PIN29_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN29_High = 0x1 // Pin input is high | |
GPIO_IN_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_IN_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_IN_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_IN_PIN30_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN30_High = 0x1 // Pin input is high | |
GPIO_IN_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_IN_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_IN_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_IN_PIN31_Low = 0x0 // Pin input is low | |
GPIO_IN_PIN31_High = 0x1 // Pin input is high | |
// DIR: Direction of GPIO pins | |
GPIO_DIR_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_DIR_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_DIR_PIN0 = 0x1 // Bit PIN0. | |
GPIO_DIR_PIN0_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN0_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_DIR_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_DIR_PIN1 = 0x2 // Bit PIN1. | |
GPIO_DIR_PIN1_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN1_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_DIR_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_DIR_PIN2 = 0x4 // Bit PIN2. | |
GPIO_DIR_PIN2_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN2_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_DIR_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_DIR_PIN3 = 0x8 // Bit PIN3. | |
GPIO_DIR_PIN3_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN3_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_DIR_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_DIR_PIN4 = 0x10 // Bit PIN4. | |
GPIO_DIR_PIN4_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN4_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_DIR_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_DIR_PIN5 = 0x20 // Bit PIN5. | |
GPIO_DIR_PIN5_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN5_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_DIR_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_DIR_PIN6 = 0x40 // Bit PIN6. | |
GPIO_DIR_PIN6_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN6_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_DIR_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_DIR_PIN7 = 0x80 // Bit PIN7. | |
GPIO_DIR_PIN7_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN7_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_DIR_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_DIR_PIN8 = 0x100 // Bit PIN8. | |
GPIO_DIR_PIN8_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN8_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_DIR_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_DIR_PIN9 = 0x200 // Bit PIN9. | |
GPIO_DIR_PIN9_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN9_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_DIR_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_DIR_PIN10 = 0x400 // Bit PIN10. | |
GPIO_DIR_PIN10_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN10_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_DIR_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_DIR_PIN11 = 0x800 // Bit PIN11. | |
GPIO_DIR_PIN11_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN11_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_DIR_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_DIR_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_DIR_PIN12_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN12_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_DIR_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_DIR_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_DIR_PIN13_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN13_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_DIR_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_DIR_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_DIR_PIN14_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN14_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_DIR_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_DIR_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_DIR_PIN15_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN15_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_DIR_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_DIR_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_DIR_PIN16_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN16_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_DIR_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_DIR_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_DIR_PIN17_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN17_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_DIR_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_DIR_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_DIR_PIN18_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN18_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_DIR_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_DIR_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_DIR_PIN19_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN19_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_DIR_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_DIR_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_DIR_PIN20_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN20_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_DIR_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_DIR_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_DIR_PIN21_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN21_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_DIR_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_DIR_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_DIR_PIN22_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN22_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_DIR_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_DIR_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_DIR_PIN23_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN23_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_DIR_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_DIR_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_DIR_PIN24_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN24_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_DIR_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_DIR_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_DIR_PIN25_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN25_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_DIR_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_DIR_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_DIR_PIN26_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN26_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_DIR_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_DIR_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_DIR_PIN27_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN27_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_DIR_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_DIR_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_DIR_PIN28_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN28_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_DIR_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_DIR_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_DIR_PIN29_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN29_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_DIR_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_DIR_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_DIR_PIN30_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN30_Output = 0x1 // Pin set as output | |
GPIO_DIR_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_DIR_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_DIR_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_DIR_PIN31_Input = 0x0 // Pin set as input | |
GPIO_DIR_PIN31_Output = 0x1 // Pin set as output | |
// DIRSET: DIR set register | |
GPIO_DIRSET_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_DIRSET_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_DIRSET_PIN0 = 0x1 // Bit PIN0. | |
GPIO_DIRSET_PIN0_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN0_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN0_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_DIRSET_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_DIRSET_PIN1 = 0x2 // Bit PIN1. | |
GPIO_DIRSET_PIN1_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN1_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN1_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_DIRSET_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_DIRSET_PIN2 = 0x4 // Bit PIN2. | |
GPIO_DIRSET_PIN2_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN2_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN2_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_DIRSET_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_DIRSET_PIN3 = 0x8 // Bit PIN3. | |
GPIO_DIRSET_PIN3_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN3_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN3_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_DIRSET_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_DIRSET_PIN4 = 0x10 // Bit PIN4. | |
GPIO_DIRSET_PIN4_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN4_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN4_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_DIRSET_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_DIRSET_PIN5 = 0x20 // Bit PIN5. | |
GPIO_DIRSET_PIN5_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN5_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN5_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_DIRSET_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_DIRSET_PIN6 = 0x40 // Bit PIN6. | |
GPIO_DIRSET_PIN6_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN6_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN6_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_DIRSET_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_DIRSET_PIN7 = 0x80 // Bit PIN7. | |
GPIO_DIRSET_PIN7_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN7_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN7_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_DIRSET_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_DIRSET_PIN8 = 0x100 // Bit PIN8. | |
GPIO_DIRSET_PIN8_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN8_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN8_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_DIRSET_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_DIRSET_PIN9 = 0x200 // Bit PIN9. | |
GPIO_DIRSET_PIN9_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN9_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN9_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_DIRSET_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_DIRSET_PIN10 = 0x400 // Bit PIN10. | |
GPIO_DIRSET_PIN10_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN10_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN10_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_DIRSET_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_DIRSET_PIN11 = 0x800 // Bit PIN11. | |
GPIO_DIRSET_PIN11_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN11_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN11_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_DIRSET_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_DIRSET_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_DIRSET_PIN12_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN12_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN12_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_DIRSET_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_DIRSET_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_DIRSET_PIN13_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN13_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN13_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_DIRSET_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_DIRSET_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_DIRSET_PIN14_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN14_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN14_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_DIRSET_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_DIRSET_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_DIRSET_PIN15_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN15_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN15_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_DIRSET_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_DIRSET_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_DIRSET_PIN16_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN16_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN16_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_DIRSET_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_DIRSET_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_DIRSET_PIN17_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN17_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN17_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_DIRSET_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_DIRSET_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_DIRSET_PIN18_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN18_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN18_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_DIRSET_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_DIRSET_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_DIRSET_PIN19_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN19_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN19_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_DIRSET_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_DIRSET_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_DIRSET_PIN20_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN20_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN20_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_DIRSET_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_DIRSET_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_DIRSET_PIN21_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN21_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN21_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_DIRSET_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_DIRSET_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_DIRSET_PIN22_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN22_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN22_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_DIRSET_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_DIRSET_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_DIRSET_PIN23_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN23_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN23_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_DIRSET_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_DIRSET_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_DIRSET_PIN24_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN24_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN24_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_DIRSET_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_DIRSET_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_DIRSET_PIN25_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN25_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN25_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_DIRSET_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_DIRSET_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_DIRSET_PIN26_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN26_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN26_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_DIRSET_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_DIRSET_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_DIRSET_PIN27_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN27_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN27_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_DIRSET_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_DIRSET_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_DIRSET_PIN28_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN28_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN28_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_DIRSET_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_DIRSET_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_DIRSET_PIN29_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN29_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN29_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_DIRSET_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_DIRSET_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_DIRSET_PIN30_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN30_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN30_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
GPIO_DIRSET_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_DIRSET_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_DIRSET_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_DIRSET_PIN31_Input = 0x0 // Read: pin set as input | |
GPIO_DIRSET_PIN31_Output = 0x1 // Read: pin set as output | |
GPIO_DIRSET_PIN31_Set = 0x1 // Write: writing a '1' sets pin to output; writing a '0' has no effect | |
// DIRCLR: DIR clear register | |
GPIO_DIRCLR_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_DIRCLR_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_DIRCLR_PIN0 = 0x1 // Bit PIN0. | |
GPIO_DIRCLR_PIN0_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN0_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN0_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_DIRCLR_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_DIRCLR_PIN1 = 0x2 // Bit PIN1. | |
GPIO_DIRCLR_PIN1_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN1_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN1_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_DIRCLR_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_DIRCLR_PIN2 = 0x4 // Bit PIN2. | |
GPIO_DIRCLR_PIN2_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN2_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN2_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_DIRCLR_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_DIRCLR_PIN3 = 0x8 // Bit PIN3. | |
GPIO_DIRCLR_PIN3_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN3_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN3_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_DIRCLR_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_DIRCLR_PIN4 = 0x10 // Bit PIN4. | |
GPIO_DIRCLR_PIN4_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN4_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN4_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_DIRCLR_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_DIRCLR_PIN5 = 0x20 // Bit PIN5. | |
GPIO_DIRCLR_PIN5_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN5_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN5_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_DIRCLR_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_DIRCLR_PIN6 = 0x40 // Bit PIN6. | |
GPIO_DIRCLR_PIN6_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN6_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN6_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_DIRCLR_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_DIRCLR_PIN7 = 0x80 // Bit PIN7. | |
GPIO_DIRCLR_PIN7_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN7_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN7_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_DIRCLR_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_DIRCLR_PIN8 = 0x100 // Bit PIN8. | |
GPIO_DIRCLR_PIN8_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN8_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN8_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_DIRCLR_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_DIRCLR_PIN9 = 0x200 // Bit PIN9. | |
GPIO_DIRCLR_PIN9_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN9_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN9_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_DIRCLR_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_DIRCLR_PIN10 = 0x400 // Bit PIN10. | |
GPIO_DIRCLR_PIN10_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN10_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN10_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_DIRCLR_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_DIRCLR_PIN11 = 0x800 // Bit PIN11. | |
GPIO_DIRCLR_PIN11_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN11_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN11_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_DIRCLR_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_DIRCLR_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_DIRCLR_PIN12_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN12_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN12_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_DIRCLR_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_DIRCLR_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_DIRCLR_PIN13_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN13_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN13_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_DIRCLR_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_DIRCLR_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_DIRCLR_PIN14_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN14_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN14_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_DIRCLR_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_DIRCLR_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_DIRCLR_PIN15_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN15_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN15_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_DIRCLR_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_DIRCLR_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_DIRCLR_PIN16_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN16_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN16_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_DIRCLR_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_DIRCLR_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_DIRCLR_PIN17_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN17_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN17_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_DIRCLR_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_DIRCLR_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_DIRCLR_PIN18_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN18_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN18_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_DIRCLR_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_DIRCLR_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_DIRCLR_PIN19_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN19_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN19_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_DIRCLR_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_DIRCLR_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_DIRCLR_PIN20_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN20_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN20_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_DIRCLR_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_DIRCLR_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_DIRCLR_PIN21_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN21_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN21_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_DIRCLR_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_DIRCLR_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_DIRCLR_PIN22_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN22_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN22_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_DIRCLR_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_DIRCLR_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_DIRCLR_PIN23_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN23_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN23_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_DIRCLR_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_DIRCLR_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_DIRCLR_PIN24_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN24_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN24_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_DIRCLR_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_DIRCLR_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_DIRCLR_PIN25_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN25_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN25_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_DIRCLR_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_DIRCLR_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_DIRCLR_PIN26_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN26_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN26_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_DIRCLR_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_DIRCLR_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_DIRCLR_PIN27_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN27_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN27_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_DIRCLR_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_DIRCLR_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_DIRCLR_PIN28_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN28_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN28_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_DIRCLR_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_DIRCLR_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_DIRCLR_PIN29_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN29_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN29_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_DIRCLR_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_DIRCLR_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_DIRCLR_PIN30_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN30_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN30_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
GPIO_DIRCLR_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_DIRCLR_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_DIRCLR_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_DIRCLR_PIN31_Input = 0x0 // Read: pin set as input | |
GPIO_DIRCLR_PIN31_Output = 0x1 // Read: pin set as output | |
GPIO_DIRCLR_PIN31_Clear = 0x1 // Write: writing a '1' sets pin to input; writing a '0' has no effect | |
// LATCH: Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers | |
GPIO_LATCH_PIN0_Pos = 0x0 // Position of PIN0 field. | |
GPIO_LATCH_PIN0_Msk = 0x1 // Bit mask of PIN0 field. | |
GPIO_LATCH_PIN0 = 0x1 // Bit PIN0. | |
GPIO_LATCH_PIN0_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN0_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN1_Pos = 0x1 // Position of PIN1 field. | |
GPIO_LATCH_PIN1_Msk = 0x2 // Bit mask of PIN1 field. | |
GPIO_LATCH_PIN1 = 0x2 // Bit PIN1. | |
GPIO_LATCH_PIN1_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN1_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN2_Pos = 0x2 // Position of PIN2 field. | |
GPIO_LATCH_PIN2_Msk = 0x4 // Bit mask of PIN2 field. | |
GPIO_LATCH_PIN2 = 0x4 // Bit PIN2. | |
GPIO_LATCH_PIN2_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN2_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN3_Pos = 0x3 // Position of PIN3 field. | |
GPIO_LATCH_PIN3_Msk = 0x8 // Bit mask of PIN3 field. | |
GPIO_LATCH_PIN3 = 0x8 // Bit PIN3. | |
GPIO_LATCH_PIN3_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN3_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN4_Pos = 0x4 // Position of PIN4 field. | |
GPIO_LATCH_PIN4_Msk = 0x10 // Bit mask of PIN4 field. | |
GPIO_LATCH_PIN4 = 0x10 // Bit PIN4. | |
GPIO_LATCH_PIN4_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN4_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN5_Pos = 0x5 // Position of PIN5 field. | |
GPIO_LATCH_PIN5_Msk = 0x20 // Bit mask of PIN5 field. | |
GPIO_LATCH_PIN5 = 0x20 // Bit PIN5. | |
GPIO_LATCH_PIN5_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN5_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN6_Pos = 0x6 // Position of PIN6 field. | |
GPIO_LATCH_PIN6_Msk = 0x40 // Bit mask of PIN6 field. | |
GPIO_LATCH_PIN6 = 0x40 // Bit PIN6. | |
GPIO_LATCH_PIN6_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN6_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN7_Pos = 0x7 // Position of PIN7 field. | |
GPIO_LATCH_PIN7_Msk = 0x80 // Bit mask of PIN7 field. | |
GPIO_LATCH_PIN7 = 0x80 // Bit PIN7. | |
GPIO_LATCH_PIN7_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN7_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN8_Pos = 0x8 // Position of PIN8 field. | |
GPIO_LATCH_PIN8_Msk = 0x100 // Bit mask of PIN8 field. | |
GPIO_LATCH_PIN8 = 0x100 // Bit PIN8. | |
GPIO_LATCH_PIN8_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN8_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN9_Pos = 0x9 // Position of PIN9 field. | |
GPIO_LATCH_PIN9_Msk = 0x200 // Bit mask of PIN9 field. | |
GPIO_LATCH_PIN9 = 0x200 // Bit PIN9. | |
GPIO_LATCH_PIN9_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN9_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN10_Pos = 0xa // Position of PIN10 field. | |
GPIO_LATCH_PIN10_Msk = 0x400 // Bit mask of PIN10 field. | |
GPIO_LATCH_PIN10 = 0x400 // Bit PIN10. | |
GPIO_LATCH_PIN10_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN10_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN11_Pos = 0xb // Position of PIN11 field. | |
GPIO_LATCH_PIN11_Msk = 0x800 // Bit mask of PIN11 field. | |
GPIO_LATCH_PIN11 = 0x800 // Bit PIN11. | |
GPIO_LATCH_PIN11_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN11_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN12_Pos = 0xc // Position of PIN12 field. | |
GPIO_LATCH_PIN12_Msk = 0x1000 // Bit mask of PIN12 field. | |
GPIO_LATCH_PIN12 = 0x1000 // Bit PIN12. | |
GPIO_LATCH_PIN12_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN12_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN13_Pos = 0xd // Position of PIN13 field. | |
GPIO_LATCH_PIN13_Msk = 0x2000 // Bit mask of PIN13 field. | |
GPIO_LATCH_PIN13 = 0x2000 // Bit PIN13. | |
GPIO_LATCH_PIN13_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN13_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN14_Pos = 0xe // Position of PIN14 field. | |
GPIO_LATCH_PIN14_Msk = 0x4000 // Bit mask of PIN14 field. | |
GPIO_LATCH_PIN14 = 0x4000 // Bit PIN14. | |
GPIO_LATCH_PIN14_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN14_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN15_Pos = 0xf // Position of PIN15 field. | |
GPIO_LATCH_PIN15_Msk = 0x8000 // Bit mask of PIN15 field. | |
GPIO_LATCH_PIN15 = 0x8000 // Bit PIN15. | |
GPIO_LATCH_PIN15_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN15_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN16_Pos = 0x10 // Position of PIN16 field. | |
GPIO_LATCH_PIN16_Msk = 0x10000 // Bit mask of PIN16 field. | |
GPIO_LATCH_PIN16 = 0x10000 // Bit PIN16. | |
GPIO_LATCH_PIN16_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN16_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN17_Pos = 0x11 // Position of PIN17 field. | |
GPIO_LATCH_PIN17_Msk = 0x20000 // Bit mask of PIN17 field. | |
GPIO_LATCH_PIN17 = 0x20000 // Bit PIN17. | |
GPIO_LATCH_PIN17_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN17_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN18_Pos = 0x12 // Position of PIN18 field. | |
GPIO_LATCH_PIN18_Msk = 0x40000 // Bit mask of PIN18 field. | |
GPIO_LATCH_PIN18 = 0x40000 // Bit PIN18. | |
GPIO_LATCH_PIN18_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN18_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN19_Pos = 0x13 // Position of PIN19 field. | |
GPIO_LATCH_PIN19_Msk = 0x80000 // Bit mask of PIN19 field. | |
GPIO_LATCH_PIN19 = 0x80000 // Bit PIN19. | |
GPIO_LATCH_PIN19_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN19_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN20_Pos = 0x14 // Position of PIN20 field. | |
GPIO_LATCH_PIN20_Msk = 0x100000 // Bit mask of PIN20 field. | |
GPIO_LATCH_PIN20 = 0x100000 // Bit PIN20. | |
GPIO_LATCH_PIN20_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN20_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN21_Pos = 0x15 // Position of PIN21 field. | |
GPIO_LATCH_PIN21_Msk = 0x200000 // Bit mask of PIN21 field. | |
GPIO_LATCH_PIN21 = 0x200000 // Bit PIN21. | |
GPIO_LATCH_PIN21_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN21_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN22_Pos = 0x16 // Position of PIN22 field. | |
GPIO_LATCH_PIN22_Msk = 0x400000 // Bit mask of PIN22 field. | |
GPIO_LATCH_PIN22 = 0x400000 // Bit PIN22. | |
GPIO_LATCH_PIN22_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN22_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN23_Pos = 0x17 // Position of PIN23 field. | |
GPIO_LATCH_PIN23_Msk = 0x800000 // Bit mask of PIN23 field. | |
GPIO_LATCH_PIN23 = 0x800000 // Bit PIN23. | |
GPIO_LATCH_PIN23_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN23_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN24_Pos = 0x18 // Position of PIN24 field. | |
GPIO_LATCH_PIN24_Msk = 0x1000000 // Bit mask of PIN24 field. | |
GPIO_LATCH_PIN24 = 0x1000000 // Bit PIN24. | |
GPIO_LATCH_PIN24_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN24_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN25_Pos = 0x19 // Position of PIN25 field. | |
GPIO_LATCH_PIN25_Msk = 0x2000000 // Bit mask of PIN25 field. | |
GPIO_LATCH_PIN25 = 0x2000000 // Bit PIN25. | |
GPIO_LATCH_PIN25_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN25_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN26_Pos = 0x1a // Position of PIN26 field. | |
GPIO_LATCH_PIN26_Msk = 0x4000000 // Bit mask of PIN26 field. | |
GPIO_LATCH_PIN26 = 0x4000000 // Bit PIN26. | |
GPIO_LATCH_PIN26_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN26_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN27_Pos = 0x1b // Position of PIN27 field. | |
GPIO_LATCH_PIN27_Msk = 0x8000000 // Bit mask of PIN27 field. | |
GPIO_LATCH_PIN27 = 0x8000000 // Bit PIN27. | |
GPIO_LATCH_PIN27_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN27_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN28_Pos = 0x1c // Position of PIN28 field. | |
GPIO_LATCH_PIN28_Msk = 0x10000000 // Bit mask of PIN28 field. | |
GPIO_LATCH_PIN28 = 0x10000000 // Bit PIN28. | |
GPIO_LATCH_PIN28_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN28_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN29_Pos = 0x1d // Position of PIN29 field. | |
GPIO_LATCH_PIN29_Msk = 0x20000000 // Bit mask of PIN29 field. | |
GPIO_LATCH_PIN29 = 0x20000000 // Bit PIN29. | |
GPIO_LATCH_PIN29_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN29_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN30_Pos = 0x1e // Position of PIN30 field. | |
GPIO_LATCH_PIN30_Msk = 0x40000000 // Bit mask of PIN30 field. | |
GPIO_LATCH_PIN30 = 0x40000000 // Bit PIN30. | |
GPIO_LATCH_PIN30_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN30_Latched = 0x1 // Criteria has been met | |
GPIO_LATCH_PIN31_Pos = 0x1f // Position of PIN31 field. | |
GPIO_LATCH_PIN31_Msk = 0x80000000 // Bit mask of PIN31 field. | |
GPIO_LATCH_PIN31 = 0x80000000 // Bit PIN31. | |
GPIO_LATCH_PIN31_NotLatched = 0x0 // Criteria has not been met | |
GPIO_LATCH_PIN31_Latched = 0x1 // Criteria has been met | |
// DETECTMODE: Select between default DETECT signal behaviour and LDETECT mode | |
GPIO_DETECTMODE_DETECTMODE_Pos = 0x0 // Position of DETECTMODE field. | |
GPIO_DETECTMODE_DETECTMODE_Msk = 0x1 // Bit mask of DETECTMODE field. | |
GPIO_DETECTMODE_DETECTMODE = 0x1 // Bit DETECTMODE. | |
GPIO_DETECTMODE_DETECTMODE_Default = 0x0 // DETECT directly connected to PIN DETECT signals | |
GPIO_DETECTMODE_DETECTMODE_LDETECT = 0x1 // Use the latched LDETECT behaviour | |
// PIN_CNF: Description collection[0]: Configuration of GPIO pins | |
GPIO_PIN_CNF_DIR_Pos = 0x0 // Position of DIR field. | |
GPIO_PIN_CNF_DIR_Msk = 0x1 // Bit mask of DIR field. | |
GPIO_PIN_CNF_DIR = 0x1 // Bit DIR. | |
GPIO_PIN_CNF_DIR_Input = 0x0 // Configure pin as an input pin | |
GPIO_PIN_CNF_DIR_Output = 0x1 // Configure pin as an output pin | |
GPIO_PIN_CNF_INPUT_Pos = 0x1 // Position of INPUT field. | |
GPIO_PIN_CNF_INPUT_Msk = 0x2 // Bit mask of INPUT field. | |
GPIO_PIN_CNF_INPUT = 0x2 // Bit INPUT. | |
GPIO_PIN_CNF_INPUT_Connect = 0x0 // Connect input buffer | |
GPIO_PIN_CNF_INPUT_Disconnect = 0x1 // Disconnect input buffer | |
GPIO_PIN_CNF_PULL_Pos = 0x2 // Position of PULL field. | |
GPIO_PIN_CNF_PULL_Msk = 0xc // Bit mask of PULL field. | |
GPIO_PIN_CNF_PULL_Disabled = 0x0 // No pull | |
GPIO_PIN_CNF_PULL_Pulldown = 0x1 // Pull down on pin | |
GPIO_PIN_CNF_PULL_Pullup = 0x3 // Pull up on pin | |
GPIO_PIN_CNF_DRIVE_Pos = 0x8 // Position of DRIVE field. | |
GPIO_PIN_CNF_DRIVE_Msk = 0x700 // Bit mask of DRIVE field. | |
GPIO_PIN_CNF_DRIVE_S0S1 = 0x0 // Standard '0', standard '1' | |
GPIO_PIN_CNF_DRIVE_H0S1 = 0x1 // High drive '0', standard '1' | |
GPIO_PIN_CNF_DRIVE_S0H1 = 0x2 // Standard '0', high drive '1' | |
GPIO_PIN_CNF_DRIVE_H0H1 = 0x3 // High drive '0', high 'drive '1'' | |
GPIO_PIN_CNF_DRIVE_D0S1 = 0x4 // Disconnect '0' standard '1' (normally used for wired-or connections) | |
GPIO_PIN_CNF_DRIVE_D0H1 = 0x5 // Disconnect '0', high drive '1' (normally used for wired-or connections) | |
GPIO_PIN_CNF_DRIVE_S0D1 = 0x6 // Standard '0'. disconnect '1' (normally used for wired-and connections) | |
GPIO_PIN_CNF_DRIVE_H0D1 = 0x7 // High drive '0', disconnect '1' (normally used for wired-and connections) | |
GPIO_PIN_CNF_SENSE_Pos = 0x10 // Position of SENSE field. | |
GPIO_PIN_CNF_SENSE_Msk = 0x30000 // Bit mask of SENSE field. | |
GPIO_PIN_CNF_SENSE_Disabled = 0x0 // Disabled | |
GPIO_PIN_CNF_SENSE_High = 0x2 // Sense for high level | |
GPIO_PIN_CNF_SENSE_Low = 0x3 // Sense for low level | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Automatically generated file. DO NOT EDIT. | |
// Generated by gen-device-svd.py from nrf52.svd, see https://github.com/NordicSemiconductor/nrfx/tree/master/mdk | |
// nRF52832 reference description for radio MCU with ARM 32-bit Cortex-M4 Microcontroller | |
// | |
// Copyright (c) 2010 - 2018, Nordic Semiconductor ASA All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// | |
// 1. Redistributions of source code must retain the above copyright notice, this | |
// list of conditions and the following disclaimer. | |
// | |
// 2. Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the | |
// documentation and/or other materials provided with the distribution. | |
// | |
// 3. Neither the name of Nordic Semiconductor ASA nor the names of its | |
// contributors may be used to endorse or promote products derived from this | |
// software without specific prior written permission. | |
// | |
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
// IMPLIED WARRANTIES OF MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE | |
// ARE DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE | |
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
// POSSIBILITY OF SUCH DAMAGE. | |
.syntax unified | |
// This is the default handler for interrupts, if triggered but not defined. | |
.section .text.Default_Handler | |
.global Default_Handler | |
.type Default_Handler, %function | |
Default_Handler: | |
wfe | |
b Default_Handler | |
// Avoid the need for repeated .weak and .set instructions. | |
.macro IRQ handler | |
.weak \handler | |
.set \handler, Default_Handler | |
.endm | |
.section .isr_vector | |
.global __isr_vector | |
// Interrupt vector as defined by Cortex-M, starting with the stack top. | |
// On reset, SP is initialized with *0x0 and PC is loaded with *0x4, loading | |
// _stack_top and Reset_Handler. | |
.long _stack_top | |
.long Reset_Handler | |
.long NMI_Handler | |
.long HardFault_Handler | |
.long MemoryManagement_Handler | |
.long BusFault_Handler | |
.long UsageFault_Handler | |
.long 0 | |
.long 0 | |
.long 0 | |
.long 0 | |
.long SVC_Handler | |
.long DebugMon_Handler | |
.long 0 | |
.long PendSV_Handler | |
.long SysTick_Handler | |
// Extra interrupts for peripherals defined by the hardware vendor. | |
.long POWER_CLOCK_IRQHandler | |
.long RADIO_IRQHandler | |
.long UARTE0_UART0_IRQHandler | |
.long SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler | |
.long SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler | |
.long NFCT_IRQHandler | |
.long GPIOTE_IRQHandler | |
.long SAADC_IRQHandler | |
.long TIMER0_IRQHandler | |
.long TIMER1_IRQHandler | |
.long TIMER2_IRQHandler | |
.long RTC0_IRQHandler | |
.long TEMP_IRQHandler | |
.long RNG_IRQHandler | |
.long ECB_IRQHandler | |
.long CCM_AAR_IRQHandler | |
.long WDT_IRQHandler | |
.long RTC1_IRQHandler | |
.long QDEC_IRQHandler | |
.long COMP_LPCOMP_IRQHandler | |
.long SWI0_EGU0_IRQHandler | |
.long SWI1_EGU1_IRQHandler | |
.long SWI2_EGU2_IRQHandler | |
.long SWI3_EGU3_IRQHandler | |
.long SWI4_EGU4_IRQHandler | |
.long SWI5_EGU5_IRQHandler | |
.long TIMER3_IRQHandler | |
.long TIMER4_IRQHandler | |
.long PWM0_IRQHandler | |
.long PDM_IRQHandler | |
.long 0 | |
.long 0 | |
.long MWU_IRQHandler | |
.long PWM1_IRQHandler | |
.long PWM2_IRQHandler | |
.long SPIM2_SPIS2_SPI2_IRQHandler | |
.long RTC2_IRQHandler | |
.long I2S_IRQHandler | |
.long FPU_IRQHandler | |
// Define default implementations for interrupts, redirecting to | |
// Default_Handler when not implemented. | |
IRQ NMI_Handler | |
IRQ HardFault_Handler | |
IRQ MemoryManagement_Handler | |
IRQ BusFault_Handler | |
IRQ UsageFault_Handler | |
IRQ SVC_Handler | |
IRQ DebugMon_Handler | |
IRQ PendSV_Handler | |
IRQ SysTick_Handler | |
IRQ POWER_CLOCK_IRQHandler | |
IRQ POWER_IRQHandler | |
IRQ CLOCK_IRQHandler | |
IRQ RADIO_IRQHandler | |
IRQ UARTE0_UART0_IRQHandler | |
IRQ UARTE0_IRQHandler | |
IRQ UART0_IRQHandler | |
IRQ SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler | |
IRQ SPIM0_IRQHandler | |
IRQ SPIS0_IRQHandler | |
IRQ TWIM0_IRQHandler | |
IRQ TWIS0_IRQHandler | |
IRQ SPI0_IRQHandler | |
IRQ TWI0_IRQHandler | |
IRQ SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler | |
IRQ SPIM1_IRQHandler | |
IRQ SPIS1_IRQHandler | |
IRQ TWIM1_IRQHandler | |
IRQ TWIS1_IRQHandler | |
IRQ SPI1_IRQHandler | |
IRQ TWI1_IRQHandler | |
IRQ NFCT_IRQHandler | |
IRQ GPIOTE_IRQHandler | |
IRQ SAADC_IRQHandler | |
IRQ TIMER0_IRQHandler | |
IRQ TIMER1_IRQHandler | |
IRQ TIMER2_IRQHandler | |
IRQ RTC0_IRQHandler | |
IRQ TEMP_IRQHandler | |
IRQ RNG_IRQHandler | |
IRQ ECB_IRQHandler | |
IRQ CCM_AAR_IRQHandler | |
IRQ CCM_IRQHandler | |
IRQ AAR_IRQHandler | |
IRQ WDT_IRQHandler | |
IRQ RTC1_IRQHandler | |
IRQ QDEC_IRQHandler | |
IRQ COMP_LPCOMP_IRQHandler | |
IRQ COMP_IRQHandler | |
IRQ LPCOMP_IRQHandler | |
IRQ SWI0_EGU0_IRQHandler | |
IRQ SWI0_IRQHandler | |
IRQ EGU0_IRQHandler | |
IRQ SWI1_EGU1_IRQHandler | |
IRQ SWI1_IRQHandler | |
IRQ EGU1_IRQHandler | |
IRQ SWI2_EGU2_IRQHandler | |
IRQ SWI2_IRQHandler | |
IRQ EGU2_IRQHandler | |
IRQ SWI3_EGU3_IRQHandler | |
IRQ SWI3_IRQHandler | |
IRQ EGU3_IRQHandler | |
IRQ SWI4_EGU4_IRQHandler | |
IRQ SWI4_IRQHandler | |
IRQ EGU4_IRQHandler | |
IRQ SWI5_EGU5_IRQHandler | |
IRQ SWI5_IRQHandler | |
IRQ EGU5_IRQHandler | |
IRQ TIMER3_IRQHandler | |
IRQ TIMER4_IRQHandler | |
IRQ PWM0_IRQHandler | |
IRQ PDM_IRQHandler | |
IRQ MWU_IRQHandler | |
IRQ PWM1_IRQHandler | |
IRQ PWM2_IRQHandler | |
IRQ SPIM2_SPIS2_SPI2_IRQHandler | |
IRQ SPIM2_IRQHandler | |
IRQ SPIS2_IRQHandler | |
IRQ SPI2_IRQHandler | |
IRQ RTC2_IRQHandler | |
IRQ I2S_IRQHandler | |
IRQ FPU_IRQHandler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment