<commit_before>/**
 * @file gpio.h
 * @author <NAME>
 * @date 2016
 * @copyright 3-clause BSD
 */


#ifndef __LETMECREATE_CORE_GPIO_H__
#define __LETMECREATE_CORE_GPIO_H__

#include <stdint.h>
#include <letmecreate/core/export.h>

/** GPIO pin number */
enum GPIO_PIN {
    MIKROBUS_1_AN  = 22,
    MIKROBUS_1_RST = 23,
    MIKROBUS_1_PWM = 73,
    MIKROBUS_1_INT = 21,
    MIKROBUS_2_AN  = 25,
    MIKROBUS_2_RST = 27,
    MIKROBUS_2_PWM = 74,
    MIKROBUS_2_INT = 24,

    GPIO_14        = 14,
    GPIO_21        = 21,
    GPIO_22        = 22,
    GPIO_23        = 23,
    GPIO_24        = 24,
    GPIO_25        = 25,
    GPIO_27        = 27,
    GPIO_31        = 31,
    GPIO_73        = 73,
    GPIO_74        = 74,
    GPIO_75        = 75,
    GPIO_88        = 88,
    GPIO_89        = 89,

    /* GPIO on Raspberry Pi interface only */
    GPIO_72        = 72,
    GPIO_80        = 80,
    GPIO_81        = 81,
    GPIO_82        = 82,
    GPIO_83        = 83,
    GPIO_84        = 84,
    GPIO_85        = 85
};

/** GPIO direction */
enum GPIO_DIR {
    GPIO_OUTPUT,<commit_msg>gpio: add defines for rpi header<commit_after>/**
 * @file gpio.h
 * @author <NAME>
 * @date 2016
 * @copyright 3-clause BSD
 */


#ifndef __LETMECREATE_CORE_GPIO_H__
#define __LETMECREATE_CORE_GPIO_H__

#include <stdint.h>
#include <letmecreate/core/export.h>

/** GPIO pin number */
enum GPIO_PIN {
    MIKROBUS_1_AN  = 22,
    MIKROBUS_1_RST = 23,
    MIKROBUS_1_PWM = 73,
    MIKROBUS_1_INT = 21,
    MIKROBUS_2_AN  = 25,
    MIKROBUS_2_RST = 27,
    MIKROBUS_2_PWM = 74,
    MIKROBUS_2_INT = 24,

    GPIO_14        = 14,
    GPIO_21        = 21,
    GPIO_22        = 22,
    GPIO_23        = 23,
    GPIO_24        = 24,
    GPIO_25        = 25,
    GPIO_27        = 27,
    GPIO_31        = 31,
    GPIO_73        = 73,
    GPIO_74        = 74,
    GPIO_75        = 75,
    GPIO_88        = 88,
    GPIO_89        = 89,

    /* GPIO on Raspberry Pi interface only */
    GPIO_72        = 72,
    GPIO_80        = 80,
    GPIO_81        = 81,
    GPIO_82        = 82,
    GPIO_83        = 83,
    GPIO_84        = 84,
    GPIO_85        = 85,

    RPI_GPIO_4     = 22,
    RPI_GPIO_5     = 27,
    RPI_GPIO_6     = 72,
    RPI_GPIO_9     = 89,
    RPI_GPIO_10    = 88,
    RPI_GPIO_11    = 31,
    RPI_GPIO_12    = 74,
    RPI_GPIO_13    = 80,
    RPI_GPIO_14    = 14,
    RPI_GPIO_15    = 75,
    RPI_GPIO_16    = 82,
    RPI_GPIO_17    = 25,
    RPI_GPIO_19    = 81,
    RPI_GPIO_20    = 84,
    RPI_GPIO_21    = 85,
    RPI_GPIO_22    = 24,
    RPI_GPIO_24    = 73,
    RPI_GPIO_25    = 21,
    RPI_GPIO_26    = 83,
    RPI_GPIO_27    = 23
};

/** GPIO direction */
enum GPIO_DIR {
    GPIO_OUTPUT,
{'fraction_non_alphanumeric': 0.09391239792130661, 'fraction_numerical': 0.1091314031180401, 'mean_word_length': 1.569113441372736, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7565539', 'n_tokens_mistral': 1325, 'n_tokens_neox': 1099, 'n_words': 224}