Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
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
Beam Positoning Monitor - Software
Commits
4aa1ad5b
Commit
4aa1ad5b
authored
May 09, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chips/isla216p_regs.h: add NAPSLEEP register defs
parent
520eb3b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
isla216p_regs.h
include/chips/isla216p_regs.h
+17
-0
No files found.
include/chips/isla216p_regs.h
View file @
4aa1ad5b
...
...
@@ -261,5 +261,22 @@
#define ISLA216P_TESTIO_OUTMODE_RES8 14
#define ISLA216P_TESTIO_OUTMODE_RES9 15
#define ISLA216P_REG_NAPSLP 0x25
/* Definition for register ISLA216P_REG_NAPSLP */
#define ISLA216P_NAPSLP_SIZE 3
#define ISLA216P_NAPSLP_SHIFT 0
#define ISLA216P_NAPSLP_MASK WBGEN2_GEN_MASK(ISLA216P_NAPSLP_SHIFT, \
ISLA216P_NAPSLP_SIZE)
#define ISLA216P_NAPSLP_W(value) WBGEN2_GEN_WRITE(value, ISLA216P_NAPSLP_SHIFT, \
ISLA216P_NAPSLP_SIZE)
#define ISLA216P_NAPSLP_R(reg) WBGEN2_GEN_READ(reg, ISLA216P_NAPSLP_SHIFT, \
ISLA216P_NAPSLP_SIZE)
#define ISLA216P_NAPSLP_PIN_CONTROL 0
#define ISLA216P_NAPSLP_NORMAL_OPERATION (1<<0)
#define ISLA216P_NAPSLP_NAP_MODE (1<<1)
#define ISLA216P_NAPSLP_SLEEP_MODE (1<<2)
#endif
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