plik naglowkowy podprogramu generatora More...
Go to the source code of this file.
Functions | |
| void | Generator (void) |
| Funkcja glowna podprogramu generatora. | |
| void | GenSetParam (uint16_t per, uint16_t tab, uint16_t gain, uint16_t duty, int16_t dc_shift, uint8_t type) |
| Funkcja ustawiajaca parametry generatora sygnalu (synteza) | |
plik naglowkowy podprogramu generatora
| void Generator | ( | void | ) |
Funkcja glowna podprogramu generatora.
| void GenSetParam | ( | uint16_t | per, |
| uint16_t | tab, | ||
| uint16_t | gain, | ||
| uint16_t | duty, | ||
| int16_t | dc_shift, | ||
| uint8_t | type | ||
| ) |
Funkcja ustawiajaca parametry generatora sygnalu (synteza)
| per | : period - okres probkowania w (1/32M)s (okres timera taktowanego 32MHz) (32 - 65535) |
| tab | : table - dlugosc bufora sygnalu |
| gain | : wzmocnienie sygnalu (0 - 2047, do 10000 z przesterowaniem) |
| duty | : wypelnienie (symetria) sygnalu (prostokat, trojkat) (1 - 99) |
| dc_shift | : przesunienie (skladowa stala) sygnalu (-2000 - 2000) |
| type | : typ sygnalu: 0 - sin, 1 - prost., 2 - trojkat, 3 - szum b., 4 - szum r., 5 - arb., 6 - brak |
1.8.1.2