mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
39 lines
758 B
C
39 lines
758 B
C
/*
|
|
* Copyright (C) 2022 SSV Software Systems GmbH
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup boards_xg23-pk6068a
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Board specific implementations for the xG23-PK6068A board
|
|
*
|
|
* @author Juergen Fitschen <me@jue.yt>
|
|
*
|
|
* @}
|
|
*/
|
|
|
|
#include "cpu.h"
|
|
#include "board.h"
|
|
#include "periph/gpio.h"
|
|
|
|
void board_init(void)
|
|
{
|
|
/* Enable VCOM iface */
|
|
gpio_init(VCOM_EN_PIN, GPIO_OUT);
|
|
gpio_set(VCOM_EN_PIN);
|
|
|
|
#ifndef RIOTBOOT
|
|
#ifdef MODULE_SI7021
|
|
/* Enable Si7021 sensor */
|
|
gpio_init(SI7021_EN_PIN, GPIO_OUT);
|
|
gpio_set(SI7021_EN_PIN);
|
|
#endif
|
|
#endif
|
|
}
|