Page MenuHomec4science

sbcp-register-io.in
No OneTemporary

File Metadata

Created
Fri, Jan 10, 08:12

sbcp-register-io.in

.\" Copyright 2013 Alexandre Tuleu <alexandre.tuleu.2005@polytechnique.org>
.\" All rights reserved.
.TH "SBCP\-REGISTER\-IO" 1 "January 2013" "libsbcp @VERSION_STRING@" "libsbcp manual"
.SH "NAME"
sbcp\-register\-io \- A tool to read and write directly data to register.
.SH "SYNOPSIS"
.sp
.nf
\fIsbcp\-register\-io\fR [\-\-non\-interacive|\-s] [\-\-bus|\-b <bus>] [\-\-class|\-c <class>] [\-\-id|\-i <id>] [\-\-register|\-r]
\fIsbcp\-register\-io\fR [\-\-non\-interacive|\-s] [\-\-bus|\-b <bus>] [\-\-class|\-c <class>] [\-\-id|\-i <id>] [\-\-register|\-r <reg>] [\-\-unlock|\-u] \-\-value|\-v <value>
.fi
.sp
.SH "DESCRIPTION"
.PP
This command when no value are passed, will read and print the value of the register <reg> of device <class>:<id>.
If value is given, it will write the value to the register.
.SH "OPTIONS"
.PP
\-\-class,\-c <class>
.RS 4
Specify the <class> of the device, hexadecimal value.
.RE
.PP
\-\-id,\-i <id>
.RS 4
Specify the ID of the device, hexadecimal value.
.RE
.PP
\-\-register,\-r <reg>
.RS 4
Specify the register to read or write. Hexadecimal value.
.RE
.PP
\-\-value,\-v <value>
.RS 4
If given, will write <value> to register instead of reading it. Decimal value
.RE
.PP
.PP
\-\-unlock,\-u
.RS 4
Unlock the register before writing. Persistent register are protected and shoudl be unlocked first.
.RE
.PP
\-\-non\-interactive,\-s
.RS 4
If you forgot to specify an argument, you will by default be prompted for it. With this option the program will report an error instead (useful for script).
.RE
.PP
\-\-bus,\-b <bus>
.RS 4
Instead of using the 'default', use <bus>, as defined by sbcp-config(1).
.RE
.SH "BUGS"
To see or report bugs please use the bug tracker at https://redmine.amarsi-project.eu/projects/libsbcp/issues
.SH "AUTHOR"
Alexandre Tuleu <alexandre.tuleu.2005@polytechnique.org>
.SH "SEE ALSO"
.BR sbcp-config(1),
.BR sbcp-scanner(1),
.BR sbcp-id-modifier(1)

Event Timeline