mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
f1d183d6fe
* Restructure files, begin header restructure * Format * us2dex * Fix parallel spelling Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> * Use OS_K0_TO_PHYSICAL in place of VIRTUAL_TO_PHYSICAL in osAiSetNextBuffer * Uppercase hex, exception vector address defines * Interrupt flags 1 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Interrupt flags 2 Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
15 lines
349 B
C
15 lines
349 B
C
#ifndef ULTRA64_MOTOR_H
|
|
#define ULTRA64_MOTOR_H
|
|
|
|
#include "pfs.h"
|
|
|
|
#define MOTOR_START 1
|
|
#define MOTOR_STOP 0
|
|
|
|
#define osMotorStart(x) __osMotorAccess((x), MOTOR_START)
|
|
#define osMotorStop(x) __osMotorAccess((x), MOTOR_STOP)
|
|
|
|
s32 __osMotorAccess(OSPfs* pfs, u32 vibrate);
|
|
s32 osMotorInit(OSMesgQueue* ctrlrqueue, OSPfs* pfs, s32 channel);
|
|
|
|
#endif
|