Content originally posted in LPCWare by hujiafu on Fri Mar 18 07:03:23 MST 2016
Yes, I did set slew flag for this pin (LCD_DCLK P[2.2]), but it's no change when I measuiring the signal
* Type D pins (digital pins)
*/
#define LPC178X_GPIO_CONFIG_D(func,mode,hys,inv,slew,od) \
((func << LPC178X_GPIO_CONFIG_FUNC_BITS) | \
(mode << LPC178X_GPIO_CONFIG_MODE_BITS) | \
(hys << LPC178X_GPIO_CONFIG_HYS_BIT ) | \
(inv << LPC178X_GPIO_CONFIG_INV_BIT ) | \
(slew << LPC178X_GPIO_CONFIG_SLEW_BIT ) | \
(od << LPC178X_GPIO_CONFIG_OD_BITS ))
/* P2.2 (D) = LCDDCLK */
{{2, 2}, LPC178X_GPIO_CONFIG_D(7, LPC178X_NO_PULLUP, 0, 0, 1, 0)},[/color]
In LPC178X User's Manual, It has writed Slew rate control is disable. This mode reduces the output delay by 1 ns compared to the standard mode.
It's only 1 ns faster than standard mode. so it's not a key point for the waves.