當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。