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

void mxc_iomux_set_input ( iomux_input_select_t  input,
u32  config 
)

This function configures input path.

Parameters:
input index of input select register as defined in iomux_input_select_t
config the binary value of elements defined in iomux_input_config_t
This function configures input path.

Parameters:
input index of input select register as defined in iomux_input_select_t
config the binary value of elements defined in iomux_input_config_t

Definition at line 191 of file iomux.c.

{
      void *reg = IOMUXSW_INPUT_CTL + (input << 2);

      BUG_ON(input >= MUX_INPUT_NUM_MUX);

      __raw_writel(config, reg);
}


Generated by  Doxygen 1.6.0   Back to index