sfr: add 16 bit SFR for the timer0.

So we don't have to manual split 16-bit value into
for bytes.
Let the compiler do the work.
This commit is contained in:
René van Dorst
2025-12-26 10:07:11 +01:00
parent 2a7b8f9838
commit 0abe83e3e5
+4
View File
@@ -97,3 +97,7 @@ __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;
/* Standard 8051 sfr */
// Timer 0 value
__sfr16 __at(0x8c8a) T0_U16;