AT91RM3400-AI-001 ATMEL [ATMEL Corporation], AT91RM3400-AI-001 Datasheet - Page 76

no-image

AT91RM3400-AI-001

Manufacturer Part Number
AT91RM3400-AI-001
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Sine Service
Presentation
Sine Service Description
Table 23. Sine Service Description
76
Method and Array Available
// Typical Use:
pAT91->Sine(...);
// Default Method:
short AT91F_Sinus(int step)
// Typical Use:
short sinus;
sinus = pAT91->SineTab[...];
// Array Embedded:
const short AT91C_SINUS180_TAB[256]
AT91RM3400
This “service” differs from the preceding one in that it is structured differently: it is composed of
an array and a method directly accessible through the
Description
This function returns the amplitude coded on 16 bits, of a sine
waveform for a given step.
Input Parameters:
Step of the sine. Corresponds to the precision of the amplitude
calculation. Depends on the Sine Array used. Here, the array has
256 values (thus 256 steps) of amplitude for 180 degrees.
Output Parameters:
Amplitude of the sine waveform.
Sine Array with a resolution of 256 values for 180 degrees.
AT91S_RomBoot
structure.
1790A–ATARM–11/03

Related parts for AT91RM3400-AI-001