\hypertarget{varint_8h_source}{}\doxysection{varint.\+h}
\label{varint_8h_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/varint.h@{D:/gitt/MicrochipFor32/bsp\_Device/varint.h}}
\mbox{\hyperlink{varint_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00001}00001 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00002}00002 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00003}00003 \textcolor{comment}{ \#  Copyright (c) 2022 Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00004}00004 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00005}00005 \textcolor{comment}{ \#  本软件按原样提供,无任何明示或暗示}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00006}00006 \textcolor{comment}{ \#  在任何情况下,作者都不承担任何损害赔偿责任}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00007}00007 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00008}00008 \textcolor{comment}{ \#  使用的许可声明:}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00009}00009 \textcolor{comment}{ \#  1.  不得歪曲本软件的来源,你不能声称你编写了原始软件.}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00010}00010 \textcolor{comment}{ \#  2.  免费授予以任何目的,前提是版权声明出现在所有副本中.}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00011}00011 \textcolor{comment}{ \#      并且版权声明和许可声明同时出现.}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00012}00012 \textcolor{comment}{ \#  3.  你有使用,复制,修改,分发,和销售本软件的许可.}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00013}00013 \textcolor{comment}{ \#  4.  如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00014}00014 \textcolor{comment}{ \#  5.  本通知不得从任何来源删除或更改.}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00015}00015 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00016}00016 \textcolor{comment}{ \#  Yuankang Liang(XerolySkinner)}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00017}00017 \textcolor{comment}{ \#      E-\/mail:zabbcccbbaz@163.com}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00018}00018 \textcolor{comment}{ \#      QQ:2715099320}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00019}00019 \textcolor{comment}{ \#      Mobile Phone:13005636215}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00020}00020 \textcolor{comment}{ \#}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00021}00021 \textcolor{comment}{ \#  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00022}00022 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00023}00023 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00034}00034 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00035}00035 \textcolor{preprocessor}{\#include "{}stdint.h"{}}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00037}00037 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00038}00038 \textcolor{comment}{//  程序}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00039}00039 \textcolor{comment}{//  }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00040}\mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{00040}} \textcolor{keyword}{typedef} uint8\_t         \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}};       }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00041}\mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{00041}} \textcolor{keyword}{typedef} uint16\_t        \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00042}\mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{00042}} \textcolor{keyword}{typedef} uint32\_t        \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00043}\mbox{\hyperlink{varint_8h_a3f7e2bcbb0b4c338f3c4f6c937cd4234}{00043}} \textcolor{keyword}{typedef} uint64\_t        \mbox{\hyperlink{varint_8h_a3f7e2bcbb0b4c338f3c4f6c937cd4234}{u64}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00044}00044 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00045}\mbox{\hyperlink{varint_8h_ae3702327b5f47e83b431e22b33da7b58}{00045}} \textcolor{keyword}{typedef} int8\_t          \mbox{\hyperlink{varint_8h_ae3702327b5f47e83b431e22b33da7b58}{i8}};       }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00046}\mbox{\hyperlink{varint_8h_ad309dbcaeea13aa602d686964156ea0b}{00046}} \textcolor{keyword}{typedef} int16\_t         \mbox{\hyperlink{varint_8h_ad309dbcaeea13aa602d686964156ea0b}{i16}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00047}\mbox{\hyperlink{varint_8h_a48d6cd8e4135fb2ff7e7f2dac84089ec}{00047}} \textcolor{keyword}{typedef} int32\_t         \mbox{\hyperlink{varint_8h_a48d6cd8e4135fb2ff7e7f2dac84089ec}{i32}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00048}\mbox{\hyperlink{varint_8h_a85cb35fbe5bf2961d7ad5f26814a91a2}{00048}} \textcolor{keyword}{typedef} int64\_t         \mbox{\hyperlink{varint_8h_a85cb35fbe5bf2961d7ad5f26814a91a2}{i64}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00049}00049 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00050}\mbox{\hyperlink{varint_8h_a1a2a3100a902c32a55d8b08915bce044}{00050}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_a92c50087ca0e64fa93fc59402c55f8ca}{u8}}       \mbox{\hyperlink{varint_8h_a1a2a3100a902c32a55d8b08915bce044}{vu8}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00051}\mbox{\hyperlink{varint_8h_a677aa1edce4bbb53741b1cc24eb4c035}{00051}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_ace9d960e74685e2cd84b36132dbbf8aa}{u16}}     \mbox{\hyperlink{varint_8h_a677aa1edce4bbb53741b1cc24eb4c035}{vu16}};   }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00052}\mbox{\hyperlink{varint_8h_abcdd5d61f51cb4c472ac6637916cf72a}{00052}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_afaa62991928fb9fb18ff0db62a040aba}{u32}}     \mbox{\hyperlink{varint_8h_abcdd5d61f51cb4c472ac6637916cf72a}{vu32}};   }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00053}\mbox{\hyperlink{varint_8h_ace392b4d1c3911331b2fe5ddc99fdcba}{00053}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_a3f7e2bcbb0b4c338f3c4f6c937cd4234}{u64}}     \mbox{\hyperlink{varint_8h_ace392b4d1c3911331b2fe5ddc99fdcba}{vu64}};   }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00054}00054 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00055}\mbox{\hyperlink{varint_8h_ad9f0c7145e15b7b470a138dae48c178d}{00055}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_ae3702327b5f47e83b431e22b33da7b58}{i8}}       \mbox{\hyperlink{varint_8h_ad9f0c7145e15b7b470a138dae48c178d}{vi8}}; }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00056}\mbox{\hyperlink{varint_8h_ab1725f18a2ec2964f4bc0499527e4c5d}{00056}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_ad309dbcaeea13aa602d686964156ea0b}{i16}}     \mbox{\hyperlink{varint_8h_ab1725f18a2ec2964f4bc0499527e4c5d}{vi16}};   }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00057}\mbox{\hyperlink{varint_8h_a8b81ac6660e74bec836c0a4e0a0b6450}{00057}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_a48d6cd8e4135fb2ff7e7f2dac84089ec}{i32}}     \mbox{\hyperlink{varint_8h_a8b81ac6660e74bec836c0a4e0a0b6450}{vi32}};   }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00058}\mbox{\hyperlink{varint_8h_aeffd8dafd889cdd80398ffcbb37cd7ef}{00058}} \textcolor{keyword}{typedef} \textcolor{keyword}{volatile} \mbox{\hyperlink{varint_8h_a85cb35fbe5bf2961d7ad5f26814a91a2}{i64}}     \mbox{\hyperlink{varint_8h_aeffd8dafd889cdd80398ffcbb37cd7ef}{vi64}};   }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00060}00060 \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00061}00061 \textcolor{comment}{//  位宏}}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00062}\mbox{\hyperlink{varint_8h_ad35af1fbc60fcc217f7e3c6bae2ba656}{00062}} \textcolor{preprocessor}{\#define P8(x)       ((u8*)(\&(x)))               }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00063}\mbox{\hyperlink{varint_8h_a71e9586b24447c7ca7bc353aa86da852}{00063}} \textcolor{preprocessor}{\#define Pn8(x,y)    (((u8*)(\&(x)))[y])          }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00064}\mbox{\hyperlink{varint_8h_a90e13f6172ebc6d6b8df6ed9a443491f}{00064}} \textcolor{preprocessor}{\#define P16(x)      ((u16*)(\&(x)))              }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00065}\mbox{\hyperlink{varint_8h_aff980abb3664242448c35e7c94df9457}{00065}} \textcolor{preprocessor}{\#define Pn16(x,y)   (((u16*)(\&(x)))[y])         }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00066}\mbox{\hyperlink{varint_8h_a495d48b6b1b59a2ad797b10d9da431ff}{00066}} \textcolor{preprocessor}{\#define P32(x)      ((u32*)(\&(x)))              }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00067}\mbox{\hyperlink{varint_8h_adc92d7430c7b945896332c2e2540a52a}{00067}} \textcolor{preprocessor}{\#define Pn32(x,y)   (((u32*)(\&(x)))[y])         }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00068}00068 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00069}\mbox{\hyperlink{varint_8h_ada574ddd6b3c52cf691b29e6efc7a817}{00069}} \textcolor{preprocessor}{\#define DelLb(x)    (x \& (x -\/ 1))               }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00070}\mbox{\hyperlink{varint_8h_a4130fb740c8bd3c4986b2fe496c74d78}{00070}} \textcolor{preprocessor}{\#define qDelLb(x)   (x=(x \& (x -\/ 1)))           }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00071}00071 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00072}\mbox{\hyperlink{varint_8h_a338f1c6d28b8ee314ea8b33df5c6052e}{00072}} \textcolor{preprocessor}{\#define toBool(x)   (x!=0)                      }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00073}\mbox{\hyperlink{varint_8h_af88c9f4171df59e6e0aa2db71bf9f250}{00073}} \textcolor{preprocessor}{\#define uBit(x,y)   (x\&(1<<y))                  }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00074}\mbox{\hyperlink{varint_8h_ac123183daf1150b8b675c96cfeae4314}{00074}} \textcolor{preprocessor}{\#define tBit(x,y)   (toBool(uBit(x,y)))         }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00075}00075 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00076}\mbox{\hyperlink{varint_8h_aa1b4c6a5140aae5adbc14792ed9cbaf5}{00076}} \textcolor{preprocessor}{\#define sBit(x,y)   (x|(1<<y))                  }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00077}\mbox{\hyperlink{varint_8h_a6c0c97a8768383af5f921a0496bb7e6c}{00077}} \textcolor{preprocessor}{\#define rBit(x,y)   (x\&(\string~(1<<y)))               }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00078}\mbox{\hyperlink{varint_8h_a5cce0b9aa61d54efc42512f4c7796455}{00078}} \textcolor{preprocessor}{\#define mBit(x,y,z) ((z)?sBit(x,y):rBit(x,y))   }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00079}00079 }
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00080}\mbox{\hyperlink{varint_8h_a7ae6889c9eb9c27afb4395ef1d06eec7}{00080}} \textcolor{preprocessor}{\#define LpAdd(x,y)  ((x+1)<y?x+1:0)             }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00081}\mbox{\hyperlink{varint_8h_af8c84f28a4c47bc30bbecb56d1469fd2}{00081}} \textcolor{preprocessor}{\#define LpDec(x,y)  (x>0?x-\/1:y-\/1)               }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00082}\mbox{\hyperlink{varint_8h_ac5268cd1ab382ef2574c21c40590d6bc}{00082}} \textcolor{preprocessor}{\#define qLpAdd(x,y) (x=(x+1)<y?x+1:0)           }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00083}00083 \textcolor{preprocessor}{\#define qLpDec(x,y) (x=x>0?x-\/1:y-\/1)             }}
\DoxyCodeLine{\Hypertarget{varint_8h_source_l00085}00085 }

\end{DoxyCode}
