struct ControlRegister

Defined at line 36 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

Public Members

 field_invert_rts_49
 field_mask_error_50
 field_invert_cts_51
 field_tx_interrupt_52
 field_rx_interrupt_53
 field_invert_tx_54
 field_invert_rx_55
 field_clear_error_56
 field_rx_reset_57
 field_tx_reset_58
 field_bits_59
 field_parity_enable_60
 field_parity_odd_61
 field_stop_bits_62
 field_two_wire_63
 field_rx_enable_65
 field_tx_enable_66
 field_old_baud_rate_67

Public Methods

template <, >
typename SelfType::ValueType invert_rts ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 49 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_invert_rts (typename SelfType::ValueType val)

Defined at line 49 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType mask_error ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 50 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_mask_error (typename SelfType::ValueType val)

Defined at line 50 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType invert_cts ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 51 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_invert_cts (typename SelfType::ValueType val)

Defined at line 51 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_tx_interrupt (typename SelfType::ValueType val)

Defined at line 52 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType tx_interrupt ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 52 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType rx_interrupt ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 53 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_rx_interrupt (typename SelfType::ValueType val)

Defined at line 53 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType invert_tx ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 54 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_invert_tx (typename SelfType::ValueType val)

Defined at line 54 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType invert_rx ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 55 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_invert_rx (typename SelfType::ValueType val)

Defined at line 55 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType clear_error ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 56 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_clear_error (typename SelfType::ValueType val)

Defined at line 56 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType rx_reset ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 57 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_rx_reset (typename SelfType::ValueType val)

Defined at line 57 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_tx_reset (typename SelfType::ValueType val)

Defined at line 58 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType tx_reset ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 58 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
Bits bits ()

Defined at line 59 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_bits (Bits val)

Defined at line 59 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType parity_enable ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 60 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_parity_enable (typename SelfType::ValueType val)

Defined at line 60 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType parity_odd ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 61 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_parity_odd (typename SelfType::ValueType val)

Defined at line 61 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_stop_bits (StopBits val)

Defined at line 62 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
StopBits stop_bits ()

Defined at line 62 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_two_wire (typename SelfType::ValueType val)

Defined at line 63 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType two_wire ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 63 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType rx_enable ()

Bit 14 is unused.

Defined at line 65 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_rx_enable (typename SelfType::ValueType val)

Bit 14 is unused.

Defined at line 65 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_tx_enable (typename SelfType::ValueType val)

Defined at line 66 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType tx_enable ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 66 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
typename SelfType::ValueType old_baud_rate ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 67 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <, >
SelfType & set_old_baud_rate (typename SelfType::ValueType val)

Defined at line 67 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

hwreg::RegisterAddr<ControlRegister> Get ()

Defined at line 69 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

Enumerations

enum Bits
Name Value
k8 0b00
k7 0b01
k6 0b10
k5 0b11

Defined at line 37 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

enum StopBits
Name Value
k1 0b00
k2 0b01

Defined at line 44 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

Records