summaryrefslogtreecommitdiff
path: root/include/kernel/uart.h
blob: 97eebfd74a30711045c00c529dfc0a0d345edb85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _PSP2_KERN_UART_H_
#define _PSP2_KERN_UART_H_

#include <psp2kern/types.h>

#ifdef __cplusplus
extern "C" {
#endif

int sceUartInit(int port);
int sceUartReadAvailable(int port);
int sceUartRead(int port);
int sceUartWrite(int port, char data);

#ifdef __cplusplus
}
#endif

#endif /* _PSP2_KERN_UART_H_ */