116 #ifndef BSP430_PERIPH_PORT_H
117 #define BSP430_PERIPH_PORT_H
127 #define BSP430_MODULE_PORT (defined(__MSP430_HAS_PORT1__) \
128 || defined(__MSP430_HAS_PORT1_R__))
130 #if defined(BSP430_DOXYGEN) || (BSP430_MODULE_PORT - 0)
198 #if defined(__MSP430_HAS_PORT1_R__)
199 #define BSP430_PORT_SUPPORTS_REN 1
201 #define BSP430_PORT_SUPPORTS_REN 0
208 #define BSP430_PORT_REN_HIGH_Z -1
213 #define BSP430_PORT_REN_PULL_DOWN 0
218 #define BSP430_PORT_REN_PULL_UP 1
244 #if defined(BSP430_DOXYGEN) || (BSP430_PORT_SUPPORTS_REN - 0)
245 #define BSP430_PORT_HAL_SET_REN(hal_, bit_, rv_) do { \
246 if ((BSP430_PORT_REN_PULL_UP == (rv_)) \
247 || (BSP430_PORT_REN_PULL_DOWN == (rv_))) { \
248 if (BSP430_PORT_REN_PULL_UP == (rv_)) { \
249 BSP430_PORT_HAL_HPL_OUT(hal_) |= (bit_); \
251 BSP430_PORT_HAL_HPL_OUT(hal_) &= ~(bit_); \
253 BSP430_PORT_HAL_HPL_REN(hal_) |= (bit_); \
255 BSP430_PORT_HAL_HPL_REN(hal_) &= ~(bit_); \
259 #define BSP430_PORT_HAL_SET_REN(hal_, bit_, rv_) do { } while (0)
287 #if defined(BSP430_DOXYGEN) || (BSP430_PORT_SUPPORTS_REN - 0)
288 #define BSP430_PORT_HPL_SET_REN(hpl_, bit_, rv_) do { \
289 if ((BSP430_PORT_REN_PULL_UP == (rv_)) \
290 || (BSP430_PORT_REN_PULL_DOWN == (rv_))) { \
291 if (BSP430_PORT_REN_PULL_UP == (rv_)) { \
292 (hpl_)->out |= (bit_); \
294 (hpl_)->out &= ~(bit_); \
296 (hpl_)->ren |= (bit_); \
298 (hpl_)->ren &= ~(bit_); \
302 #define BSP430_PORT_HPL_SET_REN(hal_, bit_, rv_) do { } while (0)
314 #if defined(BSP430_DOXYGEN) || ! defined(BSP430_PORT_SUPPORTS_SEL2_2XX)
315 #define BSP430_PORT_SUPPORTS_SEL2_2XX ((! (BSP430_CORE_FAMILY_IS_5XX - 0)) \
316 && (defined(P1SEL2_) || defined(P1SEL)) \
317 && (defined(P2SEL2_) || defined(P2SEL2)))
329 #if defined(BSP430_DOXYGEN) || ! defined(BSP430_PORT_SUPPORTS_SEL2_47XX)
330 #define BSP430_PORT_SUPPORTS_SEL2_47XX ((! (BSP430_CORE_FAMILY_IS_5XX - 0)) \
331 && (defined(P1SEL2_) || defined(P1SEL2)) \
332 && ! (defined(P2SEL2_) || defined(P2SEL2)))
344 #if defined(BSP430_DOXYGEN) || ! defined(BSP430_PORT_SUPPORTS_SEL2_5XX)
345 #define BSP430_PORT_SUPPORTS_SEL2_5XX ((BSP430_CORE_FAMILY_IS_5XX - 0) \
346 && (defined(PASEL0_) || defined(PASEL0)) \
347 && ! (defined(PASELC_) || defined(PASELC)))
358 #if defined(BSP430_DOXYGEN) || ! defined(BSP430_PORT_SUPPORTS_SEL2C_5XX)
359 #define BSP430_PORT_SUPPORTS_SEL2C_5XX ((BSP430_CORE_FAMILY_IS_5XX - 0) \
360 && (defined(PASEL0_) || defined(PASEL0)) \
361 && (defined(PASELC_) || defined(PASELC)))
366 #define BSP430_PORT_SUPPORTS_SEL2 ((BSP430_PORT_SUPPORTS_SEL2_2XX - 0) \
367 || (BSP430_PORT_SUPPORTS_SEL2_47XX - 0) \
368 || (BSP430_PORT_SUPPORTS_SEL2_5XX - 0) \
369 || (BSP430_PORT_SUPPORTS_SEL2C_5XX - 0))
436 #if (BSP430_PORT_SUPPORTS_SEL2_2XX - 0)
437 #define BSP430_PORT_HPL_SET_SEL(hpl_, bit_, sel_) do { \
438 if (0x01 & (sel_)) { \
439 (hpl_)->sel |= (bit_); \
441 (hpl_)->sel &= ~(bit_); \
444 #define BSP430_PORT_HAL_SET_SEL(hal_, bit_, sel_) do { \
445 if (0x01 & (sel_)) { \
446 BSP430_PORT_HAL_HPL_SEL(hal_) |= (bit_); \
448 BSP430_PORT_HAL_HPL_SEL(hal_) &= ~(bit_); \
450 if (0x02 & (sel_)) { \
451 *(hal_)->sel2p |= (bit_); \
453 *(hal_)->sel2p &= ~(bit_); \
457 #elif (BSP430_PORT_SUPPORTS_SEL2_5XX - 0) || defined(BSP430_DOXYGEN)
458 #define BSP430_PORT_HPL_SET_SEL(hpl_, bit_, sel_) do { \
459 if (0x01 & (sel_)) { \
460 (hpl_)->sel |= (bit_); \
462 (hpl_)->sel &= ~(bit_); \
464 if (0x02 & (sel_)) { \
465 (hpl_)->sel1 |= (bit_); \
467 (hpl_)->sel1 &= ~(bit_); \
470 #define BSP430_PORT_HAL_SET_SEL(hal_, bit_, sel_) BSP430_PORT_HPL_SET_SEL((hal_)->hpl.port_5xx_8, bit_, sel_)
471 #elif (BSP430_PORT_SUPPORTS_SEL2C_5XX - 0)
474 #define BSP430_PORT_HPL_SET_SEL(hpl_, bit_, sel_) do { \
475 unsigned char cs = (((!!((bit_) & (hpl_)->sel1) != !!(0x02 & (sel_))) << 1) \
476 | (!!((bit_) & (hpl_)->sel0) != !!(0x01 & (sel_)))); \
478 (hpl_)->selc |= (bit_); \
480 if (0x01 & (sel_)) { \
481 (hpl_)->sel0 |= (bit_); \
483 (hpl_)->sel0 &= ~(bit_); \
485 if (0x02 & (sel_)) { \
486 (hpl_)->sel1 |= (bit_); \
488 (hpl_)->sel1 &= ~(bit_); \
492 #define BSP430_PORT_HAL_SET_SEL(hal_, bit_, sel_) BSP430_PORT_HPL_SET_SEL((hal_)->hpl.port_5xx_8, bit_, sel_)
494 #define BSP430_PORT_HPL_SET_SEL(hpl_, bit_, sel_) do { \
495 if (0x01 & (sel_)) { \
496 (hpl_)->sel |= (bit_); \
498 (hpl_)->sel &= ~(bit_); \
501 #define BSP430_PORT_HAL_SET_SEL(hal_, bit_, sel_) do { \
502 if (0x01 & (sel_)) { \
503 BSP430_PORT_HAL_HPL_SEL(hal_) |= (bit_); \
505 BSP430_PORT_HAL_HPL_SEL(hal_) &= ~(bit_); \
570 unsigned int _reserved_x0E;
571 unsigned int _reserved_x10;
572 unsigned int _reserved_x12;
573 unsigned int _reserved_x14;
587 unsigned char _reserved_x01;
589 unsigned char _reserved_x03;
591 unsigned char _reserved_x05;
593 unsigned char _reserved_x07;
595 unsigned char _reserved_x09;
596 union __attribute__((__packed__))
601 unsigned char _reserved_x0B;
603 unsigned char _reserved_x0D;
604 unsigned char _reserved_x0E;
605 unsigned char _reserved_x0F;
606 unsigned char _reserved_x10;
607 unsigned char _reserved_x11;
608 unsigned char _reserved_x12;
609 unsigned char _reserved_x13;
610 unsigned char _reserved_x14;
611 unsigned char _reserved_x15;
613 unsigned char _reserved_x17;
615 unsigned char _reserved_x19;
617 unsigned char _reserved_x1B;
624 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
633 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
642 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
657 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
659 #define BSP430_PERIPH_PORTA_BASEADDRESS_ __MSP430_BASEADDRESS_PORTA_R__
660 #define BSP430_PERIPH_PORTB_BASEADDRESS_ __MSP430_BASEADDRESS_PORTB_R__
661 #define BSP430_PERIPH_PORTC_BASEADDRESS_ __MSP430_BASEADDRESS_PORTC_R__
662 #define BSP430_PERIPH_PORTD_BASEADDRESS_ __MSP430_BASEADDRESS_PORTD_R__
663 #define BSP430_PERIPH_PORTE_BASEADDRESS_ __MSP430_BASEADDRESS_PORTE_R__
664 #define BSP430_PERIPH_PORTF_BASEADDRESS_ __MSP430_BASEADDRESS_PORTF_R__
668 #define BSP430_PERIPH_PORT1_BASEADDRESS_ __MSP430_BASEADDRESS_PORTA_R__
669 #define BSP430_PERIPH_PORT2_BASEADDRESS_ (1+__MSP430_BASEADDRESS_PORTA_R__)
670 #define BSP430_PERIPH_PORT3_BASEADDRESS_ __MSP430_BASEADDRESS_PORTB_R__
671 #define BSP430_PERIPH_PORT4_BASEADDRESS_ (1+__MSP430_BASEADDRESS_PORTB_R__)
672 #define BSP430_PERIPH_PORT5_BASEADDRESS_ __MSP430_BASEADDRESS_PORTC_R__
673 #define BSP430_PERIPH_PORT6_BASEADDRESS_ (1+__MSP430_BASEADDRESS_PORTC_R__)
674 #define BSP430_PERIPH_PORT7_BASEADDRESS_ __MSP430_BASEADDRESS_PORTD_R__
675 #define BSP430_PERIPH_PORT8_BASEADDRESS_ (1+__MSP430_BASEADDRESS_PORTD_R__)
676 #define BSP430_PERIPH_PORT9_BASEADDRESS_ __MSP430_BASEADDRESS_PORTE_R__
677 #define BSP430_PERIPH_PORT10_BASEADDRESS_ (1+__MSP430_BASEADDRESS_PORTE_R__)
678 #define BSP430_PERIPH_PORT11_BASEADDRESS_ __MSP430_BASEADDRESS_PORTF_R__
680 #define BSP430_PERIPH_PORTJ_BASEADDRESS_ __MSP430_BASEADDRESS_PORTJ_R__
684 #define BSP430_PERIPH_PORT1_BASEADDRESS_ 0x0020
685 #define BSP430_PERIPH_PORT2_BASEADDRESS_ 0x0028
686 #define BSP430_PERIPH_PORT3_BASEADDRESS_ 0x0018
687 #define BSP430_PERIPH_PORT4_BASEADDRESS_ 0x001C
688 #define BSP430_PERIPH_PORT5_BASEADDRESS_ 0x0030
689 #define BSP430_PERIPH_PORT6_BASEADDRESS_ 0x0034
691 #define BSP430_PERIPH_PORTA_BASEADDRESS_ 0x0038
692 #define BSP430_PERIPH_PORT7_BASEADDRESS_ 0x0038
693 #define BSP430_PERIPH_PORT8_BASEADDRESS_ 0x0039
695 #define BSP430_PERIPH_PORTB_BASEADDRESS_ 0x0008
696 #define BSP430_PERIPH_PORT9_BASEADDRESS_ 0x0008
697 #define BSP430_PERIPH_PORT10_BASEADDRESS_ 0x0009
705 #define BSP430_PORT_HAL_HPL_VARIANT_PORT_IE_8 1
709 #define BSP430_PORT_HAL_HPL_VARIANT_PORT_8 2
713 #define BSP430_PORT_HAL_HPL_VARIANT_PORT_16 3
717 #define BSP430_PORT_HAL_HPL_VARIANT_PORT_5XX_8 4
721 #define BSP430_PORT_HAL_HPL_VARIANT_PORT_5XX_16 5
729 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
730 #define BSP430_PORT_HAL_HPL_VARIANT_PORTIE BSP430_PORT_HAL_HPL_VARIANT_PORT_5XX_8
732 #define BSP430_PORT_HAL_HPL_VARIANT_PORTIE BSP430_PORT_HAL_HPL_VARIANT_PORT_IE_8
741 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
742 #define BSP430_PORT_HAL_HPL_VARIANT_PORT BSP430_PORT_HAL_HPL_VARIANT_PORT_5XX_8
744 #define BSP430_PORT_HAL_HPL_VARIANT_PORT BSP430_PORT_HAL_HPL_VARIANT_PORT_8
752 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
753 #define BSP430_PORT_HAL_HPL_VARIANT_PORTW BSP430_PORT_HAL_HPL_VARIANT_PORT_5XX_16
755 #define BSP430_PORT_HAL_HPL_VARIANT_PORTW BSP430_PORT_HAL_HPL_VARIANT_PORT_16
762 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_IE_8(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORT_IE_8 == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
767 #define BSP430_PORT_HAL_GET_HPL_PORT_IE_8(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_IE_8(hal_)) ? (hal_)->hpl.port_ie_8 : (void *)0)
770 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_8(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORT_8 == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
775 #define BSP430_PORT_HAL_GET_HPL_PORT_8(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_8(hal_)) ? (hal_)->hpl.port_8 : (void *)0)
778 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_16(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORT_16 == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
783 #define BSP430_PORT_HAL_GET_HPL_PORT_16(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_16(hal_)) ? (hal_)->hpl.port_16 : (void *)0)
786 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_5XX_8(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORT_5XX_8 == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
791 #define BSP430_PORT_HAL_GET_HPL_PORT_5XX_8(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_5XX_8(hal_)) ? (hal_)->hpl.port_5xx_8 : (void *)0)
794 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_5XX_16(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORT_5XX_16 == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
799 #define BSP430_PORT_HAL_GET_HPL_PORT_5XX_16(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORT_5XX_16(hal_)) ? (hal_)->hpl.port_5xx_16 : (void *)0)
802 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORT(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORT == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
807 #define BSP430_PORT_HAL_GET_HPL_PORT(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORT(hal_)) ? (hal_)->hpl.port : (void *)0)
810 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORTIE(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORTIE == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
815 #define BSP430_PORT_HAL_GET_HPL_PORTIE(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORTIE(hal_)) ? (hal_)->hpl.portie : (void *)0)
818 #define BSP430_PORT_HAL_HPL_VARIANT_IS_PORTW(hal_) (BSP430_PORT_HAL_HPL_VARIANT_PORTW == BSP430_PERIPH_HAL_STATE_CFLAGS_VARIANT(hal_))
823 #define BSP430_PORT_HAL_GET_HPL_PORTW(hal_) ((BSP430_PORT_HAL_HPL_VARIANT_IS_PORTW(hal_)) ? (hal_)->hpl.portw : (void *)0)
834 #define BSP430_PORT_HAL_GET_PERIPH_HANDLE(hal_) xBSP430periphFromHPL((hal_)->hpl.any)
872 #if defined(BSP430_DOXYGEN) || ((BSP430_PORT_SUPPORTS_REN - 0) && ! (BSP430_CORE_FAMILY_IS_5XX - 0))
880 volatile unsigned char *
const renp;
882 #if defined(BSP430_DOXYGEN) || (BSP430_PORT_SUPPORTS_SEL2_2XX - 0)
890 volatile unsigned char *
const sel2p;
898 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
899 #define BSP430_PORT_HAL_HPL_IN(hal_) ((hal_)->hpl.portie->in)
901 #define BSP430_PORT_HAL_HPL_IN(hal_) (*(BSP430_PORT_HAL_HPL_VARIANT_IS_PORTIE(hal_) ? &BSP430_PORT_HAL_GET_HPL_PORTIE(hal_)->in : &BSP430_PORT_HAL_GET_HPL_PORT(hal_)->in))
904 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
905 #define BSP430_PORT_HAL_HPL_OUT(hal_) ((hal_)->hpl.portie->out)
907 #define BSP430_PORT_HAL_HPL_OUT(hal_) (*(BSP430_PORT_HAL_HPL_VARIANT_IS_PORTIE(hal_) ? &BSP430_PORT_HAL_GET_HPL_PORTIE(hal_)->out : &BSP430_PORT_HAL_GET_HPL_PORT(hal_)->out))
910 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
911 #define BSP430_PORT_HAL_HPL_DIR(hal_) ((hal_)->hpl.portie->dir)
913 #define BSP430_PORT_HAL_HPL_DIR(hal_) (*(BSP430_PORT_HAL_HPL_VARIANT_IS_PORTIE(hal_) ? &BSP430_PORT_HAL_GET_HPL_PORTIE(hal_)->dir : &BSP430_PORT_HAL_GET_HPL_PORT(hal_)->dir))
916 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
917 #define BSP430_PORT_HAL_HPL_SEL(hal_) ((hal_)->hpl.portie->sel)
919 #define BSP430_PORT_HAL_HPL_SEL(hal_) (*(BSP430_PORT_HAL_HPL_VARIANT_IS_PORTIE(hal_) ? &BSP430_PORT_HAL_GET_HPL_PORTIE(hal_)->sel : &BSP430_PORT_HAL_GET_HPL_PORT(hal_)->sel))
924 #if defined(BSP430_DOXYGEN) || (BSP430_PORT_SUPPORTS_REN - 0)
925 #if (BSP430_CORE_FAMILY_IS_5XX - 0)
926 #define BSP430_PORT_HAL_HPL_REN(hal_) ((hal_)->hpl.portie->ren)
928 #define BSP430_PORT_HAL_HPL_REN(hal_) (*(hal_)->renp)
950 #ifndef configBSP430_HAL_PORT1
951 #define configBSP430_HAL_PORT1 0
955 #if (configBSP430_HAL_PORT1 - 0)
967 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT1 - 0)
968 #define BSP430_HAL_PORT1 (&xBSP430hal_PORT1_)
987 #ifndef configBSP430_HAL_PORT2
988 #define configBSP430_HAL_PORT2 0
992 #if (configBSP430_HAL_PORT2 - 0)
1004 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT2 - 0)
1005 #define BSP430_HAL_PORT2 (&xBSP430hal_PORT2_)
1024 #ifndef configBSP430_HAL_PORT3
1025 #define configBSP430_HAL_PORT3 0
1029 #if (configBSP430_HAL_PORT3 - 0)
1041 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT3 - 0)
1042 #define BSP430_HAL_PORT3 (&xBSP430hal_PORT3_)
1061 #ifndef configBSP430_HAL_PORT4
1062 #define configBSP430_HAL_PORT4 0
1066 #if (configBSP430_HAL_PORT4 - 0)
1078 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT4 - 0)
1079 #define BSP430_HAL_PORT4 (&xBSP430hal_PORT4_)
1098 #ifndef configBSP430_HAL_PORT5
1099 #define configBSP430_HAL_PORT5 0
1103 #if (configBSP430_HAL_PORT5 - 0)
1115 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT5 - 0)
1116 #define BSP430_HAL_PORT5 (&xBSP430hal_PORT5_)
1135 #ifndef configBSP430_HAL_PORT6
1136 #define configBSP430_HAL_PORT6 0
1140 #if (configBSP430_HAL_PORT6 - 0)
1152 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT6 - 0)
1153 #define BSP430_HAL_PORT6 (&xBSP430hal_PORT6_)
1172 #ifndef configBSP430_HAL_PORT7
1173 #define configBSP430_HAL_PORT7 0
1177 #if (configBSP430_HAL_PORT7 - 0)
1189 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT7 - 0)
1190 #define BSP430_HAL_PORT7 (&xBSP430hal_PORT7_)
1209 #ifndef configBSP430_HAL_PORT8
1210 #define configBSP430_HAL_PORT8 0
1214 #if (configBSP430_HAL_PORT8 - 0)
1226 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT8 - 0)
1227 #define BSP430_HAL_PORT8 (&xBSP430hal_PORT8_)
1246 #ifndef configBSP430_HAL_PORT9
1247 #define configBSP430_HAL_PORT9 0
1251 #if (configBSP430_HAL_PORT9 - 0)
1263 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT9 - 0)
1264 #define BSP430_HAL_PORT9 (&xBSP430hal_PORT9_)
1283 #ifndef configBSP430_HAL_PORT10
1284 #define configBSP430_HAL_PORT10 0
1288 #if (configBSP430_HAL_PORT10 - 0)
1300 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT10 - 0)
1301 #define BSP430_HAL_PORT10 (&xBSP430hal_PORT10_)
1320 #ifndef configBSP430_HAL_PORT11
1321 #define configBSP430_HAL_PORT11 0
1325 #if (configBSP430_HAL_PORT11 - 0)
1337 #if defined(BSP430_DOXYGEN) || (configBSP430_HAL_PORT11 - 0)
1338 #define BSP430_HAL_PORT11 (&xBSP430hal_PORT11_)
1361 #ifndef configBSP430_HPL_PORT1
1362 #define configBSP430_HPL_PORT1 (configBSP430_HAL_PORT1 - 0)
1365 #if (configBSP430_HAL_PORT1 - 0) && ! (configBSP430_HPL_PORT1 - 0)
1366 #warning configBSP430_HAL_PORT1 requested without configBSP430_HPL_PORT1
1375 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT1 - 0)
1376 #define BSP430_PERIPH_PORT1 ((tBSP430periphHandle)(BSP430_PERIPH_PORT1_BASEADDRESS_))
1394 #ifndef configBSP430_HPL_PORT2
1395 #define configBSP430_HPL_PORT2 (configBSP430_HAL_PORT2 - 0)
1398 #if (configBSP430_HAL_PORT2 - 0) && ! (configBSP430_HPL_PORT2 - 0)
1399 #warning configBSP430_HAL_PORT2 requested without configBSP430_HPL_PORT2
1408 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT2 - 0)
1409 #define BSP430_PERIPH_PORT2 ((tBSP430periphHandle)(BSP430_PERIPH_PORT2_BASEADDRESS_))
1427 #ifndef configBSP430_HPL_PORT3
1428 #define configBSP430_HPL_PORT3 (configBSP430_HAL_PORT3 - 0)
1431 #if (configBSP430_HAL_PORT3 - 0) && ! (configBSP430_HPL_PORT3 - 0)
1432 #warning configBSP430_HAL_PORT3 requested without configBSP430_HPL_PORT3
1441 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT3 - 0)
1442 #define BSP430_PERIPH_PORT3 ((tBSP430periphHandle)(BSP430_PERIPH_PORT3_BASEADDRESS_))
1460 #ifndef configBSP430_HPL_PORT4
1461 #define configBSP430_HPL_PORT4 (configBSP430_HAL_PORT4 - 0)
1464 #if (configBSP430_HAL_PORT4 - 0) && ! (configBSP430_HPL_PORT4 - 0)
1465 #warning configBSP430_HAL_PORT4 requested without configBSP430_HPL_PORT4
1474 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT4 - 0)
1475 #define BSP430_PERIPH_PORT4 ((tBSP430periphHandle)(BSP430_PERIPH_PORT4_BASEADDRESS_))
1493 #ifndef configBSP430_HPL_PORT5
1494 #define configBSP430_HPL_PORT5 (configBSP430_HAL_PORT5 - 0)
1497 #if (configBSP430_HAL_PORT5 - 0) && ! (configBSP430_HPL_PORT5 - 0)
1498 #warning configBSP430_HAL_PORT5 requested without configBSP430_HPL_PORT5
1507 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT5 - 0)
1508 #define BSP430_PERIPH_PORT5 ((tBSP430periphHandle)(BSP430_PERIPH_PORT5_BASEADDRESS_))
1526 #ifndef configBSP430_HPL_PORT6
1527 #define configBSP430_HPL_PORT6 (configBSP430_HAL_PORT6 - 0)
1530 #if (configBSP430_HAL_PORT6 - 0) && ! (configBSP430_HPL_PORT6 - 0)
1531 #warning configBSP430_HAL_PORT6 requested without configBSP430_HPL_PORT6
1540 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT6 - 0)
1541 #define BSP430_PERIPH_PORT6 ((tBSP430periphHandle)(BSP430_PERIPH_PORT6_BASEADDRESS_))
1559 #ifndef configBSP430_HPL_PORT7
1560 #define configBSP430_HPL_PORT7 (configBSP430_HAL_PORT7 - 0)
1563 #if (configBSP430_HAL_PORT7 - 0) && ! (configBSP430_HPL_PORT7 - 0)
1564 #warning configBSP430_HAL_PORT7 requested without configBSP430_HPL_PORT7
1573 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT7 - 0)
1574 #define BSP430_PERIPH_PORT7 ((tBSP430periphHandle)(BSP430_PERIPH_PORT7_BASEADDRESS_))
1592 #ifndef configBSP430_HPL_PORT8
1593 #define configBSP430_HPL_PORT8 (configBSP430_HAL_PORT8 - 0)
1596 #if (configBSP430_HAL_PORT8 - 0) && ! (configBSP430_HPL_PORT8 - 0)
1597 #warning configBSP430_HAL_PORT8 requested without configBSP430_HPL_PORT8
1606 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT8 - 0)
1607 #define BSP430_PERIPH_PORT8 ((tBSP430periphHandle)(BSP430_PERIPH_PORT8_BASEADDRESS_))
1625 #ifndef configBSP430_HPL_PORT9
1626 #define configBSP430_HPL_PORT9 (configBSP430_HAL_PORT9 - 0)
1629 #if (configBSP430_HAL_PORT9 - 0) && ! (configBSP430_HPL_PORT9 - 0)
1630 #warning configBSP430_HAL_PORT9 requested without configBSP430_HPL_PORT9
1639 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT9 - 0)
1640 #define BSP430_PERIPH_PORT9 ((tBSP430periphHandle)(BSP430_PERIPH_PORT9_BASEADDRESS_))
1658 #ifndef configBSP430_HPL_PORT10
1659 #define configBSP430_HPL_PORT10 (configBSP430_HAL_PORT10 - 0)
1662 #if (configBSP430_HAL_PORT10 - 0) && ! (configBSP430_HPL_PORT10 - 0)
1663 #warning configBSP430_HAL_PORT10 requested without configBSP430_HPL_PORT10
1672 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT10 - 0)
1673 #define BSP430_PERIPH_PORT10 ((tBSP430periphHandle)(BSP430_PERIPH_PORT10_BASEADDRESS_))
1691 #ifndef configBSP430_HPL_PORT11
1692 #define configBSP430_HPL_PORT11 (configBSP430_HAL_PORT11 - 0)
1695 #if (configBSP430_HAL_PORT11 - 0) && ! (configBSP430_HPL_PORT11 - 0)
1696 #warning configBSP430_HAL_PORT11 requested without configBSP430_HPL_PORT11
1705 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT11 - 0)
1706 #define BSP430_PERIPH_PORT11 ((tBSP430periphHandle)(BSP430_PERIPH_PORT11_BASEADDRESS_))
1728 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT1 - 0)
1729 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (1 <= 2)
1730 #define BSP430_HPL_PORT1 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT1)
1732 #define BSP430_HPL_PORT1 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT1)
1750 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT2 - 0)
1751 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (2 <= 2)
1752 #define BSP430_HPL_PORT2 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT2)
1754 #define BSP430_HPL_PORT2 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT2)
1772 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT3 - 0)
1773 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (3 <= 2)
1774 #define BSP430_HPL_PORT3 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT3)
1776 #define BSP430_HPL_PORT3 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT3)
1794 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT4 - 0)
1795 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (4 <= 2)
1796 #define BSP430_HPL_PORT4 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT4)
1798 #define BSP430_HPL_PORT4 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT4)
1816 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT5 - 0)
1817 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (5 <= 2)
1818 #define BSP430_HPL_PORT5 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT5)
1820 #define BSP430_HPL_PORT5 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT5)
1838 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT6 - 0)
1839 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (6 <= 2)
1840 #define BSP430_HPL_PORT6 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT6)
1842 #define BSP430_HPL_PORT6 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT6)
1860 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT7 - 0)
1861 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (7 <= 2)
1862 #define BSP430_HPL_PORT7 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT7)
1864 #define BSP430_HPL_PORT7 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT7)
1882 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT8 - 0)
1883 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (8 <= 2)
1884 #define BSP430_HPL_PORT8 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT8)
1886 #define BSP430_HPL_PORT8 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT8)
1904 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT9 - 0)
1905 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (9 <= 2)
1906 #define BSP430_HPL_PORT9 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT9)
1908 #define BSP430_HPL_PORT9 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT9)
1926 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT10 - 0)
1927 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (10 <= 2)
1928 #define BSP430_HPL_PORT10 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT10)
1930 #define BSP430_HPL_PORT10 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT10)
1948 #if defined(BSP430_DOXYGEN) || (configBSP430_HPL_PORT11 - 0)
1949 #if (BSP430_CORE_FAMILY_IS_5XX - 0) || (11 <= 2)
1950 #define BSP430_HPL_PORT11 ((volatile sBSP430hplPORTIE *)BSP430_PERIPH_PORT11)
1952 #define BSP430_HPL_PORT11 ((volatile sBSP430hplPORT *)BSP430_PERIPH_PORT11)
1976 #ifndef configBSP430_HAL_PORT1_ISR
1977 #define configBSP430_HAL_PORT1_ISR ((configBSP430_HAL_PORT1 - 0) && defined(PORT1_VECTOR))
1980 #if (configBSP430_HAL_PORT1_ISR - 0) && ! (configBSP430_HAL_PORT1 - 0)
1981 #warning configBSP430_HAL_PORT1_ISR requested without configBSP430_HAL_PORT1
1999 #ifndef configBSP430_HAL_PORT2_ISR
2000 #define configBSP430_HAL_PORT2_ISR ((configBSP430_HAL_PORT2 - 0) && defined(PORT2_VECTOR))
2003 #if (configBSP430_HAL_PORT2_ISR - 0) && ! (configBSP430_HAL_PORT2 - 0)
2004 #warning configBSP430_HAL_PORT2_ISR requested without configBSP430_HAL_PORT2
2022 #ifndef configBSP430_HAL_PORT3_ISR
2023 #define configBSP430_HAL_PORT3_ISR ((configBSP430_HAL_PORT3 - 0) && defined(PORT3_VECTOR))
2026 #if (configBSP430_HAL_PORT3_ISR - 0) && ! (configBSP430_HAL_PORT3 - 0)
2027 #warning configBSP430_HAL_PORT3_ISR requested without configBSP430_HAL_PORT3
2045 #ifndef configBSP430_HAL_PORT4_ISR
2046 #define configBSP430_HAL_PORT4_ISR ((configBSP430_HAL_PORT4 - 0) && defined(PORT4_VECTOR))
2049 #if (configBSP430_HAL_PORT4_ISR - 0) && ! (configBSP430_HAL_PORT4 - 0)
2050 #warning configBSP430_HAL_PORT4_ISR requested without configBSP430_HAL_PORT4
2068 #ifndef configBSP430_HAL_PORT5_ISR
2069 #define configBSP430_HAL_PORT5_ISR ((configBSP430_HAL_PORT5 - 0) && defined(PORT5_VECTOR))
2072 #if (configBSP430_HAL_PORT5_ISR - 0) && ! (configBSP430_HAL_PORT5 - 0)
2073 #warning configBSP430_HAL_PORT5_ISR requested without configBSP430_HAL_PORT5
2091 #ifndef configBSP430_HAL_PORT6_ISR
2092 #define configBSP430_HAL_PORT6_ISR ((configBSP430_HAL_PORT6 - 0) && defined(PORT6_VECTOR))
2095 #if (configBSP430_HAL_PORT6_ISR - 0) && ! (configBSP430_HAL_PORT6 - 0)
2096 #warning configBSP430_HAL_PORT6_ISR requested without configBSP430_HAL_PORT6
2114 #ifndef configBSP430_HAL_PORT7_ISR
2115 #define configBSP430_HAL_PORT7_ISR ((configBSP430_HAL_PORT7 - 0) && defined(PORT7_VECTOR))
2118 #if (configBSP430_HAL_PORT7_ISR - 0) && ! (configBSP430_HAL_PORT7 - 0)
2119 #warning configBSP430_HAL_PORT7_ISR requested without configBSP430_HAL_PORT7
2137 #ifndef configBSP430_HAL_PORT8_ISR
2138 #define configBSP430_HAL_PORT8_ISR ((configBSP430_HAL_PORT8 - 0) && defined(PORT8_VECTOR))
2141 #if (configBSP430_HAL_PORT8_ISR - 0) && ! (configBSP430_HAL_PORT8 - 0)
2142 #warning configBSP430_HAL_PORT8_ISR requested without configBSP430_HAL_PORT8
2160 #ifndef configBSP430_HAL_PORT9_ISR
2161 #define configBSP430_HAL_PORT9_ISR ((configBSP430_HAL_PORT9 - 0) && defined(PORT9_VECTOR))
2164 #if (configBSP430_HAL_PORT9_ISR - 0) && ! (configBSP430_HAL_PORT9 - 0)
2165 #warning configBSP430_HAL_PORT9_ISR requested without configBSP430_HAL_PORT9
2183 #ifndef configBSP430_HAL_PORT10_ISR
2184 #define configBSP430_HAL_PORT10_ISR ((configBSP430_HAL_PORT10 - 0) && defined(PORT10_VECTOR))
2187 #if (configBSP430_HAL_PORT10_ISR - 0) && ! (configBSP430_HAL_PORT10 - 0)
2188 #warning configBSP430_HAL_PORT10_ISR requested without configBSP430_HAL_PORT10
2206 #ifndef configBSP430_HAL_PORT11_ISR
2207 #define configBSP430_HAL_PORT11_ISR ((configBSP430_HAL_PORT11 - 0) && defined(PORT11_VECTOR))
2210 #if (configBSP430_HAL_PORT11_ISR - 0) && ! (configBSP430_HAL_PORT11 - 0)
2211 #warning configBSP430_HAL_PORT11_ISR requested without configBSP430_HAL_PORT11
2235 #if (configBSP430_HPL_PORT1 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (1 <= 2))
2241 #if (configBSP430_HPL_PORT2 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (2 <= 2))
2247 #if (configBSP430_HPL_PORT3 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (3 <= 2))
2253 #if (configBSP430_HPL_PORT4 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (4 <= 2))
2259 #if (configBSP430_HPL_PORT5 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (5 <= 2))
2265 #if (configBSP430_HPL_PORT6 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (6 <= 2))
2271 #if (configBSP430_HPL_PORT7 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (7 <= 2))
2277 #if (configBSP430_HPL_PORT8 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (8 <= 2))
2283 #if (configBSP430_HPL_PORT9 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (9 <= 2))
2289 #if (configBSP430_HPL_PORT10 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (10 <= 2))
2295 #if (configBSP430_HPL_PORT11 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (11 <= 2))
2322 #if (configBSP430_HPL_PORT1 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (1 > 2))
2328 #if (configBSP430_HPL_PORT2 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (2 > 2))
2334 #if (configBSP430_HPL_PORT3 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (3 > 2))
2340 #if (configBSP430_HPL_PORT4 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (4 > 2))
2346 #if (configBSP430_HPL_PORT5 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (5 > 2))
2352 #if (configBSP430_HPL_PORT6 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (6 > 2))
2358 #if (configBSP430_HPL_PORT7 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (7 > 2))
2364 #if (configBSP430_HPL_PORT8 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (8 > 2))
2370 #if (configBSP430_HPL_PORT9 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (9 > 2))
2376 #if (configBSP430_HPL_PORT10 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (10 > 2))
2382 #if (configBSP430_HPL_PORT11 - 0) && ((BSP430_CORE_FAMILY_IS_5XX - 0) || (11 > 2))
2407 #if (configBSP430_HAL_PORT1 - 0)
2413 #if (configBSP430_HAL_PORT2 - 0)
2419 #if (configBSP430_HAL_PORT3 - 0)
2425 #if (configBSP430_HAL_PORT4 - 0)
2431 #if (configBSP430_HAL_PORT5 - 0)
2437 #if (configBSP430_HAL_PORT6 - 0)
2443 #if (configBSP430_HAL_PORT7 - 0)
2449 #if (configBSP430_HAL_PORT8 - 0)
2455 #if (configBSP430_HAL_PORT9 - 0)
2461 #if (configBSP430_HAL_PORT10 - 0)
2467 #if (configBSP430_HAL_PORT11 - 0)
2503 unsigned char bit = 0x01;
2505 while (bit && !(bit & bitx)) {
2509 return bit ? rv : -1;
unsigned char sel
Definition: port.h:598
uBSP430hplPORT_16 ie
Definition: port.h:576
#define BSP430_HAL_PORT8
Definition: port.h:1227
unsigned char sel1
Definition: port.h:602
#define BSP430_PERIPH_PORT7
Definition: port.h:1574
sBSP430hplPORT_8 sBSP430hplPORT
Definition: port.h:636
#define BSP430_PERIPH_PORT11
Definition: port.h:1706
#define BSP430_HAL_PORT11
Definition: port.h:1338
unsigned char h
Definition: port.h:542
unsigned char dir
Definition: port.h:590
sBSP430hplHALStatePrefix hal_state
Definition: port.h:841
volatile sBSP430hplPORT_5XX_16 * port_5xx_16
Definition: port.h:861
unsigned char in
Definition: port.h:586
struct sBSP430halPORT sBSP430halPORT
unsigned char ie
Definition: port.h:616
volatile sBSP430hplPORTIE * portie
Definition: port.h:863
uBSP430hplPORT_16 ren
Definition: port.h:563
#define BSP430_HPL_PORT8
Definition: port.h:1886
struct sBSP430hplPORT_5XX_8 sBSP430hplPORT_5XX_8
static BSP430_CORE_INLINE volatile sBSP430hplPORTIE * xBSP430hplLookupPORTIE(tBSP430periphHandle periph)
Definition: port.h:2231
#define BSP430_HAL_PORT4
Definition: port.h:1079
#define BSP430_HPL_PORT1
Definition: port.h:1730
unsigned char ren
Definition: port.h:592
const struct sBSP430halISRIndexedChainNode *volatile pin_cbchain_ni[8]
Definition: port.h:871
#define BSP430_PERIPH_PORT8
Definition: port.h:1607
volatile sBSP430hplPORT_IE_8 * port_ie_8
Definition: port.h:853
static BSP430_CORE_INLINE hBSP430halPORT hBSP430portLookup(tBSP430periphHandle periph)
Definition: port.h:2403
#define BSP430_PERIPH_PORT5
Definition: port.h:1508
struct sBSP430halPORT * hBSP430halPORT
Definition: port.h:895
const char * xBSP430portName(tBSP430periphHandle periph)
#define BSP430_PERIPH_PORT3
Definition: port.h:1442
#define BSP430_HPL_PORT3
Definition: port.h:1776
volatile unsigned char *const sel2p
Definition: port.h:890
uBSP430hplPORT_16 in
Definition: port.h:560
#define BSP430_PERIPH_PORT9
Definition: port.h:1640
#define BSP430_HPL_PORT6
Definition: port.h:1842
#define BSP430_HAL_PORT7
Definition: port.h:1190
unsigned char ifg
Definition: port.h:618
#define BSP430_HPL_PORT9
Definition: port.h:1908
uBSP430hplPORT_16 out
Definition: port.h:561
sBSP430hplPORT_16 sBSP430hplPORTW
Definition: port.h:645
#define BSP430_HPL_PORT10
Definition: port.h:1930
#define BSP430_PERIPH_PORT4
Definition: port.h:1475
uBSP430hplPORT_16 selc
Definition: port.h:574
#define BSP430_CORE_INLINE
Definition: core.h:439
Generic peripheral support for MSP430 MCUs.
#define BSP430_HAL_PORT10
Definition: port.h:1301
volatile sBSP430hplPORT_8 * port_8
Definition: port.h:855
unsigned char b[2]
Definition: port.h:539
#define BSP430_PERIPH_PORT6
Definition: port.h:1541
unsigned char ds
Definition: port.h:594
uBSP430hplPORT_16 ifg
Definition: port.h:577
volatile sBSP430hplPORTW * portw
Definition: port.h:867
unsigned char l
Definition: port.h:541
volatile void * any
Definition: port.h:851
#define BSP430_HAL_PORT6
Definition: port.h:1153
#define BSP430_HAL_PORT1
Definition: port.h:968
#define BSP430_HPL_PORT11
Definition: port.h:1952
#define BSP430_HAL_PORT2
Definition: port.h:1005
#define BSP430_PERIPH_PORT2
Definition: port.h:1409
struct sBSP430hplPORT_IE_8 sBSP430hplPORT_IE_8
#define BSP430_HPL_PORT5
Definition: port.h:1820
#define BSP430_PERIPH_PORT1
Definition: port.h:1376
uBSP430hplPORT_16 ies
Definition: port.h:575
union sBSP430halPORT::@30 hpl
volatile sBSP430hplPORT_5XX_8 * port_5xx_8
Definition: port.h:859
uBSP430hplPORT_16 ds
Definition: port.h:564
struct sBSP430hplPORT_16 sBSP430hplPORT_16
volatile unsigned char *const renp
Definition: port.h:880
unsigned char sel0
Definition: port.h:599
unsigned int w
Definition: port.h:538
static BSP430_CORE_INLINE int iBSP430portBitPosition(unsigned int bitx)
Definition: port.h:2501
sBSP430hplPORT_IE_8 sBSP430hplPORTIE
Definition: port.h:627
volatile sBSP430hplPORT * port
Definition: port.h:865
struct sBSP430hplPORT_5XX_16 sBSP430hplPORT_5XX_16
struct sBSP430hplPORT_8 sBSP430hplPORT_8
uBSP430hplPORT_16 sel
Definition: port.h:566
uBSP430hplPORT_16 sel1
Definition: port.h:569
#define BSP430_HAL_PORT9
Definition: port.h:1264
unsigned char out
Definition: port.h:588
uBSP430hplPORT_16 sel0
Definition: port.h:567
int tBSP430periphHandle
Definition: periph.h:106
#define BSP430_HPL_PORT4
Definition: port.h:1798
volatile sBSP430hplPORT_16 * port_16
Definition: port.h:857
uBSP430hplPORT_16 dir
Definition: port.h:562
static BSP430_CORE_INLINE volatile sBSP430hplPORT * xBSP430hplLookupPORT(tBSP430periphHandle periph)
Definition: port.h:2318
#define BSP430_PERIPH_PORT10
Definition: port.h:1673
unsigned char ies
Definition: port.h:614
#define BSP430_HPL_PORT2
Definition: port.h:1752
#define BSP430_HAL_PORT3
Definition: port.h:1042
union uBSP430hplPORT_16 uBSP430hplPORT_16
unsigned char selc
Definition: port.h:612
#define BSP430_HAL_PORT5
Definition: port.h:1116
#define BSP430_HPL_PORT7
Definition: port.h:1864