libws libws
WSwan hardware library for the Wonderful toolchain
Loading...
Searching...
No Matches
Hardware defines - Cartridge EEPROM I/O ports

Macros

#define WS_CART_EEP_DATA_PORT   0xC4
#define WS_CART_EEP_COMMAND_PORT   0xC6
#define WS_CART_EEP_CTRL_PORT   0xC8
#define WS_CART_EEP_CTRL_ABORT   0x80
#define WS_CART_EEP_CTRL_ERASE   0x40
#define WS_CART_EEP_CTRL_WRITE   0x20
#define WS_CART_EEP_CTRL_READ   0x10
#define WS_CART_EEP_CTRL_READY   0x02
#define WS_CART_EEP_CTRL_DONE   0x01

Detailed Description

Macro Definition Documentation

◆ WS_CART_EEP_COMMAND_PORT

#define WS_CART_EEP_COMMAND_PORT   0xC6

Cartridge EEPROM command.

Definition at line 78 of file ports.h.

◆ WS_CART_EEP_CTRL_ABORT

#define WS_CART_EEP_CTRL_ABORT   0x80

Abort cartridge EEPROM transfer.

Definition at line 84 of file ports.h.

◆ WS_CART_EEP_CTRL_DONE

#define WS_CART_EEP_CTRL_DONE   0x01

Definition at line 101 of file ports.h.

◆ WS_CART_EEP_CTRL_ERASE

#define WS_CART_EEP_CTRL_ERASE   0x40

Send erase command to cartridge EEPROM.

Definition at line 88 of file ports.h.

◆ WS_CART_EEP_CTRL_PORT

#define WS_CART_EEP_CTRL_PORT   0xC8

Definition at line 80 of file ports.h.

◆ WS_CART_EEP_CTRL_READ

#define WS_CART_EEP_CTRL_READ   0x10

Send read command to cartridge EEPROM.

Definition at line 96 of file ports.h.

◆ WS_CART_EEP_CTRL_READY

#define WS_CART_EEP_CTRL_READY   0x02

A new cartridge EEPROM command can be written to the I/O ports.

Definition at line 100 of file ports.h.

◆ WS_CART_EEP_CTRL_WRITE

#define WS_CART_EEP_CTRL_WRITE   0x20

Send write command to cartridge EEPROM.

Definition at line 92 of file ports.h.

◆ WS_CART_EEP_DATA_PORT

#define WS_CART_EEP_DATA_PORT   0xC4

Cartridge EEPROM data.

Definition at line 73 of file ports.h.