Library for TLC5940 16-channel PWM chip

yes, that will work inside the interrupt. See avr-libc: <avr/interrupt.h>: Interrupts