From 67d25d837ac55f28a366c0a3b262e439a6e75fc3 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 19 Aug 2017 12:15:28 +0200 Subject: Add AmForth --- .../avr8/devices/at90pwm161/blocks/DA_CONVERTER.frt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 amforth-6.5/avr8/devices/at90pwm161/blocks/DA_CONVERTER.frt (limited to 'amforth-6.5/avr8/devices/at90pwm161/blocks/DA_CONVERTER.frt') diff --git a/amforth-6.5/avr8/devices/at90pwm161/blocks/DA_CONVERTER.frt b/amforth-6.5/avr8/devices/at90pwm161/blocks/DA_CONVERTER.frt new file mode 100644 index 0000000..9c36fb7 --- /dev/null +++ b/amforth-6.5/avr8/devices/at90pwm161/blocks/DA_CONVERTER.frt @@ -0,0 +1,19 @@ +\ Generated automatically for at90pwm161 +\ #require bitnames.frt + +\ DA_CONVERTER +$59 constant DACH \ DAC Data Register High Byte + $ff constant DACH_DACH \ DAC Data Register High Byte Bi + 59 $ff bitmask: DACH.DACH \ DAC Data Register High Byte Bi +$58 constant DACL \ DAC Data Register Low Byte + $ff constant DACL_DACL \ DAC Data Register Low Byte Bit + 58 $ff bitmask: DACL.DACL \ DAC Data Register Low Byte Bit +$76 constant DACON \ DAC Control Register + $80 constant DACON_DAATE \ DAC Auto Trigger Enable Bit + 76 $80 bitmask: DACON.DAATE \ DAC Auto Trigger Enable Bit + $70 constant DACON_DATS \ DAC Trigger Selection Bits + 76 $70 bitmask: DACON.DATS \ DAC Trigger Selection Bits + $4 constant DACON_DALA \ DAC Left Adjust + 76 $4 bitmask: DACON.DALA \ DAC Left Adjust + $1 constant DACON_DAEN \ DAC Enable Bit + 76 $1 bitmask: DACON.DAEN \ DAC Enable Bit -- cgit v1.2.3