timer

package
v0.0.0-...-e7615e3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller is a timer controller. It is used to generate interrupts at a specific frequency. The frequency can be configured using the types.TAC register.

func NewController

func NewController(b *io.Bus, s *scheduler.Scheduler, a *apu.APU) *Controller

NewController returns a new timer controller.

Jump to

Keyboard shortcuts

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