struct RxFifoStatusRegister
Defined at line 78 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h
RX_FIFO_STATUS / GENI_RX_FIFO_STATUS
This register is not documented in the Hardware register description
doc, but is referred in both the Hardware register description and the QUP
v3 Hardware Programming Guide.
Experiments show that the register definitions below match the hardware
behavior.
Public Members
field_last_byte_received_82
field_valid_bytes_in_last_word_if_not_zero_88
field_word_count_91
Public Methods
hwreg::RegisterAddr<RxFifoStatusRegister> Get ()
Defined at line 79 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h
template <, >
typename SelfType::ValueType last_byte_received ()
Determines if the FIFO has received the last byte.
Defined at line 82 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h
template <, >
SelfType & set_last_byte_received (typename SelfType::ValueType val)
Determines if the FIFO has received the last byte.
Defined at line 82 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h
template <, >
SelfType & set_valid_bytes_in_last_word_if_not_zero (typename SelfType::ValueType val)
If not zero, number of valid bytes in the last FIFO word.
If zero, all bytes in the last FIFO word are valid.
Valid only if `last_byte_received` is true and this field is not zero.
Defined at line 88 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h
template <, >
typename SelfType::ValueType valid_bytes_in_last_word_if_not_zero ()
If not zero, number of valid bytes in the last FIFO word.
If zero, all bytes in the last FIFO word are valid.
Valid only if `last_byte_received` is true and this field is not zero.
Defined at line 88 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h
template <, >
SelfType & set_word_count (typename SelfType::ValueType val)
Number of available words in the FIFO.
Defined at line 91 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h
template <, >
typename SelfType::ValueType word_count ()
Number of available words in the FIFO.
Defined at line 91 of file ../../zircon/system/ulib/uart/include/lib/uart/geni.h