4 (c) 2008 Yanira <forum-2008@email.de>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 m = Map("mmc_over_gpio", translate("MMC/SD driver configuration"),
17 translate("MMC/SD driver configuration"))
19 s = m:section(TypedSection, "mmc_over_gpio", translate("Settings"))
23 s:option(Flag, "enabled", translate("Enable"))
25 s:option(Value, "name", translate("Name"))
27 pin = s:option(Value, "DI_pin", translate("DI_pin"))
28 for i = 0,7 do pin:value(i) end
30 pin = s:option(Value, "DO_pin", translate("DO_pin"))
31 for i = 0,7 do pin:value(i) end
33 pin = s:option(Value, "CLK_pin", translate("CLK_pin"))
34 for i = 0,7 do pin:value(i) end
36 pin = s:option(Value, "CS_pin", translate("CS_pin"))
37 for i = 0,7 do pin:value(i) end
39 s:option(Value, "mode", translate("Mode"))