Quantcast
Channel: Cypress Semiconductor - PSoC 5 Known Problems and Solutions
Viewing all articles
Browse latest Browse all 264

Status Register Read signals

$
0
0

Greetings,

 

Im starting to learn programming PSoC 5 and i'm blocked in one functionality. Maybe you guys can help me.

The test i made is trying to read the status signals from the StatusRegister hw block. I can read polling the signals and send the values to uart-usb console just fine.

If i use same StatusRegister, configured as Generate Interrupt and in consequence i enable interrupt api too, using the same status signals read api, i get no result.

 

The idea i want to implement is:

Store 4 digital signals in the StatusRegister, once i have one of them at high level, generate an interrupt and read the status signals of the register and decide what to do depending on this value.

 

Thanks in advance!

BestRegards.


Viewing all articles
Browse latest Browse all 264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>