Skip to content
Snippets Groups Projects
Commit 120c6de8 authored by patacongo's avatar patacongo
Browse files

Add PMR0/1 definitions

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3003 42af7a65-404d-4744-a932-0658087f49c3
parent 0582c4f8
No related branches found
No related tags found
No related merge requests found
...@@ -108,6 +108,9 @@ ...@@ -108,6 +108,9 @@
# define GPIO_FUNCC (2 << GPIO_MUX_SHIFT) /* PMR0=0 PMR1=1 */ # define GPIO_FUNCC (2 << GPIO_MUX_SHIFT) /* PMR0=0 PMR1=1 */
# define GPIO_FUNCD (3 << GPIO_MUX_SHIFT) /* PMR0=1 PMR1=1 */ # define GPIO_FUNCD (3 << GPIO_MUX_SHIFT) /* PMR0=1 PMR1=1 */
# define GPIO_PMR0 (1 << GPIO_MUX_SHIFT)
# define GPIO_PMR1 (2 << GPIO_MUX_SHIFT)
/* GPIO Enable (1) or Peripheral Enable (0) /* GPIO Enable (1) or Peripheral Enable (0)
* .... .... .... .... .... ...G .... .... * .... .... .... .... .... ...G .... ....
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment