ccm

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package ccm provides simple interface to the CCGR registrs. As a side effect it also access to the peripheral registers in user mode.

Index

Constants

View Source
const (
	ClkEn int8 = 1 << 0 // enable clock
	ClkLP int8 = 1 << 1 // keep clock enabled in low-power WAIT mode
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CCGR_

type CCGR_ struct {
	R32 mmio.R32[uint32]
}

func CCGR

func CCGR(i int) *CCGR_

func (*CCGR_) CG

func (r *CCGR_) CG(i int) int8

func (*CCGR_) SetCG

func (r *CCGR_) SetCG(i int, cg int8)

Jump to

Keyboard shortcuts

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