当前位置: 首页>>代码示例>>C++>>正文


C++ CyPins_SetPinDriveMode函数代码示例

本文整理汇总了C++中CyPins_SetPinDriveMode函数的典型用法代码示例。如果您正苦于以下问题:C++ CyPins_SetPinDriveMode函数的具体用法?C++ CyPins_SetPinDriveMode怎么用?C++ CyPins_SetPinDriveMode使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了CyPins_SetPinDriveMode函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: selectPin_SetDriveMode

/*******************************************************************************
* Function Name: selectPin_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  None
*
*******************************************************************************/
void selectPin_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(selectPin_0, mode);
}
开发者ID:kLabUM,项目名称:evaporation,代码行数:18,代码来源:selectPin.c

示例2: Pressure_SDA_SetDriveMode

/*******************************************************************************
* Function Name: Pressure_SDA_SetDriveMode
********************************************************************************
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  void
*
*******************************************************************************/
void Pressure_SDA_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(Pressure_SDA_0, mode);
}
开发者ID:kelime,项目名称:lab-of-cars,代码行数:17,代码来源:Pressure_SDA.c

示例3: Pin_LED_SetDriveMode

/*******************************************************************************
* Function Name: Pin_LED_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  None
*
*******************************************************************************/
void Pin_LED_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(Pin_LED_0, mode);
}
开发者ID:jramshur,项目名称:SRD_Firmware,代码行数:18,代码来源:Pin_LED.c

示例4: dc_SetDriveMode

/*******************************************************************************
* Function Name: dc_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to one of the following drive modes.
*
*  dc_DM_STRONG     Strong Drive 
*  dc_DM_OD_HI      Open Drain, Drives High 
*  dc_DM_OD_LO      Open Drain, Drives Low 
*  dc_DM_RES_UP     Resistive Pull Up 
*  dc_DM_RES_DWN    Resistive Pull Down 
*  dc_DM_RES_UPDWN  Resistive Pull Up/Down 
*  dc_DM_DIG_HIZ    High Impedance Digital 
*  dc_DM_ALG_HIZ    High Impedance Analog 
*
* Return: 
*  None
*
*******************************************************************************/
void dc_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(dc_0, mode);
}
开发者ID:EmbeditElectronics,项目名称:TFTSHIELD,代码行数:27,代码来源:dc.c

示例5: Pin_Play_Pause_SetDriveMode

/*******************************************************************************
* Function Name: Pin_Play_Pause_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  None
*
*******************************************************************************/
void Pin_Play_Pause_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(Pin_Play_Pause_0, mode);
}
开发者ID:jmtorrespalma,项目名称:MP3Player,代码行数:18,代码来源:Pin_Play_Pause.c

示例6: Servo1_SetDriveMode

/*******************************************************************************
* Function Name: Servo1_SetDriveMode
********************************************************************************
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  void
*
*******************************************************************************/
void Servo1_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(Servo1_0, mode);
}
开发者ID:nadavofir,项目名称:IGVC2013,代码行数:17,代码来源:Servo1.c

示例7: A_HS_SetDriveMode

/*******************************************************************************
* Function Name: A_HS_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  None
*
*******************************************************************************/
void A_HS_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(A_HS_0, mode);
}
开发者ID:goose1987,项目名称:EE542,代码行数:18,代码来源:A_HS.c

示例8: LCD_RST_SetDriveMode

/*******************************************************************************
* Function Name: LCD_RST_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  None
*
*******************************************************************************/
void LCD_RST_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(LCD_RST_0, mode);
}
开发者ID:arachnidlabs,项目名称:tricorder,代码行数:18,代码来源:LCD_RST.c

示例9: Fin_SetDriveMode

/*******************************************************************************
* Function Name: Fin_SetDriveMode
********************************************************************************
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  void
*
*******************************************************************************/
void Fin_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(Fin_0, mode);
}
开发者ID:kmmankad,项目名称:HH10D-PSoC3,代码行数:17,代码来源:Fin.c

示例10: Opamp3_Neg_SetDriveMode

/*******************************************************************************
* Function Name: Opamp3_Neg_SetDriveMode
****************************************************************************//**
*
* \brief Sets the drive mode for each of the Pins component's pins.
* 
* <b>Note</b> This affects all pins in the Pins component instance. Use the
* Per-Pin APIs if you wish to control individual pin's drive modes.
*
* \param mode
*  Mode for the selected signals. Valid options are documented in 
*  \ref driveMode.
*
* \return
*  None
*
* \sideeffect
*  If you use read-modify-write operations that are not atomic, the ISR can
*  cause corruption of this function. An ISR that interrupts this function 
*  and performs writes to the Pins component Drive Mode registers can cause 
*  corrupted port data. To avoid this issue, you should either use the Per-Pin
*  APIs (primary method) or disable interrupts around this function.
*
* \funcusage
*  \snippet Opamp3_Neg_SUT.c usage_Opamp3_Neg_SetDriveMode
*******************************************************************************/
void Opamp3_Neg_SetDriveMode(uint8 mode)
{
	CyPins_SetPinDriveMode(Opamp3_Neg_0, mode);
}
开发者ID:gillspice,项目名称:Dual-PSoC-DCO,代码行数:30,代码来源:Opamp3_Neg.c

示例11: OSC2_Hard_Sync_1_SetDriveMode

/*******************************************************************************
* Function Name: OSC2_Hard_Sync_1_SetDriveMode
****************************************************************************//**
*
* \brief Sets the drive mode for each of the Pins component's pins.
* 
* <b>Note</b> This affects all pins in the Pins component instance. Use the
* Per-Pin APIs if you wish to control individual pin's drive modes.
*
* \param mode
*  Mode for the selected signals. Valid options are documented in 
*  \ref driveMode.
*
* \return
*  None
*
* \sideeffect
*  If you use read-modify-write operations that are not atomic, the ISR can
*  cause corruption of this function. An ISR that interrupts this function 
*  and performs writes to the Pins component Drive Mode registers can cause 
*  corrupted port data. To avoid this issue, you should either use the Per-Pin
*  APIs (primary method) or disable interrupts around this function.
*
* \funcusage
*  \snippet OSC2_Hard_Sync_1_SUT.c usage_OSC2_Hard_Sync_1_SetDriveMode
*******************************************************************************/
void OSC2_Hard_Sync_1_SetDriveMode(uint8 mode)
{
	CyPins_SetPinDriveMode(OSC2_Hard_Sync_1_0, mode);
}
开发者ID:gillspice,项目名称:Dual-PSoC-DCO,代码行数:30,代码来源:OSC2_Hard_Sync_1.c

示例12: Pin_BrightLEDBlue_SetDriveMode

/*******************************************************************************
* Function Name: Pin_BrightLEDBlue_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  None
*
*******************************************************************************/
void Pin_BrightLEDBlue_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(Pin_BrightLEDBlue_0, mode);
}
开发者ID:marcelocoelho,项目名称:Pulse-Firmware,代码行数:18,代码来源:Pin_BrightLEDBlue.c

示例13: P3_4_SetDriveMode

/*******************************************************************************
* Function Name: P3_4_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to one of the following drive modes.
*
*  P3_4_DM_STRONG     Strong Drive 
*  P3_4_DM_OD_HI      Open Drain, Drives High 
*  P3_4_DM_OD_LO      Open Drain, Drives Low 
*  P3_4_DM_RES_UP     Resistive Pull Up 
*  P3_4_DM_RES_DWN    Resistive Pull Down 
*  P3_4_DM_RES_UPDWN  Resistive Pull Up/Down 
*  P3_4_DM_DIG_HIZ    High Impedance Digital 
*  P3_4_DM_ALG_HIZ    High Impedance Analog 
*
* Return: 
*  None
*
*******************************************************************************/
void P3_4_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(P3_4_0, mode);
}
开发者ID:land-boards,项目名称:LB-RPPSOC,代码行数:27,代码来源:P3_4.c

示例14: SD_MOSI_SetDriveMode

/*******************************************************************************
* Function Name: SD_MOSI_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
*
* Parameters:
*  mode:  Change the pins to one of the following drive modes.
*
*  SD_MOSI_DM_STRONG     Strong Drive
*  SD_MOSI_DM_OD_HI      Open Drain, Drives High
*  SD_MOSI_DM_OD_LO      Open Drain, Drives Low
*  SD_MOSI_DM_RES_UP     Resistive Pull Up
*  SD_MOSI_DM_RES_DWN    Resistive Pull Down
*  SD_MOSI_DM_RES_UPDWN  Resistive Pull Up/Down
*  SD_MOSI_DM_DIG_HIZ    High Impedance Digital
*  SD_MOSI_DM_ALG_HIZ    High Impedance Analog
*
* Return:
*  None
*
*******************************************************************************/
void SD_MOSI_SetDriveMode(uint8 mode)
{
    CyPins_SetPinDriveMode(SD_MOSI_0, mode);
}
开发者ID:PolyVinalDistillate,项目名称:NSDSPI,代码行数:27,代码来源:SD_MOSI.c

示例15: PSOC_SW_SetDriveMode

/*******************************************************************************
* Function Name: PSOC_SW_SetDriveMode
********************************************************************************
*
* Summary:
*  Change the drive mode on the pins of the port.
* 
* Parameters:  
*  mode:  Change the pins to this drive mode.
*
* Return: 
*  None
*
*******************************************************************************/
void PSOC_SW_SetDriveMode(uint8 mode) 
{
	CyPins_SetPinDriveMode(PSOC_SW_0, mode);
}
开发者ID:cmydlarz,项目名称:MEMS-PDM-PSOC5LP,代码行数:18,代码来源:PSOC_SW.c


注:本文中的CyPins_SetPinDriveMode函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。