update regnual

This commit is contained in:
NIIBE Yutaka
2012-05-22 10:44:37 +09:00
parent dc85bcfb92
commit 449b3c35ba
4 changed files with 349 additions and 11 deletions

16
regnual/sys-stbee.h Normal file
View File

@@ -0,0 +1,16 @@
/*
* system settings.
*/
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
#define STM32_PLLMUL_VALUE 6
#define STM32_HSECLK 12000000
#define GPIO_USB_CLEAR_TO_ENABLE 3
#define GPIO_LED_CLEAR_TO_EMIT 4
#define VAL_GPIO_ODR 0xFFFFFFFF
#define VAL_GPIO_CRH 0x88888888 /* PD15...PD8 */
#define VAL_GPIO_CRL 0x88862888 /* PD7...PD0 */
#define GPIO_USB_BASE GPIOD_BASE
#define GPIO_LED_BASE GPIOD_BASE