libws libws
WSwan hardware library for the Wonderful toolchain
Loading...
Searching...
No Matches
gpio.h File Reference
#include <wonderful.h>
#include "../ports.h"
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define WS_CART_GPIO_PIN(n)
#define WS_CART_GPIO_PIN_0   0x01
#define WS_CART_GPIO_PIN_1   0x02
#define WS_CART_GPIO_PIN_2   0x04
#define WS_CART_GPIO_PIN_3   0x08

Functions

void ws_cart_gpio_set_output (uint8_t mask)
void ws_cart_gpio_set_input (uint8_t mask)
void ws_cart_gpio_set (uint8_t mask)
void ws_cart_gpio_clear (uint8_t mask)

Detailed Description

Functionality related to the on-cartridge GPIO.

Definition in file gpio.h.