Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #381 from majenkotech/master

Added pull-up definitions to max32
  • Loading branch information...
commit 3c417f60fb2001b9b4cca4d80ab6b4074792213d 2 parents 1f1d709 + 941d388
@EmbeddedMan EmbeddedMan authored
Showing with 91 additions and 0 deletions.
  1. +91 −0 hardware/pic32/variants/Max32/Board_Data.c
View
91 hardware/pic32/variants/Max32/Board_Data.c
@@ -400,6 +400,97 @@ const uint16_t digital_pin_to_timer_PGM[] = {
NOT_ON_TIMER, // 86 RC1 T2CK/RC1
};
+const uint32_t digital_pin_to_cn_PGM[] =
+{
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(0),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(13),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(18),
+ _BV(17),
+ _BV(21),
+ _BV(20),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(9),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(14),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(10),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(15),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(8),
+ _BV(11),
+ _BV(2),
+ _BV(3),
+ _BV(4),
+ _BV(5),
+ _BV(6),
+ _BV(7),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(12),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ _BV(1),
+ _BV(19),
+ _BV(77),
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+ NOT_CN_PIN,
+};
+
/* ------------------------------------------------------------ */
/* Include Files for Board Customization Functions */
/* ------------------------------------------------------------ */
Please sign in to comment.
Something went wrong with that request. Please try again.