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:
patacongo 2010-10-12 04:06:53 +00:00
parent 9378196510
commit f5adff74ce

View File

@ -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 .... ....
*/