mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-21 17:34:47 -05:00
nn_acp: Add missing functions related to DrcLed
This commit is contained in:
parent
ff92f616da
commit
50c3f75511
|
|
@ -9,3 +9,5 @@
|
|||
#include <nn/acp/result.h>
|
||||
#include <nn/acp/save.h>
|
||||
#include <nn/acp/title.h>
|
||||
#include <nn/acp/drcled_c.h>
|
||||
#include <nn/acp/drcled_cpp.h>
|
||||
|
|
|
|||
56
include/nn/acp/drcled_c.h
Normal file
56
include/nn/acp/drcled_c.h
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
#pragma once
|
||||
|
||||
#include <wut.h>
|
||||
#include <nn/acp/result.h>
|
||||
#include <nn/acp/device.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef uint8_t ACPDrcLedStatus;
|
||||
typedef uint32_t ACPDrcLedPattern;
|
||||
|
||||
void
|
||||
ACPDrcLedStartTest();
|
||||
|
||||
void
|
||||
ACPDrcLedStopTest();
|
||||
|
||||
void
|
||||
ACPGetDrcLedStat(ACPDrcLedStatus *ledStatus);
|
||||
|
||||
void
|
||||
ACPGetDrcLedStatusOfPattern(ACPDrcLedStatus *ledStatus,
|
||||
ACPDrcLedPattern pattern);
|
||||
|
||||
void
|
||||
ACPSetDrcLedDummyPowerStat(uint8_t unk1);
|
||||
|
||||
void
|
||||
ACPSetDrcLedTimerLength(uint64_t unk1,
|
||||
uint64_t unk2);
|
||||
|
||||
void
|
||||
ACPSetDrcLedTimerSpeed(uint32_t speed);
|
||||
|
||||
void
|
||||
ACPTurnOffDrcLed();
|
||||
|
||||
void
|
||||
ACPTurnOffDrcLedTest(uint8_t unk1);
|
||||
|
||||
void
|
||||
ACPTurnOnDrcLed(uint32_t unk1,
|
||||
ACPDrcLedPattern pattern);
|
||||
|
||||
void
|
||||
ACPTurnOnDrcLedTest(uint8_t unk1,
|
||||
uint32_t unk2,
|
||||
ACPDrcLedPattern pattern);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
59
include/nn/acp/drcled_cpp.h
Normal file
59
include/nn/acp/drcled_cpp.h
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
#pragma once
|
||||
|
||||
#include <wut.h>
|
||||
#include <nn/acp/result.h>
|
||||
#include <nn/acp/device.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
namespace nn {
|
||||
|
||||
namespace acp {
|
||||
|
||||
typedef uint8_t DrcLedStatus;
|
||||
typedef uint32_t DrcLedPattern;
|
||||
|
||||
void
|
||||
GetDrcLedStatusOfPattern(DrcLedStatus *ledStatus,
|
||||
DrcLedPattern pattern)
|
||||
asm("GetDrcLedStatusOfPattern__Q2_2nn3acpFPQ3_2nn3acp12DrcLedStatusQ3_2nn3acp13DrcLedPattern");
|
||||
|
||||
void
|
||||
SetDrcLedDummyPowerStat(uint8_t unk1)
|
||||
asm("SetDrcLedDummyPowerStat__Q2_2nn3acpFUc");
|
||||
|
||||
void
|
||||
SetDrcLedTimerLength(uint64_t unk1,
|
||||
uint64_t unk2)
|
||||
asm("SetDrcLedTimerLength__Q2_2nn3acpFULT1");
|
||||
|
||||
void
|
||||
SetDrcLedTimerSpeed(uint32_t speed)
|
||||
asm("SetDrcLedTimerSpeed__Q2_2nn3acpFUi");
|
||||
|
||||
void
|
||||
TurnOffDrcLed()
|
||||
asm("TurnOffDrcLed__Q2_2nn3acpFv");
|
||||
|
||||
void
|
||||
TurnOffDrcLedTest(uint8_t unk1)
|
||||
asm("TurnOffDrcLedTest__Q2_2nn3acpFUc");
|
||||
|
||||
void
|
||||
TurnOnDrcLed(uint32_t unk1,
|
||||
DrcLedPattern pattern)
|
||||
asm("TurnOnDrcLed__Q2_2nn3acpFUiQ3_2nn3acp13DrcLedPattern");
|
||||
|
||||
void
|
||||
TurnOnDrcLedTest(uint8_t unk1,
|
||||
uint32_t unk2,
|
||||
DrcLedPattern pattern)
|
||||
asm("TurnOnDrcLedTest__Q2_2nn3acpFUcUiQ3_2nn3acp13DrcLedPattern");
|
||||
|
||||
} //namespace acp
|
||||
|
||||
} //namespace nn
|
||||
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
|
@ -79,6 +79,8 @@
|
|||
#include <h264/decode.h>
|
||||
#include <nn/ac/ac_c.h>
|
||||
#include <nn/ac/ac_cpp.h>
|
||||
#include <nn/acp/drcled_c.h>
|
||||
#include <nn/acp/drcled_cpp.h>
|
||||
#include <nn/acp/device.h>
|
||||
#include <nn/acp/nn_acp_types.h>
|
||||
#include <nn/acp/result.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user