LPC18xx (1857) SD card detect polarity

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by jotux on Thu Jun 12 11:26:36 MST 2014
Is there a way to swap the polarity of the CD line in the SDIO hardware so the CDETECT register returns 1 when the CD line is high instead of low? Or does the CDETECT register represent the state of the CD line, so I can just swap the detection function to check if the bit is high instead of low?