ceedling 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -0
- data/bin/ceedling +17 -0
- data/ceedling-gem.sublime-project +442 -0
- data/ceedling.gemspec +2 -1
- data/examples/temp_sensor/project.yml +71 -0
- data/examples/temp_sensor/rakefile.rb +4 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/AT91SAM7X256.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcConductor.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/AdcConductor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardware.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardware.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardwareConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardwareConfigurator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcModel.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcModel.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcTemperatureSensor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcTemperatureSensor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Executor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Executor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/IntrinsicsWrapper.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/IntrinsicsWrapper.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Main.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Main.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Model.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Model.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/ModelConfig.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TaskScheduler.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TaskScheduler.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TemperatureCalculator.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/TemperatureCalculator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TemperatureFilter.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TemperatureFilter.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConductor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConductor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConfigurator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerHardware.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerHardware.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptConfigurator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptHandler.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptHandler.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerModel.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerModel.h +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/Types.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartBaudRateRegisterCalculator.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/UsartBaudRateRegisterCalculator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConductor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConductor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConfigurator.h +0 -0
- data/examples/temp_sensor/src/UsartGetChar.c +6 -0
- data/examples/temp_sensor/src/UsartGetChar.h +8 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartHardware.c +12 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartHardware.h +1 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartModel.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartModel.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartPutChar.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartPutChar.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartTransmitBufferStatus.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartTransmitBufferStatus.h +0 -0
- data/{new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper → examples/temp_sensor/test/support}/UnityHelper.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper → examples/temp_sensor/test/support}/UnityHelper.h +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcConductor.c → examples/temp_sensor/test/test_AdcConductor.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcHardware.c → examples/temp_sensor/test/test_AdcHardware.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardwareConfigurator.c → examples/temp_sensor/test/test_AdcHardwareConfigurator.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcTemperatureSensor.c → examples/temp_sensor/test/test_AdcTemperatureSensor.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestExecutor.c → examples/temp_sensor/test/test_Executor.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestModel.c → examples/temp_sensor/test/test_Model.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTaskScheduler.c → examples/temp_sensor/test/test_TaskScheduler.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureCalculator.c → examples/temp_sensor/test/test_TemperatureCalculator.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureFilter.c → examples/temp_sensor/test/test_TemperatureFilter.c} +2 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcModel.c → examples/temp_sensor/test/test_TestAdcModel.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestMain.c → examples/temp_sensor/test/test_TestMain.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerConductor.c → examples/temp_sensor/test/test_TimerConductor.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConfigurator.c → examples/temp_sensor/test/test_TimerConfigurator.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerHardware.c → examples/temp_sensor/test/test_TimerHardware.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptConfigurator.c → examples/temp_sensor/test/test_TimerInterruptConfigurator.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptHandler.c → examples/temp_sensor/test/test_TimerInterruptHandler.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerModel.c → examples/temp_sensor/test/test_TimerModel.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c → examples/temp_sensor/test/test_UsartBaudRateRegisterCalculator.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartConductor.c → examples/temp_sensor/test/test_UsartConductor.c} +1 -1
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConfigurator.c → examples/temp_sensor/test/test_UsartConfigurator.c} +0 -0
- data/examples/temp_sensor/test/test_UsartGetChar.c +17 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartHardware.c → examples/temp_sensor/test/test_UsartHardware.c} +19 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartModel.c → examples/temp_sensor/test/test_UsartModel.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartPutChar.c → examples/temp_sensor/test/test_UsartPutChar.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c → examples/temp_sensor/test/test_UsartTransmitBufferStatus.c} +0 -0
- data/lib/ceedling/version.rb +1 -1
- data/new_project_template/project.yml +1 -1
- metadata +121 -849
- data/new_project_template/vendor/ceedling/config/test_environment.rb +0 -12
- data/new_project_template/vendor/ceedling/examples/temp_sensor/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v4.yml +0 -91
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v5.yml +0 -80
- data/new_project_template/vendor/ceedling/examples/temp_sensor/project.yml +0 -65
- data/new_project_template/vendor/ceedling/examples/temp_sensor/rakefile.rb +0 -5
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.h +0 -13
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.h +0 -8
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Types.h +0 -90
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +0 -8
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartHardware.c +0 -36
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.c +0 -12
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.h +0 -8
- data/new_project_template/vendor/ceedling/test/integration/paths.yml +0 -17
- data/new_project_template/vendor/ceedling/test/integration/paths_test.rb +0 -80
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_aux_dependencies_test.rb +0 -75
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_cmock_test.rb +0 -74
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_preprocess_test.rb +0 -178
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_test.rb +0 -268
- data/new_project_template/vendor/ceedling/test/integration/rake_tasks_test.rb +0 -103
- data/new_project_template/vendor/ceedling/test/integration_test_helper.rb +0 -34
- data/new_project_template/vendor/ceedling/test/rakefile_rules.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_rules_aux_dependencies.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_rules_cmock.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_rules_preprocess.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_tasks.rb +0 -10
- data/new_project_template/vendor/ceedling/test/system/file_system_dependencies.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_kitchen_sink.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_mocks.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_preprocess.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_simple.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_test.rb +0 -78
- data/new_project_template/vendor/ceedling/test/system/mocks/include/a_file.h +0 -2
- data/new_project_template/vendor/ceedling/test/system/mocks/include/other_stuff.h +0 -2
- data/new_project_template/vendor/ceedling/test/system/mocks/include/stuff.h +0 -3
- data/new_project_template/vendor/ceedling/test/system/mocks/source/a_file.c +0 -9
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_a_file.c +0 -41
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_no_file.c +0 -14
- data/new_project_template/vendor/ceedling/test/system/project_mocks.yml +0 -43
- data/new_project_template/vendor/ceedling/test/system/project_mocks_test.rb +0 -38
- data/new_project_template/vendor/ceedling/test/system/project_simple.yml +0 -36
- data/new_project_template/vendor/ceedling/test/system/project_simple_test.rb +0 -39
- data/new_project_template/vendor/ceedling/test/system/rule_mocks_test.rb +0 -44
- data/new_project_template/vendor/ceedling/test/system/rule_runners_test.rb +0 -44
- data/new_project_template/vendor/ceedling/test/system/simple/include/other_stuff.h +0 -2
- data/new_project_template/vendor/ceedling/test/system/simple/include/stuff.h +0 -3
- data/new_project_template/vendor/ceedling/test/system/simple/source/other_stuff.c +0 -6
- data/new_project_template/vendor/ceedling/test/system/simple/source/stuff.c +0 -7
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_other_stuff.c +0 -30
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_stuff.c +0 -51
- data/new_project_template/vendor/ceedling/test/system_test_helper.rb +0 -73
- data/new_project_template/vendor/ceedling/test/test_helper.rb +0 -93
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_builder_test.rb +0 -571
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_helper_test.rb +0 -234
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_test.rb +0 -232
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_validator_test.rb +0 -169
- data/new_project_template/vendor/ceedling/test/unit/busted/deep_merge_fix_test.rb +0 -55
- data/new_project_template/vendor/ceedling/test/unit/busted/dependinator_test.rb +0 -129
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_helper_test.rb +0 -45
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_test.rb +0 -114
- data/new_project_template/vendor/ceedling/test/unit/busted/file_path_utils_test.rb +0 -97
- data/new_project_template/vendor/ceedling/test/unit/busted/file_system_utils_test.rb +0 -21
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test.rb +0 -187
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_results_test.rb +0 -129
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_runner_test.rb +0 -478
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_extractor_test.rb +0 -729
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_file_handler_test.rb +0 -38
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_helper_test.rb +0 -156
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_includes_handler_test.rb +0 -93
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_test.rb +0 -57
- data/new_project_template/vendor/ceedling/test/unit/busted/project_file_loader_test.rb +0 -142
- data/new_project_template/vendor/ceedling/test/unit/busted/setupinator_test.rb +0 -45
- data/new_project_template/vendor/ceedling/test/unit/busted/streaminator_test.rb +0 -49
- data/new_project_template/vendor/ceedling/test/unit/busted/task_invoker_test.rb +0 -69
- data/new_project_template/vendor/ceedling/test/unit/busted/test_includes_extractor_test.rb +0 -111
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_helper_test.rb +0 -62
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_test.rb +0 -47
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_helper_test.rb +0 -100
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_test.rb +0 -351
- data/new_project_template/vendor/ceedling/test/unit/busted/verbosinator_test.rb +0 -65
- data/new_project_template/vendor/ceedling/test/unit_test_helper.rb +0 -16
- data/new_project_template/vendor/ceedling/vendor/behaviors/Manifest.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/behaviors/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors.rb +0 -76
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors/reporttask.rb +0 -158
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_tasks_test.rb +0 -73
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_test.rb +0 -50
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/lib/user.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/test/user_test.rb +0 -17
- data/new_project_template/vendor/ceedling/vendor/c_exception/makefile +0 -24
- data/new_project_template/vendor/ceedling/vendor/c_exception/rakefile.rb +0 -41
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/CExceptionConfig.h +0 -27
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException.c +0 -291
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException_Runner.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/license.txt +0 -31
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.c +0 -856
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.h +0 -213
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -355
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testunity.c +0 -1510
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/gcc.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v4.yml +0 -91
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v5.yml +0 -80
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile_helper.rb +0 -274
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.c +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.c +0 -27
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.c +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.h +0 -13
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.c +0 -25
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/ModelConfig.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.h +0 -11
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.c +0 -27
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.c +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.h +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.c +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.c +0 -55
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.h +0 -13
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.c +0 -25
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.h +0 -13
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.c +0 -22
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.c +0 -34
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.c +0 -16
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.c +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcConductor.c +0 -121
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardware.c +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcModel.c +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestExecutor.c +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestMain.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestModel.c +0 -20
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTaskScheduler.c +0 -104
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureCalculator.c +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureFilter.c +0 -69
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConductor.c +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerHardware.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerModel.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartBaudRateRegisterCalculator.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConductor.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartModel.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_FLASH.mac +0 -71
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_RAM.mac +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_SIM.mac +0 -67
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_FLASH.xcl +0 -185
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_RAM.xcl +0 -185
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/ioat91sam7x256.ddf +0 -2259
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.dep +0 -3691
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewd +0 -1696
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewp +0 -2581
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.eww +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X-EK.h +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.inc +0 -2314
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.rdf +0 -4704
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.tcl +0 -3407
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +0 -2268
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/ioat91sam7x256.h +0 -4380
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/lib_AT91SAM7X256.h +0 -4211
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.cspy.bat +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dbgdt +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dni +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.wsdt +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup.s79 +0 -266
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup_SAM7.c +0 -98
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_FLASH.mac +0 -71
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_RAM.mac +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_SIM.mac +0 -67
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_FLASH.icf +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_RAM.icf +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.dep +0 -4204
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewd +0 -1906
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewp +0 -2426
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.eww +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X-EK.h +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +0 -2268
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/lib_AT91SAM7X256.h +0 -4211
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/project.h +0 -30
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.cspy.bat +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dbgdt +0 -5
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dni +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.wsdt +0 -74
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X_FLASH_Debug.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.cspy.bat +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dbgdt +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dni +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.wsdt +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_Binary.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_FLASH_Debug.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_RAM_Debug.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup.s +0 -299
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup_SAM7.c +0 -98
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile.rb +0 -89
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile_helper.rb +0 -383
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc.yml +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_32_with_64_support.yml +0 -52
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_64.yml +0 -53
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v4.yml +0 -107
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v5.yml +0 -92
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.c +0 -280
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.yml +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.c +0 -186
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.yml +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +0 -35
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC_Runner.c +0 -37
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/systest_generator.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/config.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/const.h +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/osek.h +0 -275
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/parsing.h +0 -47
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +0 -340
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +0 -381
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +0 -382
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +0 -123
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +0 -87
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +0 -247
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +0 -108
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +0 -173
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +0 -170
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +0 -208
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +0 -82
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +0 -153
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +0 -52
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +0 -91
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +0 -59
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +0 -222
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +0 -277
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +0 -221
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +0 -82
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_ignores.yml +0 -139
- data/new_project_template/vendor/ceedling/vendor/cmock/test/test_helper.rb +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.rb +0 -45
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.yml +0 -5
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_file_writer_test.rb +0 -30
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_main_test.rb +0 -412
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +0 -114
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +0 -190
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_expect_test.rb +0 -206
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +0 -159
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_utils_test.rb +0 -291
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_header_parser_test.rb +0 -1170
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +0 -223
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Manifest.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors.rb +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors/reporttask.rb +0 -158
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_tasks_test.rb +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_test.rb +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/lib/user.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/test/user_test.rb +0 -17
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/license.txt +0 -30
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/readme.txt +0 -236
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.h +0 -70
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/makefile +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/rakefile.rb +0 -41
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +0 -27
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException.c +0 -291
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +0 -217
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/license.txt +0 -31
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +0 -856
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +0 -213
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -355
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testunity.c +0 -1510
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/CHANGES +0 -78
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/LICENSE +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/README +0 -70
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/Rakefile +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/config/environment.rb +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/assert_error.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/extend_test_unit.rb +0 -14
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock.rb +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/errors.rb +0 -22
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation.rb +0 -229
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation_builder.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expector.rb +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/method_cleanout.rb +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock.rb +0 -180
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock_control.rb +0 -53
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/stubbing.rb +0 -210
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/trapper.rb +0 -31
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/utils.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/test_unit_before_after.rb +0 -169
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc.rake +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc_options.rb +0 -4
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/test.rake +0 -22
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/assert_error_test.rb +0 -52
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/auto_verify_test.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/direct_mock_usage_test.rb +0 -396
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/hardmock_test.rb +0 -434
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/stubbing_test.rb +0 -479
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/test_helper.rb +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_builder_test.rb +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_test.rb +0 -372
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expector_test.rb +0 -57
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/method_cleanout_test.rb +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_control_test.rb +0 -175
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_test.rb +0 -279
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/test_unit_before_after_test.rb +0 -452
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/trapper_test.rb +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/verify_error_test.rb +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.txt +0 -217
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/license.txt +0 -31
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.c +0 -856
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.h +0 -213
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity_internals.h +0 -355
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testunity.c +0 -1510
- data/new_project_template/vendor/ceedling/vendor/constructor/History.rdoc +0 -19
- data/new_project_template/vendor/ceedling/vendor/constructor/README.rdoc +0 -72
- data/new_project_template/vendor/ceedling/vendor/constructor/Rakefile +0 -33
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Notes.txt +0 -27
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Rakefile +0 -15
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.erb +0 -27
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.html +0 -36
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.graffle +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.html +0 -9
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.rb +0 -12
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_spec.rb +0 -407
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_struct_spec.rb +0 -84
- data/new_project_template/vendor/ceedling/vendor/diy/Rakefile +0 -33
- data/new_project_template/vendor/ceedling/vendor/diy/TODO.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/diy/diy.gemspec +0 -131
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/car.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/chassis.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/diy_example.rb +0 -26
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/engine.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/objects.yml +0 -10
- data/new_project_template/vendor/ceedling/vendor/diy/test/constructor.rb +0 -119
- data/new_project_template/vendor/ceedling/vendor/diy/test/diy_test.rb +0 -608
- data/new_project_template/vendor/ceedling/vendor/diy/test/factory_test.rb +0 -79
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/broken_construction.yml +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/cat.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/extra_conflict.yml +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/heritage.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/needs_input.yml +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/the_cat_lineage.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_model.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_presenter.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_view.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/file_resolver.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/other_thing.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/simple.yml +0 -11
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo/bar/qux.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/beef.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/dog.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/factory.yml +0 -19
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/llama.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/pork.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/kitten.rb +0 -13
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/objects.yml +0 -13
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/toy.rb +0 -14
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/attached_things_builder.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/invalid_method.yml +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/method_extractor.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/nonsingleton_objects.yml +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/objects.yml +0 -22
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing_builder.rb +0 -25
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/things_builder.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/objects.yml +0 -14
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/thinger.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/base.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/can.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/goat.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/objects.yml +0 -12
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/paper.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/plane.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/shirt.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/wings.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/holder_thing.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/objects.yml +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/bird.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/cat.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/hardshell/turtle.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/lizard.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/bad_module_specified.yml +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/class_name_combine.yml +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/hello.txt +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/no_module_specified.yml +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/objects.yml +0 -21
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/road.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/sky.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/subcontext.yml +0 -22
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/air.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/fat_cat.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/objects.yml +0 -19
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/pig.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/thread_spinner.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/tick.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/yard.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_model.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_presenter.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_view.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/data_source.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_model.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_presenter.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_view.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/giant_squid.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/krill.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/my_objects.yml +0 -21
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/sub_sub_context_test.yml +0 -27
- data/new_project_template/vendor/ceedling/vendor/diy/test/test_helper.rb +0 -55
- data/new_project_template/vendor/ceedling/vendor/hardmock/CHANGES +0 -78
- data/new_project_template/vendor/ceedling/vendor/hardmock/LICENSE +0 -7
- data/new_project_template/vendor/ceedling/vendor/hardmock/README +0 -70
- data/new_project_template/vendor/ceedling/vendor/hardmock/Rakefile +0 -8
- data/new_project_template/vendor/ceedling/vendor/hardmock/config/environment.rb +0 -12
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/assert_error.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/extend_test_unit.rb +0 -14
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock.rb +0 -86
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/errors.rb +0 -22
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation.rb +0 -229
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation_builder.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expector.rb +0 -26
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/method_cleanout.rb +0 -33
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock.rb +0 -180
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock_control.rb +0 -53
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/stubbing.rb +0 -210
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/trapper.rb +0 -31
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/utils.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/test_unit_before_after.rb +0 -169
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc.rake +0 -19
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc_options.rb +0 -4
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/test.rake +0 -22
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/assert_error_test.rb +0 -52
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/auto_verify_test.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/direct_mock_usage_test.rb +0 -396
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/hardmock_test.rb +0 -434
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/stubbing_test.rb +0 -479
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/test_helper.rb +0 -43
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_builder_test.rb +0 -19
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_test.rb +0 -372
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expector_test.rb +0 -57
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/method_cleanout_test.rb +0 -36
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_control_test.rb +0 -175
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_test.rb +0 -279
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/test_unit_before_after_test.rb +0 -452
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/trapper_test.rb +0 -62
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/verify_error_test.rb +0 -40
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/new_project_template/vendor/ceedling/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/unity/test/testunity.c +0 -1510
@@ -1,3407 +0,0 @@
|
|
1
|
-
# ----------------------------------------------------------------------------
|
2
|
-
# ATMEL Microcontroller Software Support - ROUSSET -
|
3
|
-
# ----------------------------------------------------------------------------
|
4
|
-
# DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
|
5
|
-
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
6
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
|
7
|
-
# DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
8
|
-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
9
|
-
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
10
|
-
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
11
|
-
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
12
|
-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
13
|
-
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
14
|
-
# ----------------------------------------------------------------------------
|
15
|
-
# File Name : AT91SAM7X256.tcl
|
16
|
-
# Object : AT91SAM7X256 definitions
|
17
|
-
# Generated : AT91 SW Application Group 11/02/2005 (15:17:30)
|
18
|
-
#
|
19
|
-
# CVS Reference : /AT91SAM7X256.pl/1.14/Tue Sep 13 15:06:52 2005//
|
20
|
-
# CVS Reference : /SYS_SAM7X.pl/1.3/Tue Feb 1 17:01:43 2005//
|
21
|
-
# CVS Reference : /MC_SAM7X.pl/1.2/Fri May 20 14:13:04 2005//
|
22
|
-
# CVS Reference : /PMC_SAM7X.pl/1.4/Tue Feb 8 13:58:10 2005//
|
23
|
-
# CVS Reference : /RSTC_SAM7X.pl/1.2/Wed Jul 13 14:57:50 2005//
|
24
|
-
# CVS Reference : /UDP_SAM7X.pl/1.1/Tue May 10 11:35:35 2005//
|
25
|
-
# CVS Reference : /PWM_SAM7X.pl/1.1/Tue May 10 11:53:07 2005//
|
26
|
-
# CVS Reference : /AIC_6075B.pl/1.3/Fri May 20 14:01:30 2005//
|
27
|
-
# CVS Reference : /PIO_6057A.pl/1.2/Thu Feb 3 10:18:28 2005//
|
28
|
-
# CVS Reference : /RTTC_6081A.pl/1.2/Tue Nov 9 14:43:58 2004//
|
29
|
-
# CVS Reference : /PITC_6079A.pl/1.2/Tue Nov 9 14:43:56 2004//
|
30
|
-
# CVS Reference : /WDTC_6080A.pl/1.3/Tue Nov 9 14:44:00 2004//
|
31
|
-
# CVS Reference : /VREG_6085B.pl/1.1/Tue Feb 1 16:05:48 2005//
|
32
|
-
# CVS Reference : /PDC_6074C.pl/1.2/Thu Feb 3 08:48:54 2005//
|
33
|
-
# CVS Reference : /DBGU_6059D.pl/1.1/Mon Jan 31 13:15:32 2005//
|
34
|
-
# CVS Reference : /SPI_6088D.pl/1.3/Fri May 20 14:08:59 2005//
|
35
|
-
# CVS Reference : /US_6089C.pl/1.1/Mon Jul 12 18:23:26 2004//
|
36
|
-
# CVS Reference : /SSC_6078B.pl/1.1/Wed Jul 13 15:19:19 2005//
|
37
|
-
# CVS Reference : /TWI_6061A.pl/1.1/Tue Jul 13 07:38:06 2004//
|
38
|
-
# CVS Reference : /TC_6082A.pl/1.7/Fri Mar 11 12:52:17 2005//
|
39
|
-
# CVS Reference : /CAN_6019B.pl/1.1/Tue Mar 8 12:42:22 2005//
|
40
|
-
# CVS Reference : /EMACB_6119A.pl/1.6/Wed Jul 13 15:05:35 2005//
|
41
|
-
# CVS Reference : /ADC_6051C.pl/1.1/Fri Oct 17 09:12:38 2003//
|
42
|
-
# ----------------------------------------------------------------------------
|
43
|
-
|
44
|
-
|
45
|
-
# *****************************************************************************
|
46
|
-
# SOFTWARE API DEFINITION FOR System Peripherals
|
47
|
-
# *****************************************************************************
|
48
|
-
|
49
|
-
# *****************************************************************************
|
50
|
-
# SOFTWARE API DEFINITION FOR Advanced Interrupt Controller
|
51
|
-
# *****************************************************************************
|
52
|
-
# -------- AIC_SMR : (AIC Offset: 0x0) Control Register --------
|
53
|
-
set AT91C_AIC_PRIOR [expr 0x7 << 0 ]
|
54
|
-
set AT91C_AIC_PRIOR_LOWEST 0x0
|
55
|
-
set AT91C_AIC_PRIOR_HIGHEST 0x7
|
56
|
-
set AT91C_AIC_SRCTYPE [expr 0x3 << 5 ]
|
57
|
-
set AT91C_AIC_SRCTYPE_INT_HIGH_LEVEL [expr 0x0 << 5 ]
|
58
|
-
set AT91C_AIC_SRCTYPE_EXT_LOW_LEVEL [expr 0x0 << 5 ]
|
59
|
-
set AT91C_AIC_SRCTYPE_INT_POSITIVE_EDGE [expr 0x1 << 5 ]
|
60
|
-
set AT91C_AIC_SRCTYPE_EXT_NEGATIVE_EDGE [expr 0x1 << 5 ]
|
61
|
-
set AT91C_AIC_SRCTYPE_HIGH_LEVEL [expr 0x2 << 5 ]
|
62
|
-
set AT91C_AIC_SRCTYPE_POSITIVE_EDGE [expr 0x3 << 5 ]
|
63
|
-
# -------- AIC_CISR : (AIC Offset: 0x114) AIC Core Interrupt Status Register --------
|
64
|
-
set AT91C_AIC_NFIQ [expr 0x1 << 0 ]
|
65
|
-
set AT91C_AIC_NIRQ [expr 0x1 << 1 ]
|
66
|
-
# -------- AIC_DCR : (AIC Offset: 0x138) AIC Debug Control Register (Protect) --------
|
67
|
-
set AT91C_AIC_DCR_PROT [expr 0x1 << 0 ]
|
68
|
-
set AT91C_AIC_DCR_GMSK [expr 0x1 << 1 ]
|
69
|
-
|
70
|
-
# *****************************************************************************
|
71
|
-
# SOFTWARE API DEFINITION FOR Peripheral DMA Controller
|
72
|
-
# *****************************************************************************
|
73
|
-
# -------- PDC_PTCR : (PDC Offset: 0x20) PDC Transfer Control Register --------
|
74
|
-
set AT91C_PDC_RXTEN [expr 0x1 << 0 ]
|
75
|
-
set AT91C_PDC_RXTDIS [expr 0x1 << 1 ]
|
76
|
-
set AT91C_PDC_TXTEN [expr 0x1 << 8 ]
|
77
|
-
set AT91C_PDC_TXTDIS [expr 0x1 << 9 ]
|
78
|
-
# -------- PDC_PTSR : (PDC Offset: 0x24) PDC Transfer Status Register --------
|
79
|
-
set AT91C_PDC_RXTEN [expr 0x1 << 0 ]
|
80
|
-
set AT91C_PDC_TXTEN [expr 0x1 << 8 ]
|
81
|
-
|
82
|
-
# *****************************************************************************
|
83
|
-
# SOFTWARE API DEFINITION FOR Debug Unit
|
84
|
-
# *****************************************************************************
|
85
|
-
# -------- DBGU_CR : (DBGU Offset: 0x0) Debug Unit Control Register --------
|
86
|
-
set AT91C_US_RSTRX [expr 0x1 << 2 ]
|
87
|
-
set AT91C_US_RSTTX [expr 0x1 << 3 ]
|
88
|
-
set AT91C_US_RXEN [expr 0x1 << 4 ]
|
89
|
-
set AT91C_US_RXDIS [expr 0x1 << 5 ]
|
90
|
-
set AT91C_US_TXEN [expr 0x1 << 6 ]
|
91
|
-
set AT91C_US_TXDIS [expr 0x1 << 7 ]
|
92
|
-
set AT91C_US_RSTSTA [expr 0x1 << 8 ]
|
93
|
-
# -------- DBGU_MR : (DBGU Offset: 0x4) Debug Unit Mode Register --------
|
94
|
-
set AT91C_US_PAR [expr 0x7 << 9 ]
|
95
|
-
set AT91C_US_PAR_EVEN [expr 0x0 << 9 ]
|
96
|
-
set AT91C_US_PAR_ODD [expr 0x1 << 9 ]
|
97
|
-
set AT91C_US_PAR_SPACE [expr 0x2 << 9 ]
|
98
|
-
set AT91C_US_PAR_MARK [expr 0x3 << 9 ]
|
99
|
-
set AT91C_US_PAR_NONE [expr 0x4 << 9 ]
|
100
|
-
set AT91C_US_PAR_MULTI_DROP [expr 0x6 << 9 ]
|
101
|
-
set AT91C_US_CHMODE [expr 0x3 << 14 ]
|
102
|
-
set AT91C_US_CHMODE_NORMAL [expr 0x0 << 14 ]
|
103
|
-
set AT91C_US_CHMODE_AUTO [expr 0x1 << 14 ]
|
104
|
-
set AT91C_US_CHMODE_LOCAL [expr 0x2 << 14 ]
|
105
|
-
set AT91C_US_CHMODE_REMOTE [expr 0x3 << 14 ]
|
106
|
-
# -------- DBGU_IER : (DBGU Offset: 0x8) Debug Unit Interrupt Enable Register --------
|
107
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
108
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
109
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
110
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
111
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
112
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
113
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
114
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
115
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
116
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
117
|
-
set AT91C_US_COMM_TX [expr 0x1 << 30 ]
|
118
|
-
set AT91C_US_COMM_RX [expr 0x1 << 31 ]
|
119
|
-
# -------- DBGU_IDR : (DBGU Offset: 0xc) Debug Unit Interrupt Disable Register --------
|
120
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
121
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
122
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
123
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
124
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
125
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
126
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
127
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
128
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
129
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
130
|
-
set AT91C_US_COMM_TX [expr 0x1 << 30 ]
|
131
|
-
set AT91C_US_COMM_RX [expr 0x1 << 31 ]
|
132
|
-
# -------- DBGU_IMR : (DBGU Offset: 0x10) Debug Unit Interrupt Mask Register --------
|
133
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
134
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
135
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
136
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
137
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
138
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
139
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
140
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
141
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
142
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
143
|
-
set AT91C_US_COMM_TX [expr 0x1 << 30 ]
|
144
|
-
set AT91C_US_COMM_RX [expr 0x1 << 31 ]
|
145
|
-
# -------- DBGU_CSR : (DBGU Offset: 0x14) Debug Unit Channel Status Register --------
|
146
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
147
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
148
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
149
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
150
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
151
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
152
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
153
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
154
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
155
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
156
|
-
set AT91C_US_COMM_TX [expr 0x1 << 30 ]
|
157
|
-
set AT91C_US_COMM_RX [expr 0x1 << 31 ]
|
158
|
-
# -------- DBGU_FNTR : (DBGU Offset: 0x48) Debug Unit FORCE_NTRST Register --------
|
159
|
-
set AT91C_US_FORCE_NTRST [expr 0x1 << 0 ]
|
160
|
-
|
161
|
-
# *****************************************************************************
|
162
|
-
# SOFTWARE API DEFINITION FOR Parallel Input Output Controler
|
163
|
-
# *****************************************************************************
|
164
|
-
|
165
|
-
# *****************************************************************************
|
166
|
-
# SOFTWARE API DEFINITION FOR Clock Generator Controler
|
167
|
-
# *****************************************************************************
|
168
|
-
# -------- CKGR_MOR : (CKGR Offset: 0x0) Main Oscillator Register --------
|
169
|
-
set AT91C_CKGR_MOSCEN [expr 0x1 << 0 ]
|
170
|
-
set AT91C_CKGR_OSCBYPASS [expr 0x1 << 1 ]
|
171
|
-
set AT91C_CKGR_OSCOUNT [expr 0xFF << 8 ]
|
172
|
-
# -------- CKGR_MCFR : (CKGR Offset: 0x4) Main Clock Frequency Register --------
|
173
|
-
set AT91C_CKGR_MAINF [expr 0xFFFF << 0 ]
|
174
|
-
set AT91C_CKGR_MAINRDY [expr 0x1 << 16 ]
|
175
|
-
# -------- CKGR_PLLR : (CKGR Offset: 0xc) PLL B Register --------
|
176
|
-
set AT91C_CKGR_DIV [expr 0xFF << 0 ]
|
177
|
-
set AT91C_CKGR_DIV_0 0x0
|
178
|
-
set AT91C_CKGR_DIV_BYPASS 0x1
|
179
|
-
set AT91C_CKGR_PLLCOUNT [expr 0x3F << 8 ]
|
180
|
-
set AT91C_CKGR_OUT [expr 0x3 << 14 ]
|
181
|
-
set AT91C_CKGR_OUT_0 [expr 0x0 << 14 ]
|
182
|
-
set AT91C_CKGR_OUT_1 [expr 0x1 << 14 ]
|
183
|
-
set AT91C_CKGR_OUT_2 [expr 0x2 << 14 ]
|
184
|
-
set AT91C_CKGR_OUT_3 [expr 0x3 << 14 ]
|
185
|
-
set AT91C_CKGR_MUL [expr 0x7FF << 16 ]
|
186
|
-
set AT91C_CKGR_USBDIV [expr 0x3 << 28 ]
|
187
|
-
set AT91C_CKGR_USBDIV_0 [expr 0x0 << 28 ]
|
188
|
-
set AT91C_CKGR_USBDIV_1 [expr 0x1 << 28 ]
|
189
|
-
set AT91C_CKGR_USBDIV_2 [expr 0x2 << 28 ]
|
190
|
-
|
191
|
-
# *****************************************************************************
|
192
|
-
# SOFTWARE API DEFINITION FOR Power Management Controler
|
193
|
-
# *****************************************************************************
|
194
|
-
# -------- PMC_SCER : (PMC Offset: 0x0) System Clock Enable Register --------
|
195
|
-
set AT91C_PMC_PCK [expr 0x1 << 0 ]
|
196
|
-
set AT91C_PMC_UDP [expr 0x1 << 7 ]
|
197
|
-
set AT91C_PMC_PCK0 [expr 0x1 << 8 ]
|
198
|
-
set AT91C_PMC_PCK1 [expr 0x1 << 9 ]
|
199
|
-
set AT91C_PMC_PCK2 [expr 0x1 << 10 ]
|
200
|
-
set AT91C_PMC_PCK3 [expr 0x1 << 11 ]
|
201
|
-
# -------- PMC_SCDR : (PMC Offset: 0x4) System Clock Disable Register --------
|
202
|
-
set AT91C_PMC_PCK [expr 0x1 << 0 ]
|
203
|
-
set AT91C_PMC_UDP [expr 0x1 << 7 ]
|
204
|
-
set AT91C_PMC_PCK0 [expr 0x1 << 8 ]
|
205
|
-
set AT91C_PMC_PCK1 [expr 0x1 << 9 ]
|
206
|
-
set AT91C_PMC_PCK2 [expr 0x1 << 10 ]
|
207
|
-
set AT91C_PMC_PCK3 [expr 0x1 << 11 ]
|
208
|
-
# -------- PMC_SCSR : (PMC Offset: 0x8) System Clock Status Register --------
|
209
|
-
set AT91C_PMC_PCK [expr 0x1 << 0 ]
|
210
|
-
set AT91C_PMC_UDP [expr 0x1 << 7 ]
|
211
|
-
set AT91C_PMC_PCK0 [expr 0x1 << 8 ]
|
212
|
-
set AT91C_PMC_PCK1 [expr 0x1 << 9 ]
|
213
|
-
set AT91C_PMC_PCK2 [expr 0x1 << 10 ]
|
214
|
-
set AT91C_PMC_PCK3 [expr 0x1 << 11 ]
|
215
|
-
# -------- CKGR_MOR : (PMC Offset: 0x20) Main Oscillator Register --------
|
216
|
-
set AT91C_CKGR_MOSCEN [expr 0x1 << 0 ]
|
217
|
-
set AT91C_CKGR_OSCBYPASS [expr 0x1 << 1 ]
|
218
|
-
set AT91C_CKGR_OSCOUNT [expr 0xFF << 8 ]
|
219
|
-
# -------- CKGR_MCFR : (PMC Offset: 0x24) Main Clock Frequency Register --------
|
220
|
-
set AT91C_CKGR_MAINF [expr 0xFFFF << 0 ]
|
221
|
-
set AT91C_CKGR_MAINRDY [expr 0x1 << 16 ]
|
222
|
-
# -------- CKGR_PLLR : (PMC Offset: 0x2c) PLL B Register --------
|
223
|
-
set AT91C_CKGR_DIV [expr 0xFF << 0 ]
|
224
|
-
set AT91C_CKGR_DIV_0 0x0
|
225
|
-
set AT91C_CKGR_DIV_BYPASS 0x1
|
226
|
-
set AT91C_CKGR_PLLCOUNT [expr 0x3F << 8 ]
|
227
|
-
set AT91C_CKGR_OUT [expr 0x3 << 14 ]
|
228
|
-
set AT91C_CKGR_OUT_0 [expr 0x0 << 14 ]
|
229
|
-
set AT91C_CKGR_OUT_1 [expr 0x1 << 14 ]
|
230
|
-
set AT91C_CKGR_OUT_2 [expr 0x2 << 14 ]
|
231
|
-
set AT91C_CKGR_OUT_3 [expr 0x3 << 14 ]
|
232
|
-
set AT91C_CKGR_MUL [expr 0x7FF << 16 ]
|
233
|
-
set AT91C_CKGR_USBDIV [expr 0x3 << 28 ]
|
234
|
-
set AT91C_CKGR_USBDIV_0 [expr 0x0 << 28 ]
|
235
|
-
set AT91C_CKGR_USBDIV_1 [expr 0x1 << 28 ]
|
236
|
-
set AT91C_CKGR_USBDIV_2 [expr 0x2 << 28 ]
|
237
|
-
# -------- PMC_MCKR : (PMC Offset: 0x30) Master Clock Register --------
|
238
|
-
set AT91C_PMC_CSS [expr 0x3 << 0 ]
|
239
|
-
set AT91C_PMC_CSS_SLOW_CLK 0x0
|
240
|
-
set AT91C_PMC_CSS_MAIN_CLK 0x1
|
241
|
-
set AT91C_PMC_CSS_PLL_CLK 0x3
|
242
|
-
set AT91C_PMC_PRES [expr 0x7 << 2 ]
|
243
|
-
set AT91C_PMC_PRES_CLK [expr 0x0 << 2 ]
|
244
|
-
set AT91C_PMC_PRES_CLK_2 [expr 0x1 << 2 ]
|
245
|
-
set AT91C_PMC_PRES_CLK_4 [expr 0x2 << 2 ]
|
246
|
-
set AT91C_PMC_PRES_CLK_8 [expr 0x3 << 2 ]
|
247
|
-
set AT91C_PMC_PRES_CLK_16 [expr 0x4 << 2 ]
|
248
|
-
set AT91C_PMC_PRES_CLK_32 [expr 0x5 << 2 ]
|
249
|
-
set AT91C_PMC_PRES_CLK_64 [expr 0x6 << 2 ]
|
250
|
-
# -------- PMC_PCKR : (PMC Offset: 0x40) Programmable Clock Register --------
|
251
|
-
set AT91C_PMC_CSS [expr 0x3 << 0 ]
|
252
|
-
set AT91C_PMC_CSS_SLOW_CLK 0x0
|
253
|
-
set AT91C_PMC_CSS_MAIN_CLK 0x1
|
254
|
-
set AT91C_PMC_CSS_PLL_CLK 0x3
|
255
|
-
set AT91C_PMC_PRES [expr 0x7 << 2 ]
|
256
|
-
set AT91C_PMC_PRES_CLK [expr 0x0 << 2 ]
|
257
|
-
set AT91C_PMC_PRES_CLK_2 [expr 0x1 << 2 ]
|
258
|
-
set AT91C_PMC_PRES_CLK_4 [expr 0x2 << 2 ]
|
259
|
-
set AT91C_PMC_PRES_CLK_8 [expr 0x3 << 2 ]
|
260
|
-
set AT91C_PMC_PRES_CLK_16 [expr 0x4 << 2 ]
|
261
|
-
set AT91C_PMC_PRES_CLK_32 [expr 0x5 << 2 ]
|
262
|
-
set AT91C_PMC_PRES_CLK_64 [expr 0x6 << 2 ]
|
263
|
-
# -------- PMC_IER : (PMC Offset: 0x60) PMC Interrupt Enable Register --------
|
264
|
-
set AT91C_PMC_MOSCS [expr 0x1 << 0 ]
|
265
|
-
set AT91C_PMC_LOCK [expr 0x1 << 2 ]
|
266
|
-
set AT91C_PMC_MCKRDY [expr 0x1 << 3 ]
|
267
|
-
set AT91C_PMC_PCK0RDY [expr 0x1 << 8 ]
|
268
|
-
set AT91C_PMC_PCK1RDY [expr 0x1 << 9 ]
|
269
|
-
set AT91C_PMC_PCK2RDY [expr 0x1 << 10 ]
|
270
|
-
set AT91C_PMC_PCK3RDY [expr 0x1 << 11 ]
|
271
|
-
# -------- PMC_IDR : (PMC Offset: 0x64) PMC Interrupt Disable Register --------
|
272
|
-
set AT91C_PMC_MOSCS [expr 0x1 << 0 ]
|
273
|
-
set AT91C_PMC_LOCK [expr 0x1 << 2 ]
|
274
|
-
set AT91C_PMC_MCKRDY [expr 0x1 << 3 ]
|
275
|
-
set AT91C_PMC_PCK0RDY [expr 0x1 << 8 ]
|
276
|
-
set AT91C_PMC_PCK1RDY [expr 0x1 << 9 ]
|
277
|
-
set AT91C_PMC_PCK2RDY [expr 0x1 << 10 ]
|
278
|
-
set AT91C_PMC_PCK3RDY [expr 0x1 << 11 ]
|
279
|
-
# -------- PMC_SR : (PMC Offset: 0x68) PMC Status Register --------
|
280
|
-
set AT91C_PMC_MOSCS [expr 0x1 << 0 ]
|
281
|
-
set AT91C_PMC_LOCK [expr 0x1 << 2 ]
|
282
|
-
set AT91C_PMC_MCKRDY [expr 0x1 << 3 ]
|
283
|
-
set AT91C_PMC_PCK0RDY [expr 0x1 << 8 ]
|
284
|
-
set AT91C_PMC_PCK1RDY [expr 0x1 << 9 ]
|
285
|
-
set AT91C_PMC_PCK2RDY [expr 0x1 << 10 ]
|
286
|
-
set AT91C_PMC_PCK3RDY [expr 0x1 << 11 ]
|
287
|
-
# -------- PMC_IMR : (PMC Offset: 0x6c) PMC Interrupt Mask Register --------
|
288
|
-
set AT91C_PMC_MOSCS [expr 0x1 << 0 ]
|
289
|
-
set AT91C_PMC_LOCK [expr 0x1 << 2 ]
|
290
|
-
set AT91C_PMC_MCKRDY [expr 0x1 << 3 ]
|
291
|
-
set AT91C_PMC_PCK0RDY [expr 0x1 << 8 ]
|
292
|
-
set AT91C_PMC_PCK1RDY [expr 0x1 << 9 ]
|
293
|
-
set AT91C_PMC_PCK2RDY [expr 0x1 << 10 ]
|
294
|
-
set AT91C_PMC_PCK3RDY [expr 0x1 << 11 ]
|
295
|
-
|
296
|
-
# *****************************************************************************
|
297
|
-
# SOFTWARE API DEFINITION FOR Reset Controller Interface
|
298
|
-
# *****************************************************************************
|
299
|
-
# -------- RSTC_RCR : (RSTC Offset: 0x0) Reset Control Register --------
|
300
|
-
set AT91C_RSTC_PROCRST [expr 0x1 << 0 ]
|
301
|
-
set AT91C_RSTC_PERRST [expr 0x1 << 2 ]
|
302
|
-
set AT91C_RSTC_EXTRST [expr 0x1 << 3 ]
|
303
|
-
set AT91C_RSTC_KEY [expr 0xFF << 24 ]
|
304
|
-
# -------- RSTC_RSR : (RSTC Offset: 0x4) Reset Status Register --------
|
305
|
-
set AT91C_RSTC_URSTS [expr 0x1 << 0 ]
|
306
|
-
set AT91C_RSTC_BODSTS [expr 0x1 << 1 ]
|
307
|
-
set AT91C_RSTC_RSTTYP [expr 0x7 << 8 ]
|
308
|
-
set AT91C_RSTC_RSTTYP_POWERUP [expr 0x0 << 8 ]
|
309
|
-
set AT91C_RSTC_RSTTYP_WAKEUP [expr 0x1 << 8 ]
|
310
|
-
set AT91C_RSTC_RSTTYP_WATCHDOG [expr 0x2 << 8 ]
|
311
|
-
set AT91C_RSTC_RSTTYP_SOFTWARE [expr 0x3 << 8 ]
|
312
|
-
set AT91C_RSTC_RSTTYP_USER [expr 0x4 << 8 ]
|
313
|
-
set AT91C_RSTC_RSTTYP_BROWNOUT [expr 0x5 << 8 ]
|
314
|
-
set AT91C_RSTC_NRSTL [expr 0x1 << 16 ]
|
315
|
-
set AT91C_RSTC_SRCMP [expr 0x1 << 17 ]
|
316
|
-
# -------- RSTC_RMR : (RSTC Offset: 0x8) Reset Mode Register --------
|
317
|
-
set AT91C_RSTC_URSTEN [expr 0x1 << 0 ]
|
318
|
-
set AT91C_RSTC_URSTIEN [expr 0x1 << 4 ]
|
319
|
-
set AT91C_RSTC_ERSTL [expr 0xF << 8 ]
|
320
|
-
set AT91C_RSTC_BODIEN [expr 0x1 << 16 ]
|
321
|
-
set AT91C_RSTC_KEY [expr 0xFF << 24 ]
|
322
|
-
|
323
|
-
# *****************************************************************************
|
324
|
-
# SOFTWARE API DEFINITION FOR Real Time Timer Controller Interface
|
325
|
-
# *****************************************************************************
|
326
|
-
# -------- RTTC_RTMR : (RTTC Offset: 0x0) Real-time Mode Register --------
|
327
|
-
set AT91C_RTTC_RTPRES [expr 0xFFFF << 0 ]
|
328
|
-
set AT91C_RTTC_ALMIEN [expr 0x1 << 16 ]
|
329
|
-
set AT91C_RTTC_RTTINCIEN [expr 0x1 << 17 ]
|
330
|
-
set AT91C_RTTC_RTTRST [expr 0x1 << 18 ]
|
331
|
-
# -------- RTTC_RTAR : (RTTC Offset: 0x4) Real-time Alarm Register --------
|
332
|
-
set AT91C_RTTC_ALMV [expr 0x0 << 0 ]
|
333
|
-
# -------- RTTC_RTVR : (RTTC Offset: 0x8) Current Real-time Value Register --------
|
334
|
-
set AT91C_RTTC_CRTV [expr 0x0 << 0 ]
|
335
|
-
# -------- RTTC_RTSR : (RTTC Offset: 0xc) Real-time Status Register --------
|
336
|
-
set AT91C_RTTC_ALMS [expr 0x1 << 0 ]
|
337
|
-
set AT91C_RTTC_RTTINC [expr 0x1 << 1 ]
|
338
|
-
|
339
|
-
# *****************************************************************************
|
340
|
-
# SOFTWARE API DEFINITION FOR Periodic Interval Timer Controller Interface
|
341
|
-
# *****************************************************************************
|
342
|
-
# -------- PITC_PIMR : (PITC Offset: 0x0) Periodic Interval Mode Register --------
|
343
|
-
set AT91C_PITC_PIV [expr 0xFFFFF << 0 ]
|
344
|
-
set AT91C_PITC_PITEN [expr 0x1 << 24 ]
|
345
|
-
set AT91C_PITC_PITIEN [expr 0x1 << 25 ]
|
346
|
-
# -------- PITC_PISR : (PITC Offset: 0x4) Periodic Interval Status Register --------
|
347
|
-
set AT91C_PITC_PITS [expr 0x1 << 0 ]
|
348
|
-
# -------- PITC_PIVR : (PITC Offset: 0x8) Periodic Interval Value Register --------
|
349
|
-
set AT91C_PITC_CPIV [expr 0xFFFFF << 0 ]
|
350
|
-
set AT91C_PITC_PICNT [expr 0xFFF << 20 ]
|
351
|
-
# -------- PITC_PIIR : (PITC Offset: 0xc) Periodic Interval Image Register --------
|
352
|
-
set AT91C_PITC_CPIV [expr 0xFFFFF << 0 ]
|
353
|
-
set AT91C_PITC_PICNT [expr 0xFFF << 20 ]
|
354
|
-
|
355
|
-
# *****************************************************************************
|
356
|
-
# SOFTWARE API DEFINITION FOR Watchdog Timer Controller Interface
|
357
|
-
# *****************************************************************************
|
358
|
-
# -------- WDTC_WDCR : (WDTC Offset: 0x0) Periodic Interval Image Register --------
|
359
|
-
set AT91C_WDTC_WDRSTT [expr 0x1 << 0 ]
|
360
|
-
set AT91C_WDTC_KEY [expr 0xFF << 24 ]
|
361
|
-
# -------- WDTC_WDMR : (WDTC Offset: 0x4) Watchdog Mode Register --------
|
362
|
-
set AT91C_WDTC_WDV [expr 0xFFF << 0 ]
|
363
|
-
set AT91C_WDTC_WDFIEN [expr 0x1 << 12 ]
|
364
|
-
set AT91C_WDTC_WDRSTEN [expr 0x1 << 13 ]
|
365
|
-
set AT91C_WDTC_WDRPROC [expr 0x1 << 14 ]
|
366
|
-
set AT91C_WDTC_WDDIS [expr 0x1 << 15 ]
|
367
|
-
set AT91C_WDTC_WDD [expr 0xFFF << 16 ]
|
368
|
-
set AT91C_WDTC_WDDBGHLT [expr 0x1 << 28 ]
|
369
|
-
set AT91C_WDTC_WDIDLEHLT [expr 0x1 << 29 ]
|
370
|
-
# -------- WDTC_WDSR : (WDTC Offset: 0x8) Watchdog Status Register --------
|
371
|
-
set AT91C_WDTC_WDUNF [expr 0x1 << 0 ]
|
372
|
-
set AT91C_WDTC_WDERR [expr 0x1 << 1 ]
|
373
|
-
|
374
|
-
# *****************************************************************************
|
375
|
-
# SOFTWARE API DEFINITION FOR Voltage Regulator Mode Controller Interface
|
376
|
-
# *****************************************************************************
|
377
|
-
# -------- VREG_MR : (VREG Offset: 0x0) Voltage Regulator Mode Register --------
|
378
|
-
set AT91C_VREG_PSTDBY [expr 0x1 << 0 ]
|
379
|
-
|
380
|
-
# *****************************************************************************
|
381
|
-
# SOFTWARE API DEFINITION FOR Memory Controller Interface
|
382
|
-
# *****************************************************************************
|
383
|
-
# -------- MC_RCR : (MC Offset: 0x0) MC Remap Control Register --------
|
384
|
-
set AT91C_MC_RCB [expr 0x1 << 0 ]
|
385
|
-
# -------- MC_ASR : (MC Offset: 0x4) MC Abort Status Register --------
|
386
|
-
set AT91C_MC_UNDADD [expr 0x1 << 0 ]
|
387
|
-
set AT91C_MC_MISADD [expr 0x1 << 1 ]
|
388
|
-
set AT91C_MC_ABTSZ [expr 0x3 << 8 ]
|
389
|
-
set AT91C_MC_ABTSZ_BYTE [expr 0x0 << 8 ]
|
390
|
-
set AT91C_MC_ABTSZ_HWORD [expr 0x1 << 8 ]
|
391
|
-
set AT91C_MC_ABTSZ_WORD [expr 0x2 << 8 ]
|
392
|
-
set AT91C_MC_ABTTYP [expr 0x3 << 10 ]
|
393
|
-
set AT91C_MC_ABTTYP_DATAR [expr 0x0 << 10 ]
|
394
|
-
set AT91C_MC_ABTTYP_DATAW [expr 0x1 << 10 ]
|
395
|
-
set AT91C_MC_ABTTYP_FETCH [expr 0x2 << 10 ]
|
396
|
-
set AT91C_MC_MST0 [expr 0x1 << 16 ]
|
397
|
-
set AT91C_MC_MST1 [expr 0x1 << 17 ]
|
398
|
-
set AT91C_MC_SVMST0 [expr 0x1 << 24 ]
|
399
|
-
set AT91C_MC_SVMST1 [expr 0x1 << 25 ]
|
400
|
-
# -------- MC_FMR : (MC Offset: 0x60) MC Flash Mode Register --------
|
401
|
-
set AT91C_MC_FRDY [expr 0x1 << 0 ]
|
402
|
-
set AT91C_MC_LOCKE [expr 0x1 << 2 ]
|
403
|
-
set AT91C_MC_PROGE [expr 0x1 << 3 ]
|
404
|
-
set AT91C_MC_NEBP [expr 0x1 << 7 ]
|
405
|
-
set AT91C_MC_FWS [expr 0x3 << 8 ]
|
406
|
-
set AT91C_MC_FWS_0FWS [expr 0x0 << 8 ]
|
407
|
-
set AT91C_MC_FWS_1FWS [expr 0x1 << 8 ]
|
408
|
-
set AT91C_MC_FWS_2FWS [expr 0x2 << 8 ]
|
409
|
-
set AT91C_MC_FWS_3FWS [expr 0x3 << 8 ]
|
410
|
-
set AT91C_MC_FMCN [expr 0xFF << 16 ]
|
411
|
-
# -------- MC_FCR : (MC Offset: 0x64) MC Flash Command Register --------
|
412
|
-
set AT91C_MC_FCMD [expr 0xF << 0 ]
|
413
|
-
set AT91C_MC_FCMD_START_PROG 0x1
|
414
|
-
set AT91C_MC_FCMD_LOCK 0x2
|
415
|
-
set AT91C_MC_FCMD_PROG_AND_LOCK 0x3
|
416
|
-
set AT91C_MC_FCMD_UNLOCK 0x4
|
417
|
-
set AT91C_MC_FCMD_ERASE_ALL 0x8
|
418
|
-
set AT91C_MC_FCMD_SET_GP_NVM 0xB
|
419
|
-
set AT91C_MC_FCMD_CLR_GP_NVM 0xD
|
420
|
-
set AT91C_MC_FCMD_SET_SECURITY 0xF
|
421
|
-
set AT91C_MC_PAGEN [expr 0x3FF << 8 ]
|
422
|
-
set AT91C_MC_KEY [expr 0xFF << 24 ]
|
423
|
-
# -------- MC_FSR : (MC Offset: 0x68) MC Flash Command Register --------
|
424
|
-
set AT91C_MC_FRDY [expr 0x1 << 0 ]
|
425
|
-
set AT91C_MC_LOCKE [expr 0x1 << 2 ]
|
426
|
-
set AT91C_MC_PROGE [expr 0x1 << 3 ]
|
427
|
-
set AT91C_MC_SECURITY [expr 0x1 << 4 ]
|
428
|
-
set AT91C_MC_GPNVM0 [expr 0x1 << 8 ]
|
429
|
-
set AT91C_MC_GPNVM1 [expr 0x1 << 9 ]
|
430
|
-
set AT91C_MC_GPNVM2 [expr 0x1 << 10 ]
|
431
|
-
set AT91C_MC_GPNVM3 [expr 0x1 << 11 ]
|
432
|
-
set AT91C_MC_GPNVM4 [expr 0x1 << 12 ]
|
433
|
-
set AT91C_MC_GPNVM5 [expr 0x1 << 13 ]
|
434
|
-
set AT91C_MC_GPNVM6 [expr 0x1 << 14 ]
|
435
|
-
set AT91C_MC_GPNVM7 [expr 0x1 << 15 ]
|
436
|
-
set AT91C_MC_LOCKS0 [expr 0x1 << 16 ]
|
437
|
-
set AT91C_MC_LOCKS1 [expr 0x1 << 17 ]
|
438
|
-
set AT91C_MC_LOCKS2 [expr 0x1 << 18 ]
|
439
|
-
set AT91C_MC_LOCKS3 [expr 0x1 << 19 ]
|
440
|
-
set AT91C_MC_LOCKS4 [expr 0x1 << 20 ]
|
441
|
-
set AT91C_MC_LOCKS5 [expr 0x1 << 21 ]
|
442
|
-
set AT91C_MC_LOCKS6 [expr 0x1 << 22 ]
|
443
|
-
set AT91C_MC_LOCKS7 [expr 0x1 << 23 ]
|
444
|
-
set AT91C_MC_LOCKS8 [expr 0x1 << 24 ]
|
445
|
-
set AT91C_MC_LOCKS9 [expr 0x1 << 25 ]
|
446
|
-
set AT91C_MC_LOCKS10 [expr 0x1 << 26 ]
|
447
|
-
set AT91C_MC_LOCKS11 [expr 0x1 << 27 ]
|
448
|
-
set AT91C_MC_LOCKS12 [expr 0x1 << 28 ]
|
449
|
-
set AT91C_MC_LOCKS13 [expr 0x1 << 29 ]
|
450
|
-
set AT91C_MC_LOCKS14 [expr 0x1 << 30 ]
|
451
|
-
set AT91C_MC_LOCKS15 [expr 0x1 << 31 ]
|
452
|
-
|
453
|
-
# *****************************************************************************
|
454
|
-
# SOFTWARE API DEFINITION FOR Serial Parallel Interface
|
455
|
-
# *****************************************************************************
|
456
|
-
# -------- SPI_CR : (SPI Offset: 0x0) SPI Control Register --------
|
457
|
-
set AT91C_SPI_SPIEN [expr 0x1 << 0 ]
|
458
|
-
set AT91C_SPI_SPIDIS [expr 0x1 << 1 ]
|
459
|
-
set AT91C_SPI_SWRST [expr 0x1 << 7 ]
|
460
|
-
set AT91C_SPI_LASTXFER [expr 0x1 << 24 ]
|
461
|
-
# -------- SPI_MR : (SPI Offset: 0x4) SPI Mode Register --------
|
462
|
-
set AT91C_SPI_MSTR [expr 0x1 << 0 ]
|
463
|
-
set AT91C_SPI_PS [expr 0x1 << 1 ]
|
464
|
-
set AT91C_SPI_PS_FIXED [expr 0x0 << 1 ]
|
465
|
-
set AT91C_SPI_PS_VARIABLE [expr 0x1 << 1 ]
|
466
|
-
set AT91C_SPI_PCSDEC [expr 0x1 << 2 ]
|
467
|
-
set AT91C_SPI_FDIV [expr 0x1 << 3 ]
|
468
|
-
set AT91C_SPI_MODFDIS [expr 0x1 << 4 ]
|
469
|
-
set AT91C_SPI_LLB [expr 0x1 << 7 ]
|
470
|
-
set AT91C_SPI_PCS [expr 0xF << 16 ]
|
471
|
-
set AT91C_SPI_DLYBCS [expr 0xFF << 24 ]
|
472
|
-
# -------- SPI_RDR : (SPI Offset: 0x8) Receive Data Register --------
|
473
|
-
set AT91C_SPI_RD [expr 0xFFFF << 0 ]
|
474
|
-
set AT91C_SPI_RPCS [expr 0xF << 16 ]
|
475
|
-
# -------- SPI_TDR : (SPI Offset: 0xc) Transmit Data Register --------
|
476
|
-
set AT91C_SPI_TD [expr 0xFFFF << 0 ]
|
477
|
-
set AT91C_SPI_TPCS [expr 0xF << 16 ]
|
478
|
-
set AT91C_SPI_LASTXFER [expr 0x1 << 24 ]
|
479
|
-
# -------- SPI_SR : (SPI Offset: 0x10) Status Register --------
|
480
|
-
set AT91C_SPI_RDRF [expr 0x1 << 0 ]
|
481
|
-
set AT91C_SPI_TDRE [expr 0x1 << 1 ]
|
482
|
-
set AT91C_SPI_MODF [expr 0x1 << 2 ]
|
483
|
-
set AT91C_SPI_OVRES [expr 0x1 << 3 ]
|
484
|
-
set AT91C_SPI_ENDRX [expr 0x1 << 4 ]
|
485
|
-
set AT91C_SPI_ENDTX [expr 0x1 << 5 ]
|
486
|
-
set AT91C_SPI_RXBUFF [expr 0x1 << 6 ]
|
487
|
-
set AT91C_SPI_TXBUFE [expr 0x1 << 7 ]
|
488
|
-
set AT91C_SPI_NSSR [expr 0x1 << 8 ]
|
489
|
-
set AT91C_SPI_TXEMPTY [expr 0x1 << 9 ]
|
490
|
-
set AT91C_SPI_SPIENS [expr 0x1 << 16 ]
|
491
|
-
# -------- SPI_IER : (SPI Offset: 0x14) Interrupt Enable Register --------
|
492
|
-
set AT91C_SPI_RDRF [expr 0x1 << 0 ]
|
493
|
-
set AT91C_SPI_TDRE [expr 0x1 << 1 ]
|
494
|
-
set AT91C_SPI_MODF [expr 0x1 << 2 ]
|
495
|
-
set AT91C_SPI_OVRES [expr 0x1 << 3 ]
|
496
|
-
set AT91C_SPI_ENDRX [expr 0x1 << 4 ]
|
497
|
-
set AT91C_SPI_ENDTX [expr 0x1 << 5 ]
|
498
|
-
set AT91C_SPI_RXBUFF [expr 0x1 << 6 ]
|
499
|
-
set AT91C_SPI_TXBUFE [expr 0x1 << 7 ]
|
500
|
-
set AT91C_SPI_NSSR [expr 0x1 << 8 ]
|
501
|
-
set AT91C_SPI_TXEMPTY [expr 0x1 << 9 ]
|
502
|
-
# -------- SPI_IDR : (SPI Offset: 0x18) Interrupt Disable Register --------
|
503
|
-
set AT91C_SPI_RDRF [expr 0x1 << 0 ]
|
504
|
-
set AT91C_SPI_TDRE [expr 0x1 << 1 ]
|
505
|
-
set AT91C_SPI_MODF [expr 0x1 << 2 ]
|
506
|
-
set AT91C_SPI_OVRES [expr 0x1 << 3 ]
|
507
|
-
set AT91C_SPI_ENDRX [expr 0x1 << 4 ]
|
508
|
-
set AT91C_SPI_ENDTX [expr 0x1 << 5 ]
|
509
|
-
set AT91C_SPI_RXBUFF [expr 0x1 << 6 ]
|
510
|
-
set AT91C_SPI_TXBUFE [expr 0x1 << 7 ]
|
511
|
-
set AT91C_SPI_NSSR [expr 0x1 << 8 ]
|
512
|
-
set AT91C_SPI_TXEMPTY [expr 0x1 << 9 ]
|
513
|
-
# -------- SPI_IMR : (SPI Offset: 0x1c) Interrupt Mask Register --------
|
514
|
-
set AT91C_SPI_RDRF [expr 0x1 << 0 ]
|
515
|
-
set AT91C_SPI_TDRE [expr 0x1 << 1 ]
|
516
|
-
set AT91C_SPI_MODF [expr 0x1 << 2 ]
|
517
|
-
set AT91C_SPI_OVRES [expr 0x1 << 3 ]
|
518
|
-
set AT91C_SPI_ENDRX [expr 0x1 << 4 ]
|
519
|
-
set AT91C_SPI_ENDTX [expr 0x1 << 5 ]
|
520
|
-
set AT91C_SPI_RXBUFF [expr 0x1 << 6 ]
|
521
|
-
set AT91C_SPI_TXBUFE [expr 0x1 << 7 ]
|
522
|
-
set AT91C_SPI_NSSR [expr 0x1 << 8 ]
|
523
|
-
set AT91C_SPI_TXEMPTY [expr 0x1 << 9 ]
|
524
|
-
# -------- SPI_CSR : (SPI Offset: 0x30) Chip Select Register --------
|
525
|
-
set AT91C_SPI_CPOL [expr 0x1 << 0 ]
|
526
|
-
set AT91C_SPI_NCPHA [expr 0x1 << 1 ]
|
527
|
-
set AT91C_SPI_CSAAT [expr 0x1 << 3 ]
|
528
|
-
set AT91C_SPI_BITS [expr 0xF << 4 ]
|
529
|
-
set AT91C_SPI_BITS_8 [expr 0x0 << 4 ]
|
530
|
-
set AT91C_SPI_BITS_9 [expr 0x1 << 4 ]
|
531
|
-
set AT91C_SPI_BITS_10 [expr 0x2 << 4 ]
|
532
|
-
set AT91C_SPI_BITS_11 [expr 0x3 << 4 ]
|
533
|
-
set AT91C_SPI_BITS_12 [expr 0x4 << 4 ]
|
534
|
-
set AT91C_SPI_BITS_13 [expr 0x5 << 4 ]
|
535
|
-
set AT91C_SPI_BITS_14 [expr 0x6 << 4 ]
|
536
|
-
set AT91C_SPI_BITS_15 [expr 0x7 << 4 ]
|
537
|
-
set AT91C_SPI_BITS_16 [expr 0x8 << 4 ]
|
538
|
-
set AT91C_SPI_SCBR [expr 0xFF << 8 ]
|
539
|
-
set AT91C_SPI_DLYBS [expr 0xFF << 16 ]
|
540
|
-
set AT91C_SPI_DLYBCT [expr 0xFF << 24 ]
|
541
|
-
|
542
|
-
# *****************************************************************************
|
543
|
-
# SOFTWARE API DEFINITION FOR Usart
|
544
|
-
# *****************************************************************************
|
545
|
-
# -------- US_CR : (USART Offset: 0x0) Debug Unit Control Register --------
|
546
|
-
set AT91C_US_RSTRX [expr 0x1 << 2 ]
|
547
|
-
set AT91C_US_RSTTX [expr 0x1 << 3 ]
|
548
|
-
set AT91C_US_RXEN [expr 0x1 << 4 ]
|
549
|
-
set AT91C_US_RXDIS [expr 0x1 << 5 ]
|
550
|
-
set AT91C_US_TXEN [expr 0x1 << 6 ]
|
551
|
-
set AT91C_US_TXDIS [expr 0x1 << 7 ]
|
552
|
-
set AT91C_US_RSTSTA [expr 0x1 << 8 ]
|
553
|
-
set AT91C_US_STTBRK [expr 0x1 << 9 ]
|
554
|
-
set AT91C_US_STPBRK [expr 0x1 << 10 ]
|
555
|
-
set AT91C_US_STTTO [expr 0x1 << 11 ]
|
556
|
-
set AT91C_US_SENDA [expr 0x1 << 12 ]
|
557
|
-
set AT91C_US_RSTIT [expr 0x1 << 13 ]
|
558
|
-
set AT91C_US_RSTNACK [expr 0x1 << 14 ]
|
559
|
-
set AT91C_US_RETTO [expr 0x1 << 15 ]
|
560
|
-
set AT91C_US_DTREN [expr 0x1 << 16 ]
|
561
|
-
set AT91C_US_DTRDIS [expr 0x1 << 17 ]
|
562
|
-
set AT91C_US_RTSEN [expr 0x1 << 18 ]
|
563
|
-
set AT91C_US_RTSDIS [expr 0x1 << 19 ]
|
564
|
-
# -------- US_MR : (USART Offset: 0x4) Debug Unit Mode Register --------
|
565
|
-
set AT91C_US_USMODE [expr 0xF << 0 ]
|
566
|
-
set AT91C_US_USMODE_NORMAL 0x0
|
567
|
-
set AT91C_US_USMODE_RS485 0x1
|
568
|
-
set AT91C_US_USMODE_HWHSH 0x2
|
569
|
-
set AT91C_US_USMODE_MODEM 0x3
|
570
|
-
set AT91C_US_USMODE_ISO7816_0 0x4
|
571
|
-
set AT91C_US_USMODE_ISO7816_1 0x6
|
572
|
-
set AT91C_US_USMODE_IRDA 0x8
|
573
|
-
set AT91C_US_USMODE_SWHSH 0xC
|
574
|
-
set AT91C_US_CLKS [expr 0x3 << 4 ]
|
575
|
-
set AT91C_US_CLKS_CLOCK [expr 0x0 << 4 ]
|
576
|
-
set AT91C_US_CLKS_FDIV1 [expr 0x1 << 4 ]
|
577
|
-
set AT91C_US_CLKS_SLOW [expr 0x2 << 4 ]
|
578
|
-
set AT91C_US_CLKS_EXT [expr 0x3 << 4 ]
|
579
|
-
set AT91C_US_CHRL [expr 0x3 << 6 ]
|
580
|
-
set AT91C_US_CHRL_5_BITS [expr 0x0 << 6 ]
|
581
|
-
set AT91C_US_CHRL_6_BITS [expr 0x1 << 6 ]
|
582
|
-
set AT91C_US_CHRL_7_BITS [expr 0x2 << 6 ]
|
583
|
-
set AT91C_US_CHRL_8_BITS [expr 0x3 << 6 ]
|
584
|
-
set AT91C_US_SYNC [expr 0x1 << 8 ]
|
585
|
-
set AT91C_US_PAR [expr 0x7 << 9 ]
|
586
|
-
set AT91C_US_PAR_EVEN [expr 0x0 << 9 ]
|
587
|
-
set AT91C_US_PAR_ODD [expr 0x1 << 9 ]
|
588
|
-
set AT91C_US_PAR_SPACE [expr 0x2 << 9 ]
|
589
|
-
set AT91C_US_PAR_MARK [expr 0x3 << 9 ]
|
590
|
-
set AT91C_US_PAR_NONE [expr 0x4 << 9 ]
|
591
|
-
set AT91C_US_PAR_MULTI_DROP [expr 0x6 << 9 ]
|
592
|
-
set AT91C_US_NBSTOP [expr 0x3 << 12 ]
|
593
|
-
set AT91C_US_NBSTOP_1_BIT [expr 0x0 << 12 ]
|
594
|
-
set AT91C_US_NBSTOP_15_BIT [expr 0x1 << 12 ]
|
595
|
-
set AT91C_US_NBSTOP_2_BIT [expr 0x2 << 12 ]
|
596
|
-
set AT91C_US_CHMODE [expr 0x3 << 14 ]
|
597
|
-
set AT91C_US_CHMODE_NORMAL [expr 0x0 << 14 ]
|
598
|
-
set AT91C_US_CHMODE_AUTO [expr 0x1 << 14 ]
|
599
|
-
set AT91C_US_CHMODE_LOCAL [expr 0x2 << 14 ]
|
600
|
-
set AT91C_US_CHMODE_REMOTE [expr 0x3 << 14 ]
|
601
|
-
set AT91C_US_MSBF [expr 0x1 << 16 ]
|
602
|
-
set AT91C_US_MODE9 [expr 0x1 << 17 ]
|
603
|
-
set AT91C_US_CKLO [expr 0x1 << 18 ]
|
604
|
-
set AT91C_US_OVER [expr 0x1 << 19 ]
|
605
|
-
set AT91C_US_INACK [expr 0x1 << 20 ]
|
606
|
-
set AT91C_US_DSNACK [expr 0x1 << 21 ]
|
607
|
-
set AT91C_US_MAX_ITER [expr 0x1 << 24 ]
|
608
|
-
set AT91C_US_FILTER [expr 0x1 << 28 ]
|
609
|
-
# -------- US_IER : (USART Offset: 0x8) Debug Unit Interrupt Enable Register --------
|
610
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
611
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
612
|
-
set AT91C_US_RXBRK [expr 0x1 << 2 ]
|
613
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
614
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
615
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
616
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
617
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
618
|
-
set AT91C_US_TIMEOUT [expr 0x1 << 8 ]
|
619
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
620
|
-
set AT91C_US_ITERATION [expr 0x1 << 10 ]
|
621
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
622
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
623
|
-
set AT91C_US_NACK [expr 0x1 << 13 ]
|
624
|
-
set AT91C_US_RIIC [expr 0x1 << 16 ]
|
625
|
-
set AT91C_US_DSRIC [expr 0x1 << 17 ]
|
626
|
-
set AT91C_US_DCDIC [expr 0x1 << 18 ]
|
627
|
-
set AT91C_US_CTSIC [expr 0x1 << 19 ]
|
628
|
-
# -------- US_IDR : (USART Offset: 0xc) Debug Unit Interrupt Disable Register --------
|
629
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
630
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
631
|
-
set AT91C_US_RXBRK [expr 0x1 << 2 ]
|
632
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
633
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
634
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
635
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
636
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
637
|
-
set AT91C_US_TIMEOUT [expr 0x1 << 8 ]
|
638
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
639
|
-
set AT91C_US_ITERATION [expr 0x1 << 10 ]
|
640
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
641
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
642
|
-
set AT91C_US_NACK [expr 0x1 << 13 ]
|
643
|
-
set AT91C_US_RIIC [expr 0x1 << 16 ]
|
644
|
-
set AT91C_US_DSRIC [expr 0x1 << 17 ]
|
645
|
-
set AT91C_US_DCDIC [expr 0x1 << 18 ]
|
646
|
-
set AT91C_US_CTSIC [expr 0x1 << 19 ]
|
647
|
-
# -------- US_IMR : (USART Offset: 0x10) Debug Unit Interrupt Mask Register --------
|
648
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
649
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
650
|
-
set AT91C_US_RXBRK [expr 0x1 << 2 ]
|
651
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
652
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
653
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
654
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
655
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
656
|
-
set AT91C_US_TIMEOUT [expr 0x1 << 8 ]
|
657
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
658
|
-
set AT91C_US_ITERATION [expr 0x1 << 10 ]
|
659
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
660
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
661
|
-
set AT91C_US_NACK [expr 0x1 << 13 ]
|
662
|
-
set AT91C_US_RIIC [expr 0x1 << 16 ]
|
663
|
-
set AT91C_US_DSRIC [expr 0x1 << 17 ]
|
664
|
-
set AT91C_US_DCDIC [expr 0x1 << 18 ]
|
665
|
-
set AT91C_US_CTSIC [expr 0x1 << 19 ]
|
666
|
-
# -------- US_CSR : (USART Offset: 0x14) Debug Unit Channel Status Register --------
|
667
|
-
set AT91C_US_RXRDY [expr 0x1 << 0 ]
|
668
|
-
set AT91C_US_TXRDY [expr 0x1 << 1 ]
|
669
|
-
set AT91C_US_RXBRK [expr 0x1 << 2 ]
|
670
|
-
set AT91C_US_ENDRX [expr 0x1 << 3 ]
|
671
|
-
set AT91C_US_ENDTX [expr 0x1 << 4 ]
|
672
|
-
set AT91C_US_OVRE [expr 0x1 << 5 ]
|
673
|
-
set AT91C_US_FRAME [expr 0x1 << 6 ]
|
674
|
-
set AT91C_US_PARE [expr 0x1 << 7 ]
|
675
|
-
set AT91C_US_TIMEOUT [expr 0x1 << 8 ]
|
676
|
-
set AT91C_US_TXEMPTY [expr 0x1 << 9 ]
|
677
|
-
set AT91C_US_ITERATION [expr 0x1 << 10 ]
|
678
|
-
set AT91C_US_TXBUFE [expr 0x1 << 11 ]
|
679
|
-
set AT91C_US_RXBUFF [expr 0x1 << 12 ]
|
680
|
-
set AT91C_US_NACK [expr 0x1 << 13 ]
|
681
|
-
set AT91C_US_RIIC [expr 0x1 << 16 ]
|
682
|
-
set AT91C_US_DSRIC [expr 0x1 << 17 ]
|
683
|
-
set AT91C_US_DCDIC [expr 0x1 << 18 ]
|
684
|
-
set AT91C_US_CTSIC [expr 0x1 << 19 ]
|
685
|
-
set AT91C_US_RI [expr 0x1 << 20 ]
|
686
|
-
set AT91C_US_DSR [expr 0x1 << 21 ]
|
687
|
-
set AT91C_US_DCD [expr 0x1 << 22 ]
|
688
|
-
set AT91C_US_CTS [expr 0x1 << 23 ]
|
689
|
-
|
690
|
-
# *****************************************************************************
|
691
|
-
# SOFTWARE API DEFINITION FOR Synchronous Serial Controller Interface
|
692
|
-
# *****************************************************************************
|
693
|
-
# -------- SSC_CR : (SSC Offset: 0x0) SSC Control Register --------
|
694
|
-
set AT91C_SSC_RXEN [expr 0x1 << 0 ]
|
695
|
-
set AT91C_SSC_RXDIS [expr 0x1 << 1 ]
|
696
|
-
set AT91C_SSC_TXEN [expr 0x1 << 8 ]
|
697
|
-
set AT91C_SSC_TXDIS [expr 0x1 << 9 ]
|
698
|
-
set AT91C_SSC_SWRST [expr 0x1 << 15 ]
|
699
|
-
# -------- SSC_RCMR : (SSC Offset: 0x10) SSC Receive Clock Mode Register --------
|
700
|
-
set AT91C_SSC_CKS [expr 0x3 << 0 ]
|
701
|
-
set AT91C_SSC_CKS_DIV 0x0
|
702
|
-
set AT91C_SSC_CKS_TK 0x1
|
703
|
-
set AT91C_SSC_CKS_RK 0x2
|
704
|
-
set AT91C_SSC_CKO [expr 0x7 << 2 ]
|
705
|
-
set AT91C_SSC_CKO_NONE [expr 0x0 << 2 ]
|
706
|
-
set AT91C_SSC_CKO_CONTINOUS [expr 0x1 << 2 ]
|
707
|
-
set AT91C_SSC_CKO_DATA_TX [expr 0x2 << 2 ]
|
708
|
-
set AT91C_SSC_CKI [expr 0x1 << 5 ]
|
709
|
-
set AT91C_SSC_CKG [expr 0x3 << 6 ]
|
710
|
-
set AT91C_SSC_CKG_NONE [expr 0x0 << 6 ]
|
711
|
-
set AT91C_SSC_CKG_LOW [expr 0x1 << 6 ]
|
712
|
-
set AT91C_SSC_CKG_HIGH [expr 0x2 << 6 ]
|
713
|
-
set AT91C_SSC_START [expr 0xF << 8 ]
|
714
|
-
set AT91C_SSC_START_CONTINOUS [expr 0x0 << 8 ]
|
715
|
-
set AT91C_SSC_START_TX [expr 0x1 << 8 ]
|
716
|
-
set AT91C_SSC_START_LOW_RF [expr 0x2 << 8 ]
|
717
|
-
set AT91C_SSC_START_HIGH_RF [expr 0x3 << 8 ]
|
718
|
-
set AT91C_SSC_START_FALL_RF [expr 0x4 << 8 ]
|
719
|
-
set AT91C_SSC_START_RISE_RF [expr 0x5 << 8 ]
|
720
|
-
set AT91C_SSC_START_LEVEL_RF [expr 0x6 << 8 ]
|
721
|
-
set AT91C_SSC_START_EDGE_RF [expr 0x7 << 8 ]
|
722
|
-
set AT91C_SSC_START_0 [expr 0x8 << 8 ]
|
723
|
-
set AT91C_SSC_STOP [expr 0x1 << 12 ]
|
724
|
-
set AT91C_SSC_STTDLY [expr 0xFF << 16 ]
|
725
|
-
set AT91C_SSC_PERIOD [expr 0xFF << 24 ]
|
726
|
-
# -------- SSC_RFMR : (SSC Offset: 0x14) SSC Receive Frame Mode Register --------
|
727
|
-
set AT91C_SSC_DATLEN [expr 0x1F << 0 ]
|
728
|
-
set AT91C_SSC_LOOP [expr 0x1 << 5 ]
|
729
|
-
set AT91C_SSC_MSBF [expr 0x1 << 7 ]
|
730
|
-
set AT91C_SSC_DATNB [expr 0xF << 8 ]
|
731
|
-
set AT91C_SSC_FSLEN [expr 0xF << 16 ]
|
732
|
-
set AT91C_SSC_FSOS [expr 0x7 << 20 ]
|
733
|
-
set AT91C_SSC_FSOS_NONE [expr 0x0 << 20 ]
|
734
|
-
set AT91C_SSC_FSOS_NEGATIVE [expr 0x1 << 20 ]
|
735
|
-
set AT91C_SSC_FSOS_POSITIVE [expr 0x2 << 20 ]
|
736
|
-
set AT91C_SSC_FSOS_LOW [expr 0x3 << 20 ]
|
737
|
-
set AT91C_SSC_FSOS_HIGH [expr 0x4 << 20 ]
|
738
|
-
set AT91C_SSC_FSOS_TOGGLE [expr 0x5 << 20 ]
|
739
|
-
set AT91C_SSC_FSEDGE [expr 0x1 << 24 ]
|
740
|
-
# -------- SSC_TCMR : (SSC Offset: 0x18) SSC Transmit Clock Mode Register --------
|
741
|
-
set AT91C_SSC_CKS [expr 0x3 << 0 ]
|
742
|
-
set AT91C_SSC_CKS_DIV 0x0
|
743
|
-
set AT91C_SSC_CKS_TK 0x1
|
744
|
-
set AT91C_SSC_CKS_RK 0x2
|
745
|
-
set AT91C_SSC_CKO [expr 0x7 << 2 ]
|
746
|
-
set AT91C_SSC_CKO_NONE [expr 0x0 << 2 ]
|
747
|
-
set AT91C_SSC_CKO_CONTINOUS [expr 0x1 << 2 ]
|
748
|
-
set AT91C_SSC_CKO_DATA_TX [expr 0x2 << 2 ]
|
749
|
-
set AT91C_SSC_CKI [expr 0x1 << 5 ]
|
750
|
-
set AT91C_SSC_CKG [expr 0x3 << 6 ]
|
751
|
-
set AT91C_SSC_CKG_NONE [expr 0x0 << 6 ]
|
752
|
-
set AT91C_SSC_CKG_LOW [expr 0x1 << 6 ]
|
753
|
-
set AT91C_SSC_CKG_HIGH [expr 0x2 << 6 ]
|
754
|
-
set AT91C_SSC_START [expr 0xF << 8 ]
|
755
|
-
set AT91C_SSC_START_CONTINOUS [expr 0x0 << 8 ]
|
756
|
-
set AT91C_SSC_START_TX [expr 0x1 << 8 ]
|
757
|
-
set AT91C_SSC_START_LOW_RF [expr 0x2 << 8 ]
|
758
|
-
set AT91C_SSC_START_HIGH_RF [expr 0x3 << 8 ]
|
759
|
-
set AT91C_SSC_START_FALL_RF [expr 0x4 << 8 ]
|
760
|
-
set AT91C_SSC_START_RISE_RF [expr 0x5 << 8 ]
|
761
|
-
set AT91C_SSC_START_LEVEL_RF [expr 0x6 << 8 ]
|
762
|
-
set AT91C_SSC_START_EDGE_RF [expr 0x7 << 8 ]
|
763
|
-
set AT91C_SSC_START_0 [expr 0x8 << 8 ]
|
764
|
-
set AT91C_SSC_STTDLY [expr 0xFF << 16 ]
|
765
|
-
set AT91C_SSC_PERIOD [expr 0xFF << 24 ]
|
766
|
-
# -------- SSC_TFMR : (SSC Offset: 0x1c) SSC Transmit Frame Mode Register --------
|
767
|
-
set AT91C_SSC_DATLEN [expr 0x1F << 0 ]
|
768
|
-
set AT91C_SSC_DATDEF [expr 0x1 << 5 ]
|
769
|
-
set AT91C_SSC_MSBF [expr 0x1 << 7 ]
|
770
|
-
set AT91C_SSC_DATNB [expr 0xF << 8 ]
|
771
|
-
set AT91C_SSC_FSLEN [expr 0xF << 16 ]
|
772
|
-
set AT91C_SSC_FSOS [expr 0x7 << 20 ]
|
773
|
-
set AT91C_SSC_FSOS_NONE [expr 0x0 << 20 ]
|
774
|
-
set AT91C_SSC_FSOS_NEGATIVE [expr 0x1 << 20 ]
|
775
|
-
set AT91C_SSC_FSOS_POSITIVE [expr 0x2 << 20 ]
|
776
|
-
set AT91C_SSC_FSOS_LOW [expr 0x3 << 20 ]
|
777
|
-
set AT91C_SSC_FSOS_HIGH [expr 0x4 << 20 ]
|
778
|
-
set AT91C_SSC_FSOS_TOGGLE [expr 0x5 << 20 ]
|
779
|
-
set AT91C_SSC_FSDEN [expr 0x1 << 23 ]
|
780
|
-
set AT91C_SSC_FSEDGE [expr 0x1 << 24 ]
|
781
|
-
# -------- SSC_SR : (SSC Offset: 0x40) SSC Status Register --------
|
782
|
-
set AT91C_SSC_TXRDY [expr 0x1 << 0 ]
|
783
|
-
set AT91C_SSC_TXEMPTY [expr 0x1 << 1 ]
|
784
|
-
set AT91C_SSC_ENDTX [expr 0x1 << 2 ]
|
785
|
-
set AT91C_SSC_TXBUFE [expr 0x1 << 3 ]
|
786
|
-
set AT91C_SSC_RXRDY [expr 0x1 << 4 ]
|
787
|
-
set AT91C_SSC_OVRUN [expr 0x1 << 5 ]
|
788
|
-
set AT91C_SSC_ENDRX [expr 0x1 << 6 ]
|
789
|
-
set AT91C_SSC_RXBUFF [expr 0x1 << 7 ]
|
790
|
-
set AT91C_SSC_CP0 [expr 0x1 << 8 ]
|
791
|
-
set AT91C_SSC_CP1 [expr 0x1 << 9 ]
|
792
|
-
set AT91C_SSC_TXSYN [expr 0x1 << 10 ]
|
793
|
-
set AT91C_SSC_RXSYN [expr 0x1 << 11 ]
|
794
|
-
set AT91C_SSC_TXENA [expr 0x1 << 16 ]
|
795
|
-
set AT91C_SSC_RXENA [expr 0x1 << 17 ]
|
796
|
-
# -------- SSC_IER : (SSC Offset: 0x44) SSC Interrupt Enable Register --------
|
797
|
-
set AT91C_SSC_TXRDY [expr 0x1 << 0 ]
|
798
|
-
set AT91C_SSC_TXEMPTY [expr 0x1 << 1 ]
|
799
|
-
set AT91C_SSC_ENDTX [expr 0x1 << 2 ]
|
800
|
-
set AT91C_SSC_TXBUFE [expr 0x1 << 3 ]
|
801
|
-
set AT91C_SSC_RXRDY [expr 0x1 << 4 ]
|
802
|
-
set AT91C_SSC_OVRUN [expr 0x1 << 5 ]
|
803
|
-
set AT91C_SSC_ENDRX [expr 0x1 << 6 ]
|
804
|
-
set AT91C_SSC_RXBUFF [expr 0x1 << 7 ]
|
805
|
-
set AT91C_SSC_CP0 [expr 0x1 << 8 ]
|
806
|
-
set AT91C_SSC_CP1 [expr 0x1 << 9 ]
|
807
|
-
set AT91C_SSC_TXSYN [expr 0x1 << 10 ]
|
808
|
-
set AT91C_SSC_RXSYN [expr 0x1 << 11 ]
|
809
|
-
# -------- SSC_IDR : (SSC Offset: 0x48) SSC Interrupt Disable Register --------
|
810
|
-
set AT91C_SSC_TXRDY [expr 0x1 << 0 ]
|
811
|
-
set AT91C_SSC_TXEMPTY [expr 0x1 << 1 ]
|
812
|
-
set AT91C_SSC_ENDTX [expr 0x1 << 2 ]
|
813
|
-
set AT91C_SSC_TXBUFE [expr 0x1 << 3 ]
|
814
|
-
set AT91C_SSC_RXRDY [expr 0x1 << 4 ]
|
815
|
-
set AT91C_SSC_OVRUN [expr 0x1 << 5 ]
|
816
|
-
set AT91C_SSC_ENDRX [expr 0x1 << 6 ]
|
817
|
-
set AT91C_SSC_RXBUFF [expr 0x1 << 7 ]
|
818
|
-
set AT91C_SSC_CP0 [expr 0x1 << 8 ]
|
819
|
-
set AT91C_SSC_CP1 [expr 0x1 << 9 ]
|
820
|
-
set AT91C_SSC_TXSYN [expr 0x1 << 10 ]
|
821
|
-
set AT91C_SSC_RXSYN [expr 0x1 << 11 ]
|
822
|
-
# -------- SSC_IMR : (SSC Offset: 0x4c) SSC Interrupt Mask Register --------
|
823
|
-
set AT91C_SSC_TXRDY [expr 0x1 << 0 ]
|
824
|
-
set AT91C_SSC_TXEMPTY [expr 0x1 << 1 ]
|
825
|
-
set AT91C_SSC_ENDTX [expr 0x1 << 2 ]
|
826
|
-
set AT91C_SSC_TXBUFE [expr 0x1 << 3 ]
|
827
|
-
set AT91C_SSC_RXRDY [expr 0x1 << 4 ]
|
828
|
-
set AT91C_SSC_OVRUN [expr 0x1 << 5 ]
|
829
|
-
set AT91C_SSC_ENDRX [expr 0x1 << 6 ]
|
830
|
-
set AT91C_SSC_RXBUFF [expr 0x1 << 7 ]
|
831
|
-
set AT91C_SSC_CP0 [expr 0x1 << 8 ]
|
832
|
-
set AT91C_SSC_CP1 [expr 0x1 << 9 ]
|
833
|
-
set AT91C_SSC_TXSYN [expr 0x1 << 10 ]
|
834
|
-
set AT91C_SSC_RXSYN [expr 0x1 << 11 ]
|
835
|
-
|
836
|
-
# *****************************************************************************
|
837
|
-
# SOFTWARE API DEFINITION FOR Two-wire Interface
|
838
|
-
# *****************************************************************************
|
839
|
-
# -------- TWI_CR : (TWI Offset: 0x0) TWI Control Register --------
|
840
|
-
set AT91C_TWI_START [expr 0x1 << 0 ]
|
841
|
-
set AT91C_TWI_STOP [expr 0x1 << 1 ]
|
842
|
-
set AT91C_TWI_MSEN [expr 0x1 << 2 ]
|
843
|
-
set AT91C_TWI_MSDIS [expr 0x1 << 3 ]
|
844
|
-
set AT91C_TWI_SWRST [expr 0x1 << 7 ]
|
845
|
-
# -------- TWI_MMR : (TWI Offset: 0x4) TWI Master Mode Register --------
|
846
|
-
set AT91C_TWI_IADRSZ [expr 0x3 << 8 ]
|
847
|
-
set AT91C_TWI_IADRSZ_NO [expr 0x0 << 8 ]
|
848
|
-
set AT91C_TWI_IADRSZ_1_BYTE [expr 0x1 << 8 ]
|
849
|
-
set AT91C_TWI_IADRSZ_2_BYTE [expr 0x2 << 8 ]
|
850
|
-
set AT91C_TWI_IADRSZ_3_BYTE [expr 0x3 << 8 ]
|
851
|
-
set AT91C_TWI_MREAD [expr 0x1 << 12 ]
|
852
|
-
set AT91C_TWI_DADR [expr 0x7F << 16 ]
|
853
|
-
# -------- TWI_CWGR : (TWI Offset: 0x10) TWI Clock Waveform Generator Register --------
|
854
|
-
set AT91C_TWI_CLDIV [expr 0xFF << 0 ]
|
855
|
-
set AT91C_TWI_CHDIV [expr 0xFF << 8 ]
|
856
|
-
set AT91C_TWI_CKDIV [expr 0x7 << 16 ]
|
857
|
-
# -------- TWI_SR : (TWI Offset: 0x20) TWI Status Register --------
|
858
|
-
set AT91C_TWI_TXCOMP [expr 0x1 << 0 ]
|
859
|
-
set AT91C_TWI_RXRDY [expr 0x1 << 1 ]
|
860
|
-
set AT91C_TWI_TXRDY [expr 0x1 << 2 ]
|
861
|
-
set AT91C_TWI_OVRE [expr 0x1 << 6 ]
|
862
|
-
set AT91C_TWI_UNRE [expr 0x1 << 7 ]
|
863
|
-
set AT91C_TWI_NACK [expr 0x1 << 8 ]
|
864
|
-
# -------- TWI_IER : (TWI Offset: 0x24) TWI Interrupt Enable Register --------
|
865
|
-
set AT91C_TWI_TXCOMP [expr 0x1 << 0 ]
|
866
|
-
set AT91C_TWI_RXRDY [expr 0x1 << 1 ]
|
867
|
-
set AT91C_TWI_TXRDY [expr 0x1 << 2 ]
|
868
|
-
set AT91C_TWI_OVRE [expr 0x1 << 6 ]
|
869
|
-
set AT91C_TWI_UNRE [expr 0x1 << 7 ]
|
870
|
-
set AT91C_TWI_NACK [expr 0x1 << 8 ]
|
871
|
-
# -------- TWI_IDR : (TWI Offset: 0x28) TWI Interrupt Disable Register --------
|
872
|
-
set AT91C_TWI_TXCOMP [expr 0x1 << 0 ]
|
873
|
-
set AT91C_TWI_RXRDY [expr 0x1 << 1 ]
|
874
|
-
set AT91C_TWI_TXRDY [expr 0x1 << 2 ]
|
875
|
-
set AT91C_TWI_OVRE [expr 0x1 << 6 ]
|
876
|
-
set AT91C_TWI_UNRE [expr 0x1 << 7 ]
|
877
|
-
set AT91C_TWI_NACK [expr 0x1 << 8 ]
|
878
|
-
# -------- TWI_IMR : (TWI Offset: 0x2c) TWI Interrupt Mask Register --------
|
879
|
-
set AT91C_TWI_TXCOMP [expr 0x1 << 0 ]
|
880
|
-
set AT91C_TWI_RXRDY [expr 0x1 << 1 ]
|
881
|
-
set AT91C_TWI_TXRDY [expr 0x1 << 2 ]
|
882
|
-
set AT91C_TWI_OVRE [expr 0x1 << 6 ]
|
883
|
-
set AT91C_TWI_UNRE [expr 0x1 << 7 ]
|
884
|
-
set AT91C_TWI_NACK [expr 0x1 << 8 ]
|
885
|
-
|
886
|
-
# *****************************************************************************
|
887
|
-
# SOFTWARE API DEFINITION FOR PWMC Channel Interface
|
888
|
-
# *****************************************************************************
|
889
|
-
# -------- PWMC_CMR : (PWMC_CH Offset: 0x0) PWMC Channel Mode Register --------
|
890
|
-
set AT91C_PWMC_CPRE [expr 0xF << 0 ]
|
891
|
-
set AT91C_PWMC_CPRE_MCK 0x0
|
892
|
-
set AT91C_PWMC_CPRE_MCK/2 0x1
|
893
|
-
set AT91C_PWMC_CPRE_MCK/4 0x2
|
894
|
-
set AT91C_PWMC_CPRE_MCK/8 0x3
|
895
|
-
set AT91C_PWMC_CPRE_MCK/16 0x4
|
896
|
-
set AT91C_PWMC_CPRE_MCK/32 0x5
|
897
|
-
set AT91C_PWMC_CPRE_MCK/64 0x6
|
898
|
-
set AT91C_PWMC_CPRE_MCK/128 0x7
|
899
|
-
set AT91C_PWMC_CPRE_MCK/256 0x8
|
900
|
-
set AT91C_PWMC_CPRE_MCK/512 0x9
|
901
|
-
set AT91C_PWMC_CPRE_MCK/1024 0xA
|
902
|
-
set AT91C_PWMC_CPRE_MCKA 0xB
|
903
|
-
set AT91C_PWMC_CPRE_MCKB 0xC
|
904
|
-
set AT91C_PWMC_CALG [expr 0x1 << 8 ]
|
905
|
-
set AT91C_PWMC_CPOL [expr 0x1 << 9 ]
|
906
|
-
set AT91C_PWMC_CPD [expr 0x1 << 10 ]
|
907
|
-
# -------- PWMC_CDTYR : (PWMC_CH Offset: 0x4) PWMC Channel Duty Cycle Register --------
|
908
|
-
set AT91C_PWMC_CDTY [expr 0x0 << 0 ]
|
909
|
-
# -------- PWMC_CPRDR : (PWMC_CH Offset: 0x8) PWMC Channel Period Register --------
|
910
|
-
set AT91C_PWMC_CPRD [expr 0x0 << 0 ]
|
911
|
-
# -------- PWMC_CCNTR : (PWMC_CH Offset: 0xc) PWMC Channel Counter Register --------
|
912
|
-
set AT91C_PWMC_CCNT [expr 0x0 << 0 ]
|
913
|
-
# -------- PWMC_CUPDR : (PWMC_CH Offset: 0x10) PWMC Channel Update Register --------
|
914
|
-
set AT91C_PWMC_CUPD [expr 0x0 << 0 ]
|
915
|
-
|
916
|
-
# *****************************************************************************
|
917
|
-
# SOFTWARE API DEFINITION FOR Pulse Width Modulation Controller Interface
|
918
|
-
# *****************************************************************************
|
919
|
-
# -------- PWMC_MR : (PWMC Offset: 0x0) PWMC Mode Register --------
|
920
|
-
set AT91C_PWMC_DIVA [expr 0xFF << 0 ]
|
921
|
-
set AT91C_PWMC_PREA [expr 0xF << 8 ]
|
922
|
-
set AT91C_PWMC_PREA_MCK [expr 0x0 << 8 ]
|
923
|
-
set AT91C_PWMC_PREA_MCK/2 [expr 0x1 << 8 ]
|
924
|
-
set AT91C_PWMC_PREA_MCK/4 [expr 0x2 << 8 ]
|
925
|
-
set AT91C_PWMC_PREA_MCK/8 [expr 0x3 << 8 ]
|
926
|
-
set AT91C_PWMC_PREA_MCK/16 [expr 0x4 << 8 ]
|
927
|
-
set AT91C_PWMC_PREA_MCK/32 [expr 0x5 << 8 ]
|
928
|
-
set AT91C_PWMC_PREA_MCK/64 [expr 0x6 << 8 ]
|
929
|
-
set AT91C_PWMC_PREA_MCK/128 [expr 0x7 << 8 ]
|
930
|
-
set AT91C_PWMC_PREA_MCK/256 [expr 0x8 << 8 ]
|
931
|
-
set AT91C_PWMC_DIVB [expr 0xFF << 16 ]
|
932
|
-
set AT91C_PWMC_PREB [expr 0xF << 24 ]
|
933
|
-
set AT91C_PWMC_PREB_MCK [expr 0x0 << 24 ]
|
934
|
-
set AT91C_PWMC_PREB_MCK/2 [expr 0x1 << 24 ]
|
935
|
-
set AT91C_PWMC_PREB_MCK/4 [expr 0x2 << 24 ]
|
936
|
-
set AT91C_PWMC_PREB_MCK/8 [expr 0x3 << 24 ]
|
937
|
-
set AT91C_PWMC_PREB_MCK/16 [expr 0x4 << 24 ]
|
938
|
-
set AT91C_PWMC_PREB_MCK/32 [expr 0x5 << 24 ]
|
939
|
-
set AT91C_PWMC_PREB_MCK/64 [expr 0x6 << 24 ]
|
940
|
-
set AT91C_PWMC_PREB_MCK/128 [expr 0x7 << 24 ]
|
941
|
-
set AT91C_PWMC_PREB_MCK/256 [expr 0x8 << 24 ]
|
942
|
-
# -------- PWMC_ENA : (PWMC Offset: 0x4) PWMC Enable Register --------
|
943
|
-
set AT91C_PWMC_CHID0 [expr 0x1 << 0 ]
|
944
|
-
set AT91C_PWMC_CHID1 [expr 0x1 << 1 ]
|
945
|
-
set AT91C_PWMC_CHID2 [expr 0x1 << 2 ]
|
946
|
-
set AT91C_PWMC_CHID3 [expr 0x1 << 3 ]
|
947
|
-
# -------- PWMC_DIS : (PWMC Offset: 0x8) PWMC Disable Register --------
|
948
|
-
set AT91C_PWMC_CHID0 [expr 0x1 << 0 ]
|
949
|
-
set AT91C_PWMC_CHID1 [expr 0x1 << 1 ]
|
950
|
-
set AT91C_PWMC_CHID2 [expr 0x1 << 2 ]
|
951
|
-
set AT91C_PWMC_CHID3 [expr 0x1 << 3 ]
|
952
|
-
# -------- PWMC_SR : (PWMC Offset: 0xc) PWMC Status Register --------
|
953
|
-
set AT91C_PWMC_CHID0 [expr 0x1 << 0 ]
|
954
|
-
set AT91C_PWMC_CHID1 [expr 0x1 << 1 ]
|
955
|
-
set AT91C_PWMC_CHID2 [expr 0x1 << 2 ]
|
956
|
-
set AT91C_PWMC_CHID3 [expr 0x1 << 3 ]
|
957
|
-
# -------- PWMC_IER : (PWMC Offset: 0x10) PWMC Interrupt Enable Register --------
|
958
|
-
set AT91C_PWMC_CHID0 [expr 0x1 << 0 ]
|
959
|
-
set AT91C_PWMC_CHID1 [expr 0x1 << 1 ]
|
960
|
-
set AT91C_PWMC_CHID2 [expr 0x1 << 2 ]
|
961
|
-
set AT91C_PWMC_CHID3 [expr 0x1 << 3 ]
|
962
|
-
# -------- PWMC_IDR : (PWMC Offset: 0x14) PWMC Interrupt Disable Register --------
|
963
|
-
set AT91C_PWMC_CHID0 [expr 0x1 << 0 ]
|
964
|
-
set AT91C_PWMC_CHID1 [expr 0x1 << 1 ]
|
965
|
-
set AT91C_PWMC_CHID2 [expr 0x1 << 2 ]
|
966
|
-
set AT91C_PWMC_CHID3 [expr 0x1 << 3 ]
|
967
|
-
# -------- PWMC_IMR : (PWMC Offset: 0x18) PWMC Interrupt Mask Register --------
|
968
|
-
set AT91C_PWMC_CHID0 [expr 0x1 << 0 ]
|
969
|
-
set AT91C_PWMC_CHID1 [expr 0x1 << 1 ]
|
970
|
-
set AT91C_PWMC_CHID2 [expr 0x1 << 2 ]
|
971
|
-
set AT91C_PWMC_CHID3 [expr 0x1 << 3 ]
|
972
|
-
# -------- PWMC_ISR : (PWMC Offset: 0x1c) PWMC Interrupt Status Register --------
|
973
|
-
set AT91C_PWMC_CHID0 [expr 0x1 << 0 ]
|
974
|
-
set AT91C_PWMC_CHID1 [expr 0x1 << 1 ]
|
975
|
-
set AT91C_PWMC_CHID2 [expr 0x1 << 2 ]
|
976
|
-
set AT91C_PWMC_CHID3 [expr 0x1 << 3 ]
|
977
|
-
|
978
|
-
# *****************************************************************************
|
979
|
-
# SOFTWARE API DEFINITION FOR USB Device Interface
|
980
|
-
# *****************************************************************************
|
981
|
-
# -------- UDP_FRM_NUM : (UDP Offset: 0x0) USB Frame Number Register --------
|
982
|
-
set AT91C_UDP_FRM_NUM [expr 0x7FF << 0 ]
|
983
|
-
set AT91C_UDP_FRM_ERR [expr 0x1 << 16 ]
|
984
|
-
set AT91C_UDP_FRM_OK [expr 0x1 << 17 ]
|
985
|
-
# -------- UDP_GLB_STATE : (UDP Offset: 0x4) USB Global State Register --------
|
986
|
-
set AT91C_UDP_FADDEN [expr 0x1 << 0 ]
|
987
|
-
set AT91C_UDP_CONFG [expr 0x1 << 1 ]
|
988
|
-
set AT91C_UDP_ESR [expr 0x1 << 2 ]
|
989
|
-
set AT91C_UDP_RSMINPR [expr 0x1 << 3 ]
|
990
|
-
set AT91C_UDP_RMWUPE [expr 0x1 << 4 ]
|
991
|
-
# -------- UDP_FADDR : (UDP Offset: 0x8) USB Function Address Register --------
|
992
|
-
set AT91C_UDP_FADD [expr 0xFF << 0 ]
|
993
|
-
set AT91C_UDP_FEN [expr 0x1 << 8 ]
|
994
|
-
# -------- UDP_IER : (UDP Offset: 0x10) USB Interrupt Enable Register --------
|
995
|
-
set AT91C_UDP_EPINT0 [expr 0x1 << 0 ]
|
996
|
-
set AT91C_UDP_EPINT1 [expr 0x1 << 1 ]
|
997
|
-
set AT91C_UDP_EPINT2 [expr 0x1 << 2 ]
|
998
|
-
set AT91C_UDP_EPINT3 [expr 0x1 << 3 ]
|
999
|
-
set AT91C_UDP_EPINT4 [expr 0x1 << 4 ]
|
1000
|
-
set AT91C_UDP_EPINT5 [expr 0x1 << 5 ]
|
1001
|
-
set AT91C_UDP_RXSUSP [expr 0x1 << 8 ]
|
1002
|
-
set AT91C_UDP_RXRSM [expr 0x1 << 9 ]
|
1003
|
-
set AT91C_UDP_EXTRSM [expr 0x1 << 10 ]
|
1004
|
-
set AT91C_UDP_SOFINT [expr 0x1 << 11 ]
|
1005
|
-
set AT91C_UDP_WAKEUP [expr 0x1 << 13 ]
|
1006
|
-
# -------- UDP_IDR : (UDP Offset: 0x14) USB Interrupt Disable Register --------
|
1007
|
-
set AT91C_UDP_EPINT0 [expr 0x1 << 0 ]
|
1008
|
-
set AT91C_UDP_EPINT1 [expr 0x1 << 1 ]
|
1009
|
-
set AT91C_UDP_EPINT2 [expr 0x1 << 2 ]
|
1010
|
-
set AT91C_UDP_EPINT3 [expr 0x1 << 3 ]
|
1011
|
-
set AT91C_UDP_EPINT4 [expr 0x1 << 4 ]
|
1012
|
-
set AT91C_UDP_EPINT5 [expr 0x1 << 5 ]
|
1013
|
-
set AT91C_UDP_RXSUSP [expr 0x1 << 8 ]
|
1014
|
-
set AT91C_UDP_RXRSM [expr 0x1 << 9 ]
|
1015
|
-
set AT91C_UDP_EXTRSM [expr 0x1 << 10 ]
|
1016
|
-
set AT91C_UDP_SOFINT [expr 0x1 << 11 ]
|
1017
|
-
set AT91C_UDP_WAKEUP [expr 0x1 << 13 ]
|
1018
|
-
# -------- UDP_IMR : (UDP Offset: 0x18) USB Interrupt Mask Register --------
|
1019
|
-
set AT91C_UDP_EPINT0 [expr 0x1 << 0 ]
|
1020
|
-
set AT91C_UDP_EPINT1 [expr 0x1 << 1 ]
|
1021
|
-
set AT91C_UDP_EPINT2 [expr 0x1 << 2 ]
|
1022
|
-
set AT91C_UDP_EPINT3 [expr 0x1 << 3 ]
|
1023
|
-
set AT91C_UDP_EPINT4 [expr 0x1 << 4 ]
|
1024
|
-
set AT91C_UDP_EPINT5 [expr 0x1 << 5 ]
|
1025
|
-
set AT91C_UDP_RXSUSP [expr 0x1 << 8 ]
|
1026
|
-
set AT91C_UDP_RXRSM [expr 0x1 << 9 ]
|
1027
|
-
set AT91C_UDP_EXTRSM [expr 0x1 << 10 ]
|
1028
|
-
set AT91C_UDP_SOFINT [expr 0x1 << 11 ]
|
1029
|
-
set AT91C_UDP_WAKEUP [expr 0x1 << 13 ]
|
1030
|
-
# -------- UDP_ISR : (UDP Offset: 0x1c) USB Interrupt Status Register --------
|
1031
|
-
set AT91C_UDP_EPINT0 [expr 0x1 << 0 ]
|
1032
|
-
set AT91C_UDP_EPINT1 [expr 0x1 << 1 ]
|
1033
|
-
set AT91C_UDP_EPINT2 [expr 0x1 << 2 ]
|
1034
|
-
set AT91C_UDP_EPINT3 [expr 0x1 << 3 ]
|
1035
|
-
set AT91C_UDP_EPINT4 [expr 0x1 << 4 ]
|
1036
|
-
set AT91C_UDP_EPINT5 [expr 0x1 << 5 ]
|
1037
|
-
set AT91C_UDP_RXSUSP [expr 0x1 << 8 ]
|
1038
|
-
set AT91C_UDP_RXRSM [expr 0x1 << 9 ]
|
1039
|
-
set AT91C_UDP_EXTRSM [expr 0x1 << 10 ]
|
1040
|
-
set AT91C_UDP_SOFINT [expr 0x1 << 11 ]
|
1041
|
-
set AT91C_UDP_ENDBUSRES [expr 0x1 << 12 ]
|
1042
|
-
set AT91C_UDP_WAKEUP [expr 0x1 << 13 ]
|
1043
|
-
# -------- UDP_ICR : (UDP Offset: 0x20) USB Interrupt Clear Register --------
|
1044
|
-
set AT91C_UDP_EPINT0 [expr 0x1 << 0 ]
|
1045
|
-
set AT91C_UDP_EPINT1 [expr 0x1 << 1 ]
|
1046
|
-
set AT91C_UDP_EPINT2 [expr 0x1 << 2 ]
|
1047
|
-
set AT91C_UDP_EPINT3 [expr 0x1 << 3 ]
|
1048
|
-
set AT91C_UDP_EPINT4 [expr 0x1 << 4 ]
|
1049
|
-
set AT91C_UDP_EPINT5 [expr 0x1 << 5 ]
|
1050
|
-
set AT91C_UDP_RXSUSP [expr 0x1 << 8 ]
|
1051
|
-
set AT91C_UDP_RXRSM [expr 0x1 << 9 ]
|
1052
|
-
set AT91C_UDP_EXTRSM [expr 0x1 << 10 ]
|
1053
|
-
set AT91C_UDP_SOFINT [expr 0x1 << 11 ]
|
1054
|
-
set AT91C_UDP_WAKEUP [expr 0x1 << 13 ]
|
1055
|
-
# -------- UDP_RST_EP : (UDP Offset: 0x28) USB Reset Endpoint Register --------
|
1056
|
-
set AT91C_UDP_EP0 [expr 0x1 << 0 ]
|
1057
|
-
set AT91C_UDP_EP1 [expr 0x1 << 1 ]
|
1058
|
-
set AT91C_UDP_EP2 [expr 0x1 << 2 ]
|
1059
|
-
set AT91C_UDP_EP3 [expr 0x1 << 3 ]
|
1060
|
-
set AT91C_UDP_EP4 [expr 0x1 << 4 ]
|
1061
|
-
set AT91C_UDP_EP5 [expr 0x1 << 5 ]
|
1062
|
-
# -------- UDP_CSR : (UDP Offset: 0x30) USB Endpoint Control and Status Register --------
|
1063
|
-
set AT91C_UDP_TXCOMP [expr 0x1 << 0 ]
|
1064
|
-
set AT91C_UDP_RX_DATA_BK0 [expr 0x1 << 1 ]
|
1065
|
-
set AT91C_UDP_RXSETUP [expr 0x1 << 2 ]
|
1066
|
-
set AT91C_UDP_ISOERROR [expr 0x1 << 3 ]
|
1067
|
-
set AT91C_UDP_TXPKTRDY [expr 0x1 << 4 ]
|
1068
|
-
set AT91C_UDP_FORCESTALL [expr 0x1 << 5 ]
|
1069
|
-
set AT91C_UDP_RX_DATA_BK1 [expr 0x1 << 6 ]
|
1070
|
-
set AT91C_UDP_DIR [expr 0x1 << 7 ]
|
1071
|
-
set AT91C_UDP_EPTYPE [expr 0x7 << 8 ]
|
1072
|
-
set AT91C_UDP_EPTYPE_CTRL [expr 0x0 << 8 ]
|
1073
|
-
set AT91C_UDP_EPTYPE_ISO_OUT [expr 0x1 << 8 ]
|
1074
|
-
set AT91C_UDP_EPTYPE_BULK_OUT [expr 0x2 << 8 ]
|
1075
|
-
set AT91C_UDP_EPTYPE_INT_OUT [expr 0x3 << 8 ]
|
1076
|
-
set AT91C_UDP_EPTYPE_ISO_IN [expr 0x5 << 8 ]
|
1077
|
-
set AT91C_UDP_EPTYPE_BULK_IN [expr 0x6 << 8 ]
|
1078
|
-
set AT91C_UDP_EPTYPE_INT_IN [expr 0x7 << 8 ]
|
1079
|
-
set AT91C_UDP_DTGLE [expr 0x1 << 11 ]
|
1080
|
-
set AT91C_UDP_EPEDS [expr 0x1 << 15 ]
|
1081
|
-
set AT91C_UDP_RXBYTECNT [expr 0x7FF << 16 ]
|
1082
|
-
# -------- UDP_TXVC : (UDP Offset: 0x74) Transceiver Control Register --------
|
1083
|
-
set AT91C_UDP_TXVDIS [expr 0x1 << 8 ]
|
1084
|
-
set AT91C_UDP_PUON [expr 0x1 << 9 ]
|
1085
|
-
|
1086
|
-
# *****************************************************************************
|
1087
|
-
# SOFTWARE API DEFINITION FOR Timer Counter Channel Interface
|
1088
|
-
# *****************************************************************************
|
1089
|
-
# -------- TC_CCR : (TC Offset: 0x0) TC Channel Control Register --------
|
1090
|
-
set AT91C_TC_CLKEN [expr 0x1 << 0 ]
|
1091
|
-
set AT91C_TC_CLKDIS [expr 0x1 << 1 ]
|
1092
|
-
set AT91C_TC_SWTRG [expr 0x1 << 2 ]
|
1093
|
-
# -------- TC_CMR : (TC Offset: 0x4) TC Channel Mode Register: Capture Mode / Waveform Mode --------
|
1094
|
-
set AT91C_TC_CLKS [expr 0x7 << 0 ]
|
1095
|
-
set AT91C_TC_CLKS_TIMER_DIV1_CLOCK 0x0
|
1096
|
-
set AT91C_TC_CLKS_TIMER_DIV2_CLOCK 0x1
|
1097
|
-
set AT91C_TC_CLKS_TIMER_DIV3_CLOCK 0x2
|
1098
|
-
set AT91C_TC_CLKS_TIMER_DIV4_CLOCK 0x3
|
1099
|
-
set AT91C_TC_CLKS_TIMER_DIV5_CLOCK 0x4
|
1100
|
-
set AT91C_TC_CLKS_XC0 0x5
|
1101
|
-
set AT91C_TC_CLKS_XC1 0x6
|
1102
|
-
set AT91C_TC_CLKS_XC2 0x7
|
1103
|
-
set AT91C_TC_CLKS [expr 0x7 << 0 ]
|
1104
|
-
set AT91C_TC_CLKS_TIMER_DIV1_CLOCK 0x0
|
1105
|
-
set AT91C_TC_CLKS_TIMER_DIV2_CLOCK 0x1
|
1106
|
-
set AT91C_TC_CLKS_TIMER_DIV3_CLOCK 0x2
|
1107
|
-
set AT91C_TC_CLKS_TIMER_DIV4_CLOCK 0x3
|
1108
|
-
set AT91C_TC_CLKS_TIMER_DIV5_CLOCK 0x4
|
1109
|
-
set AT91C_TC_CLKS_XC0 0x5
|
1110
|
-
set AT91C_TC_CLKS_XC1 0x6
|
1111
|
-
set AT91C_TC_CLKS_XC2 0x7
|
1112
|
-
set AT91C_TC_CLKI [expr 0x1 << 3 ]
|
1113
|
-
set AT91C_TC_CLKI [expr 0x1 << 3 ]
|
1114
|
-
set AT91C_TC_BURST [expr 0x3 << 4 ]
|
1115
|
-
set AT91C_TC_BURST_NONE [expr 0x0 << 4 ]
|
1116
|
-
set AT91C_TC_BURST_XC0 [expr 0x1 << 4 ]
|
1117
|
-
set AT91C_TC_BURST_XC1 [expr 0x2 << 4 ]
|
1118
|
-
set AT91C_TC_BURST_XC2 [expr 0x3 << 4 ]
|
1119
|
-
set AT91C_TC_BURST [expr 0x3 << 4 ]
|
1120
|
-
set AT91C_TC_BURST_NONE [expr 0x0 << 4 ]
|
1121
|
-
set AT91C_TC_BURST_XC0 [expr 0x1 << 4 ]
|
1122
|
-
set AT91C_TC_BURST_XC1 [expr 0x2 << 4 ]
|
1123
|
-
set AT91C_TC_BURST_XC2 [expr 0x3 << 4 ]
|
1124
|
-
set AT91C_TC_CPCSTOP [expr 0x1 << 6 ]
|
1125
|
-
set AT91C_TC_LDBSTOP [expr 0x1 << 6 ]
|
1126
|
-
set AT91C_TC_CPCDIS [expr 0x1 << 7 ]
|
1127
|
-
set AT91C_TC_LDBDIS [expr 0x1 << 7 ]
|
1128
|
-
set AT91C_TC_ETRGEDG [expr 0x3 << 8 ]
|
1129
|
-
set AT91C_TC_ETRGEDG_NONE [expr 0x0 << 8 ]
|
1130
|
-
set AT91C_TC_ETRGEDG_RISING [expr 0x1 << 8 ]
|
1131
|
-
set AT91C_TC_ETRGEDG_FALLING [expr 0x2 << 8 ]
|
1132
|
-
set AT91C_TC_ETRGEDG_BOTH [expr 0x3 << 8 ]
|
1133
|
-
set AT91C_TC_EEVTEDG [expr 0x3 << 8 ]
|
1134
|
-
set AT91C_TC_EEVTEDG_NONE [expr 0x0 << 8 ]
|
1135
|
-
set AT91C_TC_EEVTEDG_RISING [expr 0x1 << 8 ]
|
1136
|
-
set AT91C_TC_EEVTEDG_FALLING [expr 0x2 << 8 ]
|
1137
|
-
set AT91C_TC_EEVTEDG_BOTH [expr 0x3 << 8 ]
|
1138
|
-
set AT91C_TC_EEVT [expr 0x3 << 10 ]
|
1139
|
-
set AT91C_TC_EEVT_TIOB [expr 0x0 << 10 ]
|
1140
|
-
set AT91C_TC_EEVT_XC0 [expr 0x1 << 10 ]
|
1141
|
-
set AT91C_TC_EEVT_XC1 [expr 0x2 << 10 ]
|
1142
|
-
set AT91C_TC_EEVT_XC2 [expr 0x3 << 10 ]
|
1143
|
-
set AT91C_TC_ABETRG [expr 0x1 << 10 ]
|
1144
|
-
set AT91C_TC_ENETRG [expr 0x1 << 12 ]
|
1145
|
-
set AT91C_TC_WAVESEL [expr 0x3 << 13 ]
|
1146
|
-
set AT91C_TC_WAVESEL_UP [expr 0x0 << 13 ]
|
1147
|
-
set AT91C_TC_WAVESEL_UPDOWN [expr 0x1 << 13 ]
|
1148
|
-
set AT91C_TC_WAVESEL_UP_AUTO [expr 0x2 << 13 ]
|
1149
|
-
set AT91C_TC_WAVESEL_UPDOWN_AUTO [expr 0x3 << 13 ]
|
1150
|
-
set AT91C_TC_CPCTRG [expr 0x1 << 14 ]
|
1151
|
-
set AT91C_TC_WAVE [expr 0x1 << 15 ]
|
1152
|
-
set AT91C_TC_WAVE [expr 0x1 << 15 ]
|
1153
|
-
set AT91C_TC_ACPA [expr 0x3 << 16 ]
|
1154
|
-
set AT91C_TC_ACPA_NONE [expr 0x0 << 16 ]
|
1155
|
-
set AT91C_TC_ACPA_SET [expr 0x1 << 16 ]
|
1156
|
-
set AT91C_TC_ACPA_CLEAR [expr 0x2 << 16 ]
|
1157
|
-
set AT91C_TC_ACPA_TOGGLE [expr 0x3 << 16 ]
|
1158
|
-
set AT91C_TC_LDRA [expr 0x3 << 16 ]
|
1159
|
-
set AT91C_TC_LDRA_NONE [expr 0x0 << 16 ]
|
1160
|
-
set AT91C_TC_LDRA_RISING [expr 0x1 << 16 ]
|
1161
|
-
set AT91C_TC_LDRA_FALLING [expr 0x2 << 16 ]
|
1162
|
-
set AT91C_TC_LDRA_BOTH [expr 0x3 << 16 ]
|
1163
|
-
set AT91C_TC_ACPC [expr 0x3 << 18 ]
|
1164
|
-
set AT91C_TC_ACPC_NONE [expr 0x0 << 18 ]
|
1165
|
-
set AT91C_TC_ACPC_SET [expr 0x1 << 18 ]
|
1166
|
-
set AT91C_TC_ACPC_CLEAR [expr 0x2 << 18 ]
|
1167
|
-
set AT91C_TC_ACPC_TOGGLE [expr 0x3 << 18 ]
|
1168
|
-
set AT91C_TC_LDRB [expr 0x3 << 18 ]
|
1169
|
-
set AT91C_TC_LDRB_NONE [expr 0x0 << 18 ]
|
1170
|
-
set AT91C_TC_LDRB_RISING [expr 0x1 << 18 ]
|
1171
|
-
set AT91C_TC_LDRB_FALLING [expr 0x2 << 18 ]
|
1172
|
-
set AT91C_TC_LDRB_BOTH [expr 0x3 << 18 ]
|
1173
|
-
set AT91C_TC_AEEVT [expr 0x3 << 20 ]
|
1174
|
-
set AT91C_TC_AEEVT_NONE [expr 0x0 << 20 ]
|
1175
|
-
set AT91C_TC_AEEVT_SET [expr 0x1 << 20 ]
|
1176
|
-
set AT91C_TC_AEEVT_CLEAR [expr 0x2 << 20 ]
|
1177
|
-
set AT91C_TC_AEEVT_TOGGLE [expr 0x3 << 20 ]
|
1178
|
-
set AT91C_TC_ASWTRG [expr 0x3 << 22 ]
|
1179
|
-
set AT91C_TC_ASWTRG_NONE [expr 0x0 << 22 ]
|
1180
|
-
set AT91C_TC_ASWTRG_SET [expr 0x1 << 22 ]
|
1181
|
-
set AT91C_TC_ASWTRG_CLEAR [expr 0x2 << 22 ]
|
1182
|
-
set AT91C_TC_ASWTRG_TOGGLE [expr 0x3 << 22 ]
|
1183
|
-
set AT91C_TC_BCPB [expr 0x3 << 24 ]
|
1184
|
-
set AT91C_TC_BCPB_NONE [expr 0x0 << 24 ]
|
1185
|
-
set AT91C_TC_BCPB_SET [expr 0x1 << 24 ]
|
1186
|
-
set AT91C_TC_BCPB_CLEAR [expr 0x2 << 24 ]
|
1187
|
-
set AT91C_TC_BCPB_TOGGLE [expr 0x3 << 24 ]
|
1188
|
-
set AT91C_TC_BCPC [expr 0x3 << 26 ]
|
1189
|
-
set AT91C_TC_BCPC_NONE [expr 0x0 << 26 ]
|
1190
|
-
set AT91C_TC_BCPC_SET [expr 0x1 << 26 ]
|
1191
|
-
set AT91C_TC_BCPC_CLEAR [expr 0x2 << 26 ]
|
1192
|
-
set AT91C_TC_BCPC_TOGGLE [expr 0x3 << 26 ]
|
1193
|
-
set AT91C_TC_BEEVT [expr 0x3 << 28 ]
|
1194
|
-
set AT91C_TC_BEEVT_NONE [expr 0x0 << 28 ]
|
1195
|
-
set AT91C_TC_BEEVT_SET [expr 0x1 << 28 ]
|
1196
|
-
set AT91C_TC_BEEVT_CLEAR [expr 0x2 << 28 ]
|
1197
|
-
set AT91C_TC_BEEVT_TOGGLE [expr 0x3 << 28 ]
|
1198
|
-
set AT91C_TC_BSWTRG [expr 0x3 << 30 ]
|
1199
|
-
set AT91C_TC_BSWTRG_NONE [expr 0x0 << 30 ]
|
1200
|
-
set AT91C_TC_BSWTRG_SET [expr 0x1 << 30 ]
|
1201
|
-
set AT91C_TC_BSWTRG_CLEAR [expr 0x2 << 30 ]
|
1202
|
-
set AT91C_TC_BSWTRG_TOGGLE [expr 0x3 << 30 ]
|
1203
|
-
# -------- TC_SR : (TC Offset: 0x20) TC Channel Status Register --------
|
1204
|
-
set AT91C_TC_COVFS [expr 0x1 << 0 ]
|
1205
|
-
set AT91C_TC_LOVRS [expr 0x1 << 1 ]
|
1206
|
-
set AT91C_TC_CPAS [expr 0x1 << 2 ]
|
1207
|
-
set AT91C_TC_CPBS [expr 0x1 << 3 ]
|
1208
|
-
set AT91C_TC_CPCS [expr 0x1 << 4 ]
|
1209
|
-
set AT91C_TC_LDRAS [expr 0x1 << 5 ]
|
1210
|
-
set AT91C_TC_LDRBS [expr 0x1 << 6 ]
|
1211
|
-
set AT91C_TC_ETRGS [expr 0x1 << 7 ]
|
1212
|
-
set AT91C_TC_CLKSTA [expr 0x1 << 16 ]
|
1213
|
-
set AT91C_TC_MTIOA [expr 0x1 << 17 ]
|
1214
|
-
set AT91C_TC_MTIOB [expr 0x1 << 18 ]
|
1215
|
-
# -------- TC_IER : (TC Offset: 0x24) TC Channel Interrupt Enable Register --------
|
1216
|
-
set AT91C_TC_COVFS [expr 0x1 << 0 ]
|
1217
|
-
set AT91C_TC_LOVRS [expr 0x1 << 1 ]
|
1218
|
-
set AT91C_TC_CPAS [expr 0x1 << 2 ]
|
1219
|
-
set AT91C_TC_CPBS [expr 0x1 << 3 ]
|
1220
|
-
set AT91C_TC_CPCS [expr 0x1 << 4 ]
|
1221
|
-
set AT91C_TC_LDRAS [expr 0x1 << 5 ]
|
1222
|
-
set AT91C_TC_LDRBS [expr 0x1 << 6 ]
|
1223
|
-
set AT91C_TC_ETRGS [expr 0x1 << 7 ]
|
1224
|
-
# -------- TC_IDR : (TC Offset: 0x28) TC Channel Interrupt Disable Register --------
|
1225
|
-
set AT91C_TC_COVFS [expr 0x1 << 0 ]
|
1226
|
-
set AT91C_TC_LOVRS [expr 0x1 << 1 ]
|
1227
|
-
set AT91C_TC_CPAS [expr 0x1 << 2 ]
|
1228
|
-
set AT91C_TC_CPBS [expr 0x1 << 3 ]
|
1229
|
-
set AT91C_TC_CPCS [expr 0x1 << 4 ]
|
1230
|
-
set AT91C_TC_LDRAS [expr 0x1 << 5 ]
|
1231
|
-
set AT91C_TC_LDRBS [expr 0x1 << 6 ]
|
1232
|
-
set AT91C_TC_ETRGS [expr 0x1 << 7 ]
|
1233
|
-
# -------- TC_IMR : (TC Offset: 0x2c) TC Channel Interrupt Mask Register --------
|
1234
|
-
set AT91C_TC_COVFS [expr 0x1 << 0 ]
|
1235
|
-
set AT91C_TC_LOVRS [expr 0x1 << 1 ]
|
1236
|
-
set AT91C_TC_CPAS [expr 0x1 << 2 ]
|
1237
|
-
set AT91C_TC_CPBS [expr 0x1 << 3 ]
|
1238
|
-
set AT91C_TC_CPCS [expr 0x1 << 4 ]
|
1239
|
-
set AT91C_TC_LDRAS [expr 0x1 << 5 ]
|
1240
|
-
set AT91C_TC_LDRBS [expr 0x1 << 6 ]
|
1241
|
-
set AT91C_TC_ETRGS [expr 0x1 << 7 ]
|
1242
|
-
|
1243
|
-
# *****************************************************************************
|
1244
|
-
# SOFTWARE API DEFINITION FOR Timer Counter Interface
|
1245
|
-
# *****************************************************************************
|
1246
|
-
# -------- TCB_BCR : (TCB Offset: 0xc0) TC Block Control Register --------
|
1247
|
-
set AT91C_TCB_SYNC [expr 0x1 << 0 ]
|
1248
|
-
# -------- TCB_BMR : (TCB Offset: 0xc4) TC Block Mode Register --------
|
1249
|
-
set AT91C_TCB_TC0XC0S [expr 0x3 << 0 ]
|
1250
|
-
set AT91C_TCB_TC0XC0S_TCLK0 0x0
|
1251
|
-
set AT91C_TCB_TC0XC0S_NONE 0x1
|
1252
|
-
set AT91C_TCB_TC0XC0S_TIOA1 0x2
|
1253
|
-
set AT91C_TCB_TC0XC0S_TIOA2 0x3
|
1254
|
-
set AT91C_TCB_TC1XC1S [expr 0x3 << 2 ]
|
1255
|
-
set AT91C_TCB_TC1XC1S_TCLK1 [expr 0x0 << 2 ]
|
1256
|
-
set AT91C_TCB_TC1XC1S_NONE [expr 0x1 << 2 ]
|
1257
|
-
set AT91C_TCB_TC1XC1S_TIOA0 [expr 0x2 << 2 ]
|
1258
|
-
set AT91C_TCB_TC1XC1S_TIOA2 [expr 0x3 << 2 ]
|
1259
|
-
set AT91C_TCB_TC2XC2S [expr 0x3 << 4 ]
|
1260
|
-
set AT91C_TCB_TC2XC2S_TCLK2 [expr 0x0 << 4 ]
|
1261
|
-
set AT91C_TCB_TC2XC2S_NONE [expr 0x1 << 4 ]
|
1262
|
-
set AT91C_TCB_TC2XC2S_TIOA0 [expr 0x2 << 4 ]
|
1263
|
-
set AT91C_TCB_TC2XC2S_TIOA1 [expr 0x3 << 4 ]
|
1264
|
-
|
1265
|
-
# *****************************************************************************
|
1266
|
-
# SOFTWARE API DEFINITION FOR Control Area Network MailBox Interface
|
1267
|
-
# *****************************************************************************
|
1268
|
-
# -------- CAN_MMR : (CAN_MB Offset: 0x0) CAN Message Mode Register --------
|
1269
|
-
set AT91C_CAN_MTIMEMARK [expr 0xFFFF << 0 ]
|
1270
|
-
set AT91C_CAN_PRIOR [expr 0xF << 16 ]
|
1271
|
-
set AT91C_CAN_MOT [expr 0x7 << 24 ]
|
1272
|
-
set AT91C_CAN_MOT_DIS [expr 0x0 << 24 ]
|
1273
|
-
set AT91C_CAN_MOT_RX [expr 0x1 << 24 ]
|
1274
|
-
set AT91C_CAN_MOT_RXOVERWRITE [expr 0x2 << 24 ]
|
1275
|
-
set AT91C_CAN_MOT_TX [expr 0x3 << 24 ]
|
1276
|
-
set AT91C_CAN_MOT_CONSUMER [expr 0x4 << 24 ]
|
1277
|
-
set AT91C_CAN_MOT_PRODUCER [expr 0x5 << 24 ]
|
1278
|
-
# -------- CAN_MAM : (CAN_MB Offset: 0x4) CAN Message Acceptance Mask Register --------
|
1279
|
-
set AT91C_CAN_MIDvB [expr 0x3FFFF << 0 ]
|
1280
|
-
set AT91C_CAN_MIDvA [expr 0x7FF << 18 ]
|
1281
|
-
set AT91C_CAN_MIDE [expr 0x1 << 29 ]
|
1282
|
-
# -------- CAN_MID : (CAN_MB Offset: 0x8) CAN Message ID Register --------
|
1283
|
-
set AT91C_CAN_MIDvB [expr 0x3FFFF << 0 ]
|
1284
|
-
set AT91C_CAN_MIDvA [expr 0x7FF << 18 ]
|
1285
|
-
set AT91C_CAN_MIDE [expr 0x1 << 29 ]
|
1286
|
-
# -------- CAN_MFID : (CAN_MB Offset: 0xc) CAN Message Family ID Register --------
|
1287
|
-
# -------- CAN_MSR : (CAN_MB Offset: 0x10) CAN Message Status Register --------
|
1288
|
-
set AT91C_CAN_MTIMESTAMP [expr 0xFFFF << 0 ]
|
1289
|
-
set AT91C_CAN_MDLC [expr 0xF << 16 ]
|
1290
|
-
set AT91C_CAN_MRTR [expr 0x1 << 20 ]
|
1291
|
-
set AT91C_CAN_MABT [expr 0x1 << 22 ]
|
1292
|
-
set AT91C_CAN_MRDY [expr 0x1 << 23 ]
|
1293
|
-
set AT91C_CAN_MMI [expr 0x1 << 24 ]
|
1294
|
-
# -------- CAN_MDL : (CAN_MB Offset: 0x14) CAN Message Data Low Register --------
|
1295
|
-
# -------- CAN_MDH : (CAN_MB Offset: 0x18) CAN Message Data High Register --------
|
1296
|
-
# -------- CAN_MCR : (CAN_MB Offset: 0x1c) CAN Message Control Register --------
|
1297
|
-
set AT91C_CAN_MDLC [expr 0xF << 16 ]
|
1298
|
-
set AT91C_CAN_MRTR [expr 0x1 << 20 ]
|
1299
|
-
set AT91C_CAN_MACR [expr 0x1 << 22 ]
|
1300
|
-
set AT91C_CAN_MTCR [expr 0x1 << 23 ]
|
1301
|
-
|
1302
|
-
# *****************************************************************************
|
1303
|
-
# SOFTWARE API DEFINITION FOR Control Area Network Interface
|
1304
|
-
# *****************************************************************************
|
1305
|
-
# -------- CAN_MR : (CAN Offset: 0x0) CAN Mode Register --------
|
1306
|
-
set AT91C_CAN_CANEN [expr 0x1 << 0 ]
|
1307
|
-
set AT91C_CAN_LPM [expr 0x1 << 1 ]
|
1308
|
-
set AT91C_CAN_ABM [expr 0x1 << 2 ]
|
1309
|
-
set AT91C_CAN_OVL [expr 0x1 << 3 ]
|
1310
|
-
set AT91C_CAN_TEOF [expr 0x1 << 4 ]
|
1311
|
-
set AT91C_CAN_TTM [expr 0x1 << 5 ]
|
1312
|
-
set AT91C_CAN_TIMFRZ [expr 0x1 << 6 ]
|
1313
|
-
set AT91C_CAN_DRPT [expr 0x1 << 7 ]
|
1314
|
-
# -------- CAN_IER : (CAN Offset: 0x4) CAN Interrupt Enable Register --------
|
1315
|
-
set AT91C_CAN_MB0 [expr 0x1 << 0 ]
|
1316
|
-
set AT91C_CAN_MB1 [expr 0x1 << 1 ]
|
1317
|
-
set AT91C_CAN_MB2 [expr 0x1 << 2 ]
|
1318
|
-
set AT91C_CAN_MB3 [expr 0x1 << 3 ]
|
1319
|
-
set AT91C_CAN_MB4 [expr 0x1 << 4 ]
|
1320
|
-
set AT91C_CAN_MB5 [expr 0x1 << 5 ]
|
1321
|
-
set AT91C_CAN_MB6 [expr 0x1 << 6 ]
|
1322
|
-
set AT91C_CAN_MB7 [expr 0x1 << 7 ]
|
1323
|
-
set AT91C_CAN_MB8 [expr 0x1 << 8 ]
|
1324
|
-
set AT91C_CAN_MB9 [expr 0x1 << 9 ]
|
1325
|
-
set AT91C_CAN_MB10 [expr 0x1 << 10 ]
|
1326
|
-
set AT91C_CAN_MB11 [expr 0x1 << 11 ]
|
1327
|
-
set AT91C_CAN_MB12 [expr 0x1 << 12 ]
|
1328
|
-
set AT91C_CAN_MB13 [expr 0x1 << 13 ]
|
1329
|
-
set AT91C_CAN_MB14 [expr 0x1 << 14 ]
|
1330
|
-
set AT91C_CAN_MB15 [expr 0x1 << 15 ]
|
1331
|
-
set AT91C_CAN_ERRA [expr 0x1 << 16 ]
|
1332
|
-
set AT91C_CAN_WARN [expr 0x1 << 17 ]
|
1333
|
-
set AT91C_CAN_ERRP [expr 0x1 << 18 ]
|
1334
|
-
set AT91C_CAN_BOFF [expr 0x1 << 19 ]
|
1335
|
-
set AT91C_CAN_SLEEP [expr 0x1 << 20 ]
|
1336
|
-
set AT91C_CAN_WAKEUP [expr 0x1 << 21 ]
|
1337
|
-
set AT91C_CAN_TOVF [expr 0x1 << 22 ]
|
1338
|
-
set AT91C_CAN_TSTP [expr 0x1 << 23 ]
|
1339
|
-
set AT91C_CAN_CERR [expr 0x1 << 24 ]
|
1340
|
-
set AT91C_CAN_SERR [expr 0x1 << 25 ]
|
1341
|
-
set AT91C_CAN_AERR [expr 0x1 << 26 ]
|
1342
|
-
set AT91C_CAN_FERR [expr 0x1 << 27 ]
|
1343
|
-
set AT91C_CAN_BERR [expr 0x1 << 28 ]
|
1344
|
-
# -------- CAN_IDR : (CAN Offset: 0x8) CAN Interrupt Disable Register --------
|
1345
|
-
set AT91C_CAN_MB0 [expr 0x1 << 0 ]
|
1346
|
-
set AT91C_CAN_MB1 [expr 0x1 << 1 ]
|
1347
|
-
set AT91C_CAN_MB2 [expr 0x1 << 2 ]
|
1348
|
-
set AT91C_CAN_MB3 [expr 0x1 << 3 ]
|
1349
|
-
set AT91C_CAN_MB4 [expr 0x1 << 4 ]
|
1350
|
-
set AT91C_CAN_MB5 [expr 0x1 << 5 ]
|
1351
|
-
set AT91C_CAN_MB6 [expr 0x1 << 6 ]
|
1352
|
-
set AT91C_CAN_MB7 [expr 0x1 << 7 ]
|
1353
|
-
set AT91C_CAN_MB8 [expr 0x1 << 8 ]
|
1354
|
-
set AT91C_CAN_MB9 [expr 0x1 << 9 ]
|
1355
|
-
set AT91C_CAN_MB10 [expr 0x1 << 10 ]
|
1356
|
-
set AT91C_CAN_MB11 [expr 0x1 << 11 ]
|
1357
|
-
set AT91C_CAN_MB12 [expr 0x1 << 12 ]
|
1358
|
-
set AT91C_CAN_MB13 [expr 0x1 << 13 ]
|
1359
|
-
set AT91C_CAN_MB14 [expr 0x1 << 14 ]
|
1360
|
-
set AT91C_CAN_MB15 [expr 0x1 << 15 ]
|
1361
|
-
set AT91C_CAN_ERRA [expr 0x1 << 16 ]
|
1362
|
-
set AT91C_CAN_WARN [expr 0x1 << 17 ]
|
1363
|
-
set AT91C_CAN_ERRP [expr 0x1 << 18 ]
|
1364
|
-
set AT91C_CAN_BOFF [expr 0x1 << 19 ]
|
1365
|
-
set AT91C_CAN_SLEEP [expr 0x1 << 20 ]
|
1366
|
-
set AT91C_CAN_WAKEUP [expr 0x1 << 21 ]
|
1367
|
-
set AT91C_CAN_TOVF [expr 0x1 << 22 ]
|
1368
|
-
set AT91C_CAN_TSTP [expr 0x1 << 23 ]
|
1369
|
-
set AT91C_CAN_CERR [expr 0x1 << 24 ]
|
1370
|
-
set AT91C_CAN_SERR [expr 0x1 << 25 ]
|
1371
|
-
set AT91C_CAN_AERR [expr 0x1 << 26 ]
|
1372
|
-
set AT91C_CAN_FERR [expr 0x1 << 27 ]
|
1373
|
-
set AT91C_CAN_BERR [expr 0x1 << 28 ]
|
1374
|
-
# -------- CAN_IMR : (CAN Offset: 0xc) CAN Interrupt Mask Register --------
|
1375
|
-
set AT91C_CAN_MB0 [expr 0x1 << 0 ]
|
1376
|
-
set AT91C_CAN_MB1 [expr 0x1 << 1 ]
|
1377
|
-
set AT91C_CAN_MB2 [expr 0x1 << 2 ]
|
1378
|
-
set AT91C_CAN_MB3 [expr 0x1 << 3 ]
|
1379
|
-
set AT91C_CAN_MB4 [expr 0x1 << 4 ]
|
1380
|
-
set AT91C_CAN_MB5 [expr 0x1 << 5 ]
|
1381
|
-
set AT91C_CAN_MB6 [expr 0x1 << 6 ]
|
1382
|
-
set AT91C_CAN_MB7 [expr 0x1 << 7 ]
|
1383
|
-
set AT91C_CAN_MB8 [expr 0x1 << 8 ]
|
1384
|
-
set AT91C_CAN_MB9 [expr 0x1 << 9 ]
|
1385
|
-
set AT91C_CAN_MB10 [expr 0x1 << 10 ]
|
1386
|
-
set AT91C_CAN_MB11 [expr 0x1 << 11 ]
|
1387
|
-
set AT91C_CAN_MB12 [expr 0x1 << 12 ]
|
1388
|
-
set AT91C_CAN_MB13 [expr 0x1 << 13 ]
|
1389
|
-
set AT91C_CAN_MB14 [expr 0x1 << 14 ]
|
1390
|
-
set AT91C_CAN_MB15 [expr 0x1 << 15 ]
|
1391
|
-
set AT91C_CAN_ERRA [expr 0x1 << 16 ]
|
1392
|
-
set AT91C_CAN_WARN [expr 0x1 << 17 ]
|
1393
|
-
set AT91C_CAN_ERRP [expr 0x1 << 18 ]
|
1394
|
-
set AT91C_CAN_BOFF [expr 0x1 << 19 ]
|
1395
|
-
set AT91C_CAN_SLEEP [expr 0x1 << 20 ]
|
1396
|
-
set AT91C_CAN_WAKEUP [expr 0x1 << 21 ]
|
1397
|
-
set AT91C_CAN_TOVF [expr 0x1 << 22 ]
|
1398
|
-
set AT91C_CAN_TSTP [expr 0x1 << 23 ]
|
1399
|
-
set AT91C_CAN_CERR [expr 0x1 << 24 ]
|
1400
|
-
set AT91C_CAN_SERR [expr 0x1 << 25 ]
|
1401
|
-
set AT91C_CAN_AERR [expr 0x1 << 26 ]
|
1402
|
-
set AT91C_CAN_FERR [expr 0x1 << 27 ]
|
1403
|
-
set AT91C_CAN_BERR [expr 0x1 << 28 ]
|
1404
|
-
# -------- CAN_SR : (CAN Offset: 0x10) CAN Status Register --------
|
1405
|
-
set AT91C_CAN_MB0 [expr 0x1 << 0 ]
|
1406
|
-
set AT91C_CAN_MB1 [expr 0x1 << 1 ]
|
1407
|
-
set AT91C_CAN_MB2 [expr 0x1 << 2 ]
|
1408
|
-
set AT91C_CAN_MB3 [expr 0x1 << 3 ]
|
1409
|
-
set AT91C_CAN_MB4 [expr 0x1 << 4 ]
|
1410
|
-
set AT91C_CAN_MB5 [expr 0x1 << 5 ]
|
1411
|
-
set AT91C_CAN_MB6 [expr 0x1 << 6 ]
|
1412
|
-
set AT91C_CAN_MB7 [expr 0x1 << 7 ]
|
1413
|
-
set AT91C_CAN_MB8 [expr 0x1 << 8 ]
|
1414
|
-
set AT91C_CAN_MB9 [expr 0x1 << 9 ]
|
1415
|
-
set AT91C_CAN_MB10 [expr 0x1 << 10 ]
|
1416
|
-
set AT91C_CAN_MB11 [expr 0x1 << 11 ]
|
1417
|
-
set AT91C_CAN_MB12 [expr 0x1 << 12 ]
|
1418
|
-
set AT91C_CAN_MB13 [expr 0x1 << 13 ]
|
1419
|
-
set AT91C_CAN_MB14 [expr 0x1 << 14 ]
|
1420
|
-
set AT91C_CAN_MB15 [expr 0x1 << 15 ]
|
1421
|
-
set AT91C_CAN_ERRA [expr 0x1 << 16 ]
|
1422
|
-
set AT91C_CAN_WARN [expr 0x1 << 17 ]
|
1423
|
-
set AT91C_CAN_ERRP [expr 0x1 << 18 ]
|
1424
|
-
set AT91C_CAN_BOFF [expr 0x1 << 19 ]
|
1425
|
-
set AT91C_CAN_SLEEP [expr 0x1 << 20 ]
|
1426
|
-
set AT91C_CAN_WAKEUP [expr 0x1 << 21 ]
|
1427
|
-
set AT91C_CAN_TOVF [expr 0x1 << 22 ]
|
1428
|
-
set AT91C_CAN_TSTP [expr 0x1 << 23 ]
|
1429
|
-
set AT91C_CAN_CERR [expr 0x1 << 24 ]
|
1430
|
-
set AT91C_CAN_SERR [expr 0x1 << 25 ]
|
1431
|
-
set AT91C_CAN_AERR [expr 0x1 << 26 ]
|
1432
|
-
set AT91C_CAN_FERR [expr 0x1 << 27 ]
|
1433
|
-
set AT91C_CAN_BERR [expr 0x1 << 28 ]
|
1434
|
-
set AT91C_CAN_RBSY [expr 0x1 << 29 ]
|
1435
|
-
set AT91C_CAN_TBSY [expr 0x1 << 30 ]
|
1436
|
-
set AT91C_CAN_OVLY [expr 0x1 << 31 ]
|
1437
|
-
# -------- CAN_BR : (CAN Offset: 0x14) CAN Baudrate Register --------
|
1438
|
-
set AT91C_CAN_PHASE2 [expr 0x7 << 0 ]
|
1439
|
-
set AT91C_CAN_PHASE1 [expr 0x7 << 4 ]
|
1440
|
-
set AT91C_CAN_PROPAG [expr 0x7 << 8 ]
|
1441
|
-
set AT91C_CAN_SYNC [expr 0x3 << 12 ]
|
1442
|
-
set AT91C_CAN_BRP [expr 0x7F << 16 ]
|
1443
|
-
set AT91C_CAN_SMP [expr 0x1 << 24 ]
|
1444
|
-
# -------- CAN_TIM : (CAN Offset: 0x18) CAN Timer Register --------
|
1445
|
-
set AT91C_CAN_TIMER [expr 0xFFFF << 0 ]
|
1446
|
-
# -------- CAN_TIMESTP : (CAN Offset: 0x1c) CAN Timestamp Register --------
|
1447
|
-
set AT91C_CAN_MTIMESTAMP [expr 0xFFFF << 0 ]
|
1448
|
-
# -------- CAN_ECR : (CAN Offset: 0x20) CAN Error Counter Register --------
|
1449
|
-
set AT91C_CAN_REC [expr 0xFF << 0 ]
|
1450
|
-
set AT91C_CAN_TEC [expr 0xFF << 16 ]
|
1451
|
-
# -------- CAN_TCR : (CAN Offset: 0x24) CAN Transfer Command Register --------
|
1452
|
-
set AT91C_CAN_MB0 [expr 0x1 << 0 ]
|
1453
|
-
set AT91C_CAN_MB1 [expr 0x1 << 1 ]
|
1454
|
-
set AT91C_CAN_MB2 [expr 0x1 << 2 ]
|
1455
|
-
set AT91C_CAN_MB3 [expr 0x1 << 3 ]
|
1456
|
-
set AT91C_CAN_MB4 [expr 0x1 << 4 ]
|
1457
|
-
set AT91C_CAN_MB5 [expr 0x1 << 5 ]
|
1458
|
-
set AT91C_CAN_MB6 [expr 0x1 << 6 ]
|
1459
|
-
set AT91C_CAN_MB7 [expr 0x1 << 7 ]
|
1460
|
-
set AT91C_CAN_MB8 [expr 0x1 << 8 ]
|
1461
|
-
set AT91C_CAN_MB9 [expr 0x1 << 9 ]
|
1462
|
-
set AT91C_CAN_MB10 [expr 0x1 << 10 ]
|
1463
|
-
set AT91C_CAN_MB11 [expr 0x1 << 11 ]
|
1464
|
-
set AT91C_CAN_MB12 [expr 0x1 << 12 ]
|
1465
|
-
set AT91C_CAN_MB13 [expr 0x1 << 13 ]
|
1466
|
-
set AT91C_CAN_MB14 [expr 0x1 << 14 ]
|
1467
|
-
set AT91C_CAN_MB15 [expr 0x1 << 15 ]
|
1468
|
-
set AT91C_CAN_TIMRST [expr 0x1 << 31 ]
|
1469
|
-
# -------- CAN_ACR : (CAN Offset: 0x28) CAN Abort Command Register --------
|
1470
|
-
set AT91C_CAN_MB0 [expr 0x1 << 0 ]
|
1471
|
-
set AT91C_CAN_MB1 [expr 0x1 << 1 ]
|
1472
|
-
set AT91C_CAN_MB2 [expr 0x1 << 2 ]
|
1473
|
-
set AT91C_CAN_MB3 [expr 0x1 << 3 ]
|
1474
|
-
set AT91C_CAN_MB4 [expr 0x1 << 4 ]
|
1475
|
-
set AT91C_CAN_MB5 [expr 0x1 << 5 ]
|
1476
|
-
set AT91C_CAN_MB6 [expr 0x1 << 6 ]
|
1477
|
-
set AT91C_CAN_MB7 [expr 0x1 << 7 ]
|
1478
|
-
set AT91C_CAN_MB8 [expr 0x1 << 8 ]
|
1479
|
-
set AT91C_CAN_MB9 [expr 0x1 << 9 ]
|
1480
|
-
set AT91C_CAN_MB10 [expr 0x1 << 10 ]
|
1481
|
-
set AT91C_CAN_MB11 [expr 0x1 << 11 ]
|
1482
|
-
set AT91C_CAN_MB12 [expr 0x1 << 12 ]
|
1483
|
-
set AT91C_CAN_MB13 [expr 0x1 << 13 ]
|
1484
|
-
set AT91C_CAN_MB14 [expr 0x1 << 14 ]
|
1485
|
-
set AT91C_CAN_MB15 [expr 0x1 << 15 ]
|
1486
|
-
|
1487
|
-
# *****************************************************************************
|
1488
|
-
# SOFTWARE API DEFINITION FOR Ethernet MAC 10/100
|
1489
|
-
# *****************************************************************************
|
1490
|
-
# -------- EMAC_NCR : (EMAC Offset: 0x0) --------
|
1491
|
-
set AT91C_EMAC_LB [expr 0x1 << 0 ]
|
1492
|
-
set AT91C_EMAC_LLB [expr 0x1 << 1 ]
|
1493
|
-
set AT91C_EMAC_RE [expr 0x1 << 2 ]
|
1494
|
-
set AT91C_EMAC_TE [expr 0x1 << 3 ]
|
1495
|
-
set AT91C_EMAC_MPE [expr 0x1 << 4 ]
|
1496
|
-
set AT91C_EMAC_CLRSTAT [expr 0x1 << 5 ]
|
1497
|
-
set AT91C_EMAC_INCSTAT [expr 0x1 << 6 ]
|
1498
|
-
set AT91C_EMAC_WESTAT [expr 0x1 << 7 ]
|
1499
|
-
set AT91C_EMAC_BP [expr 0x1 << 8 ]
|
1500
|
-
set AT91C_EMAC_TSTART [expr 0x1 << 9 ]
|
1501
|
-
set AT91C_EMAC_THALT [expr 0x1 << 10 ]
|
1502
|
-
set AT91C_EMAC_TPFR [expr 0x1 << 11 ]
|
1503
|
-
set AT91C_EMAC_TZQ [expr 0x1 << 12 ]
|
1504
|
-
# -------- EMAC_NCFGR : (EMAC Offset: 0x4) Network Configuration Register --------
|
1505
|
-
set AT91C_EMAC_SPD [expr 0x1 << 0 ]
|
1506
|
-
set AT91C_EMAC_FD [expr 0x1 << 1 ]
|
1507
|
-
set AT91C_EMAC_JFRAME [expr 0x1 << 3 ]
|
1508
|
-
set AT91C_EMAC_CAF [expr 0x1 << 4 ]
|
1509
|
-
set AT91C_EMAC_NBC [expr 0x1 << 5 ]
|
1510
|
-
set AT91C_EMAC_MTI [expr 0x1 << 6 ]
|
1511
|
-
set AT91C_EMAC_UNI [expr 0x1 << 7 ]
|
1512
|
-
set AT91C_EMAC_BIG [expr 0x1 << 8 ]
|
1513
|
-
set AT91C_EMAC_EAE [expr 0x1 << 9 ]
|
1514
|
-
set AT91C_EMAC_CLK [expr 0x3 << 10 ]
|
1515
|
-
set AT91C_EMAC_CLK_HCLK_8 [expr 0x0 << 10 ]
|
1516
|
-
set AT91C_EMAC_CLK_HCLK_16 [expr 0x1 << 10 ]
|
1517
|
-
set AT91C_EMAC_CLK_HCLK_32 [expr 0x2 << 10 ]
|
1518
|
-
set AT91C_EMAC_CLK_HCLK_64 [expr 0x3 << 10 ]
|
1519
|
-
set AT91C_EMAC_RTY [expr 0x1 << 12 ]
|
1520
|
-
set AT91C_EMAC_PAE [expr 0x1 << 13 ]
|
1521
|
-
set AT91C_EMAC_RBOF [expr 0x3 << 14 ]
|
1522
|
-
set AT91C_EMAC_RBOF_OFFSET_0 [expr 0x0 << 14 ]
|
1523
|
-
set AT91C_EMAC_RBOF_OFFSET_1 [expr 0x1 << 14 ]
|
1524
|
-
set AT91C_EMAC_RBOF_OFFSET_2 [expr 0x2 << 14 ]
|
1525
|
-
set AT91C_EMAC_RBOF_OFFSET_3 [expr 0x3 << 14 ]
|
1526
|
-
set AT91C_EMAC_RLCE [expr 0x1 << 16 ]
|
1527
|
-
set AT91C_EMAC_DRFCS [expr 0x1 << 17 ]
|
1528
|
-
set AT91C_EMAC_EFRHD [expr 0x1 << 18 ]
|
1529
|
-
set AT91C_EMAC_IRXFCS [expr 0x1 << 19 ]
|
1530
|
-
# -------- EMAC_NSR : (EMAC Offset: 0x8) Network Status Register --------
|
1531
|
-
set AT91C_EMAC_LINKR [expr 0x1 << 0 ]
|
1532
|
-
set AT91C_EMAC_MDIO [expr 0x1 << 1 ]
|
1533
|
-
set AT91C_EMAC_IDLE [expr 0x1 << 2 ]
|
1534
|
-
# -------- EMAC_TSR : (EMAC Offset: 0x14) Transmit Status Register --------
|
1535
|
-
set AT91C_EMAC_UBR [expr 0x1 << 0 ]
|
1536
|
-
set AT91C_EMAC_COL [expr 0x1 << 1 ]
|
1537
|
-
set AT91C_EMAC_RLES [expr 0x1 << 2 ]
|
1538
|
-
set AT91C_EMAC_TGO [expr 0x1 << 3 ]
|
1539
|
-
set AT91C_EMAC_BEX [expr 0x1 << 4 ]
|
1540
|
-
set AT91C_EMAC_COMP [expr 0x1 << 5 ]
|
1541
|
-
set AT91C_EMAC_UND [expr 0x1 << 6 ]
|
1542
|
-
# -------- EMAC_RSR : (EMAC Offset: 0x20) Receive Status Register --------
|
1543
|
-
set AT91C_EMAC_BNA [expr 0x1 << 0 ]
|
1544
|
-
set AT91C_EMAC_REC [expr 0x1 << 1 ]
|
1545
|
-
set AT91C_EMAC_OVR [expr 0x1 << 2 ]
|
1546
|
-
# -------- EMAC_ISR : (EMAC Offset: 0x24) Interrupt Status Register --------
|
1547
|
-
set AT91C_EMAC_MFD [expr 0x1 << 0 ]
|
1548
|
-
set AT91C_EMAC_RCOMP [expr 0x1 << 1 ]
|
1549
|
-
set AT91C_EMAC_RXUBR [expr 0x1 << 2 ]
|
1550
|
-
set AT91C_EMAC_TXUBR [expr 0x1 << 3 ]
|
1551
|
-
set AT91C_EMAC_TUNDR [expr 0x1 << 4 ]
|
1552
|
-
set AT91C_EMAC_RLEX [expr 0x1 << 5 ]
|
1553
|
-
set AT91C_EMAC_TXERR [expr 0x1 << 6 ]
|
1554
|
-
set AT91C_EMAC_TCOMP [expr 0x1 << 7 ]
|
1555
|
-
set AT91C_EMAC_LINK [expr 0x1 << 9 ]
|
1556
|
-
set AT91C_EMAC_ROVR [expr 0x1 << 10 ]
|
1557
|
-
set AT91C_EMAC_HRESP [expr 0x1 << 11 ]
|
1558
|
-
set AT91C_EMAC_PFRE [expr 0x1 << 12 ]
|
1559
|
-
set AT91C_EMAC_PTZ [expr 0x1 << 13 ]
|
1560
|
-
# -------- EMAC_IER : (EMAC Offset: 0x28) Interrupt Enable Register --------
|
1561
|
-
set AT91C_EMAC_MFD [expr 0x1 << 0 ]
|
1562
|
-
set AT91C_EMAC_RCOMP [expr 0x1 << 1 ]
|
1563
|
-
set AT91C_EMAC_RXUBR [expr 0x1 << 2 ]
|
1564
|
-
set AT91C_EMAC_TXUBR [expr 0x1 << 3 ]
|
1565
|
-
set AT91C_EMAC_TUNDR [expr 0x1 << 4 ]
|
1566
|
-
set AT91C_EMAC_RLEX [expr 0x1 << 5 ]
|
1567
|
-
set AT91C_EMAC_TXERR [expr 0x1 << 6 ]
|
1568
|
-
set AT91C_EMAC_TCOMP [expr 0x1 << 7 ]
|
1569
|
-
set AT91C_EMAC_LINK [expr 0x1 << 9 ]
|
1570
|
-
set AT91C_EMAC_ROVR [expr 0x1 << 10 ]
|
1571
|
-
set AT91C_EMAC_HRESP [expr 0x1 << 11 ]
|
1572
|
-
set AT91C_EMAC_PFRE [expr 0x1 << 12 ]
|
1573
|
-
set AT91C_EMAC_PTZ [expr 0x1 << 13 ]
|
1574
|
-
# -------- EMAC_IDR : (EMAC Offset: 0x2c) Interrupt Disable Register --------
|
1575
|
-
set AT91C_EMAC_MFD [expr 0x1 << 0 ]
|
1576
|
-
set AT91C_EMAC_RCOMP [expr 0x1 << 1 ]
|
1577
|
-
set AT91C_EMAC_RXUBR [expr 0x1 << 2 ]
|
1578
|
-
set AT91C_EMAC_TXUBR [expr 0x1 << 3 ]
|
1579
|
-
set AT91C_EMAC_TUNDR [expr 0x1 << 4 ]
|
1580
|
-
set AT91C_EMAC_RLEX [expr 0x1 << 5 ]
|
1581
|
-
set AT91C_EMAC_TXERR [expr 0x1 << 6 ]
|
1582
|
-
set AT91C_EMAC_TCOMP [expr 0x1 << 7 ]
|
1583
|
-
set AT91C_EMAC_LINK [expr 0x1 << 9 ]
|
1584
|
-
set AT91C_EMAC_ROVR [expr 0x1 << 10 ]
|
1585
|
-
set AT91C_EMAC_HRESP [expr 0x1 << 11 ]
|
1586
|
-
set AT91C_EMAC_PFRE [expr 0x1 << 12 ]
|
1587
|
-
set AT91C_EMAC_PTZ [expr 0x1 << 13 ]
|
1588
|
-
# -------- EMAC_IMR : (EMAC Offset: 0x30) Interrupt Mask Register --------
|
1589
|
-
set AT91C_EMAC_MFD [expr 0x1 << 0 ]
|
1590
|
-
set AT91C_EMAC_RCOMP [expr 0x1 << 1 ]
|
1591
|
-
set AT91C_EMAC_RXUBR [expr 0x1 << 2 ]
|
1592
|
-
set AT91C_EMAC_TXUBR [expr 0x1 << 3 ]
|
1593
|
-
set AT91C_EMAC_TUNDR [expr 0x1 << 4 ]
|
1594
|
-
set AT91C_EMAC_RLEX [expr 0x1 << 5 ]
|
1595
|
-
set AT91C_EMAC_TXERR [expr 0x1 << 6 ]
|
1596
|
-
set AT91C_EMAC_TCOMP [expr 0x1 << 7 ]
|
1597
|
-
set AT91C_EMAC_LINK [expr 0x1 << 9 ]
|
1598
|
-
set AT91C_EMAC_ROVR [expr 0x1 << 10 ]
|
1599
|
-
set AT91C_EMAC_HRESP [expr 0x1 << 11 ]
|
1600
|
-
set AT91C_EMAC_PFRE [expr 0x1 << 12 ]
|
1601
|
-
set AT91C_EMAC_PTZ [expr 0x1 << 13 ]
|
1602
|
-
# -------- EMAC_MAN : (EMAC Offset: 0x34) PHY Maintenance Register --------
|
1603
|
-
set AT91C_EMAC_DATA [expr 0xFFFF << 0 ]
|
1604
|
-
set AT91C_EMAC_CODE [expr 0x3 << 16 ]
|
1605
|
-
set AT91C_EMAC_REGA [expr 0x1F << 18 ]
|
1606
|
-
set AT91C_EMAC_PHYA [expr 0x1F << 23 ]
|
1607
|
-
set AT91C_EMAC_RW [expr 0x3 << 28 ]
|
1608
|
-
set AT91C_EMAC_SOF [expr 0x3 << 30 ]
|
1609
|
-
# -------- EMAC_USRIO : (EMAC Offset: 0xc0) USER Input Output Register --------
|
1610
|
-
set AT91C_EMAC_RMII [expr 0x1 << 0 ]
|
1611
|
-
set AT91C_EMAC_CLKEN [expr 0x1 << 1 ]
|
1612
|
-
# -------- EMAC_WOL : (EMAC Offset: 0xc4) Wake On LAN Register --------
|
1613
|
-
set AT91C_EMAC_IP [expr 0xFFFF << 0 ]
|
1614
|
-
set AT91C_EMAC_MAG [expr 0x1 << 16 ]
|
1615
|
-
set AT91C_EMAC_ARP [expr 0x1 << 17 ]
|
1616
|
-
set AT91C_EMAC_SA1 [expr 0x1 << 18 ]
|
1617
|
-
set AT91C_EMAC_MTI [expr 0x1 << 19 ]
|
1618
|
-
# -------- EMAC_REV : (EMAC Offset: 0xfc) Revision Register --------
|
1619
|
-
set AT91C_EMAC_REVREF [expr 0xFFFF << 0 ]
|
1620
|
-
set AT91C_EMAC_PARTREF [expr 0xFFFF << 16 ]
|
1621
|
-
|
1622
|
-
# *****************************************************************************
|
1623
|
-
# SOFTWARE API DEFINITION FOR Analog to Digital Convertor
|
1624
|
-
# *****************************************************************************
|
1625
|
-
# -------- ADC_CR : (ADC Offset: 0x0) ADC Control Register --------
|
1626
|
-
set AT91C_ADC_SWRST [expr 0x1 << 0 ]
|
1627
|
-
set AT91C_ADC_START [expr 0x1 << 1 ]
|
1628
|
-
# -------- ADC_MR : (ADC Offset: 0x4) ADC Mode Register --------
|
1629
|
-
set AT91C_ADC_TRGEN [expr 0x1 << 0 ]
|
1630
|
-
set AT91C_ADC_TRGEN_DIS 0x0
|
1631
|
-
set AT91C_ADC_TRGEN_EN 0x1
|
1632
|
-
set AT91C_ADC_TRGSEL [expr 0x7 << 1 ]
|
1633
|
-
set AT91C_ADC_TRGSEL_TIOA0 [expr 0x0 << 1 ]
|
1634
|
-
set AT91C_ADC_TRGSEL_TIOA1 [expr 0x1 << 1 ]
|
1635
|
-
set AT91C_ADC_TRGSEL_TIOA2 [expr 0x2 << 1 ]
|
1636
|
-
set AT91C_ADC_TRGSEL_TIOA3 [expr 0x3 << 1 ]
|
1637
|
-
set AT91C_ADC_TRGSEL_TIOA4 [expr 0x4 << 1 ]
|
1638
|
-
set AT91C_ADC_TRGSEL_TIOA5 [expr 0x5 << 1 ]
|
1639
|
-
set AT91C_ADC_TRGSEL_EXT [expr 0x6 << 1 ]
|
1640
|
-
set AT91C_ADC_LOWRES [expr 0x1 << 4 ]
|
1641
|
-
set AT91C_ADC_LOWRES_10_BIT [expr 0x0 << 4 ]
|
1642
|
-
set AT91C_ADC_LOWRES_8_BIT [expr 0x1 << 4 ]
|
1643
|
-
set AT91C_ADC_SLEEP [expr 0x1 << 5 ]
|
1644
|
-
set AT91C_ADC_SLEEP_NORMAL_MODE [expr 0x0 << 5 ]
|
1645
|
-
set AT91C_ADC_SLEEP_MODE [expr 0x1 << 5 ]
|
1646
|
-
set AT91C_ADC_PRESCAL [expr 0x3F << 8 ]
|
1647
|
-
set AT91C_ADC_STARTUP [expr 0x1F << 16 ]
|
1648
|
-
set AT91C_ADC_SHTIM [expr 0xF << 24 ]
|
1649
|
-
# -------- ADC_CHER : (ADC Offset: 0x10) ADC Channel Enable Register --------
|
1650
|
-
set AT91C_ADC_CH0 [expr 0x1 << 0 ]
|
1651
|
-
set AT91C_ADC_CH1 [expr 0x1 << 1 ]
|
1652
|
-
set AT91C_ADC_CH2 [expr 0x1 << 2 ]
|
1653
|
-
set AT91C_ADC_CH3 [expr 0x1 << 3 ]
|
1654
|
-
set AT91C_ADC_CH4 [expr 0x1 << 4 ]
|
1655
|
-
set AT91C_ADC_CH5 [expr 0x1 << 5 ]
|
1656
|
-
set AT91C_ADC_CH6 [expr 0x1 << 6 ]
|
1657
|
-
set AT91C_ADC_CH7 [expr 0x1 << 7 ]
|
1658
|
-
# -------- ADC_CHDR : (ADC Offset: 0x14) ADC Channel Disable Register --------
|
1659
|
-
set AT91C_ADC_CH0 [expr 0x1 << 0 ]
|
1660
|
-
set AT91C_ADC_CH1 [expr 0x1 << 1 ]
|
1661
|
-
set AT91C_ADC_CH2 [expr 0x1 << 2 ]
|
1662
|
-
set AT91C_ADC_CH3 [expr 0x1 << 3 ]
|
1663
|
-
set AT91C_ADC_CH4 [expr 0x1 << 4 ]
|
1664
|
-
set AT91C_ADC_CH5 [expr 0x1 << 5 ]
|
1665
|
-
set AT91C_ADC_CH6 [expr 0x1 << 6 ]
|
1666
|
-
set AT91C_ADC_CH7 [expr 0x1 << 7 ]
|
1667
|
-
# -------- ADC_CHSR : (ADC Offset: 0x18) ADC Channel Status Register --------
|
1668
|
-
set AT91C_ADC_CH0 [expr 0x1 << 0 ]
|
1669
|
-
set AT91C_ADC_CH1 [expr 0x1 << 1 ]
|
1670
|
-
set AT91C_ADC_CH2 [expr 0x1 << 2 ]
|
1671
|
-
set AT91C_ADC_CH3 [expr 0x1 << 3 ]
|
1672
|
-
set AT91C_ADC_CH4 [expr 0x1 << 4 ]
|
1673
|
-
set AT91C_ADC_CH5 [expr 0x1 << 5 ]
|
1674
|
-
set AT91C_ADC_CH6 [expr 0x1 << 6 ]
|
1675
|
-
set AT91C_ADC_CH7 [expr 0x1 << 7 ]
|
1676
|
-
# -------- ADC_SR : (ADC Offset: 0x1c) ADC Status Register --------
|
1677
|
-
set AT91C_ADC_EOC0 [expr 0x1 << 0 ]
|
1678
|
-
set AT91C_ADC_EOC1 [expr 0x1 << 1 ]
|
1679
|
-
set AT91C_ADC_EOC2 [expr 0x1 << 2 ]
|
1680
|
-
set AT91C_ADC_EOC3 [expr 0x1 << 3 ]
|
1681
|
-
set AT91C_ADC_EOC4 [expr 0x1 << 4 ]
|
1682
|
-
set AT91C_ADC_EOC5 [expr 0x1 << 5 ]
|
1683
|
-
set AT91C_ADC_EOC6 [expr 0x1 << 6 ]
|
1684
|
-
set AT91C_ADC_EOC7 [expr 0x1 << 7 ]
|
1685
|
-
set AT91C_ADC_OVRE0 [expr 0x1 << 8 ]
|
1686
|
-
set AT91C_ADC_OVRE1 [expr 0x1 << 9 ]
|
1687
|
-
set AT91C_ADC_OVRE2 [expr 0x1 << 10 ]
|
1688
|
-
set AT91C_ADC_OVRE3 [expr 0x1 << 11 ]
|
1689
|
-
set AT91C_ADC_OVRE4 [expr 0x1 << 12 ]
|
1690
|
-
set AT91C_ADC_OVRE5 [expr 0x1 << 13 ]
|
1691
|
-
set AT91C_ADC_OVRE6 [expr 0x1 << 14 ]
|
1692
|
-
set AT91C_ADC_OVRE7 [expr 0x1 << 15 ]
|
1693
|
-
set AT91C_ADC_DRDY [expr 0x1 << 16 ]
|
1694
|
-
set AT91C_ADC_GOVRE [expr 0x1 << 17 ]
|
1695
|
-
set AT91C_ADC_ENDRX [expr 0x1 << 18 ]
|
1696
|
-
set AT91C_ADC_RXBUFF [expr 0x1 << 19 ]
|
1697
|
-
# -------- ADC_LCDR : (ADC Offset: 0x20) ADC Last Converted Data Register --------
|
1698
|
-
set AT91C_ADC_LDATA [expr 0x3FF << 0 ]
|
1699
|
-
# -------- ADC_IER : (ADC Offset: 0x24) ADC Interrupt Enable Register --------
|
1700
|
-
set AT91C_ADC_EOC0 [expr 0x1 << 0 ]
|
1701
|
-
set AT91C_ADC_EOC1 [expr 0x1 << 1 ]
|
1702
|
-
set AT91C_ADC_EOC2 [expr 0x1 << 2 ]
|
1703
|
-
set AT91C_ADC_EOC3 [expr 0x1 << 3 ]
|
1704
|
-
set AT91C_ADC_EOC4 [expr 0x1 << 4 ]
|
1705
|
-
set AT91C_ADC_EOC5 [expr 0x1 << 5 ]
|
1706
|
-
set AT91C_ADC_EOC6 [expr 0x1 << 6 ]
|
1707
|
-
set AT91C_ADC_EOC7 [expr 0x1 << 7 ]
|
1708
|
-
set AT91C_ADC_OVRE0 [expr 0x1 << 8 ]
|
1709
|
-
set AT91C_ADC_OVRE1 [expr 0x1 << 9 ]
|
1710
|
-
set AT91C_ADC_OVRE2 [expr 0x1 << 10 ]
|
1711
|
-
set AT91C_ADC_OVRE3 [expr 0x1 << 11 ]
|
1712
|
-
set AT91C_ADC_OVRE4 [expr 0x1 << 12 ]
|
1713
|
-
set AT91C_ADC_OVRE5 [expr 0x1 << 13 ]
|
1714
|
-
set AT91C_ADC_OVRE6 [expr 0x1 << 14 ]
|
1715
|
-
set AT91C_ADC_OVRE7 [expr 0x1 << 15 ]
|
1716
|
-
set AT91C_ADC_DRDY [expr 0x1 << 16 ]
|
1717
|
-
set AT91C_ADC_GOVRE [expr 0x1 << 17 ]
|
1718
|
-
set AT91C_ADC_ENDRX [expr 0x1 << 18 ]
|
1719
|
-
set AT91C_ADC_RXBUFF [expr 0x1 << 19 ]
|
1720
|
-
# -------- ADC_IDR : (ADC Offset: 0x28) ADC Interrupt Disable Register --------
|
1721
|
-
set AT91C_ADC_EOC0 [expr 0x1 << 0 ]
|
1722
|
-
set AT91C_ADC_EOC1 [expr 0x1 << 1 ]
|
1723
|
-
set AT91C_ADC_EOC2 [expr 0x1 << 2 ]
|
1724
|
-
set AT91C_ADC_EOC3 [expr 0x1 << 3 ]
|
1725
|
-
set AT91C_ADC_EOC4 [expr 0x1 << 4 ]
|
1726
|
-
set AT91C_ADC_EOC5 [expr 0x1 << 5 ]
|
1727
|
-
set AT91C_ADC_EOC6 [expr 0x1 << 6 ]
|
1728
|
-
set AT91C_ADC_EOC7 [expr 0x1 << 7 ]
|
1729
|
-
set AT91C_ADC_OVRE0 [expr 0x1 << 8 ]
|
1730
|
-
set AT91C_ADC_OVRE1 [expr 0x1 << 9 ]
|
1731
|
-
set AT91C_ADC_OVRE2 [expr 0x1 << 10 ]
|
1732
|
-
set AT91C_ADC_OVRE3 [expr 0x1 << 11 ]
|
1733
|
-
set AT91C_ADC_OVRE4 [expr 0x1 << 12 ]
|
1734
|
-
set AT91C_ADC_OVRE5 [expr 0x1 << 13 ]
|
1735
|
-
set AT91C_ADC_OVRE6 [expr 0x1 << 14 ]
|
1736
|
-
set AT91C_ADC_OVRE7 [expr 0x1 << 15 ]
|
1737
|
-
set AT91C_ADC_DRDY [expr 0x1 << 16 ]
|
1738
|
-
set AT91C_ADC_GOVRE [expr 0x1 << 17 ]
|
1739
|
-
set AT91C_ADC_ENDRX [expr 0x1 << 18 ]
|
1740
|
-
set AT91C_ADC_RXBUFF [expr 0x1 << 19 ]
|
1741
|
-
# -------- ADC_IMR : (ADC Offset: 0x2c) ADC Interrupt Mask Register --------
|
1742
|
-
set AT91C_ADC_EOC0 [expr 0x1 << 0 ]
|
1743
|
-
set AT91C_ADC_EOC1 [expr 0x1 << 1 ]
|
1744
|
-
set AT91C_ADC_EOC2 [expr 0x1 << 2 ]
|
1745
|
-
set AT91C_ADC_EOC3 [expr 0x1 << 3 ]
|
1746
|
-
set AT91C_ADC_EOC4 [expr 0x1 << 4 ]
|
1747
|
-
set AT91C_ADC_EOC5 [expr 0x1 << 5 ]
|
1748
|
-
set AT91C_ADC_EOC6 [expr 0x1 << 6 ]
|
1749
|
-
set AT91C_ADC_EOC7 [expr 0x1 << 7 ]
|
1750
|
-
set AT91C_ADC_OVRE0 [expr 0x1 << 8 ]
|
1751
|
-
set AT91C_ADC_OVRE1 [expr 0x1 << 9 ]
|
1752
|
-
set AT91C_ADC_OVRE2 [expr 0x1 << 10 ]
|
1753
|
-
set AT91C_ADC_OVRE3 [expr 0x1 << 11 ]
|
1754
|
-
set AT91C_ADC_OVRE4 [expr 0x1 << 12 ]
|
1755
|
-
set AT91C_ADC_OVRE5 [expr 0x1 << 13 ]
|
1756
|
-
set AT91C_ADC_OVRE6 [expr 0x1 << 14 ]
|
1757
|
-
set AT91C_ADC_OVRE7 [expr 0x1 << 15 ]
|
1758
|
-
set AT91C_ADC_DRDY [expr 0x1 << 16 ]
|
1759
|
-
set AT91C_ADC_GOVRE [expr 0x1 << 17 ]
|
1760
|
-
set AT91C_ADC_ENDRX [expr 0x1 << 18 ]
|
1761
|
-
set AT91C_ADC_RXBUFF [expr 0x1 << 19 ]
|
1762
|
-
# -------- ADC_CDR0 : (ADC Offset: 0x30) ADC Channel Data Register 0 --------
|
1763
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1764
|
-
# -------- ADC_CDR1 : (ADC Offset: 0x34) ADC Channel Data Register 1 --------
|
1765
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1766
|
-
# -------- ADC_CDR2 : (ADC Offset: 0x38) ADC Channel Data Register 2 --------
|
1767
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1768
|
-
# -------- ADC_CDR3 : (ADC Offset: 0x3c) ADC Channel Data Register 3 --------
|
1769
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1770
|
-
# -------- ADC_CDR4 : (ADC Offset: 0x40) ADC Channel Data Register 4 --------
|
1771
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1772
|
-
# -------- ADC_CDR5 : (ADC Offset: 0x44) ADC Channel Data Register 5 --------
|
1773
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1774
|
-
# -------- ADC_CDR6 : (ADC Offset: 0x48) ADC Channel Data Register 6 --------
|
1775
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1776
|
-
# -------- ADC_CDR7 : (ADC Offset: 0x4c) ADC Channel Data Register 7 --------
|
1777
|
-
set AT91C_ADC_DATA [expr 0x3FF << 0 ]
|
1778
|
-
|
1779
|
-
# *****************************************************************************
|
1780
|
-
# REGISTER ADDRESS DEFINITION FOR AT91SAM7X256
|
1781
|
-
# *****************************************************************************
|
1782
|
-
# ========== Register definition for SYS peripheral ==========
|
1783
|
-
# ========== Register definition for AIC peripheral ==========
|
1784
|
-
set AT91C_AIC_IVR 0xFFFFF100
|
1785
|
-
set AT91C_AIC_SMR 0xFFFFF000
|
1786
|
-
set AT91C_AIC_FVR 0xFFFFF104
|
1787
|
-
set AT91C_AIC_DCR 0xFFFFF138
|
1788
|
-
set AT91C_AIC_EOICR 0xFFFFF130
|
1789
|
-
set AT91C_AIC_SVR 0xFFFFF080
|
1790
|
-
set AT91C_AIC_FFSR 0xFFFFF148
|
1791
|
-
set AT91C_AIC_ICCR 0xFFFFF128
|
1792
|
-
set AT91C_AIC_ISR 0xFFFFF108
|
1793
|
-
set AT91C_AIC_IMR 0xFFFFF110
|
1794
|
-
set AT91C_AIC_IPR 0xFFFFF10C
|
1795
|
-
set AT91C_AIC_FFER 0xFFFFF140
|
1796
|
-
set AT91C_AIC_IECR 0xFFFFF120
|
1797
|
-
set AT91C_AIC_ISCR 0xFFFFF12C
|
1798
|
-
set AT91C_AIC_FFDR 0xFFFFF144
|
1799
|
-
set AT91C_AIC_CISR 0xFFFFF114
|
1800
|
-
set AT91C_AIC_IDCR 0xFFFFF124
|
1801
|
-
set AT91C_AIC_SPU 0xFFFFF134
|
1802
|
-
# ========== Register definition for PDC_DBGU peripheral ==========
|
1803
|
-
set AT91C_DBGU_TCR 0xFFFFF30C
|
1804
|
-
set AT91C_DBGU_RNPR 0xFFFFF310
|
1805
|
-
set AT91C_DBGU_TNPR 0xFFFFF318
|
1806
|
-
set AT91C_DBGU_TPR 0xFFFFF308
|
1807
|
-
set AT91C_DBGU_RPR 0xFFFFF300
|
1808
|
-
set AT91C_DBGU_RCR 0xFFFFF304
|
1809
|
-
set AT91C_DBGU_RNCR 0xFFFFF314
|
1810
|
-
set AT91C_DBGU_PTCR 0xFFFFF320
|
1811
|
-
set AT91C_DBGU_PTSR 0xFFFFF324
|
1812
|
-
set AT91C_DBGU_TNCR 0xFFFFF31C
|
1813
|
-
# ========== Register definition for DBGU peripheral ==========
|
1814
|
-
set AT91C_DBGU_EXID 0xFFFFF244
|
1815
|
-
set AT91C_DBGU_BRGR 0xFFFFF220
|
1816
|
-
set AT91C_DBGU_IDR 0xFFFFF20C
|
1817
|
-
set AT91C_DBGU_CSR 0xFFFFF214
|
1818
|
-
set AT91C_DBGU_CIDR 0xFFFFF240
|
1819
|
-
set AT91C_DBGU_MR 0xFFFFF204
|
1820
|
-
set AT91C_DBGU_IMR 0xFFFFF210
|
1821
|
-
set AT91C_DBGU_CR 0xFFFFF200
|
1822
|
-
set AT91C_DBGU_FNTR 0xFFFFF248
|
1823
|
-
set AT91C_DBGU_THR 0xFFFFF21C
|
1824
|
-
set AT91C_DBGU_RHR 0xFFFFF218
|
1825
|
-
set AT91C_DBGU_IER 0xFFFFF208
|
1826
|
-
# ========== Register definition for PIOA peripheral ==========
|
1827
|
-
set AT91C_PIOA_ODR 0xFFFFF414
|
1828
|
-
set AT91C_PIOA_SODR 0xFFFFF430
|
1829
|
-
set AT91C_PIOA_ISR 0xFFFFF44C
|
1830
|
-
set AT91C_PIOA_ABSR 0xFFFFF478
|
1831
|
-
set AT91C_PIOA_IER 0xFFFFF440
|
1832
|
-
set AT91C_PIOA_PPUDR 0xFFFFF460
|
1833
|
-
set AT91C_PIOA_IMR 0xFFFFF448
|
1834
|
-
set AT91C_PIOA_PER 0xFFFFF400
|
1835
|
-
set AT91C_PIOA_IFDR 0xFFFFF424
|
1836
|
-
set AT91C_PIOA_OWDR 0xFFFFF4A4
|
1837
|
-
set AT91C_PIOA_MDSR 0xFFFFF458
|
1838
|
-
set AT91C_PIOA_IDR 0xFFFFF444
|
1839
|
-
set AT91C_PIOA_ODSR 0xFFFFF438
|
1840
|
-
set AT91C_PIOA_PPUSR 0xFFFFF468
|
1841
|
-
set AT91C_PIOA_OWSR 0xFFFFF4A8
|
1842
|
-
set AT91C_PIOA_BSR 0xFFFFF474
|
1843
|
-
set AT91C_PIOA_OWER 0xFFFFF4A0
|
1844
|
-
set AT91C_PIOA_IFER 0xFFFFF420
|
1845
|
-
set AT91C_PIOA_PDSR 0xFFFFF43C
|
1846
|
-
set AT91C_PIOA_PPUER 0xFFFFF464
|
1847
|
-
set AT91C_PIOA_OSR 0xFFFFF418
|
1848
|
-
set AT91C_PIOA_ASR 0xFFFFF470
|
1849
|
-
set AT91C_PIOA_MDDR 0xFFFFF454
|
1850
|
-
set AT91C_PIOA_CODR 0xFFFFF434
|
1851
|
-
set AT91C_PIOA_MDER 0xFFFFF450
|
1852
|
-
set AT91C_PIOA_PDR 0xFFFFF404
|
1853
|
-
set AT91C_PIOA_IFSR 0xFFFFF428
|
1854
|
-
set AT91C_PIOA_OER 0xFFFFF410
|
1855
|
-
set AT91C_PIOA_PSR 0xFFFFF408
|
1856
|
-
# ========== Register definition for PIOB peripheral ==========
|
1857
|
-
set AT91C_PIOB_OWDR 0xFFFFF6A4
|
1858
|
-
set AT91C_PIOB_MDER 0xFFFFF650
|
1859
|
-
set AT91C_PIOB_PPUSR 0xFFFFF668
|
1860
|
-
set AT91C_PIOB_IMR 0xFFFFF648
|
1861
|
-
set AT91C_PIOB_ASR 0xFFFFF670
|
1862
|
-
set AT91C_PIOB_PPUDR 0xFFFFF660
|
1863
|
-
set AT91C_PIOB_PSR 0xFFFFF608
|
1864
|
-
set AT91C_PIOB_IER 0xFFFFF640
|
1865
|
-
set AT91C_PIOB_CODR 0xFFFFF634
|
1866
|
-
set AT91C_PIOB_OWER 0xFFFFF6A0
|
1867
|
-
set AT91C_PIOB_ABSR 0xFFFFF678
|
1868
|
-
set AT91C_PIOB_IFDR 0xFFFFF624
|
1869
|
-
set AT91C_PIOB_PDSR 0xFFFFF63C
|
1870
|
-
set AT91C_PIOB_IDR 0xFFFFF644
|
1871
|
-
set AT91C_PIOB_OWSR 0xFFFFF6A8
|
1872
|
-
set AT91C_PIOB_PDR 0xFFFFF604
|
1873
|
-
set AT91C_PIOB_ODR 0xFFFFF614
|
1874
|
-
set AT91C_PIOB_IFSR 0xFFFFF628
|
1875
|
-
set AT91C_PIOB_PPUER 0xFFFFF664
|
1876
|
-
set AT91C_PIOB_SODR 0xFFFFF630
|
1877
|
-
set AT91C_PIOB_ISR 0xFFFFF64C
|
1878
|
-
set AT91C_PIOB_ODSR 0xFFFFF638
|
1879
|
-
set AT91C_PIOB_OSR 0xFFFFF618
|
1880
|
-
set AT91C_PIOB_MDSR 0xFFFFF658
|
1881
|
-
set AT91C_PIOB_IFER 0xFFFFF620
|
1882
|
-
set AT91C_PIOB_BSR 0xFFFFF674
|
1883
|
-
set AT91C_PIOB_MDDR 0xFFFFF654
|
1884
|
-
set AT91C_PIOB_OER 0xFFFFF610
|
1885
|
-
set AT91C_PIOB_PER 0xFFFFF600
|
1886
|
-
# ========== Register definition for CKGR peripheral ==========
|
1887
|
-
set AT91C_CKGR_MOR 0xFFFFFC20
|
1888
|
-
set AT91C_CKGR_PLLR 0xFFFFFC2C
|
1889
|
-
set AT91C_CKGR_MCFR 0xFFFFFC24
|
1890
|
-
# ========== Register definition for PMC peripheral ==========
|
1891
|
-
set AT91C_PMC_IDR 0xFFFFFC64
|
1892
|
-
set AT91C_PMC_MOR 0xFFFFFC20
|
1893
|
-
set AT91C_PMC_PLLR 0xFFFFFC2C
|
1894
|
-
set AT91C_PMC_PCER 0xFFFFFC10
|
1895
|
-
set AT91C_PMC_PCKR 0xFFFFFC40
|
1896
|
-
set AT91C_PMC_MCKR 0xFFFFFC30
|
1897
|
-
set AT91C_PMC_SCDR 0xFFFFFC04
|
1898
|
-
set AT91C_PMC_PCDR 0xFFFFFC14
|
1899
|
-
set AT91C_PMC_SCSR 0xFFFFFC08
|
1900
|
-
set AT91C_PMC_PCSR 0xFFFFFC18
|
1901
|
-
set AT91C_PMC_MCFR 0xFFFFFC24
|
1902
|
-
set AT91C_PMC_SCER 0xFFFFFC00
|
1903
|
-
set AT91C_PMC_IMR 0xFFFFFC6C
|
1904
|
-
set AT91C_PMC_IER 0xFFFFFC60
|
1905
|
-
set AT91C_PMC_SR 0xFFFFFC68
|
1906
|
-
# ========== Register definition for RSTC peripheral ==========
|
1907
|
-
set AT91C_RSTC_RCR 0xFFFFFD00
|
1908
|
-
set AT91C_RSTC_RMR 0xFFFFFD08
|
1909
|
-
set AT91C_RSTC_RSR 0xFFFFFD04
|
1910
|
-
# ========== Register definition for RTTC peripheral ==========
|
1911
|
-
set AT91C_RTTC_RTSR 0xFFFFFD2C
|
1912
|
-
set AT91C_RTTC_RTMR 0xFFFFFD20
|
1913
|
-
set AT91C_RTTC_RTVR 0xFFFFFD28
|
1914
|
-
set AT91C_RTTC_RTAR 0xFFFFFD24
|
1915
|
-
# ========== Register definition for PITC peripheral ==========
|
1916
|
-
set AT91C_PITC_PIVR 0xFFFFFD38
|
1917
|
-
set AT91C_PITC_PISR 0xFFFFFD34
|
1918
|
-
set AT91C_PITC_PIIR 0xFFFFFD3C
|
1919
|
-
set AT91C_PITC_PIMR 0xFFFFFD30
|
1920
|
-
# ========== Register definition for WDTC peripheral ==========
|
1921
|
-
set AT91C_WDTC_WDCR 0xFFFFFD40
|
1922
|
-
set AT91C_WDTC_WDSR 0xFFFFFD48
|
1923
|
-
set AT91C_WDTC_WDMR 0xFFFFFD44
|
1924
|
-
# ========== Register definition for VREG peripheral ==========
|
1925
|
-
set AT91C_VREG_MR 0xFFFFFD60
|
1926
|
-
# ========== Register definition for MC peripheral ==========
|
1927
|
-
set AT91C_MC_ASR 0xFFFFFF04
|
1928
|
-
set AT91C_MC_RCR 0xFFFFFF00
|
1929
|
-
set AT91C_MC_FCR 0xFFFFFF64
|
1930
|
-
set AT91C_MC_AASR 0xFFFFFF08
|
1931
|
-
set AT91C_MC_FSR 0xFFFFFF68
|
1932
|
-
set AT91C_MC_FMR 0xFFFFFF60
|
1933
|
-
# ========== Register definition for PDC_SPI1 peripheral ==========
|
1934
|
-
set AT91C_SPI1_PTCR 0xFFFE4120
|
1935
|
-
set AT91C_SPI1_RPR 0xFFFE4100
|
1936
|
-
set AT91C_SPI1_TNCR 0xFFFE411C
|
1937
|
-
set AT91C_SPI1_TPR 0xFFFE4108
|
1938
|
-
set AT91C_SPI1_TNPR 0xFFFE4118
|
1939
|
-
set AT91C_SPI1_TCR 0xFFFE410C
|
1940
|
-
set AT91C_SPI1_RCR 0xFFFE4104
|
1941
|
-
set AT91C_SPI1_RNPR 0xFFFE4110
|
1942
|
-
set AT91C_SPI1_RNCR 0xFFFE4114
|
1943
|
-
set AT91C_SPI1_PTSR 0xFFFE4124
|
1944
|
-
# ========== Register definition for SPI1 peripheral ==========
|
1945
|
-
set AT91C_SPI1_IMR 0xFFFE401C
|
1946
|
-
set AT91C_SPI1_IER 0xFFFE4014
|
1947
|
-
set AT91C_SPI1_MR 0xFFFE4004
|
1948
|
-
set AT91C_SPI1_RDR 0xFFFE4008
|
1949
|
-
set AT91C_SPI1_IDR 0xFFFE4018
|
1950
|
-
set AT91C_SPI1_SR 0xFFFE4010
|
1951
|
-
set AT91C_SPI1_TDR 0xFFFE400C
|
1952
|
-
set AT91C_SPI1_CR 0xFFFE4000
|
1953
|
-
set AT91C_SPI1_CSR 0xFFFE4030
|
1954
|
-
# ========== Register definition for PDC_SPI0 peripheral ==========
|
1955
|
-
set AT91C_SPI0_PTCR 0xFFFE0120
|
1956
|
-
set AT91C_SPI0_TPR 0xFFFE0108
|
1957
|
-
set AT91C_SPI0_TCR 0xFFFE010C
|
1958
|
-
set AT91C_SPI0_RCR 0xFFFE0104
|
1959
|
-
set AT91C_SPI0_PTSR 0xFFFE0124
|
1960
|
-
set AT91C_SPI0_RNPR 0xFFFE0110
|
1961
|
-
set AT91C_SPI0_RPR 0xFFFE0100
|
1962
|
-
set AT91C_SPI0_TNCR 0xFFFE011C
|
1963
|
-
set AT91C_SPI0_RNCR 0xFFFE0114
|
1964
|
-
set AT91C_SPI0_TNPR 0xFFFE0118
|
1965
|
-
# ========== Register definition for SPI0 peripheral ==========
|
1966
|
-
set AT91C_SPI0_IER 0xFFFE0014
|
1967
|
-
set AT91C_SPI0_SR 0xFFFE0010
|
1968
|
-
set AT91C_SPI0_IDR 0xFFFE0018
|
1969
|
-
set AT91C_SPI0_CR 0xFFFE0000
|
1970
|
-
set AT91C_SPI0_MR 0xFFFE0004
|
1971
|
-
set AT91C_SPI0_IMR 0xFFFE001C
|
1972
|
-
set AT91C_SPI0_TDR 0xFFFE000C
|
1973
|
-
set AT91C_SPI0_RDR 0xFFFE0008
|
1974
|
-
set AT91C_SPI0_CSR 0xFFFE0030
|
1975
|
-
# ========== Register definition for PDC_US1 peripheral ==========
|
1976
|
-
set AT91C_US1_RNCR 0xFFFC4114
|
1977
|
-
set AT91C_US1_PTCR 0xFFFC4120
|
1978
|
-
set AT91C_US1_TCR 0xFFFC410C
|
1979
|
-
set AT91C_US1_PTSR 0xFFFC4124
|
1980
|
-
set AT91C_US1_TNPR 0xFFFC4118
|
1981
|
-
set AT91C_US1_RCR 0xFFFC4104
|
1982
|
-
set AT91C_US1_RNPR 0xFFFC4110
|
1983
|
-
set AT91C_US1_RPR 0xFFFC4100
|
1984
|
-
set AT91C_US1_TNCR 0xFFFC411C
|
1985
|
-
set AT91C_US1_TPR 0xFFFC4108
|
1986
|
-
# ========== Register definition for US1 peripheral ==========
|
1987
|
-
set AT91C_US1_IF 0xFFFC404C
|
1988
|
-
set AT91C_US1_NER 0xFFFC4044
|
1989
|
-
set AT91C_US1_RTOR 0xFFFC4024
|
1990
|
-
set AT91C_US1_CSR 0xFFFC4014
|
1991
|
-
set AT91C_US1_IDR 0xFFFC400C
|
1992
|
-
set AT91C_US1_IER 0xFFFC4008
|
1993
|
-
set AT91C_US1_THR 0xFFFC401C
|
1994
|
-
set AT91C_US1_TTGR 0xFFFC4028
|
1995
|
-
set AT91C_US1_RHR 0xFFFC4018
|
1996
|
-
set AT91C_US1_BRGR 0xFFFC4020
|
1997
|
-
set AT91C_US1_IMR 0xFFFC4010
|
1998
|
-
set AT91C_US1_FIDI 0xFFFC4040
|
1999
|
-
set AT91C_US1_CR 0xFFFC4000
|
2000
|
-
set AT91C_US1_MR 0xFFFC4004
|
2001
|
-
# ========== Register definition for PDC_US0 peripheral ==========
|
2002
|
-
set AT91C_US0_TNPR 0xFFFC0118
|
2003
|
-
set AT91C_US0_RNPR 0xFFFC0110
|
2004
|
-
set AT91C_US0_TCR 0xFFFC010C
|
2005
|
-
set AT91C_US0_PTCR 0xFFFC0120
|
2006
|
-
set AT91C_US0_PTSR 0xFFFC0124
|
2007
|
-
set AT91C_US0_TNCR 0xFFFC011C
|
2008
|
-
set AT91C_US0_TPR 0xFFFC0108
|
2009
|
-
set AT91C_US0_RCR 0xFFFC0104
|
2010
|
-
set AT91C_US0_RPR 0xFFFC0100
|
2011
|
-
set AT91C_US0_RNCR 0xFFFC0114
|
2012
|
-
# ========== Register definition for US0 peripheral ==========
|
2013
|
-
set AT91C_US0_BRGR 0xFFFC0020
|
2014
|
-
set AT91C_US0_NER 0xFFFC0044
|
2015
|
-
set AT91C_US0_CR 0xFFFC0000
|
2016
|
-
set AT91C_US0_IMR 0xFFFC0010
|
2017
|
-
set AT91C_US0_FIDI 0xFFFC0040
|
2018
|
-
set AT91C_US0_TTGR 0xFFFC0028
|
2019
|
-
set AT91C_US0_MR 0xFFFC0004
|
2020
|
-
set AT91C_US0_RTOR 0xFFFC0024
|
2021
|
-
set AT91C_US0_CSR 0xFFFC0014
|
2022
|
-
set AT91C_US0_RHR 0xFFFC0018
|
2023
|
-
set AT91C_US0_IDR 0xFFFC000C
|
2024
|
-
set AT91C_US0_THR 0xFFFC001C
|
2025
|
-
set AT91C_US0_IF 0xFFFC004C
|
2026
|
-
set AT91C_US0_IER 0xFFFC0008
|
2027
|
-
# ========== Register definition for PDC_SSC peripheral ==========
|
2028
|
-
set AT91C_SSC_TNCR 0xFFFD411C
|
2029
|
-
set AT91C_SSC_RPR 0xFFFD4100
|
2030
|
-
set AT91C_SSC_RNCR 0xFFFD4114
|
2031
|
-
set AT91C_SSC_TPR 0xFFFD4108
|
2032
|
-
set AT91C_SSC_PTCR 0xFFFD4120
|
2033
|
-
set AT91C_SSC_TCR 0xFFFD410C
|
2034
|
-
set AT91C_SSC_RCR 0xFFFD4104
|
2035
|
-
set AT91C_SSC_RNPR 0xFFFD4110
|
2036
|
-
set AT91C_SSC_TNPR 0xFFFD4118
|
2037
|
-
set AT91C_SSC_PTSR 0xFFFD4124
|
2038
|
-
# ========== Register definition for SSC peripheral ==========
|
2039
|
-
set AT91C_SSC_RHR 0xFFFD4020
|
2040
|
-
set AT91C_SSC_RSHR 0xFFFD4030
|
2041
|
-
set AT91C_SSC_TFMR 0xFFFD401C
|
2042
|
-
set AT91C_SSC_IDR 0xFFFD4048
|
2043
|
-
set AT91C_SSC_THR 0xFFFD4024
|
2044
|
-
set AT91C_SSC_RCMR 0xFFFD4010
|
2045
|
-
set AT91C_SSC_IER 0xFFFD4044
|
2046
|
-
set AT91C_SSC_TSHR 0xFFFD4034
|
2047
|
-
set AT91C_SSC_SR 0xFFFD4040
|
2048
|
-
set AT91C_SSC_CMR 0xFFFD4004
|
2049
|
-
set AT91C_SSC_TCMR 0xFFFD4018
|
2050
|
-
set AT91C_SSC_CR 0xFFFD4000
|
2051
|
-
set AT91C_SSC_IMR 0xFFFD404C
|
2052
|
-
set AT91C_SSC_RFMR 0xFFFD4014
|
2053
|
-
# ========== Register definition for TWI peripheral ==========
|
2054
|
-
set AT91C_TWI_IER 0xFFFB8024
|
2055
|
-
set AT91C_TWI_CR 0xFFFB8000
|
2056
|
-
set AT91C_TWI_SR 0xFFFB8020
|
2057
|
-
set AT91C_TWI_IMR 0xFFFB802C
|
2058
|
-
set AT91C_TWI_THR 0xFFFB8034
|
2059
|
-
set AT91C_TWI_IDR 0xFFFB8028
|
2060
|
-
set AT91C_TWI_IADR 0xFFFB800C
|
2061
|
-
set AT91C_TWI_MMR 0xFFFB8004
|
2062
|
-
set AT91C_TWI_CWGR 0xFFFB8010
|
2063
|
-
set AT91C_TWI_RHR 0xFFFB8030
|
2064
|
-
# ========== Register definition for PWMC_CH3 peripheral ==========
|
2065
|
-
set AT91C_PWMC_CH3_CUPDR 0xFFFCC270
|
2066
|
-
set AT91C_PWMC_CH3_Reserved 0xFFFCC274
|
2067
|
-
set AT91C_PWMC_CH3_CPRDR 0xFFFCC268
|
2068
|
-
set AT91C_PWMC_CH3_CDTYR 0xFFFCC264
|
2069
|
-
set AT91C_PWMC_CH3_CCNTR 0xFFFCC26C
|
2070
|
-
set AT91C_PWMC_CH3_CMR 0xFFFCC260
|
2071
|
-
# ========== Register definition for PWMC_CH2 peripheral ==========
|
2072
|
-
set AT91C_PWMC_CH2_Reserved 0xFFFCC254
|
2073
|
-
set AT91C_PWMC_CH2_CMR 0xFFFCC240
|
2074
|
-
set AT91C_PWMC_CH2_CCNTR 0xFFFCC24C
|
2075
|
-
set AT91C_PWMC_CH2_CPRDR 0xFFFCC248
|
2076
|
-
set AT91C_PWMC_CH2_CUPDR 0xFFFCC250
|
2077
|
-
set AT91C_PWMC_CH2_CDTYR 0xFFFCC244
|
2078
|
-
# ========== Register definition for PWMC_CH1 peripheral ==========
|
2079
|
-
set AT91C_PWMC_CH1_Reserved 0xFFFCC234
|
2080
|
-
set AT91C_PWMC_CH1_CUPDR 0xFFFCC230
|
2081
|
-
set AT91C_PWMC_CH1_CPRDR 0xFFFCC228
|
2082
|
-
set AT91C_PWMC_CH1_CCNTR 0xFFFCC22C
|
2083
|
-
set AT91C_PWMC_CH1_CDTYR 0xFFFCC224
|
2084
|
-
set AT91C_PWMC_CH1_CMR 0xFFFCC220
|
2085
|
-
# ========== Register definition for PWMC_CH0 peripheral ==========
|
2086
|
-
set AT91C_PWMC_CH0_Reserved 0xFFFCC214
|
2087
|
-
set AT91C_PWMC_CH0_CPRDR 0xFFFCC208
|
2088
|
-
set AT91C_PWMC_CH0_CDTYR 0xFFFCC204
|
2089
|
-
set AT91C_PWMC_CH0_CMR 0xFFFCC200
|
2090
|
-
set AT91C_PWMC_CH0_CUPDR 0xFFFCC210
|
2091
|
-
set AT91C_PWMC_CH0_CCNTR 0xFFFCC20C
|
2092
|
-
# ========== Register definition for PWMC peripheral ==========
|
2093
|
-
set AT91C_PWMC_IDR 0xFFFCC014
|
2094
|
-
set AT91C_PWMC_DIS 0xFFFCC008
|
2095
|
-
set AT91C_PWMC_IER 0xFFFCC010
|
2096
|
-
set AT91C_PWMC_VR 0xFFFCC0FC
|
2097
|
-
set AT91C_PWMC_ISR 0xFFFCC01C
|
2098
|
-
set AT91C_PWMC_SR 0xFFFCC00C
|
2099
|
-
set AT91C_PWMC_IMR 0xFFFCC018
|
2100
|
-
set AT91C_PWMC_MR 0xFFFCC000
|
2101
|
-
set AT91C_PWMC_ENA 0xFFFCC004
|
2102
|
-
# ========== Register definition for UDP peripheral ==========
|
2103
|
-
set AT91C_UDP_IMR 0xFFFB0018
|
2104
|
-
set AT91C_UDP_FADDR 0xFFFB0008
|
2105
|
-
set AT91C_UDP_NUM 0xFFFB0000
|
2106
|
-
set AT91C_UDP_FDR 0xFFFB0050
|
2107
|
-
set AT91C_UDP_ISR 0xFFFB001C
|
2108
|
-
set AT91C_UDP_CSR 0xFFFB0030
|
2109
|
-
set AT91C_UDP_IDR 0xFFFB0014
|
2110
|
-
set AT91C_UDP_ICR 0xFFFB0020
|
2111
|
-
set AT91C_UDP_RSTEP 0xFFFB0028
|
2112
|
-
set AT91C_UDP_TXVC 0xFFFB0074
|
2113
|
-
set AT91C_UDP_GLBSTATE 0xFFFB0004
|
2114
|
-
set AT91C_UDP_IER 0xFFFB0010
|
2115
|
-
# ========== Register definition for TC0 peripheral ==========
|
2116
|
-
set AT91C_TC0_SR 0xFFFA0020
|
2117
|
-
set AT91C_TC0_RC 0xFFFA001C
|
2118
|
-
set AT91C_TC0_RB 0xFFFA0018
|
2119
|
-
set AT91C_TC0_CCR 0xFFFA0000
|
2120
|
-
set AT91C_TC0_CMR 0xFFFA0004
|
2121
|
-
set AT91C_TC0_IER 0xFFFA0024
|
2122
|
-
set AT91C_TC0_RA 0xFFFA0014
|
2123
|
-
set AT91C_TC0_IDR 0xFFFA0028
|
2124
|
-
set AT91C_TC0_CV 0xFFFA0010
|
2125
|
-
set AT91C_TC0_IMR 0xFFFA002C
|
2126
|
-
# ========== Register definition for TC1 peripheral ==========
|
2127
|
-
set AT91C_TC1_RB 0xFFFA0058
|
2128
|
-
set AT91C_TC1_CCR 0xFFFA0040
|
2129
|
-
set AT91C_TC1_IER 0xFFFA0064
|
2130
|
-
set AT91C_TC1_IDR 0xFFFA0068
|
2131
|
-
set AT91C_TC1_SR 0xFFFA0060
|
2132
|
-
set AT91C_TC1_CMR 0xFFFA0044
|
2133
|
-
set AT91C_TC1_RA 0xFFFA0054
|
2134
|
-
set AT91C_TC1_RC 0xFFFA005C
|
2135
|
-
set AT91C_TC1_IMR 0xFFFA006C
|
2136
|
-
set AT91C_TC1_CV 0xFFFA0050
|
2137
|
-
# ========== Register definition for TC2 peripheral ==========
|
2138
|
-
set AT91C_TC2_CMR 0xFFFA0084
|
2139
|
-
set AT91C_TC2_CCR 0xFFFA0080
|
2140
|
-
set AT91C_TC2_CV 0xFFFA0090
|
2141
|
-
set AT91C_TC2_RA 0xFFFA0094
|
2142
|
-
set AT91C_TC2_RB 0xFFFA0098
|
2143
|
-
set AT91C_TC2_IDR 0xFFFA00A8
|
2144
|
-
set AT91C_TC2_IMR 0xFFFA00AC
|
2145
|
-
set AT91C_TC2_RC 0xFFFA009C
|
2146
|
-
set AT91C_TC2_IER 0xFFFA00A4
|
2147
|
-
set AT91C_TC2_SR 0xFFFA00A0
|
2148
|
-
# ========== Register definition for TCB peripheral ==========
|
2149
|
-
set AT91C_TCB_BMR 0xFFFA00C4
|
2150
|
-
set AT91C_TCB_BCR 0xFFFA00C0
|
2151
|
-
# ========== Register definition for CAN_MB0 peripheral ==========
|
2152
|
-
set AT91C_CAN_MB0_MDL 0xFFFD0214
|
2153
|
-
set AT91C_CAN_MB0_MAM 0xFFFD0204
|
2154
|
-
set AT91C_CAN_MB0_MCR 0xFFFD021C
|
2155
|
-
set AT91C_CAN_MB0_MID 0xFFFD0208
|
2156
|
-
set AT91C_CAN_MB0_MSR 0xFFFD0210
|
2157
|
-
set AT91C_CAN_MB0_MFID 0xFFFD020C
|
2158
|
-
set AT91C_CAN_MB0_MDH 0xFFFD0218
|
2159
|
-
set AT91C_CAN_MB0_MMR 0xFFFD0200
|
2160
|
-
# ========== Register definition for CAN_MB1 peripheral ==========
|
2161
|
-
set AT91C_CAN_MB1_MDL 0xFFFD0234
|
2162
|
-
set AT91C_CAN_MB1_MID 0xFFFD0228
|
2163
|
-
set AT91C_CAN_MB1_MMR 0xFFFD0220
|
2164
|
-
set AT91C_CAN_MB1_MSR 0xFFFD0230
|
2165
|
-
set AT91C_CAN_MB1_MAM 0xFFFD0224
|
2166
|
-
set AT91C_CAN_MB1_MDH 0xFFFD0238
|
2167
|
-
set AT91C_CAN_MB1_MCR 0xFFFD023C
|
2168
|
-
set AT91C_CAN_MB1_MFID 0xFFFD022C
|
2169
|
-
# ========== Register definition for CAN_MB2 peripheral ==========
|
2170
|
-
set AT91C_CAN_MB2_MCR 0xFFFD025C
|
2171
|
-
set AT91C_CAN_MB2_MDH 0xFFFD0258
|
2172
|
-
set AT91C_CAN_MB2_MID 0xFFFD0248
|
2173
|
-
set AT91C_CAN_MB2_MDL 0xFFFD0254
|
2174
|
-
set AT91C_CAN_MB2_MMR 0xFFFD0240
|
2175
|
-
set AT91C_CAN_MB2_MAM 0xFFFD0244
|
2176
|
-
set AT91C_CAN_MB2_MFID 0xFFFD024C
|
2177
|
-
set AT91C_CAN_MB2_MSR 0xFFFD0250
|
2178
|
-
# ========== Register definition for CAN_MB3 peripheral ==========
|
2179
|
-
set AT91C_CAN_MB3_MFID 0xFFFD026C
|
2180
|
-
set AT91C_CAN_MB3_MAM 0xFFFD0264
|
2181
|
-
set AT91C_CAN_MB3_MID 0xFFFD0268
|
2182
|
-
set AT91C_CAN_MB3_MCR 0xFFFD027C
|
2183
|
-
set AT91C_CAN_MB3_MMR 0xFFFD0260
|
2184
|
-
set AT91C_CAN_MB3_MSR 0xFFFD0270
|
2185
|
-
set AT91C_CAN_MB3_MDL 0xFFFD0274
|
2186
|
-
set AT91C_CAN_MB3_MDH 0xFFFD0278
|
2187
|
-
# ========== Register definition for CAN_MB4 peripheral ==========
|
2188
|
-
set AT91C_CAN_MB4_MID 0xFFFD0288
|
2189
|
-
set AT91C_CAN_MB4_MMR 0xFFFD0280
|
2190
|
-
set AT91C_CAN_MB4_MDH 0xFFFD0298
|
2191
|
-
set AT91C_CAN_MB4_MFID 0xFFFD028C
|
2192
|
-
set AT91C_CAN_MB4_MSR 0xFFFD0290
|
2193
|
-
set AT91C_CAN_MB4_MCR 0xFFFD029C
|
2194
|
-
set AT91C_CAN_MB4_MDL 0xFFFD0294
|
2195
|
-
set AT91C_CAN_MB4_MAM 0xFFFD0284
|
2196
|
-
# ========== Register definition for CAN_MB5 peripheral ==========
|
2197
|
-
set AT91C_CAN_MB5_MSR 0xFFFD02B0
|
2198
|
-
set AT91C_CAN_MB5_MCR 0xFFFD02BC
|
2199
|
-
set AT91C_CAN_MB5_MFID 0xFFFD02AC
|
2200
|
-
set AT91C_CAN_MB5_MDH 0xFFFD02B8
|
2201
|
-
set AT91C_CAN_MB5_MID 0xFFFD02A8
|
2202
|
-
set AT91C_CAN_MB5_MMR 0xFFFD02A0
|
2203
|
-
set AT91C_CAN_MB5_MDL 0xFFFD02B4
|
2204
|
-
set AT91C_CAN_MB5_MAM 0xFFFD02A4
|
2205
|
-
# ========== Register definition for CAN_MB6 peripheral ==========
|
2206
|
-
set AT91C_CAN_MB6_MFID 0xFFFD02CC
|
2207
|
-
set AT91C_CAN_MB6_MID 0xFFFD02C8
|
2208
|
-
set AT91C_CAN_MB6_MAM 0xFFFD02C4
|
2209
|
-
set AT91C_CAN_MB6_MSR 0xFFFD02D0
|
2210
|
-
set AT91C_CAN_MB6_MDL 0xFFFD02D4
|
2211
|
-
set AT91C_CAN_MB6_MCR 0xFFFD02DC
|
2212
|
-
set AT91C_CAN_MB6_MDH 0xFFFD02D8
|
2213
|
-
set AT91C_CAN_MB6_MMR 0xFFFD02C0
|
2214
|
-
# ========== Register definition for CAN_MB7 peripheral ==========
|
2215
|
-
set AT91C_CAN_MB7_MCR 0xFFFD02FC
|
2216
|
-
set AT91C_CAN_MB7_MDH 0xFFFD02F8
|
2217
|
-
set AT91C_CAN_MB7_MFID 0xFFFD02EC
|
2218
|
-
set AT91C_CAN_MB7_MDL 0xFFFD02F4
|
2219
|
-
set AT91C_CAN_MB7_MID 0xFFFD02E8
|
2220
|
-
set AT91C_CAN_MB7_MMR 0xFFFD02E0
|
2221
|
-
set AT91C_CAN_MB7_MAM 0xFFFD02E4
|
2222
|
-
set AT91C_CAN_MB7_MSR 0xFFFD02F0
|
2223
|
-
# ========== Register definition for CAN peripheral ==========
|
2224
|
-
set AT91C_CAN_TCR 0xFFFD0024
|
2225
|
-
set AT91C_CAN_IMR 0xFFFD000C
|
2226
|
-
set AT91C_CAN_IER 0xFFFD0004
|
2227
|
-
set AT91C_CAN_ECR 0xFFFD0020
|
2228
|
-
set AT91C_CAN_TIMESTP 0xFFFD001C
|
2229
|
-
set AT91C_CAN_MR 0xFFFD0000
|
2230
|
-
set AT91C_CAN_IDR 0xFFFD0008
|
2231
|
-
set AT91C_CAN_ACR 0xFFFD0028
|
2232
|
-
set AT91C_CAN_TIM 0xFFFD0018
|
2233
|
-
set AT91C_CAN_SR 0xFFFD0010
|
2234
|
-
set AT91C_CAN_BR 0xFFFD0014
|
2235
|
-
set AT91C_CAN_VR 0xFFFD00FC
|
2236
|
-
# ========== Register definition for EMAC peripheral ==========
|
2237
|
-
set AT91C_EMAC_ISR 0xFFFDC024
|
2238
|
-
set AT91C_EMAC_SA4H 0xFFFDC0B4
|
2239
|
-
set AT91C_EMAC_SA1L 0xFFFDC098
|
2240
|
-
set AT91C_EMAC_ELE 0xFFFDC078
|
2241
|
-
set AT91C_EMAC_LCOL 0xFFFDC05C
|
2242
|
-
set AT91C_EMAC_RLE 0xFFFDC088
|
2243
|
-
set AT91C_EMAC_WOL 0xFFFDC0C4
|
2244
|
-
set AT91C_EMAC_DTF 0xFFFDC058
|
2245
|
-
set AT91C_EMAC_TUND 0xFFFDC064
|
2246
|
-
set AT91C_EMAC_NCR 0xFFFDC000
|
2247
|
-
set AT91C_EMAC_SA4L 0xFFFDC0B0
|
2248
|
-
set AT91C_EMAC_RSR 0xFFFDC020
|
2249
|
-
set AT91C_EMAC_SA3L 0xFFFDC0A8
|
2250
|
-
set AT91C_EMAC_TSR 0xFFFDC014
|
2251
|
-
set AT91C_EMAC_IDR 0xFFFDC02C
|
2252
|
-
set AT91C_EMAC_RSE 0xFFFDC074
|
2253
|
-
set AT91C_EMAC_ECOL 0xFFFDC060
|
2254
|
-
set AT91C_EMAC_TID 0xFFFDC0B8
|
2255
|
-
set AT91C_EMAC_HRB 0xFFFDC090
|
2256
|
-
set AT91C_EMAC_TBQP 0xFFFDC01C
|
2257
|
-
set AT91C_EMAC_USRIO 0xFFFDC0C0
|
2258
|
-
set AT91C_EMAC_PTR 0xFFFDC038
|
2259
|
-
set AT91C_EMAC_SA2H 0xFFFDC0A4
|
2260
|
-
set AT91C_EMAC_ROV 0xFFFDC070
|
2261
|
-
set AT91C_EMAC_ALE 0xFFFDC054
|
2262
|
-
set AT91C_EMAC_RJA 0xFFFDC07C
|
2263
|
-
set AT91C_EMAC_RBQP 0xFFFDC018
|
2264
|
-
set AT91C_EMAC_TPF 0xFFFDC08C
|
2265
|
-
set AT91C_EMAC_NCFGR 0xFFFDC004
|
2266
|
-
set AT91C_EMAC_HRT 0xFFFDC094
|
2267
|
-
set AT91C_EMAC_USF 0xFFFDC080
|
2268
|
-
set AT91C_EMAC_FCSE 0xFFFDC050
|
2269
|
-
set AT91C_EMAC_TPQ 0xFFFDC0BC
|
2270
|
-
set AT91C_EMAC_MAN 0xFFFDC034
|
2271
|
-
set AT91C_EMAC_FTO 0xFFFDC040
|
2272
|
-
set AT91C_EMAC_REV 0xFFFDC0FC
|
2273
|
-
set AT91C_EMAC_IMR 0xFFFDC030
|
2274
|
-
set AT91C_EMAC_SCF 0xFFFDC044
|
2275
|
-
set AT91C_EMAC_PFR 0xFFFDC03C
|
2276
|
-
set AT91C_EMAC_MCF 0xFFFDC048
|
2277
|
-
set AT91C_EMAC_NSR 0xFFFDC008
|
2278
|
-
set AT91C_EMAC_SA2L 0xFFFDC0A0
|
2279
|
-
set AT91C_EMAC_FRO 0xFFFDC04C
|
2280
|
-
set AT91C_EMAC_IER 0xFFFDC028
|
2281
|
-
set AT91C_EMAC_SA1H 0xFFFDC09C
|
2282
|
-
set AT91C_EMAC_CSE 0xFFFDC068
|
2283
|
-
set AT91C_EMAC_SA3H 0xFFFDC0AC
|
2284
|
-
set AT91C_EMAC_RRE 0xFFFDC06C
|
2285
|
-
set AT91C_EMAC_STE 0xFFFDC084
|
2286
|
-
# ========== Register definition for PDC_ADC peripheral ==========
|
2287
|
-
set AT91C_ADC_PTSR 0xFFFD8124
|
2288
|
-
set AT91C_ADC_PTCR 0xFFFD8120
|
2289
|
-
set AT91C_ADC_TNPR 0xFFFD8118
|
2290
|
-
set AT91C_ADC_TNCR 0xFFFD811C
|
2291
|
-
set AT91C_ADC_RNPR 0xFFFD8110
|
2292
|
-
set AT91C_ADC_RNCR 0xFFFD8114
|
2293
|
-
set AT91C_ADC_RPR 0xFFFD8100
|
2294
|
-
set AT91C_ADC_TCR 0xFFFD810C
|
2295
|
-
set AT91C_ADC_TPR 0xFFFD8108
|
2296
|
-
set AT91C_ADC_RCR 0xFFFD8104
|
2297
|
-
# ========== Register definition for ADC peripheral ==========
|
2298
|
-
set AT91C_ADC_CDR2 0xFFFD8038
|
2299
|
-
set AT91C_ADC_CDR3 0xFFFD803C
|
2300
|
-
set AT91C_ADC_CDR0 0xFFFD8030
|
2301
|
-
set AT91C_ADC_CDR5 0xFFFD8044
|
2302
|
-
set AT91C_ADC_CHDR 0xFFFD8014
|
2303
|
-
set AT91C_ADC_SR 0xFFFD801C
|
2304
|
-
set AT91C_ADC_CDR4 0xFFFD8040
|
2305
|
-
set AT91C_ADC_CDR1 0xFFFD8034
|
2306
|
-
set AT91C_ADC_LCDR 0xFFFD8020
|
2307
|
-
set AT91C_ADC_IDR 0xFFFD8028
|
2308
|
-
set AT91C_ADC_CR 0xFFFD8000
|
2309
|
-
set AT91C_ADC_CDR7 0xFFFD804C
|
2310
|
-
set AT91C_ADC_CDR6 0xFFFD8048
|
2311
|
-
set AT91C_ADC_IER 0xFFFD8024
|
2312
|
-
set AT91C_ADC_CHER 0xFFFD8010
|
2313
|
-
set AT91C_ADC_CHSR 0xFFFD8018
|
2314
|
-
set AT91C_ADC_MR 0xFFFD8004
|
2315
|
-
set AT91C_ADC_IMR 0xFFFD802C
|
2316
|
-
|
2317
|
-
# *****************************************************************************
|
2318
|
-
# BASE ADDRESS DEFINITIONS FOR AT91SAM7X256
|
2319
|
-
# *****************************************************************************
|
2320
|
-
set AT91C_BASE_SYS 0xFFFFF000
|
2321
|
-
set AT91C_BASE_AIC 0xFFFFF000
|
2322
|
-
set AT91C_BASE_PDC_DBGU 0xFFFFF300
|
2323
|
-
set AT91C_BASE_DBGU 0xFFFFF200
|
2324
|
-
set AT91C_BASE_PIOA 0xFFFFF400
|
2325
|
-
set AT91C_BASE_PIOB 0xFFFFF600
|
2326
|
-
set AT91C_BASE_CKGR 0xFFFFFC20
|
2327
|
-
set AT91C_BASE_PMC 0xFFFFFC00
|
2328
|
-
set AT91C_BASE_RSTC 0xFFFFFD00
|
2329
|
-
set AT91C_BASE_RTTC 0xFFFFFD20
|
2330
|
-
set AT91C_BASE_PITC 0xFFFFFD30
|
2331
|
-
set AT91C_BASE_WDTC 0xFFFFFD40
|
2332
|
-
set AT91C_BASE_VREG 0xFFFFFD60
|
2333
|
-
set AT91C_BASE_MC 0xFFFFFF00
|
2334
|
-
set AT91C_BASE_PDC_SPI1 0xFFFE4100
|
2335
|
-
set AT91C_BASE_SPI1 0xFFFE4000
|
2336
|
-
set AT91C_BASE_PDC_SPI0 0xFFFE0100
|
2337
|
-
set AT91C_BASE_SPI0 0xFFFE0000
|
2338
|
-
set AT91C_BASE_PDC_US1 0xFFFC4100
|
2339
|
-
set AT91C_BASE_US1 0xFFFC4000
|
2340
|
-
set AT91C_BASE_PDC_US0 0xFFFC0100
|
2341
|
-
set AT91C_BASE_US0 0xFFFC0000
|
2342
|
-
set AT91C_BASE_PDC_SSC 0xFFFD4100
|
2343
|
-
set AT91C_BASE_SSC 0xFFFD4000
|
2344
|
-
set AT91C_BASE_TWI 0xFFFB8000
|
2345
|
-
set AT91C_BASE_PWMC_CH3 0xFFFCC260
|
2346
|
-
set AT91C_BASE_PWMC_CH2 0xFFFCC240
|
2347
|
-
set AT91C_BASE_PWMC_CH1 0xFFFCC220
|
2348
|
-
set AT91C_BASE_PWMC_CH0 0xFFFCC200
|
2349
|
-
set AT91C_BASE_PWMC 0xFFFCC000
|
2350
|
-
set AT91C_BASE_UDP 0xFFFB0000
|
2351
|
-
set AT91C_BASE_TC0 0xFFFA0000
|
2352
|
-
set AT91C_BASE_TC1 0xFFFA0040
|
2353
|
-
set AT91C_BASE_TC2 0xFFFA0080
|
2354
|
-
set AT91C_BASE_TCB 0xFFFA0000
|
2355
|
-
set AT91C_BASE_CAN_MB0 0xFFFD0200
|
2356
|
-
set AT91C_BASE_CAN_MB1 0xFFFD0220
|
2357
|
-
set AT91C_BASE_CAN_MB2 0xFFFD0240
|
2358
|
-
set AT91C_BASE_CAN_MB3 0xFFFD0260
|
2359
|
-
set AT91C_BASE_CAN_MB4 0xFFFD0280
|
2360
|
-
set AT91C_BASE_CAN_MB5 0xFFFD02A0
|
2361
|
-
set AT91C_BASE_CAN_MB6 0xFFFD02C0
|
2362
|
-
set AT91C_BASE_CAN_MB7 0xFFFD02E0
|
2363
|
-
set AT91C_BASE_CAN 0xFFFD0000
|
2364
|
-
set AT91C_BASE_EMAC 0xFFFDC000
|
2365
|
-
set AT91C_BASE_PDC_ADC 0xFFFD8100
|
2366
|
-
set AT91C_BASE_ADC 0xFFFD8000
|
2367
|
-
|
2368
|
-
# *****************************************************************************
|
2369
|
-
# PERIPHERAL ID DEFINITIONS FOR AT91SAM7X256
|
2370
|
-
# *****************************************************************************
|
2371
|
-
set AT91C_ID_FIQ 0
|
2372
|
-
set AT91C_ID_SYS 1
|
2373
|
-
set AT91C_ID_PIOA 2
|
2374
|
-
set AT91C_ID_PIOB 3
|
2375
|
-
set AT91C_ID_SPI0 4
|
2376
|
-
set AT91C_ID_SPI1 5
|
2377
|
-
set AT91C_ID_US0 6
|
2378
|
-
set AT91C_ID_US1 7
|
2379
|
-
set AT91C_ID_SSC 8
|
2380
|
-
set AT91C_ID_TWI 9
|
2381
|
-
set AT91C_ID_PWMC 10
|
2382
|
-
set AT91C_ID_UDP 11
|
2383
|
-
set AT91C_ID_TC0 12
|
2384
|
-
set AT91C_ID_TC1 13
|
2385
|
-
set AT91C_ID_TC2 14
|
2386
|
-
set AT91C_ID_CAN 15
|
2387
|
-
set AT91C_ID_EMAC 16
|
2388
|
-
set AT91C_ID_ADC 17
|
2389
|
-
set AT91C_ID_18_Reserved 18
|
2390
|
-
set AT91C_ID_19_Reserved 19
|
2391
|
-
set AT91C_ID_20_Reserved 20
|
2392
|
-
set AT91C_ID_21_Reserved 21
|
2393
|
-
set AT91C_ID_22_Reserved 22
|
2394
|
-
set AT91C_ID_23_Reserved 23
|
2395
|
-
set AT91C_ID_24_Reserved 24
|
2396
|
-
set AT91C_ID_25_Reserved 25
|
2397
|
-
set AT91C_ID_26_Reserved 26
|
2398
|
-
set AT91C_ID_27_Reserved 27
|
2399
|
-
set AT91C_ID_28_Reserved 28
|
2400
|
-
set AT91C_ID_29_Reserved 29
|
2401
|
-
set AT91C_ID_IRQ0 30
|
2402
|
-
set AT91C_ID_IRQ1 31
|
2403
|
-
|
2404
|
-
# *****************************************************************************
|
2405
|
-
# PIO DEFINITIONS FOR AT91SAM7X256
|
2406
|
-
# *****************************************************************************
|
2407
|
-
set AT91C_PIO_PA0 [expr 1 << 0 ]
|
2408
|
-
set AT91C_PA0_RXD0 $AT91C_PIO_PA0
|
2409
|
-
set AT91C_PIO_PA1 [expr 1 << 1 ]
|
2410
|
-
set AT91C_PA1_TXD0 $AT91C_PIO_PA1
|
2411
|
-
set AT91C_PIO_PA10 [expr 1 << 10 ]
|
2412
|
-
set AT91C_PA10_TWD $AT91C_PIO_PA10
|
2413
|
-
set AT91C_PIO_PA11 [expr 1 << 11 ]
|
2414
|
-
set AT91C_PA11_TWCK $AT91C_PIO_PA11
|
2415
|
-
set AT91C_PIO_PA12 [expr 1 << 12 ]
|
2416
|
-
set AT91C_PA12_SPI0_NPCS0 $AT91C_PIO_PA12
|
2417
|
-
set AT91C_PIO_PA13 [expr 1 << 13 ]
|
2418
|
-
set AT91C_PA13_SPI0_NPCS1 $AT91C_PIO_PA13
|
2419
|
-
set AT91C_PA13_PCK1 $AT91C_PIO_PA13
|
2420
|
-
set AT91C_PIO_PA14 [expr 1 << 14 ]
|
2421
|
-
set AT91C_PA14_SPI0_NPCS2 $AT91C_PIO_PA14
|
2422
|
-
set AT91C_PA14_IRQ1 $AT91C_PIO_PA14
|
2423
|
-
set AT91C_PIO_PA15 [expr 1 << 15 ]
|
2424
|
-
set AT91C_PA15_SPI0_NPCS3 $AT91C_PIO_PA15
|
2425
|
-
set AT91C_PA15_TCLK2 $AT91C_PIO_PA15
|
2426
|
-
set AT91C_PIO_PA16 [expr 1 << 16 ]
|
2427
|
-
set AT91C_PA16_SPI0_MISO $AT91C_PIO_PA16
|
2428
|
-
set AT91C_PIO_PA17 [expr 1 << 17 ]
|
2429
|
-
set AT91C_PA17_SPI0_MOSI $AT91C_PIO_PA17
|
2430
|
-
set AT91C_PIO_PA18 [expr 1 << 18 ]
|
2431
|
-
set AT91C_PA18_SPI0_SPCK $AT91C_PIO_PA18
|
2432
|
-
set AT91C_PIO_PA19 [expr 1 << 19 ]
|
2433
|
-
set AT91C_PA19_CANRX $AT91C_PIO_PA19
|
2434
|
-
set AT91C_PIO_PA2 [expr 1 << 2 ]
|
2435
|
-
set AT91C_PA2_SCK0 $AT91C_PIO_PA2
|
2436
|
-
set AT91C_PA2_SPI1_NPCS1 $AT91C_PIO_PA2
|
2437
|
-
set AT91C_PIO_PA20 [expr 1 << 20 ]
|
2438
|
-
set AT91C_PA20_CANTX $AT91C_PIO_PA20
|
2439
|
-
set AT91C_PIO_PA21 [expr 1 << 21 ]
|
2440
|
-
set AT91C_PA21_TF $AT91C_PIO_PA21
|
2441
|
-
set AT91C_PA21_SPI1_NPCS0 $AT91C_PIO_PA21
|
2442
|
-
set AT91C_PIO_PA22 [expr 1 << 22 ]
|
2443
|
-
set AT91C_PA22_TK $AT91C_PIO_PA22
|
2444
|
-
set AT91C_PA22_SPI1_SPCK $AT91C_PIO_PA22
|
2445
|
-
set AT91C_PIO_PA23 [expr 1 << 23 ]
|
2446
|
-
set AT91C_PA23_TD $AT91C_PIO_PA23
|
2447
|
-
set AT91C_PA23_SPI1_MOSI $AT91C_PIO_PA23
|
2448
|
-
set AT91C_PIO_PA24 [expr 1 << 24 ]
|
2449
|
-
set AT91C_PA24_RD $AT91C_PIO_PA24
|
2450
|
-
set AT91C_PA24_SPI1_MISO $AT91C_PIO_PA24
|
2451
|
-
set AT91C_PIO_PA25 [expr 1 << 25 ]
|
2452
|
-
set AT91C_PA25_RK $AT91C_PIO_PA25
|
2453
|
-
set AT91C_PA25_SPI1_NPCS1 $AT91C_PIO_PA25
|
2454
|
-
set AT91C_PIO_PA26 [expr 1 << 26 ]
|
2455
|
-
set AT91C_PA26_RF $AT91C_PIO_PA26
|
2456
|
-
set AT91C_PA26_SPI1_NPCS2 $AT91C_PIO_PA26
|
2457
|
-
set AT91C_PIO_PA27 [expr 1 << 27 ]
|
2458
|
-
set AT91C_PA27_DRXD $AT91C_PIO_PA27
|
2459
|
-
set AT91C_PA27_PCK3 $AT91C_PIO_PA27
|
2460
|
-
set AT91C_PIO_PA28 [expr 1 << 28 ]
|
2461
|
-
set AT91C_PA28_DTXD $AT91C_PIO_PA28
|
2462
|
-
set AT91C_PIO_PA29 [expr 1 << 29 ]
|
2463
|
-
set AT91C_PA29_FIQ $AT91C_PIO_PA29
|
2464
|
-
set AT91C_PA29_SPI1_NPCS3 $AT91C_PIO_PA29
|
2465
|
-
set AT91C_PIO_PA3 [expr 1 << 3 ]
|
2466
|
-
set AT91C_PA3_RTS0 $AT91C_PIO_PA3
|
2467
|
-
set AT91C_PA3_SPI1_NPCS2 $AT91C_PIO_PA3
|
2468
|
-
set AT91C_PIO_PA30 [expr 1 << 30 ]
|
2469
|
-
set AT91C_PA30_IRQ0 $AT91C_PIO_PA30
|
2470
|
-
set AT91C_PA30_PCK2 $AT91C_PIO_PA30
|
2471
|
-
set AT91C_PIO_PA4 [expr 1 << 4 ]
|
2472
|
-
set AT91C_PA4_CTS0 $AT91C_PIO_PA4
|
2473
|
-
set AT91C_PA4_SPI1_NPCS3 $AT91C_PIO_PA4
|
2474
|
-
set AT91C_PIO_PA5 [expr 1 << 5 ]
|
2475
|
-
set AT91C_PA5_RXD1 $AT91C_PIO_PA5
|
2476
|
-
set AT91C_PIO_PA6 [expr 1 << 6 ]
|
2477
|
-
set AT91C_PA6_TXD1 $AT91C_PIO_PA6
|
2478
|
-
set AT91C_PIO_PA7 [expr 1 << 7 ]
|
2479
|
-
set AT91C_PA7_SCK1 $AT91C_PIO_PA7
|
2480
|
-
set AT91C_PA7_SPI0_NPCS1 $AT91C_PIO_PA7
|
2481
|
-
set AT91C_PIO_PA8 [expr 1 << 8 ]
|
2482
|
-
set AT91C_PA8_RTS1 $AT91C_PIO_PA8
|
2483
|
-
set AT91C_PA8_SPI0_NPCS2 $AT91C_PIO_PA8
|
2484
|
-
set AT91C_PIO_PA9 [expr 1 << 9 ]
|
2485
|
-
set AT91C_PA9_CTS1 $AT91C_PIO_PA9
|
2486
|
-
set AT91C_PA9_SPI0_NPCS3 $AT91C_PIO_PA9
|
2487
|
-
set AT91C_PIO_PB0 [expr 1 << 0 ]
|
2488
|
-
set AT91C_PB0_ETXCK_EREFCK $AT91C_PIO_PB0
|
2489
|
-
set AT91C_PB0_PCK0 $AT91C_PIO_PB0
|
2490
|
-
set AT91C_PIO_PB1 [expr 1 << 1 ]
|
2491
|
-
set AT91C_PB1_ETXEN $AT91C_PIO_PB1
|
2492
|
-
set AT91C_PIO_PB10 [expr 1 << 10 ]
|
2493
|
-
set AT91C_PB10_ETX2 $AT91C_PIO_PB10
|
2494
|
-
set AT91C_PB10_SPI1_NPCS1 $AT91C_PIO_PB10
|
2495
|
-
set AT91C_PIO_PB11 [expr 1 << 11 ]
|
2496
|
-
set AT91C_PB11_ETX3 $AT91C_PIO_PB11
|
2497
|
-
set AT91C_PB11_SPI1_NPCS2 $AT91C_PIO_PB11
|
2498
|
-
set AT91C_PIO_PB12 [expr 1 << 12 ]
|
2499
|
-
set AT91C_PB12_ETXER $AT91C_PIO_PB12
|
2500
|
-
set AT91C_PB12_TCLK0 $AT91C_PIO_PB12
|
2501
|
-
set AT91C_PIO_PB13 [expr 1 << 13 ]
|
2502
|
-
set AT91C_PB13_ERX2 $AT91C_PIO_PB13
|
2503
|
-
set AT91C_PB13_SPI0_NPCS1 $AT91C_PIO_PB13
|
2504
|
-
set AT91C_PIO_PB14 [expr 1 << 14 ]
|
2505
|
-
set AT91C_PB14_ERX3 $AT91C_PIO_PB14
|
2506
|
-
set AT91C_PB14_SPI0_NPCS2 $AT91C_PIO_PB14
|
2507
|
-
set AT91C_PIO_PB15 [expr 1 << 15 ]
|
2508
|
-
set AT91C_PB15_ERXDV_ECRSDV $AT91C_PIO_PB15
|
2509
|
-
set AT91C_PIO_PB16 [expr 1 << 16 ]
|
2510
|
-
set AT91C_PB16_ECOL $AT91C_PIO_PB16
|
2511
|
-
set AT91C_PB16_SPI1_NPCS3 $AT91C_PIO_PB16
|
2512
|
-
set AT91C_PIO_PB17 [expr 1 << 17 ]
|
2513
|
-
set AT91C_PB17_ERXCK $AT91C_PIO_PB17
|
2514
|
-
set AT91C_PB17_SPI0_NPCS3 $AT91C_PIO_PB17
|
2515
|
-
set AT91C_PIO_PB18 [expr 1 << 18 ]
|
2516
|
-
set AT91C_PB18_EF100 $AT91C_PIO_PB18
|
2517
|
-
set AT91C_PB18_ADTRG $AT91C_PIO_PB18
|
2518
|
-
set AT91C_PIO_PB19 [expr 1 << 19 ]
|
2519
|
-
set AT91C_PB19_PWM0 $AT91C_PIO_PB19
|
2520
|
-
set AT91C_PB19_TCLK1 $AT91C_PIO_PB19
|
2521
|
-
set AT91C_PIO_PB2 [expr 1 << 2 ]
|
2522
|
-
set AT91C_PB2_ETX0 $AT91C_PIO_PB2
|
2523
|
-
set AT91C_PIO_PB20 [expr 1 << 20 ]
|
2524
|
-
set AT91C_PB20_PWM1 $AT91C_PIO_PB20
|
2525
|
-
set AT91C_PB20_PCK0 $AT91C_PIO_PB20
|
2526
|
-
set AT91C_PIO_PB21 [expr 1 << 21 ]
|
2527
|
-
set AT91C_PB21_PWM2 $AT91C_PIO_PB21
|
2528
|
-
set AT91C_PB21_PCK1 $AT91C_PIO_PB21
|
2529
|
-
set AT91C_PIO_PB22 [expr 1 << 22 ]
|
2530
|
-
set AT91C_PB22_PWM3 $AT91C_PIO_PB22
|
2531
|
-
set AT91C_PB22_PCK2 $AT91C_PIO_PB22
|
2532
|
-
set AT91C_PIO_PB23 [expr 1 << 23 ]
|
2533
|
-
set AT91C_PB23_TIOA0 $AT91C_PIO_PB23
|
2534
|
-
set AT91C_PB23_DCD1 $AT91C_PIO_PB23
|
2535
|
-
set AT91C_PIO_PB24 [expr 1 << 24 ]
|
2536
|
-
set AT91C_PB24_TIOB0 $AT91C_PIO_PB24
|
2537
|
-
set AT91C_PB24_DSR1 $AT91C_PIO_PB24
|
2538
|
-
set AT91C_PIO_PB25 [expr 1 << 25 ]
|
2539
|
-
set AT91C_PB25_TIOA1 $AT91C_PIO_PB25
|
2540
|
-
set AT91C_PB25_DTR1 $AT91C_PIO_PB25
|
2541
|
-
set AT91C_PIO_PB26 [expr 1 << 26 ]
|
2542
|
-
set AT91C_PB26_TIOB1 $AT91C_PIO_PB26
|
2543
|
-
set AT91C_PB26_RI1 $AT91C_PIO_PB26
|
2544
|
-
set AT91C_PIO_PB27 [expr 1 << 27 ]
|
2545
|
-
set AT91C_PB27_TIOA2 $AT91C_PIO_PB27
|
2546
|
-
set AT91C_PB27_PWM0 $AT91C_PIO_PB27
|
2547
|
-
set AT91C_PIO_PB28 [expr 1 << 28 ]
|
2548
|
-
set AT91C_PB28_TIOB2 $AT91C_PIO_PB28
|
2549
|
-
set AT91C_PB28_PWM1 $AT91C_PIO_PB28
|
2550
|
-
set AT91C_PIO_PB29 [expr 1 << 29 ]
|
2551
|
-
set AT91C_PB29_PCK1 $AT91C_PIO_PB29
|
2552
|
-
set AT91C_PB29_PWM2 $AT91C_PIO_PB29
|
2553
|
-
set AT91C_PIO_PB3 [expr 1 << 3 ]
|
2554
|
-
set AT91C_PB3_ETX1 $AT91C_PIO_PB3
|
2555
|
-
set AT91C_PIO_PB30 [expr 1 << 30 ]
|
2556
|
-
set AT91C_PB30_PCK2 $AT91C_PIO_PB30
|
2557
|
-
set AT91C_PB30_PWM3 $AT91C_PIO_PB30
|
2558
|
-
set AT91C_PIO_PB4 [expr 1 << 4 ]
|
2559
|
-
set AT91C_PB4_ECRS $AT91C_PIO_PB4
|
2560
|
-
set AT91C_PIO_PB5 [expr 1 << 5 ]
|
2561
|
-
set AT91C_PB5_ERX0 $AT91C_PIO_PB5
|
2562
|
-
set AT91C_PIO_PB6 [expr 1 << 6 ]
|
2563
|
-
set AT91C_PB6_ERX1 $AT91C_PIO_PB6
|
2564
|
-
set AT91C_PIO_PB7 [expr 1 << 7 ]
|
2565
|
-
set AT91C_PB7_ERXER $AT91C_PIO_PB7
|
2566
|
-
set AT91C_PIO_PB8 [expr 1 << 8 ]
|
2567
|
-
set AT91C_PB8_EMDC $AT91C_PIO_PB8
|
2568
|
-
set AT91C_PIO_PB9 [expr 1 << 9 ]
|
2569
|
-
set AT91C_PB9_EMDIO $AT91C_PIO_PB9
|
2570
|
-
|
2571
|
-
# *****************************************************************************
|
2572
|
-
# MEMORY MAPPING DEFINITIONS FOR AT91SAM7X256
|
2573
|
-
# *****************************************************************************
|
2574
|
-
set AT91C_ISRAM 0x00200000
|
2575
|
-
set AT91C_ISRAM_SIZE 0x00010000
|
2576
|
-
set AT91C_IFLASH 0x00100000
|
2577
|
-
set AT91C_IFLASH_SIZE 0x00040000
|
2578
|
-
|
2579
|
-
|
2580
|
-
# *****************************************************************************
|
2581
|
-
# ATTRIBUTES DEFINITIONS FOR AT91SAM7X256
|
2582
|
-
# *****************************************************************************
|
2583
|
-
array set AT91SAM7X256_att {
|
2584
|
-
DBGU { LP DBGU_att }
|
2585
|
-
PMC { LP PMC_att }
|
2586
|
-
VREG { LP VREG_att }
|
2587
|
-
RSTC { LP RSTC_att }
|
2588
|
-
SSC { LP SSC_att }
|
2589
|
-
WDTC { LP WDTC_att }
|
2590
|
-
USART { LP US1_att US0_att }
|
2591
|
-
SPI { LP SPI1_att SPI0_att }
|
2592
|
-
PITC { LP PITC_att }
|
2593
|
-
TCB { LP TCB_att }
|
2594
|
-
CKGR { LP CKGR_att }
|
2595
|
-
AIC { LP AIC_att }
|
2596
|
-
TWI { LP TWI_att }
|
2597
|
-
ADC { LP ADC_att }
|
2598
|
-
PWMC_CH { LP PWMC_CH3_att PWMC_CH2_att PWMC_CH1_att PWMC_CH0_att }
|
2599
|
-
RTTC { LP RTTC_att }
|
2600
|
-
UDP { LP UDP_att }
|
2601
|
-
EMAC { LP EMAC_att }
|
2602
|
-
CAN_MB { LP CAN_MB0_att CAN_MB1_att CAN_MB2_att CAN_MB3_att CAN_MB4_att CAN_MB5_att CAN_MB6_att CAN_MB7_att }
|
2603
|
-
TC { LP TC0_att TC1_att TC2_att }
|
2604
|
-
SYS { LP SYS_att }
|
2605
|
-
MC { LP MC_att }
|
2606
|
-
PIO { LP PIOA_att PIOB_att }
|
2607
|
-
CAN { LP CAN_att }
|
2608
|
-
PWMC { LP PWMC_att }
|
2609
|
-
PDC { LP PDC_DBGU_att PDC_SPI1_att PDC_SPI0_att PDC_US1_att PDC_US0_att PDC_SSC_att PDC_ADC_att }
|
2610
|
-
|
2611
|
-
}
|
2612
|
-
# ========== Peripheral attributes for DBGU peripheral ==========
|
2613
|
-
array set DBGU_att {
|
2614
|
-
EXID { R AT91C_DBGU_EXID RO }
|
2615
|
-
BRGR { R AT91C_DBGU_BRGR RW }
|
2616
|
-
IDR { R AT91C_DBGU_IDR WO }
|
2617
|
-
CSR { R AT91C_DBGU_CSR RO }
|
2618
|
-
CIDR { R AT91C_DBGU_CIDR RO }
|
2619
|
-
MR { R AT91C_DBGU_MR RW }
|
2620
|
-
IMR { R AT91C_DBGU_IMR RO }
|
2621
|
-
CR { R AT91C_DBGU_CR WO }
|
2622
|
-
FNTR { R AT91C_DBGU_FNTR RW }
|
2623
|
-
THR { R AT91C_DBGU_THR WO }
|
2624
|
-
RHR { R AT91C_DBGU_RHR RO }
|
2625
|
-
IER { R AT91C_DBGU_IER WO }
|
2626
|
-
listeReg { EXID BRGR IDR CSR CIDR MR IMR CR FNTR THR RHR IER }
|
2627
|
-
|
2628
|
-
}
|
2629
|
-
|
2630
|
-
# ========== Peripheral attributes for PMC peripheral ==========
|
2631
|
-
array set PMC_att {
|
2632
|
-
IDR { R AT91C_PMC_IDR WO }
|
2633
|
-
MOR { R AT91C_PMC_MOR RW }
|
2634
|
-
PLLR { R AT91C_PMC_PLLR RW }
|
2635
|
-
PCER { R AT91C_PMC_PCER WO }
|
2636
|
-
PCKR { R AT91C_PMC_PCKR RW }
|
2637
|
-
MCKR { R AT91C_PMC_MCKR RW }
|
2638
|
-
SCDR { R AT91C_PMC_SCDR WO }
|
2639
|
-
PCDR { R AT91C_PMC_PCDR WO }
|
2640
|
-
SCSR { R AT91C_PMC_SCSR RO }
|
2641
|
-
PCSR { R AT91C_PMC_PCSR RO }
|
2642
|
-
MCFR { R AT91C_PMC_MCFR RO }
|
2643
|
-
SCER { R AT91C_PMC_SCER WO }
|
2644
|
-
IMR { R AT91C_PMC_IMR RO }
|
2645
|
-
IER { R AT91C_PMC_IER WO }
|
2646
|
-
SR { R AT91C_PMC_SR RO }
|
2647
|
-
listeReg { IDR MOR PLLR PCER PCKR MCKR SCDR PCDR SCSR PCSR MCFR SCER IMR IER SR }
|
2648
|
-
|
2649
|
-
}
|
2650
|
-
|
2651
|
-
# ========== Peripheral attributes for VREG peripheral ==========
|
2652
|
-
array set VREG_att {
|
2653
|
-
MR { R AT91C_VREG_MR RW }
|
2654
|
-
listeReg { MR }
|
2655
|
-
|
2656
|
-
}
|
2657
|
-
|
2658
|
-
# ========== Peripheral attributes for RSTC peripheral ==========
|
2659
|
-
array set RSTC_att {
|
2660
|
-
RCR { R AT91C_RSTC_RCR WO }
|
2661
|
-
RMR { R AT91C_RSTC_RMR RW }
|
2662
|
-
RSR { R AT91C_RSTC_RSR RO }
|
2663
|
-
listeReg { RCR RMR RSR }
|
2664
|
-
|
2665
|
-
}
|
2666
|
-
|
2667
|
-
# ========== Peripheral attributes for SSC peripheral ==========
|
2668
|
-
array set SSC_att {
|
2669
|
-
RHR { R AT91C_SSC_RHR RO }
|
2670
|
-
RSHR { R AT91C_SSC_RSHR RO }
|
2671
|
-
TFMR { R AT91C_SSC_TFMR RW }
|
2672
|
-
IDR { R AT91C_SSC_IDR WO }
|
2673
|
-
THR { R AT91C_SSC_THR WO }
|
2674
|
-
RCMR { R AT91C_SSC_RCMR RW }
|
2675
|
-
IER { R AT91C_SSC_IER WO }
|
2676
|
-
TSHR { R AT91C_SSC_TSHR RW }
|
2677
|
-
SR { R AT91C_SSC_SR RO }
|
2678
|
-
CMR { R AT91C_SSC_CMR RW }
|
2679
|
-
TCMR { R AT91C_SSC_TCMR RW }
|
2680
|
-
CR { R AT91C_SSC_CR WO }
|
2681
|
-
IMR { R AT91C_SSC_IMR RO }
|
2682
|
-
RFMR { R AT91C_SSC_RFMR RW }
|
2683
|
-
listeReg { RHR RSHR TFMR IDR THR RCMR IER TSHR SR CMR TCMR CR IMR RFMR }
|
2684
|
-
|
2685
|
-
}
|
2686
|
-
|
2687
|
-
# ========== Peripheral attributes for WDTC peripheral ==========
|
2688
|
-
array set WDTC_att {
|
2689
|
-
WDCR { R AT91C_WDTC_WDCR WO }
|
2690
|
-
WDSR { R AT91C_WDTC_WDSR RO }
|
2691
|
-
WDMR { R AT91C_WDTC_WDMR RW }
|
2692
|
-
listeReg { WDCR WDSR WDMR }
|
2693
|
-
|
2694
|
-
}
|
2695
|
-
|
2696
|
-
# ========== Peripheral attributes for USART peripheral ==========
|
2697
|
-
array set US1_att {
|
2698
|
-
IF { R AT91C_US1_IF RW }
|
2699
|
-
NER { R AT91C_US1_NER RO }
|
2700
|
-
RTOR { R AT91C_US1_RTOR RW }
|
2701
|
-
CSR { R AT91C_US1_CSR RO }
|
2702
|
-
IDR { R AT91C_US1_IDR WO }
|
2703
|
-
IER { R AT91C_US1_IER WO }
|
2704
|
-
THR { R AT91C_US1_THR WO }
|
2705
|
-
TTGR { R AT91C_US1_TTGR RW }
|
2706
|
-
RHR { R AT91C_US1_RHR RO }
|
2707
|
-
BRGR { R AT91C_US1_BRGR RW }
|
2708
|
-
IMR { R AT91C_US1_IMR RO }
|
2709
|
-
FIDI { R AT91C_US1_FIDI RW }
|
2710
|
-
CR { R AT91C_US1_CR WO }
|
2711
|
-
MR { R AT91C_US1_MR RW }
|
2712
|
-
listeReg { IF NER RTOR CSR IDR IER THR TTGR RHR BRGR IMR FIDI CR MR }
|
2713
|
-
|
2714
|
-
}
|
2715
|
-
array set US0_att {
|
2716
|
-
BRGR { R AT91C_US0_BRGR RW }
|
2717
|
-
NER { R AT91C_US0_NER RO }
|
2718
|
-
CR { R AT91C_US0_CR WO }
|
2719
|
-
IMR { R AT91C_US0_IMR RO }
|
2720
|
-
FIDI { R AT91C_US0_FIDI RW }
|
2721
|
-
TTGR { R AT91C_US0_TTGR RW }
|
2722
|
-
MR { R AT91C_US0_MR RW }
|
2723
|
-
RTOR { R AT91C_US0_RTOR RW }
|
2724
|
-
CSR { R AT91C_US0_CSR RO }
|
2725
|
-
RHR { R AT91C_US0_RHR RO }
|
2726
|
-
IDR { R AT91C_US0_IDR WO }
|
2727
|
-
THR { R AT91C_US0_THR WO }
|
2728
|
-
IF { R AT91C_US0_IF RW }
|
2729
|
-
IER { R AT91C_US0_IER WO }
|
2730
|
-
listeReg { BRGR NER CR IMR FIDI TTGR MR RTOR CSR RHR IDR THR IF IER }
|
2731
|
-
|
2732
|
-
}
|
2733
|
-
|
2734
|
-
# ========== Peripheral attributes for SPI peripheral ==========
|
2735
|
-
array set SPI1_att {
|
2736
|
-
IMR { R AT91C_SPI1_IMR RO }
|
2737
|
-
IER { R AT91C_SPI1_IER WO }
|
2738
|
-
MR { R AT91C_SPI1_MR RW }
|
2739
|
-
RDR { R AT91C_SPI1_RDR RO }
|
2740
|
-
IDR { R AT91C_SPI1_IDR WO }
|
2741
|
-
SR { R AT91C_SPI1_SR RO }
|
2742
|
-
TDR { R AT91C_SPI1_TDR WO }
|
2743
|
-
CR { R AT91C_SPI1_CR RO }
|
2744
|
-
CSR { R AT91C_SPI1_CSR RW }
|
2745
|
-
listeReg { IMR IER MR RDR IDR SR TDR CR CSR }
|
2746
|
-
|
2747
|
-
}
|
2748
|
-
array set SPI0_att {
|
2749
|
-
IER { R AT91C_SPI0_IER WO }
|
2750
|
-
SR { R AT91C_SPI0_SR RO }
|
2751
|
-
IDR { R AT91C_SPI0_IDR WO }
|
2752
|
-
CR { R AT91C_SPI0_CR RO }
|
2753
|
-
MR { R AT91C_SPI0_MR RW }
|
2754
|
-
IMR { R AT91C_SPI0_IMR RO }
|
2755
|
-
TDR { R AT91C_SPI0_TDR WO }
|
2756
|
-
RDR { R AT91C_SPI0_RDR RO }
|
2757
|
-
CSR { R AT91C_SPI0_CSR RW }
|
2758
|
-
listeReg { IER SR IDR CR MR IMR TDR RDR CSR }
|
2759
|
-
|
2760
|
-
}
|
2761
|
-
|
2762
|
-
# ========== Peripheral attributes for PITC peripheral ==========
|
2763
|
-
array set PITC_att {
|
2764
|
-
PIVR { R AT91C_PITC_PIVR RO }
|
2765
|
-
PISR { R AT91C_PITC_PISR RO }
|
2766
|
-
PIIR { R AT91C_PITC_PIIR RO }
|
2767
|
-
PIMR { R AT91C_PITC_PIMR RW }
|
2768
|
-
listeReg { PIVR PISR PIIR PIMR }
|
2769
|
-
|
2770
|
-
}
|
2771
|
-
|
2772
|
-
# ========== Peripheral attributes for TCB peripheral ==========
|
2773
|
-
array set TCB_att {
|
2774
|
-
BMR { R AT91C_TCB_BMR RW }
|
2775
|
-
BCR { R AT91C_TCB_BCR WO }
|
2776
|
-
listeReg { BMR BCR }
|
2777
|
-
|
2778
|
-
}
|
2779
|
-
|
2780
|
-
# ========== Peripheral attributes for CKGR peripheral ==========
|
2781
|
-
array set CKGR_att {
|
2782
|
-
MOR { R AT91C_CKGR_MOR RW }
|
2783
|
-
PLLR { R AT91C_CKGR_PLLR RW }
|
2784
|
-
MCFR { R AT91C_CKGR_MCFR RO }
|
2785
|
-
listeReg { MOR PLLR MCFR }
|
2786
|
-
|
2787
|
-
}
|
2788
|
-
|
2789
|
-
# ========== Peripheral attributes for AIC peripheral ==========
|
2790
|
-
array set AIC_att {
|
2791
|
-
IVR { R AT91C_AIC_IVR RO }
|
2792
|
-
SMR { R AT91C_AIC_SMR RW }
|
2793
|
-
FVR { R AT91C_AIC_FVR RO }
|
2794
|
-
DCR { R AT91C_AIC_DCR RW }
|
2795
|
-
EOICR { R AT91C_AIC_EOICR WO }
|
2796
|
-
SVR { R AT91C_AIC_SVR RW }
|
2797
|
-
FFSR { R AT91C_AIC_FFSR RO }
|
2798
|
-
ICCR { R AT91C_AIC_ICCR WO }
|
2799
|
-
ISR { R AT91C_AIC_ISR RO }
|
2800
|
-
IMR { R AT91C_AIC_IMR RO }
|
2801
|
-
IPR { R AT91C_AIC_IPR RO }
|
2802
|
-
FFER { R AT91C_AIC_FFER WO }
|
2803
|
-
IECR { R AT91C_AIC_IECR WO }
|
2804
|
-
ISCR { R AT91C_AIC_ISCR WO }
|
2805
|
-
FFDR { R AT91C_AIC_FFDR WO }
|
2806
|
-
CISR { R AT91C_AIC_CISR RO }
|
2807
|
-
IDCR { R AT91C_AIC_IDCR WO }
|
2808
|
-
SPU { R AT91C_AIC_SPU RW }
|
2809
|
-
listeReg { IVR SMR FVR DCR EOICR SVR FFSR ICCR ISR IMR IPR FFER IECR ISCR FFDR CISR IDCR SPU }
|
2810
|
-
|
2811
|
-
}
|
2812
|
-
|
2813
|
-
# ========== Peripheral attributes for TWI peripheral ==========
|
2814
|
-
array set TWI_att {
|
2815
|
-
IER { R AT91C_TWI_IER WO }
|
2816
|
-
CR { R AT91C_TWI_CR WO }
|
2817
|
-
SR { R AT91C_TWI_SR RO }
|
2818
|
-
IMR { R AT91C_TWI_IMR RO }
|
2819
|
-
THR { R AT91C_TWI_THR WO }
|
2820
|
-
IDR { R AT91C_TWI_IDR WO }
|
2821
|
-
IADR { R AT91C_TWI_IADR RW }
|
2822
|
-
MMR { R AT91C_TWI_MMR RW }
|
2823
|
-
CWGR { R AT91C_TWI_CWGR RW }
|
2824
|
-
RHR { R AT91C_TWI_RHR RO }
|
2825
|
-
listeReg { IER CR SR IMR THR IDR IADR MMR CWGR RHR }
|
2826
|
-
|
2827
|
-
}
|
2828
|
-
|
2829
|
-
# ========== Peripheral attributes for ADC peripheral ==========
|
2830
|
-
array set ADC_att {
|
2831
|
-
CDR2 { R AT91C_ADC_CDR2 RO }
|
2832
|
-
CDR3 { R AT91C_ADC_CDR3 RO }
|
2833
|
-
CDR0 { R AT91C_ADC_CDR0 RO }
|
2834
|
-
CDR5 { R AT91C_ADC_CDR5 RO }
|
2835
|
-
CHDR { R AT91C_ADC_CHDR WO }
|
2836
|
-
SR { R AT91C_ADC_SR RO }
|
2837
|
-
CDR4 { R AT91C_ADC_CDR4 RO }
|
2838
|
-
CDR1 { R AT91C_ADC_CDR1 RO }
|
2839
|
-
LCDR { R AT91C_ADC_LCDR RO }
|
2840
|
-
IDR { R AT91C_ADC_IDR WO }
|
2841
|
-
CR { R AT91C_ADC_CR WO }
|
2842
|
-
CDR7 { R AT91C_ADC_CDR7 RO }
|
2843
|
-
CDR6 { R AT91C_ADC_CDR6 RO }
|
2844
|
-
IER { R AT91C_ADC_IER WO }
|
2845
|
-
CHER { R AT91C_ADC_CHER WO }
|
2846
|
-
CHSR { R AT91C_ADC_CHSR RO }
|
2847
|
-
MR { R AT91C_ADC_MR RW }
|
2848
|
-
IMR { R AT91C_ADC_IMR RO }
|
2849
|
-
listeReg { CDR2 CDR3 CDR0 CDR5 CHDR SR CDR4 CDR1 LCDR IDR CR CDR7 CDR6 IER CHER CHSR MR IMR }
|
2850
|
-
|
2851
|
-
}
|
2852
|
-
|
2853
|
-
# ========== Peripheral attributes for PWMC_CH peripheral ==========
|
2854
|
-
array set PWMC_CH3_att {
|
2855
|
-
CUPDR { R AT91C_PWMC_CH3_CUPDR WO }
|
2856
|
-
Reserved { R AT91C_PWMC_CH3_Reserved WO }
|
2857
|
-
CPRDR { R AT91C_PWMC_CH3_CPRDR RW }
|
2858
|
-
CDTYR { R AT91C_PWMC_CH3_CDTYR RW }
|
2859
|
-
CCNTR { R AT91C_PWMC_CH3_CCNTR RO }
|
2860
|
-
CMR { R AT91C_PWMC_CH3_CMR RW }
|
2861
|
-
listeReg { CUPDR Reserved CPRDR CDTYR CCNTR CMR }
|
2862
|
-
|
2863
|
-
}
|
2864
|
-
array set PWMC_CH2_att {
|
2865
|
-
Reserved { R AT91C_PWMC_CH2_Reserved WO }
|
2866
|
-
CMR { R AT91C_PWMC_CH2_CMR RW }
|
2867
|
-
CCNTR { R AT91C_PWMC_CH2_CCNTR RO }
|
2868
|
-
CPRDR { R AT91C_PWMC_CH2_CPRDR RW }
|
2869
|
-
CUPDR { R AT91C_PWMC_CH2_CUPDR WO }
|
2870
|
-
CDTYR { R AT91C_PWMC_CH2_CDTYR RW }
|
2871
|
-
listeReg { Reserved CMR CCNTR CPRDR CUPDR CDTYR }
|
2872
|
-
|
2873
|
-
}
|
2874
|
-
array set PWMC_CH1_att {
|
2875
|
-
Reserved { R AT91C_PWMC_CH1_Reserved WO }
|
2876
|
-
CUPDR { R AT91C_PWMC_CH1_CUPDR WO }
|
2877
|
-
CPRDR { R AT91C_PWMC_CH1_CPRDR RW }
|
2878
|
-
CCNTR { R AT91C_PWMC_CH1_CCNTR RO }
|
2879
|
-
CDTYR { R AT91C_PWMC_CH1_CDTYR RW }
|
2880
|
-
CMR { R AT91C_PWMC_CH1_CMR RW }
|
2881
|
-
listeReg { Reserved CUPDR CPRDR CCNTR CDTYR CMR }
|
2882
|
-
|
2883
|
-
}
|
2884
|
-
array set PWMC_CH0_att {
|
2885
|
-
Reserved { R AT91C_PWMC_CH0_Reserved WO }
|
2886
|
-
CPRDR { R AT91C_PWMC_CH0_CPRDR RW }
|
2887
|
-
CDTYR { R AT91C_PWMC_CH0_CDTYR RW }
|
2888
|
-
CMR { R AT91C_PWMC_CH0_CMR RW }
|
2889
|
-
CUPDR { R AT91C_PWMC_CH0_CUPDR WO }
|
2890
|
-
CCNTR { R AT91C_PWMC_CH0_CCNTR RO }
|
2891
|
-
listeReg { Reserved CPRDR CDTYR CMR CUPDR CCNTR }
|
2892
|
-
|
2893
|
-
}
|
2894
|
-
|
2895
|
-
# ========== Peripheral attributes for RTTC peripheral ==========
|
2896
|
-
array set RTTC_att {
|
2897
|
-
RTSR { R AT91C_RTTC_RTSR RO }
|
2898
|
-
RTMR { R AT91C_RTTC_RTMR RW }
|
2899
|
-
RTVR { R AT91C_RTTC_RTVR RO }
|
2900
|
-
RTAR { R AT91C_RTTC_RTAR RW }
|
2901
|
-
listeReg { RTSR RTMR RTVR RTAR }
|
2902
|
-
|
2903
|
-
}
|
2904
|
-
|
2905
|
-
# ========== Peripheral attributes for UDP peripheral ==========
|
2906
|
-
array set UDP_att {
|
2907
|
-
IMR { R AT91C_UDP_IMR RO }
|
2908
|
-
FADDR { R AT91C_UDP_FADDR RW }
|
2909
|
-
NUM { R AT91C_UDP_NUM RO }
|
2910
|
-
FDR { R AT91C_UDP_FDR RW }
|
2911
|
-
ISR { R AT91C_UDP_ISR RO }
|
2912
|
-
CSR { R AT91C_UDP_CSR RW }
|
2913
|
-
IDR { R AT91C_UDP_IDR WO }
|
2914
|
-
ICR { R AT91C_UDP_ICR RO }
|
2915
|
-
RSTEP { R AT91C_UDP_RSTEP RO }
|
2916
|
-
TXVC { R AT91C_UDP_TXVC RW }
|
2917
|
-
GLBSTATE { R AT91C_UDP_GLBSTATE RW }
|
2918
|
-
IER { R AT91C_UDP_IER WO }
|
2919
|
-
listeReg { IMR FADDR NUM FDR ISR CSR IDR ICR RSTEP TXVC GLBSTATE IER }
|
2920
|
-
|
2921
|
-
}
|
2922
|
-
|
2923
|
-
# ========== Peripheral attributes for EMAC peripheral ==========
|
2924
|
-
array set EMAC_att {
|
2925
|
-
ISR { R AT91C_EMAC_ISR RW }
|
2926
|
-
SA4H { R AT91C_EMAC_SA4H RW }
|
2927
|
-
SA1L { R AT91C_EMAC_SA1L RW }
|
2928
|
-
ELE { R AT91C_EMAC_ELE RW }
|
2929
|
-
LCOL { R AT91C_EMAC_LCOL RW }
|
2930
|
-
RLE { R AT91C_EMAC_RLE RW }
|
2931
|
-
WOL { R AT91C_EMAC_WOL RW }
|
2932
|
-
DTF { R AT91C_EMAC_DTF RW }
|
2933
|
-
TUND { R AT91C_EMAC_TUND RW }
|
2934
|
-
NCR { R AT91C_EMAC_NCR RW }
|
2935
|
-
SA4L { R AT91C_EMAC_SA4L RW }
|
2936
|
-
RSR { R AT91C_EMAC_RSR RW }
|
2937
|
-
SA3L { R AT91C_EMAC_SA3L RW }
|
2938
|
-
TSR { R AT91C_EMAC_TSR RW }
|
2939
|
-
IDR { R AT91C_EMAC_IDR WO }
|
2940
|
-
RSE { R AT91C_EMAC_RSE RW }
|
2941
|
-
ECOL { R AT91C_EMAC_ECOL RW }
|
2942
|
-
TID { R AT91C_EMAC_TID RW }
|
2943
|
-
HRB { R AT91C_EMAC_HRB RW }
|
2944
|
-
TBQP { R AT91C_EMAC_TBQP RW }
|
2945
|
-
USRIO { R AT91C_EMAC_USRIO RW }
|
2946
|
-
PTR { R AT91C_EMAC_PTR RW }
|
2947
|
-
SA2H { R AT91C_EMAC_SA2H RW }
|
2948
|
-
ROV { R AT91C_EMAC_ROV RW }
|
2949
|
-
ALE { R AT91C_EMAC_ALE RW }
|
2950
|
-
RJA { R AT91C_EMAC_RJA RW }
|
2951
|
-
RBQP { R AT91C_EMAC_RBQP RW }
|
2952
|
-
TPF { R AT91C_EMAC_TPF RW }
|
2953
|
-
NCFGR { R AT91C_EMAC_NCFGR RW }
|
2954
|
-
HRT { R AT91C_EMAC_HRT RW }
|
2955
|
-
USF { R AT91C_EMAC_USF RW }
|
2956
|
-
FCSE { R AT91C_EMAC_FCSE RW }
|
2957
|
-
TPQ { R AT91C_EMAC_TPQ RW }
|
2958
|
-
MAN { R AT91C_EMAC_MAN RW }
|
2959
|
-
FTO { R AT91C_EMAC_FTO RW }
|
2960
|
-
REV { R AT91C_EMAC_REV RO }
|
2961
|
-
IMR { R AT91C_EMAC_IMR RO }
|
2962
|
-
SCF { R AT91C_EMAC_SCF RW }
|
2963
|
-
PFR { R AT91C_EMAC_PFR RW }
|
2964
|
-
MCF { R AT91C_EMAC_MCF RW }
|
2965
|
-
NSR { R AT91C_EMAC_NSR RO }
|
2966
|
-
SA2L { R AT91C_EMAC_SA2L RW }
|
2967
|
-
FRO { R AT91C_EMAC_FRO RW }
|
2968
|
-
IER { R AT91C_EMAC_IER WO }
|
2969
|
-
SA1H { R AT91C_EMAC_SA1H RW }
|
2970
|
-
CSE { R AT91C_EMAC_CSE RW }
|
2971
|
-
SA3H { R AT91C_EMAC_SA3H RW }
|
2972
|
-
RRE { R AT91C_EMAC_RRE RW }
|
2973
|
-
STE { R AT91C_EMAC_STE RW }
|
2974
|
-
listeReg { ISR SA4H SA1L ELE LCOL RLE WOL DTF TUND NCR SA4L RSR SA3L TSR IDR RSE ECOL TID HRB TBQP USRIO PTR SA2H ROV ALE RJA RBQP TPF NCFGR HRT USF FCSE TPQ MAN FTO REV IMR SCF PFR MCF NSR SA2L FRO IER SA1H CSE SA3H RRE STE }
|
2975
|
-
|
2976
|
-
}
|
2977
|
-
|
2978
|
-
# ========== Peripheral attributes for CAN_MB peripheral ==========
|
2979
|
-
array set CAN_MB0_att {
|
2980
|
-
MDL { R AT91C_CAN_MB0_MDL RW }
|
2981
|
-
MAM { R AT91C_CAN_MB0_MAM RW }
|
2982
|
-
MCR { R AT91C_CAN_MB0_MCR WO }
|
2983
|
-
MID { R AT91C_CAN_MB0_MID RW }
|
2984
|
-
MSR { R AT91C_CAN_MB0_MSR RO }
|
2985
|
-
MFID { R AT91C_CAN_MB0_MFID RO }
|
2986
|
-
MDH { R AT91C_CAN_MB0_MDH RW }
|
2987
|
-
MMR { R AT91C_CAN_MB0_MMR RW }
|
2988
|
-
listeReg { MDL MAM MCR MID MSR MFID MDH MMR }
|
2989
|
-
|
2990
|
-
}
|
2991
|
-
array set CAN_MB1_att {
|
2992
|
-
MDL { R AT91C_CAN_MB1_MDL RW }
|
2993
|
-
MID { R AT91C_CAN_MB1_MID RW }
|
2994
|
-
MMR { R AT91C_CAN_MB1_MMR RW }
|
2995
|
-
MSR { R AT91C_CAN_MB1_MSR RO }
|
2996
|
-
MAM { R AT91C_CAN_MB1_MAM RW }
|
2997
|
-
MDH { R AT91C_CAN_MB1_MDH RW }
|
2998
|
-
MCR { R AT91C_CAN_MB1_MCR WO }
|
2999
|
-
MFID { R AT91C_CAN_MB1_MFID RO }
|
3000
|
-
listeReg { MDL MID MMR MSR MAM MDH MCR MFID }
|
3001
|
-
|
3002
|
-
}
|
3003
|
-
array set CAN_MB2_att {
|
3004
|
-
MCR { R AT91C_CAN_MB2_MCR WO }
|
3005
|
-
MDH { R AT91C_CAN_MB2_MDH RW }
|
3006
|
-
MID { R AT91C_CAN_MB2_MID RW }
|
3007
|
-
MDL { R AT91C_CAN_MB2_MDL RW }
|
3008
|
-
MMR { R AT91C_CAN_MB2_MMR RW }
|
3009
|
-
MAM { R AT91C_CAN_MB2_MAM RW }
|
3010
|
-
MFID { R AT91C_CAN_MB2_MFID RO }
|
3011
|
-
MSR { R AT91C_CAN_MB2_MSR RO }
|
3012
|
-
listeReg { MCR MDH MID MDL MMR MAM MFID MSR }
|
3013
|
-
|
3014
|
-
}
|
3015
|
-
array set CAN_MB3_att {
|
3016
|
-
MFID { R AT91C_CAN_MB3_MFID RO }
|
3017
|
-
MAM { R AT91C_CAN_MB3_MAM RW }
|
3018
|
-
MID { R AT91C_CAN_MB3_MID RW }
|
3019
|
-
MCR { R AT91C_CAN_MB3_MCR WO }
|
3020
|
-
MMR { R AT91C_CAN_MB3_MMR RW }
|
3021
|
-
MSR { R AT91C_CAN_MB3_MSR RO }
|
3022
|
-
MDL { R AT91C_CAN_MB3_MDL RW }
|
3023
|
-
MDH { R AT91C_CAN_MB3_MDH RW }
|
3024
|
-
listeReg { MFID MAM MID MCR MMR MSR MDL MDH }
|
3025
|
-
|
3026
|
-
}
|
3027
|
-
array set CAN_MB4_att {
|
3028
|
-
MID { R AT91C_CAN_MB4_MID RW }
|
3029
|
-
MMR { R AT91C_CAN_MB4_MMR RW }
|
3030
|
-
MDH { R AT91C_CAN_MB4_MDH RW }
|
3031
|
-
MFID { R AT91C_CAN_MB4_MFID RO }
|
3032
|
-
MSR { R AT91C_CAN_MB4_MSR RO }
|
3033
|
-
MCR { R AT91C_CAN_MB4_MCR WO }
|
3034
|
-
MDL { R AT91C_CAN_MB4_MDL RW }
|
3035
|
-
MAM { R AT91C_CAN_MB4_MAM RW }
|
3036
|
-
listeReg { MID MMR MDH MFID MSR MCR MDL MAM }
|
3037
|
-
|
3038
|
-
}
|
3039
|
-
array set CAN_MB5_att {
|
3040
|
-
MSR { R AT91C_CAN_MB5_MSR RO }
|
3041
|
-
MCR { R AT91C_CAN_MB5_MCR WO }
|
3042
|
-
MFID { R AT91C_CAN_MB5_MFID RO }
|
3043
|
-
MDH { R AT91C_CAN_MB5_MDH RW }
|
3044
|
-
MID { R AT91C_CAN_MB5_MID RW }
|
3045
|
-
MMR { R AT91C_CAN_MB5_MMR RW }
|
3046
|
-
MDL { R AT91C_CAN_MB5_MDL RW }
|
3047
|
-
MAM { R AT91C_CAN_MB5_MAM RW }
|
3048
|
-
listeReg { MSR MCR MFID MDH MID MMR MDL MAM }
|
3049
|
-
|
3050
|
-
}
|
3051
|
-
array set CAN_MB6_att {
|
3052
|
-
MFID { R AT91C_CAN_MB6_MFID RO }
|
3053
|
-
MID { R AT91C_CAN_MB6_MID RW }
|
3054
|
-
MAM { R AT91C_CAN_MB6_MAM RW }
|
3055
|
-
MSR { R AT91C_CAN_MB6_MSR RO }
|
3056
|
-
MDL { R AT91C_CAN_MB6_MDL RW }
|
3057
|
-
MCR { R AT91C_CAN_MB6_MCR WO }
|
3058
|
-
MDH { R AT91C_CAN_MB6_MDH RW }
|
3059
|
-
MMR { R AT91C_CAN_MB6_MMR RW }
|
3060
|
-
listeReg { MFID MID MAM MSR MDL MCR MDH MMR }
|
3061
|
-
|
3062
|
-
}
|
3063
|
-
array set CAN_MB7_att {
|
3064
|
-
MCR { R AT91C_CAN_MB7_MCR WO }
|
3065
|
-
MDH { R AT91C_CAN_MB7_MDH RW }
|
3066
|
-
MFID { R AT91C_CAN_MB7_MFID RO }
|
3067
|
-
MDL { R AT91C_CAN_MB7_MDL RW }
|
3068
|
-
MID { R AT91C_CAN_MB7_MID RW }
|
3069
|
-
MMR { R AT91C_CAN_MB7_MMR RW }
|
3070
|
-
MAM { R AT91C_CAN_MB7_MAM RW }
|
3071
|
-
MSR { R AT91C_CAN_MB7_MSR RO }
|
3072
|
-
listeReg { MCR MDH MFID MDL MID MMR MAM MSR }
|
3073
|
-
|
3074
|
-
}
|
3075
|
-
|
3076
|
-
# ========== Peripheral attributes for TC peripheral ==========
|
3077
|
-
array set TC0_att {
|
3078
|
-
SR { R AT91C_TC0_SR RO }
|
3079
|
-
RC { R AT91C_TC0_RC RW }
|
3080
|
-
RB { R AT91C_TC0_RB RW }
|
3081
|
-
CCR { R AT91C_TC0_CCR WO }
|
3082
|
-
CMR { R AT91C_TC0_CMR RW }
|
3083
|
-
IER { R AT91C_TC0_IER WO }
|
3084
|
-
RA { R AT91C_TC0_RA RW }
|
3085
|
-
IDR { R AT91C_TC0_IDR WO }
|
3086
|
-
CV { R AT91C_TC0_CV RW }
|
3087
|
-
IMR { R AT91C_TC0_IMR RO }
|
3088
|
-
listeReg { SR RC RB CCR CMR IER RA IDR CV IMR }
|
3089
|
-
|
3090
|
-
}
|
3091
|
-
array set TC1_att {
|
3092
|
-
RB { R AT91C_TC1_RB RW }
|
3093
|
-
CCR { R AT91C_TC1_CCR WO }
|
3094
|
-
IER { R AT91C_TC1_IER WO }
|
3095
|
-
IDR { R AT91C_TC1_IDR WO }
|
3096
|
-
SR { R AT91C_TC1_SR RO }
|
3097
|
-
CMR { R AT91C_TC1_CMR RW }
|
3098
|
-
RA { R AT91C_TC1_RA RW }
|
3099
|
-
RC { R AT91C_TC1_RC RW }
|
3100
|
-
IMR { R AT91C_TC1_IMR RO }
|
3101
|
-
CV { R AT91C_TC1_CV RW }
|
3102
|
-
listeReg { RB CCR IER IDR SR CMR RA RC IMR CV }
|
3103
|
-
|
3104
|
-
}
|
3105
|
-
array set TC2_att {
|
3106
|
-
CMR { R AT91C_TC2_CMR RW }
|
3107
|
-
CCR { R AT91C_TC2_CCR WO }
|
3108
|
-
CV { R AT91C_TC2_CV RW }
|
3109
|
-
RA { R AT91C_TC2_RA RW }
|
3110
|
-
RB { R AT91C_TC2_RB RW }
|
3111
|
-
IDR { R AT91C_TC2_IDR WO }
|
3112
|
-
IMR { R AT91C_TC2_IMR RO }
|
3113
|
-
RC { R AT91C_TC2_RC RW }
|
3114
|
-
IER { R AT91C_TC2_IER WO }
|
3115
|
-
SR { R AT91C_TC2_SR RO }
|
3116
|
-
listeReg { CMR CCR CV RA RB IDR IMR RC IER SR }
|
3117
|
-
|
3118
|
-
}
|
3119
|
-
|
3120
|
-
# ========== Peripheral attributes for SYS peripheral ==========
|
3121
|
-
array set SYS_att {
|
3122
|
-
listeReg { }
|
3123
|
-
|
3124
|
-
}
|
3125
|
-
|
3126
|
-
# ========== Peripheral attributes for MC peripheral ==========
|
3127
|
-
array set MC_att {
|
3128
|
-
ASR { R AT91C_MC_ASR RO }
|
3129
|
-
RCR { R AT91C_MC_RCR WO }
|
3130
|
-
FCR { R AT91C_MC_FCR WO }
|
3131
|
-
AASR { R AT91C_MC_AASR RO }
|
3132
|
-
FSR { R AT91C_MC_FSR RO }
|
3133
|
-
FMR { R AT91C_MC_FMR RW }
|
3134
|
-
listeReg { ASR RCR FCR AASR FSR FMR }
|
3135
|
-
|
3136
|
-
}
|
3137
|
-
|
3138
|
-
# ========== Peripheral attributes for PIO peripheral ==========
|
3139
|
-
array set PIOA_att {
|
3140
|
-
ODR { R AT91C_PIOA_ODR WO }
|
3141
|
-
SODR { R AT91C_PIOA_SODR WO }
|
3142
|
-
ISR { R AT91C_PIOA_ISR RO }
|
3143
|
-
ABSR { R AT91C_PIOA_ABSR RO }
|
3144
|
-
IER { R AT91C_PIOA_IER WO }
|
3145
|
-
PPUDR { R AT91C_PIOA_PPUDR WO }
|
3146
|
-
IMR { R AT91C_PIOA_IMR RO }
|
3147
|
-
PER { R AT91C_PIOA_PER WO }
|
3148
|
-
IFDR { R AT91C_PIOA_IFDR WO }
|
3149
|
-
OWDR { R AT91C_PIOA_OWDR WO }
|
3150
|
-
MDSR { R AT91C_PIOA_MDSR RO }
|
3151
|
-
IDR { R AT91C_PIOA_IDR WO }
|
3152
|
-
ODSR { R AT91C_PIOA_ODSR RO }
|
3153
|
-
PPUSR { R AT91C_PIOA_PPUSR RO }
|
3154
|
-
OWSR { R AT91C_PIOA_OWSR RO }
|
3155
|
-
BSR { R AT91C_PIOA_BSR WO }
|
3156
|
-
OWER { R AT91C_PIOA_OWER WO }
|
3157
|
-
IFER { R AT91C_PIOA_IFER WO }
|
3158
|
-
PDSR { R AT91C_PIOA_PDSR RO }
|
3159
|
-
PPUER { R AT91C_PIOA_PPUER WO }
|
3160
|
-
OSR { R AT91C_PIOA_OSR RO }
|
3161
|
-
ASR { R AT91C_PIOA_ASR WO }
|
3162
|
-
MDDR { R AT91C_PIOA_MDDR WO }
|
3163
|
-
CODR { R AT91C_PIOA_CODR WO }
|
3164
|
-
MDER { R AT91C_PIOA_MDER WO }
|
3165
|
-
PDR { R AT91C_PIOA_PDR WO }
|
3166
|
-
IFSR { R AT91C_PIOA_IFSR RO }
|
3167
|
-
OER { R AT91C_PIOA_OER WO }
|
3168
|
-
PSR { R AT91C_PIOA_PSR RO }
|
3169
|
-
listeReg { ODR SODR ISR ABSR IER PPUDR IMR PER IFDR OWDR MDSR IDR ODSR PPUSR OWSR BSR OWER IFER PDSR PPUER OSR ASR MDDR CODR MDER PDR IFSR OER PSR }
|
3170
|
-
|
3171
|
-
}
|
3172
|
-
array set PIOB_att {
|
3173
|
-
OWDR { R AT91C_PIOB_OWDR WO }
|
3174
|
-
MDER { R AT91C_PIOB_MDER WO }
|
3175
|
-
PPUSR { R AT91C_PIOB_PPUSR RO }
|
3176
|
-
IMR { R AT91C_PIOB_IMR RO }
|
3177
|
-
ASR { R AT91C_PIOB_ASR WO }
|
3178
|
-
PPUDR { R AT91C_PIOB_PPUDR WO }
|
3179
|
-
PSR { R AT91C_PIOB_PSR RO }
|
3180
|
-
IER { R AT91C_PIOB_IER WO }
|
3181
|
-
CODR { R AT91C_PIOB_CODR WO }
|
3182
|
-
OWER { R AT91C_PIOB_OWER WO }
|
3183
|
-
ABSR { R AT91C_PIOB_ABSR RO }
|
3184
|
-
IFDR { R AT91C_PIOB_IFDR WO }
|
3185
|
-
PDSR { R AT91C_PIOB_PDSR RO }
|
3186
|
-
IDR { R AT91C_PIOB_IDR WO }
|
3187
|
-
OWSR { R AT91C_PIOB_OWSR RO }
|
3188
|
-
PDR { R AT91C_PIOB_PDR WO }
|
3189
|
-
ODR { R AT91C_PIOB_ODR WO }
|
3190
|
-
IFSR { R AT91C_PIOB_IFSR RO }
|
3191
|
-
PPUER { R AT91C_PIOB_PPUER WO }
|
3192
|
-
SODR { R AT91C_PIOB_SODR WO }
|
3193
|
-
ISR { R AT91C_PIOB_ISR RO }
|
3194
|
-
ODSR { R AT91C_PIOB_ODSR RO }
|
3195
|
-
OSR { R AT91C_PIOB_OSR RO }
|
3196
|
-
MDSR { R AT91C_PIOB_MDSR RO }
|
3197
|
-
IFER { R AT91C_PIOB_IFER WO }
|
3198
|
-
BSR { R AT91C_PIOB_BSR WO }
|
3199
|
-
MDDR { R AT91C_PIOB_MDDR WO }
|
3200
|
-
OER { R AT91C_PIOB_OER WO }
|
3201
|
-
PER { R AT91C_PIOB_PER WO }
|
3202
|
-
listeReg { OWDR MDER PPUSR IMR ASR PPUDR PSR IER CODR OWER ABSR IFDR PDSR IDR OWSR PDR ODR IFSR PPUER SODR ISR ODSR OSR MDSR IFER BSR MDDR OER PER }
|
3203
|
-
|
3204
|
-
}
|
3205
|
-
|
3206
|
-
# ========== Peripheral attributes for CAN peripheral ==========
|
3207
|
-
array set CAN_att {
|
3208
|
-
TCR { R AT91C_CAN_TCR WO }
|
3209
|
-
IMR { R AT91C_CAN_IMR RO }
|
3210
|
-
IER { R AT91C_CAN_IER WO }
|
3211
|
-
ECR { R AT91C_CAN_ECR RO }
|
3212
|
-
TIMESTP { R AT91C_CAN_TIMESTP RO }
|
3213
|
-
MR { R AT91C_CAN_MR RW }
|
3214
|
-
IDR { R AT91C_CAN_IDR WO }
|
3215
|
-
ACR { R AT91C_CAN_ACR WO }
|
3216
|
-
TIM { R AT91C_CAN_TIM RO }
|
3217
|
-
SR { R AT91C_CAN_SR RO }
|
3218
|
-
BR { R AT91C_CAN_BR RW }
|
3219
|
-
VR { R AT91C_CAN_VR RO }
|
3220
|
-
listeReg { TCR IMR IER ECR TIMESTP MR IDR ACR TIM SR BR VR }
|
3221
|
-
|
3222
|
-
}
|
3223
|
-
|
3224
|
-
# ========== Peripheral attributes for PWMC peripheral ==========
|
3225
|
-
array set PWMC_att {
|
3226
|
-
IDR { R AT91C_PWMC_IDR WO }
|
3227
|
-
DIS { R AT91C_PWMC_DIS WO }
|
3228
|
-
IER { R AT91C_PWMC_IER WO }
|
3229
|
-
VR { R AT91C_PWMC_VR RO }
|
3230
|
-
ISR { R AT91C_PWMC_ISR RO }
|
3231
|
-
SR { R AT91C_PWMC_SR RO }
|
3232
|
-
IMR { R AT91C_PWMC_IMR RO }
|
3233
|
-
MR { R AT91C_PWMC_MR RW }
|
3234
|
-
ENA { R AT91C_PWMC_ENA WO }
|
3235
|
-
listeReg { IDR DIS IER VR ISR SR IMR MR ENA }
|
3236
|
-
|
3237
|
-
}
|
3238
|
-
|
3239
|
-
# ========== Peripheral attributes for PDC peripheral ==========
|
3240
|
-
array set PDC_DBGU_att {
|
3241
|
-
TCR { R AT91C_DBGU_TCR RW }
|
3242
|
-
RNPR { R AT91C_DBGU_RNPR RW }
|
3243
|
-
TNPR { R AT91C_DBGU_TNPR RW }
|
3244
|
-
TPR { R AT91C_DBGU_TPR RW }
|
3245
|
-
RPR { R AT91C_DBGU_RPR RW }
|
3246
|
-
RCR { R AT91C_DBGU_RCR RW }
|
3247
|
-
RNCR { R AT91C_DBGU_RNCR RW }
|
3248
|
-
PTCR { R AT91C_DBGU_PTCR WO }
|
3249
|
-
PTSR { R AT91C_DBGU_PTSR RO }
|
3250
|
-
TNCR { R AT91C_DBGU_TNCR RW }
|
3251
|
-
listeReg { TCR RNPR TNPR TPR RPR RCR RNCR PTCR PTSR TNCR }
|
3252
|
-
|
3253
|
-
}
|
3254
|
-
array set PDC_SPI1_att {
|
3255
|
-
PTCR { R AT91C_SPI1_PTCR WO }
|
3256
|
-
RPR { R AT91C_SPI1_RPR RW }
|
3257
|
-
TNCR { R AT91C_SPI1_TNCR RW }
|
3258
|
-
TPR { R AT91C_SPI1_TPR RW }
|
3259
|
-
TNPR { R AT91C_SPI1_TNPR RW }
|
3260
|
-
TCR { R AT91C_SPI1_TCR RW }
|
3261
|
-
RCR { R AT91C_SPI1_RCR RW }
|
3262
|
-
RNPR { R AT91C_SPI1_RNPR RW }
|
3263
|
-
RNCR { R AT91C_SPI1_RNCR RW }
|
3264
|
-
PTSR { R AT91C_SPI1_PTSR RO }
|
3265
|
-
listeReg { PTCR RPR TNCR TPR TNPR TCR RCR RNPR RNCR PTSR }
|
3266
|
-
|
3267
|
-
}
|
3268
|
-
array set PDC_SPI0_att {
|
3269
|
-
PTCR { R AT91C_SPI0_PTCR WO }
|
3270
|
-
TPR { R AT91C_SPI0_TPR RW }
|
3271
|
-
TCR { R AT91C_SPI0_TCR RW }
|
3272
|
-
RCR { R AT91C_SPI0_RCR RW }
|
3273
|
-
PTSR { R AT91C_SPI0_PTSR RO }
|
3274
|
-
RNPR { R AT91C_SPI0_RNPR RW }
|
3275
|
-
RPR { R AT91C_SPI0_RPR RW }
|
3276
|
-
TNCR { R AT91C_SPI0_TNCR RW }
|
3277
|
-
RNCR { R AT91C_SPI0_RNCR RW }
|
3278
|
-
TNPR { R AT91C_SPI0_TNPR RW }
|
3279
|
-
listeReg { PTCR TPR TCR RCR PTSR RNPR RPR TNCR RNCR TNPR }
|
3280
|
-
|
3281
|
-
}
|
3282
|
-
array set PDC_US1_att {
|
3283
|
-
RNCR { R AT91C_US1_RNCR RW }
|
3284
|
-
PTCR { R AT91C_US1_PTCR WO }
|
3285
|
-
TCR { R AT91C_US1_TCR RW }
|
3286
|
-
PTSR { R AT91C_US1_PTSR RO }
|
3287
|
-
TNPR { R AT91C_US1_TNPR RW }
|
3288
|
-
RCR { R AT91C_US1_RCR RW }
|
3289
|
-
RNPR { R AT91C_US1_RNPR RW }
|
3290
|
-
RPR { R AT91C_US1_RPR RW }
|
3291
|
-
TNCR { R AT91C_US1_TNCR RW }
|
3292
|
-
TPR { R AT91C_US1_TPR RW }
|
3293
|
-
listeReg { RNCR PTCR TCR PTSR TNPR RCR RNPR RPR TNCR TPR }
|
3294
|
-
|
3295
|
-
}
|
3296
|
-
array set PDC_US0_att {
|
3297
|
-
TNPR { R AT91C_US0_TNPR RW }
|
3298
|
-
RNPR { R AT91C_US0_RNPR RW }
|
3299
|
-
TCR { R AT91C_US0_TCR RW }
|
3300
|
-
PTCR { R AT91C_US0_PTCR WO }
|
3301
|
-
PTSR { R AT91C_US0_PTSR RO }
|
3302
|
-
TNCR { R AT91C_US0_TNCR RW }
|
3303
|
-
TPR { R AT91C_US0_TPR RW }
|
3304
|
-
RCR { R AT91C_US0_RCR RW }
|
3305
|
-
RPR { R AT91C_US0_RPR RW }
|
3306
|
-
RNCR { R AT91C_US0_RNCR RW }
|
3307
|
-
listeReg { TNPR RNPR TCR PTCR PTSR TNCR TPR RCR RPR RNCR }
|
3308
|
-
|
3309
|
-
}
|
3310
|
-
array set PDC_SSC_att {
|
3311
|
-
TNCR { R AT91C_SSC_TNCR RW }
|
3312
|
-
RPR { R AT91C_SSC_RPR RW }
|
3313
|
-
RNCR { R AT91C_SSC_RNCR RW }
|
3314
|
-
TPR { R AT91C_SSC_TPR RW }
|
3315
|
-
PTCR { R AT91C_SSC_PTCR WO }
|
3316
|
-
TCR { R AT91C_SSC_TCR RW }
|
3317
|
-
RCR { R AT91C_SSC_RCR RW }
|
3318
|
-
RNPR { R AT91C_SSC_RNPR RW }
|
3319
|
-
TNPR { R AT91C_SSC_TNPR RW }
|
3320
|
-
PTSR { R AT91C_SSC_PTSR RO }
|
3321
|
-
listeReg { TNCR RPR RNCR TPR PTCR TCR RCR RNPR TNPR PTSR }
|
3322
|
-
|
3323
|
-
}
|
3324
|
-
array set PDC_ADC_att {
|
3325
|
-
PTSR { R AT91C_ADC_PTSR RO }
|
3326
|
-
PTCR { R AT91C_ADC_PTCR WO }
|
3327
|
-
TNPR { R AT91C_ADC_TNPR RW }
|
3328
|
-
TNCR { R AT91C_ADC_TNCR RW }
|
3329
|
-
RNPR { R AT91C_ADC_RNPR RW }
|
3330
|
-
RNCR { R AT91C_ADC_RNCR RW }
|
3331
|
-
RPR { R AT91C_ADC_RPR RW }
|
3332
|
-
TCR { R AT91C_ADC_TCR RW }
|
3333
|
-
TPR { R AT91C_ADC_TPR RW }
|
3334
|
-
RCR { R AT91C_ADC_RCR RW }
|
3335
|
-
listeReg { PTSR PTCR TNPR TNCR RNPR RNCR RPR TCR TPR RCR }
|
3336
|
-
|
3337
|
-
}
|
3338
|
-
|
3339
|
-
# ========== PIO information ==========
|
3340
|
-
|
3341
|
-
array set def_PIOA_att {
|
3342
|
-
PA0 { RXD0 }
|
3343
|
-
PA1 { TXD0 }
|
3344
|
-
PA10 { TWD }
|
3345
|
-
PA11 { TWCK }
|
3346
|
-
PA12 { SPI0_NPCS0 }
|
3347
|
-
PA13 { SPI0_NPCS1 PCK1 }
|
3348
|
-
PA14 { SPI0_NPCS2 IRQ1 }
|
3349
|
-
PA15 { SPI0_NPCS3 TCLK2 }
|
3350
|
-
PA16 { SPI0_MISO }
|
3351
|
-
PA17 { SPI0_MOSI }
|
3352
|
-
PA18 { SPI0_SPCK }
|
3353
|
-
PA19 { CANRX }
|
3354
|
-
PA2 { SCK0 SPI1_NPCS1 }
|
3355
|
-
PA20 { CANTX }
|
3356
|
-
PA21 { TF SPI1_NPCS0 }
|
3357
|
-
PA22 { TK SPI1_SPCK }
|
3358
|
-
PA23 { TD SPI1_MOSI }
|
3359
|
-
PA24 { RD SPI1_MISO }
|
3360
|
-
PA25 { RK SPI1_NPCS1 }
|
3361
|
-
PA26 { RF SPI1_NPCS2 }
|
3362
|
-
PA27 { DRXD PCK3 }
|
3363
|
-
PA28 { DTXD }
|
3364
|
-
PA29 { FIQ SPI1_NPCS3 }
|
3365
|
-
PA3 { RTS0 SPI1_NPCS2 }
|
3366
|
-
PA30 { IRQ0 PCK2 }
|
3367
|
-
PA4 { CTS0 SPI1_NPCS3 }
|
3368
|
-
PA5 { RXD1 }
|
3369
|
-
PA6 { TXD1 }
|
3370
|
-
PA7 { SCK1 SPI0_NPCS1 }
|
3371
|
-
PA8 { RTS1 SPI0_NPCS2 }
|
3372
|
-
PA9 { CTS1 SPI0_NPCS3 }
|
3373
|
-
}
|
3374
|
-
|
3375
|
-
array set def_PIOB_att {
|
3376
|
-
PB0 { ETXCK_EREFCK PCK0 }
|
3377
|
-
PB1 { ETXEN }
|
3378
|
-
PB10 { ETX2 SPI1_NPCS1 }
|
3379
|
-
PB11 { ETX3 SPI1_NPCS2 }
|
3380
|
-
PB12 { ETXER TCLK0 }
|
3381
|
-
PB13 { ERX2 SPI0_NPCS1 }
|
3382
|
-
PB14 { ERX3 SPI0_NPCS2 }
|
3383
|
-
PB15 { ERXDV_ECRSDV }
|
3384
|
-
PB16 { ECOL SPI1_NPCS3 }
|
3385
|
-
PB17 { ERXCK SPI0_NPCS3 }
|
3386
|
-
PB18 { EF100 ADTRG }
|
3387
|
-
PB19 { PWM0 TCLK1 }
|
3388
|
-
PB2 { ETX0 }
|
3389
|
-
PB20 { PWM1 PCK0 }
|
3390
|
-
PB21 { PWM2 PCK1 }
|
3391
|
-
PB22 { PWM3 PCK2 }
|
3392
|
-
PB23 { TIOA0 DCD1 }
|
3393
|
-
PB24 { TIOB0 DSR1 }
|
3394
|
-
PB25 { TIOA1 DTR1 }
|
3395
|
-
PB26 { TIOB1 RI1 }
|
3396
|
-
PB27 { TIOA2 PWM0 }
|
3397
|
-
PB28 { TIOB2 PWM1 }
|
3398
|
-
PB29 { PCK1 PWM2 }
|
3399
|
-
PB3 { ETX1 }
|
3400
|
-
PB30 { PCK2 PWM3 }
|
3401
|
-
PB4 { ECRS }
|
3402
|
-
PB5 { ERX0 }
|
3403
|
-
PB6 { ERX1 }
|
3404
|
-
PB7 { ERXER }
|
3405
|
-
PB8 { EMDC }
|
3406
|
-
PB9 { EMDIO }
|
3407
|
-
}
|