aboutsummaryrefslogtreecommitdiff
path: root/asm/blinkdelay/dat.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2021-06-05 11:10:23 +0000
committerrodri <rgl@antares-labs.eu>2021-06-05 11:10:23 +0000
commitedf5f145013aa28ffbc7f19f874cd489a92f8449 (patch)
tree05a7dfdae1b63a79bdfbb1fab84af35a51b5b99c /asm/blinkdelay/dat.h
downloadavrtoys-edf5f145013aa28ffbc7f19f874cd489a92f8449.tar.gz
avrtoys-edf5f145013aa28ffbc7f19f874cd489a92f8449.tar.bz2
avrtoys-edf5f145013aa28ffbc7f19f874cd489a92f8449.zip
public release.HEADmaster
Diffstat (limited to 'asm/blinkdelay/dat.h')
-rw-r--r--asm/blinkdelay/dat.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/asm/blinkdelay/dat.h b/asm/blinkdelay/dat.h
new file mode 100644
index 0000000..d3783b6
--- /dev/null
+++ b/asm/blinkdelay/dat.h
@@ -0,0 +1,20 @@
+/* Data Registers */
+.equ PORTB, 0x05
+.equ PORTB0, 0
+.equ PORTB1, 1
+.equ PORTB2, 2
+.equ PORTB3, 3
+.equ PORTB4, 4
+.equ PORTB5, 5
+.equ PORTB6, 6
+.equ PORTB7, 7
+/* Data Direction Registers */
+.equ DDRB, 0x04
+.equ DDRB0, 0
+.equ DDRB1, 1
+.equ DDRB2, 2
+.equ DDRB3, 3
+.equ DDRB4, 4
+.equ DDRB5, 5
+.equ DDRB6, 6
+.equ DDRB7, 7