You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
599 B
28 lines
599 B
|
11 months ago
|
/*
|
||
|
|
* 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 <stdio.h>
|
||
|
|
#include <string.h>
|
||
|
|
#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_ */
|