ChibiOS/HAL  7.0.3
hal_pal_lld.c
Go to the documentation of this file.
1 /*
2  ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
3 
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7 
8  http://www.apache.org/licenses/LICENSE-2.0
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 */
16 
17 /**
18  * @file hal_pal_lld.c
19  * @brief PLATFORM PAL subsystem low level driver source.
20  *
21  * @addtogroup PAL
22  * @{
23  */
24 
25 #include "hal.h"
26 
27 #if (HAL_USE_PAL == TRUE) || defined(__DOXYGEN__)
28 
29 /*===========================================================================*/
30 /* Driver local definitions. */
31 /*===========================================================================*/
32 
33 /*===========================================================================*/
34 /* Driver exported variables. */
35 /*===========================================================================*/
36 
37 /*===========================================================================*/
38 /* Driver local variables and types. */
39 /*===========================================================================*/
40 
41 /*===========================================================================*/
42 /* Driver local functions. */
43 /*===========================================================================*/
44 
45 /*===========================================================================*/
46 /* Driver interrupt handlers. */
47 /*===========================================================================*/
48 
49 /*===========================================================================*/
50 /* Driver exported functions. */
51 /*===========================================================================*/
52 
53 /**
54  * @brief STM32 I/O ports configuration.
55  *
56  * @notapi
57  */
58 void _pal_lld_init(void) {
59 
60 }
61 
62 /**
63  * @brief Pads mode setup.
64  * @details This function programs a pads group belonging to the same port
65  * with the specified mode.
66  *
67  * @param[in] port the port identifier
68  * @param[in] mask the group mask
69  * @param[in] mode the mode
70  *
71  * @notapi
72  */
74  ioportmask_t mask,
75  iomode_t mode) {
76 
77  (void)port;
78  (void)mask;
79  (void)mode;
80 
81 }
82 
83 #endif /* HAL_USE_PAL == TRUE */
84 
85 /** @} */
uint32_t ioportmask_t
Digital I/O port sized unsigned type.
Definition: hal_pal_lld.h:104
void _pal_lld_init(void)
STM32 I/O ports configuration.
Definition: hal_pal_lld.c:58
HAL subsystem header.
uint32_t ioportid_t
Port Identifier.
Definition: hal_pal_lld.h:122
void _pal_lld_setgroupmode(ioportid_t port, ioportmask_t mask, iomode_t mode)
Pads mode setup.
Definition: hal_pal_lld.c:73
uint32_t iomode_t
Digital I/O modes.
Definition: hal_pal_lld.h:109