/* * msp_Angle_Encoder_YL159.h * * Created on: Jul 24, 2024 * Author: akeguo */ #ifndef INC_MSP_MSP_ANGLE_ENCODER_YL159_H_ #define INC_MSP_MSP_ANGLE_ENCODER_YL159_H_ #include #include #include "bsp_MB_host.h" #include "stdio.h" #include "BSP/bsp_UART.h" #include "usart.h" #include "gpio.h" extern void Test(); extern void read_angle(); void decode_Angle(uint8_t *buffer, uint16_t length); void reset_position_value(); extern int32_t* Desulfurizer_Angle; void angle_encoder_intialize(struct UARTHandler *Handler); #endif /* INC_MSP_MSP_ANGLE_ENCODER_YL159_H_ */