通过debug已经测试功能正常,移植到正确的工卡试下
| | |
| | | |
| | | <h2>Project:</h2> |
| | | D:\zhangbo\2024\Code\ChinaUWB\广åç§»æ¤\ChinaUWBProject\keil\uwb_simple_example.uvprojx |
| | | Project File Date: 05/23/2025 |
| | | Project File Date: 06/16/2025 |
| | | |
| | | <h2>Output:</h2> |
| | | *** Using Compiler 'V6.14', folder: 'D:\keil\ARM\ARMCLANG\Bin' |
| | |
| | | linking... |
| | | .\Objects\uwb_simple_example.axf: Warning: L6304W: Duplicate input file .\objects\lis3dh_driver_1.o ignored. |
| | | .\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION). |
| | | Program Size: Code=91248 RO-data=12364 RW-data=2108 ZI-data=60348 |
| | | Program Size: Code=91872 RO-data=12364 RW-data=2108 ZI-data=60356 |
| | | Finished: 0 information, 2 warning and 0 error messages. |
| | | FromELF: creating hex file... |
| | | After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\zhangbo\2024\Code\ChinaUWB\广åç§»æ¤\ChinaUWBProject\keil\Objects\uwb_simple_example.axf" |
| | |
| | | D:\keil\pack\MKSEMI\MK800X_DFP\1.0.3\Device\Include |
| | | |
| | | <h2>Collection of Component Files used:</h2> |
| | | Build Time Elapsed: 00:00:01 |
| | | Build Time Elapsed: 00:00:02 |
| | | </pre> |
| | | </body> |
| | | </html> |
| | |
| | | ".\objects\pca9555.o" |
| | | ".\objects\ws2812.o" |
| | | ".\objects\lis3dh_driver_1.o" |
| | | ".\objects\sc7a22h_driver.o" |
| | | ".\objects\sc7a22h_example.o" |
| | | ".\objects\sc7a22h_port.o" |
| | | ".\objects\usart1.o" |
| | | ".\objects\usart.o" |
| | | ".\objects\mk_4g.o" |
| | |
| | | I (include\drivers\mk_io.h)(0x67DCD5B6)
|
| | | F (.\sn74hc595.h)(0x67DCD5B6)()
|
| | | F (.\mk_4G.h)(0x67DCD5B6)()
|
| | | F (.\include\drivers\PCA9555.c)(0x684B99B4)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/pca9555.o -MD)
|
| | | F (.\include\drivers\PCA9555.c)(0x6850DF9E)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/pca9555.o -MD)
|
| | | I (include\drivers\PCA9555.h)(0x67DCD5B6)
|
| | | I (include\board\board.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_common.h)(0x67DCD5B6)
|
| | |
| | | I (include\drivers\mk_gpio.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_io.h)(0x67DCD5B6)
|
| | | F (.\include\drivers\WS2812.h)(0x67DCD5B6)()
|
| | | F (.\include\drivers\lis3dh_driver.c)(0x682FE8C0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/lis3dh_driver_1.o -MD)
|
| | | F (.\include\drivers\lis3dh_driver.c)(0x6850DEC4)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/lis3dh_driver_1.o -MD)
|
| | | I (include\drivers\lis3dh_driver.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\math.h)(0x5DDFFD6C)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
|
| | |
| | | I (include\devices\MK800X\Include\system_MK800X.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_gpio.h)(0x67DCD5B6)
|
| | | I (include\drivers\global_param.h)(0x684A6868)
|
| | | F (.\include\drivers\SC7A22H.h)(0x6850CA39)()
|
| | | F (.\include\drivers\SC7A22H_driver.c)(0x6850E08A)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/sc7a22h_driver.o -MD)
|
| | | I (include\drivers\SC7A22H.h)(0x6850CA39)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\string.h)(0x5DDFFD6C)
|
| | | I (include\drivers\mk_trace.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_common.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdbool.h)(0x5DDFFD72)
|
| | | I (include\devices\MK800X\Include\MK800X.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\core_cm0.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\cmsis_version.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\cmsis_compiler.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\cmsis_armclang.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
|
| | | I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
|
| | | I (include\devices\MK800X\Include\system_MK800X.h)(0x67DCD5B6)
|
| | | I (..\user_config.h)(0x68303705)
|
| | | I (include\drivers\mk_uart.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_dma.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
|
| | | F (.\include\drivers\SC7A22H_example.c)(0x6850E4E9)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/sc7a22h_example.o -MD)
|
| | | I (include\drivers\SC7A22H.h)(0x6850CA39)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\string.h)(0x5DDFFD6C)
|
| | | I (include\drivers\mk_trace.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_common.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdbool.h)(0x5DDFFD72)
|
| | | I (include\devices\MK800X\Include\MK800X.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\core_cm0.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\cmsis_version.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\cmsis_compiler.h)(0x67DCD5B6)
|
| | | I (include\CMSIS\Include\cmsis_armclang.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
|
| | | I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
|
| | | I (include\devices\MK800X\Include\system_MK800X.h)(0x67DCD5B6)
|
| | | I (..\user_config.h)(0x68303705)
|
| | | I (include\drivers\mk_uart.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_dma.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
|
| | | F (.\include\drivers\SC7A22H_port.c)(0x684FE01A)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/sc7a22h_port.o -MD)
|
| | | I (include\drivers\SC7A22H.h)(0x6850CA39)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
|
| | | I (D:\keil\ARM\ARMCLANG\include\string.h)(0x5DDFFD6C)
|
| | | F (.\include\drivers\Usart1.c)(0x67DCD5B6)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/usart1.o -MD)
|
| | | I (include\drivers\Usart.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
|
| | |
| | | I (include\drivers\mk_io.h)(0x67DCD5B6)
|
| | | I (include\drivers\global_param.h)(0x684A6868)
|
| | | I (..\keil\sn74hc595.h)(0x67DCD5B6)
|
| | | F (.\include\drivers\lis3dh_driver.c)(0x682FE8C0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/lis3dh_driver_1.o -MD)
|
| | | F (.\include\drivers\lis3dh_driver.c)(0x6850DEC4)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/lis3dh_driver_1.o -MD)
|
| | | I (include\drivers\lis3dh_driver.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\math.h)(0x5DDFFD6C)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
|
| | |
| | | I (include\drivers\mk_gpio.h)(0x67DCD5B6)
|
| | | I (include\drivers\Usart.h)(0x67DCD5B6)
|
| | | I (include\drivers\global_param.h)(0x684A6868)
|
| | | F (.\include\main\main.c)(0x684BEAD1)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/main.o -MD)
|
| | | F (.\include\main\main.c)(0x6850D467)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/main.o -MD)
|
| | | I (include\drivers\mk_trace.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_common.h)(0x67DCD5B6)
|
| | | I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
|
| | |
| | | I (include\drivers\mk_gpio.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_io.h)(0x67DCD5B6)
|
| | | I (include\drivers\mk_calib.h)(0x67DCD5B6)
|
| | | F (.\include\src\TCPClient.c)(0x684A6892)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/tcpclient.o -MD)
|
| | | F (.\include\src\TCPClient.c)(0x6850E24E)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c
-fno-rtti -funsigned-char
-D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter
-I./RTE/_MK8000_Release
-ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include
-ID:/keil/ARM/CMSIS/Include
-D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC
-o ./objects/tcpclient.o -MD)
|
| | | I (include\src\TCPClient.h)(0x6825C506)
|
| | | I (include\components\hido\Include\HIDO_TYpeDef.h)(0x67DCD5B6)
|
| | | I (include\components\internet\inc\Socket.h)(0x67DCD5B6)
|
| | |
| | | |
| | | if(WAKE_UP_POSITION&gpio_state) |
| | | { |
| | | //ç§»å¨ |
| | | nomove_count=0; |
| | | if(deep_sleep_falg==0) |
| | | { |
| | | deep_sleep_falg=1; |
| | | // NVIC_SystemReset(); |
| | | sys_reset(0); |
| | | } |
| | | // |
| | | Pedo_interrupt_callback(); |
| | | // //ç§»å¨ |
| | | // nomove_count=0; |
| | | // if(deep_sleep_falg==0) |
| | | // { |
| | | // deep_sleep_falg=1; |
| | | //// NVIC_SystemReset(); |
| | | // sys_reset(0); |
| | | // } |
| | | //// |
| | | test51++; |
| | | } |
| | | // if(!(MAIN_RI_POSITION&gpio_state)) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | #ifndef __SC7A22E_H__ |
| | | #define __SC7A22E_H__ |
| | | |
| | | #include <stdio.h> |
| | | //#include "boards.h" |
| | | #include <stdint.h> |
| | | #include <stdio.h> |
| | | #include <string.h> |
| | | |
| | | |
| | | |
| | | #define SL_SC7A22H_SPI_IIC_MODE 0 |
| | | /**SC7A20E SPI IIC éæ© SPIï¼ 0****/ |
| | | /**SC7A20E SPI IIC éæ© IICï¼ 1****/ |
| | | |
| | | //ä¼ æå¨è°è¯æå°åè½æ¯å¦æå¼----0å¼å¯ï¼1å
³é |
| | | #define SL_Sensor_Algo_Release_Enable 0x01 |
| | | |
| | | /***使ç¨é©±å¨åè¯·æ ¹æ®å®é
æ¥çº¿æ
åµé
ç½®******/ |
| | | /**SC7A22çSDO èæ¥å°ï¼ 0****************/ |
| | | /**SC7A22çSDO èæ¥çµæºï¼1****************/ |
| | | #define SL_SC7A22_SDO_VDD_GND 1 |
| | | /*****************************************/ |
| | | /***使ç¨é©±å¨åè¯·æ ¹æ®å®é
IICæ
åµè¿è¡é
ç½®***/ |
| | | /**SC7A22çIIC æ¥å£å°åç±»å 7bitsï¼ 0****/ |
| | | /**SC7A22çIIC æ¥å£å°åç±»å 8bitsï¼ 1****/ |
| | | #define SL_SC7A22_IIC_7BITS_8BITS 0 |
| | | /*****************************************/ |
| | | |
| | | #if SL_SC7A22_SDO_VDD_GND==0 |
| | | #define SL_SC7A22_IIC_7BITS_ADDR 0x18 |
| | | #define SL_SC7A22_IIC_8BITS_WRITE_ADDR 0x30 |
| | | #define SL_SC7A22_IIC_8BITS_READ_ADDR 0x31 |
| | | #else |
| | | #define SL_SC7A22_IIC_7BITS_ADDR 0x19 |
| | | #define SL_SC7A22_IIC_8BITS_WRITE_ADDR 0x32 |
| | | #define SL_SC7A22_IIC_8BITS_READ_ADDR 0x33 |
| | | #endif |
| | | #if SL_SC7A22_IIC_7BITS_8BITS==0 |
| | | #define SL_SC7A22_IIC_ADDRESS SL_SC7A22_IIC_7BITS_ADDR |
| | | #else |
| | | #define SL_SC7A22_IIC_WRITE_ADDRESS SL_SC7A22_IIC_8BITS_WRITE_ADDR |
| | | #define SL_SC7A22_IIC_READ_ADDRESS SL_SC7A22_IIC_8BITS_READ_ADDR |
| | | #endif |
| | | |
| | | |
| | | |
| | | //I2C SPIé讯æ§å¶å®å®ä¹ |
| | | #define SL_SC7A22H_SPI_EN_I2C_DISABLE 0x00 //å¿
é¡»åSL_SPI_IIC_INTERFACE ç¸åï¼ |
| | | #define SL_SPI_IIC_INTERFACE 0x01 //å¿
é¡»åSL_SC7A22H_SPI_EN_I2C_DISABLE ç¸åï¼ |
| | | //åå§æ°æ®é«éè¾åºä½¿è½æ§å¶å®å®ä¹ |
| | | #define SL_SC7A22H_RAWDATA_HPF_ENABLE 0x00 |
| | | //䏿èé»è®¤è¾åºçµå¹³æ§å¶å®å®ä¹ |
| | | #define SL_SC7A22H_INT_DEFAULT_LEVEL 0x01 |
| | | //SDO 䏿çµé»æ§å¶ |
| | | #define SL_SC7A22H_SDO_PullUP_ENABLE 0x01 |
| | | |
| | | |
| | | /***************å¯åå¨å表**********/ |
| | | #define SC7A22H_COM_CFG (unsigned char)0x05 |
| | | #define SC7A22H_CHIP_ID_ADDRESS (unsigned char)0x01 |
| | | |
| | | #define SL_SC7A22H_INT_CFG1 (unsigned char)0x06 |
| | | #define SL_SC7A22H_INT_CFG2 (unsigned char)0x07 |
| | | #define SL_SC7A22H_HPF_LPF_DFG (unsigned char)0x08 |
| | | #define SL_SC7A22H_DATA_SAT (unsigned char)0x0A |
| | | #define SL_SC7A22H_DATA_STAT (unsigned char)0x0B |
| | | |
| | | #define SL_SC7A22H_OUT_X_L (unsigned char)0x0D |
| | | #define SL_SC7A22H_OUT_X_H (unsigned char)0x0C |
| | | #define SL_SC7A22H_OUT_Y_L (unsigned char)0x0F |
| | | #define SL_SC7A22H_OUT_Y_H (unsigned char)0x0E |
| | | #define SL_SC7A22H_OUT_Z_L (unsigned char)0x11 |
| | | #define SL_SC7A22H_OUT_Z_H (unsigned char)0x10 |
| | | |
| | | #define SL_SC7A22H_TIME_H (unsigned char)0x18 |
| | | #define SL_SC7A22H_TIME_M (unsigned char)0x19 |
| | | #define SL_SC7A22H_TIME_L (unsigned char)0x1A |
| | | |
| | | #define SL_SC7A22H_RAM_BIST (unsigned char)0x1B |
| | | |
| | | #define SL_SC7A22H_FIFO_CFG0 (unsigned char)0x1C |
| | | #define SL_SC7A22H_FIFO_CFG1 (unsigned char)0x1D |
| | | #define SL_SC7A22H_FIFO_CFG2 (unsigned char)0x1E |
| | | #define SL_SC7A22H_FIFO_STAT0 (unsigned char)0x1F |
| | | #define SL_SC7A22H_FIFO_STAT1 (unsigned char)0x20 |
| | | #define SL_SC7A22H_FIFO_DATA1 (unsigned char)0x21 |
| | | |
| | | |
| | | #define SL_SC7A22H_AOI1_CFG (unsigned char)0x30 |
| | | #define SL_SC7A22H_AOI1_STAT (unsigned char)0x31 |
| | | #define SL_SC7A22H_AOI1_THS (unsigned char)0x32 |
| | | #define SL_SC7A22H_AOI1_DUR (unsigned char)0x33 |
| | | |
| | | #define SL_SC7A22H_AOI2_CFG (unsigned char)0x34 |
| | | #define SL_SC7A22H_AOI2_STAT (unsigned char)0x35 |
| | | #define SL_SC7A22H_AOI2_THS (unsigned char)0x36 |
| | | #define SL_SC7A22H_AOI2_DUR (unsigned char)0x37 |
| | | |
| | | #define SL_SC7A22H_CLICK_CRTL_REG (unsigned char)0x38 |
| | | #define SL_SC7A22H_CLICK_SRC (unsigned char)0x39 |
| | | #define SL_SC7A22H_STEP_CFG (unsigned char)0x3A |
| | | #define SL_SC7A22H_STEP_SRC (unsigned char)0x3B |
| | | #define SL_SC7A22H_STEP_COUNTER_L (unsigned char)0x3C |
| | | #define SL_SC7A22H_STEP_COUNTER_H (unsigned char)0x3D |
| | | |
| | | |
| | | #define SL_SC7A22H_WRIST_SRC (unsigned char)0x3E |
| | | #define SL_SC7A22H_AOI1_AOI2_CFG (unsigned char)0x3F |
| | | |
| | | #define SL_SC7A22H_ACC_CONF (unsigned char)0x40 |
| | | #define SL_SC7A22H_ACC_RANGE (unsigned char)0x41 |
| | | |
| | | |
| | | #define SL_SC7A22H_FIFO_DOWNS (unsigned char)0x45 |
| | | |
| | | #define SL_SC7A22H_SOFT_RST (unsigned char)0x4A |
| | | #define SL_SC7A22H_SELF_TEST (unsigned char)0x6D |
| | | |
| | | #define SL_SC7A22H_VERSION (unsigned char)0x70 |
| | | #define SL_SC7A22H_PWR_CTRL (unsigned char)0x7D |
| | | #define SL_SC7A22H_SEG_SEL (unsigned char)0x7F |
| | | |
| | | |
| | | |
| | | /*è¿ç»è¯»åæ°æ®æ¶çæ°æ®å¯åå¨å°å*/ |
| | | #define SL_SC7A22H_DATA_OUT (unsigned char)(SL_SC7A22H_OUT_X_L|0x80) |
| | | |
| | | #define SL_SC7A22H_SUCCESS 0x00 |
| | | #define SL_SC7A22H_ERROR 0x01 |
| | | |
| | | #define SC7A22H_CHIP_ID_VALUE (unsigned char)0x18 |
| | | #define SL_SC7A22H_BOOT_ENABLE (unsigned char)0X80 |
| | | |
| | | #define SL_SC7A22H_RESET_VALUE (unsigned char)0XA5 |
| | | |
| | | #define SL_SC7A22H_ADDR_AUTO 0x01 |
| | | #define SL_SC7A22H_NO_ADDR_AUTO 0x00 |
| | | |
| | | /***************模å¼é
ç½®**********/ |
| | | #define SL_SC7A22H_LowPower 0x08 |
| | | #define SL_SC7A22H_NormalPower 0x00 |
| | | #define SL_SC7A22H_DLPF 0x04 |
| | | |
| | | /***************æ°æ®æ´æ°éç**å é度计使è½**********/ |
| | | #define SL_SC7A22H_ODR_POWER_DOWN (unsigned char)0x00 |
| | | #define SL_SC7A22H_ODR_1P5HZ (unsigned char)0x17 |
| | | #define SL_SC7A22H_ODR_12P5HZ (unsigned char)0x27 |
| | | #define SL_SC7A22H_ODR_25HZ (unsigned char)0x37 |
| | | #define SL_SC7A22H_ODR_50HZ (unsigned char)0x47 |
| | | #define SL_SC7A22H_ODR_100HZ (unsigned char)0x57 |
| | | #define SL_SC7A22H_ODR_200HZ (unsigned char)0x67 |
| | | #define SL_SC7A22H_ODR_400HZ (unsigned char)0x77 |
| | | |
| | | /***************ä¼ æå¨éç¨è®¾ç½®**********************/ |
| | | #define SL_SC7A22H_FS_2G (unsigned char)0x00 |
| | | #define SL_SC7A22H_FS_4G (unsigned char)0x10 |
| | | #define SL_SC7A22H_FS_8G (unsigned char)0x20 |
| | | #define SL_SC7A22H_FS_16G (unsigned char)0x30 |
| | | |
| | | /***åå¼å¨0-127ä¹é´ï¼æ¤å¤ä»
举ä¾****/ |
| | | #define SL_SC7A22H_INT_THS_5PERCENT (unsigned char)0x06 |
| | | #define SL_SC7A22H_INT_THS_8PERCENT (unsigned char)0x09 |
| | | #define SL_SC7A22H_INT_THS_10PERCENT (unsigned char)0x0C |
| | | #define SL_SC7A22H_INT_THS_20PERCENT (unsigned char)0x18 |
| | | #define SL_SC7A22H_INT_THS_40PERCENT (unsigned char)0x30 |
| | | #define SL_SC7A22H_INT_THS_80PERCENT (unsigned char)0x60 |
| | | |
| | | |
| | | /***åå¼å¨0-127ä¹é´ï¼æ¤å¤ä»
ä¸¾ä¾ ä¹ä»¥ODRå使¶é´****/ |
| | | #define SL_SC7A22H_INT_DURATION_2CLK (unsigned char)0x02 |
| | | #define SL_SC7A22H_INT_DURATION_5CLK (unsigned char)0x05 |
| | | #define SL_SC7A22H_INT_DURATION_10CLK (unsigned char)0x0A |
| | | #define SL_SC7A22H_INT_DURATION_20CLK (unsigned char)0x14 |
| | | #define SL_SC7A22H_INT_DURATION_40CLK (unsigned char)0x28 |
| | | #define SL_SC7A22H_INT_DURATION_80CLK (unsigned char)0x50 |
| | | |
| | | /***ä¸ææææ¶ççµå¹³è®¾ç½®ï¼é«çµå¹³ç¸å½äºä¸å沿ï¼ä½çµå¹³ç¸å½äºä¸é沿****/ |
| | | #define SL_SC7A22H_INT_ACTIVE_LOWER_LEVEL 0x02 //0x02:䏿æ¶INT1èè¾åº ä½çµå¹³ |
| | | #define SL_SC7A22H_INT_ACTIVE_HIGH_LEVEL 0x00 //0x00:䏿æ¶INT1èè¾åº é«çµå¹³ |
| | | |
| | | /***ä¸ææææ¶ççµå¹³è®¾ç½®ï¼é«çµå¹³ç¸å½äºä¸å沿ï¼ä½çµå¹³ç¸å½äºä¸é沿****/ |
| | | #define SL_SC7A22H_INT_AOI1_INT1 0x40 //AOI1 TO INT1 |
| | | #define SL_SC7A22H_INT_AOI2_INT1 0x20 //AOI2 TO INT1 |
| | | |
| | | /********客æ·éè¦è¿è¡çIIC/SPIæ¥å£å°å
彿°****************/ |
| | | extern unsigned char SL_SC7A22H_I2c_Spi_Init(unsigned char sl_spi_iic); |
| | | extern unsigned char SL_SC7A22H_I2c_Spi_Write(unsigned char sl_spi_iic,unsigned char reg, unsigned char data); |
| | | extern unsigned char SL_SC7A22H_I2c_Spi_Read(unsigned char sl_spi_iic,unsigned char reg, unsigned char len, unsigned char *buf); |
| | | extern void SL_SC7A22H_Delay_Ms(unsigned long int delay); |
| | | |
| | | /********驱å¨åºAPI****************/ |
| | | #define SL_LOG printf |
| | | |
| | | unsigned char SL_SC7A22H_Online_Test(void); |
| | | void SL_SC7A22H_Soft_Reset(void); |
| | | void SL_SC7A22H_BOOT(void); |
| | | void SL_SC7A22H_FS_Config(unsigned char SC7A22H_FS_Reg); |
| | | void SL_SC7A22H_Odr_Config(unsigned char Odr_Config_Reg,unsigned char Work_mode); |
| | | void SL_SC7A22H_Read_XYZ_Data(signed short *SL_SC7A22H_Data_XYZ_Buf); |
| | | void SL_SC7A22H_Read_XYZ_Data_FIFO(signed short *SL_SC7A22H_Data_XYZ_Buf); |
| | | void SL_SC7A22H_Data_Convert(signed short *SL_SC7A22H_Raw_Data_XYZ_Buf,signed short *SL_SC7A22H_Output_Data_XYZ_Buf,unsigned char SC7A22H_FS_Reg); |
| | | void SL_SC7A22H_ADDR_AUTO_CON(unsigned char SC7A22H_Status); |
| | | unsigned char SL_SC7A22H_POWER_DOWN(void); |
| | | unsigned char SL_SC7A22H_Get_Motion(void); |
| | | void SL_SC7A22H_Pedo_Reset(void); |
| | | unsigned int SL_SC7A22H_Get_Pedo_Count(void); |
| | | |
| | | void SL_SC7A22H_Wrist_Config(void); |
| | | unsigned char SL_SC7A22H_Get_Wrist_Status(void); |
| | | |
| | | unsigned char SL_SC7A22H_Check(void); |
| | | unsigned char SL_SC7A22H_Config(void); |
| | | void SL_SC7A22H_RawData_Read(signed short *x_data,signed short *y_data,signed short *z_data); |
| | | unsigned char SL_SC7A22H_FIFO_Read(signed short *x_data_buf,signed short *y_data_buf,signed short *z_data_buf); |
| | | |
| | | |
| | | |
| | | //æä¾æµè¯æ¡ä¾ |
| | | void SC7A22H_get_rawdata_Polling(void); |
| | | void SC7A22H_get_rawdata_fifo_wtm_interrupt(void); |
| | | void SC7A22H_get_double_click(void); |
| | | void SC7A22H_get_Pedo(void); |
| | | void SC7A22H_get_Pedo_task(); |
| | | void SC7A22H_get_Wrist(void); |
| | | void SC7A22H_self_test(void); |
| | | |
| | | |
| | | //èªå®ä¹åè°å½æ° |
| | | void fifo_ready_interrupt_callback(); |
| | | void double_click_interrupt_callback(); |
| | | void Pedo_interrupt_callback(); |
| | | void Wrist_interrupt_callback(); |
| | | |
| | | |
| | | |
| | | /* Gsensor data struct type. */ |
| | | typedef struct |
| | | { |
| | | signed short sXAxisVal; // X-Axis Value |
| | | signed short sYAxisVal; // Y-Axis Value |
| | | signed short sZAxisVal; // Z-Axis Value |
| | | } ST_GS_DATA_TYPE; |
| | | |
| | | |
| | | static ST_GS_DATA_TYPE gsensor_soft_fifo_buffer[255]; |
| | | |
| | | #endif |
| | | |
| | | |
| | | |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | #include "SC7A22H.h" |
| | | #include "mk_trace.h" |
| | | /***************软å¤ä½**********************/ |
| | | void SL_SC7A22H_Soft_Reset(void) |
| | | { |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SC7A22H_SPI_IIC_MODE,SL_SC7A22H_SOFT_RST, SL_SC7A22H_RESET_VALUE); |
| | | } |
| | | |
| | | |
| | | unsigned char SL_SC7A22H_Check(void) |
| | | { |
| | | SL_SC7A22H_I2c_Spi_Init(SL_SC7A22H_SPI_IIC_MODE); |
| | | unsigned char reg_value1=0; |
| | | unsigned char reg_value2=0; |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SC7A22H_SPI_IIC_MODE, 0x7f, 0x00); |
| | | delay_us(100); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE, SC7A22H_CHIP_ID_ADDRESS, 1, ®_value1); |
| | | if(reg_value1==0x18) |
| | | { |
| | | SC7A22H_get_Pedo(); |
| | | } |
| | | |
| | | #if SL_Sensor_Algo_Release_Enable==0x01 |
| | | |
| | | // printf("SC7A22_WHO_AM_I:0x%x\r\n",reg_value1); |
| | | LOG_INFO(TRACE_MODULE_APP,"SC7A22_WHO_AM_I:0x%x\r\n",reg_value1); |
| | | // printf( "SC7A22_VERSION:0x%x\r\n",reg_value2); |
| | | #endif |
| | | if((reg_value1==0x18)&&(reg_value2==0x22)) |
| | | return 0x01;//SC7A22H |
| | | else |
| | | return 0x00;//å
¶ä»è¯ç |
| | | } |
| | | |
| | | //è¯»åæ¶é´æ³ |
| | | //å20Hzçæ°æ®ï¼ç¸å½äºæ¯ä»FIFO䏿½åä¸ç»æ°æ® |
| | | unsigned int SL_SC7A22H_TimeStamp_Read(void) |
| | | { |
| | | unsigned char time_data[3]; |
| | | unsigned int time_stamp; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x18, 1, &time_data[0]); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x19, 1, &time_data[1]); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x20, 1, &time_data[2]); |
| | | |
| | | time_stamp=(unsigned int)(time_data[0]<<16|time_data[1]<<8|time_data[2]); |
| | | |
| | | return time_stamp; |
| | | } |
| | | |
| | | |
| | | unsigned char SL_SC7A22H_POWER_DOWN(void) |
| | | { |
| | | unsigned char SL_Read_Reg = 0xff; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7D, 0x00);//POWER DOWN |
| | | // SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7D, SL_Read_Reg); |
| | | if(SL_Read_Reg==0x00) return 1; |
| | | else return 0; |
| | | } |
| | | |
| | | |
| | | //è·åå é度åå§æ°æ® |
| | | void SL_SC7A22H_RawData_Read(signed short *x_data,signed short *y_data,signed short *z_data) |
| | | { |
| | | unsigned char raw_data[6]; |
| | | unsigned char drdy_satus; |
| | | unsigned short drdy_cnt=0; |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x0B, 1, &drdy_satus); |
| | | while((drdy_satus&0x03)!=0x03); |
| | | |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x0C, 6, &raw_data[0]); |
| | | |
| | | *x_data =(signed short)((((unsigned char)raw_data[0])* 256) + ((unsigned char)raw_data[1]));//16λ |
| | | *y_data =(signed short)((((unsigned char)raw_data[2])* 256) + ((unsigned char)raw_data[3]));//16λ |
| | | *z_data =(signed short)((((unsigned char)raw_data[4])* 256) + ((unsigned char)raw_data[5]));//16λ |
| | | #if SL_Sensor_Algo_Release_Enable==0x01 |
| | | printf("SC7A22H_rawdata_16bit:x:%d y:%d z:%d\r\n",*x_data,*y_data,*z_data); |
| | | #endif |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | unsigned char SL_SC7A22H_FIFO_DATA[512]; |
| | | //å20Hzçæ°æ®ï¼ç¸å½äºæ¯ä»FIFO䏿½åä¸ç»æ°æ® |
| | | unsigned char SL_SC7A22H_FIFO_Read(signed short *x_data_buf,signed short *y_data_buf,signed short *z_data_buf) |
| | | { |
| | | unsigned char fifo_num1=0; |
| | | unsigned char fifo_num2=0; |
| | | unsigned short fifo_num=0; |
| | | unsigned short fifo_len=0; |
| | | unsigned short j; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x1F,1,&fifo_num1); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x20,1,&fifo_num2); |
| | | |
| | | if((fifo_num1&0x10)==0x10) |
| | | { |
| | | fifo_num=256; |
| | | } |
| | | else |
| | | { |
| | | fifo_num=(fifo_num1&0x01)*256+fifo_num2; |
| | | } |
| | | |
| | | |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x21, fifo_num*2,SL_SC7A22H_FIFO_DATA);//åå°åè¿ç»è¯»å |
| | | |
| | | #if SL_Sensor_Algo_Release_Enable==1 |
| | | printf("0x1F:0x%x 0x20:0x%x\n",fifo_num1,fifo_num2); |
| | | printf("SC7A22H_FIFO_NUM1:%d\n",fifo_num); |
| | | printf("SC7A22H_FIFO_NUM2:%d\n",(fifo_num-2)/3);//I2C=4 SPI=2 |
| | | #endif |
| | | |
| | | for(j=0;j<(fifo_num-2)/3;j++) |
| | | { |
| | | //0-3=sensor timestamp |
| | | x_data_buf[j] =(signed short)(((unsigned char)SL_SC7A22H_FIFO_DATA[4+j*6] * 256 ) + (unsigned char)SL_SC7A22H_FIFO_DATA[5+j*6]);//16λ |
| | | y_data_buf[j] =(signed short)(((unsigned char)SL_SC7A22H_FIFO_DATA[6+j*6] * 256 ) + (unsigned char)SL_SC7A22H_FIFO_DATA[7+j*6]);//16λ |
| | | z_data_buf[j] =(signed short)(((unsigned char)SL_SC7A22H_FIFO_DATA[8+j*6] * 256 ) + (unsigned char)SL_SC7A22H_FIFO_DATA[9+j*6]);//16λ |
| | | // x_data_buf[j] =x_data_buf[0][j]/16;//12λ |
| | | // y_data_buf[j] =y_data_buf[0][j]/16;//12λ |
| | | // z_data_buf[j] =z_data_buf[0][j]/16;//12λ |
| | | #if SL_Sensor_Algo_Release_Enable==0x01 |
| | | // printf("SC7A22H_rawdata_16bit:len:%d x:%d y:%d z:%d\r\n",j,x_data_buf[j],y_data_buf[j],z_data_buf[j]); |
| | | #endif |
| | | } |
| | | |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x1D, 0x00);//BY PASS MODE |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x1D, 0x10);//FIFO MODE |
| | | |
| | | return fifo_len; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /***************å éåº¦è®¡æ°æ®è¯»å*1byte*********/ |
| | | void SL_SC7A22H_Read_XYZ_Data(signed short *SL_SC7A22H_Data_XYZ_Buf) |
| | | { |
| | | unsigned char SL_Read_Buf[7]; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE,SL_SC7A22H_DATA_STAT,1, &SL_Read_Buf[0]); |
| | | // |
| | | if((SL_Read_Buf[0]&0x0f)==0x0f) |
| | | { |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE,SL_SC7A22H_DATA_OUT,6, &SL_Read_Buf[1]); |
| | | |
| | | SL_SC7A22H_Data_XYZ_Buf[0]=(signed short)(SL_Read_Buf[6] << 8);//X BLE=0 |
| | | SL_SC7A22H_Data_XYZ_Buf[1]=(signed short)(SL_Read_Buf[2] << 8);//Y |
| | | SL_SC7A22H_Data_XYZ_Buf[2]=(signed short)(SL_Read_Buf[4] << 8);//Z |
| | | } |
| | | |
| | | } |
| | | |
| | | /***************å éåº¦è®¡æ°æ®è¯»åä¸ç»FIFOæ°æ®*********/ |
| | | void SL_SC7A22H_Read_XYZ_Data_FIFO(signed short *SL_SC7A22H_Data_XYZ_Buf) |
| | | { |
| | | unsigned char SL_Read_Buf[3]; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE,SL_SC7A22H_FIFO_DATA1,3, &SL_Read_Buf[0]); |
| | | |
| | | SL_SC7A22H_Data_XYZ_Buf[0]=(signed short)(SL_Read_Buf[2] << 8);//x |
| | | SL_SC7A22H_Data_XYZ_Buf[1]=(signed short)(SL_Read_Buf[0] << 8);//y |
| | | SL_SC7A22H_Data_XYZ_Buf[2]=(signed short)(SL_Read_Buf[1] << 8);//z |
| | | } |
| | | |
| | | /***************å éåº¦æ°æ®è½¬æ¢*********/ |
| | | void SL_SC7A22H_Data_Convert(signed short *SL_SC7A22H_Raw_Data_XYZ_Buf,signed short *SL_SC7A22H_Output_Data_XYZ_Buf,unsigned char SC7A22H_FS_Reg) |
| | | { |
| | | unsigned char ratio =0 ; |
| | | |
| | | switch (SC7A22H_FS_Reg) |
| | | { |
| | | case SL_SC7A22H_FS_2G: |
| | | ratio=1; |
| | | break; |
| | | case SL_SC7A22H_FS_4G: |
| | | ratio=2; |
| | | break; |
| | | case SL_SC7A22H_FS_8G: |
| | | ratio=4; |
| | | break; |
| | | case SL_SC7A22H_FS_16G: |
| | | ratio=8; |
| | | break; |
| | | default: |
| | | ratio=1; |
| | | break; |
| | | } |
| | | |
| | | SL_SC7A22H_Output_Data_XYZ_Buf[0]= (SL_SC7A22H_Raw_Data_XYZ_Buf[0] >> 4) * ratio; |
| | | SL_SC7A22H_Output_Data_XYZ_Buf[1]= (SL_SC7A22H_Raw_Data_XYZ_Buf[1] >> 4) * ratio; |
| | | SL_SC7A22H_Output_Data_XYZ_Buf[2]= (SL_SC7A22H_Raw_Data_XYZ_Buf[2] >> 4) * ratio; |
| | | printf("%d,%d,%d\r\n",SL_SC7A22H_Output_Data_XYZ_Buf[0], SL_SC7A22H_Output_Data_XYZ_Buf[1], SL_SC7A22H_Output_Data_XYZ_Buf[2]); |
| | | |
| | | } |
| | | |
| | | |
| | | static unsigned int SL_Step_Value_Temp=0; |
| | | //0:鿢 1:æ
¢èµ° 2:å¿«èµ° 3:è·æ¥ |
| | | unsigned char SL_SC7A22H_Get_Motion(void) |
| | | { |
| | | unsigned char sl_motion; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x3B, 1, &sl_motion); |
| | | // printf("SC7A22H_sl_motion:%d\r\n",sl_motion); |
| | | sl_motion=(sl_motion&0x30)>>4; |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | |
| | | return sl_motion; |
| | | } |
| | | |
| | | void SL_SC7A22H_Pedo_Reset(void) |
| | | { |
| | | unsigned char SL_Reg; |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE,0x3A,1, &SL_Reg); |
| | | SL_Reg=(SL_Reg&0x08)|0x05; |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x3A, SL_Reg); |
| | | SL_Step_Value_Temp=0; |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | } |
| | | |
| | | |
| | | //recommend IN TIMER <10s |
| | | unsigned int SL_SC7A22H_Get_Pedo_Count(void) |
| | | { |
| | | unsigned char SL_Step_Reg[2]; |
| | | unsigned short SL_Step_Value; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE,0x3C,2, &SL_Step_Reg[0]); |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | SL_Step_Value=(unsigned short)((SL_Step_Reg[1]<<8)|(SL_Step_Reg[0])); |
| | | |
| | | return SL_Step_Value; |
| | | } |
| | | |
| | | |
| | | // 0: 没æåç任使¬æç¶æ |
| | | // 1: å·²ç»åçäºæ¬æå¨ä½ |
| | | // 2: å·²ç»åçäºæ¾ä¸å¨ä½ |
| | | unsigned char SL_SC7A22H_Get_Wrist_Status(void) |
| | | { |
| | | unsigned char sl_wrist_status; |
| | | |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE,0x3E,1, &sl_wrist_status); |
| | | #if SL_Sensor_Algo_Release_Enable==0x01 |
| | | printf("SC7A22H_WRIST_STATUS:0x%x\r\n",sl_wrist_status); |
| | | #endif |
| | | #if SL_SC7A22H_WRIST_INT_MODE==0x00 //ä¸å沿表示æ¾ä¸ï¼ä¸éæ²¿è¡¨ç¤ºæ¬æ |
| | | if((sl_wrist_status&0x02)==0x02) |
| | | { |
| | | printf("å·²ç»åçäºæ¬æå¨ä½\r\n"); |
| | | return 1; |
| | | |
| | | } |
| | | else if((sl_wrist_status&0x04)==0x04) |
| | | { |
| | | printf("å·²ç»åçäºæ¾ä¸å¨ä½\r\n"); |
| | | return 2; |
| | | } |
| | | else |
| | | { |
| | | return 0;//å¼å¸¸æ
åµ |
| | | } |
| | | #else //ä¸éæ²¿è¡¨ç¤ºæ¬æææ¾ä¸ï¼éè¦ä¸æåæ¢ä¸æè§¦åæº,éè¿æ¥è¯¢ç¡®å®ä¸æ |
| | | if((sl_wrist_status&0x02)==0x02) |
| | | { |
| | | #if SC7A22H_INT2_WRIST_ON_DOWN==0x01 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00);//æ¥ååæ¢ä½¿ç¨ |
| | | sl_delay(1);//æ¥ååæ¢ä½¿ç¨ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x07, 0x14);//æ¥ååæ¢ä½¿ç¨ |
| | | #endif |
| | | return 1; |
| | | } |
| | | else if((sl_wrist_status&0x04)==0x04) |
| | | { |
| | | #if SC7A22H_INT2_WRIST_ON_DOWN==0x01 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00);//æ¥ååæ¢ä½¿ç¨ |
| | | sl_delay(1);//æ¥ååæ¢ä½¿ç¨ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x07, 0x13);//æ¥ååæ¢ä½¿ç¨ |
| | | #endif |
| | | return 2; |
| | | } |
| | | else |
| | | { |
| | | #if SC7A22H_INT2_WRIST_ON_DOWN==0x01 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90);//æ¥ååæ¢ä½¿ç¨ |
| | | sl_delay(1);//æ¥ååæ¢ä½¿ç¨ |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE,0x3E,1, &sl_wrist_status);//读å䏿¬¡ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x07, 0x14);//æ¥ååæ¢ä½¿ç¨ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00); |
| | | sl_delay(1); |
| | | #endif |
| | | return 0;//å¼å¸¸æ
åµ |
| | | } |
| | | #endif |
| | | return sl_wrist_status; |
| | | } |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | #include "SC7A22H.h" |
| | | #include "mk_trace.h" |
| | | |
| | | |
| | | |
| | | //轮询è·åä¸è½´æ°æ®ç¤ºä¾ |
| | | void SC7A22H_get_rawdata_Polling() |
| | | { |
| | | signed short SL_Read_Buf[3]={0}; |
| | | signed short SL_XYZ_Data[3]={0}; |
| | | unsigned char reg_value=0; |
| | | uint8_t data; |
| | | uint8_t buff[6]; |
| | | //1.åå§åéä¿¡æ¥å£ |
| | | SL_SC7A22H_I2c_Spi_Init(SL_SC7A22H_SPI_IIC_MODE); |
| | | |
| | | //2.å¤ä½è¯ç |
| | | SL_SC7A22H_Soft_Reset(); |
| | | SL_SC7A22H_Delay_Ms(1000); |
| | | |
| | | //3.æ£æ¥æ¯å¦è½è¯»åè¯çWHO AM Iå¯åå¨ |
| | | SL_SC7A22H_Check(); |
| | | |
| | | //4.å¯å¨ACC |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7F, 0x00);//goto 0x00 |
| | | SL_SC7A22H_Delay_Ms(10); |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7D, 0x04);//PWR_CTRL ENABLE ACC |
| | | SL_SC7A22H_Delay_Ms(10); |
| | | |
| | | //5.设置éç¨ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x41, 0x01);//ACC_RANGE ±4G |
| | | |
| | | //6.设置è¾åºéçæ´æ°ã工使¨¡å¼ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x40, 0x07);//ACC_CONF 50Hz 髿§è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x05, 0x50);//I2C_CFG |
| | | |
| | | |
| | | while(1) |
| | | { |
| | | SL_SC7A22H_Delay_Ms(1000); |
| | | //7.循ç¯è¯»åå éåº¦æ°æ® |
| | | SL_SC7A22H_RawData_Read(&gsensor_soft_fifo_buffer[0].sXAxisVal, &gsensor_soft_fifo_buffer[0].sYAxisVal, &gsensor_soft_fifo_buffer[0].sZAxisVal); |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | uint8_t fifo_ready_flag=0; |
| | | |
| | | /***************FIFO模å¼è·åXYZæ°æ®æ°´ä½ç¤ºä¾*********/ |
| | | void SC7A22H_get_rawdata_fifo_wtm_interrupt() |
| | | { |
| | | signed short SL_Read_Buf[3]={0}; |
| | | signed short SL_XYZ_Data[3]={0}; |
| | | unsigned char reg_value=0; |
| | | uint8_t data; |
| | | uint8_t FIFO_stat; |
| | | uint8_t buff[6]; |
| | | //1.åå§åéä¿¡æ¥å£ |
| | | SL_SC7A22H_I2c_Spi_Init(SL_SC7A22H_SPI_IIC_MODE); |
| | | |
| | | //2.å¤ä½è¯ç |
| | | SL_SC7A22H_Soft_Reset();//æ é®é¢ |
| | | |
| | | //3.æ£æ¥æ¯å¦è½è¯»åè¯çWHO AM Iå¯åå¨ |
| | | SL_SC7A22H_Check();//æ é®é¢ |
| | | |
| | | //4.å¯å¨ACC |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SC7A22H_SPI_IIC_MODE, 0x7D, 0x04);//PWR_CTRL ENABLE ACC |
| | | SL_SC7A22H_Delay_Ms(15); |
| | | |
| | | //5.设置éç¨ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x41, 0x01);//ACC_RANGE ±4G |
| | | |
| | | |
| | | //6.FIFOģʽ |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SPI_IIC_INTERFACE, 0x05, 1, ®_value); |
| | | reg_value=reg_value&0xEF;//addr_add_auto disable |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x05, reg_value); |
| | | //AOI1 䏿ä½ä¸º FIFO è§¦åæ¨¡å¼ä¸æäºä»¶è¾å
¥ï¼FIFOæ¨¡å¼ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x1D, 0x10);//fifo mode set |
| | | //WTM éå¼è®¾ç½®: 75 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x1E, 0x4B);//fifo fth set |
| | | //FIFOä½¿è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x1C, 0x04);//fifo enable |
| | | |
| | | //7.䏿é
ç½® int1ä¸æè§¦åæ¶è¾åºé«çµå¹³ï¼é»è®¤ä½çµå¹³ï¼, FIFOæ°´ä½ä¸æå¨ INT1 ä¸ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x06, 0x09);//INT_CFG1 |
| | | |
| | | //8.设置è¾åºéçæ´æ°ã工使¨¡å¼ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x40, 0x06);//ACC_CONF 25Hz ä½åèæ¨¡å¼ |
| | | |
| | | fifo_ready_flag=0; |
| | | while(1) |
| | | { |
| | | if(fifo_ready_flag) |
| | | { |
| | | |
| | | fifo_ready_flag=0; |
| | | SL_SC7A22H_FIFO_Read(&gsensor_soft_fifo_buffer[0].sXAxisVal, &gsensor_soft_fifo_buffer[0].sYAxisVal, &gsensor_soft_fifo_buffer[0].sZAxisVal); |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | //ç¨æ·éèªå®ä¹ä¸ææå¡å½æ°ï¼å½FIFOæ°æ®æ»¡æ¶INT1ä¼ä»ä½çµå¹³å为é«çµå¹³ï¼ç¨æ·å¯ä»¥IOææä¸å沿产ç䏿 |
| | | //å¨å
¶ä¸ææå¡ä¸è°ç¨æ¹å½æ° |
| | | void fifo_ready_interrupt_callback() |
| | | { |
| | | fifo_ready_flag=1; |
| | | } |
| | | |
| | | |
| | | |
| | | uint8_t double_click_flag=0; |
| | | /*******å廿£æµç¤ºä¾*********/ |
| | | void SC7A22H_get_double_click() |
| | | { |
| | | unsigned char reg_value=0; |
| | | unsigned char CLICK_status; |
| | | //1.åå§åéä¿¡æ¥å£ |
| | | SL_SC7A22H_I2c_Spi_Init(SL_SC7A22H_SPI_IIC_MODE); |
| | | |
| | | //2.å¤ä½è¯ç |
| | | SL_SC7A22H_Soft_Reset();//æ é®é¢ |
| | | |
| | | //3.æ£æ¥æ¯å¦è½è¯»åè¯çWHO AM Iå¯åå¨ |
| | | SL_SC7A22H_Check();//æ é®é¢ |
| | | |
| | | //4,å éåº¦è®¡ä½¿è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7D, 0x04);//PWR_CTRL ENABLE ACC |
| | | SL_SC7A22H_Delay_Ms(200); |
| | | |
| | | //5,éç¨è®¾ç½®ï¼+-4G |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x41, 0x01);//ACC_RANGE ±4G |
| | | |
| | | //6ï¼æ²å»ä¸æè®¾ç½® |
| | | //è¾åºæ°æ®å¯åå¨ä¸æ´æ°ç´å° MSB å LSB 被读å 2,å°åèªå¢ï¼è¿ç»è¯»åæ¶å°åèªå¢ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x05, 0x50);//I2C_CFG |
| | | //æ¨æ½è¾åºä½¿è½, ä¸æè§¦åæ¶è¾åºé«çµå¹³ï¼é»è®¤ä½çµå¹³ï¼ï¼CLICK ä¸æå¨ INT1 ä¸ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x06, 0x07);//INT_CFG1 CLICK TO INT1 |
| | | //ç¦æ¢æ»¤æ³¢ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x08, 0x00);//Disable DLPF |
| | | //AOI ä¸æä½¿è½ï¼AOI1滤波使è½ï¼éå AOI1_CFG å¯åå¨ä¸æå®ç䏿ååº |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x3F, 0x11);//HPIS1=1 LIR_AOI1 |
| | | //XYZ è½´é«äºä»¶ä¸ææè
Z è½´æ¹åæ£æµä¸æä½¿è½ï¼ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x30, 0x2A);//xyz for aoi1 or event |
| | | //AIO1éå¼ï¼4G----32mg*8=256mg |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x32, 0x08);//aoi1 vth |
| | | //è¯å«AIO1äºä»¶çæå°æç»æ¶é´ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x33, 0x02);//aoi1 tth |
| | | |
| | | //7ï¼æ²å»é
ç½® |
| | | //éè¦å°0x7Fï¼SEG_SELï¼é
ç½®0x90ååè¿è¡è®¿é®çå¯åå¨åå°åååå¼å¨ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7F, 0x90);//goto 0x90 |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | //è¾åºä¸æå¿
é¡»æ»¡è¶³è®¾ç½®çæ²å»éå¼ä¸ªæ°æè½è¾åºä¸æï¼å¦åæ 䏿è¾åº |
| | | //éåCLICK ä¸æç¶æ,ï¼ä½¿è½ XYZ è½´æ°æ®å䏿²å»æ£æµ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x38, 0x1F);//XYZ CLICK ENABLE AND LATCH INT LEVEL |
| | | //æ²å»åæ°æ®ç¨³å®æ¶é¿è®¾ç½®------20msï¼400hzï¼ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x40, 0x52);//CLICK_COEFF1 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x41, 0x9A);//CLICK_COEFF2 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x42, 0x04);//CLICK_COEFF3 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x43, 0x52);//CLICK_COEFF4 //0x52ä¸ç2表示æ²å»æ¬¡æ° |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7F, 0x00);//goto 0x00 |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | //8ï¼ä½åèæ¨¡å¼ä½¿è½ 400Hzè¾åº |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x40, 0x0A);//ACC_CONF 0x0A=400Hz |
| | | //9, 读åCLICK_SRCçç¶ææº |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE, 0x39, 1, &CLICK_status); |
| | | |
| | | //çå¾
ä¸æè§¦å |
| | | double_click_flag=0; |
| | | while(1) |
| | | { |
| | | if(double_click_flag) |
| | | { |
| | | double_click_flag=0; |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE, 0x39, 1, &CLICK_status); |
| | | printf("SC7A22H_INT1_SRC:%x\r\n",CLICK_status); |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | //ç¨æ·éèªå®ä¹ä¸ææå¡å½æ°ï¼å½è¿å¨æ£æµäºä»¶è§¦åæ¶INT1ä¼ä»é«çµå¹³å为ä½çµå¹³ï¼ç¨æ·å¯ä»¥IOææä¸é沿产ç䏿 |
| | | //å¨å
¶ä¸ææå¡ä¸è°ç¨æ¹å½æ° |
| | | void double_click_interrupt_callback() |
| | | { |
| | | double_click_flag=1; |
| | | } |
| | | |
| | | |
| | | |
| | | /***************è®¡æ¥æ£æµç¤ºä¾*********/ |
| | | uint8_t Pedo_flag=0; |
| | | void SC7A22H_get_Pedo() |
| | | { |
| | | unsigned char reg_value=0; |
| | | unsigned char Pedo_status; |
| | | unsigned int Pedo_Count; |
| | | //1.åå§åéä¿¡æ¥å£ |
| | | SL_SC7A22H_I2c_Spi_Init(SL_SC7A22H_SPI_IIC_MODE); |
| | | //2.å¤ä½è¯ç |
| | | SL_SC7A22H_Soft_Reset();//æ é®é¢ |
| | | //3.æ£æ¥æ¯å¦è½è¯»åè¯çWHO AM Iå¯åå¨ |
| | | // SL_SC7A22H_Check();//æ é®é¢ |
| | | //4,å éåº¦è®¡ä½¿è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7D, 0x04);//PWR_CTRL ENABLE ACC |
| | | SL_SC7A22H_Delay_Ms(200); |
| | | //5,éç¨è®¾ç½®ï¼+-4G |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x41, 0x01);//ACC_RANGE ±4G |
| | | //6ï¼ä¸æè®¾ç½® |
| | | //è¾åºæ°æ®å¯åå¨ä¸æ´æ°ç´å° MSB å LSB 被读å 2,å°åèªå¢ï¼è¿ç»è¯»åæ¶å°åèªå¢ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x05, 0x50);//I2C_CFG |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x06, 0x10);//DELTA_STEP ä¸æå¨ INT1 ä¸ |
| | | //å¯å¨æ»¤æ³¢ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x08, 0x05);//Enable DLPF |
| | | |
| | | //7ï¼è®¡æ¥è®¾ç½® |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | //æé©¬è¾¾åé³ä¹å¹²æ°ä½¿è½,计æ¥åè½ä½¿è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x3A, 0x05); |
| | | //è®¡æ¥æ¨¡å滤波å¨è®¾ç½® |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x46, 0x4F); |
| | | //计æ¥çµæåº¦:100,æä¼è®¡æ¥è½´æ¶é´éå¼è®¾ç½®:11 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x47, 0x23); |
| | | //æä½³æ°æ®æºåæ¢éå¼è®¾ç½®ï¼00ï¼èµ·å§æ¥æ°è®¾ç½®ï¼100ï¼è§å¾è®¡æ¥ç级ï¼011 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x48, 0x8F); |
| | | //忥éå¼ä¸éæ§å¶:100 ,忥éå¼ä¸éæ§å¶:101 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x49, 0x1C); |
| | | //XYZ åä¸è®¡æ¥,计æ¥åªå£°:0100 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x4A, 0x04); |
| | | //åªå£°è®¡æ°éå¼è®¾ç½®:100 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x4B, 0x8C); |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | //8ï¼ä½åèæ¨¡å¼ä½¿è½ 50Hzè¾åº |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x40, 0x26);////ACC_CONF 0x07=50Hz |
| | | |
| | | //çå¾
ä¸æè§¦å |
| | | Pedo_flag=0; |
| | | |
| | | } |
| | | uint8_t pedo_upload_count=0; |
| | | uint8_t pedo_upload_status=0; |
| | | extern uint8_t Pedo_flag; |
| | | void SC7A22H_get_Pedo_task() |
| | | { |
| | | if(Pedo_flag) |
| | | { |
| | | Pedo_flag=0; |
| | | pedo_upload_status=SL_SC7A22H_Get_Motion(); |
| | | pedo_upload_count=SL_SC7A22H_Get_Pedo_Count(); |
| | | LOG_INFO(TRACE_MODULE_APP,"SC7A22H_Pedo_status:%d\r\n",pedo_upload_status); |
| | | LOG_INFO(TRACE_MODULE_APP,"SC7A22H_Pedo_Count:%d\r\n",pedo_upload_count); |
| | | } |
| | | |
| | | } |
| | | |
| | | //计æ¥åè½å¯å¨å½æ° |
| | | |
| | | //ç¨æ·éèªå®ä¹ä¸ææå¡å½æ°ï¼å½è¿å¨æ£æµäºä»¶è§¦åæ¶INT1ä¼ä»é«çµå¹³å为ä½çµå¹³ï¼ç¨æ·å¯ä»¥IOææä¸é沿产ç䏿 |
| | | //å¨å
¶ä¸ææå¡ä¸è°ç¨æ¹å½æ° |
| | | void Pedo_interrupt_callback() |
| | | { |
| | | Pedo_flag=1; |
| | | } |
| | | |
| | | |
| | | |
| | | /***************æ¬è
æ£æµç¤ºä¾*********/ |
| | | uint8_t Wrist_flag=0; |
| | | void SC7A22H_get_Wrist() |
| | | { |
| | | unsigned char reg_value=0; |
| | | unsigned char Wrist_status; |
| | | unsigned int Wrist_Count; |
| | | //1.åå§åéä¿¡æ¥å£ |
| | | SL_SC7A22H_I2c_Spi_Init(SL_SC7A22H_SPI_IIC_MODE); |
| | | |
| | | //2.å¤ä½è¯ç |
| | | SL_SC7A22H_Soft_Reset();//æ é®é¢ |
| | | |
| | | //3.æ£æ¥æ¯å¦è½è¯»åè¯çWHO AM Iå¯åå¨ |
| | | SL_SC7A22H_Check();//æ é®é¢ |
| | | |
| | | //4,å éåº¦è®¡ä½¿è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x7D, 0x04);//PWR_CTRL ENABLE ACC |
| | | SL_SC7A22H_Delay_Ms(200); |
| | | |
| | | //5,éç¨è®¾ç½®ï¼+-4G |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x41, 0x01);//ACC_RANGE ±4G |
| | | |
| | | //6ï¼ä¸æè®¾ç½® |
| | | //è¾åºæ°æ®å¯åå¨ä¸æ´æ°ç´å° MSB å LSB 被读å 2,å°åèªå¢ï¼è¿ç»è¯»åæ¶å°åèªå¢ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x05, 0x50);//I2C_CFG |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x06, 0x15);//WRIST_ON_FLAG|WRIST_DOWN_FLAG ä¸æå¨ INT1 ä¸ |
| | | //å¯å¨æ»¤æ³¢ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x08, 0x05);//Enable DLPF |
| | | |
| | | //7ï¼æ¬è
设置 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x90); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | //æè
æ£æµä½¿è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x3E, 0x10); |
| | | //å
许è§åº¦è¯¯å·®è®¾ç½®:16LSB, è´´çä½ç½®è®¾ç½®ï¼æ£é¢çæ¥ä½ç½®3 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x51, 0x33); |
| | | //æ¬æç®æ è§åº¦å¼è®¾ç½®ä½:对åºå é度å¼4 |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x52, 0x02); |
| | | //æ¬æè¯å«çµæåº¦è®¾ç½®ï¼16LSBï¼æ¬æç¶æè§¦åæéæç»æ¶é´ç设置ï¼0.4s,ç¦»å¼æ¬æç¶æè§¦åæéæç»æ¶é´:0.4s |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x53, 0x93); |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE,0x7F, 0x00); |
| | | SL_SC7A22H_Delay_Ms(1); |
| | | //8ï¼ä½åèæ¨¡å¼ä½¿è½ 50Hzè¾åº |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x40, 0x26);////ACC_CONF 0x07=50Hz |
| | | //çå¾
ä¸æè§¦å |
| | | Wrist_flag=0; |
| | | while(1) |
| | | { |
| | | if(Wrist_flag) |
| | | { |
| | | Wrist_flag=0; |
| | | Wrist_status=SL_SC7A22H_Get_Wrist_Status(); |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | //ç¨æ·éèªå®ä¹ä¸ææå¡å½æ°ï¼å½è¿å¨æ£æµäºä»¶è§¦åæ¶INT1ä¼ä»é«çµå¹³å为ä½çµå¹³ï¼ç¨æ·å¯ä»¥IOææä¸é沿产ç䏿 |
| | | //å¨å
¶ä¸ææå¡ä¸è°ç¨æ¹å½æ° |
| | | void Wrist_interrupt_callback() |
| | | { |
| | | Wrist_flag=1; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | void SC7A22H_self_test() |
| | | { |
| | | signed short SL_Read_Buf[3]={0}; |
| | | signed short SL_XYZ_Data[3]={0}; |
| | | unsigned char reg_value=0; |
| | | uint8_t data; |
| | | uint8_t buff[6]; |
| | | //1.åå§åéä¿¡æ¥å£ |
| | | SL_SC7A22H_I2c_Spi_Init(SL_SC7A22H_SPI_IIC_MODE); |
| | | //2.å¤ä½è¯ç |
| | | SL_SC7A22H_Soft_Reset();//æ é®é¢ |
| | | //3.æ£æ¥æ¯å¦è½è¯»åè¯çWHO AM Iå¯åå¨ |
| | | SL_SC7A22H_Check();//æ é®é¢ |
| | | //å éåº¦è®¡ä½¿è½ |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SC7A22H_SPI_IIC_MODE, 0x7D, 0x04);//å éåº¦è®¡ä½¿è½ |
| | | delay_ms(15); |
| | | //ä½åèæ¨¡å¼ä½¿è½, ä½åèæ¨¡å¼:1ä¸ªæ°æ®å¹³å䏿¬¡ï¼50Hzè¾åº |
| | | |
| | | //å
¨éç¨éæ©:±8G |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x41, 0x02);//ACC_RANGE ±8G |
| | | SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE, 0x6D, 1, ®_value); |
| | | delay_ms(60); |
| | | |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x40, 0xac);//ACC_CONF 0x07=50Hz |
| | | delay_ms(60); |
| | | //å°åèªå¢ï¼è¿ç»è¯»åæ¶å°åèªå¢,è¿ç»æ´æ° |
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x05, 0x10);//I2C_CFG |
| | | delay_ms(60); |
| | | // SL_SC7A22H_I2c_Spi_Read(SL_SC7A22H_SPI_IIC_MODE, 0x6D, 1, ®_value); |
| | | //èªæµè¯æ¨¡å¼ä½¿è½---æ£æ¹åï¼ åè½¬ä½æ¯å¹
|
| | | SL_SC7A22H_I2c_Spi_Write(SL_SPI_IIC_INTERFACE, 0x6D, 0x05);// |
| | | |
| | | delay_ms(60); |
| | | while(1) |
| | | { |
| | | |
| | | SL_SC7A22H_RawData_Read(&gsensor_soft_fifo_buffer[0].sXAxisVal, &gsensor_soft_fifo_buffer[0].sYAxisVal, &gsensor_soft_fifo_buffer[0].sZAxisVal); |
| | | |
| | | delay_ms(1000); |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | #include "SC7A22H.h" |
| | | |
| | | |
| | | unsigned char SL_SC7A22H_I2c_Spi_Init(unsigned char sl_spi_iic) |
| | | { |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | unsigned char SL_SC7A22H_I2c_Spi_Write(unsigned char sl_spi_iic,unsigned char reg, unsigned char data) |
| | | { |
| | | |
| | | |
| | | LIS3DH_WriteOneByte(reg,data); |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | unsigned char SL_SC7A22H_I2c_Spi_Read(unsigned char sl_spi_iic,unsigned char reg, unsigned char len, unsigned char *buf) |
| | | { |
| | | // |
| | | // LIS3DH_ReadLenByte(reg,len); |
| | | SC7A22H_ReadLenByte(reg,len,buf); |
| | | return 1; |
| | | } |
| | | |
| | | |
| | | |
| | | void SL_SC7A22H_Delay_Ms(unsigned long int ms) |
| | | { |
| | | delay_ms(ms); |
| | | } |
| | | |
| | |
| | | // g_com_map[IMU_ENABLE]=0; |
| | | // } |
| | | lisid = mir3da_ReadOneByte(REG_CHIP_ID); |
| | | |
| | | SL_SC7A22H_Check(); |
| | | if(lisid == 0x13) |
| | | { |
| | | mir3da_init(); |
| | |
| | | } |
| | | return temp; |
| | | } |
| | | |
| | | void SC7A22H_ReadLenByte(uint16_t ReadAddr, uint8_t Len, uint8_t *buf) |
| | | { |
| | | for(uint8_t t = 0; t < Len; t++) |
| | | { |
| | | buf[t] = LIS3DH_ReadOneByte(ReadAddr + t); |
| | | } |
| | | } |
| | | //å¨mir3daéé¢çæå®å°åå¼å§è¯»ä¸åèæ°æ® |
| | | //ReadAddr :读åºçå°å |
| | | //è¿åå¼ :读åºçæ°æ® |
| | |
| | | gpio_open(); |
| | | IIC2_Init(); |
| | | Accelerometer_Init(); |
| | | |
| | | // delay_ms(100); |
| | | BarInit(); |
| | | // delay_ms(100); |
| | |
| | | flag_secondtask = 0; |
| | | SecondTask(); |
| | | } |
| | | SC7A22H_get_Pedo_task(); |
| | | IMUTask(); |
| | | IdleTask(); |
| | | check_step_and_update_state(); |
| | |
| | | |
| | | extern uint8_t exercise_state; |
| | | extern uint32_t step_count; |
| | | extern uint8_t pedo_upload_count; |
| | | extern uint8_t pedo_upload_status; |
| | | extern uint16_t gaodu;void UDPClient_UploadGPS(HIDO_CHAR *_pcGGA) |
| | | { |
| | | if(TCP_CLIENT_STATE_CONNECTED == l_eTCPClientState) |
| | |
| | | #ifdef JIBU_XIUMIAN |
| | | HIDO_UINT32 u32Len = HIDO_UtilSnprintf((HIDO_CHAR *)l_au8CmdBuff, sizeof(l_au8CmdBuff), "%s,%X,%02x,%x,%d,%d,%d%\r\n", |
| | | // _pcGGA, g_com_map[DEV_ID], bat_percent,ave_sp,0,0,0); |
| | | _pcGGA, g_com_map[DEV_ID], bat_percent,ave_sp,gaodu,(uint8_t)(step_count),exercise_state); |
| | | _pcGGA, g_com_map[DEV_ID], bat_percent,ave_sp,gaodu,pedo_upload_count,pedo_upload_status); |
| | | #else |
| | | HIDO_UINT32 u32Len = HIDO_UtilSnprintf((HIDO_CHAR *)l_au8CmdBuff, sizeof(l_au8CmdBuff), "%s,%X,%02x,%x,%d,%d,%d%\r\n", |
| | | _pcGGA, g_com_map[DEV_ID], bat_percent,ave_sp,gaodu,0,0); |
| | |
| | | <SetRegEntry> |
| | | <Number>0</Number> |
| | | <Key>DLGUARM</Key> |
| | | <Name>d</Name> |
| | | <Name></Name> |
| | | </SetRegEntry> |
| | | <SetRegEntry> |
| | | <Number>0</Number> |
| | |
| | | <Bp> |
| | | <Number>0</Number> |
| | | <Type>0</Type> |
| | | <LineNumber>528</LineNumber> |
| | | <LineNumber>133</LineNumber> |
| | | <EnabledFlag>1</EnabledFlag> |
| | | <Address>44616</Address> |
| | | <ByteObject>0</ByteObject> |
| | | <HtxType>0</HtxType> |
| | | <ManyObjects>0</ManyObjects> |
| | | <SizeOfObject>0</SizeOfObject> |
| | | <BreakByAccess>0</BreakByAccess> |
| | | <BreakIfRCount>1</BreakIfRCount> |
| | | <Filename>D:\zhangbo\2024\Code\ChinaUWB\éªå®æ±ç»ç»î²\ChinaUWBProject\keil\include\src\TCPClient.c</Filename> |
| | | <ExecCommand></ExecCommand> |
| | | <Expression>\\uwb_simple_example\include/src/TCPClient.c\528</Expression> |
| | | </Bp> |
| | | <Bp> |
| | | <Number>1</Number> |
| | | <Type>0</Type> |
| | | <LineNumber>672</LineNumber> |
| | | <EnabledFlag>1</EnabledFlag> |
| | | <Address>12872</Address> |
| | | <ByteObject>0</ByteObject> |
| | | <HtxType>0</HtxType> |
| | | <ManyObjects>0</ManyObjects> |
| | | <SizeOfObject>0</SizeOfObject> |
| | | <BreakByAccess>0</BreakByAccess> |
| | | <BreakIfRCount>1</BreakIfRCount> |
| | | <Filename>D:\zhangbo\2024\Code\ChinaUWB\éªå®æ±ç»ç»î²\ChinaUWBProject\keil\include\src\GPS.c</Filename> |
| | | <ExecCommand></ExecCommand> |
| | | <Expression>\\uwb_simple_example\include/src/GPS.c\672</Expression> |
| | | </Bp> |
| | | <Bp> |
| | | <Number>2</Number> |
| | | <Type>0</Type> |
| | | <LineNumber>1013</LineNumber> |
| | | <EnabledFlag>1</EnabledFlag> |
| | | <Address>65394</Address> |
| | | <Address>83906</Address> |
| | | <ByteObject>0</ByteObject> |
| | | <HtxType>0</HtxType> |
| | | <ManyObjects>0</ManyObjects> |
| | |
| | | <BreakIfRCount>1</BreakIfRCount> |
| | | <Filename>D:\zhangbo\2024\Code\ChinaUWB\éªå®æ±ç»ç»î²\ChinaUWBProject\keil\include\main\main.c</Filename> |
| | | <ExecCommand></ExecCommand> |
| | | <Expression>\\uwb_simple_example\include/main/main.c\1013</Expression> |
| | | </Bp> |
| | | <Bp> |
| | | <Number>3</Number> |
| | | <Type>0</Type> |
| | | <LineNumber>1014</LineNumber> |
| | | <EnabledFlag>1</EnabledFlag> |
| | | <Address>0</Address> |
| | | <ByteObject>0</ByteObject> |
| | | <HtxType>0</HtxType> |
| | | <ManyObjects>0</ManyObjects> |
| | | <SizeOfObject>0</SizeOfObject> |
| | | <BreakByAccess>0</BreakByAccess> |
| | | <BreakIfRCount>0</BreakIfRCount> |
| | | <Filename>.\include\main\main.c</Filename> |
| | | <ExecCommand></ExecCommand> |
| | | <Expression></Expression> |
| | | <Expression>\\uwb_simple_example\include/main/main.c\133</Expression> |
| | | </Bp> |
| | | </Breakpoint> |
| | | <WatchWindow1> |
| | |
| | | <Ww> |
| | | <count>0</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>tag_id_recv</ItemText> |
| | | <ItemText>temp</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>1</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>tagid_list</ItemText> |
| | | <ItemText>temp</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>2</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>tagdist_list</ItemText> |
| | | <ItemText>reg_value1</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>3</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>tagid_list</ItemText> |
| | | <ItemText>Pedo_status</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>4</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>group_id,0x0A</ItemText> |
| | | <ItemText>Pedo_flag</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>5</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>rx_buf</ItemText> |
| | | <ItemText>test51</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>6</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>tagofflinetime,0x0A</ItemText> |
| | | <ItemText>SC7id</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>7</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>taglist_num</ItemText> |
| | | <ItemText>pedo_upload_status</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>8</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>nomove_count</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>9</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>tag_id_recv</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>10</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>group_id</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>11</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>group_id</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>12</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>rec_nearbase_num</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>13</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>uwb_offtime_count,0x0A</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>14</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>current_state</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>15</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>_u32Event</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>16</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>elapsed_time_jibu</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>17</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>state_start_time,0x0A</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>18</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>uwb_time_count,0x0A</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>19</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>uwb_offtime_count,0x0A</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>20</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>state_start_time,0x0A</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>21</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>step_count,0x0A</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>22</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>uwb_time_count,0x0A</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>23</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>state_start_time_jibu</ItemText> |
| | | </Ww> |
| | | <Ww> |
| | | <count>24</count> |
| | | <WinNumber>2</WinNumber> |
| | | <ItemText>current_state</ItemText> |
| | | <ItemText>pedo_upload_count,0x0A</ItemText> |
| | | </Ww> |
| | | </WatchWindow2> |
| | | <MemoryWindow1> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <bShared>0</bShared> |
| | | </File> |
| | | <File> |
| | | <GroupNumber>3</GroupNumber> |
| | | <FileNumber>34</FileNumber> |
| | | <FileType>5</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | | <bDave2>0</bDave2> |
| | | <PathWithFileName>.\include\drivers\SC7A22H.h</PathWithFileName> |
| | | <FilenameWithoutPath>SC7A22H.h</FilenameWithoutPath> |
| | | <RteFlg>0</RteFlg> |
| | | <bShared>0</bShared> |
| | | </File> |
| | | <File> |
| | | <GroupNumber>3</GroupNumber> |
| | | <FileNumber>35</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | | <bDave2>0</bDave2> |
| | | <PathWithFileName>.\include\drivers\SC7A22H_driver.c</PathWithFileName> |
| | | <FilenameWithoutPath>SC7A22H_driver.c</FilenameWithoutPath> |
| | | <RteFlg>0</RteFlg> |
| | | <bShared>0</bShared> |
| | | </File> |
| | | <File> |
| | | <GroupNumber>3</GroupNumber> |
| | | <FileNumber>36</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | | <bDave2>0</bDave2> |
| | | <PathWithFileName>.\include\drivers\SC7A22H_example.c</PathWithFileName> |
| | | <FilenameWithoutPath>SC7A22H_example.c</FilenameWithoutPath> |
| | | <RteFlg>0</RteFlg> |
| | | <bShared>0</bShared> |
| | | </File> |
| | | <File> |
| | | <GroupNumber>3</GroupNumber> |
| | | <FileNumber>37</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | | <bDave2>0</bDave2> |
| | | <PathWithFileName>.\include\drivers\SC7A22H_port.c</PathWithFileName> |
| | | <FilenameWithoutPath>SC7A22H_port.c</FilenameWithoutPath> |
| | | <RteFlg>0</RteFlg> |
| | | <bShared>0</bShared> |
| | | </File> |
| | | </Group> |
| | | |
| | | <Group> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>34</FileNumber> |
| | | <FileNumber>38</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>35</FileNumber> |
| | | <FileNumber>39</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>36</FileNumber> |
| | | <FileNumber>40</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>37</FileNumber> |
| | | <FileNumber>41</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>38</FileNumber> |
| | | <FileNumber>42</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>39</FileNumber> |
| | | <FileNumber>43</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>40</FileNumber> |
| | | <FileNumber>44</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>41</FileNumber> |
| | | <FileNumber>45</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>42</FileNumber> |
| | | <FileNumber>46</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>43</FileNumber> |
| | | <FileNumber>47</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>44</FileNumber> |
| | | <FileNumber>48</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>45</FileNumber> |
| | | <FileNumber>49</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>46</FileNumber> |
| | | <FileNumber>50</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>47</FileNumber> |
| | | <FileNumber>51</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>48</FileNumber> |
| | | <FileNumber>52</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>49</FileNumber> |
| | | <FileNumber>53</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>50</FileNumber> |
| | | <FileNumber>54</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>51</FileNumber> |
| | | <FileNumber>55</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>52</FileNumber> |
| | | <FileNumber>56</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>53</FileNumber> |
| | | <FileNumber>57</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>54</FileNumber> |
| | | <FileNumber>58</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>55</FileNumber> |
| | | <FileNumber>59</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>4</GroupNumber> |
| | | <FileNumber>56</FileNumber> |
| | | <FileNumber>60</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>57</FileNumber> |
| | | <FileNumber>61</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>58</FileNumber> |
| | | <FileNumber>62</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>59</FileNumber> |
| | | <FileNumber>63</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>60</FileNumber> |
| | | <FileNumber>64</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>61</FileNumber> |
| | | <FileNumber>65</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>62</FileNumber> |
| | | <FileNumber>66</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>63</FileNumber> |
| | | <FileNumber>67</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>64</FileNumber> |
| | | <FileNumber>68</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>65</FileNumber> |
| | | <FileNumber>69</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>5</GroupNumber> |
| | | <FileNumber>66</FileNumber> |
| | | <FileNumber>70</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <File> |
| | | <GroupNumber>6</GroupNumber> |
| | | <FileNumber>67</FileNumber> |
| | | <FileNumber>71</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>6</GroupNumber> |
| | | <FileNumber>68</FileNumber> |
| | | <FileNumber>72</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>6</GroupNumber> |
| | | <FileNumber>69</FileNumber> |
| | | <FileNumber>73</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <File> |
| | | <GroupNumber>8</GroupNumber> |
| | | <FileNumber>70</FileNumber> |
| | | <FileNumber>74</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>8</GroupNumber> |
| | | <FileNumber>71</FileNumber> |
| | | <FileNumber>75</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <File> |
| | | <GroupNumber>9</GroupNumber> |
| | | <FileNumber>72</FileNumber> |
| | | <FileNumber>76</FileNumber> |
| | | <FileType>4</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>9</GroupNumber> |
| | | <FileNumber>73</FileNumber> |
| | | <FileNumber>77</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>74</FileNumber> |
| | | <FileNumber>78</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>75</FileNumber> |
| | | <FileNumber>79</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>76</FileNumber> |
| | | <FileNumber>80</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>77</FileNumber> |
| | | <FileNumber>81</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>78</FileNumber> |
| | | <FileNumber>82</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>79</FileNumber> |
| | | <FileNumber>83</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>80</FileNumber> |
| | | <FileNumber>84</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>81</FileNumber> |
| | | <FileNumber>85</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>82</FileNumber> |
| | | <FileNumber>86</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>83</FileNumber> |
| | | <FileNumber>87</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>84</FileNumber> |
| | | <FileNumber>88</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | </File> |
| | | <File> |
| | | <GroupNumber>10</GroupNumber> |
| | | <FileNumber>85</FileNumber> |
| | | <FileNumber>89</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | <RteFlg>0</RteFlg> |
| | | <File> |
| | | <GroupNumber>11</GroupNumber> |
| | | <FileNumber>86</FileNumber> |
| | | <FileNumber>90</FileNumber> |
| | | <FileType>1</FileType> |
| | | <tvExp>0</tvExp> |
| | | <tvExpOptDlg>0</tvExpOptDlg> |
| | |
| | | <FileType>1</FileType> |
| | | <FilePath>.\include\drivers\lis3dh_driver.c</FilePath> |
| | | </File> |
| | | <File> |
| | | <FileName>SC7A22H.h</FileName> |
| | | <FileType>5</FileType> |
| | | <FilePath>.\include\drivers\SC7A22H.h</FilePath> |
| | | </File> |
| | | <File> |
| | | <FileName>SC7A22H_driver.c</FileName> |
| | | <FileType>1</FileType> |
| | | <FilePath>.\include\drivers\SC7A22H_driver.c</FilePath> |
| | | </File> |
| | | <File> |
| | | <FileName>SC7A22H_example.c</FileName> |
| | | <FileType>1</FileType> |
| | | <FilePath>.\include\drivers\SC7A22H_example.c</FilePath> |
| | | </File> |
| | | <File> |
| | | <FileName>SC7A22H_port.c</FileName> |
| | | <FileType>1</FileType> |
| | | <FilePath>.\include\drivers\SC7A22H_port.c</FilePath> |
| | | </File> |
| | | </Files> |
| | | </Group> |
| | | <Group> |