mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
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:
@@ -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 .... ....
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user