#include "usb_type.h"Go to the source code of this file.
Defines | |
| #define | MASS_MEMORY_START 0x04002000 |
| #define | BULK_MAX_PACKET_SIZE 0x00000040 |
| #define | LED_ON 0xF0 |
| #define | LED_OFF 0xFF |
Functions | |
| void | Set_System (void) |
| void | Set_USBClock (void) |
| void | Enter_LowPowerMode (void) |
| void | Leave_LowPowerMode (void) |
| void | USB_Interrupts_Config (void) |
| void | USB_Cable_Config (FunctionalState NewState) |
| void | USART_Config_Default (void) |
| bool | USART_Config (void) |
| void | USB_To_USART_Send_Data (uint8_t *data_buffer, uint8_t Nb_bytes) |
| void | USART_To_USB_Send_Data (void) |
| void | Get_SerialNum (void) |
| #define MASS_MEMORY_START 0x04002000 |
| #define BULK_MAX_PACKET_SIZE 0x00000040 |
| #define LED_ON 0xF0 |
| #define LED_OFF 0xFF |
| void Set_System | ( | void | ) |
| void Set_USBClock | ( | void | ) |
References RCC, and RCC_AHB2ENR_OTGFSEN.
| void Enter_LowPowerMode | ( | void | ) |
References bDeviceState, and SUSPENDED.
Referenced by Suspend().
| void Leave_LowPowerMode | ( | void | ) |
References ATTACHED, bDeviceState, CONFIGURED, _DEVICE_INFO::Current_Configuration, and Device_Info.
Referenced by Resume_Init().
| void USB_Interrupts_Config | ( | void | ) |
| void USB_Cable_Config | ( | FunctionalState | NewState | ) |
References DISABLE, USB_DevConnect(), and USB_DevDisconnect().
| void USART_Config_Default | ( | void | ) |
| bool USART_Config | ( | void | ) |
| void USART_To_USB_Send_Data | ( | void | ) |
| void Get_SerialNum | ( | void | ) |
References __IO, and Virtual_Com_Port_StringSerial.