<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">\r
<PropertyGroup>\r
<SchemaVersion>2.0</SchemaVersion>\r
- <ProjectVersion>6.0</ProjectVersion>\r
+ <ProjectVersion>6.2</ProjectVersion>\r
<ProjectGuid>{3d8959cd-73ca-4147-9c1b-cfcf2ee40326}</ProjectGuid>\r
<Name>$(MSBuildProjectName)</Name>\r
<AssemblyName>$(MSBuildProjectName)</AssemblyName>\r
<AsfVersion>2.11.1</AsfVersion>\r
<AsfFrameworkConfig>\r
<framework-data>\r
- <options>\r
- <option id="common.boards" value="Add" config="" content-id="Atmel.ASF" />\r
- <option id="common.services.basic.clock" value="Add" config="" content-id="Atmel.ASF" />\r
- <option id="common.services.basic.gpio" value="Add" config="" content-id="Atmel.ASF" />\r
- <option id="sam.drivers.pio" value="Add" config="" content-id="Atmel.ASF" />\r
- <option id="sam.drivers.usart" value="Add" config="" content-id="Atmel.ASF" />\r
- </options>\r
- <configurations />\r
- <files>\r
- <file path="src/asf.h" framework="" version="3.1.3" source="./common/applications/user_application/sam4s16c_sam4s_ek/as5_arm_template/asf.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/main.c" framework="" version="3.1.3" source="common/applications/user_application/main.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/config/conf_board.h" framework="" version="3.1.3" source="common/applications/user_application/sam4s16c_sam4s_ek/conf_board.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/boards/board.h" framework="" version="3.1.3" source="common/boards/board.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/gpio/gpio.h" framework="" version="3.1.3" source="common/services/gpio/gpio.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/gpio/sam_ioport/sam_gpio.h" framework="" version="3.1.3" source="common/services/gpio/sam_ioport/sam_gpio.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/utils/interrupt.h" framework="" version="3.1.3" source="common/utils/interrupt.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/utils/interrupt/interrupt_sam_nvic.c" framework="" version="3.1.3" source="common/utils/interrupt/interrupt_sam_nvic.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/utils/interrupt/interrupt_sam_nvic.h" framework="" version="3.1.3" source="common/utils/interrupt/interrupt_sam_nvic.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/boards/sam4s_ek/init.c" framework="" version="3.1.3" source="sam/boards/sam4s_ek/init.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/boards/sam4s_ek/sam4s_ek.h" framework="" version="3.1.3" source="sam/boards/sam4s_ek/sam4s_ek.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/pio/pio.c" framework="" version="3.1.3" source="sam/drivers/pio/pio.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/pio/pio.h" framework="" version="3.1.3" source="sam/drivers/pio/pio.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/pio/pio_handler.c" framework="" version="3.1.3" source="sam/drivers/pio/pio_handler.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/pio/pio_handler.h" framework="" version="3.1.3" source="sam/drivers/pio/pio_handler.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_acc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_acc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_adc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_adc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_chipid.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_chipid.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_crccu.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_crccu.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_dacc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_dacc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_efc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_efc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_gpbr.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_gpbr.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_hsmci.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_hsmci.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_matrix.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_matrix.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pdc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pdc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pio.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pio.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pmc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pmc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pwm.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pwm.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_rstc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_rstc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_rtc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_rtc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_rtt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_rtt.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_smc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_smc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_spi.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_spi.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_ssc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_ssc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_supc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_supc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_tc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_tc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_twi.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_twi.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_uart.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_uart.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_udp.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_udp.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_usart.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_usart.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_wdt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_wdt.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_acc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_acc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_adc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_adc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_chipid.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_chipid.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_crccu.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_crccu.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_dacc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_dacc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_efc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_efc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_gpbr.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_gpbr.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_hsmci.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_hsmci.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_matrix.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_matrix.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pioa.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pioa.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_piob.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_piob.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pioc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pioc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pmc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pmc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pwm.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pwm.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_rstc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_rstc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_rtc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_rtc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_rtt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_rtt.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_smc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_smc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_spi.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_spi.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_ssc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_ssc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_supc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_supc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_tc0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_tc0.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_tc1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_tc1.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_twi0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_twi0.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_twi1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_twi1.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_uart0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_uart0.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_uart1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_uart1.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_udp.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_udp.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_usart0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_usart0.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_usart1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_usart1.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_wdt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_wdt.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/pio/pio_sam4s16c.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/pio/pio_sam4s16c.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/sam4s.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/sam4s.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/include/sam4s16c.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/sam4s16c.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/exceptions.c" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/exceptions.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/exceptions.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/exceptions.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/gcc/startup_sam4s.c" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/gcc/startup_sam4s.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/system_sam4s.c" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/system_sam4s.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/system_sam4s.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/system_sam4s.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/compiler.h" framework="" version="3.1.3" source="sam/utils/compiler.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/header_files/io.h" framework="" version="3.1.3" source="sam/utils/header_files/io.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld" framework="" version="3.1.3" source="sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/make/Makefile.in" framework="" version="3.1.3" source="sam/utils/make/Makefile.in" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/parts.h" framework="" version="3.1.3" source="sam/utils/parts.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/preprocessor/mrepeat.h" framework="" version="3.1.3" source="sam/utils/preprocessor/mrepeat.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/preprocessor/preprocessor.h" framework="" version="3.1.3" source="sam/utils/preprocessor/preprocessor.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/preprocessor/stringz.h" framework="" version="3.1.3" source="sam/utils/preprocessor/stringz.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/preprocessor/tpaste.h" framework="" version="3.1.3" source="sam/utils/preprocessor/tpaste.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/utils/status_codes.h" framework="" version="3.1.3" source="sam/utils/status_codes.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf" framework="" version="3.1.3" source="thirdparty/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/Include/arm_math.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/arm_math.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/Include/core_cm4.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cm4.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/Include/core_cm4_simd.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cm4_simd.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/Include/core_cmFunc.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cmFunc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/Include/core_cmInstr.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cmInstr.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/Lib/GCC/libarm_cortexM4l_math.a" framework="" version="3.1.3" source="thirdparty/CMSIS/Lib/GCC/libarm_cortexM4l_math.a" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/README.txt" framework="" version="3.1.3" source="thirdparty/CMSIS/README.txt" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/thirdparty/CMSIS/license.txt" framework="" version="3.1.3" source="thirdparty/CMSIS/license.txt" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/pmc/pmc.c" framework="" version="" source="sam\drivers\pmc\pmc.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/pmc/pmc.h" framework="" version="" source="sam\drivers\pmc\pmc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/pmc/sleep.h" framework="" version="" source="sam\drivers\pmc\sleep.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/sam4s/sysclk.c" framework="" version="" source="common\services\clock\sam4s\sysclk.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/sam4s/pll.h" framework="" version="" source="common\services\clock\sam4s\pll.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/sam4s/osc.h" framework="" version="" source="common\services\clock\sam4s\osc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/genclk.h" framework="" version="" source="common\services\clock\genclk.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/osc.h" framework="" version="" source="common\services\clock\osc.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/sam4s/sysclk.h" framework="" version="" source="common\services\clock\sam4s\sysclk.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/sam4s/genclk.h" framework="" version="" source="common\services\clock\sam4s\genclk.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/sysclk.h" framework="" version="" source="common\services\clock\sysclk.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/common/services/clock/pll.h" framework="" version="" source="common\services\clock\pll.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/config/conf_clock.h" framework="" version="" source="common\services\clock\sam4s\module_config\conf_clock.h" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/usart/usart.c" framework="" version="" source="sam\drivers\usart\usart.c" changed="False" content-id="Atmel.ASF" />\r
- <file path="src/asf/sam/drivers/usart/usart.h" framework="" version="" source="sam\drivers\usart\usart.h" changed="False" content-id="Atmel.ASF" />\r
- </files>\r
- <documentation help="http://asf.atmel.com/docs/3.1.3/common.applications.user_application.sam4s_ek/html/index.html" />\r
- </framework-data>\r
+ <options>\r
+ <option id="common.boards" value="Add" config="" content-id="Atmel.ASF" />\r
+ <option id="common.services.basic.clock" value="Add" config="" content-id="Atmel.ASF" />\r
+ <option id="common.services.basic.gpio" value="Add" config="" content-id="Atmel.ASF" />\r
+ <option id="sam.drivers.pio" value="Add" config="" content-id="Atmel.ASF" />\r
+ <option id="sam.drivers.usart" value="Add" config="" content-id="Atmel.ASF" />\r
+ <option id="sam.drivers.tc" value="Add" config="" content-id="Atmel.ASF" />\r
+ </options>\r
+ <configurations>\r
+ <configuration key="config.sam.pio.pio_handler" value="yes" default="yes" content-id="Atmel.ASF" />\r
+ </configurations>\r
+ <files>\r
+ <file path="src/asf.h" framework="" version="3.1.3" source="./common/applications/user_application/sam4s16c_sam4s_ek/as5_arm_template/asf.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/main.c" framework="" version="3.1.3" source="common/applications/user_application/main.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/config/conf_board.h" framework="" version="3.1.3" source="common/applications/user_application/sam4s16c_sam4s_ek/conf_board.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/boards/board.h" framework="" version="3.1.3" source="common/boards/board.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/gpio/gpio.h" framework="" version="3.1.3" source="common/services/gpio/gpio.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/gpio/sam_ioport/sam_gpio.h" framework="" version="3.1.3" source="common/services/gpio/sam_ioport/sam_gpio.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/utils/interrupt.h" framework="" version="3.1.3" source="common/utils/interrupt.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/utils/interrupt/interrupt_sam_nvic.c" framework="" version="3.1.3" source="common/utils/interrupt/interrupt_sam_nvic.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/utils/interrupt/interrupt_sam_nvic.h" framework="" version="3.1.3" source="common/utils/interrupt/interrupt_sam_nvic.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/boards/sam4s_ek/init.c" framework="" version="3.1.3" source="sam/boards/sam4s_ek/init.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/boards/sam4s_ek/sam4s_ek.h" framework="" version="3.1.3" source="sam/boards/sam4s_ek/sam4s_ek.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/pio/pio.c" framework="" version="3.1.3" source="sam/drivers/pio/pio.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/pio/pio.h" framework="" version="3.1.3" source="sam/drivers/pio/pio.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/pio/pio_handler.c" framework="" version="3.1.3" source="sam/drivers/pio/pio_handler.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/pio/pio_handler.h" framework="" version="3.1.3" source="sam/drivers/pio/pio_handler.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_acc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_acc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_adc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_adc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_chipid.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_chipid.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_crccu.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_crccu.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_dacc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_dacc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_efc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_efc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_gpbr.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_gpbr.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_hsmci.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_hsmci.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_matrix.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_matrix.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pdc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pdc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pio.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pio.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pmc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pmc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_pwm.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_pwm.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_rstc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_rstc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_rtc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_rtc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_rtt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_rtt.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_smc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_smc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_spi.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_spi.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_ssc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_ssc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_supc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_supc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_tc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_tc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_twi.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_twi.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_uart.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_uart.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_udp.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_udp.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_usart.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_usart.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/component/component_wdt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/component/component_wdt.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_acc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_acc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_adc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_adc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_chipid.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_chipid.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_crccu.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_crccu.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_dacc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_dacc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_efc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_efc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_gpbr.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_gpbr.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_hsmci.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_hsmci.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_matrix.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_matrix.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pioa.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pioa.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_piob.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_piob.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pioc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pioc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pmc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pmc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_pwm.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_pwm.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_rstc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_rstc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_rtc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_rtc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_rtt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_rtt.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_smc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_smc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_spi.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_spi.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_ssc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_ssc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_supc.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_supc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_tc0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_tc0.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_tc1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_tc1.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_twi0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_twi0.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_twi1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_twi1.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_uart0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_uart0.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_uart1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_uart1.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_udp.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_udp.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_usart0.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_usart0.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_usart1.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_usart1.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/instance/instance_wdt.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/instance/instance_wdt.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/pio/pio_sam4s16c.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/pio/pio_sam4s16c.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/sam4s.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/sam4s.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/include/sam4s16c.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/include/sam4s16c.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/exceptions.c" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/exceptions.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/exceptions.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/exceptions.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/gcc/startup_sam4s.c" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/gcc/startup_sam4s.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/system_sam4s.c" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/system_sam4s.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/cmsis/sam4s/source/templates/system_sam4s.h" framework="" version="3.1.3" source="sam/utils/cmsis/sam4s/source/templates/system_sam4s.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/compiler.h" framework="" version="3.1.3" source="sam/utils/compiler.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/header_files/io.h" framework="" version="3.1.3" source="sam/utils/header_files/io.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld" framework="" version="3.1.3" source="sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/make/Makefile.in" framework="" version="3.1.3" source="sam/utils/make/Makefile.in" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/parts.h" framework="" version="3.1.3" source="sam/utils/parts.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/preprocessor/mrepeat.h" framework="" version="3.1.3" source="sam/utils/preprocessor/mrepeat.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/preprocessor/preprocessor.h" framework="" version="3.1.3" source="sam/utils/preprocessor/preprocessor.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/preprocessor/stringz.h" framework="" version="3.1.3" source="sam/utils/preprocessor/stringz.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/preprocessor/tpaste.h" framework="" version="3.1.3" source="sam/utils/preprocessor/tpaste.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/utils/status_codes.h" framework="" version="3.1.3" source="sam/utils/status_codes.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf" framework="" version="3.1.3" source="thirdparty/CMSIS/CMSIS END USER LICENCE AGREEMENT.pdf" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/Include/arm_math.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/arm_math.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/Include/core_cm4.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cm4.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/Include/core_cm4_simd.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cm4_simd.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/Include/core_cmFunc.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cmFunc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/Include/core_cmInstr.h" framework="" version="3.1.3" source="thirdparty/CMSIS/Include/core_cmInstr.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/Lib/GCC/libarm_cortexM4l_math.a" framework="" version="3.1.3" source="thirdparty/CMSIS/Lib/GCC/libarm_cortexM4l_math.a" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/README.txt" framework="" version="3.1.3" source="thirdparty/CMSIS/README.txt" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/thirdparty/CMSIS/license.txt" framework="" version="3.1.3" source="thirdparty/CMSIS/license.txt" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/pmc/pmc.c" framework="" version="" source="sam\drivers\pmc\pmc.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/pmc/pmc.h" framework="" version="" source="sam\drivers\pmc\pmc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/pmc/sleep.h" framework="" version="" source="sam\drivers\pmc\sleep.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/sam4s/sysclk.c" framework="" version="" source="common\services\clock\sam4s\sysclk.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/sam4s/pll.h" framework="" version="" source="common\services\clock\sam4s\pll.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/sam4s/osc.h" framework="" version="" source="common\services\clock\sam4s\osc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/genclk.h" framework="" version="" source="common\services\clock\genclk.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/osc.h" framework="" version="" source="common\services\clock\osc.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/sam4s/sysclk.h" framework="" version="" source="common\services\clock\sam4s\sysclk.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/sam4s/genclk.h" framework="" version="" source="common\services\clock\sam4s\genclk.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/sysclk.h" framework="" version="" source="common\services\clock\sysclk.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/common/services/clock/pll.h" framework="" version="" source="common\services\clock\pll.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/config/conf_clock.h" framework="" version="" source="common\services\clock\sam4s\module_config\conf_clock.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/usart/usart.c" framework="" version="" source="sam\drivers\usart\usart.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/asf/sam/drivers/usart/usart.h" framework="" version="" source="sam\drivers\usart\usart.h" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/ASF/sam/drivers/tc/tc.c" framework="" version="3.6.0" source="sam\drivers\tc\tc.c" changed="False" content-id="Atmel.ASF" />\r
+ <file path="src/ASF/sam/drivers/tc/tc.h" framework="" version="3.6.0" source="sam\drivers\tc\tc.h" changed="False" content-id="Atmel.ASF" />\r
+ </files>\r
+ <documentation help="" />\r
+ <offline-documentation help="" />\r
+ <dependencies>\r
+ <content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.6.0" />\r
+ </dependencies>\r
+</framework-data>\r
</AsfFrameworkConfig>\r
<avrdevice>ATSAM4S16C</avrdevice>\r
<avrdeviceseries>sam4s</avrdeviceseries>\r
<Language>C</Language>\r
- <ToolchainName>com.Atmel.ARMGCC</ToolchainName>\r
+ <ToolchainName>com.Atmel.ARMGCC.C</ToolchainName>\r
<ArmGccProjectExtensions />\r
<OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>\r
<OutputFileName>$(MSBuildProjectName)</OutputFileName>\r
<ToolchainFlavour>Native</ToolchainFlavour>\r
<KeepTimersRunning>true</KeepTimersRunning>\r
<OverrideVtor>false</OverrideVtor>\r
- <OverrideVtorValue />\r
+ <OverrideVtorValue>exception_table</OverrideVtorValue>\r
<eraseonlaunchrule>1</eraseonlaunchrule>\r
<avrtoolinterface>JTAG</avrtoolinterface>\r
<avrtool>com.atmel.avrdbg.tool.samice</avrtool>\r
<com_atmel_avrdbg_tool_samice>\r
<ToolType>com.atmel.avrdbg.tool.samice</ToolType>\r
<ToolName>J-Link</ToolName>\r
- <ToolNumber>000158008149</ToolNumber>\r
- <KeepTimersRunning>true</KeepTimersRunning>\r
- <OverrideVtor>false</OverrideVtor>\r
- <OverrideVtorValue>\r
- </OverrideVtorValue>\r
+ <ToolNumber>158002654</ToolNumber>\r
<Channel>\r
<host>127.0.0.1</host>\r
<port>1637</port>\r
<ToolOptions>\r
<InterfaceName>JTAG</InterfaceName>\r
<InterfaceProperties>\r
- <JtagDbgClock>4000000</JtagDbgClock>\r
+ <JtagDbgClock>0</JtagDbgClock>\r
<JtagProgClock>1000000</JtagProgClock>\r
<IspClock>150000</IspClock>\r
<JtagInChain>false</JtagInChain>\r
- <JtagEnableExtResetOnStartSession>false</JtagEnableExtResetOnStartSession>\r
+ <JtagEnableExtResetOnStartSession>true</JtagEnableExtResetOnStartSession>\r
<JtagDevicesBefore>0</JtagDevicesBefore>\r
<JtagDevicesAfter>0</JtagDevicesAfter>\r
<JtagInstrBitsBefore>0</JtagInstrBitsBefore>\r
<JtagInstrBitsAfter>0</JtagInstrBitsAfter>\r
+ <JtagSelectedDeviceIndexInChain>\r
+ </JtagSelectedDeviceIndexInChain>\r
+ <JtagDaisyChainDevices>\r
+ </JtagDaisyChainDevices>\r
</InterfaceProperties>\r
</ToolOptions>\r
</com_atmel_avrdbg_tool_samice>\r
+ <CacheFlash>true</CacheFlash>\r
+ <ProgFlashFromRam>true</ProgFlashFromRam>\r
+ <RamSnippetAddress>0x20000000</RamSnippetAddress>\r
+ <UncachedRange />\r
+ <BootSegment>2</BootSegment>\r
</PropertyGroup>\r
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">\r
- <ToolchainSettings>\r
- <ArmGcc>\r
- <armgcc.common.general.symbols>__SAM4S16C__</armgcc.common.general.symbols>\r
- <armgcc.common.outputfiles.hex>True</armgcc.common.outputfiles.hex>\r
- <armgcc.common.outputfiles.lss>True</armgcc.common.outputfiles.lss>\r
- <armgcc.common.outputfiles.eep>True</armgcc.common.outputfiles.eep>\r
- <armgcc.common.outputfiles.bin>True</armgcc.common.outputfiles.bin>\r
- <armgcc.compiler.symbols.DefSymbols>\r
- <ListValues>\r
- <Value>ARM_MATH_CM4=true</Value>\r
- <Value>BOARD=SAM4S_EK</Value>\r
- <Value>__SAM4S16C__</Value>\r
- </ListValues>\r
- </armgcc.compiler.symbols.DefSymbols>\r
- <armgcc.compiler.directories.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
- <Value>../src/asf/common/boards</Value>\r
- <Value>../src/asf/common/services/gpio</Value>\r
- <Value>../src/asf/common/utils</Value>\r
- <Value>../src/asf/sam/boards</Value>\r
- <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
- <Value>../src/asf/sam/drivers/pio</Value>\r
- <Value>../src/asf/sam/utils</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
- <Value>../src/asf/sam/utils/header_files</Value>\r
- <Value>../src/asf/sam/utils/preprocessor</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\CMSIS\Include</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL\sam4s\include</Value>\r
- <Value>../src/asf/sam/drivers/pmc</Value>\r
- <Value>../src/asf/common/services/clock</Value>\r
- <Value>../src/asf/sam/drivers/usart</Value>\r
- </ListValues>\r
- </armgcc.compiler.directories.IncludePaths>\r
- <armgcc.compiler.optimization.level>Optimize for size (-Os)</armgcc.compiler.optimization.level>\r
- <armgcc.compiler.optimization.OtherFlags>-fdata-sections</armgcc.compiler.optimization.OtherFlags>\r
- <armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>\r
- <armgcc.compiler.warnings.AllWarnings>True</armgcc.compiler.warnings.AllWarnings>\r
- <armgcc.compiler.miscellaneous.OtherFlags>-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror-implicit-function-declaration -Wpointer-arith -std=gnu99 -ffunction-sections -fdata-sections -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int -Wmain -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef -Wshadow -Wbad-function-cast -Wwrite-strings -Wsign-compare -Waggregate-return -Wmissing-declarations -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations -Wpacked -Wredundant-decls -Wnested-externs -Winline -Wlong-long -Wunreachable-code -Wcast-align --param max-inline-insns-single=500 -Dprintf=iprintf</armgcc.compiler.miscellaneous.OtherFlags>\r
- <armgcc.linker.general.DoNotUseStandardStartFiles />\r
- <armgcc.linker.general.DoNotUseDefaultLibraries />\r
- <armgcc.linker.general.NoStartupOrDefaultLibs />\r
- <armgcc.linker.libraries.Libraries>\r
- <ListValues>\r
- <Value>arm_cortexM4l_math</Value>\r
- </ListValues>\r
- </armgcc.linker.libraries.Libraries>\r
- <armgcc.linker.libraries.LibrarySearchPaths>\r
- <ListValues>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- </ListValues>\r
- </armgcc.linker.libraries.LibrarySearchPaths>\r
- <armgcc.linker.optimization.GarbageCollectUnusedSections>True</armgcc.linker.optimization.GarbageCollectUnusedSections>\r
- <armgcc.linker.miscellaneous.LinkerFlags>-T../src/asf/sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb</armgcc.linker.miscellaneous.LinkerFlags>\r
- <armgcc.assembler.general.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
- <Value>../src/asf/common/boards</Value>\r
- <Value>../src/asf/common/services/gpio</Value>\r
- <Value>../src/asf/common/utils</Value>\r
- <Value>../src/asf/sam/boards</Value>\r
- <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
- <Value>../src/asf/sam/drivers/pio</Value>\r
- <Value>../src/asf/sam/utils</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
- <Value>../src/asf/sam/utils/header_files</Value>\r
- <Value>../src/asf/sam/utils/preprocessor</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>../src/asf/sam/drivers/pmc</Value>\r
- <Value>../src/asf/common/services/clock</Value>\r
- <Value>../src/asf/sam/drivers/usart</Value>\r
- </ListValues>\r
- </armgcc.assembler.general.IncludePaths>\r
- <armgcc.preprocessingassembler.general.AssemblerFlags>-DARM_MATH_CM4=true -DBOARD=SAM4S_EK -D__SAM4S16C__</armgcc.preprocessingassembler.general.AssemblerFlags>\r
- <armgcc.preprocessingassembler.general.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
- <Value>../src/asf/common/boards</Value>\r
- <Value>../src/asf/common/services/gpio</Value>\r
- <Value>../src/asf/common/utils</Value>\r
- <Value>../src/asf/sam/boards</Value>\r
- <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
- <Value>../src/asf/sam/drivers/pio</Value>\r
- <Value>../src/asf/sam/utils</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
- <Value>../src/asf/sam/utils/header_files</Value>\r
- <Value>../src/asf/sam/utils/preprocessor</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>../src/asf/sam/drivers/pmc</Value>\r
- <Value>../src/asf/common/services/clock</Value>\r
- <Value>../src/asf/sam/drivers/usart</Value>\r
- </ListValues>\r
- </armgcc.preprocessingassembler.general.IncludePaths>\r
- </ArmGcc>\r
- </ToolchainSettings>\r
<GenerateHexFile>True</GenerateHexFile>\r
<GenerateMapFile>True</GenerateMapFile>\r
<GenerateListFile>True</GenerateListFile>\r
<GenerateEepFile>True</GenerateEepFile>\r
- </PropertyGroup>\r
- <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">\r
<ToolchainSettings>\r
<ArmGcc>\r
- <armgcc.common.general.symbols>__SAM4S16C__</armgcc.common.general.symbols>\r
- <armgcc.common.outputfiles.hex>True</armgcc.common.outputfiles.hex>\r
- <armgcc.common.outputfiles.lss>True</armgcc.common.outputfiles.lss>\r
- <armgcc.common.outputfiles.eep>True</armgcc.common.outputfiles.eep>\r
- <armgcc.common.outputfiles.bin>True</armgcc.common.outputfiles.bin>\r
- <armgcc.compiler.symbols.DefSymbols>\r
- <ListValues>\r
- <Value>ARM_MATH_CM4=true</Value>\r
- <Value>BOARD=SAM4S_EK</Value>\r
- <Value>__SAM4S16C__</Value>\r
- <Value>XMEGA=0</Value>\r
- <Value>MEGA=0</Value>\r
- <Value>UC3=0</Value>\r
- </ListValues>\r
- </armgcc.compiler.symbols.DefSymbols>\r
- <armgcc.compiler.directories.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
- <Value>../src/asf/common/boards</Value>\r
- <Value>../src/asf/common/services/gpio</Value>\r
- <Value>../src/asf/common/utils</Value>\r
- <Value>../src/asf/sam/boards</Value>\r
- <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
- <Value>../src/asf/sam/drivers/pio</Value>\r
- <Value>../src/asf/sam/utils</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
- <Value>../src/asf/sam/utils/header_files</Value>\r
- <Value>../src/asf/sam/utils/preprocessor</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>../src/asf/thirdparty/FreeRTOS/include</Value>\r
- <Value>../src/asf/thirdparty/FreeRTOS/portable/GCC/ARM_CM3</Value>\r
- <Value>../src/Common-Demo-Source/include</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\CMSIS\Include</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL</Value>\r
- <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL\sam4s\include</Value>\r
- <Value>../src/asf/sam/drivers/pmc</Value>\r
- <Value>../src/asf/common/services/clock</Value>\r
- <Value>../src/asf/sam/drivers/usart</Value>\r
- </ListValues>\r
- </armgcc.compiler.directories.IncludePaths>\r
- <armgcc.compiler.optimization.OtherFlags>-fdata-sections</armgcc.compiler.optimization.OtherFlags>\r
- <armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>\r
- <armgcc.compiler.optimization.DebugLevel>Maximum (-g3)</armgcc.compiler.optimization.DebugLevel>\r
- <armgcc.compiler.warnings.AllWarnings>True</armgcc.compiler.warnings.AllWarnings>\r
- <armgcc.compiler.miscellaneous.OtherFlags>-pipe -Wall -Wextra -std=gnu99 -ffunction-sections -fdata-sections --param max-inline-insns-single=500 -Dprintf=iprintf</armgcc.compiler.miscellaneous.OtherFlags>\r
- <armgcc.linker.libraries.LibrarySearchPaths>\r
- <ListValues>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- </ListValues>\r
- </armgcc.linker.libraries.LibrarySearchPaths>\r
- <armgcc.linker.optimization.GarbageCollectUnusedSections>True</armgcc.linker.optimization.GarbageCollectUnusedSections>\r
- <armgcc.linker.miscellaneous.LinkerFlags>-T../src/asf/sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb</armgcc.linker.miscellaneous.LinkerFlags>\r
- <armgcc.assembler.general.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
- <Value>../src/asf/common/boards</Value>\r
- <Value>../src/asf/common/services/gpio</Value>\r
- <Value>../src/asf/common/utils</Value>\r
- <Value>../src/asf/sam/boards</Value>\r
- <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
- <Value>../src/asf/sam/drivers/pio</Value>\r
- <Value>../src/asf/sam/utils</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
- <Value>../src/asf/sam/utils/header_files</Value>\r
- <Value>../src/asf/sam/utils/preprocessor</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>../src/asf/sam/drivers/pmc</Value>\r
- <Value>../src/asf/common/services/clock</Value>\r
- <Value>../src/asf/sam/drivers/usart</Value>\r
- </ListValues>\r
- </armgcc.assembler.general.IncludePaths>\r
- <armgcc.preprocessingassembler.general.AssemblerFlags>-DARM_MATH_CM4=true -DBOARD=SAM4S_EK -D__SAM4S16C__</armgcc.preprocessingassembler.general.AssemblerFlags>\r
- <armgcc.preprocessingassembler.general.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
- <Value>../src/asf/common/boards</Value>\r
- <Value>../src/asf/common/services/gpio</Value>\r
- <Value>../src/asf/common/utils</Value>\r
- <Value>../src/asf/sam/boards</Value>\r
- <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
- <Value>../src/asf/sam/drivers/pio</Value>\r
- <Value>../src/asf/sam/utils</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
- <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
- <Value>../src/asf/sam/utils/header_files</Value>\r
- <Value>../src/asf/sam/utils/preprocessor</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>../src/asf/sam/drivers/pmc</Value>\r
- <Value>../src/asf/common/services/clock</Value>\r
- <Value>../src/asf/sam/drivers/usart</Value>\r
- </ListValues>\r
- </armgcc.preprocessingassembler.general.IncludePaths>\r
- </ArmGcc>\r
+ <armgcc.common.outputfiles.hex>True</armgcc.common.outputfiles.hex>\r
+ <armgcc.common.outputfiles.lss>True</armgcc.common.outputfiles.lss>\r
+ <armgcc.common.outputfiles.eep>True</armgcc.common.outputfiles.eep>\r
+ <armgcc.common.outputfiles.bin>True</armgcc.common.outputfiles.bin>\r
+ <armgcc.common.outputfiles.srec>True</armgcc.common.outputfiles.srec>\r
+ <armgcc.compiler.symbols.DefSymbols>\r
+ <ListValues>\r
+ <Value>ARM_MATH_CM4=true</Value>\r
+ <Value>BOARD=SAM4S_EK</Value>\r
+ <Value>__SAM4S16C__</Value>\r
+ </ListValues>\r
+ </armgcc.compiler.symbols.DefSymbols>\r
+ <armgcc.compiler.directories.IncludePaths>\r
+ <ListValues>\r
+ <Value>../src</Value>\r
+ <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
+ <Value>../src/asf/common/boards</Value>\r
+ <Value>../src/asf/common/services/gpio</Value>\r
+ <Value>../src/asf/common/utils</Value>\r
+ <Value>../src/asf/sam/boards</Value>\r
+ <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
+ <Value>../src/asf/sam/drivers/pio</Value>\r
+ <Value>../src/asf/sam/utils</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
+ <Value>../src/asf/sam/utils/header_files</Value>\r
+ <Value>../src/asf/sam/utils/preprocessor</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
+ <Value>../src/config</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\CMSIS\Include</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL\sam4s\include</Value>\r
+ <Value>../src/asf/sam/drivers/pmc</Value>\r
+ <Value>../src/asf/common/services/clock</Value>\r
+ <Value>../src/asf/sam/drivers/usart</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4s\include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL</Value>\r
+ <Value>../src/ASF/sam/drivers/tc</Value>\r
+ </ListValues>\r
+ </armgcc.compiler.directories.IncludePaths>\r
+ <armgcc.compiler.optimization.level>Optimize for size (-Os)</armgcc.compiler.optimization.level>\r
+ <armgcc.compiler.optimization.OtherFlags>-fdata-sections</armgcc.compiler.optimization.OtherFlags>\r
+ <armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>\r
+ <armgcc.compiler.warnings.AllWarnings>True</armgcc.compiler.warnings.AllWarnings>\r
+ <armgcc.compiler.miscellaneous.OtherFlags>-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror-implicit-function-declaration -Wpointer-arith -std=gnu99 -ffunction-sections -fdata-sections -Wchar-subscripts -Wcomment -Wformat=2 -Wimplicit-int -Wmain -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wuninitialized -Wunknown-pragmas -Wfloat-equal -Wundef -Wshadow -Wbad-function-cast -Wwrite-strings -Wsign-compare -Waggregate-return -Wmissing-declarations -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations -Wpacked -Wredundant-decls -Wnested-externs -Winline -Wlong-long -Wunreachable-code -Wcast-align --param max-inline-insns-single=500 -Dprintf=iprintf</armgcc.compiler.miscellaneous.OtherFlags>\r
+ <armgcc.linker.general.DoNotUseStandardStartFiles />\r
+ <armgcc.linker.general.DoNotUseDefaultLibraries />\r
+ <armgcc.linker.general.NoStartupOrDefaultLibs />\r
+ <armgcc.linker.libraries.Libraries>\r
+ <ListValues>\r
+ <Value>arm_cortexM4l_math</Value>\r
+ </ListValues>\r
+ </armgcc.linker.libraries.Libraries>\r
+ <armgcc.linker.libraries.LibrarySearchPaths>\r
+ <ListValues>\r
+ <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
+ </ListValues>\r
+ </armgcc.linker.libraries.LibrarySearchPaths>\r
+ <armgcc.linker.optimization.GarbageCollectUnusedSections>True</armgcc.linker.optimization.GarbageCollectUnusedSections>\r
+ <armgcc.linker.miscellaneous.LinkerFlags>-T../src/asf/sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb</armgcc.linker.miscellaneous.LinkerFlags>\r
+ <armgcc.assembler.general.IncludePaths>\r
+ <ListValues>\r
+ <Value>../src/ASF/sam/drivers/tc</Value>\r
+ </ListValues>\r
+ </armgcc.assembler.general.IncludePaths>\r
+ <armgcc.preprocessingassembler.general.AssemblerFlags>-DARM_MATH_CM4=true -DBOARD=SAM4S_EK -D__SAM4S16C__</armgcc.preprocessingassembler.general.AssemblerFlags>\r
+ <armgcc.preprocessingassembler.general.IncludePaths>\r
+ <ListValues>\r
+ <Value>../src</Value>\r
+ <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
+ <Value>../src/asf/common/boards</Value>\r
+ <Value>../src/asf/common/services/gpio</Value>\r
+ <Value>../src/asf/common/utils</Value>\r
+ <Value>../src/asf/sam/boards</Value>\r
+ <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
+ <Value>../src/asf/sam/drivers/pio</Value>\r
+ <Value>../src/asf/sam/utils</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
+ <Value>../src/asf/sam/utils/header_files</Value>\r
+ <Value>../src/asf/sam/utils/preprocessor</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
+ <Value>../src/config</Value>\r
+ <Value>../src/asf/sam/drivers/pmc</Value>\r
+ <Value>../src/asf/common/services/clock</Value>\r
+ <Value>../src/asf/sam/drivers/usart</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4s\include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL</Value>\r
+ <Value>../src/ASF/sam/drivers/tc</Value>\r
+ </ListValues>\r
+ </armgcc.preprocessingassembler.general.IncludePaths>\r
+</ArmGcc>\r
</ToolchainSettings>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">\r
<GenerateHexFile>True</GenerateHexFile>\r
<GenerateMapFile>True</GenerateMapFile>\r
<GenerateListFile>True</GenerateListFile>\r
<GenerateEepFile>True</GenerateEepFile>\r
+ <ToolchainSettings>\r
+ <ArmGcc>\r
+ <armgcc.common.outputfiles.hex>True</armgcc.common.outputfiles.hex>\r
+ <armgcc.common.outputfiles.lss>True</armgcc.common.outputfiles.lss>\r
+ <armgcc.common.outputfiles.eep>True</armgcc.common.outputfiles.eep>\r
+ <armgcc.common.outputfiles.bin>True</armgcc.common.outputfiles.bin>\r
+ <armgcc.common.outputfiles.srec>True</armgcc.common.outputfiles.srec>\r
+ <armgcc.compiler.symbols.DefSymbols>\r
+ <ListValues>\r
+ <Value>ARM_MATH_CM4=true</Value>\r
+ <Value>BOARD=SAM4S_EK</Value>\r
+ <Value>__SAM4S16C__</Value>\r
+ <Value>XMEGA=0</Value>\r
+ <Value>MEGA=0</Value>\r
+ <Value>UC3=0</Value>\r
+ </ListValues>\r
+ </armgcc.compiler.symbols.DefSymbols>\r
+ <armgcc.compiler.directories.IncludePaths>\r
+ <ListValues>\r
+ <Value>../src</Value>\r
+ <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
+ <Value>../src/asf/common/boards</Value>\r
+ <Value>../src/asf/common/services/gpio</Value>\r
+ <Value>../src/asf/common/utils</Value>\r
+ <Value>../src/asf/sam/boards</Value>\r
+ <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
+ <Value>../src/asf/sam/drivers/pio</Value>\r
+ <Value>../src/asf/sam/utils</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
+ <Value>../src/asf/sam/utils/header_files</Value>\r
+ <Value>../src/asf/sam/utils/preprocessor</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
+ <Value>../src/config</Value>\r
+ <Value>../src/asf/thirdparty/FreeRTOS/include</Value>\r
+ <Value>../src/asf/thirdparty/FreeRTOS/portable/GCC/ARM_CM3</Value>\r
+ <Value>../src/Common-Demo-Source/include</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\CMSIS\Include</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL</Value>\r
+ <Value>C:\devtools\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\3.3.1.83\ARMSupportFiles\Device\ATMEL\sam4s\include</Value>\r
+ <Value>../src/asf/sam/drivers/pmc</Value>\r
+ <Value>../src/asf/common/services/clock</Value>\r
+ <Value>../src/asf/sam/drivers/usart</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4s\include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL</Value>\r
+ <Value>../src/ASF/sam/drivers/tc</Value>\r
+ </ListValues>\r
+ </armgcc.compiler.directories.IncludePaths>\r
+ <armgcc.compiler.optimization.OtherFlags>-fdata-sections</armgcc.compiler.optimization.OtherFlags>\r
+ <armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>\r
+ <armgcc.compiler.optimization.DebugLevel>Maximum (-g3)</armgcc.compiler.optimization.DebugLevel>\r
+ <armgcc.compiler.warnings.AllWarnings>True</armgcc.compiler.warnings.AllWarnings>\r
+ <armgcc.compiler.miscellaneous.OtherFlags>-pipe -Wall -Wextra -std=gnu99 -ffunction-sections -fdata-sections --param max-inline-insns-single=500 -Dprintf=iprintf</armgcc.compiler.miscellaneous.OtherFlags>\r
+ <armgcc.linker.libraries.LibrarySearchPaths>\r
+ <ListValues>\r
+ <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
+ </ListValues>\r
+ </armgcc.linker.libraries.LibrarySearchPaths>\r
+ <armgcc.linker.optimization.GarbageCollectUnusedSections>True</armgcc.linker.optimization.GarbageCollectUnusedSections>\r
+ <armgcc.linker.miscellaneous.LinkerFlags>-T../src/asf/sam/utils/linker_scripts/sam4s/sam4s16/gcc/flash.ld -Wl,--cref -Wl,--entry=Reset_Handler -mthumb</armgcc.linker.miscellaneous.LinkerFlags>\r
+ <armgcc.assembler.general.IncludePaths>\r
+ <ListValues>\r
+ <Value>../src/ASF/sam/drivers/tc</Value>\r
+ </ListValues>\r
+ </armgcc.assembler.general.IncludePaths>\r
+ <armgcc.preprocessingassembler.general.AssemblerFlags>-DARM_MATH_CM4=true -DBOARD=SAM4S_EK -D__SAM4S16C__</armgcc.preprocessingassembler.general.AssemblerFlags>\r
+ <armgcc.preprocessingassembler.general.IncludePaths>\r
+ <ListValues>\r
+ <Value>../src</Value>\r
+ <Value>../src/asf/common/applications/user_application/sam4s16c_sam4s_ek</Value>\r
+ <Value>../src/asf/common/boards</Value>\r
+ <Value>../src/asf/common/services/gpio</Value>\r
+ <Value>../src/asf/common/utils</Value>\r
+ <Value>../src/asf/sam/boards</Value>\r
+ <Value>../src/asf/sam/boards/sam4s_ek</Value>\r
+ <Value>../src/asf/sam/drivers/pio</Value>\r
+ <Value>../src/asf/sam/utils</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/include</Value>\r
+ <Value>../src/asf/sam/utils/cmsis/sam4s/source/templates</Value>\r
+ <Value>../src/asf/sam/utils/header_files</Value>\r
+ <Value>../src/asf/sam/utils/preprocessor</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Include</Value>\r
+ <Value>../src/asf/thirdparty/CMSIS/Lib/GCC</Value>\r
+ <Value>../src/config</Value>\r
+ <Value>../src/asf/sam/drivers/pmc</Value>\r
+ <Value>../src/asf/common/services/clock</Value>\r
+ <Value>../src/asf/sam/drivers/usart</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\sam4s\include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include</Value>\r
+ <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL</Value>\r
+ <Value>../src/ASF/sam/drivers/tc</Value>\r
+ </ListValues>\r
+ </armgcc.preprocessingassembler.general.IncludePaths>\r
+</ArmGcc>\r
+ </ToolchainSettings>\r
</PropertyGroup>\r
<ItemGroup>\r
+ <Compile Include="src\asf\sam\drivers\tc\tc.c">\r
+ <SubType>compile</SubType>\r
+ </Compile>\r
+ <None Include="src\asf\sam\drivers\tc\tc.h">\r
+ <SubType>compile</SubType>\r
+ </None>\r
<Compile Include="src\asf\sam\drivers\usart\usart.c">\r
<SubType>compile</SubType>\r
</Compile>\r
<Compile Include="src\Common-Demo-Source\include\demo_serial.h">\r
<SubType>compile</SubType>\r
</Compile>\r
+ <Compile Include="src\Common-Demo-Source\IntQueue.c">\r
+ <SubType>compile</SubType>\r
+ </Compile>\r
<Compile Include="src\Common-Demo-Source\QueueSet.c">\r
<SubType>compile</SubType>\r
</Compile>\r
+ <Compile Include="src\IntQueueTimer.c">\r
+ <SubType>compile</SubType>\r
+ </Compile>\r
<Compile Include="src\serial.c">\r
<SubType>compile</SubType>\r
</Compile>\r
<None Include="src\asf\thirdparty\CMSIS\Include\core_cmInstr.h">\r
<SubType>compile</SubType>\r
</None>\r
- <None Include="src\asf\thirdparty\CMSIS\Lib\GCC\libarm_cortexM4l_math.a">\r
- <SubType>compile</SubType>\r
- </None>\r
<None Include="src\asf\thirdparty\CMSIS\README.txt">\r
<SubType>compile</SubType>\r
</None>\r
<Folder Include="src\asf\sam\drivers\" />\r
<Folder Include="src\asf\sam\drivers\pio\" />\r
<Folder Include="src\asf\sam\drivers\pmc\" />\r
+ <Folder Include="src\asf\sam\drivers\tc\" />\r
<Folder Include="src\asf\sam\drivers\usart\" />\r
<Folder Include="src\asf\sam\utils\" />\r
<Folder Include="src\asf\sam\utils\cmsis\" />\r
--- /dev/null
+/**\r
+ * \file\r
+ *\r
+ * \brief Timer Counter (TC) driver for SAM.\r
+ *\r
+ * Copyright (c) 2011-2012 Atmel Corporation. All rights reserved.\r
+ *\r
+ * \asf_license_start\r
+ *\r
+ * \page License\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions are met:\r
+ *\r
+ * 1. Redistributions of source code must retain the above copyright notice,\r
+ * this list of conditions and the following disclaimer.\r
+ *\r
+ * 2. Redistributions in binary form must reproduce the above copyright notice,\r
+ * this list of conditions and the following disclaimer in the documentation\r
+ * and/or other materials provided with the distribution.\r
+ *\r
+ * 3. The name of Atmel may not be used to endorse or promote products derived\r
+ * from this software without specific prior written permission.\r
+ *\r
+ * 4. This software may only be redistributed and used in connection with an\r
+ * Atmel microcontroller product.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED\r
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\r
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE\r
+ * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR\r
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\r
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
+ * POSSIBILITY OF SUCH DAMAGE.\r
+ *\r
+ * \asf_license_stop\r
+ *\r
+ */\r
+\r
+#include <assert.h>\r
+#include "tc.h"\r
+\r
+/// @cond 0\r
+/**INDENT-OFF**/\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+/**INDENT-ON**/\r
+/// @endcond\r
+\r
+#define TC_WPMR_WPKEY_VALUE TC_WPMR_WPKEY((uint32_t)0x54494D)\r
+\r
+/**\r
+ * \defgroup sam_drivers_tc_group Timer Counter (TC)\r
+ *\r
+ * The Timer Counter (TC) includes three identical 32-bit Timer Counter\r
+ * channels. Each channel can be independently programmed to perform a wide\r
+ * range of functions including frequency measurement, event counting,\r
+ * interval measurement, pulse generation, delay timing and pulse width\r
+ * modulation.\r
+ *\r
+ * @{\r
+ */\r
+\r
+/**\r
+ * \brief Configure TC for timer, waveform generation or capture.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ * \param ul_mode Control mode register value to set.\r
+ *\r
+ * \attention If the TC is configured for waveform generation, the external\r
+ * event selection (EEVT) should only be set to \c TC_CMR_EEVT_TIOB or the\r
+ * equivalent value \c 0 if it really is the intention to use TIOB as an\r
+ * external event trigger.\n\r
+ * This is because the setting forces TIOB to be an input even if the\r
+ * external event trigger has not been enabled with \c TC_CMR_ENETRG, and\r
+ * thus prevents normal operation of TIOB.\r
+ */\r
+void tc_init(Tc *p_tc, uint32_t ul_channel, uint32_t ul_mode)\r
+{\r
+ TcChannel *tc_channel;\r
+\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+ tc_channel = p_tc->TC_CHANNEL + ul_channel;\r
+\r
+ /* Disable TC clock. */\r
+ tc_channel->TC_CCR = TC_CCR_CLKDIS;\r
+\r
+ /* Disable interrupts. */\r
+ tc_channel->TC_IDR = 0xFFFFFFFF;\r
+\r
+ /* Clear status register. */\r
+ tc_channel->TC_SR;\r
+\r
+ /* Set mode. */\r
+ tc_channel->TC_CMR = ul_mode;\r
+}\r
+\r
+/**\r
+ * \brief Asserts a SYNC signal to generate a software trigger to\r
+ * all channels.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ *\r
+ */\r
+void tc_sync_trigger(Tc *p_tc)\r
+{\r
+ p_tc->TC_BCR = TC_BCR_SYNC;\r
+}\r
+\r
+/**\r
+ * \brief Configure TC Block mode.\r
+ * \note tc_init() must be called first.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_blockmode Block mode register value to set.\r
+ *\r
+ */\r
+void tc_set_block_mode(Tc *p_tc, uint32_t ul_blockmode)\r
+{\r
+ p_tc->TC_BMR = ul_blockmode;\r
+}\r
+\r
+#if (!SAM3U)\r
+\r
+/**\r
+ * \brief Configure TC for 2-bit Gray Counter for Stepper Motor.\r
+ * \note tc_init() must be called first.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ * \param ul_steppermode Stepper motor mode register value to set.\r
+ *\r
+ * \return 0 for OK.\r
+ */\r
+uint32_t tc_init_2bit_gray(Tc *p_tc, uint32_t ul_channel,\r
+ uint32_t ul_steppermode)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ p_tc->TC_CHANNEL[ul_channel].TC_SMMR = ul_steppermode;\r
+ return 0;\r
+}\r
+\r
+#endif\r
+\r
+/**\r
+ * \brief Start TC clock counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ */\r
+void tc_start(Tc *p_tc, uint32_t ul_channel)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ p_tc->TC_CHANNEL[ul_channel].TC_CCR = TC_CCR_CLKEN | TC_CCR_SWTRG;\r
+}\r
+\r
+/**\r
+ * \brief Stop TC clock counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ */\r
+void tc_stop(Tc *p_tc, uint32_t ul_channel)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ p_tc->TC_CHANNEL[ul_channel].TC_CCR = TC_CCR_CLKDIS;\r
+}\r
+\r
+/**\r
+ * \brief Read RA TC counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ *\r
+ * \return RA value.\r
+ */\r
+int tc_read_ra(Tc *p_tc, uint32_t ul_channel)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ return p_tc->TC_CHANNEL[ul_channel].TC_RA;\r
+}\r
+\r
+/**\r
+ * \brief Read RB TC counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ *\r
+ * \return RB value.\r
+ */\r
+int tc_read_rb(Tc *p_tc, uint32_t ul_channel)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ return p_tc->TC_CHANNEL[ul_channel].TC_RB;\r
+}\r
+\r
+/**\r
+ * \brief Read RC TC counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ *\r
+ * \return RC value.\r
+ */\r
+int tc_read_rc(Tc *p_tc, uint32_t ul_channel)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ return p_tc->TC_CHANNEL[ul_channel].TC_RC;\r
+}\r
+\r
+/**\r
+ * \brief Write RA TC counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ * \param ul_value Value to set in register.\r
+ */\r
+void tc_write_ra(Tc *p_tc, uint32_t ul_channel,\r
+ uint32_t ul_value)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ p_tc->TC_CHANNEL[ul_channel].TC_RA = ul_value;\r
+}\r
+\r
+/**\r
+ * \brief Write RB TC counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ * \param ul_value Value to set in register.\r
+ */\r
+void tc_write_rb(Tc *p_tc, uint32_t ul_channel,\r
+ uint32_t ul_value)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ p_tc->TC_CHANNEL[ul_channel].TC_RB = ul_value;\r
+}\r
+\r
+/**\r
+ * \brief Write RC TC counter on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ * \param ul_value Value to set in register.\r
+ */\r
+void tc_write_rc(Tc *p_tc, uint32_t ul_channel,\r
+ uint32_t ul_value)\r
+{\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+\r
+ p_tc->TC_CHANNEL[ul_channel].TC_RC = ul_value;\r
+}\r
+\r
+/**\r
+ * \brief Enable TC interrupts on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ * \param ul_sources Interrupt sources bit map.\r
+ */\r
+void tc_enable_interrupt(Tc *p_tc, uint32_t ul_channel,\r
+ uint32_t ul_sources)\r
+{\r
+ TcChannel *tc_channel;\r
+\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+ tc_channel = p_tc->TC_CHANNEL + ul_channel;\r
+ tc_channel->TC_IER = ul_sources;\r
+}\r
+\r
+/**\r
+ * \brief Disable TC interrupts on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ * \param ul_sources Interrupt sources bit map.\r
+ */\r
+void tc_disable_interrupt(Tc *p_tc, uint32_t ul_channel,\r
+ uint32_t ul_sources)\r
+{\r
+ TcChannel *tc_channel;\r
+\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+ tc_channel = p_tc->TC_CHANNEL + ul_channel;\r
+ tc_channel->TC_IDR = ul_sources;\r
+}\r
+\r
+/**\r
+ * \brief Read TC interrupt mask on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ *\r
+ * \return The interrupt mask value.\r
+ */\r
+uint32_t tc_get_interrupt_mask(Tc *p_tc, uint32_t ul_channel)\r
+{\r
+ TcChannel *tc_channel;\r
+\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+ tc_channel = p_tc->TC_CHANNEL + ul_channel;\r
+ return tc_channel->TC_IMR;\r
+}\r
+\r
+/**\r
+ * \brief Get current status on the selected channel.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_channel Channel to configure.\r
+ *\r
+ * \return The current TC status.\r
+ */\r
+uint32_t tc_get_status(Tc *p_tc, uint32_t ul_channel)\r
+{\r
+ TcChannel *tc_channel;\r
+\r
+ Assert(ul_channel <\r
+ (sizeof(p_tc->TC_CHANNEL) / sizeof(p_tc->TC_CHANNEL[0])));\r
+ tc_channel = p_tc->TC_CHANNEL + ul_channel;\r
+ return tc_channel->TC_SR;\r
+}\r
+\r
+/* TC divisor used to find the lowest acceptable timer frequency */\r
+#define TC_DIV_FACTOR 65536\r
+\r
+#if (!SAM4L)\r
+\r
+#ifndef FREQ_SLOW_CLOCK_EXT\r
+#define FREQ_SLOW_CLOCK_EXT 32768 /* External slow clock frequency (hz) */\r
+#endif\r
+\r
+/**\r
+ * \brief Find the best MCK divisor.\r
+ *\r
+ * Finds the best MCK divisor given the timer frequency and MCK. The result\r
+ * is guaranteed to satisfy the following equation:\r
+ * \code\r
+ * (MCK / (DIV * 65536)) <= freq <= (MCK / DIV)\r
+ * \endcode\r
+ * with DIV being the lowest possible value,\r
+ * to maximize timing adjust resolution.\r
+ *\r
+ * \param ul_freq Desired timer frequency.\r
+ * \param ul_mck Master clock frequency.\r
+ * \param p_uldiv Divisor value.\r
+ * \param p_ultcclks TCCLKS field value for divisor.\r
+ * \param ul_boardmck Board clock frequency.\r
+ *\r
+ * \return 1 if a proper divisor has been found, otherwise 0.\r
+ */\r
+uint32_t tc_find_mck_divisor(uint32_t ul_freq, uint32_t ul_mck,\r
+ uint32_t *p_uldiv, uint32_t *p_ultcclks, uint32_t ul_boardmck)\r
+{\r
+ const uint32_t divisors[5] = { 2, 8, 32, 128,\r
+ ul_boardmck / FREQ_SLOW_CLOCK_EXT };\r
+ uint32_t ul_index;\r
+ uint32_t ul_high, ul_low;\r
+\r
+ /* Satisfy frequency bound. */\r
+ for (ul_index = 0;\r
+ ul_index < (sizeof(divisors) / sizeof(divisors[0]));\r
+ ul_index++) {\r
+ ul_high = ul_mck / divisors[ul_index];\r
+ ul_low = ul_high / TC_DIV_FACTOR;\r
+ if (ul_freq > ul_high) {\r
+ return 0;\r
+ } else if (ul_freq >= ul_low) {\r
+ break;\r
+ }\r
+ }\r
+ if (ul_index >= (sizeof(divisors) / sizeof(divisors[0]))) {\r
+ return 0;\r
+ }\r
+\r
+ /* Store results. */\r
+ if (p_uldiv) {\r
+ *p_uldiv = divisors[ul_index];\r
+ }\r
+\r
+ if (p_ultcclks) {\r
+ *p_ultcclks = ul_index;\r
+ }\r
+\r
+ return 1;\r
+}\r
+\r
+#endif\r
+\r
+#if (SAM4L)\r
+/**\r
+ * \brief Find the best PBA clock divisor.\r
+ *\r
+ * Finds the best divisor given the timer frequency and PBA clock. The result\r
+ * is guaranteed to satisfy the following equation:\r
+ * \code\r
+ * (ul_pbaclk / (2* DIV * 65536)) <= freq <= (ul_pbaclk / (2* DIV))\r
+ * \endcode\r
+ * with DIV being the lowest possible value,\r
+ * to maximize timing adjust resolution.\r
+ *\r
+ * \param ul_freq Desired timer frequency.\r
+ * \param ul_mck PBA clock frequency.\r
+ * \param p_uldiv Divisor value.\r
+ * \param p_ultcclks TCCLKS field value for divisor.\r
+ * \param ul_boardmck useless here.\r
+ *\r
+ * \return 1 if a proper divisor has been found, otherwise 0.\r
+ */\r
+uint32_t tc_find_mck_divisor(uint32_t ul_freq, uint32_t ul_mck,\r
+ uint32_t *p_uldiv, uint32_t *p_ultcclks, uint32_t ul_boardmck)\r
+{\r
+ const uint32_t divisors[5] = { 0, 2, 8, 32, 128};\r
+ uint32_t ul_index;\r
+ uint32_t ul_high, ul_low;\r
+\r
+ UNUSED(ul_boardmck);\r
+\r
+ /* Satisfy frequency bound. */\r
+ for (ul_index = 1;\r
+ ul_index < (sizeof(divisors) / sizeof(divisors[0]));\r
+ ul_index++) {\r
+ ul_high = ul_mck / divisors[ul_index];\r
+ ul_low = ul_high / TC_DIV_FACTOR;\r
+ if (ul_freq > ul_high) {\r
+ return 0;\r
+ } else if (ul_freq >= ul_low) {\r
+ break;\r
+ }\r
+ }\r
+ if (ul_index >= (sizeof(divisors) / sizeof(divisors[0]))) {\r
+ return 0;\r
+ }\r
+\r
+ /* Store results. */\r
+ if (p_uldiv) {\r
+ *p_uldiv = divisors[ul_index];\r
+ }\r
+\r
+ if (p_ultcclks) {\r
+ *p_ultcclks = ul_index;\r
+ }\r
+\r
+ return 1;\r
+}\r
+\r
+#endif\r
+\r
+#if (!SAM4L)\r
+\r
+/**\r
+ * \brief Enable TC QDEC interrupts.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_sources Interrupts to be enabled.\r
+ */\r
+void tc_enable_qdec_interrupt(Tc *p_tc, uint32_t ul_sources)\r
+{\r
+ p_tc->TC_QIER = ul_sources;\r
+}\r
+\r
+/**\r
+ * \brief Disable TC QDEC interrupts.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_sources Interrupts to be disabled.\r
+ */\r
+void tc_disable_qdec_interrupt(Tc *p_tc, uint32_t ul_sources)\r
+{\r
+ p_tc->TC_QIDR = ul_sources;\r
+}\r
+\r
+/**\r
+ * \brief Read TC QDEC interrupt mask.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ *\r
+ * \return The interrupt mask value.\r
+ */\r
+uint32_t tc_get_qdec_interrupt_mask(Tc *p_tc)\r
+{\r
+ return p_tc->TC_QIMR;\r
+}\r
+\r
+/**\r
+ * \brief Get current QDEC status.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ *\r
+ * \return The current TC status.\r
+ */\r
+uint32_t tc_get_qdec_interrupt_status(Tc *p_tc)\r
+{\r
+ return p_tc->TC_QISR;\r
+}\r
+\r
+#endif\r
+\r
+#if (!SAM3U)\r
+\r
+/**\r
+ * \brief Enable or disable write protection of TC registers.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ * \param ul_enable 1 to enable, 0 to disable.\r
+ */\r
+void tc_set_writeprotect(Tc *p_tc, uint32_t ul_enable)\r
+{\r
+ if (ul_enable) {\r
+ p_tc->TC_WPMR = TC_WPMR_WPKEY_VALUE | TC_WPMR_WPEN;\r
+ } else {\r
+ p_tc->TC_WPMR = TC_WPMR_WPKEY_VALUE;\r
+ }\r
+}\r
+\r
+#endif\r
+\r
+#if SAM4L\r
+\r
+/**\r
+ * \brief Indicate features.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ *\r
+ * \return TC_FEATURES value.\r
+ */\r
+uint32_t tc_get_feature(Tc *p_tc)\r
+{\r
+ return p_tc->TC_FEATURES;\r
+}\r
+\r
+/**\r
+ * \brief Indicate version.\r
+ *\r
+ * \param p_tc Pointer to a TC instance.\r
+ *\r
+ * \return TC_VERSION value.\r
+ */\r
+uint32_t tc_get_version(Tc *p_tc)\r
+{\r
+ return p_tc->TC_VERSION;\r
+}\r
+\r
+#endif\r
+\r
+//@}\r
+\r
+/// @cond 0\r
+/**INDENT-OFF**/\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+/**INDENT-ON**/\r
+/// @endcond\r