mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
arch/arm/src/stm32/stm32_usbdev.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2200 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -919,7 +919,7 @@
|
|||||||
FLASH, EEPROM, NVRAM, etc. devices.
|
FLASH, EEPROM, NVRAM, etc. devices.
|
||||||
* driver/mtd/m25px.c. Added a driver for SPI based FLASH parts M25P64 and M25P128.
|
* driver/mtd/m25px.c. Added a driver for SPI based FLASH parts M25P64 and M25P128.
|
||||||
* configs/stm3210e-eval/usbserial. Add a USB serial configuration for the STM32.
|
* configs/stm3210e-eval/usbserial. Add a USB serial configuration for the STM32.
|
||||||
This is for test and development; the STM32 has not yet been checked in.
|
Depends on the STM32 USB driver.
|
||||||
* arch/arm/src/cortexm3/up_switchcontext.S & up_svccall.c. Made an improvement
|
* arch/arm/src/cortexm3/up_switchcontext.S & up_svccall.c. Made an improvement
|
||||||
to context switching. There are two types of context switches: interrupt
|
to context switching. There are two types of context switches: interrupt
|
||||||
context switches and background/user context switches. This change should
|
context switches and background/user context switches. This change should
|
||||||
@@ -934,7 +934,7 @@
|
|||||||
* arch/arm/src/stm32/stm32_usbdev.c - Added a USB device-side driver for the
|
* arch/arm/src/stm32/stm32_usbdev.c - Added a USB device-side driver for the
|
||||||
STM32.
|
STM32.
|
||||||
|
|
||||||
NOTE: This USB driver is completely untested as of the initial check-in
|
NOTE: This STM32 USB driver is not yet fully untested
|
||||||
|
|
||||||
* arch/arm/src/stm32/stm32_rcc.c - Fixed an error in clock initialization.
|
* arch/arm/src/stm32/stm32_rcc.c - Fixed an error in clock initialization.
|
||||||
On some boards (none of mine), the HSE (high speed external clock) delay
|
On some boards (none of mine), the HSE (high speed external clock) delay
|
||||||
|
|||||||
@@ -1571,7 +1571,7 @@ nuttx-0.4.13 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
|||||||
FLASH, EEPROM, NVRAM, etc. devices.
|
FLASH, EEPROM, NVRAM, etc. devices.
|
||||||
* driver/mtd/m25px.c. Added a driver for SPI based FLASH parts M25P64 and M25P128.
|
* driver/mtd/m25px.c. Added a driver for SPI based FLASH parts M25P64 and M25P128.
|
||||||
* configs/stm3210e-eval/usbserial. Add a USB serial configuration for the STM32.
|
* configs/stm3210e-eval/usbserial. Add a USB serial configuration for the STM32.
|
||||||
This is for test and development; the STM32 has not yet been checked in.
|
Depends on the STM32 USB driver.
|
||||||
* arch/arm/src/cortexm3/up_switchcontext.S & up_svccall.c. Made an improvement
|
* arch/arm/src/cortexm3/up_switchcontext.S & up_svccall.c. Made an improvement
|
||||||
to context switching. There are two types of context switches: interrupt
|
to context switching. There are two types of context switches: interrupt
|
||||||
context switches and background/user context switches. This change should
|
context switches and background/user context switches. This change should
|
||||||
@@ -1586,7 +1586,7 @@ nuttx-0.4.13 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
|||||||
* arch/arm/src/stm32/stm32_usbdev.c - Added a USB device-side driver for the
|
* arch/arm/src/stm32/stm32_usbdev.c - Added a USB device-side driver for the
|
||||||
STM32.
|
STM32.
|
||||||
|
|
||||||
NOTE: This USB driver is completely untested as of the initial check-in
|
NOTE: This STM32 USB driver is not yet fully tested
|
||||||
|
|
||||||
* arch/arm/src/stm32/stm32_rcc.c - Fixed an error in clock initialization.
|
* arch/arm/src/stm32/stm32_rcc.c - Fixed an error in clock initialization.
|
||||||
On some boards (none of mine), the HSE (high speed external clock) delay
|
On some boards (none of mine), the HSE (high speed external clock) delay
|
||||||
|
|||||||
@@ -228,7 +228,7 @@
|
|||||||
#define USB_COUNT_RX_NUM_BLOCK_SHIFT (10) /* Bits 14-10: Number of blocks */
|
#define USB_COUNT_RX_NUM_BLOCK_SHIFT (10) /* Bits 14-10: Number of blocks */
|
||||||
#define USB_COUNT_RX_NUM_BLOCK_MASK (0x1f << USB_COUNT_RX_NUM_BLOCK_SHIFT)
|
#define USB_COUNT_RX_NUM_BLOCK_MASK (0x1f << USB_COUNT_RX_NUM_BLOCK_SHIFT)
|
||||||
#define USB_COUNT_RX_SHIFT (0) /* Bits 9-0: Reception Byte Count */
|
#define USB_COUNT_RX_SHIFT (0) /* Bits 9-0: Reception Byte Count */
|
||||||
#define USB_COUNT_RX_MASK (0x03ff << USB_COUNT_RX_COUNT_RX_SHIFT)
|
#define USB_COUNT_RX_MASK (0x03ff << USB_COUNT_RX_SHIFT)
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
|
|||||||
Reference in New Issue
Block a user