Skip to content

File sstep_sin_table.h

FileList > src > sstep_sin_table.h

Go to the source code of this file

  • #include "sstep_math.h"

Public Attributes

Type Name
const sstep_real_t sstep_sin_table
sin(k * 90 deg / N), k = 0 .

Macros

Type Name
define SSTEP_SIN_TABLE_N ((uint32\_t)1U << [**SSTEP\_CFG\_SINE\_TABLE\_BITS**](group__sstep__config.md#define-sstep_cfg_sine_table_bits))
Number of table intervals per quarter turn.
define SSTEP_SIN_TABLE_SIZE (SSTEP\_SIN\_TABLE\_N + 1U)
Number of table entries: sin(0) .

Public Attributes Documentation

variable sstep_sin_table

sin(k * 90 deg / N), k = 0 .

const sstep_real_t sstep_sin_table[SSTEP_SIN_TABLE_SIZE];

. N. Read-only (flash).


Macro Definition Documentation

define SSTEP_SIN_TABLE_N

Number of table intervals per quarter turn.

#define SSTEP_SIN_TABLE_N `((uint32_t)1U << SSTEP_CFG_SINE_TABLE_BITS )`


define SSTEP_SIN_TABLE_SIZE

Number of table entries: sin(0) .

#define SSTEP_SIN_TABLE_SIZE `(SSTEP_SIN_TABLE_N + 1U)`

. sin(90 deg) inclusive.



The documentation for this class was generated from the following file src/sstep_sin_table.h