2 * -------------------------------------------
3 * MSP432 DriverLib - v01_04_00_18
4 * -------------------------------------------
6 * --COPYRIGHT--,BSD,BSD
7 * Copyright (c) 2015, Texas Instruments Incorporated
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
14 * * Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
17 * * Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the
19 * documentation and/or other materials provided with the distribution.
21 * * Neither the name of Texas Instruments Incorporated nor the names of
22 * its contributors may be used to endorse or promote products derived
23 * from this software without specific prior written permission.
25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
27 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
29 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
31 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
32 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
33 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
34 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
35 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 //*****************************************************************************
42 //! \addtogroup gpio_api
45 //*****************************************************************************
47 //*****************************************************************************
49 // If building with a C++ compiler, make all of the definitions in this header
52 //*****************************************************************************
61 #define GPIO_PORT_P1 1
62 #define GPIO_PORT_P2 2
63 #define GPIO_PORT_P3 3
64 #define GPIO_PORT_P4 4
65 #define GPIO_PORT_P5 5
66 #define GPIO_PORT_P6 6
67 #define GPIO_PORT_P7 7
68 #define GPIO_PORT_P8 8
69 #define GPIO_PORT_P9 9
70 #define GPIO_PORT_P10 10
71 #define GPIO_PORT_PJ 11
73 #define GPIO_PIN0 (0x0001)
74 #define GPIO_PIN1 (0x0002)
75 #define GPIO_PIN2 (0x0004)
76 #define GPIO_PIN3 (0x0008)
77 #define GPIO_PIN4 (0x0010)
78 #define GPIO_PIN5 (0x0020)
79 #define GPIO_PIN6 (0x0040)
80 #define GPIO_PIN7 (0x0080)
81 #define GPIO_PIN8 (0x0100)
82 #define GPIO_PIN9 (0x0200)
83 #define GPIO_PIN10 (0x0400)
84 #define GPIO_PIN11 (0x0800)
85 #define GPIO_PIN12 (0x1000)
86 #define GPIO_PIN13 (0x2000)
87 #define GPIO_PIN14 (0x4000)
88 #define GPIO_PIN15 (0x8000)
89 #define PIN_ALL8 (0xFF)
90 #define PIN_ALL16 (0xFFFF)
92 #define GPIO_PRIMARY_MODULE_FUNCTION (0x01)
93 #define GPIO_SECONDARY_MODULE_FUNCTION (0x02)
94 #define GPIO_TERTIARY_MODULE_FUNCTION (0x03)
96 #define GPIO_HIGH_TO_LOW_TRANSITION (0x01)
97 #define GPIO_LOW_TO_HIGH_TRANSITION (0x00)
99 #define GPIO_INPUT_PIN_HIGH (0x01)
100 #define GPIO_INPUT_PIN_LOW (0x00)
102 //*****************************************************************************
104 // Prototypes for the APIs.
106 //*****************************************************************************
108 //*****************************************************************************
110 //! \brief This function configures the selected Pin as output pin
112 //! This function selected pins on a selected port as output pins.
114 //! \param selectedPort is the selected port.
115 //! Valid values are:
116 //! - \b GPIO_PORT_P1
117 //! - \b GPIO_PORT_P2
118 //! - \b GPIO_PORT_P3
119 //! - \b GPIO_PORT_P4
120 //! - \b GPIO_PORT_P5
121 //! - \b GPIO_PORT_P6
122 //! - \b GPIO_PORT_P7
123 //! - \b GPIO_PORT_P8
124 //! - \b GPIO_PORT_P9
125 //! - \b GPIO_PORT_P10
126 //! - \b GPIO_PORT_P11
127 //! - \b GPIO_PORT_PJ
128 //! \param selectedPins is the specified pin in the selected port.
129 //! Mask value is the logical OR of any of the following:
147 //! Modified bits of \b PxDIR register and bits of \b PxSEL register.
151 //*****************************************************************************
152 extern void GPIO_setAsOutputPin(uint_fast8_t selectedPort,
153 uint_fast16_t selectedPins);
155 //*****************************************************************************
157 //! \brief This function configures the selected Pin as input pin
159 //! This function selected pins on a selected port as input pins.
161 //! \param selectedPort is the selected port.
162 //! Valid values are:
163 //! - \b GPIO_PORT_P1
164 //! - \b GPIO_PORT_P2
165 //! - \b GPIO_PORT_P3
166 //! - \b GPIO_PORT_P4
167 //! - \b GPIO_PORT_P5
168 //! - \b GPIO_PORT_P6
169 //! - \b GPIO_PORT_P7
170 //! - \b GPIO_PORT_P8
171 //! - \b GPIO_PORT_P9
172 //! - \b GPIO_PORT_P10
173 //! - \b GPIO_PORT_P11
174 //! - \b GPIO_PORT_PJ
175 //! \param selectedPins is the specified pin in the selected port.
176 //! Mask value is the logical OR of any of the following:
194 //! Modified bits of \b PxDIR register, bits of \b PxREN register and bits of
195 //! \b PxSEL register.
199 //*****************************************************************************
200 extern void GPIO_setAsInputPin(uint_fast8_t selectedPort,
201 uint_fast16_t selectedPins);
203 //*****************************************************************************
205 //! \brief This function configures the peripheral module function in the
206 //! output direction for the selected pin for either primary, secondary or
207 //! ternary module function modes
209 //! This function configures the peripheral module function in the output
210 //! direction for the selected pin for either primary, secondary or ternary
211 //! module function modes. Accepted values for mode are
212 //! GPIO_PRIMARY_MODULE_FUNCTION, GPIO_SECONDARY_MODULE_FUNCTION, and
213 //! GPIO_TERTIARY_MODULE_FUNCTION
215 //! \param selectedPort is the selected port.
216 //! Valid values are:
217 //! - \b GPIO_PORT_P1
218 //! - \b GPIO_PORT_P2
219 //! - \b GPIO_PORT_P3
220 //! - \b GPIO_PORT_P4
221 //! - \b GPIO_PORT_P5
222 //! - \b GPIO_PORT_P6
223 //! - \b GPIO_PORT_P7
224 //! - \b GPIO_PORT_P8
225 //! - \b GPIO_PORT_P9
226 //! - \b GPIO_PORT_P10
227 //! - \b GPIO_PORT_P11
228 //! - \b GPIO_PORT_PJ
229 //! \param selectedPins is the specified pin in the selected port.
230 //! Mask value is the logical OR of any of the following:
247 //! \param mode is the specified mode that the pin should be configured for the
249 //! Valid values are:
250 //! - \b GPIO_PRIMARY_MODULE_FUNCTION
251 //! - \b GPIO_SECONDARY_MODULE_FUNCTION
252 //! - \b GPIO_TERTIARY_MODULE_FUNCTION
254 //! Modified bits of \b PxDIR register and bits of \b PxSEL register.
258 //*****************************************************************************
259 extern void GPIO_setAsPeripheralModuleFunctionOutputPin(
260 uint_fast8_t selectedPort, uint_fast16_t selectedPins,
263 //*****************************************************************************
265 //! \brief This function configures the peripheral module function in the input
266 //! direction for the selected pin for either primary, secondary or ternary
267 //! module function modes.
269 //! This function configures the peripheral module function in the input
270 //! direction for the selected pin for either primary, secondary or ternary
271 //! module function modes. Accepted values for mode are
272 //! GPIO_PRIMARY_MODULE_FUNCTION, GPIO_SECONDARY_MODULE_FUNCTION, and
273 //! GPIO_TERTIARY_MODULE_FUNCTION
275 //! \param selectedPort is the selected port.
276 //! Valid values are:
277 //! - \b GPIO_PORT_P1
278 //! - \b GPIO_PORT_P2
279 //! - \b GPIO_PORT_P3
280 //! - \b GPIO_PORT_P4
281 //! - \b GPIO_PORT_P5
282 //! - \b GPIO_PORT_P6
283 //! - \b GPIO_PORT_P7
284 //! - \b GPIO_PORT_P8
285 //! - \b GPIO_PORT_P9
286 //! - \b GPIO_PORT_P10
287 //! - \b GPIO_PORT_P11
288 //! - \b GPIO_PORT_PJ
289 //! \param selectedPins is the specified pin in the selected port.
290 //! Mask value is the logical OR of any of the following:
307 //! \param mode is the specified mode that the pin should be configured for the
309 //! Valid values are:
310 //! - \b GPIO_PRIMARY_MODULE_FUNCTION
311 //! - \b GPIO_SECONDARY_MODULE_FUNCTION
312 //! - \b GPIO_TERTIARY_MODULE_FUNCTION
314 //! Modified bits of \b PxDIR register and bits of \b PxSEL register.
318 //*****************************************************************************
319 extern void GPIO_setAsPeripheralModuleFunctionInputPin(
320 uint_fast8_t selectedPort, uint_fast16_t selectedPins,
323 //*****************************************************************************
325 //! \brief This function sets output HIGH on the selected Pin
327 //! This function sets output HIGH on the selected port's pin.
329 //! \param selectedPort is the selected port.
330 //! Valid values are:
331 //! - \b GPIO_PORT_P1
332 //! - \b GPIO_PORT_P2
333 //! - \b GPIO_PORT_P3
334 //! - \b GPIO_PORT_P4
335 //! - \b GPIO_PORT_P5
336 //! - \b GPIO_PORT_P6
337 //! - \b GPIO_PORT_P7
338 //! - \b GPIO_PORT_P8
339 //! - \b GPIO_PORT_P9
340 //! - \b GPIO_PORT_P10
341 //! - \b GPIO_PORT_P11
342 //! - \b GPIO_PORT_PJ
343 //! \param selectedPins is the specified pin in the selected port.
344 //! Mask value is the logical OR of any of the following:
362 //! Modified bits of \b PxOUT register.
366 //*****************************************************************************
367 extern void GPIO_setOutputHighOnPin(uint_fast8_t selectedPort,
368 uint_fast16_t selectedPins);
370 //*****************************************************************************
372 //! \brief This function sets output LOW on the selected Pin
374 //! This function sets output LOW on the selected port's pin.
376 //! \param selectedPort is the selected port.
377 //! Valid values are:
378 //! - \b GPIO_PORT_P1
379 //! - \b GPIO_PORT_P2
380 //! - \b GPIO_PORT_P3
381 //! - \b GPIO_PORT_P4
382 //! - \b GPIO_PORT_P5
383 //! - \b GPIO_PORT_P6
384 //! - \b GPIO_PORT_P7
385 //! - \b GPIO_PORT_P8
386 //! - \b GPIO_PORT_P9
387 //! - \b GPIO_PORT_P10
388 //! - \b GPIO_PORT_P11
389 //! - \b GPIO_PORT_PJ
390 //! \param selectedPins is the specified pin in the selected port.
391 //! Mask value is the logical OR of any of the following:
409 //! Modified bits of \b PxOUT register.
413 //*****************************************************************************
414 extern void GPIO_setOutputLowOnPin(uint_fast8_t selectedPort,
415 uint_fast16_t selectedPins);
417 //*****************************************************************************
419 //! \brief This function toggles the output on the selected Pin
421 //! This function toggles the output on the selected port's pin.
423 //! \param selectedPort is the selected port.
424 //! Valid values are:
425 //! - \b GPIO_PORT_P1
426 //! - \b GPIO_PORT_P2
427 //! - \b GPIO_PORT_P3
428 //! - \b GPIO_PORT_P4
429 //! - \b GPIO_PORT_P5
430 //! - \b GPIO_PORT_P6
431 //! - \b GPIO_PORT_P7
432 //! - \b GPIO_PORT_P8
433 //! - \b GPIO_PORT_P9
434 //! - \b GPIO_PORT_P10
435 //! - \b GPIO_PORT_P11
436 //! - \b GPIO_PORT_PJ
437 //! \param selectedPins is the specified pin in the selected port.
438 //! Mask value is the logical OR of any of the following:
456 //! Modified bits of \b PxOUT register.
460 //*****************************************************************************
461 extern void GPIO_toggleOutputOnPin(uint_fast8_t selectedPort,
462 uint_fast16_t selectedPins);
464 //*****************************************************************************
466 //! \brief This function sets the selected Pin in input Mode with Pull Down
469 //! This function sets the selected Pin in input Mode with Pull Down resistor.
471 //! \param selectedPort is the selected port.
472 //! Valid values are:
473 //! - \b GPIO_PORT_P1
474 //! - \b GPIO_PORT_P2
475 //! - \b GPIO_PORT_P3
476 //! - \b GPIO_PORT_P4
477 //! - \b GPIO_PORT_P5
478 //! - \b GPIO_PORT_P6
479 //! - \b GPIO_PORT_P7
480 //! - \b GPIO_PORT_P8
481 //! - \b GPIO_PORT_P9
482 //! - \b GPIO_PORT_P10
483 //! - \b GPIO_PORT_P11
484 //! - \b GPIO_PORT_PJ
485 //! \param selectedPins is the specified pin in the selected port.
486 //! Mask value is the logical OR of any of the following:
504 //! Modified bits of \b PxDIR register, bits of \b PxOUT register and bits of
505 //! \b PxREN register.
509 //*****************************************************************************
510 extern void GPIO_setAsInputPinWithPullDownResistor(uint_fast8_t selectedPort,
511 uint_fast16_t selectedPins);
513 //*****************************************************************************
515 //! \brief This function sets the selected Pin in input Mode with Pull Up
518 //! This function sets the selected Pin in input Mode with Pull Up resistor.
520 //! \param selectedPort is the selected port.
521 //! Valid values are:
522 //! - \b GPIO_PORT_P1
523 //! - \b GPIO_PORT_P2
524 //! - \b GPIO_PORT_P3
525 //! - \b GPIO_PORT_P4
526 //! - \b GPIO_PORT_P5
527 //! - \b GPIO_PORT_P6
528 //! - \b GPIO_PORT_P7
529 //! - \b GPIO_PORT_P8
530 //! - \b GPIO_PORT_P9
531 //! - \b GPIO_PORT_P10
532 //! - \b GPIO_PORT_P11
533 //! - \b GPIO_PORT_PJ
534 //! \param selectedPins is the specified pin in the selected port.
535 //! Mask value is the logical OR of any of the following:
553 //! Modified bits of \b PxDIR register, bits of \b PxOUT register and bits of
554 //! \b PxREN register.
558 //*****************************************************************************
559 extern void GPIO_setAsInputPinWithPullUpResistor(uint_fast8_t selectedPort,
560 uint_fast16_t selectedPins);
562 //*****************************************************************************
564 //! \brief This function gets the input value on the selected pin
566 //! This function gets the input value on the selected pin.
568 //! \param selectedPort is the selected port.
569 //! Valid values are:
570 //! - \b GPIO_PORT_P1
571 //! - \b GPIO_PORT_P2
572 //! - \b GPIO_PORT_P3
573 //! - \b GPIO_PORT_P4
574 //! - \b GPIO_PORT_P5
575 //! - \b GPIO_PORT_P6
576 //! - \b GPIO_PORT_P7
577 //! - \b GPIO_PORT_P8
578 //! - \b GPIO_PORT_P9
579 //! - \b GPIO_PORT_P10
580 //! - \b GPIO_PORT_P11
581 //! - \b GPIO_PORT_PJ
582 //! \param selectedPins is the specified pin in the selected port.
583 //! Valid values are:
601 //! \return One of the following:
602 //! - \b GPIO_INPUT_PIN_HIGH
603 //! - \b GPIO_INPUT_PIN_LOW
604 //! \n indicating the status of the pin
606 //*****************************************************************************
607 extern uint8_t GPIO_getInputPinValue(uint_fast8_t selectedPort,
608 uint_fast16_t selectedPins);
610 //*****************************************************************************
612 //! \brief This function enables the port interrupt on the selected pin
614 //! This function enables the port interrupt on the selected pin. Note that
615 //! only Port 1,2, A have this capability.
617 //! \param selectedPort is the selected port.
618 //! Valid values are:
619 //! - \b GPIO_PORT_P1
620 //! - \b GPIO_PORT_P2
621 //! - \b GPIO_PORT_PA
622 //! \param selectedPins is the specified pin in the selected port.
623 //! Mask value is the logical OR of any of the following:
641 //! Modified bits of \b PxIE register.
645 //*****************************************************************************
646 extern void GPIO_enableInterrupt(uint_fast8_t selectedPort,
647 uint_fast16_t selectedPins);
649 //*****************************************************************************
651 //! \brief This function disables the port interrupt on the selected pin
653 //! This function disables the port interrupt on the selected pin. Note that
654 //! only Port 1,2, A have this capability.
656 //! \param selectedPort is the selected port.
657 //! Valid values are:
658 //! - \b GPIO_PORT_P1
659 //! - \b GPIO_PORT_P2
660 //! - \b GPIO_PORT_PA
661 //! \param selectedPins is the specified pin in the selected port.
662 //! Mask value is the logical OR of any of the following:
680 //! Modified bits of \b PxIE register.
684 //*****************************************************************************
685 extern void GPIO_disableInterrupt(uint_fast8_t selectedPort,
686 uint_fast16_t selectedPins);
688 //*****************************************************************************
690 //! \brief This function gets the interrupt status of the selected pin
692 //! This function gets the interrupt status of the selected pin. Note that only
693 //! Port 1,2, A have this capability.
695 //! \param selectedPort is the selected port.
696 //! Valid values are:
697 //! - \b GPIO_PORT_P1
698 //! - \b GPIO_PORT_P2
699 //! - \b GPIO_PORT_PA
700 //! \param selectedPins is the specified pin in the selected port.
701 //! Mask value is the logical OR of any of the following:
719 //! \return Logical OR of any of the following:
736 //! \n indicating the interrupt status of the selected pins [Default:
739 //*****************************************************************************
740 extern uint_fast16_t GPIO_getInterruptStatus(uint_fast8_t selectedPort,
741 uint_fast16_t selectedPins);
743 //*****************************************************************************
745 //! \brief This function clears the interrupt flag on the selected pin
747 //! This function clears the interrupt flag on the selected pin. Note that only
748 //! Port 1,2,A have this capability.
750 //! \param selectedPort is the selected port.
751 //! Valid values are:
752 //! - \b GPIO_PORT_P1
753 //! - \b GPIO_PORT_P2
754 //! - \b GPIO_PORT_PA
755 //! \param selectedPins is the specified pin in the selected port.
756 //! Mask value is the logical OR of any of the following:
774 //! Modified bits of \b PxIFG register.
778 //*****************************************************************************
779 extern void GPIO_clearInterruptFlag(uint_fast8_t selectedPort,
780 uint_fast16_t selectedPins);
782 //*****************************************************************************
784 //! \brief This function selects on what edge the port interrupt flag should be
785 //! set for a transition
787 //! This function selects on what edge the port interrupt flag should be set
788 //! for a transition. Values for edgeSelect should be
789 //! GPIO_LOW_TO_HIGH_TRANSITION or GPIO_HIGH_TO_LOW_TRANSITION.
791 //! \param selectedPort is the selected port.
792 //! Valid values are:
793 //! - \b GPIO_PORT_P1
794 //! - \b GPIO_PORT_P2
795 //! - \b GPIO_PORT_P3
796 //! - \b GPIO_PORT_P4
797 //! - \b GPIO_PORT_P5
798 //! - \b GPIO_PORT_P6
799 //! - \b GPIO_PORT_P7
800 //! - \b GPIO_PORT_P8
801 //! - \b GPIO_PORT_P9
802 //! - \b GPIO_PORT_P10
803 //! - \b GPIO_PORT_P11
804 //! - \b GPIO_PORT_PJ
805 //! \param selectedPins is the specified pin in the selected port.
806 //! Mask value is the logical OR of any of the following:
823 //! \param edgeSelect specifies what transition sets the interrupt flag
824 //! Valid values are:
825 //! - \b GPIO_HIGH_TO_LOW_TRANSITION
826 //! - \b GPIO_LOW_TO_HIGH_TRANSITION
828 //! Modified bits of \b PxIES register.
832 //*****************************************************************************
833 extern void GPIO_interruptEdgeSelect(uint_fast8_t selectedPort,
834 uint_fast16_t selectedPins, uint_fast8_t edgeSelect);
836 //*****************************************************************************
838 //! \brief This function gets the interrupt status of the provided PIN and
839 //! masks it with the interrupts that are actually enabled. This is
840 //! useful for inside ISRs where the status of only the enabled
841 //! interrupts needs to be checked.
843 //! \param selectedPort is the selected port.
844 //! Valid values are:
845 //! - \b GPIO_PORT_P1
846 //! - \b GPIO_PORT_P2
847 //! - \b GPIO_PORT_P3
848 //! - \b GPIO_PORT_P4
849 //! - \b GPIO_PORT_P5
850 //! - \b GPIO_PORT_P6
851 //! - \b GPIO_PORT_P7
852 //! - \b GPIO_PORT_P8
853 //! - \b GPIO_PORT_P9
854 //! - \b GPIO_PORT_P10
855 //! - \b GPIO_PORT_P11
856 //! - \b GPIO_PORT_PJ
858 //! \return Logical OR of any of the following:
877 //! \n indicating the interrupt status of the selected pins [Default:
880 //*****************************************************************************
881 extern uint_fast16_t GPIO_getEnabledInterruptStatus(uint_fast8_t selectedPort);
884 //*****************************************************************************
886 //! Registers an interrupt handler for the port interrupt.
888 //! \param selectedPort is the port to register the interrupt handler
890 //! \param intHandler is a pointer to the function to be called when the port
891 //! interrupt occurs.
893 //! This function registers the handler to be called when a port
894 //! interrupt occurs. This function enables the global interrupt in the
895 //! interrupt controller; specific GPIO interrupts must be enabled
896 //! via GPIO_enableInterrupt(). It is the interrupt handler's responsibility to
897 //! clear the interrupt source via GPIO_clearInterruptFlag().
899 //! Clock System can generate interrupts when
901 //! \sa Interrupt_registerInterrupt() for important information about
902 //! registering interrupt handlers.
906 //*****************************************************************************
907 extern void GPIO_registerInterrupt(uint_fast8_t selectedPort,
908 void (*intHandler)(void));
910 //*****************************************************************************
912 //! Unregisters the interrupt handler for the port.
914 //! \param selectedPort is the port to unregister the interrupt handler
916 //! This function unregisters the handler to be called when a port
917 //! interrupt occurs. This function also masks off the interrupt in the
918 //! interrupt controller so that the interrupt handler no longer is called.
920 //! \sa Interrupt_registerInterrupt() for important information about
921 //! registering interrupt handlers.
925 //*****************************************************************************
926 extern void GPIO_unregisterInterrupt(uint_fast8_t selectedPort);
928 //*****************************************************************************
930 //! This function sets the drive strength to high for the selected port
933 //! \param selectedPort is the selected port.
934 //! Valid values are:
935 //! - \b GPIO_PORT_P1,
936 //! - \b GPIO_PORT_P2,
937 //! - \b GPIO_PORT_P3,
938 //! - \b GPIO_PORT_P4,
939 //! - \b GPIO_PORT_P5,
940 //! - \b GPIO_PORT_P6,
941 //! - \b GPIO_PORT_P7,
942 //! - \b GPIO_PORT_P8,
943 //! - \b GPIO_PORT_P9,
944 //! - \b GPIO_PORT_P10,
945 //! - \b GPIO_PORT_PJ
946 //! \param selectedPins is the specified pin in the selected port.
947 //! Valid values are:
961 //*****************************************************************************
962 extern void GPIO_setDriveStrengthHigh(uint_fast8_t selectedPort,
963 uint_fast8_t selectedPins);
965 //*****************************************************************************
967 //! This function sets the drive strength to low for the selected port
970 //! \param selectedPort is the selected port.
971 //! Valid values are:
972 //! - \b GPIO_PORT_P1,
973 //! - \b GPIO_PORT_P2,
974 //! - \b GPIO_PORT_P3,
975 //! - \b GPIO_PORT_P4,
976 //! - \b GPIO_PORT_P5,
977 //! - \b GPIO_PORT_P6,
978 //! - \b GPIO_PORT_P7,
979 //! - \b GPIO_PORT_P8,
980 //! - \b GPIO_PORT_P9,
981 //! - \b GPIO_PORT_P10,
982 //! - \b GPIO_PORT_PJ
983 //! \param selectedPins is the specified pin in the selected port.
984 //! Valid values are:
998 //*****************************************************************************
999 extern void GPIO_setDriveStrengthLow(uint_fast8_t selectedPort,
1000 uint_fast8_t selectedPins);
1002 //*****************************************************************************
1004 // Mark the end of the C bindings section for C++ compilers.
1006 //*****************************************************************************
1011 //*****************************************************************************
1013 // Close the Doxygen group.
1016 //*****************************************************************************
1018 #endif // __GPIO_H__