obsw/mission/uart_rust_helper.h
2024-10-01 11:26:02 +02:00

29 lines
515 B
C

#ifndef XUARTLITE_HELPER_H /* prevent circular inclusions */
#define XUARTLITE_HELPER_H /* by using protection macros */
#ifdef __cplusplus
extern "C" {
#endif
/***************************** Include Files ********************************/
#include "xil_types.h"
#include "xil_assert.h"
#include "xuartlite.h"
#include "xstatus.h"
int uart_polled_test(void);
#ifndef SDT
int UartLitePolledExample(u16 DeviceId);
#else
int UartLitePolledExample(UINTPTR BaseAddress);
#endif
#ifdef __cplusplus
}
#endif
#endif