{"id":3952,"date":"2017-06-12T04:24:51","date_gmt":"2017-06-11T19:24:51","guid":{"rendered":"http:\/\/happytech.jp\/wordpress\/?p=3952"},"modified":"2017-08-16T02:42:52","modified_gmt":"2017-08-15T17:42:52","slug":"user-code-add-in-stm32cubemx","status":"publish","type":"post","link":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/","title":{"rendered":"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240"},"content":{"rendered":"<p>STM32CubeMX\u304c\u751f\u6210\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u81ea\u52d5\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002STM32\u30de\u30a4\u30b3\u30f3\u306e\u30bd\u30d5\u30c8\u958b\u767a\u306f\u3001\u3053\u306e\u51fa\u529b\u30d5\u30a1\u30a4\u30eb\u3078\u3001\u30e6\u30fc\u30b6\u51e6\u7406\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u3066\u5b8c\u6210\u3057\u307e\u3059\u306e\u3067\u3001\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u3069\u3053\u306b\u8ffd\u8a18\u3059\u308c\u3070\u826f\u3044\u304b\u3092\u77e5\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u524d\u56de\u8a18\u4e8b\u3067STM32CubeMX\u306e\u4f7f\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\u306bHAL: Hardware Abstraction Layer\u3092\u9078\u3073\u307e\u3057\u305f\u3002UM1718\u306e\uff15\u7ae0\u306b\u3001HAL\u5358\u72ec\u3001LL\u5358\u72ec\u3068HAL\/LL\u6df7\u5408\u306e\u5404\u30e9\u30a4\u30d6\u30e9\u30ea\u4f7f\u7528\u6642\u306eSTM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u8a73\u7d30\u8aac\u660e\u304c\u3042\u308a\u307e\u3059\u3002\u672c\u30d6\u30ed\u30b0\u8a18\u4e8b\u306f\u3001\u3053\u306eHAL\u5358\u72ec\u7248\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/p>\n<h2><span style=\"color: #008000;\">STM32CubeMX\u306e\u8a2d\u5b9a\u6761\u4ef6<\/span><\/h2>\n<p>STM32CubeMX\u306f\u3001\u8a2d\u5b9a\u306b\u3088\u308a\u51fa\u529b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u304c\u69d8\u3005\u306b\u7570\u306a\u308a\u307e\u3059\u306e\u3067\u3001STM32\u30de\u30a4\u30b3\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u958b\u767a\u3067\u4f7f\u3046\u4e0b\u8a18\u6761\u4ef6\u3067\u30b3\u30fc\u30c9\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3><span style=\"color: #008000;\">\u524d\u63d0\u6761\u4ef6<\/span><\/h3>\n<p style=\"padding-left: 30px;\">\u8a55\u4fa1\u30dc\u30fc\u30c9\uff1aSTM32F072RB\uff08ARM Cortex-M0\uff09<br \/>\n3\u30a6\u30a4\u30b6\u30fc\u30c9\uff1aPinout\u3001Clock Configuration\u306f\u8a55\u4fa1\u30dc\u30fc\u30c9\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3001Configuration\u306fEXTI line 4 to 15 interrupts\u306b\u2611\u8a2d\u5b9a<br \/>\n\u4f7f\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\uff1aHAL<\/p>\n<figure id=\"attachment_3959\" aria-describedby=\"caption-attachment-3959\" style=\"width: 1234px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3959\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png\" alt=\"STM32CubeMX Code Generation\" width=\"1234\" height=\"915\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png 1234w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316-300x222.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316-768x569.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316-1024x759.png 1024w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316-360x267.png 360w\" sizes=\"auto, (max-width: 1234px) 100vw, 1234px\" \/><figcaption id=\"caption-attachment-3959\" class=\"wp-caption-text\">STM32CubeMX Code Generation<\/figcaption><\/figure>\n<h3><span style=\"color: #008000;\">\u51fa\u529b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u304c\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb<\/span><\/h3>\n<p>STM32CubeMX\u306e\u51fa\u529b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u3046\u3061\u3001\u30e6\u30fc\u30b6\u51e6\u7406\u3092\u8ffd\u8a18\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u3001Inc\uff08\u30d8\u30c3\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\uff09\u3068Src\uff08\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\uff09\u306b\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089Inc\/Src\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u6982\u8981\u3068\u30e6\u30fc\u30b6\u30b3\u30fc\u30c9\u8ffd\u8a18\u7b87\u6240\u306e\u6709\u7121\u4e00\u89a7\u304c\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<table>\n<caption>USER CODE Add in for STM32CubeMX Project<\/caption>\n<tbody>\n<tr>\n<td colspan=\"2\" width=\"213\"><strong>\u30d5\u30a9\u30eb\u30c0\uff1e\u30d5\u30a1\u30a4\u30eb<\/strong><\/td>\n<td width=\"289\"><strong>\u6982\u8981<\/strong><\/td>\n<td width=\"211\"><strong>\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240<\/strong><\/td>\n<td width=\"211\"><strong>STM32CubeMX<\/strong><strong>\u518d\u751f\u6210\u6642<\/strong><\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\" width=\"43\"><strong>Src<\/strong><\/td>\n<td width=\"169\">main.c<\/td>\n<td width=\"289\">main\u51e6\u7406\uff08\u52d5\u4f5c\u30af\u30ed\u30c3\u30af\u3068HAL\u521d\u671f\u8a2d\u5b9a\u751f\u6210\u30b3\u30fc\u30c9\u542b\u3080\uff09<\/td>\n<td width=\"211\"><span style=\"color: #ff6600;\"><strong>\u3042\u308a<\/strong><\/span><\/td>\n<td rowspan=\"4\" width=\"211\"><strong><br \/>\n<\/strong>\u30e6\u30fc\u30b6\u51e6\u7406\u4ee5\u5916\u4e0a\u66f8\u304d<\/td>\n<\/tr>\n<tr>\n<td width=\"169\">stm32f0xx_it.c<\/td>\n<td width=\"289\">\u5272\u8fbc\u307f\u51e6\u7406\uff08EXIT1 4_15\uff09<\/td>\n<td width=\"211\">\u3042\u308a\uff08\u81ea\u52d5\u5272\u4ed8\u6e08\u307f\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"169\">stm32f0xx_hal_msp.c<\/td>\n<td width=\"289\">HAL MSP\u51e6\u7406\u3068\u30a8\u30e9\u30fc\u51e6\u7406<\/td>\n<td width=\"211\">\u3042\u308a\uff08\u53ef\u80fd\u6027\u306f\u4f4e\u3044\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"169\">system_stm32f0xx.c<\/td>\n<td width=\"289\">\u30b7\u30b9\u30c6\u30e0\u30af\u30ed\u30c3\u30af\u8a2d\u5b9a<\/td>\n<td width=\"211\">\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\" width=\"43\"><strong>Inc<\/strong><\/td>\n<td width=\"169\">main.h<\/td>\n<td width=\"289\">IO\u30d4\u30f3\u306e\u30e9\u30d9\u30eb\u5b9a\u7fa9<\/td>\n<td width=\"211\">\u3042\u308a\uff08Pinout\u30a6\u30a4\u30b6\u30fc\u30c9\u8a2d\u5b9a\u5206\u306e\u307f\uff09<\/td>\n<td rowspan=\"3\" width=\"211\">\u5b8c\u5168\u4e0a\u66f8\u304d<\/td>\n<\/tr>\n<tr>\n<td width=\"169\">stm32f0xx_it.h<\/td>\n<td width=\"289\">\u5272\u8fbc\u307f\u5b9a\u7fa9<\/td>\n<td width=\"211\">\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td width=\"169\">stm32f0xx_hal_conf.h<\/td>\n<td width=\"289\">HAL\u69cb\u6210\u5b9a\u7fa9<\/td>\n<td width=\"211\">\u306a\u3057<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Inc\u30d5\u30a9\u30eb\u30c0\u306emain.h\u30e6\u30fc\u30b6\u8ffd\u8a18\u90e8\u5206\u306f\u3001Pinout\u30a6\u30a4\u30b6\u30fc\u30c9\u3067\u30d4\u30f3\u540d\u3092\u8ffd\u52a0\u3057\u305f\u5206\u306e\u307f\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u30a6\u30a4\u30b6\u30fc\u30c9\u51fa\u529b\u304c\u3042\u308b\u3060\u3051\u3067\u5b9f\u8cea\u30e6\u30fc\u30b6\u8ffd\u8a18\u306f\u4e0d\u8981\u3067\u3059\u3002STM32CubeMX\u3067\u518d\u5ea6\u30b3\u30fc\u30c9\u751f\u6210\u3057\u305f\u5834\u5408\u306f\u3001\u30d8\u30c3\u30c0\u30fc\u30d5\u30a1\u30a4\u30eb\u306f\u5168\u3066\u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5f93\u3063\u3066\u3001\u518d\u751f\u6210\u3057\u3066\u3082\u30e6\u30fc\u30b6\u8ffd\u8a18\u30b3\u30fc\u30c9\u304c\u6b8b\u308b\u306e\u306f\u300c\u3042\u308a\u300d\u3067\u793a\u3057\u305f\u3001main.c\u3001stm32f0xx_it.c\u3001stm43f0xx_hal_msp.c\u306eSrc\u30d5\u30a9\u30eb\u30c0\u5185\u306e3\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u3046\u3061stm43f0xx_hal_msp.c\u306f\u3001HAL\u30e9\u30a4\u30d6\u30e9\u30ea\u306eMSP: MCU Support Package\u51e6\u7406\uff08\u2252\u30cf\u30fc\u30c9\u62bd\u8c61\u5316\uff09\u3084\u30a8\u30e9\u30fc\u51e6\u7406\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u306e\u3067\u3001\u901a\u5e38\u306f\u30e6\u30fc\u30b6\u304c\u8ffd\u8a18\u3059\u308b\u53ef\u80fd\u6027\u306f\u4f4e\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u7d50\u5c40\u3001\u30e6\u30fc\u30b6\u51e6\u7406\u306e\u8ffd\u8a18\u304c\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u306f\u3001Src\u30d5\u30a9\u30eb\u30c0\u306emain.c\u3068stm32f0xx_it.c\uff08\u5272\u8fbc\u307f\u51e6\u7406\uff09\u306e\uff12\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<h3><span style=\"color: #008000;\">\u30e6\u30fc\u30b6\u8ffd\u8a18\u30b3\u30fc\u30c9\uff08\u5272\u8fbc\u307f\u51e6\u7406\uff09<\/span><\/h3>\n<p>\u5148\u305a\u3001\u5272\u8fbc\u307f\u51e6\u7406\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>HAL\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3068\u3001\u5272\u8fbc\u307f\u306e\u524d\u51e6\u7406\uff08\u5272\u8fbc\u307f\u8981\u56e0\u30d5\u30e9\u30b0\u78ba\u8a8d\u3001\u30d5\u30e9\u30b0\u30ea\u30bb\u30c3\u30c8\u3001\u30e6\u30fc\u30b6\u51e6\u7406\u95a2\u6570callback\uff09\u306f\u3001\u5168\u3066STM32CubeMX\u304c\u81ea\u52d5\u751f\u6210\u3059\u308b\u5272\u8fbc\u307f\u30cf\u30f3\u30c9\u30e9\u304c\u884c\u3044\u307e\u3059\u3002\u4f46\u3057\u3001\u3053\u306e\u5272\u8fbc\u307f\u30cf\u30f3\u30c9\u30e9\u540d\u306b\u306f\u3001HAL_\u3068\u3044\u3046\u63a5\u982d\u8a9e\u304c\u4ed8\u3044\u3066\u3044\u3066\u3001\u30b3\u30a2\u306e\u5272\u8fbc\u307f\u30cf\u30f3\u30c9\u30e9\u540d\u3068\u7570\u306a\u308b\u305f\u3081\u3001\u30b3\u30a2\u5272\u8fbc\u307f\u30cf\u30f3\u30c9\u30e9\u3068\u751f\u6210\u5272\u8fbc\u307f\u30cf\u30f3\u30c9\u30e9\u306e\u5bfe\u5fdc\u4ed8\u3051\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30cf\u30f3\u30c9\u30e9\u540d\u79f0\u306e\u5bfe\u5fdc\u4ed8\u3051\u3092\u884c\u3046\u306e\u304c\u3001stm32f0xx_it.c\u3067\u3059\u3002\u8a55\u4fa1\u30dc\u30fc\u30c9\u306e\u30c7\u30e2\u30bd\u30d5\u30c8\uff08STM32\u30de\u30a4\u30b3\u30f3\u7d71\u5408\u958b\u767a\u74b0\u5883\u53c2\u7167\u306e5\uff09\u52d5\u4f5c\u691c\u8a3c\u53c2\u7167\uff09\u306e\u4f8b\u3067\u793a\u3059\u3068\u3001stm32f0xx_it.c\u306e\u4e0b\u8a18\u90e8\u5206\u3067\u3059\u3002\u4f46\u3057\u3001\u3053\u306e\u5272\u4ed8\u306f\u3001Configuration\u30a6\u30a4\u30b6\u30fc\u30c9\u3067EXTI line 4 to 15 interrupts\u306b\u2611\u8a2d\u5b9a\u3057\u305f\u7d50\u679c\u3001\u81ea\u52d5\u5272\u4ed8\u6e08\u307f\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u3053\u3053\u3082\u30a6\u30a4\u30b6\u30fc\u30c9\u51fa\u529b\u7d50\u679c\u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u3066\u3001\u5b9f\u8cea\u30e6\u30fc\u30b6\u8ffd\u8a18\u304c\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_3960\" aria-describedby=\"caption-attachment-3960\" style=\"width: 766px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3960\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/stm32f0xx_it.c.png\" alt=\"stm32f0xx_it.c\u306e\u30e6\u30fc\u30b6\u8ffd\u8a18\u7b87\u6240\" width=\"766\" height=\"200\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/stm32f0xx_it.c.png 766w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/stm32f0xx_it.c-300x78.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/stm32f0xx_it.c-360x94.png 360w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><figcaption id=\"caption-attachment-3960\" class=\"wp-caption-text\">stm32f0xx_it.c<\/figcaption><\/figure>\n<p>\u30cf\u30f3\u30c9\u30e9\u304c\u30b3\u30fc\u30eb\u3059\u308b\u30e6\u30fc\u30b6\u51e6\u7406\u95a2\u6570\u306f\u3001Callback\u4ee5\u5916\u304c\u30cf\u30f3\u30c9\u30e9\u540d\u3068\u540c\u3058HAL_GPIO_EXIT_Callback()\u3068\u3044\u3046\u95a2\u6570\u540d\u3068\u3044\u3046STM\u72ec\u81ea\u306e\u6c7a\u307e\u308a\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306eCallback\u95a2\u6570\u306f\u3001main.c\u5185\u306b\u3042\u308a\u4e0b\u8a18\u90e8\u5206\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_3961\" aria-describedby=\"caption-attachment-3961\" style=\"width: 786px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3961\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/main.c.png\" alt=\"main.c\" width=\"786\" height=\"358\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/main.c.png 786w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/main.c-300x137.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/main.c-768x350.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/main.c-360x164.png 360w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><figcaption id=\"caption-attachment-3961\" class=\"wp-caption-text\">main.c\u306e\u30e6\u30fc\u30b6\u8ffd\u8a18\u7b87\u6240<\/figcaption><\/figure>\n<p>\u307e\u3068\u3081\u308b\u3068\u3001\u5272\u8fbc\u307f\u51e6\u7406\u306f<\/p>\n<p style=\"padding-left: 30px;\">EXTI4_15_IRQHandler()\u306f\u3001\u3000\u3000\u3000\u3000\u30b3\u30a2\u306e\u5272\u8fbc\u307f\u30cf\u30f3\u30c9\u30e9\uff08startup_stm32f072xb.s\u306b\u8a18\u8ff0\uff09<br \/>\nHAL_GPIO_EXTI_IRQHandler()\u306f\u3001\u3000 STM32CubeMX\u81ea\u52d5\u751f\u6210\u306e\u5272\u8fbc\u307f\u30cf\u30f3\u30c9\u30e9\u3067HAL_GPIO_EXTI_Callback()\u3092\u30b3\u30fc\u30eb\u30d0\u30c3\u30af<br \/>\nHAL_GPIO_EXTI_Callback()\u306f\u3001\u3000\u3000\u3000\u30e6\u30fc\u30b6\u304c\u8ffd\u8a18\u3059\u308b\u5272\u8fbc\u307f\u51e6\u7406\u3067main.c\u306b\u51e6\u7406\u5185\u5bb9\u3092\u8ffd\u8a18<\/p>\n<p>\u3068\u3044\u30463\u6bb5\u69cb\u6210\u306a\u306e\u3067\u3001\u6700\u7d42\u7684\u306b<span style=\"color: #ff6600;\">\u30e6\u30fc\u30b6\u304c\u8ffd\u8a18\u3059\u308b\u5272\u8fbc\u307f\u51e6\u7406\u306e\u7b87\u6240\u306f\u3001Callback()\u306e\u4e2d\u8eab\u3064\u307e\u308amain.c\u306e\u307f<\/span>\u3067\u3059\u3002<\/p>\n<h3><span style=\"color: #008000;\">\u30e6\u30fc\u30b6\u8ffd\u8a18\u30b3\u30fc\u30c9\uff08\u5272\u8fbc\u307f\u51e6\u7406\u4ee5\u5916\uff09<\/span><\/h3>\n<p>\u5f53\u7136main.c\u306f\u3001\u5272\u8fbc\u307f\u51e6\u7406\u4ee5\u5916\u306b\u3082\u3001\u69d8\u3005\u306a\u30e6\u30fc\u30b6\u51e6\u7406\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002STM32CubeMX\u304c\u81ea\u52d5\u751f\u6210\u3059\u308b\u300c\u30ca\u30de\uff08\u751f\uff09\u306emain.c\u300d\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_3957\" aria-describedby=\"caption-attachment-3957\" style=\"width: 1144px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3957\" src=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/556367cf7f8d0903f1179c93f6f55a57-1.png\" alt=\"main.c souce\" width=\"1144\" height=\"3034\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/556367cf7f8d0903f1179c93f6f55a57-1.png 1144w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/556367cf7f8d0903f1179c93f6f55a57-1-113x300.png 113w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/556367cf7f8d0903f1179c93f6f55a57-1-768x2037.png 768w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/556367cf7f8d0903f1179c93f6f55a57-1-386x1024.png 386w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/556367cf7f8d0903f1179c93f6f55a57-1-102x270.png 102w\" sizes=\"auto, (max-width: 1144px) 100vw, 1144px\" \/><figcaption id=\"caption-attachment-3957\" class=\"wp-caption-text\">main.c souce\uff08\u6298\u308a\u7573\u307f\u6e08\u307f\uff09<\/figcaption><\/figure>\n<p>\u30e6\u30fc\u30b6\u8ffd\u8a18\u7b87\u6240\u3092\u89e3\u308a\u6613\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u30bd\u30fc\u30b9\u3092\u6298\u308a\u305f\u305f\u3093\u3067\u3044\u307e\u3059\u3002\u5148\u306b\u793a\u3057\u305f\u5272\u8fbc\u307f\u51e6\u7406HAL_GPIO_EXTI_Callback()\u306e\u8ffd\u8a18\u7b87\u6240\u306f\u3001\u30bd\u30fc\u30b9\u69cb\u9020\u304b\u3089\u3001<span style=\"color: #ff6600;\">USER CODE BEGIN 4<\/span>\u306e\u500b\u6240\u3067\u3042\u308b\u3053\u3068\u304c\u5224\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff6600;\">\/* USER CODE BEGIN xyz *\/\u304b\u3089\/* USER CODE END xyz *\/\u306e\u30b3\u30e1\u30f3\u30c8\u9593\u306b\u30e6\u30fc\u30b6\u51e6\u7406\u3092\u8ffd\u8a18<\/span>\u3059\u308c\u3070\u3001STM32CubeMX\u3067\u518d\u751f\u6210\u3057\u3066\u3082\u8ffd\u8a18\u90e8\u5206\u306f\u3001\u305d\u306e\u307e\u307e\u6b8b\u308a\u307e\u3059\u3002<\/p>\n<p>USER CODE xyz\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u8aad\u3093\u3067\u3001\u8ffd\u8a18\u304c\u5fc5\u8981\u306a\u30e6\u30fc\u30b6\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u4f46\u3057\u3001GPIO\u3084\u30b7\u30b9\u30c6\u30e0\u52d5\u4f5c\u30af\u30ed\u30c3\u30af\u306e\u521d\u671f\u8a2d\u5b9a\u306f\u3001STM32CubeMX\u304c\u81ea\u52d5\u751f\u6210\u6e08\u307f\u3067\u3059\u306e\u3067\u3001\u66f4\u306a\u308b\u8ffd\u8a18\u306f\u3001\u672c\u5f53\u306b\u30e6\u30fc\u30b6\u51e6\u7406\u306e\u90e8\u5206\u306e\u307f\u3068\u3044\u3046\u3053\u3068\u304c\u5224\u308a\u307e\u3059\u3002\u30c7\u30e2\u306e\u5834\u5408\u306a\u3089\u3001<span style=\"color: #ff6600;\">LED2\u306e\u70b9\u6ec5\u901f\u5ea6\u5909\u66f4\u51e6\u7406LED2_Blink()\u306e\u307f<\/span>\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3092\u307e\u3068\u3081\u308b\u3068\u3001STM32CubeMX\u304c\u81ea\u52d5\u751f\u6210\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u30d5\u30a1\u30a4\u30eb\u3078\u306f\u3001<\/p>\n<ul>\n<li>3\u30a6\u30a4\u30b6\u30fc\u30c9\u3055\u3048\u9593\u9055\u308f\u305a\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u3001main.c\u306e\u307f\u306e\u6700\u5c0f\u9650\u30e6\u30fc\u30b6\u8ffd\u8a18\u3067\u30a2\u30d7\u30ea\u5b8c\u6210<\/li>\n<li>\u305f\u3068\u3048\u30a6\u30a4\u30b6\u30fc\u30c9\u8a2d\u5b9a\u306b\u9593\u9055\u3048\u3066\u3082\u4fee\u6b63\u3057\u518d\u751f\u6210\u3059\u308c\u3070\u3001USER CODE xyz\u3078\u8ffd\u8a18\u3057\u305f\u30e6\u30fc\u30b6\u30b3\u30fc\u30c9\u306f\u4fdd\u6301\u3055\u308c\u5b89\u5fc3<\/li>\n<\/ul>\n<h2><span style=\"color: #008000;\">STM32CubeMX\u81ea\u52d5\u751f\u6210\u306e\u6d3b\u304b\u3057\u65b9<\/span><\/h2>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u30b5\u30a4\u30ba\u304c\u5927\u304d\u3044\u5834\u5408\u306b\u306f\u3001\u5168\u3066\u306e\u30e6\u30fc\u30b6\u8ffd\u52a0\u30bd\u30fc\u30b9\u30921\u3064\u306emain.c\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3059\u308b\u306e\u306f\u73fe\u5b9f\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u5358\u6a5f\u80fd\u306e\u30b5\u30f3\u30d7\u30eb\u30bd\u30d5\u30c8\u7a0b\u5ea6\u3067\u3042\u308c\u3070\u3001STM32CubeMX\u304c\u81ea\u52d5\u751f\u6210\u3059\u308bmain.c\u3078\u30e6\u30fc\u30b6\u51e6\u7406\u3092\u8ffd\u8a18\u3057\u3066\u3082\u3055\u307b\u3069\u53ef\u8aad\u6027\u306f\u60aa\u304f\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>STM32CubeMX\u306f\u3001STM32\u30de\u30a4\u30b3\u30f3\u30bd\u30d5\u30c8\u3092\u52b9\u7387\u7684\u306b\u958b\u767a\u3059\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002\u306a\u308b\u3079\u304f\u5c0f\u3055\u304f\u5358\u6a5f\u80fd\u30bd\u30d5\u30c8\u3092STM32CubeMX\u3067\u958b\u767a\u3057\u3001\u5358\u4f53\u3067\u30d0\u30b0\u304c\u53d6\u308c\u305f\u5f8c\u306b\u3001\u5404\u6a5f\u80fd\u3092\u7d50\u5408\u3057\u3066\u76ee\u7684\u306e\u30bd\u30d5\u30c8\u3078\u4ed5\u4e0a\u3052\u308b\u306e\u304c\u3001STM32CubeMX\u81ea\u52d5\u751f\u6210\u51fa\u529b\u3092\u6d3b\u304b\u3059\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u6d3b\u304b\u3059\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u6b21\u56de\u306f\u3001\u8a55\u4fa1\u30dc\u30fc\u30c9UART\u5165\u51fa\u529b\u3092USB\u7d4c\u7531\u3067\u30d1\u30bd\u30b3\u30f3\u3068\u7e4b\u3052\u308bUART-USB\uff08VirtualUART\uff09\u6a5f\u80fd\u3068\u3001\u8a55\u4fa1\u30dc\u30fc\u30c9\u30c7\u30e2\u306e2\u3064\u3092\u7d50\u5408\u3057\u3001\u30d1\u30bd\u30b3\u30f3\u30b3\u30de\u30f3\u30c9\u3067\u30dc\u30fc\u30c9\u306eLED\u70b9\u6ec5\u901f\u5ea6\u3092\u5909\u3048\u308b\u30bd\u30d5\u30c8\u958b\u767a\u306e\u8a71\u3092\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002\u3053\u308c\u306f\u5b9f\u306f\u3001STM32\u30de\u30a4\u30b3\u30f3\u306e\u30b7\u30f3\u30d7\u30eb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002\u3054\u671f\u5f85\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u203b\u56fa\u5b9a\u30da\u30fc\u30b8\uff08\u672c\u30d6\u30ed\u30b0\u306e\u4e0a\u90e8\u30bf\u30d6\u30ea\u30f3\u30af\uff09\u3092\u3001Curie\u304b\u3089STM32Fx\u30de\u30a4\u30b3\u30f3\u958b\u767a\u3078\u5168\u9762\u5909\u66f4\u3044\u305f\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>STM32CubeMX\u304c\u751f\u6210\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u81ea\u52d5\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87 <a href=\"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/\" class=\"read-more\">Read More &#8230;<\/a><\/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],"tags":[27,30,53,45,128,132,135],"class_list":["post-3952","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","tag-arm","tag-cortex-m0","tag-cortex-m0puls","tag-iot-mcu","tag-sw4stm23","tag-stm32f072rb","tag-stm32cubemx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240 - IoT MCU\u306eHappyTech<\/title>\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\/2017\/06\/12\/user-code-add-in-stm32cubemx\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240 - IoT MCU\u306eHappyTech\" \/>\n<meta property=\"og:description\" content=\"STM32CubeMX\u304c\u751f\u6210\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u81ea\u52d5\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87 Read More ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/\" \/>\n<meta property=\"og:site_name\" content=\"IoT MCU\u306eHappyTech\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-11T19:24:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-08-15T17:42:52+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png\" \/>\n<meta name=\"author\" content=\"WithHappy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/\"},\"author\":{\"name\":\"WithHappy\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\"},\"headline\":\"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240\",\"datePublished\":\"2017-06-11T19:24:51+00:00\",\"dateModified\":\"2017-08-15T17:42:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/\"},\"wordCount\":295,\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/9dc3f3beccde435860ca3c369bddd316.png\",\"keywords\":[\"ARM\u30de\u30a4\u30b3\u30f3\",\"Cortex-M0\",\"Cortex-M0+\",\"IoT\u30de\u30a4\u30b3\u30f3\",\"SW4STM23\",\"STM32F072RB\",\"STM32CubeMX\"],\"articleSection\":[\"MCU\uff1a\u30de\u30a4\u30b3\u30f3\",\"STM32\u30de\u30a4\u30b3\u30f3\",\"Cortex-M0+\u30b3\u30a2\",\"Cortex-M0\u30b3\u30a2\",\"Cortex-M3\u30b3\u30a2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/\",\"name\":\"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240 - IoT MCU\u306eHappyTech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/9dc3f3beccde435860ca3c369bddd316.png\",\"datePublished\":\"2017-06-11T19:24:51+00:00\",\"dateModified\":\"2017-08-15T17:42:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/#primaryimage\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/9dc3f3beccde435860ca3c369bddd316.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/9dc3f3beccde435860ca3c369bddd316.png\",\"width\":1234,\"height\":915,\"caption\":\"STM32CubeMX Code Generation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2017\\\/06\\\/12\\\/user-code-add-in-stm32cubemx\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240\"}]},{\"@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":"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240 - IoT MCU\u306eHappyTech","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\/2017\/06\/12\/user-code-add-in-stm32cubemx\/","og_locale":"ja_JP","og_type":"article","og_title":"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240 - IoT MCU\u306eHappyTech","og_description":"STM32CubeMX\u304c\u751f\u6210\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u81ea\u52d5\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87 Read More ...","og_url":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/","og_site_name":"IoT MCU\u306eHappyTech","article_published_time":"2017-06-11T19:24:51+00:00","article_modified_time":"2017-08-15T17:42:52+00:00","og_image":[{"url":"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png","type":"","width":"","height":""}],"author":"WithHappy","twitter_card":"summary_large_image","twitter_creator":"@HappyTechDigest","twitter_site":"@HappyTechDigest","twitter_misc":{"\u57f7\u7b46\u8005":"WithHappy","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/#article","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/"},"author":{"name":"WithHappy","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501"},"headline":"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240","datePublished":"2017-06-11T19:24:51+00:00","dateModified":"2017-08-15T17:42:52+00:00","mainEntityOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/"},"wordCount":295,"publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/#primaryimage"},"thumbnailUrl":"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png","keywords":["ARM\u30de\u30a4\u30b3\u30f3","Cortex-M0","Cortex-M0+","IoT\u30de\u30a4\u30b3\u30f3","SW4STM23","STM32F072RB","STM32CubeMX"],"articleSection":["MCU\uff1a\u30de\u30a4\u30b3\u30f3","STM32\u30de\u30a4\u30b3\u30f3","Cortex-M0+\u30b3\u30a2","Cortex-M0\u30b3\u30a2","Cortex-M3\u30b3\u30a2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/","url":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/","name":"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240 - IoT MCU\u306eHappyTech","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/#primaryimage"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/#primaryimage"},"thumbnailUrl":"http:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png","datePublished":"2017-06-11T19:24:51+00:00","dateModified":"2017-08-15T17:42:52+00:00","breadcrumb":{"@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/#primaryimage","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2017\/06\/9dc3f3beccde435860ca3c369bddd316.png","width":1234,"height":915,"caption":"STM32CubeMX Code Generation"},{"@type":"BreadcrumbList","@id":"https:\/\/happytech.jp\/wordpress\/2017\/06\/12\/user-code-add-in-stm32cubemx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/happytech.jp\/wordpress\/"},{"@type":"ListItem","position":2,"name":"STM32CubeMX\u751f\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u30e6\u30fc\u30b6\u51e6\u7406\u8ffd\u8a18\u7b87\u6240"}]},{"@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\/3952","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=3952"}],"version-history":[{"count":0,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/3952\/revisions"}],"wp:attachment":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=3952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=3952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=3952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}