| 
									
										
										
										
											2023-06-10 11:52:00 +08:00
										 |  |  | #ifndef moter_h__
 | 
					
						
							|  |  |  | #define moter_h__
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "signal.h"
 | 
					
						
							|  |  |  | #include "bytearray.h"
 | 
					
						
							|  |  |  | #include "list.h"
 | 
					
						
							|  |  |  | #include "board.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | signal moter_end_signal(void *m); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void moter_start_slot(void *t,int fre,int step_count); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void moter_start(int fre,int step_count); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-25 18:04:09 +08:00
										 |  |  | void moter_down(void (*fun)(void *t),void *t); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void moter_up(void (*fun)(void *t),void *t); | 
					
						
							| 
									
										
										
										
											2023-06-10 11:52:00 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 |