├── .github
├── ISSUE_TEMPLATE
│ ├── 1_bug_report.yml
│ ├── 2_feature_request.yml
│ ├── 3_documentation_problem.yml
│ ├── 4_ask_question.yml
│ ├── 5_general_issues.yml
│ └── config.yml
└── PULL_REQUEST_TEMPLATE.md
├── .gitignore
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── Doxyfile
├── LICENSE
├── README.md
├── README_de.md
├── README_ja.md
├── README_ko.md
├── README_zh-Hans.md
├── README_zh-Hant.md
├── SECURITY.md
├── datasheet
└── sht4x_datasheet.pdf
├── doc
├── html
│ ├── annotated.html
│ ├── annotated_dup.js
│ ├── bc_s.png
│ ├── bdwn.png
│ ├── classes.html
│ ├── closed.png
│ ├── dir_11ec664f88f5f079ad4de1adb8458c37.html
│ ├── dir_11ec664f88f5f079ad4de1adb8458c37.js
│ ├── dir_13e138d54eb8818da29c3992edef070a.html
│ ├── dir_13e138d54eb8818da29c3992edef070a.js
│ ├── dir_68267d1309a1af8e8297ef4c3efbcdba.html
│ ├── dir_68267d1309a1af8e8297ef4c3efbcdba.js
│ ├── dir_b31d54d5631803016a26f28213a41162.html
│ ├── dir_b31d54d5631803016a26f28213a41162.js
│ ├── dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html
│ ├── dir_cfafba98a580ce4b62f8a6fa96d7cbb0.js
│ ├── dir_e68e8157741866f444e17edd764ebbae.html
│ ├── dir_e68e8157741866f444e17edd764ebbae.js
│ ├── doc.png
│ ├── doxygen.css
│ ├── doxygen.png
│ ├── doxygen.svg
│ ├── driver__sht4x_8c.html
│ ├── driver__sht4x_8c.js
│ ├── driver__sht4x_8c_source.html
│ ├── driver__sht4x_8h.html
│ ├── driver__sht4x_8h.js
│ ├── driver__sht4x_8h_source.html
│ ├── driver__sht4x__basic_8c.html
│ ├── driver__sht4x__basic_8c.js
│ ├── driver__sht4x__basic_8c_source.html
│ ├── driver__sht4x__basic_8h.html
│ ├── driver__sht4x__basic_8h.js
│ ├── driver__sht4x__basic_8h_source.html
│ ├── driver__sht4x__interface_8h.html
│ ├── driver__sht4x__interface_8h.js
│ ├── driver__sht4x__interface_8h_source.html
│ ├── driver__sht4x__interface__template_8c.html
│ ├── driver__sht4x__interface__template_8c.js
│ ├── driver__sht4x__interface__template_8c_source.html
│ ├── driver__sht4x__read__test_8c.html
│ ├── driver__sht4x__read__test_8c.js
│ ├── driver__sht4x__read__test_8c_source.html
│ ├── driver__sht4x__read__test_8h.html
│ ├── driver__sht4x__read__test_8h.js
│ ├── driver__sht4x__read__test_8h_source.html
│ ├── dynsections.js
│ ├── files.html
│ ├── files_dup.js
│ ├── folderclosed.png
│ ├── folderopen.png
│ ├── functions.html
│ ├── functions_vars.html
│ ├── globals.html
│ ├── globals_defs.html
│ ├── globals_enum.html
│ ├── globals_eval.html
│ ├── globals_func.html
│ ├── globals_type.html
│ ├── group__sht4x__base__driver.html
│ ├── group__sht4x__base__driver.js
│ ├── group__sht4x__driver.html
│ ├── group__sht4x__driver.js
│ ├── group__sht4x__example__driver.html
│ ├── group__sht4x__example__driver.js
│ ├── group__sht4x__extend__driver.html
│ ├── group__sht4x__extend__driver.js
│ ├── group__sht4x__interface__driver.html
│ ├── group__sht4x__interface__driver.js
│ ├── group__sht4x__link__driver.html
│ ├── group__sht4x__link__driver.js
│ ├── group__sht4x__test__driver.html
│ ├── group__sht4x__test__driver.js
│ ├── index.html
│ ├── jquery.js
│ ├── mainpage_8h.html
│ ├── mainpage_8h_source.html
│ ├── menu.js
│ ├── menudata.js
│ ├── modules.html
│ ├── modules.js
│ ├── nav_f.png
│ ├── nav_g.png
│ ├── nav_h.png
│ ├── navtree.css
│ ├── navtree.js
│ ├── navtreedata.js
│ ├── navtreeindex0.js
│ ├── open.png
│ ├── resize.js
│ ├── search
│ │ ├── all_0.html
│ │ ├── all_0.js
│ │ ├── all_1.html
│ │ ├── all_1.js
│ │ ├── all_2.html
│ │ ├── all_2.js
│ │ ├── all_3.html
│ │ ├── all_3.js
│ │ ├── all_4.html
│ │ ├── all_4.js
│ │ ├── all_5.html
│ │ ├── all_5.js
│ │ ├── all_6.html
│ │ ├── all_6.js
│ │ ├── classes_0.html
│ │ ├── classes_0.js
│ │ ├── close.svg
│ │ ├── defines_0.html
│ │ ├── defines_0.js
│ │ ├── defines_1.html
│ │ ├── defines_1.js
│ │ ├── defines_2.html
│ │ ├── defines_2.js
│ │ ├── defines_3.html
│ │ ├── defines_3.js
│ │ ├── defines_4.html
│ │ ├── defines_4.js
│ │ ├── enums_0.html
│ │ ├── enums_0.js
│ │ ├── enumvalues_0.html
│ │ ├── enumvalues_0.js
│ │ ├── files_0.html
│ │ ├── files_0.js
│ │ ├── files_1.html
│ │ ├── files_1.js
│ │ ├── functions_0.html
│ │ ├── functions_0.js
│ │ ├── groups_0.html
│ │ ├── groups_0.js
│ │ ├── mag_sel.svg
│ │ ├── nomatches.html
│ │ ├── pages_0.html
│ │ ├── pages_0.js
│ │ ├── search.css
│ │ ├── search.js
│ │ ├── search_l.png
│ │ ├── search_m.png
│ │ ├── search_r.png
│ │ ├── searchdata.js
│ │ ├── typedefs_0.html
│ │ ├── typedefs_0.js
│ │ ├── variables_0.html
│ │ ├── variables_0.js
│ │ ├── variables_1.html
│ │ ├── variables_1.js
│ │ ├── variables_2.html
│ │ ├── variables_2.js
│ │ ├── variables_3.html
│ │ ├── variables_3.js
│ │ ├── variables_4.html
│ │ ├── variables_4.js
│ │ ├── variables_5.html
│ │ └── variables_5.js
│ ├── splitbar.png
│ ├── structsht4x__handle__s.html
│ ├── structsht4x__handle__s.js
│ ├── structsht4x__info__s.html
│ ├── structsht4x__info__s.js
│ ├── sync_off.png
│ ├── sync_on.png
│ ├── tab_a.png
│ ├── tab_b.png
│ ├── tab_h.png
│ ├── tab_s.png
│ └── tabs.css
├── image
│ ├── doxygen.png
│ ├── logo.svg
│ └── misra.svg
└── mainpage
│ └── mainpage.h
├── example
├── driver_sht4x_basic.c
└── driver_sht4x_basic.h
├── interface
├── driver_sht4x_interface.h
└── driver_sht4x_interface_template.c
├── misra
├── README.md
└── sht4x_polyspace_report.pdf
├── project
├── raspberrypi4b
│ ├── CMakeLists.txt
│ ├── J8Header.jpg
│ ├── Makefile
│ ├── README.md
│ ├── cmake
│ │ ├── VERSION
│ │ ├── config.cmake.in
│ │ └── uninstall.cmake
│ ├── driver
│ │ └── src
│ │ │ └── raspberrypi4b_driver_sht4x_interface.c
│ ├── interface
│ │ ├── inc
│ │ │ └── iic.h
│ │ └── src
│ │ │ └── iic.c
│ └── src
│ │ └── main.c
└── stm32f407
│ ├── EW
│ ├── stm32f407.dep
│ ├── stm32f407.ewd
│ ├── stm32f407.ewp
│ ├── stm32f407.ewt
│ └── stm32f407.eww
│ ├── MDK
│ └── stm32f407.uvprojx
│ ├── README.md
│ ├── cmsis
│ ├── cmsis_armcc.h
│ ├── cmsis_armclang.h
│ ├── cmsis_compiler.h
│ ├── cmsis_gcc.h
│ ├── cmsis_iccarm.h
│ ├── cmsis_version.h
│ ├── core_armv8mbl.h
│ ├── core_armv8mml.h
│ ├── core_cm0.h
│ ├── core_cm0plus.h
│ ├── core_cm1.h
│ ├── core_cm23.h
│ ├── core_cm3.h
│ ├── core_cm33.h
│ ├── core_cm4.h
│ ├── core_cm7.h
│ ├── core_sc000.h
│ ├── core_sc300.h
│ ├── mpu_armv7.h
│ ├── mpu_armv8.h
│ └── tz_context.h
│ ├── driver
│ └── src
│ │ └── stm32f407_driver_sht4x_interface.c
│ ├── hal
│ ├── asm
│ │ ├── startup_stm32f407xx_ew.s
│ │ └── startup_stm32f407xx_mdk.s
│ ├── inc
│ │ ├── Legacy
│ │ │ ├── stm32_hal_legacy.h
│ │ │ ├── stm32f4xx_hal_can_legacy.h
│ │ │ └── stm32f4xx_hal_eth_legacy.h
│ │ ├── stm32_assert_template.h
│ │ ├── stm32f4xx_hal.h
│ │ ├── stm32f4xx_hal_adc.h
│ │ ├── stm32f4xx_hal_adc_ex.h
│ │ ├── stm32f4xx_hal_can.h
│ │ ├── stm32f4xx_hal_cec.h
│ │ ├── stm32f4xx_hal_conf_template.h
│ │ ├── stm32f4xx_hal_cortex.h
│ │ ├── stm32f4xx_hal_crc.h
│ │ ├── stm32f4xx_hal_cryp.h
│ │ ├── stm32f4xx_hal_cryp_ex.h
│ │ ├── stm32f4xx_hal_dac.h
│ │ ├── stm32f4xx_hal_dac_ex.h
│ │ ├── stm32f4xx_hal_dcmi.h
│ │ ├── stm32f4xx_hal_dcmi_ex.h
│ │ ├── stm32f4xx_hal_def.h
│ │ ├── stm32f4xx_hal_dfsdm.h
│ │ ├── stm32f4xx_hal_dma.h
│ │ ├── stm32f4xx_hal_dma2d.h
│ │ ├── stm32f4xx_hal_dma_ex.h
│ │ ├── stm32f4xx_hal_dsi.h
│ │ ├── stm32f4xx_hal_eth.h
│ │ ├── stm32f4xx_hal_exti.h
│ │ ├── stm32f4xx_hal_flash.h
│ │ ├── stm32f4xx_hal_flash_ex.h
│ │ ├── stm32f4xx_hal_flash_ramfunc.h
│ │ ├── stm32f4xx_hal_fmpi2c.h
│ │ ├── stm32f4xx_hal_fmpi2c_ex.h
│ │ ├── stm32f4xx_hal_fmpsmbus.h
│ │ ├── stm32f4xx_hal_fmpsmbus_ex.h
│ │ ├── stm32f4xx_hal_gpio.h
│ │ ├── stm32f4xx_hal_gpio_ex.h
│ │ ├── stm32f4xx_hal_hash.h
│ │ ├── stm32f4xx_hal_hash_ex.h
│ │ ├── stm32f4xx_hal_hcd.h
│ │ ├── stm32f4xx_hal_i2c.h
│ │ ├── stm32f4xx_hal_i2c_ex.h
│ │ ├── stm32f4xx_hal_i2s.h
│ │ ├── stm32f4xx_hal_i2s_ex.h
│ │ ├── stm32f4xx_hal_irda.h
│ │ ├── stm32f4xx_hal_iwdg.h
│ │ ├── stm32f4xx_hal_lptim.h
│ │ ├── stm32f4xx_hal_ltdc.h
│ │ ├── stm32f4xx_hal_ltdc_ex.h
│ │ ├── stm32f4xx_hal_mmc.h
│ │ ├── stm32f4xx_hal_nand.h
│ │ ├── stm32f4xx_hal_nor.h
│ │ ├── stm32f4xx_hal_pccard.h
│ │ ├── stm32f4xx_hal_pcd.h
│ │ ├── stm32f4xx_hal_pcd_ex.h
│ │ ├── stm32f4xx_hal_pwr.h
│ │ ├── stm32f4xx_hal_pwr_ex.h
│ │ ├── stm32f4xx_hal_qspi.h
│ │ ├── stm32f4xx_hal_rcc.h
│ │ ├── stm32f4xx_hal_rcc_ex.h
│ │ ├── stm32f4xx_hal_rng.h
│ │ ├── stm32f4xx_hal_rtc.h
│ │ ├── stm32f4xx_hal_rtc_ex.h
│ │ ├── stm32f4xx_hal_sai.h
│ │ ├── stm32f4xx_hal_sai_ex.h
│ │ ├── stm32f4xx_hal_sd.h
│ │ ├── stm32f4xx_hal_sdram.h
│ │ ├── stm32f4xx_hal_smartcard.h
│ │ ├── stm32f4xx_hal_smbus.h
│ │ ├── stm32f4xx_hal_spdifrx.h
│ │ ├── stm32f4xx_hal_spi.h
│ │ ├── stm32f4xx_hal_sram.h
│ │ ├── stm32f4xx_hal_tim.h
│ │ ├── stm32f4xx_hal_tim_ex.h
│ │ ├── stm32f4xx_hal_uart.h
│ │ ├── stm32f4xx_hal_usart.h
│ │ ├── stm32f4xx_hal_wwdg.h
│ │ ├── stm32f4xx_ll_adc.h
│ │ ├── stm32f4xx_ll_bus.h
│ │ ├── stm32f4xx_ll_cortex.h
│ │ ├── stm32f4xx_ll_crc.h
│ │ ├── stm32f4xx_ll_dac.h
│ │ ├── stm32f4xx_ll_dma.h
│ │ ├── stm32f4xx_ll_dma2d.h
│ │ ├── stm32f4xx_ll_exti.h
│ │ ├── stm32f4xx_ll_fmc.h
│ │ ├── stm32f4xx_ll_fmpi2c.h
│ │ ├── stm32f4xx_ll_fsmc.h
│ │ ├── stm32f4xx_ll_gpio.h
│ │ ├── stm32f4xx_ll_i2c.h
│ │ ├── stm32f4xx_ll_iwdg.h
│ │ ├── stm32f4xx_ll_lptim.h
│ │ ├── stm32f4xx_ll_pwr.h
│ │ ├── stm32f4xx_ll_rcc.h
│ │ ├── stm32f4xx_ll_rng.h
│ │ ├── stm32f4xx_ll_rtc.h
│ │ ├── stm32f4xx_ll_sdmmc.h
│ │ ├── stm32f4xx_ll_spi.h
│ │ ├── stm32f4xx_ll_system.h
│ │ ├── stm32f4xx_ll_tim.h
│ │ ├── stm32f4xx_ll_usart.h
│ │ ├── stm32f4xx_ll_usb.h
│ │ ├── stm32f4xx_ll_utils.h
│ │ └── stm32f4xx_ll_wwdg.h
│ └── src
│ │ ├── Legacy
│ │ ├── stm32f4xx_hal_can.c
│ │ └── stm32f4xx_hal_eth.c
│ │ ├── stm32f4xx_hal.c
│ │ ├── stm32f4xx_hal_adc.c
│ │ ├── stm32f4xx_hal_adc_ex.c
│ │ ├── stm32f4xx_hal_can.c
│ │ ├── stm32f4xx_hal_cec.c
│ │ ├── stm32f4xx_hal_cortex.c
│ │ ├── stm32f4xx_hal_crc.c
│ │ ├── stm32f4xx_hal_cryp.c
│ │ ├── stm32f4xx_hal_cryp_ex.c
│ │ ├── stm32f4xx_hal_dac.c
│ │ ├── stm32f4xx_hal_dac_ex.c
│ │ ├── stm32f4xx_hal_dcmi.c
│ │ ├── stm32f4xx_hal_dcmi_ex.c
│ │ ├── stm32f4xx_hal_dfsdm.c
│ │ ├── stm32f4xx_hal_dma.c
│ │ ├── stm32f4xx_hal_dma2d.c
│ │ ├── stm32f4xx_hal_dma_ex.c
│ │ ├── stm32f4xx_hal_dsi.c
│ │ ├── stm32f4xx_hal_eth.c
│ │ ├── stm32f4xx_hal_exti.c
│ │ ├── stm32f4xx_hal_flash.c
│ │ ├── stm32f4xx_hal_flash_ex.c
│ │ ├── stm32f4xx_hal_flash_ramfunc.c
│ │ ├── stm32f4xx_hal_fmpi2c.c
│ │ ├── stm32f4xx_hal_fmpi2c_ex.c
│ │ ├── stm32f4xx_hal_fmpsmbus.c
│ │ ├── stm32f4xx_hal_fmpsmbus_ex.c
│ │ ├── stm32f4xx_hal_gpio.c
│ │ ├── stm32f4xx_hal_hash.c
│ │ ├── stm32f4xx_hal_hash_ex.c
│ │ ├── stm32f4xx_hal_hcd.c
│ │ ├── stm32f4xx_hal_i2c.c
│ │ ├── stm32f4xx_hal_i2c_ex.c
│ │ ├── stm32f4xx_hal_i2s.c
│ │ ├── stm32f4xx_hal_i2s_ex.c
│ │ ├── stm32f4xx_hal_irda.c
│ │ ├── stm32f4xx_hal_iwdg.c
│ │ ├── stm32f4xx_hal_lptim.c
│ │ ├── stm32f4xx_hal_ltdc.c
│ │ ├── stm32f4xx_hal_ltdc_ex.c
│ │ ├── stm32f4xx_hal_mmc.c
│ │ ├── stm32f4xx_hal_msp_template.c
│ │ ├── stm32f4xx_hal_nand.c
│ │ ├── stm32f4xx_hal_nor.c
│ │ ├── stm32f4xx_hal_pccard.c
│ │ ├── stm32f4xx_hal_pcd.c
│ │ ├── stm32f4xx_hal_pcd_ex.c
│ │ ├── stm32f4xx_hal_pwr.c
│ │ ├── stm32f4xx_hal_pwr_ex.c
│ │ ├── stm32f4xx_hal_qspi.c
│ │ ├── stm32f4xx_hal_rcc.c
│ │ ├── stm32f4xx_hal_rcc_ex.c
│ │ ├── stm32f4xx_hal_rng.c
│ │ ├── stm32f4xx_hal_rtc.c
│ │ ├── stm32f4xx_hal_rtc_ex.c
│ │ ├── stm32f4xx_hal_sai.c
│ │ ├── stm32f4xx_hal_sai_ex.c
│ │ ├── stm32f4xx_hal_sd.c
│ │ ├── stm32f4xx_hal_sdram.c
│ │ ├── stm32f4xx_hal_smartcard.c
│ │ ├── stm32f4xx_hal_smbus.c
│ │ ├── stm32f4xx_hal_spdifrx.c
│ │ ├── stm32f4xx_hal_spi.c
│ │ ├── stm32f4xx_hal_sram.c
│ │ ├── stm32f4xx_hal_tim.c
│ │ ├── stm32f4xx_hal_tim_ex.c
│ │ ├── stm32f4xx_hal_timebase_rtc_alarm_template.c
│ │ ├── stm32f4xx_hal_timebase_rtc_wakeup_template.c
│ │ ├── stm32f4xx_hal_timebase_tim_template.c
│ │ ├── stm32f4xx_hal_uart.c
│ │ ├── stm32f4xx_hal_usart.c
│ │ ├── stm32f4xx_hal_wwdg.c
│ │ ├── stm32f4xx_ll_adc.c
│ │ ├── stm32f4xx_ll_crc.c
│ │ ├── stm32f4xx_ll_dac.c
│ │ ├── stm32f4xx_ll_dma.c
│ │ ├── stm32f4xx_ll_dma2d.c
│ │ ├── stm32f4xx_ll_exti.c
│ │ ├── stm32f4xx_ll_fmc.c
│ │ ├── stm32f4xx_ll_fmpi2c.c
│ │ ├── stm32f4xx_ll_fsmc.c
│ │ ├── stm32f4xx_ll_gpio.c
│ │ ├── stm32f4xx_ll_i2c.c
│ │ ├── stm32f4xx_ll_lptim.c
│ │ ├── stm32f4xx_ll_pwr.c
│ │ ├── stm32f4xx_ll_rcc.c
│ │ ├── stm32f4xx_ll_rng.c
│ │ ├── stm32f4xx_ll_rtc.c
│ │ ├── stm32f4xx_ll_sdmmc.c
│ │ ├── stm32f4xx_ll_spi.c
│ │ ├── stm32f4xx_ll_tim.c
│ │ ├── stm32f4xx_ll_usart.c
│ │ ├── stm32f4xx_ll_usb.c
│ │ └── stm32f4xx_ll_utils.c
│ ├── interface
│ ├── inc
│ │ ├── clock.h
│ │ ├── delay.h
│ │ ├── iic.h
│ │ └── uart.h
│ └── src
│ │ ├── clock.c
│ │ ├── delay.c
│ │ ├── iic.c
│ │ └── uart.c
│ ├── output
│ └── mdk
│ │ └── obj_delete.bat
│ └── usr
│ ├── inc
│ ├── getopt.h
│ ├── shell.h
│ ├── stm32f407xx.h
│ ├── stm32f4xx.h
│ ├── stm32f4xx_hal_conf.h
│ ├── stm32f4xx_it.h
│ └── system_stm32f4xx.h
│ └── src
│ ├── getopt.c
│ ├── main.c
│ ├── shell.c
│ ├── stm32f4xx_hal_msp.c
│ ├── stm32f4xx_it.c
│ └── system_stm32f4xx.c
├── src
├── driver_sht4x.c
└── driver_sht4x.h
└── test
├── driver_sht4x_read_test.c
└── driver_sht4x_read_test.h
/.github/ISSUE_TEMPLATE/1_bug_report.yml:
--------------------------------------------------------------------------------
1 | name: 🐛 Bug report
2 | description: Create a report to help us improve
3 | labels: [bug report]
4 | body:
5 | - type: markdown
6 | attributes:
7 | value: |
8 | Thank you for your report.
9 |
10 | Please fill in as much of the following form as you're able.
11 | - type: input
12 | attributes:
13 | label: Version
14 | description: Code version.
15 | - type: textarea
16 | attributes:
17 | label: Describe the bug
18 | description: A clear and concise description of what the bug is.
19 | validations:
20 | required: true
21 | - type: textarea
22 | attributes:
23 | label: Reproduce
24 | description: Steps to reproduce the behavior.
25 | - type: textarea
26 | attributes:
27 | label: Expected behavior
28 | description: A clear and concise description of what you expected to happen.
29 | - type: textarea
30 | attributes:
31 | label: Additional context
32 | description: Add any other context about the bug report here.
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/2_feature_request.yml:
--------------------------------------------------------------------------------
1 | name: 🚀 Feature request
2 | description: Suggest an idea for this project
3 | labels: [feature request]
4 | body:
5 | - type: markdown
6 | attributes:
7 | value: |
8 | Thank you for suggesting an idea to make LibDriver better.
9 |
10 | Please fill in as much of the following form as you're able.
11 | - type: textarea
12 | attributes:
13 | label: Is your feature request related to a problem? Please describe.
14 | description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
15 | - type: textarea
16 | attributes:
17 | label: Describe the idea you'd like
18 | description: A clear and concise description of what you want to happen.
19 | validations:
20 | required: true
21 | - type: textarea
22 | attributes:
23 | label: Describe alternatives you've considered
24 | description: A clear and concise description of any alternative solutions or features you've considered.
25 | - type: textarea
26 | attributes:
27 | label: Additional context
28 | description: Add any other context about the feature request here.
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/3_documentation_problem.yml:
--------------------------------------------------------------------------------
1 | name: 📄 Documentation problem
2 | description: Report a documentation problem
3 | labels: [documentation problem]
4 | body:
5 | - type: markdown
6 | attributes:
7 | value: |
8 | Thank you for reporting the documentation problem to make LibDriver better.
9 |
10 | Please fill in as much of the following form as you're able.
11 | - type: input
12 | attributes:
13 | label: Document Links
14 | description: Please fill in the link of the online documentation or the path of the offline documentation.
15 | validations:
16 | required: true
17 | - type: textarea
18 | attributes:
19 | label: Description of the problem
20 | description: A clear and concise description of the documentation problem.
21 | validations:
22 | required: true
23 | - type: textarea
24 | attributes:
25 | label: Please give your suggestion
26 | description: Please tell us how you would like to improve this documentation.
27 | - type: textarea
28 | attributes:
29 | label: Additional context
30 | description: Add any other context about the documentation problem here.
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/4_ask_question.yml:
--------------------------------------------------------------------------------
1 | name: ❓ Ask question
2 | description: Ask a usage or consultation question
3 | labels: [ask question]
4 | body:
5 | - type: markdown
6 | attributes:
7 | value: |
8 | Thank you for your question.
9 |
10 | Please fill in as much of the following form as you're able.
11 | - type: textarea
12 | attributes:
13 | label: Please ask your question
14 | description: Enter your question as detailed as possible.
15 | validations:
16 | required: true
17 | - type: textarea
18 | attributes:
19 | label: Additional context
20 | description: Add any other context about the question here.
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/5_general_issues.yml:
--------------------------------------------------------------------------------
1 | name: 🏆 General issues
2 | description: Report any other non-support related issues
3 | labels: [general issues]
4 | body:
5 | - type: markdown
6 | attributes:
7 | value: |
8 | Thank you for your report.
9 |
10 | Please fill in as much of the following form as you're able.
11 | - type: textarea
12 | attributes:
13 | label: Description of the issues
14 | description: Please describe the issues as much detail as possible.
15 | validations:
16 | required: true
17 | - type: textarea
18 | attributes:
19 | label: Additional context
20 | description: Add any other context about the issues here.
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | blank_issues_enabled: true
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | ## PR type(fix, feat, docs, style, etc.)
2 |
3 |
4 |
5 | ## PR change and describe
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Prerequisites
2 | *.d
3 |
4 | # Object files
5 | *.o
6 | *.ko
7 | *.obj
8 | *.elf
9 |
10 | # Linker output
11 | *.ilk
12 | *.map
13 | *.exp
14 |
15 | # Precompiled Headers
16 | *.gch
17 | *.pch
18 |
19 | # Libraries
20 | *.lib
21 | *.a
22 | *.la
23 | *.lo
24 |
25 | # Shared objects (inc. Windows DLLs)
26 | *.dll
27 | *.so
28 | *.so.*
29 | *.dylib
30 |
31 | # Executables
32 | *.exe
33 | *.out
34 | *.app
35 | *.i*86
36 | *.x86_64
37 | *.hex
38 |
39 | # Debug files
40 | *.dSYM/
41 | *.su
42 | *.idb
43 | *.pdb
44 |
45 | # Kernel Module Compile Results
46 | *.mod*
47 | *.cmd
48 | .tmp_versions/
49 | modules.order
50 | Module.symvers
51 | Mkfile.old
52 | dkms.conf
53 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## 1.0.6 (2025-04-16)
2 |
3 | ## Bug Fixes
4 |
5 | - fix doc errors
6 |
7 | ## 1.0.5 (2025-03-20)
8 |
9 | ## Bug Fixes
10 |
11 | - fix humidity range bugs
12 |
13 | ## 1.0.4 (2025-03-15)
14 |
15 | ## Bug Fixes
16 |
17 | - fix doc errors
18 |
19 | ## 1.0.3 (2025-01-05)
20 |
21 | ## Bug Fixes
22 |
23 | - fix getopt errors
24 |
25 | ## 1.0.2 (2024-12-27)
26 |
27 | ## Bug Fixes
28 |
29 | - fix doc errors
30 |
31 | ## 1.0.1 (2024-08-10)
32 |
33 | ## Bug Fixes
34 |
35 | - fix doc errors
36 |
37 | ## 1.0.0 (2023-06-25)
38 |
39 | ## Features
40 |
41 | - first upload
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 - present LibDriver
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README_zh-Hans.md:
--------------------------------------------------------------------------------
1 | [English](/README.md) | [ 简体中文](/README_zh-Hans.md) | [繁體中文](/README_zh-Hant.md) | [日本語](/README_ja.md) | [Deutsch](/README_de.md) | [한국어](/README_ko.md)
2 |
3 |
4 |
5 |
6 |
7 | ## LibDriver SHT4X
8 |
9 | [](/misra/README.md) [](https://www.libdriver.com/docs/sht4x/index.html) [](/LICENSE)
10 |
11 | SHT4X是一个数字传感器平台,用于测量不同精度等级的相对湿度和温度。它的I2C接口提供了几个预配置的I2C地址,同时保持了超低的功率预算(0.4μW)。功率调整的内部加热器可以在三个加热级别下使用,从而使传感器能够在苛刻的环境中工作。四引脚双扁平引线封装适用于表面安装技术(SMT)处理,包括可选的封装上专利PTFE膜或可拆卸的保护盖。提供符合ISO17025的传感器特定校准证书,可通过唯一序列号进行识别。
12 |
13 | LibDriver SHT4X是LibDriver推出的SHT4X全功能驱动程序,提供温湿度读取和序列号读取功能等功能并且它符合MISRA标准。
14 |
15 | ### 目录
16 |
17 | - [说明](#说明)
18 | - [安装](#安装)
19 | - [使用](#使用)
20 | - [example basic](#example-basic)
21 | - [文档](#文档)
22 | - [贡献](#贡献)
23 | - [版权](#版权)
24 | - [联系我们](#联系我们)
25 |
26 | ### 说明
27 |
28 | /src目录包含了LibDriver SHT4X的源文件。
29 |
30 | /interface目录包含了LibDriver SHT4X与平台无关的IIC总线模板。
31 |
32 | /test目录包含了LibDriver SHT4X驱动测试程序,该程序可以简单的测试芯片必要功能。
33 |
34 | /example目录包含了LibDriver SHT4X编程范例。
35 |
36 | /doc目录包含了LibDriver SHT4X离线文档。
37 |
38 | /datasheet目录包含了SHT4X数据手册。
39 |
40 | /project目录包含了常用Linux与单片机开发板的工程样例。所有工程均采用shell脚本作为调试方法,详细内容可参考每个工程里面的README.md。
41 |
42 | /misra目录包含了LibDriver MISRA代码扫描结果。
43 |
44 | ### 安装
45 |
46 | 参考/interface目录下与平台无关的IIC总线模板,完成指定平台的IIC总线驱动。
47 |
48 | 将/src目录,您使用平台的接口驱动和您开发的驱动加入工程,如果您想要使用默认的范例驱动,可以将/example目录加入您的工程。
49 |
50 | ### 使用
51 |
52 | 您可以参考/example目录下的编程范例完成适合您的驱动,如果您想要使用默认的编程范例,以下是它们的使用方法。
53 |
54 | #### example basic
55 |
56 | ```C
57 | #include "driver_sht4x_basic.h"
58 |
59 | uint8_t res;
60 | uint8_t num[4];
61 | uint32_t i;
62 | float temperature;
63 | float humidity;
64 |
65 | /* basic init */
66 | res = sht4x_basic_init(SHT4X_ADDRESS_0);
67 | if (res != 0)
68 | {
69 | return 1;
70 | }
71 |
72 | ...
73 |
74 | /* loop */
75 | for (i = 0; i < 3; i++)
76 | {
77 | /* delay 1000ms */
78 | sht4x_interface_delay_ms(1000);
79 |
80 | /* read data */
81 | res = sht4x_basic_read((float *)&temperature, (float *)&humidity);
82 | if (res != 0)
83 | {
84 | (void)sht4x_basic_deinit();
85 |
86 | return 1;
87 | }
88 |
89 | /* output */
90 | sht4x_interface_debug_print("sht4x: %d/%d.\n", (uint32_t)(i + 1), (uint32_t)3);
91 | sht4x_interface_debug_print("sht4x: temperature is %0.2fC.\n", temperature);
92 | sht4x_interface_debug_print("sht4x: humidity is %0.2f%%.\n", humidity);
93 | }
94 |
95 | ...
96 |
97 | /* get serial number */
98 | res = sht4x_basic_get_serial_number(num);
99 | if (res != 0)
100 | {
101 | (void)sht4x_basic_deinit();
102 |
103 | return 1;
104 | }
105 |
106 | /* output */
107 | sht4x_interface_debug_print("sht4x: serial number is 0x%02X 0x%02X 0x%02X 0x%02X.\n", num[0], num[1], num[2], num[3]);
108 |
109 | ...
110 |
111 | /* basic deinit */
112 | (void)sht4x_basic_deinit();
113 |
114 | return 0;
115 | ```
116 |
117 | ### 文档
118 |
119 | 在线文档: [https://www.libdriver.com/docs/sht4x/index.html](https://www.libdriver.com/docs/sht4x/index.html)。
120 |
121 | 离线文档: /doc/html/index.html。
122 |
123 | ### 贡献
124 |
125 | 请参考CONTRIBUTING.md。
126 |
127 | ### 版权
128 |
129 | 版权 (c) 2015 - 现在 LibDriver 版权所有
130 |
131 | MIT 许可证(MIT)
132 |
133 | 特此免费授予任何获得本软件副本和相关文档文件(下称“软件”)的人不受限制地处置该软件的权利,包括不受限制地使用、复制、修改、合并、发布、分发、转授许可和/或出售该软件副本,以及再授权被配发了本软件的人如上的权利,须在下列条件下:
134 |
135 | 上述版权声明和本许可声明应包含在该软件的所有副本或实质成分中。
136 |
137 | 本软件是“如此”提供的,没有任何形式的明示或暗示的保证,包括但不限于对适销性、特定用途的适用性和不侵权的保证。在任何情况下,作者或版权持有人都不对任何索赔、损害或其他责任负责,无论这些追责来自合同、侵权或其它行为中,还是产生于、源于或有关于本软件以及本软件的使用或其它处置。
138 |
139 | ### 联系我们
140 |
141 | 请联系lishifenging@outlook.com。
--------------------------------------------------------------------------------
/README_zh-Hant.md:
--------------------------------------------------------------------------------
1 | [English](/README.md) | [ 简体中文](/README_zh-Hans.md) | [繁體中文](/README_zh-Hant.md) | [日本語](/README_ja.md) | [Deutsch](/README_de.md) | [한국어](/README_ko.md)
2 |
3 |
4 |
5 |
6 |
7 | ## LibDriver SHT4X
8 |
9 | [](/misra/README.md) [](https://www.libdriver.com/docs/sht4x/index.html) [](/LICENSE)
10 |
11 | SHT4X是一個數位感測器平臺,用於量測不同精度等級的相對濕度和溫度。 它的I2C介面提供了幾個預配寘的I2C地址,同時保持了超低的功率預算(0.4μW)。 功率調整的內部加熱器可以在三個加熱級別下使用,從而使感測器能够在苛刻的環境中工作。 四引脚雙扁平引線封裝適用於表面安裝科技(SMT)處理,包括可選的封裝上專利PTFE膜或可拆卸的保護蓋。 提供符合ISO17025的感測器特定校準證書,可通過唯一序號進行識別。
12 |
13 | LibDriver SHT4X是LibDriver推出的SHT4X全功能驅動程序,提供溫濕度讀取和序號讀取功能等功能並且它符合MISRA標準。
14 |
15 | ### 目錄
16 |
17 | - [說明](#說明)
18 | - [安裝](#安裝)
19 | - [使用](#使用)
20 | - [example basic](#example-basic)
21 | - [文檔](#文檔)
22 | - [貢獻](#貢獻)
23 | - [版權](#版權)
24 | - [聯繫我們](#聯繫我們)
25 |
26 | ### 說明
27 |
28 | /src目錄包含了LibDriver SHT4X的源文件。
29 |
30 | /interface目錄包含了LibDriver SHT4X與平台無關的IIC總線模板。
31 |
32 | /test目錄包含了LibDriver SHT4X驅動測試程序,該程序可以簡單的測試芯片必要功能。
33 |
34 | /example目錄包含了LibDriver SHT4X編程範例。
35 |
36 | /doc目錄包含了LibDriver SHT4X離線文檔。
37 |
38 | /datasheet目錄包含了SHT4X數據手冊。
39 |
40 | /project目錄包含了常用Linux與單片機開發板的工程樣例。所有工程均採用shell腳本作為調試方法,詳細內容可參考每個工程裡面的README.md。
41 |
42 | /misra目錄包含了LibDriver MISRA程式碼掃描結果。
43 |
44 | ### 安裝
45 |
46 | 參考/interface目錄下與平台無關的IIC總線模板,完成指定平台的IIC總線驅動。
47 |
48 | 將/src目錄,您使用平臺的介面驅動和您開發的驅動加入工程,如果您想要使用默認的範例驅動,可以將/example目錄加入您的工程。
49 |
50 | ### 使用
51 |
52 | 您可以參考/example目錄下的程式設計範例完成適合您的驅動,如果您想要使用默認的程式設計範例,以下是它們的使用方法。
53 |
54 | #### example basic
55 |
56 | ```C
57 | #include "driver_sht4x_basic.h"
58 |
59 | uint8_t res;
60 | uint8_t num[4];
61 | uint32_t i;
62 | float temperature;
63 | float humidity;
64 |
65 | /* basic init */
66 | res = sht4x_basic_init(SHT4X_ADDRESS_0);
67 | if (res != 0)
68 | {
69 | return 1;
70 | }
71 |
72 | ...
73 |
74 | /* loop */
75 | for (i = 0; i < 3; i++)
76 | {
77 | /* delay 1000ms */
78 | sht4x_interface_delay_ms(1000);
79 |
80 | /* read data */
81 | res = sht4x_basic_read((float *)&temperature, (float *)&humidity);
82 | if (res != 0)
83 | {
84 | (void)sht4x_basic_deinit();
85 |
86 | return 1;
87 | }
88 |
89 | /* output */
90 | sht4x_interface_debug_print("sht4x: %d/%d.\n", (uint32_t)(i + 1), (uint32_t)3);
91 | sht4x_interface_debug_print("sht4x: temperature is %0.2fC.\n", temperature);
92 | sht4x_interface_debug_print("sht4x: humidity is %0.2f%%.\n", humidity);
93 | }
94 |
95 | ...
96 |
97 | /* get serial number */
98 | res = sht4x_basic_get_serial_number(num);
99 | if (res != 0)
100 | {
101 | (void)sht4x_basic_deinit();
102 |
103 | return 1;
104 | }
105 |
106 | /* output */
107 | sht4x_interface_debug_print("sht4x: serial number is 0x%02X 0x%02X 0x%02X 0x%02X.\n", num[0], num[1], num[2], num[3]);
108 |
109 | ...
110 |
111 | /* basic deinit */
112 | (void)sht4x_basic_deinit();
113 |
114 | return 0;
115 | ```
116 |
117 | ### 文檔
118 |
119 | 在線文檔: [https://www.libdriver.com/docs/sht4x/index.html](https://www.libdriver.com/docs/sht4x/index.html)。
120 |
121 | 離線文檔: /doc/html/index.html。
122 |
123 | ### 貢獻
124 |
125 | 請參攷CONTRIBUTING.md。
126 |
127 | ### 版權
128 |
129 | 版權 (c) 2015 - 現在 LibDriver 版權所有
130 |
131 | MIT 許可證(MIT)
132 |
133 | 特此免費授予任何獲得本軟件副本和相關文檔文件(下稱“軟件”)的人不受限制地處置該軟件的權利,包括不受限制地使用、複製、修改、合併、發布、分發、轉授許可和/或出售該軟件副本,以及再授權被配發了本軟件的人如上的權利,須在下列條件下:
134 |
135 | 上述版權聲明和本許可聲明應包含在該軟件的所有副本或實質成分中。
136 |
137 | 本軟件是“如此”提供的,沒有任何形式的明示或暗示的保證,包括但不限於對適銷性、特定用途的適用性和不侵權的保證。在任何情況下,作者或版權持有人都不對任何索賠、損害或其他責任負責,無論這些追責來自合同、侵權或其它行為中,還是產生於、源於或有關於本軟件以及本軟件的使用或其它處置。
138 |
139 | ### 聯繫我們
140 |
141 | 請聯繫lishifenging@outlook.com。
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | LibDriver takes the security of our code seriously.If you believe you have found a security vulnerability in our code, please report it to us as described below.
4 |
5 | ## Reporting a Vulnerability
6 |
7 | LibDriver is generally backwards compatible with very few exceptions, so we recommend users to always use the latest version to experience stability, performance and security.
8 |
9 | **Please do not report security vulnerabilities through public issues.**
10 |
11 | Instead, please send an email to lishifenging@outlook.com. You should receive a response within 24 hours. If for some reason you do not, please send again to ensure we received your original message. If your report was previously undisclosed, we’ll also mention your name in the credits.
12 |
13 | Please include the requested information listed below to help us better understand the nature and scope of the possible issue:
14 |
15 | - Type of issue
16 | - Full paths of source file(s) related to the manifestation of the issue
17 | - The location of the affected source code
18 | - Any special configuration required to reproduce the issue
19 | - Step-by-step instructions to reproduce the issue
20 | - Proof-of-concept or exploit code
21 | - Impact of the issue, including how an attacker might exploit the issue
22 |
23 | After receiving your report, we will evaluate your report as soon as possible and notify you of the results. Bug fixes depend on the bug itself, and we will try to fix bugs as quickly as possible.
24 |
25 | ## Preferred Languages
26 |
27 | We prefer all communications to be in English.
28 |
29 | ## Responsible Disclosure
30 |
31 | In some cases, we may apply a responsible disclosure process to reported or otherwise discovered vulnerabilities. We will usually do that for a critical vulnerability, and only if we have a good reason to believe information about it is not yet public.
32 |
33 | This process involves providing an early notification about the vulnerability, its impact and mitigations to a short list of vendors under a time-limited embargo on public disclosure.
--------------------------------------------------------------------------------
/datasheet/sht4x_datasheet.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/datasheet/sht4x_datasheet.pdf
--------------------------------------------------------------------------------
/doc/html/annotated_dup.js:
--------------------------------------------------------------------------------
1 | var annotated_dup =
2 | [
3 | [ "sht4x_handle_s", "structsht4x__handle__s.html", "structsht4x__handle__s" ],
4 | [ "sht4x_info_s", "structsht4x__info__s.html", "structsht4x__info__s" ]
5 | ];
--------------------------------------------------------------------------------
/doc/html/bc_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/bc_s.png
--------------------------------------------------------------------------------
/doc/html/bdwn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/bdwn.png
--------------------------------------------------------------------------------
/doc/html/closed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/closed.png
--------------------------------------------------------------------------------
/doc/html/dir_11ec664f88f5f079ad4de1adb8458c37.js:
--------------------------------------------------------------------------------
1 | var dir_11ec664f88f5f079ad4de1adb8458c37 =
2 | [
3 | [ "mainpage.h", "mainpage_8h.html", null ]
4 | ];
--------------------------------------------------------------------------------
/doc/html/dir_13e138d54eb8818da29c3992edef070a.js:
--------------------------------------------------------------------------------
1 | var dir_13e138d54eb8818da29c3992edef070a =
2 | [
3 | [ "driver_sht4x_read_test.c", "driver__sht4x__read__test_8c.html", "driver__sht4x__read__test_8c" ],
4 | [ "driver_sht4x_read_test.h", "driver__sht4x__read__test_8h.html", "driver__sht4x__read__test_8h" ]
5 | ];
--------------------------------------------------------------------------------
/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js:
--------------------------------------------------------------------------------
1 | var dir_68267d1309a1af8e8297ef4c3efbcdba =
2 | [
3 | [ "driver_sht4x.c", "driver__sht4x_8c.html", "driver__sht4x_8c" ],
4 | [ "driver_sht4x.h", "driver__sht4x_8h.html", "driver__sht4x_8h" ]
5 | ];
--------------------------------------------------------------------------------
/doc/html/dir_b31d54d5631803016a26f28213a41162.js:
--------------------------------------------------------------------------------
1 | var dir_b31d54d5631803016a26f28213a41162 =
2 | [
3 | [ "driver_sht4x_interface.h", "driver__sht4x__interface_8h.html", "driver__sht4x__interface_8h" ],
4 | [ "driver_sht4x_interface_template.c", "driver__sht4x__interface__template_8c.html", "driver__sht4x__interface__template_8c" ]
5 | ];
--------------------------------------------------------------------------------
/doc/html/dir_cfafba98a580ce4b62f8a6fa96d7cbb0.js:
--------------------------------------------------------------------------------
1 | var dir_cfafba98a580ce4b62f8a6fa96d7cbb0 =
2 | [
3 | [ "driver_sht4x_basic.c", "driver__sht4x__basic_8c.html", "driver__sht4x__basic_8c" ],
4 | [ "driver_sht4x_basic.h", "driver__sht4x__basic_8h.html", "driver__sht4x__basic_8h" ]
5 | ];
--------------------------------------------------------------------------------
/doc/html/dir_e68e8157741866f444e17edd764ebbae.js:
--------------------------------------------------------------------------------
1 | var dir_e68e8157741866f444e17edd764ebbae =
2 | [
3 | [ "mainpage", "dir_11ec664f88f5f079ad4de1adb8458c37.html", "dir_11ec664f88f5f079ad4de1adb8458c37" ]
4 | ];
--------------------------------------------------------------------------------
/doc/html/doc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/doc.png
--------------------------------------------------------------------------------
/doc/html/doxygen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/doxygen.png
--------------------------------------------------------------------------------
/doc/html/driver__sht4x_8c.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x_8c =
2 | [
3 | [ "CHIP_NAME", "driver__sht4x_8c.html#adc9da0a24824ca1239b593f6459b3954", null ],
4 | [ "DRIVER_VERSION", "driver__sht4x_8c.html#ae578001fe043b4cca7a0edd801cfe9c4", null ],
5 | [ "MANUFACTURER_NAME", "driver__sht4x_8c.html#aaa2b8f5b105c3019df0cb346f472e803", null ],
6 | [ "MAX_CURRENT", "driver__sht4x_8c.html#a2989837a37d6d63b59c6dd541b785435", null ],
7 | [ "SHT4X_COMMAND_READ_SERIAL_NUMBER", "driver__sht4x_8c.html#ad58671ed491bd3668f7bd1dd522dce77", null ],
8 | [ "SHT4X_COMMAND_SOFT_RESET", "driver__sht4x_8c.html#a7ec61cc2ca9edf7cd57170c720cff747", null ],
9 | [ "SUPPLY_VOLTAGE_MAX", "driver__sht4x_8c.html#a68eba8b601afe11f1b871d944976c035", null ],
10 | [ "SUPPLY_VOLTAGE_MIN", "driver__sht4x_8c.html#aac8d8cbd899667d609787ef4cf37054d", null ],
11 | [ "TEMPERATURE_MAX", "driver__sht4x_8c.html#a90c0b20d54005712fcc8cb01281360e9", null ],
12 | [ "TEMPERATURE_MIN", "driver__sht4x_8c.html#aab353db5bf4eb787f86a2080f609a551", null ],
13 | [ "sht4x_deinit", "group__sht4x__base__driver.html#gae0ba7c82366db3df8323dba720ee04bb", null ],
14 | [ "sht4x_get_addr", "group__sht4x__base__driver.html#ga8918ba4ede60f64ed99c72d11d884e3d", null ],
15 | [ "sht4x_get_serial_number", "group__sht4x__base__driver.html#ga397ea16f39c24b7e84d9f918895d3af2", null ],
16 | [ "sht4x_info", "group__sht4x__base__driver.html#gac517f631a1990506fc59d7f49912e309", null ],
17 | [ "sht4x_init", "group__sht4x__base__driver.html#gab063d45905fdd808fcc317c8143dcf76", null ],
18 | [ "sht4x_read", "group__sht4x__base__driver.html#ga00edba06458f96e7426bbb21e478556d", null ],
19 | [ "sht4x_set_addr", "group__sht4x__base__driver.html#ga7802cc3d8356d63d131cf11932052647", null ],
20 | [ "sht4x_soft_reset", "group__sht4x__base__driver.html#gac0dc7e44b8d8e3c8ea0f183a67671d95", null ],
21 | [ "sht4x_write_read", "group__sht4x__extend__driver.html#ga539dfb40d61bda3fb8a84b16718e2e1b", null ]
22 | ];
--------------------------------------------------------------------------------
/doc/html/driver__sht4x_8h.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x_8h =
2 | [
3 | [ "DRIVER_SHT4X_LINK_DEBUG_PRINT", "group__sht4x__link__driver.html#gaaaf63aded88dca83078fc9589139dfe8", null ],
4 | [ "DRIVER_SHT4X_LINK_DELAY_MS", "group__sht4x__link__driver.html#gaeb3465523e0940481ad2b949f2a21f74", null ],
5 | [ "DRIVER_SHT4X_LINK_IIC_DEINIT", "group__sht4x__link__driver.html#ga185a7db3ae894007eef1604531df22f5", null ],
6 | [ "DRIVER_SHT4X_LINK_IIC_INIT", "group__sht4x__link__driver.html#ga7292a5c0b5b3f8f392f0be40d07ef81d", null ],
7 | [ "DRIVER_SHT4X_LINK_IIC_READ_COMMAND", "group__sht4x__link__driver.html#gaef28969c7705b7ffd51bff0d3731db33", null ],
8 | [ "DRIVER_SHT4X_LINK_IIC_WRITE_COMMAND", "group__sht4x__link__driver.html#ga99c852c2df1484dff7c8cebb6c17acb7", null ],
9 | [ "DRIVER_SHT4X_LINK_INIT", "group__sht4x__link__driver.html#gacbbad3cbdad989877f90d3666445e7e9", null ],
10 | [ "sht4x_handle_t", "group__sht4x__base__driver.html#ga3720294c1bea51e6beeffe6f3198a692", null ],
11 | [ "sht4x_info_t", "group__sht4x__base__driver.html#ga53ceab0be4dccd242c6b4eb9b8019522", null ],
12 | [ "sht4x_address_t", "group__sht4x__base__driver.html#ga57bed306b19e9f19231daf1ce808e8bd", [
13 | [ "SHT4X_ADDRESS_0", "group__sht4x__base__driver.html#gga57bed306b19e9f19231daf1ce808e8bdab6f2a2dd5996f7383991e51805322f94", null ],
14 | [ "SHT4X_ADDRESS_1", "group__sht4x__base__driver.html#gga57bed306b19e9f19231daf1ce808e8bdaa6df620f51276585f7e61db7df0cef41", null ],
15 | [ "SHT4X_ADDRESS_2", "group__sht4x__base__driver.html#gga57bed306b19e9f19231daf1ce808e8bda7f26b3d55b28adca66cf71c903e6289c", null ]
16 | ] ],
17 | [ "sht4x_mode_t", "group__sht4x__base__driver.html#ga52c0cc65cd394b1eac37be5d7daeacf0", [
18 | [ "SHT4X_MODE_HIGH_PRECISION_WITH_NO_HEATER", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a44ec029016318914f5a8a08cb25e12e1", null ],
19 | [ "SHT4X_MODE_MEDIUM_PRECISION_WITH_NO_HEATER", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a504f26517deb6cdebb30177888d31cf5", null ],
20 | [ "SHT4X_MODE_LOWEST_PRECISION_WITH_NO_HEATER", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0ad0ae80ed7afbec6df9298873ce4f085d", null ],
21 | [ "SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_200MW_1S", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a70e1287fad4eda9cb7d8d198c85e08a6", null ],
22 | [ "SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_200MW_0P1S", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a92562539bdd63412fa5f50921989f232", null ],
23 | [ "SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_110MW_1S", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a4ba0509643b82f053a14577b1e341825", null ],
24 | [ "SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_110MW_0P1S", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0ad4d8077f6ae35c4021e4a5fad57910a2", null ],
25 | [ "SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_20MW_1S", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0af57f4088445927f06172117bb4c5cac2", null ],
26 | [ "SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_20MW_0P1S", "group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a641724af72d7f10b9c847984f436f1ef", null ]
27 | ] ],
28 | [ "sht4x_deinit", "group__sht4x__base__driver.html#gae0ba7c82366db3df8323dba720ee04bb", null ],
29 | [ "sht4x_get_addr", "group__sht4x__base__driver.html#ga8918ba4ede60f64ed99c72d11d884e3d", null ],
30 | [ "sht4x_get_serial_number", "group__sht4x__base__driver.html#ga397ea16f39c24b7e84d9f918895d3af2", null ],
31 | [ "sht4x_info", "group__sht4x__base__driver.html#gac517f631a1990506fc59d7f49912e309", null ],
32 | [ "sht4x_init", "group__sht4x__base__driver.html#gab063d45905fdd808fcc317c8143dcf76", null ],
33 | [ "sht4x_read", "group__sht4x__base__driver.html#ga00edba06458f96e7426bbb21e478556d", null ],
34 | [ "sht4x_set_addr", "group__sht4x__base__driver.html#ga7802cc3d8356d63d131cf11932052647", null ],
35 | [ "sht4x_soft_reset", "group__sht4x__base__driver.html#gac0dc7e44b8d8e3c8ea0f183a67671d95", null ],
36 | [ "sht4x_write_read", "group__sht4x__extend__driver.html#ga539dfb40d61bda3fb8a84b16718e2e1b", null ]
37 | ];
--------------------------------------------------------------------------------
/doc/html/driver__sht4x__basic_8c.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x__basic_8c =
2 | [
3 | [ "sht4x_basic_deinit", "group__sht4x__example__driver.html#ga26703c0610c8f75a28d6887be10db3c8", null ],
4 | [ "sht4x_basic_get_serial_number", "group__sht4x__example__driver.html#gafc57892db0f33c36ab8930ce87d32e88", null ],
5 | [ "sht4x_basic_init", "group__sht4x__example__driver.html#ga4e6ce3ffa11298b1f9bec61db4bcc1d5", null ],
6 | [ "sht4x_basic_read", "group__sht4x__example__driver.html#gaf5e7e3bf72eab3c9deede0be06298d5c", null ]
7 | ];
--------------------------------------------------------------------------------
/doc/html/driver__sht4x__basic_8h.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x__basic_8h =
2 | [
3 | [ "SHT4X_BASIC_DEFAULT_MODE", "group__sht4x__example__driver.html#ga2b7c1109430f8dcc47b4ca26b1bb474e", null ],
4 | [ "sht4x_basic_deinit", "group__sht4x__example__driver.html#ga26703c0610c8f75a28d6887be10db3c8", null ],
5 | [ "sht4x_basic_get_serial_number", "group__sht4x__example__driver.html#gafc57892db0f33c36ab8930ce87d32e88", null ],
6 | [ "sht4x_basic_init", "group__sht4x__example__driver.html#ga4e6ce3ffa11298b1f9bec61db4bcc1d5", null ],
7 | [ "sht4x_basic_read", "group__sht4x__example__driver.html#gaf5e7e3bf72eab3c9deede0be06298d5c", null ]
8 | ];
--------------------------------------------------------------------------------
/doc/html/driver__sht4x__interface_8h.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x__interface_8h =
2 | [
3 | [ "sht4x_interface_debug_print", "group__sht4x__interface__driver.html#gafbc6c1710e90a95a4719a3652ca65ca9", null ],
4 | [ "sht4x_interface_delay_ms", "group__sht4x__interface__driver.html#ga0f6e0cc325b75ce8744bad40064d2a23", null ],
5 | [ "sht4x_interface_iic_deinit", "group__sht4x__interface__driver.html#gaba5cc494734078fbda2400053d1eea2f", null ],
6 | [ "sht4x_interface_iic_init", "group__sht4x__interface__driver.html#ga05a1a1474512bda61947d6c28d996b6c", null ],
7 | [ "sht4x_interface_iic_read_cmd", "group__sht4x__interface__driver.html#gab239562cca3a7081bb5de4256430c861", null ],
8 | [ "sht4x_interface_iic_write_cmd", "group__sht4x__interface__driver.html#gaa6ca5fd8ce09df8a069e2bbe61a76fff", null ]
9 | ];
--------------------------------------------------------------------------------
/doc/html/driver__sht4x__interface__template_8c.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x__interface__template_8c =
2 | [
3 | [ "sht4x_interface_debug_print", "group__sht4x__interface__driver.html#gafbc6c1710e90a95a4719a3652ca65ca9", null ],
4 | [ "sht4x_interface_delay_ms", "group__sht4x__interface__driver.html#ga0f6e0cc325b75ce8744bad40064d2a23", null ],
5 | [ "sht4x_interface_iic_deinit", "group__sht4x__interface__driver.html#gaba5cc494734078fbda2400053d1eea2f", null ],
6 | [ "sht4x_interface_iic_init", "group__sht4x__interface__driver.html#ga05a1a1474512bda61947d6c28d996b6c", null ],
7 | [ "sht4x_interface_iic_read_cmd", "group__sht4x__interface__driver.html#gab239562cca3a7081bb5de4256430c861", null ],
8 | [ "sht4x_interface_iic_write_cmd", "group__sht4x__interface__driver.html#gaa6ca5fd8ce09df8a069e2bbe61a76fff", null ]
9 | ];
--------------------------------------------------------------------------------
/doc/html/driver__sht4x__read__test_8c.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x__read__test_8c =
2 | [
3 | [ "sht4x_read_test", "group__sht4x__test__driver.html#ga498b79e281855b8b7da92c53be0617bb", null ]
4 | ];
--------------------------------------------------------------------------------
/doc/html/driver__sht4x__read__test_8h.js:
--------------------------------------------------------------------------------
1 | var driver__sht4x__read__test_8h =
2 | [
3 | [ "sht4x_read_test", "group__sht4x__test__driver.html#ga498b79e281855b8b7da92c53be0617bb", null ]
4 | ];
--------------------------------------------------------------------------------
/doc/html/files_dup.js:
--------------------------------------------------------------------------------
1 | var files_dup =
2 | [
3 | [ "doc", "dir_e68e8157741866f444e17edd764ebbae.html", "dir_e68e8157741866f444e17edd764ebbae" ],
4 | [ "example", "dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html", "dir_cfafba98a580ce4b62f8a6fa96d7cbb0" ],
5 | [ "interface", "dir_b31d54d5631803016a26f28213a41162.html", "dir_b31d54d5631803016a26f28213a41162" ],
6 | [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ],
7 | [ "test", "dir_13e138d54eb8818da29c3992edef070a.html", "dir_13e138d54eb8818da29c3992edef070a" ]
8 | ];
--------------------------------------------------------------------------------
/doc/html/folderclosed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/folderclosed.png
--------------------------------------------------------------------------------
/doc/html/folderopen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/folderopen.png
--------------------------------------------------------------------------------
/doc/html/group__sht4x__driver.js:
--------------------------------------------------------------------------------
1 | var group__sht4x__driver =
2 | [
3 | [ "sht4x link driver function", "group__sht4x__link__driver.html", "group__sht4x__link__driver" ],
4 | [ "sht4x base driver function", "group__sht4x__base__driver.html", "group__sht4x__base__driver" ],
5 | [ "sht4x extend driver function", "group__sht4x__extend__driver.html", "group__sht4x__extend__driver" ],
6 | [ "sht4x interface driver function", "group__sht4x__interface__driver.html", "group__sht4x__interface__driver" ],
7 | [ "sht4x example driver function", "group__sht4x__example__driver.html", "group__sht4x__example__driver" ],
8 | [ "sht4x test driver function", "group__sht4x__test__driver.html", "group__sht4x__test__driver" ]
9 | ];
--------------------------------------------------------------------------------
/doc/html/group__sht4x__example__driver.js:
--------------------------------------------------------------------------------
1 | var group__sht4x__example__driver =
2 | [
3 | [ "SHT4X_BASIC_DEFAULT_MODE", "group__sht4x__example__driver.html#ga2b7c1109430f8dcc47b4ca26b1bb474e", null ],
4 | [ "sht4x_basic_deinit", "group__sht4x__example__driver.html#ga26703c0610c8f75a28d6887be10db3c8", null ],
5 | [ "sht4x_basic_get_serial_number", "group__sht4x__example__driver.html#gafc57892db0f33c36ab8930ce87d32e88", null ],
6 | [ "sht4x_basic_init", "group__sht4x__example__driver.html#ga4e6ce3ffa11298b1f9bec61db4bcc1d5", null ],
7 | [ "sht4x_basic_read", "group__sht4x__example__driver.html#gaf5e7e3bf72eab3c9deede0be06298d5c", null ]
8 | ];
--------------------------------------------------------------------------------
/doc/html/group__sht4x__extend__driver.js:
--------------------------------------------------------------------------------
1 | var group__sht4x__extend__driver =
2 | [
3 | [ "sht4x_write_read", "group__sht4x__extend__driver.html#ga539dfb40d61bda3fb8a84b16718e2e1b", null ]
4 | ];
--------------------------------------------------------------------------------
/doc/html/group__sht4x__interface__driver.js:
--------------------------------------------------------------------------------
1 | var group__sht4x__interface__driver =
2 | [
3 | [ "sht4x_interface_debug_print", "group__sht4x__interface__driver.html#gafbc6c1710e90a95a4719a3652ca65ca9", null ],
4 | [ "sht4x_interface_delay_ms", "group__sht4x__interface__driver.html#ga0f6e0cc325b75ce8744bad40064d2a23", null ],
5 | [ "sht4x_interface_iic_deinit", "group__sht4x__interface__driver.html#gaba5cc494734078fbda2400053d1eea2f", null ],
6 | [ "sht4x_interface_iic_init", "group__sht4x__interface__driver.html#ga05a1a1474512bda61947d6c28d996b6c", null ],
7 | [ "sht4x_interface_iic_read_cmd", "group__sht4x__interface__driver.html#gab239562cca3a7081bb5de4256430c861", null ],
8 | [ "sht4x_interface_iic_write_cmd", "group__sht4x__interface__driver.html#gaa6ca5fd8ce09df8a069e2bbe61a76fff", null ]
9 | ];
--------------------------------------------------------------------------------
/doc/html/group__sht4x__link__driver.js:
--------------------------------------------------------------------------------
1 | var group__sht4x__link__driver =
2 | [
3 | [ "DRIVER_SHT4X_LINK_DEBUG_PRINT", "group__sht4x__link__driver.html#gaaaf63aded88dca83078fc9589139dfe8", null ],
4 | [ "DRIVER_SHT4X_LINK_DELAY_MS", "group__sht4x__link__driver.html#gaeb3465523e0940481ad2b949f2a21f74", null ],
5 | [ "DRIVER_SHT4X_LINK_IIC_DEINIT", "group__sht4x__link__driver.html#ga185a7db3ae894007eef1604531df22f5", null ],
6 | [ "DRIVER_SHT4X_LINK_IIC_INIT", "group__sht4x__link__driver.html#ga7292a5c0b5b3f8f392f0be40d07ef81d", null ],
7 | [ "DRIVER_SHT4X_LINK_IIC_READ_COMMAND", "group__sht4x__link__driver.html#gaef28969c7705b7ffd51bff0d3731db33", null ],
8 | [ "DRIVER_SHT4X_LINK_IIC_WRITE_COMMAND", "group__sht4x__link__driver.html#ga99c852c2df1484dff7c8cebb6c17acb7", null ],
9 | [ "DRIVER_SHT4X_LINK_INIT", "group__sht4x__link__driver.html#gacbbad3cbdad989877f90d3666445e7e9", null ]
10 | ];
--------------------------------------------------------------------------------
/doc/html/group__sht4x__test__driver.js:
--------------------------------------------------------------------------------
1 | var group__sht4x__test__driver =
2 | [
3 | [ "sht4x_read_test", "group__sht4x__test__driver.html#ga498b79e281855b8b7da92c53be0617bb", null ]
4 | ];
--------------------------------------------------------------------------------
/doc/html/menu.js:
--------------------------------------------------------------------------------
1 | /*
2 | @licstart The following is the entire license notice for the JavaScript code in this file.
3 |
4 | The MIT License (MIT)
5 |
6 | Copyright (C) 1997-2020 by Dimitri van Heesch
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software
9 | and associated documentation files (the "Software"), to deal in the Software without restriction,
10 | including without limitation the rights to use, copy, modify, merge, publish, distribute,
11 | sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in all copies or
15 | substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
18 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
20 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | @licend The above is the entire license notice for the JavaScript code in this file
24 | */
25 | function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
26 | function makeTree(data,relPath) {
27 | var result='';
28 | if ('children' in data) {
29 | result+='';
36 | }
37 | return result;
38 | }
39 |
40 | $('#main-nav').append(makeTree(menudata,relPath));
41 | $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
42 | if (searchEnabled) {
43 | if (serverSide) {
44 | $('#main-menu').append(' ');
45 | } else {
46 | $('#main-menu').append(' ');
47 | }
48 | }
49 | $('#main-menu').smartmenus();
50 | }
51 | /* @license-end */
52 |
--------------------------------------------------------------------------------
/doc/html/menudata.js:
--------------------------------------------------------------------------------
1 | /*
2 | @licstart The following is the entire license notice for the JavaScript code in this file.
3 |
4 | The MIT License (MIT)
5 |
6 | Copyright (C) 1997-2020 by Dimitri van Heesch
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software
9 | and associated documentation files (the "Software"), to deal in the Software without restriction,
10 | including without limitation the rights to use, copy, modify, merge, publish, distribute,
11 | sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in all copies or
15 | substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
18 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
20 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | @licend The above is the entire license notice for the JavaScript code in this file
24 | */
25 | var menudata={children:[
26 | {text:"Main Page",url:"index.html"},
27 | {text:"Modules",url:"modules.html"},
28 | {text:"Data Structures",url:"annotated.html",children:[
29 | {text:"Data Structures",url:"annotated.html"},
30 | {text:"Data Structure Index",url:"classes.html"},
31 | {text:"Data Fields",url:"functions.html",children:[
32 | {text:"All",url:"functions.html"},
33 | {text:"Variables",url:"functions_vars.html"}]}]},
34 | {text:"Files",url:"files.html",children:[
35 | {text:"File List",url:"files.html"},
36 | {text:"Globals",url:"globals.html",children:[
37 | {text:"All",url:"globals.html",children:[
38 | {text:"c",url:"globals.html#index_c"},
39 | {text:"d",url:"globals.html#index_d"},
40 | {text:"m",url:"globals.html#index_m"},
41 | {text:"s",url:"globals.html#index_s"},
42 | {text:"t",url:"globals.html#index_t"}]},
43 | {text:"Functions",url:"globals_func.html",children:[
44 | {text:"s",url:"globals_func.html#index_s"}]},
45 | {text:"Typedefs",url:"globals_type.html"},
46 | {text:"Enumerations",url:"globals_enum.html"},
47 | {text:"Enumerator",url:"globals_eval.html"},
48 | {text:"Macros",url:"globals_defs.html"}]}]}]}
49 |
--------------------------------------------------------------------------------
/doc/html/modules.js:
--------------------------------------------------------------------------------
1 | var modules =
2 | [
3 | [ "sht4x driver function", "group__sht4x__driver.html", "group__sht4x__driver" ]
4 | ];
--------------------------------------------------------------------------------
/doc/html/nav_f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/nav_f.png
--------------------------------------------------------------------------------
/doc/html/nav_g.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/nav_g.png
--------------------------------------------------------------------------------
/doc/html/nav_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/nav_h.png
--------------------------------------------------------------------------------
/doc/html/navtree.css:
--------------------------------------------------------------------------------
1 | #nav-tree .children_ul {
2 | margin:0;
3 | padding:4px;
4 | }
5 |
6 | #nav-tree ul {
7 | list-style:none outside none;
8 | margin:0px;
9 | padding:0px;
10 | }
11 |
12 | #nav-tree li {
13 | white-space:nowrap;
14 | margin:0px;
15 | padding:0px;
16 | }
17 |
18 | #nav-tree .plus {
19 | margin:0px;
20 | }
21 |
22 | #nav-tree .selected {
23 | background-image: url('tab_a.png');
24 | background-repeat:repeat-x;
25 | color: #fff;
26 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
27 | }
28 |
29 | #nav-tree img {
30 | margin:0px;
31 | padding:0px;
32 | border:0px;
33 | vertical-align: middle;
34 | }
35 |
36 | #nav-tree a {
37 | text-decoration:none;
38 | padding:0px;
39 | margin:0px;
40 | outline:none;
41 | }
42 |
43 | #nav-tree .label {
44 | margin:0px;
45 | padding:0px;
46 | font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
47 | }
48 |
49 | #nav-tree .label a {
50 | padding:2px;
51 | }
52 |
53 | #nav-tree .selected a {
54 | text-decoration:none;
55 | color:#fff;
56 | }
57 |
58 | #nav-tree .children_ul {
59 | margin:0px;
60 | padding:0px;
61 | }
62 |
63 | #nav-tree .item {
64 | margin:0px;
65 | padding:0px;
66 | }
67 |
68 | #nav-tree {
69 | padding: 0px 0px;
70 | background-color: #FAFAFF;
71 | font-size:14px;
72 | overflow:auto;
73 | }
74 |
75 | #doc-content {
76 | overflow:auto;
77 | display:block;
78 | padding:0px;
79 | margin:0px;
80 | -webkit-overflow-scrolling : touch; /* iOS 5+ */
81 | }
82 |
83 | #side-nav {
84 | padding:0 6px 0 0;
85 | margin: 0px;
86 | display:block;
87 | position: absolute;
88 | left: 0px;
89 | width: 250px;
90 | }
91 |
92 | .ui-resizable .ui-resizable-handle {
93 | display:block;
94 | }
95 |
96 | .ui-resizable-e {
97 | background-image:url("splitbar.png");
98 | background-size:100%;
99 | background-repeat:repeat-y;
100 | background-attachment: scroll;
101 | cursor:ew-resize;
102 | height:100%;
103 | right:0;
104 | top:0;
105 | width:6px;
106 | }
107 |
108 | .ui-resizable-handle {
109 | display:none;
110 | font-size:0.1px;
111 | position:absolute;
112 | z-index:1;
113 | }
114 |
115 | #nav-tree-contents {
116 | margin: 6px 0px 0px 0px;
117 | }
118 |
119 | #nav-tree {
120 | background-image:url('nav_h.png');
121 | background-repeat:repeat-x;
122 | background-color: #F9FAFC;
123 | -webkit-overflow-scrolling : touch; /* iOS 5+ */
124 | }
125 |
126 | #nav-sync {
127 | position:absolute;
128 | top:5px;
129 | right:24px;
130 | z-index:0;
131 | }
132 |
133 | #nav-sync img {
134 | opacity:0.3;
135 | }
136 |
137 | #nav-sync img:hover {
138 | opacity:0.9;
139 | }
140 |
141 | @media print
142 | {
143 | #nav-tree { display: none; }
144 | div.ui-resizable-handle { display: none; position: relative; }
145 | }
146 |
147 |
--------------------------------------------------------------------------------
/doc/html/navtreedata.js:
--------------------------------------------------------------------------------
1 | /*
2 | @licstart The following is the entire license notice for the JavaScript code in this file.
3 |
4 | The MIT License (MIT)
5 |
6 | Copyright (C) 1997-2020 by Dimitri van Heesch
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software
9 | and associated documentation files (the "Software"), to deal in the Software without restriction,
10 | including without limitation the rights to use, copy, modify, merge, publish, distribute,
11 | sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in all copies or
15 | substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
18 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
20 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 |
23 | @licend The above is the entire license notice for the JavaScript code in this file
24 | */
25 | var NAVTREE =
26 | [
27 | [ "LibDriver SHT4X", "index.html", [
28 | [ "Modules", "modules.html", "modules" ],
29 | [ "Data Structures", "annotated.html", [
30 | [ "Data Structures", "annotated.html", "annotated_dup" ],
31 | [ "Data Structure Index", "classes.html", null ],
32 | [ "Data Fields", "functions.html", [
33 | [ "All", "functions.html", null ],
34 | [ "Variables", "functions_vars.html", null ]
35 | ] ]
36 | ] ],
37 | [ "Files", "files.html", [
38 | [ "File List", "files.html", "files_dup" ],
39 | [ "Globals", "globals.html", [
40 | [ "All", "globals.html", null ],
41 | [ "Functions", "globals_func.html", null ],
42 | [ "Typedefs", "globals_type.html", null ],
43 | [ "Enumerations", "globals_enum.html", null ],
44 | [ "Enumerator", "globals_eval.html", null ],
45 | [ "Macros", "globals_defs.html", null ]
46 | ] ]
47 | ] ]
48 | ] ]
49 | ];
50 |
51 | var NAVTREEINDEX =
52 | [
53 | "annotated.html"
54 | ];
55 |
56 | var SYNCONMSG = 'click to disable panel synchronisation';
57 | var SYNCOFFMSG = 'click to enable panel synchronisation';
--------------------------------------------------------------------------------
/doc/html/open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/open.png
--------------------------------------------------------------------------------
/doc/html/search/all_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/all_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['chip_5fname_0',['chip_name',['../structsht4x__info__s.html#af890958c72bd715cc6454a10dc846ae6',1,'sht4x_info_s']]],
4 | ['chip_5fname_1',['CHIP_NAME',['../driver__sht4x_8c.html#adc9da0a24824ca1239b593f6459b3954',1,'driver_sht4x.c']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/all_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/all_1.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['debug_5fprint_2',['debug_print',['../structsht4x__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b',1,'sht4x_handle_s']]],
4 | ['delay_5fms_3',['delay_ms',['../structsht4x__handle__s.html#a406c9433252b7366de417b7a60915c81',1,'sht4x_handle_s']]],
5 | ['driver_5fsht4x_2ec_4',['driver_sht4x.c',['../driver__sht4x_8c.html',1,'']]],
6 | ['driver_5fsht4x_2eh_5',['driver_sht4x.h',['../driver__sht4x_8h.html',1,'']]],
7 | ['driver_5fsht4x_5fbasic_2ec_6',['driver_sht4x_basic.c',['../driver__sht4x__basic_8c.html',1,'']]],
8 | ['driver_5fsht4x_5fbasic_2eh_7',['driver_sht4x_basic.h',['../driver__sht4x__basic_8h.html',1,'']]],
9 | ['driver_5fsht4x_5finterface_2eh_8',['driver_sht4x_interface.h',['../driver__sht4x__interface_8h.html',1,'']]],
10 | ['driver_5fsht4x_5finterface_5ftemplate_2ec_9',['driver_sht4x_interface_template.c',['../driver__sht4x__interface__template_8c.html',1,'']]],
11 | ['driver_5fsht4x_5flink_5fdebug_5fprint_10',['DRIVER_SHT4X_LINK_DEBUG_PRINT',['../group__sht4x__link__driver.html#gaaaf63aded88dca83078fc9589139dfe8',1,'driver_sht4x.h']]],
12 | ['driver_5fsht4x_5flink_5fdelay_5fms_11',['DRIVER_SHT4X_LINK_DELAY_MS',['../group__sht4x__link__driver.html#gaeb3465523e0940481ad2b949f2a21f74',1,'driver_sht4x.h']]],
13 | ['driver_5fsht4x_5flink_5fiic_5fdeinit_12',['DRIVER_SHT4X_LINK_IIC_DEINIT',['../group__sht4x__link__driver.html#ga185a7db3ae894007eef1604531df22f5',1,'driver_sht4x.h']]],
14 | ['driver_5fsht4x_5flink_5fiic_5finit_13',['DRIVER_SHT4X_LINK_IIC_INIT',['../group__sht4x__link__driver.html#ga7292a5c0b5b3f8f392f0be40d07ef81d',1,'driver_sht4x.h']]],
15 | ['driver_5fsht4x_5flink_5fiic_5fread_5fcommand_14',['DRIVER_SHT4X_LINK_IIC_READ_COMMAND',['../group__sht4x__link__driver.html#gaef28969c7705b7ffd51bff0d3731db33',1,'driver_sht4x.h']]],
16 | ['driver_5fsht4x_5flink_5fiic_5fwrite_5fcommand_15',['DRIVER_SHT4X_LINK_IIC_WRITE_COMMAND',['../group__sht4x__link__driver.html#ga99c852c2df1484dff7c8cebb6c17acb7',1,'driver_sht4x.h']]],
17 | ['driver_5fsht4x_5flink_5finit_16',['DRIVER_SHT4X_LINK_INIT',['../group__sht4x__link__driver.html#gacbbad3cbdad989877f90d3666445e7e9',1,'driver_sht4x.h']]],
18 | ['driver_5fsht4x_5fread_5ftest_2ec_17',['driver_sht4x_read_test.c',['../driver__sht4x__read__test_8c.html',1,'']]],
19 | ['driver_5fsht4x_5fread_5ftest_2eh_18',['driver_sht4x_read_test.h',['../driver__sht4x__read__test_8h.html',1,'']]],
20 | ['driver_5fversion_19',['driver_version',['../structsht4x__info__s.html#a41b0bd442708b70d252c50b92c75265a',1,'sht4x_info_s']]],
21 | ['driver_5fversion_20',['DRIVER_VERSION',['../driver__sht4x_8c.html#ae578001fe043b4cca7a0edd801cfe9c4',1,'driver_sht4x.c']]]
22 | ];
23 |
--------------------------------------------------------------------------------
/doc/html/search/all_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/all_2.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['iic_5faddr_21',['iic_addr',['../structsht4x__handle__s.html#ae4fb63dc1b166464d5da3aa753b0805a',1,'sht4x_handle_s']]],
4 | ['iic_5fdeinit_22',['iic_deinit',['../structsht4x__handle__s.html#af6963bbad902ca6e43942b48c07986c3',1,'sht4x_handle_s']]],
5 | ['iic_5finit_23',['iic_init',['../structsht4x__handle__s.html#a8826dd07625f8d90859ce9bd09628d61',1,'sht4x_handle_s']]],
6 | ['iic_5fread_5fcmd_24',['iic_read_cmd',['../structsht4x__handle__s.html#acebeabb312305acedcb64f4f10755117',1,'sht4x_handle_s']]],
7 | ['iic_5fwrite_5fcmd_25',['iic_write_cmd',['../structsht4x__handle__s.html#af9cb104d353f0c18dbb0fd01405f4889',1,'sht4x_handle_s']]],
8 | ['inited_26',['inited',['../structsht4x__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f',1,'sht4x_handle_s']]],
9 | ['interface_27',['interface',['../structsht4x__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28',1,'sht4x_info_s']]]
10 | ];
11 |
--------------------------------------------------------------------------------
/doc/html/search/all_3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/all_3.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['libdriver_20sht4x_28',['LibDriver SHT4X',['../index.html',1,'']]]
4 | ];
5 |
--------------------------------------------------------------------------------
/doc/html/search/all_4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/all_4.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['mainpage_2eh_29',['mainpage.h',['../mainpage_8h.html',1,'']]],
4 | ['manufacturer_5fname_30',['manufacturer_name',['../structsht4x__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea',1,'sht4x_info_s']]],
5 | ['manufacturer_5fname_31',['MANUFACTURER_NAME',['../driver__sht4x_8c.html#aaa2b8f5b105c3019df0cb346f472e803',1,'driver_sht4x.c']]],
6 | ['max_5fcurrent_32',['MAX_CURRENT',['../driver__sht4x_8c.html#a2989837a37d6d63b59c6dd541b785435',1,'driver_sht4x.c']]],
7 | ['max_5fcurrent_5fma_33',['max_current_ma',['../structsht4x__info__s.html#a9db82802561bf22d799b03a345f1d1dc',1,'sht4x_info_s']]]
8 | ];
9 |
--------------------------------------------------------------------------------
/doc/html/search/all_5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/all_6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/all_6.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['temperature_5fmax_86',['temperature_max',['../structsht4x__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6',1,'sht4x_info_s']]],
4 | ['temperature_5fmax_87',['TEMPERATURE_MAX',['../driver__sht4x_8c.html#a90c0b20d54005712fcc8cb01281360e9',1,'driver_sht4x.c']]],
5 | ['temperature_5fmin_88',['temperature_min',['../structsht4x__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e',1,'sht4x_info_s']]],
6 | ['temperature_5fmin_89',['TEMPERATURE_MIN',['../driver__sht4x_8c.html#aab353db5bf4eb787f86a2080f609a551',1,'driver_sht4x.c']]]
7 | ];
8 |
--------------------------------------------------------------------------------
/doc/html/search/classes_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/classes_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['sht4x_5fhandle_5fs_90',['sht4x_handle_s',['../structsht4x__handle__s.html',1,'']]],
4 | ['sht4x_5finfo_5fs_91',['sht4x_info_s',['../structsht4x__info__s.html',1,'']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/close.svg:
--------------------------------------------------------------------------------
1 |
2 |
13 |
15 |
16 |
18 | image/svg+xml
19 |
21 |
22 |
23 |
24 |
25 |
27 |
31 |
32 |
--------------------------------------------------------------------------------
/doc/html/search/defines_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/defines_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['chip_5fname_154',['CHIP_NAME',['../driver__sht4x_8c.html#adc9da0a24824ca1239b593f6459b3954',1,'driver_sht4x.c']]]
4 | ];
5 |
--------------------------------------------------------------------------------
/doc/html/search/defines_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/defines_1.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['driver_5fversion_155',['DRIVER_VERSION',['../driver__sht4x_8c.html#ae578001fe043b4cca7a0edd801cfe9c4',1,'driver_sht4x.c']]]
4 | ];
5 |
--------------------------------------------------------------------------------
/doc/html/search/defines_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/defines_2.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['manufacturer_5fname_156',['MANUFACTURER_NAME',['../driver__sht4x_8c.html#aaa2b8f5b105c3019df0cb346f472e803',1,'driver_sht4x.c']]],
4 | ['max_5fcurrent_157',['MAX_CURRENT',['../driver__sht4x_8c.html#a2989837a37d6d63b59c6dd541b785435',1,'driver_sht4x.c']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/defines_3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/defines_3.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['sht4x_5fcommand_5fread_5fserial_5fnumber_158',['SHT4X_COMMAND_READ_SERIAL_NUMBER',['../driver__sht4x_8c.html#ad58671ed491bd3668f7bd1dd522dce77',1,'driver_sht4x.c']]],
4 | ['sht4x_5fcommand_5fsoft_5freset_159',['SHT4X_COMMAND_SOFT_RESET',['../driver__sht4x_8c.html#a7ec61cc2ca9edf7cd57170c720cff747',1,'driver_sht4x.c']]],
5 | ['supply_5fvoltage_5fmax_160',['SUPPLY_VOLTAGE_MAX',['../driver__sht4x_8c.html#a68eba8b601afe11f1b871d944976c035',1,'driver_sht4x.c']]],
6 | ['supply_5fvoltage_5fmin_161',['SUPPLY_VOLTAGE_MIN',['../driver__sht4x_8c.html#aac8d8cbd899667d609787ef4cf37054d',1,'driver_sht4x.c']]]
7 | ];
8 |
--------------------------------------------------------------------------------
/doc/html/search/defines_4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/defines_4.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['temperature_5fmax_162',['TEMPERATURE_MAX',['../driver__sht4x_8c.html#a90c0b20d54005712fcc8cb01281360e9',1,'driver_sht4x.c']]],
4 | ['temperature_5fmin_163',['TEMPERATURE_MIN',['../driver__sht4x_8c.html#aab353db5bf4eb787f86a2080f609a551',1,'driver_sht4x.c']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/enums_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/enums_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['sht4x_5faddress_5ft_140',['sht4x_address_t',['../group__sht4x__base__driver.html#ga57bed306b19e9f19231daf1ce808e8bd',1,'driver_sht4x.h']]],
4 | ['sht4x_5fmode_5ft_141',['sht4x_mode_t',['../group__sht4x__base__driver.html#ga52c0cc65cd394b1eac37be5d7daeacf0',1,'driver_sht4x.h']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/enumvalues_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/enumvalues_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['sht4x_5faddress_5f0_142',['SHT4X_ADDRESS_0',['../group__sht4x__base__driver.html#gga57bed306b19e9f19231daf1ce808e8bdab6f2a2dd5996f7383991e51805322f94',1,'driver_sht4x.h']]],
4 | ['sht4x_5faddress_5f1_143',['SHT4X_ADDRESS_1',['../group__sht4x__base__driver.html#gga57bed306b19e9f19231daf1ce808e8bdaa6df620f51276585f7e61db7df0cef41',1,'driver_sht4x.h']]],
5 | ['sht4x_5faddress_5f2_144',['SHT4X_ADDRESS_2',['../group__sht4x__base__driver.html#gga57bed306b19e9f19231daf1ce808e8bda7f26b3d55b28adca66cf71c903e6289c',1,'driver_sht4x.h']]],
6 | ['sht4x_5fmode_5fhigh_5fprecision_5fwith_5fheater_5f110mw_5f0p1s_145',['SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_110MW_0P1S',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0ad4d8077f6ae35c4021e4a5fad57910a2',1,'driver_sht4x.h']]],
7 | ['sht4x_5fmode_5fhigh_5fprecision_5fwith_5fheater_5f110mw_5f1s_146',['SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_110MW_1S',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a4ba0509643b82f053a14577b1e341825',1,'driver_sht4x.h']]],
8 | ['sht4x_5fmode_5fhigh_5fprecision_5fwith_5fheater_5f200mw_5f0p1s_147',['SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_200MW_0P1S',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a92562539bdd63412fa5f50921989f232',1,'driver_sht4x.h']]],
9 | ['sht4x_5fmode_5fhigh_5fprecision_5fwith_5fheater_5f200mw_5f1s_148',['SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_200MW_1S',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a70e1287fad4eda9cb7d8d198c85e08a6',1,'driver_sht4x.h']]],
10 | ['sht4x_5fmode_5fhigh_5fprecision_5fwith_5fheater_5f20mw_5f0p1s_149',['SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_20MW_0P1S',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a641724af72d7f10b9c847984f436f1ef',1,'driver_sht4x.h']]],
11 | ['sht4x_5fmode_5fhigh_5fprecision_5fwith_5fheater_5f20mw_5f1s_150',['SHT4X_MODE_HIGH_PRECISION_WITH_HEATER_20MW_1S',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0af57f4088445927f06172117bb4c5cac2',1,'driver_sht4x.h']]],
12 | ['sht4x_5fmode_5fhigh_5fprecision_5fwith_5fno_5fheater_151',['SHT4X_MODE_HIGH_PRECISION_WITH_NO_HEATER',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a44ec029016318914f5a8a08cb25e12e1',1,'driver_sht4x.h']]],
13 | ['sht4x_5fmode_5flowest_5fprecision_5fwith_5fno_5fheater_152',['SHT4X_MODE_LOWEST_PRECISION_WITH_NO_HEATER',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0ad0ae80ed7afbec6df9298873ce4f085d',1,'driver_sht4x.h']]],
14 | ['sht4x_5fmode_5fmedium_5fprecision_5fwith_5fno_5fheater_153',['SHT4X_MODE_MEDIUM_PRECISION_WITH_NO_HEATER',['../group__sht4x__base__driver.html#gga52c0cc65cd394b1eac37be5d7daeacf0a504f26517deb6cdebb30177888d31cf5',1,'driver_sht4x.h']]]
15 | ];
16 |
--------------------------------------------------------------------------------
/doc/html/search/files_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/files_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['driver_5fsht4x_2ec_92',['driver_sht4x.c',['../driver__sht4x_8c.html',1,'']]],
4 | ['driver_5fsht4x_2eh_93',['driver_sht4x.h',['../driver__sht4x_8h.html',1,'']]],
5 | ['driver_5fsht4x_5fbasic_2ec_94',['driver_sht4x_basic.c',['../driver__sht4x__basic_8c.html',1,'']]],
6 | ['driver_5fsht4x_5fbasic_2eh_95',['driver_sht4x_basic.h',['../driver__sht4x__basic_8h.html',1,'']]],
7 | ['driver_5fsht4x_5finterface_2eh_96',['driver_sht4x_interface.h',['../driver__sht4x__interface_8h.html',1,'']]],
8 | ['driver_5fsht4x_5finterface_5ftemplate_2ec_97',['driver_sht4x_interface_template.c',['../driver__sht4x__interface__template_8c.html',1,'']]],
9 | ['driver_5fsht4x_5fread_5ftest_2ec_98',['driver_sht4x_read_test.c',['../driver__sht4x__read__test_8c.html',1,'']]],
10 | ['driver_5fsht4x_5fread_5ftest_2eh_99',['driver_sht4x_read_test.h',['../driver__sht4x__read__test_8h.html',1,'']]]
11 | ];
12 |
--------------------------------------------------------------------------------
/doc/html/search/files_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/files_1.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['mainpage_2eh_100',['mainpage.h',['../mainpage_8h.html',1,'']]]
4 | ];
5 |
--------------------------------------------------------------------------------
/doc/html/search/functions_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/groups_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/groups_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['sht4x_20base_20driver_20function_164',['sht4x base driver function',['../group__sht4x__base__driver.html',1,'']]],
4 | ['sht4x_20driver_20function_165',['sht4x driver function',['../group__sht4x__driver.html',1,'']]],
5 | ['sht4x_20example_20driver_20function_166',['sht4x example driver function',['../group__sht4x__example__driver.html',1,'']]],
6 | ['sht4x_20extend_20driver_20function_167',['sht4x extend driver function',['../group__sht4x__extend__driver.html',1,'']]],
7 | ['sht4x_20interface_20driver_20function_168',['sht4x interface driver function',['../group__sht4x__interface__driver.html',1,'']]],
8 | ['sht4x_20link_20driver_20function_169',['sht4x link driver function',['../group__sht4x__link__driver.html',1,'']]],
9 | ['sht4x_20test_20driver_20function_170',['sht4x test driver function',['../group__sht4x__test__driver.html',1,'']]]
10 | ];
11 |
--------------------------------------------------------------------------------
/doc/html/search/mag_sel.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
19 |
21 |
22 |
24 | image/svg+xml
25 |
27 |
28 |
29 |
30 |
31 |
33 |
57 |
63 |
69 |
74 |
75 |
--------------------------------------------------------------------------------
/doc/html/search/nomatches.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/doc/html/search/pages_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/pages_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['libdriver_20sht4x_171',['LibDriver SHT4X',['../index.html',1,'']]]
4 | ];
5 |
--------------------------------------------------------------------------------
/doc/html/search/search_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/search/search_l.png
--------------------------------------------------------------------------------
/doc/html/search/search_m.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/search/search_m.png
--------------------------------------------------------------------------------
/doc/html/search/search_r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/search/search_r.png
--------------------------------------------------------------------------------
/doc/html/search/searchdata.js:
--------------------------------------------------------------------------------
1 | var indexSectionsWithContent =
2 | {
3 | 0: "cdilmst",
4 | 1: "s",
5 | 2: "dm",
6 | 3: "s",
7 | 4: "cdimst",
8 | 5: "s",
9 | 6: "s",
10 | 7: "s",
11 | 8: "cdmst",
12 | 9: "s",
13 | 10: "l"
14 | };
15 |
16 | var indexSectionNames =
17 | {
18 | 0: "all",
19 | 1: "classes",
20 | 2: "files",
21 | 3: "functions",
22 | 4: "variables",
23 | 5: "typedefs",
24 | 6: "enums",
25 | 7: "enumvalues",
26 | 8: "defines",
27 | 9: "groups",
28 | 10: "pages"
29 | };
30 |
31 | var indexSectionLabels =
32 | {
33 | 0: "All",
34 | 1: "Data Structures",
35 | 2: "Files",
36 | 3: "Functions",
37 | 4: "Variables",
38 | 5: "Typedefs",
39 | 6: "Enumerations",
40 | 7: "Enumerator",
41 | 8: "Macros",
42 | 9: "Modules",
43 | 10: "Pages"
44 | };
45 |
46 |
--------------------------------------------------------------------------------
/doc/html/search/typedefs_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/typedefs_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['sht4x_5fhandle_5ft_138',['sht4x_handle_t',['../group__sht4x__base__driver.html#ga3720294c1bea51e6beeffe6f3198a692',1,'driver_sht4x.h']]],
4 | ['sht4x_5finfo_5ft_139',['sht4x_info_t',['../group__sht4x__base__driver.html#ga53ceab0be4dccd242c6b4eb9b8019522',1,'driver_sht4x.h']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/variables_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/variables_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['chip_5fname_121',['chip_name',['../structsht4x__info__s.html#af890958c72bd715cc6454a10dc846ae6',1,'sht4x_info_s']]]
4 | ];
5 |
--------------------------------------------------------------------------------
/doc/html/search/variables_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/variables_1.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['debug_5fprint_122',['debug_print',['../structsht4x__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b',1,'sht4x_handle_s']]],
4 | ['delay_5fms_123',['delay_ms',['../structsht4x__handle__s.html#a406c9433252b7366de417b7a60915c81',1,'sht4x_handle_s']]],
5 | ['driver_5fversion_124',['driver_version',['../structsht4x__info__s.html#a41b0bd442708b70d252c50b92c75265a',1,'sht4x_info_s']]]
6 | ];
7 |
--------------------------------------------------------------------------------
/doc/html/search/variables_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/variables_2.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['iic_5faddr_125',['iic_addr',['../structsht4x__handle__s.html#ae4fb63dc1b166464d5da3aa753b0805a',1,'sht4x_handle_s']]],
4 | ['iic_5fdeinit_126',['iic_deinit',['../structsht4x__handle__s.html#af6963bbad902ca6e43942b48c07986c3',1,'sht4x_handle_s']]],
5 | ['iic_5finit_127',['iic_init',['../structsht4x__handle__s.html#a8826dd07625f8d90859ce9bd09628d61',1,'sht4x_handle_s']]],
6 | ['iic_5fread_5fcmd_128',['iic_read_cmd',['../structsht4x__handle__s.html#acebeabb312305acedcb64f4f10755117',1,'sht4x_handle_s']]],
7 | ['iic_5fwrite_5fcmd_129',['iic_write_cmd',['../structsht4x__handle__s.html#af9cb104d353f0c18dbb0fd01405f4889',1,'sht4x_handle_s']]],
8 | ['inited_130',['inited',['../structsht4x__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f',1,'sht4x_handle_s']]],
9 | ['interface_131',['interface',['../structsht4x__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28',1,'sht4x_info_s']]]
10 | ];
11 |
--------------------------------------------------------------------------------
/doc/html/search/variables_3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/variables_3.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['manufacturer_5fname_132',['manufacturer_name',['../structsht4x__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea',1,'sht4x_info_s']]],
4 | ['max_5fcurrent_5fma_133',['max_current_ma',['../structsht4x__info__s.html#a9db82802561bf22d799b03a345f1d1dc',1,'sht4x_info_s']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/variables_4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/variables_4.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['supply_5fvoltage_5fmax_5fv_134',['supply_voltage_max_v',['../structsht4x__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660',1,'sht4x_info_s']]],
4 | ['supply_5fvoltage_5fmin_5fv_135',['supply_voltage_min_v',['../structsht4x__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a',1,'sht4x_info_s']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/search/variables_5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
Loading...
13 |
14 |
19 |
Searching...
20 |
No Matches
21 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/doc/html/search/variables_5.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['temperature_5fmax_136',['temperature_max',['../structsht4x__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6',1,'sht4x_info_s']]],
4 | ['temperature_5fmin_137',['temperature_min',['../structsht4x__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e',1,'sht4x_info_s']]]
5 | ];
6 |
--------------------------------------------------------------------------------
/doc/html/splitbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/splitbar.png
--------------------------------------------------------------------------------
/doc/html/structsht4x__handle__s.js:
--------------------------------------------------------------------------------
1 | var structsht4x__handle__s =
2 | [
3 | [ "debug_print", "structsht4x__handle__s.html#a769d5b3a6c14790a0e126e8fe70b384b", null ],
4 | [ "delay_ms", "structsht4x__handle__s.html#a406c9433252b7366de417b7a60915c81", null ],
5 | [ "iic_addr", "structsht4x__handle__s.html#ae4fb63dc1b166464d5da3aa753b0805a", null ],
6 | [ "iic_deinit", "structsht4x__handle__s.html#af6963bbad902ca6e43942b48c07986c3", null ],
7 | [ "iic_init", "structsht4x__handle__s.html#a8826dd07625f8d90859ce9bd09628d61", null ],
8 | [ "iic_read_cmd", "structsht4x__handle__s.html#acebeabb312305acedcb64f4f10755117", null ],
9 | [ "iic_write_cmd", "structsht4x__handle__s.html#af9cb104d353f0c18dbb0fd01405f4889", null ],
10 | [ "inited", "structsht4x__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f", null ]
11 | ];
--------------------------------------------------------------------------------
/doc/html/structsht4x__info__s.js:
--------------------------------------------------------------------------------
1 | var structsht4x__info__s =
2 | [
3 | [ "chip_name", "structsht4x__info__s.html#af890958c72bd715cc6454a10dc846ae6", null ],
4 | [ "driver_version", "structsht4x__info__s.html#a41b0bd442708b70d252c50b92c75265a", null ],
5 | [ "interface", "structsht4x__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28", null ],
6 | [ "manufacturer_name", "structsht4x__info__s.html#ad25285dbf810c90f8eaf3fcef6f2b2ea", null ],
7 | [ "max_current_ma", "structsht4x__info__s.html#a9db82802561bf22d799b03a345f1d1dc", null ],
8 | [ "supply_voltage_max_v", "structsht4x__info__s.html#a3d2b12bcac7a85ea8646bff9debe8660", null ],
9 | [ "supply_voltage_min_v", "structsht4x__info__s.html#ad8bde6ddadaf43d951e62f3befb9d35a", null ],
10 | [ "temperature_max", "structsht4x__info__s.html#a3366a5dce9b829e03c3d321c2b4df3f6", null ],
11 | [ "temperature_min", "structsht4x__info__s.html#a8f9dbe66ac0b66ebae0a36fcb4ba368e", null ]
12 | ];
--------------------------------------------------------------------------------
/doc/html/sync_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/sync_off.png
--------------------------------------------------------------------------------
/doc/html/sync_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/sync_on.png
--------------------------------------------------------------------------------
/doc/html/tab_a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/tab_a.png
--------------------------------------------------------------------------------
/doc/html/tab_b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/tab_b.png
--------------------------------------------------------------------------------
/doc/html/tab_h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/tab_h.png
--------------------------------------------------------------------------------
/doc/html/tab_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/html/tab_s.png
--------------------------------------------------------------------------------
/doc/image/doxygen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/doc/image/doxygen.png
--------------------------------------------------------------------------------
/doc/image/logo.svg:
--------------------------------------------------------------------------------
1 | logo
--------------------------------------------------------------------------------
/doc/image/misra.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/doc/mainpage/mainpage.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @mainpage LibDriver SHT4X
3 | * @brief LibDriver SHT4X is a full-featured driver of SHT4X and it can run in both MCU and Linux platform.
4 | * @version 1.0.0
5 | * @author Shifeng Li
6 | *
7 | * History
8 | *
9 | * Date Version Author Description
10 | * 2023/06/25 1.0 Shifeng Li first upload
11 | *
12 | *
13 | * Copyright (c) LibDriver
14 | * All rights reserved.
15 | *
16 | * The MIT License (MIT)
17 | *
18 | * Permission is hereby granted, free of charge, to any person obtaining a copy
19 | * of this software and associated documentation files (the "Software"), to deal
20 | * in the Software without restriction, including without limitation the rights
21 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22 | * copies of the Software, and to permit persons to whom the Software is
23 | * furnished to do so, subject to the following conditions:
24 | *
25 | * The above copyright notice and this permission notice shall be included in all
26 | * copies or substantial portions of the Software.
27 | *
28 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34 | * SOFTWARE.
35 | */
36 |
--------------------------------------------------------------------------------
/example/driver_sht4x_basic.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file driver_sht4x_basic.h
25 | * @brief driver sht4x basic header file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2023-06-25
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2023/06/25 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #ifndef DRIVER_SHT4X_BASIC_H
38 | #define DRIVER_SHT4X_BASIC_H
39 |
40 | #include "driver_sht4x_interface.h"
41 |
42 | #ifdef __cplusplus
43 | extern "C"{
44 | #endif
45 |
46 | /**
47 | * @defgroup sht4x_example_driver sht4x example driver function
48 | * @brief sht4x example driver modules
49 | * @ingroup sht4x_driver
50 | * @{
51 | */
52 |
53 | /**
54 | * @brief sht4x basic example default definition
55 | */
56 | #define SHT4X_BASIC_DEFAULT_MODE SHT4X_MODE_HIGH_PRECISION_WITH_NO_HEATER /**< measure T & RH with high precision */
57 |
58 | /**
59 | * @brief basic example init
60 | * @param[in] addr iic device address
61 | * @return status code
62 | * - 0 success
63 | * - 1 init failed
64 | * @note none
65 | */
66 | uint8_t sht4x_basic_init(sht4x_address_t addr);
67 |
68 | /**
69 | * @brief basic example deinit
70 | * @return status code
71 | * - 0 success
72 | * - 1 deinit failed
73 | * @note none
74 | */
75 | uint8_t sht4x_basic_deinit(void);
76 |
77 | /**
78 | * @brief basic example get serial number
79 | * @param[out] *num pointer to a number buffer
80 | * @return status code
81 | * - 0 success
82 | * - 1 get serial number failed
83 | * @note none
84 | */
85 | uint8_t sht4x_basic_get_serial_number(uint8_t num[4]);
86 |
87 | /**
88 | * @brief basic example read
89 | * @param[out] *temperature pointer to a converted temperature buffer
90 | * @param[out] *humidity pointer to a converted humidity buffer
91 | * @return status code
92 | * - 0 success
93 | * - 1 read failed
94 | * @note none
95 | */
96 | uint8_t sht4x_basic_read(float *temperature, float *humidity);
97 |
98 | /**
99 | * @}
100 | */
101 |
102 | #ifdef __cplusplus
103 | }
104 | #endif
105 |
106 | #endif
107 |
--------------------------------------------------------------------------------
/interface/driver_sht4x_interface.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file driver_sht4x_interface.h
25 | * @brief driver sht4x interface header file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2023-06-25
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2023/06/25 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #ifndef DRIVER_SHT4X_INTERFACE_H
38 | #define DRIVER_SHT4X_INTERFACE_H
39 |
40 | #include "driver_sht4x.h"
41 |
42 | #ifdef __cplusplus
43 | extern "C"{
44 | #endif
45 |
46 | /**
47 | * @defgroup sht4x_interface_driver sht4x interface driver function
48 | * @brief sht4x interface driver modules
49 | * @ingroup sht4x_driver
50 | * @{
51 | */
52 |
53 | /**
54 | * @brief interface iic bus init
55 | * @return status code
56 | * - 0 success
57 | * - 1 iic init failed
58 | * @note none
59 | */
60 | uint8_t sht4x_interface_iic_init(void);
61 |
62 | /**
63 | * @brief interface iic bus deinit
64 | * @return status code
65 | * - 0 success
66 | * - 1 iic deinit failed
67 | * @note none
68 | */
69 | uint8_t sht4x_interface_iic_deinit(void);
70 |
71 | /**
72 | * @brief interface iic bus write command
73 | * @param[in] addr iic device write address
74 | * @param[in] *buf pointer to a data buffer
75 | * @param[in] len length of the data buffer
76 | * @return status code
77 | * - 0 success
78 | * - 1 write failed
79 | * @note none
80 | */
81 | uint8_t sht4x_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len);
82 |
83 | /**
84 | * @brief interface iic bus read command
85 | * @param[in] addr iic device write address
86 | * @param[out] *buf pointer to a data buffer
87 | * @param[in] len length of the data buffer
88 | * @return status code
89 | * - 0 success
90 | * - 1 read failed
91 | * @note none
92 | */
93 | uint8_t sht4x_interface_iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len);
94 |
95 | /**
96 | * @brief interface delay ms
97 | * @param[in] ms time
98 | * @note none
99 | */
100 | void sht4x_interface_delay_ms(uint32_t ms);
101 |
102 | /**
103 | * @brief interface print format data
104 | * @param[in] fmt format data
105 | * @note none
106 | */
107 | void sht4x_interface_debug_print(const char *const fmt, ...);
108 |
109 | /**
110 | * @}
111 | */
112 |
113 | #ifdef __cplusplus
114 | }
115 | #endif
116 |
117 | #endif
118 |
--------------------------------------------------------------------------------
/interface/driver_sht4x_interface_template.c:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file driver_sht4x_interface_template.c
25 | * @brief driver sht4x interface template source file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2023-06-25
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2023/06/25 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #include "driver_sht4x_interface.h"
38 |
39 | /**
40 | * @brief interface iic bus init
41 | * @return status code
42 | * - 0 success
43 | * - 1 iic init failed
44 | * @note none
45 | */
46 | uint8_t sht4x_interface_iic_init(void)
47 | {
48 | return 0;
49 | }
50 |
51 | /**
52 | * @brief interface iic bus deinit
53 | * @return status code
54 | * - 0 success
55 | * - 1 iic deinit failed
56 | * @note none
57 | */
58 | uint8_t sht4x_interface_iic_deinit(void)
59 | {
60 | return 0;
61 | }
62 |
63 | /**
64 | * @brief interface iic bus write command
65 | * @param[in] addr iic device write address
66 | * @param[in] *buf pointer to a data buffer
67 | * @param[in] len length of the data buffer
68 | * @return status code
69 | * - 0 success
70 | * - 1 write failed
71 | * @note none
72 | */
73 | uint8_t sht4x_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
74 | {
75 | return 0;
76 | }
77 |
78 | /**
79 | * @brief interface iic bus read command
80 | * @param[in] addr iic device write address
81 | * @param[out] *buf pointer to a data buffer
82 | * @param[in] len length of the data buffer
83 | * @return status code
84 | * - 0 success
85 | * - 1 read failed
86 | * @note none
87 | */
88 | uint8_t sht4x_interface_iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
89 | {
90 | return 0;
91 | }
92 |
93 | /**
94 | * @brief interface delay ms
95 | * @param[in] ms time
96 | * @note none
97 | */
98 | void sht4x_interface_delay_ms(uint32_t ms)
99 | {
100 |
101 | }
102 |
103 | /**
104 | * @brief interface print format data
105 | * @param[in] fmt format data
106 | * @note none
107 | */
108 | void sht4x_interface_debug_print(const char *const fmt, ...)
109 | {
110 |
111 | }
112 |
--------------------------------------------------------------------------------
/misra/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ### Table of Contents
6 |
7 | - [Introduce](#Introduce)
8 | - [Classification](#Classification)
9 | - [Compliance](#Compliance)
10 | - [Code](#Code)
11 | - [Report](#Report)
12 |
13 | ### Introduce
14 |
15 | MISRA C is a set of software development guidelines for the C programming language developed by The MISRA Consortium. Its aims are to facilitate code safety, security, portability and reliability in the context of embedded systems, specifically those systems programmed in ISO C / C90 / C99.
16 |
17 | Although originally specifically targeted at the automotive industry, MISRA C has evolved as a widely accepted model for best practices by leading developers in sectors including automotive, aerospace, telecom, medical devices, defense, railway, and others.
18 |
19 | ### Classification
20 |
21 | Each Guideline is classified as Mandatory(new for MISRA C:2012), Required or Advisory.
22 |
23 | - Mandatory guidelines shall always be complied with
24 | - Required guidelines shall be complied with, unless subject to a Deviation
25 | - Advisory guidelines are considered good practice, but compliance is less formal.
26 |
27 | ### Compliance
28 |
29 | In order for a piece of software to claim to be compliant to the MISRA C Guidelines, all mandatory rules shall be met and all required rules and directives shall either be met or subject to a formal deviation.
30 |
31 | Many MISRA C rules can be characterized as guidelines because under certain condition software engineers may deviate from rules and still be considered compliant with the standard. Deviations must be documented either in the code or in a file. In addition; proof must be provided that the software engineer has considered the safety of the system and that deviating from the rule will not have a negative impact, requirements for deviations also include:
32 |
33 | - The rule deviated from.
34 | - Rationale for deviation.
35 |
36 | ### Code
37 |
38 | LibDriver complies with deviated MISRA standards. LibDriver complies with all mandatory guidelines and most required guidelines, the deviations are shown in Table 1.
39 |
40 | Table 1. Guideline Deviations
41 |
42 | | Guideline | Description | Status | Explanation | Severity |
43 | | --------- | ------------------------------------------------------------ | ------------ | ------------------------------------------------------------ | -------- |
44 | | 10.1 | Operands shall not be of an inappropriate essential type. (\|, &, ~, <<, >>) | incompatible | Embedded drivers need this method to set or clear some bits and drivers guarantee the safety of the operation. | very low |
45 | | 10.3 | The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category.(\|, &, <<, >>) | incompatible | We use enumeration to define driver configuration, which is a friendly programming method and should be accepted and drivers. | very low |
46 | | 10.4 | Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. | incompatible | Embedded drivers need this method to set or clear some bits and drivers guarantee the safety of the operation. | very low |
47 |
48 | ### Report
49 |
50 | Detailed reports can be found in /misra/sht4x_polyspace_report.pdf.
51 |
--------------------------------------------------------------------------------
/misra/sht4x_polyspace_report.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/misra/sht4x_polyspace_report.pdf
--------------------------------------------------------------------------------
/project/raspberrypi4b/J8Header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/project/raspberrypi4b/J8Header.jpg
--------------------------------------------------------------------------------
/project/raspberrypi4b/cmake/VERSION:
--------------------------------------------------------------------------------
1 | 1.0.0
--------------------------------------------------------------------------------
/project/raspberrypi4b/cmake/config.cmake.in:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (c) 2015 - present LibDriver All rights reserved
3 | #
4 | # The MIT License (MIT)
5 | #
6 | # Permission is hereby granted, free of charge, to any person obtaining a copy
7 | # of this software and associated documentation files (the "Software"), to deal
8 | # in the Software without restriction, including without limitation the rights
9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | # copies of the Software, and to permit persons to whom the Software is
11 | # furnished to do so, subject to the following conditions:
12 | #
13 | # The above copyright notice and this permission notice shall be included in all
14 | # copies or substantial portions of the Software.
15 | #
16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | # SOFTWARE.
23 | #
24 |
25 | # set the package init
26 | @PACKAGE_INIT@
27 |
28 | # include dependency macro
29 | include(CMakeFindDependencyMacro)
30 |
31 | # find the pkgconfig and use this tool to find the third party packages
32 | find_package(PkgConfig REQUIRED)
33 |
34 | # find the third party packages with pkgconfig
35 | pkg_search_module(GPIOD REQUIRED libgpiod)
36 |
37 | # include the cmake targets
38 | include(${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@-targets.cmake)
39 |
40 | # get the include header directories
41 | get_target_property(@CMAKE_PROJECT_NAME@_INCLUDE_DIRS @CMAKE_PROJECT_NAME@ INTERFACE_INCLUDE_DIRECTORIES)
42 |
43 | # get the library directories
44 | get_target_property(@CMAKE_PROJECT_NAME@_LIBRARIES @CMAKE_PROJECT_NAME@ IMPORTED_LOCATION_RELEASE)
45 |
--------------------------------------------------------------------------------
/project/raspberrypi4b/cmake/uninstall.cmake:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (c) 2015 - present LibDriver All rights reserved
3 | #
4 | # The MIT License (MIT)
5 | #
6 | # Permission is hereby granted, free of charge, to any person obtaining a copy
7 | # of this software and associated documentation files (the "Software"), to deal
8 | # in the Software without restriction, including without limitation the rights
9 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | # copies of the Software, and to permit persons to whom the Software is
11 | # furnished to do so, subject to the following conditions:
12 | #
13 | # The above copyright notice and this permission notice shall be included in all
14 | # copies or substantial portions of the Software.
15 | #
16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | # SOFTWARE.
23 | #
24 |
25 | # check the install_manifest.txt
26 | if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt")
27 | # output the error
28 | message(FATAL_ERROR "cannot find install manifest: ${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt")
29 | endif()
30 |
31 | # read install_manifest.txt to uninstall_list
32 | file(READ "${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt" ${CMAKE_PROJECT_NAME}_uninstall_list)
33 |
34 | # replace '\n' to ';'
35 | string(REGEX REPLACE "\n" ";" ${CMAKE_PROJECT_NAME}_uninstall_list "${${CMAKE_PROJECT_NAME}_uninstall_list}")
36 |
37 | # uninstall the list files
38 | foreach(${CMAKE_PROJECT_NAME}_uninstall_list ${${CMAKE_PROJECT_NAME}_uninstall_list})
39 | # if a link or a file
40 | if(IS_SYMLINK "$ENV{DESTDIR}${${CMAKE_PROJECT_NAME}_uninstall_list}" OR EXISTS "$ENV{DESTDIR}${${CMAKE_PROJECT_NAME}_uninstall_list}")
41 | # delete the file
42 | execute_process(COMMAND ${CMAKE_COMMAND} -E remove ${${CMAKE_PROJECT_NAME}_uninstall_list}
43 | RESULT_VARIABLE rm_retval
44 | )
45 |
46 | # check the retval
47 | if(NOT "${rm_retval}" STREQUAL 0)
48 | # output the error
49 | message(FATAL_ERROR "failed to remove file: '${${CMAKE_PROJECT_NAME}_uninstall_list}'.")
50 | else()
51 | # uninstalling files
52 | message(STATUS "uninstalling: $ENV{DESTDIR}${${CMAKE_PROJECT_NAME}_uninstall_list}")
53 | endif()
54 | else()
55 | # output the error
56 | message(STATUS "file: $ENV{DESTDIR}${${CMAKE_PROJECT_NAME}_uninstall_list} does not exist.")
57 | endif()
58 | endforeach()
59 |
--------------------------------------------------------------------------------
/project/stm32f407/EW/stm32f407.dep:
--------------------------------------------------------------------------------
1 |
2 |
3 | 5
4 | 2810799854
5 |
6 | Release
7 |
8 | $PROJ_DIR$\..\usr\src\getopt.c
9 | $PROJ_DIR$\..\usr\src\stm32f4xx_hal_msp.c
10 | $PROJ_DIR$\..\usr\src\main.c
11 | $PROJ_DIR$\..\usr\src\system_stm32f4xx.c
12 | $PROJ_DIR$\..\usr\src\stm32f4xx_it.c
13 | $PROJ_DIR$\..\usr\src\shell.c
14 | $PROJ_DIR$\..\..\..\src\driver_sht4x.c
15 | $PROJ_DIR$\..\driver\src\stm32f407_driver_sht4x_interface.c
16 | $PROJ_DIR$\..\..\..\example\driver_sht4x_basic.c
17 | $PROJ_DIR$\..\..\..\test\driver_sht4x_read_test.c
18 |
19 |
20 | [REBUILD_ALL]
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/project/stm32f407/EW/stm32f407.eww:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $WS_DIR$\stm32f407.ewp
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/project/stm32f407/cmsis/cmsis_version.h:
--------------------------------------------------------------------------------
1 | /**************************************************************************//**
2 | * @file cmsis_version.h
3 | * @brief CMSIS Core(M) Version definitions
4 | * @version V5.0.2
5 | * @date 19. April 2017
6 | ******************************************************************************/
7 | /*
8 | * Copyright (c) 2009-2017 ARM Limited. All rights reserved.
9 | *
10 | * SPDX-License-Identifier: Apache-2.0
11 | *
12 | * Licensed under the Apache License, Version 2.0 (the License); you may
13 | * not use this file except in compliance with the License.
14 | * You may obtain a copy of the License at
15 | *
16 | * www.apache.org/licenses/LICENSE-2.0
17 | *
18 | * Unless required by applicable law or agreed to in writing, software
19 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT
20 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 | * See the License for the specific language governing permissions and
22 | * limitations under the License.
23 | */
24 |
25 | #if defined ( __ICCARM__ )
26 | #pragma system_include /* treat file as system include file for MISRA check */
27 | #elif defined (__clang__)
28 | #pragma clang system_header /* treat file as system include file */
29 | #endif
30 |
31 | #ifndef __CMSIS_VERSION_H
32 | #define __CMSIS_VERSION_H
33 |
34 | /* CMSIS Version definitions */
35 | #define __CM_CMSIS_VERSION_MAIN ( 5U) /*!< [31:16] CMSIS Core(M) main version */
36 | #define __CM_CMSIS_VERSION_SUB ( 1U) /*!< [15:0] CMSIS Core(M) sub version */
37 | #define __CM_CMSIS_VERSION ((__CM_CMSIS_VERSION_MAIN << 16U) | \
38 | __CM_CMSIS_VERSION_SUB ) /*!< CMSIS Core(M) version number */
39 | #endif
40 |
--------------------------------------------------------------------------------
/project/stm32f407/cmsis/tz_context.h:
--------------------------------------------------------------------------------
1 | /******************************************************************************
2 | * @file tz_context.h
3 | * @brief Context Management for Armv8-M TrustZone
4 | * @version V1.0.1
5 | * @date 10. January 2018
6 | ******************************************************************************/
7 | /*
8 | * Copyright (c) 2017-2018 Arm Limited. All rights reserved.
9 | *
10 | * SPDX-License-Identifier: Apache-2.0
11 | *
12 | * Licensed under the Apache License, Version 2.0 (the License); you may
13 | * not use this file except in compliance with the License.
14 | * You may obtain a copy of the License at
15 | *
16 | * www.apache.org/licenses/LICENSE-2.0
17 | *
18 | * Unless required by applicable law or agreed to in writing, software
19 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT
20 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 | * See the License for the specific language governing permissions and
22 | * limitations under the License.
23 | */
24 |
25 | #if defined ( __ICCARM__ )
26 | #pragma system_include /* treat file as system include file for MISRA check */
27 | #elif defined (__clang__)
28 | #pragma clang system_header /* treat file as system include file */
29 | #endif
30 |
31 | #ifndef TZ_CONTEXT_H
32 | #define TZ_CONTEXT_H
33 |
34 | #include
35 |
36 | #ifndef TZ_MODULEID_T
37 | #define TZ_MODULEID_T
38 | /// \details Data type that identifies secure software modules called by a process.
39 | typedef uint32_t TZ_ModuleId_t;
40 | #endif
41 |
42 | /// \details TZ Memory ID identifies an allocated memory slot.
43 | typedef uint32_t TZ_MemoryId_t;
44 |
45 | /// Initialize secure context memory system
46 | /// \return execution status (1: success, 0: error)
47 | uint32_t TZ_InitContextSystem_S (void);
48 |
49 | /// Allocate context memory for calling secure software modules in TrustZone
50 | /// \param[in] module identifies software modules called from non-secure mode
51 | /// \return value != 0 id TrustZone memory slot identifier
52 | /// \return value 0 no memory available or internal error
53 | TZ_MemoryId_t TZ_AllocModuleContext_S (TZ_ModuleId_t module);
54 |
55 | /// Free context memory that was previously allocated with \ref TZ_AllocModuleContext_S
56 | /// \param[in] id TrustZone memory slot identifier
57 | /// \return execution status (1: success, 0: error)
58 | uint32_t TZ_FreeModuleContext_S (TZ_MemoryId_t id);
59 |
60 | /// Load secure context (called on RTOS thread context switch)
61 | /// \param[in] id TrustZone memory slot identifier
62 | /// \return execution status (1: success, 0: error)
63 | uint32_t TZ_LoadContext_S (TZ_MemoryId_t id);
64 |
65 | /// Store secure context (called on RTOS thread context switch)
66 | /// \param[in] id TrustZone memory slot identifier
67 | /// \return execution status (1: success, 0: error)
68 | uint32_t TZ_StoreContext_S (TZ_MemoryId_t id);
69 |
70 | #endif // TZ_CONTEXT_H
71 |
--------------------------------------------------------------------------------
/project/stm32f407/driver/src/stm32f407_driver_sht4x_interface.c:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file stm32f407_driver_sht4x_interface.c
25 | * @brief stm32f407 driver sht4x interface source file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2023-06-25
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2023/06/25 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #include "driver_sht4x_interface.h"
38 | #include "delay.h"
39 | #include "uart.h"
40 | #include "iic.h"
41 | #include
42 |
43 | /**
44 | * @brief interface iic bus init
45 | * @return status code
46 | * - 0 success
47 | * - 1 iic init failed
48 | * @note none
49 | */
50 | uint8_t sht4x_interface_iic_init(void)
51 | {
52 | return iic_init();
53 | }
54 |
55 | /**
56 | * @brief interface iic bus deinit
57 | * @return status code
58 | * - 0 success
59 | * - 1 iic deinit failed
60 | * @note none
61 | */
62 | uint8_t sht4x_interface_iic_deinit(void)
63 | {
64 | return iic_deinit();
65 | }
66 |
67 | /**
68 | * @brief interface iic bus write command
69 | * @param[in] addr iic device write address
70 | * @param[in] *buf pointer to a data buffer
71 | * @param[in] len length of the data buffer
72 | * @return status code
73 | * - 0 success
74 | * - 1 write failed
75 | * @note none
76 | */
77 | uint8_t sht4x_interface_iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
78 | {
79 | return iic_write_cmd(addr, buf, len);
80 | }
81 |
82 | /**
83 | * @brief interface iic bus read command
84 | * @param[in] addr iic device write address
85 | * @param[out] *buf pointer to a data buffer
86 | * @param[in] len length of the data buffer
87 | * @return status code
88 | * - 0 success
89 | * - 1 read failed
90 | * @note none
91 | */
92 | uint8_t sht4x_interface_iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
93 | {
94 | return iic_read_cmd(addr, buf, len);
95 | }
96 |
97 | /**
98 | * @brief interface delay ms
99 | * @param[in] ms time
100 | * @note none
101 | */
102 | void sht4x_interface_delay_ms(uint32_t ms)
103 | {
104 | delay_ms(ms);
105 | }
106 |
107 | /**
108 | * @brief interface print format data
109 | * @param[in] fmt format data
110 | * @note none
111 | */
112 | void sht4x_interface_debug_print(const char *const fmt, ...)
113 | {
114 | char str[256];
115 | uint16_t len;
116 | va_list args;
117 |
118 | memset((char *)str, 0, sizeof(char) * 256);
119 | va_start(args, fmt);
120 | vsnprintf((char *)str, 255, (char const *)fmt, args);
121 | va_end(args);
122 |
123 | len = strlen((char *)str);
124 | (void)uart_write((uint8_t *)str, len);
125 | }
126 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32_assert_template.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32_assert.h
4 | * @author MCD Application Team
5 | * @brief STM32 assert template file.
6 | * This file should be copied to the application folder and renamed
7 | * to stm32_assert.h.
8 | ******************************************************************************
9 | * @attention
10 | *
11 | * Copyright (c) 2017 STMicroelectronics.
12 | * All rights reserved.
13 | *
14 | * This software is licensed under terms that can be found in the LICENSE file
15 | * in the root directory of this software component.
16 | * If no LICENSE file comes with this software, it is provided AS-IS.
17 | *
18 | ******************************************************************************
19 | */
20 |
21 | /* Define to prevent recursive inclusion -------------------------------------*/
22 | #ifndef __STM32_ASSERT_H
23 | #define __STM32_ASSERT_H
24 |
25 | #ifdef __cplusplus
26 | extern "C" {
27 | #endif
28 |
29 | /* Exported types ------------------------------------------------------------*/
30 | /* Exported constants --------------------------------------------------------*/
31 | /* Includes ------------------------------------------------------------------*/
32 | /* Exported macro ------------------------------------------------------------*/
33 | #ifdef USE_FULL_ASSERT
34 | /**
35 | * @brief The assert_param macro is used for function's parameters check.
36 | * @param expr If expr is false, it calls assert_failed function
37 | * which reports the name of the source file and the source
38 | * line number of the call that failed.
39 | * If expr is true, it returns no value.
40 | * @retval None
41 | */
42 | #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
43 | /* Exported functions ------------------------------------------------------- */
44 | void assert_failed(uint8_t* file, uint32_t line);
45 | #else
46 | #define assert_param(expr) ((void)0U)
47 | #endif /* USE_FULL_ASSERT */
48 |
49 | #ifdef __cplusplus
50 | }
51 | #endif
52 |
53 | #endif /* __STM32_ASSERT_H */
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32f4xx_hal_cryp_ex.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_cryp_ex.h
4 | * @author MCD Application Team
5 | * @brief Header file of CRYP HAL Extension module.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2016 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 |
19 | /* Define to prevent recursive inclusion -------------------------------------*/
20 | #ifndef __STM32F4xx_HAL_CRYP_EX_H
21 | #define __STM32F4xx_HAL_CRYP_EX_H
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif
26 |
27 | /* Includes ------------------------------------------------------------------*/
28 | #include "stm32f4xx_hal_def.h"
29 |
30 | /** @addtogroup STM32F4xx_HAL_Driver
31 | * @{
32 | */
33 |
34 | /** @addtogroup CRYPEx
35 | * @{
36 | */
37 | /* Exported types ------------------------------------------------------------*/
38 | /** @defgroup CRYPEx_Exported_Types CRYPEx Exported types
39 | * @{
40 | */
41 |
42 | /**
43 | * @}
44 | */
45 | /* Exported constants --------------------------------------------------------*/
46 | /** @defgroup CRYPEx_Exported_Constants CRYPEx Exported constants
47 | * @{
48 | */
49 |
50 | /**
51 | * @}
52 | */
53 |
54 | /* Private types -------------------------------------------------------------*/
55 | /** @defgroup CRYPEx_Private_Types CRYPEx Private Types
56 | * @{
57 | */
58 |
59 | /**
60 | * @}
61 | */
62 |
63 | /* Private variables ---------------------------------------------------------*/
64 | /** @defgroup CRYPEx_Private_Variables CRYPEx Private Variables
65 | * @{
66 | */
67 |
68 | /**
69 | * @}
70 | */
71 |
72 | /* Private constants ---------------------------------------------------------*/
73 | /** @defgroup CRYPEx_Private_Constants CRYPEx Private Constants
74 | * @{
75 | */
76 |
77 | /**
78 | * @}
79 | */
80 |
81 | /* Private macros ------------------------------------------------------------*/
82 | /** @defgroup CRYPEx_Private_Macros CRYPEx Private Macros
83 | * @{
84 | */
85 |
86 | /**
87 | * @}
88 | */
89 |
90 | /* Private functions ---------------------------------------------------------*/
91 | /** @defgroup CRYPEx_Private_Functions CRYPEx Private Functions
92 | * @{
93 | */
94 |
95 | /**
96 | * @}
97 | */
98 |
99 | /* Exported functions --------------------------------------------------------*/
100 | /** @defgroup CRYPEx_Exported_Functions CRYPEx Exported Functions
101 | * @{
102 | */
103 | #if defined (CRYP) || defined (AES)
104 | /** @addtogroup CRYPEx_Exported_Functions_Group1
105 | * @{
106 | */
107 | HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
108 | HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, uint32_t *AuthTag, uint32_t Timeout);
109 | /**
110 | * @}
111 | */
112 | #endif /* CRYP||AES */
113 |
114 | #if defined (AES)
115 | /** @addtogroup CRYPEx_Exported_Functions_Group2
116 | * @{
117 | */
118 | void HAL_CRYPEx_EnableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
119 | void HAL_CRYPEx_DisableAutoKeyDerivation(CRYP_HandleTypeDef *hcryp);
120 | /**
121 | * @}
122 | */
123 | #endif /* AES */
124 |
125 | /**
126 | * @}
127 | */
128 |
129 | /**
130 | * @}
131 | */
132 |
133 | /**
134 | * @}
135 | */
136 |
137 | #ifdef __cplusplus
138 | }
139 | #endif
140 |
141 | #endif /* __STM32F4xx_HAL_CRYP_EX_H */
142 |
143 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32f4xx_hal_dma_ex.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_dma_ex.h
4 | * @author MCD Application Team
5 | * @brief Header file of DMA HAL extension module.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2017 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file in
13 | * the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 |
19 | /* Define to prevent recursive inclusion -------------------------------------*/
20 | #ifndef __STM32F4xx_HAL_DMA_EX_H
21 | #define __STM32F4xx_HAL_DMA_EX_H
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif
26 |
27 | /* Includes ------------------------------------------------------------------*/
28 | #include "stm32f4xx_hal_def.h"
29 |
30 | /** @addtogroup STM32F4xx_HAL_Driver
31 | * @{
32 | */
33 |
34 | /** @addtogroup DMAEx
35 | * @{
36 | */
37 |
38 | /* Exported types ------------------------------------------------------------*/
39 | /** @defgroup DMAEx_Exported_Types DMAEx Exported Types
40 | * @brief DMAEx Exported types
41 | * @{
42 | */
43 |
44 | /**
45 | * @brief HAL DMA Memory definition
46 | */
47 | typedef enum
48 | {
49 | MEMORY0 = 0x00U, /*!< Memory 0 */
50 | MEMORY1 = 0x01U /*!< Memory 1 */
51 | }HAL_DMA_MemoryTypeDef;
52 |
53 | /**
54 | * @}
55 | */
56 |
57 | /* Exported functions --------------------------------------------------------*/
58 | /** @defgroup DMAEx_Exported_Functions DMAEx Exported Functions
59 | * @brief DMAEx Exported functions
60 | * @{
61 | */
62 |
63 | /** @defgroup DMAEx_Exported_Functions_Group1 Extended features functions
64 | * @brief Extended features functions
65 | * @{
66 | */
67 |
68 | /* IO operation functions *******************************************************/
69 | HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
70 | HAL_StatusTypeDef HAL_DMAEx_MultiBufferStart_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t SecondMemAddress, uint32_t DataLength);
71 | HAL_StatusTypeDef HAL_DMAEx_ChangeMemory(DMA_HandleTypeDef *hdma, uint32_t Address, HAL_DMA_MemoryTypeDef memory);
72 |
73 | /**
74 | * @}
75 | */
76 | /**
77 | * @}
78 | */
79 |
80 | /* Private functions ---------------------------------------------------------*/
81 | /** @defgroup DMAEx_Private_Functions DMAEx Private Functions
82 | * @brief DMAEx Private functions
83 | * @{
84 | */
85 | /**
86 | * @}
87 | */
88 |
89 | /**
90 | * @}
91 | */
92 |
93 | /**
94 | * @}
95 | */
96 |
97 | #ifdef __cplusplus
98 | }
99 | #endif
100 |
101 | #endif /*__STM32F4xx_HAL_DMA_EX_H*/
102 |
103 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32f4xx_hal_flash_ramfunc.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_flash_ramfunc.h
4 | * @author MCD Application Team
5 | * @brief Header file of FLASH RAMFUNC driver.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2017 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file in
13 | * the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | ******************************************************************************
16 | */
17 |
18 | /* Define to prevent recursive inclusion -------------------------------------*/
19 | #ifndef __STM32F4xx_FLASH_RAMFUNC_H
20 | #define __STM32F4xx_FLASH_RAMFUNC_H
21 |
22 | #ifdef __cplusplus
23 | extern "C" {
24 | #endif
25 | #if defined(STM32F410Tx) || defined(STM32F410Cx) || defined(STM32F410Rx) || defined(STM32F411xE) || defined(STM32F446xx) || defined(STM32F412Zx) ||\
26 | defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx)
27 |
28 | /* Includes ------------------------------------------------------------------*/
29 | #include "stm32f4xx_hal_def.h"
30 |
31 | /** @addtogroup STM32F4xx_HAL_Driver
32 | * @{
33 | */
34 |
35 | /** @addtogroup FLASH_RAMFUNC
36 | * @{
37 | */
38 |
39 | /* Exported types ------------------------------------------------------------*/
40 | /* Exported macro ------------------------------------------------------------*/
41 | /* Exported functions --------------------------------------------------------*/
42 | /** @addtogroup FLASH_RAMFUNC_Exported_Functions
43 | * @{
44 | */
45 |
46 | /** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1
47 | * @{
48 | */
49 | __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StopFlashInterfaceClk(void);
50 | __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StartFlashInterfaceClk(void);
51 | __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EnableFlashSleepMode(void);
52 | __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DisableFlashSleepMode(void);
53 | /**
54 | * @}
55 | */
56 |
57 | /**
58 | * @}
59 | */
60 |
61 | /**
62 | * @}
63 | */
64 |
65 | /**
66 | * @}
67 | */
68 |
69 | #endif /* STM32F410xx || STM32F411xE || STM32F446xx || STM32F412Zx || STM32F412Vx || STM32F412Rx || STM32F412Cx */
70 | #ifdef __cplusplus
71 | }
72 | #endif
73 |
74 |
75 | #endif /* __STM32F4xx_FLASH_RAMFUNC_H */
76 |
77 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32f4xx_hal_i2c_ex.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_i2c_ex.h
4 | * @author MCD Application Team
5 | * @brief Header file of I2C HAL Extension module.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2016 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 |
19 | /* Define to prevent recursive inclusion -------------------------------------*/
20 | #ifndef __STM32F4xx_HAL_I2C_EX_H
21 | #define __STM32F4xx_HAL_I2C_EX_H
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif
26 |
27 | #if defined(I2C_FLTR_ANOFF)&&defined(I2C_FLTR_DNF)
28 | /* Includes ------------------------------------------------------------------*/
29 | #include "stm32f4xx_hal_def.h"
30 |
31 | /** @addtogroup STM32F4xx_HAL_Driver
32 | * @{
33 | */
34 |
35 | /** @addtogroup I2CEx
36 | * @{
37 | */
38 |
39 | /* Exported types ------------------------------------------------------------*/
40 | /* Exported constants --------------------------------------------------------*/
41 | /** @defgroup I2CEx_Exported_Constants I2C Exported Constants
42 | * @{
43 | */
44 |
45 | /** @defgroup I2CEx_Analog_Filter I2C Analog Filter
46 | * @{
47 | */
48 | #define I2C_ANALOGFILTER_ENABLE 0x00000000U
49 | #define I2C_ANALOGFILTER_DISABLE I2C_FLTR_ANOFF
50 | /**
51 | * @}
52 | */
53 |
54 | /**
55 | * @}
56 | */
57 |
58 | /* Exported macro ------------------------------------------------------------*/
59 | /* Exported functions --------------------------------------------------------*/
60 | /** @addtogroup I2CEx_Exported_Functions
61 | * @{
62 | */
63 |
64 | /** @addtogroup I2CEx_Exported_Functions_Group1
65 | * @{
66 | */
67 | /* Peripheral Control functions ************************************************/
68 | HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter);
69 | HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter);
70 | /**
71 | * @}
72 | */
73 |
74 | /**
75 | * @}
76 | */
77 | /* Private types -------------------------------------------------------------*/
78 | /* Private variables ---------------------------------------------------------*/
79 | /* Private constants ---------------------------------------------------------*/
80 | /** @defgroup I2CEx_Private_Constants I2C Private Constants
81 | * @{
82 | */
83 |
84 | /**
85 | * @}
86 | */
87 |
88 | /* Private macros ------------------------------------------------------------*/
89 | /** @defgroup I2CEx_Private_Macros I2C Private Macros
90 | * @{
91 | */
92 | #define IS_I2C_ANALOG_FILTER(FILTER) (((FILTER) == I2C_ANALOGFILTER_ENABLE) || \
93 | ((FILTER) == I2C_ANALOGFILTER_DISABLE))
94 | #define IS_I2C_DIGITAL_FILTER(FILTER) ((FILTER) <= 0x0000000FU)
95 | /**
96 | * @}
97 | */
98 |
99 | /**
100 | * @}
101 | */
102 |
103 | /**
104 | * @}
105 | */
106 |
107 | #endif
108 |
109 | #ifdef __cplusplus
110 | }
111 | #endif
112 |
113 | #endif /* __STM32F4xx_HAL_I2C_EX_H */
114 |
115 |
116 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32f4xx_hal_ltdc_ex.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_ltdc_ex.h
4 | * @author MCD Application Team
5 | * @brief Header file of LTDC HAL Extension module.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2016 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 |
19 | /* Define to prevent recursive inclusion -------------------------------------*/
20 | #ifndef STM32F4xx_HAL_LTDC_EX_H
21 | #define STM32F4xx_HAL_LTDC_EX_H
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif
26 |
27 | /* Includes ------------------------------------------------------------------*/
28 | #include "stm32f4xx_hal_def.h"
29 |
30 | #if defined (LTDC) && defined (DSI)
31 |
32 | #include "stm32f4xx_hal_dsi.h"
33 |
34 | /** @addtogroup STM32F4xx_HAL_Driver
35 | * @{
36 | */
37 |
38 | /** @addtogroup LTDCEx
39 | * @{
40 | */
41 |
42 | /* Exported types ------------------------------------------------------------*/
43 | /* Exported constants --------------------------------------------------------*/
44 | /* Exported macro ------------------------------------------------------------*/
45 | /* Exported functions --------------------------------------------------------*/
46 | /** @addtogroup LTDCEx_Exported_Functions
47 | * @{
48 | */
49 |
50 | /** @addtogroup LTDCEx_Exported_Functions_Group1
51 | * @{
52 | */
53 | HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig(LTDC_HandleTypeDef *hltdc, DSI_VidCfgTypeDef *VidCfg);
54 | HAL_StatusTypeDef HAL_LTDCEx_StructInitFromAdaptedCommandConfig(LTDC_HandleTypeDef *hltdc, DSI_CmdCfgTypeDef *CmdCfg);
55 | /**
56 | * @}
57 | */
58 |
59 | /**
60 | * @}
61 | */
62 |
63 | /* Private types -------------------------------------------------------------*/
64 | /* Private variables ---------------------------------------------------------*/
65 | /* Private constants ---------------------------------------------------------*/
66 | /* Private macros ------------------------------------------------------------*/
67 | /* Private functions ---------------------------------------------------------*/
68 |
69 | /**
70 | * @}
71 | */
72 |
73 | /**
74 | * @}
75 | */
76 |
77 | #endif /* LTDC && DSI */
78 |
79 | #ifdef __cplusplus
80 | }
81 | #endif
82 |
83 | #endif /* STM32F4xx_HAL_LTDC_EX_H */
84 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32f4xx_hal_pcd_ex.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_pcd_ex.h
4 | * @author MCD Application Team
5 | * @brief Header file of PCD HAL Extension module.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2016 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 |
19 | /* Define to prevent recursive inclusion -------------------------------------*/
20 | #ifndef STM32F4xx_HAL_PCD_EX_H
21 | #define STM32F4xx_HAL_PCD_EX_H
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif /* __cplusplus */
26 |
27 | /* Includes ------------------------------------------------------------------*/
28 | #include "stm32f4xx_hal_def.h"
29 |
30 | #if defined (USB_OTG_FS) || defined (USB_OTG_HS)
31 | /** @addtogroup STM32F4xx_HAL_Driver
32 | * @{
33 | */
34 |
35 | /** @addtogroup PCDEx
36 | * @{
37 | */
38 | /* Exported types ------------------------------------------------------------*/
39 | /* Exported constants --------------------------------------------------------*/
40 | /* Exported macros -----------------------------------------------------------*/
41 | /* Exported functions --------------------------------------------------------*/
42 | /** @addtogroup PCDEx_Exported_Functions PCDEx Exported Functions
43 | * @{
44 | */
45 | /** @addtogroup PCDEx_Exported_Functions_Group1 Peripheral Control functions
46 | * @{
47 | */
48 |
49 | #if defined (USB_OTG_FS) || defined (USB_OTG_HS)
50 | HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size);
51 | HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size);
52 | #endif /* defined (USB_OTG_FS) || defined (USB_OTG_HS) */
53 |
54 | #if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx)
55 | HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd);
56 | HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd);
57 | #endif /* defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx) */
58 | #if defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx)
59 | HAL_StatusTypeDef HAL_PCDEx_ActivateBCD(PCD_HandleTypeDef *hpcd);
60 | HAL_StatusTypeDef HAL_PCDEx_DeActivateBCD(PCD_HandleTypeDef *hpcd);
61 | void HAL_PCDEx_BCD_VBUSDetect(PCD_HandleTypeDef *hpcd);
62 | #endif /* defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx) */
63 | void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg);
64 | void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg);
65 |
66 | /**
67 | * @}
68 | */
69 |
70 | /**
71 | * @}
72 | */
73 |
74 | /**
75 | * @}
76 | */
77 |
78 | /**
79 | * @}
80 | */
81 | #endif /* defined (USB_OTG_FS) || defined (USB_OTG_HS) */
82 |
83 | #ifdef __cplusplus
84 | }
85 | #endif /* __cplusplus */
86 |
87 |
88 | #endif /* STM32F4xx_HAL_PCD_EX_H */
89 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/inc/stm32f4xx_hal_sai_ex.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_sai_ex.h
4 | * @author MCD Application Team
5 | * @brief Header file of SAI Extension HAL module.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2017 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 |
19 | /* Define to prevent recursive inclusion -------------------------------------*/
20 | #ifndef __STM32F4xx_HAL_SAI_EX_H
21 | #define __STM32F4xx_HAL_SAI_EX_H
22 |
23 | #ifdef __cplusplus
24 | extern "C" {
25 | #endif
26 |
27 | /* Includes ------------------------------------------------------------------*/
28 | #include "stm32f4xx_hal_def.h"
29 |
30 | /** @addtogroup STM32F4xx_HAL_Driver
31 | * @{
32 | */
33 |
34 | /** @addtogroup SAIEx
35 | * @{
36 | */
37 |
38 | #if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx) || \
39 | defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F413xx) || \
40 | defined(STM32F423xx)
41 |
42 | /* Exported types ------------------------------------------------------------*/
43 | /* Exported constants --------------------------------------------------------*/
44 | /** @defgroup SAI_Clock_Source SAI Clock Source
45 | * @{
46 | */
47 | #if defined(STM32F413xx) || defined(STM32F423xx)
48 | #define SAI_CLKSOURCE_PLLI2S 0x00000000U
49 | #define SAI_CLKSOURCE_EXT 0x00100000U
50 | #define SAI_CLKSOURCE_PLLR 0x00200000U
51 | #define SAI_CLKSOURCE_HS 0x00300000U
52 | #else
53 | #define SAI_CLKSOURCE_PLLSAI 0x00000000U
54 | #define SAI_CLKSOURCE_PLLI2S 0x00100000U
55 | #define SAI_CLKSOURCE_EXT 0x00200000U
56 | #define SAI_CLKSOURCE_NA 0x00400000U /*!< No applicable for STM32F446xx */
57 | #endif
58 |
59 |
60 | /**
61 | * @}
62 | */
63 |
64 | /* Exported functions --------------------------------------------------------*/
65 | /** @addtogroup SAIEx_Exported_Functions
66 | * @{
67 | */
68 |
69 | /** @addtogroup SAIEx_Exported_Functions_Group1
70 | * @{
71 | */
72 |
73 | /* Extended features functions ************************************************/
74 | void SAI_BlockSynchroConfig(SAI_HandleTypeDef *hsai);
75 | uint32_t SAI_GetInputClock(SAI_HandleTypeDef *hsai);
76 | /**
77 | * @}
78 | */
79 |
80 | /**
81 | * @}
82 | */
83 | /* Private types -------------------------------------------------------------*/
84 | /* Private variables ---------------------------------------------------------*/
85 | /* Private constants ---------------------------------------------------------*/
86 | /* Private macros ------------------------------------------------------------*/
87 | #if defined(STM32F413xx) || defined(STM32F423xx)
88 | #define IS_SAI_CLK_SOURCE(SOURCE) (((SOURCE) == SAI_CLKSOURCE_PLLI2S) ||\
89 | ((SOURCE) == SAI_CLKSOURCE_EXT)||\
90 | ((SOURCE) == SAI_CLKSOURCE_PLLR)||\
91 | ((SOURCE) == SAI_CLKSOURCE_HS))
92 | #else
93 | #define IS_SAI_CLK_SOURCE(SOURCE) (((SOURCE) == SAI_CLKSOURCE_PLLSAI) ||\
94 | ((SOURCE) == SAI_CLKSOURCE_EXT)||\
95 | ((SOURCE) == SAI_CLKSOURCE_PLLI2S)||\
96 | ((SOURCE) == SAI_CLKSOURCE_NA))
97 | #endif
98 | /* Private functions ---------------------------------------------------------*/
99 |
100 | #endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F446xx || STM32F469xx || STM32F479xx || STM32F413xx || STM32F423xx */
101 | /**
102 | * @}
103 | */
104 |
105 | /**
106 | * @}
107 | */
108 |
109 | #ifdef __cplusplus
110 | }
111 | #endif
112 |
113 | #endif /* __STM32F4xx_HAL_SAI_EX_H */
114 |
115 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/src/stm32f4xx_hal_msp_template.c:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_hal_msp_template.c
4 | * @author MCD Application Team
5 | * @brief This file contains the HAL System and Peripheral (PPP) MSP initialization
6 | * and de-initialization functions.
7 | * It should be copied to the application folder and renamed into 'stm32f4xx_hal_msp.c'.
8 | ******************************************************************************
9 | * @attention
10 | *
11 | * Copyright (c) 2017 STMicroelectronics.
12 | * All rights reserved.
13 | *
14 | * This software is licensed under terms that can be found in the LICENSE file
15 | * in the root directory of this software component.
16 | * If no LICENSE file comes with this software, it is provided AS-IS.
17 | *
18 | ******************************************************************************
19 | */
20 |
21 | /* Includes ------------------------------------------------------------------*/
22 | #include "stm32f4xx_hal.h"
23 |
24 | /** @addtogroup STM32F4xx_HAL_Driver
25 | * @{
26 | */
27 |
28 | /** @defgroup HAL_MSP HAL MSP
29 | * @brief HAL MSP module.
30 | * @{
31 | */
32 |
33 | /* Private typedef -----------------------------------------------------------*/
34 | /* Private define ------------------------------------------------------------*/
35 | /* Private macro -------------------------------------------------------------*/
36 | /* Private variables ---------------------------------------------------------*/
37 | /* Private function prototypes -----------------------------------------------*/
38 | /* Private functions ---------------------------------------------------------*/
39 |
40 | /** @defgroup HAL_MSP_Private_Functions HAL MSP Private Functions
41 | * @{
42 | */
43 |
44 | /**
45 | * @brief Initializes the Global MSP.
46 | * @note This function is called from HAL_Init() function to perform system
47 | * level initialization (GPIOs, clock, DMA, interrupt).
48 | * @retval None
49 | */
50 | void HAL_MspInit(void)
51 | {
52 |
53 | }
54 |
55 | /**
56 | * @brief DeInitializes the Global MSP.
57 | * @note This functiona is called from HAL_DeInit() function to perform system
58 | * level de-initialization (GPIOs, clock, DMA, interrupt).
59 | * @retval None
60 | */
61 | void HAL_MspDeInit(void)
62 | {
63 |
64 | }
65 |
66 | /**
67 | * @brief Initializes the PPP MSP.
68 | * @note This functiona is called from HAL_PPP_Init() function to perform
69 | * peripheral(PPP) system level initialization (GPIOs, clock, DMA, interrupt)
70 | * @retval None
71 | */
72 | void HAL_PPP_MspInit(void)
73 | {
74 |
75 | }
76 |
77 | /**
78 | * @brief DeInitializes the PPP MSP.
79 | * @note This functiona is called from HAL_PPP_DeInit() function to perform
80 | * peripheral(PPP) system level de-initialization (GPIOs, clock, DMA, interrupt)
81 | * @retval None
82 | */
83 | void HAL_PPP_MspDeInit(void)
84 | {
85 |
86 | }
87 |
88 | /**
89 | * @}
90 | */
91 |
92 | /**
93 | * @}
94 | */
95 |
96 | /**
97 | * @}
98 | */
99 |
100 |
101 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/src/stm32f4xx_hal_timebase_rtc_alarm_template.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/project/stm32f407/hal/src/stm32f4xx_hal_timebase_rtc_alarm_template.c
--------------------------------------------------------------------------------
/project/stm32f407/hal/src/stm32f4xx_hal_timebase_rtc_wakeup_template.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/libdriver/sht4x/121bae40e77b30db810da49021aabfeedfd08f37/project/stm32f407/hal/src/stm32f4xx_hal_timebase_rtc_wakeup_template.c
--------------------------------------------------------------------------------
/project/stm32f407/hal/src/stm32f4xx_ll_crc.c:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_ll_crc.c
4 | * @author MCD Application Team
5 | * @brief CRC LL module driver.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2016 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 | #if defined(USE_FULL_LL_DRIVER)
19 |
20 | /* Includes ------------------------------------------------------------------*/
21 | #include "stm32f4xx_ll_crc.h"
22 | #include "stm32f4xx_ll_bus.h"
23 |
24 | #ifdef USE_FULL_ASSERT
25 | #include "stm32_assert.h"
26 | #else
27 | #define assert_param(expr) ((void)0U)
28 | #endif /* USE_FULL_ASSERT */
29 |
30 | /** @addtogroup STM32F4xx_LL_Driver
31 | * @{
32 | */
33 |
34 | #if defined (CRC)
35 |
36 | /** @addtogroup CRC_LL
37 | * @{
38 | */
39 |
40 | /* Private types -------------------------------------------------------------*/
41 | /* Private variables ---------------------------------------------------------*/
42 | /* Private constants ---------------------------------------------------------*/
43 | /* Private macros ------------------------------------------------------------*/
44 | /* Private function prototypes -----------------------------------------------*/
45 |
46 | /* Exported functions --------------------------------------------------------*/
47 | /** @addtogroup CRC_LL_Exported_Functions
48 | * @{
49 | */
50 |
51 | /** @addtogroup CRC_LL_EF_Init
52 | * @{
53 | */
54 |
55 | /**
56 | * @brief De-initialize CRC registers (Registers restored to their default values).
57 | * @param CRCx CRC Instance
58 | * @retval An ErrorStatus enumeration value:
59 | * - SUCCESS: CRC registers are de-initialized
60 | * - ERROR: CRC registers are not de-initialized
61 | */
62 | ErrorStatus LL_CRC_DeInit(CRC_TypeDef *CRCx)
63 | {
64 | ErrorStatus status = SUCCESS;
65 |
66 | /* Check the parameters */
67 | assert_param(IS_CRC_ALL_INSTANCE(CRCx));
68 |
69 | if (CRCx == CRC)
70 | {
71 | /* Force CRC reset */
72 | LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_CRC);
73 |
74 | /* Release CRC reset */
75 | LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_CRC);
76 | }
77 | else
78 | {
79 | status = ERROR;
80 | }
81 |
82 | return (status);
83 | }
84 |
85 | /**
86 | * @}
87 | */
88 |
89 | /**
90 | * @}
91 | */
92 |
93 | /**
94 | * @}
95 | */
96 |
97 | #endif /* defined (CRC) */
98 |
99 | /**
100 | * @}
101 | */
102 |
103 | #endif /* USE_FULL_LL_DRIVER */
104 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/src/stm32f4xx_ll_pwr.c:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_ll_pwr.c
4 | * @author MCD Application Team
5 | * @brief PWR LL module driver.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2017 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file in
13 | * the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | ******************************************************************************
16 | */
17 | #if defined(USE_FULL_LL_DRIVER)
18 |
19 | /* Includes ------------------------------------------------------------------*/
20 | #include "stm32f4xx_ll_pwr.h"
21 | #include "stm32f4xx_ll_bus.h"
22 |
23 | /** @addtogroup STM32F4xx_LL_Driver
24 | * @{
25 | */
26 |
27 | #if defined(PWR)
28 |
29 | /** @defgroup PWR_LL PWR
30 | * @{
31 | */
32 |
33 | /* Private types -------------------------------------------------------------*/
34 | /* Private variables ---------------------------------------------------------*/
35 | /* Private constants ---------------------------------------------------------*/
36 | /* Private macros ------------------------------------------------------------*/
37 | /* Private function prototypes -----------------------------------------------*/
38 |
39 | /* Exported functions --------------------------------------------------------*/
40 | /** @addtogroup PWR_LL_Exported_Functions
41 | * @{
42 | */
43 |
44 | /** @addtogroup PWR_LL_EF_Init
45 | * @{
46 | */
47 |
48 | /**
49 | * @brief De-initialize the PWR registers to their default reset values.
50 | * @retval An ErrorStatus enumeration value:
51 | * - SUCCESS: PWR registers are de-initialized
52 | * - ERROR: not applicable
53 | */
54 | ErrorStatus LL_PWR_DeInit(void)
55 | {
56 | /* Force reset of PWR clock */
57 | LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_PWR);
58 |
59 | /* Release reset of PWR clock */
60 | LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_PWR);
61 |
62 | return SUCCESS;
63 | }
64 |
65 | /**
66 | * @}
67 | */
68 |
69 | /**
70 | * @}
71 | */
72 |
73 | /**
74 | * @}
75 | */
76 | #endif /* defined(PWR) */
77 | /**
78 | * @}
79 | */
80 |
81 | #endif /* USE_FULL_LL_DRIVER */
82 |
--------------------------------------------------------------------------------
/project/stm32f407/hal/src/stm32f4xx_ll_rng.c:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file stm32f4xx_ll_rng.c
4 | * @author MCD Application Team
5 | * @brief RNG LL module driver.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2016 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 | #if defined(USE_FULL_LL_DRIVER)
19 |
20 | /* Includes ------------------------------------------------------------------*/
21 | #include "stm32f4xx_ll_rng.h"
22 | #include "stm32f4xx_ll_bus.h"
23 |
24 | #ifdef USE_FULL_ASSERT
25 | #include "stm32_assert.h"
26 | #else
27 | #define assert_param(expr) ((void)0U)
28 | #endif /* USE_FULL_ASSERT */
29 |
30 | /** @addtogroup STM32F4xx_LL_Driver
31 | * @{
32 | */
33 |
34 | #if defined (RNG)
35 |
36 | /** @addtogroup RNG_LL
37 | * @{
38 | */
39 |
40 | /* Private types -------------------------------------------------------------*/
41 | /* Private variables ---------------------------------------------------------*/
42 | /* Private constants ---------------------------------------------------------*/
43 | /* Private macros ------------------------------------------------------------*/
44 | /* Private function prototypes -----------------------------------------------*/
45 |
46 | /* Exported functions --------------------------------------------------------*/
47 | /** @addtogroup RNG_LL_Exported_Functions
48 | * @{
49 | */
50 |
51 | /** @addtogroup RNG_LL_EF_Init
52 | * @{
53 | */
54 |
55 | /**
56 | * @brief De-initialize RNG registers (Registers restored to their default values).
57 | * @param RNGx RNG Instance
58 | * @retval An ErrorStatus enumeration value:
59 | * - SUCCESS: RNG registers are de-initialized
60 | * - ERROR: not applicable
61 | */
62 | ErrorStatus LL_RNG_DeInit(RNG_TypeDef *RNGx)
63 | {
64 | ErrorStatus status = SUCCESS;
65 |
66 | /* Check the parameters */
67 | assert_param(IS_RNG_ALL_INSTANCE(RNGx));
68 | if (RNGx == RNG)
69 | {
70 | #if !defined(RCC_AHB2_SUPPORT)
71 | /* Enable RNG reset state */
72 | LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_RNG);
73 |
74 | /* Release RNG from reset state */
75 | LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_RNG);
76 | #else
77 | /* Enable RNG reset state */
78 | LL_AHB2_GRP1_ForceReset(LL_AHB2_GRP1_PERIPH_RNG);
79 |
80 | /* Release RNG from reset state */
81 | LL_AHB2_GRP1_ReleaseReset(LL_AHB2_GRP1_PERIPH_RNG);
82 | #endif /* !RCC_AHB2_SUPPORT */
83 | }
84 | else
85 | {
86 | status = ERROR;
87 | }
88 |
89 | return status;
90 | }
91 |
92 | /**
93 | * @}
94 | */
95 |
96 | /**
97 | * @}
98 | */
99 |
100 | /**
101 | * @}
102 | */
103 |
104 | #endif /* RNG */
105 |
106 | /**
107 | * @}
108 | */
109 |
110 | #endif /* USE_FULL_LL_DRIVER */
111 |
112 |
--------------------------------------------------------------------------------
/project/stm32f407/interface/inc/clock.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file clock.h
25 | * @brief clock header file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2022-11-11
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2022/11/11 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #ifndef CLOCK_H
38 | #define CLOCK_H
39 |
40 | #include "stm32f4xx_hal.h"
41 |
42 | #ifdef __cplusplus
43 | extern "C"{
44 | #endif
45 |
46 | /**
47 | * @defgroup clock clock function
48 | * @brief clock function modules
49 | * @{
50 | */
51 |
52 | /**
53 | * @brief chip clock init
54 | * @note none
55 | */
56 | void clock_init(void);
57 |
58 | /**
59 | * @}
60 | */
61 |
62 | #ifdef __cplusplus
63 | }
64 | #endif
65 |
66 | #endif
67 |
--------------------------------------------------------------------------------
/project/stm32f407/interface/inc/delay.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file delay.h
25 | * @brief delay header file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2022-11-11
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2022/11/11 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #ifndef DELAY_H
38 | #define DELAY_H
39 |
40 | #include "stm32f4xx_hal.h"
41 |
42 | #ifdef __cplusplus
43 | extern "C"{
44 | #endif
45 |
46 | /**
47 | * @defgroup delay delay function
48 | * @brief delay function modules
49 | * @{
50 | */
51 |
52 | /**
53 | * @brief delay clock init
54 | * @return status code
55 | * - 0 success
56 | * @note none
57 | */
58 | uint8_t delay_init(void);
59 |
60 | /**
61 | * @brief delay us
62 | * @param[in] us time
63 | * @note none
64 | */
65 | void delay_us(uint32_t us);
66 |
67 | /**
68 | * @brief delay ms
69 | * @param[in] ms time
70 | * @note none
71 | */
72 | void delay_ms(uint32_t ms);
73 |
74 | /**
75 | * @}
76 | */
77 |
78 | #ifdef __cplusplus
79 | }
80 | #endif
81 |
82 | #endif
83 |
--------------------------------------------------------------------------------
/project/stm32f407/interface/src/clock.c:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file clock.c
25 | * @brief clock source file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2022-11-11
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2022/11/11 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #include "clock.h"
38 |
39 | /**
40 | * @brief chip clock init
41 | * @note none
42 | */
43 | void clock_init(void)
44 | {
45 | RCC_OscInitTypeDef RCC_OscInitStructure;
46 | RCC_ClkInitTypeDef RCC_ClkInitStructure;
47 | HAL_StatusTypeDef ret;
48 |
49 | /* enable power clock */
50 | __HAL_RCC_PWR_CLK_ENABLE();
51 | __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
52 |
53 | /* use HSE */
54 | RCC_OscInitStructure.OscillatorType = RCC_OSCILLATORTYPE_HSE;
55 | RCC_OscInitStructure.HSEState = RCC_HSE_ON;
56 | RCC_OscInitStructure.PLL.PLLState = RCC_PLL_ON;
57 | RCC_OscInitStructure.PLL.PLLSource = RCC_PLLSOURCE_HSE;
58 | RCC_OscInitStructure.PLL.PLLM = 8;
59 | RCC_OscInitStructure.PLL.PLLN = 336;
60 | RCC_OscInitStructure.PLL.PLLP = 2;
61 | RCC_OscInitStructure.PLL.PLLQ = 7;
62 | ret = HAL_RCC_OscConfig(&RCC_OscInitStructure);
63 | if (ret != HAL_OK)
64 | {
65 | while(1);
66 | }
67 |
68 | /* config clock */
69 | RCC_ClkInitStructure.ClockType = RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2;
70 | RCC_ClkInitStructure.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
71 | RCC_ClkInitStructure.AHBCLKDivider = RCC_SYSCLK_DIV1;
72 | RCC_ClkInitStructure.APB1CLKDivider = RCC_HCLK_DIV4;
73 | RCC_ClkInitStructure.APB2CLKDivider = RCC_HCLK_DIV2;
74 | ret = HAL_RCC_ClockConfig(&RCC_ClkInitStructure, FLASH_LATENCY_5);
75 | if (ret != HAL_OK)
76 | {
77 | while(1);
78 | }
79 |
80 | /* check the id and enable flash prefetch buffer */
81 | if (HAL_GetREVID() == 0x1001)
82 | {
83 | __HAL_FLASH_PREFETCH_BUFFER_ENABLE();
84 | }
85 |
86 | /* hal init */
87 | ret = HAL_Init();
88 | if (ret != HAL_OK)
89 | {
90 | while(1);
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/project/stm32f407/interface/src/delay.c:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file delay.c
25 | * @brief delay source file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2022-11-11
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2022/11/11 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #include "delay.h"
38 |
39 | static volatile uint32_t gs_fac_us = 0; /**< fac cnt */
40 |
41 | /**
42 | * @brief delay clock init
43 | * @return status code
44 | * - 0 success
45 | * @note none
46 | */
47 | uint8_t delay_init(void)
48 | {
49 | /* usr HCLK */
50 | HAL_SYSTICK_CLKSourceConfig(SYSTICK_CLKSOURCE_HCLK);
51 |
52 | /* set fac */
53 | gs_fac_us = 168;
54 |
55 | return 0;
56 | }
57 |
58 | /**
59 | * @brief delay us
60 | * @param[in] us time
61 | * @note none
62 | */
63 | void delay_us(uint32_t us)
64 | {
65 | uint32_t ticks;
66 | uint32_t told;
67 | uint32_t tnow;
68 | uint32_t tcnt;
69 | uint32_t reload;
70 |
71 | /* set the used param */
72 | tcnt = 0;
73 | reload = SysTick->LOAD;
74 | ticks = us * gs_fac_us;
75 | told = SysTick->VAL;
76 |
77 | /* delay */
78 | while (1)
79 | {
80 | tnow = SysTick->VAL;
81 | if (tnow != told)
82 | {
83 | if (tnow < told)
84 | {
85 | tcnt += told - tnow;
86 | }
87 | else
88 | {
89 | tcnt += reload - tnow + told;
90 | }
91 | told = tnow;
92 | if (tcnt >= ticks)
93 | {
94 | break;
95 | }
96 | }
97 | }
98 | }
99 |
100 | /**
101 | * @brief delay ms
102 | * @param[in] ms time
103 | * @note none
104 | */
105 | void delay_ms(uint32_t ms)
106 | {
107 | /* use the hal delay */
108 | HAL_Delay(ms);
109 | }
110 |
--------------------------------------------------------------------------------
/project/stm32f407/output/mdk/obj_delete.bat:
--------------------------------------------------------------------------------
1 | del *.bak /s
2 | del *.ddk /s
3 | del *.edk /s
4 | del *.lst /s
5 | del *.lnp /s
6 | del *.mpf /s
7 | del *.mpj /s
8 | del *.obj /s
9 | del *.omf /s
10 | ::del *.opt /s
11 | del *.plg /s
12 | del *.rpt /s
13 | del *.tmp /s
14 | del *.__i /s
15 | del *.crf /s
16 | del *.o /s
17 | del *.d /s
18 | del *.axf /s
19 | del *.tra /s
20 | del *.dep /s
21 | del *.iex /s
22 | del *.htm /s
23 | del *.sct /s
24 | del *.map /s
25 | exit
26 |
--------------------------------------------------------------------------------
/project/stm32f407/usr/inc/shell.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file shell.h
25 | * @brief shell header file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2022-11-11
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2022/11/11 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #ifndef SHELL_H
38 | #define SHELL_H
39 |
40 | #include
41 | #include
42 | #include
43 |
44 | #ifdef __cplusplus
45 | extern "C"{
46 | #endif
47 |
48 | /**
49 | * @defgroup shell shell function
50 | * @brief shell function modules
51 | * @{
52 | */
53 |
54 | /**
55 | * @brief shell param definition
56 | */
57 | #define SHELL_MAX_SIZE 32 /**< shell max function number */
58 | #define SHELL_MAX_NAME 32 /**< shell max function name length */
59 | #define SHELL_MAX_REG_SIZE 32 /**< shell max register number */
60 | #define SHELL_MAX_BUF_SIZE 256 /**< shell max buffer size */
61 |
62 | /**
63 | * @brief function struture definition
64 | */
65 | typedef struct function_s
66 | {
67 | char name[SHELL_MAX_NAME]; /**< functon name */
68 | uint8_t (*fuc)(uint8_t argc, char **argv); /**< function address */
69 | } function_t;
70 |
71 | /**
72 | * @brief shell struture definition
73 | */
74 | typedef struct shell_s
75 | {
76 | function_t fuc[SHELL_MAX_REG_SIZE]; /**< functon buffer */
77 | uint16_t fuc_i; /**< functon number */
78 | char *argv[SHELL_MAX_SIZE]; /**< argv temp buffer */
79 | char buf_out[SHELL_MAX_BUF_SIZE]; /**< output buffer */
80 | } shell_t;
81 |
82 | /**
83 | * @brief init shell
84 | * @return status code
85 | * - 0 success
86 | * @note none
87 | */
88 | uint8_t shell_init(void);
89 |
90 | /**
91 | * @brief shell register function
92 | * @param[in] *name pointer to a name buffer
93 | * @param[in] *fuc pointer to a function address
94 | * @return status code
95 | * - 0 success
96 | * - 1 buffer is full
97 | * @note none
98 | */
99 | uint8_t shell_register(char *name, uint8_t (*fuc)(uint8_t argc, char **argv));
100 |
101 | /**
102 | * @brief shell parse command
103 | * @param[in] *buf pointer to a buffer address
104 | * @param[in] len buffer length
105 | * @return status code
106 | * - 0 success
107 | * - 1 run failed
108 | * - 2 find function failed
109 | * - 3 length is too big
110 | * - 4 pretreat failed
111 | * @note none
112 | */
113 | uint8_t shell_parse(char *buf, uint16_t len);
114 |
115 | /**
116 | * @}
117 | */
118 |
119 | #ifdef __cplusplus
120 | }
121 | #endif
122 |
123 | #endif
124 |
--------------------------------------------------------------------------------
/project/stm32f407/usr/inc/stm32f4xx_it.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file stm32f4xx_it.h
25 | * @brief stm32f4xx it header file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2022-11-11
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2022/11/11 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #ifndef STM32F4XX_IT_H
38 | #define STM32F4XX_IT_H
39 |
40 | #include "stm32f4xx_hal.h"
41 |
42 | #ifdef __cplusplus
43 | extern "C" {
44 | #endif
45 |
46 | /**
47 | * @defgroup IT HAL_IT_Private_Functions
48 | * @{
49 | */
50 |
51 | /**
52 | * @brief nmi handler
53 | * @note none
54 | */
55 | void NMI_Handler(void);
56 |
57 | /**
58 | * @brief hardfault handler
59 | * @note none
60 | */
61 | void HardFault_Handler(void);
62 |
63 | /**
64 | * @brief memory manage handler
65 | * @note none
66 | */
67 | void MemManage_Handler(void);
68 |
69 | /**
70 | * @brief bus fault handler
71 | * @note none
72 | */
73 | void BusFault_Handler(void);
74 |
75 | /**
76 | * @brief usage fault handler
77 | * @note none
78 | */
79 | void UsageFault_Handler(void);
80 |
81 | /**
82 | * @brief svc handler
83 | * @note none
84 | */
85 | void SVC_Handler(void);
86 |
87 | /**
88 | * @brief debug handler
89 | * @note none
90 | */
91 | void DebugMon_Handler(void);
92 |
93 | /**
94 | * @brief pendsv handler
95 | * @note none
96 | */
97 | void PendSV_Handler(void);
98 |
99 | /**
100 | * @brief systick handler
101 | * @note none
102 | */
103 | void SysTick_Handler(void);
104 |
105 | /**
106 | * @brief usart1 irq handler
107 | * @note none
108 | */
109 | void USART1_IRQHandler(void);
110 |
111 | /**
112 | * @brief usart2 irq handler
113 | * @note none
114 | */
115 | void USART2_IRQHandler(void);
116 |
117 | /**
118 | * @}
119 | */
120 |
121 | #ifdef __cplusplus
122 | }
123 | #endif
124 |
125 | #endif
126 |
--------------------------------------------------------------------------------
/project/stm32f407/usr/inc/system_stm32f4xx.h:
--------------------------------------------------------------------------------
1 | /**
2 | ******************************************************************************
3 | * @file system_stm32f4xx.h
4 | * @author MCD Application Team
5 | * @brief CMSIS Cortex-M4 Device System Source File for STM32F4xx devices.
6 | ******************************************************************************
7 | * @attention
8 | *
9 | * Copyright (c) 2017 STMicroelectronics.
10 | * All rights reserved.
11 | *
12 | * This software is licensed under terms that can be found in the LICENSE file
13 | * in the root directory of this software component.
14 | * If no LICENSE file comes with this software, it is provided AS-IS.
15 | *
16 | ******************************************************************************
17 | */
18 |
19 | /** @addtogroup CMSIS
20 | * @{
21 | */
22 |
23 | /** @addtogroup stm32f4xx_system
24 | * @{
25 | */
26 |
27 | /**
28 | * @brief Define to prevent recursive inclusion
29 | */
30 | #ifndef __SYSTEM_STM32F4XX_H
31 | #define __SYSTEM_STM32F4XX_H
32 |
33 | #ifdef __cplusplus
34 | extern "C" {
35 | #endif
36 |
37 | /** @addtogroup STM32F4xx_System_Includes
38 | * @{
39 | */
40 |
41 | /**
42 | * @}
43 | */
44 |
45 |
46 | /** @addtogroup STM32F4xx_System_Exported_types
47 | * @{
48 | */
49 | /* This variable is updated in three ways:
50 | 1) by calling CMSIS function SystemCoreClockUpdate()
51 | 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
52 | 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
53 | Note: If you use this function to configure the system clock; then there
54 | is no need to call the 2 first functions listed above, since SystemCoreClock
55 | variable is updated automatically.
56 | */
57 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
58 |
59 | extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
60 | extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */
61 |
62 | /**
63 | * @}
64 | */
65 |
66 | /** @addtogroup STM32F4xx_System_Exported_Constants
67 | * @{
68 | */
69 |
70 | /**
71 | * @}
72 | */
73 |
74 | /** @addtogroup STM32F4xx_System_Exported_Macros
75 | * @{
76 | */
77 |
78 | /**
79 | * @}
80 | */
81 |
82 | /** @addtogroup STM32F4xx_System_Exported_Functions
83 | * @{
84 | */
85 |
86 | extern void SystemInit(void);
87 | extern void SystemCoreClockUpdate(void);
88 | /**
89 | * @}
90 | */
91 |
92 | #ifdef __cplusplus
93 | }
94 | #endif
95 |
96 | #endif /*__SYSTEM_STM32F4XX_H */
97 |
98 | /**
99 | * @}
100 | */
101 |
102 | /**
103 | * @}
104 | */
105 |
--------------------------------------------------------------------------------
/test/driver_sht4x_read_test.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015 - present LibDriver All rights reserved
3 | *
4 | * The MIT License (MIT)
5 | *
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 | *
13 | * The above copyright notice and this permission notice shall be included in all
14 | * copies or substantial portions of the Software.
15 | *
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 | * SOFTWARE.
23 | *
24 | * @file driver_sht4x_read_test.h
25 | * @brief driver sht4x read test header file
26 | * @version 1.0.0
27 | * @author Shifeng Li
28 | * @date 2023-06-25
29 | *
30 | * history
31 | *
32 | * Date Version Author Description
33 | * 2023/06/25 1.0 Shifeng Li first upload
34 | *
35 | */
36 |
37 | #ifndef DRIVER_SHT4X_READ_TEST_H
38 | #define DRIVER_SHT4X_READ_TEST_H
39 |
40 | #include "driver_sht4x_interface.h"
41 |
42 | #ifdef __cplusplus
43 | extern "C"{
44 | #endif
45 |
46 | /**
47 | * @defgroup sht4x_test_driver sht4x test driver function
48 | * @brief sht4x test driver modules
49 | * @ingroup sht4x_driver
50 | * @{
51 | */
52 |
53 | /**
54 | * @brief read test
55 | * @param[in] addr iic device address
56 | * @param[in] times test times
57 | * @return status code
58 | * - 0 success
59 | * - 1 test failed
60 | * @note none
61 | */
62 | uint8_t sht4x_read_test(sht4x_address_t addr, uint32_t times);
63 |
64 | /**
65 | * @}
66 | */
67 |
68 | #ifdef __cplusplus
69 | }
70 | #endif
71 |
72 | #endif
73 |
--------------------------------------------------------------------------------