Add PMR0/1 definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3003 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9378196510
commit
f5adff74ce
@ -108,6 +108,9 @@
|
||||
# define GPIO_FUNCC (2 << GPIO_MUX_SHIFT) /* PMR0=0 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)
|
||||
* .... .... .... .... .... ...G .... ....
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user