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

fuchsia.hardware.serialimpl

PROTOCOLS

SerialImpl

Defined in fuchsia.hardware.serialimpl/serial-impl.fidl

Config

Configures the given serial port.

Request

NameType
baud_rate uint32
flags uint32

Response

NameType
s zx/status

Enable

Request

NameType
enable bool

Response

NameType
s zx/status

GetInfo

Request

NameType

Response

NameType
s zx/status
info fuchsia.hardware.serial/SerialPortInfo

Read

Request

NameType

Response

NameType
s zx/status
buf vector<uint8>

SetNotifyCallback

Request

NameType
cb SerialNotify

Response

NameType
s zx/status

Write

Request

NameType
buf vector<uint8>

Response

NameType
s zx/status
actual uint64

SerialNotify

Defined in fuchsia.hardware.serialimpl/serial-impl.fidl

Callback for notification of readable/writeable state changes This may be called from an interrupt thread it should just signal another thread and return as soon as possible. In particular, it may not be safe to make protocol calls from these callbacks.

Callback

Request

NameType
state SerialState

Response

NameType

STRUCTS

ENUMS

SerialState strict

Type: uint32

Defined in fuchsia.hardware.serialimpl/serial-impl.fidl

NameValueDescription
READABLE 1
WRITABLE 2