![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ADF7023
Revision 0:b6284367b05d, committed 2015-07-09
- Comitter:
- dheerajmpai23
- Date:
- Thu Jul 09 06:52:35 2015 +0000
- Commit message:
- publish
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Jul 09 06:52:35 2015 +0000 @@ -0,0 +1,11 @@ +#include + +int tm_ack(char* ptr){ + + int tm_ack = *(ptr + sizeof(char)*3); +// tm_ack &= 0x60;//Ack or Nack can be decided just by checking [5:6] bits + if(tm_ack== 0xE0|| tm_ack==0xA0|| tm_ack==0xC0 ) + return 1; + else + return 0; + } \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Jul 09 06:52:35 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file