typeof 小用法 (typeof int state【9】)

除了此例外 还有class 和struct中,用来 new, node ,*link等,还有定义 link 函数返回class时






#include<iostream>
#include<vector>
#include<string>
#include<cstring>
#include<stack>
#include<cmath>
#include<cstdlib>
#include<algorithm>
#include<functional>
#include<ctime>
#include<iomanip>
using namespace std;
int main()
{
    typedef int state[9];
    state in[100];
    for(int i=0;i<9;i++)
      for(int j=0;j<100;j++)
          in[i][j]=i*j+1;
    for(int i=0;i<9;i++)
      {int k=0;
      for(int j=0;j<100;j++)
          {cout<<setw(3)<<in[i][j];k++;if(k%5==0)  cout<<endl;}

      }

}

namespace FT2_SoildState.Control { /// <summary> /// BoardState.xaml 的交互逻辑 /// </summary> public partial class BoardState : UserControl { public static DependencyProperty BoardIDProperty = DependencyProperty.Register("BoardID", typeof(string), typeof(BoardState), new PropertyMetadata(null)); public string BoardID { get => (string)GetValue(BoardIDProperty); set => SetValue(BoardIDProperty, value); } public static DependencyProperty TimeProperty = DependencyProperty.Register("Time", typeof(string), typeof(BoardState), new PropertyMetadata(null)); public string Time { get => (string)GetValue(TimeProperty); set => SetValue(TimeProperty, value); } public static DependencyProperty StateProperty = DependencyProperty.Register("State", typeof(string), typeof(BoardState), new PropertyMetadata(null)); public string State { get => (string)GetValue(StateProperty); set => SetValue(StateProperty, value); } // 定义依赖属性 public static readonly DependencyProperty BackgroundColorProperty = DependencyProperty.Register( "BackgroundColor", typeof(string), typeof(BoardState), new PropertyMetadata("Transparent")); // 默认值 public string BackgroundColor { get { return (string)GetValue(BackgroundColorProperty); } set { SetValue(BackgroundColorProperty, value); } } // 注册依赖属性 public static readonly DependencyProperty ImageVisibilityProperty = DependencyProperty.Register( nameof(ImageVisibility), typeof(Visibility), typeof(BoardState), new PropertyMetadata(Visibility.Collapsed) // 默认值 ); // CLR 属性包装器 public Visibility ImageVisibility { get => (Visibility)GetValue(ImageVisibilityProperty); set => SetValue(ImageVisibilityProperty, value); } public BoardState() { InitializeComponent(); } } } 在这添加,简单点就好
最新发布
07-30
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; namespace CSObjectWrap { public class UIButtonWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Utils.BeginObjectRegister(typeof(UIButton), L, translator, 0, 2, 12, 12); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetState", SetState); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setOnPressScaleEnable", setOnPressScaleEnable); Utils.RegisterFunc(L, Utils.GETTER_IDX, "isEnabled", get_isEnabled); Utils.RegisterFunc(L, Utils.GETTER_IDX, "normalSprite", get_normalSprite); Utils.RegisterFunc(L, Utils.GETTER_IDX, "normalSprite2D", get_normalSprite2D); Utils.RegisterFunc(L, Utils.GETTER_IDX, "dragHighlight", get_dragHighlight); Utils.RegisterFunc(L, Utils.GETTER_IDX, "hoverSprite", get_hoverSprite); Utils.RegisterFunc(L, Utils.GETTER_IDX, "pressedSprite", get_pressedSprite); Utils.RegisterFunc(L, Utils.GETTER_IDX, "disabledSprite", get_disabledSprite); Utils.RegisterFunc(L, Utils.GETTER_IDX, "hoverSprite2D", get_hoverSprite2D); Utils.RegisterFunc(L, Utils.GETTER_IDX, "pressedSprite2D", get_pressedSprite2D); Utils.RegisterFunc(L, Utils.GETTER_IDX, "disabledSprite2D", get_disabledSprite2D); Utils.RegisterFunc(L, Utils.GETTER_IDX, "pixelSnap", get_pixelSnap); Utils.RegisterFunc(L, Utils.GETTER_IDX, "onClick", get_onClick); Utils.RegisterFunc(L, Utils.SETTER_IDX, "isEnabled", set_isEnabled); Utils.RegisterFunc(L, Utils.SETTER_IDX, "normalSprite", set_normalSprite); Utils.RegisterFunc(L, Utils.SETTER_IDX, "normalSprite2D", set_normalSprite2D); Utils.RegisterFunc(L, Utils.SETTER_IDX, "dragHighlight", set_dragHighlight); Utils.RegisterFunc(L, Utils.SETTER_IDX, "hoverSprite", set_hoverSprite); Utils.RegisterFunc(L, Utils.SETTER_IDX, "pressedSprite", set_pressedSprite); Utils.RegisterFunc(L, Utils.SETTER_IDX, "disabledSprite", set_disabledSprite); Utils.RegisterFunc(L, Utils.SETTER_IDX, "hoverSprite2D", set_hoverSprite2D); Utils.RegisterFunc(L, Utils.SETTER_IDX, "pressedSprite2D", set_pressedSprite2D); Utils.RegisterFunc(L, Utils.SETTER_IDX, "disabledSprite2D", set_disabledSprite2D); Utils.RegisterFunc(L, Utils.SETTER_IDX, "pixelSnap", set_pixelSnap); Utils.RegisterFunc(L, Utils.SETTER_IDX, "onClick", set_onClick); Utils.EndObjectRegister(typeof(UIButton), L, translator, null, null, null, null, null); Utils.BeginClassRegister(typeof(UIButton), L, __CreateInstance, 1, 1, 1); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "UnderlyingSystemType", typeof(UIButton)); Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "current", get_current); Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "current", set_current); Utils.EndClassRegister(typeof(UIButton), L, translator); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if(LuaAPI.lua_gettop(L) == 1) { UIButton __cl_gen_ret = new UIButton(); translator.Push(L, __cl_gen_ret); return 1; } } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return LuaAPI.luaL_error(L, "invalid arguments to UIButton constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int SetState(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); try { { UIButtonColor.State state;translator.Get(L, 2, out state); bool immediate = LuaAPI.lua_toboolean(L, 3); __cl_gen_to_be_invoked.SetState( state, immediate ); return 0; } } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int setOnPressScaleEnable(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); try { { bool enable = LuaAPI.lua_toboolean(L, 2); __cl_gen_to_be_invoked.setOnPressScaleEnable( enable ); return 0; } } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_isEnabled(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.isEnabled); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_normalSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.normalSprite); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_normalSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.normalSprite2D); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_current(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { translator.Push(L, UIButton.current); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_dragHighlight(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.dragHighlight); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_hoverSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.hoverSprite); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_pressedSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.pressedSprite); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_disabledSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.disabledSprite); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_hoverSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.hoverSprite2D); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_pressedSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.pressedSprite2D); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_disabledSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.disabledSprite2D); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_pixelSnap(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.pixelSnap); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_onClick(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.onClick); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_isEnabled(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.isEnabled = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_normalSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.normalSprite = LuaAPI.lua_tostring(L, 2); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_normalSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.normalSprite2D = (UnityEngine.Sprite)translator.GetObject(L, 2, typeof(UnityEngine.Sprite)); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_current(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton.current = (UIButton)translator.GetObject(L, 1, typeof(UIButton)); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_dragHighlight(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.dragHighlight = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_hoverSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.hoverSprite = LuaAPI.lua_tostring(L, 2); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_pressedSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.pressedSprite = LuaAPI.lua_tostring(L, 2); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_disabledSprite(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.disabledSprite = LuaAPI.lua_tostring(L, 2); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_hoverSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.hoverSprite2D = (UnityEngine.Sprite)translator.GetObject(L, 2, typeof(UnityEngine.Sprite)); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_pressedSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.pressedSprite2D = (UnityEngine.Sprite)translator.GetObject(L, 2, typeof(UnityEngine.Sprite)); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_disabledSprite2D(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.disabledSprite2D = (UnityEngine.Sprite)translator.GetObject(L, 2, typeof(UnityEngine.Sprite)); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_pixelSnap(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.pixelSnap = LuaAPI.lua_toboolean(L, 2); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_onClick(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UIButton __cl_gen_to_be_invoked = (UIButton)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.onClick = (System.Collections.Generic.List<EventDelegate>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<EventDelegate>)); } catch(System.Exception __gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + __gen_e); } return 0; } } } Assets/XLua/Gen/UIButtonWrap.cs(142,44): error CS1061: Type `UIButton&#39; does not contain a definition for `setOnPressScaleEnable&#39; and no extension method `setOnPressScaleEnable&#39; of type `UIButton&#39; could be found (are you missing a using directive or an assembly reference?)
07-20
#include "global_define.h" uint8_t R_DiscOutVol_Cnt,R_Request_Num_BK,R_PPS_Request_Volt_BK; uint32_t R_PPS_Request_Cur_BK; uint8_t R_HVScan_RequestVol=0,R_HVScan_RequestVol_BK=0,Cnt_Delay_OutVol_Control=0; uint16_t R_VbatVol_Value,R_IbusCur_Value,R_IbatCur_Value; uint8_t R_Error_Time,R_WWDT_Time; TypeOfTimeFlag TimeFlag = {0}; TypeOfStateFlag StateFlag = {0}; //TypeOf_TypeC AP_TypeCA = {0}; TypeOf_TypeC AP_TypeCB = {0}; //TypeOf_PD AP_PDA = {0}; TypeOf_PD AP_PDB = {0}; const unsigned int CONFIG0 __at(0x00300000) = 0x0ED8F127; const uint32_t CONFIG1 __at(0x00300004) = 0x00C0FF3F; //ÓÐIAP¹¦ÄÜ,²»¿ª¿´ÃŹ·// //const unsigned int CONFIG1 __at(0x00300004) = 0x0040ffbf; const unsigned int CONFIG2 __at(0x00300008) = 0x1fffe000; const unsigned int CONFIG3 __at(0x0030000c) = 0x0000ffff; void SlotBranch100ms(void); void SlotBranch1s(void); volatile IsrFlag_Char R_Time_Flag; typedef struct{ uint8_t B_bit0: 1; }TestBits; TestBits Bits; #define check_8812 1 #define check_discharger 0 #define check_MOS 0 extern unsigned char display_gate; //¸Ãº¯ÊýÖ÷ÒªÓÃÀ´¼ì²émosµÄÓ¦Óᣠvoid check_nmos(void) { static unsigned int m,n=0; if(m<500) { m++; GPIO_WriteBit(GPIOB, GPIO_PinSource2, Bit_RESET); } else if(m<1000) { m++; GPIO_WriteBit(GPIOB, GPIO_PinSource2, Bit_SET); } else { m=0; } } unsigned char key_val=0; unsigned char device_state=0; unsigned int device_state_counter=0; #define device_state_counter_data 250 #define device_state_counter_data2 5 #define A_1 10 #define A_8 128 void led_inial(void) { DispBuf.Bits.FastCharge = RESET; DispInit(); } //Main function int main(void) { static unsigned int counter1,counter2=0,bufer; F_MCU_Initialization(); //MCU³õʼ»¯ HV_Init(); //*********************************************************************************** AP_TypeCB.TypeCx = TypeCB; AP_TypeCB.B_Support_HW = SET; AP_TypeCB.TypeC_Rp_Mode = TypeC_Cur
07-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值