MCPcopy Create free account
hub / github.com/facebook/time / Mac

Struct Mac

sa53/protocol/protocol.go:70–78  ·  view source on GitHub ↗

Mac represents SA53 MAC object

Source from the content-addressed store, hash-verified

68
69// Mac represents SA53 MAC object
70type Mac struct {
71 device string
72 port SerialReadWriter
73 closer io.Closer // nil = caller owns the port
74 fwMajor int
75 fwMinor int
76 fwPatch int
77 fwCommit string
78}
79
80// Init is to create Mac structure and open serial port
81func Init(device string) (*Mac, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected