Google is committed to advancing racial equity for Black communities. See how.

fuchsia.hardware.clockimpl

PROTOCOLS

ClockImpl

Defined in fuchsia.hardware.clockimpl/clock-impl.fidl

Each method in this protocol has a corresponding method in clock.banjo with an additional ID parameter. The ID parameter in each method below designates the clock in the system that the call is intended to target. Conversely, each instance of ZX_PROTOCOL_CLOCK pertains to only one clock in the system. See clock.banjo for documentation for each method.

Disable

Request

NameType
id uint32

Response

NameType
s zx/status

Enable

Clock Gating Control.

Request

NameType
id uint32

Response

NameType
s zx/status

GetInput

Request

NameType
id uint32

Response

NameType
s zx/status
index uint32

GetNumInputs

Request

NameType
id uint32

Response

NameType
s zx/status
n uint32

GetRate

Request

NameType
id uint32

Response

NameType
s zx/status
hz uint64

IsEnabled

Request

NameType
id uint32

Response

NameType
s zx/status
enabled bool

QuerySupportedRate

Request

NameType
id uint32
hz uint64

Response

NameType
s zx/status
hz uint64

SetInput

Clock input control.

Request

NameType
id uint32
idx uint32

Response

NameType
s zx/status

SetRate

Clock Frequency Scaling Control.

Request

NameType
id uint32
hz uint64

Response

NameType
s zx/status

STRUCTS