Skip to content
Browse files

Merge pull request #381 from majenkotech/master

Added pull-up definitions to max32

Former-commit-id: 3c417f6
  • Loading branch information...
2 parents 2fd9b1d + c7e8438 commit fa2edf1a4919b5363446e365919183c6932ecc67 @EmbeddedMan EmbeddedMan committed Sep 15, 2013
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 */
/* ------------------------------------------------------------ */

0 comments on commit fa2edf1

Please sign in to comment.
Something went wrong with that request. Please try again.