Skip to content

HAL: specify what flow control is #4574

@pan-

Description

@pan-

Description

  • Enhancement
  • Priority: Major

Enhancement

The function serial_set_flow_control enable hardware flow control of the serial port but there is no description of what flow control is.

The lack of specification is detrimental for coherence of the platform because the HAL maintainer is free to interpret what flow control is/should be.

Incoherence between ports is already in the code base, for instance, on the NRF52 based targets, the line CTS/RTS are active low while on the MAXIM32630 target those lines are active high.

Suggested enhancement

  • Define polarity of control flow line; maybe a function to configure it can also be added.
  • Detail what rxflow and txflow are and how they are supposed to work.
  • Add (hardware) tests verifying the compliance of a port with the specification

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions