Loading...
Searching...
No Matches
tps6274x_params.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 HAW Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "board.h"
19#include "tps6274x.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#ifndef TPS6274X_PARAMS
30#define TPS6274X_PARAMS { .vsel = { GPIO_PIN(0, 0), \
31 GPIO_PIN(0, 1), \
32 GPIO_PIN(0, 2), \
33 GPIO_PIN(0, 3), \
34 }, \
35 .ctrl_pin = GPIO_PIN(0, 4) \
36 }
37#endif
39
44{
45 TPS6274X_PARAMS
46};
47
48#ifdef __cplusplus
49}
50#endif
51
TPS6274x Configuration struct.
Definition tps6274x.h:35
Device driver interface for the TPS6274x DC-DC Converter.
static const tps6274x_params_t tps6274x_params[]
Configure TPS6274X.