openMMC
Open Source Modular MMC for AMCs
|
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | pincfg_mode { pin_mode_pullup = 0 , pin_mode_repeater = 1 , pin_mode_none = 2 , pin_mode_pulldown = 3 } |
enum | pincfg_func { pin_func_gpio = 0 , pin_func_alt1 = 1 , pin_func_alt2 = 2 , pin_func_alt3 = 3 } |
Functions | |
void | lp17_pincfg (uint8_t port, uint8_t pin, enum pincfg_mode mode, enum pincfg_func func) |
enum pincfg_func |
enum pincfg_mode |
void lp17_pincfg | ( | uint8_t | port, |
uint8_t | pin, | ||
enum pincfg_mode | mode, | ||
enum pincfg_func | func ) |