82 lines · plain
1What: /sys/class/c2port/2Date: October 20083Contact: Rodolfo Giometti <giometti@linux.it>4Description:5 The /sys/class/c2port/ directory will contain files and6 directories that will provide a unified interface to7 the C2 port interface.8 9What: /sys/class/c2port/c2portX10Date: October 200811Contact: Rodolfo Giometti <giometti@linux.it>12Description:13 The /sys/class/c2port/c2portX/ directory is related to X-th14 C2 port into the system. Each directory will contain files to15 manage and control its C2 port.16 17What: /sys/class/c2port/c2portX/access18Date: October 200819Contact: Rodolfo Giometti <giometti@linux.it>20Description:21 The /sys/class/c2port/c2portX/access file enable the access22 to the C2 port from the system. No commands can be sent23 till this entry is set to 0.24 25What: /sys/class/c2port/c2portX/dev_id26Date: October 200827Contact: Rodolfo Giometti <giometti@linux.it>28Description:29 The /sys/class/c2port/c2portX/dev_id file show the device ID30 of the connected micro.31 32What: /sys/class/c2port/c2portX/flash_access33Date: October 200834Contact: Rodolfo Giometti <giometti@linux.it>35Description:36 The /sys/class/c2port/c2portX/flash_access file enable the37 access to the on-board flash of the connected micro.38 No commands can be sent till this entry is set to 0.39 40What: /sys/class/c2port/c2portX/flash_block_size41Date: October 200842Contact: Rodolfo Giometti <giometti@linux.it>43Description:44 The /sys/class/c2port/c2portX/flash_block_size file show45 the on-board flash block size of the connected micro.46 47What: /sys/class/c2port/c2portX/flash_blocks_num48Date: October 200849Contact: Rodolfo Giometti <giometti@linux.it>50Description:51 The /sys/class/c2port/c2portX/flash_blocks_num file show52 the on-board flash blocks number of the connected micro.53 54What: /sys/class/c2port/c2portX/flash_data55Date: October 200856Contact: Rodolfo Giometti <giometti@linux.it>57Description:58 The /sys/class/c2port/c2portX/flash_data file export59 the content of the on-board flash of the connected micro.60 61What: /sys/class/c2port/c2portX/flash_erase62Date: October 200863Contact: Rodolfo Giometti <giometti@linux.it>64Description:65 The /sys/class/c2port/c2portX/flash_erase file execute66 the "erase" command on the on-board flash of the connected67 micro.68 69What: /sys/class/c2port/c2portX/reset70Date: October 200871Contact: Rodolfo Giometti <giometti@linux.it>72Description:73 The /sys/class/c2port/c2portX/reset file execute a "reset"74 command on the connected micro.75 76What: /sys/class/c2port/c2portX/rev_id77Date: October 200878Contact: Rodolfo Giometti <giometti@linux.it>79Description:80 The /sys/class/c2port/c2portX/rev_id file show the revision ID81 of the connected micro.82