Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
euart.h
Go to the documentation of this file.
1#ifndef _REVOLUTION_EUART_H_
2#define _REVOLUTION_EUART_H_
3
4#include <revolution/types.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef int UARTError;
11
12typedef enum {
14 kBaud300 = 300,
15 kBaud600 = 600,
16 kBaud1200 = 1200,
17 kBaud1800 = 1800,
18 kBaud2000 = 2000,
19 kBaud2400 = 2400,
20 kBaud3600 = 3600,
21 kBaud4800 = 4800,
22 kBaud7200 = 7200,
23 kBaud9600 = 9600,
24 kBaud19200 = 19200,
25 kBaud38400 = 38400,
26 kBaud57600 = 57600,
27 kBaud115200 = 115200,
28 kBaud230400 = 230400
30
31enum {
38};
39
52
53
55UARTError WriteUARTN(const void *, unsigned long);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif
int InitializeUART(void)
Definition EXIUart.c:95
UARTBaudRate
Definition euart.h:12
@ kBaud38400
Definition euart.h:25
@ kBaud19200
Definition euart.h:24
@ kBaudHWSet
Definition euart.h:13
@ kBaud9600
Definition euart.h:23
@ kBaud115200
Definition euart.h:27
@ kBaud57600
Definition euart.h:26
@ kBaud2400
Definition euart.h:19
@ kBaud3600
Definition euart.h:20
@ kBaud1200
Definition euart.h:16
@ kBaud300
Definition euart.h:14
@ kBaud1800
Definition euart.h:17
@ kBaud600
Definition euart.h:15
@ kBaud7200
Definition euart.h:22
@ kBaud230400
Definition euart.h:28
@ kBaud2000
Definition euart.h:18
@ kBaud4800
Definition euart.h:21
EUARTError
Definition euart.h:40
@ EUART_ERROR_INVALID_HANDLE
Definition euart.h:48
@ EUART_ERROR_NONE
Definition euart.h:41
@ EUART_ERROR_COM_OPEN
Definition euart.h:49
@ EUART_ERROR_CHANNEL_FULL
Definition euart.h:44
@ EUART_ERROR_COMM
Definition euart.h:50
@ EUART_ERROR_UNINITIALIZED
Definition euart.h:42
@ EUART_ERROR_NOT_FIND
Definition euart.h:45
@ EUART_ERROR_INTERNAL
Definition euart.h:46
@ EUART_ERROR_CANNOT_USE
Definition euart.h:43
@ EUART_ERROR_INVALID_PARAMETER
Definition euart.h:47
@ kUARTBufferOverflow
Definition euart.h:36
@ kUARTNoError
Definition euart.h:33
@ kUARTConfigurationError
Definition euart.h:35
@ kUARTNoData
Definition euart.h:37
@ kUARTUnknownBaudRate
Definition euart.h:34
@ kUARTDataError
Definition euart.h:32
UARTError WriteUARTN(const void *, unsigned long)
Definition euart.c:73
UARTBaudRate
Definition trk.h:178
int UARTError
Definition trk.h:168