zephyr/soc/arm/silabs_exx32/common/soc_gpio.c
Anas Nashif 70d819b405 arm: soc: move arm SoCs to top-dir
Move the SoC outside of the architecture tree and put them at the same
level as boards and architectures allowing both SoCs and boards to be
maintained outside the tree.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-09-13 00:56:48 -04:00

17 lines
337 B
C

/*
* Copyright (c) 2017 Christian Taedcke
* SPDX-License-Identifier: Apache-2.0
*/
/** @file
* @brief Silabs EXX32 MCU family General Purpose Input Output (GPIO)
* module HAL driver.
*/
#include "soc_gpio.h"
void soc_gpio_configure(const struct soc_gpio_pin *pin)
{
GPIO_PinModeSet(pin->port, pin->pin, pin->mode, pin->out);
}