pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


tle82353_masks.ksh
Posted by Anonymous on Mon 9th Mar 2020 10:06
raw | new post

  1. #!/bin/ksh93
  2.  
  3. #
  4. # tle82353_masks.ksh
  5. #
  6.  
  7. integer -r TLE82353SA_ICVID_CONTENT1=0x00C10400
  8. integer -r TLE82353SA_ICVID_CONTENT2=0x00C10600
  9.  
  10.  
  11. integer -r TLE82353SA_MASKED_RESET_VALUE=0x00C10000
  12. integer -r TLE82353SA_IC_VERSION_MASK=0x0000FF00
  13.  
  14. printf "%x\n" $(( (TLE82353SA_ICVID_CONTENT1 & ~TLE82353SA_IC_VERSION_MASK) == TLE82353SA_MASKED_RESET_VALUE))
  15. printf "%x\n" $(( (TLE82353SA_ICVID_CONTENT2 & ~TLE82353SA_IC_VERSION_MASK) == TLE82353SA_MASKED_RESET_VALUE ))
  16.  
  17. #EOF.

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at