Hyperpolarization-activated cation channels of the HCN gene family, such as HCN2, contribute to spontaneous rhythmic activity in both heart and brain. Hyperpolarization-activated ion channel exhibiting weak selectivity for potassium over sodium ions. Contributes to the native pacemaker currents in heart (If) and in neurons (Ih). Produces a large instantaneous current. Activated by cAMP. Modulated by intracellular chloride ions and pH; acidic pH shifts the activation to more negative voltages.