hal_pal_lld.c 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_pal_lld.c
  15. * @brief PLATFORM PAL subsystem low level driver source.
  16. *
  17. * @addtogroup PAL
  18. * @{
  19. */
  20. #include "hal.h"
  21. #if (HAL_USE_PAL == TRUE) || defined(__DOXYGEN__)
  22. /*===========================================================================*/
  23. /* Driver local definitions. */
  24. /*===========================================================================*/
  25. /*===========================================================================*/
  26. /* Driver exported variables. */
  27. /*===========================================================================*/
  28. /*===========================================================================*/
  29. /* Driver local variables and types. */
  30. /*===========================================================================*/
  31. /*===========================================================================*/
  32. /* Driver local functions. */
  33. /*===========================================================================*/
  34. /*===========================================================================*/
  35. /* Driver interrupt handlers. */
  36. /*===========================================================================*/
  37. /*===========================================================================*/
  38. /* Driver exported functions. */
  39. /*===========================================================================*/
  40. /**
  41. * @brief STM32 I/O ports configuration.
  42. *
  43. * @notapi
  44. */
  45. void _pal_lld_init(void) {
  46. }
  47. /**
  48. * @brief Pads mode setup.
  49. * @details This function programs a pads group belonging to the same port
  50. * with the specified mode.
  51. *
  52. * @param[in] port the port identifier
  53. * @param[in] mask the group mask
  54. * @param[in] mode the mode
  55. *
  56. * @notapi
  57. */
  58. void _pal_lld_setgroupmode(ioportid_t port,
  59. ioportmask_t mask,
  60. iomode_t mode) {
  61. (void)port;
  62. (void)mask;
  63. (void)mode;
  64. }
  65. #endif /* HAL_USE_PAL == TRUE */
  66. /** @} */