您好,欢迎光临本网站![请登录][注册会员]  
文件名称: SAMDA1系列应用手册
  所属分类: C
  开发工具:
  文件大小: 2mb
  下载次数: 0
  上传时间: 2019-03-04
  提 供 者: it_b****
 详细说明:SAMDA1系列应用手册,配合数据收的可以快速开发单片机ASFA API Reference Manual 6.6. Functions ..118 7. Audio driver 119 71. Audio basics and best practice .119 7. 2. Audio dma driver 119 8. CAN Driver 127 8.1. Can Basics and Best practice 127 8.2. CAN Asynchronous Driver 127 9. CRC Driver.…… 1口重■重日 135 9.1. CRC Basics and best practice 135 9. 2. CRC Synchronous Driver 135 10. Calendar drivers 140 10.1. Calendar Basics and best practice .140 10.2. Calendar Bare-bone driver 140 10.3. Calendar rtos driver ∴1447 11. Camera driⅤer 154 11.1. Camera basics and best practice 154 11.2. Camera Asynchronous Driver 154 12. Cryptography(AES) Driver 159 121. AEs Basics and best practice 159 12.2. AES Synchronous Driver 13. DAC Drivers .177 131. DAC Basics and best practice 177 13.2. DAC Asynchronous Driver 177 13.3. DAC RTOS Driver 183 13.4. DAC Synchronous Driver 188 14. Delay Driver. 192 4.1. Summary of the aPI's Functional Features 142. Summary of Configuration Options…… 192 14.3. Driver Implementation Description 192 14. 4. Example of U 14.5. Dependencies 192 146. functions 192 15. Digital Glue Logic 195 15.1. Summary of the APl's Functional Features...........195 15.2. Summary of Configuration Options 195 15.3. Driver Implementation Description 195 15. 4. Example of Usage ∴195 15.5. Dependencies...... 195 15,6. Functions 196 C 2018 Microchip Technology Inc User Guide D$50002633B-page 3 ASFA API Reference Manual 16. Ethernet mac driver 197 16. 1. Ethernet Asynchronous Driver 197 17. Event System Driver .205 17.1. Event System Basics and Best Practice 17.2. Summary of the API's Functional Features ,205 17.3. Summary of Configuration Options 205 17.4. Driver Implementation Description 206 17.5. EXample of Usage... 206 17.6. Dependencies. 206 17.7 Functions 206 18. External Bus driver 209 18.1. Summary of the APl's Functional Features 209 182. Summary of Configuration Options…… 20 18.3. Example of Usage 209 18.4. Dependencies 210 19. External IRQ Driver …211 19.1. External IRQ Basics and Best Practice 19.2. Summary of the APl's Functional Features 211 19.3. Summary of Configuration Options 19. 4. EXample of Usage 211 19.5. Dependencies..... 212 19.6. Typedefs. 212 19.7 Functions 20. Flash dritⅤer.…… 215 20.1. Summary of the API's Functional Features 215 20.2. Summary of Configuration Options .215 20.3. Driver Implementation Description 215 20.4. EXample of Usage....... 20.5. Dependencies 216 20.6. Structs 216 20.7. Enums ∴216 20.8. Typedefs 216 20.,9. Functions 21 Frequency Meter Drivers .223 21.1. Frequency Meter Basics and Best Practice 223 21.2. Frequency Meter Asynchronous Driver. 23 21.3. Frequency Meter Synchronous Driver 229 22. Graphic LCD Driver 234 22.1. Summary of the aPls Functional Features 234 22.2. Summary of Configuration Options 22.3. Driver Implementation Description. 234 C 2018 Microchip Technology Inc User Guide DS50002633B-page 4 ASFA API Reference Manual 22.4. Example of Usage 234 22.5. Dependencies 235 22.6. Defines.… 235 22.7 Functions 235 23. Graphics Processing Unit Driver (2D) 240 23.1. Summary of the API's Functional Features 240 23. 2. Summary of Configuration Options 240 23.3. Driver Implementation Description .240 23. 4. Example of Usage 240 23.5. Dependencies .241 23.6. Defines 241 237. Functions 24. Hash Algorithm Driver 246 24.1. SHA Synchronous Driver..... .246 25 Helper Drivers 253 25. 1. Atomic driver 25.2. 0 Driver 25.3. nit Driver 25. 4. Reset driver 25.5.S| eep Driver...…… .257 26,2C Drivers 259 26.1.2C Basics and best practice ““ 26.2. 12C Master Asynchronous Driver 26.3. 2C Master rtos driver 269 26. 4. 12C Master Synchronous Driver 277 26.5.12 C Slave Asynchronous Driver.…… .284 26.6. 12C Slave Synchronous Driver. 292 27.|2 S Controller Driver.……… 297 27.1. 12S Controller Synchronous Driver 297 28. MCI Drivers .301 28.1. MCI RTOS Driver 301 28.2. MCI Synchronous Driver 310 29. PAC Driver .318 29.1. Summary of the aPI's Functional Features 318 29.2. Summary of Configuration Options 29.3. Driver Implementation Description 318 29. 4. Example of Usage. 318 29.5. Dependencies 318 29.6. Functions 19 30 PWM Driver 321 C 2018 Microchip Technology Inc User Guide D$50002633B-page 5 ASFA API Reference Manual 30.1. PWm Basics and best practice .321 30.2. PWM asynchronous Driver 321 31 Position decoder driver 326 311. PDEc Basics and best practice .326 31.2. PDEC Asynchronous Dri 32. Quad SPl Drivers 333 32.1. Quad sPl Basics and best practice 333 32.2. Quad SPI DMA Driver 32.3. Quad SPI Synchronous Driver .337 33. RAND Driver 342 33.1. RAND Synchronous Driver .342 34.SP|Drⅳvers… ■■重重 347 34.1. SPI Basics and best practice .347 34.2. SPI Master Asynchronous Driver... .347 343. SPI Master dMA driver 357 34, 4.SPI Master RTos Driver 365 34.5. SPI Master Synchronous Driver 372 34.6. SPI Slave Asynchronous Driver 379 34.7. SPl Slave Synchronous Driver 388 35 Segment LCD Drivers 395 35.1. Segment LCD Synchronous Driver 395 36. Temperature Sensor Drivers 402 36.1. Temperature Sensor Asynchronous Driver 36.2. Temperature sensor synchronous driver 407 37 Timer driver 411 37.1. Timer basics and best practice 411 37.2. Summary of the APl's Functional Features 411 37.3. Summary of Configuration options 37. 4. Driver Implementation Description 411 37.5. Example of Usage…… 37.6. Dependencies........ 412 37.7. Structs .412 37. 8. Enums 413 37.9. Typedefs .413 37.10. Functions 413 38.∪ SART Drivers 1重 418 38.1. USART Basics and best practice .418 38. 2. USART Asynchronous Driver. 38.3. USART DMA Driver 429 38.4. USART RTOS Driver 437 C 2018 Microchip Technology Inc User Guide D$50002633B-page 6 ASFA API Reference Manual 38.5. USART Synchronous Driver. ∴446 39. USB Drivers 455 39.1. USB Driver Basics and Best Practice .455 392. USB Device driv∨er. 455 39.3. USB Host Driver 466 40. Utility Drivers 47 40.1. List 479 40.2. Ring Buffer. 483 40.3. Utility Macros .485 41. WDT Driver 488 41.1. Summary of the APls Functional Features 41. 2. Summary of Configuration Options 488 41.3. Driver Implementation Description 488 41. 4. Example of Usage 488 41.5. Dependencies..... 489 41.6. Structs 489 41.7 Functions 489 42. Revision History 493 The Microchip Web Site 494 Customer Change Notification Service 494 Customer Support 494 Microchip Devices Code Protection Feature.....................494 Legal notice 495 Trademarks 1重重重面面 495 Quality Management System Certified by dNV. 496 Worldwide sales and service 497 C 2018 Microchip Technology Inc User Guide DS50002633B-page 7 ASF4 API Reference Manual Advanced Software Framework Version 4(ASF4) 1. Advanced Software Framework Version 4(ASF4)Introduction and Context This chapter starts with an overview of the features and objectives of asf4. the context in the larger SW/ Tools ecosystem is defined, giving a relation between the ASF4, START, and the IDE. A high-level work- flow overview is presented and documentation resources are described to give insight into which references to use for what 1.1 Introduction to asF4 ASF4 is a collection of software components such as peripheral drivers middleware and software applications provided by Microchip. The framework supports the Microchip's SAM family of microcontrollers Unlike older versions of the software framework, version 4 is designed to work together with Atmel START Atmel START is a web-based user interface, which allows the users to configure code according to their needs. The configuration is input to START's code generator, resulting in an optimal code implementing exactly the functionality configured by the user. The generated C-code is exported from START and into the user's development environment of choice for modification and compilation The tight integration with Atmel START means that the asF4 code is more tailored to the users specification than before. For instance, instead of using c preprocessor conditional expressions to enable/disable code blocks, disabled code blocks can be entirely removed from the project source, which results in cleaner and easier to read code. the integration into Atmel start means that software configuration is done in a much more user-friendly environment and the only configuration information loaded on the device is the raw peripheral register content, which makes the firmware image much more compact Code generation results in smaller and faster code compared to previous versions of ASF ASF4 has many improvements compared to previous ASF versions Common set of software interfaces across different devices Smaller code size · Easier to use Common set of software interfaces across different devices ASF4 has a set of fully hardware-abstracted interfaces as a part of the core architecture. These interfaces are use-case driven and supports only a subset of the functionality offered by the hardware. One hardware module is typically supported by multiple interfaces, and START is used to select which nterfaces to be included in his project. Providing common interfaces that are completely abstracted from the hardware makes them easier to use in middleware and software stacks since it is not necessary to add architecture specific code Smaller code size Having StaRT generate the code exactly matching the required configuration reduces the code size according to drivers in previous versions of ASF. Full featured and generic drivers make it hard for the driver developer to make optimal decisions for often mutually exclusive design parameters, such as like high speed, low power, low code size, ease of use, and advanced feature support. Such drivers often miss the target in many applications because some of the parameters are wrongly tuned for the application in mind. However, limiting the scope of the driver to a specific use-case, ASF4 drivers are able to get the balance between these parameters right C 2018 Microchip Technology Inc User Guide D$50002633B-page 8 ASF4 API Reference Manual Advanced Software Framework Version 4(ASF4) Use-case drivers limit the driver functionality to the functionality required by the user, which usually is a subset of the full functionality provided by the peripheral. The use-cases can also tailor the driver to work in a specific environment such as Barebone synchronous, optimized to be used on the"bare metal"(os less application) RTOS asynchronous optimized to be used with an rtos See 1.5 ASFv4 vs ASFv3 Benchmark for more details on improved code efficiency Easier to use ASF4 is easy to use due to Graphical configuration of the system through Atmel START Use-case drivers offering only the functionality required by the user's application, reducing the configuration complexity compared to full-featured generic drivers. asf4 provides multiple use case drivers for each peripheral, each with a specific application target 1.2 ASF4: Atmel START Software Content and Ides This section gives an overview of ASF4 within the larger context of the SAM Tools ecosystem Getting Started Topics AVR sAM Tools: Intro Overview MICROCHIP In this video: Context in Microchip Tools Ecosystem 1E-Bit PICMO and dEPCE 32部 t PIC MCU 注Mc SAM MEI IDE, Compiler, MCU sw configurator tools Firmware libraries MPLAB Kores Di tOod Based START Software Content and iDEs How these pieces fit together uIPLAg XC C Compile ANGCCC ARM GCCC Camp lers Compilers START-based development STARTuser manual Getting Started projects in START Atmel studio 7 Microchip Lbrariesfor MOLAE 山 dancee setana Framework Bare-metal- VS START-based development Build from scratch(bare-metal) MPLAB XC PRO C Compiler Literes Getting Started Atmel Studio 7 Workbench Workbench 型MD Getting Started with AVR Tools Video: AVR and saM Tools ecosystem overview 1.2.1 Atme start Atmel START is a web-based software configuration tool for various software frameworks, which helps you get started with MCU development. Starting from either a new project or an example project, Atmel START allows you to select and configure software components( from asF4 and AVR Code), such as drivers and middleware to tailor your embedded application in a usable and optimized manner. Once an optimized software configuration is done, you can download the generated code project and open it in the C 2018 Microchip Technology Inc User Guide D$50002633B-page 9 ASF4 API Reference Manual Advanced Software Framework Version 4(ASF4) DE of your choice, including Studio 7, IAR Embedded Workbench, Keil uvision, or simply generate a makefile Atmel START enables you to Get help with selecting an MCU, based on both software and hardware requirements Find and develop examples for your board Configure drivers middleware and example projects Get help with setting up a valid PiNMUX layout Configure system clock settings Figure 1-1. Relation between START, Software Content, and IDEs Explore/Select CEEUTE NEW PGIEC 所wEEM START [9 CREATE NEW PROJECT 口 BROWSE EXAMPLES Configure Device Configure Software Content iC o ▲ beuna LOMPDNENT SETTN5 cerripewn mBr CLOCKS oam pnTaCmp A BrerA: ht UThen 4cY ndow Develop in IDE: IAR Embedded KEIL Workbench Toh钉A STMEL 5114 区 uVision4 0●A C 2018 Microchip Technology Inc User Guide DS50002633B-page10
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: SAMDA1系列应用手册
 输入关键字,在本站1000多万海量源码库中尽情搜索: