LPC_PWM is undefined? LPC17xx.h access layer issue

Hi, I’m doing some register-level stuff in order to gain phase control over a PWM output for a project I’m doing (implementing VGA). This is on the LPC1768 based mbed board. For some unknown reason the compiler thinks LPC_PWM is undefined… even though it clearly is defined. Does anyone know what could be the issue here?

hsync code

PWM def

resolved: must be LPC_PWM1