mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
unix: add rtc defines and types
Change-Id: I280fc3b2cd3402c40f2840d152bac2fa288f48a0 Reviewed-on: https://go-review.googlesource.com/118661 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Ian Lance Taylor
parent
8ee9f3e146
commit
56ede360ec
@@ -73,6 +73,7 @@ package unix
|
||||
#include <linux/genetlink.h>
|
||||
#include <linux/socket.h>
|
||||
#include <linux/hdreg.h>
|
||||
#include <linux/rtc.h>
|
||||
|
||||
// abi/abi.h generated by mkall.go.
|
||||
#include "abi/abi.h"
|
||||
@@ -1485,3 +1486,9 @@ const (
|
||||
NFT_NG_INCREMENTAL = C.NFT_NG_INCREMENTAL
|
||||
NFT_NG_RANDOM = C.NFT_NG_RANDOM
|
||||
)
|
||||
|
||||
type RTCTime C.struct_rtc_time
|
||||
|
||||
type RTCWkAlrm C.struct_rtc_wkalrm
|
||||
|
||||
type RTCPLLInfo C.struct_rtc_pll_info
|
||||
|
||||
@@ -193,6 +193,7 @@ struct ltchars {
|
||||
#include <linux/stat.h>
|
||||
#include <linux/watchdog.h>
|
||||
#include <linux/hdreg.h>
|
||||
#include <linux/rtc.h>
|
||||
#include <net/route.h>
|
||||
#include <asm/termbits.h>
|
||||
|
||||
@@ -404,7 +405,7 @@ ccflags="$@"
|
||||
$2 ~ /^LINUX_REBOOT_CMD_/ ||
|
||||
$2 ~ /^LINUX_REBOOT_MAGIC[12]$/ ||
|
||||
$2 !~ "NLA_TYPE_MASK" &&
|
||||
$2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P)_/ ||
|
||||
$2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTC|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P)_/ ||
|
||||
$2 ~ /^SIOC/ ||
|
||||
$2 ~ /^TIOC/ ||
|
||||
$2 ~ /^TCGET/ ||
|
||||
|
||||
@@ -1476,6 +1476,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x7002
|
||||
RTC_AIE_ON = 0x7001
|
||||
RTC_ALM_READ = 0x80247008
|
||||
RTC_ALM_SET = 0x40247007
|
||||
RTC_EPOCH_READ = 0x8004700d
|
||||
RTC_EPOCH_SET = 0x4004700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x8004700b
|
||||
RTC_IRQP_SET = 0x4004700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x7006
|
||||
RTC_PIE_ON = 0x7005
|
||||
RTC_PLL_GET = 0x801c7011
|
||||
RTC_PLL_SET = 0x401c7012
|
||||
RTC_RD_TIME = 0x80247009
|
||||
RTC_SET_TIME = 0x4024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x7004
|
||||
RTC_UIE_ON = 0x7003
|
||||
RTC_VL_CLR = 0x7014
|
||||
RTC_VL_READ = 0x80047013
|
||||
RTC_WIE_OFF = 0x7010
|
||||
RTC_WIE_ON = 0x700f
|
||||
RTC_WKALM_RD = 0x80287010
|
||||
RTC_WKALM_SET = 0x4028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1477,6 +1477,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x7002
|
||||
RTC_AIE_ON = 0x7001
|
||||
RTC_ALM_READ = 0x80247008
|
||||
RTC_ALM_SET = 0x40247007
|
||||
RTC_EPOCH_READ = 0x8008700d
|
||||
RTC_EPOCH_SET = 0x4008700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x8008700b
|
||||
RTC_IRQP_SET = 0x4008700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x7006
|
||||
RTC_PIE_ON = 0x7005
|
||||
RTC_PLL_GET = 0x80207011
|
||||
RTC_PLL_SET = 0x40207012
|
||||
RTC_RD_TIME = 0x80247009
|
||||
RTC_SET_TIME = 0x4024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x7004
|
||||
RTC_UIE_ON = 0x7003
|
||||
RTC_VL_CLR = 0x7014
|
||||
RTC_VL_READ = 0x80047013
|
||||
RTC_WIE_OFF = 0x7010
|
||||
RTC_WIE_ON = 0x700f
|
||||
RTC_WKALM_RD = 0x80287010
|
||||
RTC_WKALM_SET = 0x4028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1483,6 +1483,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x7002
|
||||
RTC_AIE_ON = 0x7001
|
||||
RTC_ALM_READ = 0x80247008
|
||||
RTC_ALM_SET = 0x40247007
|
||||
RTC_EPOCH_READ = 0x8004700d
|
||||
RTC_EPOCH_SET = 0x4004700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x8004700b
|
||||
RTC_IRQP_SET = 0x4004700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x7006
|
||||
RTC_PIE_ON = 0x7005
|
||||
RTC_PLL_GET = 0x801c7011
|
||||
RTC_PLL_SET = 0x401c7012
|
||||
RTC_RD_TIME = 0x80247009
|
||||
RTC_SET_TIME = 0x4024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x7004
|
||||
RTC_UIE_ON = 0x7003
|
||||
RTC_VL_CLR = 0x7014
|
||||
RTC_VL_READ = 0x80047013
|
||||
RTC_WIE_OFF = 0x7010
|
||||
RTC_WIE_ON = 0x700f
|
||||
RTC_WKALM_RD = 0x80287010
|
||||
RTC_WKALM_SET = 0x4028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1467,6 +1467,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x7002
|
||||
RTC_AIE_ON = 0x7001
|
||||
RTC_ALM_READ = 0x80247008
|
||||
RTC_ALM_SET = 0x40247007
|
||||
RTC_EPOCH_READ = 0x8008700d
|
||||
RTC_EPOCH_SET = 0x4008700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x8008700b
|
||||
RTC_IRQP_SET = 0x4008700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x7006
|
||||
RTC_PIE_ON = 0x7005
|
||||
RTC_PLL_GET = 0x80207011
|
||||
RTC_PLL_SET = 0x40207012
|
||||
RTC_RD_TIME = 0x80247009
|
||||
RTC_SET_TIME = 0x4024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x7004
|
||||
RTC_UIE_ON = 0x7003
|
||||
RTC_VL_CLR = 0x7014
|
||||
RTC_VL_READ = 0x80047013
|
||||
RTC_WIE_OFF = 0x7010
|
||||
RTC_WIE_ON = 0x700f
|
||||
RTC_WKALM_RD = 0x80287010
|
||||
RTC_WKALM_SET = 0x4028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1477,6 +1477,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x20007002
|
||||
RTC_AIE_ON = 0x20007001
|
||||
RTC_ALM_READ = 0x40247008
|
||||
RTC_ALM_SET = 0x80247007
|
||||
RTC_EPOCH_READ = 0x4004700d
|
||||
RTC_EPOCH_SET = 0x8004700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x4004700b
|
||||
RTC_IRQP_SET = 0x8004700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x20007006
|
||||
RTC_PIE_ON = 0x20007005
|
||||
RTC_PLL_GET = 0x401c7011
|
||||
RTC_PLL_SET = 0x801c7012
|
||||
RTC_RD_TIME = 0x40247009
|
||||
RTC_SET_TIME = 0x8024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x20007004
|
||||
RTC_UIE_ON = 0x20007003
|
||||
RTC_VL_CLR = 0x20007014
|
||||
RTC_VL_READ = 0x40047013
|
||||
RTC_WIE_OFF = 0x20007010
|
||||
RTC_WIE_ON = 0x2000700f
|
||||
RTC_WKALM_RD = 0x40287010
|
||||
RTC_WKALM_SET = 0x8028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1477,6 +1477,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x20007002
|
||||
RTC_AIE_ON = 0x20007001
|
||||
RTC_ALM_READ = 0x40247008
|
||||
RTC_ALM_SET = 0x80247007
|
||||
RTC_EPOCH_READ = 0x4008700d
|
||||
RTC_EPOCH_SET = 0x8008700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x4008700b
|
||||
RTC_IRQP_SET = 0x8008700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x20007006
|
||||
RTC_PIE_ON = 0x20007005
|
||||
RTC_PLL_GET = 0x40207011
|
||||
RTC_PLL_SET = 0x80207012
|
||||
RTC_RD_TIME = 0x40247009
|
||||
RTC_SET_TIME = 0x8024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x20007004
|
||||
RTC_UIE_ON = 0x20007003
|
||||
RTC_VL_CLR = 0x20007014
|
||||
RTC_VL_READ = 0x40047013
|
||||
RTC_WIE_OFF = 0x20007010
|
||||
RTC_WIE_ON = 0x2000700f
|
||||
RTC_WKALM_RD = 0x40287010
|
||||
RTC_WKALM_SET = 0x8028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1477,6 +1477,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x20007002
|
||||
RTC_AIE_ON = 0x20007001
|
||||
RTC_ALM_READ = 0x40247008
|
||||
RTC_ALM_SET = 0x80247007
|
||||
RTC_EPOCH_READ = 0x4008700d
|
||||
RTC_EPOCH_SET = 0x8008700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x4008700b
|
||||
RTC_IRQP_SET = 0x8008700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x20007006
|
||||
RTC_PIE_ON = 0x20007005
|
||||
RTC_PLL_GET = 0x40207011
|
||||
RTC_PLL_SET = 0x80207012
|
||||
RTC_RD_TIME = 0x40247009
|
||||
RTC_SET_TIME = 0x8024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x20007004
|
||||
RTC_UIE_ON = 0x20007003
|
||||
RTC_VL_CLR = 0x20007014
|
||||
RTC_VL_READ = 0x40047013
|
||||
RTC_WIE_OFF = 0x20007010
|
||||
RTC_WIE_ON = 0x2000700f
|
||||
RTC_WKALM_RD = 0x40287010
|
||||
RTC_WKALM_SET = 0x8028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1477,6 +1477,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x20007002
|
||||
RTC_AIE_ON = 0x20007001
|
||||
RTC_ALM_READ = 0x40247008
|
||||
RTC_ALM_SET = 0x80247007
|
||||
RTC_EPOCH_READ = 0x4004700d
|
||||
RTC_EPOCH_SET = 0x8004700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x4004700b
|
||||
RTC_IRQP_SET = 0x8004700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x20007006
|
||||
RTC_PIE_ON = 0x20007005
|
||||
RTC_PLL_GET = 0x401c7011
|
||||
RTC_PLL_SET = 0x801c7012
|
||||
RTC_RD_TIME = 0x40247009
|
||||
RTC_SET_TIME = 0x8024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x20007004
|
||||
RTC_UIE_ON = 0x20007003
|
||||
RTC_VL_CLR = 0x20007014
|
||||
RTC_VL_READ = 0x40047013
|
||||
RTC_WIE_OFF = 0x20007010
|
||||
RTC_WIE_ON = 0x2000700f
|
||||
RTC_WKALM_RD = 0x40287010
|
||||
RTC_WKALM_SET = 0x8028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1533,6 +1533,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x20007002
|
||||
RTC_AIE_ON = 0x20007001
|
||||
RTC_ALM_READ = 0x40247008
|
||||
RTC_ALM_SET = 0x80247007
|
||||
RTC_EPOCH_READ = 0x4008700d
|
||||
RTC_EPOCH_SET = 0x8008700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x4008700b
|
||||
RTC_IRQP_SET = 0x8008700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x20007006
|
||||
RTC_PIE_ON = 0x20007005
|
||||
RTC_PLL_GET = 0x40207011
|
||||
RTC_PLL_SET = 0x80207012
|
||||
RTC_RD_TIME = 0x40247009
|
||||
RTC_SET_TIME = 0x8024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x20007004
|
||||
RTC_UIE_ON = 0x20007003
|
||||
RTC_VL_CLR = 0x20007014
|
||||
RTC_VL_READ = 0x40047013
|
||||
RTC_WIE_OFF = 0x20007010
|
||||
RTC_WIE_ON = 0x2000700f
|
||||
RTC_WKALM_RD = 0x40287010
|
||||
RTC_WKALM_SET = 0x8028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1533,6 +1533,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x20007002
|
||||
RTC_AIE_ON = 0x20007001
|
||||
RTC_ALM_READ = 0x40247008
|
||||
RTC_ALM_SET = 0x80247007
|
||||
RTC_EPOCH_READ = 0x4008700d
|
||||
RTC_EPOCH_SET = 0x8008700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x4008700b
|
||||
RTC_IRQP_SET = 0x8008700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x20007006
|
||||
RTC_PIE_ON = 0x20007005
|
||||
RTC_PLL_GET = 0x40207011
|
||||
RTC_PLL_SET = 0x80207012
|
||||
RTC_RD_TIME = 0x40247009
|
||||
RTC_SET_TIME = 0x8024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x20007004
|
||||
RTC_UIE_ON = 0x20007003
|
||||
RTC_VL_CLR = 0x20007014
|
||||
RTC_VL_READ = 0x40047013
|
||||
RTC_WIE_OFF = 0x20007010
|
||||
RTC_WIE_ON = 0x2000700f
|
||||
RTC_WKALM_RD = 0x40287010
|
||||
RTC_WKALM_SET = 0x8028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1537,6 +1537,33 @@ const (
|
||||
RTCF_MASQ = 0x400000
|
||||
RTCF_NAT = 0x800000
|
||||
RTCF_VALVE = 0x200000
|
||||
RTC_AF = 0x20
|
||||
RTC_AIE_OFF = 0x7002
|
||||
RTC_AIE_ON = 0x7001
|
||||
RTC_ALM_READ = 0x80247008
|
||||
RTC_ALM_SET = 0x40247007
|
||||
RTC_EPOCH_READ = 0x8008700d
|
||||
RTC_EPOCH_SET = 0x4008700e
|
||||
RTC_IRQF = 0x80
|
||||
RTC_IRQP_READ = 0x8008700b
|
||||
RTC_IRQP_SET = 0x4008700c
|
||||
RTC_MAX_FREQ = 0x2000
|
||||
RTC_PF = 0x40
|
||||
RTC_PIE_OFF = 0x7006
|
||||
RTC_PIE_ON = 0x7005
|
||||
RTC_PLL_GET = 0x80207011
|
||||
RTC_PLL_SET = 0x40207012
|
||||
RTC_RD_TIME = 0x80247009
|
||||
RTC_SET_TIME = 0x4024700a
|
||||
RTC_UF = 0x10
|
||||
RTC_UIE_OFF = 0x7004
|
||||
RTC_UIE_ON = 0x7003
|
||||
RTC_VL_CLR = 0x7014
|
||||
RTC_VL_READ = 0x80047013
|
||||
RTC_WIE_OFF = 0x7010
|
||||
RTC_WIE_ON = 0x700f
|
||||
RTC_WKALM_RD = 0x80287010
|
||||
RTC_WKALM_SET = 0x4028700f
|
||||
RTF_ADDRCLASSMASK = 0xf8000000
|
||||
RTF_ADDRCONF = 0x40000
|
||||
RTF_ALLONLINK = 0x20000
|
||||
|
||||
@@ -1813,3 +1813,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int32
|
||||
}
|
||||
|
||||
@@ -1833,3 +1833,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int64
|
||||
}
|
||||
|
||||
@@ -1802,3 +1802,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int32
|
||||
}
|
||||
|
||||
@@ -1812,3 +1812,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int64
|
||||
}
|
||||
|
||||
@@ -1807,3 +1807,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int32
|
||||
}
|
||||
|
||||
@@ -1814,3 +1814,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int64
|
||||
}
|
||||
|
||||
@@ -1814,3 +1814,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int64
|
||||
}
|
||||
|
||||
@@ -1807,3 +1807,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int32
|
||||
}
|
||||
|
||||
@@ -1822,3 +1822,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int64
|
||||
}
|
||||
|
||||
@@ -1822,3 +1822,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int64
|
||||
}
|
||||
|
||||
@@ -1839,3 +1839,32 @@ const (
|
||||
NFT_NG_INCREMENTAL = 0x0
|
||||
NFT_NG_RANDOM = 0x1
|
||||
)
|
||||
|
||||
type RTCTime struct {
|
||||
Sec int32
|
||||
Min int32
|
||||
Hour int32
|
||||
Mday int32
|
||||
Mon int32
|
||||
Year int32
|
||||
Wday int32
|
||||
Yday int32
|
||||
Isdst int32
|
||||
}
|
||||
|
||||
type RTCWkAlrm struct {
|
||||
Enabled uint8
|
||||
Pending uint8
|
||||
_ [2]byte
|
||||
Time RTCTime
|
||||
}
|
||||
|
||||
type RTCPLLInfo struct {
|
||||
Ctrl int32
|
||||
Value int32
|
||||
Max int32
|
||||
Min int32
|
||||
Posmult int32
|
||||
Negmult int32
|
||||
Clock int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user