Agent skill
uart-expert
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/uart-expert
SKILL.md
UART Expert - Intel 8250
Expert knowledge for serial communication (with ES-1841 caveats).
WARNING: ES-1841's serial port is "completely incompatible" with standard IBM PC.
Key Specifications
| Property | Value |
|---|---|
| I/O Ports | 3F8h (COM1), 2F8h (COM2) |
| IRQ | COM1=IRQ4, COM2=IRQ3 |
| Clock | 1.8432 MHz |
Register Map (Base + Offset)
| Offset | DLAB=0 Read | DLAB=0 Write | DLAB=1 |
|---|---|---|---|
| +0 | RBR | THR | DLL |
| +1 | IER | IER | DLM |
| +3 | LCR | LCR | - |
| +4 | MCR | MCR | - |
| +5 | LSR | - | - |
| +6 | MSR | - | - |
Key Registers
LCR (Base+3): Word length, stop bits, parity, DLAB
LSR (Base+5):
- Bit 0: Data Ready
- Bit 5: THR Empty
MCR (Base+4):
- Bit 0: DTR
- Bit 1: RTS
- Bit 3: OUT2 (IRQ enable)
Baud Rate
Divisor = 1843200 / (16 × Baud)
| Baud | Divisor |
|---|---|
| 9600 | 12 |
| 4800 | 24 |
ES-1841 Notes
Consider minimal/stub implementation due to incompatibility.
References
See references/ for detailed documentation.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?