Loading...
Searching...
No Matches
tps6274x_params.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 HAW Hamburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef TPS6274X_PARAMS_H
20#define TPS6274X_PARAMS_H
21
22#include "board.h"
23#include "tps6274x.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
33#ifndef TPS6274X_PARAMS
34#define TPS6274X_PARAMS { .vsel = { GPIO_PIN(0, 0), \
35 GPIO_PIN(0, 1), \
36 GPIO_PIN(0, 2), \
37 GPIO_PIN(0, 3), \
38 }, \
39 .ctrl_pin = GPIO_PIN(0, 4) \
40 }
41#endif
48{
49 TPS6274X_PARAMS
50};
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* TPS6274X_PARAMS_H */
TPS6274x Configuration struct.
Definition tps6274x.h:36
Device driver interface for the TPS6274x DC-DC Converter.
static const tps6274x_params_t tps6274x_params[]
Configure TPS6274X.