Collaboration diagram for PSC2 Ramp Mode Selection:
|
PSC2 is configured in one ramp mode, it means that the internal counter counts from 0 up to OCR2RB.
Defines | |
| #define | Psc2_in_1_ramp_mode() (PCNF2 &= ~( (1<<PMODE21) | (1<<PMODE20) ) ) |
| #define | Psc2_in_2_ramps_mode() |
| PSC2 is configured in two ramp mode, it means that the internal counter counts from 0 up to OCR2RA then from 0 to OCR2RB. | |
| #define | Psc2_in_4_ramps_mode() |
| PSC2 is configured in for ramp mode, it means that the internal counter counts from 0 up to OCR2SA then from 0 to OCR2RA then from 0 to OCR2SB then from 0 to OCR2RB. | |
| #define | Psc2_in_centered_aligned_mode() (PCNF2 |= ( (1<<PMODE21) | (1<<PMODE20) ) ) |
| PSC2 is configured in for ramp mode, it means that the internal counter counts from 0 up to OCR2RB then from OCR2RB downto 0. | |
| #define Psc2_in_1_ramp_mode | ( | ) | (PCNF2 &= ~( (1<<PMODE21) | (1<<PMODE20) ) ) |
| #define Psc2_in_2_ramps_mode | ( | ) |
| #define Psc2_in_4_ramps_mode | ( | ) |
| #define Psc2_in_centered_aligned_mode | ( | ) | (PCNF2 |= ( (1<<PMODE21) | (1<<PMODE20) ) ) |
1.4.7