XIP_SSI = (*XIP_SSI_Type)(unsafe.Pointer(uintptr(0x18000000))) // DW_apb_ssi has the following features:
* APB interface – Allows for easy integration into a DesignWare Synthesizable Components for AMBA 2 implementation.
* APB3 and APB4 protocol support.
// Interrupt numbers.
const (
IRQ_TIMER_IRQ_0 = 0 // Controls time and alarms
time is a 64 bit value indicating the time in usec since power-on
timeh is the top 32 bits of time & timel is the bottom 32 bits
to change time write to timelw before timehw
gen-device-svd generates invalid code when peripheral description spans multiple lines on the source SVD.
e.g.: Source SVD: https://github.com/posborne/cmsis-svd/blob/master/data/RaspberryPi/rp2040.svd
Generated code: