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
fede8bba
Commit
fede8bba
authored
14 years ago
by
patacongo
Browse files
Options
Downloads
Patches
Plain Diff
typos
git-svn-id:
svn://svn.code.sf.net/p/nuttx/code/trunk@2748
42af7a65-404d-4744-a932-0658087f49c3
parent
2bfc4c66
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/src/lpc17xx/lpc17_spi.h
+10
-10
10 additions, 10 deletions
arch/arm/src/lpc17xx/lpc17_spi.h
with
10 additions
and
10 deletions
arch/arm/src/lpc17xx/lpc17_spi.h
+
10
−
10
View file @
fede8bba
...
...
@@ -80,16 +80,16 @@
#define SPI_CR_LSBF (1 << 6)
/* Bit 6: SPI data is transferred LSB first */
#define SPI_CR_SPIE (1 << 7)
/* Bit 7: Serial peripheral interrupt enable */
#define SPI_CR_BITS_SHIFT (8)
/* Bits 8-11: Number of bits per word (BITENABLE==1) */
#define SPI_CR_BITS_MASK (15 <<
BITS
SPI_CR_BITS_SHIFT)
# define SPI_CR_BITS_8BITS (8 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_9BITS (9 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_10BITS (10 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_11BITS (11 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_12BITS (12 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_13BITS (13 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_14BITS (14 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_15BITS (15 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
# define SPI_CR_BITS_16BITS (0 <<
BITS
SPI_CR_BITS_SHIFT)
/*
xx
bits per transfer */
#define SPI_CR_BITS_MASK (15 << SPI_CR_BITS_SHIFT)
# define SPI_CR_BITS_8BITS (8 <<
SPI_CR_BITS_SHIFT)
/*
8
bits per transfer */
# define SPI_CR_BITS_9BITS (9 <<
SPI_CR_BITS_SHIFT)
/*
9
bits per transfer */
# define SPI_CR_BITS_10BITS (10 << SPI_CR_BITS_SHIFT)
/*
10
bits per transfer */
# define SPI_CR_BITS_11BITS (11 << SPI_CR_BITS_SHIFT)
/*
11
bits per transfer */
# define SPI_CR_BITS_12BITS (12 << SPI_CR_BITS_SHIFT)
/*
12
bits per transfer */
# define SPI_CR_BITS_13BITS (13 << SPI_CR_BITS_SHIFT)
/*
13
bits per transfer */
# define SPI_CR_BITS_14BITS (14 << SPI_CR_BITS_SHIFT)
/*
14
bits per transfer */
# define SPI_CR_BITS_15BITS (15 << SPI_CR_BITS_SHIFT)
/*
15
bits per transfer */
# define SPI_CR_BITS_16BITS (0 <<
SPI_CR_BITS_SHIFT)
/*
16
bits per transfer */
/* Bits 12-31: Reserved */
/* SPI Status Register */
/* Bits 0-2: Reserved */
...
...
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