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
9#pragma once
10
20
21#include "board.h"
22#include "tps6274x.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
32#ifndef TPS6274X_PARAMS
33#define TPS6274X_PARAMS { .vsel = { GPIO_PIN(0, 0), \
34 GPIO_PIN(0, 1), \
35 GPIO_PIN(0, 2), \
36 GPIO_PIN(0, 3), \
37 }, \
38 .ctrl_pin = GPIO_PIN(0, 4) \
39 }
40#endif
42
47{
48 TPS6274X_PARAMS
49};
50
51#ifdef __cplusplus
52}
53#endif
54
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.