Revision: 1117
Author: sebastien.lelong
Date: Thu Jul 23 22:58:13 2009
Log: fix extract pins from device files
http://code.google.com/p/jallib/source/detail?r=1117
Modified:
/wiki/ParsingDatasheets.wiki
=======================================
--- /wiki/ParsingDatasheets.wiki Thu Jul 23 12:08:13 2009
+++ /wiki/ParsingDatasheets.wiki Thu Jul 23 22:58:13 2009
@@ -17,7 +17,7 @@
* use device files to create a new file only containing pins (starting
with "R", eg. "RA0")
{{{
-cat include/device/18f87j93.jal | grep pin_.*direction |
sed "s#.*pin_\(.*\)_direction.*#R\1#" > 18f87j93.jal.pins
+cat include/device/18f87j93.jal | grep var.volatile.bit.*pin_.*at |
sed "s#.*pin_\([A-Z0-9]*\).*#R\1#" | sort -u > 18f87j93.jal.pins
}}}
* download PDF (Datasheet.wiki page says it's 39948A.pdf, and convert it
to text. If you don't have the datasheet, you'll get an error. In that
case, remove the .pins file.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---