Pinmux

Overview

API Reference

group pinmux_interface

Pinmux Interface.

Defines

PINMUX_FUNC_A
PINMUX_FUNC_B
PINMUX_FUNC_C
PINMUX_FUNC_D
PINMUX_FUNC_E
PINMUX_FUNC_F
PINMUX_FUNC_G
PINMUX_FUNC_H
PINMUX_PULLUP_ENABLE
PINMUX_PULLUP_DISABLE
PINMUX_INPUT_ENABLED
PINMUX_OUTPUT_ENABLED

Typedefs

typedef pmux_set

Callback API upon setting a PIN’s function See pinmux_pin_set() for argument description.

typedef pmux_get

Callback API upon getting a PIN’s function See pinmux_pin_get() for argument description.

typedef pmux_pullup

Callback API upon setting a PIN’s pullup See pinmix_pin_pullup() for argument description.

typedef pmux_input

Callback API upon setting a PIN’s input function See pinmux_input() for argument description.

Functions

static int pinmux_pin_set(struct device *dev, u32_t pin, u32_t func)
static int pinmux_pin_get(struct device *dev, u32_t pin, u32_t *func)
static int pinmux_pin_pullup(struct device *dev, u32_t pin, u8_t func)
static int pinmux_pin_input_enable(struct device *dev, u32_t pin, u8_t func)