Implemented UART_CTRL Interface (missing Hardware implementation)

This commit is contained in:
AlexanderHD27
2024-12-30 02:23:38 +01:00
parent 877040362c
commit 65df7b1912
13 changed files with 246 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
#pragma once
typedef void (*UART_CTRL_Callback_RX)(void * args, char * data, size_t length);
class I_UART_CTRL_Hardware_Handler {
public:
virtual void send(char * data, size_t length) = 0;
virtual void registerCallback(UART_CTRL_Callback_RX) = 0;
};