Gedare Bloom started a new discussion on bsps/arm/beagle/gpio/bbb-gpio.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/700#note_129987

 >  
 >        /* Enables pin high level detection. */
 > -      mmio_set(bbb_reg(bank, AM335X_GPIO_LEVELDETECT1), BIT(pin));
 > +      mmio_set(gpio_bank_addrs[bank] + AM335X_GPIO_LEVELDETECT1, BIT(pin));
 >        break;
 >      case NONE:
 >      default:
 >        return RTEMS_UNSATISFIED;
 >    }
 > +/*
 > +  printf(" Register for interrupt detection are : \n");
 > +  printf("\t FALLING : 0x%x\n", mmio_read(gpio_bank_addrs[bank] + 
 > AM335X_GPIO_FALLINGDETECT));
 > +  printf("\t RISING : 0x%x\n", mmio_read(gpio_bank_addrs[bank] + 
 > AM335X_GPIO_RISINGDETECT));
 > +  printf("\t Low Level : 0x%x\n", mmio_read(gpio_bank_addrs[bank] + 
 > AM335X_GPIO_LEVELDETECT0));
 > +  printf("\t High Level : 0x%x\n", mmio_read(gpio_bank_addrs[bank] + 
 > AM335X_GPIO_LEVELDETECT1));
 > +*/

delete

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/700#note_129987
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs
  • RTEMS | bbb... Heinz Junkes (@junkes)
    • Re: RT... Gedare Bloom (@gedare)
    • Re: RT... Gedare Bloom (@gedare)
    • Re: RT... Gedare Bloom (@gedare)
    • Re: RT... HeinzAlles (@project_449_bot_dab8609bed5c89cf40b8b1b2739a98da)
    • Re: RT... Gedare Bloom (@gedare)
    • Re: RT... HeinzAlles (@project_449_bot_dab8609bed5c89cf40b8b1b2739a98da)
    • Re: RT... HeinzAlles (@project_449_bot_dab8609bed5c89cf40b8b1b2739a98da)

Reply via email to