暂存
This commit is contained in:
@@ -39,7 +39,7 @@ extern "C" {
|
||||
*
|
||||
*/
|
||||
#if !defined HEXT_VALUE
|
||||
#define HEXT_VALUE ((uint32_t)8000000) /*!< value of the high speed exernal crystal in hz */
|
||||
#define HEXT_VALUE ((uint32_t)16000000) /*!< value of the high speed exernal crystal in hz */
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
@@ -56,18 +56,14 @@ extern "C" {
|
||||
/* add user code end exported macro */
|
||||
|
||||
/* Private defines -------------------------------------------------------------*/
|
||||
#define SW_IN2_PIN GPIO_PINS_10
|
||||
#define SW_IN2_GPIO_PORT GPIOB
|
||||
#define SW_IN1_PIN GPIO_PINS_11
|
||||
#define SW_IN1_GPIO_PORT GPIOB
|
||||
#define MODE2_PIN GPIO_PINS_12
|
||||
#define MODE2_GPIO_PORT GPIOB
|
||||
#define MODE1_PIN GPIO_PINS_13
|
||||
#define MODE1_GPIO_PORT GPIOB
|
||||
#define MODE0_PIN GPIO_PINS_14
|
||||
#define MODE0_GPIO_PORT GPIOB
|
||||
#define STEP_PIN GPIO_PINS_15
|
||||
#define STEP_GPIO_PORT GPIOB
|
||||
#define CLK_PIN GPIO_PINS_15
|
||||
#define CLK_GPIO_PORT GPIOB
|
||||
#define DIR_PIN GPIO_PINS_8
|
||||
#define DIR_GPIO_PORT GPIOA
|
||||
#define EN_PIN GPIO_PINS_9
|
||||
@@ -104,9 +100,6 @@ extern "C" {
|
||||
/* init tmr3 function. */
|
||||
void wk_tmr3_init(void);
|
||||
|
||||
/* init tmr9 function. */
|
||||
void wk_tmr9_init(void);
|
||||
|
||||
/* init tmr10 function. */
|
||||
void wk_tmr10_init(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user