Collaboration diagram for PSC1 Ramp Mode Selection:
|
PSC1 is configured in one ramp mode, it means that the internal counter counts from 0 up to OCR1RB.
Defines | |
| #define | Psc1_in_1_ramp_mode() (PCNF1 &= ~( (1<<PMODE11) | (1<<PMODE10) ) ) |
| #define | Psc1_in_2_ramps_mode() |
| PSC1 is configured in two ramp mode, it means that the internal counter counts from 0 up to OCR1RA then from 0 to OCR1RB. | |
| #define | Psc1_in_4_ramps_mode() |
| PSC1 is configured in for ramp mode, it means that the internal counter counts from 0 up to OCR1SA then from 0 to OCR1RA then from 0 to OCR1SB then from 0 to OCR1RB. | |
| #define | Psc1_in_centered_aligned_mode() (PCNF1 |= ( (1<<PMODE11) | (1<<PMODE10) ) ) |
| PSC1 is configured in for ramp mode, it means that the internal counter counts from 0 up to OCR1RB then from OCR1RB downto 0. | |
| #define Psc1_in_1_ramp_mode | ( | ) | (PCNF1 &= ~( (1<<PMODE11) | (1<<PMODE10) ) ) |
| #define Psc1_in_2_ramps_mode | ( | ) |
| #define Psc1_in_4_ramps_mode | ( | ) |
| #define Psc1_in_centered_aligned_mode | ( | ) | (PCNF1 |= ( (1<<PMODE11) | (1<<PMODE10) ) ) |
1.4.7