API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEE_SET_XY()

Brew Release
Brew MP 1.0.2
See Also
AEE_GET_X AEE_GET_Y
Description
This is a macro that can be used to combine the x- and y-coordinate values. It shifts the current value of x to the left by 16 bits and then sets the value of y into the lower 16 bits of the result.
Params
x
[]:
A 16-bit value that will be set in the upper word of result.
y
[]:
16-bit value that must be set in the lower-word of result.
Prototype
  •   uint32 AEE_SET_XY(int16 x, int16 y);
    
Return
  • A 32-bit value with the x value in the upper 16-bits and the y value in the lower 16-bits.
Side Effect
  • None
Comments
None