Platform-independent functions for FastPWM? I learned from answers here that pinMode(0, OUTPUT) is a platform-independent equivalent of DDRB = 1&lt;&lt;DDB0, on the ATTiny85.

Are there platform-independent functions for the following?

TCCR0A = 2&lt;&lt;COM0A0 | 2&lt;&lt;COM0B0 | 3&lt;&lt;WGM00;
TCCR0B = 0&lt;&lt;WGM02 | 1&lt;&lt;CS00;
TCCR1 = 0&lt;&lt;PWM1A | 0&lt;&lt;COM1A0 | 1&lt;&lt;CS10;
GTCCR = 1&lt;&lt;PWM1B | 2&lt;&lt;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?
It is highly unlikely there would be direct 1:1 functions that implement such discrete operations. Simply because such operations are pretty unique to a single family of microcontrollers. They are too low-level for an API to even consider wanting them.

Instead, there are higher level functions which may, if the chip requires it, include those operations. 

The operations you list are all related to PWM, so the higher level function that would encompass them would be analogWrite().