hal_lld.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. /**
  14. * @file hal_lld.h
  15. * @brief PLATFORM HAL subsystem low level driver header.
  16. *
  17. * @addtogroup HAL
  18. * @{
  19. */
  20. #ifndef _HAL_LLD_H_
  21. #define _HAL_LLD_H_
  22. /*===========================================================================*/
  23. /* Driver constants. */
  24. /*===========================================================================*/
  25. /**
  26. * @name Platform identification macros
  27. * @{
  28. */
  29. #define PLATFORM_NAME "templates"
  30. /** @} */
  31. /*===========================================================================*/
  32. /* Driver pre-compile time settings. */
  33. /*===========================================================================*/
  34. /**
  35. * @name PLATFORM configuration options
  36. * @{
  37. */
  38. /** @} */
  39. /*===========================================================================*/
  40. /* Derived constants and error checks. */
  41. /*===========================================================================*/
  42. /*
  43. * Configuration-related checks.
  44. */
  45. #if !defined(PLATFORM_MCUCONF)
  46. #error "Using a wrong mcuconf.h file, PLATFORM_MCUCONF not defined"
  47. #endif
  48. /*===========================================================================*/
  49. /* Driver data structures and types. */
  50. /*===========================================================================*/
  51. /*===========================================================================*/
  52. /* Driver macros. */
  53. /*===========================================================================*/
  54. /*===========================================================================*/
  55. /* External declarations. */
  56. /*===========================================================================*/
  57. #ifdef __cplusplus
  58. extern "C" {
  59. #endif
  60. void hal_lld_init(void);
  61. #ifdef __cplusplus
  62. }
  63. #endif
  64. #endif /* _HAL_LLD_H_ */
  65. /** @} */