Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
adc-lib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
adc-lib
Commits
acbf2fce
Commit
acbf2fce
authored
Mar 18, 2022
by
Federico Vaga
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/v4.0.3'
parents
e260b717
b765bcf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
CHANGELOG.rst
CHANGELOG.rst
+10
-4
fmc-adc-100m14b4cha.c
lib/fmc-adc-100m14b4cha.c
+1
-1
No files found.
CHANGELOG.rst
View file @
acbf2fce
...
...
@@ -6,17 +6,23 @@
Changelog
=========
4.0.
2 - 2022-03-16
4.0.
3 - 2022-03-17
==================
Bugfix
Fixed
------
- improve conversion accuracy
4.0.2 - 2022-03-16
==================
Fixed
-----
- configuration values overwritten by the library
- offset not converted from raw to uV on read
4.0.1 - 2022-02-11
==================
Bugfix
-----
-
Fixed
-----
- zero offset convertion from microVolts to fmc-adc-100m raw values
4.0.0 - 2021-09-10
...
...
lib/fmc-adc-100m14b4cha.c
View file @
acbf2fce
...
...
@@ -493,7 +493,7 @@ static uint32_t __offset_raw_to_uv(uint32_t value_raw)
{
int32_t
value_raw_s
=
(
int32_t
)
value_raw
;
return
(
value_raw_s
*
(
ADC_100M14B4CHA_DAC_VREF_uV
/
0x8000LL
)
)
-
ADC_100M14B4CHA_DAC_VREF_uV
;
return
(
(
value_raw_s
*
ADC_100M14B4CHA_DAC_VREF_uV
)
/
0x8000LL
)
-
ADC_100M14B4CHA_DAC_VREF_uV
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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