<commit_before>#include "SPIDisplay.h"

#define TOTAL_SPI_DISPLAY_CONTROLLER 1

extern const TinyCLR_Api_Manager* apiManager;

static TinyCLR_Display_Controller spiDisplayControllers[TOTAL_SPI_DISPLAY_CONTROLLER];
static TinyCLR_Api_Info spiDisplayApi[TOTAL_SPI_DISPLAY_CONTROLLER];
static TinyCLR_Display_DataFormat spiDisplayDataFormats[] = { TinyCLR_Display_DataFormat::Rgb565 };
static int32_t spiDisplayWidth = 0;
static int32_t spiDisplayHeight = 0;
static TinyCLR_Display_SpiConfiguration spiDisplayConfig;
static const TinyCLR_Spi_Controller* spiDisplayBus;

const TinyCLR_Api_Info* SPIDisplay_GetApi() {
    for (auto i = 0; i < TOTAL_SPI_DISPLAY_CONTROLLER; i++) {
        spiDisplayControllers[i].ApiInfo = &spiDisplayApi[i];
        spiDisplayControllers[i].Acquire = &SPIDisplay_Acquire;
        spiDisplayControllers[i].Release = &SPIDisplay_Release;
        spiDisplayControllers[i].Enable = &SPIDisplay_Enable;
        spiDisplayControllers[i].Disable = &SPIDisplay_Disable;
        spiDisplayControllers[i].SetConfiguration = &SPIDisplay_SetConfiguration;
        spiDisplayControllers[i].GetConfiguration = &SPIDisplay_GetConfiguration;
        spiDisplayControllers[i].GetCapabilities = &SPIDisplay_GetCapabilities;
        spiDisplayControllers[i].DrawBuffer = &SPIDisplay_DrawBuffer;
        spiDisplayControllers[i].WriteString = &SPIDisplay_WriteString;

        spiDisplayApi[i].Author = "GHI Electronics, LLC";
        spiDisplayApi[i].Name = "GHIElectronics.TinyCLR.NativeApis.Drivers.SPIDisplay";
        spiDisplayApi[i].Type = TinyCLR_Api_Type::DisplayController;
        spiDisplayApi[i].Version = 0;<commit_msg>Rename<commit_after>#include "SPIDisplay.h"

#define TOTAL_SPI_DISPLAY_CONTROLLERS 1

extern const TinyCLR_Api_Manager* apiManager;

static TinyCLR_Display_Controller spiDisplayControllers[TOTAL_SPI_DISPLAY_CONTROLLERS];
static TinyCLR_Api_Info spiDisplayApi[TOTAL_SPI_DISPLAY_CONTROLLERS];
static TinyCLR_Display_DataFormat spiDisplayDataFormats[] = { TinyCLR_Display_DataFormat::Rgb565 };
static int32_t spiDisplayWidth = 0;
static int32_t spiDisplayHeight = 0;
static TinyCLR_Display_SpiConfiguration spiDisplayConfig;
static const TinyCLR_Spi_Controller* spiDisplayBus;

const TinyCLR_Api_Info* SPIDisplay_GetApi() {
    for (auto i = 0; i < TOTAL_SPI_DISPLAY_CONTROLLERS; i++) {
        spiDisplayControllers[i].ApiInfo = &spiDisplayApi[i];
        spiDisplayControllers[i].Acquire = &SPIDisplay_Acquire;
        spiDisplayControllers[i].Release = &SPIDisplay_Release;
        spiDisplayControllers[i].Enable = &SPIDisplay_Enable;
        spiDisplayControllers[i].Disable = &SPIDisplay_Disable;
        spiDisplayControllers[i].SetConfiguration = &SPIDisplay_SetConfiguration;
        spiDisplayControllers[i].GetConfiguration = &SPIDisplay_GetConfiguration;
        spiDisplayControllers[i].GetCapabilities = &SPIDisplay_GetCapabilities;
        spiDisplayControllers[i].DrawBuffer = &SPIDisplay_DrawBuffer;
        spiDisplayControllers[i].WriteString = &SPIDisplay_WriteString;

        spiDisplayApi[i].Author = "GHI Electronics, LLC";
        spiDisplayApi[i].Name = "GHIElectronics.TinyCLR.NativeApis.Drivers.SPIDisplay";
        spiDisplayApi[i].Type = TinyCLR_Api_Type::DisplayController;
        spiDisplayApi[i].Version = 0;
{'fraction_non_alphanumeric': 0.08351112465711673, 'fraction_numerical': 0.00731484303565986, 'mean_word_length': 5.938689217758985, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '907068', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1086, 'n_words': 147}