Nut/OS  5.0.5
API Reference
hw_config.h File Reference
#include "usb_type.h"
Include dependency graph for hw_config.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define MASS_MEMORY_START   0x04002000
#define BULK_MAX_PACKET_SIZE   0x00000040
#define LED_ON   0xF0
#define LED_OFF   0xFF

Function Documentation

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  )
void USB_Interrupts_Config ( void  )
void USB_Cable_Config ( FunctionalState  NewState)

References DISABLE, USB_DevConnect(), and USB_DevDisconnect().

Here is the call graph for this function:

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  )