board/lgvr/usb_pd_config.h
/* the pins used for communication need to be hi-speed */
the pins used for communication need to be hi-speed
the pins used for communication need to be hi - speed
static inline void pd_set_pins_speed(int port)
{
	STM32_GPIO_OSPEEDR(GPIO_B) |= 0x00000300;
	STM32_GPIO_OSPEEDR(GPIO_A) |= 0x00003000;
	STM32_GPIO_OSPEEDR(GPIO_B) |= 0x00030000;
}
static inline void pd_set_pins_speed ( int port ) { STM32_GPIO_OSPEEDR ( GPIO_B ) |= 0x00000300 ; STM32_GPIO_OSPEEDR ( GPIO_A ) |= 0x00003000 ; STM32_GPIO_OSPEEDR ( GPIO_B ) |= 0x00030000 ; }
the pins used for communication need to be hi-speed
the pins used for communication need to be hi - speed
/* 40 MHz pin speed on SPI TX PB4 */ /* 40 MHz pin speed on SPI TX PA6 */ /* 40 MHz pin speed on TIM16/PB8*/