Macros
USB_HCD_INT_Exported_Macros
Collaboration diagram for USB_HCD_INT_Exported_Macros:

Macros

#define CLEAR_HC_INT(HC_REGS, intr)
 
#define MASK_HOST_INT_ACK(hc_num)
 
#define MASK_HOST_INT_CHH(hc_num)
 
#define UNMASK_HOST_INT_ACK(hc_num)
 
#define UNMASK_HOST_INT_CHH(hc_num)
 

Detailed Description

Macro Definition Documentation

#define CLEAR_HC_INT (   HC_REGS,
  intr 
)
Value:
{\
hcint_clear.d32 = 0; \
hcint_clear.b.intr = 1; \
USB_OTG_WRITE_REG32(&((HC_REGS)->HCINT), hcint_clear.d32);\
}\
#define USB_OTG_WRITE_REG32(reg, value)
Definition: usb_defines.h:226
union _USB_OTG_HCINTn_TypeDef USB_OTG_HCINTn_TypeDef

Definition at line 78 of file usb_hcd_int.h.

#define MASK_HOST_INT_ACK (   hc_num)
Value:
INTMSK.d32 = USB_OTG_READ_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK); \
INTMSK.b.ack = 0; \
USB_OTG_WRITE_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK, GINTMSK.d32);}
#define USB_OTG_WRITE_REG32(reg, value)
Definition: usb_defines.h:226
#define USB_OTG_READ_REG32(reg)
Definition: usb_defines.h:225

Definition at line 96 of file usb_hcd_int.h.

#define MASK_HOST_INT_CHH (   hc_num)
Value:
INTMSK.d32 = USB_OTG_READ_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK); \
INTMSK.b.chhltd = 0; \
USB_OTG_WRITE_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK, INTMSK.d32);}
#define USB_OTG_WRITE_REG32(reg, value)
Definition: usb_defines.h:226
#define USB_OTG_READ_REG32(reg)
Definition: usb_defines.h:225

Definition at line 86 of file usb_hcd_int.h.

#define UNMASK_HOST_INT_ACK (   hc_num)
Value:
{ USB_OTG_HCGINTMSK_TypeDef INTMSK; \
INTMSK.d32 = USB_OTG_READ_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK); \
INTMSK.b.ack = 1; \
USB_OTG_WRITE_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK, INTMSK.d32);}
#define USB_OTG_WRITE_REG32(reg, value)
Definition: usb_defines.h:226
#define USB_OTG_READ_REG32(reg)
Definition: usb_defines.h:225

Definition at line 101 of file usb_hcd_int.h.

#define UNMASK_HOST_INT_CHH (   hc_num)
Value:
INTMSK.d32 = USB_OTG_READ_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK); \
INTMSK.b.chhltd = 1; \
USB_OTG_WRITE_REG32(&pdev->regs.HC_REGS[hc_num]->HCINTMSK, INTMSK.d32);}
#define USB_OTG_WRITE_REG32(reg, value)
Definition: usb_defines.h:226
#define USB_OTG_READ_REG32(reg)
Definition: usb_defines.h:225

Definition at line 91 of file usb_hcd_int.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28