Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolò Caruso
Skyward Boardcore
Commits
326beaa4
Commit
326beaa4
authored
2 years ago
by
EmilioCorigliano
Committed by
Alberto Nidasio
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[I2C] Removed already solved todo and fixed documentation
parent
b2a9d143
Branches
Branches containing commit
Tags
Tags containing commit
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/shared/drivers/i2c/I2CDriver.h
+3
-4
3 additions, 4 deletions
src/shared/drivers/i2c/I2CDriver.h
with
3 additions
and
4 deletions
src/shared/drivers/i2c/I2CDriver.h
+
3
−
4
View file @
326beaa4
...
@@ -44,7 +44,7 @@ namespace Boardcore
...
@@ -44,7 +44,7 @@ namespace Boardcore
*
*
* This is NOT a thread safe driver. The features supported are:
* This is NOT a thread safe driver. The features supported are:
* - Only Master logic;
* - Only Master logic;
* - Standard
/
Fast speed modes;
* - Standard
,
Fast
and Fast plus (if supported)
speed modes;
* - 7bit addressing;
* - 7bit addressing;
* - Exposes basic read or write methods with the option for the write method to
* - Exposes basic read or write methods with the option for the write method to
* not generate a STOP condition;
* not generate a STOP condition;
...
@@ -62,7 +62,6 @@ public:
...
@@ -62,7 +62,6 @@ public:
READ
=
1
READ
=
1
};
};
// [TODO] limit speed possibilities at compile time with ifdefs?
enum
Speed
:
uint8_t
enum
Speed
:
uint8_t
{
{
STANDARD
=
0
,
STANDARD
=
0
,
...
@@ -82,8 +81,8 @@ public:
...
@@ -82,8 +81,8 @@ public:
};
};
/**
/**
* @brief Error enums with a value that makes it possible to
or them and
* @brief Error enums with a value that makes it possible to
keep the
*
report more than one error at once
*
"or-red" value to store more errors.
*/
*/
enum
Errors
:
uint16_t
enum
Errors
:
uint16_t
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment