LPC1227 pull-up resistor set

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1227 pull-up resistor set

1,193件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drvrh on Mon Jul 20 22:07:49 MST 2015
Hello,

I would like set pull-up resistor for LPC1227 but I cannot. With IOCONFIG or how?

IN 17xx series I set:

LPC_PINCON -> PINMODE0 |= dir << bitPosi;
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,120件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by fjrg76 on Tue Jul 28 22:18:55 MST 2015
Hi Grega

I've already answered your question in

https://fjrg76.wordpress.com/2015/03/03/setting-up-gpios-for-the-lpc1227/

Hope it helps
0 件の賞賛
返信

1,120件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nerd herd on Tue Jul 21 10:43:00 MST 2015
Hi drvrh,

To enable the internal pull-up resistor on a specific pin, make sure the pin you are interested in has an internal pull up (check UM, chapter 6), and that you are modifying the correct bit. For instance, if you want to enable the pull up on PIO0_4, you need to set bit 4, for that pin's specific register.

http://www.nxp.com/documents/user_manual/UM10441.pdf
0 件の賞賛
返信