4 * Copyright 2005 Atheros Communications, Inc., All Rights Reserved.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation;
11 * Software distributed under the License is distributed on an "AS
12 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
13 * implied. See the License for the specific language governing
14 * rights and limitations under the License.
21 * Host-side General Purpose I/O API.
23 * $Id: //depot/sw/releases/olca2.0-GPL/host/include/gpio_api.h#1 $
27 * Send a command to the Target in order to change output on GPIO pins.
29 A_STATUS
wmi_gpio_output_set(struct wmi_t
*wmip
,
33 A_UINT32 disable_mask
);
36 * Send a command to the Target requesting input state of GPIO pins.
38 A_STATUS
wmi_gpio_input_get(struct wmi_t
*wmip
);
41 * Send a command to the Target to change the value of a GPIO register.
43 A_STATUS
wmi_gpio_register_set(struct wmi_t
*wmip
,
48 * Send a command to the Target to fetch the value of a GPIO register.
50 A_STATUS
wmi_gpio_register_get(struct wmi_t
*wmip
, A_UINT32 gpioreg_id
);
53 * Send a command to the Target, acknowledging some GPIO interrupts.
55 A_STATUS
wmi_gpio_intr_ack(struct wmi_t
*wmip
, A_UINT32 ack_mask
);
57 #endif /* _GPIO_API_H_ */
This page took 0.052507 seconds and 5 git commands to generate.