ChibiOS/HAL  6.1.0
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  * @details Ports A-D(E, F, G, H) clocks enabled.
56  *
57  * @param[in] config the STM32 ports configuration
58  *
59  * @notapi
60  */
61 void _pal_lld_init(const PALConfig *config) {
62 
63  (void)config;
64 
65 }
66 
67 /**
68  * @brief Pads mode setup.
69  * @details This function programs a pads group belonging to the same port
70  * with the specified mode.
71  *
72  * @param[in] port the port identifier
73  * @param[in] mask the group mask
74  * @param[in] mode the mode
75  *
76  * @notapi
77  */
79  ioportmask_t mask,
80  iomode_t mode) {
81 
82  (void)port;
83  (void)mask;
84  (void)mode;
85 
86 }
87 
88 #endif /* HAL_USE_PAL == TRUE */
89 
90 /** @} */
uint32_t ioportmask_t
Digital I/O port sized unsigned type.
Definition: hal_pal_lld.h:100
void _pal_lld_init(const PALConfig *config)
STM32 I/O ports configuration.
Definition: hal_pal_lld.c:61
HAL subsystem header.
uint32_t ioportid_t
Port Identifier.
Definition: hal_pal_lld.h:118
void _pal_lld_setgroupmode(ioportid_t port, ioportmask_t mask, iomode_t mode)
Pads mode setup.
Definition: hal_pal_lld.c:78
uint32_t iomode_t
Digital I/O modes.
Definition: hal_pal_lld.h:105
Generic I/O ports static initializer.
Definition: hal_pal_lld.h:93