Documentation ¶
Overview ¶
Package mmio provides data types that can be used to access memory mapped registers of peripherals.
Index ¶
- type U16
- func (r *U16) Addr() uintptr
- func (r *U16) Bit(n int) int
- func (r *U16) Bits(mask uint16) uint16
- func (r *U16) ClearBit(n int)
- func (r *U16) ClearBits(mask uint16)
- func (r *U16) Field(mask uint16) int
- func (r *U16) Load() uint16
- func (r *U16) SetBit(n int)
- func (r *U16) SetBits(mask uint16)
- func (r *U16) SetField(mask uint16, v int)
- func (r *U16) Store(v uint16)
- func (r *U16) StoreBit(n, v int)
- func (r *U16) StoreBits(mask, bits uint16)
- type U32
- func (r *U32) Addr() uintptr
- func (r *U32) AtomicClearBits(mask uint32)
- func (r *U32) AtomicSetBits(mask uint32)
- func (r *U32) AtomicStoreBits(mask, bits uint32)
- func (r *U32) Bit(n int) int
- func (r *U32) Bits(mask uint32) uint32
- func (r *U32) ClearBit(n int)
- func (r *U32) ClearBits(mask uint32)
- func (r *U32) Field(mask uint32) int
- func (r *U32) Load() uint32
- func (r *U32) SetBit(n int)
- func (r *U32) SetBits(mask uint32)
- func (r *U32) SetField(mask uint32, v int)
- func (r *U32) Store(v uint32)
- func (r *U32) StoreBit(n, v int)
- func (r *U32) StoreBits(mask, bits uint32)
- type U8
- func (r *U8) Addr() uintptr
- func (r *U8) Bit(n int) int
- func (r *U8) Bits(mask uint8) uint8
- func (r *U8) ClearBit(n int)
- func (r *U8) ClearBits(mask uint8)
- func (r *U8) Field(mask uint8) int
- func (r *U8) Load() uint8
- func (r *U8) SetBit(n int)
- func (r *U8) SetBits(mask uint8)
- func (r *U8) SetField(mask uint8, v int)
- func (r *U8) Store(v uint8)
- func (r *U8) StoreBit(n, v int)
- func (r *U8) StoreBits(mask, bits uint8)
- type UM16
- type UM32
- type UM8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type U32 ¶
type U32 struct {
// contains filtered or unexported fields
}
func (*U32) AtomicClearBits ¶
func (*U32) AtomicSetBits ¶
func (*U32) AtomicStoreBits ¶
Click to show internal directories.
Click to hide internal directories.