This was modelled after the PWM/PPM driver originally I think.  It is an array in those drivers so that it can support multiple channels.  I'll pull it out into a macro.