0
100% Satisfaction Guarantee
Amazing Value
Fast Shipping
Expert Customer Service
原子教你学STM32(HAL库版)(上)
$37.00
畅销书作者新作,强烈推荐;
配套资源丰富,读者可以免费获取;
互动灵活,方便读者答疑解惑!
原子教你学STM32(HAL库版)》分为上、下两册。本书是上册,分为基础篇和实战篇,详细介绍了STM32F103的基础入门知识,包括STM32简介、开发环境搭建、新建HAL库版本MDK工程、STM32时钟配置以及STM32F103常用外设的使用,包括外部中断、定时器、DMA、内部温度传感器等。
下册详细介绍了STM32F103复杂外设的使用及一些高级例程,包括触摸屏、无线通信、SD卡、USB读卡器等。建议初学者从上册开始,跟随书中的结构安排,循序渐进地学习。对于有一定基础的读者,可以直接选择下册,进入复杂外设的学习过程。
本书配套资料包含详细原理图以及所有实例的完整代码,这些代码都有详细的注释。另外,源码有生成好的hex文件,读者只需要通过仿真器下载到开发板即可看到实验现象,亲自体验实验过程。
本书不仅非常适合广大学生和电子爱好者学习STM32,其大量的实验以及详细的解说也可供公司产品开发人员参考。
刘军,网名正点原子,毕业于华南理工大学,现任广州星翼电子科技有限公司技术总监,长期活跃在国内嵌入式开发和开发板领域。创业至今推出了多款行业热门的开发板,包括战舰、精英、Mini、探索者以及阿波罗等。此外,还出版了《精通STM32F4》、《原子教你玩STM32》、《例说STM32》和《FreeRTOS源码详解与应用开发》等10余本专业著作,不仅深受广大读者的喜爱,更是获得了ST官方认可。原子哥本人授课风趣幽默,对嵌入式教育有自己的见解,创立正点原子以来,将STM32的学习理念和庞大的知识体系带给了广大的学子和STM32的开发者,对嵌入式教育贡献巨大。
第1篇基础篇第1章本书学习方法2第2章STM32简介72.1初识STM3272.2STM32F103资源简介82.3STM32F103设计选型92.3.1STM32系列92.3.2STM32命名102.3.3STM32选型112.3.4STM32设计11第3章开发环境搭建163.1常用开发工具简介163.2MDK安装163.3仿真器驱动安装173.4CH340 USB虚拟串口驱动安装18第4章STM32初体验194.1使用MDK5编译例程194.2使用串口下载程序224.3使用DAP下载与调试程序264.3.1使用DAP下载程序274.3.2使用DAP仿真调试程序294.3.3仿真调试注意事项344.4MDK5使用技巧354.4.1文本美化354.4.2语法检测&代码提示384.4.3代码编辑技巧394.4.4其他小技巧44第5章STM32基础知识入门465.1C语言基础知识复习465.2寄存器基础知识515.3STM32F103系统架构525.3.1CortexM3内核&芯片525.3.2STM32系统架构535.3.3存储器映射555.3.4寄存器映射58第6章认识HAL库636.1初识STM32 HAL库636.1.1CMSIS标准636.1.2HAL库简介656.1.3HAL库能做什么666.2HAL库驱动包676.2.1如何获取HAL库固件包676.2.2STM32Cube固件包分析696.2.3CMSIS文件夹关键文件716.2.4stdint.h简介736.3HAL库框架结构746.3.1HAL库文件夹结构746.3.2HAL库文件746.4如何使用HAL库786.4.1学会用HAL库组织开发工具链786.4.2HAL库的用户配置文件806.4.3stm32f1xx_hal.c文件836.4.4HAL库中断处理876.4.5正点原子对HAL库用法的个性化修改886.5HAL库使用注意事项88第7章新建HAL库版本MDK工程907.1新建HAL库版本MDK工程简介907.1.1新建工程文件夹907.1.2新建一个工程框架947.1.3添加文件977.1.4魔术棒设置1017.1.5添加main.c并编写代码1067.2下载验证109第8章STM32启动过程分析1108.1启动模式1108.2启动文件分析1118.2.1启动文件中的一些指令1128.2.2启动文件代码讲解1148.2.3系统启动流程1198.3map文件分析1218.3.1MDK编译生成文件1218.3.2map文件分析123第9章STM32时钟配置1279.1认识时钟树1279.1.1时钟源1289.1.2锁相环PLL1299.1.3系统时钟SYSCLK1309.1.4时钟信号输出MCO1329.2如何修改主频1339.2.1STM32F1时钟系统配置1339.2.2STM32F1时钟使能和配置138第10章SYSTEM文件夹14010.1delay文件夹代码14010.1.1操作系统支持宏定义及相关函数14110.1.2delay_init函数14310.1.3delay_us函数14510.1.4delay_ms函数14710.1.5HAL库延时函数HAL_Delay14810.2sys文件夹代码14910.3usart文件夹代码149第2篇实战篇第11章跑马灯实验154第12章蜂鸣器实验171第13章按键输入实验175第14章外部中断实验183第15章串口通信实验197第16章独立看门狗(IWDG)实验220第17章基本定时器实验227第18章通用定时器实验238第19章电容触摸按键实验269第20章TFTLCD(MCU屏)实验277第21章RTC实时时钟实验310第22章低功耗实验328第23章DMA实验338第24章ADC实验352第25章内部温度传感器实验383第26章光敏传感器实验388第27章DAC实验393参考文献420
Shipping Overview:
• Shipping: Standard Domestic Shipping within the United States charges USD 4.99. Standard International Shipping from United Kingdom, Germany and Japan to the United States charges 14.99.
• Order Processing: Please allow 1-2 business days for order processing and preparation before shipment.
• Domestic Shipping: Orders within the U.S. are shipped via USPS or FedEx, depending on the origin of the product. The average transit time is 3-7 business days.
• International Shipping: Currently, we only ship within the USA.
• Tracking Information: Every order is trackable. You will receive a tracking number once your order has been shipped. Products may be shipped from various global fulfillment centers.
Shipping Delays:
Please note that shipping times may vary due to factors beyond our control, such as weather conditions, natural disasters, or peak holiday periods. While we strive to ensure timely delivery, the exact arrival time cannot be guaranteed and is managed by the shipping carrier.
Shipping Options:
Standard Delivery: Most orders are shipped within 3-7 business days. Larger items may utilize LTL shipping for safe handling.
Handling Time: We handle shipments on business days (Monday - Friday), with a preparation time of 1-2 days.
Additional Charges: Some items require additional shipping charges due to their size, weight, or special handling. These charges are specified on the product pages and are not eligible for shipping discounts.
Exclusions: Gift cards, packaging, taxes, and prior purchases do not count toward the minimum purchase requirement for free shipping. This offer is valid only for shipments to U.S. addresses, including Puerto Rico.
Delivery Details:
Estimates: Standard shipping within the US typically takes 3-7 business days. These are estimates and not guarantees.
Shipping Restrictions: We ship to all 50 states, Washington, DC, U.S. territories, and APO/FPO/DPO addresses. Shipping options vary based on the delivery address.
Remote Areas: Shipments to remote areas may incur additional charges or require pickup from a nearby shipping partner’s location.
Shipping Confirmation:
You will receive a shipping confirmation email with a tracking number as soon as your order is dispatched. If you do not receive this email immediately, please be assured that your items will arrive within the estimated delivery window provided at checkout.
Order Modifications:
If you need to cancel or modify your order, please contact our customer support immediately.
Issues with Delivery:
If your order shows as delivered but you have not received it, please contact the shipping carrier directly to resolve the issue. For persistent problems, contact our customer service at cs@everymarket.com.
Customer Support:
Our team is available 24/7 to assist you with any questions or concerns regarding your order. We are committed to ensuring a smooth shopping experience.
Return & Refund Policy Overview
Please review our return and refund policies below to ensure a smooth transaction process.
Return Policy
Duration: You have 30 days from receiving your item to initiate a return.
Condition: Items must be unworn, unwashed, with original tags and packaging intact.
Shipping Costs: Customers are responsible for return shipping costs.
Packaging: Ensure returned items are well-packaged to avoid damage during transit.
Tracking: Use a trackable and insured shipping method as we are not liable for items lost or damaged on return.
Initiating a Return: Contact us at cs@everymarket.com to start your return. We will provide a return shipping label and instructions upon approval. Returns without prior approval will not be accepted.
How to Return
Method: Returns must be sent back by mail to the address provided in the return instructions.
Return Label
Defective Products: Return labels are provided for defective items.
Non-Defective Returns: Customers are responsible for obtaining their return shipping label.
Product Conditions for Return
Eligible Products: Returns are only accepted for items in new condition.
Nonreturnable Items
Certain items are not eligible for return:
Electronic devices after 30 days (e.g., computers, laptops, Kindles)
Gift cards, prepaid game cards
Perishable goods, live insects, some jewelry, some health and personal care items
Customized or personalized products
Items with special shipping restrictions
Refund Policy
Window: Eligible products may be returned within 30 days of delivery for a refund.
Refund Method: Refunds are processed to the original payment method or as store credit for items purchased with gift cards.
Processing Time: Refunds are processed within 3-5 business days after we receive the return; please allow additional time for shipping and bank processing.
Claims
Inspect your order upon arrival and report any defects, damages, or incorrect items immediately to allow us to address the issue. For claims, contact our support team with details of the issue.
Exchange Policy
For the quickest service, return your original item and place a new order for the desired product once your return is accepted.
Return Address
EveryMarket Customer Service 2101 E Terra Ln, O'Fallon, MO 63366
Customer Support
Available 24/7 for any questions or assistance needed:
Phone: +1 636-312-5925
Email: cs@everymarket.com
Oops!
Sorry, it looks like some products are not available in selected quantity.
OK