DS80C400 C Libraries: Resource Usage
- Timer 0 : Used by the system as a millisecond ticker
- Timer 1 : Unused
- Timer 2 : Used by the system to create baud rates for serial 0
- Timer 3 : Unused by the ROM. Used by the Keil debug monitor to create baud rates for serial 2
- Serial 0 : Used by the ROM for default serial (printf) output
- Serial 1 : Unused by the ROM. Tied to DS2480 on the socket board.
- Serial 2 : Unused by the ROM. Used by the Keil debug monitor for communication.
- Data pointer 0 : Used extensively in ROM. Applications may use freely. Interrupts should preserve if they use it.
- Data pointer 1 : Used extensively in ROM. Applications may use freely. Interrupts should preserve if they use it.
- Data pointer 2 : Never used in ROM.
- Data pointer 3 : Used occasionally (and preserved) in ROM. Applications may use freely. Interrupts should preserve if they use it.
- The DS80C400 ROM installs handlers for the following interrupts:
- Timer 0, high priority : System millisecond timer
- Power Fail Interrupt, highest priority: Waits for power fail to clear, then resets
- Ethernet Activity Interrupt, regular priority:
- Ethernet Power Mode Interrupt, regular priority: