I learned from answers here that
pinMode(0, OUTPUT) is a platform-independent equivalent of
DDRB = 1<<DDB0, on the ATTiny85.
Are there platform-independent functions for the following?
TCCR0A = 2<<COM0A0 | 2<<COM0B0 | 3<<WGM00; TCCR0B = 0<<WGM02 | 1<<CS00; TCCR1 = 0<<PWM1A | 0<<COM1A0 | 1<<CS10; GTCCR = 1<<PWM1B | 2<<COM1B0;
Explanation of above code here. These calls enable FastPWM.
I checked the Arduino API reference, but not sure which are the equivalent to above. How to determine?