GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
USB_Register_Macros
Macros | |
#define | _SetCTLR(RegValue) (*CTLR = (uint16_t)RegValue) |
#define | _GetCTLR() ((uint16_t) *CTLR) |
#define | _SetIFR(RegValue) (*IFR = (uint16_t)RegValue) |
#define | _GetIFR() ((uint16_t) *IFR) |
#define | _SetAR(RegValue) (*AR = (uint16_t)RegValue) |
#define | _GetAR() ((uint16_t) *AR) |
#define | _SetBAR(RegValue) (*BAR = (uint16_t)(RegValue & 0xFFF8)) |
#define | _GetBAR() ((uint16_t) *BAR) |
#define | _GetSR() ((uint16_t) *SR) |
#define | _SetEPxCSR(EpID, RegValue) (*(EP0CSR + EpID) = (uint16_t)RegValue) |
#define | _GetEPxCSR(EpID) ((uint16_t)(*(EP0CSR + EpID))) |
Detailed Description
Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by 1.8.8