<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>getting user input in Debugger</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14384/getting-user-input-in-debugger</link><description> I have written a small function as below: 
 
void checkKeyPress() 
{ 
 uchKeyPressed = P1; /* Read Port P1 */ 
 uchKeyPressed = uchKeyPressed &amp;amp; 0x18; /* mask with 0x18 to check for P1.3 &amp;amp; P1.4 */ 
} /* end of function void checkKeyPress() */ 
 
void</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator></channel></rss>