libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Macros | |
#define | CEC CEC_BASE |
#define | CEC_CR MMIO32(CEC_BASE + 0x00) |
#define | CEC_CFGR MMIO32(CEC_BASE + 0x04) |
#define | CEC_TXDR MMIO32(CEC_BASE + 0x08) |
#define | CEC_RXDR MMIO32(CEC_BASE + 0x0c) |
#define | CEC_ISR MMIO32(CEC_BASE + 0x10) |
#define | CEC_IER MMIO32(CEC_BASE + 0x14) |
#define | CEC_CR_TXEOM (1 << 2) |
#define | CEC_CR_TXSOM (1 << 1) |
#define | CEC_CR_CECEN (1 << 0) |
#define | CEC_CFGR_LSTN (1 << 31) |
#define | CEC_CFGR_OAR_SHIFT 16 |
#define | CEC_CFGR_OAR (0x3FFF << CEC_CFGR_OAR_SHIFT) |
#define | CEC_CFGR_SFTOPT (1 << 8) |
#define | CEC_CFGR_BRDNOGEN (1 << 7) |
#define | CEC_CFGR_LBPEGEN (1 << 6) |
#define | CEC_CFGR_BREGEN (1 << 5) |
#define | CEC_CFGR_BRESTP (1 << 4) |
#define | CEC_CFGR_RXTOL (1 << 3) |
#define | CEC_CFGR_SFT_SHIFT 0 |
#define | CEC_CFGR_SFT (7 >> CEC_CFGR_SFT_SHIFT) |
#define | CEC_ISR_TXACKE (1 << 12) |
#define | CEC_ISR_TXERR (1 << 11) |
#define | CEC_ISR_TXUDR (1 << 10) |
#define | CEC_ISR_TXEND (1 << 9) |
#define | CEC_ISR_TXBR (1 << 8) |
#define | CEC_ISR_ARBLST (1 << 7) |
#define | CEC_ISR_RXACKE (1 << 6) |
#define | CEC_ISR_LBPE (1 << 5) |
#define | CEC_ISR_SBPE (1 << 4) |
#define | CEC_ISR_BRE (1 << 3) |
#define | CEC_ISR_RXOVR (1 << 2) |
#define | CEC_ISR_RXEND (1 << 1) |
#define | CEC_ISR_RXBR (1 << 0) |
#define | CEC_IER_TXACKIE (1 << 12) |
#define | CEC_IER_TXERRIE (1 << 11) |
#define | CEC_IER_TXUDRIE (1 << 10) |
#define | CEC_IER_TXENDIE (1 << 9) |
#define | CEC_IER_TXBRIE (1 << 8) |
#define | CEC_IER_ARBLSTIE (1 << 7) |
#define | CEC_IER_RXACKIE (1 << 6) |
#define | CEC_IER_LBPEIE (1 << 5) |
#define | CEC_IER_SBPEIE (1 << 4) |
#define | CEC_IER_BREIE (1 << 3) |
#define | CEC_IER_RXOVRIE (1 << 2) |
#define | CEC_IER_RXENDIE (1 << 1) |
#define | CEC_IER_RXBRIE (1 << 0) |