Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Macros
link-sio1.h File Reference
#include <stdint.h>
#include "common/hardware/hwregs.h"
#include "common/hardware/sio.h"
Include dependency graph for link-sio1.h:

Go to the source code of this file.

Macros

#define MONITOR_LINK_IS_STREAM   1
 
#define SIO1_CTRL_BASE   (SIO_CTRL_TXEN | SIO_CTRL_RXE)
 
#define MONITOR_SIO1_RELOAD   18
 
#define MONITOR_LINK_HAS_RATE   1
 
#define LINK_RX_STAT_ADDR   0x1f801054
 
#define LINK_RX_STAT_LOAD   "lhu"
 
#define LINK_RX_STAT_BIT   0x02
 

Macro Definition Documentation

◆ LINK_RX_STAT_ADDR

#define LINK_RX_STAT_ADDR   0x1f801054

◆ LINK_RX_STAT_BIT

#define LINK_RX_STAT_BIT   0x02

◆ LINK_RX_STAT_LOAD

#define LINK_RX_STAT_LOAD   "lhu"

◆ MONITOR_LINK_HAS_RATE

#define MONITOR_LINK_HAS_RATE   1

◆ MONITOR_LINK_IS_STREAM

#define MONITOR_LINK_IS_STREAM   1

◆ MONITOR_SIO1_RELOAD

#define MONITOR_SIO1_RELOAD   18

◆ SIO1_CTRL_BASE

#define SIO1_CTRL_BASE   (SIO_CTRL_TXEN | SIO_CTRL_RXE)