77#define analog_function_enable(_pin) (GPIO_PORTJ_AMSEL_R |= 1U << _pin)
82#define GPIO_PORTJ_PIN0 (0)
83#define GPIO_PORTJ_PIN1 (1)
92static inline void usb_hw_init(
void) {
94 SYSCTL_RCGC2_R |= SYSCTL_GPIOHBCTL_PORTJ;
96 SYSCTL_RCGC2_R |= SYSCTL_GPIOHBCTL_PORTB;
99 SYSCTL_GPIOHBCTL_R &= ~(SYSCTL_GPIOHBCTL_PORTJ | SYSCTL_GPIOHBCTL_PORTB);
105 SYSCTL_RCGC2_R |= SYSCTL_RCGC2_USB0;
#define GPIO_PORTJ_PIN0
Pin numbers.
Definition usb_hw.h:82
#define analog_function_enable(_pin)
Enable analog functionality.
Definition usb_hw.h:77