- More bounds checking and value wrap around protection
- Wrapped read and write operations with noInterrupts()/interrupts()
- (SAMD51) Moved invalidate_CMCC_cache() to execute before waiting for operation completion
- Replaced division/multiplication with bit shifting
- Additional performance optimizations