Header file containing functions prototypes of AON GPIO HAL library. More...
Go to the source code of this file.
Classes | |
struct | _aon_gpio_init |
AON_GPIO init structure definition. More... | |
struct | _hal_aon_gpio_callback |
HAL AON_GPIO Callback function definition. More... | |
Typedefs | |
typedef struct _aon_gpio_init | aon_gpio_init_t |
AON_GPIO init structure definition. More... | |
typedef struct _hal_aon_gpio_callback | hal_aon_gpio_callback_t |
HAL AON_GPIO Callback function definition. More... | |
Enumerations | |
enum | aon_gpio_pin_state_t { AON_GPIO_PIN_RESET = 0U, AON_GPIO_PIN_SET } |
AON_GPIO Bit SET and Bit RESET enumerations. More... | |
Functions | |
void | hal_aon_gpio_init (const aon_gpio_init_t *p_aon_gpio_init) |
Initialize the AON_GPIOx peripheral according to the specified parameters in the aon_gpio_init_t. More... | |
void | hal_aon_gpio_deinit (uint32_t aon_gpio_pin) |
De-initialize the AON_GPIOx peripheral registers to their default reset values. More... | |
aon_gpio_pin_state_t | hal_aon_gpio_read_pin (uint16_t aon_gpio_pin) |
Read the specified input port pin. More... | |
void | hal_aon_gpio_write_pin (uint16_t aon_gpio_pin, aon_gpio_pin_state_t pin_state) |
Set or clear the selected data port bit. More... | |
void | hal_aon_gpio_toggle_pin (uint16_t aon_gpio_pin) |
Toggle the specified AON_GPIO pin. More... | |
void | hal_aon_gpio_irq_handler (void) |
Handle AON_GPIO interrupt request. More... | |
void | hal_aon_gpio_callback (uint16_t aon_gpio_pin) |
AON GPIO pin detection callback. More... | |
Header file containing functions prototypes of AON GPIO HAL library.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file hal_aon_gpio.h.