77#define analog_function_enable(_pin) (GPIO_PORTD_AMSEL_R |= 1U << _pin)
82#define GPIO_PORTD_PIN4 (4)
83#define GPIO_PORTD_PIN5 (5)
92static inline void usb_hw_init(
void) {
94 SYSCTL_RCGC2_R |= SYSCTL_GPIOHBCTL_PORTD;
96 SYSCTL_RCGC2_R |= SYSCTL_GPIOHBCTL_PORTB;
99 SYSCTL_GPIOHBCTL_R &= ~(SYSCTL_GPIOHBCTL_PORTD | SYSCTL_GPIOHBCTL_PORTB);
105 SYSCTL_RCGC2_R |= SYSCTL_RCGC2_USB0;
#define GPIO_PORTD_PIN4
Pin numbers.
Definition usb_hw.h:82
#define analog_function_enable(_pin)
Enable analog functionality.
Definition usb_hw.h:77