Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/Questions/Q 3630
Next
In Process
vikas Nagpal
  • 0
vikas Nagpal
Asked: December 5, 20222022-12-05T10:50:36+05:30 2022-12-05T10:50:36+05:30In: Microcontroller

GPIO Edge Detection When ISR is Raised?

  • 0

Hi,

Configured IRQ Control Register (IRQCRi) rising and falling edge discovery (IRQMD{10}).
When the interrupt of the edge discovery is raised, where to find out which edge falling or rising is detected, I need to know what’s the pin position of the GPIO input pin when an edge is detected.

The used CPU is RA2E1.

cpugpioirqcriirqmdisrmcumicrocontrollerRA2E1renesas
  • 1 1 Answer
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • RA6M3 SPI_Transmit NMI_HANDLER?
    • Regarding the connection of some electronic components on MCU 7?
    • What is straightforward and more logical methods for RA6M3 Video Record?
    • Tool chain configured for a project not presently available Error message?
    • For different cores, why different watchdogs are needed?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Alex thomas
      2022-12-07T10:33:02+05:30Added an answer on December 7, 2022 at 10:33 am
      This answer was edited.

      Thanks for posting your question! You could check your IRQ- pin's level when entering your interrupt message function in order to check if a rising or falling edge is detected. In case your pin's level was initially low and when entering your message function it became high then a rising edge was deRead more

      Thanks for posting your question!

      You could check your IRQ- pin’s level when entering your interrupt message function in order to check if a rising or falling edge is detected. In case your pin’s level was initially low and when entering your message function it became high then a rising edge was detected. If your pin was initially high and also became low then a falling edge was detected. You could read your pin level by accessing the register shown in the picture below.

      For example, if your IRQ pin is P110, you could check its level in the interrupt message function like this:
      R_PORT1->PIDR_b. PIDR10 and check if it’s 1 (HIGH) or 0 (LOW).

      Another way is by using the already given API
      1.fsp_err_tR_IOPORT_PinRead(ioport_ctrl_t * constp_ctrl,bsp_io_port_pin_t pin,bsp_io_level_t *p_pin_value);

      Kind Regards,
      Alex

      See less
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Facebook
    Continue with Google
    or use

    What is the capital of Egypt? ( Cairo )

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Facebook
    Continue with Google

    Sidebar

    Ask A Question

    Related Questions

    • nidhi singh

      RA6M3 SPI_Transmit NMI_HANDLER?

      • 1 Answer
    • Alex thomas

      Enter download (bootloader) mode from the software on ESP32- C3?

      • 1 Answer
    • Julian White

      LSM6DSOX INT1/ INT2 both are Interrupt?

      • 1 Answer
    • Alex thomas

      ESP32 LoRa SX1276 5V VIN pin?

      • 1 Answer
    • vikas Nagpal

      Tool chain configured for a project not presently available Error ...

      • 1 Answer

    Stats

    • Questions 410
    • Answers 398
    • Comments 0
    • Best Answers 9
    • Popular
    • Answers
    • Manoj

      Configuration using .dp vision in Infineon XDPL series IC .

      • 5 Answers
    • Linto

      Renesas RL78/G14 ADC interface code

      • 4 Answers
    • ashishgawade
      ashishgawade added an answer Hello, A battery with lower ISR/advanced current capability might mitigate… May 17, 2023 at 11:18 am
    • Alex thomas
      Alex thomas added an answer Hello, What's the value of the NMISR register when the… May 15, 2023 at 10:01 am
    • nidhi singh
      nidhi singh added an answer Hi @Julian You can get an overview of the Radar… May 12, 2023 at 10:37 am
    • vikas Nagpal
      vikas Nagpal added an answer Hello, In actuality, the DISCOVERY is always delivered pre-programmed. Depending… May 9, 2023 at 10:38 am
    • Julian White
      Julian White added an answer Hello @Alex, Probably. Note that this register is typically intended… May 5, 2023 at 10:00 am

    Users

    test30575165

    test30575165

    • 0 Questions
    • 0 Answers
    test24632531

    test24632531

    • 0 Questions
    • 0 Answers
    test13446606

    test13446606

    • 0 Questions
    • 0 Answers

    Explore

    • Tags
    • Category
      • Amplifiers
      • Passives & Protection
      • Clocks & Timing
      • Diodes & Rectifiers
      • FPGAs & PLDs
      • Interface ICs & Transceivers
      • LEDs & Optoelectronics
      • Memories
      • MEMS & Sensors
      • Microcontroller
      • Power Management
      • RF & Microwave
      • Security & Smart Card
      • Motor Drivers
      • Wireless Connectivity
    • Groups
    • Add group
    • Badges
    • Help

    Footer

    volt.tech

    Volt.Tech

    Find your spark

    About Us

    • About Us
    • Contact Us
    • Groups

    Legal Stuff

    • Privacy Policy
    • Faqs

    Follow

    © 2022 volt.tech. All Rights Reserved
    With Love by volt.tech.

    Go to mobile version

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.