ltdc

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 ltdc provides interface to LCD-TFT Display Controller.

Peripheral: LTDC_Periph LCD-TFT Display Controller. Instances:

LTDC  mmap.LTDC_BASE

Registers:

0x08 32  SSCR  Synchronization Size Configuration Register.
0x0C 32  BPCR  Back Porch Configuration Register.
0x10 32  AWCR  Active Width Configuration Register.
0x14 32  TWCR  Total Width Configuration Register.
0x18 32  GCR   Global Control Register.
0x24 32  SRCR  Shadow Reload Configuration Register.
0x2C 32  BCCR  Background Color Configuration Register.
0x34 32  IER   Interrupt Enable Register.
0x38 32  ISR   Interrupt Status Register.
0x3C 32  ICR   Interrupt Clear Register.
0x40 32  LIPCR Line Interrupt Position Configuration Register.
0x44 32  CPSR  Current Position Status Register.
0x48 32  CDSR  Current Display Status Register.

Import:

stm32/o/f40_41xxx/mmap

Peripheral: LTDC_Layer_Periph LCD-TFT Display layer x Controller. Instances:

LTDC_Layer1  mmap.LTDC_Layer1_BASE
LTDC_Layer2  mmap.LTDC_Layer2_BASE

Registers:

0x00 32  CR     LTDC Layerx Control Register.
0x04 32  WHPCR  LTDC Layerx Window Horizontal Position Configuration Register.
0x08 32  WVPCR  LTDC Layerx Window Vertical Position Configuration Register.
0x0C 32  CKCR   LTDC Layerx Color Keying Configuration Register.
0x10 32  PFCR   LTDC Layerx Pixel Format Configuration Register.
0x14 32  CACR   LTDC Layerx Constant Alpha Configuration Register.
0x18 32  DCCR   LTDC Layerx Default Color Configuration Register.
0x1C 32  BFCR   LTDC Layerx Blending Factors Configuration Register.
0x28 32  CFBAR  LTDC Layerx Color Frame Buffer Address Register.
0x2C 32  CFBLR  LTDC Layerx Color Frame Buffer Length Register.
0x30 32  CFBLNR LTDC Layerx ColorFrame Buffer Line Number Register.
0x40 32  CLUTWR LTDC Layerx CLUT Write Register.

Import:

stm32/o/f40_41xxx/mmap

Index

Constants

View Source
const (
	VSHn = 0
	HSWn = 16
)
View Source
const (
	AVBPn = 0
	AHBPn = 16
)
View Source
const (
	AAHn = 0
	AAWn = 16
)
View Source
const (
	TOTALHn = 0
	TOTALWn = 16
)
View Source
const (
	LTDCENn = 0
	DBWn    = 4
	DGWn    = 8
	DRWn    = 12
	DENn    = 16
	PCPOLn  = 28
	DEPOLn  = 29
	VSPOLn  = 30
	HSPOLn  = 31
)
View Source
const (
	IMRn = 0
	VBRn = 1
)
View Source
const (
	BCBLUEn  = 0
	BCGREENn = 8
	BCREDn   = 16
)
View Source
const (
	LIEn    = 0
	FUIEn   = 1
	TERRIEn = 2
	RRIEn   = 3
)
View Source
const (
	LIFn    = 0
	FUIFn   = 1
	TERRIFn = 2
	RRIFn   = 3
)
View Source
const (
	CLIFn    = 0
	CFUIFn   = 1
	CTERRIFn = 2
	CRRIFn   = 3
)
View Source
const (
	CYPOSn = 0
	CXPOSn = 16
)
View Source
const (
	VDESn   = 0
	HDESn   = 1
	VSYNCSn = 2
	HSYNCSn = 3
)
View Source
const (
	LIPOSn = 0
)

Variables

Functions

This section is empty.

Types

type AWCR

type AWCR uint32
const (
	AAH AWCR = 0x7FF << 0  //+ Accumulated Active heigh.
	AAW AWCR = 0xFFF << 16 //+ Accumulated Active Width.
)

func (AWCR) Field

func (b AWCR) Field(mask AWCR) int

func (AWCR) J

func (mask AWCR) J(v int) AWCR

type BCCR

type BCCR uint32
const (
	BCBLUE  BCCR = 0xFF << 0  //+ Background Blue value.
	BCGREEN BCCR = 0xFF << 8  //+ Background Green value.
	BCRED   BCCR = 0xFF << 16 //+ Background Red value.
)

func (BCCR) Field

func (b BCCR) Field(mask BCCR) int

func (BCCR) J

func (mask BCCR) J(v int) BCCR

type BFCR

type BFCR uint32

func (BFCR) Field

func (b BFCR) Field(mask BFCR) int

func (BFCR) J

func (mask BFCR) J(v int) BFCR

type BPCR

type BPCR uint32
const (
	AVBP BPCR = 0x7FF << 0  //+ Accumulated Vertical Back Porch.
	AHBP BPCR = 0xFFF << 16 //+ Accumulated Horizontal Back Porch.
)

func (BPCR) Field

func (b BPCR) Field(mask BPCR) int

func (BPCR) J

func (mask BPCR) J(v int) BPCR

type CACR

type CACR uint32

func (CACR) Field

func (b CACR) Field(mask CACR) int

func (CACR) J

func (mask CACR) J(v int) CACR

type CDSR

type CDSR uint32
const (
	VDES   CDSR = 0x01 << 0 //+ Vertical Data Enable Status.
	HDES   CDSR = 0x01 << 1 //+ Horizontal Data Enable Status.
	VSYNCS CDSR = 0x01 << 2 //+ Vertical Synchronization Status.
	HSYNCS CDSR = 0x01 << 3 //+ Horizontal Synchronization Status.
)

func (CDSR) Field

func (b CDSR) Field(mask CDSR) int

func (CDSR) J

func (mask CDSR) J(v int) CDSR

type CFBAR

type CFBAR uint32

func (CFBAR) Field

func (b CFBAR) Field(mask CFBAR) int

func (CFBAR) J

func (mask CFBAR) J(v int) CFBAR

type CFBLNR

type CFBLNR uint32

func (CFBLNR) Field

func (b CFBLNR) Field(mask CFBLNR) int

func (CFBLNR) J

func (mask CFBLNR) J(v int) CFBLNR

type CFBLR

type CFBLR uint32

func (CFBLR) Field

func (b CFBLR) Field(mask CFBLR) int

func (CFBLR) J

func (mask CFBLR) J(v int) CFBLR

type CKCR

type CKCR uint32

func (CKCR) Field

func (b CKCR) Field(mask CKCR) int

func (CKCR) J

func (mask CKCR) J(v int) CKCR

type CLUTWR

type CLUTWR uint32

func (CLUTWR) Field

func (b CLUTWR) Field(mask CLUTWR) int

func (CLUTWR) J

func (mask CLUTWR) J(v int) CLUTWR

type CPSR

type CPSR uint32
const (
	CYPOS CPSR = 0xFFFF << 0  //+ Current Y Position.
	CXPOS CPSR = 0xFFFF << 16 //+ Current X Position.
)

func (CPSR) Field

func (b CPSR) Field(mask CPSR) int

func (CPSR) J

func (mask CPSR) J(v int) CPSR

type CR

type CR uint32

func (CR) Field

func (b CR) Field(mask CR) int

func (CR) J

func (mask CR) J(v int) CR

type DCCR

type DCCR uint32

func (DCCR) Field

func (b DCCR) Field(mask DCCR) int

func (DCCR) J

func (mask DCCR) J(v int) DCCR

type GCR

type GCR uint32
const (
	LTDCEN GCR = 0x01 << 0  //+ LCD-TFT controller enable bit.
	DBW    GCR = 0x07 << 4  //+ Dither Blue Width.
	DGW    GCR = 0x07 << 8  //+ Dither Green Width.
	DRW    GCR = 0x07 << 12 //+ Dither Red Width.
	DEN    GCR = 0x01 << 16 //+ Dither Enable.
	PCPOL  GCR = 0x01 << 28 //+ Pixel Clock Polarity.
	DEPOL  GCR = 0x01 << 29 //+ Data Enable Polarity.
	VSPOL  GCR = 0x01 << 30 //+ Vertical Synchronization Polarity.
	HSPOL  GCR = 0x01 << 31 //+ Horizontal Synchronization Polarity.
)

func (GCR) Field

func (b GCR) Field(mask GCR) int

func (GCR) J

func (mask GCR) J(v int) GCR

type ICR

type ICR uint32
const (
	CLIF    ICR = 0x01 << 0 //+ Clears the Line Interrupt Flag.
	CFUIF   ICR = 0x01 << 1 //+ Clears the FIFO Underrun Interrupt Flag.
	CTERRIF ICR = 0x01 << 2 //+ Clears the Transfer Error Interrupt Flag.
	CRRIF   ICR = 0x01 << 3 //+ Clears Register Reload interrupt Flag.
)

func (ICR) Field

func (b ICR) Field(mask ICR) int

func (ICR) J

func (mask ICR) J(v int) ICR

type IER

type IER uint32
const (
	LIE    IER = 0x01 << 0 //+ Line Interrupt Enable.
	FUIE   IER = 0x01 << 1 //+ FIFO Underrun Interrupt Enable.
	TERRIE IER = 0x01 << 2 //+ Transfer Error Interrupt Enable.
	RRIE   IER = 0x01 << 3 //+ Register Reload interrupt enable.
)

func (IER) Field

func (b IER) Field(mask IER) int

func (IER) J

func (mask IER) J(v int) IER

type ISR

type ISR uint32
const (
	LIF    ISR = 0x01 << 0 //+ Line Interrupt Flag.
	FUIF   ISR = 0x01 << 1 //+ FIFO Underrun Interrupt Flag.
	TERRIF ISR = 0x01 << 2 //+ Transfer Error Interrupt Flag.
	RRIF   ISR = 0x01 << 3 //+ Register Reload interrupt Flag.
)

func (ISR) Field

func (b ISR) Field(mask ISR) int

func (ISR) J

func (mask ISR) J(v int) ISR

type LIPCR

type LIPCR uint32
const (
	LIPOS LIPCR = 0x7FF << 0 //+ Line Interrupt Position.
)

func (LIPCR) Field

func (b LIPCR) Field(mask LIPCR) int

func (LIPCR) J

func (mask LIPCR) J(v int) LIPCR

type LTDC_Layer_Periph

type LTDC_Layer_Periph struct {
	CR    RCR
	WHPCR RWHPCR
	WVPCR RWVPCR
	CKCR  RCKCR
	PFCR  RPFCR
	CACR  RCACR
	DCCR  RDCCR
	BFCR  RBFCR

	CFBAR  RCFBAR
	CFBLR  RCFBLR
	CFBLNR RCFBLNR

	CLUTWR RCLUTWR
	// contains filtered or unexported fields
}

func (*LTDC_Layer_Periph) BaseAddr

func (p *LTDC_Layer_Periph) BaseAddr() uintptr

type LTDC_Periph

type LTDC_Periph struct {
	SSCR RSSCR
	BPCR RBPCR
	AWCR RAWCR
	TWCR RTWCR
	GCR  RGCR

	SRCR RSRCR

	BCCR RBCCR

	IER   RIER
	ISR   RISR
	ICR   RICR
	LIPCR RLIPCR
	CPSR  RCPSR
	CDSR  RCDSR
	// contains filtered or unexported fields
}

func (*LTDC_Periph) AAH

func (p *LTDC_Periph) AAH() RMAWCR

func (*LTDC_Periph) AAW

func (p *LTDC_Periph) AAW() RMAWCR

func (*LTDC_Periph) AHBP

func (p *LTDC_Periph) AHBP() RMBPCR

func (*LTDC_Periph) AVBP

func (p *LTDC_Periph) AVBP() RMBPCR

func (*LTDC_Periph) BCBLUE

func (p *LTDC_Periph) BCBLUE() RMBCCR

func (*LTDC_Periph) BCGREEN

func (p *LTDC_Periph) BCGREEN() RMBCCR

func (*LTDC_Periph) BCRED

func (p *LTDC_Periph) BCRED() RMBCCR

func (*LTDC_Periph) BaseAddr

func (p *LTDC_Periph) BaseAddr() uintptr

func (*LTDC_Periph) CFUIF

func (p *LTDC_Periph) CFUIF() RMICR

func (*LTDC_Periph) CLIF

func (p *LTDC_Periph) CLIF() RMICR

func (*LTDC_Periph) CRRIF

func (p *LTDC_Periph) CRRIF() RMICR

func (*LTDC_Periph) CTERRIF

func (p *LTDC_Periph) CTERRIF() RMICR

func (*LTDC_Periph) CXPOS

func (p *LTDC_Periph) CXPOS() RMCPSR

func (*LTDC_Periph) CYPOS

func (p *LTDC_Periph) CYPOS() RMCPSR

func (*LTDC_Periph) DBW

func (p *LTDC_Periph) DBW() RMGCR

func (*LTDC_Periph) DEN

func (p *LTDC_Periph) DEN() RMGCR

func (*LTDC_Periph) DEPOL

func (p *LTDC_Periph) DEPOL() RMGCR

func (*LTDC_Periph) DGW

func (p *LTDC_Periph) DGW() RMGCR

func (*LTDC_Periph) DRW

func (p *LTDC_Periph) DRW() RMGCR

func (*LTDC_Periph) FUIE

func (p *LTDC_Periph) FUIE() RMIER

func (*LTDC_Periph) FUIF

func (p *LTDC_Periph) FUIF() RMISR

func (*LTDC_Periph) HDES

func (p *LTDC_Periph) HDES() RMCDSR

func (*LTDC_Periph) HSPOL

func (p *LTDC_Periph) HSPOL() RMGCR

func (*LTDC_Periph) HSW

func (p *LTDC_Periph) HSW() RMSSCR

func (*LTDC_Periph) HSYNCS

func (p *LTDC_Periph) HSYNCS() RMCDSR

func (*LTDC_Periph) IMR

func (p *LTDC_Periph) IMR() RMSRCR

func (*LTDC_Periph) LIE

func (p *LTDC_Periph) LIE() RMIER

func (*LTDC_Periph) LIF

func (p *LTDC_Periph) LIF() RMISR

func (*LTDC_Periph) LIPOS

func (p *LTDC_Periph) LIPOS() RMLIPCR

func (*LTDC_Periph) LTDCEN

func (p *LTDC_Periph) LTDCEN() RMGCR

func (*LTDC_Periph) PCPOL

func (p *LTDC_Periph) PCPOL() RMGCR

func (*LTDC_Periph) RRIE

func (p *LTDC_Periph) RRIE() RMIER

func (*LTDC_Periph) RRIF

func (p *LTDC_Periph) RRIF() RMISR

func (*LTDC_Periph) TERRIE

func (p *LTDC_Periph) TERRIE() RMIER

func (*LTDC_Periph) TERRIF

func (p *LTDC_Periph) TERRIF() RMISR

func (*LTDC_Periph) TOTALH

func (p *LTDC_Periph) TOTALH() RMTWCR

func (*LTDC_Periph) TOTALW

func (p *LTDC_Periph) TOTALW() RMTWCR

func (*LTDC_Periph) VBR

func (p *LTDC_Periph) VBR() RMSRCR

func (*LTDC_Periph) VDES

func (p *LTDC_Periph) VDES() RMCDSR

func (*LTDC_Periph) VSH

func (p *LTDC_Periph) VSH() RMSSCR

func (*LTDC_Periph) VSPOL

func (p *LTDC_Periph) VSPOL() RMGCR

func (*LTDC_Periph) VSYNCS

func (p *LTDC_Periph) VSYNCS() RMCDSR

type PFCR

type PFCR uint32

func (PFCR) Field

func (b PFCR) Field(mask PFCR) int

func (PFCR) J

func (mask PFCR) J(v int) PFCR

type RAWCR

type RAWCR struct{ mmio.U32 }

func (*RAWCR) AtomicClearBits

func (r *RAWCR) AtomicClearBits(mask AWCR)

func (*RAWCR) AtomicSetBits

func (r *RAWCR) AtomicSetBits(mask AWCR)

func (*RAWCR) AtomicStoreBits

func (r *RAWCR) AtomicStoreBits(mask, b AWCR)

func (*RAWCR) Bits

func (r *RAWCR) Bits(mask AWCR) AWCR

func (*RAWCR) ClearBits

func (r *RAWCR) ClearBits(mask AWCR)

func (*RAWCR) Load

func (r *RAWCR) Load() AWCR

func (*RAWCR) SetBits

func (r *RAWCR) SetBits(mask AWCR)

func (*RAWCR) Store

func (r *RAWCR) Store(b AWCR)

func (*RAWCR) StoreBits

func (r *RAWCR) StoreBits(mask, b AWCR)

type RBCCR

type RBCCR struct{ mmio.U32 }

func (*RBCCR) AtomicClearBits

func (r *RBCCR) AtomicClearBits(mask BCCR)

func (*RBCCR) AtomicSetBits

func (r *RBCCR) AtomicSetBits(mask BCCR)

func (*RBCCR) AtomicStoreBits

func (r *RBCCR) AtomicStoreBits(mask, b BCCR)

func (*RBCCR) Bits

func (r *RBCCR) Bits(mask BCCR) BCCR

func (*RBCCR) ClearBits

func (r *RBCCR) ClearBits(mask BCCR)

func (*RBCCR) Load

func (r *RBCCR) Load() BCCR

func (*RBCCR) SetBits

func (r *RBCCR) SetBits(mask BCCR)

func (*RBCCR) Store

func (r *RBCCR) Store(b BCCR)

func (*RBCCR) StoreBits

func (r *RBCCR) StoreBits(mask, b BCCR)

type RBFCR

type RBFCR struct{ mmio.U32 }

func (*RBFCR) AtomicClearBits

func (r *RBFCR) AtomicClearBits(mask BFCR)

func (*RBFCR) AtomicSetBits

func (r *RBFCR) AtomicSetBits(mask BFCR)

func (*RBFCR) AtomicStoreBits

func (r *RBFCR) AtomicStoreBits(mask, b BFCR)

func (*RBFCR) Bits

func (r *RBFCR) Bits(mask BFCR) BFCR

func (*RBFCR) ClearBits

func (r *RBFCR) ClearBits(mask BFCR)

func (*RBFCR) Load

func (r *RBFCR) Load() BFCR

func (*RBFCR) SetBits

func (r *RBFCR) SetBits(mask BFCR)

func (*RBFCR) Store

func (r *RBFCR) Store(b BFCR)

func (*RBFCR) StoreBits

func (r *RBFCR) StoreBits(mask, b BFCR)

type RBPCR

type RBPCR struct{ mmio.U32 }

func (*RBPCR) AtomicClearBits

func (r *RBPCR) AtomicClearBits(mask BPCR)

func (*RBPCR) AtomicSetBits

func (r *RBPCR) AtomicSetBits(mask BPCR)

func (*RBPCR) AtomicStoreBits

func (r *RBPCR) AtomicStoreBits(mask, b BPCR)

func (*RBPCR) Bits

func (r *RBPCR) Bits(mask BPCR) BPCR

func (*RBPCR) ClearBits

func (r *RBPCR) ClearBits(mask BPCR)

func (*RBPCR) Load

func (r *RBPCR) Load() BPCR

func (*RBPCR) SetBits

func (r *RBPCR) SetBits(mask BPCR)

func (*RBPCR) Store

func (r *RBPCR) Store(b BPCR)

func (*RBPCR) StoreBits

func (r *RBPCR) StoreBits(mask, b BPCR)

type RCACR

type RCACR struct{ mmio.U32 }

func (*RCACR) AtomicClearBits

func (r *RCACR) AtomicClearBits(mask CACR)

func (*RCACR) AtomicSetBits

func (r *RCACR) AtomicSetBits(mask CACR)

func (*RCACR) AtomicStoreBits

func (r *RCACR) AtomicStoreBits(mask, b CACR)

func (*RCACR) Bits

func (r *RCACR) Bits(mask CACR) CACR

func (*RCACR) ClearBits

func (r *RCACR) ClearBits(mask CACR)

func (*RCACR) Load

func (r *RCACR) Load() CACR

func (*RCACR) SetBits

func (r *RCACR) SetBits(mask CACR)

func (*RCACR) Store

func (r *RCACR) Store(b CACR)

func (*RCACR) StoreBits

func (r *RCACR) StoreBits(mask, b CACR)

type RCDSR

type RCDSR struct{ mmio.U32 }

func (*RCDSR) AtomicClearBits

func (r *RCDSR) AtomicClearBits(mask CDSR)

func (*RCDSR) AtomicSetBits

func (r *RCDSR) AtomicSetBits(mask CDSR)

func (*RCDSR) AtomicStoreBits

func (r *RCDSR) AtomicStoreBits(mask, b CDSR)

func (*RCDSR) Bits

func (r *RCDSR) Bits(mask CDSR) CDSR

func (*RCDSR) ClearBits

func (r *RCDSR) ClearBits(mask CDSR)

func (*RCDSR) Load

func (r *RCDSR) Load() CDSR

func (*RCDSR) SetBits

func (r *RCDSR) SetBits(mask CDSR)

func (*RCDSR) Store

func (r *RCDSR) Store(b CDSR)

func (*RCDSR) StoreBits

func (r *RCDSR) StoreBits(mask, b CDSR)

type RCFBAR

type RCFBAR struct{ mmio.U32 }

func (*RCFBAR) AtomicClearBits

func (r *RCFBAR) AtomicClearBits(mask CFBAR)

func (*RCFBAR) AtomicSetBits

func (r *RCFBAR) AtomicSetBits(mask CFBAR)

func (*RCFBAR) AtomicStoreBits

func (r *RCFBAR) AtomicStoreBits(mask, b CFBAR)

func (*RCFBAR) Bits

func (r *RCFBAR) Bits(mask CFBAR) CFBAR

func (*RCFBAR) ClearBits

func (r *RCFBAR) ClearBits(mask CFBAR)

func (*RCFBAR) Load

func (r *RCFBAR) Load() CFBAR

func (*RCFBAR) SetBits

func (r *RCFBAR) SetBits(mask CFBAR)

func (*RCFBAR) Store

func (r *RCFBAR) Store(b CFBAR)

func (*RCFBAR) StoreBits

func (r *RCFBAR) StoreBits(mask, b CFBAR)

type RCFBLNR

type RCFBLNR struct{ mmio.U32 }

func (*RCFBLNR) AtomicClearBits

func (r *RCFBLNR) AtomicClearBits(mask CFBLNR)

func (*RCFBLNR) AtomicSetBits

func (r *RCFBLNR) AtomicSetBits(mask CFBLNR)

func (*RCFBLNR) AtomicStoreBits

func (r *RCFBLNR) AtomicStoreBits(mask, b CFBLNR)

func (*RCFBLNR) Bits

func (r *RCFBLNR) Bits(mask CFBLNR) CFBLNR

func (*RCFBLNR) ClearBits

func (r *RCFBLNR) ClearBits(mask CFBLNR)

func (*RCFBLNR) Load

func (r *RCFBLNR) Load() CFBLNR

func (*RCFBLNR) SetBits

func (r *RCFBLNR) SetBits(mask CFBLNR)

func (*RCFBLNR) Store

func (r *RCFBLNR) Store(b CFBLNR)

func (*RCFBLNR) StoreBits

func (r *RCFBLNR) StoreBits(mask, b CFBLNR)

type RCFBLR

type RCFBLR struct{ mmio.U32 }

func (*RCFBLR) AtomicClearBits

func (r *RCFBLR) AtomicClearBits(mask CFBLR)

func (*RCFBLR) AtomicSetBits

func (r *RCFBLR) AtomicSetBits(mask CFBLR)

func (*RCFBLR) AtomicStoreBits

func (r *RCFBLR) AtomicStoreBits(mask, b CFBLR)

func (*RCFBLR) Bits

func (r *RCFBLR) Bits(mask CFBLR) CFBLR

func (*RCFBLR) ClearBits

func (r *RCFBLR) ClearBits(mask CFBLR)

func (*RCFBLR) Load

func (r *RCFBLR) Load() CFBLR

func (*RCFBLR) SetBits

func (r *RCFBLR) SetBits(mask CFBLR)

func (*RCFBLR) Store

func (r *RCFBLR) Store(b CFBLR)

func (*RCFBLR) StoreBits

func (r *RCFBLR) StoreBits(mask, b CFBLR)

type RCKCR

type RCKCR struct{ mmio.U32 }

func (*RCKCR) AtomicClearBits

func (r *RCKCR) AtomicClearBits(mask CKCR)

func (*RCKCR) AtomicSetBits

func (r *RCKCR) AtomicSetBits(mask CKCR)

func (*RCKCR) AtomicStoreBits

func (r *RCKCR) AtomicStoreBits(mask, b CKCR)

func (*RCKCR) Bits

func (r *RCKCR) Bits(mask CKCR) CKCR

func (*RCKCR) ClearBits

func (r *RCKCR) ClearBits(mask CKCR)

func (*RCKCR) Load

func (r *RCKCR) Load() CKCR

func (*RCKCR) SetBits

func (r *RCKCR) SetBits(mask CKCR)

func (*RCKCR) Store

func (r *RCKCR) Store(b CKCR)

func (*RCKCR) StoreBits

func (r *RCKCR) StoreBits(mask, b CKCR)

type RCLUTWR

type RCLUTWR struct{ mmio.U32 }

func (*RCLUTWR) AtomicClearBits

func (r *RCLUTWR) AtomicClearBits(mask CLUTWR)

func (*RCLUTWR) AtomicSetBits

func (r *RCLUTWR) AtomicSetBits(mask CLUTWR)

func (*RCLUTWR) AtomicStoreBits

func (r *RCLUTWR) AtomicStoreBits(mask, b CLUTWR)

func (*RCLUTWR) Bits

func (r *RCLUTWR) Bits(mask CLUTWR) CLUTWR

func (*RCLUTWR) ClearBits

func (r *RCLUTWR) ClearBits(mask CLUTWR)

func (*RCLUTWR) Load

func (r *RCLUTWR) Load() CLUTWR

func (*RCLUTWR) SetBits

func (r *RCLUTWR) SetBits(mask CLUTWR)

func (*RCLUTWR) Store

func (r *RCLUTWR) Store(b CLUTWR)

func (*RCLUTWR) StoreBits

func (r *RCLUTWR) StoreBits(mask, b CLUTWR)

type RCPSR

type RCPSR struct{ mmio.U32 }

func (*RCPSR) AtomicClearBits

func (r *RCPSR) AtomicClearBits(mask CPSR)

func (*RCPSR) AtomicSetBits

func (r *RCPSR) AtomicSetBits(mask CPSR)

func (*RCPSR) AtomicStoreBits

func (r *RCPSR) AtomicStoreBits(mask, b CPSR)

func (*RCPSR) Bits

func (r *RCPSR) Bits(mask CPSR) CPSR

func (*RCPSR) ClearBits

func (r *RCPSR) ClearBits(mask CPSR)

func (*RCPSR) Load

func (r *RCPSR) Load() CPSR

func (*RCPSR) SetBits

func (r *RCPSR) SetBits(mask CPSR)

func (*RCPSR) Store

func (r *RCPSR) Store(b CPSR)

func (*RCPSR) StoreBits

func (r *RCPSR) StoreBits(mask, b CPSR)

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 RDCCR

type RDCCR struct{ mmio.U32 }

func (*RDCCR) AtomicClearBits

func (r *RDCCR) AtomicClearBits(mask DCCR)

func (*RDCCR) AtomicSetBits

func (r *RDCCR) AtomicSetBits(mask DCCR)

func (*RDCCR) AtomicStoreBits

func (r *RDCCR) AtomicStoreBits(mask, b DCCR)

func (*RDCCR) Bits

func (r *RDCCR) Bits(mask DCCR) DCCR

func (*RDCCR) ClearBits

func (r *RDCCR) ClearBits(mask DCCR)

func (*RDCCR) Load

func (r *RDCCR) Load() DCCR

func (*RDCCR) SetBits

func (r *RDCCR) SetBits(mask DCCR)

func (*RDCCR) Store

func (r *RDCCR) Store(b DCCR)

func (*RDCCR) StoreBits

func (r *RDCCR) StoreBits(mask, b DCCR)

type RGCR

type RGCR struct{ mmio.U32 }

func (*RGCR) AtomicClearBits

func (r *RGCR) AtomicClearBits(mask GCR)

func (*RGCR) AtomicSetBits

func (r *RGCR) AtomicSetBits(mask GCR)

func (*RGCR) AtomicStoreBits

func (r *RGCR) AtomicStoreBits(mask, b GCR)

func (*RGCR) Bits

func (r *RGCR) Bits(mask GCR) GCR

func (*RGCR) ClearBits

func (r *RGCR) ClearBits(mask GCR)

func (*RGCR) Load

func (r *RGCR) Load() GCR

func (*RGCR) SetBits

func (r *RGCR) SetBits(mask GCR)

func (*RGCR) Store

func (r *RGCR) Store(b GCR)

func (*RGCR) StoreBits

func (r *RGCR) StoreBits(mask, b GCR)

type RICR

type RICR struct{ mmio.U32 }

func (*RICR) AtomicClearBits

func (r *RICR) AtomicClearBits(mask ICR)

func (*RICR) AtomicSetBits

func (r *RICR) AtomicSetBits(mask ICR)

func (*RICR) AtomicStoreBits

func (r *RICR) AtomicStoreBits(mask, b ICR)

func (*RICR) Bits

func (r *RICR) Bits(mask ICR) ICR

func (*RICR) ClearBits

func (r *RICR) ClearBits(mask ICR)

func (*RICR) Load

func (r *RICR) Load() ICR

func (*RICR) SetBits

func (r *RICR) SetBits(mask ICR)

func (*RICR) Store

func (r *RICR) Store(b ICR)

func (*RICR) StoreBits

func (r *RICR) StoreBits(mask, b ICR)

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 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 RLIPCR

type RLIPCR struct{ mmio.U32 }

func (*RLIPCR) AtomicClearBits

func (r *RLIPCR) AtomicClearBits(mask LIPCR)

func (*RLIPCR) AtomicSetBits

func (r *RLIPCR) AtomicSetBits(mask LIPCR)

func (*RLIPCR) AtomicStoreBits

func (r *RLIPCR) AtomicStoreBits(mask, b LIPCR)

func (*RLIPCR) Bits

func (r *RLIPCR) Bits(mask LIPCR) LIPCR

func (*RLIPCR) ClearBits

func (r *RLIPCR) ClearBits(mask LIPCR)

func (*RLIPCR) Load

func (r *RLIPCR) Load() LIPCR

func (*RLIPCR) SetBits

func (r *RLIPCR) SetBits(mask LIPCR)

func (*RLIPCR) Store

func (r *RLIPCR) Store(b LIPCR)

func (*RLIPCR) StoreBits

func (r *RLIPCR) StoreBits(mask, b LIPCR)

type RMAWCR

type RMAWCR struct{ mmio.UM32 }

func (RMAWCR) Load

func (rm RMAWCR) Load() AWCR

func (RMAWCR) Store

func (rm RMAWCR) Store(b AWCR)

type RMBCCR

type RMBCCR struct{ mmio.UM32 }

func (RMBCCR) Load

func (rm RMBCCR) Load() BCCR

func (RMBCCR) Store

func (rm RMBCCR) Store(b BCCR)

type RMBFCR

type RMBFCR struct{ mmio.UM32 }

func (RMBFCR) Load

func (rm RMBFCR) Load() BFCR

func (RMBFCR) Store

func (rm RMBFCR) Store(b BFCR)

type RMBPCR

type RMBPCR struct{ mmio.UM32 }

func (RMBPCR) Load

func (rm RMBPCR) Load() BPCR

func (RMBPCR) Store

func (rm RMBPCR) Store(b BPCR)

type RMCACR

type RMCACR struct{ mmio.UM32 }

func (RMCACR) Load

func (rm RMCACR) Load() CACR

func (RMCACR) Store

func (rm RMCACR) Store(b CACR)

type RMCDSR

type RMCDSR struct{ mmio.UM32 }

func (RMCDSR) Load

func (rm RMCDSR) Load() CDSR

func (RMCDSR) Store

func (rm RMCDSR) Store(b CDSR)

type RMCFBAR

type RMCFBAR struct{ mmio.UM32 }

func (RMCFBAR) Load

func (rm RMCFBAR) Load() CFBAR

func (RMCFBAR) Store

func (rm RMCFBAR) Store(b CFBAR)

type RMCFBLNR

type RMCFBLNR struct{ mmio.UM32 }

func (RMCFBLNR) Load

func (rm RMCFBLNR) Load() CFBLNR

func (RMCFBLNR) Store

func (rm RMCFBLNR) Store(b CFBLNR)

type RMCFBLR

type RMCFBLR struct{ mmio.UM32 }

func (RMCFBLR) Load

func (rm RMCFBLR) Load() CFBLR

func (RMCFBLR) Store

func (rm RMCFBLR) Store(b CFBLR)

type RMCKCR

type RMCKCR struct{ mmio.UM32 }

func (RMCKCR) Load

func (rm RMCKCR) Load() CKCR

func (RMCKCR) Store

func (rm RMCKCR) Store(b CKCR)

type RMCLUTWR

type RMCLUTWR struct{ mmio.UM32 }

func (RMCLUTWR) Load

func (rm RMCLUTWR) Load() CLUTWR

func (RMCLUTWR) Store

func (rm RMCLUTWR) Store(b CLUTWR)

type RMCPSR

type RMCPSR struct{ mmio.UM32 }

func (RMCPSR) Load

func (rm RMCPSR) Load() CPSR

func (RMCPSR) Store

func (rm RMCPSR) Store(b CPSR)

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 RMDCCR

type RMDCCR struct{ mmio.UM32 }

func (RMDCCR) Load

func (rm RMDCCR) Load() DCCR

func (RMDCCR) Store

func (rm RMDCCR) Store(b DCCR)

type RMGCR

type RMGCR struct{ mmio.UM32 }

func (RMGCR) Load

func (rm RMGCR) Load() GCR

func (RMGCR) Store

func (rm RMGCR) Store(b GCR)

type RMICR

type RMICR struct{ mmio.UM32 }

func (RMICR) Load

func (rm RMICR) Load() ICR

func (RMICR) Store

func (rm RMICR) Store(b ICR)

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 RMISR

type RMISR struct{ mmio.UM32 }

func (RMISR) Load

func (rm RMISR) Load() ISR

func (RMISR) Store

func (rm RMISR) Store(b ISR)

type RMLIPCR

type RMLIPCR struct{ mmio.UM32 }

func (RMLIPCR) Load

func (rm RMLIPCR) Load() LIPCR

func (RMLIPCR) Store

func (rm RMLIPCR) Store(b LIPCR)

type RMPFCR

type RMPFCR struct{ mmio.UM32 }

func (RMPFCR) Load

func (rm RMPFCR) Load() PFCR

func (RMPFCR) Store

func (rm RMPFCR) Store(b PFCR)

type RMSRCR

type RMSRCR struct{ mmio.UM32 }

func (RMSRCR) Load

func (rm RMSRCR) Load() SRCR

func (RMSRCR) Store

func (rm RMSRCR) Store(b SRCR)

type RMSSCR

type RMSSCR struct{ mmio.UM32 }

func (RMSSCR) Load

func (rm RMSSCR) Load() SSCR

func (RMSSCR) Store

func (rm RMSSCR) Store(b SSCR)

type RMTWCR

type RMTWCR struct{ mmio.UM32 }

func (RMTWCR) Load

func (rm RMTWCR) Load() TWCR

func (RMTWCR) Store

func (rm RMTWCR) Store(b TWCR)

type RMWHPCR

type RMWHPCR struct{ mmio.UM32 }

func (RMWHPCR) Load

func (rm RMWHPCR) Load() WHPCR

func (RMWHPCR) Store

func (rm RMWHPCR) Store(b WHPCR)

type RMWVPCR

type RMWVPCR struct{ mmio.UM32 }

func (RMWVPCR) Load

func (rm RMWVPCR) Load() WVPCR

func (RMWVPCR) Store

func (rm RMWVPCR) Store(b WVPCR)

type RPFCR

type RPFCR struct{ mmio.U32 }

func (*RPFCR) AtomicClearBits

func (r *RPFCR) AtomicClearBits(mask PFCR)

func (*RPFCR) AtomicSetBits

func (r *RPFCR) AtomicSetBits(mask PFCR)

func (*RPFCR) AtomicStoreBits

func (r *RPFCR) AtomicStoreBits(mask, b PFCR)

func (*RPFCR) Bits

func (r *RPFCR) Bits(mask PFCR) PFCR

func (*RPFCR) ClearBits

func (r *RPFCR) ClearBits(mask PFCR)

func (*RPFCR) Load

func (r *RPFCR) Load() PFCR

func (*RPFCR) SetBits

func (r *RPFCR) SetBits(mask PFCR)

func (*RPFCR) Store

func (r *RPFCR) Store(b PFCR)

func (*RPFCR) StoreBits

func (r *RPFCR) StoreBits(mask, b PFCR)

type RSRCR

type RSRCR struct{ mmio.U32 }

func (*RSRCR) AtomicClearBits

func (r *RSRCR) AtomicClearBits(mask SRCR)

func (*RSRCR) AtomicSetBits

func (r *RSRCR) AtomicSetBits(mask SRCR)

func (*RSRCR) AtomicStoreBits

func (r *RSRCR) AtomicStoreBits(mask, b SRCR)

func (*RSRCR) Bits

func (r *RSRCR) Bits(mask SRCR) SRCR

func (*RSRCR) ClearBits

func (r *RSRCR) ClearBits(mask SRCR)

func (*RSRCR) Load

func (r *RSRCR) Load() SRCR

func (*RSRCR) SetBits

func (r *RSRCR) SetBits(mask SRCR)

func (*RSRCR) Store

func (r *RSRCR) Store(b SRCR)

func (*RSRCR) StoreBits

func (r *RSRCR) StoreBits(mask, b SRCR)

type RSSCR

type RSSCR struct{ mmio.U32 }

func (*RSSCR) AtomicClearBits

func (r *RSSCR) AtomicClearBits(mask SSCR)

func (*RSSCR) AtomicSetBits

func (r *RSSCR) AtomicSetBits(mask SSCR)

func (*RSSCR) AtomicStoreBits

func (r *RSSCR) AtomicStoreBits(mask, b SSCR)

func (*RSSCR) Bits

func (r *RSSCR) Bits(mask SSCR) SSCR

func (*RSSCR) ClearBits

func (r *RSSCR) ClearBits(mask SSCR)

func (*RSSCR) Load

func (r *RSSCR) Load() SSCR

func (*RSSCR) SetBits

func (r *RSSCR) SetBits(mask SSCR)

func (*RSSCR) Store

func (r *RSSCR) Store(b SSCR)

func (*RSSCR) StoreBits

func (r *RSSCR) StoreBits(mask, b SSCR)

type RTWCR

type RTWCR struct{ mmio.U32 }

func (*RTWCR) AtomicClearBits

func (r *RTWCR) AtomicClearBits(mask TWCR)

func (*RTWCR) AtomicSetBits

func (r *RTWCR) AtomicSetBits(mask TWCR)

func (*RTWCR) AtomicStoreBits

func (r *RTWCR) AtomicStoreBits(mask, b TWCR)

func (*RTWCR) Bits

func (r *RTWCR) Bits(mask TWCR) TWCR

func (*RTWCR) ClearBits

func (r *RTWCR) ClearBits(mask TWCR)

func (*RTWCR) Load

func (r *RTWCR) Load() TWCR

func (*RTWCR) SetBits

func (r *RTWCR) SetBits(mask TWCR)

func (*RTWCR) Store

func (r *RTWCR) Store(b TWCR)

func (*RTWCR) StoreBits

func (r *RTWCR) StoreBits(mask, b TWCR)

type RWHPCR

type RWHPCR struct{ mmio.U32 }

func (*RWHPCR) AtomicClearBits

func (r *RWHPCR) AtomicClearBits(mask WHPCR)

func (*RWHPCR) AtomicSetBits

func (r *RWHPCR) AtomicSetBits(mask WHPCR)

func (*RWHPCR) AtomicStoreBits

func (r *RWHPCR) AtomicStoreBits(mask, b WHPCR)

func (*RWHPCR) Bits

func (r *RWHPCR) Bits(mask WHPCR) WHPCR

func (*RWHPCR) ClearBits

func (r *RWHPCR) ClearBits(mask WHPCR)

func (*RWHPCR) Load

func (r *RWHPCR) Load() WHPCR

func (*RWHPCR) SetBits

func (r *RWHPCR) SetBits(mask WHPCR)

func (*RWHPCR) Store

func (r *RWHPCR) Store(b WHPCR)

func (*RWHPCR) StoreBits

func (r *RWHPCR) StoreBits(mask, b WHPCR)

type RWVPCR

type RWVPCR struct{ mmio.U32 }

func (*RWVPCR) AtomicClearBits

func (r *RWVPCR) AtomicClearBits(mask WVPCR)

func (*RWVPCR) AtomicSetBits

func (r *RWVPCR) AtomicSetBits(mask WVPCR)

func (*RWVPCR) AtomicStoreBits

func (r *RWVPCR) AtomicStoreBits(mask, b WVPCR)

func (*RWVPCR) Bits

func (r *RWVPCR) Bits(mask WVPCR) WVPCR

func (*RWVPCR) ClearBits

func (r *RWVPCR) ClearBits(mask WVPCR)

func (*RWVPCR) Load

func (r *RWVPCR) Load() WVPCR

func (*RWVPCR) SetBits

func (r *RWVPCR) SetBits(mask WVPCR)

func (*RWVPCR) Store

func (r *RWVPCR) Store(b WVPCR)

func (*RWVPCR) StoreBits

func (r *RWVPCR) StoreBits(mask, b WVPCR)

type SRCR

type SRCR uint32
const (
	IMR SRCR = 0x01 << 0 //+ Immediate Reload.
	VBR SRCR = 0x01 << 1 //+ Vertical Blanking Reload.
)

func (SRCR) Field

func (b SRCR) Field(mask SRCR) int

func (SRCR) J

func (mask SRCR) J(v int) SRCR

type SSCR

type SSCR uint32
const (
	VSH SSCR = 0x7FF << 0  //+ Vertical Synchronization Height.
	HSW SSCR = 0xFFF << 16 //+ Horizontal Synchronization Width.
)

func (SSCR) Field

func (b SSCR) Field(mask SSCR) int

func (SSCR) J

func (mask SSCR) J(v int) SSCR

type TWCR

type TWCR uint32
const (
	TOTALH TWCR = 0x7FF << 0  //+ Total Heigh.
	TOTALW TWCR = 0xFFF << 16 //+ Total Width.
)

func (TWCR) Field

func (b TWCR) Field(mask TWCR) int

func (TWCR) J

func (mask TWCR) J(v int) TWCR

type WHPCR

type WHPCR uint32

func (WHPCR) Field

func (b WHPCR) Field(mask WHPCR) int

func (WHPCR) J

func (mask WHPCR) J(v int) WHPCR

type WVPCR

type WVPCR uint32

func (WVPCR) Field

func (b WVPCR) Field(mask WVPCR) int

func (WVPCR) J

func (mask WVPCR) J(v int) WVPCR

Jump to

Keyboard shortcuts

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