stm32-hal
STMicroelectronics STM32 HAL and Low-Level driver expertise
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=a5c-ai-babysitter-library-specializations-embedded-systems-skills-stm32-hal-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name stm32-hal description STMicroelectronics STM32 HAL and Low-Level driver expertise category Vendor-Specific allowed-tools ["Bash","Read","Write","Edit","Glob","Grep"] graph {"domains":["domain:embedded-systems"],"specializations":["specialization:embedded-systems"],"skillAreas":["skill-area:rtos-programming","skill-area:firmware-development","skill-area:desktop-ui-frameworks"],"roles":["role:embedded-engineer"]} STM32 HAL/LL Skill Overview This skill provides expert-level support for STMicroelectronics STM32 microcontrollers, including HAL driver usage, Low-Level (LL) driver optimization, and STM32CubeMX integration. Capabilities STM32CubeMX Integration Configuration file interpretation Code generation customization Pin and peripheral assignment Clock tree configuration Middleware integration HAL Driver Usage HAL initialization and configuration Callback registration and handling DMA integration with HAL Interrupt mode operations Polling mode operations HAL timeout handling Low-Level (LL) Drivers LL driver optimization Direct register access patterns HAL to LL migration Mixed HAL/LL usage Performance-critical implementations Clock Configuration Clock tree setup and optimization PLL configuration Peripheral clock gating Clock source selection HSE/HSI/LSE/LSI configuration DMA Configuration DMA stream/channel selection Circular and normal modes Double buffer configuration DMA interrupt handling Memory-to-memory transfers Peripheral Configuration GPIO configuration and modes Timer configuration (PWM, input capture) ADC/DAC setup and calibration Communication peripherals (UART, SPI, I2C) USB device/host configuration Power Management Sleep and stop mode entry Standby mode configuration Low-power run mode Wake-up source configuration Voltage scaling Target Processes bsp-development.js - STM32 BSP implementation device-driver-development.js - STM32 driver development dma-optimization.js - DMA configuration and tuning low-power-design.js - STM32 power optimization hardware-bring-up.js - STM32 board bring-up Dependencies STM32CubeMX STM32 HAL/LL libraries STM32CubeIDE (optional) Device-specific firmware package Usage Context This skill is invoked when tasks require: STM32 peripheral configuration HAL/LL driver implementation Clock tree optimization DMA setup and tuning Power mode configuration Family Support STM32F0, F1, F2, F3, F4, F7 STM32G0, G4 STM32H5, H7 STM32L0, L1, L4, L4+, L5 STM32U5 STM32WB, WL Example Configurations UART with DMA huart1.Instance = USART1; huart1.Init.BaudRate = 115200 ; huart1.Init.WordLength = UART_WORDLENGTH_8B; huart1.Init.StopBits = UART_STOPBITS_1; huart1.Init.Parity = UART_PARITY_NONE; huart1.Init.Mode = UART_MODE_TX_RX; huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE; HAL_UART_Init(&huart1); HAL_UART_Receive_DMA(&huart1, rx_buffer, RX_SIZE); LL GPIO Toggle LL_GPIO_SetOutputPin(GPIOA, LL_GPIO_PIN_5); LL_GPIO_ResetOutputPin(GPIOA, LL_GPIO_PIN_5); LL_GPIO_TogglePin(GPIOA, LL_GPIO_PIN_5);
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |