volatile

package
v0.0.0-...-4aa4c59 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Register8

type Register8 struct{ Reg uint8 }

Register8 defines an unsigned 8-bit integer with atomic mutability.

func (*Register8) Get

func (r *Register8) Get() uint8

Get returns the uint8 value of r.

func (*Register8) Set

func (r *Register8) Set(v uint8)

Set sets the uint8 value of r to v.

type Register32

type Register32 struct{ Reg uint32 }

Register32 defines an unsigned 32-bit integer with atomic mutability.

func (*Register32) Get

func (r *Register32) Get() uint32

Get returns the uint32 value of r.

func (*Register32) Set

func (r *Register32) Set(v uint32)

Set sets the uint32 value of r to v.

Jump to

Keyboard shortcuts

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