wut  v1.7.0
Wii U Toolchain
cec.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include <tve/cec.h>
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
21 BOOL
22 AVMCECInit(void);
23 
27 void
29 
33 void
35 
54 BOOL
56  TVECECOpCode opCode,
57  uint8_t *parameters,
58  uint8_t numParameters);
59 
82 BOOL
84  TVECECOpCode *outOpCode,
85  uint8_t *outParameters,
86  uint8_t *outNumParameters);
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
void AVMEnableCEC(void)
Enable CEC.
BOOL AVMCECInit(void)
Initializes CEC.
BOOL AVMCECReceiveCommand(TVECECLogicalAddress *outInitiator, TVECECOpCode *outOpCode, uint8_t *outParameters, uint8_t *outNumParameters)
Get the last receieved CEC command.
void AVMDisableCEC(void)
Disable CEC.
BOOL AVMCECSendCommand(TVECECLogicalAddress destination, TVECECOpCode opCode, uint8_t *parameters, uint8_t numParameters)
Sends a CEC command.
TVECECLogicalAddress
Definition: cec.h:15
TVECECOpCode
Definition: cec.h:36
int32_t BOOL
Definition: wut_types.h:7