V2.31
This commit is contained in:
@@ -12,5 +12,5 @@ Series=CH32V203
|
||||
Description=ROM(byte): 64K, SRAM(byte): 20K, CHIP PINS: 32, GPIO PORTS: 27.\nWCH CH32V2 series of mainstream MCUs covers the needs of a large variety of applications in the industrial,medical and consumer markets. High performance with first-class peripherals and low-power,low-voltage operation is paired with a high level of integration at accessible prices with a simple architecture and easy-to-use tools.
|
||||
|
||||
PeripheralVersion=1.0
|
||||
MCU=CH32V203RBT6
|
||||
MCU=CH32V203RBT
|
||||
Target Path=obj/HOST_KM.hex
|
||||
|
||||
@@ -65,6 +65,7 @@ void USBFS_Host_Init( FunctionalState sta )
|
||||
if( sta == ENABLE )
|
||||
{
|
||||
USBFSH->BASE_CTRL = USBFS_UC_HOST_MODE;
|
||||
while(!(USBFSH->BASE_CTRL & USBFS_UC_HOST_MODE));
|
||||
USBFSH->HOST_CTRL = 0;
|
||||
USBFSH->DEV_ADDR = 0;
|
||||
USBFSH->HOST_EP_MOD = USBFS_UH_EP_TX_EN | USBFS_UH_EP_RX_EN;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Version : V1.0.0
|
||||
* Date : 2021/06/06
|
||||
* Description : CH32V20x Device Peripheral Access Layer System Source File.
|
||||
* For HSE = 32Mhz (CH32V208x/CH32V203RBT6)
|
||||
* For HSE = 32Mhz (CH32V208x/CH32V203RBT)
|
||||
* For HSE = 8Mhz (other CH32V203x)
|
||||
*********************************************************************************
|
||||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
|
||||
|
||||
Reference in New Issue
Block a user