Documentation ¶
Overview ¶
Package clint implements a driver for SiFive Core-Local Interruptor (CLINT) block adopting the following reference specifications:
- FU540C00RM - SiFive FU540-C000 Manual - v1p4 2021/03/25
This package is only meant to be used with `GOOS=tamago GOARCH=riscv64` as supported by the TamaGo framework for bare metal Go on RISC-V SoCs, see https://github.com/usbarmory/tamago.
Index ¶
Constants ¶
View Source
const (
MTIME = 0xbff8
)
CLINT registers
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLINT ¶
type CLINT struct { // Base register Base uint64 // CPU real time clock RTCCLK uint64 // Timer offset in nanoseconds TimerOffset int64 }
CLINT represents a Core-Local Interruptor (CLINT) instance.
Click to show internal directories.
Click to hide internal directories.