glenwinters/EVIM — Issue #19: USART setup: Pin config according to USART and rx_tx
Author: glenwinters
Created: 2012-02-06 11:20:53+00:00
State: open
Labels: Microcontroller

Set the pin direction depending on which USART is used (USARTC0, USARTF0, etc.) and rx_tx (TX_ONLY, RX_ONLY, TX_RX)

Example:
if (TX_ONLY && USARTF0)
// set TX on F to output

or

if (TX_RX && USARTC0)
// set TX on C to output
// set RX on C to input