#include "ove_config.h"
#include "ove/board.h"
#include "ove/gpio.h"
#include "ove/led.h"
Go to the source code of this file.
|
| typedef void(* | ove_gpio_irq_cb) (unsigned int port, unsigned int pin, void *user_data) |
| | GPIO interrupt callback type (re-exported for BSP-only callers).
|
| |
|
| static int | ove_bsp_board_init (void) |
| | Initialise the board hardware (BSP compatibility wrapper).
|
| |
| static void | ove_bsp_led_set (unsigned int led, int on) |
| | Turn a board LED on or off (BSP compatibility wrapper).
|
| |
| static void | ove_bsp_led_toggle (unsigned int led) |
| | Toggle the current state of a board LED (BSP compatibility wrapper).
|
| |
| static int | ove_bsp_gpio_set (unsigned int port, unsigned int pin, int value) |
| | Set the output level of a GPIO pin (BSP compatibility wrapper).
|
| |
| static int | ove_bsp_gpio_get (unsigned int port, unsigned int pin) |
| | Read the current level of a GPIO pin (BSP compatibility wrapper).
|
| |
| static int | ove_bsp_gpio_irq_register (unsigned int port, unsigned int pin, ove_gpio_irq_mode_t mode, ove_gpio_irq_cb callback, void *user_data) |
| | Register a GPIO interrupt callback (BSP compatibility wrapper).
|
| |
| static int | ove_bsp_gpio_irq_enable (unsigned int port, unsigned int pin) |
| | Enable a registered GPIO interrupt (BSP compatibility wrapper).
|
| |
| static int | ove_bsp_gpio_irq_disable (unsigned int port, unsigned int pin) |
| | Disable a GPIO interrupt without unregistering it (BSP compatibility wrapper).
|
| |
| static int | ove_bsp_gpio_irq_unregister (unsigned int port, unsigned int pin) |
| | Unregister a GPIO interrupt (BSP compatibility wrapper).
|
| |