adding pin configurations - I2C: corrected rise time setting when using ARM_I2C_BUS_SPEED_FAST - USB Device: -- VBUS detection is selected automatically based on VBUS sensing pin setting (in RTE_Device.h or by STM32CubeMX) -- Corrected initial resume signaling after USB Bus Reset -- Corre...
static uint8_t USBD_CUSTOM_HID_Init (USBD_HandleTypeDef *pdev, uint8_t cfgidx) { uint8_t ret = 0; USBD_CUSTOM_HID_HandleTypeDef *hhid; /* Open EP IN */ USBD_LL_OpenEP(pdev, CUSTOM_HID_EPIN_ADDR, USBD_EP_TYPE_INTR, CUSTOM_HID_EPIN_SIZE); // USB_FS_MAX_PACKET_SIZE /...
((USBD_CUSTOM_HID_ItfTypeDef *)pdev->pUserData)->Init();/* Prepare Out endpoint to receive 1st packet */USBD_LL_PrepareReceive(pdev, CUSTOM_HID_EPOUT_ADDR, hhid->Report_buf, USBD_CUSTOMHID_OUTREPORT_BUF_SIZE); }returnret; } 这个USBD_LL_OpenEP函数中,有用的只有一句, hal_status...
#include"stm32f4xx.h" #include"stm32f4xx_ll_tim.h" #include"stm32f4xx_ll_bus.h" #include"hrtimer.h" unsignedlonglonghrt_global_time; voidhrtimer_init(void) { LL_TIM_InitTypeDefTIM_InitStruct={0}; LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_TIM4); ...
Generic implementation of Arduino for STM32 boards - STM32GENERIC/STM32/system/STM32F4/HAL_Inc/stm32f4xx_hal_sd.h at master · danieleff/STM32GENERIC
(in pdsc). Package Description (pdsc): Added global define USE_HAL_DRIVER to the component ::Device:STM32Cube HAL:Common. Added global define USE_FULL_LL_DRIVER to the component ::Device:STM32Cube LL:Common. Restructured board(32F469IDISCOVERY, STM32F429I-Discovery) components. Added ...
(in pdsc). Package Description (pdsc): Added global define USE_HAL_DRIVER to the component ::Device:STM32Cube HAL:Common. Added global define USE_FULL_LL_DRIVER to the component ::Device:STM32Cube LL:Common. Restructured board(32F469IDISCOVERY, STM32F429I-Discovery) components. Added ...