same70: patch: Add missing USBHS macros
Add missing macros for the DEVCTRL register:
- USBHS_DEVCTRL_SPDCONF_HIGH_SPEED
- USBHS_DEVCTRL_SPDCONF_FORCED_FS
Signed-off-by: Gerson Fernando Budke nandojve@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
Introduction
The hal_atmel is a set of register definitions for Atmel SAM/SAM0 SoC’s. The HAL is organized following the directory structure detailed below.
Directory Structure
The directory is composed by six parts:
zephyr).How to submit code
Any contribution should follow the
How to submit codeusing as premisses the Zephyr Contribution Guidelines. For more information about External Modules see Modules Section in special Submitting Changes to ModulesRepository specific guidelines
find * type f -print0 | xargs -0 dos2unix -kshould be enough.asf/[sam|sam0]/include/<soc>/READMEfile should be updated accordingly. If for some reason the file not exists it should be created.hal_atmelinstead on the ZephyrRTOS project.The above are general guidelines and exceptions could happen. In this case, the exception should be addressed at review phase.
The standard API
The SAM/SAM0 standard API define all information to access Atmel SoC’s peripherals. This library does not have namespaces and prefixes which easily results in name collision with ZephyrRTOS core and libraries. To avoid that situation, macros, enum values and function names should follow two general rules:
sam_orsam0_.SAM_orSAM0_.