Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
f4grx
NuttX RTOS
Commits
504d6c42
Commit
504d6c42
authored
9 years ago
by
Alan Carvalho de Assis
Committed by
Gregory Nutt
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
SAML21" Fix small typo. It should be 2-Wire I2C instead of 1-Wire. From Alan Carvalho de Assis.
parent
67378ed6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/src/samdl/chip/saml_i2c_master.h
+1
-1
1 addition, 1 deletion
arch/arm/src/samdl/chip/saml_i2c_master.h
with
1 addition
and
1 deletion
arch/arm/src/samdl/chip/saml_i2c_master.h
+
1
−
1
View file @
504d6c42
...
...
@@ -153,7 +153,7 @@
# define I2C_CTRLA_MODE_MASTER (5 << I2C_CTRLA_MODE_SHIFT)
/* I2C master mode */
#define I2C_CTRLA_RUNSTDBY (1 << 7)
/* Bit 7: Run in standby */
#define I2C_CTRLA_PINOUT (1 << 16)
/* Bit 16: Transmit data pinout */
# define I2C_CTRLA_
1
WIRE (0)
/* 4-wire operation disable */
# define I2C_CTRLA_
2
WIRE (0)
/* 4-wire operation disable */
# define I2C_CTRLA_4WIRE I2C_CTRLA_PINOUT
/* 4-wire operation enable */
#define I2C_CTRLA_SDAHOLD_SHIFT (20)
/* Bits 20-21: SDA Hold Time */
#define I2C_CTRLA_SDAHOLD_MASK (3 << I2C_CTRLA_SDAHOLD_SHIFT)
...
...
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