GPIO INT#

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi, is it possible to use GPIO pin INT# as flag (setting its value by CyU3PGpioSetValue function)?

0 Likes
1 Solution
Anonymous
Not applicable

 Hi,

   

You can control this INT# signal from the GPIF II state machine.

   

If you select this signal as output then you can use DR_GPIO to drive this line from the GPIF II state machine.

   

If you want to use it as Inturrept signal itself then you can call INT_HOST action to assert.

   

Thanks,

   

Sai Krishna.

View solution in original post

0 Likes
6 Replies
Anonymous
Not applicable

 Hi,

   

You can control this INT# signal from the GPIF II state machine.

   

If you select this signal as output then you can use DR_GPIO to drive this line from the GPIF II state machine.

   

If you want to use it as Inturrept signal itself then you can call INT_HOST action to assert.

   

Thanks,

   

Sai Krishna.

0 Likes
Anonymous
Not applicable

 What is DR_GPIO? I can't find anything like it in SDK documentaion

0 Likes
Anonymous
Not applicable

 Oh, I see, DR_GPIO is action in GPIF Designer. SO there is no way to use GPIO INT in GpioSetValue function or something similar? Does it have gpioID?

0 Likes
Anonymous
Not applicable

 Hi,

   

Yes. DR_GPIO is also an action in the GPIF II Designer.

   

It does not have a GPIO ID to drive it using the API GpioSetValue.

   

Thanks,

   

Sai Krishna.

mcn
Level 2
Level 2
10 replies posted 5 questions asked 10 sign-ins

Nothing like replying to a 9 year old post, but I hope this works...

I understand using DR_GPIO to drive the INT# line as an output, but I don't understand how it can be used as an interrupt input. Is this possible?

If so, how do I poll the state of this line and/or setup an interrupt callback?

Thanks!

0 Likes
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello @mcn ,

We are extremely sorry that we may not be able to track a 9 year old post. If you may be kind enough to create a new question, referencing this question, it would be very helpful to us, to keep track of your question and our answers.

Best regards,

Sampath Selvaraj 

0 Likes