rtc

package
v0.0.0-...-168ccc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package rtc provides interface to Real-Time Clock.

Peripheral: RTC_Periph Real-Time Clock. Instances:

RTC  mmap.RTC_BASE

Registers:

0x00 32  TR         Time register.
0x04 32  DR         Date register.
0x08 32  CR         Control register.
0x0C 32  ISR        Initialization and status register.
0x10 32  PRER       Prescaler register.
0x14 32  WUTR       Wakeup timer register.
0x1C 32  ALRMR[2]   Alarm A, B registers.
0x24 32  WPR        Write protection register.
0x28 32  SSR        Sub second register.
0x2C 32  SHIFTR     Shift control register.
0x30 32  TSTR       Time stamp time register.
0x34 32  TSDR       Time stamp date register.
0x38 32  TSSSR      Time-stamp sub second register.
0x3C 32  CALR       Calibration register.
0x40 32  TAMPCR     Tamper configuration register.
0x44 32  ALRMSSR[2] Alarm A, B subsecond registers.
0x4C 32  OR         Option register.
0x50 32  BKPR[32]   Backup registers.

Import:

stm32/o/f746xx/mmap

Index

Constants

View Source
const (
	PMn  = 22
	HTn  = 20
	HUn  = 16
	MNTn = 12
	MNUn = 8
	STn  = 4
	SUn  = 0
)
View Source
const (
	YTn  = 20
	YUn  = 16
	WDUn = 13
	MTn  = 12
	MUn  = 8
	DTn  = 4
	DUn  = 0
)
View Source
const (
	ITSEn    = 24
	COEn     = 23
	OSELn    = 21
	POLn     = 20
	COSELn   = 19
	BKPn     = 18
	SUB1Hn   = 17
	ADD1Hn   = 16
	TSIEn    = 15
	WUTIEn   = 14
	ALRBIEn  = 13
	ALRAIEn  = 12
	TSEn     = 11
	WUTEn    = 10
	ALRBEn   = 9
	ALRAEn   = 8
	FMTn     = 6
	BYPSHADn = 5
	REFCKONn = 4
	TSEDGEn  = 3
	WUCKSELn = 0
)
View Source
const (
	ITSFn    = 17
	RECALPFn = 16
	TAMP3Fn  = 15
	TAMP2Fn  = 14
	TAMP1Fn  = 13
	TSOVFn   = 12
	TSFn     = 11
	WUTFn    = 10
	ALRBFn   = 9
	ALRAFn   = 8
	INITn    = 7
	INITFn   = 6
	RSFn     = 5
	INITSn   = 4
	SHPFn    = 3
	WUTWFn   = 2
	ALRBWFn  = 1
	ALRAWFn  = 0
)
View Source
const (
	PREDIV_An = 16
	PREDIV_Sn = 0
)
View Source
const (
	AMSK4n  = 31
	AWDSELn = 30
	ADTn    = 28
	ADUn    = 24
	AMSK3n  = 23
	APMn    = 22
	AHTn    = 20
	AHUn    = 16
	AMSK2n  = 15
	AMNTn   = 12
	AMNUn   = 8
	AMSK1n  = 7
	ASTn    = 4
	ASUn    = 0
)
View Source
const (
	SUBFSn = 0
	ADD1Sn = 31
)
View Source
const (
	TPMn  = 22
	THTn  = 20
	THUn  = 16
	TMNTn = 12
	TMNUn = 8
	TSTn  = 4
	TSUn  = 0
)
View Source
const (
	TWDUn = 13
	TMTn  = 12
	TMUn  = 8
	TDTn  = 4
	TDUn  = 0
)
View Source
const (
	CALPn   = 15
	CALW8n  = 14
	CALW16n = 13
	CALMn   = 0
)
View Source
const (
	TAMP3MFn      = 24
	TAMP3NOERASEn = 23
	TAMP3IEn      = 22
	TAMP2MFn      = 21
	TAMP2NOERASEn = 20
	TAMP2IEn      = 19
	TAMP1MFn      = 18
	TAMP1NOERASEn = 17
	TAMP1IEn      = 16
	TAMPPUDISn    = 15
	TAMPPRCHn     = 13
	TAMPFLTn      = 11
	TAMPFREQn     = 8
	TAMPTSn       = 7
	TAMP3TRGn     = 6
	TAMP3En       = 5
	TAMP2TRGn     = 4
	TAMP2En       = 3
	TAMPIEn       = 2
	TAMP1TRGn     = 1
	TAMP1En       = 0
)
View Source
const (
	AMASKSSn = 24
	ASSn     = 0
)
View Source
const (
	TSINSELn   = 1
	ALARMTYPEn = 3
)
View Source
const (
	KEYn = 0
)
View Source
const (
	SSn = 0
)
View Source
const (
	TSSn = 0
)
View Source
const (
	WUTn = 0
)

Variables

Functions

This section is empty.

Types

type ALRMR

type ALRMR uint32
const (
	AMSK4  ALRMR = 0x01 << 31 //+
	AWDSEL ALRMR = 0x01 << 30 //+
	ADT    ALRMR = 0x03 << 28 //+
	ADT_0  ALRMR = 0x01 << 28
	ADT_1  ALRMR = 0x02 << 28
	ADU    ALRMR = 0x0F << 24 //+
	ADU_0  ALRMR = 0x01 << 24
	ADU_1  ALRMR = 0x02 << 24
	ADU_2  ALRMR = 0x04 << 24
	ADU_3  ALRMR = 0x08 << 24
	AMSK3  ALRMR = 0x01 << 23 //+
	APM    ALRMR = 0x01 << 22 //+
	AHT    ALRMR = 0x03 << 20 //+
	AHT_0  ALRMR = 0x01 << 20
	AHT_1  ALRMR = 0x02 << 20
	AHU    ALRMR = 0x0F << 16 //+
	AHU_0  ALRMR = 0x01 << 16
	AHU_1  ALRMR = 0x02 << 16
	AHU_2  ALRMR = 0x04 << 16
	AHU_3  ALRMR = 0x08 << 16
	AMSK2  ALRMR = 0x01 << 15 //+
	AMNT   ALRMR = 0x07 << 12 //+
	AMNT_0 ALRMR = 0x01 << 12
	AMNT_1 ALRMR = 0x02 << 12
	AMNT_2 ALRMR = 0x04 << 12
	AMNU   ALRMR = 0x0F << 8 //+
	AMNU_0 ALRMR = 0x01 << 8
	AMNU_1 ALRMR = 0x02 << 8
	AMNU_2 ALRMR = 0x04 << 8
	AMNU_3 ALRMR = 0x08 << 8
	AMSK1  ALRMR = 0x01 << 7 //+
	AST    ALRMR = 0x07 << 4 //+
	AST_0  ALRMR = 0x01 << 4
	AST_1  ALRMR = 0x02 << 4
	AST_2  ALRMR = 0x04 << 4
	ASU    ALRMR = 0x0F << 0 //+
	ASU_0  ALRMR = 0x01 << 0
	ASU_1  ALRMR = 0x02 << 0
	ASU_2  ALRMR = 0x04 << 0
	ASU_3  ALRMR = 0x08 << 0
)

func (ALRMR) Field

func (b ALRMR) Field(mask ALRMR) int

func (ALRMR) J

func (mask ALRMR) J(v int) ALRMR

type ALRMSSR

type ALRMSSR uint32
const (
	AMASKSS   ALRMSSR = 0x0F << 24 //+
	AMASKSS_0 ALRMSSR = 0x01 << 24
	AMASKSS_1 ALRMSSR = 0x02 << 24
	AMASKSS_2 ALRMSSR = 0x04 << 24
	AMASKSS_3 ALRMSSR = 0x08 << 24
	ASS       ALRMSSR = 0x7FFF << 0 //+
)

func (ALRMSSR) Field

func (b ALRMSSR) Field(mask ALRMSSR) int

func (ALRMSSR) J

func (mask ALRMSSR) J(v int) ALRMSSR

type BKPR

type BKPR uint32

func (BKPR) Field

func (b BKPR) Field(mask BKPR) int

func (BKPR) J

func (mask BKPR) J(v int) BKPR

type CALR

type CALR uint32
const (
	CALP   CALR = 0x01 << 15 //+
	CALW8  CALR = 0x01 << 14 //+
	CALW16 CALR = 0x01 << 13 //+
	CALM   CALR = 0x1FF << 0 //+
	CALM_0 CALR = 0x01 << 0
	CALM_1 CALR = 0x02 << 0
	CALM_2 CALR = 0x04 << 0
	CALM_3 CALR = 0x08 << 0
	CALM_4 CALR = 0x10 << 0
	CALM_5 CALR = 0x20 << 0
	CALM_6 CALR = 0x40 << 0
	CALM_7 CALR = 0x80 << 0
	CALM_8 CALR = 0x100 << 0
)

func (CALR) Field

func (b CALR) Field(mask CALR) int

func (CALR) J

func (mask CALR) J(v int) CALR

type CR

type CR uint32
const (
	ITSE      CR = 0x01 << 24 //+
	COE       CR = 0x01 << 23 //+
	OSEL      CR = 0x03 << 21 //+
	OSEL_0    CR = 0x01 << 21
	OSEL_1    CR = 0x02 << 21
	POL       CR = 0x01 << 20 //+
	COSEL     CR = 0x01 << 19 //+
	BKP       CR = 0x01 << 18 //+
	SUB1H     CR = 0x01 << 17 //+
	ADD1H     CR = 0x01 << 16 //+
	TSIE      CR = 0x01 << 15 //+
	WUTIE     CR = 0x01 << 14 //+
	ALRBIE    CR = 0x01 << 13 //+
	ALRAIE    CR = 0x01 << 12 //+
	TSE       CR = 0x01 << 11 //+
	WUTE      CR = 0x01 << 10 //+
	ALRBE     CR = 0x01 << 9  //+
	ALRAE     CR = 0x01 << 8  //+
	FMT       CR = 0x01 << 6  //+
	BYPSHAD   CR = 0x01 << 5  //+
	REFCKON   CR = 0x01 << 4  //+
	TSEDGE    CR = 0x01 << 3  //+
	WUCKSEL   CR = 0x07 << 0  //+
	WUCKSEL_0 CR = 0x01 << 0
	WUCKSEL_1 CR = 0x02 << 0
	WUCKSEL_2 CR = 0x04 << 0
)

func (CR) Field

func (b CR) Field(mask CR) int

func (CR) J

func (mask CR) J(v int) CR

type DR

type DR uint32
const (
	YT    DR = 0x0F << 20 //+
	YT_0  DR = 0x01 << 20
	YT_1  DR = 0x02 << 20
	YT_2  DR = 0x04 << 20
	YT_3  DR = 0x08 << 20
	YU    DR = 0x0F << 16 //+
	YU_0  DR = 0x01 << 16
	YU_1  DR = 0x02 << 16
	YU_2  DR = 0x04 << 16
	YU_3  DR = 0x08 << 16
	WDU   DR = 0x07 << 13 //+
	WDU_0 DR = 0x01 << 13
	WDU_1 DR = 0x02 << 13
	WDU_2 DR = 0x04 << 13
	MT    DR = 0x01 << 12 //+
	MU    DR = 0x0F << 8  //+
	MU_0  DR = 0x01 << 8
	MU_1  DR = 0x02 << 8
	MU_2  DR = 0x04 << 8
	MU_3  DR = 0x08 << 8
	DT    DR = 0x03 << 4 //+
	DT_0  DR = 0x01 << 4
	DT_1  DR = 0x02 << 4
	DU    DR = 0x0F << 0 //+
	DU_0  DR = 0x01 << 0
	DU_1  DR = 0x02 << 0
	DU_2  DR = 0x04 << 0
	DU_3  DR = 0x08 << 0
)

func (DR) Field

func (b DR) Field(mask DR) int

func (DR) J

func (mask DR) J(v int) DR

type ISR

type ISR uint32
const (
	ITSF    ISR = 0x01 << 17 //+
	RECALPF ISR = 0x01 << 16 //+
	TAMP3F  ISR = 0x01 << 15 //+
	TAMP2F  ISR = 0x01 << 14 //+
	TAMP1F  ISR = 0x01 << 13 //+
	TSOVF   ISR = 0x01 << 12 //+
	TSF     ISR = 0x01 << 11 //+
	WUTF    ISR = 0x01 << 10 //+
	ALRBF   ISR = 0x01 << 9  //+
	ALRAF   ISR = 0x01 << 8  //+
	INIT    ISR = 0x01 << 7  //+
	INITF   ISR = 0x01 << 6  //+
	RSF     ISR = 0x01 << 5  //+
	INITS   ISR = 0x01 << 4  //+
	SHPF    ISR = 0x01 << 3  //+
	WUTWF   ISR = 0x01 << 2  //+
	ALRBWF  ISR = 0x01 << 1  //+
	ALRAWF  ISR = 0x01 << 0  //+
)

func (ISR) Field

func (b ISR) Field(mask ISR) int

func (ISR) J

func (mask ISR) J(v int) ISR

type OR

type OR uint32
const (
	TSINSEL   OR = 0x03 << 1 //+
	TSINSEL_0 OR = 0x01 << 1
	TSINSEL_1 OR = 0x02 << 1
	ALARMTYPE OR = 0x01 << 3 //+
)

func (OR) Field

func (b OR) Field(mask OR) int

func (OR) J

func (mask OR) J(v int) OR

type PRER

type PRER uint32
const (
	PREDIV_A PRER = 0x7F << 16  //+
	PREDIV_S PRER = 0x7FFF << 0 //+
)

func (PRER) Field

func (b PRER) Field(mask PRER) int

func (PRER) J

func (mask PRER) J(v int) PRER

type RALRMR

type RALRMR struct{ mmio.U32 }

func (*RALRMR) AtomicClearBits

func (r *RALRMR) AtomicClearBits(mask ALRMR)

func (*RALRMR) AtomicSetBits

func (r *RALRMR) AtomicSetBits(mask ALRMR)

func (*RALRMR) AtomicStoreBits

func (r *RALRMR) AtomicStoreBits(mask, b ALRMR)

func (*RALRMR) Bits

func (r *RALRMR) Bits(mask ALRMR) ALRMR

func (*RALRMR) ClearBits

func (r *RALRMR) ClearBits(mask ALRMR)

func (*RALRMR) Load

func (r *RALRMR) Load() ALRMR

func (*RALRMR) SetBits

func (r *RALRMR) SetBits(mask ALRMR)

func (*RALRMR) Store

func (r *RALRMR) Store(b ALRMR)

func (*RALRMR) StoreBits

func (r *RALRMR) StoreBits(mask, b ALRMR)

type RALRMSSR

type RALRMSSR struct{ mmio.U32 }

func (*RALRMSSR) AtomicClearBits

func (r *RALRMSSR) AtomicClearBits(mask ALRMSSR)

func (*RALRMSSR) AtomicSetBits

func (r *RALRMSSR) AtomicSetBits(mask ALRMSSR)

func (*RALRMSSR) AtomicStoreBits

func (r *RALRMSSR) AtomicStoreBits(mask, b ALRMSSR)

func (*RALRMSSR) Bits

func (r *RALRMSSR) Bits(mask ALRMSSR) ALRMSSR

func (*RALRMSSR) ClearBits

func (r *RALRMSSR) ClearBits(mask ALRMSSR)

func (*RALRMSSR) Load

func (r *RALRMSSR) Load() ALRMSSR

func (*RALRMSSR) SetBits

func (r *RALRMSSR) SetBits(mask ALRMSSR)

func (*RALRMSSR) Store

func (r *RALRMSSR) Store(b ALRMSSR)

func (*RALRMSSR) StoreBits

func (r *RALRMSSR) StoreBits(mask, b ALRMSSR)

type RBKPR

type RBKPR struct{ mmio.U32 }

func (*RBKPR) AtomicClearBits

func (r *RBKPR) AtomicClearBits(mask BKPR)

func (*RBKPR) AtomicSetBits

func (r *RBKPR) AtomicSetBits(mask BKPR)

func (*RBKPR) AtomicStoreBits

func (r *RBKPR) AtomicStoreBits(mask, b BKPR)

func (*RBKPR) Bits

func (r *RBKPR) Bits(mask BKPR) BKPR

func (*RBKPR) ClearBits

func (r *RBKPR) ClearBits(mask BKPR)

func (*RBKPR) Load

func (r *RBKPR) Load() BKPR

func (*RBKPR) SetBits

func (r *RBKPR) SetBits(mask BKPR)

func (*RBKPR) Store

func (r *RBKPR) Store(b BKPR)

func (*RBKPR) StoreBits

func (r *RBKPR) StoreBits(mask, b BKPR)

type RCALR

type RCALR struct{ mmio.U32 }

func (*RCALR) AtomicClearBits

func (r *RCALR) AtomicClearBits(mask CALR)

func (*RCALR) AtomicSetBits

func (r *RCALR) AtomicSetBits(mask CALR)

func (*RCALR) AtomicStoreBits

func (r *RCALR) AtomicStoreBits(mask, b CALR)

func (*RCALR) Bits

func (r *RCALR) Bits(mask CALR) CALR

func (*RCALR) ClearBits

func (r *RCALR) ClearBits(mask CALR)

func (*RCALR) Load

func (r *RCALR) Load() CALR

func (*RCALR) SetBits

func (r *RCALR) SetBits(mask CALR)

func (*RCALR) Store

func (r *RCALR) Store(b CALR)

func (*RCALR) StoreBits

func (r *RCALR) StoreBits(mask, b CALR)

type RCR

type RCR struct{ mmio.U32 }

func (*RCR) AtomicClearBits

func (r *RCR) AtomicClearBits(mask CR)

func (*RCR) AtomicSetBits

func (r *RCR) AtomicSetBits(mask CR)

func (*RCR) AtomicStoreBits

func (r *RCR) AtomicStoreBits(mask, b CR)

func (*RCR) Bits

func (r *RCR) Bits(mask CR) CR

func (*RCR) ClearBits

func (r *RCR) ClearBits(mask CR)

func (*RCR) Load

func (r *RCR) Load() CR

func (*RCR) SetBits

func (r *RCR) SetBits(mask CR)

func (*RCR) Store

func (r *RCR) Store(b CR)

func (*RCR) StoreBits

func (r *RCR) StoreBits(mask, b CR)

type RDR

type RDR struct{ mmio.U32 }

func (*RDR) AtomicClearBits

func (r *RDR) AtomicClearBits(mask DR)

func (*RDR) AtomicSetBits

func (r *RDR) AtomicSetBits(mask DR)

func (*RDR) AtomicStoreBits

func (r *RDR) AtomicStoreBits(mask, b DR)

func (*RDR) Bits

func (r *RDR) Bits(mask DR) DR

func (*RDR) ClearBits

func (r *RDR) ClearBits(mask DR)

func (*RDR) Load

func (r *RDR) Load() DR

func (*RDR) SetBits

func (r *RDR) SetBits(mask DR)

func (*RDR) Store

func (r *RDR) Store(b DR)

func (*RDR) StoreBits

func (r *RDR) StoreBits(mask, b DR)

type RISR

type RISR struct{ mmio.U32 }

func (*RISR) AtomicClearBits

func (r *RISR) AtomicClearBits(mask ISR)

func (*RISR) AtomicSetBits

func (r *RISR) AtomicSetBits(mask ISR)

func (*RISR) AtomicStoreBits

func (r *RISR) AtomicStoreBits(mask, b ISR)

func (*RISR) Bits

func (r *RISR) Bits(mask ISR) ISR

func (*RISR) ClearBits

func (r *RISR) ClearBits(mask ISR)

func (*RISR) Load

func (r *RISR) Load() ISR

func (*RISR) SetBits

func (r *RISR) SetBits(mask ISR)

func (*RISR) Store

func (r *RISR) Store(b ISR)

func (*RISR) StoreBits

func (r *RISR) StoreBits(mask, b ISR)

type RMALRMR

type RMALRMR struct{ mmio.UM32 }

func (RMALRMR) Load

func (rm RMALRMR) Load() ALRMR

func (RMALRMR) Store

func (rm RMALRMR) Store(b ALRMR)

type RMALRMSSR

type RMALRMSSR struct{ mmio.UM32 }

func (RMALRMSSR) Load

func (rm RMALRMSSR) Load() ALRMSSR

func (RMALRMSSR) Store

func (rm RMALRMSSR) Store(b ALRMSSR)

type RMBKPR

type RMBKPR struct{ mmio.UM32 }

func (RMBKPR) Load

func (rm RMBKPR) Load() BKPR

func (RMBKPR) Store

func (rm RMBKPR) Store(b BKPR)

type RMCALR

type RMCALR struct{ mmio.UM32 }

func (RMCALR) Load

func (rm RMCALR) Load() CALR

func (RMCALR) Store

func (rm RMCALR) Store(b CALR)

type RMCR

type RMCR struct{ mmio.UM32 }

func (RMCR) Load

func (rm RMCR) Load() CR

func (RMCR) Store

func (rm RMCR) Store(b CR)

type RMDR

type RMDR struct{ mmio.UM32 }

func (RMDR) Load

func (rm RMDR) Load() DR

func (RMDR) Store

func (rm RMDR) Store(b DR)

type RMISR

type RMISR struct{ mmio.UM32 }

func (RMISR) Load

func (rm RMISR) Load() ISR

func (RMISR) Store

func (rm RMISR) Store(b ISR)

type RMOR

type RMOR struct{ mmio.UM32 }

func (RMOR) Load

func (rm RMOR) Load() OR

func (RMOR) Store

func (rm RMOR) Store(b OR)

type RMPRER

type RMPRER struct{ mmio.UM32 }

func (RMPRER) Load

func (rm RMPRER) Load() PRER

func (RMPRER) Store

func (rm RMPRER) Store(b PRER)

type RMSHIFTR

type RMSHIFTR struct{ mmio.UM32 }

func (RMSHIFTR) Load

func (rm RMSHIFTR) Load() SHIFTR

func (RMSHIFTR) Store

func (rm RMSHIFTR) Store(b SHIFTR)

type RMSSR

type RMSSR struct{ mmio.UM32 }

func (RMSSR) Load

func (rm RMSSR) Load() SSR

func (RMSSR) Store

func (rm RMSSR) Store(b SSR)

type RMTAMPCR

type RMTAMPCR struct{ mmio.UM32 }

func (RMTAMPCR) Load

func (rm RMTAMPCR) Load() TAMPCR

func (RMTAMPCR) Store

func (rm RMTAMPCR) Store(b TAMPCR)

type RMTR

type RMTR struct{ mmio.UM32 }

func (RMTR) Load

func (rm RMTR) Load() TR

func (RMTR) Store

func (rm RMTR) Store(b TR)

type RMTSDR

type RMTSDR struct{ mmio.UM32 }

func (RMTSDR) Load

func (rm RMTSDR) Load() TSDR

func (RMTSDR) Store

func (rm RMTSDR) Store(b TSDR)

type RMTSSSR

type RMTSSSR struct{ mmio.UM32 }

func (RMTSSSR) Load

func (rm RMTSSSR) Load() TSSSR

func (RMTSSSR) Store

func (rm RMTSSSR) Store(b TSSSR)

type RMTSTR

type RMTSTR struct{ mmio.UM32 }

func (RMTSTR) Load

func (rm RMTSTR) Load() TSTR

func (RMTSTR) Store

func (rm RMTSTR) Store(b TSTR)

type RMWPR

type RMWPR struct{ mmio.UM32 }

func (RMWPR) Load

func (rm RMWPR) Load() WPR

func (RMWPR) Store

func (rm RMWPR) Store(b WPR)

type RMWUTR

type RMWUTR struct{ mmio.UM32 }

func (RMWUTR) Load

func (rm RMWUTR) Load() WUTR

func (RMWUTR) Store

func (rm RMWUTR) Store(b WUTR)

type ROR

type ROR struct{ mmio.U32 }

func (*ROR) AtomicClearBits

func (r *ROR) AtomicClearBits(mask OR)

func (*ROR) AtomicSetBits

func (r *ROR) AtomicSetBits(mask OR)

func (*ROR) AtomicStoreBits

func (r *ROR) AtomicStoreBits(mask, b OR)

func (*ROR) Bits

func (r *ROR) Bits(mask OR) OR

func (*ROR) ClearBits

func (r *ROR) ClearBits(mask OR)

func (*ROR) Load

func (r *ROR) Load() OR

func (*ROR) SetBits

func (r *ROR) SetBits(mask OR)

func (*ROR) Store

func (r *ROR) Store(b OR)

func (*ROR) StoreBits

func (r *ROR) StoreBits(mask, b OR)

type RPRER

type RPRER struct{ mmio.U32 }

func (*RPRER) AtomicClearBits

func (r *RPRER) AtomicClearBits(mask PRER)

func (*RPRER) AtomicSetBits

func (r *RPRER) AtomicSetBits(mask PRER)

func (*RPRER) AtomicStoreBits

func (r *RPRER) AtomicStoreBits(mask, b PRER)

func (*RPRER) Bits

func (r *RPRER) Bits(mask PRER) PRER

func (*RPRER) ClearBits

func (r *RPRER) ClearBits(mask PRER)

func (*RPRER) Load

func (r *RPRER) Load() PRER

func (*RPRER) SetBits

func (r *RPRER) SetBits(mask PRER)

func (*RPRER) Store

func (r *RPRER) Store(b PRER)

func (*RPRER) StoreBits

func (r *RPRER) StoreBits(mask, b PRER)

type RSHIFTR

type RSHIFTR struct{ mmio.U32 }

func (*RSHIFTR) AtomicClearBits

func (r *RSHIFTR) AtomicClearBits(mask SHIFTR)

func (*RSHIFTR) AtomicSetBits

func (r *RSHIFTR) AtomicSetBits(mask SHIFTR)

func (*RSHIFTR) AtomicStoreBits

func (r *RSHIFTR) AtomicStoreBits(mask, b SHIFTR)

func (*RSHIFTR) Bits

func (r *RSHIFTR) Bits(mask SHIFTR) SHIFTR

func (*RSHIFTR) ClearBits

func (r *RSHIFTR) ClearBits(mask SHIFTR)

func (*RSHIFTR) Load

func (r *RSHIFTR) Load() SHIFTR

func (*RSHIFTR) SetBits

func (r *RSHIFTR) SetBits(mask SHIFTR)

func (*RSHIFTR) Store

func (r *RSHIFTR) Store(b SHIFTR)

func (*RSHIFTR) StoreBits

func (r *RSHIFTR) StoreBits(mask, b SHIFTR)

type RSSR

type RSSR struct{ mmio.U32 }

func (*RSSR) AtomicClearBits

func (r *RSSR) AtomicClearBits(mask SSR)

func (*RSSR) AtomicSetBits

func (r *RSSR) AtomicSetBits(mask SSR)

func (*RSSR) AtomicStoreBits

func (r *RSSR) AtomicStoreBits(mask, b SSR)

func (*RSSR) Bits

func (r *RSSR) Bits(mask SSR) SSR

func (*RSSR) ClearBits

func (r *RSSR) ClearBits(mask SSR)

func (*RSSR) Load

func (r *RSSR) Load() SSR

func (*RSSR) SetBits

func (r *RSSR) SetBits(mask SSR)

func (*RSSR) Store

func (r *RSSR) Store(b SSR)

func (*RSSR) StoreBits

func (r *RSSR) StoreBits(mask, b SSR)

type RTAMPCR

type RTAMPCR struct{ mmio.U32 }

func (*RTAMPCR) AtomicClearBits

func (r *RTAMPCR) AtomicClearBits(mask TAMPCR)

func (*RTAMPCR) AtomicSetBits

func (r *RTAMPCR) AtomicSetBits(mask TAMPCR)

func (*RTAMPCR) AtomicStoreBits

func (r *RTAMPCR) AtomicStoreBits(mask, b TAMPCR)

func (*RTAMPCR) Bits

func (r *RTAMPCR) Bits(mask TAMPCR) TAMPCR

func (*RTAMPCR) ClearBits

func (r *RTAMPCR) ClearBits(mask TAMPCR)

func (*RTAMPCR) Load

func (r *RTAMPCR) Load() TAMPCR

func (*RTAMPCR) SetBits

func (r *RTAMPCR) SetBits(mask TAMPCR)

func (*RTAMPCR) Store

func (r *RTAMPCR) Store(b TAMPCR)

func (*RTAMPCR) StoreBits

func (r *RTAMPCR) StoreBits(mask, b TAMPCR)

type RTC_Periph

type RTC_Periph struct {
	TR   RTR
	DR   RDR
	CR   RCR
	ISR  RISR
	PRER RPRER
	WUTR RWUTR

	ALRMR   [2]RALRMR
	WPR     RWPR
	SSR     RSSR
	SHIFTR  RSHIFTR
	TSTR    RTSTR
	TSDR    RTSDR
	TSSSR   RTSSSR
	CALR    RCALR
	TAMPCR  RTAMPCR
	ALRMSSR [2]RALRMSSR
	OR      ROR
	BKPR    [32]RBKPR
	// contains filtered or unexported fields
}

func (*RTC_Periph) ADD1H

func (p *RTC_Periph) ADD1H() RMCR

func (*RTC_Periph) ADD1S

func (p *RTC_Periph) ADD1S() RMSHIFTR

func (*RTC_Periph) ADT

func (p *RTC_Periph) ADT(n int) RMALRMR

func (*RTC_Periph) ADU

func (p *RTC_Periph) ADU(n int) RMALRMR

func (*RTC_Periph) AHT

func (p *RTC_Periph) AHT(n int) RMALRMR

func (*RTC_Periph) AHU

func (p *RTC_Periph) AHU(n int) RMALRMR

func (*RTC_Periph) ALARMTYPE

func (p *RTC_Periph) ALARMTYPE() RMOR

func (*RTC_Periph) ALRAE

func (p *RTC_Periph) ALRAE() RMCR

func (*RTC_Periph) ALRAF

func (p *RTC_Periph) ALRAF() RMISR

func (*RTC_Periph) ALRAIE

func (p *RTC_Periph) ALRAIE() RMCR

func (*RTC_Periph) ALRAWF

func (p *RTC_Periph) ALRAWF() RMISR

func (*RTC_Periph) ALRBE

func (p *RTC_Periph) ALRBE() RMCR

func (*RTC_Periph) ALRBF

func (p *RTC_Periph) ALRBF() RMISR

func (*RTC_Periph) ALRBIE

func (p *RTC_Periph) ALRBIE() RMCR

func (*RTC_Periph) ALRBWF

func (p *RTC_Periph) ALRBWF() RMISR

func (*RTC_Periph) AMASKSS

func (p *RTC_Periph) AMASKSS(n int) RMALRMSSR

func (*RTC_Periph) AMNT

func (p *RTC_Periph) AMNT(n int) RMALRMR

func (*RTC_Periph) AMNU

func (p *RTC_Periph) AMNU(n int) RMALRMR

func (*RTC_Periph) AMSK1

func (p *RTC_Periph) AMSK1(n int) RMALRMR

func (*RTC_Periph) AMSK2

func (p *RTC_Periph) AMSK2(n int) RMALRMR

func (*RTC_Periph) AMSK3

func (p *RTC_Periph) AMSK3(n int) RMALRMR

func (*RTC_Periph) AMSK4

func (p *RTC_Periph) AMSK4(n int) RMALRMR

func (*RTC_Periph) APM

func (p *RTC_Periph) APM(n int) RMALRMR

func (*RTC_Periph) ASS

func (p *RTC_Periph) ASS(n int) RMALRMSSR

func (*RTC_Periph) AST

func (p *RTC_Periph) AST(n int) RMALRMR

func (*RTC_Periph) ASU

func (p *RTC_Periph) ASU(n int) RMALRMR

func (*RTC_Periph) AWDSEL

func (p *RTC_Periph) AWDSEL(n int) RMALRMR

func (*RTC_Periph) BKP

func (p *RTC_Periph) BKP() RMCR

func (*RTC_Periph) BYPSHAD

func (p *RTC_Periph) BYPSHAD() RMCR

func (*RTC_Periph) BaseAddr

func (p *RTC_Periph) BaseAddr() uintptr

func (*RTC_Periph) CALM

func (p *RTC_Periph) CALM() RMCALR

func (*RTC_Periph) CALP

func (p *RTC_Periph) CALP() RMCALR

func (*RTC_Periph) CALW16

func (p *RTC_Periph) CALW16() RMCALR

func (*RTC_Periph) CALW8

func (p *RTC_Periph) CALW8() RMCALR

func (*RTC_Periph) COE

func (p *RTC_Periph) COE() RMCR

func (*RTC_Periph) COSEL

func (p *RTC_Periph) COSEL() RMCR

func (*RTC_Periph) DT

func (p *RTC_Periph) DT() RMDR

func (*RTC_Periph) DU

func (p *RTC_Periph) DU() RMDR

func (*RTC_Periph) FMT

func (p *RTC_Periph) FMT() RMCR

func (*RTC_Periph) HT

func (p *RTC_Periph) HT() RMTR

func (*RTC_Periph) HU

func (p *RTC_Periph) HU() RMTR

func (*RTC_Periph) INIT

func (p *RTC_Periph) INIT() RMISR

func (*RTC_Periph) INITF

func (p *RTC_Periph) INITF() RMISR

func (*RTC_Periph) INITS

func (p *RTC_Periph) INITS() RMISR

func (*RTC_Periph) ITSE

func (p *RTC_Periph) ITSE() RMCR

func (*RTC_Periph) ITSF

func (p *RTC_Periph) ITSF() RMISR

func (*RTC_Periph) KEY

func (p *RTC_Periph) KEY() RMWPR

func (*RTC_Periph) MNT

func (p *RTC_Periph) MNT() RMTR

func (*RTC_Periph) MNU

func (p *RTC_Periph) MNU() RMTR

func (*RTC_Periph) MT

func (p *RTC_Periph) MT() RMDR

func (*RTC_Periph) MU

func (p *RTC_Periph) MU() RMDR

func (*RTC_Periph) OSEL

func (p *RTC_Periph) OSEL() RMCR

func (*RTC_Periph) PM

func (p *RTC_Periph) PM() RMTR

func (*RTC_Periph) POL

func (p *RTC_Periph) POL() RMCR

func (*RTC_Periph) PREDIV_A

func (p *RTC_Periph) PREDIV_A() RMPRER

func (*RTC_Periph) PREDIV_S

func (p *RTC_Periph) PREDIV_S() RMPRER

func (*RTC_Periph) RECALPF

func (p *RTC_Periph) RECALPF() RMISR

func (*RTC_Periph) REFCKON

func (p *RTC_Periph) REFCKON() RMCR

func (*RTC_Periph) RSF

func (p *RTC_Periph) RSF() RMISR

func (*RTC_Periph) SHPF

func (p *RTC_Periph) SHPF() RMISR

func (*RTC_Periph) SS

func (p *RTC_Periph) SS() RMSSR

func (*RTC_Periph) ST

func (p *RTC_Periph) ST() RMTR

func (*RTC_Periph) SU

func (p *RTC_Periph) SU() RMTR

func (*RTC_Periph) SUB1H

func (p *RTC_Periph) SUB1H() RMCR

func (*RTC_Periph) SUBFS

func (p *RTC_Periph) SUBFS() RMSHIFTR

func (*RTC_Periph) TAMP1E

func (p *RTC_Periph) TAMP1E() RMTAMPCR

func (*RTC_Periph) TAMP1F

func (p *RTC_Periph) TAMP1F() RMISR

func (*RTC_Periph) TAMP1IE

func (p *RTC_Periph) TAMP1IE() RMTAMPCR

func (*RTC_Periph) TAMP1MF

func (p *RTC_Periph) TAMP1MF() RMTAMPCR

func (*RTC_Periph) TAMP1NOERASE

func (p *RTC_Periph) TAMP1NOERASE() RMTAMPCR

func (*RTC_Periph) TAMP1TRG

func (p *RTC_Periph) TAMP1TRG() RMTAMPCR

func (*RTC_Periph) TAMP2E

func (p *RTC_Periph) TAMP2E() RMTAMPCR

func (*RTC_Periph) TAMP2F

func (p *RTC_Periph) TAMP2F() RMISR

func (*RTC_Periph) TAMP2IE

func (p *RTC_Periph) TAMP2IE() RMTAMPCR

func (*RTC_Periph) TAMP2MF

func (p *RTC_Periph) TAMP2MF() RMTAMPCR

func (*RTC_Periph) TAMP2NOERASE

func (p *RTC_Periph) TAMP2NOERASE() RMTAMPCR

func (*RTC_Periph) TAMP2TRG

func (p *RTC_Periph) TAMP2TRG() RMTAMPCR

func (*RTC_Periph) TAMP3E

func (p *RTC_Periph) TAMP3E() RMTAMPCR

func (*RTC_Periph) TAMP3F

func (p *RTC_Periph) TAMP3F() RMISR

func (*RTC_Periph) TAMP3IE

func (p *RTC_Periph) TAMP3IE() RMTAMPCR

func (*RTC_Periph) TAMP3MF

func (p *RTC_Periph) TAMP3MF() RMTAMPCR

func (*RTC_Periph) TAMP3NOERASE

func (p *RTC_Periph) TAMP3NOERASE() RMTAMPCR

func (*RTC_Periph) TAMP3TRG

func (p *RTC_Periph) TAMP3TRG() RMTAMPCR

func (*RTC_Periph) TAMPFLT

func (p *RTC_Periph) TAMPFLT() RMTAMPCR

func (*RTC_Periph) TAMPFREQ

func (p *RTC_Periph) TAMPFREQ() RMTAMPCR

func (*RTC_Periph) TAMPIE

func (p *RTC_Periph) TAMPIE() RMTAMPCR

func (*RTC_Periph) TAMPPRCH

func (p *RTC_Periph) TAMPPRCH() RMTAMPCR

func (*RTC_Periph) TAMPPUDIS

func (p *RTC_Periph) TAMPPUDIS() RMTAMPCR

func (*RTC_Periph) TAMPTS

func (p *RTC_Periph) TAMPTS() RMTAMPCR

func (*RTC_Periph) TDT

func (p *RTC_Periph) TDT() RMTSDR

func (*RTC_Periph) TDU

func (p *RTC_Periph) TDU() RMTSDR

func (*RTC_Periph) THT

func (p *RTC_Periph) THT() RMTSTR

func (*RTC_Periph) THU

func (p *RTC_Periph) THU() RMTSTR

func (*RTC_Periph) TMNT

func (p *RTC_Periph) TMNT() RMTSTR

func (*RTC_Periph) TMNU

func (p *RTC_Periph) TMNU() RMTSTR

func (*RTC_Periph) TMT

func (p *RTC_Periph) TMT() RMTSDR

func (*RTC_Periph) TMU

func (p *RTC_Periph) TMU() RMTSDR

func (*RTC_Periph) TPM

func (p *RTC_Periph) TPM() RMTSTR

func (*RTC_Periph) TSE

func (p *RTC_Periph) TSE() RMCR

func (*RTC_Periph) TSEDGE

func (p *RTC_Periph) TSEDGE() RMCR

func (*RTC_Periph) TSF

func (p *RTC_Periph) TSF() RMISR

func (*RTC_Periph) TSIE

func (p *RTC_Periph) TSIE() RMCR

func (*RTC_Periph) TSINSEL

func (p *RTC_Periph) TSINSEL() RMOR

func (*RTC_Periph) TSOVF

func (p *RTC_Periph) TSOVF() RMISR

func (*RTC_Periph) TSS

func (p *RTC_Periph) TSS() RMTSSSR

func (*RTC_Periph) TST

func (p *RTC_Periph) TST() RMTSTR

func (*RTC_Periph) TSU

func (p *RTC_Periph) TSU() RMTSTR

func (*RTC_Periph) TWDU

func (p *RTC_Periph) TWDU() RMTSDR

func (*RTC_Periph) WDU

func (p *RTC_Periph) WDU() RMDR

func (*RTC_Periph) WUCKSEL

func (p *RTC_Periph) WUCKSEL() RMCR

func (*RTC_Periph) WUT

func (p *RTC_Periph) WUT() RMWUTR

func (*RTC_Periph) WUTE

func (p *RTC_Periph) WUTE() RMCR

func (*RTC_Periph) WUTF

func (p *RTC_Periph) WUTF() RMISR

func (*RTC_Periph) WUTIE

func (p *RTC_Periph) WUTIE() RMCR

func (*RTC_Periph) WUTWF

func (p *RTC_Periph) WUTWF() RMISR

func (*RTC_Periph) YT

func (p *RTC_Periph) YT() RMDR

func (*RTC_Periph) YU

func (p *RTC_Periph) YU() RMDR

type RTR

type RTR struct{ mmio.U32 }

func (*RTR) AtomicClearBits

func (r *RTR) AtomicClearBits(mask TR)

func (*RTR) AtomicSetBits

func (r *RTR) AtomicSetBits(mask TR)

func (*RTR) AtomicStoreBits

func (r *RTR) AtomicStoreBits(mask, b TR)

func (*RTR) Bits

func (r *RTR) Bits(mask TR) TR

func (*RTR) ClearBits

func (r *RTR) ClearBits(mask TR)

func (*RTR) Load

func (r *RTR) Load() TR

func (*RTR) SetBits

func (r *RTR) SetBits(mask TR)

func (*RTR) Store

func (r *RTR) Store(b TR)

func (*RTR) StoreBits

func (r *RTR) StoreBits(mask, b TR)

type RTSDR

type RTSDR struct{ mmio.U32 }

func (*RTSDR) AtomicClearBits

func (r *RTSDR) AtomicClearBits(mask TSDR)

func (*RTSDR) AtomicSetBits

func (r *RTSDR) AtomicSetBits(mask TSDR)

func (*RTSDR) AtomicStoreBits

func (r *RTSDR) AtomicStoreBits(mask, b TSDR)

func (*RTSDR) Bits

func (r *RTSDR) Bits(mask TSDR) TSDR

func (*RTSDR) ClearBits

func (r *RTSDR) ClearBits(mask TSDR)

func (*RTSDR) Load

func (r *RTSDR) Load() TSDR

func (*RTSDR) SetBits

func (r *RTSDR) SetBits(mask TSDR)

func (*RTSDR) Store

func (r *RTSDR) Store(b TSDR)

func (*RTSDR) StoreBits

func (r *RTSDR) StoreBits(mask, b TSDR)

type RTSSSR

type RTSSSR struct{ mmio.U32 }

func (*RTSSSR) AtomicClearBits

func (r *RTSSSR) AtomicClearBits(mask TSSSR)

func (*RTSSSR) AtomicSetBits

func (r *RTSSSR) AtomicSetBits(mask TSSSR)

func (*RTSSSR) AtomicStoreBits

func (r *RTSSSR) AtomicStoreBits(mask, b TSSSR)

func (*RTSSSR) Bits

func (r *RTSSSR) Bits(mask TSSSR) TSSSR

func (*RTSSSR) ClearBits

func (r *RTSSSR) ClearBits(mask TSSSR)

func (*RTSSSR) Load

func (r *RTSSSR) Load() TSSSR

func (*RTSSSR) SetBits

func (r *RTSSSR) SetBits(mask TSSSR)

func (*RTSSSR) Store

func (r *RTSSSR) Store(b TSSSR)

func (*RTSSSR) StoreBits

func (r *RTSSSR) StoreBits(mask, b TSSSR)

type RTSTR

type RTSTR struct{ mmio.U32 }

func (*RTSTR) AtomicClearBits

func (r *RTSTR) AtomicClearBits(mask TSTR)

func (*RTSTR) AtomicSetBits

func (r *RTSTR) AtomicSetBits(mask TSTR)

func (*RTSTR) AtomicStoreBits

func (r *RTSTR) AtomicStoreBits(mask, b TSTR)

func (*RTSTR) Bits

func (r *RTSTR) Bits(mask TSTR) TSTR

func (*RTSTR) ClearBits

func (r *RTSTR) ClearBits(mask TSTR)

func (*RTSTR) Load

func (r *RTSTR) Load() TSTR

func (*RTSTR) SetBits

func (r *RTSTR) SetBits(mask TSTR)

func (*RTSTR) Store

func (r *RTSTR) Store(b TSTR)

func (*RTSTR) StoreBits

func (r *RTSTR) StoreBits(mask, b TSTR)

type RWPR

type RWPR struct{ mmio.U32 }

func (*RWPR) AtomicClearBits

func (r *RWPR) AtomicClearBits(mask WPR)

func (*RWPR) AtomicSetBits

func (r *RWPR) AtomicSetBits(mask WPR)

func (*RWPR) AtomicStoreBits

func (r *RWPR) AtomicStoreBits(mask, b WPR)

func (*RWPR) Bits

func (r *RWPR) Bits(mask WPR) WPR

func (*RWPR) ClearBits

func (r *RWPR) ClearBits(mask WPR)

func (*RWPR) Load

func (r *RWPR) Load() WPR

func (*RWPR) SetBits

func (r *RWPR) SetBits(mask WPR)

func (*RWPR) Store

func (r *RWPR) Store(b WPR)

func (*RWPR) StoreBits

func (r *RWPR) StoreBits(mask, b WPR)

type RWUTR

type RWUTR struct{ mmio.U32 }

func (*RWUTR) AtomicClearBits

func (r *RWUTR) AtomicClearBits(mask WUTR)

func (*RWUTR) AtomicSetBits

func (r *RWUTR) AtomicSetBits(mask WUTR)

func (*RWUTR) AtomicStoreBits

func (r *RWUTR) AtomicStoreBits(mask, b WUTR)

func (*RWUTR) Bits

func (r *RWUTR) Bits(mask WUTR) WUTR

func (*RWUTR) ClearBits

func (r *RWUTR) ClearBits(mask WUTR)

func (*RWUTR) Load

func (r *RWUTR) Load() WUTR

func (*RWUTR) SetBits

func (r *RWUTR) SetBits(mask WUTR)

func (*RWUTR) Store

func (r *RWUTR) Store(b WUTR)

func (*RWUTR) StoreBits

func (r *RWUTR) StoreBits(mask, b WUTR)

type SHIFTR

type SHIFTR uint32
const (
	SUBFS SHIFTR = 0x7FFF << 0 //+
	ADD1S SHIFTR = 0x01 << 31  //+
)

func (SHIFTR) Field

func (b SHIFTR) Field(mask SHIFTR) int

func (SHIFTR) J

func (mask SHIFTR) J(v int) SHIFTR

type SSR

type SSR uint32
const (
	SS SSR = 0xFFFF << 0 //+
)

func (SSR) Field

func (b SSR) Field(mask SSR) int

func (SSR) J

func (mask SSR) J(v int) SSR

type TAMPCR

type TAMPCR uint32
const (
	TAMP3MF      TAMPCR = 0x01 << 24 //+
	TAMP3NOERASE TAMPCR = 0x01 << 23 //+
	TAMP3IE      TAMPCR = 0x01 << 22 //+
	TAMP2MF      TAMPCR = 0x01 << 21 //+
	TAMP2NOERASE TAMPCR = 0x01 << 20 //+
	TAMP2IE      TAMPCR = 0x01 << 19 //+
	TAMP1MF      TAMPCR = 0x01 << 18 //+
	TAMP1NOERASE TAMPCR = 0x01 << 17 //+
	TAMP1IE      TAMPCR = 0x01 << 16 //+
	TAMPPUDIS    TAMPCR = 0x01 << 15 //+
	TAMPPRCH     TAMPCR = 0x03 << 13 //+
	TAMPPRCH_0   TAMPCR = 0x01 << 13
	TAMPPRCH_1   TAMPCR = 0x02 << 13
	TAMPFLT      TAMPCR = 0x03 << 11 //+
	TAMPFLT_0    TAMPCR = 0x01 << 11
	TAMPFLT_1    TAMPCR = 0x02 << 11
	TAMPFREQ     TAMPCR = 0x07 << 8 //+
	TAMPFREQ_0   TAMPCR = 0x01 << 8
	TAMPFREQ_1   TAMPCR = 0x02 << 8
	TAMPFREQ_2   TAMPCR = 0x04 << 8
	TAMPTS       TAMPCR = 0x01 << 7 //+
	TAMP3TRG     TAMPCR = 0x01 << 6 //+
	TAMP3E       TAMPCR = 0x01 << 5 //+
	TAMP2TRG     TAMPCR = 0x01 << 4 //+
	TAMP2E       TAMPCR = 0x01 << 3 //+
	TAMPIE       TAMPCR = 0x01 << 2 //+
	TAMP1TRG     TAMPCR = 0x01 << 1 //+
	TAMP1E       TAMPCR = 0x01 << 0 //+
)

func (TAMPCR) Field

func (b TAMPCR) Field(mask TAMPCR) int

func (TAMPCR) J

func (mask TAMPCR) J(v int) TAMPCR

type TR

type TR uint32
const (
	PM    TR = 0x01 << 22 //+
	HT    TR = 0x03 << 20 //+
	HT_0  TR = 0x01 << 20
	HT_1  TR = 0x02 << 20
	HU    TR = 0x0F << 16 //+
	HU_0  TR = 0x01 << 16
	HU_1  TR = 0x02 << 16
	HU_2  TR = 0x04 << 16
	HU_3  TR = 0x08 << 16
	MNT   TR = 0x07 << 12 //+
	MNT_0 TR = 0x01 << 12
	MNT_1 TR = 0x02 << 12
	MNT_2 TR = 0x04 << 12
	MNU   TR = 0x0F << 8 //+
	MNU_0 TR = 0x01 << 8
	MNU_1 TR = 0x02 << 8
	MNU_2 TR = 0x04 << 8
	MNU_3 TR = 0x08 << 8
	ST    TR = 0x07 << 4 //+
	ST_0  TR = 0x01 << 4
	ST_1  TR = 0x02 << 4
	ST_2  TR = 0x04 << 4
	SU    TR = 0x0F << 0 //+
	SU_0  TR = 0x01 << 0
	SU_1  TR = 0x02 << 0
	SU_2  TR = 0x04 << 0
	SU_3  TR = 0x08 << 0
)

func (TR) Field

func (b TR) Field(mask TR) int

func (TR) J

func (mask TR) J(v int) TR

type TSDR

type TSDR uint32
const (
	TWDU   TSDR = 0x07 << 13 //+
	TWDU_0 TSDR = 0x01 << 13
	TWDU_1 TSDR = 0x02 << 13
	TWDU_2 TSDR = 0x04 << 13
	TMT    TSDR = 0x01 << 12 //+
	TMU    TSDR = 0x0F << 8  //+
	TMU_0  TSDR = 0x01 << 8
	TMU_1  TSDR = 0x02 << 8
	TMU_2  TSDR = 0x04 << 8
	TMU_3  TSDR = 0x08 << 8
	TDT    TSDR = 0x03 << 4 //+
	TDT_0  TSDR = 0x01 << 4
	TDT_1  TSDR = 0x02 << 4
	TDU    TSDR = 0x0F << 0 //+
	TDU_0  TSDR = 0x01 << 0
	TDU_1  TSDR = 0x02 << 0
	TDU_2  TSDR = 0x04 << 0
	TDU_3  TSDR = 0x08 << 0
)

func (TSDR) Field

func (b TSDR) Field(mask TSDR) int

func (TSDR) J

func (mask TSDR) J(v int) TSDR

type TSSSR

type TSSSR uint32
const (
	TSS TSSSR = 0xFFFF << 0 //+
)

func (TSSSR) Field

func (b TSSSR) Field(mask TSSSR) int

func (TSSSR) J

func (mask TSSSR) J(v int) TSSSR

type TSTR

type TSTR uint32
const (
	TPM    TSTR = 0x01 << 22 //+
	THT    TSTR = 0x03 << 20 //+
	THT_0  TSTR = 0x01 << 20
	THT_1  TSTR = 0x02 << 20
	THU    TSTR = 0x0F << 16 //+
	THU_0  TSTR = 0x01 << 16
	THU_1  TSTR = 0x02 << 16
	THU_2  TSTR = 0x04 << 16
	THU_3  TSTR = 0x08 << 16
	TMNT   TSTR = 0x07 << 12 //+
	TMNT_0 TSTR = 0x01 << 12
	TMNT_1 TSTR = 0x02 << 12
	TMNT_2 TSTR = 0x04 << 12
	TMNU   TSTR = 0x0F << 8 //+
	TMNU_0 TSTR = 0x01 << 8
	TMNU_1 TSTR = 0x02 << 8
	TMNU_2 TSTR = 0x04 << 8
	TMNU_3 TSTR = 0x08 << 8
	TST    TSTR = 0x07 << 4 //+
	TST_0  TSTR = 0x01 << 4
	TST_1  TSTR = 0x02 << 4
	TST_2  TSTR = 0x04 << 4
	TSU    TSTR = 0x0F << 0 //+
	TSU_0  TSTR = 0x01 << 0
	TSU_1  TSTR = 0x02 << 0
	TSU_2  TSTR = 0x04 << 0
	TSU_3  TSTR = 0x08 << 0
)

func (TSTR) Field

func (b TSTR) Field(mask TSTR) int

func (TSTR) J

func (mask TSTR) J(v int) TSTR

type WPR

type WPR uint32
const (
	KEY WPR = 0xFF << 0 //+
)

func (WPR) Field

func (b WPR) Field(mask WPR) int

func (WPR) J

func (mask WPR) J(v int) WPR

type WUTR

type WUTR uint32
const (
	WUT WUTR = 0xFFFF << 0 //+
)

func (WUTR) Field

func (b WUTR) Field(mask WUTR) int

func (WUTR) J

func (mask WUTR) J(v int) WUTR

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL