2013-07-21 20:01:24 +08:00
|
|
|
/*
|
2021-04-09 10:52:34 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2013-07-21 20:01:24 +08:00
|
|
|
*
|
2021-04-09 10:52:34 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2013-07-21 20:01:24 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2011-01-13 weety first version
|
|
|
|
*/
|
|
|
|
|
2011-06-26 23:09:26 +08:00
|
|
|
#ifndef __AT91_PDC_H__
|
|
|
|
#define __AT91_PDC_H__
|
|
|
|
|
2021-04-09 10:52:34 +08:00
|
|
|
#define AT91_PDC_RPR 0x100 /* Receive Pointer Register */
|
|
|
|
#define AT91_PDC_RCR 0x104 /* Receive Counter Register */
|
|
|
|
#define AT91_PDC_TPR 0x108 /* Transmit Pointer Register */
|
|
|
|
#define AT91_PDC_TCR 0x10c /* Transmit Counter Register */
|
|
|
|
#define AT91_PDC_RNPR 0x110 /* Receive Next Pointer Register */
|
|
|
|
#define AT91_PDC_RNCR 0x114 /* Receive Next Counter Register */
|
|
|
|
#define AT91_PDC_TNPR 0x118 /* Transmit Next Pointer Register */
|
|
|
|
#define AT91_PDC_TNCR 0x11c /* Transmit Next Counter Register */
|
2011-06-26 23:09:26 +08:00
|
|
|
|
2021-04-09 10:52:34 +08:00
|
|
|
#define AT91_PDC_PTCR 0x120 /* Transfer Control Register */
|
|
|
|
#define AT91_PDC_RXTEN (1 << 0) /* Receiver Transfer Enable */
|
|
|
|
#define AT91_PDC_RXTDIS (1 << 1) /* Receiver Transfer Disable */
|
|
|
|
#define AT91_PDC_TXTEN (1 << 8) /* Transmitter Transfer Enable */
|
|
|
|
#define AT91_PDC_TXTDIS (1 << 9) /* Transmitter Transfer Disable */
|
2011-06-26 23:09:26 +08:00
|
|
|
|
2021-04-09 10:52:34 +08:00
|
|
|
#define AT91_PDC_PTSR 0x124 /* Transfer Status Register */
|
2011-06-26 23:09:26 +08:00
|
|
|
|
|
|
|
#endif
|