跳至主要內容
Knowledgebase
Home
Renesas Electronics Taiwan - Knowledgebase

Why can't I obtain values from peripheral module pins set to input?

Latest Updated:03/25/2008

Question:

I can't obtain values from peripheral module pins set to input. I can obtain values when the pin is set as an I/O input port. Why is this?

Answer:

Values input to peripheral modules cannot be obtained unless the bit in the input buffer control register (PnICR) which corresponds to the pin is set to 1. Set the ICR bit corresponding to the pin to 1, then enable the input buffer.
Suitable Products
H8SX/1720S (H8SX/1720, H8SX/1720S)
H8SX/1668R, H8SX/1668M
H8SX/1663
H8SX/1658R, H8SX/1658M
H8SX/1657
H8SX/1653
H8SX/1650, H8SX/1651
H8SX/1648A, H8SX/1648L
H8SX/1638, H8SX/1638L
H8SX/1622
H8SX/1580
H8SX/1568
H8SX/1558
H8SX/1544
H8SX/1520R
H8SX/1520