소스 검색

测量通道5电压

div1
QQyyblithe 2 년 전
부모
커밋
a7ae607018
6개의 변경된 파일255개의 추가작업 그리고 250개의 파일을 삭제
  1. +8
    -6
      IAR/settings/test01.dbgdt
  2. +1
    -1
      IAR/settings/test01.dnx
  3. +3
    -3
      IAR/settings/test01.wsdt
  4. +230
    -230
      IAR/test01.dep
  5. +4
    -2
      user/adc_Interrupt.c
  6. +9
    -8
      user/uart_Interrupt.c

+ 8
- 6
IAR/settings/test01.dbgdt
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 1
- 1
IAR/settings/test01.dnx 파일 보기

@@ -35,7 +35,7 @@
<LeaveTargetRunning>_ 0</LeaveTargetRunning>
</JLinkDriver>
<DebugChecksum>
<Checksum>1849806380</Checksum>
<Checksum>844210990</Checksum>
</DebugChecksum>
<Exceptions>
<StopOnUncaught>_ 0</StopOnUncaught>


+ 3
- 3
IAR/settings/test01.wsdt
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 230
- 230
IAR/test01.dep 파일 보기

@@ -5,207 +5,188 @@
<configuration>
<name>Debug</name>
<outputs>
<file>$PROJ_DIR$\..\drivers\fsl_pit.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_port.h</file>
<file>$PROJ_DIR$\..\user\pin_Init.c</file>
<file>$PROJ_DIR$\..\user\pit.c</file>
<file>$PROJ_DIR$\..\user\main.c</file>
<file>$PROJ_DIR$\..\user\pit.h</file>
<file>$PROJ_DIR$\..\user\adc_Interrupt.c</file>
<file>$PROJ_DIR$\..\user\delay.c</file>
<file>$PROJ_DIR$\..\user\main.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_adc16.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_gpio.c</file>
<file>$PROJ_DIR$\..\startup\startup_MKV56F24.s</file>
<file>$PROJ_DIR$\..\startup\MKV56F24.h</file>
<file>$PROJ_DIR$\..\startup\system_MKV56F24.c</file>
<file>$PROJ_DIR$\..\user\adc_Interrupt.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_clock.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_uart.c</file>
<file>$PROJ_DIR$\..\startup\system_MKV56F24.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_pit.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_port.h</file>
<file>$PROJ_DIR$\..\drivers\fsl_common.c</file>
<file>$PROJ_DIR$\..\drivers\fsl_adc16.c</file>
<file>$PROJ_DIR$\..\startup\MKV56F24.h</file>
<file>$PROJ_DIR$\..\user\delay.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_str.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\main.o</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
<file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.c</file>
<file>$PROJ_DIR$\Debug\Obj\uart_adapter.o</file>
<file>$PROJ_DIR$\..\utilities\fsl_assert.c</file>
<file>$PROJ_DIR$\..\utilities\serial_manager.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_str.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_gpio.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_adc16.xcl</file>
<file>$TOOLKIT_DIR$\inc\c\stdbool.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_uart.__cstat.et</file>
<file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_uart.xcl</file>
<file>$PROJ_DIR$\..\drivers\fsl_gpio.h</file>
<file>$PROJ_DIR$\Debug\List\test01.map</file>
<file>$PROJ_DIR$\..\utilities\serial_port_uart.c</file>
<file>$TOOLKIT_DIR$\inc\c\stdarg.h</file>
<file>$PROJ_DIR$\Debug\Obj\serial_port_uart.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\startup_MKV56F24.o</file>
<file>$PROJ_DIR$\Debug\Obj\delay.xcl</file>
<file>$PROJ_DIR$\..\Include\cmsis_version.h</file>
<file>$PROJ_DIR$\Debug\Obj\uart_Interrupt.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\pin_Init.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\delay.o</file>
<file>$PROJ_DIR$\Debug\Obj\adc_Interrupt.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_common.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_gpio.xcl</file>
<file>$PROJ_DIR$\..\drivers\fsl_adc16.h</file>
<file>$PROJ_DIR$\..\utilities\str\fsl_str.c</file>
<file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_uart.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_common.__cstat.et</file>
<file>$PROJ_DIR$\..\utilities\serial_manager.c</file>
<file>$PROJ_DIR$\..\Include\cmsis_compiler.h</file>
<file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_assert.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\uart_Interrupt.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\uart_adapter.xcl</file>
<file>$PROJ_DIR$\..\Include\cmsis_iccarm.h</file>
<file>$PROJ_DIR$\Debug\Obj\generic_list.__cstat.et</file>
<file>$PROJ_DIR$\..\startup\fsl_device_registers.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.o</file>
<file>$PROJ_DIR$\Debug\Obj\pin_Init.__cstat.et</file>
<file>$TOOLKIT_DIR$\config\linker\NXP\MKV5xF512xxx24.icf</file>
<file>$PROJ_DIR$\Debug\Obj\pin_Init.o</file>
<file>$PROJ_DIR$\..\utilities\serial_port_uart.h</file>
<file>$TOOLKIT_DIR$\inc\c\assert.h</file>
<file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console_conf.h</file>
<file>$PROJ_DIR$\Debug\Obj\test01.pbd</file>
<file>$PROJ_DIR$\..\utilities\str\fsl_str.h</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_float_setup.h</file>
<file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.xcl</file>
<file>$TOOLKIT_DIR$\lib\m7M_tls.a</file>
<file>$PROJ_DIR$\..\startup\system_MKV56F24.h</file>
<file>$TOOLKIT_DIR$\lib\shb_l.a</file>
<file>$PROJ_DIR$\Debug\Exe\test01.out</file>
<file>$PROJ_DIR$\Debug\Obj\generic_list.xcl</file>
<file>$TOOLKIT_DIR$\inc\c\stdlib.h</file>
<file>$PROJ_DIR$\Debug\Obj\serial_manager.o</file>
<file>$PROJ_DIR$\..\user\uart_Interrupt.h</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
<file>$PROJ_DIR$\..\user\pin_Init.c</file>
<file>$PROJ_DIR$\..\utilities\generic_list.h</file>
<file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.__cstat.et</file>
<file>$PROJ_DIR$\..\user\uart_Interrupt.c</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_clock.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_str.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_gpio.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\uart_adapter.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_assert.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\serial_port_uart.o</file>
<file>$TOOLKIT_DIR$\inc\c\yvals.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_assert.__cstat.et</file>
<file>$TOOLKIT_DIR$\lib\dl7M_tln.a</file>
<file>$PROJ_DIR$\..\utilities\serial_port_internal.h</file>
<file>$PROJ_DIR$\Debug\Exe\test01.out</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h</file>
<file>$PROJ_DIR$\Debug\Obj\serial_port_uart.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\generic_list.xcl</file>
<file>$TOOLKIT_DIR$\inc\c\stdlib.h</file>
<file>$PROJ_DIR$\Debug\Obj\delay.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\main.__cstat.et</file>
<file>$PROJ_DIR$\..\drivers\fsl_clock.h</file>
<file>$PROJ_DIR$\..\user\adc_Interrupt.h</file>
<file>$PROJ_DIR$\Debug\Obj\serial_manager.o</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
<file>$PROJ_DIR$\..\Include\mpu_armv7.h</file>
<file>$PROJ_DIR$\..\user\pit.c</file>
<file>$PROJ_DIR$\Debug\Obj\main.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_adc16.o</file>
<file>$PROJ_DIR$\..\user\pin_Init.h</file>
<file>$TOOLKIT_DIR$\lib\shb_l.a</file>
<file>$PROJ_DIR$\..\drivers\fsl_clock.h</file>
<file>$PROJ_DIR$\..\Include\mpu_armv7.h</file>
<file>$PROJ_DIR$\Debug\Obj\serial_port_uart.o</file>
<file>$PROJ_DIR$\Debug\Obj\generic_list.o</file>
<file>$PROJ_DIR$\..\utilities\generic_list.h</file>
<file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_str.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_gpio.__cstat.et</file>
<file>$PROJ_DIR$\..\user\pit.h</file>
<file>$PROJ_DIR$\Debug\Obj\uart_adapter.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\serial_port_uart.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_assert.o</file>
<file>$TOOLKIT_DIR$\inc\c\math.h</file>
<file>$PROJ_DIR$\Debug\Obj\uart_Interrupt.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_clock.xcl</file>
<file>$TOOLKIT_DIR$\inc\c\string.h</file>
<file>$PROJ_DIR$\..\utilities\uart_adapter.c</file>
<file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
<file>$PROJ_DIR$\Debug\Obj\main.xcl</file>
<file>$PROJ_DIR$\..\Include\core_cm7.h</file>
<file>$PROJ_DIR$\..\startup\MKV56F24_features.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_common.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\serial_manager.__cstat.et</file>
<file>$TOOLKIT_DIR$\inc\c\math.h</file>
<file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
<file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
<file>$PROJ_DIR$\..\drivers\fsl_uart.h</file>
<file>$PROJ_DIR$\Debug\Obj\adc_Interrupt.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_pit.o</file>
<file>$PROJ_DIR$\..\utilities\uart.h</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
<file>$PROJ_DIR$\..\drivers\fsl_pit.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_clock.o</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_assert.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_pit.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\pit.o</file>
<file>$PROJ_DIR$\..\startup\MKV56F24_features.h</file>
<file>$PROJ_DIR$\..\utilities\uart.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_pit.o</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
<file>$PROJ_DIR$\..\utilities\generic_list.c</file>
<file>$PROJ_DIR$\Debug\Obj\uart_Interrupt.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\pit.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\pit.o</file>
<file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
<file>$PROJ_DIR$\Debug\Obj\main.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\serial_manager.xcl</file>
<file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_clock.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\adc_Interrupt.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\pit.xcl</file>
<file>$PROJ_DIR$\..\drivers\fsl_common.h</file>
<file>$TOOLKIT_DIR$\inc\c\string.h</file>
<file>$PROJ_DIR$\Debug\Obj\delay.xcl</file>
<file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.h</file>
<file>$PROJ_DIR$\..\utilities\fsl_assert.c</file>
<file>$PROJ_DIR$\Debug\Obj\serial_port_uart.__cstat.et</file>
<file>$PROJ_DIR$\Debug\List\test01.map</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_uart.xcl</file>
<file>$PROJ_DIR$\..\Include\cmsis_version.h</file>
<file>$TOOLKIT_DIR$\inc\c\stdarg.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_str.xcl</file>
<file>$PROJ_DIR$\..\utilities\serial_port_uart.c</file>
<file>$PROJ_DIR$\Debug\Obj\uart_Interrupt.__cstat.et</file>
<file>$PROJ_DIR$\..\user\delay.h</file>
<file>$PROJ_DIR$\..\user\uart_Interrupt.h</file>
<file>$PROJ_DIR$\Debug\Obj\startup_MKV56F24.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_gpio.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_adc16.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_str.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\main.o</file>
<file>$PROJ_DIR$\Debug\Obj\adc_Interrupt.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_common.o</file>
<file>$PROJ_DIR$\..\user\uart_Interrupt.c</file>
<file>$TOOLKIT_DIR$\inc\c\stdbool.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_uart.__cstat.et</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
<file>$PROJ_DIR$\Debug\Obj\pin_Init.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\delay.o</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_gpio.xcl</file>
<file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.c</file>
<file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file>
<file>$PROJ_DIR$\..\drivers\fsl_gpio.h</file>
<file>$PROJ_DIR$\..\drivers\fsl_adc16.h</file>
<file>$PROJ_DIR$\..\utilities\str\fsl_str.c</file>
<file>$PROJ_DIR$\Debug\Obj\uart_adapter.o</file>
<file>$PROJ_DIR$\..\utilities\serial_manager.h</file>
<file>$PROJ_DIR$\Debug\Obj\pin_Init.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\generic_list.__cstat.et</file>
<file>$PROJ_DIR$\..\utilities\serial_manager.c</file>
<file>$TOOLKIT_DIR$\inc\c\DLib_float_setup.h</file>
<file>$PROJ_DIR$\Debug\Obj\pin_Init.o</file>
<file>$PROJ_DIR$\..\utilities\serial_port_uart.h</file>
<file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.o</file>
<file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console_conf.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_uart.o</file>
<file>$PROJ_DIR$\Debug\Obj\test01.pbd</file>
<file>$PROJ_DIR$\..\utilities\str\fsl_str.h</file>
<file>$PROJ_DIR$\Debug\Obj\uart_adapter.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\uart_Interrupt.o</file>
<file>$PROJ_DIR$\..\Include\cmsis_compiler.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_assert.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.xcl</file>
<file>$TOOLKIT_DIR$\inc\c\assert.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_common.__cstat.et</file>
<file>$PROJ_DIR$\..\startup\system_MKV56F24.h</file>
<file>$PROJ_DIR$\..\Include\cmsis_iccarm.h</file>
<file>$TOOLKIT_DIR$\lib\m7M_tls.a</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.xcl</file>
<file>$TOOLKIT_DIR$\config\linker\NXP\MKV5xF512xxx24.icf</file>
<file>$PROJ_DIR$\..\startup\fsl_device_registers.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.o</file>
<file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
<file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
<file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.__cstat.et</file>
<file>$PROJ_DIR$\Debug\Obj\serial_manager.__cstat.et</file>
<file>$PROJ_DIR$\..\drivers\fsl_uart.h</file>
<file>$PROJ_DIR$\..\drivers\fsl_pit.h</file>
<file>$PROJ_DIR$\Debug\Obj\fsl_clock.o</file>
</outputs>
<file>
<name>[ROOT_NODE]</name>
<outputs>
<tool>
<name>ILINK</name>
<file> 25 78</file>
<file> 71 29</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\drivers\fsl_pit.c</name>
<name>$PROJ_DIR$\..\user\adc_Interrupt.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 56</file>
<file> 39</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 63</file>
<file> 122</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 59 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 10 28 88 42</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\user\pin_Init.c</name>
<name>$PROJ_DIR$\..\user\delay.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 112</file>
<file> 38</file>
</tool>
<tool>
<name>__cstat</name>
<file> 108</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 98</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 1 103 38 53</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\user\pit.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 64</file>
<file> 87</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 67</file>
<file> 34</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 59 103 86 5</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 13</file>
</tool>
</inputs>
</file>
@@ -214,44 +195,40 @@
<outputs>
<tool>
<name>ICCARM</name>
<file> 91</file>
<file> 15</file>
</tool>
<tool>
<name>__cstat</name>
<file> 31</file>
<file> 90</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 45</file>
<file> 119</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 103 38 5 85 86 33 53</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 28 92 99 13 75 88 130</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\user\delay.c</name>
<name>$PROJ_DIR$\..\drivers\fsl_adc16.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 99</file>
</tool>
<tool>
<name>__cstat</name>
<file> 30</file>
<file> 91</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 74</file>
<file> 23</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 85</file>
<file> 42 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93</file>
</tool>
</inputs>
</file>
@@ -260,21 +237,21 @@
<outputs>
<tool>
<name>ICCARM</name>
<file> 88</file>
<file> 22</file>
</tool>
<tool>
<name>__cstat</name>
<file> 18</file>
<file> 98</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 100</file>
<file> 41</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 103 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32</file>
<file> 28 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93</file>
</tool>
</inputs>
</file>
@@ -283,95 +260,95 @@
<outputs>
<tool>
<name>AARM</name>
<file> 87</file>
<file> 33</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\startup\system_MKV56F24.c</name>
<name>$PROJ_DIR$\..\drivers\fsl_clock.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 114</file>
<file> 132</file>
</tool>
<tool>
<name>__cstat</name>
<file> 42</file>
<file> 81</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 123</file>
<file> 105</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 51 44 22 35 61 58 131 9 46 80 121 127 102 36 126 47</file>
<file> 93 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\user\adc_Interrupt.c</name>
<name>$PROJ_DIR$\..\drivers\fsl_uart.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 92</file>
<file> 45</file>
</tool>
<tool>
<name>__cstat</name>
<file> 25</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 54</file>
<file> 27</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 1 103 33 104</file>
<file> 130 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\drivers\fsl_clock.c</name>
<name>$PROJ_DIR$\..\startup\system_MKV56F24.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 60</file>
<file> 49</file>
</tool>
<tool>
<name>__cstat</name>
<file> 16</file>
<file> 79</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 71</file>
<file> 67</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 32 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47</file>
<file> 127 125 82 76 110 115 56 12 108 35 48 54 44 94 69 112</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\drivers\fsl_uart.c</name>
<name>$PROJ_DIR$\..\drivers\fsl_pit.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 116</file>
</tool>
<tool>
<name>__cstat</name>
<file> 96</file>
<file> 114</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 79</file>
<file> 111</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 53 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32</file>
<file> 131 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93</file>
</tool>
</inputs>
</file>
@@ -380,147 +357,174 @@
<outputs>
<tool>
<name>ICCARM</name>
<file> 93</file>
<file> 40</file>
</tool>
<tool>
<name>__cstat</name>
<file> 125</file>
<file> 46</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 48</file>
<file> 109</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\drivers\fsl_adc16.c</name>
<name>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 37</file>
<file> 57</file>
</tool>
<tool>
<name>__cstat</name>
<file> 128</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 89</file>
<file> 52</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 104 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32</file>
<file> 31 73 125 82 76 110 115 118 86 63 124 62 24 127 106 16 126 56 12 108 35 48 54 44 94 69 112 93 65 20 61 113 26</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\Debug\Exe\test01.out</name>
<name>$PROJ_DIR$\..\utilities\fsl_assert.c</name>
<outputs>
<tool>
<name>ILINK</name>
<file> 78</file>
<name>ICCARM</name>
<file> 102</file>
</tool>
<tool>
<name>__cstat</name>
<file> 83</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 50</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ILINK</name>
<file> 130 92 99 37 60 93 88 56 116 91 112 64 87 114 120 39 70 128 23</file>
<name>ICCARM</name>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 26 20 61 113</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\utilities\uart_adapter.c</name>
<name>$PROJ_DIR$\..\utilities\serial_port_uart.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 106</file>
<file> 95</file>
</tool>
<tool>
<name>__cstat</name>
<file> 19</file>
<file> 32</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 119</file>
<file> 101</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 53 57</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 20 61 113 85</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\utilities\generic_list.c</name>
<name>$PROJ_DIR$\..\utilities\str\fsl_str.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 40</file>
<file> 97</file>
</tool>
<tool>
<name>__cstat</name>
<file> 109</file>
<file> 14</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 28</file>
<file> 21</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 41 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32</file>
<file> 103 125 82 76 110 115 66 31 73 118 86 65 124 62 24 127 106 16 126 56 12 108 35 48 54 44 94 69 112 93 63</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\utilities\fsl_assert.c</name>
<name>$PROJ_DIR$\..\utilities\serial_manager.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 62</file>
<file> 74</file>
</tool>
<tool>
<name>__cstat</name>
<file> 20</file>
<file> 129</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 122</file>
<file> 120</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 75 107 113 57</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 20 61 113 85</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\utilities\serial_port_uart.c</name>
<name>$PROJ_DIR$\Debug\Exe\test01.out</name>
<outputs>
<tool>
<name>ILINK</name>
<file> 29</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ILINK</name>
<file> 59 39 38 91 132 40 22 114 45 15 60 117 33 49 51 70 121 68 84</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\user\pin_Init.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 21</file>
<file> 60</file>
</tool>
<tool>
<name>__cstat</name>
<file> 77</file>
<file> 58</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 27</file>
<file> 37</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 107 113 57 24</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 10 28 92 130</file>
</tool>
</inputs>
</file>
@@ -529,90 +533,86 @@
<outputs>
<tool>
<name>ICCARM</name>
<file> 120</file>
<file> 51</file>
</tool>
<tool>
<name>__cstat</name>
<file> 84</file>
<file> 36</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 66</file>
<file> 104</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 86 53 38 103 59 5 33</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 75 130 92 28 131 99 88</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.c</name>
<name>$PROJ_DIR$\..\user\pit.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 132</file>
</tool>
<tool>
<name>__cstat</name>
<file> 55</file>
<file> 117</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 129</file>
<file> 123</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 81 29 44 22 35 61 58 68 26 115 72 124 95 51 73 97 52 131 9 46 80 121 127 102 36 126 47 32 118 107 113 57 75</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 131 28 75 99</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\utilities\str\fsl_str.c</name>
<name>$PROJ_DIR$\..\utilities\uart_adapter.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 17</file>
<file> 18</file>
</tool>
<tool>
<name>__cstat</name>
<file> 90</file>
<file> 100</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 82</file>
<file> 53</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 50 44 22 35 61 58 111 81 29 68 26 118 72 124 95 51 73 97 52 131 9 46 80 121 127 102 36 126 47 32 115</file>
<file> 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93 130 113</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\..\utilities\serial_manager.c</name>
<name>$PROJ_DIR$\..\utilities\generic_list.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 34</file>
<file> 96</file>
</tool>
<tool>
<name>__cstat</name>
<file> 49</file>
<file> 55</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 69</file>
<file> 72</file>
</tool>
</outputs>
<inputs>
<tool>
<name>ICCARM</name>
<file> 72 124 44 22 35 61 58 95 51 73 68 97 29 26 52 131 9 46 80 121 127 102 36 126 47 32 107 113 57 24</file>
<file> 78 124 62 125 82 76 110 115 24 127 106 118 16 73 86 126 56 12 108 35 48 54 44 94 69 112 93</file>
</tool>
</inputs>
</file>


+ 4
- 2
user/adc_Interrupt.c 파일 보기

@@ -7,6 +7,7 @@


uint32_t g_Adc12ConversionValue = 0;
uint32_t g_Adc12_Value = 0;
uint32_t g_Adc12Count = 0;

/*****************ADC初始化*************************
@@ -31,14 +32,15 @@ void ADC12_InterrputInit() //ADC
adc16ConfigStruct.enableContinuousConversion = true; //开启连续转换
ADC16_Init(ADC0, &adc16ConfigStruct);
ADC16_EnableHardwareTrigger(ADC0, false); //ADC软件触发
adc16ChannelConfigStruct.channelNumber = 2u; //选择通道2
adc16ChannelConfigStruct.channelNumber = 5u; //选择通道5
adc16ChannelConfigStruct.enableInterruptOnConversionCompleted = true; //使能ADC中断触发标志
ADC16_SetChannelConfig(ADC0, 0u, &adc16ChannelConfigStruct);
}

uint32_t adc_ReturnValue()
{
return g_Adc12ConversionValue / g_Adc12_12bitFullRange * 3300; //放大1000倍
g_Adc12_Value = g_Adc12ConversionValue * 3040/ g_Adc12_12bitFullRange;
return g_Adc12_Value; //放大1000倍
}

void ADC0_IRQHandler(void)


+ 9
- 8
user/uart_Interrupt.c 파일 보기

@@ -128,7 +128,7 @@ void UART2_sendData()
UART_ClearStatusFlags(DEMO_UART, kUART_TransmissionCompleteFlag);
}
UART_WriteBlocking(DEMO_UART, g_tipString2, sizeof(g_tipString2) / sizeof(g_tipString2[0])-1);
for (uint8_t i = 0; i < 6; i++ )
for (uint8_t i = 0; i < 4; i++ )
{
UART_WriteByte(DEMO_UART, UART2_Buf_Arr[i+6]);
while (!(kUART_TxDataRegEmptyFlag & UART_GetStatusFlags(DEMO_UART))); //等待发送结束
@@ -161,13 +161,14 @@ void RS485_Recieve_Data()
/*************刷新电压数据******************/
void ADC16_Recieve_Data()
{
adc_GetValue = adc_ReturnValue();
UART2_Buf_Arr[6] = (adc_GetValue / 100000) + '0';
UART2_Buf_Arr[7] = (adc_GetValue % 100000 / 10000) + '0';
UART2_Buf_Arr[8] = (adc_GetValue % 10000 / 1000) + '0';
UART2_Buf_Arr[9] = (adc_GetValue % 1000 / 100) + '0';
UART2_Buf_Arr[10] = (adc_GetValue % 100 / 10) + '0';
UART2_Buf_Arr[11] = (adc_GetValue % 10) + '0';
adc_GetValue = adc_ReturnValue();
// UART2_Buf_Arr[6] = (adc_GetValue / 100000) + '0';
// UART2_Buf_Arr[7] = (adc_GetValue % 100000 / 10000) + '0';
UART2_Buf_Arr[6] = (adc_GetValue % 10000 / 1000) + '0';
UART2_Buf_Arr[7] = '.';
UART2_Buf_Arr[8] = (adc_GetValue % 1000 / 100) + '0';
UART2_Buf_Arr[9] = (adc_GetValue % 100 / 10) + '0';
//UART2_Buf_Arr[10] = (adc_GetValue % 10) + '0';
}

void PIT0_IRQHandler()


불러오는 중...
취소
저장