Initial commit

This commit is contained in:
2026-03-31 13:10:37 +02:00
commit 03325b9502
566 changed files with 351758 additions and 0 deletions

18
TMC2209/Tmc_uart.h Normal file
View File

@@ -0,0 +1,18 @@
// TMC_UART.h
#ifndef TMC_UART_H
#define TMC_UART_H
#include <stdio.h>
#include "pico/stdlib.h"
typedef struct {
uart_inst_t *UART_ID;
int BAUD_RATE;
int MOTOR_TX_PIN;
int MOTOR_RX_PIN;
} TMC_UART;
TMC_UART* tmc_Uart_Init(TMC_UART* tmc_uart, uart_inst_t *UART_ID, int BAUD_RATE, int MOTOR_TX_PIN, int MOTOR_RX_PIN);
void tmc_Uart_Destroy(TMC_UART* TMC_UART);
#endif