Complete MCU services implementation#595
Open
ZeroSkill1 wants to merge 4 commits into
Open
Conversation
TuxSH
requested changes
May 20, 2026
| return &mcuHidHandle; | ||
| } | ||
|
|
||
| Result MCUHID_SetSensorConfiguration(MCU_SensorConfig config) |
Collaborator
There was a problem hiding this comment.
Are you sure this sets both accel on and pedometer on bits, or just accel on? I suspect it's just accel on
Contributor
Author
There was a problem hiding this comment.
It's indeed just accelerometer on, as it does & 1 when writing to the register.
TuxSH
requested changes
May 20, 2026
| * @brief Gets the event handle for MCUGPU related events. | ||
| * @param out_event Pointer to output the event handle to. | ||
| */ | ||
| Result MCUGPU_GetEventHandle(Handle *out_event); |
Contributor
Author
There was a problem hiding this comment.
Yes, I originally based most of the naming on what I saw on 3dbrew.
TuxSH
requested changes
May 20, 2026
| #include <3ds/types.h> | ||
|
|
||
| /// SRV notifications published by the MCU system module. | ||
| enum MCU_InterruptNotification |
Collaborator
There was a problem hiding this comment.
typedef enum Name { } Name; (a few occurences of this)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements all 9 MCU services and adds related definitions.