init:全链路闭环控制调通
This commit is contained in:
@@ -87,6 +87,23 @@ extern "C" {
|
||||
|
||||
|
||||
|
||||
|
||||
/* Defines for QEI_0 */
|
||||
#define QEI_0_INST TIMG8
|
||||
#define QEI_0_INST_IRQHandler TIMG8_IRQHandler
|
||||
#define QEI_0_INST_INT_IRQN (TIMG8_INT_IRQn)
|
||||
/* Pin configuration defines for QEI_0 PHA Pin */
|
||||
#define GPIO_QEI_0_PHA_PORT GPIOB
|
||||
#define GPIO_QEI_0_PHA_PIN DL_GPIO_PIN_6
|
||||
#define GPIO_QEI_0_PHA_IOMUX (IOMUX_PINCM23)
|
||||
#define GPIO_QEI_0_PHA_IOMUX_FUNC IOMUX_PINCM23_PF_TIMG8_CCP0
|
||||
/* Pin configuration defines for QEI_0 PHB Pin */
|
||||
#define GPIO_QEI_0_PHB_PORT GPIOB
|
||||
#define GPIO_QEI_0_PHB_PIN DL_GPIO_PIN_7
|
||||
#define GPIO_QEI_0_PHB_IOMUX (IOMUX_PINCM24)
|
||||
#define GPIO_QEI_0_PHB_IOMUX_FUNC IOMUX_PINCM24_PF_TIMG8_CCP1
|
||||
|
||||
|
||||
/* Defines for VREF */
|
||||
#define VREF_VOLTAGE_MV 3300
|
||||
#define GPIO_VREF_VREFPOS_PORT GPIOA
|
||||
@@ -126,10 +143,13 @@ void SYSCFG_DL_init(void);
|
||||
void SYSCFG_DL_initPower(void);
|
||||
void SYSCFG_DL_GPIO_init(void);
|
||||
void SYSCFG_DL_SYSCTL_init(void);
|
||||
void SYSCFG_DL_QEI_0_init(void);
|
||||
void SYSCFG_DL_VREF_init(void);
|
||||
|
||||
void SYSCFG_DL_SYSTICK_init(void);
|
||||
|
||||
bool SYSCFG_DL_saveConfiguration(void);
|
||||
bool SYSCFG_DL_restoreConfiguration(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user