Some basic #defines. Pulse index p.