Changeset 5c337d7e in rtems
- Timestamp:
- 10/21/15 15:33:44 (8 years ago)
- Branches:
- 5, master
- Children:
- 7e06bd9
- Parents:
- 6f6e5d7
- git-author:
- Sudarshan Rajagopalan <sudarshan.rajagopalan@…> (10/21/15 15:33:44)
- git-committer:
- Ben Gras <ben@…> (10/21/15 15:34:12)
- Location:
- c/src/lib/libbsp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c
r6f6e5d7 r5c337d7e 300 300 } 301 301 302 rtems_status_code rtems_ bsp_enable_interrupt(302 rtems_status_code rtems_gpio_bsp_enable_interrupt( 303 303 uint32_t bank, 304 304 uint32_t pin, … … 355 355 } 356 356 357 rtems_status_code rtems_ bsp_disable_interrupt(357 rtems_status_code rtems_gpio_bsp_disable_interrupt( 358 358 uint32_t bank, 359 359 uint32_t pin, … … 529 529 } 530 530 531 rtems_status_code rtems_ bsp_enable_interrupt(531 rtems_status_code rtems_gpio_bsp_enable_interrupt( 532 532 uint32_t bank, 533 533 uint32_t pin, … … 537 537 } 538 538 539 rtems_status_code rtems_ bsp_disable_interrupt(539 rtems_status_code rtems_gpio_bsp_disable_interrupt( 540 540 uint32_t bank, 541 541 uint32_t pin, -
c/src/lib/libbsp/arm/raspberrypi/gpio/rpi-gpio.c
r6f6e5d7 r5c337d7e 184 184 } 185 185 186 rtems_status_code rtems_ bsp_enable_interrupt(186 rtems_status_code rtems_gpio_bsp_enable_interrupt( 187 187 uint32_t bank, 188 188 uint32_t pin, … … 228 228 } 229 229 230 rtems_status_code rtems_ bsp_disable_interrupt(230 rtems_status_code rtems_gpio_bsp_disable_interrupt( 231 231 uint32_t bank, 232 232 uint32_t pin, -
c/src/lib/libbsp/shared/gpio.c
r6f6e5d7 r5c337d7e 1342 1342 } 1343 1343 1344 sc = rtems_ bsp_select_specific_io(1344 sc = rtems_gpio_bsp_select_specific_io( 1345 1345 bank, 1346 1346 pin, … … 1806 1806 } 1807 1807 1808 sc = rtems_ bsp_enable_interrupt(bank, pin, interrupt);1808 sc = rtems_gpio_bsp_enable_interrupt(bank, pin, interrupt); 1809 1809 1810 1810 if ( sc != RTEMS_SUCCESSFUL ) { … … 1920 1920 } 1921 1921 1922 sc = rtems_ bsp_disable_interrupt(bank, pin, interrupt_state->active_interrupt);1922 sc = rtems_gpio_bsp_disable_interrupt(bank, pin, interrupt_state->active_interrupt); 1923 1923 1924 1924 if ( sc != RTEMS_SUCCESSFUL ) { -
c/src/lib/libbsp/shared/include/gpio.h
r6f6e5d7 r5c337d7e 737 737 * 738 738 * @param[in] bank GPIO bank number. 739 * @param[in] bitmask Bitmask of GPIO pins to clear in the given bank. 740 * 741 * @retval RTEMS_SUCCESSFUL All pins were cleared successfully. 742 * @retval RTEMS_NOT_DEFINED The BSP does not support BSP specific operations 743 * for groups. 744 * @retval RTEMS_UNSATISFIED Could not clear at least one of the pins. 739 * @param[in] pins Array filled with BSP specific pin numbers. All pins belong 740 * to the same select bank. 741 * @param[in] pin_count Number of pin configurations in the @var pins array. 742 * @param[in] arg Pointer to a BSP defined structure with BSP-specific 743 * data. This field is handled by the BSP. 744 * 745 * @retval RTEMS_SUCCESSFUL Operation completed with success. 746 * @retval RTEMS_NOT_DEFINED Group has no BSP specific pins, or the BSP does not 747 * support BSP specific operations for groups. 748 * @retval RTEMS_UNSATISFIED Could not operate on at least one of the pins. 745 749 */ 746 750 extern rtems_status_code rtems_gpio_bsp_specific_group_operation( … … 860 864 * @retval RTEMS_UNSATISFIED Could not assign the function to the pin. 861 865 */ 862 extern rtems_status_code rtems_ bsp_select_specific_io(866 extern rtems_status_code rtems_gpio_bsp_select_specific_io( 863 867 uint32_t bank, 864 868 uint32_t pin, … … 919 923 * @retval RTEMS_UNSATISFIED Could not enable the interrupt on the pin. 920 924 */ 921 extern rtems_status_code rtems_ bsp_enable_interrupt(925 extern rtems_status_code rtems_gpio_bsp_enable_interrupt( 922 926 uint32_t bank, 923 927 uint32_t pin, … … 936 940 * @retval RTEMS_UNSATISFIED Could not disable interrupts on this pin. 937 941 */ 938 extern rtems_status_code rtems_ bsp_disable_interrupt(942 extern rtems_status_code rtems_gpio_bsp_disable_interrupt( 939 943 uint32_t bank, 940 944 uint32_t pin,
Note: See TracChangeset
for help on using the changeset viewer.