can

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 can provides interface to Controller Area Network.

Peripheral: CAN_Periph Controller Area Network. Instances:

CAN  mmap.CAN_BASE

Registers:

0x00  32  MCR   Master control register.
0x04  32  MSR   Master status register.
0x08  32  TSR   Transmit status register.
0x0C  32  RF0R  Receive FIFO 0 register.
0x10  32  RF1R  Receive FIFO 1 register.
0x14  32  IER   Interrupt enable register.
0x18  32  ESR   Error status register.
0x1C  32  BTR   Bit timing register.
0x1B0 32  FMR   Filter master register.
0x1B4 32  FM1R  Filter mode register.
0x1BC 32  FS1R  Filter scale register.
0x1C4 32  FFA1R Filter FIFO assignment register.
0x1CC 32  FA1R  Filter activation register.

Import:

stm32/o/f303xe/mmap

Peripheral: CAN_FIFOMailBox_Periph Controller Area Network FIFOMailBox. Instances: Registers:

0x00 32  RIR  CAN receive FIFO mailbox identifier register.
0x04 32  RDTR CAN receive FIFO mailbox data length control and time stamp register.
0x08 32  RDLR CAN receive FIFO mailbox data low register.
0x0C 32  RDHR CAN receive FIFO mailbox data high register.

Import:

stm32/o/f303xe/mmap

Peripheral: CAN_FilterRegister_Periph Controller Area Network FilterRegister. Instances: Registers:

0x00 32  FR1 CAN Filter bank register 1.
0x04 32  FR2 CAN Filter bank register 1.

Import:

stm32/o/f303xe/mmap

Peripheral: CAN_TxMailBox_Periph Controller Area Network TxMailBox. Instances: Registers:

0x00 32  TIR  CAN TX mailbox identifier register.
0x04 32  TDTR CAN mailbox data length control and time stamp register.
0x08 32  TDLR CAN mailbox data low register.
0x0C 32  TDHR CAN mailbox data high register.

Import:

stm32/o/f303xe/mmap

Index

Constants

View Source
const (
	INRQn  = 0
	SLEEPn = 1
	TXFPn  = 2
	RFLMn  = 3
	NARTn  = 4
	AWUMn  = 5
	ABOMn  = 6
	TTCMn  = 7
	RESETn = 15
)
View Source
const (
	INAKn  = 0
	SLAKn  = 1
	ERRIn  = 2
	WKUIn  = 3
	SLAKIn = 4
	TXMn   = 8
	RXMn   = 9
	SAMPn  = 10
	RXn    = 11
)
View Source
const (
	RQCP0n = 0
	TXOK0n = 1
	ALST0n = 2
	TERR0n = 3
	ABRQ0n = 7
	RQCP1n = 8
	TXOK1n = 9
	ALST1n = 10
	TERR1n = 11
	ABRQ1n = 15
	RQCP2n = 16
	TXOK2n = 17
	ALST2n = 18
	TERR2n = 19
	ABRQ2n = 23
	CODEn  = 24
	TMEn   = 26
	LOWn   = 29
)
View Source
const (
	FMP0n  = 0
	FULL0n = 3
	FOVR0n = 4
	RFOM0n = 5
)
View Source
const (
	FMP1n  = 0
	FULL1n = 3
	FOVR1n = 4
	RFOM1n = 5
)
View Source
const (
	TMEIEn  = 0
	FMPIE0n = 1
	FFIE0n  = 2
	FOVIE0n = 3
	FMPIE1n = 4
	FFIE1n  = 5
	FOVIE1n = 6
	EWGIEn  = 8
	EPVIEn  = 9
	BOFIEn  = 10
	LECIEn  = 11
	ERRIEn  = 15
	WKUIEn  = 16
	SLKIEn  = 17
)
View Source
const (
	EWGFn = 0
	EPVFn = 1
	BOFFn = 2
	LECn  = 4
	TECn  = 16
	RECn  = 24
)
View Source
const (
	BRPn  = 0
	TS1n  = 16
	TS2n  = 20
	SJWn  = 24
	LBKMn = 30
	SILMn = 31
)
View Source
const (
	FACTn = 0
)
View Source
const (
	FBMn = 0
)
View Source
const (
	FFAn = 0
)
View Source
const (
	FINITn = 0
)
View Source
const (
	FSCn = 0
)

Variables

Functions

This section is empty.

Types

type BTR

type BTR uint32
const (
	BRP  BTR = 0x3FF << 0 //+ Baud Rate Prescaler.
	TS1  BTR = 0x0F << 16 //+ Time Segment 1.
	TS2  BTR = 0x07 << 20 //+ Time Segment 2.
	SJW  BTR = 0x03 << 24 //+ Resynchronization Jump Width.
	LBKM BTR = 0x01 << 30 //+ Loop Back Mode (Debug).
	SILM BTR = 0x01 << 31 //+ Silent Mode.
)

func (BTR) Field

func (b BTR) Field(mask BTR) int

func (BTR) J

func (mask BTR) J(v int) BTR

type CAN_FIFOMailBox_Periph

type CAN_FIFOMailBox_Periph struct {
	RIR  RRIR
	RDTR RRDTR
	RDLR RRDLR
	RDHR RRDHR
}

func (*CAN_FIFOMailBox_Periph) BaseAddr

func (p *CAN_FIFOMailBox_Periph) BaseAddr() uintptr

type CAN_FilterRegister_Periph

type CAN_FilterRegister_Periph struct {
	FR1 RFR1
	FR2 RFR2
}

func (*CAN_FilterRegister_Periph) BaseAddr

func (p *CAN_FilterRegister_Periph) BaseAddr() uintptr

type CAN_Periph

type CAN_Periph struct {
	MCR  RMCR
	MSR  RMSR
	TSR  RTSR
	RF0R RRF0R
	RF1R RRF1R
	IER  RIER
	ESR  RESR
	BTR  RBTR

	FMR  RFMR
	FM1R RFM1R

	FS1R RFS1R

	FFA1R RFFA1R

	FA1R RFA1R
	// contains filtered or unexported fields
}

func (*CAN_Periph) ABOM

func (p *CAN_Periph) ABOM() RMMCR

func (*CAN_Periph) ABRQ0

func (p *CAN_Periph) ABRQ0() RMTSR

func (*CAN_Periph) ABRQ1

func (p *CAN_Periph) ABRQ1() RMTSR

func (*CAN_Periph) ABRQ2

func (p *CAN_Periph) ABRQ2() RMTSR

func (*CAN_Periph) ALST0

func (p *CAN_Periph) ALST0() RMTSR

func (*CAN_Periph) ALST1

func (p *CAN_Periph) ALST1() RMTSR

func (*CAN_Periph) ALST2

func (p *CAN_Periph) ALST2() RMTSR

func (*CAN_Periph) AWUM

func (p *CAN_Periph) AWUM() RMMCR

func (*CAN_Periph) BOFF

func (p *CAN_Periph) BOFF() RMESR

func (*CAN_Periph) BOFIE

func (p *CAN_Periph) BOFIE() RMIER

func (*CAN_Periph) BRP

func (p *CAN_Periph) BRP() RMBTR

func (*CAN_Periph) BaseAddr

func (p *CAN_Periph) BaseAddr() uintptr

func (*CAN_Periph) CODE

func (p *CAN_Periph) CODE() RMTSR

func (*CAN_Periph) EPVF

func (p *CAN_Periph) EPVF() RMESR

func (*CAN_Periph) EPVIE

func (p *CAN_Periph) EPVIE() RMIER

func (*CAN_Periph) ERRI

func (p *CAN_Periph) ERRI() RMMSR

func (*CAN_Periph) ERRIE

func (p *CAN_Periph) ERRIE() RMIER

func (*CAN_Periph) EWGF

func (p *CAN_Periph) EWGF() RMESR

func (*CAN_Periph) EWGIE

func (p *CAN_Periph) EWGIE() RMIER

func (*CAN_Periph) FACT

func (p *CAN_Periph) FACT() RMFA1R

func (*CAN_Periph) FBM

func (p *CAN_Periph) FBM() RMFM1R

func (*CAN_Periph) FFA

func (p *CAN_Periph) FFA() RMFFA1R

func (*CAN_Periph) FFIE0

func (p *CAN_Periph) FFIE0() RMIER

func (*CAN_Periph) FFIE1

func (p *CAN_Periph) FFIE1() RMIER

func (*CAN_Periph) FINIT

func (p *CAN_Periph) FINIT() RMFMR

func (*CAN_Periph) FMP0

func (p *CAN_Periph) FMP0() RMRF0R

func (*CAN_Periph) FMP1

func (p *CAN_Periph) FMP1() RMRF1R

func (*CAN_Periph) FMPIE0

func (p *CAN_Periph) FMPIE0() RMIER

func (*CAN_Periph) FMPIE1

func (p *CAN_Periph) FMPIE1() RMIER

func (*CAN_Periph) FOVIE0

func (p *CAN_Periph) FOVIE0() RMIER

func (*CAN_Periph) FOVIE1

func (p *CAN_Periph) FOVIE1() RMIER

func (*CAN_Periph) FOVR0

func (p *CAN_Periph) FOVR0() RMRF0R

func (*CAN_Periph) FOVR1

func (p *CAN_Periph) FOVR1() RMRF1R

func (*CAN_Periph) FSC

func (p *CAN_Periph) FSC() RMFS1R

func (*CAN_Periph) FULL0

func (p *CAN_Periph) FULL0() RMRF0R

func (*CAN_Periph) FULL1

func (p *CAN_Periph) FULL1() RMRF1R

func (*CAN_Periph) INAK

func (p *CAN_Periph) INAK() RMMSR

func (*CAN_Periph) INRQ

func (p *CAN_Periph) INRQ() RMMCR

func (*CAN_Periph) LBKM

func (p *CAN_Periph) LBKM() RMBTR

func (*CAN_Periph) LEC

func (p *CAN_Periph) LEC() RMESR

func (*CAN_Periph) LECIE

func (p *CAN_Periph) LECIE() RMIER

func (*CAN_Periph) LOW

func (p *CAN_Periph) LOW() RMTSR

func (*CAN_Periph) NART

func (p *CAN_Periph) NART() RMMCR

func (*CAN_Periph) REC

func (p *CAN_Periph) REC() RMESR

func (*CAN_Periph) RESET

func (p *CAN_Periph) RESET() RMMCR

func (*CAN_Periph) RFLM

func (p *CAN_Periph) RFLM() RMMCR

func (*CAN_Periph) RFOM0

func (p *CAN_Periph) RFOM0() RMRF0R

func (*CAN_Periph) RFOM1

func (p *CAN_Periph) RFOM1() RMRF1R

func (*CAN_Periph) RQCP0

func (p *CAN_Periph) RQCP0() RMTSR

func (*CAN_Periph) RQCP1

func (p *CAN_Periph) RQCP1() RMTSR

func (*CAN_Periph) RQCP2

func (p *CAN_Periph) RQCP2() RMTSR

func (*CAN_Periph) RX

func (p *CAN_Periph) RX() RMMSR

func (*CAN_Periph) RXM

func (p *CAN_Periph) RXM() RMMSR

func (*CAN_Periph) SAMP

func (p *CAN_Periph) SAMP() RMMSR

func (*CAN_Periph) SILM

func (p *CAN_Periph) SILM() RMBTR

func (*CAN_Periph) SJW

func (p *CAN_Periph) SJW() RMBTR

func (*CAN_Periph) SLAK

func (p *CAN_Periph) SLAK() RMMSR

func (*CAN_Periph) SLAKI

func (p *CAN_Periph) SLAKI() RMMSR

func (*CAN_Periph) SLEEP

func (p *CAN_Periph) SLEEP() RMMCR

func (*CAN_Periph) SLKIE

func (p *CAN_Periph) SLKIE() RMIER

func (*CAN_Periph) TEC

func (p *CAN_Periph) TEC() RMESR

func (*CAN_Periph) TERR0

func (p *CAN_Periph) TERR0() RMTSR

func (*CAN_Periph) TERR1

func (p *CAN_Periph) TERR1() RMTSR

func (*CAN_Periph) TERR2

func (p *CAN_Periph) TERR2() RMTSR

func (*CAN_Periph) TME

func (p *CAN_Periph) TME() RMTSR

func (*CAN_Periph) TMEIE

func (p *CAN_Periph) TMEIE() RMIER

func (*CAN_Periph) TS1

func (p *CAN_Periph) TS1() RMBTR

func (*CAN_Periph) TS2

func (p *CAN_Periph) TS2() RMBTR

func (*CAN_Periph) TTCM

func (p *CAN_Periph) TTCM() RMMCR

func (*CAN_Periph) TXFP

func (p *CAN_Periph) TXFP() RMMCR

func (*CAN_Periph) TXM

func (p *CAN_Periph) TXM() RMMSR

func (*CAN_Periph) TXOK0

func (p *CAN_Periph) TXOK0() RMTSR

func (*CAN_Periph) TXOK1

func (p *CAN_Periph) TXOK1() RMTSR

func (*CAN_Periph) TXOK2

func (p *CAN_Periph) TXOK2() RMTSR

func (*CAN_Periph) WKUI

func (p *CAN_Periph) WKUI() RMMSR

func (*CAN_Periph) WKUIE

func (p *CAN_Periph) WKUIE() RMIER

type CAN_TxMailBox_Periph

type CAN_TxMailBox_Periph struct {
	TIR  RTIR
	TDTR RTDTR
	TDLR RTDLR
	TDHR RTDHR
}

func (*CAN_TxMailBox_Periph) BaseAddr

func (p *CAN_TxMailBox_Periph) BaseAddr() uintptr

type ESR

type ESR uint32
const (
	EWGF ESR = 0x01 << 0  //+ Error Warning Flag.
	EPVF ESR = 0x01 << 1  //+ Error Passive Flag.
	BOFF ESR = 0x01 << 2  //+ Bus-Off Flag.
	LEC  ESR = 0x07 << 4  //+ LEC[2:0] bits (Last Error Code).
	TEC  ESR = 0xFF << 16 //+ Least significant byte of the 9-bit Transmit Error Counter.
	REC  ESR = 0xFF << 24 //+ Receive Error Counter.
)

func (ESR) Field

func (b ESR) Field(mask ESR) int

func (ESR) J

func (mask ESR) J(v int) ESR

type FA1R

type FA1R uint32
const (
	FACT   FA1R = 0x3FFF << 0 //+ Filter Active.
	FACT0  FA1R = 0x01 << 0   //  Filter 0 Active.
	FACT1  FA1R = 0x02 << 0   //  Filter 1 Active.
	FACT2  FA1R = 0x04 << 0   //  Filter 2 Active.
	FACT3  FA1R = 0x08 << 0   //  Filter 3 Active.
	FACT4  FA1R = 0x10 << 0   //  Filter 4 Active.
	FACT5  FA1R = 0x20 << 0   //  Filter 5 Active.
	FACT6  FA1R = 0x40 << 0   //  Filter 6 Active.
	FACT7  FA1R = 0x80 << 0   //  Filter 7 Active.
	FACT8  FA1R = 0x100 << 0  //  Filter 8 Active.
	FACT9  FA1R = 0x200 << 0  //  Filter 9 Active.
	FACT10 FA1R = 0x400 << 0  //  Filter 10 Active.
	FACT11 FA1R = 0x800 << 0  //  Filter 11 Active.
	FACT12 FA1R = 0x1000 << 0 //  Filter 12 Active.
	FACT13 FA1R = 0x2000 << 0 //  Filter 13 Active.
)

func (FA1R) Field

func (b FA1R) Field(mask FA1R) int

func (FA1R) J

func (mask FA1R) J(v int) FA1R

type FFA1R

type FFA1R uint32
const (
	FFA   FFA1R = 0x3FFF << 0 //+ Filter FIFO Assignment.
	FFA0  FFA1R = 0x01 << 0   //  Filter FIFO Assignment for Filter 0.
	FFA1  FFA1R = 0x02 << 0   //  Filter FIFO Assignment for Filter 1.
	FFA2  FFA1R = 0x04 << 0   //  Filter FIFO Assignment for Filter 2.
	FFA3  FFA1R = 0x08 << 0   //  Filter FIFO Assignment for Filter 3.
	FFA4  FFA1R = 0x10 << 0   //  Filter FIFO Assignment for Filter 4.
	FFA5  FFA1R = 0x20 << 0   //  Filter FIFO Assignment for Filter 5.
	FFA6  FFA1R = 0x40 << 0   //  Filter FIFO Assignment for Filter 6.
	FFA7  FFA1R = 0x80 << 0   //  Filter FIFO Assignment for Filter 7.
	FFA8  FFA1R = 0x100 << 0  //  Filter FIFO Assignment for Filter 8.
	FFA9  FFA1R = 0x200 << 0  //  Filter FIFO Assignment for Filter 9.
	FFA10 FFA1R = 0x400 << 0  //  Filter FIFO Assignment for Filter 10.
	FFA11 FFA1R = 0x800 << 0  //  Filter FIFO Assignment for Filter 11.
	FFA12 FFA1R = 0x1000 << 0 //  Filter FIFO Assignment for Filter 12.
	FFA13 FFA1R = 0x2000 << 0 //  Filter FIFO Assignment for Filter 13.
)

func (FFA1R) Field

func (b FFA1R) Field(mask FFA1R) int

func (FFA1R) J

func (mask FFA1R) J(v int) FFA1R

type FM1R

type FM1R uint32
const (
	FBM   FM1R = 0x3FFF << 0 //+ Filter Mode.
	FBM0  FM1R = 0x01 << 0   //  Filter Init Mode bit 0.
	FBM1  FM1R = 0x02 << 0   //  Filter Init Mode bit 1.
	FBM2  FM1R = 0x04 << 0   //  Filter Init Mode bit 2.
	FBM3  FM1R = 0x08 << 0   //  Filter Init Mode bit 3.
	FBM4  FM1R = 0x10 << 0   //  Filter Init Mode bit 4.
	FBM5  FM1R = 0x20 << 0   //  Filter Init Mode bit 5.
	FBM6  FM1R = 0x40 << 0   //  Filter Init Mode bit 6.
	FBM7  FM1R = 0x80 << 0   //  Filter Init Mode bit 7.
	FBM8  FM1R = 0x100 << 0  //  Filter Init Mode bit 8.
	FBM9  FM1R = 0x200 << 0  //  Filter Init Mode bit 9.
	FBM10 FM1R = 0x400 << 0  //  Filter Init Mode bit 10.
	FBM11 FM1R = 0x800 << 0  //  Filter Init Mode bit 11.
	FBM12 FM1R = 0x1000 << 0 //  Filter Init Mode bit 12.
	FBM13 FM1R = 0x2000 << 0 //  Filter Init Mode bit 13.
)

func (FM1R) Field

func (b FM1R) Field(mask FM1R) int

func (FM1R) J

func (mask FM1R) J(v int) FM1R

type FMR

type FMR uint32
const (
	FINIT FMR = 0x01 << 0 //+ Filter Init Mode.
)

func (FMR) Field

func (b FMR) Field(mask FMR) int

func (FMR) J

func (mask FMR) J(v int) FMR

type FR1

type FR1 uint32

func (FR1) Field

func (b FR1) Field(mask FR1) int

func (FR1) J

func (mask FR1) J(v int) FR1

type FR2

type FR2 uint32

func (FR2) Field

func (b FR2) Field(mask FR2) int

func (FR2) J

func (mask FR2) J(v int) FR2

type FS1R

type FS1R uint32
const (
	FSC   FS1R = 0x3FFF << 0 //+ Filter Scale Configuration.
	FSC0  FS1R = 0x01 << 0   //  Filter Scale Configuration bit 0.
	FSC1  FS1R = 0x02 << 0   //  Filter Scale Configuration bit 1.
	FSC2  FS1R = 0x04 << 0   //  Filter Scale Configuration bit 2.
	FSC3  FS1R = 0x08 << 0   //  Filter Scale Configuration bit 3.
	FSC4  FS1R = 0x10 << 0   //  Filter Scale Configuration bit 4.
	FSC5  FS1R = 0x20 << 0   //  Filter Scale Configuration bit 5.
	FSC6  FS1R = 0x40 << 0   //  Filter Scale Configuration bit 6.
	FSC7  FS1R = 0x80 << 0   //  Filter Scale Configuration bit 7.
	FSC8  FS1R = 0x100 << 0  //  Filter Scale Configuration bit 8.
	FSC9  FS1R = 0x200 << 0  //  Filter Scale Configuration bit 9.
	FSC10 FS1R = 0x400 << 0  //  Filter Scale Configuration bit 10.
	FSC11 FS1R = 0x800 << 0  //  Filter Scale Configuration bit 11.
	FSC12 FS1R = 0x1000 << 0 //  Filter Scale Configuration bit 12.
	FSC13 FS1R = 0x2000 << 0 //  Filter Scale Configuration bit 13.
)

func (FS1R) Field

func (b FS1R) Field(mask FS1R) int

func (FS1R) J

func (mask FS1R) J(v int) FS1R

type IER

type IER uint32
const (
	TMEIE  IER = 0x01 << 0  //+ Transmit Mailbox Empty Interrupt Enable.
	FMPIE0 IER = 0x01 << 1  //+ FIFO Message Pending Interrupt Enable.
	FFIE0  IER = 0x01 << 2  //+ FIFO Full Interrupt Enable.
	FOVIE0 IER = 0x01 << 3  //+ FIFO Overrun Interrupt Enable.
	FMPIE1 IER = 0x01 << 4  //+ FIFO Message Pending Interrupt Enable.
	FFIE1  IER = 0x01 << 5  //+ FIFO Full Interrupt Enable.
	FOVIE1 IER = 0x01 << 6  //+ FIFO Overrun Interrupt Enable.
	EWGIE  IER = 0x01 << 8  //+ Error Warning Interrupt Enable.
	EPVIE  IER = 0x01 << 9  //+ Error Passive Interrupt Enable.
	BOFIE  IER = 0x01 << 10 //+ Bus-Off Interrupt Enable.
	LECIE  IER = 0x01 << 11 //+ Last Error Code Interrupt Enable.
	ERRIE  IER = 0x01 << 15 //+ Error Interrupt Enable.
	WKUIE  IER = 0x01 << 16 //+ Wakeup Interrupt Enable.
	SLKIE  IER = 0x01 << 17 //+ Sleep Interrupt Enable.
)

func (IER) Field

func (b IER) Field(mask IER) int

func (IER) J

func (mask IER) J(v int) IER

type MCR

type MCR uint32
const (
	INRQ  MCR = 0x01 << 0  //+ Initialization Request.
	SLEEP MCR = 0x01 << 1  //+ Sleep Mode Request.
	TXFP  MCR = 0x01 << 2  //+ Transmit FIFO Priority.
	RFLM  MCR = 0x01 << 3  //+ Receive FIFO Locked Mode.
	NART  MCR = 0x01 << 4  //+ No Automatic Retransmission.
	AWUM  MCR = 0x01 << 5  //+ Automatic Wakeup Mode.
	ABOM  MCR = 0x01 << 6  //+ Automatic Bus-Off Management.
	TTCM  MCR = 0x01 << 7  //+ Time Triggered Communication Mode.
	RESET MCR = 0x01 << 15 //+ bxCAN software master reset.
)

func (MCR) Field

func (b MCR) Field(mask MCR) int

func (MCR) J

func (mask MCR) J(v int) MCR

type MSR

type MSR uint32
const (
	INAK  MSR = 0x01 << 0  //+ Initialization Acknowledge.
	SLAK  MSR = 0x01 << 1  //+ Sleep Acknowledge.
	ERRI  MSR = 0x01 << 2  //+ Error Interrupt.
	WKUI  MSR = 0x01 << 3  //+ Wakeup Interrupt.
	SLAKI MSR = 0x01 << 4  //+ Sleep Acknowledge Interrupt.
	TXM   MSR = 0x01 << 8  //+ Transmit Mode.
	RXM   MSR = 0x01 << 9  //+ Receive Mode.
	SAMP  MSR = 0x01 << 10 //+ Last Sample Point.
	RX    MSR = 0x01 << 11 //+ CAN Rx Signal.
)

func (MSR) Field

func (b MSR) Field(mask MSR) int

func (MSR) J

func (mask MSR) J(v int) MSR

type RBTR

type RBTR struct{ mmio.U32 }

func (*RBTR) AtomicClearBits

func (r *RBTR) AtomicClearBits(mask BTR)

func (*RBTR) AtomicSetBits

func (r *RBTR) AtomicSetBits(mask BTR)

func (*RBTR) AtomicStoreBits

func (r *RBTR) AtomicStoreBits(mask, b BTR)

func (*RBTR) Bits

func (r *RBTR) Bits(mask BTR) BTR

func (*RBTR) ClearBits

func (r *RBTR) ClearBits(mask BTR)

func (*RBTR) Load

func (r *RBTR) Load() BTR

func (*RBTR) SetBits

func (r *RBTR) SetBits(mask BTR)

func (*RBTR) Store

func (r *RBTR) Store(b BTR)

func (*RBTR) StoreBits

func (r *RBTR) StoreBits(mask, b BTR)

type RDHR

type RDHR uint32

func (RDHR) Field

func (b RDHR) Field(mask RDHR) int

func (RDHR) J

func (mask RDHR) J(v int) RDHR

type RDLR

type RDLR uint32

func (RDLR) Field

func (b RDLR) Field(mask RDLR) int

func (RDLR) J

func (mask RDLR) J(v int) RDLR

type RDTR

type RDTR uint32

func (RDTR) Field

func (b RDTR) Field(mask RDTR) int

func (RDTR) J

func (mask RDTR) J(v int) RDTR

type RESR

type RESR struct{ mmio.U32 }

func (*RESR) AtomicClearBits

func (r *RESR) AtomicClearBits(mask ESR)

func (*RESR) AtomicSetBits

func (r *RESR) AtomicSetBits(mask ESR)

func (*RESR) AtomicStoreBits

func (r *RESR) AtomicStoreBits(mask, b ESR)

func (*RESR) Bits

func (r *RESR) Bits(mask ESR) ESR

func (*RESR) ClearBits

func (r *RESR) ClearBits(mask ESR)

func (*RESR) Load

func (r *RESR) Load() ESR

func (*RESR) SetBits

func (r *RESR) SetBits(mask ESR)

func (*RESR) Store

func (r *RESR) Store(b ESR)

func (*RESR) StoreBits

func (r *RESR) StoreBits(mask, b ESR)

type RF0R

type RF0R uint32
const (
	FMP0  RF0R = 0x03 << 0 //+ FIFO 0 Message Pending.
	FULL0 RF0R = 0x01 << 3 //+ FIFO 0 Full.
	FOVR0 RF0R = 0x01 << 4 //+ FIFO 0 Overrun.
	RFOM0 RF0R = 0x01 << 5 //+ Release FIFO 0 Output Mailbox.
)

func (RF0R) Field

func (b RF0R) Field(mask RF0R) int

func (RF0R) J

func (mask RF0R) J(v int) RF0R

type RF1R

type RF1R uint32
const (
	FMP1  RF1R = 0x03 << 0 //+ FIFO 1 Message Pending.
	FULL1 RF1R = 0x01 << 3 //+ FIFO 1 Full.
	FOVR1 RF1R = 0x01 << 4 //+ FIFO 1 Overrun.
	RFOM1 RF1R = 0x01 << 5 //+ Release FIFO 1 Output Mailbox.
)

func (RF1R) Field

func (b RF1R) Field(mask RF1R) int

func (RF1R) J

func (mask RF1R) J(v int) RF1R

type RFA1R

type RFA1R struct{ mmio.U32 }

func (*RFA1R) AtomicClearBits

func (r *RFA1R) AtomicClearBits(mask FA1R)

func (*RFA1R) AtomicSetBits

func (r *RFA1R) AtomicSetBits(mask FA1R)

func (*RFA1R) AtomicStoreBits

func (r *RFA1R) AtomicStoreBits(mask, b FA1R)

func (*RFA1R) Bits

func (r *RFA1R) Bits(mask FA1R) FA1R

func (*RFA1R) ClearBits

func (r *RFA1R) ClearBits(mask FA1R)

func (*RFA1R) Load

func (r *RFA1R) Load() FA1R

func (*RFA1R) SetBits

func (r *RFA1R) SetBits(mask FA1R)

func (*RFA1R) Store

func (r *RFA1R) Store(b FA1R)

func (*RFA1R) StoreBits

func (r *RFA1R) StoreBits(mask, b FA1R)

type RFFA1R

type RFFA1R struct{ mmio.U32 }

func (*RFFA1R) AtomicClearBits

func (r *RFFA1R) AtomicClearBits(mask FFA1R)

func (*RFFA1R) AtomicSetBits

func (r *RFFA1R) AtomicSetBits(mask FFA1R)

func (*RFFA1R) AtomicStoreBits

func (r *RFFA1R) AtomicStoreBits(mask, b FFA1R)

func (*RFFA1R) Bits

func (r *RFFA1R) Bits(mask FFA1R) FFA1R

func (*RFFA1R) ClearBits

func (r *RFFA1R) ClearBits(mask FFA1R)

func (*RFFA1R) Load

func (r *RFFA1R) Load() FFA1R

func (*RFFA1R) SetBits

func (r *RFFA1R) SetBits(mask FFA1R)

func (*RFFA1R) Store

func (r *RFFA1R) Store(b FFA1R)

func (*RFFA1R) StoreBits

func (r *RFFA1R) StoreBits(mask, b FFA1R)

type RFM1R

type RFM1R struct{ mmio.U32 }

func (*RFM1R) AtomicClearBits

func (r *RFM1R) AtomicClearBits(mask FM1R)

func (*RFM1R) AtomicSetBits

func (r *RFM1R) AtomicSetBits(mask FM1R)

func (*RFM1R) AtomicStoreBits

func (r *RFM1R) AtomicStoreBits(mask, b FM1R)

func (*RFM1R) Bits

func (r *RFM1R) Bits(mask FM1R) FM1R

func (*RFM1R) ClearBits

func (r *RFM1R) ClearBits(mask FM1R)

func (*RFM1R) Load

func (r *RFM1R) Load() FM1R

func (*RFM1R) SetBits

func (r *RFM1R) SetBits(mask FM1R)

func (*RFM1R) Store

func (r *RFM1R) Store(b FM1R)

func (*RFM1R) StoreBits

func (r *RFM1R) StoreBits(mask, b FM1R)

type RFMR

type RFMR struct{ mmio.U32 }

func (*RFMR) AtomicClearBits

func (r *RFMR) AtomicClearBits(mask FMR)

func (*RFMR) AtomicSetBits

func (r *RFMR) AtomicSetBits(mask FMR)

func (*RFMR) AtomicStoreBits

func (r *RFMR) AtomicStoreBits(mask, b FMR)

func (*RFMR) Bits

func (r *RFMR) Bits(mask FMR) FMR

func (*RFMR) ClearBits

func (r *RFMR) ClearBits(mask FMR)

func (*RFMR) Load

func (r *RFMR) Load() FMR

func (*RFMR) SetBits

func (r *RFMR) SetBits(mask FMR)

func (*RFMR) Store

func (r *RFMR) Store(b FMR)

func (*RFMR) StoreBits

func (r *RFMR) StoreBits(mask, b FMR)

type RFR1

type RFR1 struct{ mmio.U32 }

func (*RFR1) AtomicClearBits

func (r *RFR1) AtomicClearBits(mask FR1)

func (*RFR1) AtomicSetBits

func (r *RFR1) AtomicSetBits(mask FR1)

func (*RFR1) AtomicStoreBits

func (r *RFR1) AtomicStoreBits(mask, b FR1)

func (*RFR1) Bits

func (r *RFR1) Bits(mask FR1) FR1

func (*RFR1) ClearBits

func (r *RFR1) ClearBits(mask FR1)

func (*RFR1) Load

func (r *RFR1) Load() FR1

func (*RFR1) SetBits

func (r *RFR1) SetBits(mask FR1)

func (*RFR1) Store

func (r *RFR1) Store(b FR1)

func (*RFR1) StoreBits

func (r *RFR1) StoreBits(mask, b FR1)

type RFR2

type RFR2 struct{ mmio.U32 }

func (*RFR2) AtomicClearBits

func (r *RFR2) AtomicClearBits(mask FR2)

func (*RFR2) AtomicSetBits

func (r *RFR2) AtomicSetBits(mask FR2)

func (*RFR2) AtomicStoreBits

func (r *RFR2) AtomicStoreBits(mask, b FR2)

func (*RFR2) Bits

func (r *RFR2) Bits(mask FR2) FR2

func (*RFR2) ClearBits

func (r *RFR2) ClearBits(mask FR2)

func (*RFR2) Load

func (r *RFR2) Load() FR2

func (*RFR2) SetBits

func (r *RFR2) SetBits(mask FR2)

func (*RFR2) Store

func (r *RFR2) Store(b FR2)

func (*RFR2) StoreBits

func (r *RFR2) StoreBits(mask, b FR2)

type RFS1R

type RFS1R struct{ mmio.U32 }

func (*RFS1R) AtomicClearBits

func (r *RFS1R) AtomicClearBits(mask FS1R)

func (*RFS1R) AtomicSetBits

func (r *RFS1R) AtomicSetBits(mask FS1R)

func (*RFS1R) AtomicStoreBits

func (r *RFS1R) AtomicStoreBits(mask, b FS1R)

func (*RFS1R) Bits

func (r *RFS1R) Bits(mask FS1R) FS1R

func (*RFS1R) ClearBits

func (r *RFS1R) ClearBits(mask FS1R)

func (*RFS1R) Load

func (r *RFS1R) Load() FS1R

func (*RFS1R) SetBits

func (r *RFS1R) SetBits(mask FS1R)

func (*RFS1R) Store

func (r *RFS1R) Store(b FS1R)

func (*RFS1R) StoreBits

func (r *RFS1R) StoreBits(mask, b FS1R)

type RIER

type RIER struct{ mmio.U32 }

func (*RIER) AtomicClearBits

func (r *RIER) AtomicClearBits(mask IER)

func (*RIER) AtomicSetBits

func (r *RIER) AtomicSetBits(mask IER)

func (*RIER) AtomicStoreBits

func (r *RIER) AtomicStoreBits(mask, b IER)

func (*RIER) Bits

func (r *RIER) Bits(mask IER) IER

func (*RIER) ClearBits

func (r *RIER) ClearBits(mask IER)

func (*RIER) Load

func (r *RIER) Load() IER

func (*RIER) SetBits

func (r *RIER) SetBits(mask IER)

func (*RIER) Store

func (r *RIER) Store(b IER)

func (*RIER) StoreBits

func (r *RIER) StoreBits(mask, b IER)

type RIR

type RIR uint32

func (RIR) Field

func (b RIR) Field(mask RIR) int

func (RIR) J

func (mask RIR) J(v int) RIR

type RMBTR

type RMBTR struct{ mmio.UM32 }

func (RMBTR) Load

func (rm RMBTR) Load() BTR

func (RMBTR) Store

func (rm RMBTR) Store(b BTR)

type RMCR

type RMCR struct{ mmio.U32 }

func (*RMCR) AtomicClearBits

func (r *RMCR) AtomicClearBits(mask MCR)

func (*RMCR) AtomicSetBits

func (r *RMCR) AtomicSetBits(mask MCR)

func (*RMCR) AtomicStoreBits

func (r *RMCR) AtomicStoreBits(mask, b MCR)

func (*RMCR) Bits

func (r *RMCR) Bits(mask MCR) MCR

func (*RMCR) ClearBits

func (r *RMCR) ClearBits(mask MCR)

func (*RMCR) Load

func (r *RMCR) Load() MCR

func (*RMCR) SetBits

func (r *RMCR) SetBits(mask MCR)

func (*RMCR) Store

func (r *RMCR) Store(b MCR)

func (*RMCR) StoreBits

func (r *RMCR) StoreBits(mask, b MCR)

type RMESR

type RMESR struct{ mmio.UM32 }

func (RMESR) Load

func (rm RMESR) Load() ESR

func (RMESR) Store

func (rm RMESR) Store(b ESR)

type RMFA1R

type RMFA1R struct{ mmio.UM32 }

func (RMFA1R) Load

func (rm RMFA1R) Load() FA1R

func (RMFA1R) Store

func (rm RMFA1R) Store(b FA1R)

type RMFFA1R

type RMFFA1R struct{ mmio.UM32 }

func (RMFFA1R) Load

func (rm RMFFA1R) Load() FFA1R

func (RMFFA1R) Store

func (rm RMFFA1R) Store(b FFA1R)

type RMFM1R

type RMFM1R struct{ mmio.UM32 }

func (RMFM1R) Load

func (rm RMFM1R) Load() FM1R

func (RMFM1R) Store

func (rm RMFM1R) Store(b FM1R)

type RMFMR

type RMFMR struct{ mmio.UM32 }

func (RMFMR) Load

func (rm RMFMR) Load() FMR

func (RMFMR) Store

func (rm RMFMR) Store(b FMR)

type RMFR1

type RMFR1 struct{ mmio.UM32 }

func (RMFR1) Load

func (rm RMFR1) Load() FR1

func (RMFR1) Store

func (rm RMFR1) Store(b FR1)

type RMFR2

type RMFR2 struct{ mmio.UM32 }

func (RMFR2) Load

func (rm RMFR2) Load() FR2

func (RMFR2) Store

func (rm RMFR2) Store(b FR2)

type RMFS1R

type RMFS1R struct{ mmio.UM32 }

func (RMFS1R) Load

func (rm RMFS1R) Load() FS1R

func (RMFS1R) Store

func (rm RMFS1R) Store(b FS1R)

type RMIER

type RMIER struct{ mmio.UM32 }

func (RMIER) Load

func (rm RMIER) Load() IER

func (RMIER) Store

func (rm RMIER) Store(b IER)

type RMMCR

type RMMCR struct{ mmio.UM32 }

func (RMMCR) Load

func (rm RMMCR) Load() MCR

func (RMMCR) Store

func (rm RMMCR) Store(b MCR)

type RMMSR

type RMMSR struct{ mmio.UM32 }

func (RMMSR) Load

func (rm RMMSR) Load() MSR

func (RMMSR) Store

func (rm RMMSR) Store(b MSR)

type RMRDHR

type RMRDHR struct{ mmio.UM32 }

func (RMRDHR) Load

func (rm RMRDHR) Load() RDHR

func (RMRDHR) Store

func (rm RMRDHR) Store(b RDHR)

type RMRDLR

type RMRDLR struct{ mmio.UM32 }

func (RMRDLR) Load

func (rm RMRDLR) Load() RDLR

func (RMRDLR) Store

func (rm RMRDLR) Store(b RDLR)

type RMRDTR

type RMRDTR struct{ mmio.UM32 }

func (RMRDTR) Load

func (rm RMRDTR) Load() RDTR

func (RMRDTR) Store

func (rm RMRDTR) Store(b RDTR)

type RMRF0R

type RMRF0R struct{ mmio.UM32 }

func (RMRF0R) Load

func (rm RMRF0R) Load() RF0R

func (RMRF0R) Store

func (rm RMRF0R) Store(b RF0R)

type RMRF1R

type RMRF1R struct{ mmio.UM32 }

func (RMRF1R) Load

func (rm RMRF1R) Load() RF1R

func (RMRF1R) Store

func (rm RMRF1R) Store(b RF1R)

type RMRIR

type RMRIR struct{ mmio.UM32 }

func (RMRIR) Load

func (rm RMRIR) Load() RIR

func (RMRIR) Store

func (rm RMRIR) Store(b RIR)

type RMSR

type RMSR struct{ mmio.U32 }

func (*RMSR) AtomicClearBits

func (r *RMSR) AtomicClearBits(mask MSR)

func (*RMSR) AtomicSetBits

func (r *RMSR) AtomicSetBits(mask MSR)

func (*RMSR) AtomicStoreBits

func (r *RMSR) AtomicStoreBits(mask, b MSR)

func (*RMSR) Bits

func (r *RMSR) Bits(mask MSR) MSR

func (*RMSR) ClearBits

func (r *RMSR) ClearBits(mask MSR)

func (*RMSR) Load

func (r *RMSR) Load() MSR

func (*RMSR) SetBits

func (r *RMSR) SetBits(mask MSR)

func (*RMSR) Store

func (r *RMSR) Store(b MSR)

func (*RMSR) StoreBits

func (r *RMSR) StoreBits(mask, b MSR)

type RMTDHR

type RMTDHR struct{ mmio.UM32 }

func (RMTDHR) Load

func (rm RMTDHR) Load() TDHR

func (RMTDHR) Store

func (rm RMTDHR) Store(b TDHR)

type RMTDLR

type RMTDLR struct{ mmio.UM32 }

func (RMTDLR) Load

func (rm RMTDLR) Load() TDLR

func (RMTDLR) Store

func (rm RMTDLR) Store(b TDLR)

type RMTDTR

type RMTDTR struct{ mmio.UM32 }

func (RMTDTR) Load

func (rm RMTDTR) Load() TDTR

func (RMTDTR) Store

func (rm RMTDTR) Store(b TDTR)

type RMTIR

type RMTIR struct{ mmio.UM32 }

func (RMTIR) Load

func (rm RMTIR) Load() TIR

func (RMTIR) Store

func (rm RMTIR) Store(b TIR)

type RMTSR

type RMTSR struct{ mmio.UM32 }

func (RMTSR) Load

func (rm RMTSR) Load() TSR

func (RMTSR) Store

func (rm RMTSR) Store(b TSR)

type RRDHR

type RRDHR struct{ mmio.U32 }

func (*RRDHR) AtomicClearBits

func (r *RRDHR) AtomicClearBits(mask RDHR)

func (*RRDHR) AtomicSetBits

func (r *RRDHR) AtomicSetBits(mask RDHR)

func (*RRDHR) AtomicStoreBits

func (r *RRDHR) AtomicStoreBits(mask, b RDHR)

func (*RRDHR) Bits

func (r *RRDHR) Bits(mask RDHR) RDHR

func (*RRDHR) ClearBits

func (r *RRDHR) ClearBits(mask RDHR)

func (*RRDHR) Load

func (r *RRDHR) Load() RDHR

func (*RRDHR) SetBits

func (r *RRDHR) SetBits(mask RDHR)

func (*RRDHR) Store

func (r *RRDHR) Store(b RDHR)

func (*RRDHR) StoreBits

func (r *RRDHR) StoreBits(mask, b RDHR)

type RRDLR

type RRDLR struct{ mmio.U32 }

func (*RRDLR) AtomicClearBits

func (r *RRDLR) AtomicClearBits(mask RDLR)

func (*RRDLR) AtomicSetBits

func (r *RRDLR) AtomicSetBits(mask RDLR)

func (*RRDLR) AtomicStoreBits

func (r *RRDLR) AtomicStoreBits(mask, b RDLR)

func (*RRDLR) Bits

func (r *RRDLR) Bits(mask RDLR) RDLR

func (*RRDLR) ClearBits

func (r *RRDLR) ClearBits(mask RDLR)

func (*RRDLR) Load

func (r *RRDLR) Load() RDLR

func (*RRDLR) SetBits

func (r *RRDLR) SetBits(mask RDLR)

func (*RRDLR) Store

func (r *RRDLR) Store(b RDLR)

func (*RRDLR) StoreBits

func (r *RRDLR) StoreBits(mask, b RDLR)

type RRDTR

type RRDTR struct{ mmio.U32 }

func (*RRDTR) AtomicClearBits

func (r *RRDTR) AtomicClearBits(mask RDTR)

func (*RRDTR) AtomicSetBits

func (r *RRDTR) AtomicSetBits(mask RDTR)

func (*RRDTR) AtomicStoreBits

func (r *RRDTR) AtomicStoreBits(mask, b RDTR)

func (*RRDTR) Bits

func (r *RRDTR) Bits(mask RDTR) RDTR

func (*RRDTR) ClearBits

func (r *RRDTR) ClearBits(mask RDTR)

func (*RRDTR) Load

func (r *RRDTR) Load() RDTR

func (*RRDTR) SetBits

func (r *RRDTR) SetBits(mask RDTR)

func (*RRDTR) Store

func (r *RRDTR) Store(b RDTR)

func (*RRDTR) StoreBits

func (r *RRDTR) StoreBits(mask, b RDTR)

type RRF0R

type RRF0R struct{ mmio.U32 }

func (*RRF0R) AtomicClearBits

func (r *RRF0R) AtomicClearBits(mask RF0R)

func (*RRF0R) AtomicSetBits

func (r *RRF0R) AtomicSetBits(mask RF0R)

func (*RRF0R) AtomicStoreBits

func (r *RRF0R) AtomicStoreBits(mask, b RF0R)

func (*RRF0R) Bits

func (r *RRF0R) Bits(mask RF0R) RF0R

func (*RRF0R) ClearBits

func (r *RRF0R) ClearBits(mask RF0R)

func (*RRF0R) Load

func (r *RRF0R) Load() RF0R

func (*RRF0R) SetBits

func (r *RRF0R) SetBits(mask RF0R)

func (*RRF0R) Store

func (r *RRF0R) Store(b RF0R)

func (*RRF0R) StoreBits

func (r *RRF0R) StoreBits(mask, b RF0R)

type RRF1R

type RRF1R struct{ mmio.U32 }

func (*RRF1R) AtomicClearBits

func (r *RRF1R) AtomicClearBits(mask RF1R)

func (*RRF1R) AtomicSetBits

func (r *RRF1R) AtomicSetBits(mask RF1R)

func (*RRF1R) AtomicStoreBits

func (r *RRF1R) AtomicStoreBits(mask, b RF1R)

func (*RRF1R) Bits

func (r *RRF1R) Bits(mask RF1R) RF1R

func (*RRF1R) ClearBits

func (r *RRF1R) ClearBits(mask RF1R)

func (*RRF1R) Load

func (r *RRF1R) Load() RF1R

func (*RRF1R) SetBits

func (r *RRF1R) SetBits(mask RF1R)

func (*RRF1R) Store

func (r *RRF1R) Store(b RF1R)

func (*RRF1R) StoreBits

func (r *RRF1R) StoreBits(mask, b RF1R)

type RRIR

type RRIR struct{ mmio.U32 }

func (*RRIR) AtomicClearBits

func (r *RRIR) AtomicClearBits(mask RIR)

func (*RRIR) AtomicSetBits

func (r *RRIR) AtomicSetBits(mask RIR)

func (*RRIR) AtomicStoreBits

func (r *RRIR) AtomicStoreBits(mask, b RIR)

func (*RRIR) Bits

func (r *RRIR) Bits(mask RIR) RIR

func (*RRIR) ClearBits

func (r *RRIR) ClearBits(mask RIR)

func (*RRIR) Load

func (r *RRIR) Load() RIR

func (*RRIR) SetBits

func (r *RRIR) SetBits(mask RIR)

func (*RRIR) Store

func (r *RRIR) Store(b RIR)

func (*RRIR) StoreBits

func (r *RRIR) StoreBits(mask, b RIR)

type RTDHR

type RTDHR struct{ mmio.U32 }

func (*RTDHR) AtomicClearBits

func (r *RTDHR) AtomicClearBits(mask TDHR)

func (*RTDHR) AtomicSetBits

func (r *RTDHR) AtomicSetBits(mask TDHR)

func (*RTDHR) AtomicStoreBits

func (r *RTDHR) AtomicStoreBits(mask, b TDHR)

func (*RTDHR) Bits

func (r *RTDHR) Bits(mask TDHR) TDHR

func (*RTDHR) ClearBits

func (r *RTDHR) ClearBits(mask TDHR)

func (*RTDHR) Load

func (r *RTDHR) Load() TDHR

func (*RTDHR) SetBits

func (r *RTDHR) SetBits(mask TDHR)

func (*RTDHR) Store

func (r *RTDHR) Store(b TDHR)

func (*RTDHR) StoreBits

func (r *RTDHR) StoreBits(mask, b TDHR)

type RTDLR

type RTDLR struct{ mmio.U32 }

func (*RTDLR) AtomicClearBits

func (r *RTDLR) AtomicClearBits(mask TDLR)

func (*RTDLR) AtomicSetBits

func (r *RTDLR) AtomicSetBits(mask TDLR)

func (*RTDLR) AtomicStoreBits

func (r *RTDLR) AtomicStoreBits(mask, b TDLR)

func (*RTDLR) Bits

func (r *RTDLR) Bits(mask TDLR) TDLR

func (*RTDLR) ClearBits

func (r *RTDLR) ClearBits(mask TDLR)

func (*RTDLR) Load

func (r *RTDLR) Load() TDLR

func (*RTDLR) SetBits

func (r *RTDLR) SetBits(mask TDLR)

func (*RTDLR) Store

func (r *RTDLR) Store(b TDLR)

func (*RTDLR) StoreBits

func (r *RTDLR) StoreBits(mask, b TDLR)

type RTDTR

type RTDTR struct{ mmio.U32 }

func (*RTDTR) AtomicClearBits

func (r *RTDTR) AtomicClearBits(mask TDTR)

func (*RTDTR) AtomicSetBits

func (r *RTDTR) AtomicSetBits(mask TDTR)

func (*RTDTR) AtomicStoreBits

func (r *RTDTR) AtomicStoreBits(mask, b TDTR)

func (*RTDTR) Bits

func (r *RTDTR) Bits(mask TDTR) TDTR

func (*RTDTR) ClearBits

func (r *RTDTR) ClearBits(mask TDTR)

func (*RTDTR) Load

func (r *RTDTR) Load() TDTR

func (*RTDTR) SetBits

func (r *RTDTR) SetBits(mask TDTR)

func (*RTDTR) Store

func (r *RTDTR) Store(b TDTR)

func (*RTDTR) StoreBits

func (r *RTDTR) StoreBits(mask, b TDTR)

type RTIR

type RTIR struct{ mmio.U32 }

func (*RTIR) AtomicClearBits

func (r *RTIR) AtomicClearBits(mask TIR)

func (*RTIR) AtomicSetBits

func (r *RTIR) AtomicSetBits(mask TIR)

func (*RTIR) AtomicStoreBits

func (r *RTIR) AtomicStoreBits(mask, b TIR)

func (*RTIR) Bits

func (r *RTIR) Bits(mask TIR) TIR

func (*RTIR) ClearBits

func (r *RTIR) ClearBits(mask TIR)

func (*RTIR) Load

func (r *RTIR) Load() TIR

func (*RTIR) SetBits

func (r *RTIR) SetBits(mask TIR)

func (*RTIR) Store

func (r *RTIR) Store(b TIR)

func (*RTIR) StoreBits

func (r *RTIR) StoreBits(mask, b TIR)

type RTSR

type RTSR struct{ mmio.U32 }

func (*RTSR) AtomicClearBits

func (r *RTSR) AtomicClearBits(mask TSR)

func (*RTSR) AtomicSetBits

func (r *RTSR) AtomicSetBits(mask TSR)

func (*RTSR) AtomicStoreBits

func (r *RTSR) AtomicStoreBits(mask, b TSR)

func (*RTSR) Bits

func (r *RTSR) Bits(mask TSR) TSR

func (*RTSR) ClearBits

func (r *RTSR) ClearBits(mask TSR)

func (*RTSR) Load

func (r *RTSR) Load() TSR

func (*RTSR) SetBits

func (r *RTSR) SetBits(mask TSR)

func (*RTSR) Store

func (r *RTSR) Store(b TSR)

func (*RTSR) StoreBits

func (r *RTSR) StoreBits(mask, b TSR)

type TDHR

type TDHR uint32

func (TDHR) Field

func (b TDHR) Field(mask TDHR) int

func (TDHR) J

func (mask TDHR) J(v int) TDHR

type TDLR

type TDLR uint32

func (TDLR) Field

func (b TDLR) Field(mask TDLR) int

func (TDLR) J

func (mask TDLR) J(v int) TDLR

type TDTR

type TDTR uint32

func (TDTR) Field

func (b TDTR) Field(mask TDTR) int

func (TDTR) J

func (mask TDTR) J(v int) TDTR

type TIR

type TIR uint32

func (TIR) Field

func (b TIR) Field(mask TIR) int

func (TIR) J

func (mask TIR) J(v int) TIR

type TSR

type TSR uint32
const (
	RQCP0 TSR = 0x01 << 0  //+ Request Completed Mailbox0.
	TXOK0 TSR = 0x01 << 1  //+ Transmission OK of Mailbox0.
	ALST0 TSR = 0x01 << 2  //+ Arbitration Lost for Mailbox0.
	TERR0 TSR = 0x01 << 3  //+ Transmission Error of Mailbox0.
	ABRQ0 TSR = 0x01 << 7  //+ Abort Request for Mailbox0.
	RQCP1 TSR = 0x01 << 8  //+ Request Completed Mailbox1.
	TXOK1 TSR = 0x01 << 9  //+ Transmission OK of Mailbox1.
	ALST1 TSR = 0x01 << 10 //+ Arbitration Lost for Mailbox1.
	TERR1 TSR = 0x01 << 11 //+ Transmission Error of Mailbox1.
	ABRQ1 TSR = 0x01 << 15 //+ Abort Request for Mailbox 1.
	RQCP2 TSR = 0x01 << 16 //+ Request Completed Mailbox2.
	TXOK2 TSR = 0x01 << 17 //+ Transmission OK of Mailbox 2.
	ALST2 TSR = 0x01 << 18 //+ Arbitration Lost for mailbox 2.
	TERR2 TSR = 0x01 << 19 //+ Transmission Error of Mailbox 2.
	ABRQ2 TSR = 0x01 << 23 //+ Abort Request for Mailbox 2.
	CODE  TSR = 0x03 << 24 //+ Mailbox Code.
	TME   TSR = 0x07 << 26 //+ TME[2:0] bits.
	TME0  TSR = 0x01 << 26 //  Transmit Mailbox 0 Empty.
	TME1  TSR = 0x02 << 26 //  Transmit Mailbox 1 Empty.
	TME2  TSR = 0x04 << 26 //  Transmit Mailbox 2 Empty.
	LOW   TSR = 0x07 << 29 //+ LOW[2:0] bits.
	LOW0  TSR = 0x01 << 29 //  Lowest Priority Flag for Mailbox 0.
	LOW1  TSR = 0x02 << 29 //  Lowest Priority Flag for Mailbox 1.
	LOW2  TSR = 0x04 << 29 //  Lowest Priority Flag for Mailbox 2.
)

func (TSR) Field

func (b TSR) Field(mask TSR) int

func (TSR) J

func (mask TSR) J(v int) TSR

Jump to

Keyboard shortcuts

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