Documentation ¶
Overview ¶
Package peripherals implements the optional modules that can make up the ARM processor. For example: timers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RNG ¶
type RNG struct {
// contains filtered or unexported fields
}
RNG implements the RNG found in STM32 packages.
The implementation is just a sketch of the real RNG unit but for our purposes it's probably okay. It basically returns a random 32bit number whenever the data register is read
func NewRNG ¶
func NewRNG(mmap architecture.Map) RNG
type Timer ¶
type Timer struct {
// contains filtered or unexported fields
}
Timer implements a simple timer as used in the LCP2000.
func NewTimer ¶
func NewTimer(mmap architecture.Map) Timer
Click to show internal directories.
Click to hide internal directories.