Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
26
extern
"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
42
47
static
const
tps6274x_params_t
tps6274x_params
[] =
48
{
49
TPS6274X_PARAMS
50
};
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
/* TPS6274X_PARAMS_H */
57
tps6274x.h
Device driver interface for the TPS6274x DC-DC Converter.
tps6274x_params
static const tps6274x_params_t tps6274x_params[]
Configure TPS6274X.
Definition:
tps6274x_params.h:47
tps6274x_params_t
TPS6274x Configuration struct.
Definition:
tps6274x.h:36
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17