Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
Predefined constants used in PWM-16bit library
318
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
The following variables are used in
PWM-16bit library functions:
Description: 
_PWM16_PHASE_CORRECT_MODE_8BIT
Selects Phase Correct, 8-bit mode.
_PWM16_PHASE_CORRECT_MODE_9BIT
Selects Phase Correct, 9-bit mode.
_PWM16_PHASE_CORRECT_MODE_10BIT
Selects Phase Correct, 10-bit mode.
_PWM16_FAST_MODE_8BIT
Selects Fast, 8-bit mode.
_PWM16_FAST_MODE_9BIT
Selects Fast, 9-bit mode.
_PWM16_FAST_MODE_10BIT
Selects Fast, 10-bit mode.
_PWM16_PRESCALER_16bit_1
Sets prescaler value to 1 (No prescaling).
_PWM16_PRESCALER_16bit_8
Sets prescaler value to 8.
_PWM16_PRESCALER_16bit_64
Sets prescaler value to 64.
_PWM16_PRESCALER_16bit_256
Sets prescaler value to 256.
_PWM16_PRESCALER_16bit_1024
Sets prescaler value to 1024.
_PWM16_INVERTED
Selects the inverted PWM-16bit mode.
_PWM16__NON_INVERTED
Selects the normal (non inverted) PWM-16bit mode.
_TIMER1
Selects the Timer/Counter1 (used with
PWM16bit_Start and PWM16bit_Stop.
_TIMER3
Selects the Timer/Counter3 (used with
PWM16bit_Start and PWM16bit_Stop.
_TIMER1_CH_A
Selects the channel A on Timer/Counter1 (used with
PWM16bit_Change_Duty).
_TIMER1_CH_B
Selects the channel B on Timer/Counter1 (used with
PWM16bit_Change_Duty).
_TIMER1_CH_C
Selects the channel C on Timer/Counter1 (used with
PWM16bit_Change_Duty).
_TIMER3_CH_A
Selects the channel A on Timer/Counter3 (used with
PWM16bit_Change_Duty).
_TIMER3_CH_B
Selects the channel B on Timer/Counter3 (used with
PWM16bit_Change_Duty).
_TIMER3_CH_C
Selects the channel C on Timer/Counter3 (used with
PWM16bit_sChange_Duty).