Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

void dam_switch_Tx_Rx ( dam_port  port,
bool  value 
)

This function swaps the transmit and receive signals from (Da-TxD, Db-RxD) to (Da-RxD, Db-TxD). This default signal configuration is Da-TxD, Db-RxD.

Parameters:
port the DAM port to configure
value the switch state
This function swaps the transmit and receive signals from (Da-TxD, Db-RxD) to (Da-RxD, Db-TxD). This default signal configuration is Da-TxD, Db-RxD.

Parameters:
port the DAM port to configure
value the switch state

Definition at line 384 of file dam.c.

References ModifyRegister32.

{
      ModifyRegister32(1 << dam_transmit_receive_switch_shift,
                   value << dam_transmit_receive_switch_shift,
                   _reg_DAM_PDCR(port));
}


Generated by  Doxygen 1.6.0   Back to index