1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-21 16:45:08 -05:00

Update README.md

This commit is contained in:
Jarno Lehtinen 2022-04-05 21:29:26 +03:00 committed by GitHub
parent a8f493518d
commit 14188489bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,12 @@ sei
``` ```
375ns 375ns
## using i/o space ## using data/i/o space
- Can be used with in/out (i/o space) or lds (data space = i/o address+0x20)? - lds can load from io (if +0x20 added to address) or data space
- Compiler can detect what space is used and uses correct address? - sts can store from register to io (if +0x20 added to address) or data space
- in/out is 1 cycle? lds 2 cycles? - in can load from io to register
- out can write from register to io
- only one io/data address space access within one instruction?
## avr asm ## avr asm
- http://www.nongnu.org/avr-libc/user-manual/inline_asm.html - http://www.nongnu.org/avr-libc/user-manual/inline_asm.html