Documentation
¶
Overview ¶
Package rtc provides access to the registers of Real Time Counter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Periph ¶
Periph represents Real Time Counter peripheral.
func (*Periph) LoadCOUNTER ¶
LoadCOUNTER returns value of counter register.
func (*Periph) LoadPRESCALER ¶
LoadPRESCALER returns value of prescaler register.
func (*Periph) StorePRESCALER ¶
StorePRESCALER stores prescaler to pr (freq = 32768Hz/(pr+1)). Can be used only when the timer is stopped.
Click to show internal directories.
Click to hide internal directories.