mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 12:22:08 +00:00
79 lines
3.6 KiB
PHP
79 lines
3.6 KiB
PHP
/*
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
constexpr InitialConfig InitialConfigsHoag[] = {
|
|
{0x05, GpioDirection_Output, GpioValue_Low},
|
|
{0x06, GpioDirection_Input, GpioValue_Low},
|
|
{0x50, GpioDirection_Output, GpioValue_Low},
|
|
{0x51, GpioDirection_Output, GpioValue_Low},
|
|
{0x52, GpioDirection_Output, GpioValue_Low},
|
|
{0x53, GpioDirection_Output, GpioValue_Low},
|
|
{0x02, GpioDirection_Output, GpioValue_Low},
|
|
{0x3C, GpioDirection_Input, GpioValue_Low},
|
|
{0x56, GpioDirection_Input, GpioValue_High},
|
|
{0x0F, GpioDirection_Input, GpioValue_High},
|
|
{0x09, GpioDirection_Input, GpioValue_Low},
|
|
{0x0A, GpioDirection_Output, GpioValue_Low},
|
|
{0x0B, GpioDirection_Input, GpioValue_Low},
|
|
{0x57, GpioDirection_Output, GpioValue_Low},
|
|
{0x58, GpioDirection_Output, GpioValue_Low},
|
|
{0x0D, GpioDirection_Output, GpioValue_Low},
|
|
{0x59, GpioDirection_Output, GpioValue_Low},
|
|
{0x14, GpioDirection_Input, GpioValue_High},
|
|
{0x16, GpioDirection_Input, GpioValue_Low},
|
|
{0x15, GpioDirection_Input, GpioValue_Low},
|
|
{0x17, GpioDirection_Input, GpioValue_High},
|
|
{0x18, GpioDirection_Input, GpioValue_Low},
|
|
{0x19, GpioDirection_Input, GpioValue_High},
|
|
{0x1A, GpioDirection_Input, GpioValue_High},
|
|
{0x1B, GpioDirection_Input, GpioValue_Low},
|
|
{0x1C, GpioDirection_Input, GpioValue_High},
|
|
{0x1D, GpioDirection_Output, GpioValue_Low},
|
|
{0x1E, GpioDirection_Output, GpioValue_Low},
|
|
{0x5B, GpioDirection_Input, GpioValue_High},
|
|
{0x20, GpioDirection_Output, GpioValue_Low},
|
|
{0x21, GpioDirection_Input, GpioValue_Low},
|
|
{0x38, GpioDirection_Input, GpioValue_High},
|
|
{0x23, GpioDirection_Input, GpioValue_High},
|
|
{0x01, GpioDirection_Output, GpioValue_Low},
|
|
{0x5C, GpioDirection_Output, GpioValue_Low},
|
|
{0x54, GpioDirection_Input, GpioValue_Low},
|
|
{0x24, GpioDirection_Output, GpioValue_Low},
|
|
{0x25, GpioDirection_Input, GpioValue_Low},
|
|
{0x26, GpioDirection_Input, GpioValue_Low},
|
|
{0x27, GpioDirection_Input, GpioValue_Low},
|
|
{0x28, GpioDirection_Input, GpioValue_High},
|
|
{0x1F, GpioDirection_Output, GpioValue_Low},
|
|
{0x4F, GpioDirection_Input, GpioValue_High},
|
|
{0x55, GpioDirection_Output, GpioValue_Low},
|
|
{0x5F, GpioDirection_Input, GpioValue_Low},
|
|
{0x60, GpioDirection_Input, GpioValue_Low},
|
|
{0x61, GpioDirection_Input, GpioValue_Low},
|
|
{0x62, GpioDirection_Input, GpioValue_Low},
|
|
{0x2D, GpioDirection_Output, GpioValue_Low},
|
|
{0x2E, GpioDirection_Output, GpioValue_Low},
|
|
{0x37, GpioDirection_Input, GpioValue_Low},
|
|
{0x2F, GpioDirection_Output, GpioValue_Low},
|
|
{0x03, GpioDirection_Output, GpioValue_Low},
|
|
{0x30, GpioDirection_Input, GpioValue_Low},
|
|
{0x3B, GpioDirection_Input, GpioValue_Low},
|
|
{0x31, GpioDirection_Output, GpioValue_Low},
|
|
{0x32, GpioDirection_Output, GpioValue_Low},
|
|
{0x33, GpioDirection_Output, GpioValue_Low},
|
|
{0x5A, GpioDirection_Output, GpioValue_Low},
|
|
};
|
|
|
|
constexpr u32 NumInitialConfigsHoag = util::size(InitialConfigsHoag);
|