mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Added SFR_NIC_DATA_U16LE and SFR_NIC_RING_U16LE.
Let's use sfr16 for NIC data and ring. SFR define can so reordered to it does the BE to LE swap for us.
This commit is contained in:
committed by
René van Dorst
parent
af0135bcce
commit
9dafeab490
@@ -90,7 +90,9 @@ __sfr __at(0xa9) SFR_FLASH_ADDR0;
|
||||
* CAREFUL: This is now Little Endian
|
||||
*/
|
||||
__sfr __at(0xb7) SFR_NIC_CTRL;
|
||||
__sfr16 __at(0xb4b3) SFR_NIC_DATA_U16LE;
|
||||
__sfr __at(0xb3) SFR_NIC_DATA_L;
|
||||
__sfr __at(0xb4) SFR_NIC_DATA_H;
|
||||
__sfr16 __at(0xb6b5) SFR_NIC_RING_U16LE;
|
||||
__sfr __at(0xb5) SFR_NIC_RING_L;
|
||||
__sfr __at(0xb6) SFR_NIC_RING_H;
|
||||
|
||||
Reference in New Issue
Block a user