Assume that the GPIOB PB15 and PB00 pins have been configured for output. Write a sequence of C statements to generate the periodic waveform shown in Figure Ext.1 (13 cycles are shown). Also, assume that the function delaybyims(k) that can generate a delay of k ms is available for your use. K is a natural number (2, 3).
PB15
2ms
21715
2ms
2ms
2ms
PB00
Figure Ext.1: Waveform to be generated from PB15 & PB00 pins