您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ CyPins_SetPinDriveMode函数代码示例

51自学网 2021-06-01 20:16:51
  C++
这篇教程C++ CyPins_SetPinDriveMode函数代码示例写得很实用,希望能帮到您。

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

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


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例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,


示例16: ADC_SAR_2_Bypass_SetDriveMode

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


示例17: Composite_Video_SetDriveMode

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


示例18: NEOMOTE_1_RX_RTS_n_SetDriveMode

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


示例19: stop_SetDriveMode

/******************************************************************************** Function Name: stop_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to this drive mode.** Return: *  None********************************************************************************/void stop_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(stop_0, mode);}
开发者ID:bplastow,项目名称:Upright_motors,代码行数:18,


示例20: m_mosi_pin_SetDriveMode

/******************************************************************************** Function Name: m_mosi_pin_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to one of the following drive modes.**  m_mosi_pin_DM_STRONG     Strong Drive *  m_mosi_pin_DM_OD_HI      Open Drain, Drives High *  m_mosi_pin_DM_OD_LO      Open Drain, Drives Low *  m_mosi_pin_DM_RES_UP     Resistive Pull Up *  m_mosi_pin_DM_RES_DWN    Resistive Pull Down *  m_mosi_pin_DM_RES_UPDWN  Resistive Pull Up/Down *  m_mosi_pin_DM_DIG_HIZ    High Impedance Digital *  m_mosi_pin_DM_ALG_HIZ    High Impedance Analog ** Return: *  None********************************************************************************/void m_mosi_pin_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(m_mosi_pin_0, mode);}
开发者ID:jramshur,项目名称:SRD_Firmware,代码行数:27,


示例21: PSOC_PDM_DataIn_SetDriveMode

/******************************************************************************** Function Name: PSOC_PDM_DataIn_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_PDM_DataIn_SetDriveMode(uint8 mode){    CyPins_SetPinDriveMode(PSOC_PDM_DataIn_0, mode);}
开发者ID:cmydlarz,项目名称:MEMS-PDM-PSOC5LP,代码行数:18,


示例22: GPIO_5_6_SetDriveMode

/******************************************************************************** Function Name: GPIO_5_6_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to one of the following drive modes.**  GPIO_5_6_DM_STRONG     Strong Drive *  GPIO_5_6_DM_OD_HI      Open Drain, Drives High *  GPIO_5_6_DM_OD_LO      Open Drain, Drives Low *  GPIO_5_6_DM_RES_UP     Resistive Pull Up *  GPIO_5_6_DM_RES_DWN    Resistive Pull Down *  GPIO_5_6_DM_RES_UPDWN  Resistive Pull Up/Down *  GPIO_5_6_DM_DIG_HIZ    High Impedance Digital *  GPIO_5_6_DM_ALG_HIZ    High Impedance Analog ** Return: *  None********************************************************************************/void GPIO_5_6_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(GPIO_5_6_0, mode);}
开发者ID:femtogram,项目名称:psoc_2_pi,代码行数:27,


示例23: pin_DAC2_SetDriveMode

/******************************************************************************** Function Name: pin_DAC2_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to one of the following drive modes.**  pin_DAC2_DM_STRONG     Strong Drive *  pin_DAC2_DM_OD_HI      Open Drain, Drives High *  pin_DAC2_DM_OD_LO      Open Drain, Drives Low *  pin_DAC2_DM_RES_UP     Resistive Pull Up *  pin_DAC2_DM_RES_DWN    Resistive Pull Down *  pin_DAC2_DM_RES_UPDWN  Resistive Pull Up/Down *  pin_DAC2_DM_DIG_HIZ    High Impedance Digital *  pin_DAC2_DM_ALG_HIZ    High Impedance Analog ** Return: *  None********************************************************************************/void pin_DAC2_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(pin_DAC2_0, mode);}
开发者ID:jramshur,项目名称:SRD_Firmware,代码行数:27,


示例24: mot_left_forward_SetDriveMode

/******************************************************************************** Function Name: mot_left_forward_SetDriveMode********************************************************************************* Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to this drive mode.** Return: *  void********************************************************************************/void mot_left_forward_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(mot_left_forward_0, mode);}
开发者ID:telemaqueolivier,项目名称:french_robotic_cup,代码行数:17,


示例25: SCL_1_SetDriveMode

/******************************************************************************** Function Name: SCL_1_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to one of the following drive modes.**  SCL_1_DM_STRONG     Strong Drive *  SCL_1_DM_OD_HI      Open Drain, Drives High *  SCL_1_DM_OD_LO      Open Drain, Drives Low *  SCL_1_DM_RES_UP     Resistive Pull Up *  SCL_1_DM_RES_DWN    Resistive Pull Down *  SCL_1_DM_RES_UPDWN  Resistive Pull Up/Down *  SCL_1_DM_DIG_HIZ    High Impedance Digital *  SCL_1_DM_ALG_HIZ    High Impedance Analog ** Return: *  None********************************************************************************/void SCL_1_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(SCL_1_0, mode);}
开发者ID:Insepet,项目名称:GRP700U,代码行数:27,


示例26: LED4_SetDriveMode

/******************************************************************************** Function Name: LED4_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to one of the following drive modes.**  LED4_DM_STRONG     Strong Drive *  LED4_DM_OD_HI      Open Drain, Drives High *  LED4_DM_OD_LO      Open Drain, Drives Low *  LED4_DM_RES_UP     Resistive Pull Up *  LED4_DM_RES_DWN    Resistive Pull Down *  LED4_DM_RES_UPDWN  Resistive Pull Up/Down *  LED4_DM_DIG_HIZ    High Impedance Digital *  LED4_DM_ALG_HIZ    High Impedance Analog ** Return: *  None********************************************************************************/void LED4_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(LED4_0, mode);}
开发者ID:gordon1470,项目名称:MSOE-Networking-1-Project,代码行数:27,


示例27: R2_SetDriveMode

/******************************************************************************** Function Name: R2_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to this drive mode.** Return: *  None********************************************************************************/void R2_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(R2_0, mode);}
开发者ID:dmtucker,项目名称:connect4,代码行数:18,


示例28: LDV2_SetDriveMode

/******************************************************************************** Function Name: LDV2_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to this drive mode.** Return: *  None********************************************************************************/void LDV2_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(LDV2_0, mode);}
开发者ID:LloydMoore,项目名称:RPi-Dev,代码行数:18,


示例29: USBUART_1_Dp_SetDriveMode

/******************************************************************************** Function Name: USBUART_1_Dp_SetDriveMode********************************************************************************** Summary:*  Change the drive mode on the pins of the port.* * Parameters:  *  mode:  Change the pins to one of the following drive modes.**  USBUART_1_Dp_DM_STRONG     Strong Drive *  USBUART_1_Dp_DM_OD_HI      Open Drain, Drives High *  USBUART_1_Dp_DM_OD_LO      Open Drain, Drives Low *  USBUART_1_Dp_DM_RES_UP     Resistive Pull Up *  USBUART_1_Dp_DM_RES_DWN    Resistive Pull Down *  USBUART_1_Dp_DM_RES_UPDWN  Resistive Pull Up/Down *  USBUART_1_Dp_DM_DIG_HIZ    High Impedance Digital *  USBUART_1_Dp_DM_ALG_HIZ    High Impedance Analog ** Return: *  None********************************************************************************/void USBUART_1_Dp_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(USBUART_1_Dp_0, mode);}
开发者ID:Rensselaer-Motorsport,项目名称:Deprecated,代码行数:27,


示例30: GPIO_12_4_SetDriveMode

/******************************************************************************** Function Name: GPIO_12_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.**  GPIO_12_4_DM_STRONG     Strong Drive *  GPIO_12_4_DM_OD_HI      Open Drain, Drives High *  GPIO_12_4_DM_OD_LO      Open Drain, Drives Low *  GPIO_12_4_DM_RES_UP     Resistive Pull Up *  GPIO_12_4_DM_RES_DWN    Resistive Pull Down *  GPIO_12_4_DM_RES_UPDWN  Resistive Pull Up/Down *  GPIO_12_4_DM_DIG_HIZ    High Impedance Digital *  GPIO_12_4_DM_ALG_HIZ    High Impedance Analog ** Return: *  None********************************************************************************/void GPIO_12_4_SetDriveMode(uint8 mode) {	CyPins_SetPinDriveMode(GPIO_12_4_0, mode);}
开发者ID:EmbeditElectronics,项目名称:Labview_LINX,代码行数:27,



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


C++ D函数代码示例
C++ CyIntSetVector函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。