Return to previous page | Return to menu | Go to next page
Uint16
Arithmetic functions
ANGLE angle value converted to BCD value
Uint16 slAng2Dec(ang)
ANGLE ang ;
ang ANGLE type angular value
Converts an ANGLE-type angle value to a BCD-type numeric value.
Angle data converted to BCD type numerical value.
Example) ang = 0x4000 → 0x0090 ang = 0x1000 → 0x0022
Reference: Chapter 11 Arithmetic Functions
slAng2Dec