Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OwnTech
Power API
Core
Commits
e6796dbe
Commit
e6796dbe
authored
Feb 18, 2022
by
Clément Foucher
Browse files
Update forgotten headers update in previous commits;
Update error codes.
parent
88eabcc9
Changes
9
Hide whitespace changes
Inline
Side-by-side
zephyr/modules/owntech_dac_driver/zephyr/public_include/dac.h
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,7 +18,9 @@
*/
/**
* @author Clément Foucher <clement.foucher@laas.fr>
* @date 2022
*
* @author Clément Foucher <clement.foucher@laas.fr>
*/
...
...
zephyr/modules/owntech_dac_driver/zephyr/src/owntech_dac_configure.c
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,7 +18,9 @@
*/
/**
* @author Clément Foucher <clement.foucher@laas.fr>
* @date 2022
*
* @author Clément Foucher <clement.foucher@laas.fr>
*/
...
...
zephyr/modules/owntech_dac_driver/zephyr/src/stm32_dac_driver.c
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,7 +18,9 @@
*/
/**
* @author Clément Foucher <clement.foucher@laas.fr>
* @date 2022
*
* @author Clément Foucher <clement.foucher@laas.fr>
*/
...
...
@@ -27,7 +29,6 @@
// STM32 LL
#include
<stm32_ll_dac.h>
#include
<stm32_ll_gpio.h>
#include
<stm32_ll_bus.h>
// Current file header
...
...
zephyr/modules/owntech_dac_driver/zephyr/src/stm32_dac_driver.h
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,7 +18,9 @@
*/
/**
* @author Clément Foucher <clement.foucher@laas.fr>
* @date 2022
*
* @author Clément Foucher <clement.foucher@laas.fr>
*/
#ifndef STM32_DAC_DRIVER_H_
...
...
zephyr/modules/owntech_data_acquisition/zephyr/adc/adc.c
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,6 +18,8 @@
*/
/**
* @date 2022
*
* @author Clément Foucher <clement.foucher@laas.fr>
*/
...
...
zephyr/modules/owntech_data_acquisition/zephyr/adc/adc.h
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,6 +18,8 @@
*/
/**
* @date 2022
*
* @author Clément Foucher <clement.foucher@laas.fr>
*
* @brief This is an ad-hoc ADC driver for OwnTech's
...
...
zephyr/modules/owntech_data_acquisition/zephyr/adc/adc_channels.c
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,10 +18,12 @@
*/
/**
* @
brief ADC driver for stm32g474re
* @
date 2022
*
* @author Hugues Larrive <hugues.larrive@laas.fr>
* @author Clément Foucher <clement.foucher@laas.fr>
* @author Hugues Larrive <hugues.larrive@laas.fr>
* @author Clément Foucher <clement.foucher@laas.fr>
*
* @brief ADC driver for stm32g474re
*/
...
...
zephyr/modules/owntech_data_acquisition/zephyr/adc/adc_channels.h
View file @
e6796dbe
/*
* Copyright (c) 2021 LAAS-CNRS
* Copyright (c) 2021
-2022
LAAS-CNRS
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -18,6 +18,8 @@
*/
/**
* @date 2022
*
* @author Clément Foucher <clement.foucher@laas.fr>
*
* @brief This file implements the channel management of the ADCs.
...
...
zephyr/modules/owntech_data_acquisition/zephyr/public_api/data_acquisition_error_codes.h
View file @
e6796dbe
...
...
@@ -30,10 +30,8 @@
#define NOERROR 0
#define ECHANNOTFOUND -1
#define EUNINITIALIZED -2
#define EALREADYSTARTED -3
#define EALREADYINIT -4
#define ECHANUNCONF -5
#define EALREADYSTARTED -2
#define ECHANUNCONF -3
#endif // DATAACQUISITONERRORCODES_H_
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment