Commit 39f31634 authored by Medlem's avatar Medlem

Snorre er lat

parent 7bef2a9d

Microsoft Visual Studio Solution File, Format Version 12.00
# Atmel Studio Solution File, Format Version 11.00
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "underp", "underp\underp.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|AVR = Debug|AVR
Release|AVR = Release|AVR
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.ActiveCfg = Debug|AVR
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.Build.0 = Debug|AVR
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.ActiveCfg = Release|AVR
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.Build.0 = Release|AVR
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
SHELL := cmd.exe
RM := rm -rf
USER_OBJS :=
LIBS :=
PROJ :=
O_SRCS :=
C_SRCS :=
S_SRCS :=
S_UPPER_SRCS :=
OBJ_SRCS :=
ASM_SRCS :=
PREPROCESSING_SRCS :=
OBJS :=
OBJS_AS_ARGS :=
C_DEPS :=
C_DEPS_AS_ARGS :=
EXECUTABLES :=
OUTPUT_FILE_PATH :=
OUTPUT_FILE_PATH_AS_ARGS :=
AVR_APP_PATH :=$$$AVR_APP_PATH$$$
QUOTE := "
ADDITIONAL_DEPENDENCIES:=
OUTPUT_FILE_DEP:=
LIB_DEP:=
LINKER_SCRIPT_DEP:=
# Every subdirectory with source files must be described here
SUBDIRS :=
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../adc.c \
../gpio.c \
../main.c \
../optic.c \
../timer.c
PREPROCESSING_SRCS +=
ASM_SRCS +=
OBJS += \
adc.o \
gpio.o \
main.o \
optic.o \
timer.o
OBJS_AS_ARGS += \
adc.o \
gpio.o \
main.o \
optic.o \
timer.o
C_DEPS += \
adc.d \
gpio.d \
main.d \
optic.d \
timer.d
C_DEPS_AS_ARGS += \
adc.d \
gpio.d \
main.d \
optic.d \
timer.d
OUTPUT_FILE_PATH +=underp.elf
OUTPUT_FILE_PATH_AS_ARGS +=underp.elf
ADDITIONAL_DEPENDENCIES:=
OUTPUT_FILE_DEP:= ./makedep.mk
LIB_DEP+=
LINKER_SCRIPT_DEP+=
# AVR32/GNU C Compiler
./%.o: .././%.c
@echo Building file: $<
@echo Invoking: AVR/GNU C Compiler : 5.4.0
$(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -x c -funsigned-char -funsigned-bitfields -DDEBUG -I"C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include" -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -g2 -Wall -mmcu=atmega168 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\gcc\dev\atmega168" -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
@echo Finished building: $<
# AVR32/GNU Preprocessing Assembler
# AVR32/GNU Assembler
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) $(LINKER_SCRIPT_DEP)
@echo Building target: $@
@echo Invoking: AVR/GNU Linker : 5.4.0
$(QUOTE)C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="underp.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mmcu=atmega168 -B "C:\Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\gcc\dev\atmega168"
@echo Finished building target: $@
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "underp.elf" "underp.hex"
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "underp.elf" "underp.eep" || exit 0
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "underp.elf" > "underp.lss"
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "underp.elf" "underp.srec"
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avr-size.exe" "underp.elf"
# Other Targets
clean:
-$(RM) $(OBJS_AS_ARGS) $(EXECUTABLES)
-$(RM) $(C_DEPS_AS_ARGS)
rm -rf "underp.elf" "underp.a" "underp.hex" "underp.lss" "underp.eep" "underp.map" "underp.srec" "underp.usersignatures"
\ No newline at end of file
adc.d adc.o: .././adc.c \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h \
.././gpio_config.h .././adc.h
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h:
.././gpio_config.h:
.././adc.h:
gpio.d gpio.o: .././gpio.c .././gpio.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h \
.././gpio_config.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h
.././gpio.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h:
.././gpio_config.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h:
main.d main.o: .././main.c \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h \
.././timer.h .././gpio.h .././adc.h .././optic.h
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h:
.././timer.h:
.././gpio.h:
.././adc.h:
.././optic.h:
################################################################################
# Automatically-generated file. Do not edit or delete the file
################################################################################
adc.c
gpio.c
main.c
optic.c
timer.c
optic.d optic.o: .././optic.c .././optic.h .././optic_config.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h \
.././timer.h .././adc.h .././gpio.h
.././optic.h:
.././optic_config.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h:
.././timer.h:
.././adc.h:
.././gpio.h:
timer.d timer.o: .././timer.c .././timer.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h \
.././gpio_config.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h \
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h \
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h
.././timer.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\5.4.0\include\stdint.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h:
.././gpio_config.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\io.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\sfr_defs.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iom168.h:
C:\Program\ Files\ (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.2.132\include/avr/iomx8.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\portpins.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\common.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\version.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\fuse.h:
c:\program\ files\ (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\avr\lock.h:
:100000000C9434000C9451000C9451000C94510049
:100010000C9451000C9451000C9451000C9451001C
:100020000C9451000C9451000C9451000C9451000C
:100030000C9451000C9451000C9451000C945100FC
:100040000C9451000C9451000C9451000C945100EC
:100050000C9451000C9451000C9451000C945100DC
:100060000C9451000C94510011241FBECFEFD4E02A
:10007000DEBFCDBF11E0A0E0B1E0E8E1F4E002C0F6
:1000800005900D92A234B107D9F721E0A2E4B1E0C6
:1000900001C01D92A236B207E1F70E942E010C9416
:1000A0000A020C940000EAE7F0E087E88083ACE7FE
:1000B000B0E08C91807F84608C93109244018081A9
:1000C00080648083089580917A0084FF88C0809145
:1000D0004401813009F03FC080917800909179000F
:1000E000A8E4B1E0E0914501F0E0EE0FFF1FE85B0E
:1000F000FE4F91838083ECE7F0E08081807F846015
:10010000808310924401809145018F5F83708093BA
:1001100045012D913C91119712968D919C911397C9
:10012000820F931F14962D913C911597820F931F68
:1001300016962D913C911797820F931F9093430130
:1001400080934201929582958F7089279F708927AD
:10015000809300013FC08091780090917900A0E5E4
:10016000B1E0E0914601F0E0EE0FFF1FE05BFE4FD3
:1001700091838083ECE7F0E08081807F85608083DD
:1001800081E080934401809146018F5F837080936A
:1001900046012D913C91119712968D919C91139748
:1001A000820F931F14962D913C911597820F931FE8
:1001B00016962D913C911797820F931F90934301B0
:1001C00080934201929582958F7089279F7089272D
:1001D00080934701EAE7F0E080818065808308959D
:1001E000809147010895809100010895589A599A85
:1001F0005A9A5B9A429A439A5C9A5F9A089586B19A
:1002000056B199B149B182FB882780F9441F442730
:10021000441F28E0429F800D112453FB222720F920
:1002200030E0220F331F280F94FB882780F994E0D9
:10023000899F200D1124822F089529B1322F31700A
:1002400099B19270292F230F99B19470920F89B1AF
:100250008870890F089586B1817008950E94F60014
:100260000E94C0010E9453000E9449010E94E601C1
:100270000E9463000E9466010E942B018823C1F343
:100280000E94A2010E94B5010E942B018111FCCFA6
:10029000EFCF0E941D01E82FF0E0EE0FFF1FEF5D92
:1002A000FE4F8081918190935B0180935A010E945F
:1002B000FF00E82FF0E0EE0FFF1FEF5FFE4F8081A1
:1002C000918190935901809358010895CF92DF92C4
:1002D000EF92FF92C0905A01D0905B01E12CF12C7B
:1002E0000E94F000A82FB0E0A70196010E94F00143
:1002F000BB27A92F982F872F90935F0180935E01D2
:10030000C0905801D0905901E12CF12C0E94F300CB
:10031000A82FB0E0A70196010E94F001BB27A92FEA
:10032000982F872F2091580130915901B901680FFA
:10033000791F70935D0160935C01FF90EF90DF90F7
:10034000CF9008950E94ED0180915E0190915F0130
:100350000E94CB010E942B01882321F00E94D6012C
:100360008823C1F30E94EB01089580915C01909174
:100370005D010E94CB010E94D6018823E1F308951C
:10038000559A87E087BD83E284BD88E085BD82E021
:100390008093810008952091840030918500820F20
:1003A000931F9093610180936001089520918400D0
:1003B000309185008091600190916101281B390B7B
:1003C00081E0121613060CF080E0089518BC85B584
:1003D000816085BD089518BC089586E088BD0895A4
:1003E0000E94FB01A59F900DB49F900DA49F800DCE
:1003F000911D11240895A29FB001B39FC001A39F36
:10040000700D811D1124911DB29F700D811D11244D
:08041000911D0895F894FFCF3F
:10041800FF6400C800900158022003E803B0047884
:100428000540060807D00798086009280AF00AB8A6
:100438000B02006400C8002C019001F4015802BCB2
:100448000220038403E803B004780540060807D0B7
:0204580007009B
:00000001FF
This diff is collapsed.
This diff is collapsed.
S00E0000756E646572702E7372656388
S11300000C9434000C9451000C9451000C94510045
S11300100C9451000C9451000C9451000C94510018
S11300200C9451000C9451000C9451000C94510008
S11300300C9451000C9451000C9451000C945100F8
S11300400C9451000C9451000C9451000C945100E8
S11300500C9451000C9451000C9451000C945100D8
S11300600C9451000C94510011241FBECFEFD4E026
S1130070DEBFCDBF11E0A0E0B1E0E8E1F4E002C0F2
S113008005900D92A234B107D9F721E0A2E4B1E0C2
S113009001C01D92A236B207E1F70E942E010C9412
S11300A00A020C940000EAE7F0E087E88083ACE7FA
S11300B0B0E08C91807F84608C93109244018081A5
S11300C080648083089580917A0084FF88C0809141
S11300D04401813009F03FC080917800909179000B
S11300E0A8E4B1E0E0914501F0E0EE0FFF1FE85B0A
S11300F0FE4F91838083ECE7F0E08081807F846011
S1130100808310924401809145018F5F83708093B6
S113011045012D913C91119712968D919C911397C5
S1130120820F931F14962D913C911597820F931F64
S113013016962D913C911797820F931F909343012C
S113014080934201929582958F7089279F708927A9
S1130150809300013FC08091780090917900A0E5E0
S1130160B1E0E0914601F0E0EE0FFF1FE05BFE4FCF
S113017091838083ECE7F0E08081807F85608083D9
S113018081E080934401809146018F5F8370809366
S113019046012D913C91119712968D919C91139744
S11301A0820F931F14962D913C911597820F931FE4
S11301B016962D913C911797820F931F90934301AC
S11301C080934201929582958F7089279F70892729
S11301D080934701EAE7F0E0808180658083089599
S11301E0809147010895809100010895589A599A81
S11301F05A9A5B9A429A439A5C9A5F9A089586B196
S113020056B199B149B182FB882780F9441F44272C
S1130210441F28E0429F800D112453FB222720F91C
S113022030E0220F331F280F94FB882780F994E0D5
S1130230899F200D1124822F089529B1322F317006
S113024099B19270292F230F99B19470920F89B1AB
S11302508870890F089586B1817008950E94F60010
S11302600E94C0010E9453000E9449010E94E601BD
S11302700E9463000E9466010E942B018823C1F33F
S11302800E94A2010E94B5010E942B018111FCCFA2
S1130290EFCF0E941D01E82FF0E0EE0FFF1FEF5D8E
S11302A0FE4F8081918190935B0180935A010E945B
S11302B0FF00E82FF0E0EE0FFF1FEF5FFE4F80819D
S11302C0918190935901809358010895CF92DF92C0
S11302D0EF92FF92C0905A01D0905B01E12CF12C77
S11302E00E94F000A82FB0E0A70196010E94F0013F
S11302F0BB27A92F982F872F90935F0180935E01CE
S1130300C0905801D0905901E12CF12C0E94F300C7
S1130310A82FB0E0A70196010E94F001BB27A92FE6
S1130320982F872F2091580130915901B901680FF6
S1130330791F70935D0160935C01FF90EF90DF90F3
S1130340CF9008950E94ED0180915E0190915F012C
S11303500E94CB010E942B01882321F00E94D60128
S11303608823C1F30E94EB01089580915C01909170
S11303705D010E94CB010E94D6018823E1F3089518
S1130380559A87E087BD83E284BD88E085BD82E01D
S11303908093810008952091840030918500820F1C
S11303A0931F9093610180936001089520918400CC
S11303B0309185008091600190916101281B390B77
S11303C081E0121613060CF080E0089518BC85B580
S11303D0816085BD089518BC089586E088BD0895A0
S11303E00E94FB01A59F900DB49F900DA49F800DCA
S11303F0911D11240895A29FB001B39FC001A39F32
S1130400700D811D1124911DB29F700D811D112449
S10B0410911D0895F894FFCF3B
S1130418FF6400C800900158022003E803B0047880
S11304280540060807D00798086009280AF00AB8A2
S11304380B02006400C8002C019001F4015802BCAE
S11304480220038403E803B004780540060807D0B3
S1050458070097
S9030000FC
/*
* adc.c
*
* Created: 14/07/2016 16:33:10
* Author: Snorre
*/
#include <avr/io.h>
#include "gpio_config.h"
#include "adc.h"
#define SMOOOTH 4
#define ADC_ONTIME_SELECT 0
#define ADC_OFFTIME_SELECT 1
static uint16_t adc_buf_ontime[SMOOOTH], adc_buf_offtime[SMOOOTH];
static uint8_t adc_val_ontime = 0, adc_val_offtime = 255;
static uint8_t adc_ontime_iterator, adc_offtime_iterator, adc_channel_select;
void adc_init( void )
{