Collaboration diagram for PSC0 Ramp Mode Selection:
|
PSC0 is configured in one ramp mode, it means that the internal counter counts from 0 up to OCR0RB.
Defines | |
| #define | Psc0_in_1_ramp_mode() (PCNF0 &= ~( (1<<PMODE01) | (1<<PMODE00) ) ) |
| #define | Psc0_in_2_ramps_mode() |
| PSC0 is configured in two ramp mode, it means that the internal counter counts from 0 up to OCR0RA then from 0 to OCR0RB. | |
| #define | Psc0_in_4_ramps_mode() |
| PSC0 is configured in for ramp mode, it means that the internal counter counts from 0 up to OCR0SA then from 0 to OCR0RA then from 0 to OCR0SB then from 0 to OCR0RB. | |
| #define | Psc0_in_centered_aligned_mode() (PCNF0 |= ( (1<<PMODE01) | (1<<PMODE00) ) ) |
| PSC0 is configured in for ramp mode, it means that the internal counter counts from 0 up to OCR0RB then from OCR0RB downto 0. | |
| #define Psc0_in_1_ramp_mode | ( | ) | (PCNF0 &= ~( (1<<PMODE01) | (1<<PMODE00) ) ) |
| #define Psc0_in_2_ramps_mode | ( | ) |
| #define Psc0_in_4_ramps_mode | ( | ) |
| #define Psc0_in_centered_aligned_mode | ( | ) | (PCNF0 |= ( (1<<PMODE01) | (1<<PMODE00) ) ) |
1.4.7