Documentation
¶
Index ¶
Constants ¶
View Source
const ErrorBase = 0x1000
Variables ¶
This section is empty.
Functions ¶
func DisableSoftdevice ¶
func DisableSoftdevice() error
func EnableSoftdevice ¶
func SoftdeviceEnabled ¶
Types ¶
type LFCLKA ¶
type LFCLKA uint8
LFCLKA represents accuracy of external low-frequency clock source.
const ( LFCLK250ppm LFCLKA = 0 // 250 ppm (default) LFCLK500ppm LFCLKA = 1 // 500 ppm LFCLK150ppm LFCLKA = 2 // 150 ppm LFCLK100ppm LFCLKA = 3 // 100 ppm LFCLK75ppm LFCLKA = 4 // 75 ppm LFCLK50ppm LFCLKA = 5 // 50 ppm LFCLK30ppm LFCLKA = 6 // 30 ppm LFCLK20ppm LFCLKA = 7 // 20 ppm LFCLK10ppm LFCLKA = 8 // 10 ppm LFCLK5ppm LFCLKA = 9 // 5 ppm LFCLK2ppm LFCLKA = 10 // 2 ppm LFCLK1ppm LFCLKA = 11 // 1 ppm )
type LFCLKC ¶
type LFCLKC struct { Source LFCLKS // clock source CalInt uint8 // RC oscilator calibration interval in 1/4 second units CalTempInt uint8 // how often calibrate RC oscilator if temp. has changed Accuracy LFCLKA // external clock accuracy }
LFCLKC represents configuration of low-frequency clock.
Click to show internal directories.
Click to hide internal directories.