mirror of
https://github.com/modelec/odo_STM32.git
synced 2026-01-18 16:27:25 +01:00
24 lines
422 B
C
24 lines
422 B
C
/*
|
|
* commSTM.h
|
|
*
|
|
* Created on: May 13, 2025
|
|
* Author: maxch
|
|
*/
|
|
|
|
#ifndef INC_COMMSTM_H_
|
|
#define INC_COMMSTM_H_
|
|
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#include "usbd_cdc_if.h"
|
|
|
|
// À appeler régulièrement pour parser ce qui a été reçu
|
|
void USB_Comm_Process(void);
|
|
|
|
// À appeler dans CDC_Receive_FS (depuis usbd_cdc_if.c)
|
|
void USB_Comm_OnReceive(uint8_t* Buf, uint32_t Len);
|
|
|
|
|
|
#endif /* INC_COMMSTM_H_ */
|