forked from ROMEO/obsw
29 lines
515 B
C
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
|