/* * Copyright (c) 2018-2019 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 . */ #pragma once #include static constexpr u32 Module_I2c = 101; static constexpr Result ResultI2cNoAck = MAKERESULT(Module_I2c, 1); static constexpr Result ResultI2cBusBusy = MAKERESULT(Module_I2c, 2); static constexpr Result ResultI2cFullCommandList = MAKERESULT(Module_I2c, 3); static constexpr Result ResultI2cTimedOut = MAKERESULT(Module_I2c, 4); static constexpr Result ResultI2cUnknownDevice = MAKERESULT(Module_I2c, 5);