18c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/
28c2ecf20Sopenharmony_ciDate:		October 2008
38c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
48c2ecf20Sopenharmony_ciDescription:
58c2ecf20Sopenharmony_ci		The /sys/class/c2port/ directory will contain files and
68c2ecf20Sopenharmony_ci		directories that will provide a unified interface to
78c2ecf20Sopenharmony_ci		the C2 port interface.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX
108c2ecf20Sopenharmony_ciDate:		October 2008
118c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
128c2ecf20Sopenharmony_ciDescription:
138c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/ directory is related to X-th
148c2ecf20Sopenharmony_ci		C2 port into the system. Each directory will contain files to
158c2ecf20Sopenharmony_ci		manage and control its C2 port.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/access
188c2ecf20Sopenharmony_ciDate:		October 2008
198c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
208c2ecf20Sopenharmony_ciDescription:
218c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/access file enable the access
228c2ecf20Sopenharmony_ci		to the C2 port from the system. No commands can be sent
238c2ecf20Sopenharmony_ci		till this entry is set to 0.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/dev_id
268c2ecf20Sopenharmony_ciDate:		October 2008
278c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
288c2ecf20Sopenharmony_ciDescription:
298c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/dev_id file show the device ID
308c2ecf20Sopenharmony_ci		of the connected micro.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/flash_access
338c2ecf20Sopenharmony_ciDate:		October 2008
348c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
358c2ecf20Sopenharmony_ciDescription:
368c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/flash_access file enable the
378c2ecf20Sopenharmony_ci		access to the on-board flash of the connected micro.
388c2ecf20Sopenharmony_ci		No commands can be sent till this entry is set to 0.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/flash_block_size
418c2ecf20Sopenharmony_ciDate:		October 2008
428c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
438c2ecf20Sopenharmony_ciDescription:
448c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/flash_block_size file show
458c2ecf20Sopenharmony_ci		the on-board flash block size of the connected micro.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/flash_blocks_num
488c2ecf20Sopenharmony_ciDate:		October 2008
498c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
508c2ecf20Sopenharmony_ciDescription:
518c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/flash_blocks_num file show
528c2ecf20Sopenharmony_ci		the on-board flash blocks number of the connected micro.
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/flash_data
558c2ecf20Sopenharmony_ciDate:		October 2008
568c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
578c2ecf20Sopenharmony_ciDescription:
588c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/flash_data file export
598c2ecf20Sopenharmony_ci		the content of the on-board flash of the connected micro.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/flash_erase
628c2ecf20Sopenharmony_ciDate:		October 2008
638c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
648c2ecf20Sopenharmony_ciDescription:
658c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/flash_erase file execute
668c2ecf20Sopenharmony_ci		the "erase" command on the on-board flash of the connected
678c2ecf20Sopenharmony_ci		micro.
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/reset
708c2ecf20Sopenharmony_ciDate:		October 2008
718c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
728c2ecf20Sopenharmony_ciDescription:
738c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/reset file execute a "reset"
748c2ecf20Sopenharmony_ci		command on the connected micro.
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ciWhat:		/sys/class/c2port/c2portX/rev_id
778c2ecf20Sopenharmony_ciDate:		October 2008
788c2ecf20Sopenharmony_ciContact:	Rodolfo Giometti <giometti@linux.it>
798c2ecf20Sopenharmony_ciDescription:
808c2ecf20Sopenharmony_ci		The /sys/class/c2port/c2portX/rev_id file show the revision ID
818c2ecf20Sopenharmony_ci		of the connected micro.
82