Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

unsigned int mxc_iomux_get_pad ( iomux_pin_name_t  pin  ) 

This function gets the current pad value for a IOMUX pin.

pin a pin number as defined in iomux_pin_name_t
current pad value

Definition at line 155 of file iomux.c.

      void *pad_reg = IOMUXSW_PAD_CTL + PIN_TO_IOMUX_PAD(pin);
      return __raw_readl(pad_reg);

Generated by  Doxygen 1.6.0   Back to index