Fix contraction and unnecessary commas in function arguments.
Found with mandoc and igor.
This commit is contained in:
parent
de85f85a3a
commit
5126a47396
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279788
@ -25,7 +25,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 7, 2015
|
.Dd March 8, 2015
|
||||||
.Dt GPIO 3
|
.Dt GPIO 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -43,43 +43,43 @@
|
|||||||
.Ft void
|
.Ft void
|
||||||
.Fn gpio_close "gpio_handle_t handle"
|
.Fn gpio_close "gpio_handle_t handle"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_list "gpio_handle_t handle, gpio_config_t **pcfgs"
|
.Fn gpio_pin_list "gpio_handle_t handle" "gpio_config_t **pcfgs"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_config "gpio_handle_t handle, gpio_config_t *cfg"
|
.Fn gpio_pin_config "gpio_handle_t handle" "gpio_config_t *cfg"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_set_name "gpio_handle_t handle, gpio_pin_t pin, char *name"
|
.Fn gpio_pin_set_name "gpio_handle_t handle" "gpio_pin_t pin" "char *name"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_set_flags "gpio_handle_t handle, gpio_config_t *cfg"
|
.Fn gpio_pin_set_flags "gpio_handle_t handle" "gpio_config_t *cfg"
|
||||||
.Ft gpio_value_t
|
.Ft gpio_value_t
|
||||||
.Fn gpio_pin_get "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_get "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_set "gpio_handle_t handle, gpio_pin_t pin, gpio_value_t value"
|
.Fn gpio_pin_set "gpio_handle_t handle" "gpio_pin_t pin" "gpio_value_t value"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_toggle "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_toggle "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_low "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_low "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_high "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_high "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_input "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_input "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_output "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_output "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_opendrain "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_opendrain "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_pushpull "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_pushpull "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_tristate "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_tristate "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_pullup "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_pullup "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_pulldown "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_pulldown "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_invin "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_invin "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_invout "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_invout "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn gpio_pin_pulsate "gpio_handle_t handle, gpio_pin_t pin"
|
.Fn gpio_pin_pulsate "gpio_handle_t handle" "gpio_pin_t pin"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm libgpio
|
.Nm libgpio
|
||||||
@ -101,7 +101,7 @@ This function takes a pointer to a
|
|||||||
which is dynamically allocated.
|
which is dynamically allocated.
|
||||||
This pointer should be freed with
|
This pointer should be freed with
|
||||||
.Xr free 3
|
.Xr free 3
|
||||||
when it's no longer necessary.
|
when it is no longer necessary.
|
||||||
.Pp
|
.Pp
|
||||||
The function
|
The function
|
||||||
.Fn gpio_pin_config
|
.Fn gpio_pin_config
|
||||||
|
Loading…
Reference in New Issue
Block a user