Skip to content

USART Flow Control #6

Description

@benjaminjnoack

The CTS line will be utilized by the TX task and will have an interrupt associated with it. The interrupt will be edge triggered. On the falling edge, a flag (?) will be set allowing the TX task to proceed with writes to the USART. On the rising edge the same flag will indicate that transmission is not currently possible. The TX task will block here waiting for the flag to clear.

The RTS line will be utilized by the RX task. It will be set low at the beginning of the task. When the RX task acquires the semaphore it will set the line high. Upon completing the read and posting the data (or printing it) the RX task will then set the line low and block again waiting for another reception.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions