{"id":10289,"date":"2023-09-08T02:52:44","date_gmt":"2023-09-07T17:52:44","guid":{"rendered":"https:\/\/happytech.jp\/wordpress\/?p=10289"},"modified":"2023-09-12T04:31:17","modified_gmt":"2023-09-11T19:31:17","slug":"hal-and-mcu-software-development","status":"publish","type":"post","link":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/","title":{"rendered":"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a"},"content":{"rendered":"<p>HAL\uff1aHardware Abstraction Layer API\u3092\u4f7f\u3048\u3070\u300cMCU\u30c7\u30d0\u30a4\u30b9\u306b\u4f9d\u5b58\u3057\u306a\u3044\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u300d\u304c\u3067\u304d\u308b\u3002\u305d\u3053\u3067\u3001\u6c4e\u7528MCU\u3067\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u4f5c\u308a\u88fd\u54c1MCU\u3092\u9078\u629e\u3002\u3053\u308c\u304c\u3001<a href=\"https:\/\/happytech.jp\/wordpress\/2023\/09\/01\/how-to-select-an-mcu-from-a-software-perspective\/\" target=\"_blank\" rel=\"noopener\">\u524d\u6295\u7a3f<\/a>\u3067\u3057\u305f\u3002<br \/>\n\u4e3b\u984c\u306f\u3001\u88fd\u54c1MCU\u9078\u629e\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u3053\u306e\u65b9\u6cd5\u306e\u57fa\u306b\u306a\u308b\u300cMCU\u30c7\u30d0\u30a4\u30b9\u306b\u4f9d\u5b58\u3057\u306a\u3044\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u304c\u3067\u304d\u308b\u300d\u90e8\u5206\u3092\u3001\u3082\u3063\u3068\u5177\u4f53\u7684\u306b\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306e\u9375HAL API<\/h3>\n<p>\u524d\u6295\u7a3f\u6700\u5f8c\u306b\u793a\u3057\u305fSTM32\u30c7\u30d0\u30a4\u30b9\u3068\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u79fb\u690d\u6027\u306e\u4e21\u65b9\u3092\u6e80\u305f\u3059HAL\u30b9\u30bf\u30c3\u30af\u56f3\u3092\u5177\u4f53\u5316\u3057\u307e\u3059\u3002<\/p>\n<p>\u5f0a\u793eST\u30de\u30a4\u30af\u30ed\u95a2\u9023<a href=\"https:\/\/happytech.jp\/wordpress\/ctemplate-list\/\" target=\"_blank\" rel=\"noopener\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/a>\u306b\u63a1\u7528\u3057\u305fSTM32F0\/F1\/G0\/G4\u30c7\u30d0\u30a4\u30b9\u3068Nucleo\u8a55\u4fa1\u30dc\u30fc\u30c9\u3001\u4e00\u822c\u7684\u306a\u30d9\u30a2\u30e1\u30bf\u30eb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u3092\u60f3\u5b9a\u3057\u4f5c\u308a\u76f4\u3057\u305fHAL\u30b9\u30bf\u30c3\u30af\u56f3\u304c\u3001\u4e0b\u56f3\u3067\u3059\u3002Utility\u3084Middleware\u306f\u4f7f\u3044\u307e\u305b\u3093\u306e\u3067\u7a7a\u767d\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>User Application\u3068HAL\u9593\u306f\u3001HAL\u30c9\u30e9\u30a4\u30d0\u3092\u7528\u3044\u307e\u3059\u3002\u4f8b\u3068\u3057\u3066\u3001GPIO\u63a5\u7d9a\u306eLED\u3092\u30c8\u30b0\u30eb\u51fa\u529b\u3059\u308bHAL API\u95a2\u6570\uff1aHAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin)\u3067\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_10312\" aria-describedby=\"caption-attachment-10312\" style=\"width: 698px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-10312 size-full\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png\" alt=\"\u30d9\u30a2\u30e1\u30bf\u30eb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306eHAL\u30b9\u30bf\u30c3\u30af\u56f3\" width=\"698\" height=\"423\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png 698w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1-300x182.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1-360x218.png 360w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption id=\"caption-attachment-10312\" class=\"wp-caption-text\">\u30d9\u30a2\u30e1\u30bf\u30eb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306eHAL\u30b9\u30bf\u30c3\u30af\u56f3<\/figcaption><\/figure>\n<h3>HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin)<\/h3>\n<p>ST\u30de\u30a4\u30af\u30ed\u306eHAL\u30c9\u30e9\u30a4\u30d0\u306f\u3001\u63a5\u982d\u8a9e\u306b\u5fc5\u305aHAL_\u304c\u4ed8\u304d\u307e\u3059\u3002\u30bd\u30fc\u30b9\u4e0a\u3082\u5224\u5225\u3057\u6613\u3044\u3067\u3059\u3002<\/p>\n<p>HAL_GPIO_TogglePin(xPort, yPin)\u306f\u3001MCU Port\u540dx\u306ePin\u756a\u53f7y\u3092\u4f7f\u3046GPIO\u306b\u5bfe\u3057\u3066\u3001\u30c8\u30b0\u30eb\uff08High\u304b\u3089Low\u3001\u307e\u305f\u306fLow\u304b\u3089High\uff09\u51fa\u529b\u3059\u308b\u30c9\u30e9\u30a4\u30d0\u95a2\u6570\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001STM32G0\u8a55\u4fa1\u30dc\u30fc\u30c9\uff1a<a href=\"https:\/\/www.st.com\/en\/evaluation-tools\/nucleo-g071rb.html\" target=\"_blank\" rel=\"noopener\">Nucleo-G071RB<\/a>\u5b9f\u88c5\u30e6\u30fc\u30b6LED\uff1aLD4\u306f\u3001PA5\u63a5\u7d9a\u3067\u3059\u3002\u30c8\u30b0\u30eb\u51fa\u529b\u306f\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<p>HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_5) \u00a0 <span style=\"color: #008000;\">\/\/\u7269\u7406GPIO\u30dd\u30fc\u30c8\uff21\u30015\u756a\u30d4\u30f3\u3092\u30c8\u30b0\u30eb\u51fa\u529b<\/span><\/p>\n<p>STM32G4\u8a55\u4fa1\u30dc\u30fc\u30c9\uff1a<a href=\"https:\/\/www.st.com\/ja\/evaluation-tools\/nucleo-g474re.html\" target=\"_blank\" rel=\"noopener\">Nucleo-G474RE<\/a>\u5b9f\u88c5\u6e08\u307f\u30e6\u30fc\u30b6LED\uff1aLD2\u3082\u3001\u540c\u3058\u304fPA5\u63a5\u7d9a\u3067\u3059\u306e\u3067\u3001\u5168\u304f\u540c\u3058HAL\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u8a18\u8ff0\u3067\u3001\u30e6\u30fc\u30b6LD2\u306e\u30c8\u30b0\u30eb\u51fa\u529b\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Nucleo\u8a55\u4fa1\u30dc\u30fc\u30c9BSP<\/h3>\n<p>Nucleo-G071RB\u3068Nucleo-G474RE\u306f\u3001\u3069\u3061\u3089\u308264\u30d4\u30f3MCU\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3001\u305f\u307e\u305f\u307e\u540c\u3058\u7269\u7406\u8a18\u8ff0\u30dd\u30fc\u30c8\u540d\u3068\u30d4\u30f3\u756a\u53f7\u304c\u3001\u30e6\u30fc\u30b6LED\u306b\u63a5\u7d9a\u6e08\u307f\u3067\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u4e00\u822c\u7684\u306b\u306f\u958b\u767aMCU\u3084\u8a55\u4fa1\u30dc\u30fc\u30c9\u3067\u7570\u306a\u308b\u30dd\u30fc\u30c8\u3068\u30d4\u30f3\u3078\u30e6\u30fc\u30b6LED\u304c\u63a5\u7d9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u7269\u7406\u8a18\u8ff0GPIOA\u3084GPIO_PIN_5\u3068\u3001\u8a55\u4fa1\u30dc\u30fc\u30c9\u306e\u8ad6\u7406\u8a18\u8ff0LD2\u3084LD4\u3092\u7d50\u3073\u4ed8\u3051\u308b\u306e\u304c\u3001BSP\uff1aBoard Support Package\u3067\u3059\u3002\u3053\u306e\u7d50\u3073\u4ed8\u3051\u306b\u3088\u308a\u3001\u7570\u306a\u308b\u7269\u7406\u8a18\u8ff0\u30dd\u30fc\u30c8\u3001\u30d4\u30f3\u756a\u3067\u3042\u3063\u3066\u3082\u3001\u540c\u3058\u8ad6\u7406\u8a18\u8ff0\u306eDemonstration\u3084User Application\u3067LED\u3092\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u4f8b\u3067\u793a\u3059\u3068Nucleo-G071RB\u306eBSP\u306f\u3001STM32CubeIDE\u306emain.h\u306b\u5c55\u958b\u3055\u308c\u3001LD4\u95a2\u9023\u306f\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<p>#define LD4_GPIO_Port\u00a0 GPIOA\u00a0 <span style=\"color: #008000;\">\/\/LD4_GPIO_Port\u3092\u7269\u7406GPIO\u30dd\u30fc\u30c8A\u3068\u5b9a\u7fa9<\/span><br \/>\n#define LD4_Pin\u00a0 GPIO_PIN_5\u00a0 \u00a0 \u00a0<span style=\"color: #008000;\">\/\/LD4_Pin\u3092\u7269\u74065\u756a\u30d4\u30f3\u3068\u5b9a\u7fa9<\/span><\/p>\n<p>Nucleo-G474RE\u306eBSP\u306f\u3001LD2\u95a2\u9023main.h\u304c\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<p>#define LD2_GPIO_Port\u00a0 GPIOA\u00a0 <span style=\"color: #008000;\">\/\/ LD2_GPIO_Port\u3092\u7269\u7406GPIO\u30dd\u30fc\u30c8A\u3068\u5b9a\u7fa9<\/span><br \/>\n#define LD2_Pin\u00a0 GPIO_PIN_5\u00a0 \u00a0 \u00a0<span style=\"color: #008000;\">\/\/ LD2_Pin\u3092\u7269\u74065\u756a\u30d4\u30f3\u3068\u5b9a\u7fa9<\/span><\/p>\n<p>LD2\u3068LD4\u306e\u90e8\u5206\u304c\u7570\u306a\u308a\u307e\u3059\u3002BPS\u306f\u3001\u8a55\u4fa1\u30dc\u30fc\u30c9\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u6bce\u306b\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5404\u8a55\u4fa1\u30dc\u30fc\u30c9\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8aad\u3080\u6642\u306f\u3001LD2\u3084LD4\u3068\u8ad6\u7406\u8a18\u8ff0\u3057\u305f\u65b9\u304c\u3001\u7269\u7406\u8a18\u8ff0\u306eGPIOA\u3084GPIO_PIN_5\u3088\u308a\u3082\u5224\u308a\u6613\u3044\u305f\u3081\u3001\u3053\u308c\u3089define\u6587\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h3>\u8a55\u4fa1\u30dc\u30fc\u30c9\u975e\u4f9d\u5b58\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30c6\u30af\u30cb\u30c3\u30af<\/h3>\n<p>\u8a55\u4fa1\u30dc\u30fc\u30c9\u5358\u4f4d\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8aad\u3080\u6642\u306f\u3001\u5b9f\u88c5\u4e2d\u306eLD2\u3084LD4\u3068\u8ad6\u7406\u8a18\u8ff0\u3057\u305f\u65b9\u304c\u5224\u308a\u6613\u3044\u3067\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u69d8\u3005\u306a\u8a55\u4fa1\u30dc\u30fc\u30c9\u3067\u5171\u901a\u306b\u52d5\u4f5c\u3059\u308bUser Application\u3092\u958b\u767a\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u7b54\u3048\u306f\u7c21\u5358\u3067\u3059\u3002\u8ad6\u7406\u8a18\u8ff0\u3092LD2\u3084LD4\u304b\u3089\u3001\u3088\u308a\u4e0a\u4f4d\u306e\u8ad6\u7406\u8a18\u8ff0\u3078\u7d50\u3073\u4ed8\u3051\u308c\u3070OK\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<p>#define BOARD_LED_PORT\u00a0 LD4_GPIO_Port\u00a0\u00a0\u00a0 <span style=\"color: #008000;\">\/\/BOARD_LED_PORT\u3092LD4_GPIO_Port\u3068\u5b9a\u7fa9<\/span><br \/>\n#define BOARD_LED_PIN\u00a0 LD4_Pin\u00a0 \u00a0 \u00a0 \u00a0 \u00a0<span style=\"color: #008000;\">\/\/BOARD_LED_PIN\u3092LD4_Pin\u3068\u5b9a\u7fa9<\/span><\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u8a55\u4fa1\u30dc\u30fc\u30c9\u5358\u4f4d\u306edefine\u6587\u3092\u3001\u4e0a\u4f4d\u5b9f\u88c5LED\u3084\u8ad6\u7406\u30d4\u30f3\u3078\u518d\u5b9a\u7fa9\u3059\u308c\u3070\u8a55\u4fa1\u30dc\u30fc\u30c9\u975e\u4f9d\u5b58\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u958b\u767a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>define\u6587\u306f\u3001\u958b\u767a\u8005\u304c\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8aad\u307f\u6613\u304f\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u3067\u3059\u3002define\u6587\u3067\u518d\u5b9a\u7fa9\u3057\u3066\u3082\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u6700\u7d42\u7269\u7406\u5bfe\u8c61\uff08GPIOA\u3084GPIO_PIN_5\uff09\u306b\u7f6e\u304d\u63db\u308f\u308b\u305f\u3081\u3001\u51e6\u7406\u901f\u5ea6\u304c\u9045\u304f\u306a\u308b\u3088\u3046\u306a\u5f0a\u5bb3\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>STM32Cube MCU Packages Manager<\/h3>\n<p>\u3055\u3066\u3001HAL\u30b9\u30bf\u30c3\u30af\u56f3\u3067\u306f1\u500b\u306eHAL\u3082\u3001\u5b9f\u306fMCU\u6bce\u306b\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306eMCU\u6bce\u306b\u7570\u306a\u308bHAL\u3092\u3001STM32CubeIDE\u3078\u5b9f\u88c5\u3059\u308b\u30c4\u30fc\u30eb\u304c\u3001STM32Cube MCU Packages Manager\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_10291\" aria-describedby=\"caption-attachment-10291\" style=\"width: 786px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10291\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/a309372e57a830dfc1187ffce6b2b205.png\" alt=\"MCU\u6bce\u306b\u7570\u306a\u308bFirmware(HAL)\u3092STM32CubeIDE\u3078\u5b9f\u88c5\u3059\u308bSTM32Cube MCU Package Maneger\" width=\"786\" height=\"942\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/a309372e57a830dfc1187ffce6b2b205.png 786w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/a309372e57a830dfc1187ffce6b2b205-250x300.png 250w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/a309372e57a830dfc1187ffce6b2b205-768x920.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/a309372e57a830dfc1187ffce6b2b205-225x270.png 225w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><figcaption id=\"caption-attachment-10291\" class=\"wp-caption-text\">MCU\u6bce\u306b\u7570\u306a\u308bFirmware(HAL)\u3092STM32CubeIDE\u3078\u5b9f\u88c5\u3059\u308bSTM32Cube MCU Package Maneger<\/figcaption><\/figure>\n<p>STM32Cube MCU Packages Manager\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08ico\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u958b\u3044\u305f\u72b6\u614b\u3067\u3001Help&gt;Manage Embedded Software Packages\u3067\u8868\u793a\u3067\u304d\u307e\u3059\u3002\u4e0a\u56f3\u306f\u3001STM32C0\/F0\/F1\/G0\/G4\u306ePackage\u90e8\u5206\u3092\u629c\u7c8b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306eSTM32Cube MCU Packages Manager\u3067\u3001\u6700\u65b0\u306eFirmware Package\u3092\u958b\u767a\u306b\u4f7f\u3046\u304b\u3001\u305d\u308c\u3068\u3082\u3001\u53e4\u3044Firmware Package\u3092\u4f7f\u3046\u304b\u304c\u9078\u629e\u3067\u304d\u307e\u3059\u3002\u4e0a\u56f3\u306f\u3001STM32G0\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u6700\u65b0Firmware V1.6.1\u3092\u958b\u767a\u306b\u4f7f\u3046\u3053\u3068\u3092\u9078\u629e\u4e2d\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<h3>Firmware Package\u7248\u6570\u306e\u8a33<\/h3>\n<p>\u3053\u306eMCU Firmware Package\u304c\u3001HAL\u306e\u5b9f\u4f53\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001STM32G0 Firmware V1.6.1\u306f\u3001\u65e7Firmware V1.6.0\u3068\u4e0a\u4f4d\u306eUser Application\u306b\u5bfe\u3057\u3066\u306f\u540c\u3058HAL API\u3092\u63d0\u4f9b\u3057\u307e\u3059\u304c\u3001\u305d\u306e\u5b9f\u4f53\u306f\u3001\u65e7HAL\u306e\u30d0\u30b0\u4fee\u6b63\u3084\u8ca9\u58f2\u4e2d\u306eSTM32G0 MCU\u306b\u5fdc\u3058\u3066\u4e2d\u8eab\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u3053\u306eFirmware Package\u304c\u3001MCU\u5dee\u3084\u904e\u53bb\u306eHAL\u7248\u306b\u4f9d\u5b58\u3057\u306a\u3044HAL API\u3092\u3001User Application\u3078\u63d0\u4f9b\u3059\u308b\u4ed5\u7d44\u307f\u305d\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>MCU\u767a\u58f2\u5f8c\u3001\u7d4c\u904e\u6642\u9593\u304c\u9577\u304f\u306a\u308b\u3068\u3001\u540c\u4e00MCU\u3067\u3082\u591a\u304f\u306eFirmware Package\u7248\u304c\u9078\u629e\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u304a\u52e7\u3081\u306f\u3001\u6700\u65b0Firmware\u3067\u3059\u3002<\/p>\n<p>\u8907\u6570\u306eFirmware\u7248\u304c\u5b58\u5728\u3059\u308b\u7406\u7531\u306f\u3001ST\u30de\u30a4\u30af\u30ed\u304cMCU\u4f9b\u7d66\u3092\u6700\u4f4e10\u5e74\u4fdd\u8a3c\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002\u65b0MCU\u30d1\u30c3\u30b1\u30fc\u30b8\u8ffd\u52a0\u767a\u58f2\u6642\u306f\u3001\u65b0\u3057\u3044Firmware\u7248\u3067\u5bfe\u5fdc\u3057\u307e\u3059\u3002\u7c21\u5358\u306b\u8a00\u3046\u3068\u3001MCU\u958b\u767a\u5c65\u6b74\u304c\u7248\u6570\u306b\u73fe\u308c\u308b\u8a33\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u958b\u767a\u8005\u304c\u3001\u9867\u5ba2\u63d0\u4f9b\u6642Firmware\u3092\u305d\u306e\u307e\u307e\u7d99\u7d9a\u958b\u767a\u306b\u4f7f\u3044\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u6700\u65b0\u7248\u3060\u3051\u3067\u306a\u304f\u904e\u53bb\u306eFirmware\u3082\u9078\u629e\u80a2\u306b\u306a\u308b\u8a33\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306e\u9078\u629e\u306f\u3001ico\u30d5\u30a1\u30a4\u30eb\u306eProject Manager\u30bf\u30d6\u306e\u4e00\u756a\u4e0b\u3001Firmware Package Name and Version\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h2>Summary\uff1aHAL API\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a<\/h2>\n<figure id=\"attachment_10314\" aria-describedby=\"caption-attachment-10314\" style=\"width: 833px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-10314 size-full\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/44daa8b952e38c5266742c2da97a1526-1.png\" alt=\"BSP\u3068MCU Firmware\u306b\u3088\u308a\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u4f9d\u5b58\u6027\u304c\u7121\u3044HAL APIs\u304c\u63d0\u4f9b\" width=\"833\" height=\"575\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/44daa8b952e38c5266742c2da97a1526-1.png 833w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/44daa8b952e38c5266742c2da97a1526-1-300x207.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/44daa8b952e38c5266742c2da97a1526-1-768x530.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/44daa8b952e38c5266742c2da97a1526-1-360x248.png 360w\" sizes=\"auto, (max-width: 833px) 100vw, 833px\" \/><figcaption id=\"caption-attachment-10314\" class=\"wp-caption-text\">BSP\u3068MCU Firmware\u306b\u3088\u308a\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u4f9d\u5b58\u6027\u304c\u7121\u3044HAL APIs\u304c\u63d0\u4f9b<\/figcaption><\/figure>\n<p>MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u3001HAL API\u3092\u4f7f\u3046\u3068MCU\u306b\u4f9d\u5b58\u3057\u306a\u3044\u79fb\u690d\u6027\u306e\u9ad8\u3044User Application\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u958b\u767a\u304c\u3067\u304d\u308b\u3053\u3068\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>User Application\u3068HAL API\u9593\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3068\u3057\u3066\u3001\u8a55\u4fa1\u30dc\u30fc\u30c9\u6bce\u306b\u7570\u306a\u308bBSP\u3084\u3001MCU\u6bce\u306b\u7570\u306a\u308bMCU Firmware Package\uff08HAL\uff09\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n<p>\u6c4e\u7528MCU\u3092\u4f7f\u3063\u305fHAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u3001MCU\u5909\u66f4\u306b\u5bfe\u3057\u3066\u79fb\u690d\u6027\u304c\u9ad8\u3044\u305f\u3081\u3001User Application\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u8cc7\u7523\u5316\u3082\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Afterword\uff1aMCU\u8aac\u660e\u306e\u96e3\u3057\u3055<\/h3>\n<p>\u672c\u7a3f\u306e\u5185\u5bb9\u306f\u3001\u4e2d\u7d1a\u4ee5\u4e0a\u306eMCU\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u306f\u3001\u81ea\u660e\u306e\u7406\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u81ea\u660e\u306e\u7406\u3092\u8aac\u660e\u3059\u308b\u306e\u306f\u3001\u7d50\u69cb\u5927\u5909\u3067\u3059\u3002\u672c\u7a3f\u3082\u3001\u8aac\u660e\u4e0d\u8db3\u306e\u7b87\u6240\u304c\u591a\u3005\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>MCU\u958b\u767a\u3067\u306f\u3001\u3053\u306e\u81ea\u660e\u306e\u7406\u306e\u90e8\u5206\u304c\u591a\u3044\u305f\u3081\u3001\u958b\u767a\u8005\u30ec\u30d9\u30eb\u3092\u4e0a\u3052\u308b\u969c\u58c1\u306f\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3066\u8a00\u3046\u3068\u3001\u30b9\u30de\u30db\u304c\u521d\u3081\u3066\u306e\u65b9\u306b\u3001\u305d\u306e\u53d6\u6271\u3044\u65b9\u6cd5\u3092\u6587\u66f8\u3060\u3051\u3067\u8aac\u660e\u3059\u308b\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u306f\u3001ST\u30de\u30a4\u30af\u30ed\u306eHAL\u3092\u4f8b\u306b\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3001\u73fe\u5728MCU\u6bce\u306b\u8ca9\u58f2\u4e2d\u306e\u5f0a\u793eSTM32F0\/F1\/G0\/G4\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u3001MCU\u5171\u901a\u306eSTM32MCU\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3078\u767a\u5c55\u3055\u305b\u308b\u5e03\u77f3\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u5185\u5bb9\u304c\u3001\u3059\u3093\u306a\u308a\u5224\u308b\u958b\u767a\u8005\u306b\u306f\u3001STM32\u5171\u901aMCU\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u591a\u5206\u4e0d\u8981\uff08\u3054\u81ea\u5206\u3067\u958b\u767a\u3067\u304d\u308b\uff09\u3067\u3059\u3057\u3001\u5224\u3089\u306a\u3044\u65b9\u306b\u306f\u3001STM32\u5171\u901a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3088\u308a\u3082\u500b\u5225STM32F0\/F1\/G0\/G4\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u65b9\u304c\u4f7f\u3044\u6613\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u3088\u3046\u306a\u9577\u6587\u306f\u3001\u7b46\u8005\u306e\u82e6\u624b\u306a\u5206\u91ce\u3067\u3059\u3002\u304c\u3001\u6642\u3005\u306f\u6311\u6226\u3059\u3079\u304d\u3068\u8003\u3048\u3066\u304a\u308a\u307e\u3059\u3002\u3054\u8cea\u554f\u3084\u5224\u308a\u96e3\u3044\u7b87\u6240\u306e\u3054\u6307\u6458\u3082\u5927\u6b53\u8fce\u3067\u3059\u3002\u8aad\u8005\u306e\u65b9\u3005\u304b\u3089\u306e<a href=\"mailto:mailto;info@happytech.jp\" target=\"_blank\" rel=\"noopener\">\u30ec\u30b9\u30dd\u30f3\u30b9<\/a>\u3001\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-6224202239761885\" data-ad-slot=\"3310976040\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,127,29,31,131,114,487],"tags":[137,144,218,447,878],"class_list":["post-10289","post","type-post","status-publish","format-standard","hentry","category-mcu","category-stm32-mcu","category-cortex-m0puls-core","category-cortex-m0-core","category-cortex-m3-core","category-cortex-m33-core","category-cortex-m4-core","tag-hal","tag-bsp","tag-218","tag-hal-api","tag-firmware"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a - IoT MCU\u306eHappyTech<\/title>\n<meta name=\"description\" content=\"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a - IoT MCU\u306eHappyTech\" \/>\n<meta property=\"og:description\" content=\"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/\" \/>\n<meta property=\"og:site_name\" content=\"IoT MCU\u306eHappyTech\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-07T17:52:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-11T19:31:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png\" \/>\n<meta name=\"author\" content=\"WithHappy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\" \/>\n<meta name=\"twitter:description\" content=\"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002\" \/>\n<meta name=\"twitter:creator\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:site\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"WithHappy\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/\"},\"author\":{\"name\":\"WithHappy\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\"},\"headline\":\"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\",\"datePublished\":\"2023-09-07T17:52:44+00:00\",\"dateModified\":\"2023-09-11T19:31:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/\"},\"wordCount\":393,\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/06cf9b7aef906f26c1ff2432573b7d3b-1.png\",\"keywords\":[\"HAL\",\"BSP\",\"\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\",\"HAL API\",\"Firmware\"],\"articleSection\":[\"MCU\uff1a\u30de\u30a4\u30b3\u30f3\",\"STM32\u30de\u30a4\u30b3\u30f3\",\"Cortex-M0+\u30b3\u30a2\",\"Cortex-M0\u30b3\u30a2\",\"Cortex-M3\u30b3\u30a2\",\"Cortex-M33\u30b3\u30a2\",\"Cortex-M4\u30b3\u30a2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/\",\"name\":\"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a - IoT MCU\u306eHappyTech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/06cf9b7aef906f26c1ff2432573b7d3b-1.png\",\"datePublished\":\"2023-09-07T17:52:44+00:00\",\"dateModified\":\"2023-09-11T19:31:17+00:00\",\"description\":\"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/#primaryimage\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/06cf9b7aef906f26c1ff2432573b7d3b-1.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/06cf9b7aef906f26c1ff2432573b7d3b-1.png\",\"width\":698,\"height\":423,\"caption\":\"\u30d9\u30a2\u30e1\u30bf\u30eb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306eHAL\u30b9\u30bf\u30c3\u30af\u56f3\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/09\\\/08\\\/hal-and-mcu-software-development\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"name\":\"IoT MCU\u306eHappyTech\",\"description\":\"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09\",\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\",\"name\":\"HappyTech\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"width\":1420,\"height\":349,\"caption\":\"HappyTech\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/HappyTechDigest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\",\"name\":\"WithHappy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"caption\":\"WithHappy\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a - IoT MCU\u306eHappyTech","description":"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/","og_locale":"ja_JP","og_type":"article","og_title":"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a - IoT MCU\u306eHappyTech","og_description":"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002","og_url":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/","og_site_name":"IoT MCU\u306eHappyTech","article_published_time":"2023-09-07T17:52:44+00:00","article_modified_time":"2023-09-11T19:31:17+00:00","og_image":[{"url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png","type":"","width":"","height":""}],"author":"WithHappy","twitter_card":"summary_large_image","twitter_title":"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a","twitter_description":"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002","twitter_creator":"@HappyTechDigest","twitter_site":"@HappyTechDigest","twitter_misc":{"\u57f7\u7b46\u8005":"WithHappy","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/#article","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/"},"author":{"name":"WithHappy","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501"},"headline":"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a","datePublished":"2023-09-07T17:52:44+00:00","dateModified":"2023-09-11T19:31:17+00:00","mainEntityOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/"},"wordCount":393,"publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/#primaryimage"},"thumbnailUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png","keywords":["HAL","BSP","\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a","HAL API","Firmware"],"articleSection":["MCU\uff1a\u30de\u30a4\u30b3\u30f3","STM32\u30de\u30a4\u30b3\u30f3","Cortex-M0+\u30b3\u30a2","Cortex-M0\u30b3\u30a2","Cortex-M3\u30b3\u30a2","Cortex-M33\u30b3\u30a2","Cortex-M4\u30b3\u30a2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/","url":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/","name":"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a - IoT MCU\u306eHappyTech","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/#primaryimage"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/#primaryimage"},"thumbnailUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png","datePublished":"2023-09-07T17:52:44+00:00","dateModified":"2023-09-11T19:31:17+00:00","description":"MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306fHAL API\u3092\u4f7f\u3046\u3068\u9ad8\u79fb\u690d\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u304c\u53ef\u80fd\u3002BSP\u3084MCU Firmware Package\u306f\u4f9d\u5b58\u6027\u3092\u7121\u304f\u3059\u624b\u6bb5\u3002\u6c4e\u7528MCU HAL API\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u9ad8\u79fb\u690d\u30e6\u30fc\u30b6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8cc7\u7523\u5316\u671f\u5f85\u5927\u3002","breadcrumb":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/#primaryimage","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/09\/06cf9b7aef906f26c1ff2432573b7d3b-1.png","width":698,"height":423,"caption":"\u30d9\u30a2\u30e1\u30bf\u30eb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306eHAL\u30b9\u30bf\u30c3\u30af\u56f3"},{"@type":"BreadcrumbList","@id":"https:\/\/happytech.jp\/wordpress\/2023\/09\/08\/hal-and-mcu-software-development\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/happytech.jp\/wordpress\/"},{"@type":"ListItem","position":2,"name":"HAL\u3068MCU\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a"}]},{"@type":"WebSite","@id":"https:\/\/happytech.jp\/wordpress\/#website","url":"https:\/\/happytech.jp\/wordpress\/","name":"IoT MCU\u306eHappyTech","description":"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09","publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/happytech.jp\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/happytech.jp\/wordpress\/#organization","name":"HappyTech","url":"https:\/\/happytech.jp\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","width":1420,"height":349,"caption":"HappyTech"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/HappyTechDigest"]},{"@type":"Person","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501","name":"WithHappy","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","caption":"WithHappy"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/10289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=10289"}],"version-history":[{"count":2,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/10289\/revisions"}],"predecessor-version":[{"id":10315,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/10289\/revisions\/10315"}],"wp:attachment":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=10289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=10289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=10289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}