7.3.2 Function pdc_enable_transfer()
Enable PDC transfers (TX and/or RX).
void pdc_enable_transfer( Pdc * p_pdc, uint32_t ul_controls)
Note: It is forbidden to set both TXTEN and RXTEN for a half duplex peripheral.
| Data direction | Parameter name | Description |
|---|---|---|
[out] | p_pdc |
Device structure pointer |
[in] | ul_controls |
Transfer directions (bit PERIPH_PTCR_RXTEN and bit PERIPH_PTCR_TXTEN) |
