23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7 Input/Output Ports<br />

7.1 Port registers<br />

Px : Port register<br />

To read/ write port data.<br />

Under development<br />

PxCR : Control register<br />

To control input/output<br />

* Need to enable the input with PxIE register even when input is set.<br />

PxFRn : Function register<br />

To set functions. An assigned function can be activated by setting “1”.<br />

PxOD : Open drain control register<br />

To switch the input of a register that can be set as programmable open drain.<br />

PxPUP : Pull up control register<br />

To control program pull ups.<br />

<strong>TMPM330</strong><br />

PxIE : Input control enable register<br />

To control inputs. “0” is set as default to avoid through current. This setting prohibits inputs.<br />

<strong>TMPM330</strong>(rev0.4) 7-1<br />

Input/Output Ports

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!