[KINETIS] Rename header guards in HAL.
This commit is contained in:
parent
51703da9df
commit
496e7f5e89
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _HAL_LLD_H_
|
#ifndef HAL_LLD_H_
|
||||||
#define _HAL_LLD_H_
|
#define HAL_LLD_H_
|
||||||
|
|
||||||
#include "kinetis_registry.h"
|
#include "kinetis_registry.h"
|
||||||
|
|
||||||
|
@ -297,6 +297,6 @@ extern "C" {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _HAL_LLD_H_ */
|
#endif /* HAL_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _PWM_LLD_H_
|
#ifndef HAL_PWM_LLD_H_
|
||||||
#define _PWM_LLD_H_
|
#define HAL_PWM_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_PWM || defined(__DOXYGEN__)
|
#if HAL_USE_PWM || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -265,6 +265,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_PWM */
|
#endif /* HAL_USE_PWM */
|
||||||
|
|
||||||
#endif /* _PWM_LLD_H_ */
|
#endif /* HAL_PWM_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SPI_LLD_H_
|
#ifndef HAL_SPI_LLD_H_
|
||||||
#define _SPI_LLD_H_
|
#define HAL_SPI_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_SPI || defined(__DOXYGEN__)
|
#if HAL_USE_SPI || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -256,6 +256,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_SPI */
|
#endif /* HAL_USE_SPI */
|
||||||
|
|
||||||
#endif /* _SPI_LLD_H_ */
|
#endif /* HAL_SPI_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _KINETIS_REGISTRY_H_
|
#ifndef KINETIS_REGISTRY_H_
|
||||||
#define _KINETIS_REGISTRY_H_
|
#define KINETIS_REGISTRY_H_
|
||||||
|
|
||||||
#if !defined(K20x) || defined(__DOXYGEN__)
|
#if !defined(K20x) || defined(__DOXYGEN__)
|
||||||
#define K20x
|
#define K20x
|
||||||
|
@ -253,6 +253,6 @@
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
#endif /* _KINETIS_REGISTRY_H_ */
|
#endif /* KINETIS_REGISTRY_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _HAL_LLD_H_
|
#ifndef HAL_LLD_H_
|
||||||
#define _HAL_LLD_H_
|
#define HAL_LLD_H_
|
||||||
|
|
||||||
#include "kl2xz.h"
|
#include "kl2xz.h"
|
||||||
#include "kinetis_registry.h"
|
#include "kinetis_registry.h"
|
||||||
|
@ -311,6 +311,6 @@ extern "C" {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _HAL_LLD_H_ */
|
#endif /* HAL_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _PWM_LLD_H_
|
#ifndef HAL_PWM_LLD_H_
|
||||||
#define _PWM_LLD_H_
|
#define HAL_PWM_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_PWM || defined(__DOXYGEN__)
|
#if HAL_USE_PWM || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -300,6 +300,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_PWM */
|
#endif /* HAL_USE_PWM */
|
||||||
|
|
||||||
#endif /* _PWM_LLD_H_ */
|
#endif /* HAL_PWM_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _KINETIS_REGISTRY_H_
|
#ifndef KINETIS_REGISTRY_H_
|
||||||
#define _KINETIS_REGISTRY_H_
|
#define KINETIS_REGISTRY_H_
|
||||||
|
|
||||||
#if !defined(KL2x) || defined(__DOXYGEN__)
|
#if !defined(KL2x) || defined(__DOXYGEN__)
|
||||||
#define KL2x
|
#define KL2x
|
||||||
|
@ -253,6 +253,6 @@
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
#endif /* _KINETIS_REGISTRY_H_ */
|
#endif /* KINETIS_REGISTRY_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ADC_LLD_H_
|
#ifndef HAL_ADC_LLD_H_
|
||||||
#define _ADC_LLD_H_
|
#define HAL_ADC_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_ADC || defined(__DOXYGEN__)
|
#if HAL_USE_ADC || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -355,6 +355,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_ADC */
|
#endif /* HAL_USE_ADC */
|
||||||
|
|
||||||
#endif /* _ADC_LLD_H_ */
|
#endif /* HAL_ADC_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _EXT_LLD_H_
|
#ifndef HAL_EXT_LLD_H_
|
||||||
#define _EXT_LLD_H_
|
#define HAL_EXT_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_EXT || defined(__DOXYGEN__)
|
#if HAL_USE_EXT || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -183,6 +183,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_EXT */
|
#endif /* HAL_USE_EXT */
|
||||||
|
|
||||||
#endif /* _EXT_LLD_H_ */
|
#endif /* HAL_EXT_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _GPT_LLD_H_
|
#ifndef HAL_GPT_LLD_H_
|
||||||
#define _GPT_LLD_H_
|
#define HAL_GPT_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_GPT || defined(__DOXYGEN__)
|
#if HAL_USE_GPT || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -328,6 +328,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_GPT */
|
#endif /* HAL_USE_GPT */
|
||||||
|
|
||||||
#endif /* _GPT_LLD_H_ */
|
#endif /* HAL_GPT_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _I2C_LLD_H_
|
#ifndef HAL_I2C_LLD_H_
|
||||||
#define _I2C_LLD_H_
|
#define HAL_I2C_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_I2C || defined(__DOXYGEN__)
|
#if HAL_USE_I2C || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -231,6 +231,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_I2C */
|
#endif /* HAL_USE_I2C */
|
||||||
|
|
||||||
#endif /* _I2C_LLD_H_ */
|
#endif /* HAL_I2C_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _PAL_LLD_H_
|
#ifndef HAL_PAL_LLD_H_
|
||||||
#define _PAL_LLD_H_
|
#define HAL_PAL_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_PAL || defined(__DOXYGEN__)
|
#if HAL_USE_PAL || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -381,6 +381,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_PAL */
|
#endif /* HAL_USE_PAL */
|
||||||
|
|
||||||
#endif /* _PAL_LLD_H_ */
|
#endif /* HAL_PAL_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SERIAL_LLD_H_
|
#ifndef HAL_SERIAL_LLD_H_
|
||||||
#define _SERIAL_LLD_H_
|
#define HAL_SERIAL_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_SERIAL || defined(__DOXYGEN__)
|
#if HAL_USE_SERIAL || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -215,6 +215,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_SERIAL */
|
#endif /* HAL_USE_SERIAL */
|
||||||
|
|
||||||
#endif /* _SERIAL_LLD_H_ */
|
#endif /* HAL_SERIAL_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ST_LLD_H_
|
#ifndef HAL_ST_LLD_H_
|
||||||
#define _ST_LLD_H_
|
#define HAL_ST_LLD_H_
|
||||||
|
|
||||||
#include "mcuconf.h"
|
#include "mcuconf.h"
|
||||||
|
|
||||||
|
@ -151,6 +151,6 @@ static inline bool st_lld_is_alarm_active(void) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _ST_LLD_H_ */
|
#endif /* HAL_ST_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _USB_LLD_H_
|
#ifndef HAL_USB_LLD_H_
|
||||||
#define _USB_LLD_H_
|
#define HAL_USB_LLD_H_
|
||||||
|
|
||||||
#if HAL_USE_USB || defined(__DOXYGEN__)
|
#if HAL_USE_USB || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -423,6 +423,6 @@ extern "C" {
|
||||||
|
|
||||||
#endif /* HAL_USE_USB */
|
#endif /* HAL_USE_USB */
|
||||||
|
|
||||||
#endif /* _USB_LLD_H_ */
|
#endif /* HAL_USB_LLD_H_ */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
Loading…
Reference in New Issue