summaryrefslogtreecommitdiff
path: root/chip/stm32/registers-stm32l.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/registers-stm32l.h')
-rw-r--r--chip/stm32/registers-stm32l.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/chip/stm32/registers-stm32l.h b/chip/stm32/registers-stm32l.h
index d4b59780b5..4dd7d24709 100644
--- a/chip/stm32/registers-stm32l.h
+++ b/chip/stm32/registers-stm32l.h
@@ -1,10 +1,20 @@
/* Copyright 2019 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
+ */
+
+/**
+ * @file
+ * @brief Register map for the STM32L family of chips
*
- * Register map for STM32 processor
+ * This header file should not be included directly.
+ * Please include registers.h instead.
*/
+#ifndef __CROS_EC_REGISTERS_H
+#error "This header file should not be included directly."
+#endif
+
/* --- IRQ numbers --- */
#define STM32_IRQ_WWDG 0
#define STM32_IRQ_PVD 1