Line 157: |
Line 157: |
| | 0x20 || 0x4 || u32. Capacity now per cent-mille (i.e. 100% = 100000 pcm) | | | 0x20 || 0x4 || u32. Capacity now per cent-mille (i.e. 100% = 100000 pcm) |
| |- | | |- |
− | | 0x24 || 0x4 || u32. Voltage now in mV | + | | 0x24 || 0x4 || u32. Voltage avg in mV |
| |- | | |- |
| | 0x28 || 0x4 || u32. Battery age (capacity full / capacity design) per cent-mille (i.e. 100% = 100000 pcm) | | | 0x28 || 0x4 || u32. Battery age (capacity full / capacity design) per cent-mille (i.e. 100% = 100000 pcm) |
Line 169: |
Line 169: |
| | 0x38 || 0x4 || u32. Charger current limit in mA | | | 0x38 || 0x4 || u32. Charger current limit in mA |
| |- | | |- |
− | | 0x3C || 0x4 || Possibly bit field (bit0: potentially no hub, bit8: unknown, bit12: OTG) | + | | 0x3C || 0x4 || Bit field (bit0: potentially no hub, bit8: Joy-con charging, bit12: OTG) |
| |- | | |- |
| |} | | |} |
Line 241: |
Line 241: |
| | 0 || SetOperatingMode | | | 0 || SetOperatingMode |
| |- | | |- |
− | | 1 || GetThermalEvent | + | | 1 || [1.0.0-10.2.0] GetThermalEvent |
| |- | | |- |
| | 2 || IsActionAllowed | | | 2 || IsActionAllowed |
Line 258: |
Line 258: |
| |- | | |- |
| | 9 || [5.0.0+] GetSkinTemperatureMilliC | | | 9 || [5.0.0+] GetSkinTemperatureMilliC |
| + | |- |
| + | | 10 || [11.0.0+] LoadAndApplySettings |
| |} | | |} |
| | | |
Line 313: |
Line 315: |
| | | |
| The output is the temperature in MilliC. | | The output is the temperature in MilliC. |
− |
| |
− | == Location ==
| |
− | {| class="wikitable" border="1"
| |
− | |-
| |
− | ! Value || Name
| |
− | |-
| |
− | | 0 || Internal
| |
− | |-
| |
− | | 1 || External
| |
− | |}
| |
| | | |
| = pcm = | | = pcm = |
Line 393: |
Line 385: |
| == SetCpuBoostMode == | | == SetCpuBoostMode == |
| Takes an u32 [[#CpuBoostMode]]. | | Takes an u32 [[#CpuBoostMode]]. |
− |
| |
− | === CpuBoostMode ===
| |
− | {| class="wikitable" border="1"
| |
− | |-
| |
− | ! Mode || Description
| |
− | |-
| |
− | | 0 || Disabled.
| |
− | |-
| |
− | | 1 || Boost CPU. Additionally, throttle GPU to minimum.
| |
− | Use [[#PerformanceConfiguration|performance configurations]] 0x92220009 and 0x9222000A, or 0x9222000B and 0x9222000C.
| |
− | |-
| |
− | | 2 || Conserve power. Only throttle GPU to minimum.
| |
− | Use [[#PerformanceConfiguration|performance configurations]] 0x9222000B and 0x9222000C.
| |
− | |}
| |
| | | |
| == GetCurrentPerformanceConfiguration == | | == GetCurrentPerformanceConfiguration == |
Line 433: |
Line 411: |
| == SetCpuOverclockEnabled == | | == SetCpuOverclockEnabled == |
| Takes an input u8 bool, no output. | | Takes an input u8 bool, no output. |
− |
| |
− | == PerformanceMode ==
| |
− | {| class="wikitable" border="1"
| |
− | |-
| |
− | ! Value || Name
| |
− | |-
| |
− | | 0 || Normal
| |
− | |-
| |
− | | 1 || Boost
| |
− | |}
| |
− |
| |
− | == PerformanceConfiguration ==
| |
− | {| class="wikitable" border="1"
| |
− | |-
| |
− | ! Value || CPU clock || GPU clock || Memory clock
| |
− | |-
| |
− | | 0x00010000 || 1020.0 || 384.0 || 1600.0
| |
− | |-
| |
− | | 0x00010001 || 1020.0 || 768.0 || 1600.0
| |
− | |-
| |
− | | 0x00010002 || 1224.0 || 691.2 || 1600.0
| |
− | |-
| |
− | | 0x00020000 || 1020.0 || 230.4 || 1600.0
| |
− | |-
| |
− | | 0x00020001 || 1020.0 || 307.2 || 1600.0
| |
− | |-
| |
− | | 0x00020002 || 1224.0 || 230.4 || 1600.0
| |
− | |-
| |
− | | 0x00020003 || 1020.0 || 307.2 || 1331.2
| |
− | |-
| |
− | | 0x00020004 || 1020.0 || 384.0 || 1331.2
| |
− | |-
| |
− | | 0x00020005 || 1020.0 || 307.2 || 1065.6
| |
− | |-
| |
− | | 0x00020006 || 1020.0 || 384.0 || 1065.6
| |
− | |-
| |
− | | 0x92220007 || 1020.0 || 460.8 || 1600.0
| |
− | |-
| |
− | | 0x92220008 || 1020.0 || 460.8 || 1331.2
| |
− | |-
| |
− | | [7.0.0+] 0x92220009 || 1785.0 || 76.8 || 1600.0
| |
− | |-
| |
− | | [7.0.0+] 0x9222000A || 1785.0 || 76.8 || 1331.2
| |
− | |-
| |
− | | [7.0.0+] 0x9222000B || 1020.0 || 76.8 || 1600.0
| |
− | |-
| |
− | | [7.0.0+] 0x9222000C || 1020.0 || 76.8 || 1331.2
| |
− | |}
| |
− |
| |
− | Clocks are all in MHz.
| |
− |
| |
− | Configurations 0x10001 and 0x20000 are only available while docked. Configurations 0x10002 and 0x20002 are only available for SDEV units.
| |
| | | |
| = fgm, fgm:0, fgm:1, fgm:2, fgm:3, fgm:4, fgm:5, fgm:6, fgm:7, fgm:9 = | | = fgm, fgm:0, fgm:1, fgm:2, fgm:3, fgm:4, fgm:5, fgm:6, fgm:7, fgm:9 = |
Line 546: |
Line 472: |
| | | |
| = lbl = | | = lbl = |
− | This is "nn::lbl::detail::ILblController". This was moved from [[Backlight_services|lbl]] with [10.0.0+]. | + | This is "nn::lbl::detail::ILblController". |
| + | |
| + | [10.0.0+] This was moved from [[Backlight_services|lbl]]. |
| + | |
| + | [11.0.0+] this was moved into [[Display_services|vi]]. |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
Line 651: |
Line 581: |
| == IsVrModeEnabled == | | == IsVrModeEnabled == |
| No input. Returns an output u8 bool set by the above commands. | | No input. Returns an output u8 bool set by the above commands. |
| + | |
| + | = Location = |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Value || Name |
| + | |- |
| + | | 0 || Internal |
| + | |- |
| + | | 1 || External |
| + | |} |
| + | |
| + | = CpuBoostMode = |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Value || Description |
| + | |- |
| + | | 0 || Disabled. |
| + | |- |
| + | | 1 || Boost CPU. Additionally, throttle GPU to minimum. |
| + | Use [[#PerformanceConfiguration|performance configurations]] 0x92220009 and 0x9222000A, or 0x9222000B and 0x9222000C. |
| + | |- |
| + | | 2 || Conserve power. Only throttle GPU to minimum. |
| + | Use [[#PerformanceConfiguration|performance configurations]] 0x9222000B and 0x9222000C. |
| + | |} |
| + | |
| + | = PerformanceMode = |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Value || Description |
| + | |- |
| + | | -1 || Invalid |
| + | |- |
| + | | 0 || Normal |
| + | |- |
| + | | 1 || Boost |
| + | |} |
| + | |
| + | = PerformanceConfiguration = |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Value || Description || CPU clock (MHz) || GPU clock (MHz) || Memory clock (MHz) |
| + | |- |
| + | | 0x00000000 || Invalid || 0 || 0 || 0 |
| + | |- |
| + | | 0x00010000 || Cpu1020MhzGpu384MhzEmc1600Mhz || 1020.0 || 384.0 || 1600.0 |
| + | |- |
| + | | 0x00010001 || Cpu1020MhzGpu768MhzEmc1600Mhz || 1020.0 || 768.0 || 1600.0 |
| + | |- |
| + | | 0x00010002 || Cpu1224MhzGpu691MhzEmc1600Mhz || 1224.0 || 691.2 || 1600.0 |
| + | |- |
| + | | 0x00020000 || Cpu1020MhzGpu230MhzEmc1600Mhz || 1020.0 || 230.4 || 1600.0 |
| + | |- |
| + | | 0x00020001 || Cpu1020MhzGpu307MhzEmc1600Mhz || 1020.0 || 307.2 || 1600.0 |
| + | |- |
| + | | 0x00020002 || Cpu1224MhzGpu230MhzEmc1600Mhz || 1224.0 || 230.4 || 1600.0 |
| + | |- |
| + | | 0x00020003 || Cpu1020MhzGpu307MhzEmc1331Mhz || 1020.0 || 307.2 || 1331.2 |
| + | |- |
| + | | 0x00020004 || Cpu1020MhzGpu384MhzEmc1331Mhz || 1020.0 || 384.0 || 1331.2 |
| + | |- |
| + | | 0x00020005 || Cpu1020MhzGpu307MhzEmc1065Mhz || 1020.0 || 307.2 || 1065.6 |
| + | |- |
| + | | 0x00020006 || Cpu1020MhzGpu384MhzEmc1065Mhz || 1020.0 || 384.0 || 1065.6 |
| + | |- |
| + | | 0x92220007 || Cpu1020MhzGpu460MhzEmc1600Mhz || 1020.0 || 460.8 || 1600.0 |
| + | |- |
| + | | 0x92220008 || Cpu1020MhzGpu460MhzEmc1331Mhz || 1020.0 || 460.8 || 1331.2 |
| + | |- |
| + | | [7.0.0+] 0x92220009 || || 1785.0 || 76.8 || 1600.0 |
| + | |- |
| + | | [7.0.0+] 0x9222000A || || 1785.0 || 76.8 || 1331.2 |
| + | |- |
| + | | [7.0.0+] 0x9222000B || || 1020.0 || 76.8 || 1600.0 |
| + | |- |
| + | | [7.0.0+] 0x9222000C || || 1020.0 || 76.8 || 1331.2 |
| + | |} |
| + | |
| + | Configurations 0x10001 and 0x20000 are only available while docked. Configurations 0x10002 and 0x20002 are only available for SDEV units. |
| | | |
| = Module = | | = Module = |