module.c 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio.
  3. This file is part of ChibiOS.
  4. ChibiOS is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. ChibiOS is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. /**
  16. * @file chXxx.c
  17. * @brief XXX module code.
  18. *
  19. * @addtogroup XXX
  20. * @{
  21. */
  22. #include "ch.h"
  23. #if CH_CFG_USE_XXX || defined(__DOXYGEN__)
  24. /*===========================================================================*/
  25. /* Module local definitions. */
  26. /*===========================================================================*/
  27. /*===========================================================================*/
  28. /* Module exported variables. */
  29. /*===========================================================================*/
  30. /*===========================================================================*/
  31. /* Module local types. */
  32. /*===========================================================================*/
  33. /*===========================================================================*/
  34. /* Module local variables. */
  35. /*===========================================================================*/
  36. /*===========================================================================*/
  37. /* Module local functions. */
  38. /*===========================================================================*/
  39. /*===========================================================================*/
  40. /* Module exported functions. */
  41. /*===========================================================================*/
  42. /**
  43. * @brief XXX Module initialization.
  44. * @note This function is implicitly invoked on system initialization,
  45. * there is no need to explicitly initialize the module.
  46. *
  47. * @notapi
  48. */
  49. void _xxx_init(void) {
  50. }
  51. /**
  52. * @brief Initializes a @p xxx_t object.
  53. *
  54. * @param[out] xxxp pointer to the @p xxx_t object
  55. *
  56. * @init
  57. */
  58. void chXxxObjectInit(xxx_t *xxxp) {
  59. }
  60. #endif /* CH_CFG_USE_XXX */
  61. /** @} */