KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
RTL8139C Command Bits

Macros

#define RT_CMD_RESET   0x10
 Reset the RTL8139C. More...
 
#define RT_CMD_RX_ENABLE   0x08
 Enable Rx. More...
 
#define RT_CMD_TX_ENABLE   0x04
 Enable Tx. More...
 
#define RT_CMD_RX_BUF_EMPTY   0x01
 Empty the Rx buffer. More...
 

Detailed Description

OR appropriate bit values together and write into the RT_CHIPCMD register to execute the command.

Macro Definition Documentation

#define RT_CMD_RESET   0x10

Reset the RTL8139C.

#define RT_CMD_RX_BUF_EMPTY   0x01

Empty the Rx buffer.

#define RT_CMD_RX_ENABLE   0x08

Enable Rx.

#define RT_CMD_TX_ENABLE   0x04

Enable Tx.