pic32mx430f064h.pp 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060
  1. unit pic32mx430f064h;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getT32 : TBits_1; inline;
  484. function getTCKPS : TBits_3; inline;
  485. function getTCKPS0 : TBits_1; inline;
  486. function getTCKPS1 : TBits_1; inline;
  487. function getTCKPS2 : TBits_1; inline;
  488. function getTCS : TBits_1; inline;
  489. function getTGATE : TBits_1; inline;
  490. function getTON : TBits_1; inline;
  491. function getTSIDL : TBits_1; inline;
  492. function getw : TBits_32; inline;
  493. procedure setON(thebits : TBits_1); inline;
  494. procedure setSIDL(thebits : TBits_1); inline;
  495. procedure setT32(thebits : TBits_1); inline;
  496. procedure setTCKPS(thebits : TBits_3); inline;
  497. procedure setTCKPS0(thebits : TBits_1); inline;
  498. procedure setTCKPS1(thebits : TBits_1); inline;
  499. procedure setTCKPS2(thebits : TBits_1); inline;
  500. procedure setTCS(thebits : TBits_1); inline;
  501. procedure setTGATE(thebits : TBits_1); inline;
  502. procedure setTON(thebits : TBits_1); inline;
  503. procedure setTSIDL(thebits : TBits_1); inline;
  504. procedure setw(thebits : TBits_32); inline;
  505. public
  506. procedure clearON; inline;
  507. procedure clearSIDL; inline;
  508. procedure clearT32; inline;
  509. procedure clearTCKPS0; inline;
  510. procedure clearTCKPS1; inline;
  511. procedure clearTCKPS2; inline;
  512. procedure clearTCS; inline;
  513. procedure clearTGATE; inline;
  514. procedure clearTON; inline;
  515. procedure clearTSIDL; inline;
  516. procedure setON; inline;
  517. procedure setSIDL; inline;
  518. procedure setT32; inline;
  519. procedure setTCKPS0; inline;
  520. procedure setTCKPS1; inline;
  521. procedure setTCKPS2; inline;
  522. procedure setTCS; inline;
  523. procedure setTGATE; inline;
  524. procedure setTON; inline;
  525. procedure setTSIDL; inline;
  526. property ON : TBits_1 read getON write setON;
  527. property SIDL : TBits_1 read getSIDL write setSIDL;
  528. property T32 : TBits_1 read getT32 write setT32;
  529. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  530. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  531. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  532. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  533. property TCS : TBits_1 read getTCS write setTCS;
  534. property TGATE : TBits_1 read getTGATE write setTGATE;
  535. property TON : TBits_1 read getTON write setTON;
  536. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  537. property w : TBits_32 read getw write setw;
  538. end;
  539. type
  540. TTMR3Registers = record
  541. T3CONbits : TTMR3_T3CON;
  542. T3CON : longWord;
  543. T3CONCLR : longWord;
  544. T3CONSET : longWord;
  545. T3CONINV : longWord;
  546. TMR3 : longWord;
  547. TMR3CLR : longWord;
  548. TMR3SET : longWord;
  549. TMR3INV : longWord;
  550. PR3 : longWord;
  551. PR3CLR : longWord;
  552. PR3SET : longWord;
  553. PR3INV : longWord;
  554. end;
  555. TTMR4_T4CON = record
  556. private
  557. function getON : TBits_1; inline;
  558. function getSIDL : TBits_1; inline;
  559. function getT32 : TBits_1; inline;
  560. function getTCKPS : TBits_3; inline;
  561. function getTCKPS0 : TBits_1; inline;
  562. function getTCKPS1 : TBits_1; inline;
  563. function getTCKPS2 : TBits_1; inline;
  564. function getTCS : TBits_1; inline;
  565. function getTGATE : TBits_1; inline;
  566. function getTON : TBits_1; inline;
  567. function getTSIDL : TBits_1; inline;
  568. function getw : TBits_32; inline;
  569. procedure setON(thebits : TBits_1); inline;
  570. procedure setSIDL(thebits : TBits_1); inline;
  571. procedure setT32(thebits : TBits_1); inline;
  572. procedure setTCKPS(thebits : TBits_3); inline;
  573. procedure setTCKPS0(thebits : TBits_1); inline;
  574. procedure setTCKPS1(thebits : TBits_1); inline;
  575. procedure setTCKPS2(thebits : TBits_1); inline;
  576. procedure setTCS(thebits : TBits_1); inline;
  577. procedure setTGATE(thebits : TBits_1); inline;
  578. procedure setTON(thebits : TBits_1); inline;
  579. procedure setTSIDL(thebits : TBits_1); inline;
  580. procedure setw(thebits : TBits_32); inline;
  581. public
  582. procedure clearON; inline;
  583. procedure clearSIDL; inline;
  584. procedure clearT32; inline;
  585. procedure clearTCKPS0; inline;
  586. procedure clearTCKPS1; inline;
  587. procedure clearTCKPS2; inline;
  588. procedure clearTCS; inline;
  589. procedure clearTGATE; inline;
  590. procedure clearTON; inline;
  591. procedure clearTSIDL; inline;
  592. procedure setON; inline;
  593. procedure setSIDL; inline;
  594. procedure setT32; inline;
  595. procedure setTCKPS0; inline;
  596. procedure setTCKPS1; inline;
  597. procedure setTCKPS2; inline;
  598. procedure setTCS; inline;
  599. procedure setTGATE; inline;
  600. procedure setTON; inline;
  601. procedure setTSIDL; inline;
  602. property ON : TBits_1 read getON write setON;
  603. property SIDL : TBits_1 read getSIDL write setSIDL;
  604. property T32 : TBits_1 read getT32 write setT32;
  605. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  606. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  607. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  608. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  609. property TCS : TBits_1 read getTCS write setTCS;
  610. property TGATE : TBits_1 read getTGATE write setTGATE;
  611. property TON : TBits_1 read getTON write setTON;
  612. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  613. property w : TBits_32 read getw write setw;
  614. end;
  615. type
  616. TTMR4Registers = record
  617. T4CONbits : TTMR4_T4CON;
  618. T4CON : longWord;
  619. T4CONCLR : longWord;
  620. T4CONSET : longWord;
  621. T4CONINV : longWord;
  622. TMR4 : longWord;
  623. TMR4CLR : longWord;
  624. TMR4SET : longWord;
  625. TMR4INV : longWord;
  626. PR4 : longWord;
  627. PR4CLR : longWord;
  628. PR4SET : longWord;
  629. PR4INV : longWord;
  630. end;
  631. TTMR5_T5CON = record
  632. private
  633. function getON : TBits_1; inline;
  634. function getSIDL : TBits_1; inline;
  635. function getT32 : TBits_1; inline;
  636. function getTCKPS : TBits_3; inline;
  637. function getTCKPS0 : TBits_1; inline;
  638. function getTCKPS1 : TBits_1; inline;
  639. function getTCKPS2 : TBits_1; inline;
  640. function getTCS : TBits_1; inline;
  641. function getTGATE : TBits_1; inline;
  642. function getTON : TBits_1; inline;
  643. function getTSIDL : TBits_1; inline;
  644. function getw : TBits_32; inline;
  645. procedure setON(thebits : TBits_1); inline;
  646. procedure setSIDL(thebits : TBits_1); inline;
  647. procedure setT32(thebits : TBits_1); inline;
  648. procedure setTCKPS(thebits : TBits_3); inline;
  649. procedure setTCKPS0(thebits : TBits_1); inline;
  650. procedure setTCKPS1(thebits : TBits_1); inline;
  651. procedure setTCKPS2(thebits : TBits_1); inline;
  652. procedure setTCS(thebits : TBits_1); inline;
  653. procedure setTGATE(thebits : TBits_1); inline;
  654. procedure setTON(thebits : TBits_1); inline;
  655. procedure setTSIDL(thebits : TBits_1); inline;
  656. procedure setw(thebits : TBits_32); inline;
  657. public
  658. procedure clearON; inline;
  659. procedure clearSIDL; inline;
  660. procedure clearT32; inline;
  661. procedure clearTCKPS0; inline;
  662. procedure clearTCKPS1; inline;
  663. procedure clearTCKPS2; inline;
  664. procedure clearTCS; inline;
  665. procedure clearTGATE; inline;
  666. procedure clearTON; inline;
  667. procedure clearTSIDL; inline;
  668. procedure setON; inline;
  669. procedure setSIDL; inline;
  670. procedure setT32; inline;
  671. procedure setTCKPS0; inline;
  672. procedure setTCKPS1; inline;
  673. procedure setTCKPS2; inline;
  674. procedure setTCS; inline;
  675. procedure setTGATE; inline;
  676. procedure setTON; inline;
  677. procedure setTSIDL; inline;
  678. property ON : TBits_1 read getON write setON;
  679. property SIDL : TBits_1 read getSIDL write setSIDL;
  680. property T32 : TBits_1 read getT32 write setT32;
  681. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  682. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  683. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  684. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  685. property TCS : TBits_1 read getTCS write setTCS;
  686. property TGATE : TBits_1 read getTGATE write setTGATE;
  687. property TON : TBits_1 read getTON write setTON;
  688. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  689. property w : TBits_32 read getw write setw;
  690. end;
  691. type
  692. TTMR5Registers = record
  693. T5CONbits : TTMR5_T5CON;
  694. T5CON : longWord;
  695. T5CONCLR : longWord;
  696. T5CONSET : longWord;
  697. T5CONINV : longWord;
  698. TMR5 : longWord;
  699. TMR5CLR : longWord;
  700. TMR5SET : longWord;
  701. TMR5INV : longWord;
  702. PR5 : longWord;
  703. PR5CLR : longWord;
  704. PR5SET : longWord;
  705. PR5INV : longWord;
  706. end;
  707. TICAP1_IC1CON = record
  708. private
  709. function getC32 : TBits_1; inline;
  710. function getFEDGE : TBits_1; inline;
  711. function getICBNE : TBits_1; inline;
  712. function getICI : TBits_2; inline;
  713. function getICI0 : TBits_1; inline;
  714. function getICI1 : TBits_1; inline;
  715. function getICM : TBits_3; inline;
  716. function getICM0 : TBits_1; inline;
  717. function getICM1 : TBits_1; inline;
  718. function getICM2 : TBits_1; inline;
  719. function getICOV : TBits_1; inline;
  720. function getICSIDL : TBits_1; inline;
  721. function getICTMR : TBits_1; inline;
  722. function getON : TBits_1; inline;
  723. function getSIDL : TBits_1; inline;
  724. function getw : TBits_32; inline;
  725. procedure setC32(thebits : TBits_1); inline;
  726. procedure setFEDGE(thebits : TBits_1); inline;
  727. procedure setICBNE(thebits : TBits_1); inline;
  728. procedure setICI(thebits : TBits_2); inline;
  729. procedure setICI0(thebits : TBits_1); inline;
  730. procedure setICI1(thebits : TBits_1); inline;
  731. procedure setICM(thebits : TBits_3); inline;
  732. procedure setICM0(thebits : TBits_1); inline;
  733. procedure setICM1(thebits : TBits_1); inline;
  734. procedure setICM2(thebits : TBits_1); inline;
  735. procedure setICOV(thebits : TBits_1); inline;
  736. procedure setICSIDL(thebits : TBits_1); inline;
  737. procedure setICTMR(thebits : TBits_1); inline;
  738. procedure setON(thebits : TBits_1); inline;
  739. procedure setSIDL(thebits : TBits_1); inline;
  740. procedure setw(thebits : TBits_32); inline;
  741. public
  742. procedure clearC32; inline;
  743. procedure clearFEDGE; inline;
  744. procedure clearICBNE; inline;
  745. procedure clearICI0; inline;
  746. procedure clearICI1; inline;
  747. procedure clearICM0; inline;
  748. procedure clearICM1; inline;
  749. procedure clearICM2; inline;
  750. procedure clearICOV; inline;
  751. procedure clearICSIDL; inline;
  752. procedure clearICTMR; inline;
  753. procedure clearON; inline;
  754. procedure clearSIDL; inline;
  755. procedure setC32; inline;
  756. procedure setFEDGE; inline;
  757. procedure setICBNE; inline;
  758. procedure setICI0; inline;
  759. procedure setICI1; inline;
  760. procedure setICM0; inline;
  761. procedure setICM1; inline;
  762. procedure setICM2; inline;
  763. procedure setICOV; inline;
  764. procedure setICSIDL; inline;
  765. procedure setICTMR; inline;
  766. procedure setON; inline;
  767. procedure setSIDL; inline;
  768. property C32 : TBits_1 read getC32 write setC32;
  769. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  770. property ICBNE : TBits_1 read getICBNE write setICBNE;
  771. property ICI : TBits_2 read getICI write setICI;
  772. property ICI0 : TBits_1 read getICI0 write setICI0;
  773. property ICI1 : TBits_1 read getICI1 write setICI1;
  774. property ICM : TBits_3 read getICM write setICM;
  775. property ICM0 : TBits_1 read getICM0 write setICM0;
  776. property ICM1 : TBits_1 read getICM1 write setICM1;
  777. property ICM2 : TBits_1 read getICM2 write setICM2;
  778. property ICOV : TBits_1 read getICOV write setICOV;
  779. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  780. property ICTMR : TBits_1 read getICTMR write setICTMR;
  781. property ON : TBits_1 read getON write setON;
  782. property SIDL : TBits_1 read getSIDL write setSIDL;
  783. property w : TBits_32 read getw write setw;
  784. end;
  785. type
  786. TICAP1Registers = record
  787. IC1CONbits : TICAP1_IC1CON;
  788. IC1CON : longWord;
  789. IC1CONCLR : longWord;
  790. IC1CONSET : longWord;
  791. IC1CONINV : longWord;
  792. IC1BUF : longWord;
  793. end;
  794. TICAP2_IC2CON = record
  795. private
  796. function getC32 : TBits_1; inline;
  797. function getFEDGE : TBits_1; inline;
  798. function getICBNE : TBits_1; inline;
  799. function getICI : TBits_2; inline;
  800. function getICI0 : TBits_1; inline;
  801. function getICI1 : TBits_1; inline;
  802. function getICM : TBits_3; inline;
  803. function getICM0 : TBits_1; inline;
  804. function getICM1 : TBits_1; inline;
  805. function getICM2 : TBits_1; inline;
  806. function getICOV : TBits_1; inline;
  807. function getICSIDL : TBits_1; inline;
  808. function getICTMR : TBits_1; inline;
  809. function getON : TBits_1; inline;
  810. function getSIDL : TBits_1; inline;
  811. function getw : TBits_32; inline;
  812. procedure setC32(thebits : TBits_1); inline;
  813. procedure setFEDGE(thebits : TBits_1); inline;
  814. procedure setICBNE(thebits : TBits_1); inline;
  815. procedure setICI(thebits : TBits_2); inline;
  816. procedure setICI0(thebits : TBits_1); inline;
  817. procedure setICI1(thebits : TBits_1); inline;
  818. procedure setICM(thebits : TBits_3); inline;
  819. procedure setICM0(thebits : TBits_1); inline;
  820. procedure setICM1(thebits : TBits_1); inline;
  821. procedure setICM2(thebits : TBits_1); inline;
  822. procedure setICOV(thebits : TBits_1); inline;
  823. procedure setICSIDL(thebits : TBits_1); inline;
  824. procedure setICTMR(thebits : TBits_1); inline;
  825. procedure setON(thebits : TBits_1); inline;
  826. procedure setSIDL(thebits : TBits_1); inline;
  827. procedure setw(thebits : TBits_32); inline;
  828. public
  829. procedure clearC32; inline;
  830. procedure clearFEDGE; inline;
  831. procedure clearICBNE; inline;
  832. procedure clearICI0; inline;
  833. procedure clearICI1; inline;
  834. procedure clearICM0; inline;
  835. procedure clearICM1; inline;
  836. procedure clearICM2; inline;
  837. procedure clearICOV; inline;
  838. procedure clearICSIDL; inline;
  839. procedure clearICTMR; inline;
  840. procedure clearON; inline;
  841. procedure clearSIDL; inline;
  842. procedure setC32; inline;
  843. procedure setFEDGE; inline;
  844. procedure setICBNE; inline;
  845. procedure setICI0; inline;
  846. procedure setICI1; inline;
  847. procedure setICM0; inline;
  848. procedure setICM1; inline;
  849. procedure setICM2; inline;
  850. procedure setICOV; inline;
  851. procedure setICSIDL; inline;
  852. procedure setICTMR; inline;
  853. procedure setON; inline;
  854. procedure setSIDL; inline;
  855. property C32 : TBits_1 read getC32 write setC32;
  856. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  857. property ICBNE : TBits_1 read getICBNE write setICBNE;
  858. property ICI : TBits_2 read getICI write setICI;
  859. property ICI0 : TBits_1 read getICI0 write setICI0;
  860. property ICI1 : TBits_1 read getICI1 write setICI1;
  861. property ICM : TBits_3 read getICM write setICM;
  862. property ICM0 : TBits_1 read getICM0 write setICM0;
  863. property ICM1 : TBits_1 read getICM1 write setICM1;
  864. property ICM2 : TBits_1 read getICM2 write setICM2;
  865. property ICOV : TBits_1 read getICOV write setICOV;
  866. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  867. property ICTMR : TBits_1 read getICTMR write setICTMR;
  868. property ON : TBits_1 read getON write setON;
  869. property SIDL : TBits_1 read getSIDL write setSIDL;
  870. property w : TBits_32 read getw write setw;
  871. end;
  872. type
  873. TICAP2Registers = record
  874. IC2CONbits : TICAP2_IC2CON;
  875. IC2CON : longWord;
  876. IC2CONCLR : longWord;
  877. IC2CONSET : longWord;
  878. IC2CONINV : longWord;
  879. IC2BUF : longWord;
  880. end;
  881. TICAP3_IC3CON = record
  882. private
  883. function getC32 : TBits_1; inline;
  884. function getFEDGE : TBits_1; inline;
  885. function getICBNE : TBits_1; inline;
  886. function getICI : TBits_2; inline;
  887. function getICI0 : TBits_1; inline;
  888. function getICI1 : TBits_1; inline;
  889. function getICM : TBits_3; inline;
  890. function getICM0 : TBits_1; inline;
  891. function getICM1 : TBits_1; inline;
  892. function getICM2 : TBits_1; inline;
  893. function getICOV : TBits_1; inline;
  894. function getICSIDL : TBits_1; inline;
  895. function getICTMR : TBits_1; inline;
  896. function getON : TBits_1; inline;
  897. function getSIDL : TBits_1; inline;
  898. function getw : TBits_32; inline;
  899. procedure setC32(thebits : TBits_1); inline;
  900. procedure setFEDGE(thebits : TBits_1); inline;
  901. procedure setICBNE(thebits : TBits_1); inline;
  902. procedure setICI(thebits : TBits_2); inline;
  903. procedure setICI0(thebits : TBits_1); inline;
  904. procedure setICI1(thebits : TBits_1); inline;
  905. procedure setICM(thebits : TBits_3); inline;
  906. procedure setICM0(thebits : TBits_1); inline;
  907. procedure setICM1(thebits : TBits_1); inline;
  908. procedure setICM2(thebits : TBits_1); inline;
  909. procedure setICOV(thebits : TBits_1); inline;
  910. procedure setICSIDL(thebits : TBits_1); inline;
  911. procedure setICTMR(thebits : TBits_1); inline;
  912. procedure setON(thebits : TBits_1); inline;
  913. procedure setSIDL(thebits : TBits_1); inline;
  914. procedure setw(thebits : TBits_32); inline;
  915. public
  916. procedure clearC32; inline;
  917. procedure clearFEDGE; inline;
  918. procedure clearICBNE; inline;
  919. procedure clearICI0; inline;
  920. procedure clearICI1; inline;
  921. procedure clearICM0; inline;
  922. procedure clearICM1; inline;
  923. procedure clearICM2; inline;
  924. procedure clearICOV; inline;
  925. procedure clearICSIDL; inline;
  926. procedure clearICTMR; inline;
  927. procedure clearON; inline;
  928. procedure clearSIDL; inline;
  929. procedure setC32; inline;
  930. procedure setFEDGE; inline;
  931. procedure setICBNE; inline;
  932. procedure setICI0; inline;
  933. procedure setICI1; inline;
  934. procedure setICM0; inline;
  935. procedure setICM1; inline;
  936. procedure setICM2; inline;
  937. procedure setICOV; inline;
  938. procedure setICSIDL; inline;
  939. procedure setICTMR; inline;
  940. procedure setON; inline;
  941. procedure setSIDL; inline;
  942. property C32 : TBits_1 read getC32 write setC32;
  943. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  944. property ICBNE : TBits_1 read getICBNE write setICBNE;
  945. property ICI : TBits_2 read getICI write setICI;
  946. property ICI0 : TBits_1 read getICI0 write setICI0;
  947. property ICI1 : TBits_1 read getICI1 write setICI1;
  948. property ICM : TBits_3 read getICM write setICM;
  949. property ICM0 : TBits_1 read getICM0 write setICM0;
  950. property ICM1 : TBits_1 read getICM1 write setICM1;
  951. property ICM2 : TBits_1 read getICM2 write setICM2;
  952. property ICOV : TBits_1 read getICOV write setICOV;
  953. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  954. property ICTMR : TBits_1 read getICTMR write setICTMR;
  955. property ON : TBits_1 read getON write setON;
  956. property SIDL : TBits_1 read getSIDL write setSIDL;
  957. property w : TBits_32 read getw write setw;
  958. end;
  959. type
  960. TICAP3Registers = record
  961. IC3CONbits : TICAP3_IC3CON;
  962. IC3CON : longWord;
  963. IC3CONCLR : longWord;
  964. IC3CONSET : longWord;
  965. IC3CONINV : longWord;
  966. IC3BUF : longWord;
  967. end;
  968. TICAP4_IC4CON = record
  969. private
  970. function getC32 : TBits_1; inline;
  971. function getFEDGE : TBits_1; inline;
  972. function getICBNE : TBits_1; inline;
  973. function getICI : TBits_2; inline;
  974. function getICI0 : TBits_1; inline;
  975. function getICI1 : TBits_1; inline;
  976. function getICM : TBits_3; inline;
  977. function getICM0 : TBits_1; inline;
  978. function getICM1 : TBits_1; inline;
  979. function getICM2 : TBits_1; inline;
  980. function getICOV : TBits_1; inline;
  981. function getICSIDL : TBits_1; inline;
  982. function getICTMR : TBits_1; inline;
  983. function getON : TBits_1; inline;
  984. function getSIDL : TBits_1; inline;
  985. function getw : TBits_32; inline;
  986. procedure setC32(thebits : TBits_1); inline;
  987. procedure setFEDGE(thebits : TBits_1); inline;
  988. procedure setICBNE(thebits : TBits_1); inline;
  989. procedure setICI(thebits : TBits_2); inline;
  990. procedure setICI0(thebits : TBits_1); inline;
  991. procedure setICI1(thebits : TBits_1); inline;
  992. procedure setICM(thebits : TBits_3); inline;
  993. procedure setICM0(thebits : TBits_1); inline;
  994. procedure setICM1(thebits : TBits_1); inline;
  995. procedure setICM2(thebits : TBits_1); inline;
  996. procedure setICOV(thebits : TBits_1); inline;
  997. procedure setICSIDL(thebits : TBits_1); inline;
  998. procedure setICTMR(thebits : TBits_1); inline;
  999. procedure setON(thebits : TBits_1); inline;
  1000. procedure setSIDL(thebits : TBits_1); inline;
  1001. procedure setw(thebits : TBits_32); inline;
  1002. public
  1003. procedure clearC32; inline;
  1004. procedure clearFEDGE; inline;
  1005. procedure clearICBNE; inline;
  1006. procedure clearICI0; inline;
  1007. procedure clearICI1; inline;
  1008. procedure clearICM0; inline;
  1009. procedure clearICM1; inline;
  1010. procedure clearICM2; inline;
  1011. procedure clearICOV; inline;
  1012. procedure clearICSIDL; inline;
  1013. procedure clearICTMR; inline;
  1014. procedure clearON; inline;
  1015. procedure clearSIDL; inline;
  1016. procedure setC32; inline;
  1017. procedure setFEDGE; inline;
  1018. procedure setICBNE; inline;
  1019. procedure setICI0; inline;
  1020. procedure setICI1; inline;
  1021. procedure setICM0; inline;
  1022. procedure setICM1; inline;
  1023. procedure setICM2; inline;
  1024. procedure setICOV; inline;
  1025. procedure setICSIDL; inline;
  1026. procedure setICTMR; inline;
  1027. procedure setON; inline;
  1028. procedure setSIDL; inline;
  1029. property C32 : TBits_1 read getC32 write setC32;
  1030. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1031. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1032. property ICI : TBits_2 read getICI write setICI;
  1033. property ICI0 : TBits_1 read getICI0 write setICI0;
  1034. property ICI1 : TBits_1 read getICI1 write setICI1;
  1035. property ICM : TBits_3 read getICM write setICM;
  1036. property ICM0 : TBits_1 read getICM0 write setICM0;
  1037. property ICM1 : TBits_1 read getICM1 write setICM1;
  1038. property ICM2 : TBits_1 read getICM2 write setICM2;
  1039. property ICOV : TBits_1 read getICOV write setICOV;
  1040. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1041. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1042. property ON : TBits_1 read getON write setON;
  1043. property SIDL : TBits_1 read getSIDL write setSIDL;
  1044. property w : TBits_32 read getw write setw;
  1045. end;
  1046. type
  1047. TICAP4Registers = record
  1048. IC4CONbits : TICAP4_IC4CON;
  1049. IC4CON : longWord;
  1050. IC4CONCLR : longWord;
  1051. IC4CONSET : longWord;
  1052. IC4CONINV : longWord;
  1053. IC4BUF : longWord;
  1054. end;
  1055. TICAP5_IC5CON = record
  1056. private
  1057. function getC32 : TBits_1; inline;
  1058. function getFEDGE : TBits_1; inline;
  1059. function getICBNE : TBits_1; inline;
  1060. function getICI : TBits_2; inline;
  1061. function getICI0 : TBits_1; inline;
  1062. function getICI1 : TBits_1; inline;
  1063. function getICM : TBits_3; inline;
  1064. function getICM0 : TBits_1; inline;
  1065. function getICM1 : TBits_1; inline;
  1066. function getICM2 : TBits_1; inline;
  1067. function getICOV : TBits_1; inline;
  1068. function getICSIDL : TBits_1; inline;
  1069. function getICTMR : TBits_1; inline;
  1070. function getON : TBits_1; inline;
  1071. function getSIDL : TBits_1; inline;
  1072. function getw : TBits_32; inline;
  1073. procedure setC32(thebits : TBits_1); inline;
  1074. procedure setFEDGE(thebits : TBits_1); inline;
  1075. procedure setICBNE(thebits : TBits_1); inline;
  1076. procedure setICI(thebits : TBits_2); inline;
  1077. procedure setICI0(thebits : TBits_1); inline;
  1078. procedure setICI1(thebits : TBits_1); inline;
  1079. procedure setICM(thebits : TBits_3); inline;
  1080. procedure setICM0(thebits : TBits_1); inline;
  1081. procedure setICM1(thebits : TBits_1); inline;
  1082. procedure setICM2(thebits : TBits_1); inline;
  1083. procedure setICOV(thebits : TBits_1); inline;
  1084. procedure setICSIDL(thebits : TBits_1); inline;
  1085. procedure setICTMR(thebits : TBits_1); inline;
  1086. procedure setON(thebits : TBits_1); inline;
  1087. procedure setSIDL(thebits : TBits_1); inline;
  1088. procedure setw(thebits : TBits_32); inline;
  1089. public
  1090. procedure clearC32; inline;
  1091. procedure clearFEDGE; inline;
  1092. procedure clearICBNE; inline;
  1093. procedure clearICI0; inline;
  1094. procedure clearICI1; inline;
  1095. procedure clearICM0; inline;
  1096. procedure clearICM1; inline;
  1097. procedure clearICM2; inline;
  1098. procedure clearICOV; inline;
  1099. procedure clearICSIDL; inline;
  1100. procedure clearICTMR; inline;
  1101. procedure clearON; inline;
  1102. procedure clearSIDL; inline;
  1103. procedure setC32; inline;
  1104. procedure setFEDGE; inline;
  1105. procedure setICBNE; inline;
  1106. procedure setICI0; inline;
  1107. procedure setICI1; inline;
  1108. procedure setICM0; inline;
  1109. procedure setICM1; inline;
  1110. procedure setICM2; inline;
  1111. procedure setICOV; inline;
  1112. procedure setICSIDL; inline;
  1113. procedure setICTMR; inline;
  1114. procedure setON; inline;
  1115. procedure setSIDL; inline;
  1116. property C32 : TBits_1 read getC32 write setC32;
  1117. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1118. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1119. property ICI : TBits_2 read getICI write setICI;
  1120. property ICI0 : TBits_1 read getICI0 write setICI0;
  1121. property ICI1 : TBits_1 read getICI1 write setICI1;
  1122. property ICM : TBits_3 read getICM write setICM;
  1123. property ICM0 : TBits_1 read getICM0 write setICM0;
  1124. property ICM1 : TBits_1 read getICM1 write setICM1;
  1125. property ICM2 : TBits_1 read getICM2 write setICM2;
  1126. property ICOV : TBits_1 read getICOV write setICOV;
  1127. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1128. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1129. property ON : TBits_1 read getON write setON;
  1130. property SIDL : TBits_1 read getSIDL write setSIDL;
  1131. property w : TBits_32 read getw write setw;
  1132. end;
  1133. type
  1134. TICAP5Registers = record
  1135. IC5CONbits : TICAP5_IC5CON;
  1136. IC5CON : longWord;
  1137. IC5CONCLR : longWord;
  1138. IC5CONSET : longWord;
  1139. IC5CONINV : longWord;
  1140. IC5BUF : longWord;
  1141. end;
  1142. TOCMP1_OC1CON = record
  1143. private
  1144. function getOC32 : TBits_1; inline;
  1145. function getOCFLT : TBits_1; inline;
  1146. function getOCM : TBits_3; inline;
  1147. function getOCM0 : TBits_1; inline;
  1148. function getOCM1 : TBits_1; inline;
  1149. function getOCM2 : TBits_1; inline;
  1150. function getOCSIDL : TBits_1; inline;
  1151. function getOCTSEL : TBits_1; inline;
  1152. function getON : TBits_1; inline;
  1153. function getSIDL : TBits_1; inline;
  1154. function getw : TBits_32; inline;
  1155. procedure setOC32(thebits : TBits_1); inline;
  1156. procedure setOCFLT(thebits : TBits_1); inline;
  1157. procedure setOCM(thebits : TBits_3); inline;
  1158. procedure setOCM0(thebits : TBits_1); inline;
  1159. procedure setOCM1(thebits : TBits_1); inline;
  1160. procedure setOCM2(thebits : TBits_1); inline;
  1161. procedure setOCSIDL(thebits : TBits_1); inline;
  1162. procedure setOCTSEL(thebits : TBits_1); inline;
  1163. procedure setON(thebits : TBits_1); inline;
  1164. procedure setSIDL(thebits : TBits_1); inline;
  1165. procedure setw(thebits : TBits_32); inline;
  1166. public
  1167. procedure clearOC32; inline;
  1168. procedure clearOCFLT; inline;
  1169. procedure clearOCM0; inline;
  1170. procedure clearOCM1; inline;
  1171. procedure clearOCM2; inline;
  1172. procedure clearOCSIDL; inline;
  1173. procedure clearOCTSEL; inline;
  1174. procedure clearON; inline;
  1175. procedure clearSIDL; inline;
  1176. procedure setOC32; inline;
  1177. procedure setOCFLT; inline;
  1178. procedure setOCM0; inline;
  1179. procedure setOCM1; inline;
  1180. procedure setOCM2; inline;
  1181. procedure setOCSIDL; inline;
  1182. procedure setOCTSEL; inline;
  1183. procedure setON; inline;
  1184. procedure setSIDL; inline;
  1185. property OC32 : TBits_1 read getOC32 write setOC32;
  1186. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1187. property OCM : TBits_3 read getOCM write setOCM;
  1188. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1189. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1190. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1191. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1192. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1193. property ON : TBits_1 read getON write setON;
  1194. property SIDL : TBits_1 read getSIDL write setSIDL;
  1195. property w : TBits_32 read getw write setw;
  1196. end;
  1197. type
  1198. TOCMP1Registers = record
  1199. OC1CONbits : TOCMP1_OC1CON;
  1200. OC1CON : longWord;
  1201. OC1CONCLR : longWord;
  1202. OC1CONSET : longWord;
  1203. OC1CONINV : longWord;
  1204. OC1R : longWord;
  1205. OC1RCLR : longWord;
  1206. OC1RSET : longWord;
  1207. OC1RINV : longWord;
  1208. OC1RS : longWord;
  1209. OC1RSCLR : longWord;
  1210. OC1RSSET : longWord;
  1211. OC1RSINV : longWord;
  1212. end;
  1213. TOCMP2_OC2CON = record
  1214. private
  1215. function getOC32 : TBits_1; inline;
  1216. function getOCFLT : TBits_1; inline;
  1217. function getOCM : TBits_3; inline;
  1218. function getOCM0 : TBits_1; inline;
  1219. function getOCM1 : TBits_1; inline;
  1220. function getOCM2 : TBits_1; inline;
  1221. function getOCSIDL : TBits_1; inline;
  1222. function getOCTSEL : TBits_1; inline;
  1223. function getON : TBits_1; inline;
  1224. function getSIDL : TBits_1; inline;
  1225. function getw : TBits_32; inline;
  1226. procedure setOC32(thebits : TBits_1); inline;
  1227. procedure setOCFLT(thebits : TBits_1); inline;
  1228. procedure setOCM(thebits : TBits_3); inline;
  1229. procedure setOCM0(thebits : TBits_1); inline;
  1230. procedure setOCM1(thebits : TBits_1); inline;
  1231. procedure setOCM2(thebits : TBits_1); inline;
  1232. procedure setOCSIDL(thebits : TBits_1); inline;
  1233. procedure setOCTSEL(thebits : TBits_1); inline;
  1234. procedure setON(thebits : TBits_1); inline;
  1235. procedure setSIDL(thebits : TBits_1); inline;
  1236. procedure setw(thebits : TBits_32); inline;
  1237. public
  1238. procedure clearOC32; inline;
  1239. procedure clearOCFLT; inline;
  1240. procedure clearOCM0; inline;
  1241. procedure clearOCM1; inline;
  1242. procedure clearOCM2; inline;
  1243. procedure clearOCSIDL; inline;
  1244. procedure clearOCTSEL; inline;
  1245. procedure clearON; inline;
  1246. procedure clearSIDL; inline;
  1247. procedure setOC32; inline;
  1248. procedure setOCFLT; inline;
  1249. procedure setOCM0; inline;
  1250. procedure setOCM1; inline;
  1251. procedure setOCM2; inline;
  1252. procedure setOCSIDL; inline;
  1253. procedure setOCTSEL; inline;
  1254. procedure setON; inline;
  1255. procedure setSIDL; inline;
  1256. property OC32 : TBits_1 read getOC32 write setOC32;
  1257. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1258. property OCM : TBits_3 read getOCM write setOCM;
  1259. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1260. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1261. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1262. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1263. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1264. property ON : TBits_1 read getON write setON;
  1265. property SIDL : TBits_1 read getSIDL write setSIDL;
  1266. property w : TBits_32 read getw write setw;
  1267. end;
  1268. type
  1269. TOCMP2Registers = record
  1270. OC2CONbits : TOCMP2_OC2CON;
  1271. OC2CON : longWord;
  1272. OC2CONCLR : longWord;
  1273. OC2CONSET : longWord;
  1274. OC2CONINV : longWord;
  1275. OC2R : longWord;
  1276. OC2RCLR : longWord;
  1277. OC2RSET : longWord;
  1278. OC2RINV : longWord;
  1279. OC2RS : longWord;
  1280. OC2RSCLR : longWord;
  1281. OC2RSSET : longWord;
  1282. OC2RSINV : longWord;
  1283. end;
  1284. TOCMP3_OC3CON = record
  1285. private
  1286. function getOC32 : TBits_1; inline;
  1287. function getOCFLT : TBits_1; inline;
  1288. function getOCM : TBits_3; inline;
  1289. function getOCM0 : TBits_1; inline;
  1290. function getOCM1 : TBits_1; inline;
  1291. function getOCM2 : TBits_1; inline;
  1292. function getOCSIDL : TBits_1; inline;
  1293. function getOCTSEL : TBits_1; inline;
  1294. function getON : TBits_1; inline;
  1295. function getSIDL : TBits_1; inline;
  1296. function getw : TBits_32; inline;
  1297. procedure setOC32(thebits : TBits_1); inline;
  1298. procedure setOCFLT(thebits : TBits_1); inline;
  1299. procedure setOCM(thebits : TBits_3); inline;
  1300. procedure setOCM0(thebits : TBits_1); inline;
  1301. procedure setOCM1(thebits : TBits_1); inline;
  1302. procedure setOCM2(thebits : TBits_1); inline;
  1303. procedure setOCSIDL(thebits : TBits_1); inline;
  1304. procedure setOCTSEL(thebits : TBits_1); inline;
  1305. procedure setON(thebits : TBits_1); inline;
  1306. procedure setSIDL(thebits : TBits_1); inline;
  1307. procedure setw(thebits : TBits_32); inline;
  1308. public
  1309. procedure clearOC32; inline;
  1310. procedure clearOCFLT; inline;
  1311. procedure clearOCM0; inline;
  1312. procedure clearOCM1; inline;
  1313. procedure clearOCM2; inline;
  1314. procedure clearOCSIDL; inline;
  1315. procedure clearOCTSEL; inline;
  1316. procedure clearON; inline;
  1317. procedure clearSIDL; inline;
  1318. procedure setOC32; inline;
  1319. procedure setOCFLT; inline;
  1320. procedure setOCM0; inline;
  1321. procedure setOCM1; inline;
  1322. procedure setOCM2; inline;
  1323. procedure setOCSIDL; inline;
  1324. procedure setOCTSEL; inline;
  1325. procedure setON; inline;
  1326. procedure setSIDL; inline;
  1327. property OC32 : TBits_1 read getOC32 write setOC32;
  1328. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1329. property OCM : TBits_3 read getOCM write setOCM;
  1330. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1331. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1332. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1333. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1334. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1335. property ON : TBits_1 read getON write setON;
  1336. property SIDL : TBits_1 read getSIDL write setSIDL;
  1337. property w : TBits_32 read getw write setw;
  1338. end;
  1339. type
  1340. TOCMP3Registers = record
  1341. OC3CONbits : TOCMP3_OC3CON;
  1342. OC3CON : longWord;
  1343. OC3CONCLR : longWord;
  1344. OC3CONSET : longWord;
  1345. OC3CONINV : longWord;
  1346. OC3R : longWord;
  1347. OC3RCLR : longWord;
  1348. OC3RSET : longWord;
  1349. OC3RINV : longWord;
  1350. OC3RS : longWord;
  1351. OC3RSCLR : longWord;
  1352. OC3RSSET : longWord;
  1353. OC3RSINV : longWord;
  1354. end;
  1355. TOCMP4_OC4CON = record
  1356. private
  1357. function getOC32 : TBits_1; inline;
  1358. function getOCFLT : TBits_1; inline;
  1359. function getOCM : TBits_3; inline;
  1360. function getOCM0 : TBits_1; inline;
  1361. function getOCM1 : TBits_1; inline;
  1362. function getOCM2 : TBits_1; inline;
  1363. function getOCSIDL : TBits_1; inline;
  1364. function getOCTSEL : TBits_1; inline;
  1365. function getON : TBits_1; inline;
  1366. function getSIDL : TBits_1; inline;
  1367. function getw : TBits_32; inline;
  1368. procedure setOC32(thebits : TBits_1); inline;
  1369. procedure setOCFLT(thebits : TBits_1); inline;
  1370. procedure setOCM(thebits : TBits_3); inline;
  1371. procedure setOCM0(thebits : TBits_1); inline;
  1372. procedure setOCM1(thebits : TBits_1); inline;
  1373. procedure setOCM2(thebits : TBits_1); inline;
  1374. procedure setOCSIDL(thebits : TBits_1); inline;
  1375. procedure setOCTSEL(thebits : TBits_1); inline;
  1376. procedure setON(thebits : TBits_1); inline;
  1377. procedure setSIDL(thebits : TBits_1); inline;
  1378. procedure setw(thebits : TBits_32); inline;
  1379. public
  1380. procedure clearOC32; inline;
  1381. procedure clearOCFLT; inline;
  1382. procedure clearOCM0; inline;
  1383. procedure clearOCM1; inline;
  1384. procedure clearOCM2; inline;
  1385. procedure clearOCSIDL; inline;
  1386. procedure clearOCTSEL; inline;
  1387. procedure clearON; inline;
  1388. procedure clearSIDL; inline;
  1389. procedure setOC32; inline;
  1390. procedure setOCFLT; inline;
  1391. procedure setOCM0; inline;
  1392. procedure setOCM1; inline;
  1393. procedure setOCM2; inline;
  1394. procedure setOCSIDL; inline;
  1395. procedure setOCTSEL; inline;
  1396. procedure setON; inline;
  1397. procedure setSIDL; inline;
  1398. property OC32 : TBits_1 read getOC32 write setOC32;
  1399. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1400. property OCM : TBits_3 read getOCM write setOCM;
  1401. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1402. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1403. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1404. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1405. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1406. property ON : TBits_1 read getON write setON;
  1407. property SIDL : TBits_1 read getSIDL write setSIDL;
  1408. property w : TBits_32 read getw write setw;
  1409. end;
  1410. type
  1411. TOCMP4Registers = record
  1412. OC4CONbits : TOCMP4_OC4CON;
  1413. OC4CON : longWord;
  1414. OC4CONCLR : longWord;
  1415. OC4CONSET : longWord;
  1416. OC4CONINV : longWord;
  1417. OC4R : longWord;
  1418. OC4RCLR : longWord;
  1419. OC4RSET : longWord;
  1420. OC4RINV : longWord;
  1421. OC4RS : longWord;
  1422. OC4RSCLR : longWord;
  1423. OC4RSSET : longWord;
  1424. OC4RSINV : longWord;
  1425. end;
  1426. TOCMP5_OC5CON = record
  1427. private
  1428. function getOC32 : TBits_1; inline;
  1429. function getOCFLT : TBits_1; inline;
  1430. function getOCM : TBits_3; inline;
  1431. function getOCM0 : TBits_1; inline;
  1432. function getOCM1 : TBits_1; inline;
  1433. function getOCM2 : TBits_1; inline;
  1434. function getOCSIDL : TBits_1; inline;
  1435. function getOCTSEL : TBits_1; inline;
  1436. function getON : TBits_1; inline;
  1437. function getSIDL : TBits_1; inline;
  1438. function getw : TBits_32; inline;
  1439. procedure setOC32(thebits : TBits_1); inline;
  1440. procedure setOCFLT(thebits : TBits_1); inline;
  1441. procedure setOCM(thebits : TBits_3); inline;
  1442. procedure setOCM0(thebits : TBits_1); inline;
  1443. procedure setOCM1(thebits : TBits_1); inline;
  1444. procedure setOCM2(thebits : TBits_1); inline;
  1445. procedure setOCSIDL(thebits : TBits_1); inline;
  1446. procedure setOCTSEL(thebits : TBits_1); inline;
  1447. procedure setON(thebits : TBits_1); inline;
  1448. procedure setSIDL(thebits : TBits_1); inline;
  1449. procedure setw(thebits : TBits_32); inline;
  1450. public
  1451. procedure clearOC32; inline;
  1452. procedure clearOCFLT; inline;
  1453. procedure clearOCM0; inline;
  1454. procedure clearOCM1; inline;
  1455. procedure clearOCM2; inline;
  1456. procedure clearOCSIDL; inline;
  1457. procedure clearOCTSEL; inline;
  1458. procedure clearON; inline;
  1459. procedure clearSIDL; inline;
  1460. procedure setOC32; inline;
  1461. procedure setOCFLT; inline;
  1462. procedure setOCM0; inline;
  1463. procedure setOCM1; inline;
  1464. procedure setOCM2; inline;
  1465. procedure setOCSIDL; inline;
  1466. procedure setOCTSEL; inline;
  1467. procedure setON; inline;
  1468. procedure setSIDL; inline;
  1469. property OC32 : TBits_1 read getOC32 write setOC32;
  1470. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1471. property OCM : TBits_3 read getOCM write setOCM;
  1472. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1473. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1474. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1475. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1476. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1477. property ON : TBits_1 read getON write setON;
  1478. property SIDL : TBits_1 read getSIDL write setSIDL;
  1479. property w : TBits_32 read getw write setw;
  1480. end;
  1481. type
  1482. TOCMP5Registers = record
  1483. OC5CONbits : TOCMP5_OC5CON;
  1484. OC5CON : longWord;
  1485. OC5CONCLR : longWord;
  1486. OC5CONSET : longWord;
  1487. OC5CONINV : longWord;
  1488. OC5R : longWord;
  1489. OC5RCLR : longWord;
  1490. OC5RSET : longWord;
  1491. OC5RINV : longWord;
  1492. OC5RS : longWord;
  1493. OC5RSCLR : longWord;
  1494. OC5RSSET : longWord;
  1495. OC5RSINV : longWord;
  1496. end;
  1497. TI2C1_I2C1111CON = record
  1498. private
  1499. function getA10M : TBits_1; inline;
  1500. function getACKDT : TBits_1; inline;
  1501. function getACKEN : TBits_1; inline;
  1502. function getDISSLW : TBits_1; inline;
  1503. function getGCEN : TBits_1; inline;
  1504. function getI2CEN : TBits_1; inline;
  1505. function getI2CSIDL : TBits_1; inline;
  1506. function getIPMIEN : TBits_1; inline;
  1507. function getON : TBits_1; inline;
  1508. function getPEN : TBits_1; inline;
  1509. function getRCEN : TBits_1; inline;
  1510. function getRSEN : TBits_1; inline;
  1511. function getSCLREL : TBits_1; inline;
  1512. function getSEN : TBits_1; inline;
  1513. function getSIDL : TBits_1; inline;
  1514. function getSMEN : TBits_1; inline;
  1515. function getSTREN : TBits_1; inline;
  1516. function getSTRICT : TBits_1; inline;
  1517. function getw : TBits_32; inline;
  1518. procedure setA10M(thebits : TBits_1); inline;
  1519. procedure setACKDT(thebits : TBits_1); inline;
  1520. procedure setACKEN(thebits : TBits_1); inline;
  1521. procedure setDISSLW(thebits : TBits_1); inline;
  1522. procedure setGCEN(thebits : TBits_1); inline;
  1523. procedure setI2CEN(thebits : TBits_1); inline;
  1524. procedure setI2CSIDL(thebits : TBits_1); inline;
  1525. procedure setIPMIEN(thebits : TBits_1); inline;
  1526. procedure setON(thebits : TBits_1); inline;
  1527. procedure setPEN(thebits : TBits_1); inline;
  1528. procedure setRCEN(thebits : TBits_1); inline;
  1529. procedure setRSEN(thebits : TBits_1); inline;
  1530. procedure setSCLREL(thebits : TBits_1); inline;
  1531. procedure setSEN(thebits : TBits_1); inline;
  1532. procedure setSIDL(thebits : TBits_1); inline;
  1533. procedure setSMEN(thebits : TBits_1); inline;
  1534. procedure setSTREN(thebits : TBits_1); inline;
  1535. procedure setSTRICT(thebits : TBits_1); inline;
  1536. procedure setw(thebits : TBits_32); inline;
  1537. public
  1538. procedure clearA10M; inline;
  1539. procedure clearACKDT; inline;
  1540. procedure clearACKEN; inline;
  1541. procedure clearDISSLW; inline;
  1542. procedure clearGCEN; inline;
  1543. procedure clearI2CEN; inline;
  1544. procedure clearI2CSIDL; inline;
  1545. procedure clearIPMIEN; inline;
  1546. procedure clearON; inline;
  1547. procedure clearPEN; inline;
  1548. procedure clearRCEN; inline;
  1549. procedure clearRSEN; inline;
  1550. procedure clearSCLREL; inline;
  1551. procedure clearSEN; inline;
  1552. procedure clearSIDL; inline;
  1553. procedure clearSMEN; inline;
  1554. procedure clearSTREN; inline;
  1555. procedure clearSTRICT; inline;
  1556. procedure setA10M; inline;
  1557. procedure setACKDT; inline;
  1558. procedure setACKEN; inline;
  1559. procedure setDISSLW; inline;
  1560. procedure setGCEN; inline;
  1561. procedure setI2CEN; inline;
  1562. procedure setI2CSIDL; inline;
  1563. procedure setIPMIEN; inline;
  1564. procedure setON; inline;
  1565. procedure setPEN; inline;
  1566. procedure setRCEN; inline;
  1567. procedure setRSEN; inline;
  1568. procedure setSCLREL; inline;
  1569. procedure setSEN; inline;
  1570. procedure setSIDL; inline;
  1571. procedure setSMEN; inline;
  1572. procedure setSTREN; inline;
  1573. procedure setSTRICT; inline;
  1574. property A10M : TBits_1 read getA10M write setA10M;
  1575. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1576. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1577. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1578. property GCEN : TBits_1 read getGCEN write setGCEN;
  1579. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1580. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1581. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1582. property ON : TBits_1 read getON write setON;
  1583. property PEN : TBits_1 read getPEN write setPEN;
  1584. property RCEN : TBits_1 read getRCEN write setRCEN;
  1585. property RSEN : TBits_1 read getRSEN write setRSEN;
  1586. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1587. property SEN : TBits_1 read getSEN write setSEN;
  1588. property SIDL : TBits_1 read getSIDL write setSIDL;
  1589. property SMEN : TBits_1 read getSMEN write setSMEN;
  1590. property STREN : TBits_1 read getSTREN write setSTREN;
  1591. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1592. property w : TBits_32 read getw write setw;
  1593. end;
  1594. TI2C1_I2C1CON = record
  1595. private
  1596. function getA10M : TBits_1; inline;
  1597. function getACKDT : TBits_1; inline;
  1598. function getACKEN : TBits_1; inline;
  1599. function getDISSLW : TBits_1; inline;
  1600. function getGCEN : TBits_1; inline;
  1601. function getI2CEN : TBits_1; inline;
  1602. function getI2CSIDL : TBits_1; inline;
  1603. function getIPMIEN : TBits_1; inline;
  1604. function getON : TBits_1; inline;
  1605. function getPEN : TBits_1; inline;
  1606. function getRCEN : TBits_1; inline;
  1607. function getRSEN : TBits_1; inline;
  1608. function getSCLREL : TBits_1; inline;
  1609. function getSEN : TBits_1; inline;
  1610. function getSIDL : TBits_1; inline;
  1611. function getSMEN : TBits_1; inline;
  1612. function getSTREN : TBits_1; inline;
  1613. function getSTRICT : TBits_1; inline;
  1614. function getw : TBits_32; inline;
  1615. procedure setA10M(thebits : TBits_1); inline;
  1616. procedure setACKDT(thebits : TBits_1); inline;
  1617. procedure setACKEN(thebits : TBits_1); inline;
  1618. procedure setDISSLW(thebits : TBits_1); inline;
  1619. procedure setGCEN(thebits : TBits_1); inline;
  1620. procedure setI2CEN(thebits : TBits_1); inline;
  1621. procedure setI2CSIDL(thebits : TBits_1); inline;
  1622. procedure setIPMIEN(thebits : TBits_1); inline;
  1623. procedure setON(thebits : TBits_1); inline;
  1624. procedure setPEN(thebits : TBits_1); inline;
  1625. procedure setRCEN(thebits : TBits_1); inline;
  1626. procedure setRSEN(thebits : TBits_1); inline;
  1627. procedure setSCLREL(thebits : TBits_1); inline;
  1628. procedure setSEN(thebits : TBits_1); inline;
  1629. procedure setSIDL(thebits : TBits_1); inline;
  1630. procedure setSMEN(thebits : TBits_1); inline;
  1631. procedure setSTREN(thebits : TBits_1); inline;
  1632. procedure setSTRICT(thebits : TBits_1); inline;
  1633. procedure setw(thebits : TBits_32); inline;
  1634. public
  1635. procedure clearA10M; inline;
  1636. procedure clearACKDT; inline;
  1637. procedure clearACKEN; inline;
  1638. procedure clearDISSLW; inline;
  1639. procedure clearGCEN; inline;
  1640. procedure clearI2CEN; inline;
  1641. procedure clearI2CSIDL; inline;
  1642. procedure clearIPMIEN; inline;
  1643. procedure clearON; inline;
  1644. procedure clearPEN; inline;
  1645. procedure clearRCEN; inline;
  1646. procedure clearRSEN; inline;
  1647. procedure clearSCLREL; inline;
  1648. procedure clearSEN; inline;
  1649. procedure clearSIDL; inline;
  1650. procedure clearSMEN; inline;
  1651. procedure clearSTREN; inline;
  1652. procedure clearSTRICT; inline;
  1653. procedure setA10M; inline;
  1654. procedure setACKDT; inline;
  1655. procedure setACKEN; inline;
  1656. procedure setDISSLW; inline;
  1657. procedure setGCEN; inline;
  1658. procedure setI2CEN; inline;
  1659. procedure setI2CSIDL; inline;
  1660. procedure setIPMIEN; inline;
  1661. procedure setON; inline;
  1662. procedure setPEN; inline;
  1663. procedure setRCEN; inline;
  1664. procedure setRSEN; inline;
  1665. procedure setSCLREL; inline;
  1666. procedure setSEN; inline;
  1667. procedure setSIDL; inline;
  1668. procedure setSMEN; inline;
  1669. procedure setSTREN; inline;
  1670. procedure setSTRICT; inline;
  1671. property A10M : TBits_1 read getA10M write setA10M;
  1672. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1673. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1674. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1675. property GCEN : TBits_1 read getGCEN write setGCEN;
  1676. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1677. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1678. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1679. property ON : TBits_1 read getON write setON;
  1680. property PEN : TBits_1 read getPEN write setPEN;
  1681. property RCEN : TBits_1 read getRCEN write setRCEN;
  1682. property RSEN : TBits_1 read getRSEN write setRSEN;
  1683. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1684. property SEN : TBits_1 read getSEN write setSEN;
  1685. property SIDL : TBits_1 read getSIDL write setSIDL;
  1686. property SMEN : TBits_1 read getSMEN write setSMEN;
  1687. property STREN : TBits_1 read getSTREN write setSTREN;
  1688. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1689. property w : TBits_32 read getw write setw;
  1690. end;
  1691. TI2C1_I2C1111STAT = record
  1692. private
  1693. function getACKSTAT : TBits_1; inline;
  1694. function getADD10 : TBits_1; inline;
  1695. function getBCL : TBits_1; inline;
  1696. function getD_A : TBits_1; inline;
  1697. function getGCSTAT : TBits_1; inline;
  1698. function getI2COV : TBits_1; inline;
  1699. function getI2CPOV : TBits_1; inline;
  1700. function getIWCOL : TBits_1; inline;
  1701. function getP : TBits_1; inline;
  1702. function getRBF : TBits_1; inline;
  1703. function getR_W : TBits_1; inline;
  1704. function getS : TBits_1; inline;
  1705. function getTBF : TBits_1; inline;
  1706. function getTRSTAT : TBits_1; inline;
  1707. function getw : TBits_32; inline;
  1708. procedure setACKSTAT(thebits : TBits_1); inline;
  1709. procedure setADD10(thebits : TBits_1); inline;
  1710. procedure setBCL(thebits : TBits_1); inline;
  1711. procedure setD_A(thebits : TBits_1); inline;
  1712. procedure setGCSTAT(thebits : TBits_1); inline;
  1713. procedure setI2COV(thebits : TBits_1); inline;
  1714. procedure setI2CPOV(thebits : TBits_1); inline;
  1715. procedure setIWCOL(thebits : TBits_1); inline;
  1716. procedure setP(thebits : TBits_1); inline;
  1717. procedure setRBF(thebits : TBits_1); inline;
  1718. procedure setR_W(thebits : TBits_1); inline;
  1719. procedure setS(thebits : TBits_1); inline;
  1720. procedure setTBF(thebits : TBits_1); inline;
  1721. procedure setTRSTAT(thebits : TBits_1); inline;
  1722. procedure setw(thebits : TBits_32); inline;
  1723. public
  1724. procedure clearACKSTAT; inline;
  1725. procedure clearADD10; inline;
  1726. procedure clearBCL; inline;
  1727. procedure clearD_A; inline;
  1728. procedure clearGCSTAT; inline;
  1729. procedure clearI2COV; inline;
  1730. procedure clearI2CPOV; inline;
  1731. procedure clearIWCOL; inline;
  1732. procedure clearP; inline;
  1733. procedure clearRBF; inline;
  1734. procedure clearR_W; inline;
  1735. procedure clearS; inline;
  1736. procedure clearTBF; inline;
  1737. procedure clearTRSTAT; inline;
  1738. procedure setACKSTAT; inline;
  1739. procedure setADD10; inline;
  1740. procedure setBCL; inline;
  1741. procedure setD_A; inline;
  1742. procedure setGCSTAT; inline;
  1743. procedure setI2COV; inline;
  1744. procedure setI2CPOV; inline;
  1745. procedure setIWCOL; inline;
  1746. procedure setP; inline;
  1747. procedure setRBF; inline;
  1748. procedure setR_W; inline;
  1749. procedure setS; inline;
  1750. procedure setTBF; inline;
  1751. procedure setTRSTAT; inline;
  1752. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1753. property ADD10 : TBits_1 read getADD10 write setADD10;
  1754. property BCL : TBits_1 read getBCL write setBCL;
  1755. property D_A : TBits_1 read getD_A write setD_A;
  1756. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1757. property I2COV : TBits_1 read getI2COV write setI2COV;
  1758. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1759. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1760. property P : TBits_1 read getP write setP;
  1761. property RBF : TBits_1 read getRBF write setRBF;
  1762. property R_W : TBits_1 read getR_W write setR_W;
  1763. property S : TBits_1 read getS write setS;
  1764. property TBF : TBits_1 read getTBF write setTBF;
  1765. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1766. property w : TBits_32 read getw write setw;
  1767. end;
  1768. TI2C1_I2C1STAT = record
  1769. private
  1770. function getACKSTAT : TBits_1; inline;
  1771. function getADD10 : TBits_1; inline;
  1772. function getBCL : TBits_1; inline;
  1773. function getD_A : TBits_1; inline;
  1774. function getGCSTAT : TBits_1; inline;
  1775. function getI2COV : TBits_1; inline;
  1776. function getI2CPOV : TBits_1; inline;
  1777. function getIWCOL : TBits_1; inline;
  1778. function getP : TBits_1; inline;
  1779. function getRBF : TBits_1; inline;
  1780. function getR_W : TBits_1; inline;
  1781. function getS : TBits_1; inline;
  1782. function getTBF : TBits_1; inline;
  1783. function getTRSTAT : TBits_1; inline;
  1784. function getw : TBits_32; inline;
  1785. procedure setACKSTAT(thebits : TBits_1); inline;
  1786. procedure setADD10(thebits : TBits_1); inline;
  1787. procedure setBCL(thebits : TBits_1); inline;
  1788. procedure setD_A(thebits : TBits_1); inline;
  1789. procedure setGCSTAT(thebits : TBits_1); inline;
  1790. procedure setI2COV(thebits : TBits_1); inline;
  1791. procedure setI2CPOV(thebits : TBits_1); inline;
  1792. procedure setIWCOL(thebits : TBits_1); inline;
  1793. procedure setP(thebits : TBits_1); inline;
  1794. procedure setRBF(thebits : TBits_1); inline;
  1795. procedure setR_W(thebits : TBits_1); inline;
  1796. procedure setS(thebits : TBits_1); inline;
  1797. procedure setTBF(thebits : TBits_1); inline;
  1798. procedure setTRSTAT(thebits : TBits_1); inline;
  1799. procedure setw(thebits : TBits_32); inline;
  1800. public
  1801. procedure clearACKSTAT; inline;
  1802. procedure clearADD10; inline;
  1803. procedure clearBCL; inline;
  1804. procedure clearD_A; inline;
  1805. procedure clearGCSTAT; inline;
  1806. procedure clearI2COV; inline;
  1807. procedure clearI2CPOV; inline;
  1808. procedure clearIWCOL; inline;
  1809. procedure clearP; inline;
  1810. procedure clearRBF; inline;
  1811. procedure clearR_W; inline;
  1812. procedure clearS; inline;
  1813. procedure clearTBF; inline;
  1814. procedure clearTRSTAT; inline;
  1815. procedure setACKSTAT; inline;
  1816. procedure setADD10; inline;
  1817. procedure setBCL; inline;
  1818. procedure setD_A; inline;
  1819. procedure setGCSTAT; inline;
  1820. procedure setI2COV; inline;
  1821. procedure setI2CPOV; inline;
  1822. procedure setIWCOL; inline;
  1823. procedure setP; inline;
  1824. procedure setRBF; inline;
  1825. procedure setR_W; inline;
  1826. procedure setS; inline;
  1827. procedure setTBF; inline;
  1828. procedure setTRSTAT; inline;
  1829. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1830. property ADD10 : TBits_1 read getADD10 write setADD10;
  1831. property BCL : TBits_1 read getBCL write setBCL;
  1832. property D_A : TBits_1 read getD_A write setD_A;
  1833. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1834. property I2COV : TBits_1 read getI2COV write setI2COV;
  1835. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1836. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1837. property P : TBits_1 read getP write setP;
  1838. property RBF : TBits_1 read getRBF write setRBF;
  1839. property R_W : TBits_1 read getR_W write setR_W;
  1840. property S : TBits_1 read getS write setS;
  1841. property TBF : TBits_1 read getTBF write setTBF;
  1842. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1843. property w : TBits_32 read getw write setw;
  1844. end;
  1845. type
  1846. TI2C1Registers = record
  1847. I2C1111CONbits : TI2C1_I2C1111CON;
  1848. I2C1111CON : longWord;
  1849. I2C1CONbits : TI2C1_I2C1CON;
  1850. I2C1CON : longWord;
  1851. I2C1111CONCLR : longWord;
  1852. I2C1CONCLR : longWord;
  1853. I2C1111CONSET : longWord;
  1854. I2C1CONSET : longWord;
  1855. I2C1111CONINV : longWord;
  1856. I2C1CONINV : longWord;
  1857. I2C1111STATbits : TI2C1_I2C1111STAT;
  1858. I2C1111STAT : longWord;
  1859. I2C1STATbits : TI2C1_I2C1STAT;
  1860. I2C1STAT : longWord;
  1861. I2C1111STATCLR : longWord;
  1862. I2C1STATCLR : longWord;
  1863. I2C1111STATSET : longWord;
  1864. I2C1STATSET : longWord;
  1865. I2C1111STATINV : longWord;
  1866. I2C1STATINV : longWord;
  1867. I2C1111ADD : longWord;
  1868. I2C1ADD : longWord;
  1869. I2C1111ADDCLR : longWord;
  1870. I2C1ADDCLR : longWord;
  1871. I2C1111ADDSET : longWord;
  1872. I2C1ADDSET : longWord;
  1873. I2C1111ADDINV : longWord;
  1874. I2C1ADDINV : longWord;
  1875. I2C1111MSK : longWord;
  1876. I2C1MSK : longWord;
  1877. I2C1111MSKCLR : longWord;
  1878. I2C1MSKCLR : longWord;
  1879. I2C1111MSKSET : longWord;
  1880. I2C1MSKSET : longWord;
  1881. I2C1111MSKINV : longWord;
  1882. I2C1MSKINV : longWord;
  1883. I2C1111BRG : longWord;
  1884. I2C1BRG : longWord;
  1885. I2C1111BRGCLR : longWord;
  1886. I2C1BRGCLR : longWord;
  1887. I2C1111BRGSET : longWord;
  1888. I2C1BRGSET : longWord;
  1889. I2C1111BRGINV : longWord;
  1890. I2C1BRGINV : longWord;
  1891. I2C1111TRN : longWord;
  1892. I2C1TRN : longWord;
  1893. I2C1111TRNCLR : longWord;
  1894. I2C1TRNCLR : longWord;
  1895. I2C1111TRNSET : longWord;
  1896. I2C1TRNSET : longWord;
  1897. I2C1111TRNINV : longWord;
  1898. I2C1TRNINV : longWord;
  1899. I2C1111RCV : longWord;
  1900. I2C1RCV : longWord;
  1901. end;
  1902. TI2C2_I2C2CON = record
  1903. private
  1904. function getA10M : TBits_1; inline;
  1905. function getACKDT : TBits_1; inline;
  1906. function getACKEN : TBits_1; inline;
  1907. function getDISSLW : TBits_1; inline;
  1908. function getGCEN : TBits_1; inline;
  1909. function getI2CEN : TBits_1; inline;
  1910. function getI2CSIDL : TBits_1; inline;
  1911. function getIPMIEN : TBits_1; inline;
  1912. function getON : TBits_1; inline;
  1913. function getPEN : TBits_1; inline;
  1914. function getRCEN : TBits_1; inline;
  1915. function getRSEN : TBits_1; inline;
  1916. function getSCLREL : TBits_1; inline;
  1917. function getSEN : TBits_1; inline;
  1918. function getSIDL : TBits_1; inline;
  1919. function getSMEN : TBits_1; inline;
  1920. function getSTREN : TBits_1; inline;
  1921. function getSTRICT : TBits_1; inline;
  1922. function getw : TBits_32; inline;
  1923. procedure setA10M(thebits : TBits_1); inline;
  1924. procedure setACKDT(thebits : TBits_1); inline;
  1925. procedure setACKEN(thebits : TBits_1); inline;
  1926. procedure setDISSLW(thebits : TBits_1); inline;
  1927. procedure setGCEN(thebits : TBits_1); inline;
  1928. procedure setI2CEN(thebits : TBits_1); inline;
  1929. procedure setI2CSIDL(thebits : TBits_1); inline;
  1930. procedure setIPMIEN(thebits : TBits_1); inline;
  1931. procedure setON(thebits : TBits_1); inline;
  1932. procedure setPEN(thebits : TBits_1); inline;
  1933. procedure setRCEN(thebits : TBits_1); inline;
  1934. procedure setRSEN(thebits : TBits_1); inline;
  1935. procedure setSCLREL(thebits : TBits_1); inline;
  1936. procedure setSEN(thebits : TBits_1); inline;
  1937. procedure setSIDL(thebits : TBits_1); inline;
  1938. procedure setSMEN(thebits : TBits_1); inline;
  1939. procedure setSTREN(thebits : TBits_1); inline;
  1940. procedure setSTRICT(thebits : TBits_1); inline;
  1941. procedure setw(thebits : TBits_32); inline;
  1942. public
  1943. procedure clearA10M; inline;
  1944. procedure clearACKDT; inline;
  1945. procedure clearACKEN; inline;
  1946. procedure clearDISSLW; inline;
  1947. procedure clearGCEN; inline;
  1948. procedure clearI2CEN; inline;
  1949. procedure clearI2CSIDL; inline;
  1950. procedure clearIPMIEN; inline;
  1951. procedure clearON; inline;
  1952. procedure clearPEN; inline;
  1953. procedure clearRCEN; inline;
  1954. procedure clearRSEN; inline;
  1955. procedure clearSCLREL; inline;
  1956. procedure clearSEN; inline;
  1957. procedure clearSIDL; inline;
  1958. procedure clearSMEN; inline;
  1959. procedure clearSTREN; inline;
  1960. procedure clearSTRICT; inline;
  1961. procedure setA10M; inline;
  1962. procedure setACKDT; inline;
  1963. procedure setACKEN; inline;
  1964. procedure setDISSLW; inline;
  1965. procedure setGCEN; inline;
  1966. procedure setI2CEN; inline;
  1967. procedure setI2CSIDL; inline;
  1968. procedure setIPMIEN; inline;
  1969. procedure setON; inline;
  1970. procedure setPEN; inline;
  1971. procedure setRCEN; inline;
  1972. procedure setRSEN; inline;
  1973. procedure setSCLREL; inline;
  1974. procedure setSEN; inline;
  1975. procedure setSIDL; inline;
  1976. procedure setSMEN; inline;
  1977. procedure setSTREN; inline;
  1978. procedure setSTRICT; inline;
  1979. property A10M : TBits_1 read getA10M write setA10M;
  1980. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1981. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1982. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1983. property GCEN : TBits_1 read getGCEN write setGCEN;
  1984. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1985. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1986. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1987. property ON : TBits_1 read getON write setON;
  1988. property PEN : TBits_1 read getPEN write setPEN;
  1989. property RCEN : TBits_1 read getRCEN write setRCEN;
  1990. property RSEN : TBits_1 read getRSEN write setRSEN;
  1991. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1992. property SEN : TBits_1 read getSEN write setSEN;
  1993. property SIDL : TBits_1 read getSIDL write setSIDL;
  1994. property SMEN : TBits_1 read getSMEN write setSMEN;
  1995. property STREN : TBits_1 read getSTREN write setSTREN;
  1996. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1997. property w : TBits_32 read getw write setw;
  1998. end;
  1999. TI2C2_I2CABCON = record
  2000. private
  2001. function getA10M : TBits_1; inline;
  2002. function getACKDT : TBits_1; inline;
  2003. function getACKEN : TBits_1; inline;
  2004. function getDISSLW : TBits_1; inline;
  2005. function getGCEN : TBits_1; inline;
  2006. function getI2CEN : TBits_1; inline;
  2007. function getI2CSIDL : TBits_1; inline;
  2008. function getIPMIEN : TBits_1; inline;
  2009. function getON : TBits_1; inline;
  2010. function getPEN : TBits_1; inline;
  2011. function getRCEN : TBits_1; inline;
  2012. function getRSEN : TBits_1; inline;
  2013. function getSCLREL : TBits_1; inline;
  2014. function getSEN : TBits_1; inline;
  2015. function getSIDL : TBits_1; inline;
  2016. function getSMEN : TBits_1; inline;
  2017. function getSTREN : TBits_1; inline;
  2018. function getSTRICT : TBits_1; inline;
  2019. function getw : TBits_32; inline;
  2020. procedure setA10M(thebits : TBits_1); inline;
  2021. procedure setACKDT(thebits : TBits_1); inline;
  2022. procedure setACKEN(thebits : TBits_1); inline;
  2023. procedure setDISSLW(thebits : TBits_1); inline;
  2024. procedure setGCEN(thebits : TBits_1); inline;
  2025. procedure setI2CEN(thebits : TBits_1); inline;
  2026. procedure setI2CSIDL(thebits : TBits_1); inline;
  2027. procedure setIPMIEN(thebits : TBits_1); inline;
  2028. procedure setON(thebits : TBits_1); inline;
  2029. procedure setPEN(thebits : TBits_1); inline;
  2030. procedure setRCEN(thebits : TBits_1); inline;
  2031. procedure setRSEN(thebits : TBits_1); inline;
  2032. procedure setSCLREL(thebits : TBits_1); inline;
  2033. procedure setSEN(thebits : TBits_1); inline;
  2034. procedure setSIDL(thebits : TBits_1); inline;
  2035. procedure setSMEN(thebits : TBits_1); inline;
  2036. procedure setSTREN(thebits : TBits_1); inline;
  2037. procedure setSTRICT(thebits : TBits_1); inline;
  2038. procedure setw(thebits : TBits_32); inline;
  2039. public
  2040. procedure clearA10M; inline;
  2041. procedure clearACKDT; inline;
  2042. procedure clearACKEN; inline;
  2043. procedure clearDISSLW; inline;
  2044. procedure clearGCEN; inline;
  2045. procedure clearI2CEN; inline;
  2046. procedure clearI2CSIDL; inline;
  2047. procedure clearIPMIEN; inline;
  2048. procedure clearON; inline;
  2049. procedure clearPEN; inline;
  2050. procedure clearRCEN; inline;
  2051. procedure clearRSEN; inline;
  2052. procedure clearSCLREL; inline;
  2053. procedure clearSEN; inline;
  2054. procedure clearSIDL; inline;
  2055. procedure clearSMEN; inline;
  2056. procedure clearSTREN; inline;
  2057. procedure clearSTRICT; inline;
  2058. procedure setA10M; inline;
  2059. procedure setACKDT; inline;
  2060. procedure setACKEN; inline;
  2061. procedure setDISSLW; inline;
  2062. procedure setGCEN; inline;
  2063. procedure setI2CEN; inline;
  2064. procedure setI2CSIDL; inline;
  2065. procedure setIPMIEN; inline;
  2066. procedure setON; inline;
  2067. procedure setPEN; inline;
  2068. procedure setRCEN; inline;
  2069. procedure setRSEN; inline;
  2070. procedure setSCLREL; inline;
  2071. procedure setSEN; inline;
  2072. procedure setSIDL; inline;
  2073. procedure setSMEN; inline;
  2074. procedure setSTREN; inline;
  2075. procedure setSTRICT; inline;
  2076. property A10M : TBits_1 read getA10M write setA10M;
  2077. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2078. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2079. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2080. property GCEN : TBits_1 read getGCEN write setGCEN;
  2081. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2082. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2083. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2084. property ON : TBits_1 read getON write setON;
  2085. property PEN : TBits_1 read getPEN write setPEN;
  2086. property RCEN : TBits_1 read getRCEN write setRCEN;
  2087. property RSEN : TBits_1 read getRSEN write setRSEN;
  2088. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2089. property SEN : TBits_1 read getSEN write setSEN;
  2090. property SIDL : TBits_1 read getSIDL write setSIDL;
  2091. property SMEN : TBits_1 read getSMEN write setSMEN;
  2092. property STREN : TBits_1 read getSTREN write setSTREN;
  2093. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2094. property w : TBits_32 read getw write setw;
  2095. end;
  2096. TI2C2_I2C2STAT = record
  2097. private
  2098. function getACKSTAT : TBits_1; inline;
  2099. function getADD10 : TBits_1; inline;
  2100. function getBCL : TBits_1; inline;
  2101. function getD_A : TBits_1; inline;
  2102. function getGCSTAT : TBits_1; inline;
  2103. function getI2COV : TBits_1; inline;
  2104. function getI2CPOV : TBits_1; inline;
  2105. function getIWCOL : TBits_1; inline;
  2106. function getP : TBits_1; inline;
  2107. function getRBF : TBits_1; inline;
  2108. function getR_W : TBits_1; inline;
  2109. function getS : TBits_1; inline;
  2110. function getTBF : TBits_1; inline;
  2111. function getTRSTAT : TBits_1; inline;
  2112. function getw : TBits_32; inline;
  2113. procedure setACKSTAT(thebits : TBits_1); inline;
  2114. procedure setADD10(thebits : TBits_1); inline;
  2115. procedure setBCL(thebits : TBits_1); inline;
  2116. procedure setD_A(thebits : TBits_1); inline;
  2117. procedure setGCSTAT(thebits : TBits_1); inline;
  2118. procedure setI2COV(thebits : TBits_1); inline;
  2119. procedure setI2CPOV(thebits : TBits_1); inline;
  2120. procedure setIWCOL(thebits : TBits_1); inline;
  2121. procedure setP(thebits : TBits_1); inline;
  2122. procedure setRBF(thebits : TBits_1); inline;
  2123. procedure setR_W(thebits : TBits_1); inline;
  2124. procedure setS(thebits : TBits_1); inline;
  2125. procedure setTBF(thebits : TBits_1); inline;
  2126. procedure setTRSTAT(thebits : TBits_1); inline;
  2127. procedure setw(thebits : TBits_32); inline;
  2128. public
  2129. procedure clearACKSTAT; inline;
  2130. procedure clearADD10; inline;
  2131. procedure clearBCL; inline;
  2132. procedure clearD_A; inline;
  2133. procedure clearGCSTAT; inline;
  2134. procedure clearI2COV; inline;
  2135. procedure clearI2CPOV; inline;
  2136. procedure clearIWCOL; inline;
  2137. procedure clearP; inline;
  2138. procedure clearRBF; inline;
  2139. procedure clearR_W; inline;
  2140. procedure clearS; inline;
  2141. procedure clearTBF; inline;
  2142. procedure clearTRSTAT; inline;
  2143. procedure setACKSTAT; inline;
  2144. procedure setADD10; inline;
  2145. procedure setBCL; inline;
  2146. procedure setD_A; inline;
  2147. procedure setGCSTAT; inline;
  2148. procedure setI2COV; inline;
  2149. procedure setI2CPOV; inline;
  2150. procedure setIWCOL; inline;
  2151. procedure setP; inline;
  2152. procedure setRBF; inline;
  2153. procedure setR_W; inline;
  2154. procedure setS; inline;
  2155. procedure setTBF; inline;
  2156. procedure setTRSTAT; inline;
  2157. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2158. property ADD10 : TBits_1 read getADD10 write setADD10;
  2159. property BCL : TBits_1 read getBCL write setBCL;
  2160. property D_A : TBits_1 read getD_A write setD_A;
  2161. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2162. property I2COV : TBits_1 read getI2COV write setI2COV;
  2163. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2164. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2165. property P : TBits_1 read getP write setP;
  2166. property RBF : TBits_1 read getRBF write setRBF;
  2167. property R_W : TBits_1 read getR_W write setR_W;
  2168. property S : TBits_1 read getS write setS;
  2169. property TBF : TBits_1 read getTBF write setTBF;
  2170. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2171. property w : TBits_32 read getw write setw;
  2172. end;
  2173. TI2C2_I2CABSTAT = record
  2174. private
  2175. function getACKSTAT : TBits_1; inline;
  2176. function getADD10 : TBits_1; inline;
  2177. function getBCL : TBits_1; inline;
  2178. function getD_A : TBits_1; inline;
  2179. function getGCSTAT : TBits_1; inline;
  2180. function getI2COV : TBits_1; inline;
  2181. function getI2CPOV : TBits_1; inline;
  2182. function getIWCOL : TBits_1; inline;
  2183. function getP : TBits_1; inline;
  2184. function getRBF : TBits_1; inline;
  2185. function getR_W : TBits_1; inline;
  2186. function getS : TBits_1; inline;
  2187. function getTBF : TBits_1; inline;
  2188. function getTRSTAT : TBits_1; inline;
  2189. function getw : TBits_32; inline;
  2190. procedure setACKSTAT(thebits : TBits_1); inline;
  2191. procedure setADD10(thebits : TBits_1); inline;
  2192. procedure setBCL(thebits : TBits_1); inline;
  2193. procedure setD_A(thebits : TBits_1); inline;
  2194. procedure setGCSTAT(thebits : TBits_1); inline;
  2195. procedure setI2COV(thebits : TBits_1); inline;
  2196. procedure setI2CPOV(thebits : TBits_1); inline;
  2197. procedure setIWCOL(thebits : TBits_1); inline;
  2198. procedure setP(thebits : TBits_1); inline;
  2199. procedure setRBF(thebits : TBits_1); inline;
  2200. procedure setR_W(thebits : TBits_1); inline;
  2201. procedure setS(thebits : TBits_1); inline;
  2202. procedure setTBF(thebits : TBits_1); inline;
  2203. procedure setTRSTAT(thebits : TBits_1); inline;
  2204. procedure setw(thebits : TBits_32); inline;
  2205. public
  2206. procedure clearACKSTAT; inline;
  2207. procedure clearADD10; inline;
  2208. procedure clearBCL; inline;
  2209. procedure clearD_A; inline;
  2210. procedure clearGCSTAT; inline;
  2211. procedure clearI2COV; inline;
  2212. procedure clearI2CPOV; inline;
  2213. procedure clearIWCOL; inline;
  2214. procedure clearP; inline;
  2215. procedure clearRBF; inline;
  2216. procedure clearR_W; inline;
  2217. procedure clearS; inline;
  2218. procedure clearTBF; inline;
  2219. procedure clearTRSTAT; inline;
  2220. procedure setACKSTAT; inline;
  2221. procedure setADD10; inline;
  2222. procedure setBCL; inline;
  2223. procedure setD_A; inline;
  2224. procedure setGCSTAT; inline;
  2225. procedure setI2COV; inline;
  2226. procedure setI2CPOV; inline;
  2227. procedure setIWCOL; inline;
  2228. procedure setP; inline;
  2229. procedure setRBF; inline;
  2230. procedure setR_W; inline;
  2231. procedure setS; inline;
  2232. procedure setTBF; inline;
  2233. procedure setTRSTAT; inline;
  2234. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2235. property ADD10 : TBits_1 read getADD10 write setADD10;
  2236. property BCL : TBits_1 read getBCL write setBCL;
  2237. property D_A : TBits_1 read getD_A write setD_A;
  2238. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2239. property I2COV : TBits_1 read getI2COV write setI2COV;
  2240. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2241. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2242. property P : TBits_1 read getP write setP;
  2243. property RBF : TBits_1 read getRBF write setRBF;
  2244. property R_W : TBits_1 read getR_W write setR_W;
  2245. property S : TBits_1 read getS write setS;
  2246. property TBF : TBits_1 read getTBF write setTBF;
  2247. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2248. property w : TBits_32 read getw write setw;
  2249. end;
  2250. type
  2251. TI2C2Registers = record
  2252. I2C2CONbits : TI2C2_I2C2CON;
  2253. I2C2CON : longWord;
  2254. I2CABCONbits : TI2C2_I2CABCON;
  2255. I2CABCON : longWord;
  2256. I2C2CONCLR : longWord;
  2257. I2CABCONCLR : longWord;
  2258. I2C2CONSET : longWord;
  2259. I2CABCONSET : longWord;
  2260. I2C2CONINV : longWord;
  2261. I2CABCONINV : longWord;
  2262. I2C2STATbits : TI2C2_I2C2STAT;
  2263. I2C2STAT : longWord;
  2264. I2CABSTATbits : TI2C2_I2CABSTAT;
  2265. I2CABSTAT : longWord;
  2266. I2C2STATCLR : longWord;
  2267. I2CABSTATCLR : longWord;
  2268. I2C2STATSET : longWord;
  2269. I2CABSTATSET : longWord;
  2270. I2C2STATINV : longWord;
  2271. I2CABSTATINV : longWord;
  2272. I2C2ADD : longWord;
  2273. I2CABADD : longWord;
  2274. I2C2ADDCLR : longWord;
  2275. I2CABADDCLR : longWord;
  2276. I2C2ADDSET : longWord;
  2277. I2CABADDSET : longWord;
  2278. I2C2ADDINV : longWord;
  2279. I2CABADDINV : longWord;
  2280. I2C2MSK : longWord;
  2281. I2CABMSK : longWord;
  2282. I2C2MSKCLR : longWord;
  2283. I2CABMSKCLR : longWord;
  2284. I2C2MSKSET : longWord;
  2285. I2CABMSKSET : longWord;
  2286. I2C2MSKINV : longWord;
  2287. I2CABMSKINV : longWord;
  2288. I2C2BRG : longWord;
  2289. I2CABBRG : longWord;
  2290. I2C2BRGCLR : longWord;
  2291. I2CABBRGCLR : longWord;
  2292. I2C2BRGSET : longWord;
  2293. I2CABBRGSET : longWord;
  2294. I2C2BRGINV : longWord;
  2295. I2CABBRGINV : longWord;
  2296. I2C2TRN : longWord;
  2297. I2CABTRN : longWord;
  2298. I2C2TRNCLR : longWord;
  2299. I2CABTRNCLR : longWord;
  2300. I2C2TRNSET : longWord;
  2301. I2CABTRNSET : longWord;
  2302. I2C2TRNINV : longWord;
  2303. I2CABTRNINV : longWord;
  2304. I2C2RCV : longWord;
  2305. I2CABRCV : longWord;
  2306. end;
  2307. TSPI1_SPI1CON = record
  2308. private
  2309. function getCKE : TBits_1; inline;
  2310. function getCKP : TBits_1; inline;
  2311. function getDISSDI : TBits_1; inline;
  2312. function getDISSDO : TBits_1; inline;
  2313. function getENHBUF : TBits_1; inline;
  2314. function getFRMCNT : TBits_3; inline;
  2315. function getFRMEN : TBits_1; inline;
  2316. function getFRMPOL : TBits_1; inline;
  2317. function getFRMSYNC : TBits_1; inline;
  2318. function getFRMSYPW : TBits_1; inline;
  2319. function getMCLKSEL : TBits_1; inline;
  2320. function getMODE16 : TBits_1; inline;
  2321. function getMODE32 : TBits_1; inline;
  2322. function getMSSEN : TBits_1; inline;
  2323. function getMSTEN : TBits_1; inline;
  2324. function getON : TBits_1; inline;
  2325. function getSIDL : TBits_1; inline;
  2326. function getSMP : TBits_1; inline;
  2327. function getSPIFE : TBits_1; inline;
  2328. function getSRXISEL : TBits_2; inline;
  2329. function getSSEN : TBits_1; inline;
  2330. function getSTXISEL : TBits_2; inline;
  2331. function getw : TBits_32; inline;
  2332. procedure setCKE(thebits : TBits_1); inline;
  2333. procedure setCKP(thebits : TBits_1); inline;
  2334. procedure setDISSDI(thebits : TBits_1); inline;
  2335. procedure setDISSDO(thebits : TBits_1); inline;
  2336. procedure setENHBUF(thebits : TBits_1); inline;
  2337. procedure setFRMCNT(thebits : TBits_3); inline;
  2338. procedure setFRMEN(thebits : TBits_1); inline;
  2339. procedure setFRMPOL(thebits : TBits_1); inline;
  2340. procedure setFRMSYNC(thebits : TBits_1); inline;
  2341. procedure setFRMSYPW(thebits : TBits_1); inline;
  2342. procedure setMCLKSEL(thebits : TBits_1); inline;
  2343. procedure setMODE16(thebits : TBits_1); inline;
  2344. procedure setMODE32(thebits : TBits_1); inline;
  2345. procedure setMSSEN(thebits : TBits_1); inline;
  2346. procedure setMSTEN(thebits : TBits_1); inline;
  2347. procedure setON(thebits : TBits_1); inline;
  2348. procedure setSIDL(thebits : TBits_1); inline;
  2349. procedure setSMP(thebits : TBits_1); inline;
  2350. procedure setSPIFE(thebits : TBits_1); inline;
  2351. procedure setSRXISEL(thebits : TBits_2); inline;
  2352. procedure setSSEN(thebits : TBits_1); inline;
  2353. procedure setSTXISEL(thebits : TBits_2); inline;
  2354. procedure setw(thebits : TBits_32); inline;
  2355. public
  2356. procedure clearCKE; inline;
  2357. procedure clearCKP; inline;
  2358. procedure clearDISSDI; inline;
  2359. procedure clearDISSDO; inline;
  2360. procedure clearENHBUF; inline;
  2361. procedure clearFRMEN; inline;
  2362. procedure clearFRMPOL; inline;
  2363. procedure clearFRMSYNC; inline;
  2364. procedure clearFRMSYPW; inline;
  2365. procedure clearMCLKSEL; inline;
  2366. procedure clearMODE16; inline;
  2367. procedure clearMODE32; inline;
  2368. procedure clearMSSEN; inline;
  2369. procedure clearMSTEN; inline;
  2370. procedure clearON; inline;
  2371. procedure clearSIDL; inline;
  2372. procedure clearSMP; inline;
  2373. procedure clearSPIFE; inline;
  2374. procedure clearSSEN; inline;
  2375. procedure setCKE; inline;
  2376. procedure setCKP; inline;
  2377. procedure setDISSDI; inline;
  2378. procedure setDISSDO; inline;
  2379. procedure setENHBUF; inline;
  2380. procedure setFRMEN; inline;
  2381. procedure setFRMPOL; inline;
  2382. procedure setFRMSYNC; inline;
  2383. procedure setFRMSYPW; inline;
  2384. procedure setMCLKSEL; inline;
  2385. procedure setMODE16; inline;
  2386. procedure setMODE32; inline;
  2387. procedure setMSSEN; inline;
  2388. procedure setMSTEN; inline;
  2389. procedure setON; inline;
  2390. procedure setSIDL; inline;
  2391. procedure setSMP; inline;
  2392. procedure setSPIFE; inline;
  2393. procedure setSSEN; inline;
  2394. property CKE : TBits_1 read getCKE write setCKE;
  2395. property CKP : TBits_1 read getCKP write setCKP;
  2396. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2397. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2398. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2399. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2400. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2401. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2402. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2403. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2404. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2405. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2406. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2407. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2408. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2409. property ON : TBits_1 read getON write setON;
  2410. property SIDL : TBits_1 read getSIDL write setSIDL;
  2411. property SMP : TBits_1 read getSMP write setSMP;
  2412. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2413. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2414. property SSEN : TBits_1 read getSSEN write setSSEN;
  2415. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2416. property w : TBits_32 read getw write setw;
  2417. end;
  2418. TSPI1_SPI1STAT = record
  2419. private
  2420. function getFRMERR : TBits_1; inline;
  2421. function getRXBUFELM : TBits_5; inline;
  2422. function getSPIBUSY : TBits_1; inline;
  2423. function getSPIRBE : TBits_1; inline;
  2424. function getSPIRBF : TBits_1; inline;
  2425. function getSPIROV : TBits_1; inline;
  2426. function getSPITBE : TBits_1; inline;
  2427. function getSPITBF : TBits_1; inline;
  2428. function getSPITUR : TBits_1; inline;
  2429. function getSRMT : TBits_1; inline;
  2430. function getTXBUFELM : TBits_5; inline;
  2431. function getw : TBits_32; inline;
  2432. procedure setFRMERR(thebits : TBits_1); inline;
  2433. procedure setRXBUFELM(thebits : TBits_5); inline;
  2434. procedure setSPIBUSY(thebits : TBits_1); inline;
  2435. procedure setSPIRBE(thebits : TBits_1); inline;
  2436. procedure setSPIRBF(thebits : TBits_1); inline;
  2437. procedure setSPIROV(thebits : TBits_1); inline;
  2438. procedure setSPITBE(thebits : TBits_1); inline;
  2439. procedure setSPITBF(thebits : TBits_1); inline;
  2440. procedure setSPITUR(thebits : TBits_1); inline;
  2441. procedure setSRMT(thebits : TBits_1); inline;
  2442. procedure setTXBUFELM(thebits : TBits_5); inline;
  2443. procedure setw(thebits : TBits_32); inline;
  2444. public
  2445. procedure clearFRMERR; inline;
  2446. procedure clearSPIBUSY; inline;
  2447. procedure clearSPIRBE; inline;
  2448. procedure clearSPIRBF; inline;
  2449. procedure clearSPIROV; inline;
  2450. procedure clearSPITBE; inline;
  2451. procedure clearSPITBF; inline;
  2452. procedure clearSPITUR; inline;
  2453. procedure clearSRMT; inline;
  2454. procedure setFRMERR; inline;
  2455. procedure setSPIBUSY; inline;
  2456. procedure setSPIRBE; inline;
  2457. procedure setSPIRBF; inline;
  2458. procedure setSPIROV; inline;
  2459. procedure setSPITBE; inline;
  2460. procedure setSPITBF; inline;
  2461. procedure setSPITUR; inline;
  2462. procedure setSRMT; inline;
  2463. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2464. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2465. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2466. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2467. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2468. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2469. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2470. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2471. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2472. property SRMT : TBits_1 read getSRMT write setSRMT;
  2473. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2474. property w : TBits_32 read getw write setw;
  2475. end;
  2476. TSPI1_SPI1CON2 = record
  2477. private
  2478. function getAUDEN : TBits_1; inline;
  2479. function getAUDMOD : TBits_2; inline;
  2480. function getAUDMOD0 : TBits_1; inline;
  2481. function getAUDMOD1 : TBits_1; inline;
  2482. function getAUDMONO : TBits_1; inline;
  2483. function getFRMERREN : TBits_1; inline;
  2484. function getIGNROV : TBits_1; inline;
  2485. function getIGNTUR : TBits_1; inline;
  2486. function getSPIROVEN : TBits_1; inline;
  2487. function getSPISGNEXT : TBits_1; inline;
  2488. function getSPITUREN : TBits_1; inline;
  2489. function getw : TBits_32; inline;
  2490. procedure setAUDEN(thebits : TBits_1); inline;
  2491. procedure setAUDMOD(thebits : TBits_2); inline;
  2492. procedure setAUDMOD0(thebits : TBits_1); inline;
  2493. procedure setAUDMOD1(thebits : TBits_1); inline;
  2494. procedure setAUDMONO(thebits : TBits_1); inline;
  2495. procedure setFRMERREN(thebits : TBits_1); inline;
  2496. procedure setIGNROV(thebits : TBits_1); inline;
  2497. procedure setIGNTUR(thebits : TBits_1); inline;
  2498. procedure setSPIROVEN(thebits : TBits_1); inline;
  2499. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2500. procedure setSPITUREN(thebits : TBits_1); inline;
  2501. procedure setw(thebits : TBits_32); inline;
  2502. public
  2503. procedure clearAUDEN; inline;
  2504. procedure clearAUDMOD0; inline;
  2505. procedure clearAUDMOD1; inline;
  2506. procedure clearAUDMONO; inline;
  2507. procedure clearFRMERREN; inline;
  2508. procedure clearIGNROV; inline;
  2509. procedure clearIGNTUR; inline;
  2510. procedure clearSPIROVEN; inline;
  2511. procedure clearSPISGNEXT; inline;
  2512. procedure clearSPITUREN; inline;
  2513. procedure setAUDEN; inline;
  2514. procedure setAUDMOD0; inline;
  2515. procedure setAUDMOD1; inline;
  2516. procedure setAUDMONO; inline;
  2517. procedure setFRMERREN; inline;
  2518. procedure setIGNROV; inline;
  2519. procedure setIGNTUR; inline;
  2520. procedure setSPIROVEN; inline;
  2521. procedure setSPISGNEXT; inline;
  2522. procedure setSPITUREN; inline;
  2523. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2524. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2525. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2526. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2527. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2528. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2529. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2530. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2531. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2532. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2533. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2534. property w : TBits_32 read getw write setw;
  2535. end;
  2536. type
  2537. TSPI1Registers = record
  2538. SPI1CONbits : TSPI1_SPI1CON;
  2539. SPI1CON : longWord;
  2540. SPI1CONCLR : longWord;
  2541. SPI1CONSET : longWord;
  2542. SPI1CONINV : longWord;
  2543. SPI1STATbits : TSPI1_SPI1STAT;
  2544. SPI1STAT : longWord;
  2545. SPI1STATCLR : longWord;
  2546. SPI1STATSET : longWord;
  2547. SPI1STATINV : longWord;
  2548. SPI1BUF : longWord;
  2549. SPI1BRG : longWord;
  2550. SPI1BRGCLR : longWord;
  2551. SPI1BRGSET : longWord;
  2552. SPI1BRGINV : longWord;
  2553. SPI1CON2bits : TSPI1_SPI1CON2;
  2554. SPI1CON2 : longWord;
  2555. SPI1CON2CLR : longWord;
  2556. SPI1CON2SET : longWord;
  2557. SPI1CON2INV : longWord;
  2558. end;
  2559. TSPI2_SPI2CON = record
  2560. private
  2561. function getCKE : TBits_1; inline;
  2562. function getCKP : TBits_1; inline;
  2563. function getDISSDI : TBits_1; inline;
  2564. function getDISSDO : TBits_1; inline;
  2565. function getENHBUF : TBits_1; inline;
  2566. function getFRMCNT : TBits_3; inline;
  2567. function getFRMEN : TBits_1; inline;
  2568. function getFRMPOL : TBits_1; inline;
  2569. function getFRMSYNC : TBits_1; inline;
  2570. function getFRMSYPW : TBits_1; inline;
  2571. function getMCLKSEL : TBits_1; inline;
  2572. function getMODE16 : TBits_1; inline;
  2573. function getMODE32 : TBits_1; inline;
  2574. function getMSSEN : TBits_1; inline;
  2575. function getMSTEN : TBits_1; inline;
  2576. function getON : TBits_1; inline;
  2577. function getSIDL : TBits_1; inline;
  2578. function getSMP : TBits_1; inline;
  2579. function getSPIFE : TBits_1; inline;
  2580. function getSRXISEL : TBits_2; inline;
  2581. function getSSEN : TBits_1; inline;
  2582. function getSTXISEL : TBits_2; inline;
  2583. function getw : TBits_32; inline;
  2584. procedure setCKE(thebits : TBits_1); inline;
  2585. procedure setCKP(thebits : TBits_1); inline;
  2586. procedure setDISSDI(thebits : TBits_1); inline;
  2587. procedure setDISSDO(thebits : TBits_1); inline;
  2588. procedure setENHBUF(thebits : TBits_1); inline;
  2589. procedure setFRMCNT(thebits : TBits_3); inline;
  2590. procedure setFRMEN(thebits : TBits_1); inline;
  2591. procedure setFRMPOL(thebits : TBits_1); inline;
  2592. procedure setFRMSYNC(thebits : TBits_1); inline;
  2593. procedure setFRMSYPW(thebits : TBits_1); inline;
  2594. procedure setMCLKSEL(thebits : TBits_1); inline;
  2595. procedure setMODE16(thebits : TBits_1); inline;
  2596. procedure setMODE32(thebits : TBits_1); inline;
  2597. procedure setMSSEN(thebits : TBits_1); inline;
  2598. procedure setMSTEN(thebits : TBits_1); inline;
  2599. procedure setON(thebits : TBits_1); inline;
  2600. procedure setSIDL(thebits : TBits_1); inline;
  2601. procedure setSMP(thebits : TBits_1); inline;
  2602. procedure setSPIFE(thebits : TBits_1); inline;
  2603. procedure setSRXISEL(thebits : TBits_2); inline;
  2604. procedure setSSEN(thebits : TBits_1); inline;
  2605. procedure setSTXISEL(thebits : TBits_2); inline;
  2606. procedure setw(thebits : TBits_32); inline;
  2607. public
  2608. procedure clearCKE; inline;
  2609. procedure clearCKP; inline;
  2610. procedure clearDISSDI; inline;
  2611. procedure clearDISSDO; inline;
  2612. procedure clearENHBUF; inline;
  2613. procedure clearFRMEN; inline;
  2614. procedure clearFRMPOL; inline;
  2615. procedure clearFRMSYNC; inline;
  2616. procedure clearFRMSYPW; inline;
  2617. procedure clearMCLKSEL; inline;
  2618. procedure clearMODE16; inline;
  2619. procedure clearMODE32; inline;
  2620. procedure clearMSSEN; inline;
  2621. procedure clearMSTEN; inline;
  2622. procedure clearON; inline;
  2623. procedure clearSIDL; inline;
  2624. procedure clearSMP; inline;
  2625. procedure clearSPIFE; inline;
  2626. procedure clearSSEN; inline;
  2627. procedure setCKE; inline;
  2628. procedure setCKP; inline;
  2629. procedure setDISSDI; inline;
  2630. procedure setDISSDO; inline;
  2631. procedure setENHBUF; inline;
  2632. procedure setFRMEN; inline;
  2633. procedure setFRMPOL; inline;
  2634. procedure setFRMSYNC; inline;
  2635. procedure setFRMSYPW; inline;
  2636. procedure setMCLKSEL; inline;
  2637. procedure setMODE16; inline;
  2638. procedure setMODE32; inline;
  2639. procedure setMSSEN; inline;
  2640. procedure setMSTEN; inline;
  2641. procedure setON; inline;
  2642. procedure setSIDL; inline;
  2643. procedure setSMP; inline;
  2644. procedure setSPIFE; inline;
  2645. procedure setSSEN; inline;
  2646. property CKE : TBits_1 read getCKE write setCKE;
  2647. property CKP : TBits_1 read getCKP write setCKP;
  2648. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2649. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2650. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2651. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2652. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2653. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2654. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2655. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2656. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2657. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2658. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2659. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2660. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2661. property ON : TBits_1 read getON write setON;
  2662. property SIDL : TBits_1 read getSIDL write setSIDL;
  2663. property SMP : TBits_1 read getSMP write setSMP;
  2664. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2665. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2666. property SSEN : TBits_1 read getSSEN write setSSEN;
  2667. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2668. property w : TBits_32 read getw write setw;
  2669. end;
  2670. TSPI2_SPI2STAT = record
  2671. private
  2672. function getFRMERR : TBits_1; inline;
  2673. function getRXBUFELM : TBits_5; inline;
  2674. function getSPIBUSY : TBits_1; inline;
  2675. function getSPIRBE : TBits_1; inline;
  2676. function getSPIRBF : TBits_1; inline;
  2677. function getSPIROV : TBits_1; inline;
  2678. function getSPITBE : TBits_1; inline;
  2679. function getSPITBF : TBits_1; inline;
  2680. function getSPITUR : TBits_1; inline;
  2681. function getSRMT : TBits_1; inline;
  2682. function getTXBUFELM : TBits_5; inline;
  2683. function getw : TBits_32; inline;
  2684. procedure setFRMERR(thebits : TBits_1); inline;
  2685. procedure setRXBUFELM(thebits : TBits_5); inline;
  2686. procedure setSPIBUSY(thebits : TBits_1); inline;
  2687. procedure setSPIRBE(thebits : TBits_1); inline;
  2688. procedure setSPIRBF(thebits : TBits_1); inline;
  2689. procedure setSPIROV(thebits : TBits_1); inline;
  2690. procedure setSPITBE(thebits : TBits_1); inline;
  2691. procedure setSPITBF(thebits : TBits_1); inline;
  2692. procedure setSPITUR(thebits : TBits_1); inline;
  2693. procedure setSRMT(thebits : TBits_1); inline;
  2694. procedure setTXBUFELM(thebits : TBits_5); inline;
  2695. procedure setw(thebits : TBits_32); inline;
  2696. public
  2697. procedure clearFRMERR; inline;
  2698. procedure clearSPIBUSY; inline;
  2699. procedure clearSPIRBE; inline;
  2700. procedure clearSPIRBF; inline;
  2701. procedure clearSPIROV; inline;
  2702. procedure clearSPITBE; inline;
  2703. procedure clearSPITBF; inline;
  2704. procedure clearSPITUR; inline;
  2705. procedure clearSRMT; inline;
  2706. procedure setFRMERR; inline;
  2707. procedure setSPIBUSY; inline;
  2708. procedure setSPIRBE; inline;
  2709. procedure setSPIRBF; inline;
  2710. procedure setSPIROV; inline;
  2711. procedure setSPITBE; inline;
  2712. procedure setSPITBF; inline;
  2713. procedure setSPITUR; inline;
  2714. procedure setSRMT; inline;
  2715. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2716. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2717. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2718. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2719. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2720. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2721. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2722. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2723. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2724. property SRMT : TBits_1 read getSRMT write setSRMT;
  2725. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2726. property w : TBits_32 read getw write setw;
  2727. end;
  2728. TSPI2_SPI2CON2 = record
  2729. private
  2730. function getAUDEN : TBits_1; inline;
  2731. function getAUDMOD : TBits_2; inline;
  2732. function getAUDMOD0 : TBits_1; inline;
  2733. function getAUDMOD1 : TBits_1; inline;
  2734. function getAUDMONO : TBits_1; inline;
  2735. function getFRMERREN : TBits_1; inline;
  2736. function getIGNROV : TBits_1; inline;
  2737. function getIGNTUR : TBits_1; inline;
  2738. function getSPIROVEN : TBits_1; inline;
  2739. function getSPISGNEXT : TBits_1; inline;
  2740. function getSPITUREN : TBits_1; inline;
  2741. function getw : TBits_32; inline;
  2742. procedure setAUDEN(thebits : TBits_1); inline;
  2743. procedure setAUDMOD(thebits : TBits_2); inline;
  2744. procedure setAUDMOD0(thebits : TBits_1); inline;
  2745. procedure setAUDMOD1(thebits : TBits_1); inline;
  2746. procedure setAUDMONO(thebits : TBits_1); inline;
  2747. procedure setFRMERREN(thebits : TBits_1); inline;
  2748. procedure setIGNROV(thebits : TBits_1); inline;
  2749. procedure setIGNTUR(thebits : TBits_1); inline;
  2750. procedure setSPIROVEN(thebits : TBits_1); inline;
  2751. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2752. procedure setSPITUREN(thebits : TBits_1); inline;
  2753. procedure setw(thebits : TBits_32); inline;
  2754. public
  2755. procedure clearAUDEN; inline;
  2756. procedure clearAUDMOD0; inline;
  2757. procedure clearAUDMOD1; inline;
  2758. procedure clearAUDMONO; inline;
  2759. procedure clearFRMERREN; inline;
  2760. procedure clearIGNROV; inline;
  2761. procedure clearIGNTUR; inline;
  2762. procedure clearSPIROVEN; inline;
  2763. procedure clearSPISGNEXT; inline;
  2764. procedure clearSPITUREN; inline;
  2765. procedure setAUDEN; inline;
  2766. procedure setAUDMOD0; inline;
  2767. procedure setAUDMOD1; inline;
  2768. procedure setAUDMONO; inline;
  2769. procedure setFRMERREN; inline;
  2770. procedure setIGNROV; inline;
  2771. procedure setIGNTUR; inline;
  2772. procedure setSPIROVEN; inline;
  2773. procedure setSPISGNEXT; inline;
  2774. procedure setSPITUREN; inline;
  2775. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2776. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2777. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2778. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2779. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2780. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2781. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2782. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2783. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2784. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2785. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2786. property w : TBits_32 read getw write setw;
  2787. end;
  2788. type
  2789. TSPI2Registers = record
  2790. SPI2CONbits : TSPI2_SPI2CON;
  2791. SPI2CON : longWord;
  2792. SPI2CONCLR : longWord;
  2793. SPI2CONSET : longWord;
  2794. SPI2CONINV : longWord;
  2795. SPI2STATbits : TSPI2_SPI2STAT;
  2796. SPI2STAT : longWord;
  2797. SPI2STATCLR : longWord;
  2798. SPI2STATSET : longWord;
  2799. SPI2STATINV : longWord;
  2800. SPI2BUF : longWord;
  2801. SPI2BRG : longWord;
  2802. SPI2BRGCLR : longWord;
  2803. SPI2BRGSET : longWord;
  2804. SPI2BRGINV : longWord;
  2805. SPI2CON2bits : TSPI2_SPI2CON2;
  2806. SPI2CON2 : longWord;
  2807. SPI2CON2CLR : longWord;
  2808. SPI2CON2SET : longWord;
  2809. SPI2CON2INV : longWord;
  2810. end;
  2811. TUART1_U1MODE = record
  2812. private
  2813. function getABAUD : TBits_1; inline;
  2814. function getBRGH : TBits_1; inline;
  2815. function getIREN : TBits_1; inline;
  2816. function getLPBACK : TBits_1; inline;
  2817. function getON : TBits_1; inline;
  2818. function getPDSEL : TBits_2; inline;
  2819. function getPDSEL0 : TBits_1; inline;
  2820. function getPDSEL1 : TBits_1; inline;
  2821. function getRTSMD : TBits_1; inline;
  2822. function getRXINV : TBits_1; inline;
  2823. function getSIDL : TBits_1; inline;
  2824. function getSTSEL : TBits_1; inline;
  2825. function getUARTEN : TBits_1; inline;
  2826. function getUEN : TBits_2; inline;
  2827. function getUEN0 : TBits_1; inline;
  2828. function getUEN1 : TBits_1; inline;
  2829. function getUSIDL : TBits_1; inline;
  2830. function getWAKE : TBits_1; inline;
  2831. function getw : TBits_32; inline;
  2832. procedure setABAUD(thebits : TBits_1); inline;
  2833. procedure setBRGH(thebits : TBits_1); inline;
  2834. procedure setIREN(thebits : TBits_1); inline;
  2835. procedure setLPBACK(thebits : TBits_1); inline;
  2836. procedure setON(thebits : TBits_1); inline;
  2837. procedure setPDSEL(thebits : TBits_2); inline;
  2838. procedure setPDSEL0(thebits : TBits_1); inline;
  2839. procedure setPDSEL1(thebits : TBits_1); inline;
  2840. procedure setRTSMD(thebits : TBits_1); inline;
  2841. procedure setRXINV(thebits : TBits_1); inline;
  2842. procedure setSIDL(thebits : TBits_1); inline;
  2843. procedure setSTSEL(thebits : TBits_1); inline;
  2844. procedure setUARTEN(thebits : TBits_1); inline;
  2845. procedure setUEN(thebits : TBits_2); inline;
  2846. procedure setUEN0(thebits : TBits_1); inline;
  2847. procedure setUEN1(thebits : TBits_1); inline;
  2848. procedure setUSIDL(thebits : TBits_1); inline;
  2849. procedure setWAKE(thebits : TBits_1); inline;
  2850. procedure setw(thebits : TBits_32); inline;
  2851. public
  2852. procedure clearABAUD; inline;
  2853. procedure clearBRGH; inline;
  2854. procedure clearIREN; inline;
  2855. procedure clearLPBACK; inline;
  2856. procedure clearON; inline;
  2857. procedure clearPDSEL0; inline;
  2858. procedure clearPDSEL1; inline;
  2859. procedure clearRTSMD; inline;
  2860. procedure clearRXINV; inline;
  2861. procedure clearSIDL; inline;
  2862. procedure clearSTSEL; inline;
  2863. procedure clearUARTEN; inline;
  2864. procedure clearUEN0; inline;
  2865. procedure clearUEN1; inline;
  2866. procedure clearUSIDL; inline;
  2867. procedure clearWAKE; inline;
  2868. procedure setABAUD; inline;
  2869. procedure setBRGH; inline;
  2870. procedure setIREN; inline;
  2871. procedure setLPBACK; inline;
  2872. procedure setON; inline;
  2873. procedure setPDSEL0; inline;
  2874. procedure setPDSEL1; inline;
  2875. procedure setRTSMD; inline;
  2876. procedure setRXINV; inline;
  2877. procedure setSIDL; inline;
  2878. procedure setSTSEL; inline;
  2879. procedure setUARTEN; inline;
  2880. procedure setUEN0; inline;
  2881. procedure setUEN1; inline;
  2882. procedure setUSIDL; inline;
  2883. procedure setWAKE; inline;
  2884. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2885. property BRGH : TBits_1 read getBRGH write setBRGH;
  2886. property IREN : TBits_1 read getIREN write setIREN;
  2887. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2888. property ON : TBits_1 read getON write setON;
  2889. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2890. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2891. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2892. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2893. property RXINV : TBits_1 read getRXINV write setRXINV;
  2894. property SIDL : TBits_1 read getSIDL write setSIDL;
  2895. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2896. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2897. property UEN : TBits_2 read getUEN write setUEN;
  2898. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2899. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2900. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2901. property WAKE : TBits_1 read getWAKE write setWAKE;
  2902. property w : TBits_32 read getw write setw;
  2903. end;
  2904. TUART1_UDCMODE = record
  2905. private
  2906. function getABAUD : TBits_1; inline;
  2907. function getBRGH : TBits_1; inline;
  2908. function getIREN : TBits_1; inline;
  2909. function getLPBACK : TBits_1; inline;
  2910. function getON : TBits_1; inline;
  2911. function getPDSEL : TBits_2; inline;
  2912. function getPDSEL0 : TBits_1; inline;
  2913. function getPDSEL1 : TBits_1; inline;
  2914. function getRTSMD : TBits_1; inline;
  2915. function getRXINV : TBits_1; inline;
  2916. function getSIDL : TBits_1; inline;
  2917. function getSTSEL : TBits_1; inline;
  2918. function getUARTEN : TBits_1; inline;
  2919. function getUEN : TBits_2; inline;
  2920. function getUEN0 : TBits_1; inline;
  2921. function getUEN1 : TBits_1; inline;
  2922. function getUSIDL : TBits_1; inline;
  2923. function getWAKE : TBits_1; inline;
  2924. function getw : TBits_32; inline;
  2925. procedure setABAUD(thebits : TBits_1); inline;
  2926. procedure setBRGH(thebits : TBits_1); inline;
  2927. procedure setIREN(thebits : TBits_1); inline;
  2928. procedure setLPBACK(thebits : TBits_1); inline;
  2929. procedure setON(thebits : TBits_1); inline;
  2930. procedure setPDSEL(thebits : TBits_2); inline;
  2931. procedure setPDSEL0(thebits : TBits_1); inline;
  2932. procedure setPDSEL1(thebits : TBits_1); inline;
  2933. procedure setRTSMD(thebits : TBits_1); inline;
  2934. procedure setRXINV(thebits : TBits_1); inline;
  2935. procedure setSIDL(thebits : TBits_1); inline;
  2936. procedure setSTSEL(thebits : TBits_1); inline;
  2937. procedure setUARTEN(thebits : TBits_1); inline;
  2938. procedure setUEN(thebits : TBits_2); inline;
  2939. procedure setUEN0(thebits : TBits_1); inline;
  2940. procedure setUEN1(thebits : TBits_1); inline;
  2941. procedure setUSIDL(thebits : TBits_1); inline;
  2942. procedure setWAKE(thebits : TBits_1); inline;
  2943. procedure setw(thebits : TBits_32); inline;
  2944. public
  2945. procedure clearABAUD; inline;
  2946. procedure clearBRGH; inline;
  2947. procedure clearIREN; inline;
  2948. procedure clearLPBACK; inline;
  2949. procedure clearON; inline;
  2950. procedure clearPDSEL0; inline;
  2951. procedure clearPDSEL1; inline;
  2952. procedure clearRTSMD; inline;
  2953. procedure clearRXINV; inline;
  2954. procedure clearSIDL; inline;
  2955. procedure clearSTSEL; inline;
  2956. procedure clearUARTEN; inline;
  2957. procedure clearUEN0; inline;
  2958. procedure clearUEN1; inline;
  2959. procedure clearUSIDL; inline;
  2960. procedure clearWAKE; inline;
  2961. procedure setABAUD; inline;
  2962. procedure setBRGH; inline;
  2963. procedure setIREN; inline;
  2964. procedure setLPBACK; inline;
  2965. procedure setON; inline;
  2966. procedure setPDSEL0; inline;
  2967. procedure setPDSEL1; inline;
  2968. procedure setRTSMD; inline;
  2969. procedure setRXINV; inline;
  2970. procedure setSIDL; inline;
  2971. procedure setSTSEL; inline;
  2972. procedure setUARTEN; inline;
  2973. procedure setUEN0; inline;
  2974. procedure setUEN1; inline;
  2975. procedure setUSIDL; inline;
  2976. procedure setWAKE; inline;
  2977. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2978. property BRGH : TBits_1 read getBRGH write setBRGH;
  2979. property IREN : TBits_1 read getIREN write setIREN;
  2980. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2981. property ON : TBits_1 read getON write setON;
  2982. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2983. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2984. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2985. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2986. property RXINV : TBits_1 read getRXINV write setRXINV;
  2987. property SIDL : TBits_1 read getSIDL write setSIDL;
  2988. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2989. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2990. property UEN : TBits_2 read getUEN write setUEN;
  2991. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2992. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2993. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2994. property WAKE : TBits_1 read getWAKE write setWAKE;
  2995. property w : TBits_32 read getw write setw;
  2996. end;
  2997. TUART1_U1STA = record
  2998. private
  2999. function getADDEN : TBits_1; inline;
  3000. function getADDR : TBits_8; inline;
  3001. function getADM_EN : TBits_1; inline;
  3002. function getFERR : TBits_1; inline;
  3003. function getOERR : TBits_1; inline;
  3004. function getPERR : TBits_1; inline;
  3005. function getRIDLE : TBits_1; inline;
  3006. function getTRMT : TBits_1; inline;
  3007. function getURXDA : TBits_1; inline;
  3008. function getURXEN : TBits_1; inline;
  3009. function getURXISEL : TBits_2; inline;
  3010. function getURXISEL0 : TBits_1; inline;
  3011. function getURXISEL1 : TBits_1; inline;
  3012. function getUTXBF : TBits_1; inline;
  3013. function getUTXBRK : TBits_1; inline;
  3014. function getUTXEN : TBits_1; inline;
  3015. function getUTXINV : TBits_1; inline;
  3016. function getUTXISEL : TBits_2; inline;
  3017. function getUTXISEL0 : TBits_1; inline;
  3018. function getUTXISEL1 : TBits_1; inline;
  3019. function getUTXSEL : TBits_2; inline;
  3020. function getw : TBits_32; inline;
  3021. procedure setADDEN(thebits : TBits_1); inline;
  3022. procedure setADDR(thebits : TBits_8); inline;
  3023. procedure setADM_EN(thebits : TBits_1); inline;
  3024. procedure setFERR(thebits : TBits_1); inline;
  3025. procedure setOERR(thebits : TBits_1); inline;
  3026. procedure setPERR(thebits : TBits_1); inline;
  3027. procedure setRIDLE(thebits : TBits_1); inline;
  3028. procedure setTRMT(thebits : TBits_1); inline;
  3029. procedure setURXDA(thebits : TBits_1); inline;
  3030. procedure setURXEN(thebits : TBits_1); inline;
  3031. procedure setURXISEL(thebits : TBits_2); inline;
  3032. procedure setURXISEL0(thebits : TBits_1); inline;
  3033. procedure setURXISEL1(thebits : TBits_1); inline;
  3034. procedure setUTXBF(thebits : TBits_1); inline;
  3035. procedure setUTXBRK(thebits : TBits_1); inline;
  3036. procedure setUTXEN(thebits : TBits_1); inline;
  3037. procedure setUTXINV(thebits : TBits_1); inline;
  3038. procedure setUTXISEL(thebits : TBits_2); inline;
  3039. procedure setUTXISEL0(thebits : TBits_1); inline;
  3040. procedure setUTXISEL1(thebits : TBits_1); inline;
  3041. procedure setUTXSEL(thebits : TBits_2); inline;
  3042. procedure setw(thebits : TBits_32); inline;
  3043. public
  3044. procedure clearADDEN; inline;
  3045. procedure clearADM_EN; inline;
  3046. procedure clearFERR; inline;
  3047. procedure clearOERR; inline;
  3048. procedure clearPERR; inline;
  3049. procedure clearRIDLE; inline;
  3050. procedure clearTRMT; inline;
  3051. procedure clearURXDA; inline;
  3052. procedure clearURXEN; inline;
  3053. procedure clearURXISEL0; inline;
  3054. procedure clearURXISEL1; inline;
  3055. procedure clearUTXBF; inline;
  3056. procedure clearUTXBRK; inline;
  3057. procedure clearUTXEN; inline;
  3058. procedure clearUTXINV; inline;
  3059. procedure clearUTXISEL0; inline;
  3060. procedure clearUTXISEL1; inline;
  3061. procedure setADDEN; inline;
  3062. procedure setADM_EN; inline;
  3063. procedure setFERR; inline;
  3064. procedure setOERR; inline;
  3065. procedure setPERR; inline;
  3066. procedure setRIDLE; inline;
  3067. procedure setTRMT; inline;
  3068. procedure setURXDA; inline;
  3069. procedure setURXEN; inline;
  3070. procedure setURXISEL0; inline;
  3071. procedure setURXISEL1; inline;
  3072. procedure setUTXBF; inline;
  3073. procedure setUTXBRK; inline;
  3074. procedure setUTXEN; inline;
  3075. procedure setUTXINV; inline;
  3076. procedure setUTXISEL0; inline;
  3077. procedure setUTXISEL1; inline;
  3078. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3079. property ADDR : TBits_8 read getADDR write setADDR;
  3080. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3081. property FERR : TBits_1 read getFERR write setFERR;
  3082. property OERR : TBits_1 read getOERR write setOERR;
  3083. property PERR : TBits_1 read getPERR write setPERR;
  3084. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3085. property TRMT : TBits_1 read getTRMT write setTRMT;
  3086. property URXDA : TBits_1 read getURXDA write setURXDA;
  3087. property URXEN : TBits_1 read getURXEN write setURXEN;
  3088. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3089. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3090. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3091. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3092. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3093. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3094. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3095. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3096. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3097. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3098. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3099. property w : TBits_32 read getw write setw;
  3100. end;
  3101. TUART1_UDCSTA = record
  3102. private
  3103. function getADDEN : TBits_1; inline;
  3104. function getADDR : TBits_8; inline;
  3105. function getADM_EN : TBits_1; inline;
  3106. function getFERR : TBits_1; inline;
  3107. function getOERR : TBits_1; inline;
  3108. function getPERR : TBits_1; inline;
  3109. function getRIDLE : TBits_1; inline;
  3110. function getTRMT : TBits_1; inline;
  3111. function getURXDA : TBits_1; inline;
  3112. function getURXEN : TBits_1; inline;
  3113. function getURXISEL : TBits_2; inline;
  3114. function getURXISEL0 : TBits_1; inline;
  3115. function getURXISEL1 : TBits_1; inline;
  3116. function getUTXBF : TBits_1; inline;
  3117. function getUTXBRK : TBits_1; inline;
  3118. function getUTXEN : TBits_1; inline;
  3119. function getUTXINV : TBits_1; inline;
  3120. function getUTXISEL : TBits_2; inline;
  3121. function getUTXISEL0 : TBits_1; inline;
  3122. function getUTXISEL1 : TBits_1; inline;
  3123. function getUTXSEL : TBits_2; inline;
  3124. function getw : TBits_32; inline;
  3125. procedure setADDEN(thebits : TBits_1); inline;
  3126. procedure setADDR(thebits : TBits_8); inline;
  3127. procedure setADM_EN(thebits : TBits_1); inline;
  3128. procedure setFERR(thebits : TBits_1); inline;
  3129. procedure setOERR(thebits : TBits_1); inline;
  3130. procedure setPERR(thebits : TBits_1); inline;
  3131. procedure setRIDLE(thebits : TBits_1); inline;
  3132. procedure setTRMT(thebits : TBits_1); inline;
  3133. procedure setURXDA(thebits : TBits_1); inline;
  3134. procedure setURXEN(thebits : TBits_1); inline;
  3135. procedure setURXISEL(thebits : TBits_2); inline;
  3136. procedure setURXISEL0(thebits : TBits_1); inline;
  3137. procedure setURXISEL1(thebits : TBits_1); inline;
  3138. procedure setUTXBF(thebits : TBits_1); inline;
  3139. procedure setUTXBRK(thebits : TBits_1); inline;
  3140. procedure setUTXEN(thebits : TBits_1); inline;
  3141. procedure setUTXINV(thebits : TBits_1); inline;
  3142. procedure setUTXISEL(thebits : TBits_2); inline;
  3143. procedure setUTXISEL0(thebits : TBits_1); inline;
  3144. procedure setUTXISEL1(thebits : TBits_1); inline;
  3145. procedure setUTXSEL(thebits : TBits_2); inline;
  3146. procedure setw(thebits : TBits_32); inline;
  3147. public
  3148. procedure clearADDEN; inline;
  3149. procedure clearADM_EN; inline;
  3150. procedure clearFERR; inline;
  3151. procedure clearOERR; inline;
  3152. procedure clearPERR; inline;
  3153. procedure clearRIDLE; inline;
  3154. procedure clearTRMT; inline;
  3155. procedure clearURXDA; inline;
  3156. procedure clearURXEN; inline;
  3157. procedure clearURXISEL0; inline;
  3158. procedure clearURXISEL1; inline;
  3159. procedure clearUTXBF; inline;
  3160. procedure clearUTXBRK; inline;
  3161. procedure clearUTXEN; inline;
  3162. procedure clearUTXINV; inline;
  3163. procedure clearUTXISEL0; inline;
  3164. procedure clearUTXISEL1; inline;
  3165. procedure setADDEN; inline;
  3166. procedure setADM_EN; inline;
  3167. procedure setFERR; inline;
  3168. procedure setOERR; inline;
  3169. procedure setPERR; inline;
  3170. procedure setRIDLE; inline;
  3171. procedure setTRMT; inline;
  3172. procedure setURXDA; inline;
  3173. procedure setURXEN; inline;
  3174. procedure setURXISEL0; inline;
  3175. procedure setURXISEL1; inline;
  3176. procedure setUTXBF; inline;
  3177. procedure setUTXBRK; inline;
  3178. procedure setUTXEN; inline;
  3179. procedure setUTXINV; inline;
  3180. procedure setUTXISEL0; inline;
  3181. procedure setUTXISEL1; inline;
  3182. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3183. property ADDR : TBits_8 read getADDR write setADDR;
  3184. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3185. property FERR : TBits_1 read getFERR write setFERR;
  3186. property OERR : TBits_1 read getOERR write setOERR;
  3187. property PERR : TBits_1 read getPERR write setPERR;
  3188. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3189. property TRMT : TBits_1 read getTRMT write setTRMT;
  3190. property URXDA : TBits_1 read getURXDA write setURXDA;
  3191. property URXEN : TBits_1 read getURXEN write setURXEN;
  3192. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3193. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3194. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3195. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3196. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3197. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3198. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3199. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3200. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3201. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3202. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3203. property w : TBits_32 read getw write setw;
  3204. end;
  3205. type
  3206. TUART1Registers = record
  3207. U1MODEbits : TUART1_U1MODE;
  3208. U1MODE : longWord;
  3209. UDCMODEbits : TUART1_UDCMODE;
  3210. UDCMODE : longWord;
  3211. U1MODECLR : longWord;
  3212. UDCMODECLR : longWord;
  3213. U1MODESET : longWord;
  3214. UDCMODESET : longWord;
  3215. U1MODEINV : longWord;
  3216. UDCMODEINV : longWord;
  3217. U1STAbits : TUART1_U1STA;
  3218. U1STA : longWord;
  3219. UDCSTAbits : TUART1_UDCSTA;
  3220. UDCSTA : longWord;
  3221. U1STACLR : longWord;
  3222. UDCSTACLR : longWord;
  3223. U1STASET : longWord;
  3224. UDCSTASET : longWord;
  3225. U1STAINV : longWord;
  3226. UDCSTAINV : longWord;
  3227. U1TXREG : longWord;
  3228. UDCTXREG : longWord;
  3229. U1RXREG : longWord;
  3230. UDCRXREG : longWord;
  3231. U1BRG : longWord;
  3232. UDCBRG : longWord;
  3233. U1BRGCLR : longWord;
  3234. UDCBRGCLR : longWord;
  3235. U1BRGSET : longWord;
  3236. UDCBRGSET : longWord;
  3237. U1BRGINV : longWord;
  3238. UDCBRGINV : longWord;
  3239. end;
  3240. TUART2_U2MODE = record
  3241. private
  3242. function getABAUD : TBits_1; inline;
  3243. function getBRGH : TBits_1; inline;
  3244. function getIREN : TBits_1; inline;
  3245. function getLPBACK : TBits_1; inline;
  3246. function getON : TBits_1; inline;
  3247. function getPDSEL : TBits_2; inline;
  3248. function getPDSEL0 : TBits_1; inline;
  3249. function getPDSEL1 : TBits_1; inline;
  3250. function getRTSMD : TBits_1; inline;
  3251. function getRXINV : TBits_1; inline;
  3252. function getSIDL : TBits_1; inline;
  3253. function getSTSEL : TBits_1; inline;
  3254. function getUARTEN : TBits_1; inline;
  3255. function getUEN : TBits_2; inline;
  3256. function getUEN0 : TBits_1; inline;
  3257. function getUEN1 : TBits_1; inline;
  3258. function getUSIDL : TBits_1; inline;
  3259. function getWAKE : TBits_1; inline;
  3260. function getw : TBits_32; inline;
  3261. procedure setABAUD(thebits : TBits_1); inline;
  3262. procedure setBRGH(thebits : TBits_1); inline;
  3263. procedure setIREN(thebits : TBits_1); inline;
  3264. procedure setLPBACK(thebits : TBits_1); inline;
  3265. procedure setON(thebits : TBits_1); inline;
  3266. procedure setPDSEL(thebits : TBits_2); inline;
  3267. procedure setPDSEL0(thebits : TBits_1); inline;
  3268. procedure setPDSEL1(thebits : TBits_1); inline;
  3269. procedure setRTSMD(thebits : TBits_1); inline;
  3270. procedure setRXINV(thebits : TBits_1); inline;
  3271. procedure setSIDL(thebits : TBits_1); inline;
  3272. procedure setSTSEL(thebits : TBits_1); inline;
  3273. procedure setUARTEN(thebits : TBits_1); inline;
  3274. procedure setUEN(thebits : TBits_2); inline;
  3275. procedure setUEN0(thebits : TBits_1); inline;
  3276. procedure setUEN1(thebits : TBits_1); inline;
  3277. procedure setUSIDL(thebits : TBits_1); inline;
  3278. procedure setWAKE(thebits : TBits_1); inline;
  3279. procedure setw(thebits : TBits_32); inline;
  3280. public
  3281. procedure clearABAUD; inline;
  3282. procedure clearBRGH; inline;
  3283. procedure clearIREN; inline;
  3284. procedure clearLPBACK; inline;
  3285. procedure clearON; inline;
  3286. procedure clearPDSEL0; inline;
  3287. procedure clearPDSEL1; inline;
  3288. procedure clearRTSMD; inline;
  3289. procedure clearRXINV; inline;
  3290. procedure clearSIDL; inline;
  3291. procedure clearSTSEL; inline;
  3292. procedure clearUARTEN; inline;
  3293. procedure clearUEN0; inline;
  3294. procedure clearUEN1; inline;
  3295. procedure clearUSIDL; inline;
  3296. procedure clearWAKE; inline;
  3297. procedure setABAUD; inline;
  3298. procedure setBRGH; inline;
  3299. procedure setIREN; inline;
  3300. procedure setLPBACK; inline;
  3301. procedure setON; inline;
  3302. procedure setPDSEL0; inline;
  3303. procedure setPDSEL1; inline;
  3304. procedure setRTSMD; inline;
  3305. procedure setRXINV; inline;
  3306. procedure setSIDL; inline;
  3307. procedure setSTSEL; inline;
  3308. procedure setUARTEN; inline;
  3309. procedure setUEN0; inline;
  3310. procedure setUEN1; inline;
  3311. procedure setUSIDL; inline;
  3312. procedure setWAKE; inline;
  3313. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3314. property BRGH : TBits_1 read getBRGH write setBRGH;
  3315. property IREN : TBits_1 read getIREN write setIREN;
  3316. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3317. property ON : TBits_1 read getON write setON;
  3318. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3319. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3320. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3321. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3322. property RXINV : TBits_1 read getRXINV write setRXINV;
  3323. property SIDL : TBits_1 read getSIDL write setSIDL;
  3324. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3325. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3326. property UEN : TBits_2 read getUEN write setUEN;
  3327. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3328. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3329. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3330. property WAKE : TBits_1 read getWAKE write setWAKE;
  3331. property w : TBits_32 read getw write setw;
  3332. end;
  3333. TUART2_U8932MODE = record
  3334. private
  3335. function getABAUD : TBits_1; inline;
  3336. function getBRGH : TBits_1; inline;
  3337. function getIREN : TBits_1; inline;
  3338. function getLPBACK : TBits_1; inline;
  3339. function getON : TBits_1; inline;
  3340. function getPDSEL : TBits_2; inline;
  3341. function getPDSEL0 : TBits_1; inline;
  3342. function getPDSEL1 : TBits_1; inline;
  3343. function getRTSMD : TBits_1; inline;
  3344. function getRXINV : TBits_1; inline;
  3345. function getSIDL : TBits_1; inline;
  3346. function getSTSEL : TBits_1; inline;
  3347. function getUARTEN : TBits_1; inline;
  3348. function getUEN : TBits_2; inline;
  3349. function getUEN0 : TBits_1; inline;
  3350. function getUEN1 : TBits_1; inline;
  3351. function getUSIDL : TBits_1; inline;
  3352. function getWAKE : TBits_1; inline;
  3353. function getw : TBits_32; inline;
  3354. procedure setABAUD(thebits : TBits_1); inline;
  3355. procedure setBRGH(thebits : TBits_1); inline;
  3356. procedure setIREN(thebits : TBits_1); inline;
  3357. procedure setLPBACK(thebits : TBits_1); inline;
  3358. procedure setON(thebits : TBits_1); inline;
  3359. procedure setPDSEL(thebits : TBits_2); inline;
  3360. procedure setPDSEL0(thebits : TBits_1); inline;
  3361. procedure setPDSEL1(thebits : TBits_1); inline;
  3362. procedure setRTSMD(thebits : TBits_1); inline;
  3363. procedure setRXINV(thebits : TBits_1); inline;
  3364. procedure setSIDL(thebits : TBits_1); inline;
  3365. procedure setSTSEL(thebits : TBits_1); inline;
  3366. procedure setUARTEN(thebits : TBits_1); inline;
  3367. procedure setUEN(thebits : TBits_2); inline;
  3368. procedure setUEN0(thebits : TBits_1); inline;
  3369. procedure setUEN1(thebits : TBits_1); inline;
  3370. procedure setUSIDL(thebits : TBits_1); inline;
  3371. procedure setWAKE(thebits : TBits_1); inline;
  3372. procedure setw(thebits : TBits_32); inline;
  3373. public
  3374. procedure clearABAUD; inline;
  3375. procedure clearBRGH; inline;
  3376. procedure clearIREN; inline;
  3377. procedure clearLPBACK; inline;
  3378. procedure clearON; inline;
  3379. procedure clearPDSEL0; inline;
  3380. procedure clearPDSEL1; inline;
  3381. procedure clearRTSMD; inline;
  3382. procedure clearRXINV; inline;
  3383. procedure clearSIDL; inline;
  3384. procedure clearSTSEL; inline;
  3385. procedure clearUARTEN; inline;
  3386. procedure clearUEN0; inline;
  3387. procedure clearUEN1; inline;
  3388. procedure clearUSIDL; inline;
  3389. procedure clearWAKE; inline;
  3390. procedure setABAUD; inline;
  3391. procedure setBRGH; inline;
  3392. procedure setIREN; inline;
  3393. procedure setLPBACK; inline;
  3394. procedure setON; inline;
  3395. procedure setPDSEL0; inline;
  3396. procedure setPDSEL1; inline;
  3397. procedure setRTSMD; inline;
  3398. procedure setRXINV; inline;
  3399. procedure setSIDL; inline;
  3400. procedure setSTSEL; inline;
  3401. procedure setUARTEN; inline;
  3402. procedure setUEN0; inline;
  3403. procedure setUEN1; inline;
  3404. procedure setUSIDL; inline;
  3405. procedure setWAKE; inline;
  3406. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3407. property BRGH : TBits_1 read getBRGH write setBRGH;
  3408. property IREN : TBits_1 read getIREN write setIREN;
  3409. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3410. property ON : TBits_1 read getON write setON;
  3411. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3412. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3413. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3414. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3415. property RXINV : TBits_1 read getRXINV write setRXINV;
  3416. property SIDL : TBits_1 read getSIDL write setSIDL;
  3417. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3418. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3419. property UEN : TBits_2 read getUEN write setUEN;
  3420. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3421. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3422. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3423. property WAKE : TBits_1 read getWAKE write setWAKE;
  3424. property w : TBits_32 read getw write setw;
  3425. end;
  3426. TUART2_U2STA = record
  3427. private
  3428. function getADDEN : TBits_1; inline;
  3429. function getADDR : TBits_8; inline;
  3430. function getADM_EN : TBits_1; inline;
  3431. function getFERR : TBits_1; inline;
  3432. function getOERR : TBits_1; inline;
  3433. function getPERR : TBits_1; inline;
  3434. function getRIDLE : TBits_1; inline;
  3435. function getTRMT : TBits_1; inline;
  3436. function getURXDA : TBits_1; inline;
  3437. function getURXEN : TBits_1; inline;
  3438. function getURXISEL : TBits_2; inline;
  3439. function getURXISEL0 : TBits_1; inline;
  3440. function getURXISEL1 : TBits_1; inline;
  3441. function getUTXBF : TBits_1; inline;
  3442. function getUTXBRK : TBits_1; inline;
  3443. function getUTXEN : TBits_1; inline;
  3444. function getUTXINV : TBits_1; inline;
  3445. function getUTXISEL : TBits_2; inline;
  3446. function getUTXISEL0 : TBits_1; inline;
  3447. function getUTXISEL1 : TBits_1; inline;
  3448. function getUTXSEL : TBits_2; inline;
  3449. function getw : TBits_32; inline;
  3450. procedure setADDEN(thebits : TBits_1); inline;
  3451. procedure setADDR(thebits : TBits_8); inline;
  3452. procedure setADM_EN(thebits : TBits_1); inline;
  3453. procedure setFERR(thebits : TBits_1); inline;
  3454. procedure setOERR(thebits : TBits_1); inline;
  3455. procedure setPERR(thebits : TBits_1); inline;
  3456. procedure setRIDLE(thebits : TBits_1); inline;
  3457. procedure setTRMT(thebits : TBits_1); inline;
  3458. procedure setURXDA(thebits : TBits_1); inline;
  3459. procedure setURXEN(thebits : TBits_1); inline;
  3460. procedure setURXISEL(thebits : TBits_2); inline;
  3461. procedure setURXISEL0(thebits : TBits_1); inline;
  3462. procedure setURXISEL1(thebits : TBits_1); inline;
  3463. procedure setUTXBF(thebits : TBits_1); inline;
  3464. procedure setUTXBRK(thebits : TBits_1); inline;
  3465. procedure setUTXEN(thebits : TBits_1); inline;
  3466. procedure setUTXINV(thebits : TBits_1); inline;
  3467. procedure setUTXISEL(thebits : TBits_2); inline;
  3468. procedure setUTXISEL0(thebits : TBits_1); inline;
  3469. procedure setUTXISEL1(thebits : TBits_1); inline;
  3470. procedure setUTXSEL(thebits : TBits_2); inline;
  3471. procedure setw(thebits : TBits_32); inline;
  3472. public
  3473. procedure clearADDEN; inline;
  3474. procedure clearADM_EN; inline;
  3475. procedure clearFERR; inline;
  3476. procedure clearOERR; inline;
  3477. procedure clearPERR; inline;
  3478. procedure clearRIDLE; inline;
  3479. procedure clearTRMT; inline;
  3480. procedure clearURXDA; inline;
  3481. procedure clearURXEN; inline;
  3482. procedure clearURXISEL0; inline;
  3483. procedure clearURXISEL1; inline;
  3484. procedure clearUTXBF; inline;
  3485. procedure clearUTXBRK; inline;
  3486. procedure clearUTXEN; inline;
  3487. procedure clearUTXINV; inline;
  3488. procedure clearUTXISEL0; inline;
  3489. procedure clearUTXISEL1; inline;
  3490. procedure setADDEN; inline;
  3491. procedure setADM_EN; inline;
  3492. procedure setFERR; inline;
  3493. procedure setOERR; inline;
  3494. procedure setPERR; inline;
  3495. procedure setRIDLE; inline;
  3496. procedure setTRMT; inline;
  3497. procedure setURXDA; inline;
  3498. procedure setURXEN; inline;
  3499. procedure setURXISEL0; inline;
  3500. procedure setURXISEL1; inline;
  3501. procedure setUTXBF; inline;
  3502. procedure setUTXBRK; inline;
  3503. procedure setUTXEN; inline;
  3504. procedure setUTXINV; inline;
  3505. procedure setUTXISEL0; inline;
  3506. procedure setUTXISEL1; inline;
  3507. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3508. property ADDR : TBits_8 read getADDR write setADDR;
  3509. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3510. property FERR : TBits_1 read getFERR write setFERR;
  3511. property OERR : TBits_1 read getOERR write setOERR;
  3512. property PERR : TBits_1 read getPERR write setPERR;
  3513. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3514. property TRMT : TBits_1 read getTRMT write setTRMT;
  3515. property URXDA : TBits_1 read getURXDA write setURXDA;
  3516. property URXEN : TBits_1 read getURXEN write setURXEN;
  3517. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3518. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3519. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3520. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3521. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3522. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3523. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3524. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3525. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3526. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3527. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3528. property w : TBits_32 read getw write setw;
  3529. end;
  3530. TUART2_U8932STA = record
  3531. private
  3532. function getADDEN : TBits_1; inline;
  3533. function getADDR : TBits_8; inline;
  3534. function getADM_EN : TBits_1; inline;
  3535. function getFERR : TBits_1; inline;
  3536. function getOERR : TBits_1; inline;
  3537. function getPERR : TBits_1; inline;
  3538. function getRIDLE : TBits_1; inline;
  3539. function getTRMT : TBits_1; inline;
  3540. function getURXDA : TBits_1; inline;
  3541. function getURXEN : TBits_1; inline;
  3542. function getURXISEL : TBits_2; inline;
  3543. function getURXISEL0 : TBits_1; inline;
  3544. function getURXISEL1 : TBits_1; inline;
  3545. function getUTXBF : TBits_1; inline;
  3546. function getUTXBRK : TBits_1; inline;
  3547. function getUTXEN : TBits_1; inline;
  3548. function getUTXINV : TBits_1; inline;
  3549. function getUTXISEL : TBits_2; inline;
  3550. function getUTXISEL0 : TBits_1; inline;
  3551. function getUTXISEL1 : TBits_1; inline;
  3552. function getUTXSEL : TBits_2; inline;
  3553. function getw : TBits_32; inline;
  3554. procedure setADDEN(thebits : TBits_1); inline;
  3555. procedure setADDR(thebits : TBits_8); inline;
  3556. procedure setADM_EN(thebits : TBits_1); inline;
  3557. procedure setFERR(thebits : TBits_1); inline;
  3558. procedure setOERR(thebits : TBits_1); inline;
  3559. procedure setPERR(thebits : TBits_1); inline;
  3560. procedure setRIDLE(thebits : TBits_1); inline;
  3561. procedure setTRMT(thebits : TBits_1); inline;
  3562. procedure setURXDA(thebits : TBits_1); inline;
  3563. procedure setURXEN(thebits : TBits_1); inline;
  3564. procedure setURXISEL(thebits : TBits_2); inline;
  3565. procedure setURXISEL0(thebits : TBits_1); inline;
  3566. procedure setURXISEL1(thebits : TBits_1); inline;
  3567. procedure setUTXBF(thebits : TBits_1); inline;
  3568. procedure setUTXBRK(thebits : TBits_1); inline;
  3569. procedure setUTXEN(thebits : TBits_1); inline;
  3570. procedure setUTXINV(thebits : TBits_1); inline;
  3571. procedure setUTXISEL(thebits : TBits_2); inline;
  3572. procedure setUTXISEL0(thebits : TBits_1); inline;
  3573. procedure setUTXISEL1(thebits : TBits_1); inline;
  3574. procedure setUTXSEL(thebits : TBits_2); inline;
  3575. procedure setw(thebits : TBits_32); inline;
  3576. public
  3577. procedure clearADDEN; inline;
  3578. procedure clearADM_EN; inline;
  3579. procedure clearFERR; inline;
  3580. procedure clearOERR; inline;
  3581. procedure clearPERR; inline;
  3582. procedure clearRIDLE; inline;
  3583. procedure clearTRMT; inline;
  3584. procedure clearURXDA; inline;
  3585. procedure clearURXEN; inline;
  3586. procedure clearURXISEL0; inline;
  3587. procedure clearURXISEL1; inline;
  3588. procedure clearUTXBF; inline;
  3589. procedure clearUTXBRK; inline;
  3590. procedure clearUTXEN; inline;
  3591. procedure clearUTXINV; inline;
  3592. procedure clearUTXISEL0; inline;
  3593. procedure clearUTXISEL1; inline;
  3594. procedure setADDEN; inline;
  3595. procedure setADM_EN; inline;
  3596. procedure setFERR; inline;
  3597. procedure setOERR; inline;
  3598. procedure setPERR; inline;
  3599. procedure setRIDLE; inline;
  3600. procedure setTRMT; inline;
  3601. procedure setURXDA; inline;
  3602. procedure setURXEN; inline;
  3603. procedure setURXISEL0; inline;
  3604. procedure setURXISEL1; inline;
  3605. procedure setUTXBF; inline;
  3606. procedure setUTXBRK; inline;
  3607. procedure setUTXEN; inline;
  3608. procedure setUTXINV; inline;
  3609. procedure setUTXISEL0; inline;
  3610. procedure setUTXISEL1; inline;
  3611. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3612. property ADDR : TBits_8 read getADDR write setADDR;
  3613. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3614. property FERR : TBits_1 read getFERR write setFERR;
  3615. property OERR : TBits_1 read getOERR write setOERR;
  3616. property PERR : TBits_1 read getPERR write setPERR;
  3617. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3618. property TRMT : TBits_1 read getTRMT write setTRMT;
  3619. property URXDA : TBits_1 read getURXDA write setURXDA;
  3620. property URXEN : TBits_1 read getURXEN write setURXEN;
  3621. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3622. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3623. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3624. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3625. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3626. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3627. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3628. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3629. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3630. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3631. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3632. property w : TBits_32 read getw write setw;
  3633. end;
  3634. type
  3635. TUART2Registers = record
  3636. U2MODEbits : TUART2_U2MODE;
  3637. U2MODE : longWord;
  3638. U8932MODEbits : TUART2_U8932MODE;
  3639. U8932MODE : longWord;
  3640. U2MODECLR : longWord;
  3641. U8932MODECLR : longWord;
  3642. U2MODESET : longWord;
  3643. U8932MODESET : longWord;
  3644. U2MODEINV : longWord;
  3645. U8932MODEINV : longWord;
  3646. U2STAbits : TUART2_U2STA;
  3647. U2STA : longWord;
  3648. U8932STAbits : TUART2_U8932STA;
  3649. U8932STA : longWord;
  3650. U2STACLR : longWord;
  3651. U8932STACLR : longWord;
  3652. U2STASET : longWord;
  3653. U8932STASET : longWord;
  3654. U2STAINV : longWord;
  3655. U8932STAINV : longWord;
  3656. U2TXREG : longWord;
  3657. U8932TXREG : longWord;
  3658. U2RXREG : longWord;
  3659. U8932RXREG : longWord;
  3660. U2BRG : longWord;
  3661. U8932BRG : longWord;
  3662. U2BRGCLR : longWord;
  3663. U8932BRGCLR : longWord;
  3664. U2BRGSET : longWord;
  3665. U8932BRGSET : longWord;
  3666. U2BRGINV : longWord;
  3667. U8932BRGINV : longWord;
  3668. end;
  3669. TUART3_U39MODE = record
  3670. private
  3671. function getABAUD : TBits_1; inline;
  3672. function getBRGH : TBits_1; inline;
  3673. function getIREN : TBits_1; inline;
  3674. function getLPBACK : TBits_1; inline;
  3675. function getON : TBits_1; inline;
  3676. function getPDSEL : TBits_2; inline;
  3677. function getPDSEL0 : TBits_1; inline;
  3678. function getPDSEL1 : TBits_1; inline;
  3679. function getRTSMD : TBits_1; inline;
  3680. function getRXINV : TBits_1; inline;
  3681. function getSIDL : TBits_1; inline;
  3682. function getSTSEL : TBits_1; inline;
  3683. function getUARTEN : TBits_1; inline;
  3684. function getUEN : TBits_2; inline;
  3685. function getUEN0 : TBits_1; inline;
  3686. function getUEN1 : TBits_1; inline;
  3687. function getUSIDL : TBits_1; inline;
  3688. function getWAKE : TBits_1; inline;
  3689. function getw : TBits_32; inline;
  3690. procedure setABAUD(thebits : TBits_1); inline;
  3691. procedure setBRGH(thebits : TBits_1); inline;
  3692. procedure setIREN(thebits : TBits_1); inline;
  3693. procedure setLPBACK(thebits : TBits_1); inline;
  3694. procedure setON(thebits : TBits_1); inline;
  3695. procedure setPDSEL(thebits : TBits_2); inline;
  3696. procedure setPDSEL0(thebits : TBits_1); inline;
  3697. procedure setPDSEL1(thebits : TBits_1); inline;
  3698. procedure setRTSMD(thebits : TBits_1); inline;
  3699. procedure setRXINV(thebits : TBits_1); inline;
  3700. procedure setSIDL(thebits : TBits_1); inline;
  3701. procedure setSTSEL(thebits : TBits_1); inline;
  3702. procedure setUARTEN(thebits : TBits_1); inline;
  3703. procedure setUEN(thebits : TBits_2); inline;
  3704. procedure setUEN0(thebits : TBits_1); inline;
  3705. procedure setUEN1(thebits : TBits_1); inline;
  3706. procedure setUSIDL(thebits : TBits_1); inline;
  3707. procedure setWAKE(thebits : TBits_1); inline;
  3708. procedure setw(thebits : TBits_32); inline;
  3709. public
  3710. procedure clearABAUD; inline;
  3711. procedure clearBRGH; inline;
  3712. procedure clearIREN; inline;
  3713. procedure clearLPBACK; inline;
  3714. procedure clearON; inline;
  3715. procedure clearPDSEL0; inline;
  3716. procedure clearPDSEL1; inline;
  3717. procedure clearRTSMD; inline;
  3718. procedure clearRXINV; inline;
  3719. procedure clearSIDL; inline;
  3720. procedure clearSTSEL; inline;
  3721. procedure clearUARTEN; inline;
  3722. procedure clearUEN0; inline;
  3723. procedure clearUEN1; inline;
  3724. procedure clearUSIDL; inline;
  3725. procedure clearWAKE; inline;
  3726. procedure setABAUD; inline;
  3727. procedure setBRGH; inline;
  3728. procedure setIREN; inline;
  3729. procedure setLPBACK; inline;
  3730. procedure setON; inline;
  3731. procedure setPDSEL0; inline;
  3732. procedure setPDSEL1; inline;
  3733. procedure setRTSMD; inline;
  3734. procedure setRXINV; inline;
  3735. procedure setSIDL; inline;
  3736. procedure setSTSEL; inline;
  3737. procedure setUARTEN; inline;
  3738. procedure setUEN0; inline;
  3739. procedure setUEN1; inline;
  3740. procedure setUSIDL; inline;
  3741. procedure setWAKE; inline;
  3742. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3743. property BRGH : TBits_1 read getBRGH write setBRGH;
  3744. property IREN : TBits_1 read getIREN write setIREN;
  3745. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3746. property ON : TBits_1 read getON write setON;
  3747. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3748. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3749. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3750. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3751. property RXINV : TBits_1 read getRXINV write setRXINV;
  3752. property SIDL : TBits_1 read getSIDL write setSIDL;
  3753. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3754. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3755. property UEN : TBits_2 read getUEN write setUEN;
  3756. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3757. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3758. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3759. property WAKE : TBits_1 read getWAKE write setWAKE;
  3760. property w : TBits_32 read getw write setw;
  3761. end;
  3762. TUART3_U3MODE = record
  3763. private
  3764. function getABAUD : TBits_1; inline;
  3765. function getBRGH : TBits_1; inline;
  3766. function getIREN : TBits_1; inline;
  3767. function getLPBACK : TBits_1; inline;
  3768. function getON : TBits_1; inline;
  3769. function getPDSEL : TBits_2; inline;
  3770. function getPDSEL0 : TBits_1; inline;
  3771. function getPDSEL1 : TBits_1; inline;
  3772. function getRTSMD : TBits_1; inline;
  3773. function getRXINV : TBits_1; inline;
  3774. function getSIDL : TBits_1; inline;
  3775. function getSTSEL : TBits_1; inline;
  3776. function getUARTEN : TBits_1; inline;
  3777. function getUEN : TBits_2; inline;
  3778. function getUEN0 : TBits_1; inline;
  3779. function getUEN1 : TBits_1; inline;
  3780. function getUSIDL : TBits_1; inline;
  3781. function getWAKE : TBits_1; inline;
  3782. function getw : TBits_32; inline;
  3783. procedure setABAUD(thebits : TBits_1); inline;
  3784. procedure setBRGH(thebits : TBits_1); inline;
  3785. procedure setIREN(thebits : TBits_1); inline;
  3786. procedure setLPBACK(thebits : TBits_1); inline;
  3787. procedure setON(thebits : TBits_1); inline;
  3788. procedure setPDSEL(thebits : TBits_2); inline;
  3789. procedure setPDSEL0(thebits : TBits_1); inline;
  3790. procedure setPDSEL1(thebits : TBits_1); inline;
  3791. procedure setRTSMD(thebits : TBits_1); inline;
  3792. procedure setRXINV(thebits : TBits_1); inline;
  3793. procedure setSIDL(thebits : TBits_1); inline;
  3794. procedure setSTSEL(thebits : TBits_1); inline;
  3795. procedure setUARTEN(thebits : TBits_1); inline;
  3796. procedure setUEN(thebits : TBits_2); inline;
  3797. procedure setUEN0(thebits : TBits_1); inline;
  3798. procedure setUEN1(thebits : TBits_1); inline;
  3799. procedure setUSIDL(thebits : TBits_1); inline;
  3800. procedure setWAKE(thebits : TBits_1); inline;
  3801. procedure setw(thebits : TBits_32); inline;
  3802. public
  3803. procedure clearABAUD; inline;
  3804. procedure clearBRGH; inline;
  3805. procedure clearIREN; inline;
  3806. procedure clearLPBACK; inline;
  3807. procedure clearON; inline;
  3808. procedure clearPDSEL0; inline;
  3809. procedure clearPDSEL1; inline;
  3810. procedure clearRTSMD; inline;
  3811. procedure clearRXINV; inline;
  3812. procedure clearSIDL; inline;
  3813. procedure clearSTSEL; inline;
  3814. procedure clearUARTEN; inline;
  3815. procedure clearUEN0; inline;
  3816. procedure clearUEN1; inline;
  3817. procedure clearUSIDL; inline;
  3818. procedure clearWAKE; inline;
  3819. procedure setABAUD; inline;
  3820. procedure setBRGH; inline;
  3821. procedure setIREN; inline;
  3822. procedure setLPBACK; inline;
  3823. procedure setON; inline;
  3824. procedure setPDSEL0; inline;
  3825. procedure setPDSEL1; inline;
  3826. procedure setRTSMD; inline;
  3827. procedure setRXINV; inline;
  3828. procedure setSIDL; inline;
  3829. procedure setSTSEL; inline;
  3830. procedure setUARTEN; inline;
  3831. procedure setUEN0; inline;
  3832. procedure setUEN1; inline;
  3833. procedure setUSIDL; inline;
  3834. procedure setWAKE; inline;
  3835. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3836. property BRGH : TBits_1 read getBRGH write setBRGH;
  3837. property IREN : TBits_1 read getIREN write setIREN;
  3838. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3839. property ON : TBits_1 read getON write setON;
  3840. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3841. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3842. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3843. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3844. property RXINV : TBits_1 read getRXINV write setRXINV;
  3845. property SIDL : TBits_1 read getSIDL write setSIDL;
  3846. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3847. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3848. property UEN : TBits_2 read getUEN write setUEN;
  3849. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3850. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3851. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3852. property WAKE : TBits_1 read getWAKE write setWAKE;
  3853. property w : TBits_32 read getw write setw;
  3854. end;
  3855. TUART3_U39STA = record
  3856. private
  3857. function getADDEN : TBits_1; inline;
  3858. function getADDR : TBits_8; inline;
  3859. function getADM_EN : TBits_1; inline;
  3860. function getFERR : TBits_1; inline;
  3861. function getOERR : TBits_1; inline;
  3862. function getPERR : TBits_1; inline;
  3863. function getRIDLE : TBits_1; inline;
  3864. function getTRMT : TBits_1; inline;
  3865. function getURXDA : TBits_1; inline;
  3866. function getURXEN : TBits_1; inline;
  3867. function getURXISEL : TBits_2; inline;
  3868. function getURXISEL0 : TBits_1; inline;
  3869. function getURXISEL1 : TBits_1; inline;
  3870. function getUTXBF : TBits_1; inline;
  3871. function getUTXBRK : TBits_1; inline;
  3872. function getUTXEN : TBits_1; inline;
  3873. function getUTXINV : TBits_1; inline;
  3874. function getUTXISEL : TBits_2; inline;
  3875. function getUTXISEL0 : TBits_1; inline;
  3876. function getUTXISEL1 : TBits_1; inline;
  3877. function getUTXSEL : TBits_2; inline;
  3878. function getw : TBits_32; inline;
  3879. procedure setADDEN(thebits : TBits_1); inline;
  3880. procedure setADDR(thebits : TBits_8); inline;
  3881. procedure setADM_EN(thebits : TBits_1); inline;
  3882. procedure setFERR(thebits : TBits_1); inline;
  3883. procedure setOERR(thebits : TBits_1); inline;
  3884. procedure setPERR(thebits : TBits_1); inline;
  3885. procedure setRIDLE(thebits : TBits_1); inline;
  3886. procedure setTRMT(thebits : TBits_1); inline;
  3887. procedure setURXDA(thebits : TBits_1); inline;
  3888. procedure setURXEN(thebits : TBits_1); inline;
  3889. procedure setURXISEL(thebits : TBits_2); inline;
  3890. procedure setURXISEL0(thebits : TBits_1); inline;
  3891. procedure setURXISEL1(thebits : TBits_1); inline;
  3892. procedure setUTXBF(thebits : TBits_1); inline;
  3893. procedure setUTXBRK(thebits : TBits_1); inline;
  3894. procedure setUTXEN(thebits : TBits_1); inline;
  3895. procedure setUTXINV(thebits : TBits_1); inline;
  3896. procedure setUTXISEL(thebits : TBits_2); inline;
  3897. procedure setUTXISEL0(thebits : TBits_1); inline;
  3898. procedure setUTXISEL1(thebits : TBits_1); inline;
  3899. procedure setUTXSEL(thebits : TBits_2); inline;
  3900. procedure setw(thebits : TBits_32); inline;
  3901. public
  3902. procedure clearADDEN; inline;
  3903. procedure clearADM_EN; inline;
  3904. procedure clearFERR; inline;
  3905. procedure clearOERR; inline;
  3906. procedure clearPERR; inline;
  3907. procedure clearRIDLE; inline;
  3908. procedure clearTRMT; inline;
  3909. procedure clearURXDA; inline;
  3910. procedure clearURXEN; inline;
  3911. procedure clearURXISEL0; inline;
  3912. procedure clearURXISEL1; inline;
  3913. procedure clearUTXBF; inline;
  3914. procedure clearUTXBRK; inline;
  3915. procedure clearUTXEN; inline;
  3916. procedure clearUTXINV; inline;
  3917. procedure clearUTXISEL0; inline;
  3918. procedure clearUTXISEL1; inline;
  3919. procedure setADDEN; inline;
  3920. procedure setADM_EN; inline;
  3921. procedure setFERR; inline;
  3922. procedure setOERR; inline;
  3923. procedure setPERR; inline;
  3924. procedure setRIDLE; inline;
  3925. procedure setTRMT; inline;
  3926. procedure setURXDA; inline;
  3927. procedure setURXEN; inline;
  3928. procedure setURXISEL0; inline;
  3929. procedure setURXISEL1; inline;
  3930. procedure setUTXBF; inline;
  3931. procedure setUTXBRK; inline;
  3932. procedure setUTXEN; inline;
  3933. procedure setUTXINV; inline;
  3934. procedure setUTXISEL0; inline;
  3935. procedure setUTXISEL1; inline;
  3936. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3937. property ADDR : TBits_8 read getADDR write setADDR;
  3938. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3939. property FERR : TBits_1 read getFERR write setFERR;
  3940. property OERR : TBits_1 read getOERR write setOERR;
  3941. property PERR : TBits_1 read getPERR write setPERR;
  3942. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3943. property TRMT : TBits_1 read getTRMT write setTRMT;
  3944. property URXDA : TBits_1 read getURXDA write setURXDA;
  3945. property URXEN : TBits_1 read getURXEN write setURXEN;
  3946. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3947. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3948. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3949. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3950. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3951. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3952. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3953. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3954. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3955. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3956. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3957. property w : TBits_32 read getw write setw;
  3958. end;
  3959. TUART3_U3STA = record
  3960. private
  3961. function getADDEN : TBits_1; inline;
  3962. function getADDR : TBits_8; inline;
  3963. function getADM_EN : TBits_1; inline;
  3964. function getFERR : TBits_1; inline;
  3965. function getOERR : TBits_1; inline;
  3966. function getPERR : TBits_1; inline;
  3967. function getRIDLE : TBits_1; inline;
  3968. function getTRMT : TBits_1; inline;
  3969. function getURXDA : TBits_1; inline;
  3970. function getURXEN : TBits_1; inline;
  3971. function getURXISEL : TBits_2; inline;
  3972. function getURXISEL0 : TBits_1; inline;
  3973. function getURXISEL1 : TBits_1; inline;
  3974. function getUTXBF : TBits_1; inline;
  3975. function getUTXBRK : TBits_1; inline;
  3976. function getUTXEN : TBits_1; inline;
  3977. function getUTXINV : TBits_1; inline;
  3978. function getUTXISEL : TBits_2; inline;
  3979. function getUTXISEL0 : TBits_1; inline;
  3980. function getUTXISEL1 : TBits_1; inline;
  3981. function getUTXSEL : TBits_2; inline;
  3982. function getw : TBits_32; inline;
  3983. procedure setADDEN(thebits : TBits_1); inline;
  3984. procedure setADDR(thebits : TBits_8); inline;
  3985. procedure setADM_EN(thebits : TBits_1); inline;
  3986. procedure setFERR(thebits : TBits_1); inline;
  3987. procedure setOERR(thebits : TBits_1); inline;
  3988. procedure setPERR(thebits : TBits_1); inline;
  3989. procedure setRIDLE(thebits : TBits_1); inline;
  3990. procedure setTRMT(thebits : TBits_1); inline;
  3991. procedure setURXDA(thebits : TBits_1); inline;
  3992. procedure setURXEN(thebits : TBits_1); inline;
  3993. procedure setURXISEL(thebits : TBits_2); inline;
  3994. procedure setURXISEL0(thebits : TBits_1); inline;
  3995. procedure setURXISEL1(thebits : TBits_1); inline;
  3996. procedure setUTXBF(thebits : TBits_1); inline;
  3997. procedure setUTXBRK(thebits : TBits_1); inline;
  3998. procedure setUTXEN(thebits : TBits_1); inline;
  3999. procedure setUTXINV(thebits : TBits_1); inline;
  4000. procedure setUTXISEL(thebits : TBits_2); inline;
  4001. procedure setUTXISEL0(thebits : TBits_1); inline;
  4002. procedure setUTXISEL1(thebits : TBits_1); inline;
  4003. procedure setUTXSEL(thebits : TBits_2); inline;
  4004. procedure setw(thebits : TBits_32); inline;
  4005. public
  4006. procedure clearADDEN; inline;
  4007. procedure clearADM_EN; inline;
  4008. procedure clearFERR; inline;
  4009. procedure clearOERR; inline;
  4010. procedure clearPERR; inline;
  4011. procedure clearRIDLE; inline;
  4012. procedure clearTRMT; inline;
  4013. procedure clearURXDA; inline;
  4014. procedure clearURXEN; inline;
  4015. procedure clearURXISEL0; inline;
  4016. procedure clearURXISEL1; inline;
  4017. procedure clearUTXBF; inline;
  4018. procedure clearUTXBRK; inline;
  4019. procedure clearUTXEN; inline;
  4020. procedure clearUTXINV; inline;
  4021. procedure clearUTXISEL0; inline;
  4022. procedure clearUTXISEL1; inline;
  4023. procedure setADDEN; inline;
  4024. procedure setADM_EN; inline;
  4025. procedure setFERR; inline;
  4026. procedure setOERR; inline;
  4027. procedure setPERR; inline;
  4028. procedure setRIDLE; inline;
  4029. procedure setTRMT; inline;
  4030. procedure setURXDA; inline;
  4031. procedure setURXEN; inline;
  4032. procedure setURXISEL0; inline;
  4033. procedure setURXISEL1; inline;
  4034. procedure setUTXBF; inline;
  4035. procedure setUTXBRK; inline;
  4036. procedure setUTXEN; inline;
  4037. procedure setUTXINV; inline;
  4038. procedure setUTXISEL0; inline;
  4039. procedure setUTXISEL1; inline;
  4040. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4041. property ADDR : TBits_8 read getADDR write setADDR;
  4042. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4043. property FERR : TBits_1 read getFERR write setFERR;
  4044. property OERR : TBits_1 read getOERR write setOERR;
  4045. property PERR : TBits_1 read getPERR write setPERR;
  4046. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4047. property TRMT : TBits_1 read getTRMT write setTRMT;
  4048. property URXDA : TBits_1 read getURXDA write setURXDA;
  4049. property URXEN : TBits_1 read getURXEN write setURXEN;
  4050. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4051. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4052. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4053. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4054. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4055. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4056. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4057. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4058. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4059. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4060. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4061. property w : TBits_32 read getw write setw;
  4062. end;
  4063. type
  4064. TUART3Registers = record
  4065. U39MODEbits : TUART3_U39MODE;
  4066. U39MODE : longWord;
  4067. U3MODEbits : TUART3_U3MODE;
  4068. U3MODE : longWord;
  4069. U39MODECLR : longWord;
  4070. U3MODECLR : longWord;
  4071. U39MODESET : longWord;
  4072. U3MODESET : longWord;
  4073. U39MODEINV : longWord;
  4074. U3MODEINV : longWord;
  4075. U39STAbits : TUART3_U39STA;
  4076. U39STA : longWord;
  4077. U3STAbits : TUART3_U3STA;
  4078. U3STA : longWord;
  4079. U39STACLR : longWord;
  4080. U3STACLR : longWord;
  4081. U39STASET : longWord;
  4082. U3STASET : longWord;
  4083. U39STAINV : longWord;
  4084. U3STAINV : longWord;
  4085. U39TXREG : longWord;
  4086. U3TXREG : longWord;
  4087. U39RXREG : longWord;
  4088. U3RXREG : longWord;
  4089. U39BRG : longWord;
  4090. U3BRG : longWord;
  4091. U39BRGCLR : longWord;
  4092. U3BRGCLR : longWord;
  4093. U39BRGSET : longWord;
  4094. U3BRGSET : longWord;
  4095. U39BRGINV : longWord;
  4096. U3BRGINV : longWord;
  4097. end;
  4098. TUART4_U4MODE = record
  4099. private
  4100. function getABAUD : TBits_1; inline;
  4101. function getBRGH : TBits_1; inline;
  4102. function getIREN : TBits_1; inline;
  4103. function getLPBACK : TBits_1; inline;
  4104. function getON : TBits_1; inline;
  4105. function getPDSEL : TBits_2; inline;
  4106. function getPDSEL0 : TBits_1; inline;
  4107. function getPDSEL1 : TBits_1; inline;
  4108. function getRTSMD : TBits_1; inline;
  4109. function getRXINV : TBits_1; inline;
  4110. function getSIDL : TBits_1; inline;
  4111. function getSTSEL : TBits_1; inline;
  4112. function getUARTEN : TBits_1; inline;
  4113. function getUEN : TBits_2; inline;
  4114. function getUEN0 : TBits_1; inline;
  4115. function getUEN1 : TBits_1; inline;
  4116. function getUSIDL : TBits_1; inline;
  4117. function getWAKE : TBits_1; inline;
  4118. function getw : TBits_32; inline;
  4119. procedure setABAUD(thebits : TBits_1); inline;
  4120. procedure setBRGH(thebits : TBits_1); inline;
  4121. procedure setIREN(thebits : TBits_1); inline;
  4122. procedure setLPBACK(thebits : TBits_1); inline;
  4123. procedure setON(thebits : TBits_1); inline;
  4124. procedure setPDSEL(thebits : TBits_2); inline;
  4125. procedure setPDSEL0(thebits : TBits_1); inline;
  4126. procedure setPDSEL1(thebits : TBits_1); inline;
  4127. procedure setRTSMD(thebits : TBits_1); inline;
  4128. procedure setRXINV(thebits : TBits_1); inline;
  4129. procedure setSIDL(thebits : TBits_1); inline;
  4130. procedure setSTSEL(thebits : TBits_1); inline;
  4131. procedure setUARTEN(thebits : TBits_1); inline;
  4132. procedure setUEN(thebits : TBits_2); inline;
  4133. procedure setUEN0(thebits : TBits_1); inline;
  4134. procedure setUEN1(thebits : TBits_1); inline;
  4135. procedure setUSIDL(thebits : TBits_1); inline;
  4136. procedure setWAKE(thebits : TBits_1); inline;
  4137. procedure setw(thebits : TBits_32); inline;
  4138. public
  4139. procedure clearABAUD; inline;
  4140. procedure clearBRGH; inline;
  4141. procedure clearIREN; inline;
  4142. procedure clearLPBACK; inline;
  4143. procedure clearON; inline;
  4144. procedure clearPDSEL0; inline;
  4145. procedure clearPDSEL1; inline;
  4146. procedure clearRTSMD; inline;
  4147. procedure clearRXINV; inline;
  4148. procedure clearSIDL; inline;
  4149. procedure clearSTSEL; inline;
  4150. procedure clearUARTEN; inline;
  4151. procedure clearUEN0; inline;
  4152. procedure clearUEN1; inline;
  4153. procedure clearUSIDL; inline;
  4154. procedure clearWAKE; inline;
  4155. procedure setABAUD; inline;
  4156. procedure setBRGH; inline;
  4157. procedure setIREN; inline;
  4158. procedure setLPBACK; inline;
  4159. procedure setON; inline;
  4160. procedure setPDSEL0; inline;
  4161. procedure setPDSEL1; inline;
  4162. procedure setRTSMD; inline;
  4163. procedure setRXINV; inline;
  4164. procedure setSIDL; inline;
  4165. procedure setSTSEL; inline;
  4166. procedure setUARTEN; inline;
  4167. procedure setUEN0; inline;
  4168. procedure setUEN1; inline;
  4169. procedure setUSIDL; inline;
  4170. procedure setWAKE; inline;
  4171. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4172. property BRGH : TBits_1 read getBRGH write setBRGH;
  4173. property IREN : TBits_1 read getIREN write setIREN;
  4174. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4175. property ON : TBits_1 read getON write setON;
  4176. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4177. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4178. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4179. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4180. property RXINV : TBits_1 read getRXINV write setRXINV;
  4181. property SIDL : TBits_1 read getSIDL write setSIDL;
  4182. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4183. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4184. property UEN : TBits_2 read getUEN write setUEN;
  4185. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4186. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4187. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4188. property WAKE : TBits_1 read getWAKE write setWAKE;
  4189. property w : TBits_32 read getw write setw;
  4190. end;
  4191. TUART4_UodMODE = record
  4192. private
  4193. function getABAUD : TBits_1; inline;
  4194. function getBRGH : TBits_1; inline;
  4195. function getIREN : TBits_1; inline;
  4196. function getLPBACK : TBits_1; inline;
  4197. function getON : TBits_1; inline;
  4198. function getPDSEL : TBits_2; inline;
  4199. function getPDSEL0 : TBits_1; inline;
  4200. function getPDSEL1 : TBits_1; inline;
  4201. function getRTSMD : TBits_1; inline;
  4202. function getRXINV : TBits_1; inline;
  4203. function getSIDL : TBits_1; inline;
  4204. function getSTSEL : TBits_1; inline;
  4205. function getUARTEN : TBits_1; inline;
  4206. function getUEN : TBits_2; inline;
  4207. function getUEN0 : TBits_1; inline;
  4208. function getUEN1 : TBits_1; inline;
  4209. function getUSIDL : TBits_1; inline;
  4210. function getWAKE : TBits_1; inline;
  4211. function getw : TBits_32; inline;
  4212. procedure setABAUD(thebits : TBits_1); inline;
  4213. procedure setBRGH(thebits : TBits_1); inline;
  4214. procedure setIREN(thebits : TBits_1); inline;
  4215. procedure setLPBACK(thebits : TBits_1); inline;
  4216. procedure setON(thebits : TBits_1); inline;
  4217. procedure setPDSEL(thebits : TBits_2); inline;
  4218. procedure setPDSEL0(thebits : TBits_1); inline;
  4219. procedure setPDSEL1(thebits : TBits_1); inline;
  4220. procedure setRTSMD(thebits : TBits_1); inline;
  4221. procedure setRXINV(thebits : TBits_1); inline;
  4222. procedure setSIDL(thebits : TBits_1); inline;
  4223. procedure setSTSEL(thebits : TBits_1); inline;
  4224. procedure setUARTEN(thebits : TBits_1); inline;
  4225. procedure setUEN(thebits : TBits_2); inline;
  4226. procedure setUEN0(thebits : TBits_1); inline;
  4227. procedure setUEN1(thebits : TBits_1); inline;
  4228. procedure setUSIDL(thebits : TBits_1); inline;
  4229. procedure setWAKE(thebits : TBits_1); inline;
  4230. procedure setw(thebits : TBits_32); inline;
  4231. public
  4232. procedure clearABAUD; inline;
  4233. procedure clearBRGH; inline;
  4234. procedure clearIREN; inline;
  4235. procedure clearLPBACK; inline;
  4236. procedure clearON; inline;
  4237. procedure clearPDSEL0; inline;
  4238. procedure clearPDSEL1; inline;
  4239. procedure clearRTSMD; inline;
  4240. procedure clearRXINV; inline;
  4241. procedure clearSIDL; inline;
  4242. procedure clearSTSEL; inline;
  4243. procedure clearUARTEN; inline;
  4244. procedure clearUEN0; inline;
  4245. procedure clearUEN1; inline;
  4246. procedure clearUSIDL; inline;
  4247. procedure clearWAKE; inline;
  4248. procedure setABAUD; inline;
  4249. procedure setBRGH; inline;
  4250. procedure setIREN; inline;
  4251. procedure setLPBACK; inline;
  4252. procedure setON; inline;
  4253. procedure setPDSEL0; inline;
  4254. procedure setPDSEL1; inline;
  4255. procedure setRTSMD; inline;
  4256. procedure setRXINV; inline;
  4257. procedure setSIDL; inline;
  4258. procedure setSTSEL; inline;
  4259. procedure setUARTEN; inline;
  4260. procedure setUEN0; inline;
  4261. procedure setUEN1; inline;
  4262. procedure setUSIDL; inline;
  4263. procedure setWAKE; inline;
  4264. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4265. property BRGH : TBits_1 read getBRGH write setBRGH;
  4266. property IREN : TBits_1 read getIREN write setIREN;
  4267. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4268. property ON : TBits_1 read getON write setON;
  4269. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4270. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4271. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4272. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4273. property RXINV : TBits_1 read getRXINV write setRXINV;
  4274. property SIDL : TBits_1 read getSIDL write setSIDL;
  4275. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4276. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4277. property UEN : TBits_2 read getUEN write setUEN;
  4278. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4279. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4280. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4281. property WAKE : TBits_1 read getWAKE write setWAKE;
  4282. property w : TBits_32 read getw write setw;
  4283. end;
  4284. TUART4_U4STA = record
  4285. private
  4286. function getADDEN : TBits_1; inline;
  4287. function getADDR : TBits_8; inline;
  4288. function getADM_EN : TBits_1; inline;
  4289. function getFERR : TBits_1; inline;
  4290. function getOERR : TBits_1; inline;
  4291. function getPERR : TBits_1; inline;
  4292. function getRIDLE : TBits_1; inline;
  4293. function getTRMT : TBits_1; inline;
  4294. function getURXDA : TBits_1; inline;
  4295. function getURXEN : TBits_1; inline;
  4296. function getURXISEL : TBits_2; inline;
  4297. function getURXISEL0 : TBits_1; inline;
  4298. function getURXISEL1 : TBits_1; inline;
  4299. function getUTXBF : TBits_1; inline;
  4300. function getUTXBRK : TBits_1; inline;
  4301. function getUTXEN : TBits_1; inline;
  4302. function getUTXINV : TBits_1; inline;
  4303. function getUTXISEL : TBits_2; inline;
  4304. function getUTXISEL0 : TBits_1; inline;
  4305. function getUTXISEL1 : TBits_1; inline;
  4306. function getUTXSEL : TBits_2; inline;
  4307. function getw : TBits_32; inline;
  4308. procedure setADDEN(thebits : TBits_1); inline;
  4309. procedure setADDR(thebits : TBits_8); inline;
  4310. procedure setADM_EN(thebits : TBits_1); inline;
  4311. procedure setFERR(thebits : TBits_1); inline;
  4312. procedure setOERR(thebits : TBits_1); inline;
  4313. procedure setPERR(thebits : TBits_1); inline;
  4314. procedure setRIDLE(thebits : TBits_1); inline;
  4315. procedure setTRMT(thebits : TBits_1); inline;
  4316. procedure setURXDA(thebits : TBits_1); inline;
  4317. procedure setURXEN(thebits : TBits_1); inline;
  4318. procedure setURXISEL(thebits : TBits_2); inline;
  4319. procedure setURXISEL0(thebits : TBits_1); inline;
  4320. procedure setURXISEL1(thebits : TBits_1); inline;
  4321. procedure setUTXBF(thebits : TBits_1); inline;
  4322. procedure setUTXBRK(thebits : TBits_1); inline;
  4323. procedure setUTXEN(thebits : TBits_1); inline;
  4324. procedure setUTXINV(thebits : TBits_1); inline;
  4325. procedure setUTXISEL(thebits : TBits_2); inline;
  4326. procedure setUTXISEL0(thebits : TBits_1); inline;
  4327. procedure setUTXISEL1(thebits : TBits_1); inline;
  4328. procedure setUTXSEL(thebits : TBits_2); inline;
  4329. procedure setw(thebits : TBits_32); inline;
  4330. public
  4331. procedure clearADDEN; inline;
  4332. procedure clearADM_EN; inline;
  4333. procedure clearFERR; inline;
  4334. procedure clearOERR; inline;
  4335. procedure clearPERR; inline;
  4336. procedure clearRIDLE; inline;
  4337. procedure clearTRMT; inline;
  4338. procedure clearURXDA; inline;
  4339. procedure clearURXEN; inline;
  4340. procedure clearURXISEL0; inline;
  4341. procedure clearURXISEL1; inline;
  4342. procedure clearUTXBF; inline;
  4343. procedure clearUTXBRK; inline;
  4344. procedure clearUTXEN; inline;
  4345. procedure clearUTXINV; inline;
  4346. procedure clearUTXISEL0; inline;
  4347. procedure clearUTXISEL1; inline;
  4348. procedure setADDEN; inline;
  4349. procedure setADM_EN; inline;
  4350. procedure setFERR; inline;
  4351. procedure setOERR; inline;
  4352. procedure setPERR; inline;
  4353. procedure setRIDLE; inline;
  4354. procedure setTRMT; inline;
  4355. procedure setURXDA; inline;
  4356. procedure setURXEN; inline;
  4357. procedure setURXISEL0; inline;
  4358. procedure setURXISEL1; inline;
  4359. procedure setUTXBF; inline;
  4360. procedure setUTXBRK; inline;
  4361. procedure setUTXEN; inline;
  4362. procedure setUTXINV; inline;
  4363. procedure setUTXISEL0; inline;
  4364. procedure setUTXISEL1; inline;
  4365. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4366. property ADDR : TBits_8 read getADDR write setADDR;
  4367. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4368. property FERR : TBits_1 read getFERR write setFERR;
  4369. property OERR : TBits_1 read getOERR write setOERR;
  4370. property PERR : TBits_1 read getPERR write setPERR;
  4371. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4372. property TRMT : TBits_1 read getTRMT write setTRMT;
  4373. property URXDA : TBits_1 read getURXDA write setURXDA;
  4374. property URXEN : TBits_1 read getURXEN write setURXEN;
  4375. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4376. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4377. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4378. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4379. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4380. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4381. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4382. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4383. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4384. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4385. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4386. property w : TBits_32 read getw write setw;
  4387. end;
  4388. TUART4_UodSTA = record
  4389. private
  4390. function getADDEN : TBits_1; inline;
  4391. function getADDR : TBits_8; inline;
  4392. function getADM_EN : TBits_1; inline;
  4393. function getFERR : TBits_1; inline;
  4394. function getOERR : TBits_1; inline;
  4395. function getPERR : TBits_1; inline;
  4396. function getRIDLE : TBits_1; inline;
  4397. function getTRMT : TBits_1; inline;
  4398. function getURXDA : TBits_1; inline;
  4399. function getURXEN : TBits_1; inline;
  4400. function getURXISEL : TBits_2; inline;
  4401. function getURXISEL0 : TBits_1; inline;
  4402. function getURXISEL1 : TBits_1; inline;
  4403. function getUTXBF : TBits_1; inline;
  4404. function getUTXBRK : TBits_1; inline;
  4405. function getUTXEN : TBits_1; inline;
  4406. function getUTXINV : TBits_1; inline;
  4407. function getUTXISEL : TBits_2; inline;
  4408. function getUTXISEL0 : TBits_1; inline;
  4409. function getUTXISEL1 : TBits_1; inline;
  4410. function getUTXSEL : TBits_2; inline;
  4411. function getw : TBits_32; inline;
  4412. procedure setADDEN(thebits : TBits_1); inline;
  4413. procedure setADDR(thebits : TBits_8); inline;
  4414. procedure setADM_EN(thebits : TBits_1); inline;
  4415. procedure setFERR(thebits : TBits_1); inline;
  4416. procedure setOERR(thebits : TBits_1); inline;
  4417. procedure setPERR(thebits : TBits_1); inline;
  4418. procedure setRIDLE(thebits : TBits_1); inline;
  4419. procedure setTRMT(thebits : TBits_1); inline;
  4420. procedure setURXDA(thebits : TBits_1); inline;
  4421. procedure setURXEN(thebits : TBits_1); inline;
  4422. procedure setURXISEL(thebits : TBits_2); inline;
  4423. procedure setURXISEL0(thebits : TBits_1); inline;
  4424. procedure setURXISEL1(thebits : TBits_1); inline;
  4425. procedure setUTXBF(thebits : TBits_1); inline;
  4426. procedure setUTXBRK(thebits : TBits_1); inline;
  4427. procedure setUTXEN(thebits : TBits_1); inline;
  4428. procedure setUTXINV(thebits : TBits_1); inline;
  4429. procedure setUTXISEL(thebits : TBits_2); inline;
  4430. procedure setUTXISEL0(thebits : TBits_1); inline;
  4431. procedure setUTXISEL1(thebits : TBits_1); inline;
  4432. procedure setUTXSEL(thebits : TBits_2); inline;
  4433. procedure setw(thebits : TBits_32); inline;
  4434. public
  4435. procedure clearADDEN; inline;
  4436. procedure clearADM_EN; inline;
  4437. procedure clearFERR; inline;
  4438. procedure clearOERR; inline;
  4439. procedure clearPERR; inline;
  4440. procedure clearRIDLE; inline;
  4441. procedure clearTRMT; inline;
  4442. procedure clearURXDA; inline;
  4443. procedure clearURXEN; inline;
  4444. procedure clearURXISEL0; inline;
  4445. procedure clearURXISEL1; inline;
  4446. procedure clearUTXBF; inline;
  4447. procedure clearUTXBRK; inline;
  4448. procedure clearUTXEN; inline;
  4449. procedure clearUTXINV; inline;
  4450. procedure clearUTXISEL0; inline;
  4451. procedure clearUTXISEL1; inline;
  4452. procedure setADDEN; inline;
  4453. procedure setADM_EN; inline;
  4454. procedure setFERR; inline;
  4455. procedure setOERR; inline;
  4456. procedure setPERR; inline;
  4457. procedure setRIDLE; inline;
  4458. procedure setTRMT; inline;
  4459. procedure setURXDA; inline;
  4460. procedure setURXEN; inline;
  4461. procedure setURXISEL0; inline;
  4462. procedure setURXISEL1; inline;
  4463. procedure setUTXBF; inline;
  4464. procedure setUTXBRK; inline;
  4465. procedure setUTXEN; inline;
  4466. procedure setUTXINV; inline;
  4467. procedure setUTXISEL0; inline;
  4468. procedure setUTXISEL1; inline;
  4469. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4470. property ADDR : TBits_8 read getADDR write setADDR;
  4471. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4472. property FERR : TBits_1 read getFERR write setFERR;
  4473. property OERR : TBits_1 read getOERR write setOERR;
  4474. property PERR : TBits_1 read getPERR write setPERR;
  4475. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4476. property TRMT : TBits_1 read getTRMT write setTRMT;
  4477. property URXDA : TBits_1 read getURXDA write setURXDA;
  4478. property URXEN : TBits_1 read getURXEN write setURXEN;
  4479. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4480. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4481. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4482. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4483. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4484. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4485. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4486. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4487. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4488. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4489. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4490. property w : TBits_32 read getw write setw;
  4491. end;
  4492. type
  4493. TUART4Registers = record
  4494. U4MODEbits : TUART4_U4MODE;
  4495. U4MODE : longWord;
  4496. UodMODEbits : TUART4_UodMODE;
  4497. UodMODE : longWord;
  4498. U4MODECLR : longWord;
  4499. UodMODECLR : longWord;
  4500. U4MODESET : longWord;
  4501. UodMODESET : longWord;
  4502. U4MODEINV : longWord;
  4503. UodMODEINV : longWord;
  4504. U4STAbits : TUART4_U4STA;
  4505. U4STA : longWord;
  4506. UodSTAbits : TUART4_UodSTA;
  4507. UodSTA : longWord;
  4508. U4STACLR : longWord;
  4509. UodSTACLR : longWord;
  4510. U4STASET : longWord;
  4511. UodSTASET : longWord;
  4512. U4STAINV : longWord;
  4513. UodSTAINV : longWord;
  4514. U4TXREG : longWord;
  4515. UodTXREG : longWord;
  4516. U4RXREG : longWord;
  4517. UodRXREG : longWord;
  4518. U4BRG : longWord;
  4519. UodBRG : longWord;
  4520. U4BRGCLR : longWord;
  4521. UodBRGCLR : longWord;
  4522. U4BRGSET : longWord;
  4523. UodBRGSET : longWord;
  4524. U4BRGINV : longWord;
  4525. UodBRGINV : longWord;
  4526. end;
  4527. TPMP_PMCON = record
  4528. private
  4529. function getADRMUX : TBits_2; inline;
  4530. function getADRMUX0 : TBits_1; inline;
  4531. function getADRMUX1 : TBits_1; inline;
  4532. function getALP : TBits_1; inline;
  4533. function getCS1P : TBits_1; inline;
  4534. function getCS2P : TBits_1; inline;
  4535. function getCSF : TBits_2; inline;
  4536. function getCSF0 : TBits_1; inline;
  4537. function getCSF1 : TBits_1; inline;
  4538. function getON : TBits_1; inline;
  4539. function getPMPEN : TBits_1; inline;
  4540. function getPMPTTL : TBits_1; inline;
  4541. function getPSIDL : TBits_1; inline;
  4542. function getPTRDEN : TBits_1; inline;
  4543. function getPTWREN : TBits_1; inline;
  4544. function getRDSP : TBits_1; inline;
  4545. function getSIDL : TBits_1; inline;
  4546. function getWRSP : TBits_1; inline;
  4547. function getw : TBits_32; inline;
  4548. procedure setADRMUX(thebits : TBits_2); inline;
  4549. procedure setADRMUX0(thebits : TBits_1); inline;
  4550. procedure setADRMUX1(thebits : TBits_1); inline;
  4551. procedure setALP(thebits : TBits_1); inline;
  4552. procedure setCS1P(thebits : TBits_1); inline;
  4553. procedure setCS2P(thebits : TBits_1); inline;
  4554. procedure setCSF(thebits : TBits_2); inline;
  4555. procedure setCSF0(thebits : TBits_1); inline;
  4556. procedure setCSF1(thebits : TBits_1); inline;
  4557. procedure setON(thebits : TBits_1); inline;
  4558. procedure setPMPEN(thebits : TBits_1); inline;
  4559. procedure setPMPTTL(thebits : TBits_1); inline;
  4560. procedure setPSIDL(thebits : TBits_1); inline;
  4561. procedure setPTRDEN(thebits : TBits_1); inline;
  4562. procedure setPTWREN(thebits : TBits_1); inline;
  4563. procedure setRDSP(thebits : TBits_1); inline;
  4564. procedure setSIDL(thebits : TBits_1); inline;
  4565. procedure setWRSP(thebits : TBits_1); inline;
  4566. procedure setw(thebits : TBits_32); inline;
  4567. public
  4568. procedure clearADRMUX0; inline;
  4569. procedure clearADRMUX1; inline;
  4570. procedure clearALP; inline;
  4571. procedure clearCS1P; inline;
  4572. procedure clearCS2P; inline;
  4573. procedure clearCSF0; inline;
  4574. procedure clearCSF1; inline;
  4575. procedure clearON; inline;
  4576. procedure clearPMPEN; inline;
  4577. procedure clearPMPTTL; inline;
  4578. procedure clearPSIDL; inline;
  4579. procedure clearPTRDEN; inline;
  4580. procedure clearPTWREN; inline;
  4581. procedure clearRDSP; inline;
  4582. procedure clearSIDL; inline;
  4583. procedure clearWRSP; inline;
  4584. procedure setADRMUX0; inline;
  4585. procedure setADRMUX1; inline;
  4586. procedure setALP; inline;
  4587. procedure setCS1P; inline;
  4588. procedure setCS2P; inline;
  4589. procedure setCSF0; inline;
  4590. procedure setCSF1; inline;
  4591. procedure setON; inline;
  4592. procedure setPMPEN; inline;
  4593. procedure setPMPTTL; inline;
  4594. procedure setPSIDL; inline;
  4595. procedure setPTRDEN; inline;
  4596. procedure setPTWREN; inline;
  4597. procedure setRDSP; inline;
  4598. procedure setSIDL; inline;
  4599. procedure setWRSP; inline;
  4600. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  4601. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  4602. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  4603. property ALP : TBits_1 read getALP write setALP;
  4604. property CS1P : TBits_1 read getCS1P write setCS1P;
  4605. property CS2P : TBits_1 read getCS2P write setCS2P;
  4606. property CSF : TBits_2 read getCSF write setCSF;
  4607. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  4608. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  4609. property ON : TBits_1 read getON write setON;
  4610. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  4611. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  4612. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  4613. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  4614. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  4615. property RDSP : TBits_1 read getRDSP write setRDSP;
  4616. property SIDL : TBits_1 read getSIDL write setSIDL;
  4617. property WRSP : TBits_1 read getWRSP write setWRSP;
  4618. property w : TBits_32 read getw write setw;
  4619. end;
  4620. TPMP_PMMODE = record
  4621. private
  4622. function getBUSY : TBits_1; inline;
  4623. function getINCM : TBits_2; inline;
  4624. function getINCM0 : TBits_1; inline;
  4625. function getINCM1 : TBits_1; inline;
  4626. function getIRQM : TBits_2; inline;
  4627. function getIRQM0 : TBits_1; inline;
  4628. function getIRQM1 : TBits_1; inline;
  4629. function getMODE : TBits_2; inline;
  4630. function getMODE0 : TBits_1; inline;
  4631. function getMODE1 : TBits_1; inline;
  4632. function getMODE16 : TBits_1; inline;
  4633. function getWAITB : TBits_2; inline;
  4634. function getWAITB0 : TBits_1; inline;
  4635. function getWAITB1 : TBits_1; inline;
  4636. function getWAITE : TBits_2; inline;
  4637. function getWAITE0 : TBits_1; inline;
  4638. function getWAITE1 : TBits_1; inline;
  4639. function getWAITM : TBits_4; inline;
  4640. function getWAITM0 : TBits_1; inline;
  4641. function getWAITM1 : TBits_1; inline;
  4642. function getWAITM2 : TBits_1; inline;
  4643. function getWAITM3 : TBits_1; inline;
  4644. function getw : TBits_32; inline;
  4645. procedure setBUSY(thebits : TBits_1); inline;
  4646. procedure setINCM(thebits : TBits_2); inline;
  4647. procedure setINCM0(thebits : TBits_1); inline;
  4648. procedure setINCM1(thebits : TBits_1); inline;
  4649. procedure setIRQM(thebits : TBits_2); inline;
  4650. procedure setIRQM0(thebits : TBits_1); inline;
  4651. procedure setIRQM1(thebits : TBits_1); inline;
  4652. procedure setMODE(thebits : TBits_2); inline;
  4653. procedure setMODE0(thebits : TBits_1); inline;
  4654. procedure setMODE1(thebits : TBits_1); inline;
  4655. procedure setMODE16(thebits : TBits_1); inline;
  4656. procedure setWAITB(thebits : TBits_2); inline;
  4657. procedure setWAITB0(thebits : TBits_1); inline;
  4658. procedure setWAITB1(thebits : TBits_1); inline;
  4659. procedure setWAITE(thebits : TBits_2); inline;
  4660. procedure setWAITE0(thebits : TBits_1); inline;
  4661. procedure setWAITE1(thebits : TBits_1); inline;
  4662. procedure setWAITM(thebits : TBits_4); inline;
  4663. procedure setWAITM0(thebits : TBits_1); inline;
  4664. procedure setWAITM1(thebits : TBits_1); inline;
  4665. procedure setWAITM2(thebits : TBits_1); inline;
  4666. procedure setWAITM3(thebits : TBits_1); inline;
  4667. procedure setw(thebits : TBits_32); inline;
  4668. public
  4669. procedure clearBUSY; inline;
  4670. procedure clearINCM0; inline;
  4671. procedure clearINCM1; inline;
  4672. procedure clearIRQM0; inline;
  4673. procedure clearIRQM1; inline;
  4674. procedure clearMODE0; inline;
  4675. procedure clearMODE16; inline;
  4676. procedure clearMODE1; inline;
  4677. procedure clearWAITB0; inline;
  4678. procedure clearWAITB1; inline;
  4679. procedure clearWAITE0; inline;
  4680. procedure clearWAITE1; inline;
  4681. procedure clearWAITM0; inline;
  4682. procedure clearWAITM1; inline;
  4683. procedure clearWAITM2; inline;
  4684. procedure clearWAITM3; inline;
  4685. procedure setBUSY; inline;
  4686. procedure setINCM0; inline;
  4687. procedure setINCM1; inline;
  4688. procedure setIRQM0; inline;
  4689. procedure setIRQM1; inline;
  4690. procedure setMODE0; inline;
  4691. procedure setMODE16; inline;
  4692. procedure setMODE1; inline;
  4693. procedure setWAITB0; inline;
  4694. procedure setWAITB1; inline;
  4695. procedure setWAITE0; inline;
  4696. procedure setWAITE1; inline;
  4697. procedure setWAITM0; inline;
  4698. procedure setWAITM1; inline;
  4699. procedure setWAITM2; inline;
  4700. procedure setWAITM3; inline;
  4701. property BUSY : TBits_1 read getBUSY write setBUSY;
  4702. property INCM : TBits_2 read getINCM write setINCM;
  4703. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  4704. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  4705. property IRQM : TBits_2 read getIRQM write setIRQM;
  4706. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  4707. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  4708. property MODE : TBits_2 read getMODE write setMODE;
  4709. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  4710. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  4711. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  4712. property WAITB : TBits_2 read getWAITB write setWAITB;
  4713. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  4714. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  4715. property WAITE : TBits_2 read getWAITE write setWAITE;
  4716. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  4717. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  4718. property WAITM : TBits_4 read getWAITM write setWAITM;
  4719. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  4720. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  4721. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  4722. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  4723. property w : TBits_32 read getw write setw;
  4724. end;
  4725. TPMP_PMADDR = record
  4726. private
  4727. function getADDR : TBits_14; inline;
  4728. function getCS : TBits_2; inline;
  4729. function getCS1 : TBits_1; inline;
  4730. function getCS2 : TBits_1; inline;
  4731. function getPADDR : TBits_14; inline;
  4732. function getw : TBits_32; inline;
  4733. procedure setADDR(thebits : TBits_14); inline;
  4734. procedure setCS(thebits : TBits_2); inline;
  4735. procedure setCS1(thebits : TBits_1); inline;
  4736. procedure setCS2(thebits : TBits_1); inline;
  4737. procedure setPADDR(thebits : TBits_14); inline;
  4738. procedure setw(thebits : TBits_32); inline;
  4739. public
  4740. procedure clearCS1; inline;
  4741. procedure clearCS2; inline;
  4742. procedure setCS1; inline;
  4743. procedure setCS2; inline;
  4744. property ADDR : TBits_14 read getADDR write setADDR;
  4745. property CS : TBits_2 read getCS write setCS;
  4746. property CS1 : TBits_1 read getCS1 write setCS1;
  4747. property CS2 : TBits_1 read getCS2 write setCS2;
  4748. property PADDR : TBits_14 read getPADDR write setPADDR;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TPMP_PMDOUT = record
  4752. private
  4753. function getDATAOUT : TBits_32; inline;
  4754. function getw : TBits_32; inline;
  4755. procedure setDATAOUT(thebits : TBits_32); inline;
  4756. procedure setw(thebits : TBits_32); inline;
  4757. public
  4758. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  4759. property w : TBits_32 read getw write setw;
  4760. end;
  4761. TPMP_PMDIN = record
  4762. private
  4763. function getDATAIN : TBits_32; inline;
  4764. function getw : TBits_32; inline;
  4765. procedure setDATAIN(thebits : TBits_32); inline;
  4766. procedure setw(thebits : TBits_32); inline;
  4767. public
  4768. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  4769. property w : TBits_32 read getw write setw;
  4770. end;
  4771. TPMP_PMAEN = record
  4772. private
  4773. function getPTEN : TBits_16; inline;
  4774. function getPTEN0 : TBits_1; inline;
  4775. function getPTEN1 : TBits_1; inline;
  4776. function getPTEN10 : TBits_1; inline;
  4777. function getPTEN11 : TBits_1; inline;
  4778. function getPTEN12 : TBits_1; inline;
  4779. function getPTEN13 : TBits_1; inline;
  4780. function getPTEN14 : TBits_1; inline;
  4781. function getPTEN15 : TBits_1; inline;
  4782. function getPTEN2 : TBits_1; inline;
  4783. function getPTEN3 : TBits_1; inline;
  4784. function getPTEN4 : TBits_1; inline;
  4785. function getPTEN5 : TBits_1; inline;
  4786. function getPTEN6 : TBits_1; inline;
  4787. function getPTEN7 : TBits_1; inline;
  4788. function getPTEN8 : TBits_1; inline;
  4789. function getPTEN9 : TBits_1; inline;
  4790. function getw : TBits_32; inline;
  4791. procedure setPTEN(thebits : TBits_16); inline;
  4792. procedure setPTEN0(thebits : TBits_1); inline;
  4793. procedure setPTEN1(thebits : TBits_1); inline;
  4794. procedure setPTEN10(thebits : TBits_1); inline;
  4795. procedure setPTEN11(thebits : TBits_1); inline;
  4796. procedure setPTEN12(thebits : TBits_1); inline;
  4797. procedure setPTEN13(thebits : TBits_1); inline;
  4798. procedure setPTEN14(thebits : TBits_1); inline;
  4799. procedure setPTEN15(thebits : TBits_1); inline;
  4800. procedure setPTEN2(thebits : TBits_1); inline;
  4801. procedure setPTEN3(thebits : TBits_1); inline;
  4802. procedure setPTEN4(thebits : TBits_1); inline;
  4803. procedure setPTEN5(thebits : TBits_1); inline;
  4804. procedure setPTEN6(thebits : TBits_1); inline;
  4805. procedure setPTEN7(thebits : TBits_1); inline;
  4806. procedure setPTEN8(thebits : TBits_1); inline;
  4807. procedure setPTEN9(thebits : TBits_1); inline;
  4808. procedure setw(thebits : TBits_32); inline;
  4809. public
  4810. procedure clearPTEN0; inline;
  4811. procedure clearPTEN10; inline;
  4812. procedure clearPTEN11; inline;
  4813. procedure clearPTEN12; inline;
  4814. procedure clearPTEN13; inline;
  4815. procedure clearPTEN14; inline;
  4816. procedure clearPTEN15; inline;
  4817. procedure clearPTEN1; inline;
  4818. procedure clearPTEN2; inline;
  4819. procedure clearPTEN3; inline;
  4820. procedure clearPTEN4; inline;
  4821. procedure clearPTEN5; inline;
  4822. procedure clearPTEN6; inline;
  4823. procedure clearPTEN7; inline;
  4824. procedure clearPTEN8; inline;
  4825. procedure clearPTEN9; inline;
  4826. procedure setPTEN0; inline;
  4827. procedure setPTEN10; inline;
  4828. procedure setPTEN11; inline;
  4829. procedure setPTEN12; inline;
  4830. procedure setPTEN13; inline;
  4831. procedure setPTEN14; inline;
  4832. procedure setPTEN15; inline;
  4833. procedure setPTEN1; inline;
  4834. procedure setPTEN2; inline;
  4835. procedure setPTEN3; inline;
  4836. procedure setPTEN4; inline;
  4837. procedure setPTEN5; inline;
  4838. procedure setPTEN6; inline;
  4839. procedure setPTEN7; inline;
  4840. procedure setPTEN8; inline;
  4841. procedure setPTEN9; inline;
  4842. property PTEN : TBits_16 read getPTEN write setPTEN;
  4843. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  4844. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  4845. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  4846. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  4847. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  4848. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  4849. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  4850. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  4851. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  4852. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  4853. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  4854. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  4855. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  4856. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  4857. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  4858. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  4859. property w : TBits_32 read getw write setw;
  4860. end;
  4861. TPMP_PMSTAT = record
  4862. private
  4863. function getIB0F : TBits_1; inline;
  4864. function getIB1F : TBits_1; inline;
  4865. function getIB2F : TBits_1; inline;
  4866. function getIB3F : TBits_1; inline;
  4867. function getIBF : TBits_1; inline;
  4868. function getIBOV : TBits_1; inline;
  4869. function getOB0E : TBits_1; inline;
  4870. function getOB1E : TBits_1; inline;
  4871. function getOB2E : TBits_1; inline;
  4872. function getOB3E : TBits_1; inline;
  4873. function getOBE : TBits_1; inline;
  4874. function getOBUF : TBits_1; inline;
  4875. function getw : TBits_32; inline;
  4876. procedure setIB0F(thebits : TBits_1); inline;
  4877. procedure setIB1F(thebits : TBits_1); inline;
  4878. procedure setIB2F(thebits : TBits_1); inline;
  4879. procedure setIB3F(thebits : TBits_1); inline;
  4880. procedure setIBF(thebits : TBits_1); inline;
  4881. procedure setIBOV(thebits : TBits_1); inline;
  4882. procedure setOB0E(thebits : TBits_1); inline;
  4883. procedure setOB1E(thebits : TBits_1); inline;
  4884. procedure setOB2E(thebits : TBits_1); inline;
  4885. procedure setOB3E(thebits : TBits_1); inline;
  4886. procedure setOBE(thebits : TBits_1); inline;
  4887. procedure setOBUF(thebits : TBits_1); inline;
  4888. procedure setw(thebits : TBits_32); inline;
  4889. public
  4890. procedure clearIB0F; inline;
  4891. procedure clearIB1F; inline;
  4892. procedure clearIB2F; inline;
  4893. procedure clearIB3F; inline;
  4894. procedure clearIBF; inline;
  4895. procedure clearIBOV; inline;
  4896. procedure clearOB0E; inline;
  4897. procedure clearOB1E; inline;
  4898. procedure clearOB2E; inline;
  4899. procedure clearOB3E; inline;
  4900. procedure clearOBE; inline;
  4901. procedure clearOBUF; inline;
  4902. procedure setIB0F; inline;
  4903. procedure setIB1F; inline;
  4904. procedure setIB2F; inline;
  4905. procedure setIB3F; inline;
  4906. procedure setIBF; inline;
  4907. procedure setIBOV; inline;
  4908. procedure setOB0E; inline;
  4909. procedure setOB1E; inline;
  4910. procedure setOB2E; inline;
  4911. procedure setOB3E; inline;
  4912. procedure setOBE; inline;
  4913. procedure setOBUF; inline;
  4914. property IB0F : TBits_1 read getIB0F write setIB0F;
  4915. property IB1F : TBits_1 read getIB1F write setIB1F;
  4916. property IB2F : TBits_1 read getIB2F write setIB2F;
  4917. property IB3F : TBits_1 read getIB3F write setIB3F;
  4918. property IBF : TBits_1 read getIBF write setIBF;
  4919. property IBOV : TBits_1 read getIBOV write setIBOV;
  4920. property OB0E : TBits_1 read getOB0E write setOB0E;
  4921. property OB1E : TBits_1 read getOB1E write setOB1E;
  4922. property OB2E : TBits_1 read getOB2E write setOB2E;
  4923. property OB3E : TBits_1 read getOB3E write setOB3E;
  4924. property OBE : TBits_1 read getOBE write setOBE;
  4925. property OBUF : TBits_1 read getOBUF write setOBUF;
  4926. property w : TBits_32 read getw write setw;
  4927. end;
  4928. type
  4929. TPMPRegisters = record
  4930. PMCONbits : TPMP_PMCON;
  4931. PMCON : longWord;
  4932. PMCONCLR : longWord;
  4933. PMCONSET : longWord;
  4934. PMCONINV : longWord;
  4935. PMMODEbits : TPMP_PMMODE;
  4936. PMMODE : longWord;
  4937. PMMODECLR : longWord;
  4938. PMMODESET : longWord;
  4939. PMMODEINV : longWord;
  4940. PMADDRbits : TPMP_PMADDR;
  4941. PMADDR : longWord;
  4942. PMADDRCLR : longWord;
  4943. PMADDRSET : longWord;
  4944. PMADDRINV : longWord;
  4945. PMDOUTbits : TPMP_PMDOUT;
  4946. PMDOUT : longWord;
  4947. PMDOUTCLR : longWord;
  4948. PMDOUTSET : longWord;
  4949. PMDOUTINV : longWord;
  4950. PMDINbits : TPMP_PMDIN;
  4951. PMDIN : longWord;
  4952. PMDINCLR : longWord;
  4953. PMDINSET : longWord;
  4954. PMDININV : longWord;
  4955. PMAENbits : TPMP_PMAEN;
  4956. PMAEN : longWord;
  4957. PMAENCLR : longWord;
  4958. PMAENSET : longWord;
  4959. PMAENINV : longWord;
  4960. PMSTATbits : TPMP_PMSTAT;
  4961. PMSTAT : longWord;
  4962. PMSTATCLR : longWord;
  4963. PMSTATSET : longWord;
  4964. PMSTATINV : longWord;
  4965. end;
  4966. TADC10_AD1CON1 = record
  4967. private
  4968. function getADON : TBits_1; inline;
  4969. function getADSIDL : TBits_1; inline;
  4970. function getASAM : TBits_1; inline;
  4971. function getCLRASAM : TBits_1; inline;
  4972. function getDONE : TBits_1; inline;
  4973. function getFORM : TBits_3; inline;
  4974. function getFORM0 : TBits_1; inline;
  4975. function getFORM1 : TBits_1; inline;
  4976. function getFORM2 : TBits_1; inline;
  4977. function getON : TBits_1; inline;
  4978. function getSAMP : TBits_1; inline;
  4979. function getSIDL : TBits_1; inline;
  4980. function getSSRC : TBits_3; inline;
  4981. function getSSRC0 : TBits_1; inline;
  4982. function getSSRC1 : TBits_1; inline;
  4983. function getSSRC2 : TBits_1; inline;
  4984. function getw : TBits_32; inline;
  4985. procedure setADON(thebits : TBits_1); inline;
  4986. procedure setADSIDL(thebits : TBits_1); inline;
  4987. procedure setASAM(thebits : TBits_1); inline;
  4988. procedure setCLRASAM(thebits : TBits_1); inline;
  4989. procedure setDONE(thebits : TBits_1); inline;
  4990. procedure setFORM(thebits : TBits_3); inline;
  4991. procedure setFORM0(thebits : TBits_1); inline;
  4992. procedure setFORM1(thebits : TBits_1); inline;
  4993. procedure setFORM2(thebits : TBits_1); inline;
  4994. procedure setON(thebits : TBits_1); inline;
  4995. procedure setSAMP(thebits : TBits_1); inline;
  4996. procedure setSIDL(thebits : TBits_1); inline;
  4997. procedure setSSRC(thebits : TBits_3); inline;
  4998. procedure setSSRC0(thebits : TBits_1); inline;
  4999. procedure setSSRC1(thebits : TBits_1); inline;
  5000. procedure setSSRC2(thebits : TBits_1); inline;
  5001. procedure setw(thebits : TBits_32); inline;
  5002. public
  5003. procedure clearADON; inline;
  5004. procedure clearADSIDL; inline;
  5005. procedure clearASAM; inline;
  5006. procedure clearCLRASAM; inline;
  5007. procedure clearDONE; inline;
  5008. procedure clearFORM0; inline;
  5009. procedure clearFORM1; inline;
  5010. procedure clearFORM2; inline;
  5011. procedure clearON; inline;
  5012. procedure clearSAMP; inline;
  5013. procedure clearSIDL; inline;
  5014. procedure clearSSRC0; inline;
  5015. procedure clearSSRC1; inline;
  5016. procedure clearSSRC2; inline;
  5017. procedure setADON; inline;
  5018. procedure setADSIDL; inline;
  5019. procedure setASAM; inline;
  5020. procedure setCLRASAM; inline;
  5021. procedure setDONE; inline;
  5022. procedure setFORM0; inline;
  5023. procedure setFORM1; inline;
  5024. procedure setFORM2; inline;
  5025. procedure setON; inline;
  5026. procedure setSAMP; inline;
  5027. procedure setSIDL; inline;
  5028. procedure setSSRC0; inline;
  5029. procedure setSSRC1; inline;
  5030. procedure setSSRC2; inline;
  5031. property ADON : TBits_1 read getADON write setADON;
  5032. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  5033. property ASAM : TBits_1 read getASAM write setASAM;
  5034. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  5035. property DONE : TBits_1 read getDONE write setDONE;
  5036. property FORM : TBits_3 read getFORM write setFORM;
  5037. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  5038. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  5039. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  5040. property ON : TBits_1 read getON write setON;
  5041. property SAMP : TBits_1 read getSAMP write setSAMP;
  5042. property SIDL : TBits_1 read getSIDL write setSIDL;
  5043. property SSRC : TBits_3 read getSSRC write setSSRC;
  5044. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  5045. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  5046. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  5047. property w : TBits_32 read getw write setw;
  5048. end;
  5049. TADC10_AD1CON2 = record
  5050. private
  5051. function getALTS : TBits_1; inline;
  5052. function getBUFM : TBits_1; inline;
  5053. function getBUFS : TBits_1; inline;
  5054. function getCSCNA : TBits_1; inline;
  5055. function getOFFCAL : TBits_1; inline;
  5056. function getSMPI : TBits_4; inline;
  5057. function getSMPI0 : TBits_1; inline;
  5058. function getSMPI1 : TBits_1; inline;
  5059. function getSMPI2 : TBits_1; inline;
  5060. function getSMPI3 : TBits_1; inline;
  5061. function getVCFG : TBits_3; inline;
  5062. function getVCFG0 : TBits_1; inline;
  5063. function getVCFG1 : TBits_1; inline;
  5064. function getVCFG2 : TBits_1; inline;
  5065. function getw : TBits_32; inline;
  5066. procedure setALTS(thebits : TBits_1); inline;
  5067. procedure setBUFM(thebits : TBits_1); inline;
  5068. procedure setBUFS(thebits : TBits_1); inline;
  5069. procedure setCSCNA(thebits : TBits_1); inline;
  5070. procedure setOFFCAL(thebits : TBits_1); inline;
  5071. procedure setSMPI(thebits : TBits_4); inline;
  5072. procedure setSMPI0(thebits : TBits_1); inline;
  5073. procedure setSMPI1(thebits : TBits_1); inline;
  5074. procedure setSMPI2(thebits : TBits_1); inline;
  5075. procedure setSMPI3(thebits : TBits_1); inline;
  5076. procedure setVCFG(thebits : TBits_3); inline;
  5077. procedure setVCFG0(thebits : TBits_1); inline;
  5078. procedure setVCFG1(thebits : TBits_1); inline;
  5079. procedure setVCFG2(thebits : TBits_1); inline;
  5080. procedure setw(thebits : TBits_32); inline;
  5081. public
  5082. procedure clearALTS; inline;
  5083. procedure clearBUFM; inline;
  5084. procedure clearBUFS; inline;
  5085. procedure clearCSCNA; inline;
  5086. procedure clearOFFCAL; inline;
  5087. procedure clearSMPI0; inline;
  5088. procedure clearSMPI1; inline;
  5089. procedure clearSMPI2; inline;
  5090. procedure clearSMPI3; inline;
  5091. procedure clearVCFG0; inline;
  5092. procedure clearVCFG1; inline;
  5093. procedure clearVCFG2; inline;
  5094. procedure setALTS; inline;
  5095. procedure setBUFM; inline;
  5096. procedure setBUFS; inline;
  5097. procedure setCSCNA; inline;
  5098. procedure setOFFCAL; inline;
  5099. procedure setSMPI0; inline;
  5100. procedure setSMPI1; inline;
  5101. procedure setSMPI2; inline;
  5102. procedure setSMPI3; inline;
  5103. procedure setVCFG0; inline;
  5104. procedure setVCFG1; inline;
  5105. procedure setVCFG2; inline;
  5106. property ALTS : TBits_1 read getALTS write setALTS;
  5107. property BUFM : TBits_1 read getBUFM write setBUFM;
  5108. property BUFS : TBits_1 read getBUFS write setBUFS;
  5109. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  5110. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  5111. property SMPI : TBits_4 read getSMPI write setSMPI;
  5112. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  5113. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  5114. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  5115. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  5116. property VCFG : TBits_3 read getVCFG write setVCFG;
  5117. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  5118. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  5119. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  5120. property w : TBits_32 read getw write setw;
  5121. end;
  5122. TADC10_AD1CON3 = record
  5123. private
  5124. function getADCS : TBits_8; inline;
  5125. function getADCS0 : TBits_1; inline;
  5126. function getADCS1 : TBits_1; inline;
  5127. function getADCS2 : TBits_1; inline;
  5128. function getADCS3 : TBits_1; inline;
  5129. function getADCS4 : TBits_1; inline;
  5130. function getADCS5 : TBits_1; inline;
  5131. function getADCS6 : TBits_1; inline;
  5132. function getADCS7 : TBits_1; inline;
  5133. function getADRC : TBits_1; inline;
  5134. function getSAMC : TBits_5; inline;
  5135. function getSAMC0 : TBits_1; inline;
  5136. function getSAMC1 : TBits_1; inline;
  5137. function getSAMC2 : TBits_1; inline;
  5138. function getSAMC3 : TBits_1; inline;
  5139. function getSAMC4 : TBits_1; inline;
  5140. function getw : TBits_32; inline;
  5141. procedure setADCS(thebits : TBits_8); inline;
  5142. procedure setADCS0(thebits : TBits_1); inline;
  5143. procedure setADCS1(thebits : TBits_1); inline;
  5144. procedure setADCS2(thebits : TBits_1); inline;
  5145. procedure setADCS3(thebits : TBits_1); inline;
  5146. procedure setADCS4(thebits : TBits_1); inline;
  5147. procedure setADCS5(thebits : TBits_1); inline;
  5148. procedure setADCS6(thebits : TBits_1); inline;
  5149. procedure setADCS7(thebits : TBits_1); inline;
  5150. procedure setADRC(thebits : TBits_1); inline;
  5151. procedure setSAMC(thebits : TBits_5); inline;
  5152. procedure setSAMC0(thebits : TBits_1); inline;
  5153. procedure setSAMC1(thebits : TBits_1); inline;
  5154. procedure setSAMC2(thebits : TBits_1); inline;
  5155. procedure setSAMC3(thebits : TBits_1); inline;
  5156. procedure setSAMC4(thebits : TBits_1); inline;
  5157. procedure setw(thebits : TBits_32); inline;
  5158. public
  5159. procedure clearADCS0; inline;
  5160. procedure clearADCS1; inline;
  5161. procedure clearADCS2; inline;
  5162. procedure clearADCS3; inline;
  5163. procedure clearADCS4; inline;
  5164. procedure clearADCS5; inline;
  5165. procedure clearADCS6; inline;
  5166. procedure clearADCS7; inline;
  5167. procedure clearADRC; inline;
  5168. procedure clearSAMC0; inline;
  5169. procedure clearSAMC1; inline;
  5170. procedure clearSAMC2; inline;
  5171. procedure clearSAMC3; inline;
  5172. procedure clearSAMC4; inline;
  5173. procedure setADCS0; inline;
  5174. procedure setADCS1; inline;
  5175. procedure setADCS2; inline;
  5176. procedure setADCS3; inline;
  5177. procedure setADCS4; inline;
  5178. procedure setADCS5; inline;
  5179. procedure setADCS6; inline;
  5180. procedure setADCS7; inline;
  5181. procedure setADRC; inline;
  5182. procedure setSAMC0; inline;
  5183. procedure setSAMC1; inline;
  5184. procedure setSAMC2; inline;
  5185. procedure setSAMC3; inline;
  5186. procedure setSAMC4; inline;
  5187. property ADCS : TBits_8 read getADCS write setADCS;
  5188. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  5189. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  5190. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  5191. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  5192. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  5193. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  5194. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  5195. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  5196. property ADRC : TBits_1 read getADRC write setADRC;
  5197. property SAMC : TBits_5 read getSAMC write setSAMC;
  5198. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  5199. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  5200. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  5201. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  5202. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  5203. property w : TBits_32 read getw write setw;
  5204. end;
  5205. TADC10_AD1CHS = record
  5206. private
  5207. function getCH0NA : TBits_1; inline;
  5208. function getCH0NB : TBits_1; inline;
  5209. function getCH0SA : TBits_5; inline;
  5210. function getCH0SA0 : TBits_1; inline;
  5211. function getCH0SA1 : TBits_1; inline;
  5212. function getCH0SA2 : TBits_1; inline;
  5213. function getCH0SA3 : TBits_1; inline;
  5214. function getCH0SA4 : TBits_1; inline;
  5215. function getCH0SB : TBits_5; inline;
  5216. function getCH0SB0 : TBits_1; inline;
  5217. function getCH0SB1 : TBits_1; inline;
  5218. function getCH0SB2 : TBits_1; inline;
  5219. function getCH0SB3 : TBits_1; inline;
  5220. function getCH0SB4 : TBits_1; inline;
  5221. function getw : TBits_32; inline;
  5222. procedure setCH0NA(thebits : TBits_1); inline;
  5223. procedure setCH0NB(thebits : TBits_1); inline;
  5224. procedure setCH0SA(thebits : TBits_5); inline;
  5225. procedure setCH0SA0(thebits : TBits_1); inline;
  5226. procedure setCH0SA1(thebits : TBits_1); inline;
  5227. procedure setCH0SA2(thebits : TBits_1); inline;
  5228. procedure setCH0SA3(thebits : TBits_1); inline;
  5229. procedure setCH0SA4(thebits : TBits_1); inline;
  5230. procedure setCH0SB(thebits : TBits_5); inline;
  5231. procedure setCH0SB0(thebits : TBits_1); inline;
  5232. procedure setCH0SB1(thebits : TBits_1); inline;
  5233. procedure setCH0SB2(thebits : TBits_1); inline;
  5234. procedure setCH0SB3(thebits : TBits_1); inline;
  5235. procedure setCH0SB4(thebits : TBits_1); inline;
  5236. procedure setw(thebits : TBits_32); inline;
  5237. public
  5238. procedure clearCH0NA; inline;
  5239. procedure clearCH0NB; inline;
  5240. procedure clearCH0SA0; inline;
  5241. procedure clearCH0SA1; inline;
  5242. procedure clearCH0SA2; inline;
  5243. procedure clearCH0SA3; inline;
  5244. procedure clearCH0SA4; inline;
  5245. procedure clearCH0SB0; inline;
  5246. procedure clearCH0SB1; inline;
  5247. procedure clearCH0SB2; inline;
  5248. procedure clearCH0SB3; inline;
  5249. procedure clearCH0SB4; inline;
  5250. procedure setCH0NA; inline;
  5251. procedure setCH0NB; inline;
  5252. procedure setCH0SA0; inline;
  5253. procedure setCH0SA1; inline;
  5254. procedure setCH0SA2; inline;
  5255. procedure setCH0SA3; inline;
  5256. procedure setCH0SA4; inline;
  5257. procedure setCH0SB0; inline;
  5258. procedure setCH0SB1; inline;
  5259. procedure setCH0SB2; inline;
  5260. procedure setCH0SB3; inline;
  5261. procedure setCH0SB4; inline;
  5262. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  5263. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  5264. property CH0SA : TBits_5 read getCH0SA write setCH0SA;
  5265. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  5266. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  5267. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  5268. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  5269. property CH0SA4 : TBits_1 read getCH0SA4 write setCH0SA4;
  5270. property CH0SB : TBits_5 read getCH0SB write setCH0SB;
  5271. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  5272. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  5273. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  5274. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  5275. property CH0SB4 : TBits_1 read getCH0SB4 write setCH0SB4;
  5276. property w : TBits_32 read getw write setw;
  5277. end;
  5278. TADC10_AD1CSSL = record
  5279. private
  5280. function getCSSL : TBits_31; inline;
  5281. function getCSSL0 : TBits_1; inline;
  5282. function getCSSL1 : TBits_1; inline;
  5283. function getCSSL10 : TBits_1; inline;
  5284. function getCSSL11 : TBits_1; inline;
  5285. function getCSSL12 : TBits_1; inline;
  5286. function getCSSL13 : TBits_1; inline;
  5287. function getCSSL14 : TBits_1; inline;
  5288. function getCSSL15 : TBits_1; inline;
  5289. function getCSSL16 : TBits_1; inline;
  5290. function getCSSL17 : TBits_1; inline;
  5291. function getCSSL18 : TBits_1; inline;
  5292. function getCSSL19 : TBits_1; inline;
  5293. function getCSSL2 : TBits_1; inline;
  5294. function getCSSL20 : TBits_1; inline;
  5295. function getCSSL21 : TBits_1; inline;
  5296. function getCSSL22 : TBits_1; inline;
  5297. function getCSSL23 : TBits_1; inline;
  5298. function getCSSL24 : TBits_1; inline;
  5299. function getCSSL25 : TBits_1; inline;
  5300. function getCSSL26 : TBits_1; inline;
  5301. function getCSSL27 : TBits_1; inline;
  5302. function getCSSL28 : TBits_1; inline;
  5303. function getCSSL29 : TBits_1; inline;
  5304. function getCSSL3 : TBits_1; inline;
  5305. function getCSSL30 : TBits_1; inline;
  5306. function getCSSL4 : TBits_1; inline;
  5307. function getCSSL5 : TBits_1; inline;
  5308. function getCSSL6 : TBits_1; inline;
  5309. function getCSSL7 : TBits_1; inline;
  5310. function getCSSL8 : TBits_1; inline;
  5311. function getCSSL9 : TBits_1; inline;
  5312. function getw : TBits_32; inline;
  5313. procedure setCSSL(thebits : TBits_31); inline;
  5314. procedure setCSSL0(thebits : TBits_1); inline;
  5315. procedure setCSSL1(thebits : TBits_1); inline;
  5316. procedure setCSSL10(thebits : TBits_1); inline;
  5317. procedure setCSSL11(thebits : TBits_1); inline;
  5318. procedure setCSSL12(thebits : TBits_1); inline;
  5319. procedure setCSSL13(thebits : TBits_1); inline;
  5320. procedure setCSSL14(thebits : TBits_1); inline;
  5321. procedure setCSSL15(thebits : TBits_1); inline;
  5322. procedure setCSSL16(thebits : TBits_1); inline;
  5323. procedure setCSSL17(thebits : TBits_1); inline;
  5324. procedure setCSSL18(thebits : TBits_1); inline;
  5325. procedure setCSSL19(thebits : TBits_1); inline;
  5326. procedure setCSSL2(thebits : TBits_1); inline;
  5327. procedure setCSSL20(thebits : TBits_1); inline;
  5328. procedure setCSSL21(thebits : TBits_1); inline;
  5329. procedure setCSSL22(thebits : TBits_1); inline;
  5330. procedure setCSSL23(thebits : TBits_1); inline;
  5331. procedure setCSSL24(thebits : TBits_1); inline;
  5332. procedure setCSSL25(thebits : TBits_1); inline;
  5333. procedure setCSSL26(thebits : TBits_1); inline;
  5334. procedure setCSSL27(thebits : TBits_1); inline;
  5335. procedure setCSSL28(thebits : TBits_1); inline;
  5336. procedure setCSSL29(thebits : TBits_1); inline;
  5337. procedure setCSSL3(thebits : TBits_1); inline;
  5338. procedure setCSSL30(thebits : TBits_1); inline;
  5339. procedure setCSSL4(thebits : TBits_1); inline;
  5340. procedure setCSSL5(thebits : TBits_1); inline;
  5341. procedure setCSSL6(thebits : TBits_1); inline;
  5342. procedure setCSSL7(thebits : TBits_1); inline;
  5343. procedure setCSSL8(thebits : TBits_1); inline;
  5344. procedure setCSSL9(thebits : TBits_1); inline;
  5345. procedure setw(thebits : TBits_32); inline;
  5346. public
  5347. procedure clearCSSL0; inline;
  5348. procedure clearCSSL10; inline;
  5349. procedure clearCSSL11; inline;
  5350. procedure clearCSSL12; inline;
  5351. procedure clearCSSL13; inline;
  5352. procedure clearCSSL14; inline;
  5353. procedure clearCSSL15; inline;
  5354. procedure clearCSSL16; inline;
  5355. procedure clearCSSL17; inline;
  5356. procedure clearCSSL18; inline;
  5357. procedure clearCSSL19; inline;
  5358. procedure clearCSSL1; inline;
  5359. procedure clearCSSL20; inline;
  5360. procedure clearCSSL21; inline;
  5361. procedure clearCSSL22; inline;
  5362. procedure clearCSSL23; inline;
  5363. procedure clearCSSL24; inline;
  5364. procedure clearCSSL25; inline;
  5365. procedure clearCSSL26; inline;
  5366. procedure clearCSSL27; inline;
  5367. procedure clearCSSL28; inline;
  5368. procedure clearCSSL29; inline;
  5369. procedure clearCSSL2; inline;
  5370. procedure clearCSSL30; inline;
  5371. procedure clearCSSL3; inline;
  5372. procedure clearCSSL4; inline;
  5373. procedure clearCSSL5; inline;
  5374. procedure clearCSSL6; inline;
  5375. procedure clearCSSL7; inline;
  5376. procedure clearCSSL8; inline;
  5377. procedure clearCSSL9; inline;
  5378. procedure setCSSL0; inline;
  5379. procedure setCSSL10; inline;
  5380. procedure setCSSL11; inline;
  5381. procedure setCSSL12; inline;
  5382. procedure setCSSL13; inline;
  5383. procedure setCSSL14; inline;
  5384. procedure setCSSL15; inline;
  5385. procedure setCSSL16; inline;
  5386. procedure setCSSL17; inline;
  5387. procedure setCSSL18; inline;
  5388. procedure setCSSL19; inline;
  5389. procedure setCSSL1; inline;
  5390. procedure setCSSL20; inline;
  5391. procedure setCSSL21; inline;
  5392. procedure setCSSL22; inline;
  5393. procedure setCSSL23; inline;
  5394. procedure setCSSL24; inline;
  5395. procedure setCSSL25; inline;
  5396. procedure setCSSL26; inline;
  5397. procedure setCSSL27; inline;
  5398. procedure setCSSL28; inline;
  5399. procedure setCSSL29; inline;
  5400. procedure setCSSL2; inline;
  5401. procedure setCSSL30; inline;
  5402. procedure setCSSL3; inline;
  5403. procedure setCSSL4; inline;
  5404. procedure setCSSL5; inline;
  5405. procedure setCSSL6; inline;
  5406. procedure setCSSL7; inline;
  5407. procedure setCSSL8; inline;
  5408. procedure setCSSL9; inline;
  5409. property CSSL : TBits_31 read getCSSL write setCSSL;
  5410. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  5411. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  5412. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  5413. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  5414. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  5415. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  5416. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  5417. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  5418. property CSSL16 : TBits_1 read getCSSL16 write setCSSL16;
  5419. property CSSL17 : TBits_1 read getCSSL17 write setCSSL17;
  5420. property CSSL18 : TBits_1 read getCSSL18 write setCSSL18;
  5421. property CSSL19 : TBits_1 read getCSSL19 write setCSSL19;
  5422. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  5423. property CSSL20 : TBits_1 read getCSSL20 write setCSSL20;
  5424. property CSSL21 : TBits_1 read getCSSL21 write setCSSL21;
  5425. property CSSL22 : TBits_1 read getCSSL22 write setCSSL22;
  5426. property CSSL23 : TBits_1 read getCSSL23 write setCSSL23;
  5427. property CSSL24 : TBits_1 read getCSSL24 write setCSSL24;
  5428. property CSSL25 : TBits_1 read getCSSL25 write setCSSL25;
  5429. property CSSL26 : TBits_1 read getCSSL26 write setCSSL26;
  5430. property CSSL27 : TBits_1 read getCSSL27 write setCSSL27;
  5431. property CSSL28 : TBits_1 read getCSSL28 write setCSSL28;
  5432. property CSSL29 : TBits_1 read getCSSL29 write setCSSL29;
  5433. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  5434. property CSSL30 : TBits_1 read getCSSL30 write setCSSL30;
  5435. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  5436. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  5437. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  5438. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  5439. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  5440. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  5441. property w : TBits_32 read getw write setw;
  5442. end;
  5443. type
  5444. TADC10Registers = record
  5445. AD1CON1bits : TADC10_AD1CON1;
  5446. AD1CON1 : longWord;
  5447. AD1CON1CLR : longWord;
  5448. AD1CON1SET : longWord;
  5449. AD1CON1INV : longWord;
  5450. AD1CON2bits : TADC10_AD1CON2;
  5451. AD1CON2 : longWord;
  5452. AD1CON2CLR : longWord;
  5453. AD1CON2SET : longWord;
  5454. AD1CON2INV : longWord;
  5455. AD1CON3bits : TADC10_AD1CON3;
  5456. AD1CON3 : longWord;
  5457. AD1CON3CLR : longWord;
  5458. AD1CON3SET : longWord;
  5459. AD1CON3INV : longWord;
  5460. AD1CHSbits : TADC10_AD1CHS;
  5461. AD1CHS : longWord;
  5462. AD1CHSCLR : longWord;
  5463. AD1CHSSET : longWord;
  5464. AD1CHSINV : longWord;
  5465. AD1CSSLbits : TADC10_AD1CSSL;
  5466. AD1CSSL : longWord;
  5467. AD1CSSLCLR : longWord;
  5468. AD1CSSLSET : longWord;
  5469. AD1CSSLINV : longWord;
  5470. ADC1BUF0 : longWord;
  5471. ADC1BUF1 : longWord;
  5472. ADC1BUF2 : longWord;
  5473. ADC1BUF3 : longWord;
  5474. ADC1BUF4 : longWord;
  5475. ADC1BUF5 : longWord;
  5476. ADC1BUF6 : longWord;
  5477. ADC1BUF7 : longWord;
  5478. ADC1BUF8 : longWord;
  5479. ADC1BUF9 : longWord;
  5480. ADC1BUFA : longWord;
  5481. ADC1BUFB : longWord;
  5482. ADC1BUFC : longWord;
  5483. ADC1BUFD : longWord;
  5484. ADC1BUFE : longWord;
  5485. ADC1BUFF : longWord;
  5486. end;
  5487. TCVR_CVRCON = record
  5488. private
  5489. function getCVR : TBits_4; inline;
  5490. function getCVR0 : TBits_1; inline;
  5491. function getCVR1 : TBits_1; inline;
  5492. function getCVR2 : TBits_1; inline;
  5493. function getCVR3 : TBits_1; inline;
  5494. function getCVROE : TBits_1; inline;
  5495. function getCVRR : TBits_1; inline;
  5496. function getCVRSS : TBits_1; inline;
  5497. function getON : TBits_1; inline;
  5498. function getw : TBits_32; inline;
  5499. procedure setCVR(thebits : TBits_4); inline;
  5500. procedure setCVR0(thebits : TBits_1); inline;
  5501. procedure setCVR1(thebits : TBits_1); inline;
  5502. procedure setCVR2(thebits : TBits_1); inline;
  5503. procedure setCVR3(thebits : TBits_1); inline;
  5504. procedure setCVROE(thebits : TBits_1); inline;
  5505. procedure setCVRR(thebits : TBits_1); inline;
  5506. procedure setCVRSS(thebits : TBits_1); inline;
  5507. procedure setON(thebits : TBits_1); inline;
  5508. procedure setw(thebits : TBits_32); inline;
  5509. public
  5510. procedure clearCVR0; inline;
  5511. procedure clearCVR1; inline;
  5512. procedure clearCVR2; inline;
  5513. procedure clearCVR3; inline;
  5514. procedure clearCVROE; inline;
  5515. procedure clearCVRR; inline;
  5516. procedure clearCVRSS; inline;
  5517. procedure clearON; inline;
  5518. procedure setCVR0; inline;
  5519. procedure setCVR1; inline;
  5520. procedure setCVR2; inline;
  5521. procedure setCVR3; inline;
  5522. procedure setCVROE; inline;
  5523. procedure setCVRR; inline;
  5524. procedure setCVRSS; inline;
  5525. procedure setON; inline;
  5526. property CVR : TBits_4 read getCVR write setCVR;
  5527. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  5528. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  5529. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  5530. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  5531. property CVROE : TBits_1 read getCVROE write setCVROE;
  5532. property CVRR : TBits_1 read getCVRR write setCVRR;
  5533. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  5534. property ON : TBits_1 read getON write setON;
  5535. property w : TBits_32 read getw write setw;
  5536. end;
  5537. type
  5538. TCVRRegisters = record
  5539. CVRCONbits : TCVR_CVRCON;
  5540. CVRCON : longWord;
  5541. CVRCONCLR : longWord;
  5542. CVRCONSET : longWord;
  5543. CVRCONINV : longWord;
  5544. end;
  5545. TCMP_CM1CON = record
  5546. private
  5547. function getCCH : TBits_2; inline;
  5548. function getCCH0 : TBits_1; inline;
  5549. function getCCH1 : TBits_1; inline;
  5550. function getCOE : TBits_1; inline;
  5551. function getCOUT : TBits_1; inline;
  5552. function getCPOL : TBits_1; inline;
  5553. function getCREF : TBits_1; inline;
  5554. function getEVPOL : TBits_2; inline;
  5555. function getEVPOL0 : TBits_1; inline;
  5556. function getEVPOL1 : TBits_1; inline;
  5557. function getON : TBits_1; inline;
  5558. function getw : TBits_32; inline;
  5559. procedure setCCH(thebits : TBits_2); inline;
  5560. procedure setCCH0(thebits : TBits_1); inline;
  5561. procedure setCCH1(thebits : TBits_1); inline;
  5562. procedure setCOE(thebits : TBits_1); inline;
  5563. procedure setCOUT(thebits : TBits_1); inline;
  5564. procedure setCPOL(thebits : TBits_1); inline;
  5565. procedure setCREF(thebits : TBits_1); inline;
  5566. procedure setEVPOL(thebits : TBits_2); inline;
  5567. procedure setEVPOL0(thebits : TBits_1); inline;
  5568. procedure setEVPOL1(thebits : TBits_1); inline;
  5569. procedure setON(thebits : TBits_1); inline;
  5570. procedure setw(thebits : TBits_32); inline;
  5571. public
  5572. procedure clearCCH0; inline;
  5573. procedure clearCCH1; inline;
  5574. procedure clearCOE; inline;
  5575. procedure clearCOUT; inline;
  5576. procedure clearCPOL; inline;
  5577. procedure clearCREF; inline;
  5578. procedure clearEVPOL0; inline;
  5579. procedure clearEVPOL1; inline;
  5580. procedure clearON; inline;
  5581. procedure setCCH0; inline;
  5582. procedure setCCH1; inline;
  5583. procedure setCOE; inline;
  5584. procedure setCOUT; inline;
  5585. procedure setCPOL; inline;
  5586. procedure setCREF; inline;
  5587. procedure setEVPOL0; inline;
  5588. procedure setEVPOL1; inline;
  5589. procedure setON; inline;
  5590. property CCH : TBits_2 read getCCH write setCCH;
  5591. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  5592. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  5593. property COE : TBits_1 read getCOE write setCOE;
  5594. property COUT : TBits_1 read getCOUT write setCOUT;
  5595. property CPOL : TBits_1 read getCPOL write setCPOL;
  5596. property CREF : TBits_1 read getCREF write setCREF;
  5597. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  5598. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  5599. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  5600. property ON : TBits_1 read getON write setON;
  5601. property w : TBits_32 read getw write setw;
  5602. end;
  5603. TCMP_CM2CON = record
  5604. private
  5605. function getCCH : TBits_2; inline;
  5606. function getCCH0 : TBits_1; inline;
  5607. function getCCH1 : TBits_1; inline;
  5608. function getCOE : TBits_1; inline;
  5609. function getCOUT : TBits_1; inline;
  5610. function getCPOL : TBits_1; inline;
  5611. function getCREF : TBits_1; inline;
  5612. function getEVPOL : TBits_2; inline;
  5613. function getEVPOL0 : TBits_1; inline;
  5614. function getEVPOL1 : TBits_1; inline;
  5615. function getON : TBits_1; inline;
  5616. function getw : TBits_32; inline;
  5617. procedure setCCH(thebits : TBits_2); inline;
  5618. procedure setCCH0(thebits : TBits_1); inline;
  5619. procedure setCCH1(thebits : TBits_1); inline;
  5620. procedure setCOE(thebits : TBits_1); inline;
  5621. procedure setCOUT(thebits : TBits_1); inline;
  5622. procedure setCPOL(thebits : TBits_1); inline;
  5623. procedure setCREF(thebits : TBits_1); inline;
  5624. procedure setEVPOL(thebits : TBits_2); inline;
  5625. procedure setEVPOL0(thebits : TBits_1); inline;
  5626. procedure setEVPOL1(thebits : TBits_1); inline;
  5627. procedure setON(thebits : TBits_1); inline;
  5628. procedure setw(thebits : TBits_32); inline;
  5629. public
  5630. procedure clearCCH0; inline;
  5631. procedure clearCCH1; inline;
  5632. procedure clearCOE; inline;
  5633. procedure clearCOUT; inline;
  5634. procedure clearCPOL; inline;
  5635. procedure clearCREF; inline;
  5636. procedure clearEVPOL0; inline;
  5637. procedure clearEVPOL1; inline;
  5638. procedure clearON; inline;
  5639. procedure setCCH0; inline;
  5640. procedure setCCH1; inline;
  5641. procedure setCOE; inline;
  5642. procedure setCOUT; inline;
  5643. procedure setCPOL; inline;
  5644. procedure setCREF; inline;
  5645. procedure setEVPOL0; inline;
  5646. procedure setEVPOL1; inline;
  5647. procedure setON; inline;
  5648. property CCH : TBits_2 read getCCH write setCCH;
  5649. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  5650. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  5651. property COE : TBits_1 read getCOE write setCOE;
  5652. property COUT : TBits_1 read getCOUT write setCOUT;
  5653. property CPOL : TBits_1 read getCPOL write setCPOL;
  5654. property CREF : TBits_1 read getCREF write setCREF;
  5655. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  5656. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  5657. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  5658. property ON : TBits_1 read getON write setON;
  5659. property w : TBits_32 read getw write setw;
  5660. end;
  5661. TCMP_CMSTAT = record
  5662. private
  5663. function getC1OUT : TBits_1; inline;
  5664. function getC2OUT : TBits_1; inline;
  5665. function getSIDL : TBits_1; inline;
  5666. function getw : TBits_32; inline;
  5667. procedure setC1OUT(thebits : TBits_1); inline;
  5668. procedure setC2OUT(thebits : TBits_1); inline;
  5669. procedure setSIDL(thebits : TBits_1); inline;
  5670. procedure setw(thebits : TBits_32); inline;
  5671. public
  5672. procedure clearC1OUT; inline;
  5673. procedure clearC2OUT; inline;
  5674. procedure clearSIDL; inline;
  5675. procedure setC1OUT; inline;
  5676. procedure setC2OUT; inline;
  5677. procedure setSIDL; inline;
  5678. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  5679. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  5680. property SIDL : TBits_1 read getSIDL write setSIDL;
  5681. property w : TBits_32 read getw write setw;
  5682. end;
  5683. TCMP_CTMUCON = record
  5684. private
  5685. function getCTMUSIDL : TBits_1; inline;
  5686. function getCTTRIG : TBits_1; inline;
  5687. function getEDG1MOD : TBits_1; inline;
  5688. function getEDG1POL : TBits_1; inline;
  5689. function getEDG1SEL : TBits_4; inline;
  5690. function getEDG1STAT : TBits_1; inline;
  5691. function getEDG2MOD : TBits_1; inline;
  5692. function getEDG2POL : TBits_1; inline;
  5693. function getEDG2SEL : TBits_4; inline;
  5694. function getEDG2STAT : TBits_1; inline;
  5695. function getEDGEN : TBits_1; inline;
  5696. function getEDGSEQEN : TBits_1; inline;
  5697. function getIDISSEN : TBits_1; inline;
  5698. function getIRNG : TBits_2; inline;
  5699. function getITRIM : TBits_6; inline;
  5700. function getON : TBits_1; inline;
  5701. function getTGEN : TBits_1; inline;
  5702. function getw : TBits_32; inline;
  5703. procedure setCTMUSIDL(thebits : TBits_1); inline;
  5704. procedure setCTTRIG(thebits : TBits_1); inline;
  5705. procedure setEDG1MOD(thebits : TBits_1); inline;
  5706. procedure setEDG1POL(thebits : TBits_1); inline;
  5707. procedure setEDG1SEL(thebits : TBits_4); inline;
  5708. procedure setEDG1STAT(thebits : TBits_1); inline;
  5709. procedure setEDG2MOD(thebits : TBits_1); inline;
  5710. procedure setEDG2POL(thebits : TBits_1); inline;
  5711. procedure setEDG2SEL(thebits : TBits_4); inline;
  5712. procedure setEDG2STAT(thebits : TBits_1); inline;
  5713. procedure setEDGEN(thebits : TBits_1); inline;
  5714. procedure setEDGSEQEN(thebits : TBits_1); inline;
  5715. procedure setIDISSEN(thebits : TBits_1); inline;
  5716. procedure setIRNG(thebits : TBits_2); inline;
  5717. procedure setITRIM(thebits : TBits_6); inline;
  5718. procedure setON(thebits : TBits_1); inline;
  5719. procedure setTGEN(thebits : TBits_1); inline;
  5720. procedure setw(thebits : TBits_32); inline;
  5721. public
  5722. procedure clearCTMUSIDL; inline;
  5723. procedure clearCTTRIG; inline;
  5724. procedure clearEDG1MOD; inline;
  5725. procedure clearEDG1POL; inline;
  5726. procedure clearEDG1STAT; inline;
  5727. procedure clearEDG2MOD; inline;
  5728. procedure clearEDG2POL; inline;
  5729. procedure clearEDG2STAT; inline;
  5730. procedure clearEDGEN; inline;
  5731. procedure clearEDGSEQEN; inline;
  5732. procedure clearIDISSEN; inline;
  5733. procedure clearON; inline;
  5734. procedure clearTGEN; inline;
  5735. procedure setCTMUSIDL; inline;
  5736. procedure setCTTRIG; inline;
  5737. procedure setEDG1MOD; inline;
  5738. procedure setEDG1POL; inline;
  5739. procedure setEDG1STAT; inline;
  5740. procedure setEDG2MOD; inline;
  5741. procedure setEDG2POL; inline;
  5742. procedure setEDG2STAT; inline;
  5743. procedure setEDGEN; inline;
  5744. procedure setEDGSEQEN; inline;
  5745. procedure setIDISSEN; inline;
  5746. procedure setON; inline;
  5747. procedure setTGEN; inline;
  5748. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  5749. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  5750. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  5751. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  5752. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  5753. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  5754. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  5755. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  5756. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  5757. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  5758. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  5759. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  5760. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  5761. property IRNG : TBits_2 read getIRNG write setIRNG;
  5762. property ITRIM : TBits_6 read getITRIM write setITRIM;
  5763. property ON : TBits_1 read getON write setON;
  5764. property TGEN : TBits_1 read getTGEN write setTGEN;
  5765. property w : TBits_32 read getw write setw;
  5766. end;
  5767. type
  5768. TCMPRegisters = record
  5769. CM1CONbits : TCMP_CM1CON;
  5770. CM1CON : longWord;
  5771. CM1CONCLR : longWord;
  5772. CM1CONSET : longWord;
  5773. CM1CONINV : longWord;
  5774. CM2CONbits : TCMP_CM2CON;
  5775. CM2CON : longWord;
  5776. CM2CONCLR : longWord;
  5777. CM2CONSET : longWord;
  5778. CM2CONINV : longWord;
  5779. CMSTATbits : TCMP_CMSTAT;
  5780. CMSTAT : longWord;
  5781. CMSTATCLR : longWord;
  5782. CMSTATSET : longWord;
  5783. CMSTATINV : longWord;
  5784. CTMUCONbits : TCMP_CTMUCON;
  5785. CTMUCON : longWord;
  5786. CTMUCONCLR : longWord;
  5787. CTMUCONSET : longWord;
  5788. CTMUCONINV : longWord;
  5789. end;
  5790. TOSC_OSCCON = record
  5791. private
  5792. function getCF : TBits_1; inline;
  5793. function getCLKLOCK : TBits_1; inline;
  5794. function getCOSC : TBits_3; inline;
  5795. function getCOSC0 : TBits_1; inline;
  5796. function getCOSC1 : TBits_1; inline;
  5797. function getCOSC2 : TBits_1; inline;
  5798. function getFRCDIV : TBits_3; inline;
  5799. function getFRCDIV0 : TBits_1; inline;
  5800. function getFRCDIV1 : TBits_1; inline;
  5801. function getFRCDIV2 : TBits_1; inline;
  5802. function getNOSC : TBits_3; inline;
  5803. function getNOSC0 : TBits_1; inline;
  5804. function getNOSC1 : TBits_1; inline;
  5805. function getNOSC2 : TBits_1; inline;
  5806. function getOSWEN : TBits_1; inline;
  5807. function getPBDIV : TBits_2; inline;
  5808. function getPBDIV0 : TBits_1; inline;
  5809. function getPBDIV1 : TBits_1; inline;
  5810. function getPBDIVRDY : TBits_1; inline;
  5811. function getPLLMULT : TBits_3; inline;
  5812. function getPLLMULT0 : TBits_1; inline;
  5813. function getPLLMULT1 : TBits_1; inline;
  5814. function getPLLMULT2 : TBits_1; inline;
  5815. function getPLLODIV : TBits_3; inline;
  5816. function getPLLODIV0 : TBits_1; inline;
  5817. function getPLLODIV1 : TBits_1; inline;
  5818. function getPLLODIV2 : TBits_1; inline;
  5819. function getSLOCK : TBits_1; inline;
  5820. function getSLPEN : TBits_1; inline;
  5821. function getSOSCEN : TBits_1; inline;
  5822. function getSOSCRDY : TBits_1; inline;
  5823. function getUFRCEN : TBits_1; inline;
  5824. function getULOCK : TBits_1; inline;
  5825. function getw : TBits_32; inline;
  5826. procedure setCF(thebits : TBits_1); inline;
  5827. procedure setCLKLOCK(thebits : TBits_1); inline;
  5828. procedure setCOSC(thebits : TBits_3); inline;
  5829. procedure setCOSC0(thebits : TBits_1); inline;
  5830. procedure setCOSC1(thebits : TBits_1); inline;
  5831. procedure setCOSC2(thebits : TBits_1); inline;
  5832. procedure setFRCDIV(thebits : TBits_3); inline;
  5833. procedure setFRCDIV0(thebits : TBits_1); inline;
  5834. procedure setFRCDIV1(thebits : TBits_1); inline;
  5835. procedure setFRCDIV2(thebits : TBits_1); inline;
  5836. procedure setNOSC(thebits : TBits_3); inline;
  5837. procedure setNOSC0(thebits : TBits_1); inline;
  5838. procedure setNOSC1(thebits : TBits_1); inline;
  5839. procedure setNOSC2(thebits : TBits_1); inline;
  5840. procedure setOSWEN(thebits : TBits_1); inline;
  5841. procedure setPBDIV(thebits : TBits_2); inline;
  5842. procedure setPBDIV0(thebits : TBits_1); inline;
  5843. procedure setPBDIV1(thebits : TBits_1); inline;
  5844. procedure setPBDIVRDY(thebits : TBits_1); inline;
  5845. procedure setPLLMULT(thebits : TBits_3); inline;
  5846. procedure setPLLMULT0(thebits : TBits_1); inline;
  5847. procedure setPLLMULT1(thebits : TBits_1); inline;
  5848. procedure setPLLMULT2(thebits : TBits_1); inline;
  5849. procedure setPLLODIV(thebits : TBits_3); inline;
  5850. procedure setPLLODIV0(thebits : TBits_1); inline;
  5851. procedure setPLLODIV1(thebits : TBits_1); inline;
  5852. procedure setPLLODIV2(thebits : TBits_1); inline;
  5853. procedure setSLOCK(thebits : TBits_1); inline;
  5854. procedure setSLPEN(thebits : TBits_1); inline;
  5855. procedure setSOSCEN(thebits : TBits_1); inline;
  5856. procedure setSOSCRDY(thebits : TBits_1); inline;
  5857. procedure setUFRCEN(thebits : TBits_1); inline;
  5858. procedure setULOCK(thebits : TBits_1); inline;
  5859. procedure setw(thebits : TBits_32); inline;
  5860. public
  5861. procedure clearCF; inline;
  5862. procedure clearCLKLOCK; inline;
  5863. procedure clearCOSC0; inline;
  5864. procedure clearCOSC1; inline;
  5865. procedure clearCOSC2; inline;
  5866. procedure clearFRCDIV0; inline;
  5867. procedure clearFRCDIV1; inline;
  5868. procedure clearFRCDIV2; inline;
  5869. procedure clearNOSC0; inline;
  5870. procedure clearNOSC1; inline;
  5871. procedure clearNOSC2; inline;
  5872. procedure clearOSWEN; inline;
  5873. procedure clearPBDIV0; inline;
  5874. procedure clearPBDIV1; inline;
  5875. procedure clearPBDIVRDY; inline;
  5876. procedure clearPLLMULT0; inline;
  5877. procedure clearPLLMULT1; inline;
  5878. procedure clearPLLMULT2; inline;
  5879. procedure clearPLLODIV0; inline;
  5880. procedure clearPLLODIV1; inline;
  5881. procedure clearPLLODIV2; inline;
  5882. procedure clearSLOCK; inline;
  5883. procedure clearSLPEN; inline;
  5884. procedure clearSOSCEN; inline;
  5885. procedure clearSOSCRDY; inline;
  5886. procedure clearUFRCEN; inline;
  5887. procedure clearULOCK; inline;
  5888. procedure setCF; inline;
  5889. procedure setCLKLOCK; inline;
  5890. procedure setCOSC0; inline;
  5891. procedure setCOSC1; inline;
  5892. procedure setCOSC2; inline;
  5893. procedure setFRCDIV0; inline;
  5894. procedure setFRCDIV1; inline;
  5895. procedure setFRCDIV2; inline;
  5896. procedure setNOSC0; inline;
  5897. procedure setNOSC1; inline;
  5898. procedure setNOSC2; inline;
  5899. procedure setOSWEN; inline;
  5900. procedure setPBDIV0; inline;
  5901. procedure setPBDIV1; inline;
  5902. procedure setPBDIVRDY; inline;
  5903. procedure setPLLMULT0; inline;
  5904. procedure setPLLMULT1; inline;
  5905. procedure setPLLMULT2; inline;
  5906. procedure setPLLODIV0; inline;
  5907. procedure setPLLODIV1; inline;
  5908. procedure setPLLODIV2; inline;
  5909. procedure setSLOCK; inline;
  5910. procedure setSLPEN; inline;
  5911. procedure setSOSCEN; inline;
  5912. procedure setSOSCRDY; inline;
  5913. procedure setUFRCEN; inline;
  5914. procedure setULOCK; inline;
  5915. property CF : TBits_1 read getCF write setCF;
  5916. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5917. property COSC : TBits_3 read getCOSC write setCOSC;
  5918. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5919. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5920. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5921. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5922. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5923. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5924. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5925. property NOSC : TBits_3 read getNOSC write setNOSC;
  5926. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5927. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5928. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5929. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5930. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5931. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5932. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5933. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5934. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5935. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5936. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5937. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5938. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5939. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5940. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5941. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5942. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5943. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5944. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5945. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5946. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5947. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5948. property w : TBits_32 read getw write setw;
  5949. end;
  5950. TOSC_OSCTUN = record
  5951. private
  5952. function getTUN : TBits_6; inline;
  5953. function getTUN0 : TBits_1; inline;
  5954. function getTUN1 : TBits_1; inline;
  5955. function getTUN2 : TBits_1; inline;
  5956. function getTUN3 : TBits_1; inline;
  5957. function getTUN4 : TBits_1; inline;
  5958. function getTUN5 : TBits_1; inline;
  5959. function getw : TBits_32; inline;
  5960. procedure setTUN(thebits : TBits_6); inline;
  5961. procedure setTUN0(thebits : TBits_1); inline;
  5962. procedure setTUN1(thebits : TBits_1); inline;
  5963. procedure setTUN2(thebits : TBits_1); inline;
  5964. procedure setTUN3(thebits : TBits_1); inline;
  5965. procedure setTUN4(thebits : TBits_1); inline;
  5966. procedure setTUN5(thebits : TBits_1); inline;
  5967. procedure setw(thebits : TBits_32); inline;
  5968. public
  5969. procedure clearTUN0; inline;
  5970. procedure clearTUN1; inline;
  5971. procedure clearTUN2; inline;
  5972. procedure clearTUN3; inline;
  5973. procedure clearTUN4; inline;
  5974. procedure clearTUN5; inline;
  5975. procedure setTUN0; inline;
  5976. procedure setTUN1; inline;
  5977. procedure setTUN2; inline;
  5978. procedure setTUN3; inline;
  5979. procedure setTUN4; inline;
  5980. procedure setTUN5; inline;
  5981. property TUN : TBits_6 read getTUN write setTUN;
  5982. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5983. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5984. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5985. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5986. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5987. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5988. property w : TBits_32 read getw write setw;
  5989. end;
  5990. TOSC_REFOCON = record
  5991. private
  5992. function getACTIVE : TBits_1; inline;
  5993. function getDIVSWEN : TBits_1; inline;
  5994. function getOE : TBits_1; inline;
  5995. function getON : TBits_1; inline;
  5996. function getRODIV : TBits_15; inline;
  5997. function getROSEL : TBits_4; inline;
  5998. function getRSLP : TBits_1; inline;
  5999. function getSIDL : TBits_1; inline;
  6000. function getw : TBits_32; inline;
  6001. procedure setACTIVE(thebits : TBits_1); inline;
  6002. procedure setDIVSWEN(thebits : TBits_1); inline;
  6003. procedure setOE(thebits : TBits_1); inline;
  6004. procedure setON(thebits : TBits_1); inline;
  6005. procedure setRODIV(thebits : TBits_15); inline;
  6006. procedure setROSEL(thebits : TBits_4); inline;
  6007. procedure setRSLP(thebits : TBits_1); inline;
  6008. procedure setSIDL(thebits : TBits_1); inline;
  6009. procedure setw(thebits : TBits_32); inline;
  6010. public
  6011. procedure clearACTIVE; inline;
  6012. procedure clearDIVSWEN; inline;
  6013. procedure clearOE; inline;
  6014. procedure clearON; inline;
  6015. procedure clearRSLP; inline;
  6016. procedure clearSIDL; inline;
  6017. procedure setACTIVE; inline;
  6018. procedure setDIVSWEN; inline;
  6019. procedure setOE; inline;
  6020. procedure setON; inline;
  6021. procedure setRSLP; inline;
  6022. procedure setSIDL; inline;
  6023. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  6024. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  6025. property OE : TBits_1 read getOE write setOE;
  6026. property ON : TBits_1 read getON write setON;
  6027. property RODIV : TBits_15 read getRODIV write setRODIV;
  6028. property ROSEL : TBits_4 read getROSEL write setROSEL;
  6029. property RSLP : TBits_1 read getRSLP write setRSLP;
  6030. property SIDL : TBits_1 read getSIDL write setSIDL;
  6031. property w : TBits_32 read getw write setw;
  6032. end;
  6033. TOSC_REFOTRIM = record
  6034. private
  6035. function getROTRIM : TBits_9; inline;
  6036. function getw : TBits_32; inline;
  6037. procedure setROTRIM(thebits : TBits_9); inline;
  6038. procedure setw(thebits : TBits_32); inline;
  6039. public
  6040. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  6041. property w : TBits_32 read getw write setw;
  6042. end;
  6043. type
  6044. TOSCRegisters = record
  6045. OSCCONbits : TOSC_OSCCON;
  6046. OSCCON : longWord;
  6047. OSCCONCLR : longWord;
  6048. OSCCONSET : longWord;
  6049. OSCCONINV : longWord;
  6050. OSCTUNbits : TOSC_OSCTUN;
  6051. OSCTUN : longWord;
  6052. OSCTUNCLR : longWord;
  6053. OSCTUNSET : longWord;
  6054. OSCTUNINV : longWord;
  6055. REFOCONbits : TOSC_REFOCON;
  6056. REFOCON : longWord;
  6057. REFOCONCLR : longWord;
  6058. REFOCONSET : longWord;
  6059. REFOCONINV : longWord;
  6060. REFOTRIMbits : TOSC_REFOTRIM;
  6061. REFOTRIM : longWord;
  6062. REFOTRIMCLR : longWord;
  6063. REFOTRIMSET : longWord;
  6064. REFOTRIMINV : longWord;
  6065. end;
  6066. type
  6067. TCFGRegisters = record
  6068. CFGCON : longWord;
  6069. DDPCON : longWord;
  6070. DEVID : longWord;
  6071. SYSKEY : longWord;
  6072. SYSKEYCLR : longWord;
  6073. SYSKEYSET : longWord;
  6074. SYSKEYINV : longWord;
  6075. PMD1 : longWord;
  6076. PMD1CLR : longWord;
  6077. PMD1SET : longWord;
  6078. PMD1INV : longWord;
  6079. PMD2 : longWord;
  6080. PMD2CLR : longWord;
  6081. PMD2SET : longWord;
  6082. PMD2INV : longWord;
  6083. PMD3 : longWord;
  6084. PMD3CLR : longWord;
  6085. PMD3SET : longWord;
  6086. PMD3INV : longWord;
  6087. PMD4 : longWord;
  6088. PMD4CLR : longWord;
  6089. PMD4SET : longWord;
  6090. PMD4INV : longWord;
  6091. PMD5 : longWord;
  6092. PMD5CLR : longWord;
  6093. PMD5SET : longWord;
  6094. PMD5INV : longWord;
  6095. PMD6 : longWord;
  6096. PMD6CLR : longWord;
  6097. PMD6SET : longWord;
  6098. PMD6INV : longWord;
  6099. end;
  6100. TNVM_NVMCON = record
  6101. private
  6102. function getLVDERR : TBits_1; inline;
  6103. function getLVDSTAT : TBits_1; inline;
  6104. function getNVMOP : TBits_4; inline;
  6105. function getNVMOP0 : TBits_1; inline;
  6106. function getNVMOP1 : TBits_1; inline;
  6107. function getNVMOP2 : TBits_1; inline;
  6108. function getNVMOP3 : TBits_1; inline;
  6109. function getPROGOP : TBits_4; inline;
  6110. function getPROGOP0 : TBits_1; inline;
  6111. function getPROGOP1 : TBits_1; inline;
  6112. function getPROGOP2 : TBits_1; inline;
  6113. function getPROGOP3 : TBits_1; inline;
  6114. function getWR : TBits_1; inline;
  6115. function getWREN : TBits_1; inline;
  6116. function getWRERR : TBits_1; inline;
  6117. function getw : TBits_32; inline;
  6118. procedure setLVDERR(thebits : TBits_1); inline;
  6119. procedure setLVDSTAT(thebits : TBits_1); inline;
  6120. procedure setNVMOP(thebits : TBits_4); inline;
  6121. procedure setNVMOP0(thebits : TBits_1); inline;
  6122. procedure setNVMOP1(thebits : TBits_1); inline;
  6123. procedure setNVMOP2(thebits : TBits_1); inline;
  6124. procedure setNVMOP3(thebits : TBits_1); inline;
  6125. procedure setPROGOP(thebits : TBits_4); inline;
  6126. procedure setPROGOP0(thebits : TBits_1); inline;
  6127. procedure setPROGOP1(thebits : TBits_1); inline;
  6128. procedure setPROGOP2(thebits : TBits_1); inline;
  6129. procedure setPROGOP3(thebits : TBits_1); inline;
  6130. procedure setWR(thebits : TBits_1); inline;
  6131. procedure setWREN(thebits : TBits_1); inline;
  6132. procedure setWRERR(thebits : TBits_1); inline;
  6133. procedure setw(thebits : TBits_32); inline;
  6134. public
  6135. procedure clearLVDERR; inline;
  6136. procedure clearLVDSTAT; inline;
  6137. procedure clearNVMOP0; inline;
  6138. procedure clearNVMOP1; inline;
  6139. procedure clearNVMOP2; inline;
  6140. procedure clearNVMOP3; inline;
  6141. procedure clearPROGOP0; inline;
  6142. procedure clearPROGOP1; inline;
  6143. procedure clearPROGOP2; inline;
  6144. procedure clearPROGOP3; inline;
  6145. procedure clearWR; inline;
  6146. procedure clearWREN; inline;
  6147. procedure clearWRERR; inline;
  6148. procedure setLVDERR; inline;
  6149. procedure setLVDSTAT; inline;
  6150. procedure setNVMOP0; inline;
  6151. procedure setNVMOP1; inline;
  6152. procedure setNVMOP2; inline;
  6153. procedure setNVMOP3; inline;
  6154. procedure setPROGOP0; inline;
  6155. procedure setPROGOP1; inline;
  6156. procedure setPROGOP2; inline;
  6157. procedure setPROGOP3; inline;
  6158. procedure setWR; inline;
  6159. procedure setWREN; inline;
  6160. procedure setWRERR; inline;
  6161. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  6162. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  6163. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  6164. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  6165. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  6166. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  6167. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  6168. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  6169. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  6170. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  6171. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  6172. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  6173. property WR : TBits_1 read getWR write setWR;
  6174. property WREN : TBits_1 read getWREN write setWREN;
  6175. property WRERR : TBits_1 read getWRERR write setWRERR;
  6176. property w : TBits_32 read getw write setw;
  6177. end;
  6178. type
  6179. TNVMRegisters = record
  6180. NVMCONbits : TNVM_NVMCON;
  6181. NVMCON : longWord;
  6182. NVMCONCLR : longWord;
  6183. NVMCONSET : longWord;
  6184. NVMCONINV : longWord;
  6185. NVMKEY : longWord;
  6186. NVMADDR : longWord;
  6187. NVMADDRCLR : longWord;
  6188. NVMADDRSET : longWord;
  6189. NVMADDRINV : longWord;
  6190. NVMDATA : longWord;
  6191. NVMSRCADDR : longWord;
  6192. end;
  6193. TRCON_RCON = record
  6194. private
  6195. function getBOR : TBits_1; inline;
  6196. function getCMR : TBits_1; inline;
  6197. function getEXTR : TBits_1; inline;
  6198. function getHVDR : TBits_1; inline;
  6199. function getIDLE : TBits_1; inline;
  6200. function getPOR : TBits_1; inline;
  6201. function getSLEEP : TBits_1; inline;
  6202. function getSWR : TBits_1; inline;
  6203. function getVREGS : TBits_1; inline;
  6204. function getWDTO : TBits_1; inline;
  6205. function getw : TBits_32; inline;
  6206. procedure setBOR(thebits : TBits_1); inline;
  6207. procedure setCMR(thebits : TBits_1); inline;
  6208. procedure setEXTR(thebits : TBits_1); inline;
  6209. procedure setHVDR(thebits : TBits_1); inline;
  6210. procedure setIDLE(thebits : TBits_1); inline;
  6211. procedure setPOR(thebits : TBits_1); inline;
  6212. procedure setSLEEP(thebits : TBits_1); inline;
  6213. procedure setSWR(thebits : TBits_1); inline;
  6214. procedure setVREGS(thebits : TBits_1); inline;
  6215. procedure setWDTO(thebits : TBits_1); inline;
  6216. procedure setw(thebits : TBits_32); inline;
  6217. public
  6218. procedure clearBOR; inline;
  6219. procedure clearCMR; inline;
  6220. procedure clearEXTR; inline;
  6221. procedure clearHVDR; inline;
  6222. procedure clearIDLE; inline;
  6223. procedure clearPOR; inline;
  6224. procedure clearSLEEP; inline;
  6225. procedure clearSWR; inline;
  6226. procedure clearVREGS; inline;
  6227. procedure clearWDTO; inline;
  6228. procedure setBOR; inline;
  6229. procedure setCMR; inline;
  6230. procedure setEXTR; inline;
  6231. procedure setHVDR; inline;
  6232. procedure setIDLE; inline;
  6233. procedure setPOR; inline;
  6234. procedure setSLEEP; inline;
  6235. procedure setSWR; inline;
  6236. procedure setVREGS; inline;
  6237. procedure setWDTO; inline;
  6238. property BOR : TBits_1 read getBOR write setBOR;
  6239. property CMR : TBits_1 read getCMR write setCMR;
  6240. property EXTR : TBits_1 read getEXTR write setEXTR;
  6241. property HVDR : TBits_1 read getHVDR write setHVDR;
  6242. property IDLE : TBits_1 read getIDLE write setIDLE;
  6243. property POR : TBits_1 read getPOR write setPOR;
  6244. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  6245. property SWR : TBits_1 read getSWR write setSWR;
  6246. property VREGS : TBits_1 read getVREGS write setVREGS;
  6247. property WDTO : TBits_1 read getWDTO write setWDTO;
  6248. property w : TBits_32 read getw write setw;
  6249. end;
  6250. TRCON_RSWRST = record
  6251. private
  6252. function getSWRST : TBits_1; inline;
  6253. function getw : TBits_32; inline;
  6254. procedure setSWRST(thebits : TBits_1); inline;
  6255. procedure setw(thebits : TBits_32); inline;
  6256. public
  6257. procedure clearSWRST; inline;
  6258. procedure setSWRST; inline;
  6259. property SWRST : TBits_1 read getSWRST write setSWRST;
  6260. property w : TBits_32 read getw write setw;
  6261. end;
  6262. type
  6263. TRCONRegisters = record
  6264. RCONbits : TRCON_RCON;
  6265. RCON : longWord;
  6266. RCONCLR : longWord;
  6267. RCONSET : longWord;
  6268. RCONINV : longWord;
  6269. RSWRSTbits : TRCON_RSWRST;
  6270. RSWRST : longWord;
  6271. RSWRSTCLR : longWord;
  6272. RSWRSTSET : longWord;
  6273. RSWRSTINV : longWord;
  6274. INT1R : longWord;
  6275. INT2R : longWord;
  6276. INT3R : longWord;
  6277. INT4R : longWord;
  6278. T2CKR : longWord;
  6279. T3CKR : longWord;
  6280. T4CKR : longWord;
  6281. T5CKR : longWord;
  6282. IC1R : longWord;
  6283. IC2R : longWord;
  6284. IC3R : longWord;
  6285. IC4R : longWord;
  6286. IC5R : longWord;
  6287. OCFAR : longWord;
  6288. U1RXR : longWord;
  6289. U1CTSR : longWord;
  6290. U2RXR : longWord;
  6291. U2CTSR : longWord;
  6292. U3RXR : longWord;
  6293. U3CTSR : longWord;
  6294. U4RXR : longWord;
  6295. U4CTSR : longWord;
  6296. U5RXR : longWord;
  6297. U5CTSR : longWord;
  6298. SDI1R : longWord;
  6299. SS1R : longWord;
  6300. SDI2R : longWord;
  6301. SS2R : longWord;
  6302. REFCLKIR : longWord;
  6303. RPB0R : longWord;
  6304. RPB1R : longWord;
  6305. RPB2R : longWord;
  6306. RPB3R : longWord;
  6307. RPB5R : longWord;
  6308. RPB6R : longWord;
  6309. RPB7R : longWord;
  6310. RPB8R : longWord;
  6311. RPB9R : longWord;
  6312. RPB10R : longWord;
  6313. RPB14R : longWord;
  6314. RPB15R : longWord;
  6315. RPC13R : longWord;
  6316. RPC14R : longWord;
  6317. RPD0R : longWord;
  6318. RPD1R : longWord;
  6319. RPD2R : longWord;
  6320. RPD3R : longWord;
  6321. RPD4R : longWord;
  6322. RPD5R : longWord;
  6323. RPD8R : longWord;
  6324. RPD9R : longWord;
  6325. RPD10R : longWord;
  6326. RPD11R : longWord;
  6327. RPE3R : longWord;
  6328. RPE5R : longWord;
  6329. RPF0R : longWord;
  6330. RPF1R : longWord;
  6331. RPF4R : longWord;
  6332. RPF5R : longWord;
  6333. RPG6R : longWord;
  6334. RPG7R : longWord;
  6335. RPG8R : longWord;
  6336. RPG9R : longWord;
  6337. end;
  6338. TINT_INTCON = record
  6339. private
  6340. function getINT0EP : TBits_1; inline;
  6341. function getINT1EP : TBits_1; inline;
  6342. function getINT2EP : TBits_1; inline;
  6343. function getINT3EP : TBits_1; inline;
  6344. function getINT4EP : TBits_1; inline;
  6345. function getMVEC : TBits_1; inline;
  6346. function getSS0 : TBits_1; inline;
  6347. function getTPC : TBits_3; inline;
  6348. function getw : TBits_32; inline;
  6349. procedure setINT0EP(thebits : TBits_1); inline;
  6350. procedure setINT1EP(thebits : TBits_1); inline;
  6351. procedure setINT2EP(thebits : TBits_1); inline;
  6352. procedure setINT3EP(thebits : TBits_1); inline;
  6353. procedure setINT4EP(thebits : TBits_1); inline;
  6354. procedure setMVEC(thebits : TBits_1); inline;
  6355. procedure setSS0(thebits : TBits_1); inline;
  6356. procedure setTPC(thebits : TBits_3); inline;
  6357. procedure setw(thebits : TBits_32); inline;
  6358. public
  6359. procedure clearINT0EP; inline;
  6360. procedure clearINT1EP; inline;
  6361. procedure clearINT2EP; inline;
  6362. procedure clearINT3EP; inline;
  6363. procedure clearINT4EP; inline;
  6364. procedure clearMVEC; inline;
  6365. procedure clearSS0; inline;
  6366. procedure setINT0EP; inline;
  6367. procedure setINT1EP; inline;
  6368. procedure setINT2EP; inline;
  6369. procedure setINT3EP; inline;
  6370. procedure setINT4EP; inline;
  6371. procedure setMVEC; inline;
  6372. procedure setSS0; inline;
  6373. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  6374. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  6375. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  6376. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  6377. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  6378. property MVEC : TBits_1 read getMVEC write setMVEC;
  6379. property SS0 : TBits_1 read getSS0 write setSS0;
  6380. property TPC : TBits_3 read getTPC write setTPC;
  6381. property w : TBits_32 read getw write setw;
  6382. end;
  6383. TINT_IFS0 = record
  6384. private
  6385. function getAD1IF : TBits_1; inline;
  6386. function getCS0IF : TBits_1; inline;
  6387. function getCS1IF : TBits_1; inline;
  6388. function getCTIF : TBits_1; inline;
  6389. function getFCEIF : TBits_1; inline;
  6390. function getFSCMIF : TBits_1; inline;
  6391. function getIC1EIF : TBits_1; inline;
  6392. function getIC1IF : TBits_1; inline;
  6393. function getIC2EIF : TBits_1; inline;
  6394. function getIC2IF : TBits_1; inline;
  6395. function getIC3EIF : TBits_1; inline;
  6396. function getIC3IF : TBits_1; inline;
  6397. function getIC4EIF : TBits_1; inline;
  6398. function getIC4IF : TBits_1; inline;
  6399. function getIC5EIF : TBits_1; inline;
  6400. function getIC5IF : TBits_1; inline;
  6401. function getINT0IF : TBits_1; inline;
  6402. function getINT1IF : TBits_1; inline;
  6403. function getINT2IF : TBits_1; inline;
  6404. function getINT3IF : TBits_1; inline;
  6405. function getINT4IF : TBits_1; inline;
  6406. function getOC1IF : TBits_1; inline;
  6407. function getOC2IF : TBits_1; inline;
  6408. function getOC3IF : TBits_1; inline;
  6409. function getOC4IF : TBits_1; inline;
  6410. function getOC5IF : TBits_1; inline;
  6411. function getRTCCIF : TBits_1; inline;
  6412. function getT1IF : TBits_1; inline;
  6413. function getT2IF : TBits_1; inline;
  6414. function getT3IF : TBits_1; inline;
  6415. function getT4IF : TBits_1; inline;
  6416. function getT5IF : TBits_1; inline;
  6417. function getw : TBits_32; inline;
  6418. procedure setAD1IF(thebits : TBits_1); inline;
  6419. procedure setCS0IF(thebits : TBits_1); inline;
  6420. procedure setCS1IF(thebits : TBits_1); inline;
  6421. procedure setCTIF(thebits : TBits_1); inline;
  6422. procedure setFCEIF(thebits : TBits_1); inline;
  6423. procedure setFSCMIF(thebits : TBits_1); inline;
  6424. procedure setIC1EIF(thebits : TBits_1); inline;
  6425. procedure setIC1IF(thebits : TBits_1); inline;
  6426. procedure setIC2EIF(thebits : TBits_1); inline;
  6427. procedure setIC2IF(thebits : TBits_1); inline;
  6428. procedure setIC3EIF(thebits : TBits_1); inline;
  6429. procedure setIC3IF(thebits : TBits_1); inline;
  6430. procedure setIC4EIF(thebits : TBits_1); inline;
  6431. procedure setIC4IF(thebits : TBits_1); inline;
  6432. procedure setIC5EIF(thebits : TBits_1); inline;
  6433. procedure setIC5IF(thebits : TBits_1); inline;
  6434. procedure setINT0IF(thebits : TBits_1); inline;
  6435. procedure setINT1IF(thebits : TBits_1); inline;
  6436. procedure setINT2IF(thebits : TBits_1); inline;
  6437. procedure setINT3IF(thebits : TBits_1); inline;
  6438. procedure setINT4IF(thebits : TBits_1); inline;
  6439. procedure setOC1IF(thebits : TBits_1); inline;
  6440. procedure setOC2IF(thebits : TBits_1); inline;
  6441. procedure setOC3IF(thebits : TBits_1); inline;
  6442. procedure setOC4IF(thebits : TBits_1); inline;
  6443. procedure setOC5IF(thebits : TBits_1); inline;
  6444. procedure setRTCCIF(thebits : TBits_1); inline;
  6445. procedure setT1IF(thebits : TBits_1); inline;
  6446. procedure setT2IF(thebits : TBits_1); inline;
  6447. procedure setT3IF(thebits : TBits_1); inline;
  6448. procedure setT4IF(thebits : TBits_1); inline;
  6449. procedure setT5IF(thebits : TBits_1); inline;
  6450. procedure setw(thebits : TBits_32); inline;
  6451. public
  6452. procedure clearAD1IF; inline;
  6453. procedure clearCS0IF; inline;
  6454. procedure clearCS1IF; inline;
  6455. procedure clearCTIF; inline;
  6456. procedure clearFCEIF; inline;
  6457. procedure clearFSCMIF; inline;
  6458. procedure clearIC1EIF; inline;
  6459. procedure clearIC1IF; inline;
  6460. procedure clearIC2EIF; inline;
  6461. procedure clearIC2IF; inline;
  6462. procedure clearIC3EIF; inline;
  6463. procedure clearIC3IF; inline;
  6464. procedure clearIC4EIF; inline;
  6465. procedure clearIC4IF; inline;
  6466. procedure clearIC5EIF; inline;
  6467. procedure clearIC5IF; inline;
  6468. procedure clearINT0IF; inline;
  6469. procedure clearINT1IF; inline;
  6470. procedure clearINT2IF; inline;
  6471. procedure clearINT3IF; inline;
  6472. procedure clearINT4IF; inline;
  6473. procedure clearOC1IF; inline;
  6474. procedure clearOC2IF; inline;
  6475. procedure clearOC3IF; inline;
  6476. procedure clearOC4IF; inline;
  6477. procedure clearOC5IF; inline;
  6478. procedure clearRTCCIF; inline;
  6479. procedure clearT1IF; inline;
  6480. procedure clearT2IF; inline;
  6481. procedure clearT3IF; inline;
  6482. procedure clearT4IF; inline;
  6483. procedure clearT5IF; inline;
  6484. procedure setAD1IF; inline;
  6485. procedure setCS0IF; inline;
  6486. procedure setCS1IF; inline;
  6487. procedure setCTIF; inline;
  6488. procedure setFCEIF; inline;
  6489. procedure setFSCMIF; inline;
  6490. procedure setIC1EIF; inline;
  6491. procedure setIC1IF; inline;
  6492. procedure setIC2EIF; inline;
  6493. procedure setIC2IF; inline;
  6494. procedure setIC3EIF; inline;
  6495. procedure setIC3IF; inline;
  6496. procedure setIC4EIF; inline;
  6497. procedure setIC4IF; inline;
  6498. procedure setIC5EIF; inline;
  6499. procedure setIC5IF; inline;
  6500. procedure setINT0IF; inline;
  6501. procedure setINT1IF; inline;
  6502. procedure setINT2IF; inline;
  6503. procedure setINT3IF; inline;
  6504. procedure setINT4IF; inline;
  6505. procedure setOC1IF; inline;
  6506. procedure setOC2IF; inline;
  6507. procedure setOC3IF; inline;
  6508. procedure setOC4IF; inline;
  6509. procedure setOC5IF; inline;
  6510. procedure setRTCCIF; inline;
  6511. procedure setT1IF; inline;
  6512. procedure setT2IF; inline;
  6513. procedure setT3IF; inline;
  6514. procedure setT4IF; inline;
  6515. procedure setT5IF; inline;
  6516. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  6517. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  6518. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  6519. property CTIF : TBits_1 read getCTIF write setCTIF;
  6520. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  6521. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  6522. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  6523. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  6524. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  6525. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  6526. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  6527. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  6528. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  6529. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  6530. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  6531. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  6532. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  6533. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  6534. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  6535. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  6536. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  6537. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  6538. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  6539. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  6540. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  6541. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  6542. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  6543. property T1IF : TBits_1 read getT1IF write setT1IF;
  6544. property T2IF : TBits_1 read getT2IF write setT2IF;
  6545. property T3IF : TBits_1 read getT3IF write setT3IF;
  6546. property T4IF : TBits_1 read getT4IF write setT4IF;
  6547. property T5IF : TBits_1 read getT5IF write setT5IF;
  6548. property w : TBits_32 read getw write setw;
  6549. end;
  6550. TINT_IFS1 = record
  6551. private
  6552. function getCMP1IF : TBits_1; inline;
  6553. function getCMP2IF : TBits_1; inline;
  6554. function getCNAIF : TBits_1; inline;
  6555. function getCNBIF : TBits_1; inline;
  6556. function getCNCIF : TBits_1; inline;
  6557. function getCNDIF : TBits_1; inline;
  6558. function getCNEIF : TBits_1; inline;
  6559. function getCNFIF : TBits_1; inline;
  6560. function getCNGIF : TBits_1; inline;
  6561. function getI2C1BIF : TBits_1; inline;
  6562. function getI2C1MIF : TBits_1; inline;
  6563. function getI2C1SIF : TBits_1; inline;
  6564. function getI2C2BIF : TBits_1; inline;
  6565. function getI2C2MIF : TBits_1; inline;
  6566. function getI2C2SIF : TBits_1; inline;
  6567. function getPMPEIF : TBits_1; inline;
  6568. function getPMPIF : TBits_1; inline;
  6569. function getSPI1EIF : TBits_1; inline;
  6570. function getSPI1RXIF : TBits_1; inline;
  6571. function getSPI1TXIF : TBits_1; inline;
  6572. function getSPI2EIF : TBits_1; inline;
  6573. function getSPI2RXIF : TBits_1; inline;
  6574. function getSPI2TXIF : TBits_1; inline;
  6575. function getU1EIF : TBits_1; inline;
  6576. function getU1RXIF : TBits_1; inline;
  6577. function getU1TXIF : TBits_1; inline;
  6578. function getU2EIF : TBits_1; inline;
  6579. function getU2RXIF : TBits_1; inline;
  6580. function getU2TXIF : TBits_1; inline;
  6581. function getU3EIF : TBits_1; inline;
  6582. function getU3RXIF : TBits_1; inline;
  6583. function getUSBIF : TBits_1; inline;
  6584. function getw : TBits_32; inline;
  6585. procedure setCMP1IF(thebits : TBits_1); inline;
  6586. procedure setCMP2IF(thebits : TBits_1); inline;
  6587. procedure setCNAIF(thebits : TBits_1); inline;
  6588. procedure setCNBIF(thebits : TBits_1); inline;
  6589. procedure setCNCIF(thebits : TBits_1); inline;
  6590. procedure setCNDIF(thebits : TBits_1); inline;
  6591. procedure setCNEIF(thebits : TBits_1); inline;
  6592. procedure setCNFIF(thebits : TBits_1); inline;
  6593. procedure setCNGIF(thebits : TBits_1); inline;
  6594. procedure setI2C1BIF(thebits : TBits_1); inline;
  6595. procedure setI2C1MIF(thebits : TBits_1); inline;
  6596. procedure setI2C1SIF(thebits : TBits_1); inline;
  6597. procedure setI2C2BIF(thebits : TBits_1); inline;
  6598. procedure setI2C2MIF(thebits : TBits_1); inline;
  6599. procedure setI2C2SIF(thebits : TBits_1); inline;
  6600. procedure setPMPEIF(thebits : TBits_1); inline;
  6601. procedure setPMPIF(thebits : TBits_1); inline;
  6602. procedure setSPI1EIF(thebits : TBits_1); inline;
  6603. procedure setSPI1RXIF(thebits : TBits_1); inline;
  6604. procedure setSPI1TXIF(thebits : TBits_1); inline;
  6605. procedure setSPI2EIF(thebits : TBits_1); inline;
  6606. procedure setSPI2RXIF(thebits : TBits_1); inline;
  6607. procedure setSPI2TXIF(thebits : TBits_1); inline;
  6608. procedure setU1EIF(thebits : TBits_1); inline;
  6609. procedure setU1RXIF(thebits : TBits_1); inline;
  6610. procedure setU1TXIF(thebits : TBits_1); inline;
  6611. procedure setU2EIF(thebits : TBits_1); inline;
  6612. procedure setU2RXIF(thebits : TBits_1); inline;
  6613. procedure setU2TXIF(thebits : TBits_1); inline;
  6614. procedure setU3EIF(thebits : TBits_1); inline;
  6615. procedure setU3RXIF(thebits : TBits_1); inline;
  6616. procedure setUSBIF(thebits : TBits_1); inline;
  6617. procedure setw(thebits : TBits_32); inline;
  6618. public
  6619. procedure clearCMP1IF; inline;
  6620. procedure clearCMP2IF; inline;
  6621. procedure clearCNAIF; inline;
  6622. procedure clearCNBIF; inline;
  6623. procedure clearCNCIF; inline;
  6624. procedure clearCNDIF; inline;
  6625. procedure clearCNEIF; inline;
  6626. procedure clearCNFIF; inline;
  6627. procedure clearCNGIF; inline;
  6628. procedure clearI2C1BIF; inline;
  6629. procedure clearI2C1MIF; inline;
  6630. procedure clearI2C1SIF; inline;
  6631. procedure clearI2C2BIF; inline;
  6632. procedure clearI2C2MIF; inline;
  6633. procedure clearI2C2SIF; inline;
  6634. procedure clearPMPEIF; inline;
  6635. procedure clearPMPIF; inline;
  6636. procedure clearSPI1EIF; inline;
  6637. procedure clearSPI1RXIF; inline;
  6638. procedure clearSPI1TXIF; inline;
  6639. procedure clearSPI2EIF; inline;
  6640. procedure clearSPI2RXIF; inline;
  6641. procedure clearSPI2TXIF; inline;
  6642. procedure clearU1EIF; inline;
  6643. procedure clearU1RXIF; inline;
  6644. procedure clearU1TXIF; inline;
  6645. procedure clearU2EIF; inline;
  6646. procedure clearU2RXIF; inline;
  6647. procedure clearU2TXIF; inline;
  6648. procedure clearU3EIF; inline;
  6649. procedure clearU3RXIF; inline;
  6650. procedure clearUSBIF; inline;
  6651. procedure setCMP1IF; inline;
  6652. procedure setCMP2IF; inline;
  6653. procedure setCNAIF; inline;
  6654. procedure setCNBIF; inline;
  6655. procedure setCNCIF; inline;
  6656. procedure setCNDIF; inline;
  6657. procedure setCNEIF; inline;
  6658. procedure setCNFIF; inline;
  6659. procedure setCNGIF; inline;
  6660. procedure setI2C1BIF; inline;
  6661. procedure setI2C1MIF; inline;
  6662. procedure setI2C1SIF; inline;
  6663. procedure setI2C2BIF; inline;
  6664. procedure setI2C2MIF; inline;
  6665. procedure setI2C2SIF; inline;
  6666. procedure setPMPEIF; inline;
  6667. procedure setPMPIF; inline;
  6668. procedure setSPI1EIF; inline;
  6669. procedure setSPI1RXIF; inline;
  6670. procedure setSPI1TXIF; inline;
  6671. procedure setSPI2EIF; inline;
  6672. procedure setSPI2RXIF; inline;
  6673. procedure setSPI2TXIF; inline;
  6674. procedure setU1EIF; inline;
  6675. procedure setU1RXIF; inline;
  6676. procedure setU1TXIF; inline;
  6677. procedure setU2EIF; inline;
  6678. procedure setU2RXIF; inline;
  6679. procedure setU2TXIF; inline;
  6680. procedure setU3EIF; inline;
  6681. procedure setU3RXIF; inline;
  6682. procedure setUSBIF; inline;
  6683. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  6684. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  6685. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  6686. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  6687. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  6688. property CNDIF : TBits_1 read getCNDIF write setCNDIF;
  6689. property CNEIF : TBits_1 read getCNEIF write setCNEIF;
  6690. property CNFIF : TBits_1 read getCNFIF write setCNFIF;
  6691. property CNGIF : TBits_1 read getCNGIF write setCNGIF;
  6692. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  6693. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  6694. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  6695. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  6696. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  6697. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  6698. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  6699. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  6700. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  6701. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  6702. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  6703. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  6704. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  6705. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  6706. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  6707. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  6708. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  6709. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  6710. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  6711. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  6712. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  6713. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  6714. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  6715. property w : TBits_32 read getw write setw;
  6716. end;
  6717. TINT_IEC0 = record
  6718. private
  6719. function getAD1IE : TBits_1; inline;
  6720. function getCS0IE : TBits_1; inline;
  6721. function getCS1IE : TBits_1; inline;
  6722. function getCTIE : TBits_1; inline;
  6723. function getFCEIE : TBits_1; inline;
  6724. function getFSCMIE : TBits_1; inline;
  6725. function getIC1EIE : TBits_1; inline;
  6726. function getIC1IE : TBits_1; inline;
  6727. function getIC2EIE : TBits_1; inline;
  6728. function getIC2IE : TBits_1; inline;
  6729. function getIC3EIE : TBits_1; inline;
  6730. function getIC3IE : TBits_1; inline;
  6731. function getIC4EIE : TBits_1; inline;
  6732. function getIC4IE : TBits_1; inline;
  6733. function getIC5EIE : TBits_1; inline;
  6734. function getIC5IE : TBits_1; inline;
  6735. function getINT0IE : TBits_1; inline;
  6736. function getINT1IE : TBits_1; inline;
  6737. function getINT2IE : TBits_1; inline;
  6738. function getINT3IE : TBits_1; inline;
  6739. function getINT4IE : TBits_1; inline;
  6740. function getOC1IE : TBits_1; inline;
  6741. function getOC2IE : TBits_1; inline;
  6742. function getOC3IE : TBits_1; inline;
  6743. function getOC4IE : TBits_1; inline;
  6744. function getOC5IE : TBits_1; inline;
  6745. function getRTCCIE : TBits_1; inline;
  6746. function getT1IE : TBits_1; inline;
  6747. function getT2IE : TBits_1; inline;
  6748. function getT3IE : TBits_1; inline;
  6749. function getT4IE : TBits_1; inline;
  6750. function getT5IE : TBits_1; inline;
  6751. function getw : TBits_32; inline;
  6752. procedure setAD1IE(thebits : TBits_1); inline;
  6753. procedure setCS0IE(thebits : TBits_1); inline;
  6754. procedure setCS1IE(thebits : TBits_1); inline;
  6755. procedure setCTIE(thebits : TBits_1); inline;
  6756. procedure setFCEIE(thebits : TBits_1); inline;
  6757. procedure setFSCMIE(thebits : TBits_1); inline;
  6758. procedure setIC1EIE(thebits : TBits_1); inline;
  6759. procedure setIC1IE(thebits : TBits_1); inline;
  6760. procedure setIC2EIE(thebits : TBits_1); inline;
  6761. procedure setIC2IE(thebits : TBits_1); inline;
  6762. procedure setIC3EIE(thebits : TBits_1); inline;
  6763. procedure setIC3IE(thebits : TBits_1); inline;
  6764. procedure setIC4EIE(thebits : TBits_1); inline;
  6765. procedure setIC4IE(thebits : TBits_1); inline;
  6766. procedure setIC5EIE(thebits : TBits_1); inline;
  6767. procedure setIC5IE(thebits : TBits_1); inline;
  6768. procedure setINT0IE(thebits : TBits_1); inline;
  6769. procedure setINT1IE(thebits : TBits_1); inline;
  6770. procedure setINT2IE(thebits : TBits_1); inline;
  6771. procedure setINT3IE(thebits : TBits_1); inline;
  6772. procedure setINT4IE(thebits : TBits_1); inline;
  6773. procedure setOC1IE(thebits : TBits_1); inline;
  6774. procedure setOC2IE(thebits : TBits_1); inline;
  6775. procedure setOC3IE(thebits : TBits_1); inline;
  6776. procedure setOC4IE(thebits : TBits_1); inline;
  6777. procedure setOC5IE(thebits : TBits_1); inline;
  6778. procedure setRTCCIE(thebits : TBits_1); inline;
  6779. procedure setT1IE(thebits : TBits_1); inline;
  6780. procedure setT2IE(thebits : TBits_1); inline;
  6781. procedure setT3IE(thebits : TBits_1); inline;
  6782. procedure setT4IE(thebits : TBits_1); inline;
  6783. procedure setT5IE(thebits : TBits_1); inline;
  6784. procedure setw(thebits : TBits_32); inline;
  6785. public
  6786. procedure clearAD1IE; inline;
  6787. procedure clearCS0IE; inline;
  6788. procedure clearCS1IE; inline;
  6789. procedure clearCTIE; inline;
  6790. procedure clearFCEIE; inline;
  6791. procedure clearFSCMIE; inline;
  6792. procedure clearIC1EIE; inline;
  6793. procedure clearIC1IE; inline;
  6794. procedure clearIC2EIE; inline;
  6795. procedure clearIC2IE; inline;
  6796. procedure clearIC3EIE; inline;
  6797. procedure clearIC3IE; inline;
  6798. procedure clearIC4EIE; inline;
  6799. procedure clearIC4IE; inline;
  6800. procedure clearIC5EIE; inline;
  6801. procedure clearIC5IE; inline;
  6802. procedure clearINT0IE; inline;
  6803. procedure clearINT1IE; inline;
  6804. procedure clearINT2IE; inline;
  6805. procedure clearINT3IE; inline;
  6806. procedure clearINT4IE; inline;
  6807. procedure clearOC1IE; inline;
  6808. procedure clearOC2IE; inline;
  6809. procedure clearOC3IE; inline;
  6810. procedure clearOC4IE; inline;
  6811. procedure clearOC5IE; inline;
  6812. procedure clearRTCCIE; inline;
  6813. procedure clearT1IE; inline;
  6814. procedure clearT2IE; inline;
  6815. procedure clearT3IE; inline;
  6816. procedure clearT4IE; inline;
  6817. procedure clearT5IE; inline;
  6818. procedure setAD1IE; inline;
  6819. procedure setCS0IE; inline;
  6820. procedure setCS1IE; inline;
  6821. procedure setCTIE; inline;
  6822. procedure setFCEIE; inline;
  6823. procedure setFSCMIE; inline;
  6824. procedure setIC1EIE; inline;
  6825. procedure setIC1IE; inline;
  6826. procedure setIC2EIE; inline;
  6827. procedure setIC2IE; inline;
  6828. procedure setIC3EIE; inline;
  6829. procedure setIC3IE; inline;
  6830. procedure setIC4EIE; inline;
  6831. procedure setIC4IE; inline;
  6832. procedure setIC5EIE; inline;
  6833. procedure setIC5IE; inline;
  6834. procedure setINT0IE; inline;
  6835. procedure setINT1IE; inline;
  6836. procedure setINT2IE; inline;
  6837. procedure setINT3IE; inline;
  6838. procedure setINT4IE; inline;
  6839. procedure setOC1IE; inline;
  6840. procedure setOC2IE; inline;
  6841. procedure setOC3IE; inline;
  6842. procedure setOC4IE; inline;
  6843. procedure setOC5IE; inline;
  6844. procedure setRTCCIE; inline;
  6845. procedure setT1IE; inline;
  6846. procedure setT2IE; inline;
  6847. procedure setT3IE; inline;
  6848. procedure setT4IE; inline;
  6849. procedure setT5IE; inline;
  6850. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  6851. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  6852. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  6853. property CTIE : TBits_1 read getCTIE write setCTIE;
  6854. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  6855. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  6856. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  6857. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  6858. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  6859. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  6860. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  6861. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  6862. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  6863. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  6864. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  6865. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  6866. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  6867. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  6868. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  6869. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  6870. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  6871. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  6872. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  6873. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  6874. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  6875. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  6876. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  6877. property T1IE : TBits_1 read getT1IE write setT1IE;
  6878. property T2IE : TBits_1 read getT2IE write setT2IE;
  6879. property T3IE : TBits_1 read getT3IE write setT3IE;
  6880. property T4IE : TBits_1 read getT4IE write setT4IE;
  6881. property T5IE : TBits_1 read getT5IE write setT5IE;
  6882. property w : TBits_32 read getw write setw;
  6883. end;
  6884. TINT_IEC1 = record
  6885. private
  6886. function getCMP1IE : TBits_1; inline;
  6887. function getCMP2IE : TBits_1; inline;
  6888. function getCNAIE : TBits_1; inline;
  6889. function getCNBIE : TBits_1; inline;
  6890. function getCNCIE : TBits_1; inline;
  6891. function getCNDIE : TBits_1; inline;
  6892. function getCNEIE : TBits_1; inline;
  6893. function getCNFIE : TBits_1; inline;
  6894. function getCNGIE : TBits_1; inline;
  6895. function getI2C1BIE : TBits_1; inline;
  6896. function getI2C1MIE : TBits_1; inline;
  6897. function getI2C1SIE : TBits_1; inline;
  6898. function getI2C2BIE : TBits_1; inline;
  6899. function getI2C2MIE : TBits_1; inline;
  6900. function getI2C2SIE : TBits_1; inline;
  6901. function getPMPEIE : TBits_1; inline;
  6902. function getPMPIE : TBits_1; inline;
  6903. function getSPI1EIE : TBits_1; inline;
  6904. function getSPI1RXIE : TBits_1; inline;
  6905. function getSPI1TXIE : TBits_1; inline;
  6906. function getSPI2EIE : TBits_1; inline;
  6907. function getSPI2RXIE : TBits_1; inline;
  6908. function getSPI2TXIE : TBits_1; inline;
  6909. function getU1EIE : TBits_1; inline;
  6910. function getU1RXIE : TBits_1; inline;
  6911. function getU1TXIE : TBits_1; inline;
  6912. function getU2EIE : TBits_1; inline;
  6913. function getU2RXIE : TBits_1; inline;
  6914. function getU2TXIE : TBits_1; inline;
  6915. function getU3EIE : TBits_1; inline;
  6916. function getU3RXIE : TBits_1; inline;
  6917. function getUSBIE : TBits_1; inline;
  6918. function getw : TBits_32; inline;
  6919. procedure setCMP1IE(thebits : TBits_1); inline;
  6920. procedure setCMP2IE(thebits : TBits_1); inline;
  6921. procedure setCNAIE(thebits : TBits_1); inline;
  6922. procedure setCNBIE(thebits : TBits_1); inline;
  6923. procedure setCNCIE(thebits : TBits_1); inline;
  6924. procedure setCNDIE(thebits : TBits_1); inline;
  6925. procedure setCNEIE(thebits : TBits_1); inline;
  6926. procedure setCNFIE(thebits : TBits_1); inline;
  6927. procedure setCNGIE(thebits : TBits_1); inline;
  6928. procedure setI2C1BIE(thebits : TBits_1); inline;
  6929. procedure setI2C1MIE(thebits : TBits_1); inline;
  6930. procedure setI2C1SIE(thebits : TBits_1); inline;
  6931. procedure setI2C2BIE(thebits : TBits_1); inline;
  6932. procedure setI2C2MIE(thebits : TBits_1); inline;
  6933. procedure setI2C2SIE(thebits : TBits_1); inline;
  6934. procedure setPMPEIE(thebits : TBits_1); inline;
  6935. procedure setPMPIE(thebits : TBits_1); inline;
  6936. procedure setSPI1EIE(thebits : TBits_1); inline;
  6937. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6938. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6939. procedure setSPI2EIE(thebits : TBits_1); inline;
  6940. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6941. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6942. procedure setU1EIE(thebits : TBits_1); inline;
  6943. procedure setU1RXIE(thebits : TBits_1); inline;
  6944. procedure setU1TXIE(thebits : TBits_1); inline;
  6945. procedure setU2EIE(thebits : TBits_1); inline;
  6946. procedure setU2RXIE(thebits : TBits_1); inline;
  6947. procedure setU2TXIE(thebits : TBits_1); inline;
  6948. procedure setU3EIE(thebits : TBits_1); inline;
  6949. procedure setU3RXIE(thebits : TBits_1); inline;
  6950. procedure setUSBIE(thebits : TBits_1); inline;
  6951. procedure setw(thebits : TBits_32); inline;
  6952. public
  6953. procedure clearCMP1IE; inline;
  6954. procedure clearCMP2IE; inline;
  6955. procedure clearCNAIE; inline;
  6956. procedure clearCNBIE; inline;
  6957. procedure clearCNCIE; inline;
  6958. procedure clearCNDIE; inline;
  6959. procedure clearCNEIE; inline;
  6960. procedure clearCNFIE; inline;
  6961. procedure clearCNGIE; inline;
  6962. procedure clearI2C1BIE; inline;
  6963. procedure clearI2C1MIE; inline;
  6964. procedure clearI2C1SIE; inline;
  6965. procedure clearI2C2BIE; inline;
  6966. procedure clearI2C2MIE; inline;
  6967. procedure clearI2C2SIE; inline;
  6968. procedure clearPMPEIE; inline;
  6969. procedure clearPMPIE; inline;
  6970. procedure clearSPI1EIE; inline;
  6971. procedure clearSPI1RXIE; inline;
  6972. procedure clearSPI1TXIE; inline;
  6973. procedure clearSPI2EIE; inline;
  6974. procedure clearSPI2RXIE; inline;
  6975. procedure clearSPI2TXIE; inline;
  6976. procedure clearU1EIE; inline;
  6977. procedure clearU1RXIE; inline;
  6978. procedure clearU1TXIE; inline;
  6979. procedure clearU2EIE; inline;
  6980. procedure clearU2RXIE; inline;
  6981. procedure clearU2TXIE; inline;
  6982. procedure clearU3EIE; inline;
  6983. procedure clearU3RXIE; inline;
  6984. procedure clearUSBIE; inline;
  6985. procedure setCMP1IE; inline;
  6986. procedure setCMP2IE; inline;
  6987. procedure setCNAIE; inline;
  6988. procedure setCNBIE; inline;
  6989. procedure setCNCIE; inline;
  6990. procedure setCNDIE; inline;
  6991. procedure setCNEIE; inline;
  6992. procedure setCNFIE; inline;
  6993. procedure setCNGIE; inline;
  6994. procedure setI2C1BIE; inline;
  6995. procedure setI2C1MIE; inline;
  6996. procedure setI2C1SIE; inline;
  6997. procedure setI2C2BIE; inline;
  6998. procedure setI2C2MIE; inline;
  6999. procedure setI2C2SIE; inline;
  7000. procedure setPMPEIE; inline;
  7001. procedure setPMPIE; inline;
  7002. procedure setSPI1EIE; inline;
  7003. procedure setSPI1RXIE; inline;
  7004. procedure setSPI1TXIE; inline;
  7005. procedure setSPI2EIE; inline;
  7006. procedure setSPI2RXIE; inline;
  7007. procedure setSPI2TXIE; inline;
  7008. procedure setU1EIE; inline;
  7009. procedure setU1RXIE; inline;
  7010. procedure setU1TXIE; inline;
  7011. procedure setU2EIE; inline;
  7012. procedure setU2RXIE; inline;
  7013. procedure setU2TXIE; inline;
  7014. procedure setU3EIE; inline;
  7015. procedure setU3RXIE; inline;
  7016. procedure setUSBIE; inline;
  7017. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  7018. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  7019. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  7020. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  7021. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  7022. property CNDIE : TBits_1 read getCNDIE write setCNDIE;
  7023. property CNEIE : TBits_1 read getCNEIE write setCNEIE;
  7024. property CNFIE : TBits_1 read getCNFIE write setCNFIE;
  7025. property CNGIE : TBits_1 read getCNGIE write setCNGIE;
  7026. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  7027. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  7028. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  7029. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  7030. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  7031. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  7032. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  7033. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  7034. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  7035. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  7036. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  7037. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  7038. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  7039. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  7040. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  7041. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  7042. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  7043. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  7044. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  7045. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  7046. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  7047. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  7048. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  7049. property w : TBits_32 read getw write setw;
  7050. end;
  7051. TINT_IPC0 = record
  7052. private
  7053. function getCS0IP : TBits_3; inline;
  7054. function getCS0IS : TBits_2; inline;
  7055. function getCS1IP : TBits_3; inline;
  7056. function getCS1IS : TBits_2; inline;
  7057. function getCTIP : TBits_3; inline;
  7058. function getCTIS : TBits_2; inline;
  7059. function getINT0IP : TBits_3; inline;
  7060. function getINT0IS : TBits_2; inline;
  7061. function getw : TBits_32; inline;
  7062. procedure setCS0IP(thebits : TBits_3); inline;
  7063. procedure setCS0IS(thebits : TBits_2); inline;
  7064. procedure setCS1IP(thebits : TBits_3); inline;
  7065. procedure setCS1IS(thebits : TBits_2); inline;
  7066. procedure setCTIP(thebits : TBits_3); inline;
  7067. procedure setCTIS(thebits : TBits_2); inline;
  7068. procedure setINT0IP(thebits : TBits_3); inline;
  7069. procedure setINT0IS(thebits : TBits_2); inline;
  7070. procedure setw(thebits : TBits_32); inline;
  7071. public
  7072. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  7073. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  7074. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  7075. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  7076. property CTIP : TBits_3 read getCTIP write setCTIP;
  7077. property CTIS : TBits_2 read getCTIS write setCTIS;
  7078. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  7079. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  7080. property w : TBits_32 read getw write setw;
  7081. end;
  7082. TINT_IPC1 = record
  7083. private
  7084. function getIC1IP : TBits_3; inline;
  7085. function getIC1IS : TBits_2; inline;
  7086. function getINT1IP : TBits_3; inline;
  7087. function getINT1IS : TBits_2; inline;
  7088. function getOC1IP : TBits_3; inline;
  7089. function getOC1IS : TBits_2; inline;
  7090. function getT1IP : TBits_3; inline;
  7091. function getT1IS : TBits_2; inline;
  7092. function getw : TBits_32; inline;
  7093. procedure setIC1IP(thebits : TBits_3); inline;
  7094. procedure setIC1IS(thebits : TBits_2); inline;
  7095. procedure setINT1IP(thebits : TBits_3); inline;
  7096. procedure setINT1IS(thebits : TBits_2); inline;
  7097. procedure setOC1IP(thebits : TBits_3); inline;
  7098. procedure setOC1IS(thebits : TBits_2); inline;
  7099. procedure setT1IP(thebits : TBits_3); inline;
  7100. procedure setT1IS(thebits : TBits_2); inline;
  7101. procedure setw(thebits : TBits_32); inline;
  7102. public
  7103. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  7104. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  7105. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  7106. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  7107. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  7108. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  7109. property T1IP : TBits_3 read getT1IP write setT1IP;
  7110. property T1IS : TBits_2 read getT1IS write setT1IS;
  7111. property w : TBits_32 read getw write setw;
  7112. end;
  7113. TINT_IPC2 = record
  7114. private
  7115. function getIC2IP : TBits_3; inline;
  7116. function getIC2IS : TBits_2; inline;
  7117. function getINT2IP : TBits_3; inline;
  7118. function getINT2IS : TBits_2; inline;
  7119. function getOC2IP : TBits_3; inline;
  7120. function getOC2IS : TBits_2; inline;
  7121. function getT2IP : TBits_3; inline;
  7122. function getT2IS : TBits_2; inline;
  7123. function getw : TBits_32; inline;
  7124. procedure setIC2IP(thebits : TBits_3); inline;
  7125. procedure setIC2IS(thebits : TBits_2); inline;
  7126. procedure setINT2IP(thebits : TBits_3); inline;
  7127. procedure setINT2IS(thebits : TBits_2); inline;
  7128. procedure setOC2IP(thebits : TBits_3); inline;
  7129. procedure setOC2IS(thebits : TBits_2); inline;
  7130. procedure setT2IP(thebits : TBits_3); inline;
  7131. procedure setT2IS(thebits : TBits_2); inline;
  7132. procedure setw(thebits : TBits_32); inline;
  7133. public
  7134. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  7135. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  7136. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  7137. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  7138. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  7139. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  7140. property T2IP : TBits_3 read getT2IP write setT2IP;
  7141. property T2IS : TBits_2 read getT2IS write setT2IS;
  7142. property w : TBits_32 read getw write setw;
  7143. end;
  7144. TINT_IPC3 = record
  7145. private
  7146. function getIC3IP : TBits_3; inline;
  7147. function getIC3IS : TBits_2; inline;
  7148. function getINT3IP : TBits_3; inline;
  7149. function getINT3IS : TBits_2; inline;
  7150. function getOC3IP : TBits_3; inline;
  7151. function getOC3IS : TBits_2; inline;
  7152. function getT3IP : TBits_3; inline;
  7153. function getT3IS : TBits_2; inline;
  7154. function getw : TBits_32; inline;
  7155. procedure setIC3IP(thebits : TBits_3); inline;
  7156. procedure setIC3IS(thebits : TBits_2); inline;
  7157. procedure setINT3IP(thebits : TBits_3); inline;
  7158. procedure setINT3IS(thebits : TBits_2); inline;
  7159. procedure setOC3IP(thebits : TBits_3); inline;
  7160. procedure setOC3IS(thebits : TBits_2); inline;
  7161. procedure setT3IP(thebits : TBits_3); inline;
  7162. procedure setT3IS(thebits : TBits_2); inline;
  7163. procedure setw(thebits : TBits_32); inline;
  7164. public
  7165. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  7166. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  7167. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  7168. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  7169. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  7170. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  7171. property T3IP : TBits_3 read getT3IP write setT3IP;
  7172. property T3IS : TBits_2 read getT3IS write setT3IS;
  7173. property w : TBits_32 read getw write setw;
  7174. end;
  7175. TINT_IPC4 = record
  7176. private
  7177. function getIC4IP : TBits_3; inline;
  7178. function getIC4IS : TBits_2; inline;
  7179. function getINT4IP : TBits_3; inline;
  7180. function getINT4IS : TBits_2; inline;
  7181. function getOC4IP : TBits_3; inline;
  7182. function getOC4IS : TBits_2; inline;
  7183. function getT4IP : TBits_3; inline;
  7184. function getT4IS : TBits_2; inline;
  7185. function getw : TBits_32; inline;
  7186. procedure setIC4IP(thebits : TBits_3); inline;
  7187. procedure setIC4IS(thebits : TBits_2); inline;
  7188. procedure setINT4IP(thebits : TBits_3); inline;
  7189. procedure setINT4IS(thebits : TBits_2); inline;
  7190. procedure setOC4IP(thebits : TBits_3); inline;
  7191. procedure setOC4IS(thebits : TBits_2); inline;
  7192. procedure setT4IP(thebits : TBits_3); inline;
  7193. procedure setT4IS(thebits : TBits_2); inline;
  7194. procedure setw(thebits : TBits_32); inline;
  7195. public
  7196. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  7197. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  7198. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  7199. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  7200. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  7201. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  7202. property T4IP : TBits_3 read getT4IP write setT4IP;
  7203. property T4IS : TBits_2 read getT4IS write setT4IS;
  7204. property w : TBits_32 read getw write setw;
  7205. end;
  7206. TINT_IPC5 = record
  7207. private
  7208. function getAD1IP : TBits_3; inline;
  7209. function getAD1IS : TBits_2; inline;
  7210. function getIC5IP : TBits_3; inline;
  7211. function getIC5IS : TBits_2; inline;
  7212. function getOC5IP : TBits_3; inline;
  7213. function getOC5IS : TBits_2; inline;
  7214. function getT5IP : TBits_3; inline;
  7215. function getT5IS : TBits_2; inline;
  7216. function getw : TBits_32; inline;
  7217. procedure setAD1IP(thebits : TBits_3); inline;
  7218. procedure setAD1IS(thebits : TBits_2); inline;
  7219. procedure setIC5IP(thebits : TBits_3); inline;
  7220. procedure setIC5IS(thebits : TBits_2); inline;
  7221. procedure setOC5IP(thebits : TBits_3); inline;
  7222. procedure setOC5IS(thebits : TBits_2); inline;
  7223. procedure setT5IP(thebits : TBits_3); inline;
  7224. procedure setT5IS(thebits : TBits_2); inline;
  7225. procedure setw(thebits : TBits_32); inline;
  7226. public
  7227. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  7228. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  7229. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  7230. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  7231. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  7232. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  7233. property T5IP : TBits_3 read getT5IP write setT5IP;
  7234. property T5IS : TBits_2 read getT5IS write setT5IS;
  7235. property w : TBits_32 read getw write setw;
  7236. end;
  7237. TINT_IPC6 = record
  7238. private
  7239. function getCMP1IP : TBits_3; inline;
  7240. function getCMP1IS : TBits_2; inline;
  7241. function getFCEIP : TBits_3; inline;
  7242. function getFCEIS : TBits_2; inline;
  7243. function getFSCMIP : TBits_3; inline;
  7244. function getFSCMIS : TBits_2; inline;
  7245. function getRTCCIP : TBits_3; inline;
  7246. function getRTCCIS : TBits_2; inline;
  7247. function getw : TBits_32; inline;
  7248. procedure setCMP1IP(thebits : TBits_3); inline;
  7249. procedure setCMP1IS(thebits : TBits_2); inline;
  7250. procedure setFCEIP(thebits : TBits_3); inline;
  7251. procedure setFCEIS(thebits : TBits_2); inline;
  7252. procedure setFSCMIP(thebits : TBits_3); inline;
  7253. procedure setFSCMIS(thebits : TBits_2); inline;
  7254. procedure setRTCCIP(thebits : TBits_3); inline;
  7255. procedure setRTCCIS(thebits : TBits_2); inline;
  7256. procedure setw(thebits : TBits_32); inline;
  7257. public
  7258. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  7259. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  7260. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  7261. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  7262. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  7263. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  7264. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  7265. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  7266. property w : TBits_32 read getw write setw;
  7267. end;
  7268. TINT_IPC7 = record
  7269. private
  7270. function getCMP2IP : TBits_3; inline;
  7271. function getCMP2IS : TBits_2; inline;
  7272. function getSPI1IP : TBits_3; inline;
  7273. function getSPI1IS : TBits_2; inline;
  7274. function getU1IP : TBits_3; inline;
  7275. function getU1IS : TBits_2; inline;
  7276. function getUSBIP : TBits_3; inline;
  7277. function getUSBIS : TBits_2; inline;
  7278. function getw : TBits_32; inline;
  7279. procedure setCMP2IP(thebits : TBits_3); inline;
  7280. procedure setCMP2IS(thebits : TBits_2); inline;
  7281. procedure setSPI1IP(thebits : TBits_3); inline;
  7282. procedure setSPI1IS(thebits : TBits_2); inline;
  7283. procedure setU1IP(thebits : TBits_3); inline;
  7284. procedure setU1IS(thebits : TBits_2); inline;
  7285. procedure setUSBIP(thebits : TBits_3); inline;
  7286. procedure setUSBIS(thebits : TBits_2); inline;
  7287. procedure setw(thebits : TBits_32); inline;
  7288. public
  7289. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  7290. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  7291. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  7292. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  7293. property U1IP : TBits_3 read getU1IP write setU1IP;
  7294. property U1IS : TBits_2 read getU1IS write setU1IS;
  7295. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  7296. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  7297. property w : TBits_32 read getw write setw;
  7298. end;
  7299. TINT_IPC8 = record
  7300. private
  7301. function getCNIP : TBits_3; inline;
  7302. function getCNIS : TBits_2; inline;
  7303. function getI2C1IP : TBits_3; inline;
  7304. function getI2C1IS : TBits_2; inline;
  7305. function getPMPIP : TBits_3; inline;
  7306. function getPMPIS : TBits_2; inline;
  7307. function getSPI2IP : TBits_3; inline;
  7308. function getSPI2IS : TBits_2; inline;
  7309. function getw : TBits_32; inline;
  7310. procedure setCNIP(thebits : TBits_3); inline;
  7311. procedure setCNIS(thebits : TBits_2); inline;
  7312. procedure setI2C1IP(thebits : TBits_3); inline;
  7313. procedure setI2C1IS(thebits : TBits_2); inline;
  7314. procedure setPMPIP(thebits : TBits_3); inline;
  7315. procedure setPMPIS(thebits : TBits_2); inline;
  7316. procedure setSPI2IP(thebits : TBits_3); inline;
  7317. procedure setSPI2IS(thebits : TBits_2); inline;
  7318. procedure setw(thebits : TBits_32); inline;
  7319. public
  7320. property CNIP : TBits_3 read getCNIP write setCNIP;
  7321. property CNIS : TBits_2 read getCNIS write setCNIS;
  7322. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  7323. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  7324. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  7325. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  7326. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  7327. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  7328. property w : TBits_32 read getw write setw;
  7329. end;
  7330. TINT_IPC9 = record
  7331. private
  7332. function getI2C2IP : TBits_3; inline;
  7333. function getI2C2IS : TBits_2; inline;
  7334. function getU2IP : TBits_3; inline;
  7335. function getU2IS : TBits_2; inline;
  7336. function getU3IP : TBits_3; inline;
  7337. function getU3IS : TBits_2; inline;
  7338. function getU4IP : TBits_3; inline;
  7339. function getU4IS : TBits_2; inline;
  7340. function getw : TBits_32; inline;
  7341. procedure setI2C2IP(thebits : TBits_3); inline;
  7342. procedure setI2C2IS(thebits : TBits_2); inline;
  7343. procedure setU2IP(thebits : TBits_3); inline;
  7344. procedure setU2IS(thebits : TBits_2); inline;
  7345. procedure setU3IP(thebits : TBits_3); inline;
  7346. procedure setU3IS(thebits : TBits_2); inline;
  7347. procedure setU4IP(thebits : TBits_3); inline;
  7348. procedure setU4IS(thebits : TBits_2); inline;
  7349. procedure setw(thebits : TBits_32); inline;
  7350. public
  7351. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  7352. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  7353. property U2IP : TBits_3 read getU2IP write setU2IP;
  7354. property U2IS : TBits_2 read getU2IS write setU2IS;
  7355. property U3IP : TBits_3 read getU3IP write setU3IP;
  7356. property U3IS : TBits_2 read getU3IS write setU3IS;
  7357. property U4IP : TBits_3 read getU4IP write setU4IP;
  7358. property U4IS : TBits_2 read getU4IS write setU4IS;
  7359. property w : TBits_32 read getw write setw;
  7360. end;
  7361. TINT_IPC10 = record
  7362. private
  7363. function getCTMUIP : TBits_2; inline;
  7364. function getCTMUIS : TBits_3; inline;
  7365. function getDMA0IP : TBits_3; inline;
  7366. function getDMA0IS : TBits_2; inline;
  7367. function getDMA1IP : TBits_3; inline;
  7368. function getDMA1IS : TBits_2; inline;
  7369. function getw : TBits_32; inline;
  7370. procedure setCTMUIP(thebits : TBits_2); inline;
  7371. procedure setCTMUIS(thebits : TBits_3); inline;
  7372. procedure setDMA0IP(thebits : TBits_3); inline;
  7373. procedure setDMA0IS(thebits : TBits_2); inline;
  7374. procedure setDMA1IP(thebits : TBits_3); inline;
  7375. procedure setDMA1IS(thebits : TBits_2); inline;
  7376. procedure setw(thebits : TBits_32); inline;
  7377. public
  7378. property CTMUIP : TBits_2 read getCTMUIP write setCTMUIP;
  7379. property CTMUIS : TBits_3 read getCTMUIS write setCTMUIS;
  7380. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  7381. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  7382. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  7383. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  7384. property w : TBits_32 read getw write setw;
  7385. end;
  7386. TINT_IPC11 = record
  7387. private
  7388. function getDMA2IP : TBits_3; inline;
  7389. function getDMA2IS : TBits_2; inline;
  7390. function getDMA3IP : TBits_3; inline;
  7391. function getDMA3IS : TBits_2; inline;
  7392. function getw : TBits_32; inline;
  7393. procedure setDMA2IP(thebits : TBits_3); inline;
  7394. procedure setDMA2IS(thebits : TBits_2); inline;
  7395. procedure setDMA3IP(thebits : TBits_3); inline;
  7396. procedure setDMA3IS(thebits : TBits_2); inline;
  7397. procedure setw(thebits : TBits_32); inline;
  7398. public
  7399. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  7400. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  7401. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  7402. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  7403. property w : TBits_32 read getw write setw;
  7404. end;
  7405. type
  7406. TINTRegisters = record
  7407. INTCONbits : TINT_INTCON;
  7408. INTCON : longWord;
  7409. INTCONCLR : longWord;
  7410. INTCONSET : longWord;
  7411. INTCONINV : longWord;
  7412. INTSTAT : longWord;
  7413. IPTMR : longWord;
  7414. IPTMRCLR : longWord;
  7415. IPTMRSET : longWord;
  7416. IPTMRINV : longWord;
  7417. IFS0bits : TINT_IFS0;
  7418. IFS0 : longWord;
  7419. IFS0CLR : longWord;
  7420. IFS0SET : longWord;
  7421. IFS0INV : longWord;
  7422. IFS1bits : TINT_IFS1;
  7423. IFS1 : longWord;
  7424. IFS1CLR : longWord;
  7425. IFS1SET : longWord;
  7426. IFS1INV : longWord;
  7427. IFS2 : longWord;
  7428. IFS2CLR : longWord;
  7429. IFS2SET : longWord;
  7430. IFS2INV : longWord;
  7431. IEC0bits : TINT_IEC0;
  7432. IEC0 : longWord;
  7433. IEC0CLR : longWord;
  7434. IEC0SET : longWord;
  7435. IEC0INV : longWord;
  7436. IEC1bits : TINT_IEC1;
  7437. IEC1 : longWord;
  7438. IEC1CLR : longWord;
  7439. IEC1SET : longWord;
  7440. IEC1INV : longWord;
  7441. IEC2 : longWord;
  7442. IEC2CLR : longWord;
  7443. IEC2SET : longWord;
  7444. IEC2INV : longWord;
  7445. IPC0bits : TINT_IPC0;
  7446. IPC0 : longWord;
  7447. IPC0CLR : longWord;
  7448. IPC0SET : longWord;
  7449. IPC0INV : longWord;
  7450. IPC1bits : TINT_IPC1;
  7451. IPC1 : longWord;
  7452. IPC1CLR : longWord;
  7453. IPC1SET : longWord;
  7454. IPC1INV : longWord;
  7455. IPC2bits : TINT_IPC2;
  7456. IPC2 : longWord;
  7457. IPC2CLR : longWord;
  7458. IPC2SET : longWord;
  7459. IPC2INV : longWord;
  7460. IPC3bits : TINT_IPC3;
  7461. IPC3 : longWord;
  7462. IPC3CLR : longWord;
  7463. IPC3SET : longWord;
  7464. IPC3INV : longWord;
  7465. IPC4bits : TINT_IPC4;
  7466. IPC4 : longWord;
  7467. IPC4CLR : longWord;
  7468. IPC4SET : longWord;
  7469. IPC4INV : longWord;
  7470. IPC5bits : TINT_IPC5;
  7471. IPC5 : longWord;
  7472. IPC5CLR : longWord;
  7473. IPC5SET : longWord;
  7474. IPC5INV : longWord;
  7475. IPC6bits : TINT_IPC6;
  7476. IPC6 : longWord;
  7477. IPC6CLR : longWord;
  7478. IPC6SET : longWord;
  7479. IPC6INV : longWord;
  7480. IPC7bits : TINT_IPC7;
  7481. IPC7 : longWord;
  7482. IPC7CLR : longWord;
  7483. IPC7SET : longWord;
  7484. IPC7INV : longWord;
  7485. IPC8bits : TINT_IPC8;
  7486. IPC8 : longWord;
  7487. IPC8CLR : longWord;
  7488. IPC8SET : longWord;
  7489. IPC8INV : longWord;
  7490. IPC9bits : TINT_IPC9;
  7491. IPC9 : longWord;
  7492. IPC9CLR : longWord;
  7493. IPC9SET : longWord;
  7494. IPC9INV : longWord;
  7495. IPC10bits : TINT_IPC10;
  7496. IPC10 : longWord;
  7497. IPC10CLR : longWord;
  7498. IPC10SET : longWord;
  7499. IPC10INV : longWord;
  7500. IPC11bits : TINT_IPC11;
  7501. IPC11 : longWord;
  7502. IPC11CLR : longWord;
  7503. IPC11SET : longWord;
  7504. IPC11INV : longWord;
  7505. end;
  7506. TBMX_BMXCON = record
  7507. private
  7508. function getBMXARB : TBits_3; inline;
  7509. function getBMXCHEDMA : TBits_1; inline;
  7510. function getBMXERRDMA : TBits_1; inline;
  7511. function getBMXERRDS : TBits_1; inline;
  7512. function getBMXERRICD : TBits_1; inline;
  7513. function getBMXERRIS : TBits_1; inline;
  7514. function getBMXERRIXI : TBits_1; inline;
  7515. function getBMXWSDRM : TBits_1; inline;
  7516. function getw : TBits_32; inline;
  7517. procedure setBMXARB(thebits : TBits_3); inline;
  7518. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  7519. procedure setBMXERRDMA(thebits : TBits_1); inline;
  7520. procedure setBMXERRDS(thebits : TBits_1); inline;
  7521. procedure setBMXERRICD(thebits : TBits_1); inline;
  7522. procedure setBMXERRIS(thebits : TBits_1); inline;
  7523. procedure setBMXERRIXI(thebits : TBits_1); inline;
  7524. procedure setBMXWSDRM(thebits : TBits_1); inline;
  7525. procedure setw(thebits : TBits_32); inline;
  7526. public
  7527. procedure clearBMXCHEDMA; inline;
  7528. procedure clearBMXERRDMA; inline;
  7529. procedure clearBMXERRDS; inline;
  7530. procedure clearBMXERRICD; inline;
  7531. procedure clearBMXERRIS; inline;
  7532. procedure clearBMXERRIXI; inline;
  7533. procedure clearBMXWSDRM; inline;
  7534. procedure setBMXCHEDMA; inline;
  7535. procedure setBMXERRDMA; inline;
  7536. procedure setBMXERRDS; inline;
  7537. procedure setBMXERRICD; inline;
  7538. procedure setBMXERRIS; inline;
  7539. procedure setBMXERRIXI; inline;
  7540. procedure setBMXWSDRM; inline;
  7541. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  7542. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  7543. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  7544. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  7545. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  7546. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  7547. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  7548. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  7549. property w : TBits_32 read getw write setw;
  7550. end;
  7551. type
  7552. TBMXRegisters = record
  7553. BMXCONbits : TBMX_BMXCON;
  7554. BMXCON : longWord;
  7555. BMXCONCLR : longWord;
  7556. BMXCONSET : longWord;
  7557. BMXCONINV : longWord;
  7558. BMXDKPBA : longWord;
  7559. BMXDKPBACLR : longWord;
  7560. BMXDKPBASET : longWord;
  7561. BMXDKPBAINV : longWord;
  7562. BMXDUDBA : longWord;
  7563. BMXDUDBACLR : longWord;
  7564. BMXDUDBASET : longWord;
  7565. BMXDUDBAINV : longWord;
  7566. BMXDUPBA : longWord;
  7567. BMXDUPBACLR : longWord;
  7568. BMXDUPBASET : longWord;
  7569. BMXDUPBAINV : longWord;
  7570. BMXDRMSZ : longWord;
  7571. BMXPUPBA : longWord;
  7572. BMXPUPBACLR : longWord;
  7573. BMXPUPBASET : longWord;
  7574. BMXPUPBAINV : longWord;
  7575. BMXPFMSZ : longWord;
  7576. BMXBOOTSZ : longWord;
  7577. end;
  7578. TDMAC_DMACON = record
  7579. private
  7580. function getDMABUSY : TBits_1; inline;
  7581. function getON : TBits_1; inline;
  7582. function getSUSPEND : TBits_1; inline;
  7583. function getw : TBits_32; inline;
  7584. procedure setDMABUSY(thebits : TBits_1); inline;
  7585. procedure setON(thebits : TBits_1); inline;
  7586. procedure setSUSPEND(thebits : TBits_1); inline;
  7587. procedure setw(thebits : TBits_32); inline;
  7588. public
  7589. procedure clearDMABUSY; inline;
  7590. procedure clearON; inline;
  7591. procedure clearSUSPEND; inline;
  7592. procedure setDMABUSY; inline;
  7593. procedure setON; inline;
  7594. procedure setSUSPEND; inline;
  7595. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  7596. property ON : TBits_1 read getON write setON;
  7597. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  7598. property w : TBits_32 read getw write setw;
  7599. end;
  7600. TDMAC_DMASTAT = record
  7601. private
  7602. function getDMACH : TBits_3; inline;
  7603. function getRDWR : TBits_1; inline;
  7604. function getw : TBits_32; inline;
  7605. procedure setDMACH(thebits : TBits_3); inline;
  7606. procedure setRDWR(thebits : TBits_1); inline;
  7607. procedure setw(thebits : TBits_32); inline;
  7608. public
  7609. procedure clearRDWR; inline;
  7610. procedure setRDWR; inline;
  7611. property DMACH : TBits_3 read getDMACH write setDMACH;
  7612. property RDWR : TBits_1 read getRDWR write setRDWR;
  7613. property w : TBits_32 read getw write setw;
  7614. end;
  7615. TDMAC_DCRCCON = record
  7616. private
  7617. function getBITO : TBits_1; inline;
  7618. function getBYTO : TBits_2; inline;
  7619. function getCRCAPP : TBits_1; inline;
  7620. function getCRCCH : TBits_3; inline;
  7621. function getCRCEN : TBits_1; inline;
  7622. function getCRCTYP : TBits_1; inline;
  7623. function getPLEN : TBits_5; inline;
  7624. function getWBO : TBits_1; inline;
  7625. function getw : TBits_32; inline;
  7626. procedure setBITO(thebits : TBits_1); inline;
  7627. procedure setBYTO(thebits : TBits_2); inline;
  7628. procedure setCRCAPP(thebits : TBits_1); inline;
  7629. procedure setCRCCH(thebits : TBits_3); inline;
  7630. procedure setCRCEN(thebits : TBits_1); inline;
  7631. procedure setCRCTYP(thebits : TBits_1); inline;
  7632. procedure setPLEN(thebits : TBits_5); inline;
  7633. procedure setWBO(thebits : TBits_1); inline;
  7634. procedure setw(thebits : TBits_32); inline;
  7635. public
  7636. procedure clearBITO; inline;
  7637. procedure clearCRCAPP; inline;
  7638. procedure clearCRCEN; inline;
  7639. procedure clearCRCTYP; inline;
  7640. procedure clearWBO; inline;
  7641. procedure setBITO; inline;
  7642. procedure setCRCAPP; inline;
  7643. procedure setCRCEN; inline;
  7644. procedure setCRCTYP; inline;
  7645. procedure setWBO; inline;
  7646. property BITO : TBits_1 read getBITO write setBITO;
  7647. property BYTO : TBits_2 read getBYTO write setBYTO;
  7648. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  7649. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  7650. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  7651. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  7652. property PLEN : TBits_5 read getPLEN write setPLEN;
  7653. property WBO : TBits_1 read getWBO write setWBO;
  7654. property w : TBits_32 read getw write setw;
  7655. end;
  7656. type
  7657. TDMACRegisters = record
  7658. DMACONbits : TDMAC_DMACON;
  7659. DMACON : longWord;
  7660. DMACONCLR : longWord;
  7661. DMACONSET : longWord;
  7662. DMACONINV : longWord;
  7663. DMASTATbits : TDMAC_DMASTAT;
  7664. DMASTAT : longWord;
  7665. DMASTATCLR : longWord;
  7666. DMASTATSET : longWord;
  7667. DMASTATINV : longWord;
  7668. DMAADDR : longWord;
  7669. DMAADDRCLR : longWord;
  7670. DMAADDRSET : longWord;
  7671. DMAADDRINV : longWord;
  7672. DCRCCONbits : TDMAC_DCRCCON;
  7673. DCRCCON : longWord;
  7674. DCRCCONCLR : longWord;
  7675. DCRCCONSET : longWord;
  7676. DCRCCONINV : longWord;
  7677. DCRCDATA : longWord;
  7678. DCRCDATACLR : longWord;
  7679. DCRCDATASET : longWord;
  7680. DCRCDATAINV : longWord;
  7681. DCRCXOR : longWord;
  7682. DCRCXORCLR : longWord;
  7683. DCRCXORSET : longWord;
  7684. DCRCXORINV : longWord;
  7685. end;
  7686. TDMAC0_DCH0CON = record
  7687. private
  7688. function getCHAED : TBits_1; inline;
  7689. function getCHAEN : TBits_1; inline;
  7690. function getCHBUSY : TBits_1; inline;
  7691. function getCHCHN : TBits_1; inline;
  7692. function getCHCHNS : TBits_1; inline;
  7693. function getCHEDET : TBits_1; inline;
  7694. function getCHEN : TBits_1; inline;
  7695. function getCHPRI : TBits_2; inline;
  7696. function getw : TBits_32; inline;
  7697. procedure setCHAED(thebits : TBits_1); inline;
  7698. procedure setCHAEN(thebits : TBits_1); inline;
  7699. procedure setCHBUSY(thebits : TBits_1); inline;
  7700. procedure setCHCHN(thebits : TBits_1); inline;
  7701. procedure setCHCHNS(thebits : TBits_1); inline;
  7702. procedure setCHEDET(thebits : TBits_1); inline;
  7703. procedure setCHEN(thebits : TBits_1); inline;
  7704. procedure setCHPRI(thebits : TBits_2); inline;
  7705. procedure setw(thebits : TBits_32); inline;
  7706. public
  7707. procedure clearCHAED; inline;
  7708. procedure clearCHAEN; inline;
  7709. procedure clearCHBUSY; inline;
  7710. procedure clearCHCHN; inline;
  7711. procedure clearCHCHNS; inline;
  7712. procedure clearCHEDET; inline;
  7713. procedure clearCHEN; inline;
  7714. procedure setCHAED; inline;
  7715. procedure setCHAEN; inline;
  7716. procedure setCHBUSY; inline;
  7717. procedure setCHCHN; inline;
  7718. procedure setCHCHNS; inline;
  7719. procedure setCHEDET; inline;
  7720. procedure setCHEN; inline;
  7721. property CHAED : TBits_1 read getCHAED write setCHAED;
  7722. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7723. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7724. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7725. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7726. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7727. property CHEN : TBits_1 read getCHEN write setCHEN;
  7728. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7729. property w : TBits_32 read getw write setw;
  7730. end;
  7731. TDMAC0_DCH0ECON = record
  7732. private
  7733. function getAIRQEN : TBits_1; inline;
  7734. function getCABORT : TBits_1; inline;
  7735. function getCFORCE : TBits_1; inline;
  7736. function getCHAIRQ : TBits_8; inline;
  7737. function getCHSIRQ : TBits_8; inline;
  7738. function getPATEN : TBits_1; inline;
  7739. function getSIRQEN : TBits_1; inline;
  7740. function getw : TBits_32; inline;
  7741. procedure setAIRQEN(thebits : TBits_1); inline;
  7742. procedure setCABORT(thebits : TBits_1); inline;
  7743. procedure setCFORCE(thebits : TBits_1); inline;
  7744. procedure setCHAIRQ(thebits : TBits_8); inline;
  7745. procedure setCHSIRQ(thebits : TBits_8); inline;
  7746. procedure setPATEN(thebits : TBits_1); inline;
  7747. procedure setSIRQEN(thebits : TBits_1); inline;
  7748. procedure setw(thebits : TBits_32); inline;
  7749. public
  7750. procedure clearAIRQEN; inline;
  7751. procedure clearCABORT; inline;
  7752. procedure clearCFORCE; inline;
  7753. procedure clearPATEN; inline;
  7754. procedure clearSIRQEN; inline;
  7755. procedure setAIRQEN; inline;
  7756. procedure setCABORT; inline;
  7757. procedure setCFORCE; inline;
  7758. procedure setPATEN; inline;
  7759. procedure setSIRQEN; inline;
  7760. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7761. property CABORT : TBits_1 read getCABORT write setCABORT;
  7762. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7763. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7764. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7765. property PATEN : TBits_1 read getPATEN write setPATEN;
  7766. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7767. property w : TBits_32 read getw write setw;
  7768. end;
  7769. TDMAC0_DCH0INT = record
  7770. private
  7771. function getCHBCIE : TBits_1; inline;
  7772. function getCHBCIF : TBits_1; inline;
  7773. function getCHCCIE : TBits_1; inline;
  7774. function getCHCCIF : TBits_1; inline;
  7775. function getCHDDIE : TBits_1; inline;
  7776. function getCHDDIF : TBits_1; inline;
  7777. function getCHDHIE : TBits_1; inline;
  7778. function getCHDHIF : TBits_1; inline;
  7779. function getCHERIE : TBits_1; inline;
  7780. function getCHERIF : TBits_1; inline;
  7781. function getCHSDIE : TBits_1; inline;
  7782. function getCHSDIF : TBits_1; inline;
  7783. function getCHSHIE : TBits_1; inline;
  7784. function getCHSHIF : TBits_1; inline;
  7785. function getCHTAIE : TBits_1; inline;
  7786. function getCHTAIF : TBits_1; inline;
  7787. function getw : TBits_32; inline;
  7788. procedure setCHBCIE(thebits : TBits_1); inline;
  7789. procedure setCHBCIF(thebits : TBits_1); inline;
  7790. procedure setCHCCIE(thebits : TBits_1); inline;
  7791. procedure setCHCCIF(thebits : TBits_1); inline;
  7792. procedure setCHDDIE(thebits : TBits_1); inline;
  7793. procedure setCHDDIF(thebits : TBits_1); inline;
  7794. procedure setCHDHIE(thebits : TBits_1); inline;
  7795. procedure setCHDHIF(thebits : TBits_1); inline;
  7796. procedure setCHERIE(thebits : TBits_1); inline;
  7797. procedure setCHERIF(thebits : TBits_1); inline;
  7798. procedure setCHSDIE(thebits : TBits_1); inline;
  7799. procedure setCHSDIF(thebits : TBits_1); inline;
  7800. procedure setCHSHIE(thebits : TBits_1); inline;
  7801. procedure setCHSHIF(thebits : TBits_1); inline;
  7802. procedure setCHTAIE(thebits : TBits_1); inline;
  7803. procedure setCHTAIF(thebits : TBits_1); inline;
  7804. procedure setw(thebits : TBits_32); inline;
  7805. public
  7806. procedure clearCHBCIE; inline;
  7807. procedure clearCHBCIF; inline;
  7808. procedure clearCHCCIE; inline;
  7809. procedure clearCHCCIF; inline;
  7810. procedure clearCHDDIE; inline;
  7811. procedure clearCHDDIF; inline;
  7812. procedure clearCHDHIE; inline;
  7813. procedure clearCHDHIF; inline;
  7814. procedure clearCHERIE; inline;
  7815. procedure clearCHERIF; inline;
  7816. procedure clearCHSDIE; inline;
  7817. procedure clearCHSDIF; inline;
  7818. procedure clearCHSHIE; inline;
  7819. procedure clearCHSHIF; inline;
  7820. procedure clearCHTAIE; inline;
  7821. procedure clearCHTAIF; inline;
  7822. procedure setCHBCIE; inline;
  7823. procedure setCHBCIF; inline;
  7824. procedure setCHCCIE; inline;
  7825. procedure setCHCCIF; inline;
  7826. procedure setCHDDIE; inline;
  7827. procedure setCHDDIF; inline;
  7828. procedure setCHDHIE; inline;
  7829. procedure setCHDHIF; inline;
  7830. procedure setCHERIE; inline;
  7831. procedure setCHERIF; inline;
  7832. procedure setCHSDIE; inline;
  7833. procedure setCHSDIF; inline;
  7834. procedure setCHSHIE; inline;
  7835. procedure setCHSHIF; inline;
  7836. procedure setCHTAIE; inline;
  7837. procedure setCHTAIF; inline;
  7838. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7839. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7840. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7841. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7842. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7843. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7844. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7845. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7846. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7847. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7848. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7849. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7850. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7851. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7852. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7853. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7854. property w : TBits_32 read getw write setw;
  7855. end;
  7856. type
  7857. TDMAC0Registers = record
  7858. DCH0CONbits : TDMAC0_DCH0CON;
  7859. DCH0CON : longWord;
  7860. DCH0CONCLR : longWord;
  7861. DCH0CONSET : longWord;
  7862. DCH0CONINV : longWord;
  7863. DCH0ECONbits : TDMAC0_DCH0ECON;
  7864. DCH0ECON : longWord;
  7865. DCH0ECONCLR : longWord;
  7866. DCH0ECONSET : longWord;
  7867. DCH0ECONINV : longWord;
  7868. DCH0INTbits : TDMAC0_DCH0INT;
  7869. DCH0INT : longWord;
  7870. DCH0INTCLR : longWord;
  7871. DCH0INTSET : longWord;
  7872. DCH0INTINV : longWord;
  7873. DCH0SSA : longWord;
  7874. DCH0SSACLR : longWord;
  7875. DCH0SSASET : longWord;
  7876. DCH0SSAINV : longWord;
  7877. DCH0DSA : longWord;
  7878. DCH0DSACLR : longWord;
  7879. DCH0DSASET : longWord;
  7880. DCH0DSAINV : longWord;
  7881. DCH0SSIZ : longWord;
  7882. DCH0SSIZCLR : longWord;
  7883. DCH0SSIZSET : longWord;
  7884. DCH0SSIZINV : longWord;
  7885. DCH0DSIZ : longWord;
  7886. DCH0DSIZCLR : longWord;
  7887. DCH0DSIZSET : longWord;
  7888. DCH0DSIZINV : longWord;
  7889. DCH0SPTR : longWord;
  7890. DCH0SPTRCLR : longWord;
  7891. DCH0SPTRSET : longWord;
  7892. DCH0SPTRINV : longWord;
  7893. DCH0DPTR : longWord;
  7894. DCH0DPTRCLR : longWord;
  7895. DCH0DPTRSET : longWord;
  7896. DCH0DPTRINV : longWord;
  7897. DCH0CSIZ : longWord;
  7898. DCH0CSIZCLR : longWord;
  7899. DCH0CSIZSET : longWord;
  7900. DCH0CSIZINV : longWord;
  7901. DCH0CPTR : longWord;
  7902. DCH0CPTRCLR : longWord;
  7903. DCH0CPTRSET : longWord;
  7904. DCH0CPTRINV : longWord;
  7905. DCH0DAT : longWord;
  7906. DCH0DATCLR : longWord;
  7907. DCH0DATSET : longWord;
  7908. DCH0DATINV : longWord;
  7909. end;
  7910. TDMAC1_DCH1CON = record
  7911. private
  7912. function getCHAED : TBits_1; inline;
  7913. function getCHAEN : TBits_1; inline;
  7914. function getCHBUSY : TBits_1; inline;
  7915. function getCHCHN : TBits_1; inline;
  7916. function getCHCHNS : TBits_1; inline;
  7917. function getCHEDET : TBits_1; inline;
  7918. function getCHEN : TBits_1; inline;
  7919. function getCHPRI : TBits_2; inline;
  7920. function getw : TBits_32; inline;
  7921. procedure setCHAED(thebits : TBits_1); inline;
  7922. procedure setCHAEN(thebits : TBits_1); inline;
  7923. procedure setCHBUSY(thebits : TBits_1); inline;
  7924. procedure setCHCHN(thebits : TBits_1); inline;
  7925. procedure setCHCHNS(thebits : TBits_1); inline;
  7926. procedure setCHEDET(thebits : TBits_1); inline;
  7927. procedure setCHEN(thebits : TBits_1); inline;
  7928. procedure setCHPRI(thebits : TBits_2); inline;
  7929. procedure setw(thebits : TBits_32); inline;
  7930. public
  7931. procedure clearCHAED; inline;
  7932. procedure clearCHAEN; inline;
  7933. procedure clearCHBUSY; inline;
  7934. procedure clearCHCHN; inline;
  7935. procedure clearCHCHNS; inline;
  7936. procedure clearCHEDET; inline;
  7937. procedure clearCHEN; inline;
  7938. procedure setCHAED; inline;
  7939. procedure setCHAEN; inline;
  7940. procedure setCHBUSY; inline;
  7941. procedure setCHCHN; inline;
  7942. procedure setCHCHNS; inline;
  7943. procedure setCHEDET; inline;
  7944. procedure setCHEN; inline;
  7945. property CHAED : TBits_1 read getCHAED write setCHAED;
  7946. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7947. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7948. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7949. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7950. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7951. property CHEN : TBits_1 read getCHEN write setCHEN;
  7952. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7953. property w : TBits_32 read getw write setw;
  7954. end;
  7955. TDMAC1_DCH1ECON = record
  7956. private
  7957. function getAIRQEN : TBits_1; inline;
  7958. function getCABORT : TBits_1; inline;
  7959. function getCFORCE : TBits_1; inline;
  7960. function getCHAIRQ : TBits_8; inline;
  7961. function getCHSIRQ : TBits_8; inline;
  7962. function getPATEN : TBits_1; inline;
  7963. function getSIRQEN : TBits_1; inline;
  7964. function getw : TBits_32; inline;
  7965. procedure setAIRQEN(thebits : TBits_1); inline;
  7966. procedure setCABORT(thebits : TBits_1); inline;
  7967. procedure setCFORCE(thebits : TBits_1); inline;
  7968. procedure setCHAIRQ(thebits : TBits_8); inline;
  7969. procedure setCHSIRQ(thebits : TBits_8); inline;
  7970. procedure setPATEN(thebits : TBits_1); inline;
  7971. procedure setSIRQEN(thebits : TBits_1); inline;
  7972. procedure setw(thebits : TBits_32); inline;
  7973. public
  7974. procedure clearAIRQEN; inline;
  7975. procedure clearCABORT; inline;
  7976. procedure clearCFORCE; inline;
  7977. procedure clearPATEN; inline;
  7978. procedure clearSIRQEN; inline;
  7979. procedure setAIRQEN; inline;
  7980. procedure setCABORT; inline;
  7981. procedure setCFORCE; inline;
  7982. procedure setPATEN; inline;
  7983. procedure setSIRQEN; inline;
  7984. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7985. property CABORT : TBits_1 read getCABORT write setCABORT;
  7986. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7987. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7988. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7989. property PATEN : TBits_1 read getPATEN write setPATEN;
  7990. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7991. property w : TBits_32 read getw write setw;
  7992. end;
  7993. TDMAC1_DCH1INT = record
  7994. private
  7995. function getCHBCIE : TBits_1; inline;
  7996. function getCHBCIF : TBits_1; inline;
  7997. function getCHCCIE : TBits_1; inline;
  7998. function getCHCCIF : TBits_1; inline;
  7999. function getCHDDIE : TBits_1; inline;
  8000. function getCHDDIF : TBits_1; inline;
  8001. function getCHDHIE : TBits_1; inline;
  8002. function getCHDHIF : TBits_1; inline;
  8003. function getCHERIE : TBits_1; inline;
  8004. function getCHERIF : TBits_1; inline;
  8005. function getCHSDIE : TBits_1; inline;
  8006. function getCHSDIF : TBits_1; inline;
  8007. function getCHSHIE : TBits_1; inline;
  8008. function getCHSHIF : TBits_1; inline;
  8009. function getCHTAIE : TBits_1; inline;
  8010. function getCHTAIF : TBits_1; inline;
  8011. function getw : TBits_32; inline;
  8012. procedure setCHBCIE(thebits : TBits_1); inline;
  8013. procedure setCHBCIF(thebits : TBits_1); inline;
  8014. procedure setCHCCIE(thebits : TBits_1); inline;
  8015. procedure setCHCCIF(thebits : TBits_1); inline;
  8016. procedure setCHDDIE(thebits : TBits_1); inline;
  8017. procedure setCHDDIF(thebits : TBits_1); inline;
  8018. procedure setCHDHIE(thebits : TBits_1); inline;
  8019. procedure setCHDHIF(thebits : TBits_1); inline;
  8020. procedure setCHERIE(thebits : TBits_1); inline;
  8021. procedure setCHERIF(thebits : TBits_1); inline;
  8022. procedure setCHSDIE(thebits : TBits_1); inline;
  8023. procedure setCHSDIF(thebits : TBits_1); inline;
  8024. procedure setCHSHIE(thebits : TBits_1); inline;
  8025. procedure setCHSHIF(thebits : TBits_1); inline;
  8026. procedure setCHTAIE(thebits : TBits_1); inline;
  8027. procedure setCHTAIF(thebits : TBits_1); inline;
  8028. procedure setw(thebits : TBits_32); inline;
  8029. public
  8030. procedure clearCHBCIE; inline;
  8031. procedure clearCHBCIF; inline;
  8032. procedure clearCHCCIE; inline;
  8033. procedure clearCHCCIF; inline;
  8034. procedure clearCHDDIE; inline;
  8035. procedure clearCHDDIF; inline;
  8036. procedure clearCHDHIE; inline;
  8037. procedure clearCHDHIF; inline;
  8038. procedure clearCHERIE; inline;
  8039. procedure clearCHERIF; inline;
  8040. procedure clearCHSDIE; inline;
  8041. procedure clearCHSDIF; inline;
  8042. procedure clearCHSHIE; inline;
  8043. procedure clearCHSHIF; inline;
  8044. procedure clearCHTAIE; inline;
  8045. procedure clearCHTAIF; inline;
  8046. procedure setCHBCIE; inline;
  8047. procedure setCHBCIF; inline;
  8048. procedure setCHCCIE; inline;
  8049. procedure setCHCCIF; inline;
  8050. procedure setCHDDIE; inline;
  8051. procedure setCHDDIF; inline;
  8052. procedure setCHDHIE; inline;
  8053. procedure setCHDHIF; inline;
  8054. procedure setCHERIE; inline;
  8055. procedure setCHERIF; inline;
  8056. procedure setCHSDIE; inline;
  8057. procedure setCHSDIF; inline;
  8058. procedure setCHSHIE; inline;
  8059. procedure setCHSHIF; inline;
  8060. procedure setCHTAIE; inline;
  8061. procedure setCHTAIF; inline;
  8062. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8063. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8064. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8065. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8066. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8067. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8068. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8069. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8070. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8071. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8072. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8073. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8074. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8075. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8076. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8077. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8078. property w : TBits_32 read getw write setw;
  8079. end;
  8080. type
  8081. TDMAC1Registers = record
  8082. DCH1CONbits : TDMAC1_DCH1CON;
  8083. DCH1CON : longWord;
  8084. DCH1CONCLR : longWord;
  8085. DCH1CONSET : longWord;
  8086. DCH1CONINV : longWord;
  8087. DCH1ECONbits : TDMAC1_DCH1ECON;
  8088. DCH1ECON : longWord;
  8089. DCH1ECONCLR : longWord;
  8090. DCH1ECONSET : longWord;
  8091. DCH1ECONINV : longWord;
  8092. DCH1INTbits : TDMAC1_DCH1INT;
  8093. DCH1INT : longWord;
  8094. DCH1INTCLR : longWord;
  8095. DCH1INTSET : longWord;
  8096. DCH1INTINV : longWord;
  8097. DCH1SSA : longWord;
  8098. DCH1SSACLR : longWord;
  8099. DCH1SSASET : longWord;
  8100. DCH1SSAINV : longWord;
  8101. DCH1DSA : longWord;
  8102. DCH1DSACLR : longWord;
  8103. DCH1DSASET : longWord;
  8104. DCH1DSAINV : longWord;
  8105. DCH1SSIZ : longWord;
  8106. DCH1SSIZCLR : longWord;
  8107. DCH1SSIZSET : longWord;
  8108. DCH1SSIZINV : longWord;
  8109. DCH1DSIZ : longWord;
  8110. DCH1DSIZCLR : longWord;
  8111. DCH1DSIZSET : longWord;
  8112. DCH1DSIZINV : longWord;
  8113. DCH1SPTR : longWord;
  8114. DCH1SPTRCLR : longWord;
  8115. DCH1SPTRSET : longWord;
  8116. DCH1SPTRINV : longWord;
  8117. DCH1DPTR : longWord;
  8118. DCH1DPTRCLR : longWord;
  8119. DCH1DPTRSET : longWord;
  8120. DCH1DPTRINV : longWord;
  8121. DCH1CSIZ : longWord;
  8122. DCH1CSIZCLR : longWord;
  8123. DCH1CSIZSET : longWord;
  8124. DCH1CSIZINV : longWord;
  8125. DCH1CPTR : longWord;
  8126. DCH1CPTRCLR : longWord;
  8127. DCH1CPTRSET : longWord;
  8128. DCH1CPTRINV : longWord;
  8129. DCH1DAT : longWord;
  8130. DCH1DATCLR : longWord;
  8131. DCH1DATSET : longWord;
  8132. DCH1DATINV : longWord;
  8133. end;
  8134. TDMAC2_DCH2CON = record
  8135. private
  8136. function getCHAED : TBits_1; inline;
  8137. function getCHAEN : TBits_1; inline;
  8138. function getCHBUSY : TBits_1; inline;
  8139. function getCHCHN : TBits_1; inline;
  8140. function getCHCHNS : TBits_1; inline;
  8141. function getCHEDET : TBits_1; inline;
  8142. function getCHEN : TBits_1; inline;
  8143. function getCHPRI : TBits_2; inline;
  8144. function getw : TBits_32; inline;
  8145. procedure setCHAED(thebits : TBits_1); inline;
  8146. procedure setCHAEN(thebits : TBits_1); inline;
  8147. procedure setCHBUSY(thebits : TBits_1); inline;
  8148. procedure setCHCHN(thebits : TBits_1); inline;
  8149. procedure setCHCHNS(thebits : TBits_1); inline;
  8150. procedure setCHEDET(thebits : TBits_1); inline;
  8151. procedure setCHEN(thebits : TBits_1); inline;
  8152. procedure setCHPRI(thebits : TBits_2); inline;
  8153. procedure setw(thebits : TBits_32); inline;
  8154. public
  8155. procedure clearCHAED; inline;
  8156. procedure clearCHAEN; inline;
  8157. procedure clearCHBUSY; inline;
  8158. procedure clearCHCHN; inline;
  8159. procedure clearCHCHNS; inline;
  8160. procedure clearCHEDET; inline;
  8161. procedure clearCHEN; inline;
  8162. procedure setCHAED; inline;
  8163. procedure setCHAEN; inline;
  8164. procedure setCHBUSY; inline;
  8165. procedure setCHCHN; inline;
  8166. procedure setCHCHNS; inline;
  8167. procedure setCHEDET; inline;
  8168. procedure setCHEN; inline;
  8169. property CHAED : TBits_1 read getCHAED write setCHAED;
  8170. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8171. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8172. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8173. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8174. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8175. property CHEN : TBits_1 read getCHEN write setCHEN;
  8176. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8177. property w : TBits_32 read getw write setw;
  8178. end;
  8179. TDMAC2_DCH2ECON = record
  8180. private
  8181. function getAIRQEN : TBits_1; inline;
  8182. function getCABORT : TBits_1; inline;
  8183. function getCFORCE : TBits_1; inline;
  8184. function getCHAIRQ : TBits_8; inline;
  8185. function getCHSIRQ : TBits_8; inline;
  8186. function getPATEN : TBits_1; inline;
  8187. function getSIRQEN : TBits_1; inline;
  8188. function getw : TBits_32; inline;
  8189. procedure setAIRQEN(thebits : TBits_1); inline;
  8190. procedure setCABORT(thebits : TBits_1); inline;
  8191. procedure setCFORCE(thebits : TBits_1); inline;
  8192. procedure setCHAIRQ(thebits : TBits_8); inline;
  8193. procedure setCHSIRQ(thebits : TBits_8); inline;
  8194. procedure setPATEN(thebits : TBits_1); inline;
  8195. procedure setSIRQEN(thebits : TBits_1); inline;
  8196. procedure setw(thebits : TBits_32); inline;
  8197. public
  8198. procedure clearAIRQEN; inline;
  8199. procedure clearCABORT; inline;
  8200. procedure clearCFORCE; inline;
  8201. procedure clearPATEN; inline;
  8202. procedure clearSIRQEN; inline;
  8203. procedure setAIRQEN; inline;
  8204. procedure setCABORT; inline;
  8205. procedure setCFORCE; inline;
  8206. procedure setPATEN; inline;
  8207. procedure setSIRQEN; inline;
  8208. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8209. property CABORT : TBits_1 read getCABORT write setCABORT;
  8210. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8211. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8212. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8213. property PATEN : TBits_1 read getPATEN write setPATEN;
  8214. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8215. property w : TBits_32 read getw write setw;
  8216. end;
  8217. TDMAC2_DCH2INT = record
  8218. private
  8219. function getCHBCIE : TBits_1; inline;
  8220. function getCHBCIF : TBits_1; inline;
  8221. function getCHCCIE : TBits_1; inline;
  8222. function getCHCCIF : TBits_1; inline;
  8223. function getCHDDIE : TBits_1; inline;
  8224. function getCHDDIF : TBits_1; inline;
  8225. function getCHDHIE : TBits_1; inline;
  8226. function getCHDHIF : TBits_1; inline;
  8227. function getCHERIE : TBits_1; inline;
  8228. function getCHERIF : TBits_1; inline;
  8229. function getCHSDIE : TBits_1; inline;
  8230. function getCHSDIF : TBits_1; inline;
  8231. function getCHSHIE : TBits_1; inline;
  8232. function getCHSHIF : TBits_1; inline;
  8233. function getCHTAIE : TBits_1; inline;
  8234. function getCHTAIF : TBits_1; inline;
  8235. function getw : TBits_32; inline;
  8236. procedure setCHBCIE(thebits : TBits_1); inline;
  8237. procedure setCHBCIF(thebits : TBits_1); inline;
  8238. procedure setCHCCIE(thebits : TBits_1); inline;
  8239. procedure setCHCCIF(thebits : TBits_1); inline;
  8240. procedure setCHDDIE(thebits : TBits_1); inline;
  8241. procedure setCHDDIF(thebits : TBits_1); inline;
  8242. procedure setCHDHIE(thebits : TBits_1); inline;
  8243. procedure setCHDHIF(thebits : TBits_1); inline;
  8244. procedure setCHERIE(thebits : TBits_1); inline;
  8245. procedure setCHERIF(thebits : TBits_1); inline;
  8246. procedure setCHSDIE(thebits : TBits_1); inline;
  8247. procedure setCHSDIF(thebits : TBits_1); inline;
  8248. procedure setCHSHIE(thebits : TBits_1); inline;
  8249. procedure setCHSHIF(thebits : TBits_1); inline;
  8250. procedure setCHTAIE(thebits : TBits_1); inline;
  8251. procedure setCHTAIF(thebits : TBits_1); inline;
  8252. procedure setw(thebits : TBits_32); inline;
  8253. public
  8254. procedure clearCHBCIE; inline;
  8255. procedure clearCHBCIF; inline;
  8256. procedure clearCHCCIE; inline;
  8257. procedure clearCHCCIF; inline;
  8258. procedure clearCHDDIE; inline;
  8259. procedure clearCHDDIF; inline;
  8260. procedure clearCHDHIE; inline;
  8261. procedure clearCHDHIF; inline;
  8262. procedure clearCHERIE; inline;
  8263. procedure clearCHERIF; inline;
  8264. procedure clearCHSDIE; inline;
  8265. procedure clearCHSDIF; inline;
  8266. procedure clearCHSHIE; inline;
  8267. procedure clearCHSHIF; inline;
  8268. procedure clearCHTAIE; inline;
  8269. procedure clearCHTAIF; inline;
  8270. procedure setCHBCIE; inline;
  8271. procedure setCHBCIF; inline;
  8272. procedure setCHCCIE; inline;
  8273. procedure setCHCCIF; inline;
  8274. procedure setCHDDIE; inline;
  8275. procedure setCHDDIF; inline;
  8276. procedure setCHDHIE; inline;
  8277. procedure setCHDHIF; inline;
  8278. procedure setCHERIE; inline;
  8279. procedure setCHERIF; inline;
  8280. procedure setCHSDIE; inline;
  8281. procedure setCHSDIF; inline;
  8282. procedure setCHSHIE; inline;
  8283. procedure setCHSHIF; inline;
  8284. procedure setCHTAIE; inline;
  8285. procedure setCHTAIF; inline;
  8286. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8287. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8288. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8289. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8290. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8291. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8292. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8293. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8294. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8295. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8296. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8297. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8298. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8299. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8300. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8301. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8302. property w : TBits_32 read getw write setw;
  8303. end;
  8304. type
  8305. TDMAC2Registers = record
  8306. DCH2CONbits : TDMAC2_DCH2CON;
  8307. DCH2CON : longWord;
  8308. DCH2CONCLR : longWord;
  8309. DCH2CONSET : longWord;
  8310. DCH2CONINV : longWord;
  8311. DCH2ECONbits : TDMAC2_DCH2ECON;
  8312. DCH2ECON : longWord;
  8313. DCH2ECONCLR : longWord;
  8314. DCH2ECONSET : longWord;
  8315. DCH2ECONINV : longWord;
  8316. DCH2INTbits : TDMAC2_DCH2INT;
  8317. DCH2INT : longWord;
  8318. DCH2INTCLR : longWord;
  8319. DCH2INTSET : longWord;
  8320. DCH2INTINV : longWord;
  8321. DCH2SSA : longWord;
  8322. DCH2SSACLR : longWord;
  8323. DCH2SSASET : longWord;
  8324. DCH2SSAINV : longWord;
  8325. DCH2DSA : longWord;
  8326. DCH2DSACLR : longWord;
  8327. DCH2DSASET : longWord;
  8328. DCH2DSAINV : longWord;
  8329. DCH2SSIZ : longWord;
  8330. DCH2SSIZCLR : longWord;
  8331. DCH2SSIZSET : longWord;
  8332. DCH2SSIZINV : longWord;
  8333. DCH2DSIZ : longWord;
  8334. DCH2DSIZCLR : longWord;
  8335. DCH2DSIZSET : longWord;
  8336. DCH2DSIZINV : longWord;
  8337. DCH2SPTR : longWord;
  8338. DCH2SPTRCLR : longWord;
  8339. DCH2SPTRSET : longWord;
  8340. DCH2SPTRINV : longWord;
  8341. DCH2DPTR : longWord;
  8342. DCH2DPTRCLR : longWord;
  8343. DCH2DPTRSET : longWord;
  8344. DCH2DPTRINV : longWord;
  8345. DCH2CSIZ : longWord;
  8346. DCH2CSIZCLR : longWord;
  8347. DCH2CSIZSET : longWord;
  8348. DCH2CSIZINV : longWord;
  8349. DCH2CPTR : longWord;
  8350. DCH2CPTRCLR : longWord;
  8351. DCH2CPTRSET : longWord;
  8352. DCH2CPTRINV : longWord;
  8353. DCH2DAT : longWord;
  8354. DCH2DATCLR : longWord;
  8355. DCH2DATSET : longWord;
  8356. DCH2DATINV : longWord;
  8357. end;
  8358. TDMAC3_DCH3CON = record
  8359. private
  8360. function getCHAED : TBits_1; inline;
  8361. function getCHAEN : TBits_1; inline;
  8362. function getCHBUSY : TBits_1; inline;
  8363. function getCHCHN : TBits_1; inline;
  8364. function getCHCHNS : TBits_1; inline;
  8365. function getCHEDET : TBits_1; inline;
  8366. function getCHEN : TBits_1; inline;
  8367. function getCHPRI : TBits_2; inline;
  8368. function getw : TBits_32; inline;
  8369. procedure setCHAED(thebits : TBits_1); inline;
  8370. procedure setCHAEN(thebits : TBits_1); inline;
  8371. procedure setCHBUSY(thebits : TBits_1); inline;
  8372. procedure setCHCHN(thebits : TBits_1); inline;
  8373. procedure setCHCHNS(thebits : TBits_1); inline;
  8374. procedure setCHEDET(thebits : TBits_1); inline;
  8375. procedure setCHEN(thebits : TBits_1); inline;
  8376. procedure setCHPRI(thebits : TBits_2); inline;
  8377. procedure setw(thebits : TBits_32); inline;
  8378. public
  8379. procedure clearCHAED; inline;
  8380. procedure clearCHAEN; inline;
  8381. procedure clearCHBUSY; inline;
  8382. procedure clearCHCHN; inline;
  8383. procedure clearCHCHNS; inline;
  8384. procedure clearCHEDET; inline;
  8385. procedure clearCHEN; inline;
  8386. procedure setCHAED; inline;
  8387. procedure setCHAEN; inline;
  8388. procedure setCHBUSY; inline;
  8389. procedure setCHCHN; inline;
  8390. procedure setCHCHNS; inline;
  8391. procedure setCHEDET; inline;
  8392. procedure setCHEN; inline;
  8393. property CHAED : TBits_1 read getCHAED write setCHAED;
  8394. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8395. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8396. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8397. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8398. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8399. property CHEN : TBits_1 read getCHEN write setCHEN;
  8400. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8401. property w : TBits_32 read getw write setw;
  8402. end;
  8403. TDMAC3_DCH3ECON = record
  8404. private
  8405. function getAIRQEN : TBits_1; inline;
  8406. function getCABORT : TBits_1; inline;
  8407. function getCFORCE : TBits_1; inline;
  8408. function getCHAIRQ : TBits_8; inline;
  8409. function getCHSIRQ : TBits_8; inline;
  8410. function getPATEN : TBits_1; inline;
  8411. function getSIRQEN : TBits_1; inline;
  8412. function getw : TBits_32; inline;
  8413. procedure setAIRQEN(thebits : TBits_1); inline;
  8414. procedure setCABORT(thebits : TBits_1); inline;
  8415. procedure setCFORCE(thebits : TBits_1); inline;
  8416. procedure setCHAIRQ(thebits : TBits_8); inline;
  8417. procedure setCHSIRQ(thebits : TBits_8); inline;
  8418. procedure setPATEN(thebits : TBits_1); inline;
  8419. procedure setSIRQEN(thebits : TBits_1); inline;
  8420. procedure setw(thebits : TBits_32); inline;
  8421. public
  8422. procedure clearAIRQEN; inline;
  8423. procedure clearCABORT; inline;
  8424. procedure clearCFORCE; inline;
  8425. procedure clearPATEN; inline;
  8426. procedure clearSIRQEN; inline;
  8427. procedure setAIRQEN; inline;
  8428. procedure setCABORT; inline;
  8429. procedure setCFORCE; inline;
  8430. procedure setPATEN; inline;
  8431. procedure setSIRQEN; inline;
  8432. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8433. property CABORT : TBits_1 read getCABORT write setCABORT;
  8434. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8435. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8436. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8437. property PATEN : TBits_1 read getPATEN write setPATEN;
  8438. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8439. property w : TBits_32 read getw write setw;
  8440. end;
  8441. TDMAC3_DCH3INT = record
  8442. private
  8443. function getCHBCIE : TBits_1; inline;
  8444. function getCHBCIF : TBits_1; inline;
  8445. function getCHCCIE : TBits_1; inline;
  8446. function getCHCCIF : TBits_1; inline;
  8447. function getCHDDIE : TBits_1; inline;
  8448. function getCHDDIF : TBits_1; inline;
  8449. function getCHDHIE : TBits_1; inline;
  8450. function getCHDHIF : TBits_1; inline;
  8451. function getCHERIE : TBits_1; inline;
  8452. function getCHERIF : TBits_1; inline;
  8453. function getCHSDIE : TBits_1; inline;
  8454. function getCHSDIF : TBits_1; inline;
  8455. function getCHSHIE : TBits_1; inline;
  8456. function getCHSHIF : TBits_1; inline;
  8457. function getCHTAIE : TBits_1; inline;
  8458. function getCHTAIF : TBits_1; inline;
  8459. function getw : TBits_32; inline;
  8460. procedure setCHBCIE(thebits : TBits_1); inline;
  8461. procedure setCHBCIF(thebits : TBits_1); inline;
  8462. procedure setCHCCIE(thebits : TBits_1); inline;
  8463. procedure setCHCCIF(thebits : TBits_1); inline;
  8464. procedure setCHDDIE(thebits : TBits_1); inline;
  8465. procedure setCHDDIF(thebits : TBits_1); inline;
  8466. procedure setCHDHIE(thebits : TBits_1); inline;
  8467. procedure setCHDHIF(thebits : TBits_1); inline;
  8468. procedure setCHERIE(thebits : TBits_1); inline;
  8469. procedure setCHERIF(thebits : TBits_1); inline;
  8470. procedure setCHSDIE(thebits : TBits_1); inline;
  8471. procedure setCHSDIF(thebits : TBits_1); inline;
  8472. procedure setCHSHIE(thebits : TBits_1); inline;
  8473. procedure setCHSHIF(thebits : TBits_1); inline;
  8474. procedure setCHTAIE(thebits : TBits_1); inline;
  8475. procedure setCHTAIF(thebits : TBits_1); inline;
  8476. procedure setw(thebits : TBits_32); inline;
  8477. public
  8478. procedure clearCHBCIE; inline;
  8479. procedure clearCHBCIF; inline;
  8480. procedure clearCHCCIE; inline;
  8481. procedure clearCHCCIF; inline;
  8482. procedure clearCHDDIE; inline;
  8483. procedure clearCHDDIF; inline;
  8484. procedure clearCHDHIE; inline;
  8485. procedure clearCHDHIF; inline;
  8486. procedure clearCHERIE; inline;
  8487. procedure clearCHERIF; inline;
  8488. procedure clearCHSDIE; inline;
  8489. procedure clearCHSDIF; inline;
  8490. procedure clearCHSHIE; inline;
  8491. procedure clearCHSHIF; inline;
  8492. procedure clearCHTAIE; inline;
  8493. procedure clearCHTAIF; inline;
  8494. procedure setCHBCIE; inline;
  8495. procedure setCHBCIF; inline;
  8496. procedure setCHCCIE; inline;
  8497. procedure setCHCCIF; inline;
  8498. procedure setCHDDIE; inline;
  8499. procedure setCHDDIF; inline;
  8500. procedure setCHDHIE; inline;
  8501. procedure setCHDHIF; inline;
  8502. procedure setCHERIE; inline;
  8503. procedure setCHERIF; inline;
  8504. procedure setCHSDIE; inline;
  8505. procedure setCHSDIF; inline;
  8506. procedure setCHSHIE; inline;
  8507. procedure setCHSHIF; inline;
  8508. procedure setCHTAIE; inline;
  8509. procedure setCHTAIF; inline;
  8510. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8511. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8512. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8513. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8514. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8515. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8516. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8517. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8518. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8519. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8520. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8521. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8522. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8523. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8524. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8525. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8526. property w : TBits_32 read getw write setw;
  8527. end;
  8528. type
  8529. TDMAC3Registers = record
  8530. DCH3CONbits : TDMAC3_DCH3CON;
  8531. DCH3CON : longWord;
  8532. DCH3CONCLR : longWord;
  8533. DCH3CONSET : longWord;
  8534. DCH3CONINV : longWord;
  8535. DCH3ECONbits : TDMAC3_DCH3ECON;
  8536. DCH3ECON : longWord;
  8537. DCH3ECONCLR : longWord;
  8538. DCH3ECONSET : longWord;
  8539. DCH3ECONINV : longWord;
  8540. DCH3INTbits : TDMAC3_DCH3INT;
  8541. DCH3INT : longWord;
  8542. DCH3INTCLR : longWord;
  8543. DCH3INTSET : longWord;
  8544. DCH3INTINV : longWord;
  8545. DCH3SSA : longWord;
  8546. DCH3SSACLR : longWord;
  8547. DCH3SSASET : longWord;
  8548. DCH3SSAINV : longWord;
  8549. DCH3DSA : longWord;
  8550. DCH3DSACLR : longWord;
  8551. DCH3DSASET : longWord;
  8552. DCH3DSAINV : longWord;
  8553. DCH3SSIZ : longWord;
  8554. DCH3SSIZCLR : longWord;
  8555. DCH3SSIZSET : longWord;
  8556. DCH3SSIZINV : longWord;
  8557. DCH3DSIZ : longWord;
  8558. DCH3DSIZCLR : longWord;
  8559. DCH3DSIZSET : longWord;
  8560. DCH3DSIZINV : longWord;
  8561. DCH3SPTR : longWord;
  8562. DCH3SPTRCLR : longWord;
  8563. DCH3SPTRSET : longWord;
  8564. DCH3SPTRINV : longWord;
  8565. DCH3DPTR : longWord;
  8566. DCH3DPTRCLR : longWord;
  8567. DCH3DPTRSET : longWord;
  8568. DCH3DPTRINV : longWord;
  8569. DCH3CSIZ : longWord;
  8570. DCH3CSIZCLR : longWord;
  8571. DCH3CSIZSET : longWord;
  8572. DCH3CSIZINV : longWord;
  8573. DCH3CPTR : longWord;
  8574. DCH3CPTRCLR : longWord;
  8575. DCH3CPTRSET : longWord;
  8576. DCH3CPTRINV : longWord;
  8577. DCH3DAT : longWord;
  8578. DCH3DATCLR : longWord;
  8579. DCH3DATSET : longWord;
  8580. DCH3DATINV : longWord;
  8581. end;
  8582. TPCACHE_CHECON = record
  8583. private
  8584. function getCHECOH : TBits_1; inline;
  8585. function getDCSZ : TBits_2; inline;
  8586. function getPFMWS : TBits_3; inline;
  8587. function getPREFEN : TBits_2; inline;
  8588. function getw : TBits_32; inline;
  8589. procedure setCHECOH(thebits : TBits_1); inline;
  8590. procedure setDCSZ(thebits : TBits_2); inline;
  8591. procedure setPFMWS(thebits : TBits_3); inline;
  8592. procedure setPREFEN(thebits : TBits_2); inline;
  8593. procedure setw(thebits : TBits_32); inline;
  8594. public
  8595. procedure clearCHECOH; inline;
  8596. procedure setCHECOH; inline;
  8597. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  8598. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  8599. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  8600. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  8601. property w : TBits_32 read getw write setw;
  8602. end;
  8603. TPCACHE_CHETAG = record
  8604. private
  8605. function getLLOCK : TBits_1; inline;
  8606. function getLTAG : TBits_20; inline;
  8607. function getLTAGBOOT : TBits_1; inline;
  8608. function getLTYPE : TBits_1; inline;
  8609. function getLVALID : TBits_1; inline;
  8610. function getw : TBits_32; inline;
  8611. procedure setLLOCK(thebits : TBits_1); inline;
  8612. procedure setLTAG(thebits : TBits_20); inline;
  8613. procedure setLTAGBOOT(thebits : TBits_1); inline;
  8614. procedure setLTYPE(thebits : TBits_1); inline;
  8615. procedure setLVALID(thebits : TBits_1); inline;
  8616. procedure setw(thebits : TBits_32); inline;
  8617. public
  8618. procedure clearLLOCK; inline;
  8619. procedure clearLTAGBOOT; inline;
  8620. procedure clearLTYPE; inline;
  8621. procedure clearLVALID; inline;
  8622. procedure setLLOCK; inline;
  8623. procedure setLTAGBOOT; inline;
  8624. procedure setLTYPE; inline;
  8625. procedure setLVALID; inline;
  8626. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  8627. property LTAG : TBits_20 read getLTAG write setLTAG;
  8628. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  8629. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  8630. property LVALID : TBits_1 read getLVALID write setLVALID;
  8631. property w : TBits_32 read getw write setw;
  8632. end;
  8633. type
  8634. TPCACHERegisters = record
  8635. CHECONbits : TPCACHE_CHECON;
  8636. CHECON : longWord;
  8637. CHECONCLR : longWord;
  8638. CHECONSET : longWord;
  8639. CHECONINV : longWord;
  8640. CHEACC : longWord;
  8641. CHEACCCLR : longWord;
  8642. CHEACCSET : longWord;
  8643. CHEACCINV : longWord;
  8644. CHETAGbits : TPCACHE_CHETAG;
  8645. CHETAG : longWord;
  8646. CHETAGCLR : longWord;
  8647. CHETAGSET : longWord;
  8648. CHETAGINV : longWord;
  8649. CHEMSK : longWord;
  8650. CHEMSKCLR : longWord;
  8651. CHEMSKSET : longWord;
  8652. CHEMSKINV : longWord;
  8653. CHEW0 : longWord;
  8654. CHEW1 : longWord;
  8655. CHEW2 : longWord;
  8656. CHEW3 : longWord;
  8657. CHELRU : longWord;
  8658. CHEHIT : longWord;
  8659. CHEMIS : longWord;
  8660. RESERVED1 : longWord;
  8661. CHEPFABT : longWord;
  8662. end;
  8663. TUSB_U1IR = record
  8664. private
  8665. function getATTACHIF : TBits_1; inline;
  8666. function getDETACHIF : TBits_1; inline;
  8667. function getIDLEIF : TBits_1; inline;
  8668. function getRESUMEIF : TBits_1; inline;
  8669. function getSOFIF : TBits_1; inline;
  8670. function getSTALLIF : TBits_1; inline;
  8671. function getTRNIF : TBits_1; inline;
  8672. function getUERRIF : TBits_1; inline;
  8673. function getURSTIF : TBits_1; inline;
  8674. function getURSTIF_DETACHIF : TBits_1; inline;
  8675. procedure setATTACHIF(thebits : TBits_1); inline;
  8676. procedure setDETACHIF(thebits : TBits_1); inline;
  8677. procedure setIDLEIF(thebits : TBits_1); inline;
  8678. procedure setRESUMEIF(thebits : TBits_1); inline;
  8679. procedure setSOFIF(thebits : TBits_1); inline;
  8680. procedure setSTALLIF(thebits : TBits_1); inline;
  8681. procedure setTRNIF(thebits : TBits_1); inline;
  8682. procedure setUERRIF(thebits : TBits_1); inline;
  8683. procedure setURSTIF(thebits : TBits_1); inline;
  8684. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  8685. public
  8686. procedure clearATTACHIF; inline;
  8687. procedure clearDETACHIF; inline;
  8688. procedure clearIDLEIF; inline;
  8689. procedure clearRESUMEIF; inline;
  8690. procedure clearSOFIF; inline;
  8691. procedure clearSTALLIF; inline;
  8692. procedure clearTRNIF; inline;
  8693. procedure clearUERRIF; inline;
  8694. procedure clearURSTIF; inline;
  8695. procedure clearURSTIF_DETACHIF; inline;
  8696. procedure setATTACHIF; inline;
  8697. procedure setDETACHIF; inline;
  8698. procedure setIDLEIF; inline;
  8699. procedure setRESUMEIF; inline;
  8700. procedure setSOFIF; inline;
  8701. procedure setSTALLIF; inline;
  8702. procedure setTRNIF; inline;
  8703. procedure setUERRIF; inline;
  8704. procedure setURSTIF; inline;
  8705. procedure setURSTIF_DETACHIF; inline;
  8706. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  8707. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  8708. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  8709. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  8710. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  8711. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  8712. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  8713. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  8714. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  8715. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  8716. end;
  8717. TUSB_U1IE = record
  8718. private
  8719. function getATTACHIE : TBits_1; inline;
  8720. function getDETACHIE : TBits_1; inline;
  8721. function getIDLEIE : TBits_1; inline;
  8722. function getRESUMEIE : TBits_1; inline;
  8723. function getSOFIE : TBits_1; inline;
  8724. function getSTALLIE : TBits_1; inline;
  8725. function getTRNIE : TBits_1; inline;
  8726. function getUERRIE : TBits_1; inline;
  8727. function getURSTIE : TBits_1; inline;
  8728. function getURSTIE_DETACHIE : TBits_1; inline;
  8729. procedure setATTACHIE(thebits : TBits_1); inline;
  8730. procedure setDETACHIE(thebits : TBits_1); inline;
  8731. procedure setIDLEIE(thebits : TBits_1); inline;
  8732. procedure setRESUMEIE(thebits : TBits_1); inline;
  8733. procedure setSOFIE(thebits : TBits_1); inline;
  8734. procedure setSTALLIE(thebits : TBits_1); inline;
  8735. procedure setTRNIE(thebits : TBits_1); inline;
  8736. procedure setUERRIE(thebits : TBits_1); inline;
  8737. procedure setURSTIE(thebits : TBits_1); inline;
  8738. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  8739. public
  8740. procedure clearATTACHIE; inline;
  8741. procedure clearDETACHIE; inline;
  8742. procedure clearIDLEIE; inline;
  8743. procedure clearRESUMEIE; inline;
  8744. procedure clearSOFIE; inline;
  8745. procedure clearSTALLIE; inline;
  8746. procedure clearTRNIE; inline;
  8747. procedure clearUERRIE; inline;
  8748. procedure clearURSTIE; inline;
  8749. procedure clearURSTIE_DETACHIE; inline;
  8750. procedure setATTACHIE; inline;
  8751. procedure setDETACHIE; inline;
  8752. procedure setIDLEIE; inline;
  8753. procedure setRESUMEIE; inline;
  8754. procedure setSOFIE; inline;
  8755. procedure setSTALLIE; inline;
  8756. procedure setTRNIE; inline;
  8757. procedure setUERRIE; inline;
  8758. procedure setURSTIE; inline;
  8759. procedure setURSTIE_DETACHIE; inline;
  8760. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  8761. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  8762. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  8763. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  8764. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  8765. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  8766. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  8767. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  8768. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  8769. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  8770. end;
  8771. TUSB_U1EIR = record
  8772. private
  8773. function getBMXEF : TBits_1; inline;
  8774. function getBTOEF : TBits_1; inline;
  8775. function getBTSEF : TBits_1; inline;
  8776. function getCRC16EF : TBits_1; inline;
  8777. function getCRC5EF : TBits_1; inline;
  8778. function getCRC5EF_EOFEF : TBits_1; inline;
  8779. function getDFN8EF : TBits_1; inline;
  8780. function getDMAEF : TBits_1; inline;
  8781. function getEOFEF : TBits_1; inline;
  8782. function getPIDEF : TBits_1; inline;
  8783. procedure setBMXEF(thebits : TBits_1); inline;
  8784. procedure setBTOEF(thebits : TBits_1); inline;
  8785. procedure setBTSEF(thebits : TBits_1); inline;
  8786. procedure setCRC16EF(thebits : TBits_1); inline;
  8787. procedure setCRC5EF(thebits : TBits_1); inline;
  8788. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  8789. procedure setDFN8EF(thebits : TBits_1); inline;
  8790. procedure setDMAEF(thebits : TBits_1); inline;
  8791. procedure setEOFEF(thebits : TBits_1); inline;
  8792. procedure setPIDEF(thebits : TBits_1); inline;
  8793. public
  8794. procedure clearBMXEF; inline;
  8795. procedure clearBTOEF; inline;
  8796. procedure clearBTSEF; inline;
  8797. procedure clearCRC16EF; inline;
  8798. procedure clearCRC5EF; inline;
  8799. procedure clearCRC5EF_EOFEF; inline;
  8800. procedure clearDFN8EF; inline;
  8801. procedure clearDMAEF; inline;
  8802. procedure clearEOFEF; inline;
  8803. procedure clearPIDEF; inline;
  8804. procedure setBMXEF; inline;
  8805. procedure setBTOEF; inline;
  8806. procedure setBTSEF; inline;
  8807. procedure setCRC16EF; inline;
  8808. procedure setCRC5EF; inline;
  8809. procedure setCRC5EF_EOFEF; inline;
  8810. procedure setDFN8EF; inline;
  8811. procedure setDMAEF; inline;
  8812. procedure setEOFEF; inline;
  8813. procedure setPIDEF; inline;
  8814. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  8815. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  8816. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  8817. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  8818. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  8819. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  8820. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  8821. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  8822. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  8823. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  8824. end;
  8825. TUSB_U1EIE = record
  8826. private
  8827. function getBMXEE : TBits_1; inline;
  8828. function getBTOEE : TBits_1; inline;
  8829. function getBTSEE : TBits_1; inline;
  8830. function getCRC16EE : TBits_1; inline;
  8831. function getCRC5EE : TBits_1; inline;
  8832. function getCRC5EE_EOFEE : TBits_1; inline;
  8833. function getDFN8EE : TBits_1; inline;
  8834. function getDMAEE : TBits_1; inline;
  8835. function getEOFEE : TBits_1; inline;
  8836. function getPIDEE : TBits_1; inline;
  8837. procedure setBMXEE(thebits : TBits_1); inline;
  8838. procedure setBTOEE(thebits : TBits_1); inline;
  8839. procedure setBTSEE(thebits : TBits_1); inline;
  8840. procedure setCRC16EE(thebits : TBits_1); inline;
  8841. procedure setCRC5EE(thebits : TBits_1); inline;
  8842. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  8843. procedure setDFN8EE(thebits : TBits_1); inline;
  8844. procedure setDMAEE(thebits : TBits_1); inline;
  8845. procedure setEOFEE(thebits : TBits_1); inline;
  8846. procedure setPIDEE(thebits : TBits_1); inline;
  8847. public
  8848. procedure clearBMXEE; inline;
  8849. procedure clearBTOEE; inline;
  8850. procedure clearBTSEE; inline;
  8851. procedure clearCRC16EE; inline;
  8852. procedure clearCRC5EE; inline;
  8853. procedure clearCRC5EE_EOFEE; inline;
  8854. procedure clearDFN8EE; inline;
  8855. procedure clearDMAEE; inline;
  8856. procedure clearEOFEE; inline;
  8857. procedure clearPIDEE; inline;
  8858. procedure setBMXEE; inline;
  8859. procedure setBTOEE; inline;
  8860. procedure setBTSEE; inline;
  8861. procedure setCRC16EE; inline;
  8862. procedure setCRC5EE; inline;
  8863. procedure setCRC5EE_EOFEE; inline;
  8864. procedure setDFN8EE; inline;
  8865. procedure setDMAEE; inline;
  8866. procedure setEOFEE; inline;
  8867. procedure setPIDEE; inline;
  8868. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  8869. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  8870. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  8871. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  8872. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  8873. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  8874. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  8875. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  8876. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  8877. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  8878. end;
  8879. TUSB_U1STAT = record
  8880. private
  8881. function getDIR : TBits_1; inline;
  8882. function getENDPT : TBits_4; inline;
  8883. function getENDPT0 : TBits_1; inline;
  8884. function getENDPT1 : TBits_1; inline;
  8885. function getENDPT2 : TBits_1; inline;
  8886. function getENDPT3 : TBits_1; inline;
  8887. function getPPBI : TBits_1; inline;
  8888. procedure setDIR(thebits : TBits_1); inline;
  8889. procedure setENDPT(thebits : TBits_4); inline;
  8890. procedure setENDPT0(thebits : TBits_1); inline;
  8891. procedure setENDPT1(thebits : TBits_1); inline;
  8892. procedure setENDPT2(thebits : TBits_1); inline;
  8893. procedure setENDPT3(thebits : TBits_1); inline;
  8894. procedure setPPBI(thebits : TBits_1); inline;
  8895. public
  8896. procedure clearDIR; inline;
  8897. procedure clearENDPT0; inline;
  8898. procedure clearENDPT1; inline;
  8899. procedure clearENDPT2; inline;
  8900. procedure clearENDPT3; inline;
  8901. procedure clearPPBI; inline;
  8902. procedure setDIR; inline;
  8903. procedure setENDPT0; inline;
  8904. procedure setENDPT1; inline;
  8905. procedure setENDPT2; inline;
  8906. procedure setENDPT3; inline;
  8907. procedure setPPBI; inline;
  8908. property DIR : TBits_1 read getDIR write setDIR;
  8909. property ENDPT : TBits_4 read getENDPT write setENDPT;
  8910. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  8911. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  8912. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  8913. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  8914. property PPBI : TBits_1 read getPPBI write setPPBI;
  8915. end;
  8916. TUSB_U1CON = record
  8917. private
  8918. function getHOSTEN : TBits_1; inline;
  8919. function getJSTATE : TBits_1; inline;
  8920. function getPKTDIS : TBits_1; inline;
  8921. function getPKTDIS_TOKBUSY : TBits_1; inline;
  8922. function getPPBRST : TBits_1; inline;
  8923. function getRESUME : TBits_1; inline;
  8924. function getSE0 : TBits_1; inline;
  8925. function getSOFEN : TBits_1; inline;
  8926. function getTOKBUSY : TBits_1; inline;
  8927. function getUSBEN : TBits_1; inline;
  8928. function getUSBEN_SOFEN : TBits_1; inline;
  8929. function getUSBRST : TBits_1; inline;
  8930. procedure setHOSTEN(thebits : TBits_1); inline;
  8931. procedure setJSTATE(thebits : TBits_1); inline;
  8932. procedure setPKTDIS(thebits : TBits_1); inline;
  8933. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  8934. procedure setPPBRST(thebits : TBits_1); inline;
  8935. procedure setRESUME(thebits : TBits_1); inline;
  8936. procedure setSE0(thebits : TBits_1); inline;
  8937. procedure setSOFEN(thebits : TBits_1); inline;
  8938. procedure setTOKBUSY(thebits : TBits_1); inline;
  8939. procedure setUSBEN(thebits : TBits_1); inline;
  8940. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  8941. procedure setUSBRST(thebits : TBits_1); inline;
  8942. public
  8943. procedure clearHOSTEN; inline;
  8944. procedure clearJSTATE; inline;
  8945. procedure clearPKTDIS; inline;
  8946. procedure clearPKTDIS_TOKBUSY; inline;
  8947. procedure clearPPBRST; inline;
  8948. procedure clearRESUME; inline;
  8949. procedure clearSE0; inline;
  8950. procedure clearSOFEN; inline;
  8951. procedure clearTOKBUSY; inline;
  8952. procedure clearUSBEN; inline;
  8953. procedure clearUSBEN_SOFEN; inline;
  8954. procedure clearUSBRST; inline;
  8955. procedure setHOSTEN; inline;
  8956. procedure setJSTATE; inline;
  8957. procedure setPKTDIS; inline;
  8958. procedure setPKTDIS_TOKBUSY; inline;
  8959. procedure setPPBRST; inline;
  8960. procedure setRESUME; inline;
  8961. procedure setSE0; inline;
  8962. procedure setSOFEN; inline;
  8963. procedure setTOKBUSY; inline;
  8964. procedure setUSBEN; inline;
  8965. procedure setUSBEN_SOFEN; inline;
  8966. procedure setUSBRST; inline;
  8967. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  8968. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  8969. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  8970. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  8971. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  8972. property RESUME : TBits_1 read getRESUME write setRESUME;
  8973. property SE0 : TBits_1 read getSE0 write setSE0;
  8974. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  8975. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  8976. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  8977. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  8978. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  8979. end;
  8980. TUSB_U1ADDR = record
  8981. private
  8982. function getDEVADDR : TBits_7; inline;
  8983. function getDEVADDR0 : TBits_1; inline;
  8984. function getDEVADDR1 : TBits_1; inline;
  8985. function getDEVADDR2 : TBits_1; inline;
  8986. function getDEVADDR3 : TBits_1; inline;
  8987. function getDEVADDR4 : TBits_1; inline;
  8988. function getDEVADDR5 : TBits_1; inline;
  8989. function getDEVADDR6 : TBits_1; inline;
  8990. function getLSPDEN : TBits_1; inline;
  8991. procedure setDEVADDR(thebits : TBits_7); inline;
  8992. procedure setDEVADDR0(thebits : TBits_1); inline;
  8993. procedure setDEVADDR1(thebits : TBits_1); inline;
  8994. procedure setDEVADDR2(thebits : TBits_1); inline;
  8995. procedure setDEVADDR3(thebits : TBits_1); inline;
  8996. procedure setDEVADDR4(thebits : TBits_1); inline;
  8997. procedure setDEVADDR5(thebits : TBits_1); inline;
  8998. procedure setDEVADDR6(thebits : TBits_1); inline;
  8999. procedure setLSPDEN(thebits : TBits_1); inline;
  9000. public
  9001. procedure clearDEVADDR0; inline;
  9002. procedure clearDEVADDR1; inline;
  9003. procedure clearDEVADDR2; inline;
  9004. procedure clearDEVADDR3; inline;
  9005. procedure clearDEVADDR4; inline;
  9006. procedure clearDEVADDR5; inline;
  9007. procedure clearDEVADDR6; inline;
  9008. procedure clearLSPDEN; inline;
  9009. procedure setDEVADDR0; inline;
  9010. procedure setDEVADDR1; inline;
  9011. procedure setDEVADDR2; inline;
  9012. procedure setDEVADDR3; inline;
  9013. procedure setDEVADDR4; inline;
  9014. procedure setDEVADDR5; inline;
  9015. procedure setDEVADDR6; inline;
  9016. procedure setLSPDEN; inline;
  9017. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  9018. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  9019. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  9020. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  9021. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  9022. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  9023. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  9024. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  9025. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  9026. end;
  9027. TUSB_U1FRML = record
  9028. private
  9029. function getFRM0 : TBits_1; inline;
  9030. function getFRM1 : TBits_1; inline;
  9031. function getFRM2 : TBits_1; inline;
  9032. function getFRM3 : TBits_1; inline;
  9033. function getFRM4 : TBits_1; inline;
  9034. function getFRM5 : TBits_1; inline;
  9035. function getFRM6 : TBits_1; inline;
  9036. function getFRM7 : TBits_1; inline;
  9037. function getFRML : TBits_8; inline;
  9038. procedure setFRM0(thebits : TBits_1); inline;
  9039. procedure setFRM1(thebits : TBits_1); inline;
  9040. procedure setFRM2(thebits : TBits_1); inline;
  9041. procedure setFRM3(thebits : TBits_1); inline;
  9042. procedure setFRM4(thebits : TBits_1); inline;
  9043. procedure setFRM5(thebits : TBits_1); inline;
  9044. procedure setFRM6(thebits : TBits_1); inline;
  9045. procedure setFRM7(thebits : TBits_1); inline;
  9046. procedure setFRML(thebits : TBits_8); inline;
  9047. public
  9048. procedure clearFRM0; inline;
  9049. procedure clearFRM1; inline;
  9050. procedure clearFRM2; inline;
  9051. procedure clearFRM3; inline;
  9052. procedure clearFRM4; inline;
  9053. procedure clearFRM5; inline;
  9054. procedure clearFRM6; inline;
  9055. procedure clearFRM7; inline;
  9056. procedure setFRM0; inline;
  9057. procedure setFRM1; inline;
  9058. procedure setFRM2; inline;
  9059. procedure setFRM3; inline;
  9060. procedure setFRM4; inline;
  9061. procedure setFRM5; inline;
  9062. procedure setFRM6; inline;
  9063. procedure setFRM7; inline;
  9064. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  9065. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  9066. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  9067. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  9068. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  9069. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  9070. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  9071. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  9072. property FRML : TBits_8 read getFRML write setFRML;
  9073. end;
  9074. TUSB_U1FRMH = record
  9075. private
  9076. function getFRM10 : TBits_1; inline;
  9077. function getFRM8 : TBits_1; inline;
  9078. function getFRM9 : TBits_1; inline;
  9079. function getFRMH : TBits_3; inline;
  9080. procedure setFRM10(thebits : TBits_1); inline;
  9081. procedure setFRM8(thebits : TBits_1); inline;
  9082. procedure setFRM9(thebits : TBits_1); inline;
  9083. procedure setFRMH(thebits : TBits_3); inline;
  9084. public
  9085. procedure clearFRM10; inline;
  9086. procedure clearFRM8; inline;
  9087. procedure clearFRM9; inline;
  9088. procedure setFRM10; inline;
  9089. procedure setFRM8; inline;
  9090. procedure setFRM9; inline;
  9091. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  9092. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  9093. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  9094. property FRMH : TBits_3 read getFRMH write setFRMH;
  9095. end;
  9096. TUSB_U1TOK = record
  9097. private
  9098. function getEP : TBits_4; inline;
  9099. function getEP0 : TBits_1; inline;
  9100. function getEP1 : TBits_1; inline;
  9101. function getEP2 : TBits_1; inline;
  9102. function getEP3 : TBits_1; inline;
  9103. function getPID : TBits_4; inline;
  9104. function getPID0 : TBits_1; inline;
  9105. function getPID1 : TBits_1; inline;
  9106. function getPID2 : TBits_1; inline;
  9107. function getPID3 : TBits_1; inline;
  9108. procedure setEP(thebits : TBits_4); inline;
  9109. procedure setEP0(thebits : TBits_1); inline;
  9110. procedure setEP1(thebits : TBits_1); inline;
  9111. procedure setEP2(thebits : TBits_1); inline;
  9112. procedure setEP3(thebits : TBits_1); inline;
  9113. procedure setPID(thebits : TBits_4); inline;
  9114. procedure setPID0(thebits : TBits_1); inline;
  9115. procedure setPID1(thebits : TBits_1); inline;
  9116. procedure setPID2(thebits : TBits_1); inline;
  9117. procedure setPID3(thebits : TBits_1); inline;
  9118. public
  9119. procedure clearEP0; inline;
  9120. procedure clearEP1; inline;
  9121. procedure clearEP2; inline;
  9122. procedure clearEP3; inline;
  9123. procedure clearPID0; inline;
  9124. procedure clearPID1; inline;
  9125. procedure clearPID2; inline;
  9126. procedure clearPID3; inline;
  9127. procedure setEP0; inline;
  9128. procedure setEP1; inline;
  9129. procedure setEP2; inline;
  9130. procedure setEP3; inline;
  9131. procedure setPID0; inline;
  9132. procedure setPID1; inline;
  9133. procedure setPID2; inline;
  9134. procedure setPID3; inline;
  9135. property EP : TBits_4 read getEP write setEP;
  9136. property EP0 : TBits_1 read getEP0 write setEP0;
  9137. property EP1 : TBits_1 read getEP1 write setEP1;
  9138. property EP2 : TBits_1 read getEP2 write setEP2;
  9139. property EP3 : TBits_1 read getEP3 write setEP3;
  9140. property PID : TBits_4 read getPID write setPID;
  9141. property PID0 : TBits_1 read getPID0 write setPID0;
  9142. property PID1 : TBits_1 read getPID1 write setPID1;
  9143. property PID2 : TBits_1 read getPID2 write setPID2;
  9144. property PID3 : TBits_1 read getPID3 write setPID3;
  9145. end;
  9146. TUSB_ANSELB = record
  9147. private
  9148. function getANSB0 : TBits_1; inline;
  9149. function getANSB1 : TBits_1; inline;
  9150. function getANSB10 : TBits_1; inline;
  9151. function getANSB11 : TBits_1; inline;
  9152. function getANSB12 : TBits_1; inline;
  9153. function getANSB13 : TBits_1; inline;
  9154. function getANSB14 : TBits_1; inline;
  9155. function getANSB15 : TBits_1; inline;
  9156. function getANSB2 : TBits_1; inline;
  9157. function getANSB3 : TBits_1; inline;
  9158. function getANSB4 : TBits_1; inline;
  9159. function getANSB5 : TBits_1; inline;
  9160. function getANSB6 : TBits_1; inline;
  9161. function getANSB7 : TBits_1; inline;
  9162. function getANSB8 : TBits_1; inline;
  9163. function getANSB9 : TBits_1; inline;
  9164. function getw : TBits_32; inline;
  9165. procedure setANSB0(thebits : TBits_1); inline;
  9166. procedure setANSB1(thebits : TBits_1); inline;
  9167. procedure setANSB10(thebits : TBits_1); inline;
  9168. procedure setANSB11(thebits : TBits_1); inline;
  9169. procedure setANSB12(thebits : TBits_1); inline;
  9170. procedure setANSB13(thebits : TBits_1); inline;
  9171. procedure setANSB14(thebits : TBits_1); inline;
  9172. procedure setANSB15(thebits : TBits_1); inline;
  9173. procedure setANSB2(thebits : TBits_1); inline;
  9174. procedure setANSB3(thebits : TBits_1); inline;
  9175. procedure setANSB4(thebits : TBits_1); inline;
  9176. procedure setANSB5(thebits : TBits_1); inline;
  9177. procedure setANSB6(thebits : TBits_1); inline;
  9178. procedure setANSB7(thebits : TBits_1); inline;
  9179. procedure setANSB8(thebits : TBits_1); inline;
  9180. procedure setANSB9(thebits : TBits_1); inline;
  9181. procedure setw(thebits : TBits_32); inline;
  9182. public
  9183. procedure clearANSB0; inline;
  9184. procedure clearANSB10; inline;
  9185. procedure clearANSB11; inline;
  9186. procedure clearANSB12; inline;
  9187. procedure clearANSB13; inline;
  9188. procedure clearANSB14; inline;
  9189. procedure clearANSB15; inline;
  9190. procedure clearANSB1; inline;
  9191. procedure clearANSB2; inline;
  9192. procedure clearANSB3; inline;
  9193. procedure clearANSB4; inline;
  9194. procedure clearANSB5; inline;
  9195. procedure clearANSB6; inline;
  9196. procedure clearANSB7; inline;
  9197. procedure clearANSB8; inline;
  9198. procedure clearANSB9; inline;
  9199. procedure setANSB0; inline;
  9200. procedure setANSB10; inline;
  9201. procedure setANSB11; inline;
  9202. procedure setANSB12; inline;
  9203. procedure setANSB13; inline;
  9204. procedure setANSB14; inline;
  9205. procedure setANSB15; inline;
  9206. procedure setANSB1; inline;
  9207. procedure setANSB2; inline;
  9208. procedure setANSB3; inline;
  9209. procedure setANSB4; inline;
  9210. procedure setANSB5; inline;
  9211. procedure setANSB6; inline;
  9212. procedure setANSB7; inline;
  9213. procedure setANSB8; inline;
  9214. procedure setANSB9; inline;
  9215. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  9216. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  9217. property ANSB10 : TBits_1 read getANSB10 write setANSB10;
  9218. property ANSB11 : TBits_1 read getANSB11 write setANSB11;
  9219. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  9220. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  9221. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  9222. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  9223. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  9224. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  9225. property ANSB4 : TBits_1 read getANSB4 write setANSB4;
  9226. property ANSB5 : TBits_1 read getANSB5 write setANSB5;
  9227. property ANSB6 : TBits_1 read getANSB6 write setANSB6;
  9228. property ANSB7 : TBits_1 read getANSB7 write setANSB7;
  9229. property ANSB8 : TBits_1 read getANSB8 write setANSB8;
  9230. property ANSB9 : TBits_1 read getANSB9 write setANSB9;
  9231. property w : TBits_32 read getw write setw;
  9232. end;
  9233. TUSB_TRISB = record
  9234. private
  9235. function getTRISB0 : TBits_1; inline;
  9236. function getTRISB1 : TBits_1; inline;
  9237. function getTRISB10 : TBits_1; inline;
  9238. function getTRISB11 : TBits_1; inline;
  9239. function getTRISB12 : TBits_1; inline;
  9240. function getTRISB13 : TBits_1; inline;
  9241. function getTRISB14 : TBits_1; inline;
  9242. function getTRISB15 : TBits_1; inline;
  9243. function getTRISB2 : TBits_1; inline;
  9244. function getTRISB3 : TBits_1; inline;
  9245. function getTRISB4 : TBits_1; inline;
  9246. function getTRISB5 : TBits_1; inline;
  9247. function getTRISB6 : TBits_1; inline;
  9248. function getTRISB7 : TBits_1; inline;
  9249. function getTRISB8 : TBits_1; inline;
  9250. function getTRISB9 : TBits_1; inline;
  9251. function getw : TBits_32; inline;
  9252. procedure setTRISB0(thebits : TBits_1); inline;
  9253. procedure setTRISB1(thebits : TBits_1); inline;
  9254. procedure setTRISB10(thebits : TBits_1); inline;
  9255. procedure setTRISB11(thebits : TBits_1); inline;
  9256. procedure setTRISB12(thebits : TBits_1); inline;
  9257. procedure setTRISB13(thebits : TBits_1); inline;
  9258. procedure setTRISB14(thebits : TBits_1); inline;
  9259. procedure setTRISB15(thebits : TBits_1); inline;
  9260. procedure setTRISB2(thebits : TBits_1); inline;
  9261. procedure setTRISB3(thebits : TBits_1); inline;
  9262. procedure setTRISB4(thebits : TBits_1); inline;
  9263. procedure setTRISB5(thebits : TBits_1); inline;
  9264. procedure setTRISB6(thebits : TBits_1); inline;
  9265. procedure setTRISB7(thebits : TBits_1); inline;
  9266. procedure setTRISB8(thebits : TBits_1); inline;
  9267. procedure setTRISB9(thebits : TBits_1); inline;
  9268. procedure setw(thebits : TBits_32); inline;
  9269. public
  9270. procedure clearTRISB0; inline;
  9271. procedure clearTRISB10; inline;
  9272. procedure clearTRISB11; inline;
  9273. procedure clearTRISB12; inline;
  9274. procedure clearTRISB13; inline;
  9275. procedure clearTRISB14; inline;
  9276. procedure clearTRISB15; inline;
  9277. procedure clearTRISB1; inline;
  9278. procedure clearTRISB2; inline;
  9279. procedure clearTRISB3; inline;
  9280. procedure clearTRISB4; inline;
  9281. procedure clearTRISB5; inline;
  9282. procedure clearTRISB6; inline;
  9283. procedure clearTRISB7; inline;
  9284. procedure clearTRISB8; inline;
  9285. procedure clearTRISB9; inline;
  9286. procedure setTRISB0; inline;
  9287. procedure setTRISB10; inline;
  9288. procedure setTRISB11; inline;
  9289. procedure setTRISB12; inline;
  9290. procedure setTRISB13; inline;
  9291. procedure setTRISB14; inline;
  9292. procedure setTRISB15; inline;
  9293. procedure setTRISB1; inline;
  9294. procedure setTRISB2; inline;
  9295. procedure setTRISB3; inline;
  9296. procedure setTRISB4; inline;
  9297. procedure setTRISB5; inline;
  9298. procedure setTRISB6; inline;
  9299. procedure setTRISB7; inline;
  9300. procedure setTRISB8; inline;
  9301. procedure setTRISB9; inline;
  9302. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  9303. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  9304. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  9305. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  9306. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  9307. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  9308. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  9309. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  9310. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  9311. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  9312. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  9313. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  9314. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  9315. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  9316. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  9317. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  9318. property w : TBits_32 read getw write setw;
  9319. end;
  9320. type
  9321. TUSBRegisters = record
  9322. U1OTGIR : longWord;
  9323. U1OTGIRCLR : longWord;
  9324. U1OTGIE : longWord;
  9325. U1OTGIECLR : longWord;
  9326. U1OTGIESET : longWord;
  9327. U1OTGIEINV : longWord;
  9328. U1OTGSTAT : longWord;
  9329. U1OTGCON : longWord;
  9330. U1OTGCONCLR : longWord;
  9331. U1OTGCONSET : longWord;
  9332. U1OTGCONINV : longWord;
  9333. U1PWRC : longWord;
  9334. U1PWRCCLR : longWord;
  9335. U1PWRCSET : longWord;
  9336. U1PWRCINV : longWord;
  9337. U1IRbits : TUSB_U1IR;
  9338. U1IR : longWord;
  9339. U1IRCLR : longWord;
  9340. U1IEbits : TUSB_U1IE;
  9341. U1IE : longWord;
  9342. U1IECLR : longWord;
  9343. U1IESET : longWord;
  9344. U1IEINV : longWord;
  9345. U1EIRbits : TUSB_U1EIR;
  9346. U1EIR : longWord;
  9347. U1EIRCLR : longWord;
  9348. U1EIEbits : TUSB_U1EIE;
  9349. U1EIE : longWord;
  9350. U1EIECLR : longWord;
  9351. U1EIESET : longWord;
  9352. U1EIEINV : longWord;
  9353. U1STATbits : TUSB_U1STAT;
  9354. U1STAT : longWord;
  9355. U1CONbits : TUSB_U1CON;
  9356. U1CON : longWord;
  9357. U1CONCLR : longWord;
  9358. U1CONSET : longWord;
  9359. U1CONINV : longWord;
  9360. U1ADDRbits : TUSB_U1ADDR;
  9361. U1ADDR : longWord;
  9362. U1ADDRCLR : longWord;
  9363. U1ADDRSET : longWord;
  9364. U1ADDRINV : longWord;
  9365. U1BDTP1 : longWord;
  9366. U1BDTP1CLR : longWord;
  9367. U1BDTP1SET : longWord;
  9368. U1BDTP1INV : longWord;
  9369. U1FRMLbits : TUSB_U1FRML;
  9370. U1FRML : longWord;
  9371. U1FRMHbits : TUSB_U1FRMH;
  9372. U1FRMH : longWord;
  9373. U1TOKbits : TUSB_U1TOK;
  9374. U1TOK : longWord;
  9375. U1TOKCLR : longWord;
  9376. U1TOKSET : longWord;
  9377. U1TOKINV : longWord;
  9378. U1SOF : longWord;
  9379. U1SOFCLR : longWord;
  9380. U1SOFSET : longWord;
  9381. U1SOFINV : longWord;
  9382. U1BDTP2 : longWord;
  9383. U1BDTP2CLR : longWord;
  9384. U1BDTP2SET : longWord;
  9385. U1BDTP2INV : longWord;
  9386. U1BDTP3 : longWord;
  9387. U1BDTP3CLR : longWord;
  9388. U1BDTP3SET : longWord;
  9389. U1BDTP3INV : longWord;
  9390. U1CNFG1 : longWord;
  9391. U1CNFG1CLR : longWord;
  9392. U1CNFG1SET : longWord;
  9393. U1CNFG1INV : longWord;
  9394. U1EP0 : longWord;
  9395. U1EP0CLR : longWord;
  9396. U1EP0SET : longWord;
  9397. U1EP0INV : longWord;
  9398. U1EP1 : longWord;
  9399. U1EP1CLR : longWord;
  9400. U1EP1SET : longWord;
  9401. U1EP1INV : longWord;
  9402. U1EP2 : longWord;
  9403. U1EP2CLR : longWord;
  9404. U1EP2SET : longWord;
  9405. U1EP2INV : longWord;
  9406. U1EP3 : longWord;
  9407. U1EP3CLR : longWord;
  9408. U1EP3SET : longWord;
  9409. U1EP3INV : longWord;
  9410. U1EP4 : longWord;
  9411. U1EP4CLR : longWord;
  9412. U1EP4SET : longWord;
  9413. U1EP4INV : longWord;
  9414. U1EP5 : longWord;
  9415. U1EP5CLR : longWord;
  9416. U1EP5SET : longWord;
  9417. U1EP5INV : longWord;
  9418. U1EP6 : longWord;
  9419. U1EP6CLR : longWord;
  9420. U1EP6SET : longWord;
  9421. U1EP6INV : longWord;
  9422. U1EP7 : longWord;
  9423. U1EP7CLR : longWord;
  9424. U1EP7SET : longWord;
  9425. U1EP7INV : longWord;
  9426. U1EP8 : longWord;
  9427. U1EP8CLR : longWord;
  9428. U1EP8SET : longWord;
  9429. U1EP8INV : longWord;
  9430. U1EP9 : longWord;
  9431. U1EP9CLR : longWord;
  9432. U1EP9SET : longWord;
  9433. U1EP9INV : longWord;
  9434. U1EP10 : longWord;
  9435. U1EP10CLR : longWord;
  9436. U1EP10SET : longWord;
  9437. U1EP10INV : longWord;
  9438. U1EP11 : longWord;
  9439. U1EP11CLR : longWord;
  9440. U1EP11SET : longWord;
  9441. U1EP11INV : longWord;
  9442. U1EP12 : longWord;
  9443. U1EP12CLR : longWord;
  9444. U1EP12SET : longWord;
  9445. U1EP12INV : longWord;
  9446. U1EP13 : longWord;
  9447. U1EP13CLR : longWord;
  9448. U1EP13SET : longWord;
  9449. U1EP13INV : longWord;
  9450. U1EP14 : longWord;
  9451. U1EP14CLR : longWord;
  9452. U1EP14SET : longWord;
  9453. U1EP14INV : longWord;
  9454. U1EP15 : longWord;
  9455. U1EP15CLR : longWord;
  9456. U1EP15SET : longWord;
  9457. U1EP15INV : longWord;
  9458. ANSELBbits : TUSB_ANSELB;
  9459. ANSELB : longWord;
  9460. ANSELBCLR : longWord;
  9461. ANSELBSET : longWord;
  9462. ANSELBINV : longWord;
  9463. TRISBbits : TUSB_TRISB;
  9464. TRISB : longWord;
  9465. TRISBCLR : longWord;
  9466. TRISBSET : longWord;
  9467. TRISBINV : longWord;
  9468. end;
  9469. TPORTB_PORTB = record
  9470. private
  9471. function getRB0 : TBits_1; inline;
  9472. function getRB1 : TBits_1; inline;
  9473. function getRB10 : TBits_1; inline;
  9474. function getRB11 : TBits_1; inline;
  9475. function getRB12 : TBits_1; inline;
  9476. function getRB13 : TBits_1; inline;
  9477. function getRB14 : TBits_1; inline;
  9478. function getRB15 : TBits_1; inline;
  9479. function getRB2 : TBits_1; inline;
  9480. function getRB3 : TBits_1; inline;
  9481. function getRB4 : TBits_1; inline;
  9482. function getRB5 : TBits_1; inline;
  9483. function getRB6 : TBits_1; inline;
  9484. function getRB7 : TBits_1; inline;
  9485. function getRB8 : TBits_1; inline;
  9486. function getRB9 : TBits_1; inline;
  9487. function getw : TBits_32; inline;
  9488. procedure setRB0(thebits : TBits_1); inline;
  9489. procedure setRB1(thebits : TBits_1); inline;
  9490. procedure setRB10(thebits : TBits_1); inline;
  9491. procedure setRB11(thebits : TBits_1); inline;
  9492. procedure setRB12(thebits : TBits_1); inline;
  9493. procedure setRB13(thebits : TBits_1); inline;
  9494. procedure setRB14(thebits : TBits_1); inline;
  9495. procedure setRB15(thebits : TBits_1); inline;
  9496. procedure setRB2(thebits : TBits_1); inline;
  9497. procedure setRB3(thebits : TBits_1); inline;
  9498. procedure setRB4(thebits : TBits_1); inline;
  9499. procedure setRB5(thebits : TBits_1); inline;
  9500. procedure setRB6(thebits : TBits_1); inline;
  9501. procedure setRB7(thebits : TBits_1); inline;
  9502. procedure setRB8(thebits : TBits_1); inline;
  9503. procedure setRB9(thebits : TBits_1); inline;
  9504. procedure setw(thebits : TBits_32); inline;
  9505. public
  9506. procedure clearRB0; inline;
  9507. procedure clearRB10; inline;
  9508. procedure clearRB11; inline;
  9509. procedure clearRB12; inline;
  9510. procedure clearRB13; inline;
  9511. procedure clearRB14; inline;
  9512. procedure clearRB15; inline;
  9513. procedure clearRB1; inline;
  9514. procedure clearRB2; inline;
  9515. procedure clearRB3; inline;
  9516. procedure clearRB4; inline;
  9517. procedure clearRB5; inline;
  9518. procedure clearRB6; inline;
  9519. procedure clearRB7; inline;
  9520. procedure clearRB8; inline;
  9521. procedure clearRB9; inline;
  9522. procedure setRB0; inline;
  9523. procedure setRB10; inline;
  9524. procedure setRB11; inline;
  9525. procedure setRB12; inline;
  9526. procedure setRB13; inline;
  9527. procedure setRB14; inline;
  9528. procedure setRB15; inline;
  9529. procedure setRB1; inline;
  9530. procedure setRB2; inline;
  9531. procedure setRB3; inline;
  9532. procedure setRB4; inline;
  9533. procedure setRB5; inline;
  9534. procedure setRB6; inline;
  9535. procedure setRB7; inline;
  9536. procedure setRB8; inline;
  9537. procedure setRB9; inline;
  9538. property RB0 : TBits_1 read getRB0 write setRB0;
  9539. property RB1 : TBits_1 read getRB1 write setRB1;
  9540. property RB10 : TBits_1 read getRB10 write setRB10;
  9541. property RB11 : TBits_1 read getRB11 write setRB11;
  9542. property RB12 : TBits_1 read getRB12 write setRB12;
  9543. property RB13 : TBits_1 read getRB13 write setRB13;
  9544. property RB14 : TBits_1 read getRB14 write setRB14;
  9545. property RB15 : TBits_1 read getRB15 write setRB15;
  9546. property RB2 : TBits_1 read getRB2 write setRB2;
  9547. property RB3 : TBits_1 read getRB3 write setRB3;
  9548. property RB4 : TBits_1 read getRB4 write setRB4;
  9549. property RB5 : TBits_1 read getRB5 write setRB5;
  9550. property RB6 : TBits_1 read getRB6 write setRB6;
  9551. property RB7 : TBits_1 read getRB7 write setRB7;
  9552. property RB8 : TBits_1 read getRB8 write setRB8;
  9553. property RB9 : TBits_1 read getRB9 write setRB9;
  9554. property w : TBits_32 read getw write setw;
  9555. end;
  9556. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB6=6,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB12=12,RB13=13,RB14=14,RB15=15);
  9557. TPortB_bitset = set of TPortB_bits;
  9558. TPORTB_LATB = record
  9559. private
  9560. function getLATB0 : TBits_1; inline;
  9561. function getLATB1 : TBits_1; inline;
  9562. function getLATB10 : TBits_1; inline;
  9563. function getLATB11 : TBits_1; inline;
  9564. function getLATB12 : TBits_1; inline;
  9565. function getLATB13 : TBits_1; inline;
  9566. function getLATB14 : TBits_1; inline;
  9567. function getLATB15 : TBits_1; inline;
  9568. function getLATB2 : TBits_1; inline;
  9569. function getLATB3 : TBits_1; inline;
  9570. function getLATB4 : TBits_1; inline;
  9571. function getLATB5 : TBits_1; inline;
  9572. function getLATB6 : TBits_1; inline;
  9573. function getLATB7 : TBits_1; inline;
  9574. function getLATB8 : TBits_1; inline;
  9575. function getLATB9 : TBits_1; inline;
  9576. function getw : TBits_32; inline;
  9577. procedure setLATB0(thebits : TBits_1); inline;
  9578. procedure setLATB1(thebits : TBits_1); inline;
  9579. procedure setLATB10(thebits : TBits_1); inline;
  9580. procedure setLATB11(thebits : TBits_1); inline;
  9581. procedure setLATB12(thebits : TBits_1); inline;
  9582. procedure setLATB13(thebits : TBits_1); inline;
  9583. procedure setLATB14(thebits : TBits_1); inline;
  9584. procedure setLATB15(thebits : TBits_1); inline;
  9585. procedure setLATB2(thebits : TBits_1); inline;
  9586. procedure setLATB3(thebits : TBits_1); inline;
  9587. procedure setLATB4(thebits : TBits_1); inline;
  9588. procedure setLATB5(thebits : TBits_1); inline;
  9589. procedure setLATB6(thebits : TBits_1); inline;
  9590. procedure setLATB7(thebits : TBits_1); inline;
  9591. procedure setLATB8(thebits : TBits_1); inline;
  9592. procedure setLATB9(thebits : TBits_1); inline;
  9593. procedure setw(thebits : TBits_32); inline;
  9594. public
  9595. procedure clearLATB0; inline;
  9596. procedure clearLATB10; inline;
  9597. procedure clearLATB11; inline;
  9598. procedure clearLATB12; inline;
  9599. procedure clearLATB13; inline;
  9600. procedure clearLATB14; inline;
  9601. procedure clearLATB15; inline;
  9602. procedure clearLATB1; inline;
  9603. procedure clearLATB2; inline;
  9604. procedure clearLATB3; inline;
  9605. procedure clearLATB4; inline;
  9606. procedure clearLATB5; inline;
  9607. procedure clearLATB6; inline;
  9608. procedure clearLATB7; inline;
  9609. procedure clearLATB8; inline;
  9610. procedure clearLATB9; inline;
  9611. procedure setLATB0; inline;
  9612. procedure setLATB10; inline;
  9613. procedure setLATB11; inline;
  9614. procedure setLATB12; inline;
  9615. procedure setLATB13; inline;
  9616. procedure setLATB14; inline;
  9617. procedure setLATB15; inline;
  9618. procedure setLATB1; inline;
  9619. procedure setLATB2; inline;
  9620. procedure setLATB3; inline;
  9621. procedure setLATB4; inline;
  9622. procedure setLATB5; inline;
  9623. procedure setLATB6; inline;
  9624. procedure setLATB7; inline;
  9625. procedure setLATB8; inline;
  9626. procedure setLATB9; inline;
  9627. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  9628. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  9629. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  9630. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  9631. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  9632. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  9633. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  9634. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  9635. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  9636. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  9637. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  9638. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  9639. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  9640. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  9641. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  9642. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  9643. property w : TBits_32 read getw write setw;
  9644. end;
  9645. TPORTB_ODCB = record
  9646. private
  9647. function getODCB0 : TBits_1; inline;
  9648. function getODCB1 : TBits_1; inline;
  9649. function getODCB10 : TBits_1; inline;
  9650. function getODCB11 : TBits_1; inline;
  9651. function getODCB12 : TBits_1; inline;
  9652. function getODCB13 : TBits_1; inline;
  9653. function getODCB14 : TBits_1; inline;
  9654. function getODCB15 : TBits_1; inline;
  9655. function getODCB2 : TBits_1; inline;
  9656. function getODCB3 : TBits_1; inline;
  9657. function getODCB4 : TBits_1; inline;
  9658. function getODCB5 : TBits_1; inline;
  9659. function getODCB6 : TBits_1; inline;
  9660. function getODCB7 : TBits_1; inline;
  9661. function getODCB8 : TBits_1; inline;
  9662. function getODCB9 : TBits_1; inline;
  9663. function getw : TBits_32; inline;
  9664. procedure setODCB0(thebits : TBits_1); inline;
  9665. procedure setODCB1(thebits : TBits_1); inline;
  9666. procedure setODCB10(thebits : TBits_1); inline;
  9667. procedure setODCB11(thebits : TBits_1); inline;
  9668. procedure setODCB12(thebits : TBits_1); inline;
  9669. procedure setODCB13(thebits : TBits_1); inline;
  9670. procedure setODCB14(thebits : TBits_1); inline;
  9671. procedure setODCB15(thebits : TBits_1); inline;
  9672. procedure setODCB2(thebits : TBits_1); inline;
  9673. procedure setODCB3(thebits : TBits_1); inline;
  9674. procedure setODCB4(thebits : TBits_1); inline;
  9675. procedure setODCB5(thebits : TBits_1); inline;
  9676. procedure setODCB6(thebits : TBits_1); inline;
  9677. procedure setODCB7(thebits : TBits_1); inline;
  9678. procedure setODCB8(thebits : TBits_1); inline;
  9679. procedure setODCB9(thebits : TBits_1); inline;
  9680. procedure setw(thebits : TBits_32); inline;
  9681. public
  9682. procedure clearODCB0; inline;
  9683. procedure clearODCB10; inline;
  9684. procedure clearODCB11; inline;
  9685. procedure clearODCB12; inline;
  9686. procedure clearODCB13; inline;
  9687. procedure clearODCB14; inline;
  9688. procedure clearODCB15; inline;
  9689. procedure clearODCB1; inline;
  9690. procedure clearODCB2; inline;
  9691. procedure clearODCB3; inline;
  9692. procedure clearODCB4; inline;
  9693. procedure clearODCB5; inline;
  9694. procedure clearODCB6; inline;
  9695. procedure clearODCB7; inline;
  9696. procedure clearODCB8; inline;
  9697. procedure clearODCB9; inline;
  9698. procedure setODCB0; inline;
  9699. procedure setODCB10; inline;
  9700. procedure setODCB11; inline;
  9701. procedure setODCB12; inline;
  9702. procedure setODCB13; inline;
  9703. procedure setODCB14; inline;
  9704. procedure setODCB15; inline;
  9705. procedure setODCB1; inline;
  9706. procedure setODCB2; inline;
  9707. procedure setODCB3; inline;
  9708. procedure setODCB4; inline;
  9709. procedure setODCB5; inline;
  9710. procedure setODCB6; inline;
  9711. procedure setODCB7; inline;
  9712. procedure setODCB8; inline;
  9713. procedure setODCB9; inline;
  9714. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  9715. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  9716. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  9717. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  9718. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  9719. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  9720. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  9721. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  9722. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  9723. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  9724. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  9725. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  9726. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  9727. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  9728. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  9729. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  9730. property w : TBits_32 read getw write setw;
  9731. end;
  9732. TPORTB_CNPUB = record
  9733. private
  9734. function getCNPUB0 : TBits_1; inline;
  9735. function getCNPUB1 : TBits_1; inline;
  9736. function getCNPUB10 : TBits_1; inline;
  9737. function getCNPUB11 : TBits_1; inline;
  9738. function getCNPUB12 : TBits_1; inline;
  9739. function getCNPUB13 : TBits_1; inline;
  9740. function getCNPUB14 : TBits_1; inline;
  9741. function getCNPUB15 : TBits_1; inline;
  9742. function getCNPUB2 : TBits_1; inline;
  9743. function getCNPUB3 : TBits_1; inline;
  9744. function getCNPUB4 : TBits_1; inline;
  9745. function getCNPUB5 : TBits_1; inline;
  9746. function getCNPUB6 : TBits_1; inline;
  9747. function getCNPUB7 : TBits_1; inline;
  9748. function getCNPUB8 : TBits_1; inline;
  9749. function getCNPUB9 : TBits_1; inline;
  9750. function getw : TBits_32; inline;
  9751. procedure setCNPUB0(thebits : TBits_1); inline;
  9752. procedure setCNPUB1(thebits : TBits_1); inline;
  9753. procedure setCNPUB10(thebits : TBits_1); inline;
  9754. procedure setCNPUB11(thebits : TBits_1); inline;
  9755. procedure setCNPUB12(thebits : TBits_1); inline;
  9756. procedure setCNPUB13(thebits : TBits_1); inline;
  9757. procedure setCNPUB14(thebits : TBits_1); inline;
  9758. procedure setCNPUB15(thebits : TBits_1); inline;
  9759. procedure setCNPUB2(thebits : TBits_1); inline;
  9760. procedure setCNPUB3(thebits : TBits_1); inline;
  9761. procedure setCNPUB4(thebits : TBits_1); inline;
  9762. procedure setCNPUB5(thebits : TBits_1); inline;
  9763. procedure setCNPUB6(thebits : TBits_1); inline;
  9764. procedure setCNPUB7(thebits : TBits_1); inline;
  9765. procedure setCNPUB8(thebits : TBits_1); inline;
  9766. procedure setCNPUB9(thebits : TBits_1); inline;
  9767. procedure setw(thebits : TBits_32); inline;
  9768. public
  9769. procedure clearCNPUB0; inline;
  9770. procedure clearCNPUB10; inline;
  9771. procedure clearCNPUB11; inline;
  9772. procedure clearCNPUB12; inline;
  9773. procedure clearCNPUB13; inline;
  9774. procedure clearCNPUB14; inline;
  9775. procedure clearCNPUB15; inline;
  9776. procedure clearCNPUB1; inline;
  9777. procedure clearCNPUB2; inline;
  9778. procedure clearCNPUB3; inline;
  9779. procedure clearCNPUB4; inline;
  9780. procedure clearCNPUB5; inline;
  9781. procedure clearCNPUB6; inline;
  9782. procedure clearCNPUB7; inline;
  9783. procedure clearCNPUB8; inline;
  9784. procedure clearCNPUB9; inline;
  9785. procedure setCNPUB0; inline;
  9786. procedure setCNPUB10; inline;
  9787. procedure setCNPUB11; inline;
  9788. procedure setCNPUB12; inline;
  9789. procedure setCNPUB13; inline;
  9790. procedure setCNPUB14; inline;
  9791. procedure setCNPUB15; inline;
  9792. procedure setCNPUB1; inline;
  9793. procedure setCNPUB2; inline;
  9794. procedure setCNPUB3; inline;
  9795. procedure setCNPUB4; inline;
  9796. procedure setCNPUB5; inline;
  9797. procedure setCNPUB6; inline;
  9798. procedure setCNPUB7; inline;
  9799. procedure setCNPUB8; inline;
  9800. procedure setCNPUB9; inline;
  9801. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9802. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9803. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9804. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9805. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  9806. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9807. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9808. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9809. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9810. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9811. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9812. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9813. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  9814. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9815. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9816. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9817. property w : TBits_32 read getw write setw;
  9818. end;
  9819. TPORTB_CNPDB = record
  9820. private
  9821. function getCNPDB0 : TBits_1; inline;
  9822. function getCNPDB1 : TBits_1; inline;
  9823. function getCNPDB10 : TBits_1; inline;
  9824. function getCNPDB11 : TBits_1; inline;
  9825. function getCNPDB12 : TBits_1; inline;
  9826. function getCNPDB13 : TBits_1; inline;
  9827. function getCNPDB14 : TBits_1; inline;
  9828. function getCNPDB15 : TBits_1; inline;
  9829. function getCNPDB2 : TBits_1; inline;
  9830. function getCNPDB3 : TBits_1; inline;
  9831. function getCNPDB4 : TBits_1; inline;
  9832. function getCNPDB5 : TBits_1; inline;
  9833. function getCNPDB6 : TBits_1; inline;
  9834. function getCNPDB7 : TBits_1; inline;
  9835. function getCNPDB8 : TBits_1; inline;
  9836. function getCNPDB9 : TBits_1; inline;
  9837. function getw : TBits_32; inline;
  9838. procedure setCNPDB0(thebits : TBits_1); inline;
  9839. procedure setCNPDB1(thebits : TBits_1); inline;
  9840. procedure setCNPDB10(thebits : TBits_1); inline;
  9841. procedure setCNPDB11(thebits : TBits_1); inline;
  9842. procedure setCNPDB12(thebits : TBits_1); inline;
  9843. procedure setCNPDB13(thebits : TBits_1); inline;
  9844. procedure setCNPDB14(thebits : TBits_1); inline;
  9845. procedure setCNPDB15(thebits : TBits_1); inline;
  9846. procedure setCNPDB2(thebits : TBits_1); inline;
  9847. procedure setCNPDB3(thebits : TBits_1); inline;
  9848. procedure setCNPDB4(thebits : TBits_1); inline;
  9849. procedure setCNPDB5(thebits : TBits_1); inline;
  9850. procedure setCNPDB6(thebits : TBits_1); inline;
  9851. procedure setCNPDB7(thebits : TBits_1); inline;
  9852. procedure setCNPDB8(thebits : TBits_1); inline;
  9853. procedure setCNPDB9(thebits : TBits_1); inline;
  9854. procedure setw(thebits : TBits_32); inline;
  9855. public
  9856. procedure clearCNPDB0; inline;
  9857. procedure clearCNPDB10; inline;
  9858. procedure clearCNPDB11; inline;
  9859. procedure clearCNPDB12; inline;
  9860. procedure clearCNPDB13; inline;
  9861. procedure clearCNPDB14; inline;
  9862. procedure clearCNPDB15; inline;
  9863. procedure clearCNPDB1; inline;
  9864. procedure clearCNPDB2; inline;
  9865. procedure clearCNPDB3; inline;
  9866. procedure clearCNPDB4; inline;
  9867. procedure clearCNPDB5; inline;
  9868. procedure clearCNPDB6; inline;
  9869. procedure clearCNPDB7; inline;
  9870. procedure clearCNPDB8; inline;
  9871. procedure clearCNPDB9; inline;
  9872. procedure setCNPDB0; inline;
  9873. procedure setCNPDB10; inline;
  9874. procedure setCNPDB11; inline;
  9875. procedure setCNPDB12; inline;
  9876. procedure setCNPDB13; inline;
  9877. procedure setCNPDB14; inline;
  9878. procedure setCNPDB15; inline;
  9879. procedure setCNPDB1; inline;
  9880. procedure setCNPDB2; inline;
  9881. procedure setCNPDB3; inline;
  9882. procedure setCNPDB4; inline;
  9883. procedure setCNPDB5; inline;
  9884. procedure setCNPDB6; inline;
  9885. procedure setCNPDB7; inline;
  9886. procedure setCNPDB8; inline;
  9887. procedure setCNPDB9; inline;
  9888. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9889. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9890. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9891. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9892. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  9893. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9894. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9895. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9896. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9897. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9898. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9899. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9900. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  9901. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9902. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9903. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9904. property w : TBits_32 read getw write setw;
  9905. end;
  9906. TPORTB_CNCONB = record
  9907. private
  9908. function getON : TBits_1; inline;
  9909. function getSIDL : TBits_1; inline;
  9910. function getw : TBits_32; inline;
  9911. procedure setON(thebits : TBits_1); inline;
  9912. procedure setSIDL(thebits : TBits_1); inline;
  9913. procedure setw(thebits : TBits_32); inline;
  9914. public
  9915. procedure clearON; inline;
  9916. procedure clearSIDL; inline;
  9917. procedure setON; inline;
  9918. procedure setSIDL; inline;
  9919. property ON : TBits_1 read getON write setON;
  9920. property SIDL : TBits_1 read getSIDL write setSIDL;
  9921. property w : TBits_32 read getw write setw;
  9922. end;
  9923. TPORTB_CNENB = record
  9924. private
  9925. function getCNIEB0 : TBits_1; inline;
  9926. function getCNIEB1 : TBits_1; inline;
  9927. function getCNIEB10 : TBits_1; inline;
  9928. function getCNIEB11 : TBits_1; inline;
  9929. function getCNIEB12 : TBits_1; inline;
  9930. function getCNIEB13 : TBits_1; inline;
  9931. function getCNIEB14 : TBits_1; inline;
  9932. function getCNIEB15 : TBits_1; inline;
  9933. function getCNIEB2 : TBits_1; inline;
  9934. function getCNIEB3 : TBits_1; inline;
  9935. function getCNIEB4 : TBits_1; inline;
  9936. function getCNIEB5 : TBits_1; inline;
  9937. function getCNIEB6 : TBits_1; inline;
  9938. function getCNIEB7 : TBits_1; inline;
  9939. function getCNIEB8 : TBits_1; inline;
  9940. function getCNIEB9 : TBits_1; inline;
  9941. function getw : TBits_32; inline;
  9942. procedure setCNIEB0(thebits : TBits_1); inline;
  9943. procedure setCNIEB1(thebits : TBits_1); inline;
  9944. procedure setCNIEB10(thebits : TBits_1); inline;
  9945. procedure setCNIEB11(thebits : TBits_1); inline;
  9946. procedure setCNIEB12(thebits : TBits_1); inline;
  9947. procedure setCNIEB13(thebits : TBits_1); inline;
  9948. procedure setCNIEB14(thebits : TBits_1); inline;
  9949. procedure setCNIEB15(thebits : TBits_1); inline;
  9950. procedure setCNIEB2(thebits : TBits_1); inline;
  9951. procedure setCNIEB3(thebits : TBits_1); inline;
  9952. procedure setCNIEB4(thebits : TBits_1); inline;
  9953. procedure setCNIEB5(thebits : TBits_1); inline;
  9954. procedure setCNIEB6(thebits : TBits_1); inline;
  9955. procedure setCNIEB7(thebits : TBits_1); inline;
  9956. procedure setCNIEB8(thebits : TBits_1); inline;
  9957. procedure setCNIEB9(thebits : TBits_1); inline;
  9958. procedure setw(thebits : TBits_32); inline;
  9959. public
  9960. procedure clearCNIEB0; inline;
  9961. procedure clearCNIEB10; inline;
  9962. procedure clearCNIEB11; inline;
  9963. procedure clearCNIEB12; inline;
  9964. procedure clearCNIEB13; inline;
  9965. procedure clearCNIEB14; inline;
  9966. procedure clearCNIEB15; inline;
  9967. procedure clearCNIEB1; inline;
  9968. procedure clearCNIEB2; inline;
  9969. procedure clearCNIEB3; inline;
  9970. procedure clearCNIEB4; inline;
  9971. procedure clearCNIEB5; inline;
  9972. procedure clearCNIEB6; inline;
  9973. procedure clearCNIEB7; inline;
  9974. procedure clearCNIEB8; inline;
  9975. procedure clearCNIEB9; inline;
  9976. procedure setCNIEB0; inline;
  9977. procedure setCNIEB10; inline;
  9978. procedure setCNIEB11; inline;
  9979. procedure setCNIEB12; inline;
  9980. procedure setCNIEB13; inline;
  9981. procedure setCNIEB14; inline;
  9982. procedure setCNIEB15; inline;
  9983. procedure setCNIEB1; inline;
  9984. procedure setCNIEB2; inline;
  9985. procedure setCNIEB3; inline;
  9986. procedure setCNIEB4; inline;
  9987. procedure setCNIEB5; inline;
  9988. procedure setCNIEB6; inline;
  9989. procedure setCNIEB7; inline;
  9990. procedure setCNIEB8; inline;
  9991. procedure setCNIEB9; inline;
  9992. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9993. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9994. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9995. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9996. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  9997. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9998. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9999. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  10000. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  10001. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  10002. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  10003. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  10004. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  10005. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  10006. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  10007. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  10008. property w : TBits_32 read getw write setw;
  10009. end;
  10010. TPORTB_CNSTATB = record
  10011. private
  10012. function getCNSTATB0 : TBits_1; inline;
  10013. function getCNSTATB1 : TBits_1; inline;
  10014. function getCNSTATB10 : TBits_1; inline;
  10015. function getCNSTATB11 : TBits_1; inline;
  10016. function getCNSTATB12 : TBits_1; inline;
  10017. function getCNSTATB13 : TBits_1; inline;
  10018. function getCNSTATB14 : TBits_1; inline;
  10019. function getCNSTATB15 : TBits_1; inline;
  10020. function getCNSTATB2 : TBits_1; inline;
  10021. function getCNSTATB3 : TBits_1; inline;
  10022. function getCNSTATB4 : TBits_1; inline;
  10023. function getCNSTATB5 : TBits_1; inline;
  10024. function getCNSTATB6 : TBits_1; inline;
  10025. function getCNSTATB7 : TBits_1; inline;
  10026. function getCNSTATB8 : TBits_1; inline;
  10027. function getCNSTATB9 : TBits_1; inline;
  10028. function getw : TBits_32; inline;
  10029. procedure setCNSTATB0(thebits : TBits_1); inline;
  10030. procedure setCNSTATB1(thebits : TBits_1); inline;
  10031. procedure setCNSTATB10(thebits : TBits_1); inline;
  10032. procedure setCNSTATB11(thebits : TBits_1); inline;
  10033. procedure setCNSTATB12(thebits : TBits_1); inline;
  10034. procedure setCNSTATB13(thebits : TBits_1); inline;
  10035. procedure setCNSTATB14(thebits : TBits_1); inline;
  10036. procedure setCNSTATB15(thebits : TBits_1); inline;
  10037. procedure setCNSTATB2(thebits : TBits_1); inline;
  10038. procedure setCNSTATB3(thebits : TBits_1); inline;
  10039. procedure setCNSTATB4(thebits : TBits_1); inline;
  10040. procedure setCNSTATB5(thebits : TBits_1); inline;
  10041. procedure setCNSTATB6(thebits : TBits_1); inline;
  10042. procedure setCNSTATB7(thebits : TBits_1); inline;
  10043. procedure setCNSTATB8(thebits : TBits_1); inline;
  10044. procedure setCNSTATB9(thebits : TBits_1); inline;
  10045. procedure setw(thebits : TBits_32); inline;
  10046. public
  10047. procedure clearCNSTATB0; inline;
  10048. procedure clearCNSTATB10; inline;
  10049. procedure clearCNSTATB11; inline;
  10050. procedure clearCNSTATB12; inline;
  10051. procedure clearCNSTATB13; inline;
  10052. procedure clearCNSTATB14; inline;
  10053. procedure clearCNSTATB15; inline;
  10054. procedure clearCNSTATB1; inline;
  10055. procedure clearCNSTATB2; inline;
  10056. procedure clearCNSTATB3; inline;
  10057. procedure clearCNSTATB4; inline;
  10058. procedure clearCNSTATB5; inline;
  10059. procedure clearCNSTATB6; inline;
  10060. procedure clearCNSTATB7; inline;
  10061. procedure clearCNSTATB8; inline;
  10062. procedure clearCNSTATB9; inline;
  10063. procedure setCNSTATB0; inline;
  10064. procedure setCNSTATB10; inline;
  10065. procedure setCNSTATB11; inline;
  10066. procedure setCNSTATB12; inline;
  10067. procedure setCNSTATB13; inline;
  10068. procedure setCNSTATB14; inline;
  10069. procedure setCNSTATB15; inline;
  10070. procedure setCNSTATB1; inline;
  10071. procedure setCNSTATB2; inline;
  10072. procedure setCNSTATB3; inline;
  10073. procedure setCNSTATB4; inline;
  10074. procedure setCNSTATB5; inline;
  10075. procedure setCNSTATB6; inline;
  10076. procedure setCNSTATB7; inline;
  10077. procedure setCNSTATB8; inline;
  10078. procedure setCNSTATB9; inline;
  10079. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  10080. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  10081. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  10082. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  10083. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  10084. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  10085. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  10086. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  10087. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  10088. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  10089. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  10090. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  10091. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  10092. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  10093. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  10094. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  10095. property w : TBits_32 read getw write setw;
  10096. end;
  10097. TPORTB_ANSELC = record
  10098. private
  10099. function getANSC12 : TBits_1; inline;
  10100. function getANSC13 : TBits_1; inline;
  10101. function getANSC14 : TBits_1; inline;
  10102. function getANSC15 : TBits_1; inline;
  10103. function getw : TBits_32; inline;
  10104. procedure setANSC12(thebits : TBits_1); inline;
  10105. procedure setANSC13(thebits : TBits_1); inline;
  10106. procedure setANSC14(thebits : TBits_1); inline;
  10107. procedure setANSC15(thebits : TBits_1); inline;
  10108. procedure setw(thebits : TBits_32); inline;
  10109. public
  10110. procedure clearANSC12; inline;
  10111. procedure clearANSC13; inline;
  10112. procedure clearANSC14; inline;
  10113. procedure clearANSC15; inline;
  10114. procedure setANSC12; inline;
  10115. procedure setANSC13; inline;
  10116. procedure setANSC14; inline;
  10117. procedure setANSC15; inline;
  10118. property ANSC12 : TBits_1 read getANSC12 write setANSC12;
  10119. property ANSC13 : TBits_1 read getANSC13 write setANSC13;
  10120. property ANSC14 : TBits_1 read getANSC14 write setANSC14;
  10121. property ANSC15 : TBits_1 read getANSC15 write setANSC15;
  10122. property w : TBits_32 read getw write setw;
  10123. end;
  10124. TPORTB_TRISC = record
  10125. private
  10126. function getTRISC12 : TBits_1; inline;
  10127. function getTRISC13 : TBits_1; inline;
  10128. function getTRISC14 : TBits_1; inline;
  10129. function getTRISC15 : TBits_1; inline;
  10130. function getw : TBits_32; inline;
  10131. procedure setTRISC12(thebits : TBits_1); inline;
  10132. procedure setTRISC13(thebits : TBits_1); inline;
  10133. procedure setTRISC14(thebits : TBits_1); inline;
  10134. procedure setTRISC15(thebits : TBits_1); inline;
  10135. procedure setw(thebits : TBits_32); inline;
  10136. public
  10137. procedure clearTRISC12; inline;
  10138. procedure clearTRISC13; inline;
  10139. procedure clearTRISC14; inline;
  10140. procedure clearTRISC15; inline;
  10141. procedure setTRISC12; inline;
  10142. procedure setTRISC13; inline;
  10143. procedure setTRISC14; inline;
  10144. procedure setTRISC15; inline;
  10145. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  10146. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  10147. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  10148. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  10149. property w : TBits_32 read getw write setw;
  10150. end;
  10151. type
  10152. TPORTBRegisters = record
  10153. PORTBbits : TPORTB_PORTB;
  10154. PORTB : longWord;
  10155. PORTBCLR : longWord;
  10156. PORTBSET : longWord;
  10157. PORTBINV : longWord;
  10158. LATBbits : TPORTB_LATB;
  10159. LATB : longWord;
  10160. LATBCLR : longWord;
  10161. LATBSET : longWord;
  10162. LATBINV : longWord;
  10163. ODCBbits : TPORTB_ODCB;
  10164. ODCB : longWord;
  10165. ODCBCLR : longWord;
  10166. ODCBSET : longWord;
  10167. ODCBINV : longWord;
  10168. CNPUBbits : TPORTB_CNPUB;
  10169. CNPUB : longWord;
  10170. CNPUBCLR : longWord;
  10171. CNPUBSET : longWord;
  10172. CNPUBINV : longWord;
  10173. CNPDBbits : TPORTB_CNPDB;
  10174. CNPDB : longWord;
  10175. CNPDBCLR : longWord;
  10176. CNPDBSET : longWord;
  10177. CNPDBINV : longWord;
  10178. CNCONBbits : TPORTB_CNCONB;
  10179. CNCONB : longWord;
  10180. CNCONBCLR : longWord;
  10181. CNCONBSET : longWord;
  10182. CNCONBINV : longWord;
  10183. CNENBbits : TPORTB_CNENB;
  10184. CNENB : longWord;
  10185. CNENBCLR : longWord;
  10186. CNENBSET : longWord;
  10187. CNENBINV : longWord;
  10188. CNSTATBbits : TPORTB_CNSTATB;
  10189. CNSTATB : longWord;
  10190. CNSTATBCLR : longWord;
  10191. CNSTATBSET : longWord;
  10192. CNSTATBINV : longWord;
  10193. ANSELCbits : TPORTB_ANSELC;
  10194. ANSELC : longWord;
  10195. ANSELCCLR : longWord;
  10196. ANSELCSET : longWord;
  10197. ANSELCINV : longWord;
  10198. TRISCbits : TPORTB_TRISC;
  10199. TRISC : longWord;
  10200. TRISCCLR : longWord;
  10201. TRISCSET : longWord;
  10202. TRISCINV : longWord;
  10203. end;
  10204. TPORTC_PORTC = record
  10205. private
  10206. function getRC12 : TBits_1; inline;
  10207. function getRC13 : TBits_1; inline;
  10208. function getRC14 : TBits_1; inline;
  10209. function getRC15 : TBits_1; inline;
  10210. function getw : TBits_32; inline;
  10211. procedure setRC12(thebits : TBits_1); inline;
  10212. procedure setRC13(thebits : TBits_1); inline;
  10213. procedure setRC14(thebits : TBits_1); inline;
  10214. procedure setRC15(thebits : TBits_1); inline;
  10215. procedure setw(thebits : TBits_32); inline;
  10216. public
  10217. procedure clearRC12; inline;
  10218. procedure clearRC13; inline;
  10219. procedure clearRC14; inline;
  10220. procedure clearRC15; inline;
  10221. procedure setRC12; inline;
  10222. procedure setRC13; inline;
  10223. procedure setRC14; inline;
  10224. procedure setRC15; inline;
  10225. property RC12 : TBits_1 read getRC12 write setRC12;
  10226. property RC13 : TBits_1 read getRC13 write setRC13;
  10227. property RC14 : TBits_1 read getRC14 write setRC14;
  10228. property RC15 : TBits_1 read getRC15 write setRC15;
  10229. property w : TBits_32 read getw write setw;
  10230. end;
  10231. TPortC_bits=(RC12=12,RC13=13,RC14=14,RC15=15);
  10232. TPortC_bitset = set of TPortC_bits;
  10233. TPORTC_LATC = record
  10234. private
  10235. function getLATC12 : TBits_1; inline;
  10236. function getLATC13 : TBits_1; inline;
  10237. function getLATC14 : TBits_1; inline;
  10238. function getLATC15 : TBits_1; inline;
  10239. function getw : TBits_32; inline;
  10240. procedure setLATC12(thebits : TBits_1); inline;
  10241. procedure setLATC13(thebits : TBits_1); inline;
  10242. procedure setLATC14(thebits : TBits_1); inline;
  10243. procedure setLATC15(thebits : TBits_1); inline;
  10244. procedure setw(thebits : TBits_32); inline;
  10245. public
  10246. procedure clearLATC12; inline;
  10247. procedure clearLATC13; inline;
  10248. procedure clearLATC14; inline;
  10249. procedure clearLATC15; inline;
  10250. procedure setLATC12; inline;
  10251. procedure setLATC13; inline;
  10252. procedure setLATC14; inline;
  10253. procedure setLATC15; inline;
  10254. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  10255. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  10256. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  10257. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  10258. property w : TBits_32 read getw write setw;
  10259. end;
  10260. TPORTC_ODCC = record
  10261. private
  10262. function getODCC12 : TBits_1; inline;
  10263. function getODCC13 : TBits_1; inline;
  10264. function getODCC14 : TBits_1; inline;
  10265. function getODCC15 : TBits_1; inline;
  10266. function getw : TBits_32; inline;
  10267. procedure setODCC12(thebits : TBits_1); inline;
  10268. procedure setODCC13(thebits : TBits_1); inline;
  10269. procedure setODCC14(thebits : TBits_1); inline;
  10270. procedure setODCC15(thebits : TBits_1); inline;
  10271. procedure setw(thebits : TBits_32); inline;
  10272. public
  10273. procedure clearODCC12; inline;
  10274. procedure clearODCC13; inline;
  10275. procedure clearODCC14; inline;
  10276. procedure clearODCC15; inline;
  10277. procedure setODCC12; inline;
  10278. procedure setODCC13; inline;
  10279. procedure setODCC14; inline;
  10280. procedure setODCC15; inline;
  10281. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  10282. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  10283. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  10284. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  10285. property w : TBits_32 read getw write setw;
  10286. end;
  10287. TPORTC_CNPUC = record
  10288. private
  10289. function getCNPUC12 : TBits_1; inline;
  10290. function getCNPUC13 : TBits_1; inline;
  10291. function getCNPUC14 : TBits_1; inline;
  10292. function getCNPUC15 : TBits_1; inline;
  10293. function getw : TBits_32; inline;
  10294. procedure setCNPUC12(thebits : TBits_1); inline;
  10295. procedure setCNPUC13(thebits : TBits_1); inline;
  10296. procedure setCNPUC14(thebits : TBits_1); inline;
  10297. procedure setCNPUC15(thebits : TBits_1); inline;
  10298. procedure setw(thebits : TBits_32); inline;
  10299. public
  10300. procedure clearCNPUC12; inline;
  10301. procedure clearCNPUC13; inline;
  10302. procedure clearCNPUC14; inline;
  10303. procedure clearCNPUC15; inline;
  10304. procedure setCNPUC12; inline;
  10305. procedure setCNPUC13; inline;
  10306. procedure setCNPUC14; inline;
  10307. procedure setCNPUC15; inline;
  10308. property CNPUC12 : TBits_1 read getCNPUC12 write setCNPUC12;
  10309. property CNPUC13 : TBits_1 read getCNPUC13 write setCNPUC13;
  10310. property CNPUC14 : TBits_1 read getCNPUC14 write setCNPUC14;
  10311. property CNPUC15 : TBits_1 read getCNPUC15 write setCNPUC15;
  10312. property w : TBits_32 read getw write setw;
  10313. end;
  10314. TPORTC_CNPDC = record
  10315. private
  10316. function getCNPDC12 : TBits_1; inline;
  10317. function getCNPDC13 : TBits_1; inline;
  10318. function getCNPDC14 : TBits_1; inline;
  10319. function getCNPDC15 : TBits_1; inline;
  10320. function getw : TBits_32; inline;
  10321. procedure setCNPDC12(thebits : TBits_1); inline;
  10322. procedure setCNPDC13(thebits : TBits_1); inline;
  10323. procedure setCNPDC14(thebits : TBits_1); inline;
  10324. procedure setCNPDC15(thebits : TBits_1); inline;
  10325. procedure setw(thebits : TBits_32); inline;
  10326. public
  10327. procedure clearCNPDC12; inline;
  10328. procedure clearCNPDC13; inline;
  10329. procedure clearCNPDC14; inline;
  10330. procedure clearCNPDC15; inline;
  10331. procedure setCNPDC12; inline;
  10332. procedure setCNPDC13; inline;
  10333. procedure setCNPDC14; inline;
  10334. procedure setCNPDC15; inline;
  10335. property CNPDC12 : TBits_1 read getCNPDC12 write setCNPDC12;
  10336. property CNPDC13 : TBits_1 read getCNPDC13 write setCNPDC13;
  10337. property CNPDC14 : TBits_1 read getCNPDC14 write setCNPDC14;
  10338. property CNPDC15 : TBits_1 read getCNPDC15 write setCNPDC15;
  10339. property w : TBits_32 read getw write setw;
  10340. end;
  10341. TPORTC_CNCONC = record
  10342. private
  10343. function getON : TBits_1; inline;
  10344. function getSIDL : TBits_1; inline;
  10345. function getw : TBits_32; inline;
  10346. procedure setON(thebits : TBits_1); inline;
  10347. procedure setSIDL(thebits : TBits_1); inline;
  10348. procedure setw(thebits : TBits_32); inline;
  10349. public
  10350. procedure clearON; inline;
  10351. procedure clearSIDL; inline;
  10352. procedure setON; inline;
  10353. procedure setSIDL; inline;
  10354. property ON : TBits_1 read getON write setON;
  10355. property SIDL : TBits_1 read getSIDL write setSIDL;
  10356. property w : TBits_32 read getw write setw;
  10357. end;
  10358. TPORTC_CNENC = record
  10359. private
  10360. function getCNIEC12 : TBits_1; inline;
  10361. function getCNIEC13 : TBits_1; inline;
  10362. function getCNIEC14 : TBits_1; inline;
  10363. function getCNIEC15 : TBits_1; inline;
  10364. function getw : TBits_32; inline;
  10365. procedure setCNIEC12(thebits : TBits_1); inline;
  10366. procedure setCNIEC13(thebits : TBits_1); inline;
  10367. procedure setCNIEC14(thebits : TBits_1); inline;
  10368. procedure setCNIEC15(thebits : TBits_1); inline;
  10369. procedure setw(thebits : TBits_32); inline;
  10370. public
  10371. procedure clearCNIEC12; inline;
  10372. procedure clearCNIEC13; inline;
  10373. procedure clearCNIEC14; inline;
  10374. procedure clearCNIEC15; inline;
  10375. procedure setCNIEC12; inline;
  10376. procedure setCNIEC13; inline;
  10377. procedure setCNIEC14; inline;
  10378. procedure setCNIEC15; inline;
  10379. property CNIEC12 : TBits_1 read getCNIEC12 write setCNIEC12;
  10380. property CNIEC13 : TBits_1 read getCNIEC13 write setCNIEC13;
  10381. property CNIEC14 : TBits_1 read getCNIEC14 write setCNIEC14;
  10382. property CNIEC15 : TBits_1 read getCNIEC15 write setCNIEC15;
  10383. property w : TBits_32 read getw write setw;
  10384. end;
  10385. TPORTC_CNSTATC = record
  10386. private
  10387. function getCNSTATC12 : TBits_1; inline;
  10388. function getCNSTATC13 : TBits_1; inline;
  10389. function getCNSTATC14 : TBits_1; inline;
  10390. function getCNSTATC15 : TBits_1; inline;
  10391. function getw : TBits_32; inline;
  10392. procedure setCNSTATC12(thebits : TBits_1); inline;
  10393. procedure setCNSTATC13(thebits : TBits_1); inline;
  10394. procedure setCNSTATC14(thebits : TBits_1); inline;
  10395. procedure setCNSTATC15(thebits : TBits_1); inline;
  10396. procedure setw(thebits : TBits_32); inline;
  10397. public
  10398. procedure clearCNSTATC12; inline;
  10399. procedure clearCNSTATC13; inline;
  10400. procedure clearCNSTATC14; inline;
  10401. procedure clearCNSTATC15; inline;
  10402. procedure setCNSTATC12; inline;
  10403. procedure setCNSTATC13; inline;
  10404. procedure setCNSTATC14; inline;
  10405. procedure setCNSTATC15; inline;
  10406. property CNSTATC12 : TBits_1 read getCNSTATC12 write setCNSTATC12;
  10407. property CNSTATC13 : TBits_1 read getCNSTATC13 write setCNSTATC13;
  10408. property CNSTATC14 : TBits_1 read getCNSTATC14 write setCNSTATC14;
  10409. property CNSTATC15 : TBits_1 read getCNSTATC15 write setCNSTATC15;
  10410. property w : TBits_32 read getw write setw;
  10411. end;
  10412. TPORTC_ANSELD = record
  10413. private
  10414. function getANSD1 : TBits_1; inline;
  10415. function getANSD2 : TBits_1; inline;
  10416. function getANSD3 : TBits_1; inline;
  10417. function getw : TBits_32; inline;
  10418. procedure setANSD1(thebits : TBits_1); inline;
  10419. procedure setANSD2(thebits : TBits_1); inline;
  10420. procedure setANSD3(thebits : TBits_1); inline;
  10421. procedure setw(thebits : TBits_32); inline;
  10422. public
  10423. procedure clearANSD1; inline;
  10424. procedure clearANSD2; inline;
  10425. procedure clearANSD3; inline;
  10426. procedure setANSD1; inline;
  10427. procedure setANSD2; inline;
  10428. procedure setANSD3; inline;
  10429. property ANSD1 : TBits_1 read getANSD1 write setANSD1;
  10430. property ANSD2 : TBits_1 read getANSD2 write setANSD2;
  10431. property ANSD3 : TBits_1 read getANSD3 write setANSD3;
  10432. property w : TBits_32 read getw write setw;
  10433. end;
  10434. TPORTC_TRISD = record
  10435. private
  10436. function getTRISD0 : TBits_1; inline;
  10437. function getTRISD1 : TBits_1; inline;
  10438. function getTRISD10 : TBits_1; inline;
  10439. function getTRISD11 : TBits_1; inline;
  10440. function getTRISD2 : TBits_1; inline;
  10441. function getTRISD3 : TBits_1; inline;
  10442. function getTRISD4 : TBits_1; inline;
  10443. function getTRISD5 : TBits_1; inline;
  10444. function getTRISD6 : TBits_1; inline;
  10445. function getTRISD7 : TBits_1; inline;
  10446. function getTRISD8 : TBits_1; inline;
  10447. function getTRISD9 : TBits_1; inline;
  10448. function getw : TBits_32; inline;
  10449. procedure setTRISD0(thebits : TBits_1); inline;
  10450. procedure setTRISD1(thebits : TBits_1); inline;
  10451. procedure setTRISD10(thebits : TBits_1); inline;
  10452. procedure setTRISD11(thebits : TBits_1); inline;
  10453. procedure setTRISD2(thebits : TBits_1); inline;
  10454. procedure setTRISD3(thebits : TBits_1); inline;
  10455. procedure setTRISD4(thebits : TBits_1); inline;
  10456. procedure setTRISD5(thebits : TBits_1); inline;
  10457. procedure setTRISD6(thebits : TBits_1); inline;
  10458. procedure setTRISD7(thebits : TBits_1); inline;
  10459. procedure setTRISD8(thebits : TBits_1); inline;
  10460. procedure setTRISD9(thebits : TBits_1); inline;
  10461. procedure setw(thebits : TBits_32); inline;
  10462. public
  10463. procedure clearTRISD0; inline;
  10464. procedure clearTRISD10; inline;
  10465. procedure clearTRISD11; inline;
  10466. procedure clearTRISD1; inline;
  10467. procedure clearTRISD2; inline;
  10468. procedure clearTRISD3; inline;
  10469. procedure clearTRISD4; inline;
  10470. procedure clearTRISD5; inline;
  10471. procedure clearTRISD6; inline;
  10472. procedure clearTRISD7; inline;
  10473. procedure clearTRISD8; inline;
  10474. procedure clearTRISD9; inline;
  10475. procedure setTRISD0; inline;
  10476. procedure setTRISD10; inline;
  10477. procedure setTRISD11; inline;
  10478. procedure setTRISD1; inline;
  10479. procedure setTRISD2; inline;
  10480. procedure setTRISD3; inline;
  10481. procedure setTRISD4; inline;
  10482. procedure setTRISD5; inline;
  10483. procedure setTRISD6; inline;
  10484. procedure setTRISD7; inline;
  10485. procedure setTRISD8; inline;
  10486. procedure setTRISD9; inline;
  10487. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  10488. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  10489. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  10490. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  10491. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  10492. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  10493. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  10494. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  10495. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  10496. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  10497. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  10498. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  10499. property w : TBits_32 read getw write setw;
  10500. end;
  10501. type
  10502. TPORTCRegisters = record
  10503. PORTCbits : TPORTC_PORTC;
  10504. PORTC : longWord;
  10505. PORTCCLR : longWord;
  10506. PORTCSET : longWord;
  10507. PORTCINV : longWord;
  10508. LATCbits : TPORTC_LATC;
  10509. LATC : longWord;
  10510. LATCCLR : longWord;
  10511. LATCSET : longWord;
  10512. LATCINV : longWord;
  10513. ODCCbits : TPORTC_ODCC;
  10514. ODCC : longWord;
  10515. ODCCCLR : longWord;
  10516. ODCCSET : longWord;
  10517. ODCCINV : longWord;
  10518. CNPUCbits : TPORTC_CNPUC;
  10519. CNPUC : longWord;
  10520. CNPUCCLR : longWord;
  10521. CNPUCSET : longWord;
  10522. CNPUCINV : longWord;
  10523. CNPDCbits : TPORTC_CNPDC;
  10524. CNPDC : longWord;
  10525. CNPDCCLR : longWord;
  10526. CNPDCSET : longWord;
  10527. CNPDCINV : longWord;
  10528. CNCONCbits : TPORTC_CNCONC;
  10529. CNCONC : longWord;
  10530. CNCONCCLR : longWord;
  10531. CNCONCSET : longWord;
  10532. CNCONCINV : longWord;
  10533. CNENCbits : TPORTC_CNENC;
  10534. CNENC : longWord;
  10535. CNENCCLR : longWord;
  10536. CNENCSET : longWord;
  10537. CNENCINV : longWord;
  10538. CNSTATCbits : TPORTC_CNSTATC;
  10539. CNSTATC : longWord;
  10540. CNSTATCCLR : longWord;
  10541. CNSTATCSET : longWord;
  10542. CNSTATCINV : longWord;
  10543. ANSELDbits : TPORTC_ANSELD;
  10544. ANSELD : longWord;
  10545. ANSELDCLR : longWord;
  10546. ANSELDSET : longWord;
  10547. ANSELDINV : longWord;
  10548. TRISDbits : TPORTC_TRISD;
  10549. TRISD : longWord;
  10550. TRISDCLR : longWord;
  10551. TRISDSET : longWord;
  10552. TRISDINV : longWord;
  10553. end;
  10554. TPORTD_PORTD = record
  10555. private
  10556. function getRD0 : TBits_1; inline;
  10557. function getRD1 : TBits_1; inline;
  10558. function getRD10 : TBits_1; inline;
  10559. function getRD11 : TBits_1; inline;
  10560. function getRD2 : TBits_1; inline;
  10561. function getRD3 : TBits_1; inline;
  10562. function getRD4 : TBits_1; inline;
  10563. function getRD5 : TBits_1; inline;
  10564. function getRD6 : TBits_1; inline;
  10565. function getRD7 : TBits_1; inline;
  10566. function getRD8 : TBits_1; inline;
  10567. function getRD9 : TBits_1; inline;
  10568. function getw : TBits_32; inline;
  10569. procedure setRD0(thebits : TBits_1); inline;
  10570. procedure setRD1(thebits : TBits_1); inline;
  10571. procedure setRD10(thebits : TBits_1); inline;
  10572. procedure setRD11(thebits : TBits_1); inline;
  10573. procedure setRD2(thebits : TBits_1); inline;
  10574. procedure setRD3(thebits : TBits_1); inline;
  10575. procedure setRD4(thebits : TBits_1); inline;
  10576. procedure setRD5(thebits : TBits_1); inline;
  10577. procedure setRD6(thebits : TBits_1); inline;
  10578. procedure setRD7(thebits : TBits_1); inline;
  10579. procedure setRD8(thebits : TBits_1); inline;
  10580. procedure setRD9(thebits : TBits_1); inline;
  10581. procedure setw(thebits : TBits_32); inline;
  10582. public
  10583. procedure clearRD0; inline;
  10584. procedure clearRD10; inline;
  10585. procedure clearRD11; inline;
  10586. procedure clearRD1; inline;
  10587. procedure clearRD2; inline;
  10588. procedure clearRD3; inline;
  10589. procedure clearRD4; inline;
  10590. procedure clearRD5; inline;
  10591. procedure clearRD6; inline;
  10592. procedure clearRD7; inline;
  10593. procedure clearRD8; inline;
  10594. procedure clearRD9; inline;
  10595. procedure setRD0; inline;
  10596. procedure setRD10; inline;
  10597. procedure setRD11; inline;
  10598. procedure setRD1; inline;
  10599. procedure setRD2; inline;
  10600. procedure setRD3; inline;
  10601. procedure setRD4; inline;
  10602. procedure setRD5; inline;
  10603. procedure setRD6; inline;
  10604. procedure setRD7; inline;
  10605. procedure setRD8; inline;
  10606. procedure setRD9; inline;
  10607. property RD0 : TBits_1 read getRD0 write setRD0;
  10608. property RD1 : TBits_1 read getRD1 write setRD1;
  10609. property RD10 : TBits_1 read getRD10 write setRD10;
  10610. property RD11 : TBits_1 read getRD11 write setRD11;
  10611. property RD2 : TBits_1 read getRD2 write setRD2;
  10612. property RD3 : TBits_1 read getRD3 write setRD3;
  10613. property RD4 : TBits_1 read getRD4 write setRD4;
  10614. property RD5 : TBits_1 read getRD5 write setRD5;
  10615. property RD6 : TBits_1 read getRD6 write setRD6;
  10616. property RD7 : TBits_1 read getRD7 write setRD7;
  10617. property RD8 : TBits_1 read getRD8 write setRD8;
  10618. property RD9 : TBits_1 read getRD9 write setRD9;
  10619. property w : TBits_32 read getw write setw;
  10620. end;
  10621. TPortD_bits=(RD0=0,RD1=1,RD2=2,RD3=3,RD4=4,RD5=5,RD6=6,RD7=7,RD8=8,RD9=9,RD10=10,RD11=11);
  10622. TPortD_bitset = set of TPortD_bits;
  10623. TPORTD_LATD = record
  10624. private
  10625. function getLATD0 : TBits_1; inline;
  10626. function getLATD1 : TBits_1; inline;
  10627. function getLATD10 : TBits_1; inline;
  10628. function getLATD11 : TBits_1; inline;
  10629. function getLATD2 : TBits_1; inline;
  10630. function getLATD3 : TBits_1; inline;
  10631. function getLATD4 : TBits_1; inline;
  10632. function getLATD5 : TBits_1; inline;
  10633. function getLATD6 : TBits_1; inline;
  10634. function getLATD7 : TBits_1; inline;
  10635. function getLATD8 : TBits_1; inline;
  10636. function getLATD9 : TBits_1; inline;
  10637. function getw : TBits_32; inline;
  10638. procedure setLATD0(thebits : TBits_1); inline;
  10639. procedure setLATD1(thebits : TBits_1); inline;
  10640. procedure setLATD10(thebits : TBits_1); inline;
  10641. procedure setLATD11(thebits : TBits_1); inline;
  10642. procedure setLATD2(thebits : TBits_1); inline;
  10643. procedure setLATD3(thebits : TBits_1); inline;
  10644. procedure setLATD4(thebits : TBits_1); inline;
  10645. procedure setLATD5(thebits : TBits_1); inline;
  10646. procedure setLATD6(thebits : TBits_1); inline;
  10647. procedure setLATD7(thebits : TBits_1); inline;
  10648. procedure setLATD8(thebits : TBits_1); inline;
  10649. procedure setLATD9(thebits : TBits_1); inline;
  10650. procedure setw(thebits : TBits_32); inline;
  10651. public
  10652. procedure clearLATD0; inline;
  10653. procedure clearLATD10; inline;
  10654. procedure clearLATD11; inline;
  10655. procedure clearLATD1; inline;
  10656. procedure clearLATD2; inline;
  10657. procedure clearLATD3; inline;
  10658. procedure clearLATD4; inline;
  10659. procedure clearLATD5; inline;
  10660. procedure clearLATD6; inline;
  10661. procedure clearLATD7; inline;
  10662. procedure clearLATD8; inline;
  10663. procedure clearLATD9; inline;
  10664. procedure setLATD0; inline;
  10665. procedure setLATD10; inline;
  10666. procedure setLATD11; inline;
  10667. procedure setLATD1; inline;
  10668. procedure setLATD2; inline;
  10669. procedure setLATD3; inline;
  10670. procedure setLATD4; inline;
  10671. procedure setLATD5; inline;
  10672. procedure setLATD6; inline;
  10673. procedure setLATD7; inline;
  10674. procedure setLATD8; inline;
  10675. procedure setLATD9; inline;
  10676. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  10677. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  10678. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  10679. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  10680. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  10681. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  10682. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  10683. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  10684. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  10685. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  10686. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  10687. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  10688. property w : TBits_32 read getw write setw;
  10689. end;
  10690. TPORTD_ODCD = record
  10691. private
  10692. function getODCD0 : TBits_1; inline;
  10693. function getODCD1 : TBits_1; inline;
  10694. function getODCD10 : TBits_1; inline;
  10695. function getODCD11 : TBits_1; inline;
  10696. function getODCD2 : TBits_1; inline;
  10697. function getODCD3 : TBits_1; inline;
  10698. function getODCD4 : TBits_1; inline;
  10699. function getODCD5 : TBits_1; inline;
  10700. function getODCD6 : TBits_1; inline;
  10701. function getODCD7 : TBits_1; inline;
  10702. function getODCD8 : TBits_1; inline;
  10703. function getODCD9 : TBits_1; inline;
  10704. function getw : TBits_32; inline;
  10705. procedure setODCD0(thebits : TBits_1); inline;
  10706. procedure setODCD1(thebits : TBits_1); inline;
  10707. procedure setODCD10(thebits : TBits_1); inline;
  10708. procedure setODCD11(thebits : TBits_1); inline;
  10709. procedure setODCD2(thebits : TBits_1); inline;
  10710. procedure setODCD3(thebits : TBits_1); inline;
  10711. procedure setODCD4(thebits : TBits_1); inline;
  10712. procedure setODCD5(thebits : TBits_1); inline;
  10713. procedure setODCD6(thebits : TBits_1); inline;
  10714. procedure setODCD7(thebits : TBits_1); inline;
  10715. procedure setODCD8(thebits : TBits_1); inline;
  10716. procedure setODCD9(thebits : TBits_1); inline;
  10717. procedure setw(thebits : TBits_32); inline;
  10718. public
  10719. procedure clearODCD0; inline;
  10720. procedure clearODCD10; inline;
  10721. procedure clearODCD11; inline;
  10722. procedure clearODCD1; inline;
  10723. procedure clearODCD2; inline;
  10724. procedure clearODCD3; inline;
  10725. procedure clearODCD4; inline;
  10726. procedure clearODCD5; inline;
  10727. procedure clearODCD6; inline;
  10728. procedure clearODCD7; inline;
  10729. procedure clearODCD8; inline;
  10730. procedure clearODCD9; inline;
  10731. procedure setODCD0; inline;
  10732. procedure setODCD10; inline;
  10733. procedure setODCD11; inline;
  10734. procedure setODCD1; inline;
  10735. procedure setODCD2; inline;
  10736. procedure setODCD3; inline;
  10737. procedure setODCD4; inline;
  10738. procedure setODCD5; inline;
  10739. procedure setODCD6; inline;
  10740. procedure setODCD7; inline;
  10741. procedure setODCD8; inline;
  10742. procedure setODCD9; inline;
  10743. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  10744. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  10745. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  10746. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  10747. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  10748. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  10749. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  10750. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  10751. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  10752. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  10753. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  10754. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  10755. property w : TBits_32 read getw write setw;
  10756. end;
  10757. TPORTD_CNPUD = record
  10758. private
  10759. function getCNPUD0 : TBits_1; inline;
  10760. function getCNPUD1 : TBits_1; inline;
  10761. function getCNPUD10 : TBits_1; inline;
  10762. function getCNPUD11 : TBits_1; inline;
  10763. function getCNPUD2 : TBits_1; inline;
  10764. function getCNPUD3 : TBits_1; inline;
  10765. function getCNPUD4 : TBits_1; inline;
  10766. function getCNPUD5 : TBits_1; inline;
  10767. function getCNPUD6 : TBits_1; inline;
  10768. function getCNPUD7 : TBits_1; inline;
  10769. function getCNPUD8 : TBits_1; inline;
  10770. function getCNPUD9 : TBits_1; inline;
  10771. function getw : TBits_32; inline;
  10772. procedure setCNPUD0(thebits : TBits_1); inline;
  10773. procedure setCNPUD1(thebits : TBits_1); inline;
  10774. procedure setCNPUD10(thebits : TBits_1); inline;
  10775. procedure setCNPUD11(thebits : TBits_1); inline;
  10776. procedure setCNPUD2(thebits : TBits_1); inline;
  10777. procedure setCNPUD3(thebits : TBits_1); inline;
  10778. procedure setCNPUD4(thebits : TBits_1); inline;
  10779. procedure setCNPUD5(thebits : TBits_1); inline;
  10780. procedure setCNPUD6(thebits : TBits_1); inline;
  10781. procedure setCNPUD7(thebits : TBits_1); inline;
  10782. procedure setCNPUD8(thebits : TBits_1); inline;
  10783. procedure setCNPUD9(thebits : TBits_1); inline;
  10784. procedure setw(thebits : TBits_32); inline;
  10785. public
  10786. procedure clearCNPUD0; inline;
  10787. procedure clearCNPUD10; inline;
  10788. procedure clearCNPUD11; inline;
  10789. procedure clearCNPUD1; inline;
  10790. procedure clearCNPUD2; inline;
  10791. procedure clearCNPUD3; inline;
  10792. procedure clearCNPUD4; inline;
  10793. procedure clearCNPUD5; inline;
  10794. procedure clearCNPUD6; inline;
  10795. procedure clearCNPUD7; inline;
  10796. procedure clearCNPUD8; inline;
  10797. procedure clearCNPUD9; inline;
  10798. procedure setCNPUD0; inline;
  10799. procedure setCNPUD10; inline;
  10800. procedure setCNPUD11; inline;
  10801. procedure setCNPUD1; inline;
  10802. procedure setCNPUD2; inline;
  10803. procedure setCNPUD3; inline;
  10804. procedure setCNPUD4; inline;
  10805. procedure setCNPUD5; inline;
  10806. procedure setCNPUD6; inline;
  10807. procedure setCNPUD7; inline;
  10808. procedure setCNPUD8; inline;
  10809. procedure setCNPUD9; inline;
  10810. property CNPUD0 : TBits_1 read getCNPUD0 write setCNPUD0;
  10811. property CNPUD1 : TBits_1 read getCNPUD1 write setCNPUD1;
  10812. property CNPUD10 : TBits_1 read getCNPUD10 write setCNPUD10;
  10813. property CNPUD11 : TBits_1 read getCNPUD11 write setCNPUD11;
  10814. property CNPUD2 : TBits_1 read getCNPUD2 write setCNPUD2;
  10815. property CNPUD3 : TBits_1 read getCNPUD3 write setCNPUD3;
  10816. property CNPUD4 : TBits_1 read getCNPUD4 write setCNPUD4;
  10817. property CNPUD5 : TBits_1 read getCNPUD5 write setCNPUD5;
  10818. property CNPUD6 : TBits_1 read getCNPUD6 write setCNPUD6;
  10819. property CNPUD7 : TBits_1 read getCNPUD7 write setCNPUD7;
  10820. property CNPUD8 : TBits_1 read getCNPUD8 write setCNPUD8;
  10821. property CNPUD9 : TBits_1 read getCNPUD9 write setCNPUD9;
  10822. property w : TBits_32 read getw write setw;
  10823. end;
  10824. TPORTD_CNPDD = record
  10825. private
  10826. function getCNPDD0 : TBits_1; inline;
  10827. function getCNPDD1 : TBits_1; inline;
  10828. function getCNPDD10 : TBits_1; inline;
  10829. function getCNPDD11 : TBits_1; inline;
  10830. function getCNPDD2 : TBits_1; inline;
  10831. function getCNPDD3 : TBits_1; inline;
  10832. function getCNPDD4 : TBits_1; inline;
  10833. function getCNPDD5 : TBits_1; inline;
  10834. function getCNPDD6 : TBits_1; inline;
  10835. function getCNPDD7 : TBits_1; inline;
  10836. function getCNPDD8 : TBits_1; inline;
  10837. function getCNPDD9 : TBits_1; inline;
  10838. function getw : TBits_32; inline;
  10839. procedure setCNPDD0(thebits : TBits_1); inline;
  10840. procedure setCNPDD1(thebits : TBits_1); inline;
  10841. procedure setCNPDD10(thebits : TBits_1); inline;
  10842. procedure setCNPDD11(thebits : TBits_1); inline;
  10843. procedure setCNPDD2(thebits : TBits_1); inline;
  10844. procedure setCNPDD3(thebits : TBits_1); inline;
  10845. procedure setCNPDD4(thebits : TBits_1); inline;
  10846. procedure setCNPDD5(thebits : TBits_1); inline;
  10847. procedure setCNPDD6(thebits : TBits_1); inline;
  10848. procedure setCNPDD7(thebits : TBits_1); inline;
  10849. procedure setCNPDD8(thebits : TBits_1); inline;
  10850. procedure setCNPDD9(thebits : TBits_1); inline;
  10851. procedure setw(thebits : TBits_32); inline;
  10852. public
  10853. procedure clearCNPDD0; inline;
  10854. procedure clearCNPDD10; inline;
  10855. procedure clearCNPDD11; inline;
  10856. procedure clearCNPDD1; inline;
  10857. procedure clearCNPDD2; inline;
  10858. procedure clearCNPDD3; inline;
  10859. procedure clearCNPDD4; inline;
  10860. procedure clearCNPDD5; inline;
  10861. procedure clearCNPDD6; inline;
  10862. procedure clearCNPDD7; inline;
  10863. procedure clearCNPDD8; inline;
  10864. procedure clearCNPDD9; inline;
  10865. procedure setCNPDD0; inline;
  10866. procedure setCNPDD10; inline;
  10867. procedure setCNPDD11; inline;
  10868. procedure setCNPDD1; inline;
  10869. procedure setCNPDD2; inline;
  10870. procedure setCNPDD3; inline;
  10871. procedure setCNPDD4; inline;
  10872. procedure setCNPDD5; inline;
  10873. procedure setCNPDD6; inline;
  10874. procedure setCNPDD7; inline;
  10875. procedure setCNPDD8; inline;
  10876. procedure setCNPDD9; inline;
  10877. property CNPDD0 : TBits_1 read getCNPDD0 write setCNPDD0;
  10878. property CNPDD1 : TBits_1 read getCNPDD1 write setCNPDD1;
  10879. property CNPDD10 : TBits_1 read getCNPDD10 write setCNPDD10;
  10880. property CNPDD11 : TBits_1 read getCNPDD11 write setCNPDD11;
  10881. property CNPDD2 : TBits_1 read getCNPDD2 write setCNPDD2;
  10882. property CNPDD3 : TBits_1 read getCNPDD3 write setCNPDD3;
  10883. property CNPDD4 : TBits_1 read getCNPDD4 write setCNPDD4;
  10884. property CNPDD5 : TBits_1 read getCNPDD5 write setCNPDD5;
  10885. property CNPDD6 : TBits_1 read getCNPDD6 write setCNPDD6;
  10886. property CNPDD7 : TBits_1 read getCNPDD7 write setCNPDD7;
  10887. property CNPDD8 : TBits_1 read getCNPDD8 write setCNPDD8;
  10888. property CNPDD9 : TBits_1 read getCNPDD9 write setCNPDD9;
  10889. property w : TBits_32 read getw write setw;
  10890. end;
  10891. TPORTD_CNCOND = record
  10892. private
  10893. function getON : TBits_1; inline;
  10894. function getSIDL : TBits_1; inline;
  10895. function getw : TBits_32; inline;
  10896. procedure setON(thebits : TBits_1); inline;
  10897. procedure setSIDL(thebits : TBits_1); inline;
  10898. procedure setw(thebits : TBits_32); inline;
  10899. public
  10900. procedure clearON; inline;
  10901. procedure clearSIDL; inline;
  10902. procedure setON; inline;
  10903. procedure setSIDL; inline;
  10904. property ON : TBits_1 read getON write setON;
  10905. property SIDL : TBits_1 read getSIDL write setSIDL;
  10906. property w : TBits_32 read getw write setw;
  10907. end;
  10908. TPORTD_CNEND = record
  10909. private
  10910. function getCNIED0 : TBits_1; inline;
  10911. function getCNIED1 : TBits_1; inline;
  10912. function getCNIED10 : TBits_1; inline;
  10913. function getCNIED11 : TBits_1; inline;
  10914. function getCNIED2 : TBits_1; inline;
  10915. function getCNIED3 : TBits_1; inline;
  10916. function getCNIED4 : TBits_1; inline;
  10917. function getCNIED5 : TBits_1; inline;
  10918. function getCNIED6 : TBits_1; inline;
  10919. function getCNIED7 : TBits_1; inline;
  10920. function getCNIED8 : TBits_1; inline;
  10921. function getCNIED9 : TBits_1; inline;
  10922. function getw : TBits_32; inline;
  10923. procedure setCNIED0(thebits : TBits_1); inline;
  10924. procedure setCNIED1(thebits : TBits_1); inline;
  10925. procedure setCNIED10(thebits : TBits_1); inline;
  10926. procedure setCNIED11(thebits : TBits_1); inline;
  10927. procedure setCNIED2(thebits : TBits_1); inline;
  10928. procedure setCNIED3(thebits : TBits_1); inline;
  10929. procedure setCNIED4(thebits : TBits_1); inline;
  10930. procedure setCNIED5(thebits : TBits_1); inline;
  10931. procedure setCNIED6(thebits : TBits_1); inline;
  10932. procedure setCNIED7(thebits : TBits_1); inline;
  10933. procedure setCNIED8(thebits : TBits_1); inline;
  10934. procedure setCNIED9(thebits : TBits_1); inline;
  10935. procedure setw(thebits : TBits_32); inline;
  10936. public
  10937. procedure clearCNIED0; inline;
  10938. procedure clearCNIED10; inline;
  10939. procedure clearCNIED11; inline;
  10940. procedure clearCNIED1; inline;
  10941. procedure clearCNIED2; inline;
  10942. procedure clearCNIED3; inline;
  10943. procedure clearCNIED4; inline;
  10944. procedure clearCNIED5; inline;
  10945. procedure clearCNIED6; inline;
  10946. procedure clearCNIED7; inline;
  10947. procedure clearCNIED8; inline;
  10948. procedure clearCNIED9; inline;
  10949. procedure setCNIED0; inline;
  10950. procedure setCNIED10; inline;
  10951. procedure setCNIED11; inline;
  10952. procedure setCNIED1; inline;
  10953. procedure setCNIED2; inline;
  10954. procedure setCNIED3; inline;
  10955. procedure setCNIED4; inline;
  10956. procedure setCNIED5; inline;
  10957. procedure setCNIED6; inline;
  10958. procedure setCNIED7; inline;
  10959. procedure setCNIED8; inline;
  10960. procedure setCNIED9; inline;
  10961. property CNIED0 : TBits_1 read getCNIED0 write setCNIED0;
  10962. property CNIED1 : TBits_1 read getCNIED1 write setCNIED1;
  10963. property CNIED10 : TBits_1 read getCNIED10 write setCNIED10;
  10964. property CNIED11 : TBits_1 read getCNIED11 write setCNIED11;
  10965. property CNIED2 : TBits_1 read getCNIED2 write setCNIED2;
  10966. property CNIED3 : TBits_1 read getCNIED3 write setCNIED3;
  10967. property CNIED4 : TBits_1 read getCNIED4 write setCNIED4;
  10968. property CNIED5 : TBits_1 read getCNIED5 write setCNIED5;
  10969. property CNIED6 : TBits_1 read getCNIED6 write setCNIED6;
  10970. property CNIED7 : TBits_1 read getCNIED7 write setCNIED7;
  10971. property CNIED8 : TBits_1 read getCNIED8 write setCNIED8;
  10972. property CNIED9 : TBits_1 read getCNIED9 write setCNIED9;
  10973. property w : TBits_32 read getw write setw;
  10974. end;
  10975. TPORTD_CNSTATD = record
  10976. private
  10977. function getCNSTATD0 : TBits_1; inline;
  10978. function getCNSTATD1 : TBits_1; inline;
  10979. function getCNSTATD10 : TBits_1; inline;
  10980. function getCNSTATD11 : TBits_1; inline;
  10981. function getCNSTATD2 : TBits_1; inline;
  10982. function getCNSTATD3 : TBits_1; inline;
  10983. function getCNSTATD4 : TBits_1; inline;
  10984. function getCNSTATD5 : TBits_1; inline;
  10985. function getCNSTATD6 : TBits_1; inline;
  10986. function getCNSTATD7 : TBits_1; inline;
  10987. function getCNSTATD8 : TBits_1; inline;
  10988. function getCNSTATD9 : TBits_1; inline;
  10989. function getw : TBits_32; inline;
  10990. procedure setCNSTATD0(thebits : TBits_1); inline;
  10991. procedure setCNSTATD1(thebits : TBits_1); inline;
  10992. procedure setCNSTATD10(thebits : TBits_1); inline;
  10993. procedure setCNSTATD11(thebits : TBits_1); inline;
  10994. procedure setCNSTATD2(thebits : TBits_1); inline;
  10995. procedure setCNSTATD3(thebits : TBits_1); inline;
  10996. procedure setCNSTATD4(thebits : TBits_1); inline;
  10997. procedure setCNSTATD5(thebits : TBits_1); inline;
  10998. procedure setCNSTATD6(thebits : TBits_1); inline;
  10999. procedure setCNSTATD7(thebits : TBits_1); inline;
  11000. procedure setCNSTATD8(thebits : TBits_1); inline;
  11001. procedure setCNSTATD9(thebits : TBits_1); inline;
  11002. procedure setw(thebits : TBits_32); inline;
  11003. public
  11004. procedure clearCNSTATD0; inline;
  11005. procedure clearCNSTATD10; inline;
  11006. procedure clearCNSTATD11; inline;
  11007. procedure clearCNSTATD1; inline;
  11008. procedure clearCNSTATD2; inline;
  11009. procedure clearCNSTATD3; inline;
  11010. procedure clearCNSTATD4; inline;
  11011. procedure clearCNSTATD5; inline;
  11012. procedure clearCNSTATD6; inline;
  11013. procedure clearCNSTATD7; inline;
  11014. procedure clearCNSTATD8; inline;
  11015. procedure clearCNSTATD9; inline;
  11016. procedure setCNSTATD0; inline;
  11017. procedure setCNSTATD10; inline;
  11018. procedure setCNSTATD11; inline;
  11019. procedure setCNSTATD1; inline;
  11020. procedure setCNSTATD2; inline;
  11021. procedure setCNSTATD3; inline;
  11022. procedure setCNSTATD4; inline;
  11023. procedure setCNSTATD5; inline;
  11024. procedure setCNSTATD6; inline;
  11025. procedure setCNSTATD7; inline;
  11026. procedure setCNSTATD8; inline;
  11027. procedure setCNSTATD9; inline;
  11028. property CNSTATD0 : TBits_1 read getCNSTATD0 write setCNSTATD0;
  11029. property CNSTATD1 : TBits_1 read getCNSTATD1 write setCNSTATD1;
  11030. property CNSTATD10 : TBits_1 read getCNSTATD10 write setCNSTATD10;
  11031. property CNSTATD11 : TBits_1 read getCNSTATD11 write setCNSTATD11;
  11032. property CNSTATD2 : TBits_1 read getCNSTATD2 write setCNSTATD2;
  11033. property CNSTATD3 : TBits_1 read getCNSTATD3 write setCNSTATD3;
  11034. property CNSTATD4 : TBits_1 read getCNSTATD4 write setCNSTATD4;
  11035. property CNSTATD5 : TBits_1 read getCNSTATD5 write setCNSTATD5;
  11036. property CNSTATD6 : TBits_1 read getCNSTATD6 write setCNSTATD6;
  11037. property CNSTATD7 : TBits_1 read getCNSTATD7 write setCNSTATD7;
  11038. property CNSTATD8 : TBits_1 read getCNSTATD8 write setCNSTATD8;
  11039. property CNSTATD9 : TBits_1 read getCNSTATD9 write setCNSTATD9;
  11040. property w : TBits_32 read getw write setw;
  11041. end;
  11042. TPORTD_ANSELE = record
  11043. private
  11044. function getANSE2 : TBits_1; inline;
  11045. function getANSE4 : TBits_1; inline;
  11046. function getANSE5 : TBits_1; inline;
  11047. function getANSE6 : TBits_1; inline;
  11048. function getANSE7 : TBits_1; inline;
  11049. function getw : TBits_32; inline;
  11050. procedure setANSE2(thebits : TBits_1); inline;
  11051. procedure setANSE4(thebits : TBits_1); inline;
  11052. procedure setANSE5(thebits : TBits_1); inline;
  11053. procedure setANSE6(thebits : TBits_1); inline;
  11054. procedure setANSE7(thebits : TBits_1); inline;
  11055. procedure setw(thebits : TBits_32); inline;
  11056. public
  11057. procedure clearANSE2; inline;
  11058. procedure clearANSE4; inline;
  11059. procedure clearANSE5; inline;
  11060. procedure clearANSE6; inline;
  11061. procedure clearANSE7; inline;
  11062. procedure setANSE2; inline;
  11063. procedure setANSE4; inline;
  11064. procedure setANSE5; inline;
  11065. procedure setANSE6; inline;
  11066. procedure setANSE7; inline;
  11067. property ANSE2 : TBits_1 read getANSE2 write setANSE2;
  11068. property ANSE4 : TBits_1 read getANSE4 write setANSE4;
  11069. property ANSE5 : TBits_1 read getANSE5 write setANSE5;
  11070. property ANSE6 : TBits_1 read getANSE6 write setANSE6;
  11071. property ANSE7 : TBits_1 read getANSE7 write setANSE7;
  11072. property w : TBits_32 read getw write setw;
  11073. end;
  11074. TPORTD_TRISE = record
  11075. private
  11076. function getTRISE0 : TBits_1; inline;
  11077. function getTRISE1 : TBits_1; inline;
  11078. function getTRISE2 : TBits_1; inline;
  11079. function getTRISE3 : TBits_1; inline;
  11080. function getTRISE4 : TBits_1; inline;
  11081. function getTRISE5 : TBits_1; inline;
  11082. function getTRISE6 : TBits_1; inline;
  11083. function getTRISE7 : TBits_1; inline;
  11084. function getw : TBits_32; inline;
  11085. procedure setTRISE0(thebits : TBits_1); inline;
  11086. procedure setTRISE1(thebits : TBits_1); inline;
  11087. procedure setTRISE2(thebits : TBits_1); inline;
  11088. procedure setTRISE3(thebits : TBits_1); inline;
  11089. procedure setTRISE4(thebits : TBits_1); inline;
  11090. procedure setTRISE5(thebits : TBits_1); inline;
  11091. procedure setTRISE6(thebits : TBits_1); inline;
  11092. procedure setTRISE7(thebits : TBits_1); inline;
  11093. procedure setw(thebits : TBits_32); inline;
  11094. public
  11095. procedure clearTRISE0; inline;
  11096. procedure clearTRISE1; inline;
  11097. procedure clearTRISE2; inline;
  11098. procedure clearTRISE3; inline;
  11099. procedure clearTRISE4; inline;
  11100. procedure clearTRISE5; inline;
  11101. procedure clearTRISE6; inline;
  11102. procedure clearTRISE7; inline;
  11103. procedure setTRISE0; inline;
  11104. procedure setTRISE1; inline;
  11105. procedure setTRISE2; inline;
  11106. procedure setTRISE3; inline;
  11107. procedure setTRISE4; inline;
  11108. procedure setTRISE5; inline;
  11109. procedure setTRISE6; inline;
  11110. procedure setTRISE7; inline;
  11111. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  11112. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  11113. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  11114. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  11115. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  11116. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  11117. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  11118. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  11119. property w : TBits_32 read getw write setw;
  11120. end;
  11121. type
  11122. TPORTDRegisters = record
  11123. PORTDbits : TPORTD_PORTD;
  11124. PORTD : longWord;
  11125. PORTDCLR : longWord;
  11126. PORTDSET : longWord;
  11127. PORTDINV : longWord;
  11128. LATDbits : TPORTD_LATD;
  11129. LATD : longWord;
  11130. LATDCLR : longWord;
  11131. LATDSET : longWord;
  11132. LATDINV : longWord;
  11133. ODCDbits : TPORTD_ODCD;
  11134. ODCD : longWord;
  11135. ODCDCLR : longWord;
  11136. ODCDSET : longWord;
  11137. ODCDINV : longWord;
  11138. CNPUDbits : TPORTD_CNPUD;
  11139. CNPUD : longWord;
  11140. CNPUDCLR : longWord;
  11141. CNPUDSET : longWord;
  11142. CNPUDINV : longWord;
  11143. CNPDDbits : TPORTD_CNPDD;
  11144. CNPDD : longWord;
  11145. CNPDDCLR : longWord;
  11146. CNPDDSET : longWord;
  11147. CNPDDINV : longWord;
  11148. CNCONDbits : TPORTD_CNCOND;
  11149. CNCOND : longWord;
  11150. CNCONDCLR : longWord;
  11151. CNCONDSET : longWord;
  11152. CNCONDINV : longWord;
  11153. CNENDbits : TPORTD_CNEND;
  11154. CNEND : longWord;
  11155. CNENDCLR : longWord;
  11156. CNENDSET : longWord;
  11157. CNENDINV : longWord;
  11158. CNSTATDbits : TPORTD_CNSTATD;
  11159. CNSTATD : longWord;
  11160. CNSTATDCLR : longWord;
  11161. CNSTATDSET : longWord;
  11162. CNSTATDINV : longWord;
  11163. ANSELEbits : TPORTD_ANSELE;
  11164. ANSELE : longWord;
  11165. ANSELECLR : longWord;
  11166. ANSELESET : longWord;
  11167. ANSELEINV : longWord;
  11168. TRISEbits : TPORTD_TRISE;
  11169. TRISE : longWord;
  11170. TRISECLR : longWord;
  11171. TRISESET : longWord;
  11172. TRISEINV : longWord;
  11173. end;
  11174. TPORTE_PORTE = record
  11175. private
  11176. function getRE0 : TBits_1; inline;
  11177. function getRE1 : TBits_1; inline;
  11178. function getRE2 : TBits_1; inline;
  11179. function getRE3 : TBits_1; inline;
  11180. function getRE4 : TBits_1; inline;
  11181. function getRE5 : TBits_1; inline;
  11182. function getRE6 : TBits_1; inline;
  11183. function getRE7 : TBits_1; inline;
  11184. function getw : TBits_32; inline;
  11185. procedure setRE0(thebits : TBits_1); inline;
  11186. procedure setRE1(thebits : TBits_1); inline;
  11187. procedure setRE2(thebits : TBits_1); inline;
  11188. procedure setRE3(thebits : TBits_1); inline;
  11189. procedure setRE4(thebits : TBits_1); inline;
  11190. procedure setRE5(thebits : TBits_1); inline;
  11191. procedure setRE6(thebits : TBits_1); inline;
  11192. procedure setRE7(thebits : TBits_1); inline;
  11193. procedure setw(thebits : TBits_32); inline;
  11194. public
  11195. procedure clearRE0; inline;
  11196. procedure clearRE1; inline;
  11197. procedure clearRE2; inline;
  11198. procedure clearRE3; inline;
  11199. procedure clearRE4; inline;
  11200. procedure clearRE5; inline;
  11201. procedure clearRE6; inline;
  11202. procedure clearRE7; inline;
  11203. procedure setRE0; inline;
  11204. procedure setRE1; inline;
  11205. procedure setRE2; inline;
  11206. procedure setRE3; inline;
  11207. procedure setRE4; inline;
  11208. procedure setRE5; inline;
  11209. procedure setRE6; inline;
  11210. procedure setRE7; inline;
  11211. property RE0 : TBits_1 read getRE0 write setRE0;
  11212. property RE1 : TBits_1 read getRE1 write setRE1;
  11213. property RE2 : TBits_1 read getRE2 write setRE2;
  11214. property RE3 : TBits_1 read getRE3 write setRE3;
  11215. property RE4 : TBits_1 read getRE4 write setRE4;
  11216. property RE5 : TBits_1 read getRE5 write setRE5;
  11217. property RE6 : TBits_1 read getRE6 write setRE6;
  11218. property RE7 : TBits_1 read getRE7 write setRE7;
  11219. property w : TBits_32 read getw write setw;
  11220. end;
  11221. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7);
  11222. TPortE_bitset = set of TPortE_bits;
  11223. TPORTE_LATE = record
  11224. private
  11225. function getLATE0 : TBits_1; inline;
  11226. function getLATE1 : TBits_1; inline;
  11227. function getLATE2 : TBits_1; inline;
  11228. function getLATE3 : TBits_1; inline;
  11229. function getLATE4 : TBits_1; inline;
  11230. function getLATE5 : TBits_1; inline;
  11231. function getLATE6 : TBits_1; inline;
  11232. function getLATE7 : TBits_1; inline;
  11233. function getw : TBits_32; inline;
  11234. procedure setLATE0(thebits : TBits_1); inline;
  11235. procedure setLATE1(thebits : TBits_1); inline;
  11236. procedure setLATE2(thebits : TBits_1); inline;
  11237. procedure setLATE3(thebits : TBits_1); inline;
  11238. procedure setLATE4(thebits : TBits_1); inline;
  11239. procedure setLATE5(thebits : TBits_1); inline;
  11240. procedure setLATE6(thebits : TBits_1); inline;
  11241. procedure setLATE7(thebits : TBits_1); inline;
  11242. procedure setw(thebits : TBits_32); inline;
  11243. public
  11244. procedure clearLATE0; inline;
  11245. procedure clearLATE1; inline;
  11246. procedure clearLATE2; inline;
  11247. procedure clearLATE3; inline;
  11248. procedure clearLATE4; inline;
  11249. procedure clearLATE5; inline;
  11250. procedure clearLATE6; inline;
  11251. procedure clearLATE7; inline;
  11252. procedure setLATE0; inline;
  11253. procedure setLATE1; inline;
  11254. procedure setLATE2; inline;
  11255. procedure setLATE3; inline;
  11256. procedure setLATE4; inline;
  11257. procedure setLATE5; inline;
  11258. procedure setLATE6; inline;
  11259. procedure setLATE7; inline;
  11260. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  11261. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  11262. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  11263. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  11264. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  11265. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  11266. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  11267. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  11268. property w : TBits_32 read getw write setw;
  11269. end;
  11270. TPORTE_ODCE = record
  11271. private
  11272. function getODCE0 : TBits_1; inline;
  11273. function getODCE1 : TBits_1; inline;
  11274. function getODCE2 : TBits_1; inline;
  11275. function getODCE3 : TBits_1; inline;
  11276. function getODCE4 : TBits_1; inline;
  11277. function getODCE5 : TBits_1; inline;
  11278. function getODCE6 : TBits_1; inline;
  11279. function getODCE7 : TBits_1; inline;
  11280. function getw : TBits_32; inline;
  11281. procedure setODCE0(thebits : TBits_1); inline;
  11282. procedure setODCE1(thebits : TBits_1); inline;
  11283. procedure setODCE2(thebits : TBits_1); inline;
  11284. procedure setODCE3(thebits : TBits_1); inline;
  11285. procedure setODCE4(thebits : TBits_1); inline;
  11286. procedure setODCE5(thebits : TBits_1); inline;
  11287. procedure setODCE6(thebits : TBits_1); inline;
  11288. procedure setODCE7(thebits : TBits_1); inline;
  11289. procedure setw(thebits : TBits_32); inline;
  11290. public
  11291. procedure clearODCE0; inline;
  11292. procedure clearODCE1; inline;
  11293. procedure clearODCE2; inline;
  11294. procedure clearODCE3; inline;
  11295. procedure clearODCE4; inline;
  11296. procedure clearODCE5; inline;
  11297. procedure clearODCE6; inline;
  11298. procedure clearODCE7; inline;
  11299. procedure setODCE0; inline;
  11300. procedure setODCE1; inline;
  11301. procedure setODCE2; inline;
  11302. procedure setODCE3; inline;
  11303. procedure setODCE4; inline;
  11304. procedure setODCE5; inline;
  11305. procedure setODCE6; inline;
  11306. procedure setODCE7; inline;
  11307. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  11308. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  11309. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  11310. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  11311. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  11312. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  11313. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  11314. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  11315. property w : TBits_32 read getw write setw;
  11316. end;
  11317. TPORTE_CNPUE = record
  11318. private
  11319. function getCNPUE0 : TBits_1; inline;
  11320. function getCNPUE1 : TBits_1; inline;
  11321. function getCNPUE2 : TBits_1; inline;
  11322. function getCNPUE3 : TBits_1; inline;
  11323. function getCNPUE4 : TBits_1; inline;
  11324. function getCNPUE5 : TBits_1; inline;
  11325. function getCNPUE6 : TBits_1; inline;
  11326. function getCNPUE7 : TBits_1; inline;
  11327. function getw : TBits_32; inline;
  11328. procedure setCNPUE0(thebits : TBits_1); inline;
  11329. procedure setCNPUE1(thebits : TBits_1); inline;
  11330. procedure setCNPUE2(thebits : TBits_1); inline;
  11331. procedure setCNPUE3(thebits : TBits_1); inline;
  11332. procedure setCNPUE4(thebits : TBits_1); inline;
  11333. procedure setCNPUE5(thebits : TBits_1); inline;
  11334. procedure setCNPUE6(thebits : TBits_1); inline;
  11335. procedure setCNPUE7(thebits : TBits_1); inline;
  11336. procedure setw(thebits : TBits_32); inline;
  11337. public
  11338. procedure clearCNPUE0; inline;
  11339. procedure clearCNPUE1; inline;
  11340. procedure clearCNPUE2; inline;
  11341. procedure clearCNPUE3; inline;
  11342. procedure clearCNPUE4; inline;
  11343. procedure clearCNPUE5; inline;
  11344. procedure clearCNPUE6; inline;
  11345. procedure clearCNPUE7; inline;
  11346. procedure setCNPUE0; inline;
  11347. procedure setCNPUE1; inline;
  11348. procedure setCNPUE2; inline;
  11349. procedure setCNPUE3; inline;
  11350. procedure setCNPUE4; inline;
  11351. procedure setCNPUE5; inline;
  11352. procedure setCNPUE6; inline;
  11353. procedure setCNPUE7; inline;
  11354. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  11355. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  11356. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  11357. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  11358. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  11359. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  11360. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  11361. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  11362. property w : TBits_32 read getw write setw;
  11363. end;
  11364. TPORTE_CNPDE = record
  11365. private
  11366. function getCNPDE0 : TBits_1; inline;
  11367. function getCNPDE1 : TBits_1; inline;
  11368. function getCNPDE2 : TBits_1; inline;
  11369. function getCNPDE3 : TBits_1; inline;
  11370. function getCNPDE4 : TBits_1; inline;
  11371. function getCNPDE5 : TBits_1; inline;
  11372. function getCNPDE6 : TBits_1; inline;
  11373. function getCNPDE7 : TBits_1; inline;
  11374. function getw : TBits_32; inline;
  11375. procedure setCNPDE0(thebits : TBits_1); inline;
  11376. procedure setCNPDE1(thebits : TBits_1); inline;
  11377. procedure setCNPDE2(thebits : TBits_1); inline;
  11378. procedure setCNPDE3(thebits : TBits_1); inline;
  11379. procedure setCNPDE4(thebits : TBits_1); inline;
  11380. procedure setCNPDE5(thebits : TBits_1); inline;
  11381. procedure setCNPDE6(thebits : TBits_1); inline;
  11382. procedure setCNPDE7(thebits : TBits_1); inline;
  11383. procedure setw(thebits : TBits_32); inline;
  11384. public
  11385. procedure clearCNPDE0; inline;
  11386. procedure clearCNPDE1; inline;
  11387. procedure clearCNPDE2; inline;
  11388. procedure clearCNPDE3; inline;
  11389. procedure clearCNPDE4; inline;
  11390. procedure clearCNPDE5; inline;
  11391. procedure clearCNPDE6; inline;
  11392. procedure clearCNPDE7; inline;
  11393. procedure setCNPDE0; inline;
  11394. procedure setCNPDE1; inline;
  11395. procedure setCNPDE2; inline;
  11396. procedure setCNPDE3; inline;
  11397. procedure setCNPDE4; inline;
  11398. procedure setCNPDE5; inline;
  11399. procedure setCNPDE6; inline;
  11400. procedure setCNPDE7; inline;
  11401. property CNPDE0 : TBits_1 read getCNPDE0 write setCNPDE0;
  11402. property CNPDE1 : TBits_1 read getCNPDE1 write setCNPDE1;
  11403. property CNPDE2 : TBits_1 read getCNPDE2 write setCNPDE2;
  11404. property CNPDE3 : TBits_1 read getCNPDE3 write setCNPDE3;
  11405. property CNPDE4 : TBits_1 read getCNPDE4 write setCNPDE4;
  11406. property CNPDE5 : TBits_1 read getCNPDE5 write setCNPDE5;
  11407. property CNPDE6 : TBits_1 read getCNPDE6 write setCNPDE6;
  11408. property CNPDE7 : TBits_1 read getCNPDE7 write setCNPDE7;
  11409. property w : TBits_32 read getw write setw;
  11410. end;
  11411. TPORTE_CNCONE = record
  11412. private
  11413. function getON : TBits_1; inline;
  11414. function getSIDL : TBits_1; inline;
  11415. function getw : TBits_32; inline;
  11416. procedure setON(thebits : TBits_1); inline;
  11417. procedure setSIDL(thebits : TBits_1); inline;
  11418. procedure setw(thebits : TBits_32); inline;
  11419. public
  11420. procedure clearON; inline;
  11421. procedure clearSIDL; inline;
  11422. procedure setON; inline;
  11423. procedure setSIDL; inline;
  11424. property ON : TBits_1 read getON write setON;
  11425. property SIDL : TBits_1 read getSIDL write setSIDL;
  11426. property w : TBits_32 read getw write setw;
  11427. end;
  11428. TPORTE_CNENE = record
  11429. private
  11430. function getCNIEE0 : TBits_1; inline;
  11431. function getCNIEE1 : TBits_1; inline;
  11432. function getCNIEE2 : TBits_1; inline;
  11433. function getCNIEE3 : TBits_1; inline;
  11434. function getCNIEE4 : TBits_1; inline;
  11435. function getCNIEE5 : TBits_1; inline;
  11436. function getCNIEE6 : TBits_1; inline;
  11437. function getCNIEE7 : TBits_1; inline;
  11438. function getw : TBits_32; inline;
  11439. procedure setCNIEE0(thebits : TBits_1); inline;
  11440. procedure setCNIEE1(thebits : TBits_1); inline;
  11441. procedure setCNIEE2(thebits : TBits_1); inline;
  11442. procedure setCNIEE3(thebits : TBits_1); inline;
  11443. procedure setCNIEE4(thebits : TBits_1); inline;
  11444. procedure setCNIEE5(thebits : TBits_1); inline;
  11445. procedure setCNIEE6(thebits : TBits_1); inline;
  11446. procedure setCNIEE7(thebits : TBits_1); inline;
  11447. procedure setw(thebits : TBits_32); inline;
  11448. public
  11449. procedure clearCNIEE0; inline;
  11450. procedure clearCNIEE1; inline;
  11451. procedure clearCNIEE2; inline;
  11452. procedure clearCNIEE3; inline;
  11453. procedure clearCNIEE4; inline;
  11454. procedure clearCNIEE5; inline;
  11455. procedure clearCNIEE6; inline;
  11456. procedure clearCNIEE7; inline;
  11457. procedure setCNIEE0; inline;
  11458. procedure setCNIEE1; inline;
  11459. procedure setCNIEE2; inline;
  11460. procedure setCNIEE3; inline;
  11461. procedure setCNIEE4; inline;
  11462. procedure setCNIEE5; inline;
  11463. procedure setCNIEE6; inline;
  11464. procedure setCNIEE7; inline;
  11465. property CNIEE0 : TBits_1 read getCNIEE0 write setCNIEE0;
  11466. property CNIEE1 : TBits_1 read getCNIEE1 write setCNIEE1;
  11467. property CNIEE2 : TBits_1 read getCNIEE2 write setCNIEE2;
  11468. property CNIEE3 : TBits_1 read getCNIEE3 write setCNIEE3;
  11469. property CNIEE4 : TBits_1 read getCNIEE4 write setCNIEE4;
  11470. property CNIEE5 : TBits_1 read getCNIEE5 write setCNIEE5;
  11471. property CNIEE6 : TBits_1 read getCNIEE6 write setCNIEE6;
  11472. property CNIEE7 : TBits_1 read getCNIEE7 write setCNIEE7;
  11473. property w : TBits_32 read getw write setw;
  11474. end;
  11475. TPORTE_CNSTATE = record
  11476. private
  11477. function getCNSTATE0 : TBits_1; inline;
  11478. function getCNSTATE1 : TBits_1; inline;
  11479. function getCNSTATE2 : TBits_1; inline;
  11480. function getCNSTATE3 : TBits_1; inline;
  11481. function getCNSTATE4 : TBits_1; inline;
  11482. function getCNSTATE5 : TBits_1; inline;
  11483. function getCNSTATE6 : TBits_1; inline;
  11484. function getCNSTATE7 : TBits_1; inline;
  11485. function getw : TBits_32; inline;
  11486. procedure setCNSTATE0(thebits : TBits_1); inline;
  11487. procedure setCNSTATE1(thebits : TBits_1); inline;
  11488. procedure setCNSTATE2(thebits : TBits_1); inline;
  11489. procedure setCNSTATE3(thebits : TBits_1); inline;
  11490. procedure setCNSTATE4(thebits : TBits_1); inline;
  11491. procedure setCNSTATE5(thebits : TBits_1); inline;
  11492. procedure setCNSTATE6(thebits : TBits_1); inline;
  11493. procedure setCNSTATE7(thebits : TBits_1); inline;
  11494. procedure setw(thebits : TBits_32); inline;
  11495. public
  11496. procedure clearCNSTATE0; inline;
  11497. procedure clearCNSTATE1; inline;
  11498. procedure clearCNSTATE2; inline;
  11499. procedure clearCNSTATE3; inline;
  11500. procedure clearCNSTATE4; inline;
  11501. procedure clearCNSTATE5; inline;
  11502. procedure clearCNSTATE6; inline;
  11503. procedure clearCNSTATE7; inline;
  11504. procedure setCNSTATE0; inline;
  11505. procedure setCNSTATE1; inline;
  11506. procedure setCNSTATE2; inline;
  11507. procedure setCNSTATE3; inline;
  11508. procedure setCNSTATE4; inline;
  11509. procedure setCNSTATE5; inline;
  11510. procedure setCNSTATE6; inline;
  11511. procedure setCNSTATE7; inline;
  11512. property CNSTATE0 : TBits_1 read getCNSTATE0 write setCNSTATE0;
  11513. property CNSTATE1 : TBits_1 read getCNSTATE1 write setCNSTATE1;
  11514. property CNSTATE2 : TBits_1 read getCNSTATE2 write setCNSTATE2;
  11515. property CNSTATE3 : TBits_1 read getCNSTATE3 write setCNSTATE3;
  11516. property CNSTATE4 : TBits_1 read getCNSTATE4 write setCNSTATE4;
  11517. property CNSTATE5 : TBits_1 read getCNSTATE5 write setCNSTATE5;
  11518. property CNSTATE6 : TBits_1 read getCNSTATE6 write setCNSTATE6;
  11519. property CNSTATE7 : TBits_1 read getCNSTATE7 write setCNSTATE7;
  11520. property w : TBits_32 read getw write setw;
  11521. end;
  11522. TPORTE_ANSELF = record
  11523. private
  11524. function getANSF0 : TBits_1; inline;
  11525. function getANSF1 : TBits_1; inline;
  11526. function getANSF2 : TBits_1; inline;
  11527. function getANSF3 : TBits_1; inline;
  11528. function getANSF4 : TBits_1; inline;
  11529. function getANSF5 : TBits_1; inline;
  11530. function getANSF6 : TBits_1; inline;
  11531. function getw : TBits_32; inline;
  11532. procedure setANSF0(thebits : TBits_1); inline;
  11533. procedure setANSF1(thebits : TBits_1); inline;
  11534. procedure setANSF2(thebits : TBits_1); inline;
  11535. procedure setANSF3(thebits : TBits_1); inline;
  11536. procedure setANSF4(thebits : TBits_1); inline;
  11537. procedure setANSF5(thebits : TBits_1); inline;
  11538. procedure setANSF6(thebits : TBits_1); inline;
  11539. procedure setw(thebits : TBits_32); inline;
  11540. public
  11541. procedure clearANSF0; inline;
  11542. procedure clearANSF1; inline;
  11543. procedure clearANSF2; inline;
  11544. procedure clearANSF3; inline;
  11545. procedure clearANSF4; inline;
  11546. procedure clearANSF5; inline;
  11547. procedure clearANSF6; inline;
  11548. procedure setANSF0; inline;
  11549. procedure setANSF1; inline;
  11550. procedure setANSF2; inline;
  11551. procedure setANSF3; inline;
  11552. procedure setANSF4; inline;
  11553. procedure setANSF5; inline;
  11554. procedure setANSF6; inline;
  11555. property ANSF0 : TBits_1 read getANSF0 write setANSF0;
  11556. property ANSF1 : TBits_1 read getANSF1 write setANSF1;
  11557. property ANSF2 : TBits_1 read getANSF2 write setANSF2;
  11558. property ANSF3 : TBits_1 read getANSF3 write setANSF3;
  11559. property ANSF4 : TBits_1 read getANSF4 write setANSF4;
  11560. property ANSF5 : TBits_1 read getANSF5 write setANSF5;
  11561. property ANSF6 : TBits_1 read getANSF6 write setANSF6;
  11562. property w : TBits_32 read getw write setw;
  11563. end;
  11564. TPORTE_TRISF = record
  11565. private
  11566. function getTRISF0 : TBits_1; inline;
  11567. function getTRISF1 : TBits_1; inline;
  11568. function getTRISF2 : TBits_1; inline;
  11569. function getTRISF3 : TBits_1; inline;
  11570. function getTRISF4 : TBits_1; inline;
  11571. function getTRISF5 : TBits_1; inline;
  11572. function getTRISF6 : TBits_1; inline;
  11573. function getw : TBits_32; inline;
  11574. procedure setTRISF0(thebits : TBits_1); inline;
  11575. procedure setTRISF1(thebits : TBits_1); inline;
  11576. procedure setTRISF2(thebits : TBits_1); inline;
  11577. procedure setTRISF3(thebits : TBits_1); inline;
  11578. procedure setTRISF4(thebits : TBits_1); inline;
  11579. procedure setTRISF5(thebits : TBits_1); inline;
  11580. procedure setTRISF6(thebits : TBits_1); inline;
  11581. procedure setw(thebits : TBits_32); inline;
  11582. public
  11583. procedure clearTRISF0; inline;
  11584. procedure clearTRISF1; inline;
  11585. procedure clearTRISF2; inline;
  11586. procedure clearTRISF3; inline;
  11587. procedure clearTRISF4; inline;
  11588. procedure clearTRISF5; inline;
  11589. procedure clearTRISF6; inline;
  11590. procedure setTRISF0; inline;
  11591. procedure setTRISF1; inline;
  11592. procedure setTRISF2; inline;
  11593. procedure setTRISF3; inline;
  11594. procedure setTRISF4; inline;
  11595. procedure setTRISF5; inline;
  11596. procedure setTRISF6; inline;
  11597. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  11598. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  11599. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  11600. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  11601. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  11602. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  11603. property TRISF6 : TBits_1 read getTRISF6 write setTRISF6;
  11604. property w : TBits_32 read getw write setw;
  11605. end;
  11606. type
  11607. TPORTERegisters = record
  11608. PORTEbits : TPORTE_PORTE;
  11609. PORTE : longWord;
  11610. PORTECLR : longWord;
  11611. PORTESET : longWord;
  11612. PORTEINV : longWord;
  11613. LATEbits : TPORTE_LATE;
  11614. LATE : longWord;
  11615. LATECLR : longWord;
  11616. LATESET : longWord;
  11617. LATEINV : longWord;
  11618. ODCEbits : TPORTE_ODCE;
  11619. ODCE : longWord;
  11620. ODCECLR : longWord;
  11621. ODCESET : longWord;
  11622. ODCEINV : longWord;
  11623. CNPUEbits : TPORTE_CNPUE;
  11624. CNPUE : longWord;
  11625. CNPUECLR : longWord;
  11626. CNPUESET : longWord;
  11627. CNPUEINV : longWord;
  11628. CNPDEbits : TPORTE_CNPDE;
  11629. CNPDE : longWord;
  11630. CNPDECLR : longWord;
  11631. CNPDESET : longWord;
  11632. CNPDEINV : longWord;
  11633. CNCONEbits : TPORTE_CNCONE;
  11634. CNCONE : longWord;
  11635. CNCONECLR : longWord;
  11636. CNCONESET : longWord;
  11637. CNCONEINV : longWord;
  11638. CNENEbits : TPORTE_CNENE;
  11639. CNENE : longWord;
  11640. CNENECLR : longWord;
  11641. CNENESET : longWord;
  11642. CNENEINV : longWord;
  11643. CNSTATEbits : TPORTE_CNSTATE;
  11644. CNSTATE : longWord;
  11645. CNSTATECLR : longWord;
  11646. CNSTATESET : longWord;
  11647. CNSTATEINV : longWord;
  11648. ANSELFbits : TPORTE_ANSELF;
  11649. ANSELF : longWord;
  11650. ANSELFCLR : longWord;
  11651. ANSELFSET : longWord;
  11652. ANSELFINV : longWord;
  11653. TRISFbits : TPORTE_TRISF;
  11654. TRISF : longWord;
  11655. TRISFCLR : longWord;
  11656. TRISFSET : longWord;
  11657. TRISFINV : longWord;
  11658. end;
  11659. TPORTF_PORTF = record
  11660. private
  11661. function getRF0 : TBits_1; inline;
  11662. function getRF1 : TBits_1; inline;
  11663. function getRF2 : TBits_1; inline;
  11664. function getRF3 : TBits_1; inline;
  11665. function getRF4 : TBits_1; inline;
  11666. function getRF5 : TBits_1; inline;
  11667. function getRF6 : TBits_1; inline;
  11668. function getw : TBits_32; inline;
  11669. procedure setRF0(thebits : TBits_1); inline;
  11670. procedure setRF1(thebits : TBits_1); inline;
  11671. procedure setRF2(thebits : TBits_1); inline;
  11672. procedure setRF3(thebits : TBits_1); inline;
  11673. procedure setRF4(thebits : TBits_1); inline;
  11674. procedure setRF5(thebits : TBits_1); inline;
  11675. procedure setRF6(thebits : TBits_1); inline;
  11676. procedure setw(thebits : TBits_32); inline;
  11677. public
  11678. procedure clearRF0; inline;
  11679. procedure clearRF1; inline;
  11680. procedure clearRF2; inline;
  11681. procedure clearRF3; inline;
  11682. procedure clearRF4; inline;
  11683. procedure clearRF5; inline;
  11684. procedure clearRF6; inline;
  11685. procedure setRF0; inline;
  11686. procedure setRF1; inline;
  11687. procedure setRF2; inline;
  11688. procedure setRF3; inline;
  11689. procedure setRF4; inline;
  11690. procedure setRF5; inline;
  11691. procedure setRF6; inline;
  11692. property RF0 : TBits_1 read getRF0 write setRF0;
  11693. property RF1 : TBits_1 read getRF1 write setRF1;
  11694. property RF2 : TBits_1 read getRF2 write setRF2;
  11695. property RF3 : TBits_1 read getRF3 write setRF3;
  11696. property RF4 : TBits_1 read getRF4 write setRF4;
  11697. property RF5 : TBits_1 read getRF5 write setRF5;
  11698. property RF6 : TBits_1 read getRF6 write setRF6;
  11699. property w : TBits_32 read getw write setw;
  11700. end;
  11701. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF6=6);
  11702. TPortF_bitset = set of TPortF_bits;
  11703. TPORTF_LATF = record
  11704. private
  11705. function getLATF0 : TBits_1; inline;
  11706. function getLATF1 : TBits_1; inline;
  11707. function getLATF2 : TBits_1; inline;
  11708. function getLATF3 : TBits_1; inline;
  11709. function getLATF4 : TBits_1; inline;
  11710. function getLATF5 : TBits_1; inline;
  11711. function getLATF6 : TBits_1; inline;
  11712. function getw : TBits_32; inline;
  11713. procedure setLATF0(thebits : TBits_1); inline;
  11714. procedure setLATF1(thebits : TBits_1); inline;
  11715. procedure setLATF2(thebits : TBits_1); inline;
  11716. procedure setLATF3(thebits : TBits_1); inline;
  11717. procedure setLATF4(thebits : TBits_1); inline;
  11718. procedure setLATF5(thebits : TBits_1); inline;
  11719. procedure setLATF6(thebits : TBits_1); inline;
  11720. procedure setw(thebits : TBits_32); inline;
  11721. public
  11722. procedure clearLATF0; inline;
  11723. procedure clearLATF1; inline;
  11724. procedure clearLATF2; inline;
  11725. procedure clearLATF3; inline;
  11726. procedure clearLATF4; inline;
  11727. procedure clearLATF5; inline;
  11728. procedure clearLATF6; inline;
  11729. procedure setLATF0; inline;
  11730. procedure setLATF1; inline;
  11731. procedure setLATF2; inline;
  11732. procedure setLATF3; inline;
  11733. procedure setLATF4; inline;
  11734. procedure setLATF5; inline;
  11735. procedure setLATF6; inline;
  11736. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  11737. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  11738. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  11739. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  11740. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  11741. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  11742. property LATF6 : TBits_1 read getLATF6 write setLATF6;
  11743. property w : TBits_32 read getw write setw;
  11744. end;
  11745. TPORTF_ODCF = record
  11746. private
  11747. function getODCF0 : TBits_1; inline;
  11748. function getODCF1 : TBits_1; inline;
  11749. function getODCF2 : TBits_1; inline;
  11750. function getODCF3 : TBits_1; inline;
  11751. function getODCF4 : TBits_1; inline;
  11752. function getODCF5 : TBits_1; inline;
  11753. function getODCF6 : TBits_1; inline;
  11754. function getw : TBits_32; inline;
  11755. procedure setODCF0(thebits : TBits_1); inline;
  11756. procedure setODCF1(thebits : TBits_1); inline;
  11757. procedure setODCF2(thebits : TBits_1); inline;
  11758. procedure setODCF3(thebits : TBits_1); inline;
  11759. procedure setODCF4(thebits : TBits_1); inline;
  11760. procedure setODCF5(thebits : TBits_1); inline;
  11761. procedure setODCF6(thebits : TBits_1); inline;
  11762. procedure setw(thebits : TBits_32); inline;
  11763. public
  11764. procedure clearODCF0; inline;
  11765. procedure clearODCF1; inline;
  11766. procedure clearODCF2; inline;
  11767. procedure clearODCF3; inline;
  11768. procedure clearODCF4; inline;
  11769. procedure clearODCF5; inline;
  11770. procedure clearODCF6; inline;
  11771. procedure setODCF0; inline;
  11772. procedure setODCF1; inline;
  11773. procedure setODCF2; inline;
  11774. procedure setODCF3; inline;
  11775. procedure setODCF4; inline;
  11776. procedure setODCF5; inline;
  11777. procedure setODCF6; inline;
  11778. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  11779. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  11780. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  11781. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  11782. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  11783. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  11784. property ODCF6 : TBits_1 read getODCF6 write setODCF6;
  11785. property w : TBits_32 read getw write setw;
  11786. end;
  11787. TPORTF_CNPUF = record
  11788. private
  11789. function getCNPUF0 : TBits_1; inline;
  11790. function getCNPUF1 : TBits_1; inline;
  11791. function getCNPUF2 : TBits_1; inline;
  11792. function getCNPUF3 : TBits_1; inline;
  11793. function getCNPUF4 : TBits_1; inline;
  11794. function getCNPUF5 : TBits_1; inline;
  11795. function getCNPUF6 : TBits_1; inline;
  11796. function getw : TBits_32; inline;
  11797. procedure setCNPUF0(thebits : TBits_1); inline;
  11798. procedure setCNPUF1(thebits : TBits_1); inline;
  11799. procedure setCNPUF2(thebits : TBits_1); inline;
  11800. procedure setCNPUF3(thebits : TBits_1); inline;
  11801. procedure setCNPUF4(thebits : TBits_1); inline;
  11802. procedure setCNPUF5(thebits : TBits_1); inline;
  11803. procedure setCNPUF6(thebits : TBits_1); inline;
  11804. procedure setw(thebits : TBits_32); inline;
  11805. public
  11806. procedure clearCNPUF0; inline;
  11807. procedure clearCNPUF1; inline;
  11808. procedure clearCNPUF2; inline;
  11809. procedure clearCNPUF3; inline;
  11810. procedure clearCNPUF4; inline;
  11811. procedure clearCNPUF5; inline;
  11812. procedure clearCNPUF6; inline;
  11813. procedure setCNPUF0; inline;
  11814. procedure setCNPUF1; inline;
  11815. procedure setCNPUF2; inline;
  11816. procedure setCNPUF3; inline;
  11817. procedure setCNPUF4; inline;
  11818. procedure setCNPUF5; inline;
  11819. procedure setCNPUF6; inline;
  11820. property CNPUF0 : TBits_1 read getCNPUF0 write setCNPUF0;
  11821. property CNPUF1 : TBits_1 read getCNPUF1 write setCNPUF1;
  11822. property CNPUF2 : TBits_1 read getCNPUF2 write setCNPUF2;
  11823. property CNPUF3 : TBits_1 read getCNPUF3 write setCNPUF3;
  11824. property CNPUF4 : TBits_1 read getCNPUF4 write setCNPUF4;
  11825. property CNPUF5 : TBits_1 read getCNPUF5 write setCNPUF5;
  11826. property CNPUF6 : TBits_1 read getCNPUF6 write setCNPUF6;
  11827. property w : TBits_32 read getw write setw;
  11828. end;
  11829. TPORTF_CNPDF = record
  11830. private
  11831. function getCNPDF0 : TBits_1; inline;
  11832. function getCNPDF1 : TBits_1; inline;
  11833. function getCNPDF2 : TBits_1; inline;
  11834. function getCNPDF3 : TBits_1; inline;
  11835. function getCNPDF4 : TBits_1; inline;
  11836. function getCNPDF5 : TBits_1; inline;
  11837. function getCNPDF6 : TBits_1; inline;
  11838. function getw : TBits_32; inline;
  11839. procedure setCNPDF0(thebits : TBits_1); inline;
  11840. procedure setCNPDF1(thebits : TBits_1); inline;
  11841. procedure setCNPDF2(thebits : TBits_1); inline;
  11842. procedure setCNPDF3(thebits : TBits_1); inline;
  11843. procedure setCNPDF4(thebits : TBits_1); inline;
  11844. procedure setCNPDF5(thebits : TBits_1); inline;
  11845. procedure setCNPDF6(thebits : TBits_1); inline;
  11846. procedure setw(thebits : TBits_32); inline;
  11847. public
  11848. procedure clearCNPDF0; inline;
  11849. procedure clearCNPDF1; inline;
  11850. procedure clearCNPDF2; inline;
  11851. procedure clearCNPDF3; inline;
  11852. procedure clearCNPDF4; inline;
  11853. procedure clearCNPDF5; inline;
  11854. procedure clearCNPDF6; inline;
  11855. procedure setCNPDF0; inline;
  11856. procedure setCNPDF1; inline;
  11857. procedure setCNPDF2; inline;
  11858. procedure setCNPDF3; inline;
  11859. procedure setCNPDF4; inline;
  11860. procedure setCNPDF5; inline;
  11861. procedure setCNPDF6; inline;
  11862. property CNPDF0 : TBits_1 read getCNPDF0 write setCNPDF0;
  11863. property CNPDF1 : TBits_1 read getCNPDF1 write setCNPDF1;
  11864. property CNPDF2 : TBits_1 read getCNPDF2 write setCNPDF2;
  11865. property CNPDF3 : TBits_1 read getCNPDF3 write setCNPDF3;
  11866. property CNPDF4 : TBits_1 read getCNPDF4 write setCNPDF4;
  11867. property CNPDF5 : TBits_1 read getCNPDF5 write setCNPDF5;
  11868. property CNPDF6 : TBits_1 read getCNPDF6 write setCNPDF6;
  11869. property w : TBits_32 read getw write setw;
  11870. end;
  11871. TPORTF_CNCONF = record
  11872. private
  11873. function getON : TBits_1; inline;
  11874. function getSIDL : TBits_1; inline;
  11875. function getw : TBits_32; inline;
  11876. procedure setON(thebits : TBits_1); inline;
  11877. procedure setSIDL(thebits : TBits_1); inline;
  11878. procedure setw(thebits : TBits_32); inline;
  11879. public
  11880. procedure clearON; inline;
  11881. procedure clearSIDL; inline;
  11882. procedure setON; inline;
  11883. procedure setSIDL; inline;
  11884. property ON : TBits_1 read getON write setON;
  11885. property SIDL : TBits_1 read getSIDL write setSIDL;
  11886. property w : TBits_32 read getw write setw;
  11887. end;
  11888. TPORTF_CNENF = record
  11889. private
  11890. function getCNIEF0 : TBits_1; inline;
  11891. function getCNIEF1 : TBits_1; inline;
  11892. function getCNIEF2 : TBits_1; inline;
  11893. function getCNIEF3 : TBits_1; inline;
  11894. function getCNIEF4 : TBits_1; inline;
  11895. function getCNIEF5 : TBits_1; inline;
  11896. function getCNIEF6 : TBits_1; inline;
  11897. function getw : TBits_32; inline;
  11898. procedure setCNIEF0(thebits : TBits_1); inline;
  11899. procedure setCNIEF1(thebits : TBits_1); inline;
  11900. procedure setCNIEF2(thebits : TBits_1); inline;
  11901. procedure setCNIEF3(thebits : TBits_1); inline;
  11902. procedure setCNIEF4(thebits : TBits_1); inline;
  11903. procedure setCNIEF5(thebits : TBits_1); inline;
  11904. procedure setCNIEF6(thebits : TBits_1); inline;
  11905. procedure setw(thebits : TBits_32); inline;
  11906. public
  11907. procedure clearCNIEF0; inline;
  11908. procedure clearCNIEF1; inline;
  11909. procedure clearCNIEF2; inline;
  11910. procedure clearCNIEF3; inline;
  11911. procedure clearCNIEF4; inline;
  11912. procedure clearCNIEF5; inline;
  11913. procedure clearCNIEF6; inline;
  11914. procedure setCNIEF0; inline;
  11915. procedure setCNIEF1; inline;
  11916. procedure setCNIEF2; inline;
  11917. procedure setCNIEF3; inline;
  11918. procedure setCNIEF4; inline;
  11919. procedure setCNIEF5; inline;
  11920. procedure setCNIEF6; inline;
  11921. property CNIEF0 : TBits_1 read getCNIEF0 write setCNIEF0;
  11922. property CNIEF1 : TBits_1 read getCNIEF1 write setCNIEF1;
  11923. property CNIEF2 : TBits_1 read getCNIEF2 write setCNIEF2;
  11924. property CNIEF3 : TBits_1 read getCNIEF3 write setCNIEF3;
  11925. property CNIEF4 : TBits_1 read getCNIEF4 write setCNIEF4;
  11926. property CNIEF5 : TBits_1 read getCNIEF5 write setCNIEF5;
  11927. property CNIEF6 : TBits_1 read getCNIEF6 write setCNIEF6;
  11928. property w : TBits_32 read getw write setw;
  11929. end;
  11930. TPORTF_CNSTATF = record
  11931. private
  11932. function getCNSTATF0 : TBits_1; inline;
  11933. function getCNSTATF1 : TBits_1; inline;
  11934. function getCNSTATF2 : TBits_1; inline;
  11935. function getCNSTATF3 : TBits_1; inline;
  11936. function getCNSTATF4 : TBits_1; inline;
  11937. function getCNSTATF5 : TBits_1; inline;
  11938. function getCNSTATF6 : TBits_1; inline;
  11939. function getw : TBits_32; inline;
  11940. procedure setCNSTATF0(thebits : TBits_1); inline;
  11941. procedure setCNSTATF1(thebits : TBits_1); inline;
  11942. procedure setCNSTATF2(thebits : TBits_1); inline;
  11943. procedure setCNSTATF3(thebits : TBits_1); inline;
  11944. procedure setCNSTATF4(thebits : TBits_1); inline;
  11945. procedure setCNSTATF5(thebits : TBits_1); inline;
  11946. procedure setCNSTATF6(thebits : TBits_1); inline;
  11947. procedure setw(thebits : TBits_32); inline;
  11948. public
  11949. procedure clearCNSTATF0; inline;
  11950. procedure clearCNSTATF1; inline;
  11951. procedure clearCNSTATF2; inline;
  11952. procedure clearCNSTATF3; inline;
  11953. procedure clearCNSTATF4; inline;
  11954. procedure clearCNSTATF5; inline;
  11955. procedure clearCNSTATF6; inline;
  11956. procedure setCNSTATF0; inline;
  11957. procedure setCNSTATF1; inline;
  11958. procedure setCNSTATF2; inline;
  11959. procedure setCNSTATF3; inline;
  11960. procedure setCNSTATF4; inline;
  11961. procedure setCNSTATF5; inline;
  11962. procedure setCNSTATF6; inline;
  11963. property CNSTATF0 : TBits_1 read getCNSTATF0 write setCNSTATF0;
  11964. property CNSTATF1 : TBits_1 read getCNSTATF1 write setCNSTATF1;
  11965. property CNSTATF2 : TBits_1 read getCNSTATF2 write setCNSTATF2;
  11966. property CNSTATF3 : TBits_1 read getCNSTATF3 write setCNSTATF3;
  11967. property CNSTATF4 : TBits_1 read getCNSTATF4 write setCNSTATF4;
  11968. property CNSTATF5 : TBits_1 read getCNSTATF5 write setCNSTATF5;
  11969. property CNSTATF6 : TBits_1 read getCNSTATF6 write setCNSTATF6;
  11970. property w : TBits_32 read getw write setw;
  11971. end;
  11972. TPORTF_ANSELG = record
  11973. private
  11974. function getANSG6 : TBits_1; inline;
  11975. function getANSG7 : TBits_1; inline;
  11976. function getANSG8 : TBits_1; inline;
  11977. function getANSG9 : TBits_1; inline;
  11978. function getw : TBits_32; inline;
  11979. procedure setANSG6(thebits : TBits_1); inline;
  11980. procedure setANSG7(thebits : TBits_1); inline;
  11981. procedure setANSG8(thebits : TBits_1); inline;
  11982. procedure setANSG9(thebits : TBits_1); inline;
  11983. procedure setw(thebits : TBits_32); inline;
  11984. public
  11985. procedure clearANSG6; inline;
  11986. procedure clearANSG7; inline;
  11987. procedure clearANSG8; inline;
  11988. procedure clearANSG9; inline;
  11989. procedure setANSG6; inline;
  11990. procedure setANSG7; inline;
  11991. procedure setANSG8; inline;
  11992. procedure setANSG9; inline;
  11993. property ANSG6 : TBits_1 read getANSG6 write setANSG6;
  11994. property ANSG7 : TBits_1 read getANSG7 write setANSG7;
  11995. property ANSG8 : TBits_1 read getANSG8 write setANSG8;
  11996. property ANSG9 : TBits_1 read getANSG9 write setANSG9;
  11997. property w : TBits_32 read getw write setw;
  11998. end;
  11999. TPORTF_TRISG = record
  12000. private
  12001. function getTRISG2 : TBits_1; inline;
  12002. function getTRISG3 : TBits_1; inline;
  12003. function getTRISG6 : TBits_1; inline;
  12004. function getTRISG7 : TBits_1; inline;
  12005. function getTRISG8 : TBits_1; inline;
  12006. function getTRISG9 : TBits_1; inline;
  12007. function getw : TBits_32; inline;
  12008. procedure setTRISG2(thebits : TBits_1); inline;
  12009. procedure setTRISG3(thebits : TBits_1); inline;
  12010. procedure setTRISG6(thebits : TBits_1); inline;
  12011. procedure setTRISG7(thebits : TBits_1); inline;
  12012. procedure setTRISG8(thebits : TBits_1); inline;
  12013. procedure setTRISG9(thebits : TBits_1); inline;
  12014. procedure setw(thebits : TBits_32); inline;
  12015. public
  12016. procedure clearTRISG2; inline;
  12017. procedure clearTRISG3; inline;
  12018. procedure clearTRISG6; inline;
  12019. procedure clearTRISG7; inline;
  12020. procedure clearTRISG8; inline;
  12021. procedure clearTRISG9; inline;
  12022. procedure setTRISG2; inline;
  12023. procedure setTRISG3; inline;
  12024. procedure setTRISG6; inline;
  12025. procedure setTRISG7; inline;
  12026. procedure setTRISG8; inline;
  12027. procedure setTRISG9; inline;
  12028. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  12029. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  12030. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  12031. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  12032. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  12033. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  12034. property w : TBits_32 read getw write setw;
  12035. end;
  12036. type
  12037. TPORTFRegisters = record
  12038. PORTFbits : TPORTF_PORTF;
  12039. PORTF : longWord;
  12040. PORTFCLR : longWord;
  12041. PORTFSET : longWord;
  12042. PORTFINV : longWord;
  12043. LATFbits : TPORTF_LATF;
  12044. LATF : longWord;
  12045. LATFCLR : longWord;
  12046. LATFSET : longWord;
  12047. LATFINV : longWord;
  12048. ODCFbits : TPORTF_ODCF;
  12049. ODCF : longWord;
  12050. ODCFCLR : longWord;
  12051. ODCFSET : longWord;
  12052. ODCFINV : longWord;
  12053. CNPUFbits : TPORTF_CNPUF;
  12054. CNPUF : longWord;
  12055. CNPUFCLR : longWord;
  12056. CNPUFSET : longWord;
  12057. CNPUFINV : longWord;
  12058. CNPDFbits : TPORTF_CNPDF;
  12059. CNPDF : longWord;
  12060. CNPDFCLR : longWord;
  12061. CNPDFSET : longWord;
  12062. CNPDFINV : longWord;
  12063. CNCONFbits : TPORTF_CNCONF;
  12064. CNCONF : longWord;
  12065. CNCONFCLR : longWord;
  12066. CNCONFSET : longWord;
  12067. CNCONFINV : longWord;
  12068. CNENFbits : TPORTF_CNENF;
  12069. CNENF : longWord;
  12070. CNENFCLR : longWord;
  12071. CNENFSET : longWord;
  12072. CNENFINV : longWord;
  12073. CNSTATFbits : TPORTF_CNSTATF;
  12074. CNSTATF : longWord;
  12075. CNSTATFCLR : longWord;
  12076. CNSTATFSET : longWord;
  12077. CNSTATFINV : longWord;
  12078. ANSELGbits : TPORTF_ANSELG;
  12079. ANSELG : longWord;
  12080. ANSELGCLR : longWord;
  12081. ANSELGSET : longWord;
  12082. ANSELGINV : longWord;
  12083. TRISGbits : TPORTF_TRISG;
  12084. TRISG : longWord;
  12085. TRISGCLR : longWord;
  12086. TRISGSET : longWord;
  12087. TRISGINV : longWord;
  12088. end;
  12089. TPORTG_PORTG = record
  12090. private
  12091. function getRG2 : TBits_1; inline;
  12092. function getRG3 : TBits_1; inline;
  12093. function getRG6 : TBits_1; inline;
  12094. function getRG7 : TBits_1; inline;
  12095. function getRG8 : TBits_1; inline;
  12096. function getRG9 : TBits_1; inline;
  12097. function getw : TBits_32; inline;
  12098. procedure setRG2(thebits : TBits_1); inline;
  12099. procedure setRG3(thebits : TBits_1); inline;
  12100. procedure setRG6(thebits : TBits_1); inline;
  12101. procedure setRG7(thebits : TBits_1); inline;
  12102. procedure setRG8(thebits : TBits_1); inline;
  12103. procedure setRG9(thebits : TBits_1); inline;
  12104. procedure setw(thebits : TBits_32); inline;
  12105. public
  12106. procedure clearRG2; inline;
  12107. procedure clearRG3; inline;
  12108. procedure clearRG6; inline;
  12109. procedure clearRG7; inline;
  12110. procedure clearRG8; inline;
  12111. procedure clearRG9; inline;
  12112. procedure setRG2; inline;
  12113. procedure setRG3; inline;
  12114. procedure setRG6; inline;
  12115. procedure setRG7; inline;
  12116. procedure setRG8; inline;
  12117. procedure setRG9; inline;
  12118. property RG2 : TBits_1 read getRG2 write setRG2;
  12119. property RG3 : TBits_1 read getRG3 write setRG3;
  12120. property RG6 : TBits_1 read getRG6 write setRG6;
  12121. property RG7 : TBits_1 read getRG7 write setRG7;
  12122. property RG8 : TBits_1 read getRG8 write setRG8;
  12123. property RG9 : TBits_1 read getRG9 write setRG9;
  12124. property w : TBits_32 read getw write setw;
  12125. end;
  12126. TPortG_bits=(RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9);
  12127. TPortG_bitset = set of TPortG_bits;
  12128. TPORTG_LATG = record
  12129. private
  12130. function getLATG2 : TBits_1; inline;
  12131. function getLATG3 : TBits_1; inline;
  12132. function getLATG6 : TBits_1; inline;
  12133. function getLATG7 : TBits_1; inline;
  12134. function getLATG8 : TBits_1; inline;
  12135. function getLATG9 : TBits_1; inline;
  12136. function getw : TBits_32; inline;
  12137. procedure setLATG2(thebits : TBits_1); inline;
  12138. procedure setLATG3(thebits : TBits_1); inline;
  12139. procedure setLATG6(thebits : TBits_1); inline;
  12140. procedure setLATG7(thebits : TBits_1); inline;
  12141. procedure setLATG8(thebits : TBits_1); inline;
  12142. procedure setLATG9(thebits : TBits_1); inline;
  12143. procedure setw(thebits : TBits_32); inline;
  12144. public
  12145. procedure clearLATG2; inline;
  12146. procedure clearLATG3; inline;
  12147. procedure clearLATG6; inline;
  12148. procedure clearLATG7; inline;
  12149. procedure clearLATG8; inline;
  12150. procedure clearLATG9; inline;
  12151. procedure setLATG2; inline;
  12152. procedure setLATG3; inline;
  12153. procedure setLATG6; inline;
  12154. procedure setLATG7; inline;
  12155. procedure setLATG8; inline;
  12156. procedure setLATG9; inline;
  12157. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  12158. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  12159. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  12160. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  12161. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  12162. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  12163. property w : TBits_32 read getw write setw;
  12164. end;
  12165. TPORTG_ODCG = record
  12166. private
  12167. function getODCG2 : TBits_1; inline;
  12168. function getODCG3 : TBits_1; inline;
  12169. function getODCG6 : TBits_1; inline;
  12170. function getODCG7 : TBits_1; inline;
  12171. function getODCG8 : TBits_1; inline;
  12172. function getODCG9 : TBits_1; inline;
  12173. function getw : TBits_32; inline;
  12174. procedure setODCG2(thebits : TBits_1); inline;
  12175. procedure setODCG3(thebits : TBits_1); inline;
  12176. procedure setODCG6(thebits : TBits_1); inline;
  12177. procedure setODCG7(thebits : TBits_1); inline;
  12178. procedure setODCG8(thebits : TBits_1); inline;
  12179. procedure setODCG9(thebits : TBits_1); inline;
  12180. procedure setw(thebits : TBits_32); inline;
  12181. public
  12182. procedure clearODCG2; inline;
  12183. procedure clearODCG3; inline;
  12184. procedure clearODCG6; inline;
  12185. procedure clearODCG7; inline;
  12186. procedure clearODCG8; inline;
  12187. procedure clearODCG9; inline;
  12188. procedure setODCG2; inline;
  12189. procedure setODCG3; inline;
  12190. procedure setODCG6; inline;
  12191. procedure setODCG7; inline;
  12192. procedure setODCG8; inline;
  12193. procedure setODCG9; inline;
  12194. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  12195. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  12196. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  12197. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  12198. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  12199. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  12200. property w : TBits_32 read getw write setw;
  12201. end;
  12202. TPORTG_CNPUG = record
  12203. private
  12204. function getCNPUG2 : TBits_1; inline;
  12205. function getCNPUG3 : TBits_1; inline;
  12206. function getCNPUG6 : TBits_1; inline;
  12207. function getCNPUG7 : TBits_1; inline;
  12208. function getCNPUG8 : TBits_1; inline;
  12209. function getCNPUG9 : TBits_1; inline;
  12210. function getw : TBits_32; inline;
  12211. procedure setCNPUG2(thebits : TBits_1); inline;
  12212. procedure setCNPUG3(thebits : TBits_1); inline;
  12213. procedure setCNPUG6(thebits : TBits_1); inline;
  12214. procedure setCNPUG7(thebits : TBits_1); inline;
  12215. procedure setCNPUG8(thebits : TBits_1); inline;
  12216. procedure setCNPUG9(thebits : TBits_1); inline;
  12217. procedure setw(thebits : TBits_32); inline;
  12218. public
  12219. procedure clearCNPUG2; inline;
  12220. procedure clearCNPUG3; inline;
  12221. procedure clearCNPUG6; inline;
  12222. procedure clearCNPUG7; inline;
  12223. procedure clearCNPUG8; inline;
  12224. procedure clearCNPUG9; inline;
  12225. procedure setCNPUG2; inline;
  12226. procedure setCNPUG3; inline;
  12227. procedure setCNPUG6; inline;
  12228. procedure setCNPUG7; inline;
  12229. procedure setCNPUG8; inline;
  12230. procedure setCNPUG9; inline;
  12231. property CNPUG2 : TBits_1 read getCNPUG2 write setCNPUG2;
  12232. property CNPUG3 : TBits_1 read getCNPUG3 write setCNPUG3;
  12233. property CNPUG6 : TBits_1 read getCNPUG6 write setCNPUG6;
  12234. property CNPUG7 : TBits_1 read getCNPUG7 write setCNPUG7;
  12235. property CNPUG8 : TBits_1 read getCNPUG8 write setCNPUG8;
  12236. property CNPUG9 : TBits_1 read getCNPUG9 write setCNPUG9;
  12237. property w : TBits_32 read getw write setw;
  12238. end;
  12239. TPORTG_CNPDG = record
  12240. private
  12241. function getCNPDG2 : TBits_1; inline;
  12242. function getCNPDG3 : TBits_1; inline;
  12243. function getCNPDG6 : TBits_1; inline;
  12244. function getCNPDG7 : TBits_1; inline;
  12245. function getCNPDG8 : TBits_1; inline;
  12246. function getCNPDG9 : TBits_1; inline;
  12247. function getw : TBits_32; inline;
  12248. procedure setCNPDG2(thebits : TBits_1); inline;
  12249. procedure setCNPDG3(thebits : TBits_1); inline;
  12250. procedure setCNPDG6(thebits : TBits_1); inline;
  12251. procedure setCNPDG7(thebits : TBits_1); inline;
  12252. procedure setCNPDG8(thebits : TBits_1); inline;
  12253. procedure setCNPDG9(thebits : TBits_1); inline;
  12254. procedure setw(thebits : TBits_32); inline;
  12255. public
  12256. procedure clearCNPDG2; inline;
  12257. procedure clearCNPDG3; inline;
  12258. procedure clearCNPDG6; inline;
  12259. procedure clearCNPDG7; inline;
  12260. procedure clearCNPDG8; inline;
  12261. procedure clearCNPDG9; inline;
  12262. procedure setCNPDG2; inline;
  12263. procedure setCNPDG3; inline;
  12264. procedure setCNPDG6; inline;
  12265. procedure setCNPDG7; inline;
  12266. procedure setCNPDG8; inline;
  12267. procedure setCNPDG9; inline;
  12268. property CNPDG2 : TBits_1 read getCNPDG2 write setCNPDG2;
  12269. property CNPDG3 : TBits_1 read getCNPDG3 write setCNPDG3;
  12270. property CNPDG6 : TBits_1 read getCNPDG6 write setCNPDG6;
  12271. property CNPDG7 : TBits_1 read getCNPDG7 write setCNPDG7;
  12272. property CNPDG8 : TBits_1 read getCNPDG8 write setCNPDG8;
  12273. property CNPDG9 : TBits_1 read getCNPDG9 write setCNPDG9;
  12274. property w : TBits_32 read getw write setw;
  12275. end;
  12276. TPORTG_CNCONG = record
  12277. private
  12278. function getON : TBits_1; inline;
  12279. function getSIDL : TBits_1; inline;
  12280. function getw : TBits_32; inline;
  12281. procedure setON(thebits : TBits_1); inline;
  12282. procedure setSIDL(thebits : TBits_1); inline;
  12283. procedure setw(thebits : TBits_32); inline;
  12284. public
  12285. procedure clearON; inline;
  12286. procedure clearSIDL; inline;
  12287. procedure setON; inline;
  12288. procedure setSIDL; inline;
  12289. property ON : TBits_1 read getON write setON;
  12290. property SIDL : TBits_1 read getSIDL write setSIDL;
  12291. property w : TBits_32 read getw write setw;
  12292. end;
  12293. TPORTG_CNENG = record
  12294. private
  12295. function getCNIEG2 : TBits_1; inline;
  12296. function getCNIEG3 : TBits_1; inline;
  12297. function getCNIEG6 : TBits_1; inline;
  12298. function getCNIEG7 : TBits_1; inline;
  12299. function getCNIEG8 : TBits_1; inline;
  12300. function getCNIEG9 : TBits_1; inline;
  12301. function getw : TBits_32; inline;
  12302. procedure setCNIEG2(thebits : TBits_1); inline;
  12303. procedure setCNIEG3(thebits : TBits_1); inline;
  12304. procedure setCNIEG6(thebits : TBits_1); inline;
  12305. procedure setCNIEG7(thebits : TBits_1); inline;
  12306. procedure setCNIEG8(thebits : TBits_1); inline;
  12307. procedure setCNIEG9(thebits : TBits_1); inline;
  12308. procedure setw(thebits : TBits_32); inline;
  12309. public
  12310. procedure clearCNIEG2; inline;
  12311. procedure clearCNIEG3; inline;
  12312. procedure clearCNIEG6; inline;
  12313. procedure clearCNIEG7; inline;
  12314. procedure clearCNIEG8; inline;
  12315. procedure clearCNIEG9; inline;
  12316. procedure setCNIEG2; inline;
  12317. procedure setCNIEG3; inline;
  12318. procedure setCNIEG6; inline;
  12319. procedure setCNIEG7; inline;
  12320. procedure setCNIEG8; inline;
  12321. procedure setCNIEG9; inline;
  12322. property CNIEG2 : TBits_1 read getCNIEG2 write setCNIEG2;
  12323. property CNIEG3 : TBits_1 read getCNIEG3 write setCNIEG3;
  12324. property CNIEG6 : TBits_1 read getCNIEG6 write setCNIEG6;
  12325. property CNIEG7 : TBits_1 read getCNIEG7 write setCNIEG7;
  12326. property CNIEG8 : TBits_1 read getCNIEG8 write setCNIEG8;
  12327. property CNIEG9 : TBits_1 read getCNIEG9 write setCNIEG9;
  12328. property w : TBits_32 read getw write setw;
  12329. end;
  12330. TPORTG_CNSTATG = record
  12331. private
  12332. function getCNSTATG2 : TBits_1; inline;
  12333. function getCNSTATG3 : TBits_1; inline;
  12334. function getCNSTATG6 : TBits_1; inline;
  12335. function getCNSTATG7 : TBits_1; inline;
  12336. function getCNSTATG8 : TBits_1; inline;
  12337. function getCNSTATG9 : TBits_1; inline;
  12338. function getw : TBits_32; inline;
  12339. procedure setCNSTATG2(thebits : TBits_1); inline;
  12340. procedure setCNSTATG3(thebits : TBits_1); inline;
  12341. procedure setCNSTATG6(thebits : TBits_1); inline;
  12342. procedure setCNSTATG7(thebits : TBits_1); inline;
  12343. procedure setCNSTATG8(thebits : TBits_1); inline;
  12344. procedure setCNSTATG9(thebits : TBits_1); inline;
  12345. procedure setw(thebits : TBits_32); inline;
  12346. public
  12347. procedure clearCNSTATG2; inline;
  12348. procedure clearCNSTATG3; inline;
  12349. procedure clearCNSTATG6; inline;
  12350. procedure clearCNSTATG7; inline;
  12351. procedure clearCNSTATG8; inline;
  12352. procedure clearCNSTATG9; inline;
  12353. procedure setCNSTATG2; inline;
  12354. procedure setCNSTATG3; inline;
  12355. procedure setCNSTATG6; inline;
  12356. procedure setCNSTATG7; inline;
  12357. procedure setCNSTATG8; inline;
  12358. procedure setCNSTATG9; inline;
  12359. property CNSTATG2 : TBits_1 read getCNSTATG2 write setCNSTATG2;
  12360. property CNSTATG3 : TBits_1 read getCNSTATG3 write setCNSTATG3;
  12361. property CNSTATG6 : TBits_1 read getCNSTATG6 write setCNSTATG6;
  12362. property CNSTATG7 : TBits_1 read getCNSTATG7 write setCNSTATG7;
  12363. property CNSTATG8 : TBits_1 read getCNSTATG8 write setCNSTATG8;
  12364. property CNSTATG9 : TBits_1 read getCNSTATG9 write setCNSTATG9;
  12365. property w : TBits_32 read getw write setw;
  12366. end;
  12367. type
  12368. TPORTGRegisters = record
  12369. PORTGbits : TPORTG_PORTG;
  12370. PORTG : longWord;
  12371. PORTGCLR : longWord;
  12372. PORTGSET : longWord;
  12373. PORTGINV : longWord;
  12374. LATGbits : TPORTG_LATG;
  12375. LATG : longWord;
  12376. LATGCLR : longWord;
  12377. LATGSET : longWord;
  12378. LATGINV : longWord;
  12379. ODCGbits : TPORTG_ODCG;
  12380. ODCG : longWord;
  12381. ODCGCLR : longWord;
  12382. ODCGSET : longWord;
  12383. ODCGINV : longWord;
  12384. CNPUGbits : TPORTG_CNPUG;
  12385. CNPUG : longWord;
  12386. CNPUGCLR : longWord;
  12387. CNPUGSET : longWord;
  12388. CNPUGINV : longWord;
  12389. CNPDGbits : TPORTG_CNPDG;
  12390. CNPDG : longWord;
  12391. CNPDGCLR : longWord;
  12392. CNPDGSET : longWord;
  12393. CNPDGINV : longWord;
  12394. CNCONGbits : TPORTG_CNCONG;
  12395. CNCONG : longWord;
  12396. CNCONGCLR : longWord;
  12397. CNCONGSET : longWord;
  12398. CNCONGINV : longWord;
  12399. CNENGbits : TPORTG_CNENG;
  12400. CNENG : longWord;
  12401. CNENGCLR : longWord;
  12402. CNENGSET : longWord;
  12403. CNENGINV : longWord;
  12404. CNSTATGbits : TPORTG_CNSTATG;
  12405. CNSTATG : longWord;
  12406. CNSTATGCLR : longWord;
  12407. CNSTATGSET : longWord;
  12408. CNSTATGINV : longWord;
  12409. end;
  12410. TDEVCFG_DEVCFG3 = record
  12411. private
  12412. function getFSRSSEL : TBits_3; inline;
  12413. function getFUSBIDIO : TBits_1; inline;
  12414. function getFVBUSONIO : TBits_1; inline;
  12415. function getIOL1WAY : TBits_1; inline;
  12416. function getPMDL1WAY : TBits_1; inline;
  12417. function getUSERID : TBits_16; inline;
  12418. function getw : TBits_32; inline;
  12419. procedure setFSRSSEL(thebits : TBits_3); inline;
  12420. procedure setFUSBIDIO(thebits : TBits_1); inline;
  12421. procedure setFVBUSONIO(thebits : TBits_1); inline;
  12422. procedure setIOL1WAY(thebits : TBits_1); inline;
  12423. procedure setPMDL1WAY(thebits : TBits_1); inline;
  12424. procedure setUSERID(thebits : TBits_16); inline;
  12425. procedure setw(thebits : TBits_32); inline;
  12426. public
  12427. procedure clearFUSBIDIO; inline;
  12428. procedure clearFVBUSONIO; inline;
  12429. procedure clearIOL1WAY; inline;
  12430. procedure clearPMDL1WAY; inline;
  12431. procedure setFUSBIDIO; inline;
  12432. procedure setFVBUSONIO; inline;
  12433. procedure setIOL1WAY; inline;
  12434. procedure setPMDL1WAY; inline;
  12435. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  12436. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  12437. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  12438. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  12439. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  12440. property USERID : TBits_16 read getUSERID write setUSERID;
  12441. property w : TBits_32 read getw write setw;
  12442. end;
  12443. TDEVCFG_DEVCFG2 = record
  12444. private
  12445. function getFPLLIDIV : TBits_3; inline;
  12446. function getFPLLMUL : TBits_3; inline;
  12447. function getFPLLODIV : TBits_3; inline;
  12448. function getUPLLEN : TBits_1; inline;
  12449. function getUPLLIDIV : TBits_3; inline;
  12450. function getw : TBits_32; inline;
  12451. procedure setFPLLIDIV(thebits : TBits_3); inline;
  12452. procedure setFPLLMUL(thebits : TBits_3); inline;
  12453. procedure setFPLLODIV(thebits : TBits_3); inline;
  12454. procedure setUPLLEN(thebits : TBits_1); inline;
  12455. procedure setUPLLIDIV(thebits : TBits_3); inline;
  12456. procedure setw(thebits : TBits_32); inline;
  12457. public
  12458. procedure clearUPLLEN; inline;
  12459. procedure setUPLLEN; inline;
  12460. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  12461. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  12462. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  12463. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  12464. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  12465. property w : TBits_32 read getw write setw;
  12466. end;
  12467. TDEVCFG_DEVCFG1 = record
  12468. private
  12469. function getFCKSM : TBits_2; inline;
  12470. function getFNOSC : TBits_3; inline;
  12471. function getFPBDIV : TBits_2; inline;
  12472. function getFSOSCEN : TBits_1; inline;
  12473. function getFWDTEN : TBits_1; inline;
  12474. function getFWDTWINSZ : TBits_2; inline;
  12475. function getIESO : TBits_1; inline;
  12476. function getOSCIOFNC : TBits_1; inline;
  12477. function getPOSCMOD : TBits_2; inline;
  12478. function getWDTPS : TBits_5; inline;
  12479. function getWINDIS : TBits_1; inline;
  12480. function getw : TBits_32; inline;
  12481. procedure setFCKSM(thebits : TBits_2); inline;
  12482. procedure setFNOSC(thebits : TBits_3); inline;
  12483. procedure setFPBDIV(thebits : TBits_2); inline;
  12484. procedure setFSOSCEN(thebits : TBits_1); inline;
  12485. procedure setFWDTEN(thebits : TBits_1); inline;
  12486. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  12487. procedure setIESO(thebits : TBits_1); inline;
  12488. procedure setOSCIOFNC(thebits : TBits_1); inline;
  12489. procedure setPOSCMOD(thebits : TBits_2); inline;
  12490. procedure setWDTPS(thebits : TBits_5); inline;
  12491. procedure setWINDIS(thebits : TBits_1); inline;
  12492. procedure setw(thebits : TBits_32); inline;
  12493. public
  12494. procedure clearFSOSCEN; inline;
  12495. procedure clearFWDTEN; inline;
  12496. procedure clearIESO; inline;
  12497. procedure clearOSCIOFNC; inline;
  12498. procedure clearWINDIS; inline;
  12499. procedure setFSOSCEN; inline;
  12500. procedure setFWDTEN; inline;
  12501. procedure setIESO; inline;
  12502. procedure setOSCIOFNC; inline;
  12503. procedure setWINDIS; inline;
  12504. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  12505. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  12506. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  12507. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  12508. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  12509. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  12510. property IESO : TBits_1 read getIESO write setIESO;
  12511. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  12512. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  12513. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  12514. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  12515. property w : TBits_32 read getw write setw;
  12516. end;
  12517. TDEVCFG_DEVCFG0 = record
  12518. private
  12519. function getBWP : TBits_1; inline;
  12520. function getCP : TBits_1; inline;
  12521. function getDEBUG : TBits_2; inline;
  12522. function getFDEBUG : TBits_2; inline;
  12523. function getICESEL : TBits_2; inline;
  12524. function getJTAGEN : TBits_1; inline;
  12525. function getPWP : TBits_8; inline;
  12526. function getw : TBits_32; inline;
  12527. procedure setBWP(thebits : TBits_1); inline;
  12528. procedure setCP(thebits : TBits_1); inline;
  12529. procedure setDEBUG(thebits : TBits_2); inline;
  12530. procedure setFDEBUG(thebits : TBits_2); inline;
  12531. procedure setICESEL(thebits : TBits_2); inline;
  12532. procedure setJTAGEN(thebits : TBits_1); inline;
  12533. procedure setPWP(thebits : TBits_8); inline;
  12534. procedure setw(thebits : TBits_32); inline;
  12535. public
  12536. procedure clearBWP; inline;
  12537. procedure clearCP; inline;
  12538. procedure clearJTAGEN; inline;
  12539. procedure setBWP; inline;
  12540. procedure setCP; inline;
  12541. procedure setJTAGEN; inline;
  12542. property BWP : TBits_1 read getBWP write setBWP;
  12543. property CP : TBits_1 read getCP write setCP;
  12544. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  12545. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  12546. property ICESEL : TBits_2 read getICESEL write setICESEL;
  12547. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  12548. property PWP : TBits_8 read getPWP write setPWP;
  12549. property w : TBits_32 read getw write setw;
  12550. end;
  12551. const
  12552. _CORE_TIMER_IRQ = 0;
  12553. _CORE_SOFTWARE_0_IRQ = 1;
  12554. _CORE_SOFTWARE_1_IRQ = 2;
  12555. _EXTERNAL_0_IRQ = 3;
  12556. _TIMER_1_IRQ = 4;
  12557. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  12558. _INPUT_CAPTURE_1_IRQ = 6;
  12559. _OUTPUT_COMPARE_1_IRQ = 7;
  12560. _EXTERNAL_1_IRQ = 8;
  12561. _TIMER_2_IRQ = 9;
  12562. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  12563. _INPUT_CAPTURE_2_IRQ = 11;
  12564. _OUTPUT_COMPARE_2_IRQ = 12;
  12565. _EXTERNAL_2_IRQ = 13;
  12566. _TIMER_3_IRQ = 14;
  12567. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  12568. _INPUT_CAPTURE_3_IRQ = 16;
  12569. _OUTPUT_COMPARE_3_IRQ = 17;
  12570. _EXTERNAL_3_IRQ = 18;
  12571. _TIMER_4_IRQ = 19;
  12572. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  12573. _INPUT_CAPTURE_4_IRQ = 21;
  12574. _OUTPUT_COMPARE_4_IRQ = 22;
  12575. _EXTERNAL_4_IRQ = 23;
  12576. _TIMER_5_IRQ = 24;
  12577. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  12578. _INPUT_CAPTURE_5_IRQ = 26;
  12579. _OUTPUT_COMPARE_5_IRQ = 27;
  12580. _ADC_IRQ = 28;
  12581. _FAIL_SAFE_MONITOR_IRQ = 29;
  12582. _RTCC_IRQ = 30;
  12583. _FLASH_CONTROL_IRQ = 31;
  12584. _COMPARATOR_1_IRQ = 32;
  12585. _COMPARATOR_2_IRQ = 33;
  12586. _USB_IRQ = 34;
  12587. _SPI1_ERR_IRQ = 35;
  12588. _SPI1_RX_IRQ = 36;
  12589. _SPI1_TX_IRQ = 37;
  12590. _UART1_ERR_IRQ = 38;
  12591. _UART1_RX_IRQ = 39;
  12592. _UART1_TX_IRQ = 40;
  12593. _I2C1_BUS_IRQ = 41;
  12594. _I2C1_SLAVE_IRQ = 42;
  12595. _I2C1_MASTER_IRQ = 43;
  12596. _CHANGE_NOTICE_A_IRQ = 44;
  12597. _CHANGE_NOTICE_B_IRQ = 45;
  12598. _CHANGE_NOTICE_C_IRQ = 46;
  12599. _CHANGE_NOTICE_D_IRQ = 47;
  12600. _CHANGE_NOTICE_E_IRQ = 48;
  12601. _CHANGE_NOTICE_F_IRQ = 49;
  12602. _CHANGE_NOTICE_G_IRQ = 50;
  12603. _PMP_IRQ = 51;
  12604. _PMP_ERROR_IRQ = 52;
  12605. _SPI2_ERR_IRQ = 53;
  12606. _SPI2_RX_IRQ = 54;
  12607. _SPI2_TX_IRQ = 55;
  12608. _UART2_ERR_IRQ = 56;
  12609. _UART2_RX_IRQ = 57;
  12610. _UART2_TX_IRQ = 58;
  12611. _I2C2_BUS_IRQ = 59;
  12612. _I2C2_SLAVE_IRQ = 60;
  12613. _I2C2_MASTER_IRQ = 61;
  12614. _UART3_ERR_IRQ = 62;
  12615. _UART3_RX_IRQ = 63;
  12616. _UART3_TX_IRQ = 64;
  12617. _UART4_ERR_IRQ = 65;
  12618. _UART4_RX_IRQ = 66;
  12619. _UART4_TX_IRQ = 67;
  12620. _CTMU_IRQ = 71;
  12621. _DMA0_IRQ = 72;
  12622. _DMA1_IRQ = 73;
  12623. _DMA2_IRQ = 74;
  12624. _DMA3_IRQ = 75;
  12625. const
  12626. ADC10_BASE_ADDRESS = $BF809000;
  12627. var
  12628. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  12629. const
  12630. BMX_BASE_ADDRESS = $BF882000;
  12631. var
  12632. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  12633. const
  12634. CFG_BASE_ADDRESS = $BF80F200;
  12635. var
  12636. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  12637. const
  12638. CMP_BASE_ADDRESS = $BF80A000;
  12639. var
  12640. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  12641. const
  12642. CVR_BASE_ADDRESS = $BF809800;
  12643. var
  12644. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  12645. const
  12646. DMAC_BASE_ADDRESS = $BF883000;
  12647. var
  12648. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  12649. const
  12650. DMAC0_BASE_ADDRESS = $BF883060;
  12651. var
  12652. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  12653. const
  12654. DMAC1_BASE_ADDRESS = $BF883120;
  12655. var
  12656. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  12657. const
  12658. DMAC2_BASE_ADDRESS = $BF8831E0;
  12659. var
  12660. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  12661. const
  12662. DMAC3_BASE_ADDRESS = $BF8832A0;
  12663. var
  12664. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  12665. const
  12666. I2C1_BASE_ADDRESS = $BF805000;
  12667. var
  12668. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  12669. const
  12670. I2C2_BASE_ADDRESS = $BF805100;
  12671. var
  12672. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  12673. const
  12674. ICAP1_BASE_ADDRESS = $BF802000;
  12675. var
  12676. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  12677. const
  12678. ICAP2_BASE_ADDRESS = $BF802200;
  12679. var
  12680. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  12681. const
  12682. ICAP3_BASE_ADDRESS = $BF802400;
  12683. var
  12684. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  12685. const
  12686. ICAP4_BASE_ADDRESS = $BF802600;
  12687. var
  12688. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  12689. const
  12690. ICAP5_BASE_ADDRESS = $BF802800;
  12691. var
  12692. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  12693. const
  12694. INT_BASE_ADDRESS = $BF881000;
  12695. var
  12696. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  12697. const
  12698. NVM_BASE_ADDRESS = $BF80F400;
  12699. var
  12700. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  12701. const
  12702. OCMP1_BASE_ADDRESS = $BF803000;
  12703. var
  12704. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  12705. const
  12706. OCMP2_BASE_ADDRESS = $BF803200;
  12707. var
  12708. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  12709. const
  12710. OCMP3_BASE_ADDRESS = $BF803400;
  12711. var
  12712. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  12713. const
  12714. OCMP4_BASE_ADDRESS = $BF803600;
  12715. var
  12716. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  12717. const
  12718. OCMP5_BASE_ADDRESS = $BF803800;
  12719. var
  12720. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  12721. const
  12722. OSC_BASE_ADDRESS = $BF80F000;
  12723. var
  12724. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  12725. const
  12726. PCACHE_BASE_ADDRESS = $BF884000;
  12727. var
  12728. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  12729. const
  12730. PMP_BASE_ADDRESS = $BF807000;
  12731. var
  12732. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  12733. const
  12734. PORTB_BASE_ADDRESS = $BF886120;
  12735. var
  12736. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  12737. const
  12738. PORTC_BASE_ADDRESS = $BF886220;
  12739. var
  12740. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  12741. const
  12742. PORTD_BASE_ADDRESS = $BF886320;
  12743. var
  12744. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  12745. const
  12746. PORTE_BASE_ADDRESS = $BF886420;
  12747. var
  12748. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  12749. const
  12750. PORTF_BASE_ADDRESS = $BF886520;
  12751. var
  12752. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  12753. const
  12754. PORTG_BASE_ADDRESS = $BF886620;
  12755. var
  12756. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  12757. const
  12758. RCON_BASE_ADDRESS = $BF80F600;
  12759. var
  12760. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  12761. const
  12762. RTCC_BASE_ADDRESS = $BF800200;
  12763. var
  12764. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  12765. const
  12766. SPI1_BASE_ADDRESS = $BF805800;
  12767. var
  12768. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  12769. const
  12770. SPI2_BASE_ADDRESS = $BF805A00;
  12771. var
  12772. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  12773. const
  12774. TMR1_BASE_ADDRESS = $BF800600;
  12775. var
  12776. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  12777. const
  12778. TMR2_BASE_ADDRESS = $BF800800;
  12779. var
  12780. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  12781. const
  12782. TMR3_BASE_ADDRESS = $BF800A00;
  12783. var
  12784. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  12785. const
  12786. TMR4_BASE_ADDRESS = $BF800C00;
  12787. var
  12788. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  12789. const
  12790. TMR5_BASE_ADDRESS = $BF800E00;
  12791. var
  12792. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  12793. const
  12794. UART1_BASE_ADDRESS = $BF806000;
  12795. var
  12796. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  12797. const
  12798. UART2_BASE_ADDRESS = $BF806200;
  12799. var
  12800. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  12801. const
  12802. UART3_BASE_ADDRESS = $BF806400;
  12803. var
  12804. UART3 : TUART3Registers absolute UART3_BASE_ADDRESS;
  12805. const
  12806. UART4_BASE_ADDRESS = $BF806600;
  12807. var
  12808. UART4 : TUART4Registers absolute UART4_BASE_ADDRESS;
  12809. const
  12810. USB_BASE_ADDRESS = $BF885040;
  12811. var
  12812. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  12813. const
  12814. WDT_BASE_ADDRESS = $BF800000;
  12815. var
  12816. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  12817. implementation
  12818. type
  12819. TDefRegMap = record
  12820. val : longWord;
  12821. clr : longWord;
  12822. &set : longWord;
  12823. inv : longWord;
  12824. end;
  12825. pTDefRegMap = ^TDefRegMap;
  12826. procedure TWDT_WDTCON.setWDTCLR; inline;
  12827. begin
  12828. pTDefRegMap(@Self)^.&set := $00000001;
  12829. end;
  12830. procedure TWDT_WDTCON.clearWDTCLR; inline;
  12831. begin
  12832. pTDefRegMap(@Self)^.clr := $00000001;
  12833. end;
  12834. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  12835. begin
  12836. if thebits = 0 then
  12837. pTDefRegMap(@Self)^.clr := $00000001
  12838. else
  12839. pTDefRegMap(@Self)^.&set := $00000001;
  12840. end;
  12841. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  12842. begin
  12843. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12844. end;
  12845. procedure TWDT_WDTCON.setWDTWINEN; inline;
  12846. begin
  12847. pTDefRegMap(@Self)^.&set := $00000002;
  12848. end;
  12849. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  12850. begin
  12851. pTDefRegMap(@Self)^.clr := $00000002;
  12852. end;
  12853. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  12854. begin
  12855. if thebits = 0 then
  12856. pTDefRegMap(@Self)^.clr := $00000002
  12857. else
  12858. pTDefRegMap(@Self)^.&set := $00000002;
  12859. end;
  12860. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  12861. begin
  12862. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12863. end;
  12864. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  12865. begin
  12866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  12867. end;
  12868. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  12869. begin
  12870. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  12871. end;
  12872. procedure TWDT_WDTCON.setON; inline;
  12873. begin
  12874. pTDefRegMap(@Self)^.&set := $00008000;
  12875. end;
  12876. procedure TWDT_WDTCON.clearON; inline;
  12877. begin
  12878. pTDefRegMap(@Self)^.clr := $00008000;
  12879. end;
  12880. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  12881. begin
  12882. if thebits = 0 then
  12883. pTDefRegMap(@Self)^.clr := $00008000
  12884. else
  12885. pTDefRegMap(@Self)^.&set := $00008000;
  12886. end;
  12887. function TWDT_WDTCON.getON : TBits_1; inline;
  12888. begin
  12889. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12890. end;
  12891. procedure TWDT_WDTCON.setSWDTPS0; inline;
  12892. begin
  12893. pTDefRegMap(@Self)^.&set := $00000004;
  12894. end;
  12895. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  12896. begin
  12897. pTDefRegMap(@Self)^.clr := $00000004;
  12898. end;
  12899. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  12900. begin
  12901. if thebits = 0 then
  12902. pTDefRegMap(@Self)^.clr := $00000004
  12903. else
  12904. pTDefRegMap(@Self)^.&set := $00000004;
  12905. end;
  12906. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  12907. begin
  12908. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12909. end;
  12910. procedure TWDT_WDTCON.setSWDTPS1; inline;
  12911. begin
  12912. pTDefRegMap(@Self)^.&set := $00000008;
  12913. end;
  12914. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  12915. begin
  12916. pTDefRegMap(@Self)^.clr := $00000008;
  12917. end;
  12918. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  12919. begin
  12920. if thebits = 0 then
  12921. pTDefRegMap(@Self)^.clr := $00000008
  12922. else
  12923. pTDefRegMap(@Self)^.&set := $00000008;
  12924. end;
  12925. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  12926. begin
  12927. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12928. end;
  12929. procedure TWDT_WDTCON.setSWDTPS2; inline;
  12930. begin
  12931. pTDefRegMap(@Self)^.&set := $00000010;
  12932. end;
  12933. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  12934. begin
  12935. pTDefRegMap(@Self)^.clr := $00000010;
  12936. end;
  12937. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  12938. begin
  12939. if thebits = 0 then
  12940. pTDefRegMap(@Self)^.clr := $00000010
  12941. else
  12942. pTDefRegMap(@Self)^.&set := $00000010;
  12943. end;
  12944. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  12945. begin
  12946. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12947. end;
  12948. procedure TWDT_WDTCON.setSWDTPS3; inline;
  12949. begin
  12950. pTDefRegMap(@Self)^.&set := $00000020;
  12951. end;
  12952. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  12953. begin
  12954. pTDefRegMap(@Self)^.clr := $00000020;
  12955. end;
  12956. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  12957. begin
  12958. if thebits = 0 then
  12959. pTDefRegMap(@Self)^.clr := $00000020
  12960. else
  12961. pTDefRegMap(@Self)^.&set := $00000020;
  12962. end;
  12963. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  12964. begin
  12965. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12966. end;
  12967. procedure TWDT_WDTCON.setSWDTPS4; inline;
  12968. begin
  12969. pTDefRegMap(@Self)^.&set := $00000040;
  12970. end;
  12971. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  12972. begin
  12973. pTDefRegMap(@Self)^.clr := $00000040;
  12974. end;
  12975. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  12976. begin
  12977. if thebits = 0 then
  12978. pTDefRegMap(@Self)^.clr := $00000040
  12979. else
  12980. pTDefRegMap(@Self)^.&set := $00000040;
  12981. end;
  12982. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  12983. begin
  12984. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12985. end;
  12986. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  12987. begin
  12988. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  12989. end;
  12990. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  12991. begin
  12992. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  12993. end;
  12994. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  12995. begin
  12996. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  12997. end;
  12998. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  12999. begin
  13000. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  13001. end;
  13002. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  13003. begin
  13004. pTDefRegMap(@Self)^.val := thebits;
  13005. end;
  13006. function TWDT_WDTCON.getw : TBits_32; inline;
  13007. begin
  13008. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13009. end;
  13010. procedure TRTCC_RTCCON.setRTCOE; inline;
  13011. begin
  13012. pTDefRegMap(@Self)^.&set := $00000001;
  13013. end;
  13014. procedure TRTCC_RTCCON.clearRTCOE; inline;
  13015. begin
  13016. pTDefRegMap(@Self)^.clr := $00000001;
  13017. end;
  13018. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  13019. begin
  13020. if thebits = 0 then
  13021. pTDefRegMap(@Self)^.clr := $00000001
  13022. else
  13023. pTDefRegMap(@Self)^.&set := $00000001;
  13024. end;
  13025. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  13026. begin
  13027. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13028. end;
  13029. procedure TRTCC_RTCCON.setHALFSEC; inline;
  13030. begin
  13031. pTDefRegMap(@Self)^.&set := $00000002;
  13032. end;
  13033. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  13034. begin
  13035. pTDefRegMap(@Self)^.clr := $00000002;
  13036. end;
  13037. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  13038. begin
  13039. if thebits = 0 then
  13040. pTDefRegMap(@Self)^.clr := $00000002
  13041. else
  13042. pTDefRegMap(@Self)^.&set := $00000002;
  13043. end;
  13044. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  13045. begin
  13046. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13047. end;
  13048. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  13049. begin
  13050. pTDefRegMap(@Self)^.&set := $00000004;
  13051. end;
  13052. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  13053. begin
  13054. pTDefRegMap(@Self)^.clr := $00000004;
  13055. end;
  13056. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  13057. begin
  13058. if thebits = 0 then
  13059. pTDefRegMap(@Self)^.clr := $00000004
  13060. else
  13061. pTDefRegMap(@Self)^.&set := $00000004;
  13062. end;
  13063. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  13064. begin
  13065. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13066. end;
  13067. procedure TRTCC_RTCCON.setRTCWREN; inline;
  13068. begin
  13069. pTDefRegMap(@Self)^.&set := $00000008;
  13070. end;
  13071. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  13072. begin
  13073. pTDefRegMap(@Self)^.clr := $00000008;
  13074. end;
  13075. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  13076. begin
  13077. if thebits = 0 then
  13078. pTDefRegMap(@Self)^.clr := $00000008
  13079. else
  13080. pTDefRegMap(@Self)^.&set := $00000008;
  13081. end;
  13082. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  13083. begin
  13084. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13085. end;
  13086. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  13087. begin
  13088. pTDefRegMap(@Self)^.&set := $00000040;
  13089. end;
  13090. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  13091. begin
  13092. pTDefRegMap(@Self)^.clr := $00000040;
  13093. end;
  13094. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  13095. begin
  13096. if thebits = 0 then
  13097. pTDefRegMap(@Self)^.clr := $00000040
  13098. else
  13099. pTDefRegMap(@Self)^.&set := $00000040;
  13100. end;
  13101. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  13102. begin
  13103. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13104. end;
  13105. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  13106. begin
  13107. pTDefRegMap(@Self)^.&set := $00000080;
  13108. end;
  13109. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  13110. begin
  13111. pTDefRegMap(@Self)^.clr := $00000080;
  13112. end;
  13113. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  13114. begin
  13115. if thebits = 0 then
  13116. pTDefRegMap(@Self)^.clr := $00000080
  13117. else
  13118. pTDefRegMap(@Self)^.&set := $00000080;
  13119. end;
  13120. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  13121. begin
  13122. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13123. end;
  13124. procedure TRTCC_RTCCON.setSIDL; inline;
  13125. begin
  13126. pTDefRegMap(@Self)^.&set := $00002000;
  13127. end;
  13128. procedure TRTCC_RTCCON.clearSIDL; inline;
  13129. begin
  13130. pTDefRegMap(@Self)^.clr := $00002000;
  13131. end;
  13132. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  13133. begin
  13134. if thebits = 0 then
  13135. pTDefRegMap(@Self)^.clr := $00002000
  13136. else
  13137. pTDefRegMap(@Self)^.&set := $00002000;
  13138. end;
  13139. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  13140. begin
  13141. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13142. end;
  13143. procedure TRTCC_RTCCON.setON; inline;
  13144. begin
  13145. pTDefRegMap(@Self)^.&set := $00008000;
  13146. end;
  13147. procedure TRTCC_RTCCON.clearON; inline;
  13148. begin
  13149. pTDefRegMap(@Self)^.clr := $00008000;
  13150. end;
  13151. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  13152. begin
  13153. if thebits = 0 then
  13154. pTDefRegMap(@Self)^.clr := $00008000
  13155. else
  13156. pTDefRegMap(@Self)^.&set := $00008000;
  13157. end;
  13158. function TRTCC_RTCCON.getON : TBits_1; inline;
  13159. begin
  13160. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13161. end;
  13162. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  13163. begin
  13164. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  13165. end;
  13166. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  13167. begin
  13168. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  13169. end;
  13170. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  13171. begin
  13172. pTDefRegMap(@Self)^.val := thebits;
  13173. end;
  13174. function TRTCC_RTCCON.getw : TBits_32; inline;
  13175. begin
  13176. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13177. end;
  13178. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  13179. begin
  13180. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  13181. end;
  13182. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  13183. begin
  13184. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  13185. end;
  13186. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  13187. begin
  13188. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  13189. end;
  13190. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  13191. begin
  13192. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  13193. end;
  13194. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  13195. begin
  13196. pTDefRegMap(@Self)^.&set := $00001000;
  13197. end;
  13198. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  13199. begin
  13200. pTDefRegMap(@Self)^.clr := $00001000;
  13201. end;
  13202. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  13203. begin
  13204. if thebits = 0 then
  13205. pTDefRegMap(@Self)^.clr := $00001000
  13206. else
  13207. pTDefRegMap(@Self)^.&set := $00001000;
  13208. end;
  13209. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  13210. begin
  13211. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13212. end;
  13213. procedure TRTCC_RTCALRM.setPIV; inline;
  13214. begin
  13215. pTDefRegMap(@Self)^.&set := $00002000;
  13216. end;
  13217. procedure TRTCC_RTCALRM.clearPIV; inline;
  13218. begin
  13219. pTDefRegMap(@Self)^.clr := $00002000;
  13220. end;
  13221. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  13222. begin
  13223. if thebits = 0 then
  13224. pTDefRegMap(@Self)^.clr := $00002000
  13225. else
  13226. pTDefRegMap(@Self)^.&set := $00002000;
  13227. end;
  13228. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  13229. begin
  13230. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13231. end;
  13232. procedure TRTCC_RTCALRM.setCHIME; inline;
  13233. begin
  13234. pTDefRegMap(@Self)^.&set := $00004000;
  13235. end;
  13236. procedure TRTCC_RTCALRM.clearCHIME; inline;
  13237. begin
  13238. pTDefRegMap(@Self)^.clr := $00004000;
  13239. end;
  13240. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  13241. begin
  13242. if thebits = 0 then
  13243. pTDefRegMap(@Self)^.clr := $00004000
  13244. else
  13245. pTDefRegMap(@Self)^.&set := $00004000;
  13246. end;
  13247. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  13248. begin
  13249. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  13250. end;
  13251. procedure TRTCC_RTCALRM.setALRMEN; inline;
  13252. begin
  13253. pTDefRegMap(@Self)^.&set := $00008000;
  13254. end;
  13255. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  13256. begin
  13257. pTDefRegMap(@Self)^.clr := $00008000;
  13258. end;
  13259. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  13260. begin
  13261. if thebits = 0 then
  13262. pTDefRegMap(@Self)^.clr := $00008000
  13263. else
  13264. pTDefRegMap(@Self)^.&set := $00008000;
  13265. end;
  13266. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  13267. begin
  13268. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13269. end;
  13270. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  13271. begin
  13272. pTDefRegMap(@Self)^.val := thebits;
  13273. end;
  13274. function TRTCC_RTCALRM.getw : TBits_32; inline;
  13275. begin
  13276. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13277. end;
  13278. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  13279. begin
  13280. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  13281. end;
  13282. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  13283. begin
  13284. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  13285. end;
  13286. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  13287. begin
  13288. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  13289. end;
  13290. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  13291. begin
  13292. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  13293. end;
  13294. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  13295. begin
  13296. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  13297. end;
  13298. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  13299. begin
  13300. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  13301. end;
  13302. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  13303. begin
  13304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  13305. end;
  13306. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  13307. begin
  13308. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  13309. end;
  13310. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  13311. begin
  13312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  13313. end;
  13314. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  13315. begin
  13316. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  13317. end;
  13318. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  13319. begin
  13320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  13321. end;
  13322. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  13323. begin
  13324. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  13325. end;
  13326. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  13327. begin
  13328. pTDefRegMap(@Self)^.val := thebits;
  13329. end;
  13330. function TRTCC_RTCTIME.getw : TBits_32; inline;
  13331. begin
  13332. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13333. end;
  13334. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  13335. begin
  13336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  13337. end;
  13338. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  13339. begin
  13340. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  13341. end;
  13342. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  13343. begin
  13344. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  13345. end;
  13346. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  13347. begin
  13348. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  13349. end;
  13350. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  13351. begin
  13352. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  13353. end;
  13354. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  13355. begin
  13356. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  13357. end;
  13358. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  13359. begin
  13360. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  13361. end;
  13362. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  13363. begin
  13364. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  13365. end;
  13366. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  13367. begin
  13368. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  13369. end;
  13370. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  13371. begin
  13372. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  13373. end;
  13374. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  13375. begin
  13376. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  13377. end;
  13378. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  13379. begin
  13380. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  13381. end;
  13382. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  13383. begin
  13384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  13385. end;
  13386. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  13387. begin
  13388. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  13389. end;
  13390. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  13391. begin
  13392. pTDefRegMap(@Self)^.val := thebits;
  13393. end;
  13394. function TRTCC_RTCDATE.getw : TBits_32; inline;
  13395. begin
  13396. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13397. end;
  13398. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  13399. begin
  13400. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  13401. end;
  13402. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  13403. begin
  13404. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  13405. end;
  13406. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  13407. begin
  13408. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  13409. end;
  13410. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  13411. begin
  13412. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  13413. end;
  13414. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  13415. begin
  13416. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  13417. end;
  13418. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  13419. begin
  13420. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  13421. end;
  13422. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  13423. begin
  13424. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  13425. end;
  13426. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  13427. begin
  13428. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  13429. end;
  13430. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  13431. begin
  13432. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  13433. end;
  13434. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  13435. begin
  13436. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  13437. end;
  13438. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  13439. begin
  13440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  13441. end;
  13442. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  13443. begin
  13444. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  13445. end;
  13446. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  13447. begin
  13448. pTDefRegMap(@Self)^.val := thebits;
  13449. end;
  13450. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  13451. begin
  13452. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13453. end;
  13454. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  13455. begin
  13456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  13457. end;
  13458. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  13459. begin
  13460. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  13461. end;
  13462. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  13463. begin
  13464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  13465. end;
  13466. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  13467. begin
  13468. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  13469. end;
  13470. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  13471. begin
  13472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  13473. end;
  13474. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  13475. begin
  13476. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  13477. end;
  13478. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  13479. begin
  13480. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  13481. end;
  13482. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  13483. begin
  13484. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  13485. end;
  13486. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  13487. begin
  13488. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  13489. end;
  13490. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  13491. begin
  13492. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  13493. end;
  13494. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  13495. begin
  13496. pTDefRegMap(@Self)^.val := thebits;
  13497. end;
  13498. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  13499. begin
  13500. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13501. end;
  13502. procedure TTMR1_T1CON.setTCS; inline;
  13503. begin
  13504. pTDefRegMap(@Self)^.&set := $00000002;
  13505. end;
  13506. procedure TTMR1_T1CON.clearTCS; inline;
  13507. begin
  13508. pTDefRegMap(@Self)^.clr := $00000002;
  13509. end;
  13510. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  13511. begin
  13512. if thebits = 0 then
  13513. pTDefRegMap(@Self)^.clr := $00000002
  13514. else
  13515. pTDefRegMap(@Self)^.&set := $00000002;
  13516. end;
  13517. function TTMR1_T1CON.getTCS : TBits_1; inline;
  13518. begin
  13519. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13520. end;
  13521. procedure TTMR1_T1CON.setTSYNC; inline;
  13522. begin
  13523. pTDefRegMap(@Self)^.&set := $00000004;
  13524. end;
  13525. procedure TTMR1_T1CON.clearTSYNC; inline;
  13526. begin
  13527. pTDefRegMap(@Self)^.clr := $00000004;
  13528. end;
  13529. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  13530. begin
  13531. if thebits = 0 then
  13532. pTDefRegMap(@Self)^.clr := $00000004
  13533. else
  13534. pTDefRegMap(@Self)^.&set := $00000004;
  13535. end;
  13536. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  13537. begin
  13538. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13539. end;
  13540. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  13541. begin
  13542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  13543. end;
  13544. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  13545. begin
  13546. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  13547. end;
  13548. procedure TTMR1_T1CON.setTGATE; inline;
  13549. begin
  13550. pTDefRegMap(@Self)^.&set := $00000080;
  13551. end;
  13552. procedure TTMR1_T1CON.clearTGATE; inline;
  13553. begin
  13554. pTDefRegMap(@Self)^.clr := $00000080;
  13555. end;
  13556. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  13557. begin
  13558. if thebits = 0 then
  13559. pTDefRegMap(@Self)^.clr := $00000080
  13560. else
  13561. pTDefRegMap(@Self)^.&set := $00000080;
  13562. end;
  13563. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  13564. begin
  13565. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13566. end;
  13567. procedure TTMR1_T1CON.setTWIP; inline;
  13568. begin
  13569. pTDefRegMap(@Self)^.&set := $00000800;
  13570. end;
  13571. procedure TTMR1_T1CON.clearTWIP; inline;
  13572. begin
  13573. pTDefRegMap(@Self)^.clr := $00000800;
  13574. end;
  13575. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  13576. begin
  13577. if thebits = 0 then
  13578. pTDefRegMap(@Self)^.clr := $00000800
  13579. else
  13580. pTDefRegMap(@Self)^.&set := $00000800;
  13581. end;
  13582. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  13583. begin
  13584. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13585. end;
  13586. procedure TTMR1_T1CON.setTWDIS; inline;
  13587. begin
  13588. pTDefRegMap(@Self)^.&set := $00001000;
  13589. end;
  13590. procedure TTMR1_T1CON.clearTWDIS; inline;
  13591. begin
  13592. pTDefRegMap(@Self)^.clr := $00001000;
  13593. end;
  13594. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  13595. begin
  13596. if thebits = 0 then
  13597. pTDefRegMap(@Self)^.clr := $00001000
  13598. else
  13599. pTDefRegMap(@Self)^.&set := $00001000;
  13600. end;
  13601. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  13602. begin
  13603. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13604. end;
  13605. procedure TTMR1_T1CON.setSIDL; inline;
  13606. begin
  13607. pTDefRegMap(@Self)^.&set := $00002000;
  13608. end;
  13609. procedure TTMR1_T1CON.clearSIDL; inline;
  13610. begin
  13611. pTDefRegMap(@Self)^.clr := $00002000;
  13612. end;
  13613. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  13614. begin
  13615. if thebits = 0 then
  13616. pTDefRegMap(@Self)^.clr := $00002000
  13617. else
  13618. pTDefRegMap(@Self)^.&set := $00002000;
  13619. end;
  13620. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  13621. begin
  13622. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13623. end;
  13624. procedure TTMR1_T1CON.setON; inline;
  13625. begin
  13626. pTDefRegMap(@Self)^.&set := $00008000;
  13627. end;
  13628. procedure TTMR1_T1CON.clearON; inline;
  13629. begin
  13630. pTDefRegMap(@Self)^.clr := $00008000;
  13631. end;
  13632. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  13633. begin
  13634. if thebits = 0 then
  13635. pTDefRegMap(@Self)^.clr := $00008000
  13636. else
  13637. pTDefRegMap(@Self)^.&set := $00008000;
  13638. end;
  13639. function TTMR1_T1CON.getON : TBits_1; inline;
  13640. begin
  13641. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13642. end;
  13643. procedure TTMR1_T1CON.setTCKPS0; inline;
  13644. begin
  13645. pTDefRegMap(@Self)^.&set := $00000010;
  13646. end;
  13647. procedure TTMR1_T1CON.clearTCKPS0; inline;
  13648. begin
  13649. pTDefRegMap(@Self)^.clr := $00000010;
  13650. end;
  13651. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  13652. begin
  13653. if thebits = 0 then
  13654. pTDefRegMap(@Self)^.clr := $00000010
  13655. else
  13656. pTDefRegMap(@Self)^.&set := $00000010;
  13657. end;
  13658. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  13659. begin
  13660. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13661. end;
  13662. procedure TTMR1_T1CON.setTCKPS1; inline;
  13663. begin
  13664. pTDefRegMap(@Self)^.&set := $00000020;
  13665. end;
  13666. procedure TTMR1_T1CON.clearTCKPS1; inline;
  13667. begin
  13668. pTDefRegMap(@Self)^.clr := $00000020;
  13669. end;
  13670. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  13671. begin
  13672. if thebits = 0 then
  13673. pTDefRegMap(@Self)^.clr := $00000020
  13674. else
  13675. pTDefRegMap(@Self)^.&set := $00000020;
  13676. end;
  13677. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  13678. begin
  13679. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13680. end;
  13681. procedure TTMR1_T1CON.setTSIDL; inline;
  13682. begin
  13683. pTDefRegMap(@Self)^.&set := $00002000;
  13684. end;
  13685. procedure TTMR1_T1CON.clearTSIDL; inline;
  13686. begin
  13687. pTDefRegMap(@Self)^.clr := $00002000;
  13688. end;
  13689. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  13690. begin
  13691. if thebits = 0 then
  13692. pTDefRegMap(@Self)^.clr := $00002000
  13693. else
  13694. pTDefRegMap(@Self)^.&set := $00002000;
  13695. end;
  13696. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  13697. begin
  13698. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13699. end;
  13700. procedure TTMR1_T1CON.setTON; inline;
  13701. begin
  13702. pTDefRegMap(@Self)^.&set := $00008000;
  13703. end;
  13704. procedure TTMR1_T1CON.clearTON; inline;
  13705. begin
  13706. pTDefRegMap(@Self)^.clr := $00008000;
  13707. end;
  13708. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  13709. begin
  13710. if thebits = 0 then
  13711. pTDefRegMap(@Self)^.clr := $00008000
  13712. else
  13713. pTDefRegMap(@Self)^.&set := $00008000;
  13714. end;
  13715. function TTMR1_T1CON.getTON : TBits_1; inline;
  13716. begin
  13717. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13718. end;
  13719. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  13720. begin
  13721. pTDefRegMap(@Self)^.val := thebits;
  13722. end;
  13723. function TTMR1_T1CON.getw : TBits_32; inline;
  13724. begin
  13725. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13726. end;
  13727. procedure TTMR2_T2CON.setTCS; inline;
  13728. begin
  13729. pTDefRegMap(@Self)^.&set := $00000002;
  13730. end;
  13731. procedure TTMR2_T2CON.clearTCS; inline;
  13732. begin
  13733. pTDefRegMap(@Self)^.clr := $00000002;
  13734. end;
  13735. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  13736. begin
  13737. if thebits = 0 then
  13738. pTDefRegMap(@Self)^.clr := $00000002
  13739. else
  13740. pTDefRegMap(@Self)^.&set := $00000002;
  13741. end;
  13742. function TTMR2_T2CON.getTCS : TBits_1; inline;
  13743. begin
  13744. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13745. end;
  13746. procedure TTMR2_T2CON.setT32; inline;
  13747. begin
  13748. pTDefRegMap(@Self)^.&set := $00000008;
  13749. end;
  13750. procedure TTMR2_T2CON.clearT32; inline;
  13751. begin
  13752. pTDefRegMap(@Self)^.clr := $00000008;
  13753. end;
  13754. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  13755. begin
  13756. if thebits = 0 then
  13757. pTDefRegMap(@Self)^.clr := $00000008
  13758. else
  13759. pTDefRegMap(@Self)^.&set := $00000008;
  13760. end;
  13761. function TTMR2_T2CON.getT32 : TBits_1; inline;
  13762. begin
  13763. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13764. end;
  13765. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  13766. begin
  13767. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  13768. end;
  13769. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  13770. begin
  13771. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  13772. end;
  13773. procedure TTMR2_T2CON.setTGATE; inline;
  13774. begin
  13775. pTDefRegMap(@Self)^.&set := $00000080;
  13776. end;
  13777. procedure TTMR2_T2CON.clearTGATE; inline;
  13778. begin
  13779. pTDefRegMap(@Self)^.clr := $00000080;
  13780. end;
  13781. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  13782. begin
  13783. if thebits = 0 then
  13784. pTDefRegMap(@Self)^.clr := $00000080
  13785. else
  13786. pTDefRegMap(@Self)^.&set := $00000080;
  13787. end;
  13788. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  13789. begin
  13790. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13791. end;
  13792. procedure TTMR2_T2CON.setSIDL; inline;
  13793. begin
  13794. pTDefRegMap(@Self)^.&set := $00002000;
  13795. end;
  13796. procedure TTMR2_T2CON.clearSIDL; inline;
  13797. begin
  13798. pTDefRegMap(@Self)^.clr := $00002000;
  13799. end;
  13800. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  13801. begin
  13802. if thebits = 0 then
  13803. pTDefRegMap(@Self)^.clr := $00002000
  13804. else
  13805. pTDefRegMap(@Self)^.&set := $00002000;
  13806. end;
  13807. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  13808. begin
  13809. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13810. end;
  13811. procedure TTMR2_T2CON.setON; inline;
  13812. begin
  13813. pTDefRegMap(@Self)^.&set := $00008000;
  13814. end;
  13815. procedure TTMR2_T2CON.clearON; inline;
  13816. begin
  13817. pTDefRegMap(@Self)^.clr := $00008000;
  13818. end;
  13819. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  13820. begin
  13821. if thebits = 0 then
  13822. pTDefRegMap(@Self)^.clr := $00008000
  13823. else
  13824. pTDefRegMap(@Self)^.&set := $00008000;
  13825. end;
  13826. function TTMR2_T2CON.getON : TBits_1; inline;
  13827. begin
  13828. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13829. end;
  13830. procedure TTMR2_T2CON.setTCKPS0; inline;
  13831. begin
  13832. pTDefRegMap(@Self)^.&set := $00000010;
  13833. end;
  13834. procedure TTMR2_T2CON.clearTCKPS0; inline;
  13835. begin
  13836. pTDefRegMap(@Self)^.clr := $00000010;
  13837. end;
  13838. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  13839. begin
  13840. if thebits = 0 then
  13841. pTDefRegMap(@Self)^.clr := $00000010
  13842. else
  13843. pTDefRegMap(@Self)^.&set := $00000010;
  13844. end;
  13845. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  13846. begin
  13847. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13848. end;
  13849. procedure TTMR2_T2CON.setTCKPS1; inline;
  13850. begin
  13851. pTDefRegMap(@Self)^.&set := $00000020;
  13852. end;
  13853. procedure TTMR2_T2CON.clearTCKPS1; inline;
  13854. begin
  13855. pTDefRegMap(@Self)^.clr := $00000020;
  13856. end;
  13857. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  13858. begin
  13859. if thebits = 0 then
  13860. pTDefRegMap(@Self)^.clr := $00000020
  13861. else
  13862. pTDefRegMap(@Self)^.&set := $00000020;
  13863. end;
  13864. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  13865. begin
  13866. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13867. end;
  13868. procedure TTMR2_T2CON.setTCKPS2; inline;
  13869. begin
  13870. pTDefRegMap(@Self)^.&set := $00000040;
  13871. end;
  13872. procedure TTMR2_T2CON.clearTCKPS2; inline;
  13873. begin
  13874. pTDefRegMap(@Self)^.clr := $00000040;
  13875. end;
  13876. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  13877. begin
  13878. if thebits = 0 then
  13879. pTDefRegMap(@Self)^.clr := $00000040
  13880. else
  13881. pTDefRegMap(@Self)^.&set := $00000040;
  13882. end;
  13883. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  13884. begin
  13885. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13886. end;
  13887. procedure TTMR2_T2CON.setTSIDL; inline;
  13888. begin
  13889. pTDefRegMap(@Self)^.&set := $00002000;
  13890. end;
  13891. procedure TTMR2_T2CON.clearTSIDL; inline;
  13892. begin
  13893. pTDefRegMap(@Self)^.clr := $00002000;
  13894. end;
  13895. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  13896. begin
  13897. if thebits = 0 then
  13898. pTDefRegMap(@Self)^.clr := $00002000
  13899. else
  13900. pTDefRegMap(@Self)^.&set := $00002000;
  13901. end;
  13902. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  13903. begin
  13904. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13905. end;
  13906. procedure TTMR2_T2CON.setTON; inline;
  13907. begin
  13908. pTDefRegMap(@Self)^.&set := $00008000;
  13909. end;
  13910. procedure TTMR2_T2CON.clearTON; inline;
  13911. begin
  13912. pTDefRegMap(@Self)^.clr := $00008000;
  13913. end;
  13914. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  13915. begin
  13916. if thebits = 0 then
  13917. pTDefRegMap(@Self)^.clr := $00008000
  13918. else
  13919. pTDefRegMap(@Self)^.&set := $00008000;
  13920. end;
  13921. function TTMR2_T2CON.getTON : TBits_1; inline;
  13922. begin
  13923. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13924. end;
  13925. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  13926. begin
  13927. pTDefRegMap(@Self)^.val := thebits;
  13928. end;
  13929. function TTMR2_T2CON.getw : TBits_32; inline;
  13930. begin
  13931. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13932. end;
  13933. procedure TTMR3_T3CON.setTCS; inline;
  13934. begin
  13935. pTDefRegMap(@Self)^.&set := $00000002;
  13936. end;
  13937. procedure TTMR3_T3CON.clearTCS; inline;
  13938. begin
  13939. pTDefRegMap(@Self)^.clr := $00000002;
  13940. end;
  13941. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  13942. begin
  13943. if thebits = 0 then
  13944. pTDefRegMap(@Self)^.clr := $00000002
  13945. else
  13946. pTDefRegMap(@Self)^.&set := $00000002;
  13947. end;
  13948. function TTMR3_T3CON.getTCS : TBits_1; inline;
  13949. begin
  13950. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13951. end;
  13952. procedure TTMR3_T3CON.setT32; inline;
  13953. begin
  13954. pTDefRegMap(@Self)^.&set := $00000008;
  13955. end;
  13956. procedure TTMR3_T3CON.clearT32; inline;
  13957. begin
  13958. pTDefRegMap(@Self)^.clr := $00000008;
  13959. end;
  13960. procedure TTMR3_T3CON.setT32(thebits : TBits_1); inline;
  13961. begin
  13962. if thebits = 0 then
  13963. pTDefRegMap(@Self)^.clr := $00000008
  13964. else
  13965. pTDefRegMap(@Self)^.&set := $00000008;
  13966. end;
  13967. function TTMR3_T3CON.getT32 : TBits_1; inline;
  13968. begin
  13969. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13970. end;
  13971. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  13972. begin
  13973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  13974. end;
  13975. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  13976. begin
  13977. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  13978. end;
  13979. procedure TTMR3_T3CON.setTGATE; inline;
  13980. begin
  13981. pTDefRegMap(@Self)^.&set := $00000080;
  13982. end;
  13983. procedure TTMR3_T3CON.clearTGATE; inline;
  13984. begin
  13985. pTDefRegMap(@Self)^.clr := $00000080;
  13986. end;
  13987. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  13988. begin
  13989. if thebits = 0 then
  13990. pTDefRegMap(@Self)^.clr := $00000080
  13991. else
  13992. pTDefRegMap(@Self)^.&set := $00000080;
  13993. end;
  13994. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  13995. begin
  13996. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13997. end;
  13998. procedure TTMR3_T3CON.setSIDL; inline;
  13999. begin
  14000. pTDefRegMap(@Self)^.&set := $00002000;
  14001. end;
  14002. procedure TTMR3_T3CON.clearSIDL; inline;
  14003. begin
  14004. pTDefRegMap(@Self)^.clr := $00002000;
  14005. end;
  14006. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  14007. begin
  14008. if thebits = 0 then
  14009. pTDefRegMap(@Self)^.clr := $00002000
  14010. else
  14011. pTDefRegMap(@Self)^.&set := $00002000;
  14012. end;
  14013. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  14014. begin
  14015. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14016. end;
  14017. procedure TTMR3_T3CON.setON; inline;
  14018. begin
  14019. pTDefRegMap(@Self)^.&set := $00008000;
  14020. end;
  14021. procedure TTMR3_T3CON.clearON; inline;
  14022. begin
  14023. pTDefRegMap(@Self)^.clr := $00008000;
  14024. end;
  14025. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  14026. begin
  14027. if thebits = 0 then
  14028. pTDefRegMap(@Self)^.clr := $00008000
  14029. else
  14030. pTDefRegMap(@Self)^.&set := $00008000;
  14031. end;
  14032. function TTMR3_T3CON.getON : TBits_1; inline;
  14033. begin
  14034. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14035. end;
  14036. procedure TTMR3_T3CON.setTCKPS0; inline;
  14037. begin
  14038. pTDefRegMap(@Self)^.&set := $00000010;
  14039. end;
  14040. procedure TTMR3_T3CON.clearTCKPS0; inline;
  14041. begin
  14042. pTDefRegMap(@Self)^.clr := $00000010;
  14043. end;
  14044. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  14045. begin
  14046. if thebits = 0 then
  14047. pTDefRegMap(@Self)^.clr := $00000010
  14048. else
  14049. pTDefRegMap(@Self)^.&set := $00000010;
  14050. end;
  14051. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  14052. begin
  14053. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14054. end;
  14055. procedure TTMR3_T3CON.setTCKPS1; inline;
  14056. begin
  14057. pTDefRegMap(@Self)^.&set := $00000020;
  14058. end;
  14059. procedure TTMR3_T3CON.clearTCKPS1; inline;
  14060. begin
  14061. pTDefRegMap(@Self)^.clr := $00000020;
  14062. end;
  14063. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  14064. begin
  14065. if thebits = 0 then
  14066. pTDefRegMap(@Self)^.clr := $00000020
  14067. else
  14068. pTDefRegMap(@Self)^.&set := $00000020;
  14069. end;
  14070. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  14071. begin
  14072. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14073. end;
  14074. procedure TTMR3_T3CON.setTCKPS2; inline;
  14075. begin
  14076. pTDefRegMap(@Self)^.&set := $00000040;
  14077. end;
  14078. procedure TTMR3_T3CON.clearTCKPS2; inline;
  14079. begin
  14080. pTDefRegMap(@Self)^.clr := $00000040;
  14081. end;
  14082. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  14083. begin
  14084. if thebits = 0 then
  14085. pTDefRegMap(@Self)^.clr := $00000040
  14086. else
  14087. pTDefRegMap(@Self)^.&set := $00000040;
  14088. end;
  14089. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  14090. begin
  14091. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14092. end;
  14093. procedure TTMR3_T3CON.setTSIDL; inline;
  14094. begin
  14095. pTDefRegMap(@Self)^.&set := $00002000;
  14096. end;
  14097. procedure TTMR3_T3CON.clearTSIDL; inline;
  14098. begin
  14099. pTDefRegMap(@Self)^.clr := $00002000;
  14100. end;
  14101. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  14102. begin
  14103. if thebits = 0 then
  14104. pTDefRegMap(@Self)^.clr := $00002000
  14105. else
  14106. pTDefRegMap(@Self)^.&set := $00002000;
  14107. end;
  14108. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  14109. begin
  14110. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14111. end;
  14112. procedure TTMR3_T3CON.setTON; inline;
  14113. begin
  14114. pTDefRegMap(@Self)^.&set := $00008000;
  14115. end;
  14116. procedure TTMR3_T3CON.clearTON; inline;
  14117. begin
  14118. pTDefRegMap(@Self)^.clr := $00008000;
  14119. end;
  14120. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  14121. begin
  14122. if thebits = 0 then
  14123. pTDefRegMap(@Self)^.clr := $00008000
  14124. else
  14125. pTDefRegMap(@Self)^.&set := $00008000;
  14126. end;
  14127. function TTMR3_T3CON.getTON : TBits_1; inline;
  14128. begin
  14129. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14130. end;
  14131. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  14132. begin
  14133. pTDefRegMap(@Self)^.val := thebits;
  14134. end;
  14135. function TTMR3_T3CON.getw : TBits_32; inline;
  14136. begin
  14137. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14138. end;
  14139. procedure TTMR4_T4CON.setTCS; inline;
  14140. begin
  14141. pTDefRegMap(@Self)^.&set := $00000002;
  14142. end;
  14143. procedure TTMR4_T4CON.clearTCS; inline;
  14144. begin
  14145. pTDefRegMap(@Self)^.clr := $00000002;
  14146. end;
  14147. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  14148. begin
  14149. if thebits = 0 then
  14150. pTDefRegMap(@Self)^.clr := $00000002
  14151. else
  14152. pTDefRegMap(@Self)^.&set := $00000002;
  14153. end;
  14154. function TTMR4_T4CON.getTCS : TBits_1; inline;
  14155. begin
  14156. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14157. end;
  14158. procedure TTMR4_T4CON.setT32; inline;
  14159. begin
  14160. pTDefRegMap(@Self)^.&set := $00000008;
  14161. end;
  14162. procedure TTMR4_T4CON.clearT32; inline;
  14163. begin
  14164. pTDefRegMap(@Self)^.clr := $00000008;
  14165. end;
  14166. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  14167. begin
  14168. if thebits = 0 then
  14169. pTDefRegMap(@Self)^.clr := $00000008
  14170. else
  14171. pTDefRegMap(@Self)^.&set := $00000008;
  14172. end;
  14173. function TTMR4_T4CON.getT32 : TBits_1; inline;
  14174. begin
  14175. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14176. end;
  14177. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  14178. begin
  14179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  14180. end;
  14181. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  14182. begin
  14183. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  14184. end;
  14185. procedure TTMR4_T4CON.setTGATE; inline;
  14186. begin
  14187. pTDefRegMap(@Self)^.&set := $00000080;
  14188. end;
  14189. procedure TTMR4_T4CON.clearTGATE; inline;
  14190. begin
  14191. pTDefRegMap(@Self)^.clr := $00000080;
  14192. end;
  14193. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  14194. begin
  14195. if thebits = 0 then
  14196. pTDefRegMap(@Self)^.clr := $00000080
  14197. else
  14198. pTDefRegMap(@Self)^.&set := $00000080;
  14199. end;
  14200. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  14201. begin
  14202. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14203. end;
  14204. procedure TTMR4_T4CON.setSIDL; inline;
  14205. begin
  14206. pTDefRegMap(@Self)^.&set := $00002000;
  14207. end;
  14208. procedure TTMR4_T4CON.clearSIDL; inline;
  14209. begin
  14210. pTDefRegMap(@Self)^.clr := $00002000;
  14211. end;
  14212. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  14213. begin
  14214. if thebits = 0 then
  14215. pTDefRegMap(@Self)^.clr := $00002000
  14216. else
  14217. pTDefRegMap(@Self)^.&set := $00002000;
  14218. end;
  14219. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  14220. begin
  14221. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14222. end;
  14223. procedure TTMR4_T4CON.setON; inline;
  14224. begin
  14225. pTDefRegMap(@Self)^.&set := $00008000;
  14226. end;
  14227. procedure TTMR4_T4CON.clearON; inline;
  14228. begin
  14229. pTDefRegMap(@Self)^.clr := $00008000;
  14230. end;
  14231. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  14232. begin
  14233. if thebits = 0 then
  14234. pTDefRegMap(@Self)^.clr := $00008000
  14235. else
  14236. pTDefRegMap(@Self)^.&set := $00008000;
  14237. end;
  14238. function TTMR4_T4CON.getON : TBits_1; inline;
  14239. begin
  14240. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14241. end;
  14242. procedure TTMR4_T4CON.setTCKPS0; inline;
  14243. begin
  14244. pTDefRegMap(@Self)^.&set := $00000010;
  14245. end;
  14246. procedure TTMR4_T4CON.clearTCKPS0; inline;
  14247. begin
  14248. pTDefRegMap(@Self)^.clr := $00000010;
  14249. end;
  14250. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  14251. begin
  14252. if thebits = 0 then
  14253. pTDefRegMap(@Self)^.clr := $00000010
  14254. else
  14255. pTDefRegMap(@Self)^.&set := $00000010;
  14256. end;
  14257. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  14258. begin
  14259. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14260. end;
  14261. procedure TTMR4_T4CON.setTCKPS1; inline;
  14262. begin
  14263. pTDefRegMap(@Self)^.&set := $00000020;
  14264. end;
  14265. procedure TTMR4_T4CON.clearTCKPS1; inline;
  14266. begin
  14267. pTDefRegMap(@Self)^.clr := $00000020;
  14268. end;
  14269. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  14270. begin
  14271. if thebits = 0 then
  14272. pTDefRegMap(@Self)^.clr := $00000020
  14273. else
  14274. pTDefRegMap(@Self)^.&set := $00000020;
  14275. end;
  14276. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  14277. begin
  14278. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14279. end;
  14280. procedure TTMR4_T4CON.setTCKPS2; inline;
  14281. begin
  14282. pTDefRegMap(@Self)^.&set := $00000040;
  14283. end;
  14284. procedure TTMR4_T4CON.clearTCKPS2; inline;
  14285. begin
  14286. pTDefRegMap(@Self)^.clr := $00000040;
  14287. end;
  14288. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  14289. begin
  14290. if thebits = 0 then
  14291. pTDefRegMap(@Self)^.clr := $00000040
  14292. else
  14293. pTDefRegMap(@Self)^.&set := $00000040;
  14294. end;
  14295. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  14296. begin
  14297. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14298. end;
  14299. procedure TTMR4_T4CON.setTSIDL; inline;
  14300. begin
  14301. pTDefRegMap(@Self)^.&set := $00002000;
  14302. end;
  14303. procedure TTMR4_T4CON.clearTSIDL; inline;
  14304. begin
  14305. pTDefRegMap(@Self)^.clr := $00002000;
  14306. end;
  14307. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  14308. begin
  14309. if thebits = 0 then
  14310. pTDefRegMap(@Self)^.clr := $00002000
  14311. else
  14312. pTDefRegMap(@Self)^.&set := $00002000;
  14313. end;
  14314. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  14315. begin
  14316. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14317. end;
  14318. procedure TTMR4_T4CON.setTON; inline;
  14319. begin
  14320. pTDefRegMap(@Self)^.&set := $00008000;
  14321. end;
  14322. procedure TTMR4_T4CON.clearTON; inline;
  14323. begin
  14324. pTDefRegMap(@Self)^.clr := $00008000;
  14325. end;
  14326. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  14327. begin
  14328. if thebits = 0 then
  14329. pTDefRegMap(@Self)^.clr := $00008000
  14330. else
  14331. pTDefRegMap(@Self)^.&set := $00008000;
  14332. end;
  14333. function TTMR4_T4CON.getTON : TBits_1; inline;
  14334. begin
  14335. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14336. end;
  14337. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  14338. begin
  14339. pTDefRegMap(@Self)^.val := thebits;
  14340. end;
  14341. function TTMR4_T4CON.getw : TBits_32; inline;
  14342. begin
  14343. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14344. end;
  14345. procedure TTMR5_T5CON.setTCS; inline;
  14346. begin
  14347. pTDefRegMap(@Self)^.&set := $00000002;
  14348. end;
  14349. procedure TTMR5_T5CON.clearTCS; inline;
  14350. begin
  14351. pTDefRegMap(@Self)^.clr := $00000002;
  14352. end;
  14353. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  14354. begin
  14355. if thebits = 0 then
  14356. pTDefRegMap(@Self)^.clr := $00000002
  14357. else
  14358. pTDefRegMap(@Self)^.&set := $00000002;
  14359. end;
  14360. function TTMR5_T5CON.getTCS : TBits_1; inline;
  14361. begin
  14362. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14363. end;
  14364. procedure TTMR5_T5CON.setT32; inline;
  14365. begin
  14366. pTDefRegMap(@Self)^.&set := $00000008;
  14367. end;
  14368. procedure TTMR5_T5CON.clearT32; inline;
  14369. begin
  14370. pTDefRegMap(@Self)^.clr := $00000008;
  14371. end;
  14372. procedure TTMR5_T5CON.setT32(thebits : TBits_1); inline;
  14373. begin
  14374. if thebits = 0 then
  14375. pTDefRegMap(@Self)^.clr := $00000008
  14376. else
  14377. pTDefRegMap(@Self)^.&set := $00000008;
  14378. end;
  14379. function TTMR5_T5CON.getT32 : TBits_1; inline;
  14380. begin
  14381. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14382. end;
  14383. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  14384. begin
  14385. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  14386. end;
  14387. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  14388. begin
  14389. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  14390. end;
  14391. procedure TTMR5_T5CON.setTGATE; inline;
  14392. begin
  14393. pTDefRegMap(@Self)^.&set := $00000080;
  14394. end;
  14395. procedure TTMR5_T5CON.clearTGATE; inline;
  14396. begin
  14397. pTDefRegMap(@Self)^.clr := $00000080;
  14398. end;
  14399. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  14400. begin
  14401. if thebits = 0 then
  14402. pTDefRegMap(@Self)^.clr := $00000080
  14403. else
  14404. pTDefRegMap(@Self)^.&set := $00000080;
  14405. end;
  14406. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  14407. begin
  14408. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14409. end;
  14410. procedure TTMR5_T5CON.setSIDL; inline;
  14411. begin
  14412. pTDefRegMap(@Self)^.&set := $00002000;
  14413. end;
  14414. procedure TTMR5_T5CON.clearSIDL; inline;
  14415. begin
  14416. pTDefRegMap(@Self)^.clr := $00002000;
  14417. end;
  14418. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  14419. begin
  14420. if thebits = 0 then
  14421. pTDefRegMap(@Self)^.clr := $00002000
  14422. else
  14423. pTDefRegMap(@Self)^.&set := $00002000;
  14424. end;
  14425. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  14426. begin
  14427. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14428. end;
  14429. procedure TTMR5_T5CON.setON; inline;
  14430. begin
  14431. pTDefRegMap(@Self)^.&set := $00008000;
  14432. end;
  14433. procedure TTMR5_T5CON.clearON; inline;
  14434. begin
  14435. pTDefRegMap(@Self)^.clr := $00008000;
  14436. end;
  14437. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  14438. begin
  14439. if thebits = 0 then
  14440. pTDefRegMap(@Self)^.clr := $00008000
  14441. else
  14442. pTDefRegMap(@Self)^.&set := $00008000;
  14443. end;
  14444. function TTMR5_T5CON.getON : TBits_1; inline;
  14445. begin
  14446. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14447. end;
  14448. procedure TTMR5_T5CON.setTCKPS0; inline;
  14449. begin
  14450. pTDefRegMap(@Self)^.&set := $00000010;
  14451. end;
  14452. procedure TTMR5_T5CON.clearTCKPS0; inline;
  14453. begin
  14454. pTDefRegMap(@Self)^.clr := $00000010;
  14455. end;
  14456. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  14457. begin
  14458. if thebits = 0 then
  14459. pTDefRegMap(@Self)^.clr := $00000010
  14460. else
  14461. pTDefRegMap(@Self)^.&set := $00000010;
  14462. end;
  14463. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  14464. begin
  14465. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14466. end;
  14467. procedure TTMR5_T5CON.setTCKPS1; inline;
  14468. begin
  14469. pTDefRegMap(@Self)^.&set := $00000020;
  14470. end;
  14471. procedure TTMR5_T5CON.clearTCKPS1; inline;
  14472. begin
  14473. pTDefRegMap(@Self)^.clr := $00000020;
  14474. end;
  14475. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  14476. begin
  14477. if thebits = 0 then
  14478. pTDefRegMap(@Self)^.clr := $00000020
  14479. else
  14480. pTDefRegMap(@Self)^.&set := $00000020;
  14481. end;
  14482. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  14483. begin
  14484. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14485. end;
  14486. procedure TTMR5_T5CON.setTCKPS2; inline;
  14487. begin
  14488. pTDefRegMap(@Self)^.&set := $00000040;
  14489. end;
  14490. procedure TTMR5_T5CON.clearTCKPS2; inline;
  14491. begin
  14492. pTDefRegMap(@Self)^.clr := $00000040;
  14493. end;
  14494. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  14495. begin
  14496. if thebits = 0 then
  14497. pTDefRegMap(@Self)^.clr := $00000040
  14498. else
  14499. pTDefRegMap(@Self)^.&set := $00000040;
  14500. end;
  14501. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  14502. begin
  14503. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14504. end;
  14505. procedure TTMR5_T5CON.setTSIDL; inline;
  14506. begin
  14507. pTDefRegMap(@Self)^.&set := $00002000;
  14508. end;
  14509. procedure TTMR5_T5CON.clearTSIDL; inline;
  14510. begin
  14511. pTDefRegMap(@Self)^.clr := $00002000;
  14512. end;
  14513. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  14514. begin
  14515. if thebits = 0 then
  14516. pTDefRegMap(@Self)^.clr := $00002000
  14517. else
  14518. pTDefRegMap(@Self)^.&set := $00002000;
  14519. end;
  14520. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  14521. begin
  14522. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14523. end;
  14524. procedure TTMR5_T5CON.setTON; inline;
  14525. begin
  14526. pTDefRegMap(@Self)^.&set := $00008000;
  14527. end;
  14528. procedure TTMR5_T5CON.clearTON; inline;
  14529. begin
  14530. pTDefRegMap(@Self)^.clr := $00008000;
  14531. end;
  14532. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  14533. begin
  14534. if thebits = 0 then
  14535. pTDefRegMap(@Self)^.clr := $00008000
  14536. else
  14537. pTDefRegMap(@Self)^.&set := $00008000;
  14538. end;
  14539. function TTMR5_T5CON.getTON : TBits_1; inline;
  14540. begin
  14541. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14542. end;
  14543. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  14544. begin
  14545. pTDefRegMap(@Self)^.val := thebits;
  14546. end;
  14547. function TTMR5_T5CON.getw : TBits_32; inline;
  14548. begin
  14549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14550. end;
  14551. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  14552. begin
  14553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14554. end;
  14555. function TICAP1_IC1CON.getICM : TBits_3; inline;
  14556. begin
  14557. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14558. end;
  14559. procedure TICAP1_IC1CON.setICBNE; inline;
  14560. begin
  14561. pTDefRegMap(@Self)^.&set := $00000008;
  14562. end;
  14563. procedure TICAP1_IC1CON.clearICBNE; inline;
  14564. begin
  14565. pTDefRegMap(@Self)^.clr := $00000008;
  14566. end;
  14567. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  14568. begin
  14569. if thebits = 0 then
  14570. pTDefRegMap(@Self)^.clr := $00000008
  14571. else
  14572. pTDefRegMap(@Self)^.&set := $00000008;
  14573. end;
  14574. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  14575. begin
  14576. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14577. end;
  14578. procedure TICAP1_IC1CON.setICOV; inline;
  14579. begin
  14580. pTDefRegMap(@Self)^.&set := $00000010;
  14581. end;
  14582. procedure TICAP1_IC1CON.clearICOV; inline;
  14583. begin
  14584. pTDefRegMap(@Self)^.clr := $00000010;
  14585. end;
  14586. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  14587. begin
  14588. if thebits = 0 then
  14589. pTDefRegMap(@Self)^.clr := $00000010
  14590. else
  14591. pTDefRegMap(@Self)^.&set := $00000010;
  14592. end;
  14593. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  14594. begin
  14595. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14596. end;
  14597. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  14598. begin
  14599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  14600. end;
  14601. function TICAP1_IC1CON.getICI : TBits_2; inline;
  14602. begin
  14603. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  14604. end;
  14605. procedure TICAP1_IC1CON.setICTMR; inline;
  14606. begin
  14607. pTDefRegMap(@Self)^.&set := $00000080;
  14608. end;
  14609. procedure TICAP1_IC1CON.clearICTMR; inline;
  14610. begin
  14611. pTDefRegMap(@Self)^.clr := $00000080;
  14612. end;
  14613. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  14614. begin
  14615. if thebits = 0 then
  14616. pTDefRegMap(@Self)^.clr := $00000080
  14617. else
  14618. pTDefRegMap(@Self)^.&set := $00000080;
  14619. end;
  14620. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  14621. begin
  14622. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14623. end;
  14624. procedure TICAP1_IC1CON.setC32; inline;
  14625. begin
  14626. pTDefRegMap(@Self)^.&set := $00000100;
  14627. end;
  14628. procedure TICAP1_IC1CON.clearC32; inline;
  14629. begin
  14630. pTDefRegMap(@Self)^.clr := $00000100;
  14631. end;
  14632. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  14633. begin
  14634. if thebits = 0 then
  14635. pTDefRegMap(@Self)^.clr := $00000100
  14636. else
  14637. pTDefRegMap(@Self)^.&set := $00000100;
  14638. end;
  14639. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  14640. begin
  14641. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14642. end;
  14643. procedure TICAP1_IC1CON.setFEDGE; inline;
  14644. begin
  14645. pTDefRegMap(@Self)^.&set := $00000200;
  14646. end;
  14647. procedure TICAP1_IC1CON.clearFEDGE; inline;
  14648. begin
  14649. pTDefRegMap(@Self)^.clr := $00000200;
  14650. end;
  14651. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  14652. begin
  14653. if thebits = 0 then
  14654. pTDefRegMap(@Self)^.clr := $00000200
  14655. else
  14656. pTDefRegMap(@Self)^.&set := $00000200;
  14657. end;
  14658. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  14659. begin
  14660. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14661. end;
  14662. procedure TICAP1_IC1CON.setSIDL; inline;
  14663. begin
  14664. pTDefRegMap(@Self)^.&set := $00002000;
  14665. end;
  14666. procedure TICAP1_IC1CON.clearSIDL; inline;
  14667. begin
  14668. pTDefRegMap(@Self)^.clr := $00002000;
  14669. end;
  14670. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  14671. begin
  14672. if thebits = 0 then
  14673. pTDefRegMap(@Self)^.clr := $00002000
  14674. else
  14675. pTDefRegMap(@Self)^.&set := $00002000;
  14676. end;
  14677. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  14678. begin
  14679. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14680. end;
  14681. procedure TICAP1_IC1CON.setON; inline;
  14682. begin
  14683. pTDefRegMap(@Self)^.&set := $00008000;
  14684. end;
  14685. procedure TICAP1_IC1CON.clearON; inline;
  14686. begin
  14687. pTDefRegMap(@Self)^.clr := $00008000;
  14688. end;
  14689. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  14690. begin
  14691. if thebits = 0 then
  14692. pTDefRegMap(@Self)^.clr := $00008000
  14693. else
  14694. pTDefRegMap(@Self)^.&set := $00008000;
  14695. end;
  14696. function TICAP1_IC1CON.getON : TBits_1; inline;
  14697. begin
  14698. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14699. end;
  14700. procedure TICAP1_IC1CON.setICM0; inline;
  14701. begin
  14702. pTDefRegMap(@Self)^.&set := $00000001;
  14703. end;
  14704. procedure TICAP1_IC1CON.clearICM0; inline;
  14705. begin
  14706. pTDefRegMap(@Self)^.clr := $00000001;
  14707. end;
  14708. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  14709. begin
  14710. if thebits = 0 then
  14711. pTDefRegMap(@Self)^.clr := $00000001
  14712. else
  14713. pTDefRegMap(@Self)^.&set := $00000001;
  14714. end;
  14715. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  14716. begin
  14717. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14718. end;
  14719. procedure TICAP1_IC1CON.setICM1; inline;
  14720. begin
  14721. pTDefRegMap(@Self)^.&set := $00000002;
  14722. end;
  14723. procedure TICAP1_IC1CON.clearICM1; inline;
  14724. begin
  14725. pTDefRegMap(@Self)^.clr := $00000002;
  14726. end;
  14727. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  14728. begin
  14729. if thebits = 0 then
  14730. pTDefRegMap(@Self)^.clr := $00000002
  14731. else
  14732. pTDefRegMap(@Self)^.&set := $00000002;
  14733. end;
  14734. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  14735. begin
  14736. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14737. end;
  14738. procedure TICAP1_IC1CON.setICM2; inline;
  14739. begin
  14740. pTDefRegMap(@Self)^.&set := $00000004;
  14741. end;
  14742. procedure TICAP1_IC1CON.clearICM2; inline;
  14743. begin
  14744. pTDefRegMap(@Self)^.clr := $00000004;
  14745. end;
  14746. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  14747. begin
  14748. if thebits = 0 then
  14749. pTDefRegMap(@Self)^.clr := $00000004
  14750. else
  14751. pTDefRegMap(@Self)^.&set := $00000004;
  14752. end;
  14753. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  14754. begin
  14755. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14756. end;
  14757. procedure TICAP1_IC1CON.setICI0; inline;
  14758. begin
  14759. pTDefRegMap(@Self)^.&set := $00000020;
  14760. end;
  14761. procedure TICAP1_IC1CON.clearICI0; inline;
  14762. begin
  14763. pTDefRegMap(@Self)^.clr := $00000020;
  14764. end;
  14765. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  14766. begin
  14767. if thebits = 0 then
  14768. pTDefRegMap(@Self)^.clr := $00000020
  14769. else
  14770. pTDefRegMap(@Self)^.&set := $00000020;
  14771. end;
  14772. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  14773. begin
  14774. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14775. end;
  14776. procedure TICAP1_IC1CON.setICI1; inline;
  14777. begin
  14778. pTDefRegMap(@Self)^.&set := $00000040;
  14779. end;
  14780. procedure TICAP1_IC1CON.clearICI1; inline;
  14781. begin
  14782. pTDefRegMap(@Self)^.clr := $00000040;
  14783. end;
  14784. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  14785. begin
  14786. if thebits = 0 then
  14787. pTDefRegMap(@Self)^.clr := $00000040
  14788. else
  14789. pTDefRegMap(@Self)^.&set := $00000040;
  14790. end;
  14791. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  14792. begin
  14793. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14794. end;
  14795. procedure TICAP1_IC1CON.setICSIDL; inline;
  14796. begin
  14797. pTDefRegMap(@Self)^.&set := $00002000;
  14798. end;
  14799. procedure TICAP1_IC1CON.clearICSIDL; inline;
  14800. begin
  14801. pTDefRegMap(@Self)^.clr := $00002000;
  14802. end;
  14803. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  14804. begin
  14805. if thebits = 0 then
  14806. pTDefRegMap(@Self)^.clr := $00002000
  14807. else
  14808. pTDefRegMap(@Self)^.&set := $00002000;
  14809. end;
  14810. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  14811. begin
  14812. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14813. end;
  14814. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  14815. begin
  14816. pTDefRegMap(@Self)^.val := thebits;
  14817. end;
  14818. function TICAP1_IC1CON.getw : TBits_32; inline;
  14819. begin
  14820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14821. end;
  14822. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  14823. begin
  14824. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14825. end;
  14826. function TICAP2_IC2CON.getICM : TBits_3; inline;
  14827. begin
  14828. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14829. end;
  14830. procedure TICAP2_IC2CON.setICBNE; inline;
  14831. begin
  14832. pTDefRegMap(@Self)^.&set := $00000008;
  14833. end;
  14834. procedure TICAP2_IC2CON.clearICBNE; inline;
  14835. begin
  14836. pTDefRegMap(@Self)^.clr := $00000008;
  14837. end;
  14838. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  14839. begin
  14840. if thebits = 0 then
  14841. pTDefRegMap(@Self)^.clr := $00000008
  14842. else
  14843. pTDefRegMap(@Self)^.&set := $00000008;
  14844. end;
  14845. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  14846. begin
  14847. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14848. end;
  14849. procedure TICAP2_IC2CON.setICOV; inline;
  14850. begin
  14851. pTDefRegMap(@Self)^.&set := $00000010;
  14852. end;
  14853. procedure TICAP2_IC2CON.clearICOV; inline;
  14854. begin
  14855. pTDefRegMap(@Self)^.clr := $00000010;
  14856. end;
  14857. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  14858. begin
  14859. if thebits = 0 then
  14860. pTDefRegMap(@Self)^.clr := $00000010
  14861. else
  14862. pTDefRegMap(@Self)^.&set := $00000010;
  14863. end;
  14864. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  14865. begin
  14866. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14867. end;
  14868. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  14869. begin
  14870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  14871. end;
  14872. function TICAP2_IC2CON.getICI : TBits_2; inline;
  14873. begin
  14874. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  14875. end;
  14876. procedure TICAP2_IC2CON.setICTMR; inline;
  14877. begin
  14878. pTDefRegMap(@Self)^.&set := $00000080;
  14879. end;
  14880. procedure TICAP2_IC2CON.clearICTMR; inline;
  14881. begin
  14882. pTDefRegMap(@Self)^.clr := $00000080;
  14883. end;
  14884. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  14885. begin
  14886. if thebits = 0 then
  14887. pTDefRegMap(@Self)^.clr := $00000080
  14888. else
  14889. pTDefRegMap(@Self)^.&set := $00000080;
  14890. end;
  14891. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  14892. begin
  14893. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14894. end;
  14895. procedure TICAP2_IC2CON.setC32; inline;
  14896. begin
  14897. pTDefRegMap(@Self)^.&set := $00000100;
  14898. end;
  14899. procedure TICAP2_IC2CON.clearC32; inline;
  14900. begin
  14901. pTDefRegMap(@Self)^.clr := $00000100;
  14902. end;
  14903. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  14904. begin
  14905. if thebits = 0 then
  14906. pTDefRegMap(@Self)^.clr := $00000100
  14907. else
  14908. pTDefRegMap(@Self)^.&set := $00000100;
  14909. end;
  14910. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  14911. begin
  14912. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14913. end;
  14914. procedure TICAP2_IC2CON.setFEDGE; inline;
  14915. begin
  14916. pTDefRegMap(@Self)^.&set := $00000200;
  14917. end;
  14918. procedure TICAP2_IC2CON.clearFEDGE; inline;
  14919. begin
  14920. pTDefRegMap(@Self)^.clr := $00000200;
  14921. end;
  14922. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  14923. begin
  14924. if thebits = 0 then
  14925. pTDefRegMap(@Self)^.clr := $00000200
  14926. else
  14927. pTDefRegMap(@Self)^.&set := $00000200;
  14928. end;
  14929. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  14930. begin
  14931. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14932. end;
  14933. procedure TICAP2_IC2CON.setSIDL; inline;
  14934. begin
  14935. pTDefRegMap(@Self)^.&set := $00002000;
  14936. end;
  14937. procedure TICAP2_IC2CON.clearSIDL; inline;
  14938. begin
  14939. pTDefRegMap(@Self)^.clr := $00002000;
  14940. end;
  14941. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  14942. begin
  14943. if thebits = 0 then
  14944. pTDefRegMap(@Self)^.clr := $00002000
  14945. else
  14946. pTDefRegMap(@Self)^.&set := $00002000;
  14947. end;
  14948. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  14949. begin
  14950. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14951. end;
  14952. procedure TICAP2_IC2CON.setON; inline;
  14953. begin
  14954. pTDefRegMap(@Self)^.&set := $00008000;
  14955. end;
  14956. procedure TICAP2_IC2CON.clearON; inline;
  14957. begin
  14958. pTDefRegMap(@Self)^.clr := $00008000;
  14959. end;
  14960. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  14961. begin
  14962. if thebits = 0 then
  14963. pTDefRegMap(@Self)^.clr := $00008000
  14964. else
  14965. pTDefRegMap(@Self)^.&set := $00008000;
  14966. end;
  14967. function TICAP2_IC2CON.getON : TBits_1; inline;
  14968. begin
  14969. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14970. end;
  14971. procedure TICAP2_IC2CON.setICM0; inline;
  14972. begin
  14973. pTDefRegMap(@Self)^.&set := $00000001;
  14974. end;
  14975. procedure TICAP2_IC2CON.clearICM0; inline;
  14976. begin
  14977. pTDefRegMap(@Self)^.clr := $00000001;
  14978. end;
  14979. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  14980. begin
  14981. if thebits = 0 then
  14982. pTDefRegMap(@Self)^.clr := $00000001
  14983. else
  14984. pTDefRegMap(@Self)^.&set := $00000001;
  14985. end;
  14986. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  14987. begin
  14988. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14989. end;
  14990. procedure TICAP2_IC2CON.setICM1; inline;
  14991. begin
  14992. pTDefRegMap(@Self)^.&set := $00000002;
  14993. end;
  14994. procedure TICAP2_IC2CON.clearICM1; inline;
  14995. begin
  14996. pTDefRegMap(@Self)^.clr := $00000002;
  14997. end;
  14998. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  14999. begin
  15000. if thebits = 0 then
  15001. pTDefRegMap(@Self)^.clr := $00000002
  15002. else
  15003. pTDefRegMap(@Self)^.&set := $00000002;
  15004. end;
  15005. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  15006. begin
  15007. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15008. end;
  15009. procedure TICAP2_IC2CON.setICM2; inline;
  15010. begin
  15011. pTDefRegMap(@Self)^.&set := $00000004;
  15012. end;
  15013. procedure TICAP2_IC2CON.clearICM2; inline;
  15014. begin
  15015. pTDefRegMap(@Self)^.clr := $00000004;
  15016. end;
  15017. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  15018. begin
  15019. if thebits = 0 then
  15020. pTDefRegMap(@Self)^.clr := $00000004
  15021. else
  15022. pTDefRegMap(@Self)^.&set := $00000004;
  15023. end;
  15024. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  15025. begin
  15026. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15027. end;
  15028. procedure TICAP2_IC2CON.setICI0; inline;
  15029. begin
  15030. pTDefRegMap(@Self)^.&set := $00000020;
  15031. end;
  15032. procedure TICAP2_IC2CON.clearICI0; inline;
  15033. begin
  15034. pTDefRegMap(@Self)^.clr := $00000020;
  15035. end;
  15036. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  15037. begin
  15038. if thebits = 0 then
  15039. pTDefRegMap(@Self)^.clr := $00000020
  15040. else
  15041. pTDefRegMap(@Self)^.&set := $00000020;
  15042. end;
  15043. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  15044. begin
  15045. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15046. end;
  15047. procedure TICAP2_IC2CON.setICI1; inline;
  15048. begin
  15049. pTDefRegMap(@Self)^.&set := $00000040;
  15050. end;
  15051. procedure TICAP2_IC2CON.clearICI1; inline;
  15052. begin
  15053. pTDefRegMap(@Self)^.clr := $00000040;
  15054. end;
  15055. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  15056. begin
  15057. if thebits = 0 then
  15058. pTDefRegMap(@Self)^.clr := $00000040
  15059. else
  15060. pTDefRegMap(@Self)^.&set := $00000040;
  15061. end;
  15062. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  15063. begin
  15064. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15065. end;
  15066. procedure TICAP2_IC2CON.setICSIDL; inline;
  15067. begin
  15068. pTDefRegMap(@Self)^.&set := $00002000;
  15069. end;
  15070. procedure TICAP2_IC2CON.clearICSIDL; inline;
  15071. begin
  15072. pTDefRegMap(@Self)^.clr := $00002000;
  15073. end;
  15074. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  15075. begin
  15076. if thebits = 0 then
  15077. pTDefRegMap(@Self)^.clr := $00002000
  15078. else
  15079. pTDefRegMap(@Self)^.&set := $00002000;
  15080. end;
  15081. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  15082. begin
  15083. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15084. end;
  15085. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  15086. begin
  15087. pTDefRegMap(@Self)^.val := thebits;
  15088. end;
  15089. function TICAP2_IC2CON.getw : TBits_32; inline;
  15090. begin
  15091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15092. end;
  15093. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  15094. begin
  15095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15096. end;
  15097. function TICAP3_IC3CON.getICM : TBits_3; inline;
  15098. begin
  15099. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15100. end;
  15101. procedure TICAP3_IC3CON.setICBNE; inline;
  15102. begin
  15103. pTDefRegMap(@Self)^.&set := $00000008;
  15104. end;
  15105. procedure TICAP3_IC3CON.clearICBNE; inline;
  15106. begin
  15107. pTDefRegMap(@Self)^.clr := $00000008;
  15108. end;
  15109. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  15110. begin
  15111. if thebits = 0 then
  15112. pTDefRegMap(@Self)^.clr := $00000008
  15113. else
  15114. pTDefRegMap(@Self)^.&set := $00000008;
  15115. end;
  15116. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  15117. begin
  15118. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15119. end;
  15120. procedure TICAP3_IC3CON.setICOV; inline;
  15121. begin
  15122. pTDefRegMap(@Self)^.&set := $00000010;
  15123. end;
  15124. procedure TICAP3_IC3CON.clearICOV; inline;
  15125. begin
  15126. pTDefRegMap(@Self)^.clr := $00000010;
  15127. end;
  15128. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  15129. begin
  15130. if thebits = 0 then
  15131. pTDefRegMap(@Self)^.clr := $00000010
  15132. else
  15133. pTDefRegMap(@Self)^.&set := $00000010;
  15134. end;
  15135. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  15136. begin
  15137. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15138. end;
  15139. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  15140. begin
  15141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  15142. end;
  15143. function TICAP3_IC3CON.getICI : TBits_2; inline;
  15144. begin
  15145. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  15146. end;
  15147. procedure TICAP3_IC3CON.setICTMR; inline;
  15148. begin
  15149. pTDefRegMap(@Self)^.&set := $00000080;
  15150. end;
  15151. procedure TICAP3_IC3CON.clearICTMR; inline;
  15152. begin
  15153. pTDefRegMap(@Self)^.clr := $00000080;
  15154. end;
  15155. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  15156. begin
  15157. if thebits = 0 then
  15158. pTDefRegMap(@Self)^.clr := $00000080
  15159. else
  15160. pTDefRegMap(@Self)^.&set := $00000080;
  15161. end;
  15162. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  15163. begin
  15164. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15165. end;
  15166. procedure TICAP3_IC3CON.setC32; inline;
  15167. begin
  15168. pTDefRegMap(@Self)^.&set := $00000100;
  15169. end;
  15170. procedure TICAP3_IC3CON.clearC32; inline;
  15171. begin
  15172. pTDefRegMap(@Self)^.clr := $00000100;
  15173. end;
  15174. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  15175. begin
  15176. if thebits = 0 then
  15177. pTDefRegMap(@Self)^.clr := $00000100
  15178. else
  15179. pTDefRegMap(@Self)^.&set := $00000100;
  15180. end;
  15181. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  15182. begin
  15183. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15184. end;
  15185. procedure TICAP3_IC3CON.setFEDGE; inline;
  15186. begin
  15187. pTDefRegMap(@Self)^.&set := $00000200;
  15188. end;
  15189. procedure TICAP3_IC3CON.clearFEDGE; inline;
  15190. begin
  15191. pTDefRegMap(@Self)^.clr := $00000200;
  15192. end;
  15193. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  15194. begin
  15195. if thebits = 0 then
  15196. pTDefRegMap(@Self)^.clr := $00000200
  15197. else
  15198. pTDefRegMap(@Self)^.&set := $00000200;
  15199. end;
  15200. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  15201. begin
  15202. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15203. end;
  15204. procedure TICAP3_IC3CON.setSIDL; inline;
  15205. begin
  15206. pTDefRegMap(@Self)^.&set := $00002000;
  15207. end;
  15208. procedure TICAP3_IC3CON.clearSIDL; inline;
  15209. begin
  15210. pTDefRegMap(@Self)^.clr := $00002000;
  15211. end;
  15212. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  15213. begin
  15214. if thebits = 0 then
  15215. pTDefRegMap(@Self)^.clr := $00002000
  15216. else
  15217. pTDefRegMap(@Self)^.&set := $00002000;
  15218. end;
  15219. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  15220. begin
  15221. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15222. end;
  15223. procedure TICAP3_IC3CON.setON; inline;
  15224. begin
  15225. pTDefRegMap(@Self)^.&set := $00008000;
  15226. end;
  15227. procedure TICAP3_IC3CON.clearON; inline;
  15228. begin
  15229. pTDefRegMap(@Self)^.clr := $00008000;
  15230. end;
  15231. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  15232. begin
  15233. if thebits = 0 then
  15234. pTDefRegMap(@Self)^.clr := $00008000
  15235. else
  15236. pTDefRegMap(@Self)^.&set := $00008000;
  15237. end;
  15238. function TICAP3_IC3CON.getON : TBits_1; inline;
  15239. begin
  15240. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15241. end;
  15242. procedure TICAP3_IC3CON.setICM0; inline;
  15243. begin
  15244. pTDefRegMap(@Self)^.&set := $00000001;
  15245. end;
  15246. procedure TICAP3_IC3CON.clearICM0; inline;
  15247. begin
  15248. pTDefRegMap(@Self)^.clr := $00000001;
  15249. end;
  15250. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  15251. begin
  15252. if thebits = 0 then
  15253. pTDefRegMap(@Self)^.clr := $00000001
  15254. else
  15255. pTDefRegMap(@Self)^.&set := $00000001;
  15256. end;
  15257. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  15258. begin
  15259. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15260. end;
  15261. procedure TICAP3_IC3CON.setICM1; inline;
  15262. begin
  15263. pTDefRegMap(@Self)^.&set := $00000002;
  15264. end;
  15265. procedure TICAP3_IC3CON.clearICM1; inline;
  15266. begin
  15267. pTDefRegMap(@Self)^.clr := $00000002;
  15268. end;
  15269. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  15270. begin
  15271. if thebits = 0 then
  15272. pTDefRegMap(@Self)^.clr := $00000002
  15273. else
  15274. pTDefRegMap(@Self)^.&set := $00000002;
  15275. end;
  15276. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  15277. begin
  15278. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15279. end;
  15280. procedure TICAP3_IC3CON.setICM2; inline;
  15281. begin
  15282. pTDefRegMap(@Self)^.&set := $00000004;
  15283. end;
  15284. procedure TICAP3_IC3CON.clearICM2; inline;
  15285. begin
  15286. pTDefRegMap(@Self)^.clr := $00000004;
  15287. end;
  15288. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  15289. begin
  15290. if thebits = 0 then
  15291. pTDefRegMap(@Self)^.clr := $00000004
  15292. else
  15293. pTDefRegMap(@Self)^.&set := $00000004;
  15294. end;
  15295. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  15296. begin
  15297. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15298. end;
  15299. procedure TICAP3_IC3CON.setICI0; inline;
  15300. begin
  15301. pTDefRegMap(@Self)^.&set := $00000020;
  15302. end;
  15303. procedure TICAP3_IC3CON.clearICI0; inline;
  15304. begin
  15305. pTDefRegMap(@Self)^.clr := $00000020;
  15306. end;
  15307. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  15308. begin
  15309. if thebits = 0 then
  15310. pTDefRegMap(@Self)^.clr := $00000020
  15311. else
  15312. pTDefRegMap(@Self)^.&set := $00000020;
  15313. end;
  15314. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  15315. begin
  15316. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15317. end;
  15318. procedure TICAP3_IC3CON.setICI1; inline;
  15319. begin
  15320. pTDefRegMap(@Self)^.&set := $00000040;
  15321. end;
  15322. procedure TICAP3_IC3CON.clearICI1; inline;
  15323. begin
  15324. pTDefRegMap(@Self)^.clr := $00000040;
  15325. end;
  15326. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  15327. begin
  15328. if thebits = 0 then
  15329. pTDefRegMap(@Self)^.clr := $00000040
  15330. else
  15331. pTDefRegMap(@Self)^.&set := $00000040;
  15332. end;
  15333. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  15334. begin
  15335. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15336. end;
  15337. procedure TICAP3_IC3CON.setICSIDL; inline;
  15338. begin
  15339. pTDefRegMap(@Self)^.&set := $00002000;
  15340. end;
  15341. procedure TICAP3_IC3CON.clearICSIDL; inline;
  15342. begin
  15343. pTDefRegMap(@Self)^.clr := $00002000;
  15344. end;
  15345. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  15346. begin
  15347. if thebits = 0 then
  15348. pTDefRegMap(@Self)^.clr := $00002000
  15349. else
  15350. pTDefRegMap(@Self)^.&set := $00002000;
  15351. end;
  15352. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  15353. begin
  15354. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15355. end;
  15356. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  15357. begin
  15358. pTDefRegMap(@Self)^.val := thebits;
  15359. end;
  15360. function TICAP3_IC3CON.getw : TBits_32; inline;
  15361. begin
  15362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15363. end;
  15364. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  15365. begin
  15366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15367. end;
  15368. function TICAP4_IC4CON.getICM : TBits_3; inline;
  15369. begin
  15370. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15371. end;
  15372. procedure TICAP4_IC4CON.setICBNE; inline;
  15373. begin
  15374. pTDefRegMap(@Self)^.&set := $00000008;
  15375. end;
  15376. procedure TICAP4_IC4CON.clearICBNE; inline;
  15377. begin
  15378. pTDefRegMap(@Self)^.clr := $00000008;
  15379. end;
  15380. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  15381. begin
  15382. if thebits = 0 then
  15383. pTDefRegMap(@Self)^.clr := $00000008
  15384. else
  15385. pTDefRegMap(@Self)^.&set := $00000008;
  15386. end;
  15387. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  15388. begin
  15389. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15390. end;
  15391. procedure TICAP4_IC4CON.setICOV; inline;
  15392. begin
  15393. pTDefRegMap(@Self)^.&set := $00000010;
  15394. end;
  15395. procedure TICAP4_IC4CON.clearICOV; inline;
  15396. begin
  15397. pTDefRegMap(@Self)^.clr := $00000010;
  15398. end;
  15399. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  15400. begin
  15401. if thebits = 0 then
  15402. pTDefRegMap(@Self)^.clr := $00000010
  15403. else
  15404. pTDefRegMap(@Self)^.&set := $00000010;
  15405. end;
  15406. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  15407. begin
  15408. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15409. end;
  15410. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  15411. begin
  15412. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  15413. end;
  15414. function TICAP4_IC4CON.getICI : TBits_2; inline;
  15415. begin
  15416. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  15417. end;
  15418. procedure TICAP4_IC4CON.setICTMR; inline;
  15419. begin
  15420. pTDefRegMap(@Self)^.&set := $00000080;
  15421. end;
  15422. procedure TICAP4_IC4CON.clearICTMR; inline;
  15423. begin
  15424. pTDefRegMap(@Self)^.clr := $00000080;
  15425. end;
  15426. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  15427. begin
  15428. if thebits = 0 then
  15429. pTDefRegMap(@Self)^.clr := $00000080
  15430. else
  15431. pTDefRegMap(@Self)^.&set := $00000080;
  15432. end;
  15433. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  15434. begin
  15435. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15436. end;
  15437. procedure TICAP4_IC4CON.setC32; inline;
  15438. begin
  15439. pTDefRegMap(@Self)^.&set := $00000100;
  15440. end;
  15441. procedure TICAP4_IC4CON.clearC32; inline;
  15442. begin
  15443. pTDefRegMap(@Self)^.clr := $00000100;
  15444. end;
  15445. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  15446. begin
  15447. if thebits = 0 then
  15448. pTDefRegMap(@Self)^.clr := $00000100
  15449. else
  15450. pTDefRegMap(@Self)^.&set := $00000100;
  15451. end;
  15452. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  15453. begin
  15454. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15455. end;
  15456. procedure TICAP4_IC4CON.setFEDGE; inline;
  15457. begin
  15458. pTDefRegMap(@Self)^.&set := $00000200;
  15459. end;
  15460. procedure TICAP4_IC4CON.clearFEDGE; inline;
  15461. begin
  15462. pTDefRegMap(@Self)^.clr := $00000200;
  15463. end;
  15464. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  15465. begin
  15466. if thebits = 0 then
  15467. pTDefRegMap(@Self)^.clr := $00000200
  15468. else
  15469. pTDefRegMap(@Self)^.&set := $00000200;
  15470. end;
  15471. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  15472. begin
  15473. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15474. end;
  15475. procedure TICAP4_IC4CON.setSIDL; inline;
  15476. begin
  15477. pTDefRegMap(@Self)^.&set := $00002000;
  15478. end;
  15479. procedure TICAP4_IC4CON.clearSIDL; inline;
  15480. begin
  15481. pTDefRegMap(@Self)^.clr := $00002000;
  15482. end;
  15483. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  15484. begin
  15485. if thebits = 0 then
  15486. pTDefRegMap(@Self)^.clr := $00002000
  15487. else
  15488. pTDefRegMap(@Self)^.&set := $00002000;
  15489. end;
  15490. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  15491. begin
  15492. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15493. end;
  15494. procedure TICAP4_IC4CON.setON; inline;
  15495. begin
  15496. pTDefRegMap(@Self)^.&set := $00008000;
  15497. end;
  15498. procedure TICAP4_IC4CON.clearON; inline;
  15499. begin
  15500. pTDefRegMap(@Self)^.clr := $00008000;
  15501. end;
  15502. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  15503. begin
  15504. if thebits = 0 then
  15505. pTDefRegMap(@Self)^.clr := $00008000
  15506. else
  15507. pTDefRegMap(@Self)^.&set := $00008000;
  15508. end;
  15509. function TICAP4_IC4CON.getON : TBits_1; inline;
  15510. begin
  15511. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15512. end;
  15513. procedure TICAP4_IC4CON.setICM0; inline;
  15514. begin
  15515. pTDefRegMap(@Self)^.&set := $00000001;
  15516. end;
  15517. procedure TICAP4_IC4CON.clearICM0; inline;
  15518. begin
  15519. pTDefRegMap(@Self)^.clr := $00000001;
  15520. end;
  15521. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  15522. begin
  15523. if thebits = 0 then
  15524. pTDefRegMap(@Self)^.clr := $00000001
  15525. else
  15526. pTDefRegMap(@Self)^.&set := $00000001;
  15527. end;
  15528. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  15529. begin
  15530. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15531. end;
  15532. procedure TICAP4_IC4CON.setICM1; inline;
  15533. begin
  15534. pTDefRegMap(@Self)^.&set := $00000002;
  15535. end;
  15536. procedure TICAP4_IC4CON.clearICM1; inline;
  15537. begin
  15538. pTDefRegMap(@Self)^.clr := $00000002;
  15539. end;
  15540. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  15541. begin
  15542. if thebits = 0 then
  15543. pTDefRegMap(@Self)^.clr := $00000002
  15544. else
  15545. pTDefRegMap(@Self)^.&set := $00000002;
  15546. end;
  15547. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  15548. begin
  15549. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15550. end;
  15551. procedure TICAP4_IC4CON.setICM2; inline;
  15552. begin
  15553. pTDefRegMap(@Self)^.&set := $00000004;
  15554. end;
  15555. procedure TICAP4_IC4CON.clearICM2; inline;
  15556. begin
  15557. pTDefRegMap(@Self)^.clr := $00000004;
  15558. end;
  15559. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  15560. begin
  15561. if thebits = 0 then
  15562. pTDefRegMap(@Self)^.clr := $00000004
  15563. else
  15564. pTDefRegMap(@Self)^.&set := $00000004;
  15565. end;
  15566. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  15567. begin
  15568. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15569. end;
  15570. procedure TICAP4_IC4CON.setICI0; inline;
  15571. begin
  15572. pTDefRegMap(@Self)^.&set := $00000020;
  15573. end;
  15574. procedure TICAP4_IC4CON.clearICI0; inline;
  15575. begin
  15576. pTDefRegMap(@Self)^.clr := $00000020;
  15577. end;
  15578. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  15579. begin
  15580. if thebits = 0 then
  15581. pTDefRegMap(@Self)^.clr := $00000020
  15582. else
  15583. pTDefRegMap(@Self)^.&set := $00000020;
  15584. end;
  15585. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  15586. begin
  15587. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15588. end;
  15589. procedure TICAP4_IC4CON.setICI1; inline;
  15590. begin
  15591. pTDefRegMap(@Self)^.&set := $00000040;
  15592. end;
  15593. procedure TICAP4_IC4CON.clearICI1; inline;
  15594. begin
  15595. pTDefRegMap(@Self)^.clr := $00000040;
  15596. end;
  15597. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  15598. begin
  15599. if thebits = 0 then
  15600. pTDefRegMap(@Self)^.clr := $00000040
  15601. else
  15602. pTDefRegMap(@Self)^.&set := $00000040;
  15603. end;
  15604. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  15605. begin
  15606. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15607. end;
  15608. procedure TICAP4_IC4CON.setICSIDL; inline;
  15609. begin
  15610. pTDefRegMap(@Self)^.&set := $00002000;
  15611. end;
  15612. procedure TICAP4_IC4CON.clearICSIDL; inline;
  15613. begin
  15614. pTDefRegMap(@Self)^.clr := $00002000;
  15615. end;
  15616. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  15617. begin
  15618. if thebits = 0 then
  15619. pTDefRegMap(@Self)^.clr := $00002000
  15620. else
  15621. pTDefRegMap(@Self)^.&set := $00002000;
  15622. end;
  15623. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  15624. begin
  15625. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15626. end;
  15627. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  15628. begin
  15629. pTDefRegMap(@Self)^.val := thebits;
  15630. end;
  15631. function TICAP4_IC4CON.getw : TBits_32; inline;
  15632. begin
  15633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15634. end;
  15635. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  15636. begin
  15637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15638. end;
  15639. function TICAP5_IC5CON.getICM : TBits_3; inline;
  15640. begin
  15641. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15642. end;
  15643. procedure TICAP5_IC5CON.setICBNE; inline;
  15644. begin
  15645. pTDefRegMap(@Self)^.&set := $00000008;
  15646. end;
  15647. procedure TICAP5_IC5CON.clearICBNE; inline;
  15648. begin
  15649. pTDefRegMap(@Self)^.clr := $00000008;
  15650. end;
  15651. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  15652. begin
  15653. if thebits = 0 then
  15654. pTDefRegMap(@Self)^.clr := $00000008
  15655. else
  15656. pTDefRegMap(@Self)^.&set := $00000008;
  15657. end;
  15658. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  15659. begin
  15660. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15661. end;
  15662. procedure TICAP5_IC5CON.setICOV; inline;
  15663. begin
  15664. pTDefRegMap(@Self)^.&set := $00000010;
  15665. end;
  15666. procedure TICAP5_IC5CON.clearICOV; inline;
  15667. begin
  15668. pTDefRegMap(@Self)^.clr := $00000010;
  15669. end;
  15670. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  15671. begin
  15672. if thebits = 0 then
  15673. pTDefRegMap(@Self)^.clr := $00000010
  15674. else
  15675. pTDefRegMap(@Self)^.&set := $00000010;
  15676. end;
  15677. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  15678. begin
  15679. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15680. end;
  15681. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  15682. begin
  15683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  15684. end;
  15685. function TICAP5_IC5CON.getICI : TBits_2; inline;
  15686. begin
  15687. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  15688. end;
  15689. procedure TICAP5_IC5CON.setICTMR; inline;
  15690. begin
  15691. pTDefRegMap(@Self)^.&set := $00000080;
  15692. end;
  15693. procedure TICAP5_IC5CON.clearICTMR; inline;
  15694. begin
  15695. pTDefRegMap(@Self)^.clr := $00000080;
  15696. end;
  15697. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  15698. begin
  15699. if thebits = 0 then
  15700. pTDefRegMap(@Self)^.clr := $00000080
  15701. else
  15702. pTDefRegMap(@Self)^.&set := $00000080;
  15703. end;
  15704. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  15705. begin
  15706. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15707. end;
  15708. procedure TICAP5_IC5CON.setC32; inline;
  15709. begin
  15710. pTDefRegMap(@Self)^.&set := $00000100;
  15711. end;
  15712. procedure TICAP5_IC5CON.clearC32; inline;
  15713. begin
  15714. pTDefRegMap(@Self)^.clr := $00000100;
  15715. end;
  15716. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  15717. begin
  15718. if thebits = 0 then
  15719. pTDefRegMap(@Self)^.clr := $00000100
  15720. else
  15721. pTDefRegMap(@Self)^.&set := $00000100;
  15722. end;
  15723. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  15724. begin
  15725. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15726. end;
  15727. procedure TICAP5_IC5CON.setFEDGE; inline;
  15728. begin
  15729. pTDefRegMap(@Self)^.&set := $00000200;
  15730. end;
  15731. procedure TICAP5_IC5CON.clearFEDGE; inline;
  15732. begin
  15733. pTDefRegMap(@Self)^.clr := $00000200;
  15734. end;
  15735. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  15736. begin
  15737. if thebits = 0 then
  15738. pTDefRegMap(@Self)^.clr := $00000200
  15739. else
  15740. pTDefRegMap(@Self)^.&set := $00000200;
  15741. end;
  15742. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  15743. begin
  15744. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15745. end;
  15746. procedure TICAP5_IC5CON.setSIDL; inline;
  15747. begin
  15748. pTDefRegMap(@Self)^.&set := $00002000;
  15749. end;
  15750. procedure TICAP5_IC5CON.clearSIDL; inline;
  15751. begin
  15752. pTDefRegMap(@Self)^.clr := $00002000;
  15753. end;
  15754. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  15755. begin
  15756. if thebits = 0 then
  15757. pTDefRegMap(@Self)^.clr := $00002000
  15758. else
  15759. pTDefRegMap(@Self)^.&set := $00002000;
  15760. end;
  15761. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  15762. begin
  15763. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15764. end;
  15765. procedure TICAP5_IC5CON.setON; inline;
  15766. begin
  15767. pTDefRegMap(@Self)^.&set := $00008000;
  15768. end;
  15769. procedure TICAP5_IC5CON.clearON; inline;
  15770. begin
  15771. pTDefRegMap(@Self)^.clr := $00008000;
  15772. end;
  15773. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  15774. begin
  15775. if thebits = 0 then
  15776. pTDefRegMap(@Self)^.clr := $00008000
  15777. else
  15778. pTDefRegMap(@Self)^.&set := $00008000;
  15779. end;
  15780. function TICAP5_IC5CON.getON : TBits_1; inline;
  15781. begin
  15782. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15783. end;
  15784. procedure TICAP5_IC5CON.setICM0; inline;
  15785. begin
  15786. pTDefRegMap(@Self)^.&set := $00000001;
  15787. end;
  15788. procedure TICAP5_IC5CON.clearICM0; inline;
  15789. begin
  15790. pTDefRegMap(@Self)^.clr := $00000001;
  15791. end;
  15792. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  15793. begin
  15794. if thebits = 0 then
  15795. pTDefRegMap(@Self)^.clr := $00000001
  15796. else
  15797. pTDefRegMap(@Self)^.&set := $00000001;
  15798. end;
  15799. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  15800. begin
  15801. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15802. end;
  15803. procedure TICAP5_IC5CON.setICM1; inline;
  15804. begin
  15805. pTDefRegMap(@Self)^.&set := $00000002;
  15806. end;
  15807. procedure TICAP5_IC5CON.clearICM1; inline;
  15808. begin
  15809. pTDefRegMap(@Self)^.clr := $00000002;
  15810. end;
  15811. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  15812. begin
  15813. if thebits = 0 then
  15814. pTDefRegMap(@Self)^.clr := $00000002
  15815. else
  15816. pTDefRegMap(@Self)^.&set := $00000002;
  15817. end;
  15818. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  15819. begin
  15820. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15821. end;
  15822. procedure TICAP5_IC5CON.setICM2; inline;
  15823. begin
  15824. pTDefRegMap(@Self)^.&set := $00000004;
  15825. end;
  15826. procedure TICAP5_IC5CON.clearICM2; inline;
  15827. begin
  15828. pTDefRegMap(@Self)^.clr := $00000004;
  15829. end;
  15830. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  15831. begin
  15832. if thebits = 0 then
  15833. pTDefRegMap(@Self)^.clr := $00000004
  15834. else
  15835. pTDefRegMap(@Self)^.&set := $00000004;
  15836. end;
  15837. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  15838. begin
  15839. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15840. end;
  15841. procedure TICAP5_IC5CON.setICI0; inline;
  15842. begin
  15843. pTDefRegMap(@Self)^.&set := $00000020;
  15844. end;
  15845. procedure TICAP5_IC5CON.clearICI0; inline;
  15846. begin
  15847. pTDefRegMap(@Self)^.clr := $00000020;
  15848. end;
  15849. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  15850. begin
  15851. if thebits = 0 then
  15852. pTDefRegMap(@Self)^.clr := $00000020
  15853. else
  15854. pTDefRegMap(@Self)^.&set := $00000020;
  15855. end;
  15856. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  15857. begin
  15858. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15859. end;
  15860. procedure TICAP5_IC5CON.setICI1; inline;
  15861. begin
  15862. pTDefRegMap(@Self)^.&set := $00000040;
  15863. end;
  15864. procedure TICAP5_IC5CON.clearICI1; inline;
  15865. begin
  15866. pTDefRegMap(@Self)^.clr := $00000040;
  15867. end;
  15868. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  15869. begin
  15870. if thebits = 0 then
  15871. pTDefRegMap(@Self)^.clr := $00000040
  15872. else
  15873. pTDefRegMap(@Self)^.&set := $00000040;
  15874. end;
  15875. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  15876. begin
  15877. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15878. end;
  15879. procedure TICAP5_IC5CON.setICSIDL; inline;
  15880. begin
  15881. pTDefRegMap(@Self)^.&set := $00002000;
  15882. end;
  15883. procedure TICAP5_IC5CON.clearICSIDL; inline;
  15884. begin
  15885. pTDefRegMap(@Self)^.clr := $00002000;
  15886. end;
  15887. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  15888. begin
  15889. if thebits = 0 then
  15890. pTDefRegMap(@Self)^.clr := $00002000
  15891. else
  15892. pTDefRegMap(@Self)^.&set := $00002000;
  15893. end;
  15894. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  15895. begin
  15896. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15897. end;
  15898. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  15899. begin
  15900. pTDefRegMap(@Self)^.val := thebits;
  15901. end;
  15902. function TICAP5_IC5CON.getw : TBits_32; inline;
  15903. begin
  15904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15905. end;
  15906. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  15907. begin
  15908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15909. end;
  15910. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  15911. begin
  15912. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15913. end;
  15914. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  15915. begin
  15916. pTDefRegMap(@Self)^.&set := $00000008;
  15917. end;
  15918. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  15919. begin
  15920. pTDefRegMap(@Self)^.clr := $00000008;
  15921. end;
  15922. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  15923. begin
  15924. if thebits = 0 then
  15925. pTDefRegMap(@Self)^.clr := $00000008
  15926. else
  15927. pTDefRegMap(@Self)^.&set := $00000008;
  15928. end;
  15929. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  15930. begin
  15931. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15932. end;
  15933. procedure TOCMP1_OC1CON.setOCFLT; inline;
  15934. begin
  15935. pTDefRegMap(@Self)^.&set := $00000010;
  15936. end;
  15937. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  15938. begin
  15939. pTDefRegMap(@Self)^.clr := $00000010;
  15940. end;
  15941. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  15942. begin
  15943. if thebits = 0 then
  15944. pTDefRegMap(@Self)^.clr := $00000010
  15945. else
  15946. pTDefRegMap(@Self)^.&set := $00000010;
  15947. end;
  15948. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  15949. begin
  15950. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15951. end;
  15952. procedure TOCMP1_OC1CON.setOC32; inline;
  15953. begin
  15954. pTDefRegMap(@Self)^.&set := $00000020;
  15955. end;
  15956. procedure TOCMP1_OC1CON.clearOC32; inline;
  15957. begin
  15958. pTDefRegMap(@Self)^.clr := $00000020;
  15959. end;
  15960. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  15961. begin
  15962. if thebits = 0 then
  15963. pTDefRegMap(@Self)^.clr := $00000020
  15964. else
  15965. pTDefRegMap(@Self)^.&set := $00000020;
  15966. end;
  15967. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  15968. begin
  15969. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15970. end;
  15971. procedure TOCMP1_OC1CON.setSIDL; inline;
  15972. begin
  15973. pTDefRegMap(@Self)^.&set := $00002000;
  15974. end;
  15975. procedure TOCMP1_OC1CON.clearSIDL; inline;
  15976. begin
  15977. pTDefRegMap(@Self)^.clr := $00002000;
  15978. end;
  15979. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  15980. begin
  15981. if thebits = 0 then
  15982. pTDefRegMap(@Self)^.clr := $00002000
  15983. else
  15984. pTDefRegMap(@Self)^.&set := $00002000;
  15985. end;
  15986. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  15987. begin
  15988. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15989. end;
  15990. procedure TOCMP1_OC1CON.setON; inline;
  15991. begin
  15992. pTDefRegMap(@Self)^.&set := $00008000;
  15993. end;
  15994. procedure TOCMP1_OC1CON.clearON; inline;
  15995. begin
  15996. pTDefRegMap(@Self)^.clr := $00008000;
  15997. end;
  15998. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  15999. begin
  16000. if thebits = 0 then
  16001. pTDefRegMap(@Self)^.clr := $00008000
  16002. else
  16003. pTDefRegMap(@Self)^.&set := $00008000;
  16004. end;
  16005. function TOCMP1_OC1CON.getON : TBits_1; inline;
  16006. begin
  16007. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16008. end;
  16009. procedure TOCMP1_OC1CON.setOCM0; inline;
  16010. begin
  16011. pTDefRegMap(@Self)^.&set := $00000001;
  16012. end;
  16013. procedure TOCMP1_OC1CON.clearOCM0; inline;
  16014. begin
  16015. pTDefRegMap(@Self)^.clr := $00000001;
  16016. end;
  16017. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  16018. begin
  16019. if thebits = 0 then
  16020. pTDefRegMap(@Self)^.clr := $00000001
  16021. else
  16022. pTDefRegMap(@Self)^.&set := $00000001;
  16023. end;
  16024. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  16025. begin
  16026. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16027. end;
  16028. procedure TOCMP1_OC1CON.setOCM1; inline;
  16029. begin
  16030. pTDefRegMap(@Self)^.&set := $00000002;
  16031. end;
  16032. procedure TOCMP1_OC1CON.clearOCM1; inline;
  16033. begin
  16034. pTDefRegMap(@Self)^.clr := $00000002;
  16035. end;
  16036. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  16037. begin
  16038. if thebits = 0 then
  16039. pTDefRegMap(@Self)^.clr := $00000002
  16040. else
  16041. pTDefRegMap(@Self)^.&set := $00000002;
  16042. end;
  16043. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  16044. begin
  16045. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16046. end;
  16047. procedure TOCMP1_OC1CON.setOCM2; inline;
  16048. begin
  16049. pTDefRegMap(@Self)^.&set := $00000004;
  16050. end;
  16051. procedure TOCMP1_OC1CON.clearOCM2; inline;
  16052. begin
  16053. pTDefRegMap(@Self)^.clr := $00000004;
  16054. end;
  16055. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  16056. begin
  16057. if thebits = 0 then
  16058. pTDefRegMap(@Self)^.clr := $00000004
  16059. else
  16060. pTDefRegMap(@Self)^.&set := $00000004;
  16061. end;
  16062. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  16063. begin
  16064. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16065. end;
  16066. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  16067. begin
  16068. pTDefRegMap(@Self)^.&set := $00002000;
  16069. end;
  16070. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  16071. begin
  16072. pTDefRegMap(@Self)^.clr := $00002000;
  16073. end;
  16074. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  16075. begin
  16076. if thebits = 0 then
  16077. pTDefRegMap(@Self)^.clr := $00002000
  16078. else
  16079. pTDefRegMap(@Self)^.&set := $00002000;
  16080. end;
  16081. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  16082. begin
  16083. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16084. end;
  16085. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  16086. begin
  16087. pTDefRegMap(@Self)^.val := thebits;
  16088. end;
  16089. function TOCMP1_OC1CON.getw : TBits_32; inline;
  16090. begin
  16091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16092. end;
  16093. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  16094. begin
  16095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16096. end;
  16097. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  16098. begin
  16099. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16100. end;
  16101. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  16102. begin
  16103. pTDefRegMap(@Self)^.&set := $00000008;
  16104. end;
  16105. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  16106. begin
  16107. pTDefRegMap(@Self)^.clr := $00000008;
  16108. end;
  16109. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  16110. begin
  16111. if thebits = 0 then
  16112. pTDefRegMap(@Self)^.clr := $00000008
  16113. else
  16114. pTDefRegMap(@Self)^.&set := $00000008;
  16115. end;
  16116. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  16117. begin
  16118. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16119. end;
  16120. procedure TOCMP2_OC2CON.setOCFLT; inline;
  16121. begin
  16122. pTDefRegMap(@Self)^.&set := $00000010;
  16123. end;
  16124. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  16125. begin
  16126. pTDefRegMap(@Self)^.clr := $00000010;
  16127. end;
  16128. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  16129. begin
  16130. if thebits = 0 then
  16131. pTDefRegMap(@Self)^.clr := $00000010
  16132. else
  16133. pTDefRegMap(@Self)^.&set := $00000010;
  16134. end;
  16135. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  16136. begin
  16137. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16138. end;
  16139. procedure TOCMP2_OC2CON.setOC32; inline;
  16140. begin
  16141. pTDefRegMap(@Self)^.&set := $00000020;
  16142. end;
  16143. procedure TOCMP2_OC2CON.clearOC32; inline;
  16144. begin
  16145. pTDefRegMap(@Self)^.clr := $00000020;
  16146. end;
  16147. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  16148. begin
  16149. if thebits = 0 then
  16150. pTDefRegMap(@Self)^.clr := $00000020
  16151. else
  16152. pTDefRegMap(@Self)^.&set := $00000020;
  16153. end;
  16154. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  16155. begin
  16156. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16157. end;
  16158. procedure TOCMP2_OC2CON.setSIDL; inline;
  16159. begin
  16160. pTDefRegMap(@Self)^.&set := $00002000;
  16161. end;
  16162. procedure TOCMP2_OC2CON.clearSIDL; inline;
  16163. begin
  16164. pTDefRegMap(@Self)^.clr := $00002000;
  16165. end;
  16166. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  16167. begin
  16168. if thebits = 0 then
  16169. pTDefRegMap(@Self)^.clr := $00002000
  16170. else
  16171. pTDefRegMap(@Self)^.&set := $00002000;
  16172. end;
  16173. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  16174. begin
  16175. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16176. end;
  16177. procedure TOCMP2_OC2CON.setON; inline;
  16178. begin
  16179. pTDefRegMap(@Self)^.&set := $00008000;
  16180. end;
  16181. procedure TOCMP2_OC2CON.clearON; inline;
  16182. begin
  16183. pTDefRegMap(@Self)^.clr := $00008000;
  16184. end;
  16185. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  16186. begin
  16187. if thebits = 0 then
  16188. pTDefRegMap(@Self)^.clr := $00008000
  16189. else
  16190. pTDefRegMap(@Self)^.&set := $00008000;
  16191. end;
  16192. function TOCMP2_OC2CON.getON : TBits_1; inline;
  16193. begin
  16194. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16195. end;
  16196. procedure TOCMP2_OC2CON.setOCM0; inline;
  16197. begin
  16198. pTDefRegMap(@Self)^.&set := $00000001;
  16199. end;
  16200. procedure TOCMP2_OC2CON.clearOCM0; inline;
  16201. begin
  16202. pTDefRegMap(@Self)^.clr := $00000001;
  16203. end;
  16204. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  16205. begin
  16206. if thebits = 0 then
  16207. pTDefRegMap(@Self)^.clr := $00000001
  16208. else
  16209. pTDefRegMap(@Self)^.&set := $00000001;
  16210. end;
  16211. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  16212. begin
  16213. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16214. end;
  16215. procedure TOCMP2_OC2CON.setOCM1; inline;
  16216. begin
  16217. pTDefRegMap(@Self)^.&set := $00000002;
  16218. end;
  16219. procedure TOCMP2_OC2CON.clearOCM1; inline;
  16220. begin
  16221. pTDefRegMap(@Self)^.clr := $00000002;
  16222. end;
  16223. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  16224. begin
  16225. if thebits = 0 then
  16226. pTDefRegMap(@Self)^.clr := $00000002
  16227. else
  16228. pTDefRegMap(@Self)^.&set := $00000002;
  16229. end;
  16230. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  16231. begin
  16232. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16233. end;
  16234. procedure TOCMP2_OC2CON.setOCM2; inline;
  16235. begin
  16236. pTDefRegMap(@Self)^.&set := $00000004;
  16237. end;
  16238. procedure TOCMP2_OC2CON.clearOCM2; inline;
  16239. begin
  16240. pTDefRegMap(@Self)^.clr := $00000004;
  16241. end;
  16242. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  16243. begin
  16244. if thebits = 0 then
  16245. pTDefRegMap(@Self)^.clr := $00000004
  16246. else
  16247. pTDefRegMap(@Self)^.&set := $00000004;
  16248. end;
  16249. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  16250. begin
  16251. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16252. end;
  16253. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  16254. begin
  16255. pTDefRegMap(@Self)^.&set := $00002000;
  16256. end;
  16257. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  16258. begin
  16259. pTDefRegMap(@Self)^.clr := $00002000;
  16260. end;
  16261. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  16262. begin
  16263. if thebits = 0 then
  16264. pTDefRegMap(@Self)^.clr := $00002000
  16265. else
  16266. pTDefRegMap(@Self)^.&set := $00002000;
  16267. end;
  16268. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  16269. begin
  16270. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16271. end;
  16272. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  16273. begin
  16274. pTDefRegMap(@Self)^.val := thebits;
  16275. end;
  16276. function TOCMP2_OC2CON.getw : TBits_32; inline;
  16277. begin
  16278. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16279. end;
  16280. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  16281. begin
  16282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16283. end;
  16284. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  16285. begin
  16286. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16287. end;
  16288. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  16289. begin
  16290. pTDefRegMap(@Self)^.&set := $00000008;
  16291. end;
  16292. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  16293. begin
  16294. pTDefRegMap(@Self)^.clr := $00000008;
  16295. end;
  16296. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  16297. begin
  16298. if thebits = 0 then
  16299. pTDefRegMap(@Self)^.clr := $00000008
  16300. else
  16301. pTDefRegMap(@Self)^.&set := $00000008;
  16302. end;
  16303. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  16304. begin
  16305. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16306. end;
  16307. procedure TOCMP3_OC3CON.setOCFLT; inline;
  16308. begin
  16309. pTDefRegMap(@Self)^.&set := $00000010;
  16310. end;
  16311. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  16312. begin
  16313. pTDefRegMap(@Self)^.clr := $00000010;
  16314. end;
  16315. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  16316. begin
  16317. if thebits = 0 then
  16318. pTDefRegMap(@Self)^.clr := $00000010
  16319. else
  16320. pTDefRegMap(@Self)^.&set := $00000010;
  16321. end;
  16322. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  16323. begin
  16324. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16325. end;
  16326. procedure TOCMP3_OC3CON.setOC32; inline;
  16327. begin
  16328. pTDefRegMap(@Self)^.&set := $00000020;
  16329. end;
  16330. procedure TOCMP3_OC3CON.clearOC32; inline;
  16331. begin
  16332. pTDefRegMap(@Self)^.clr := $00000020;
  16333. end;
  16334. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  16335. begin
  16336. if thebits = 0 then
  16337. pTDefRegMap(@Self)^.clr := $00000020
  16338. else
  16339. pTDefRegMap(@Self)^.&set := $00000020;
  16340. end;
  16341. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  16342. begin
  16343. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16344. end;
  16345. procedure TOCMP3_OC3CON.setSIDL; inline;
  16346. begin
  16347. pTDefRegMap(@Self)^.&set := $00002000;
  16348. end;
  16349. procedure TOCMP3_OC3CON.clearSIDL; inline;
  16350. begin
  16351. pTDefRegMap(@Self)^.clr := $00002000;
  16352. end;
  16353. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  16354. begin
  16355. if thebits = 0 then
  16356. pTDefRegMap(@Self)^.clr := $00002000
  16357. else
  16358. pTDefRegMap(@Self)^.&set := $00002000;
  16359. end;
  16360. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  16361. begin
  16362. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16363. end;
  16364. procedure TOCMP3_OC3CON.setON; inline;
  16365. begin
  16366. pTDefRegMap(@Self)^.&set := $00008000;
  16367. end;
  16368. procedure TOCMP3_OC3CON.clearON; inline;
  16369. begin
  16370. pTDefRegMap(@Self)^.clr := $00008000;
  16371. end;
  16372. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  16373. begin
  16374. if thebits = 0 then
  16375. pTDefRegMap(@Self)^.clr := $00008000
  16376. else
  16377. pTDefRegMap(@Self)^.&set := $00008000;
  16378. end;
  16379. function TOCMP3_OC3CON.getON : TBits_1; inline;
  16380. begin
  16381. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16382. end;
  16383. procedure TOCMP3_OC3CON.setOCM0; inline;
  16384. begin
  16385. pTDefRegMap(@Self)^.&set := $00000001;
  16386. end;
  16387. procedure TOCMP3_OC3CON.clearOCM0; inline;
  16388. begin
  16389. pTDefRegMap(@Self)^.clr := $00000001;
  16390. end;
  16391. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  16392. begin
  16393. if thebits = 0 then
  16394. pTDefRegMap(@Self)^.clr := $00000001
  16395. else
  16396. pTDefRegMap(@Self)^.&set := $00000001;
  16397. end;
  16398. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  16399. begin
  16400. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16401. end;
  16402. procedure TOCMP3_OC3CON.setOCM1; inline;
  16403. begin
  16404. pTDefRegMap(@Self)^.&set := $00000002;
  16405. end;
  16406. procedure TOCMP3_OC3CON.clearOCM1; inline;
  16407. begin
  16408. pTDefRegMap(@Self)^.clr := $00000002;
  16409. end;
  16410. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  16411. begin
  16412. if thebits = 0 then
  16413. pTDefRegMap(@Self)^.clr := $00000002
  16414. else
  16415. pTDefRegMap(@Self)^.&set := $00000002;
  16416. end;
  16417. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  16418. begin
  16419. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16420. end;
  16421. procedure TOCMP3_OC3CON.setOCM2; inline;
  16422. begin
  16423. pTDefRegMap(@Self)^.&set := $00000004;
  16424. end;
  16425. procedure TOCMP3_OC3CON.clearOCM2; inline;
  16426. begin
  16427. pTDefRegMap(@Self)^.clr := $00000004;
  16428. end;
  16429. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  16430. begin
  16431. if thebits = 0 then
  16432. pTDefRegMap(@Self)^.clr := $00000004
  16433. else
  16434. pTDefRegMap(@Self)^.&set := $00000004;
  16435. end;
  16436. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  16437. begin
  16438. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16439. end;
  16440. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  16441. begin
  16442. pTDefRegMap(@Self)^.&set := $00002000;
  16443. end;
  16444. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  16445. begin
  16446. pTDefRegMap(@Self)^.clr := $00002000;
  16447. end;
  16448. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  16449. begin
  16450. if thebits = 0 then
  16451. pTDefRegMap(@Self)^.clr := $00002000
  16452. else
  16453. pTDefRegMap(@Self)^.&set := $00002000;
  16454. end;
  16455. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  16456. begin
  16457. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16458. end;
  16459. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  16460. begin
  16461. pTDefRegMap(@Self)^.val := thebits;
  16462. end;
  16463. function TOCMP3_OC3CON.getw : TBits_32; inline;
  16464. begin
  16465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16466. end;
  16467. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  16468. begin
  16469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16470. end;
  16471. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  16472. begin
  16473. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16474. end;
  16475. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  16476. begin
  16477. pTDefRegMap(@Self)^.&set := $00000008;
  16478. end;
  16479. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.clr := $00000008;
  16482. end;
  16483. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  16484. begin
  16485. if thebits = 0 then
  16486. pTDefRegMap(@Self)^.clr := $00000008
  16487. else
  16488. pTDefRegMap(@Self)^.&set := $00000008;
  16489. end;
  16490. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  16491. begin
  16492. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16493. end;
  16494. procedure TOCMP4_OC4CON.setOCFLT; inline;
  16495. begin
  16496. pTDefRegMap(@Self)^.&set := $00000010;
  16497. end;
  16498. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.clr := $00000010;
  16501. end;
  16502. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  16503. begin
  16504. if thebits = 0 then
  16505. pTDefRegMap(@Self)^.clr := $00000010
  16506. else
  16507. pTDefRegMap(@Self)^.&set := $00000010;
  16508. end;
  16509. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  16510. begin
  16511. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16512. end;
  16513. procedure TOCMP4_OC4CON.setOC32; inline;
  16514. begin
  16515. pTDefRegMap(@Self)^.&set := $00000020;
  16516. end;
  16517. procedure TOCMP4_OC4CON.clearOC32; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.clr := $00000020;
  16520. end;
  16521. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  16522. begin
  16523. if thebits = 0 then
  16524. pTDefRegMap(@Self)^.clr := $00000020
  16525. else
  16526. pTDefRegMap(@Self)^.&set := $00000020;
  16527. end;
  16528. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  16529. begin
  16530. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16531. end;
  16532. procedure TOCMP4_OC4CON.setSIDL; inline;
  16533. begin
  16534. pTDefRegMap(@Self)^.&set := $00002000;
  16535. end;
  16536. procedure TOCMP4_OC4CON.clearSIDL; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.clr := $00002000;
  16539. end;
  16540. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  16541. begin
  16542. if thebits = 0 then
  16543. pTDefRegMap(@Self)^.clr := $00002000
  16544. else
  16545. pTDefRegMap(@Self)^.&set := $00002000;
  16546. end;
  16547. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  16548. begin
  16549. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16550. end;
  16551. procedure TOCMP4_OC4CON.setON; inline;
  16552. begin
  16553. pTDefRegMap(@Self)^.&set := $00008000;
  16554. end;
  16555. procedure TOCMP4_OC4CON.clearON; inline;
  16556. begin
  16557. pTDefRegMap(@Self)^.clr := $00008000;
  16558. end;
  16559. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  16560. begin
  16561. if thebits = 0 then
  16562. pTDefRegMap(@Self)^.clr := $00008000
  16563. else
  16564. pTDefRegMap(@Self)^.&set := $00008000;
  16565. end;
  16566. function TOCMP4_OC4CON.getON : TBits_1; inline;
  16567. begin
  16568. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16569. end;
  16570. procedure TOCMP4_OC4CON.setOCM0; inline;
  16571. begin
  16572. pTDefRegMap(@Self)^.&set := $00000001;
  16573. end;
  16574. procedure TOCMP4_OC4CON.clearOCM0; inline;
  16575. begin
  16576. pTDefRegMap(@Self)^.clr := $00000001;
  16577. end;
  16578. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  16579. begin
  16580. if thebits = 0 then
  16581. pTDefRegMap(@Self)^.clr := $00000001
  16582. else
  16583. pTDefRegMap(@Self)^.&set := $00000001;
  16584. end;
  16585. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  16586. begin
  16587. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16588. end;
  16589. procedure TOCMP4_OC4CON.setOCM1; inline;
  16590. begin
  16591. pTDefRegMap(@Self)^.&set := $00000002;
  16592. end;
  16593. procedure TOCMP4_OC4CON.clearOCM1; inline;
  16594. begin
  16595. pTDefRegMap(@Self)^.clr := $00000002;
  16596. end;
  16597. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  16598. begin
  16599. if thebits = 0 then
  16600. pTDefRegMap(@Self)^.clr := $00000002
  16601. else
  16602. pTDefRegMap(@Self)^.&set := $00000002;
  16603. end;
  16604. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  16605. begin
  16606. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16607. end;
  16608. procedure TOCMP4_OC4CON.setOCM2; inline;
  16609. begin
  16610. pTDefRegMap(@Self)^.&set := $00000004;
  16611. end;
  16612. procedure TOCMP4_OC4CON.clearOCM2; inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.clr := $00000004;
  16615. end;
  16616. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  16617. begin
  16618. if thebits = 0 then
  16619. pTDefRegMap(@Self)^.clr := $00000004
  16620. else
  16621. pTDefRegMap(@Self)^.&set := $00000004;
  16622. end;
  16623. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  16624. begin
  16625. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16626. end;
  16627. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  16628. begin
  16629. pTDefRegMap(@Self)^.&set := $00002000;
  16630. end;
  16631. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  16632. begin
  16633. pTDefRegMap(@Self)^.clr := $00002000;
  16634. end;
  16635. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  16636. begin
  16637. if thebits = 0 then
  16638. pTDefRegMap(@Self)^.clr := $00002000
  16639. else
  16640. pTDefRegMap(@Self)^.&set := $00002000;
  16641. end;
  16642. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  16643. begin
  16644. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16645. end;
  16646. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  16647. begin
  16648. pTDefRegMap(@Self)^.val := thebits;
  16649. end;
  16650. function TOCMP4_OC4CON.getw : TBits_32; inline;
  16651. begin
  16652. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16653. end;
  16654. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  16655. begin
  16656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16657. end;
  16658. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  16659. begin
  16660. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16661. end;
  16662. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  16663. begin
  16664. pTDefRegMap(@Self)^.&set := $00000008;
  16665. end;
  16666. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  16667. begin
  16668. pTDefRegMap(@Self)^.clr := $00000008;
  16669. end;
  16670. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  16671. begin
  16672. if thebits = 0 then
  16673. pTDefRegMap(@Self)^.clr := $00000008
  16674. else
  16675. pTDefRegMap(@Self)^.&set := $00000008;
  16676. end;
  16677. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  16678. begin
  16679. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16680. end;
  16681. procedure TOCMP5_OC5CON.setOCFLT; inline;
  16682. begin
  16683. pTDefRegMap(@Self)^.&set := $00000010;
  16684. end;
  16685. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  16686. begin
  16687. pTDefRegMap(@Self)^.clr := $00000010;
  16688. end;
  16689. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  16690. begin
  16691. if thebits = 0 then
  16692. pTDefRegMap(@Self)^.clr := $00000010
  16693. else
  16694. pTDefRegMap(@Self)^.&set := $00000010;
  16695. end;
  16696. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  16697. begin
  16698. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16699. end;
  16700. procedure TOCMP5_OC5CON.setOC32; inline;
  16701. begin
  16702. pTDefRegMap(@Self)^.&set := $00000020;
  16703. end;
  16704. procedure TOCMP5_OC5CON.clearOC32; inline;
  16705. begin
  16706. pTDefRegMap(@Self)^.clr := $00000020;
  16707. end;
  16708. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  16709. begin
  16710. if thebits = 0 then
  16711. pTDefRegMap(@Self)^.clr := $00000020
  16712. else
  16713. pTDefRegMap(@Self)^.&set := $00000020;
  16714. end;
  16715. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  16716. begin
  16717. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16718. end;
  16719. procedure TOCMP5_OC5CON.setSIDL; inline;
  16720. begin
  16721. pTDefRegMap(@Self)^.&set := $00002000;
  16722. end;
  16723. procedure TOCMP5_OC5CON.clearSIDL; inline;
  16724. begin
  16725. pTDefRegMap(@Self)^.clr := $00002000;
  16726. end;
  16727. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  16728. begin
  16729. if thebits = 0 then
  16730. pTDefRegMap(@Self)^.clr := $00002000
  16731. else
  16732. pTDefRegMap(@Self)^.&set := $00002000;
  16733. end;
  16734. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  16735. begin
  16736. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16737. end;
  16738. procedure TOCMP5_OC5CON.setON; inline;
  16739. begin
  16740. pTDefRegMap(@Self)^.&set := $00008000;
  16741. end;
  16742. procedure TOCMP5_OC5CON.clearON; inline;
  16743. begin
  16744. pTDefRegMap(@Self)^.clr := $00008000;
  16745. end;
  16746. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  16747. begin
  16748. if thebits = 0 then
  16749. pTDefRegMap(@Self)^.clr := $00008000
  16750. else
  16751. pTDefRegMap(@Self)^.&set := $00008000;
  16752. end;
  16753. function TOCMP5_OC5CON.getON : TBits_1; inline;
  16754. begin
  16755. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16756. end;
  16757. procedure TOCMP5_OC5CON.setOCM0; inline;
  16758. begin
  16759. pTDefRegMap(@Self)^.&set := $00000001;
  16760. end;
  16761. procedure TOCMP5_OC5CON.clearOCM0; inline;
  16762. begin
  16763. pTDefRegMap(@Self)^.clr := $00000001;
  16764. end;
  16765. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  16766. begin
  16767. if thebits = 0 then
  16768. pTDefRegMap(@Self)^.clr := $00000001
  16769. else
  16770. pTDefRegMap(@Self)^.&set := $00000001;
  16771. end;
  16772. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  16773. begin
  16774. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16775. end;
  16776. procedure TOCMP5_OC5CON.setOCM1; inline;
  16777. begin
  16778. pTDefRegMap(@Self)^.&set := $00000002;
  16779. end;
  16780. procedure TOCMP5_OC5CON.clearOCM1; inline;
  16781. begin
  16782. pTDefRegMap(@Self)^.clr := $00000002;
  16783. end;
  16784. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  16785. begin
  16786. if thebits = 0 then
  16787. pTDefRegMap(@Self)^.clr := $00000002
  16788. else
  16789. pTDefRegMap(@Self)^.&set := $00000002;
  16790. end;
  16791. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  16792. begin
  16793. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16794. end;
  16795. procedure TOCMP5_OC5CON.setOCM2; inline;
  16796. begin
  16797. pTDefRegMap(@Self)^.&set := $00000004;
  16798. end;
  16799. procedure TOCMP5_OC5CON.clearOCM2; inline;
  16800. begin
  16801. pTDefRegMap(@Self)^.clr := $00000004;
  16802. end;
  16803. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  16804. begin
  16805. if thebits = 0 then
  16806. pTDefRegMap(@Self)^.clr := $00000004
  16807. else
  16808. pTDefRegMap(@Self)^.&set := $00000004;
  16809. end;
  16810. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  16811. begin
  16812. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16813. end;
  16814. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  16815. begin
  16816. pTDefRegMap(@Self)^.&set := $00002000;
  16817. end;
  16818. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  16819. begin
  16820. pTDefRegMap(@Self)^.clr := $00002000;
  16821. end;
  16822. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  16823. begin
  16824. if thebits = 0 then
  16825. pTDefRegMap(@Self)^.clr := $00002000
  16826. else
  16827. pTDefRegMap(@Self)^.&set := $00002000;
  16828. end;
  16829. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  16830. begin
  16831. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16832. end;
  16833. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  16834. begin
  16835. pTDefRegMap(@Self)^.val := thebits;
  16836. end;
  16837. function TOCMP5_OC5CON.getw : TBits_32; inline;
  16838. begin
  16839. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16840. end;
  16841. procedure TI2C1_I2C1111CON.setSEN; inline;
  16842. begin
  16843. pTDefRegMap(@Self)^.&set := $00000001;
  16844. end;
  16845. procedure TI2C1_I2C1111CON.clearSEN; inline;
  16846. begin
  16847. pTDefRegMap(@Self)^.clr := $00000001;
  16848. end;
  16849. procedure TI2C1_I2C1111CON.setSEN(thebits : TBits_1); inline;
  16850. begin
  16851. if thebits = 0 then
  16852. pTDefRegMap(@Self)^.clr := $00000001
  16853. else
  16854. pTDefRegMap(@Self)^.&set := $00000001;
  16855. end;
  16856. function TI2C1_I2C1111CON.getSEN : TBits_1; inline;
  16857. begin
  16858. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16859. end;
  16860. procedure TI2C1_I2C1111CON.setRSEN; inline;
  16861. begin
  16862. pTDefRegMap(@Self)^.&set := $00000002;
  16863. end;
  16864. procedure TI2C1_I2C1111CON.clearRSEN; inline;
  16865. begin
  16866. pTDefRegMap(@Self)^.clr := $00000002;
  16867. end;
  16868. procedure TI2C1_I2C1111CON.setRSEN(thebits : TBits_1); inline;
  16869. begin
  16870. if thebits = 0 then
  16871. pTDefRegMap(@Self)^.clr := $00000002
  16872. else
  16873. pTDefRegMap(@Self)^.&set := $00000002;
  16874. end;
  16875. function TI2C1_I2C1111CON.getRSEN : TBits_1; inline;
  16876. begin
  16877. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16878. end;
  16879. procedure TI2C1_I2C1111CON.setPEN; inline;
  16880. begin
  16881. pTDefRegMap(@Self)^.&set := $00000004;
  16882. end;
  16883. procedure TI2C1_I2C1111CON.clearPEN; inline;
  16884. begin
  16885. pTDefRegMap(@Self)^.clr := $00000004;
  16886. end;
  16887. procedure TI2C1_I2C1111CON.setPEN(thebits : TBits_1); inline;
  16888. begin
  16889. if thebits = 0 then
  16890. pTDefRegMap(@Self)^.clr := $00000004
  16891. else
  16892. pTDefRegMap(@Self)^.&set := $00000004;
  16893. end;
  16894. function TI2C1_I2C1111CON.getPEN : TBits_1; inline;
  16895. begin
  16896. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16897. end;
  16898. procedure TI2C1_I2C1111CON.setRCEN; inline;
  16899. begin
  16900. pTDefRegMap(@Self)^.&set := $00000008;
  16901. end;
  16902. procedure TI2C1_I2C1111CON.clearRCEN; inline;
  16903. begin
  16904. pTDefRegMap(@Self)^.clr := $00000008;
  16905. end;
  16906. procedure TI2C1_I2C1111CON.setRCEN(thebits : TBits_1); inline;
  16907. begin
  16908. if thebits = 0 then
  16909. pTDefRegMap(@Self)^.clr := $00000008
  16910. else
  16911. pTDefRegMap(@Self)^.&set := $00000008;
  16912. end;
  16913. function TI2C1_I2C1111CON.getRCEN : TBits_1; inline;
  16914. begin
  16915. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16916. end;
  16917. procedure TI2C1_I2C1111CON.setACKEN; inline;
  16918. begin
  16919. pTDefRegMap(@Self)^.&set := $00000010;
  16920. end;
  16921. procedure TI2C1_I2C1111CON.clearACKEN; inline;
  16922. begin
  16923. pTDefRegMap(@Self)^.clr := $00000010;
  16924. end;
  16925. procedure TI2C1_I2C1111CON.setACKEN(thebits : TBits_1); inline;
  16926. begin
  16927. if thebits = 0 then
  16928. pTDefRegMap(@Self)^.clr := $00000010
  16929. else
  16930. pTDefRegMap(@Self)^.&set := $00000010;
  16931. end;
  16932. function TI2C1_I2C1111CON.getACKEN : TBits_1; inline;
  16933. begin
  16934. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16935. end;
  16936. procedure TI2C1_I2C1111CON.setACKDT; inline;
  16937. begin
  16938. pTDefRegMap(@Self)^.&set := $00000020;
  16939. end;
  16940. procedure TI2C1_I2C1111CON.clearACKDT; inline;
  16941. begin
  16942. pTDefRegMap(@Self)^.clr := $00000020;
  16943. end;
  16944. procedure TI2C1_I2C1111CON.setACKDT(thebits : TBits_1); inline;
  16945. begin
  16946. if thebits = 0 then
  16947. pTDefRegMap(@Self)^.clr := $00000020
  16948. else
  16949. pTDefRegMap(@Self)^.&set := $00000020;
  16950. end;
  16951. function TI2C1_I2C1111CON.getACKDT : TBits_1; inline;
  16952. begin
  16953. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16954. end;
  16955. procedure TI2C1_I2C1111CON.setSTREN; inline;
  16956. begin
  16957. pTDefRegMap(@Self)^.&set := $00000040;
  16958. end;
  16959. procedure TI2C1_I2C1111CON.clearSTREN; inline;
  16960. begin
  16961. pTDefRegMap(@Self)^.clr := $00000040;
  16962. end;
  16963. procedure TI2C1_I2C1111CON.setSTREN(thebits : TBits_1); inline;
  16964. begin
  16965. if thebits = 0 then
  16966. pTDefRegMap(@Self)^.clr := $00000040
  16967. else
  16968. pTDefRegMap(@Self)^.&set := $00000040;
  16969. end;
  16970. function TI2C1_I2C1111CON.getSTREN : TBits_1; inline;
  16971. begin
  16972. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16973. end;
  16974. procedure TI2C1_I2C1111CON.setGCEN; inline;
  16975. begin
  16976. pTDefRegMap(@Self)^.&set := $00000080;
  16977. end;
  16978. procedure TI2C1_I2C1111CON.clearGCEN; inline;
  16979. begin
  16980. pTDefRegMap(@Self)^.clr := $00000080;
  16981. end;
  16982. procedure TI2C1_I2C1111CON.setGCEN(thebits : TBits_1); inline;
  16983. begin
  16984. if thebits = 0 then
  16985. pTDefRegMap(@Self)^.clr := $00000080
  16986. else
  16987. pTDefRegMap(@Self)^.&set := $00000080;
  16988. end;
  16989. function TI2C1_I2C1111CON.getGCEN : TBits_1; inline;
  16990. begin
  16991. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16992. end;
  16993. procedure TI2C1_I2C1111CON.setSMEN; inline;
  16994. begin
  16995. pTDefRegMap(@Self)^.&set := $00000100;
  16996. end;
  16997. procedure TI2C1_I2C1111CON.clearSMEN; inline;
  16998. begin
  16999. pTDefRegMap(@Self)^.clr := $00000100;
  17000. end;
  17001. procedure TI2C1_I2C1111CON.setSMEN(thebits : TBits_1); inline;
  17002. begin
  17003. if thebits = 0 then
  17004. pTDefRegMap(@Self)^.clr := $00000100
  17005. else
  17006. pTDefRegMap(@Self)^.&set := $00000100;
  17007. end;
  17008. function TI2C1_I2C1111CON.getSMEN : TBits_1; inline;
  17009. begin
  17010. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17011. end;
  17012. procedure TI2C1_I2C1111CON.setDISSLW; inline;
  17013. begin
  17014. pTDefRegMap(@Self)^.&set := $00000200;
  17015. end;
  17016. procedure TI2C1_I2C1111CON.clearDISSLW; inline;
  17017. begin
  17018. pTDefRegMap(@Self)^.clr := $00000200;
  17019. end;
  17020. procedure TI2C1_I2C1111CON.setDISSLW(thebits : TBits_1); inline;
  17021. begin
  17022. if thebits = 0 then
  17023. pTDefRegMap(@Self)^.clr := $00000200
  17024. else
  17025. pTDefRegMap(@Self)^.&set := $00000200;
  17026. end;
  17027. function TI2C1_I2C1111CON.getDISSLW : TBits_1; inline;
  17028. begin
  17029. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17030. end;
  17031. procedure TI2C1_I2C1111CON.setA10M; inline;
  17032. begin
  17033. pTDefRegMap(@Self)^.&set := $00000400;
  17034. end;
  17035. procedure TI2C1_I2C1111CON.clearA10M; inline;
  17036. begin
  17037. pTDefRegMap(@Self)^.clr := $00000400;
  17038. end;
  17039. procedure TI2C1_I2C1111CON.setA10M(thebits : TBits_1); inline;
  17040. begin
  17041. if thebits = 0 then
  17042. pTDefRegMap(@Self)^.clr := $00000400
  17043. else
  17044. pTDefRegMap(@Self)^.&set := $00000400;
  17045. end;
  17046. function TI2C1_I2C1111CON.getA10M : TBits_1; inline;
  17047. begin
  17048. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17049. end;
  17050. procedure TI2C1_I2C1111CON.setSTRICT; inline;
  17051. begin
  17052. pTDefRegMap(@Self)^.&set := $00000800;
  17053. end;
  17054. procedure TI2C1_I2C1111CON.clearSTRICT; inline;
  17055. begin
  17056. pTDefRegMap(@Self)^.clr := $00000800;
  17057. end;
  17058. procedure TI2C1_I2C1111CON.setSTRICT(thebits : TBits_1); inline;
  17059. begin
  17060. if thebits = 0 then
  17061. pTDefRegMap(@Self)^.clr := $00000800
  17062. else
  17063. pTDefRegMap(@Self)^.&set := $00000800;
  17064. end;
  17065. function TI2C1_I2C1111CON.getSTRICT : TBits_1; inline;
  17066. begin
  17067. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17068. end;
  17069. procedure TI2C1_I2C1111CON.setSCLREL; inline;
  17070. begin
  17071. pTDefRegMap(@Self)^.&set := $00001000;
  17072. end;
  17073. procedure TI2C1_I2C1111CON.clearSCLREL; inline;
  17074. begin
  17075. pTDefRegMap(@Self)^.clr := $00001000;
  17076. end;
  17077. procedure TI2C1_I2C1111CON.setSCLREL(thebits : TBits_1); inline;
  17078. begin
  17079. if thebits = 0 then
  17080. pTDefRegMap(@Self)^.clr := $00001000
  17081. else
  17082. pTDefRegMap(@Self)^.&set := $00001000;
  17083. end;
  17084. function TI2C1_I2C1111CON.getSCLREL : TBits_1; inline;
  17085. begin
  17086. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17087. end;
  17088. procedure TI2C1_I2C1111CON.setSIDL; inline;
  17089. begin
  17090. pTDefRegMap(@Self)^.&set := $00002000;
  17091. end;
  17092. procedure TI2C1_I2C1111CON.clearSIDL; inline;
  17093. begin
  17094. pTDefRegMap(@Self)^.clr := $00002000;
  17095. end;
  17096. procedure TI2C1_I2C1111CON.setSIDL(thebits : TBits_1); inline;
  17097. begin
  17098. if thebits = 0 then
  17099. pTDefRegMap(@Self)^.clr := $00002000
  17100. else
  17101. pTDefRegMap(@Self)^.&set := $00002000;
  17102. end;
  17103. function TI2C1_I2C1111CON.getSIDL : TBits_1; inline;
  17104. begin
  17105. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17106. end;
  17107. procedure TI2C1_I2C1111CON.setON; inline;
  17108. begin
  17109. pTDefRegMap(@Self)^.&set := $00008000;
  17110. end;
  17111. procedure TI2C1_I2C1111CON.clearON; inline;
  17112. begin
  17113. pTDefRegMap(@Self)^.clr := $00008000;
  17114. end;
  17115. procedure TI2C1_I2C1111CON.setON(thebits : TBits_1); inline;
  17116. begin
  17117. if thebits = 0 then
  17118. pTDefRegMap(@Self)^.clr := $00008000
  17119. else
  17120. pTDefRegMap(@Self)^.&set := $00008000;
  17121. end;
  17122. function TI2C1_I2C1111CON.getON : TBits_1; inline;
  17123. begin
  17124. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17125. end;
  17126. procedure TI2C1_I2C1111CON.setIPMIEN; inline;
  17127. begin
  17128. pTDefRegMap(@Self)^.&set := $00000800;
  17129. end;
  17130. procedure TI2C1_I2C1111CON.clearIPMIEN; inline;
  17131. begin
  17132. pTDefRegMap(@Self)^.clr := $00000800;
  17133. end;
  17134. procedure TI2C1_I2C1111CON.setIPMIEN(thebits : TBits_1); inline;
  17135. begin
  17136. if thebits = 0 then
  17137. pTDefRegMap(@Self)^.clr := $00000800
  17138. else
  17139. pTDefRegMap(@Self)^.&set := $00000800;
  17140. end;
  17141. function TI2C1_I2C1111CON.getIPMIEN : TBits_1; inline;
  17142. begin
  17143. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17144. end;
  17145. procedure TI2C1_I2C1111CON.setI2CSIDL; inline;
  17146. begin
  17147. pTDefRegMap(@Self)^.&set := $00002000;
  17148. end;
  17149. procedure TI2C1_I2C1111CON.clearI2CSIDL; inline;
  17150. begin
  17151. pTDefRegMap(@Self)^.clr := $00002000;
  17152. end;
  17153. procedure TI2C1_I2C1111CON.setI2CSIDL(thebits : TBits_1); inline;
  17154. begin
  17155. if thebits = 0 then
  17156. pTDefRegMap(@Self)^.clr := $00002000
  17157. else
  17158. pTDefRegMap(@Self)^.&set := $00002000;
  17159. end;
  17160. function TI2C1_I2C1111CON.getI2CSIDL : TBits_1; inline;
  17161. begin
  17162. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17163. end;
  17164. procedure TI2C1_I2C1111CON.setI2CEN; inline;
  17165. begin
  17166. pTDefRegMap(@Self)^.&set := $00008000;
  17167. end;
  17168. procedure TI2C1_I2C1111CON.clearI2CEN; inline;
  17169. begin
  17170. pTDefRegMap(@Self)^.clr := $00008000;
  17171. end;
  17172. procedure TI2C1_I2C1111CON.setI2CEN(thebits : TBits_1); inline;
  17173. begin
  17174. if thebits = 0 then
  17175. pTDefRegMap(@Self)^.clr := $00008000
  17176. else
  17177. pTDefRegMap(@Self)^.&set := $00008000;
  17178. end;
  17179. function TI2C1_I2C1111CON.getI2CEN : TBits_1; inline;
  17180. begin
  17181. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17182. end;
  17183. procedure TI2C1_I2C1111CON.setw(thebits : TBits_32); inline;
  17184. begin
  17185. pTDefRegMap(@Self)^.val := thebits;
  17186. end;
  17187. function TI2C1_I2C1111CON.getw : TBits_32; inline;
  17188. begin
  17189. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17190. end;
  17191. procedure TI2C1_I2C1CON.setSEN; inline;
  17192. begin
  17193. pTDefRegMap(@Self)^.&set := $00000001;
  17194. end;
  17195. procedure TI2C1_I2C1CON.clearSEN; inline;
  17196. begin
  17197. pTDefRegMap(@Self)^.clr := $00000001;
  17198. end;
  17199. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  17200. begin
  17201. if thebits = 0 then
  17202. pTDefRegMap(@Self)^.clr := $00000001
  17203. else
  17204. pTDefRegMap(@Self)^.&set := $00000001;
  17205. end;
  17206. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  17207. begin
  17208. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17209. end;
  17210. procedure TI2C1_I2C1CON.setRSEN; inline;
  17211. begin
  17212. pTDefRegMap(@Self)^.&set := $00000002;
  17213. end;
  17214. procedure TI2C1_I2C1CON.clearRSEN; inline;
  17215. begin
  17216. pTDefRegMap(@Self)^.clr := $00000002;
  17217. end;
  17218. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  17219. begin
  17220. if thebits = 0 then
  17221. pTDefRegMap(@Self)^.clr := $00000002
  17222. else
  17223. pTDefRegMap(@Self)^.&set := $00000002;
  17224. end;
  17225. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  17226. begin
  17227. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17228. end;
  17229. procedure TI2C1_I2C1CON.setPEN; inline;
  17230. begin
  17231. pTDefRegMap(@Self)^.&set := $00000004;
  17232. end;
  17233. procedure TI2C1_I2C1CON.clearPEN; inline;
  17234. begin
  17235. pTDefRegMap(@Self)^.clr := $00000004;
  17236. end;
  17237. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  17238. begin
  17239. if thebits = 0 then
  17240. pTDefRegMap(@Self)^.clr := $00000004
  17241. else
  17242. pTDefRegMap(@Self)^.&set := $00000004;
  17243. end;
  17244. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  17245. begin
  17246. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17247. end;
  17248. procedure TI2C1_I2C1CON.setRCEN; inline;
  17249. begin
  17250. pTDefRegMap(@Self)^.&set := $00000008;
  17251. end;
  17252. procedure TI2C1_I2C1CON.clearRCEN; inline;
  17253. begin
  17254. pTDefRegMap(@Self)^.clr := $00000008;
  17255. end;
  17256. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  17257. begin
  17258. if thebits = 0 then
  17259. pTDefRegMap(@Self)^.clr := $00000008
  17260. else
  17261. pTDefRegMap(@Self)^.&set := $00000008;
  17262. end;
  17263. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  17264. begin
  17265. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17266. end;
  17267. procedure TI2C1_I2C1CON.setACKEN; inline;
  17268. begin
  17269. pTDefRegMap(@Self)^.&set := $00000010;
  17270. end;
  17271. procedure TI2C1_I2C1CON.clearACKEN; inline;
  17272. begin
  17273. pTDefRegMap(@Self)^.clr := $00000010;
  17274. end;
  17275. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  17276. begin
  17277. if thebits = 0 then
  17278. pTDefRegMap(@Self)^.clr := $00000010
  17279. else
  17280. pTDefRegMap(@Self)^.&set := $00000010;
  17281. end;
  17282. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  17283. begin
  17284. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17285. end;
  17286. procedure TI2C1_I2C1CON.setACKDT; inline;
  17287. begin
  17288. pTDefRegMap(@Self)^.&set := $00000020;
  17289. end;
  17290. procedure TI2C1_I2C1CON.clearACKDT; inline;
  17291. begin
  17292. pTDefRegMap(@Self)^.clr := $00000020;
  17293. end;
  17294. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  17295. begin
  17296. if thebits = 0 then
  17297. pTDefRegMap(@Self)^.clr := $00000020
  17298. else
  17299. pTDefRegMap(@Self)^.&set := $00000020;
  17300. end;
  17301. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  17302. begin
  17303. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17304. end;
  17305. procedure TI2C1_I2C1CON.setSTREN; inline;
  17306. begin
  17307. pTDefRegMap(@Self)^.&set := $00000040;
  17308. end;
  17309. procedure TI2C1_I2C1CON.clearSTREN; inline;
  17310. begin
  17311. pTDefRegMap(@Self)^.clr := $00000040;
  17312. end;
  17313. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  17314. begin
  17315. if thebits = 0 then
  17316. pTDefRegMap(@Self)^.clr := $00000040
  17317. else
  17318. pTDefRegMap(@Self)^.&set := $00000040;
  17319. end;
  17320. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  17321. begin
  17322. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17323. end;
  17324. procedure TI2C1_I2C1CON.setGCEN; inline;
  17325. begin
  17326. pTDefRegMap(@Self)^.&set := $00000080;
  17327. end;
  17328. procedure TI2C1_I2C1CON.clearGCEN; inline;
  17329. begin
  17330. pTDefRegMap(@Self)^.clr := $00000080;
  17331. end;
  17332. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  17333. begin
  17334. if thebits = 0 then
  17335. pTDefRegMap(@Self)^.clr := $00000080
  17336. else
  17337. pTDefRegMap(@Self)^.&set := $00000080;
  17338. end;
  17339. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  17340. begin
  17341. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17342. end;
  17343. procedure TI2C1_I2C1CON.setSMEN; inline;
  17344. begin
  17345. pTDefRegMap(@Self)^.&set := $00000100;
  17346. end;
  17347. procedure TI2C1_I2C1CON.clearSMEN; inline;
  17348. begin
  17349. pTDefRegMap(@Self)^.clr := $00000100;
  17350. end;
  17351. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  17352. begin
  17353. if thebits = 0 then
  17354. pTDefRegMap(@Self)^.clr := $00000100
  17355. else
  17356. pTDefRegMap(@Self)^.&set := $00000100;
  17357. end;
  17358. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  17359. begin
  17360. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17361. end;
  17362. procedure TI2C1_I2C1CON.setDISSLW; inline;
  17363. begin
  17364. pTDefRegMap(@Self)^.&set := $00000200;
  17365. end;
  17366. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  17367. begin
  17368. pTDefRegMap(@Self)^.clr := $00000200;
  17369. end;
  17370. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  17371. begin
  17372. if thebits = 0 then
  17373. pTDefRegMap(@Self)^.clr := $00000200
  17374. else
  17375. pTDefRegMap(@Self)^.&set := $00000200;
  17376. end;
  17377. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  17378. begin
  17379. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17380. end;
  17381. procedure TI2C1_I2C1CON.setA10M; inline;
  17382. begin
  17383. pTDefRegMap(@Self)^.&set := $00000400;
  17384. end;
  17385. procedure TI2C1_I2C1CON.clearA10M; inline;
  17386. begin
  17387. pTDefRegMap(@Self)^.clr := $00000400;
  17388. end;
  17389. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  17390. begin
  17391. if thebits = 0 then
  17392. pTDefRegMap(@Self)^.clr := $00000400
  17393. else
  17394. pTDefRegMap(@Self)^.&set := $00000400;
  17395. end;
  17396. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  17397. begin
  17398. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17399. end;
  17400. procedure TI2C1_I2C1CON.setSTRICT; inline;
  17401. begin
  17402. pTDefRegMap(@Self)^.&set := $00000800;
  17403. end;
  17404. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  17405. begin
  17406. pTDefRegMap(@Self)^.clr := $00000800;
  17407. end;
  17408. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  17409. begin
  17410. if thebits = 0 then
  17411. pTDefRegMap(@Self)^.clr := $00000800
  17412. else
  17413. pTDefRegMap(@Self)^.&set := $00000800;
  17414. end;
  17415. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  17416. begin
  17417. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17418. end;
  17419. procedure TI2C1_I2C1CON.setSCLREL; inline;
  17420. begin
  17421. pTDefRegMap(@Self)^.&set := $00001000;
  17422. end;
  17423. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  17424. begin
  17425. pTDefRegMap(@Self)^.clr := $00001000;
  17426. end;
  17427. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  17428. begin
  17429. if thebits = 0 then
  17430. pTDefRegMap(@Self)^.clr := $00001000
  17431. else
  17432. pTDefRegMap(@Self)^.&set := $00001000;
  17433. end;
  17434. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  17435. begin
  17436. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17437. end;
  17438. procedure TI2C1_I2C1CON.setSIDL; inline;
  17439. begin
  17440. pTDefRegMap(@Self)^.&set := $00002000;
  17441. end;
  17442. procedure TI2C1_I2C1CON.clearSIDL; inline;
  17443. begin
  17444. pTDefRegMap(@Self)^.clr := $00002000;
  17445. end;
  17446. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  17447. begin
  17448. if thebits = 0 then
  17449. pTDefRegMap(@Self)^.clr := $00002000
  17450. else
  17451. pTDefRegMap(@Self)^.&set := $00002000;
  17452. end;
  17453. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  17454. begin
  17455. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17456. end;
  17457. procedure TI2C1_I2C1CON.setON; inline;
  17458. begin
  17459. pTDefRegMap(@Self)^.&set := $00008000;
  17460. end;
  17461. procedure TI2C1_I2C1CON.clearON; inline;
  17462. begin
  17463. pTDefRegMap(@Self)^.clr := $00008000;
  17464. end;
  17465. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  17466. begin
  17467. if thebits = 0 then
  17468. pTDefRegMap(@Self)^.clr := $00008000
  17469. else
  17470. pTDefRegMap(@Self)^.&set := $00008000;
  17471. end;
  17472. function TI2C1_I2C1CON.getON : TBits_1; inline;
  17473. begin
  17474. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17475. end;
  17476. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  17477. begin
  17478. pTDefRegMap(@Self)^.&set := $00000800;
  17479. end;
  17480. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  17481. begin
  17482. pTDefRegMap(@Self)^.clr := $00000800;
  17483. end;
  17484. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  17485. begin
  17486. if thebits = 0 then
  17487. pTDefRegMap(@Self)^.clr := $00000800
  17488. else
  17489. pTDefRegMap(@Self)^.&set := $00000800;
  17490. end;
  17491. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  17492. begin
  17493. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17494. end;
  17495. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  17496. begin
  17497. pTDefRegMap(@Self)^.&set := $00002000;
  17498. end;
  17499. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  17500. begin
  17501. pTDefRegMap(@Self)^.clr := $00002000;
  17502. end;
  17503. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  17504. begin
  17505. if thebits = 0 then
  17506. pTDefRegMap(@Self)^.clr := $00002000
  17507. else
  17508. pTDefRegMap(@Self)^.&set := $00002000;
  17509. end;
  17510. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  17511. begin
  17512. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17513. end;
  17514. procedure TI2C1_I2C1CON.setI2CEN; inline;
  17515. begin
  17516. pTDefRegMap(@Self)^.&set := $00008000;
  17517. end;
  17518. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  17519. begin
  17520. pTDefRegMap(@Self)^.clr := $00008000;
  17521. end;
  17522. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  17523. begin
  17524. if thebits = 0 then
  17525. pTDefRegMap(@Self)^.clr := $00008000
  17526. else
  17527. pTDefRegMap(@Self)^.&set := $00008000;
  17528. end;
  17529. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  17530. begin
  17531. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17532. end;
  17533. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  17534. begin
  17535. pTDefRegMap(@Self)^.val := thebits;
  17536. end;
  17537. function TI2C1_I2C1CON.getw : TBits_32; inline;
  17538. begin
  17539. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17540. end;
  17541. procedure TI2C1_I2C1111STAT.setTBF; inline;
  17542. begin
  17543. pTDefRegMap(@Self)^.&set := $00000001;
  17544. end;
  17545. procedure TI2C1_I2C1111STAT.clearTBF; inline;
  17546. begin
  17547. pTDefRegMap(@Self)^.clr := $00000001;
  17548. end;
  17549. procedure TI2C1_I2C1111STAT.setTBF(thebits : TBits_1); inline;
  17550. begin
  17551. if thebits = 0 then
  17552. pTDefRegMap(@Self)^.clr := $00000001
  17553. else
  17554. pTDefRegMap(@Self)^.&set := $00000001;
  17555. end;
  17556. function TI2C1_I2C1111STAT.getTBF : TBits_1; inline;
  17557. begin
  17558. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17559. end;
  17560. procedure TI2C1_I2C1111STAT.setRBF; inline;
  17561. begin
  17562. pTDefRegMap(@Self)^.&set := $00000002;
  17563. end;
  17564. procedure TI2C1_I2C1111STAT.clearRBF; inline;
  17565. begin
  17566. pTDefRegMap(@Self)^.clr := $00000002;
  17567. end;
  17568. procedure TI2C1_I2C1111STAT.setRBF(thebits : TBits_1); inline;
  17569. begin
  17570. if thebits = 0 then
  17571. pTDefRegMap(@Self)^.clr := $00000002
  17572. else
  17573. pTDefRegMap(@Self)^.&set := $00000002;
  17574. end;
  17575. function TI2C1_I2C1111STAT.getRBF : TBits_1; inline;
  17576. begin
  17577. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17578. end;
  17579. procedure TI2C1_I2C1111STAT.setR_W; inline;
  17580. begin
  17581. pTDefRegMap(@Self)^.&set := $00000004;
  17582. end;
  17583. procedure TI2C1_I2C1111STAT.clearR_W; inline;
  17584. begin
  17585. pTDefRegMap(@Self)^.clr := $00000004;
  17586. end;
  17587. procedure TI2C1_I2C1111STAT.setR_W(thebits : TBits_1); inline;
  17588. begin
  17589. if thebits = 0 then
  17590. pTDefRegMap(@Self)^.clr := $00000004
  17591. else
  17592. pTDefRegMap(@Self)^.&set := $00000004;
  17593. end;
  17594. function TI2C1_I2C1111STAT.getR_W : TBits_1; inline;
  17595. begin
  17596. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17597. end;
  17598. procedure TI2C1_I2C1111STAT.setS; inline;
  17599. begin
  17600. pTDefRegMap(@Self)^.&set := $00000008;
  17601. end;
  17602. procedure TI2C1_I2C1111STAT.clearS; inline;
  17603. begin
  17604. pTDefRegMap(@Self)^.clr := $00000008;
  17605. end;
  17606. procedure TI2C1_I2C1111STAT.setS(thebits : TBits_1); inline;
  17607. begin
  17608. if thebits = 0 then
  17609. pTDefRegMap(@Self)^.clr := $00000008
  17610. else
  17611. pTDefRegMap(@Self)^.&set := $00000008;
  17612. end;
  17613. function TI2C1_I2C1111STAT.getS : TBits_1; inline;
  17614. begin
  17615. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17616. end;
  17617. procedure TI2C1_I2C1111STAT.setP; inline;
  17618. begin
  17619. pTDefRegMap(@Self)^.&set := $00000010;
  17620. end;
  17621. procedure TI2C1_I2C1111STAT.clearP; inline;
  17622. begin
  17623. pTDefRegMap(@Self)^.clr := $00000010;
  17624. end;
  17625. procedure TI2C1_I2C1111STAT.setP(thebits : TBits_1); inline;
  17626. begin
  17627. if thebits = 0 then
  17628. pTDefRegMap(@Self)^.clr := $00000010
  17629. else
  17630. pTDefRegMap(@Self)^.&set := $00000010;
  17631. end;
  17632. function TI2C1_I2C1111STAT.getP : TBits_1; inline;
  17633. begin
  17634. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17635. end;
  17636. procedure TI2C1_I2C1111STAT.setD_A; inline;
  17637. begin
  17638. pTDefRegMap(@Self)^.&set := $00000020;
  17639. end;
  17640. procedure TI2C1_I2C1111STAT.clearD_A; inline;
  17641. begin
  17642. pTDefRegMap(@Self)^.clr := $00000020;
  17643. end;
  17644. procedure TI2C1_I2C1111STAT.setD_A(thebits : TBits_1); inline;
  17645. begin
  17646. if thebits = 0 then
  17647. pTDefRegMap(@Self)^.clr := $00000020
  17648. else
  17649. pTDefRegMap(@Self)^.&set := $00000020;
  17650. end;
  17651. function TI2C1_I2C1111STAT.getD_A : TBits_1; inline;
  17652. begin
  17653. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17654. end;
  17655. procedure TI2C1_I2C1111STAT.setI2COV; inline;
  17656. begin
  17657. pTDefRegMap(@Self)^.&set := $00000040;
  17658. end;
  17659. procedure TI2C1_I2C1111STAT.clearI2COV; inline;
  17660. begin
  17661. pTDefRegMap(@Self)^.clr := $00000040;
  17662. end;
  17663. procedure TI2C1_I2C1111STAT.setI2COV(thebits : TBits_1); inline;
  17664. begin
  17665. if thebits = 0 then
  17666. pTDefRegMap(@Self)^.clr := $00000040
  17667. else
  17668. pTDefRegMap(@Self)^.&set := $00000040;
  17669. end;
  17670. function TI2C1_I2C1111STAT.getI2COV : TBits_1; inline;
  17671. begin
  17672. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17673. end;
  17674. procedure TI2C1_I2C1111STAT.setIWCOL; inline;
  17675. begin
  17676. pTDefRegMap(@Self)^.&set := $00000080;
  17677. end;
  17678. procedure TI2C1_I2C1111STAT.clearIWCOL; inline;
  17679. begin
  17680. pTDefRegMap(@Self)^.clr := $00000080;
  17681. end;
  17682. procedure TI2C1_I2C1111STAT.setIWCOL(thebits : TBits_1); inline;
  17683. begin
  17684. if thebits = 0 then
  17685. pTDefRegMap(@Self)^.clr := $00000080
  17686. else
  17687. pTDefRegMap(@Self)^.&set := $00000080;
  17688. end;
  17689. function TI2C1_I2C1111STAT.getIWCOL : TBits_1; inline;
  17690. begin
  17691. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17692. end;
  17693. procedure TI2C1_I2C1111STAT.setADD10; inline;
  17694. begin
  17695. pTDefRegMap(@Self)^.&set := $00000100;
  17696. end;
  17697. procedure TI2C1_I2C1111STAT.clearADD10; inline;
  17698. begin
  17699. pTDefRegMap(@Self)^.clr := $00000100;
  17700. end;
  17701. procedure TI2C1_I2C1111STAT.setADD10(thebits : TBits_1); inline;
  17702. begin
  17703. if thebits = 0 then
  17704. pTDefRegMap(@Self)^.clr := $00000100
  17705. else
  17706. pTDefRegMap(@Self)^.&set := $00000100;
  17707. end;
  17708. function TI2C1_I2C1111STAT.getADD10 : TBits_1; inline;
  17709. begin
  17710. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17711. end;
  17712. procedure TI2C1_I2C1111STAT.setGCSTAT; inline;
  17713. begin
  17714. pTDefRegMap(@Self)^.&set := $00000200;
  17715. end;
  17716. procedure TI2C1_I2C1111STAT.clearGCSTAT; inline;
  17717. begin
  17718. pTDefRegMap(@Self)^.clr := $00000200;
  17719. end;
  17720. procedure TI2C1_I2C1111STAT.setGCSTAT(thebits : TBits_1); inline;
  17721. begin
  17722. if thebits = 0 then
  17723. pTDefRegMap(@Self)^.clr := $00000200
  17724. else
  17725. pTDefRegMap(@Self)^.&set := $00000200;
  17726. end;
  17727. function TI2C1_I2C1111STAT.getGCSTAT : TBits_1; inline;
  17728. begin
  17729. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17730. end;
  17731. procedure TI2C1_I2C1111STAT.setBCL; inline;
  17732. begin
  17733. pTDefRegMap(@Self)^.&set := $00000400;
  17734. end;
  17735. procedure TI2C1_I2C1111STAT.clearBCL; inline;
  17736. begin
  17737. pTDefRegMap(@Self)^.clr := $00000400;
  17738. end;
  17739. procedure TI2C1_I2C1111STAT.setBCL(thebits : TBits_1); inline;
  17740. begin
  17741. if thebits = 0 then
  17742. pTDefRegMap(@Self)^.clr := $00000400
  17743. else
  17744. pTDefRegMap(@Self)^.&set := $00000400;
  17745. end;
  17746. function TI2C1_I2C1111STAT.getBCL : TBits_1; inline;
  17747. begin
  17748. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17749. end;
  17750. procedure TI2C1_I2C1111STAT.setTRSTAT; inline;
  17751. begin
  17752. pTDefRegMap(@Self)^.&set := $00004000;
  17753. end;
  17754. procedure TI2C1_I2C1111STAT.clearTRSTAT; inline;
  17755. begin
  17756. pTDefRegMap(@Self)^.clr := $00004000;
  17757. end;
  17758. procedure TI2C1_I2C1111STAT.setTRSTAT(thebits : TBits_1); inline;
  17759. begin
  17760. if thebits = 0 then
  17761. pTDefRegMap(@Self)^.clr := $00004000
  17762. else
  17763. pTDefRegMap(@Self)^.&set := $00004000;
  17764. end;
  17765. function TI2C1_I2C1111STAT.getTRSTAT : TBits_1; inline;
  17766. begin
  17767. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17768. end;
  17769. procedure TI2C1_I2C1111STAT.setACKSTAT; inline;
  17770. begin
  17771. pTDefRegMap(@Self)^.&set := $00008000;
  17772. end;
  17773. procedure TI2C1_I2C1111STAT.clearACKSTAT; inline;
  17774. begin
  17775. pTDefRegMap(@Self)^.clr := $00008000;
  17776. end;
  17777. procedure TI2C1_I2C1111STAT.setACKSTAT(thebits : TBits_1); inline;
  17778. begin
  17779. if thebits = 0 then
  17780. pTDefRegMap(@Self)^.clr := $00008000
  17781. else
  17782. pTDefRegMap(@Self)^.&set := $00008000;
  17783. end;
  17784. function TI2C1_I2C1111STAT.getACKSTAT : TBits_1; inline;
  17785. begin
  17786. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17787. end;
  17788. procedure TI2C1_I2C1111STAT.setI2CPOV; inline;
  17789. begin
  17790. pTDefRegMap(@Self)^.&set := $00000040;
  17791. end;
  17792. procedure TI2C1_I2C1111STAT.clearI2CPOV; inline;
  17793. begin
  17794. pTDefRegMap(@Self)^.clr := $00000040;
  17795. end;
  17796. procedure TI2C1_I2C1111STAT.setI2CPOV(thebits : TBits_1); inline;
  17797. begin
  17798. if thebits = 0 then
  17799. pTDefRegMap(@Self)^.clr := $00000040
  17800. else
  17801. pTDefRegMap(@Self)^.&set := $00000040;
  17802. end;
  17803. function TI2C1_I2C1111STAT.getI2CPOV : TBits_1; inline;
  17804. begin
  17805. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17806. end;
  17807. procedure TI2C1_I2C1111STAT.setw(thebits : TBits_32); inline;
  17808. begin
  17809. pTDefRegMap(@Self)^.val := thebits;
  17810. end;
  17811. function TI2C1_I2C1111STAT.getw : TBits_32; inline;
  17812. begin
  17813. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17814. end;
  17815. procedure TI2C1_I2C1STAT.setTBF; inline;
  17816. begin
  17817. pTDefRegMap(@Self)^.&set := $00000001;
  17818. end;
  17819. procedure TI2C1_I2C1STAT.clearTBF; inline;
  17820. begin
  17821. pTDefRegMap(@Self)^.clr := $00000001;
  17822. end;
  17823. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  17824. begin
  17825. if thebits = 0 then
  17826. pTDefRegMap(@Self)^.clr := $00000001
  17827. else
  17828. pTDefRegMap(@Self)^.&set := $00000001;
  17829. end;
  17830. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  17831. begin
  17832. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17833. end;
  17834. procedure TI2C1_I2C1STAT.setRBF; inline;
  17835. begin
  17836. pTDefRegMap(@Self)^.&set := $00000002;
  17837. end;
  17838. procedure TI2C1_I2C1STAT.clearRBF; inline;
  17839. begin
  17840. pTDefRegMap(@Self)^.clr := $00000002;
  17841. end;
  17842. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  17843. begin
  17844. if thebits = 0 then
  17845. pTDefRegMap(@Self)^.clr := $00000002
  17846. else
  17847. pTDefRegMap(@Self)^.&set := $00000002;
  17848. end;
  17849. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  17850. begin
  17851. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17852. end;
  17853. procedure TI2C1_I2C1STAT.setR_W; inline;
  17854. begin
  17855. pTDefRegMap(@Self)^.&set := $00000004;
  17856. end;
  17857. procedure TI2C1_I2C1STAT.clearR_W; inline;
  17858. begin
  17859. pTDefRegMap(@Self)^.clr := $00000004;
  17860. end;
  17861. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  17862. begin
  17863. if thebits = 0 then
  17864. pTDefRegMap(@Self)^.clr := $00000004
  17865. else
  17866. pTDefRegMap(@Self)^.&set := $00000004;
  17867. end;
  17868. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  17869. begin
  17870. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17871. end;
  17872. procedure TI2C1_I2C1STAT.setS; inline;
  17873. begin
  17874. pTDefRegMap(@Self)^.&set := $00000008;
  17875. end;
  17876. procedure TI2C1_I2C1STAT.clearS; inline;
  17877. begin
  17878. pTDefRegMap(@Self)^.clr := $00000008;
  17879. end;
  17880. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  17881. begin
  17882. if thebits = 0 then
  17883. pTDefRegMap(@Self)^.clr := $00000008
  17884. else
  17885. pTDefRegMap(@Self)^.&set := $00000008;
  17886. end;
  17887. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  17888. begin
  17889. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17890. end;
  17891. procedure TI2C1_I2C1STAT.setP; inline;
  17892. begin
  17893. pTDefRegMap(@Self)^.&set := $00000010;
  17894. end;
  17895. procedure TI2C1_I2C1STAT.clearP; inline;
  17896. begin
  17897. pTDefRegMap(@Self)^.clr := $00000010;
  17898. end;
  17899. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  17900. begin
  17901. if thebits = 0 then
  17902. pTDefRegMap(@Self)^.clr := $00000010
  17903. else
  17904. pTDefRegMap(@Self)^.&set := $00000010;
  17905. end;
  17906. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  17907. begin
  17908. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17909. end;
  17910. procedure TI2C1_I2C1STAT.setD_A; inline;
  17911. begin
  17912. pTDefRegMap(@Self)^.&set := $00000020;
  17913. end;
  17914. procedure TI2C1_I2C1STAT.clearD_A; inline;
  17915. begin
  17916. pTDefRegMap(@Self)^.clr := $00000020;
  17917. end;
  17918. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  17919. begin
  17920. if thebits = 0 then
  17921. pTDefRegMap(@Self)^.clr := $00000020
  17922. else
  17923. pTDefRegMap(@Self)^.&set := $00000020;
  17924. end;
  17925. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  17926. begin
  17927. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17928. end;
  17929. procedure TI2C1_I2C1STAT.setI2COV; inline;
  17930. begin
  17931. pTDefRegMap(@Self)^.&set := $00000040;
  17932. end;
  17933. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  17934. begin
  17935. pTDefRegMap(@Self)^.clr := $00000040;
  17936. end;
  17937. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  17938. begin
  17939. if thebits = 0 then
  17940. pTDefRegMap(@Self)^.clr := $00000040
  17941. else
  17942. pTDefRegMap(@Self)^.&set := $00000040;
  17943. end;
  17944. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  17945. begin
  17946. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17947. end;
  17948. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  17949. begin
  17950. pTDefRegMap(@Self)^.&set := $00000080;
  17951. end;
  17952. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  17953. begin
  17954. pTDefRegMap(@Self)^.clr := $00000080;
  17955. end;
  17956. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  17957. begin
  17958. if thebits = 0 then
  17959. pTDefRegMap(@Self)^.clr := $00000080
  17960. else
  17961. pTDefRegMap(@Self)^.&set := $00000080;
  17962. end;
  17963. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  17964. begin
  17965. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17966. end;
  17967. procedure TI2C1_I2C1STAT.setADD10; inline;
  17968. begin
  17969. pTDefRegMap(@Self)^.&set := $00000100;
  17970. end;
  17971. procedure TI2C1_I2C1STAT.clearADD10; inline;
  17972. begin
  17973. pTDefRegMap(@Self)^.clr := $00000100;
  17974. end;
  17975. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  17976. begin
  17977. if thebits = 0 then
  17978. pTDefRegMap(@Self)^.clr := $00000100
  17979. else
  17980. pTDefRegMap(@Self)^.&set := $00000100;
  17981. end;
  17982. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  17983. begin
  17984. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17985. end;
  17986. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  17987. begin
  17988. pTDefRegMap(@Self)^.&set := $00000200;
  17989. end;
  17990. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  17991. begin
  17992. pTDefRegMap(@Self)^.clr := $00000200;
  17993. end;
  17994. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  17995. begin
  17996. if thebits = 0 then
  17997. pTDefRegMap(@Self)^.clr := $00000200
  17998. else
  17999. pTDefRegMap(@Self)^.&set := $00000200;
  18000. end;
  18001. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  18002. begin
  18003. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18004. end;
  18005. procedure TI2C1_I2C1STAT.setBCL; inline;
  18006. begin
  18007. pTDefRegMap(@Self)^.&set := $00000400;
  18008. end;
  18009. procedure TI2C1_I2C1STAT.clearBCL; inline;
  18010. begin
  18011. pTDefRegMap(@Self)^.clr := $00000400;
  18012. end;
  18013. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  18014. begin
  18015. if thebits = 0 then
  18016. pTDefRegMap(@Self)^.clr := $00000400
  18017. else
  18018. pTDefRegMap(@Self)^.&set := $00000400;
  18019. end;
  18020. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  18021. begin
  18022. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18023. end;
  18024. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  18025. begin
  18026. pTDefRegMap(@Self)^.&set := $00004000;
  18027. end;
  18028. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  18029. begin
  18030. pTDefRegMap(@Self)^.clr := $00004000;
  18031. end;
  18032. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  18033. begin
  18034. if thebits = 0 then
  18035. pTDefRegMap(@Self)^.clr := $00004000
  18036. else
  18037. pTDefRegMap(@Self)^.&set := $00004000;
  18038. end;
  18039. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  18040. begin
  18041. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18042. end;
  18043. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  18044. begin
  18045. pTDefRegMap(@Self)^.&set := $00008000;
  18046. end;
  18047. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  18048. begin
  18049. pTDefRegMap(@Self)^.clr := $00008000;
  18050. end;
  18051. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  18052. begin
  18053. if thebits = 0 then
  18054. pTDefRegMap(@Self)^.clr := $00008000
  18055. else
  18056. pTDefRegMap(@Self)^.&set := $00008000;
  18057. end;
  18058. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  18059. begin
  18060. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18061. end;
  18062. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  18063. begin
  18064. pTDefRegMap(@Self)^.&set := $00000040;
  18065. end;
  18066. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  18067. begin
  18068. pTDefRegMap(@Self)^.clr := $00000040;
  18069. end;
  18070. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  18071. begin
  18072. if thebits = 0 then
  18073. pTDefRegMap(@Self)^.clr := $00000040
  18074. else
  18075. pTDefRegMap(@Self)^.&set := $00000040;
  18076. end;
  18077. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  18078. begin
  18079. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18080. end;
  18081. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  18082. begin
  18083. pTDefRegMap(@Self)^.val := thebits;
  18084. end;
  18085. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  18086. begin
  18087. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18088. end;
  18089. procedure TI2C2_I2C2CON.setSEN; inline;
  18090. begin
  18091. pTDefRegMap(@Self)^.&set := $00000001;
  18092. end;
  18093. procedure TI2C2_I2C2CON.clearSEN; inline;
  18094. begin
  18095. pTDefRegMap(@Self)^.clr := $00000001;
  18096. end;
  18097. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  18098. begin
  18099. if thebits = 0 then
  18100. pTDefRegMap(@Self)^.clr := $00000001
  18101. else
  18102. pTDefRegMap(@Self)^.&set := $00000001;
  18103. end;
  18104. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  18105. begin
  18106. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18107. end;
  18108. procedure TI2C2_I2C2CON.setRSEN; inline;
  18109. begin
  18110. pTDefRegMap(@Self)^.&set := $00000002;
  18111. end;
  18112. procedure TI2C2_I2C2CON.clearRSEN; inline;
  18113. begin
  18114. pTDefRegMap(@Self)^.clr := $00000002;
  18115. end;
  18116. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  18117. begin
  18118. if thebits = 0 then
  18119. pTDefRegMap(@Self)^.clr := $00000002
  18120. else
  18121. pTDefRegMap(@Self)^.&set := $00000002;
  18122. end;
  18123. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  18124. begin
  18125. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18126. end;
  18127. procedure TI2C2_I2C2CON.setPEN; inline;
  18128. begin
  18129. pTDefRegMap(@Self)^.&set := $00000004;
  18130. end;
  18131. procedure TI2C2_I2C2CON.clearPEN; inline;
  18132. begin
  18133. pTDefRegMap(@Self)^.clr := $00000004;
  18134. end;
  18135. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  18136. begin
  18137. if thebits = 0 then
  18138. pTDefRegMap(@Self)^.clr := $00000004
  18139. else
  18140. pTDefRegMap(@Self)^.&set := $00000004;
  18141. end;
  18142. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  18143. begin
  18144. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18145. end;
  18146. procedure TI2C2_I2C2CON.setRCEN; inline;
  18147. begin
  18148. pTDefRegMap(@Self)^.&set := $00000008;
  18149. end;
  18150. procedure TI2C2_I2C2CON.clearRCEN; inline;
  18151. begin
  18152. pTDefRegMap(@Self)^.clr := $00000008;
  18153. end;
  18154. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  18155. begin
  18156. if thebits = 0 then
  18157. pTDefRegMap(@Self)^.clr := $00000008
  18158. else
  18159. pTDefRegMap(@Self)^.&set := $00000008;
  18160. end;
  18161. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  18162. begin
  18163. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18164. end;
  18165. procedure TI2C2_I2C2CON.setACKEN; inline;
  18166. begin
  18167. pTDefRegMap(@Self)^.&set := $00000010;
  18168. end;
  18169. procedure TI2C2_I2C2CON.clearACKEN; inline;
  18170. begin
  18171. pTDefRegMap(@Self)^.clr := $00000010;
  18172. end;
  18173. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  18174. begin
  18175. if thebits = 0 then
  18176. pTDefRegMap(@Self)^.clr := $00000010
  18177. else
  18178. pTDefRegMap(@Self)^.&set := $00000010;
  18179. end;
  18180. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  18181. begin
  18182. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18183. end;
  18184. procedure TI2C2_I2C2CON.setACKDT; inline;
  18185. begin
  18186. pTDefRegMap(@Self)^.&set := $00000020;
  18187. end;
  18188. procedure TI2C2_I2C2CON.clearACKDT; inline;
  18189. begin
  18190. pTDefRegMap(@Self)^.clr := $00000020;
  18191. end;
  18192. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  18193. begin
  18194. if thebits = 0 then
  18195. pTDefRegMap(@Self)^.clr := $00000020
  18196. else
  18197. pTDefRegMap(@Self)^.&set := $00000020;
  18198. end;
  18199. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  18200. begin
  18201. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18202. end;
  18203. procedure TI2C2_I2C2CON.setSTREN; inline;
  18204. begin
  18205. pTDefRegMap(@Self)^.&set := $00000040;
  18206. end;
  18207. procedure TI2C2_I2C2CON.clearSTREN; inline;
  18208. begin
  18209. pTDefRegMap(@Self)^.clr := $00000040;
  18210. end;
  18211. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  18212. begin
  18213. if thebits = 0 then
  18214. pTDefRegMap(@Self)^.clr := $00000040
  18215. else
  18216. pTDefRegMap(@Self)^.&set := $00000040;
  18217. end;
  18218. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  18219. begin
  18220. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18221. end;
  18222. procedure TI2C2_I2C2CON.setGCEN; inline;
  18223. begin
  18224. pTDefRegMap(@Self)^.&set := $00000080;
  18225. end;
  18226. procedure TI2C2_I2C2CON.clearGCEN; inline;
  18227. begin
  18228. pTDefRegMap(@Self)^.clr := $00000080;
  18229. end;
  18230. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  18231. begin
  18232. if thebits = 0 then
  18233. pTDefRegMap(@Self)^.clr := $00000080
  18234. else
  18235. pTDefRegMap(@Self)^.&set := $00000080;
  18236. end;
  18237. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  18238. begin
  18239. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18240. end;
  18241. procedure TI2C2_I2C2CON.setSMEN; inline;
  18242. begin
  18243. pTDefRegMap(@Self)^.&set := $00000100;
  18244. end;
  18245. procedure TI2C2_I2C2CON.clearSMEN; inline;
  18246. begin
  18247. pTDefRegMap(@Self)^.clr := $00000100;
  18248. end;
  18249. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  18250. begin
  18251. if thebits = 0 then
  18252. pTDefRegMap(@Self)^.clr := $00000100
  18253. else
  18254. pTDefRegMap(@Self)^.&set := $00000100;
  18255. end;
  18256. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  18257. begin
  18258. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18259. end;
  18260. procedure TI2C2_I2C2CON.setDISSLW; inline;
  18261. begin
  18262. pTDefRegMap(@Self)^.&set := $00000200;
  18263. end;
  18264. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  18265. begin
  18266. pTDefRegMap(@Self)^.clr := $00000200;
  18267. end;
  18268. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  18269. begin
  18270. if thebits = 0 then
  18271. pTDefRegMap(@Self)^.clr := $00000200
  18272. else
  18273. pTDefRegMap(@Self)^.&set := $00000200;
  18274. end;
  18275. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  18276. begin
  18277. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18278. end;
  18279. procedure TI2C2_I2C2CON.setA10M; inline;
  18280. begin
  18281. pTDefRegMap(@Self)^.&set := $00000400;
  18282. end;
  18283. procedure TI2C2_I2C2CON.clearA10M; inline;
  18284. begin
  18285. pTDefRegMap(@Self)^.clr := $00000400;
  18286. end;
  18287. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  18288. begin
  18289. if thebits = 0 then
  18290. pTDefRegMap(@Self)^.clr := $00000400
  18291. else
  18292. pTDefRegMap(@Self)^.&set := $00000400;
  18293. end;
  18294. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  18295. begin
  18296. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18297. end;
  18298. procedure TI2C2_I2C2CON.setSTRICT; inline;
  18299. begin
  18300. pTDefRegMap(@Self)^.&set := $00000800;
  18301. end;
  18302. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  18303. begin
  18304. pTDefRegMap(@Self)^.clr := $00000800;
  18305. end;
  18306. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  18307. begin
  18308. if thebits = 0 then
  18309. pTDefRegMap(@Self)^.clr := $00000800
  18310. else
  18311. pTDefRegMap(@Self)^.&set := $00000800;
  18312. end;
  18313. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  18314. begin
  18315. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18316. end;
  18317. procedure TI2C2_I2C2CON.setSCLREL; inline;
  18318. begin
  18319. pTDefRegMap(@Self)^.&set := $00001000;
  18320. end;
  18321. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  18322. begin
  18323. pTDefRegMap(@Self)^.clr := $00001000;
  18324. end;
  18325. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  18326. begin
  18327. if thebits = 0 then
  18328. pTDefRegMap(@Self)^.clr := $00001000
  18329. else
  18330. pTDefRegMap(@Self)^.&set := $00001000;
  18331. end;
  18332. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  18333. begin
  18334. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18335. end;
  18336. procedure TI2C2_I2C2CON.setSIDL; inline;
  18337. begin
  18338. pTDefRegMap(@Self)^.&set := $00002000;
  18339. end;
  18340. procedure TI2C2_I2C2CON.clearSIDL; inline;
  18341. begin
  18342. pTDefRegMap(@Self)^.clr := $00002000;
  18343. end;
  18344. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  18345. begin
  18346. if thebits = 0 then
  18347. pTDefRegMap(@Self)^.clr := $00002000
  18348. else
  18349. pTDefRegMap(@Self)^.&set := $00002000;
  18350. end;
  18351. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  18352. begin
  18353. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18354. end;
  18355. procedure TI2C2_I2C2CON.setON; inline;
  18356. begin
  18357. pTDefRegMap(@Self)^.&set := $00008000;
  18358. end;
  18359. procedure TI2C2_I2C2CON.clearON; inline;
  18360. begin
  18361. pTDefRegMap(@Self)^.clr := $00008000;
  18362. end;
  18363. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  18364. begin
  18365. if thebits = 0 then
  18366. pTDefRegMap(@Self)^.clr := $00008000
  18367. else
  18368. pTDefRegMap(@Self)^.&set := $00008000;
  18369. end;
  18370. function TI2C2_I2C2CON.getON : TBits_1; inline;
  18371. begin
  18372. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18373. end;
  18374. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  18375. begin
  18376. pTDefRegMap(@Self)^.&set := $00000800;
  18377. end;
  18378. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  18379. begin
  18380. pTDefRegMap(@Self)^.clr := $00000800;
  18381. end;
  18382. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  18383. begin
  18384. if thebits = 0 then
  18385. pTDefRegMap(@Self)^.clr := $00000800
  18386. else
  18387. pTDefRegMap(@Self)^.&set := $00000800;
  18388. end;
  18389. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  18390. begin
  18391. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18392. end;
  18393. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  18394. begin
  18395. pTDefRegMap(@Self)^.&set := $00002000;
  18396. end;
  18397. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  18398. begin
  18399. pTDefRegMap(@Self)^.clr := $00002000;
  18400. end;
  18401. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  18402. begin
  18403. if thebits = 0 then
  18404. pTDefRegMap(@Self)^.clr := $00002000
  18405. else
  18406. pTDefRegMap(@Self)^.&set := $00002000;
  18407. end;
  18408. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  18409. begin
  18410. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18411. end;
  18412. procedure TI2C2_I2C2CON.setI2CEN; inline;
  18413. begin
  18414. pTDefRegMap(@Self)^.&set := $00008000;
  18415. end;
  18416. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  18417. begin
  18418. pTDefRegMap(@Self)^.clr := $00008000;
  18419. end;
  18420. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  18421. begin
  18422. if thebits = 0 then
  18423. pTDefRegMap(@Self)^.clr := $00008000
  18424. else
  18425. pTDefRegMap(@Self)^.&set := $00008000;
  18426. end;
  18427. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  18428. begin
  18429. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18430. end;
  18431. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  18432. begin
  18433. pTDefRegMap(@Self)^.val := thebits;
  18434. end;
  18435. function TI2C2_I2C2CON.getw : TBits_32; inline;
  18436. begin
  18437. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18438. end;
  18439. procedure TI2C2_I2CABCON.setSEN; inline;
  18440. begin
  18441. pTDefRegMap(@Self)^.&set := $00000001;
  18442. end;
  18443. procedure TI2C2_I2CABCON.clearSEN; inline;
  18444. begin
  18445. pTDefRegMap(@Self)^.clr := $00000001;
  18446. end;
  18447. procedure TI2C2_I2CABCON.setSEN(thebits : TBits_1); inline;
  18448. begin
  18449. if thebits = 0 then
  18450. pTDefRegMap(@Self)^.clr := $00000001
  18451. else
  18452. pTDefRegMap(@Self)^.&set := $00000001;
  18453. end;
  18454. function TI2C2_I2CABCON.getSEN : TBits_1; inline;
  18455. begin
  18456. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18457. end;
  18458. procedure TI2C2_I2CABCON.setRSEN; inline;
  18459. begin
  18460. pTDefRegMap(@Self)^.&set := $00000002;
  18461. end;
  18462. procedure TI2C2_I2CABCON.clearRSEN; inline;
  18463. begin
  18464. pTDefRegMap(@Self)^.clr := $00000002;
  18465. end;
  18466. procedure TI2C2_I2CABCON.setRSEN(thebits : TBits_1); inline;
  18467. begin
  18468. if thebits = 0 then
  18469. pTDefRegMap(@Self)^.clr := $00000002
  18470. else
  18471. pTDefRegMap(@Self)^.&set := $00000002;
  18472. end;
  18473. function TI2C2_I2CABCON.getRSEN : TBits_1; inline;
  18474. begin
  18475. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18476. end;
  18477. procedure TI2C2_I2CABCON.setPEN; inline;
  18478. begin
  18479. pTDefRegMap(@Self)^.&set := $00000004;
  18480. end;
  18481. procedure TI2C2_I2CABCON.clearPEN; inline;
  18482. begin
  18483. pTDefRegMap(@Self)^.clr := $00000004;
  18484. end;
  18485. procedure TI2C2_I2CABCON.setPEN(thebits : TBits_1); inline;
  18486. begin
  18487. if thebits = 0 then
  18488. pTDefRegMap(@Self)^.clr := $00000004
  18489. else
  18490. pTDefRegMap(@Self)^.&set := $00000004;
  18491. end;
  18492. function TI2C2_I2CABCON.getPEN : TBits_1; inline;
  18493. begin
  18494. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18495. end;
  18496. procedure TI2C2_I2CABCON.setRCEN; inline;
  18497. begin
  18498. pTDefRegMap(@Self)^.&set := $00000008;
  18499. end;
  18500. procedure TI2C2_I2CABCON.clearRCEN; inline;
  18501. begin
  18502. pTDefRegMap(@Self)^.clr := $00000008;
  18503. end;
  18504. procedure TI2C2_I2CABCON.setRCEN(thebits : TBits_1); inline;
  18505. begin
  18506. if thebits = 0 then
  18507. pTDefRegMap(@Self)^.clr := $00000008
  18508. else
  18509. pTDefRegMap(@Self)^.&set := $00000008;
  18510. end;
  18511. function TI2C2_I2CABCON.getRCEN : TBits_1; inline;
  18512. begin
  18513. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18514. end;
  18515. procedure TI2C2_I2CABCON.setACKEN; inline;
  18516. begin
  18517. pTDefRegMap(@Self)^.&set := $00000010;
  18518. end;
  18519. procedure TI2C2_I2CABCON.clearACKEN; inline;
  18520. begin
  18521. pTDefRegMap(@Self)^.clr := $00000010;
  18522. end;
  18523. procedure TI2C2_I2CABCON.setACKEN(thebits : TBits_1); inline;
  18524. begin
  18525. if thebits = 0 then
  18526. pTDefRegMap(@Self)^.clr := $00000010
  18527. else
  18528. pTDefRegMap(@Self)^.&set := $00000010;
  18529. end;
  18530. function TI2C2_I2CABCON.getACKEN : TBits_1; inline;
  18531. begin
  18532. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18533. end;
  18534. procedure TI2C2_I2CABCON.setACKDT; inline;
  18535. begin
  18536. pTDefRegMap(@Self)^.&set := $00000020;
  18537. end;
  18538. procedure TI2C2_I2CABCON.clearACKDT; inline;
  18539. begin
  18540. pTDefRegMap(@Self)^.clr := $00000020;
  18541. end;
  18542. procedure TI2C2_I2CABCON.setACKDT(thebits : TBits_1); inline;
  18543. begin
  18544. if thebits = 0 then
  18545. pTDefRegMap(@Self)^.clr := $00000020
  18546. else
  18547. pTDefRegMap(@Self)^.&set := $00000020;
  18548. end;
  18549. function TI2C2_I2CABCON.getACKDT : TBits_1; inline;
  18550. begin
  18551. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18552. end;
  18553. procedure TI2C2_I2CABCON.setSTREN; inline;
  18554. begin
  18555. pTDefRegMap(@Self)^.&set := $00000040;
  18556. end;
  18557. procedure TI2C2_I2CABCON.clearSTREN; inline;
  18558. begin
  18559. pTDefRegMap(@Self)^.clr := $00000040;
  18560. end;
  18561. procedure TI2C2_I2CABCON.setSTREN(thebits : TBits_1); inline;
  18562. begin
  18563. if thebits = 0 then
  18564. pTDefRegMap(@Self)^.clr := $00000040
  18565. else
  18566. pTDefRegMap(@Self)^.&set := $00000040;
  18567. end;
  18568. function TI2C2_I2CABCON.getSTREN : TBits_1; inline;
  18569. begin
  18570. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18571. end;
  18572. procedure TI2C2_I2CABCON.setGCEN; inline;
  18573. begin
  18574. pTDefRegMap(@Self)^.&set := $00000080;
  18575. end;
  18576. procedure TI2C2_I2CABCON.clearGCEN; inline;
  18577. begin
  18578. pTDefRegMap(@Self)^.clr := $00000080;
  18579. end;
  18580. procedure TI2C2_I2CABCON.setGCEN(thebits : TBits_1); inline;
  18581. begin
  18582. if thebits = 0 then
  18583. pTDefRegMap(@Self)^.clr := $00000080
  18584. else
  18585. pTDefRegMap(@Self)^.&set := $00000080;
  18586. end;
  18587. function TI2C2_I2CABCON.getGCEN : TBits_1; inline;
  18588. begin
  18589. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18590. end;
  18591. procedure TI2C2_I2CABCON.setSMEN; inline;
  18592. begin
  18593. pTDefRegMap(@Self)^.&set := $00000100;
  18594. end;
  18595. procedure TI2C2_I2CABCON.clearSMEN; inline;
  18596. begin
  18597. pTDefRegMap(@Self)^.clr := $00000100;
  18598. end;
  18599. procedure TI2C2_I2CABCON.setSMEN(thebits : TBits_1); inline;
  18600. begin
  18601. if thebits = 0 then
  18602. pTDefRegMap(@Self)^.clr := $00000100
  18603. else
  18604. pTDefRegMap(@Self)^.&set := $00000100;
  18605. end;
  18606. function TI2C2_I2CABCON.getSMEN : TBits_1; inline;
  18607. begin
  18608. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18609. end;
  18610. procedure TI2C2_I2CABCON.setDISSLW; inline;
  18611. begin
  18612. pTDefRegMap(@Self)^.&set := $00000200;
  18613. end;
  18614. procedure TI2C2_I2CABCON.clearDISSLW; inline;
  18615. begin
  18616. pTDefRegMap(@Self)^.clr := $00000200;
  18617. end;
  18618. procedure TI2C2_I2CABCON.setDISSLW(thebits : TBits_1); inline;
  18619. begin
  18620. if thebits = 0 then
  18621. pTDefRegMap(@Self)^.clr := $00000200
  18622. else
  18623. pTDefRegMap(@Self)^.&set := $00000200;
  18624. end;
  18625. function TI2C2_I2CABCON.getDISSLW : TBits_1; inline;
  18626. begin
  18627. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18628. end;
  18629. procedure TI2C2_I2CABCON.setA10M; inline;
  18630. begin
  18631. pTDefRegMap(@Self)^.&set := $00000400;
  18632. end;
  18633. procedure TI2C2_I2CABCON.clearA10M; inline;
  18634. begin
  18635. pTDefRegMap(@Self)^.clr := $00000400;
  18636. end;
  18637. procedure TI2C2_I2CABCON.setA10M(thebits : TBits_1); inline;
  18638. begin
  18639. if thebits = 0 then
  18640. pTDefRegMap(@Self)^.clr := $00000400
  18641. else
  18642. pTDefRegMap(@Self)^.&set := $00000400;
  18643. end;
  18644. function TI2C2_I2CABCON.getA10M : TBits_1; inline;
  18645. begin
  18646. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18647. end;
  18648. procedure TI2C2_I2CABCON.setSTRICT; inline;
  18649. begin
  18650. pTDefRegMap(@Self)^.&set := $00000800;
  18651. end;
  18652. procedure TI2C2_I2CABCON.clearSTRICT; inline;
  18653. begin
  18654. pTDefRegMap(@Self)^.clr := $00000800;
  18655. end;
  18656. procedure TI2C2_I2CABCON.setSTRICT(thebits : TBits_1); inline;
  18657. begin
  18658. if thebits = 0 then
  18659. pTDefRegMap(@Self)^.clr := $00000800
  18660. else
  18661. pTDefRegMap(@Self)^.&set := $00000800;
  18662. end;
  18663. function TI2C2_I2CABCON.getSTRICT : TBits_1; inline;
  18664. begin
  18665. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18666. end;
  18667. procedure TI2C2_I2CABCON.setSCLREL; inline;
  18668. begin
  18669. pTDefRegMap(@Self)^.&set := $00001000;
  18670. end;
  18671. procedure TI2C2_I2CABCON.clearSCLREL; inline;
  18672. begin
  18673. pTDefRegMap(@Self)^.clr := $00001000;
  18674. end;
  18675. procedure TI2C2_I2CABCON.setSCLREL(thebits : TBits_1); inline;
  18676. begin
  18677. if thebits = 0 then
  18678. pTDefRegMap(@Self)^.clr := $00001000
  18679. else
  18680. pTDefRegMap(@Self)^.&set := $00001000;
  18681. end;
  18682. function TI2C2_I2CABCON.getSCLREL : TBits_1; inline;
  18683. begin
  18684. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18685. end;
  18686. procedure TI2C2_I2CABCON.setSIDL; inline;
  18687. begin
  18688. pTDefRegMap(@Self)^.&set := $00002000;
  18689. end;
  18690. procedure TI2C2_I2CABCON.clearSIDL; inline;
  18691. begin
  18692. pTDefRegMap(@Self)^.clr := $00002000;
  18693. end;
  18694. procedure TI2C2_I2CABCON.setSIDL(thebits : TBits_1); inline;
  18695. begin
  18696. if thebits = 0 then
  18697. pTDefRegMap(@Self)^.clr := $00002000
  18698. else
  18699. pTDefRegMap(@Self)^.&set := $00002000;
  18700. end;
  18701. function TI2C2_I2CABCON.getSIDL : TBits_1; inline;
  18702. begin
  18703. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18704. end;
  18705. procedure TI2C2_I2CABCON.setON; inline;
  18706. begin
  18707. pTDefRegMap(@Self)^.&set := $00008000;
  18708. end;
  18709. procedure TI2C2_I2CABCON.clearON; inline;
  18710. begin
  18711. pTDefRegMap(@Self)^.clr := $00008000;
  18712. end;
  18713. procedure TI2C2_I2CABCON.setON(thebits : TBits_1); inline;
  18714. begin
  18715. if thebits = 0 then
  18716. pTDefRegMap(@Self)^.clr := $00008000
  18717. else
  18718. pTDefRegMap(@Self)^.&set := $00008000;
  18719. end;
  18720. function TI2C2_I2CABCON.getON : TBits_1; inline;
  18721. begin
  18722. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18723. end;
  18724. procedure TI2C2_I2CABCON.setIPMIEN; inline;
  18725. begin
  18726. pTDefRegMap(@Self)^.&set := $00000800;
  18727. end;
  18728. procedure TI2C2_I2CABCON.clearIPMIEN; inline;
  18729. begin
  18730. pTDefRegMap(@Self)^.clr := $00000800;
  18731. end;
  18732. procedure TI2C2_I2CABCON.setIPMIEN(thebits : TBits_1); inline;
  18733. begin
  18734. if thebits = 0 then
  18735. pTDefRegMap(@Self)^.clr := $00000800
  18736. else
  18737. pTDefRegMap(@Self)^.&set := $00000800;
  18738. end;
  18739. function TI2C2_I2CABCON.getIPMIEN : TBits_1; inline;
  18740. begin
  18741. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18742. end;
  18743. procedure TI2C2_I2CABCON.setI2CSIDL; inline;
  18744. begin
  18745. pTDefRegMap(@Self)^.&set := $00002000;
  18746. end;
  18747. procedure TI2C2_I2CABCON.clearI2CSIDL; inline;
  18748. begin
  18749. pTDefRegMap(@Self)^.clr := $00002000;
  18750. end;
  18751. procedure TI2C2_I2CABCON.setI2CSIDL(thebits : TBits_1); inline;
  18752. begin
  18753. if thebits = 0 then
  18754. pTDefRegMap(@Self)^.clr := $00002000
  18755. else
  18756. pTDefRegMap(@Self)^.&set := $00002000;
  18757. end;
  18758. function TI2C2_I2CABCON.getI2CSIDL : TBits_1; inline;
  18759. begin
  18760. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18761. end;
  18762. procedure TI2C2_I2CABCON.setI2CEN; inline;
  18763. begin
  18764. pTDefRegMap(@Self)^.&set := $00008000;
  18765. end;
  18766. procedure TI2C2_I2CABCON.clearI2CEN; inline;
  18767. begin
  18768. pTDefRegMap(@Self)^.clr := $00008000;
  18769. end;
  18770. procedure TI2C2_I2CABCON.setI2CEN(thebits : TBits_1); inline;
  18771. begin
  18772. if thebits = 0 then
  18773. pTDefRegMap(@Self)^.clr := $00008000
  18774. else
  18775. pTDefRegMap(@Self)^.&set := $00008000;
  18776. end;
  18777. function TI2C2_I2CABCON.getI2CEN : TBits_1; inline;
  18778. begin
  18779. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18780. end;
  18781. procedure TI2C2_I2CABCON.setw(thebits : TBits_32); inline;
  18782. begin
  18783. pTDefRegMap(@Self)^.val := thebits;
  18784. end;
  18785. function TI2C2_I2CABCON.getw : TBits_32; inline;
  18786. begin
  18787. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18788. end;
  18789. procedure TI2C2_I2C2STAT.setTBF; inline;
  18790. begin
  18791. pTDefRegMap(@Self)^.&set := $00000001;
  18792. end;
  18793. procedure TI2C2_I2C2STAT.clearTBF; inline;
  18794. begin
  18795. pTDefRegMap(@Self)^.clr := $00000001;
  18796. end;
  18797. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  18798. begin
  18799. if thebits = 0 then
  18800. pTDefRegMap(@Self)^.clr := $00000001
  18801. else
  18802. pTDefRegMap(@Self)^.&set := $00000001;
  18803. end;
  18804. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  18805. begin
  18806. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18807. end;
  18808. procedure TI2C2_I2C2STAT.setRBF; inline;
  18809. begin
  18810. pTDefRegMap(@Self)^.&set := $00000002;
  18811. end;
  18812. procedure TI2C2_I2C2STAT.clearRBF; inline;
  18813. begin
  18814. pTDefRegMap(@Self)^.clr := $00000002;
  18815. end;
  18816. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  18817. begin
  18818. if thebits = 0 then
  18819. pTDefRegMap(@Self)^.clr := $00000002
  18820. else
  18821. pTDefRegMap(@Self)^.&set := $00000002;
  18822. end;
  18823. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  18824. begin
  18825. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18826. end;
  18827. procedure TI2C2_I2C2STAT.setR_W; inline;
  18828. begin
  18829. pTDefRegMap(@Self)^.&set := $00000004;
  18830. end;
  18831. procedure TI2C2_I2C2STAT.clearR_W; inline;
  18832. begin
  18833. pTDefRegMap(@Self)^.clr := $00000004;
  18834. end;
  18835. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  18836. begin
  18837. if thebits = 0 then
  18838. pTDefRegMap(@Self)^.clr := $00000004
  18839. else
  18840. pTDefRegMap(@Self)^.&set := $00000004;
  18841. end;
  18842. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  18843. begin
  18844. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18845. end;
  18846. procedure TI2C2_I2C2STAT.setS; inline;
  18847. begin
  18848. pTDefRegMap(@Self)^.&set := $00000008;
  18849. end;
  18850. procedure TI2C2_I2C2STAT.clearS; inline;
  18851. begin
  18852. pTDefRegMap(@Self)^.clr := $00000008;
  18853. end;
  18854. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  18855. begin
  18856. if thebits = 0 then
  18857. pTDefRegMap(@Self)^.clr := $00000008
  18858. else
  18859. pTDefRegMap(@Self)^.&set := $00000008;
  18860. end;
  18861. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  18862. begin
  18863. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18864. end;
  18865. procedure TI2C2_I2C2STAT.setP; inline;
  18866. begin
  18867. pTDefRegMap(@Self)^.&set := $00000010;
  18868. end;
  18869. procedure TI2C2_I2C2STAT.clearP; inline;
  18870. begin
  18871. pTDefRegMap(@Self)^.clr := $00000010;
  18872. end;
  18873. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  18874. begin
  18875. if thebits = 0 then
  18876. pTDefRegMap(@Self)^.clr := $00000010
  18877. else
  18878. pTDefRegMap(@Self)^.&set := $00000010;
  18879. end;
  18880. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  18881. begin
  18882. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18883. end;
  18884. procedure TI2C2_I2C2STAT.setD_A; inline;
  18885. begin
  18886. pTDefRegMap(@Self)^.&set := $00000020;
  18887. end;
  18888. procedure TI2C2_I2C2STAT.clearD_A; inline;
  18889. begin
  18890. pTDefRegMap(@Self)^.clr := $00000020;
  18891. end;
  18892. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  18893. begin
  18894. if thebits = 0 then
  18895. pTDefRegMap(@Self)^.clr := $00000020
  18896. else
  18897. pTDefRegMap(@Self)^.&set := $00000020;
  18898. end;
  18899. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  18900. begin
  18901. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18902. end;
  18903. procedure TI2C2_I2C2STAT.setI2COV; inline;
  18904. begin
  18905. pTDefRegMap(@Self)^.&set := $00000040;
  18906. end;
  18907. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  18908. begin
  18909. pTDefRegMap(@Self)^.clr := $00000040;
  18910. end;
  18911. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  18912. begin
  18913. if thebits = 0 then
  18914. pTDefRegMap(@Self)^.clr := $00000040
  18915. else
  18916. pTDefRegMap(@Self)^.&set := $00000040;
  18917. end;
  18918. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  18919. begin
  18920. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18921. end;
  18922. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  18923. begin
  18924. pTDefRegMap(@Self)^.&set := $00000080;
  18925. end;
  18926. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  18927. begin
  18928. pTDefRegMap(@Self)^.clr := $00000080;
  18929. end;
  18930. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  18931. begin
  18932. if thebits = 0 then
  18933. pTDefRegMap(@Self)^.clr := $00000080
  18934. else
  18935. pTDefRegMap(@Self)^.&set := $00000080;
  18936. end;
  18937. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  18938. begin
  18939. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18940. end;
  18941. procedure TI2C2_I2C2STAT.setADD10; inline;
  18942. begin
  18943. pTDefRegMap(@Self)^.&set := $00000100;
  18944. end;
  18945. procedure TI2C2_I2C2STAT.clearADD10; inline;
  18946. begin
  18947. pTDefRegMap(@Self)^.clr := $00000100;
  18948. end;
  18949. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  18950. begin
  18951. if thebits = 0 then
  18952. pTDefRegMap(@Self)^.clr := $00000100
  18953. else
  18954. pTDefRegMap(@Self)^.&set := $00000100;
  18955. end;
  18956. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  18957. begin
  18958. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18959. end;
  18960. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  18961. begin
  18962. pTDefRegMap(@Self)^.&set := $00000200;
  18963. end;
  18964. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  18965. begin
  18966. pTDefRegMap(@Self)^.clr := $00000200;
  18967. end;
  18968. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  18969. begin
  18970. if thebits = 0 then
  18971. pTDefRegMap(@Self)^.clr := $00000200
  18972. else
  18973. pTDefRegMap(@Self)^.&set := $00000200;
  18974. end;
  18975. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  18976. begin
  18977. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18978. end;
  18979. procedure TI2C2_I2C2STAT.setBCL; inline;
  18980. begin
  18981. pTDefRegMap(@Self)^.&set := $00000400;
  18982. end;
  18983. procedure TI2C2_I2C2STAT.clearBCL; inline;
  18984. begin
  18985. pTDefRegMap(@Self)^.clr := $00000400;
  18986. end;
  18987. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  18988. begin
  18989. if thebits = 0 then
  18990. pTDefRegMap(@Self)^.clr := $00000400
  18991. else
  18992. pTDefRegMap(@Self)^.&set := $00000400;
  18993. end;
  18994. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  18995. begin
  18996. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18997. end;
  18998. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  18999. begin
  19000. pTDefRegMap(@Self)^.&set := $00004000;
  19001. end;
  19002. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  19003. begin
  19004. pTDefRegMap(@Self)^.clr := $00004000;
  19005. end;
  19006. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  19007. begin
  19008. if thebits = 0 then
  19009. pTDefRegMap(@Self)^.clr := $00004000
  19010. else
  19011. pTDefRegMap(@Self)^.&set := $00004000;
  19012. end;
  19013. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  19014. begin
  19015. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19016. end;
  19017. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  19018. begin
  19019. pTDefRegMap(@Self)^.&set := $00008000;
  19020. end;
  19021. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  19022. begin
  19023. pTDefRegMap(@Self)^.clr := $00008000;
  19024. end;
  19025. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  19026. begin
  19027. if thebits = 0 then
  19028. pTDefRegMap(@Self)^.clr := $00008000
  19029. else
  19030. pTDefRegMap(@Self)^.&set := $00008000;
  19031. end;
  19032. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  19033. begin
  19034. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19035. end;
  19036. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  19037. begin
  19038. pTDefRegMap(@Self)^.&set := $00000040;
  19039. end;
  19040. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  19041. begin
  19042. pTDefRegMap(@Self)^.clr := $00000040;
  19043. end;
  19044. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  19045. begin
  19046. if thebits = 0 then
  19047. pTDefRegMap(@Self)^.clr := $00000040
  19048. else
  19049. pTDefRegMap(@Self)^.&set := $00000040;
  19050. end;
  19051. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  19052. begin
  19053. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19054. end;
  19055. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  19056. begin
  19057. pTDefRegMap(@Self)^.val := thebits;
  19058. end;
  19059. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  19060. begin
  19061. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19062. end;
  19063. procedure TI2C2_I2CABSTAT.setTBF; inline;
  19064. begin
  19065. pTDefRegMap(@Self)^.&set := $00000001;
  19066. end;
  19067. procedure TI2C2_I2CABSTAT.clearTBF; inline;
  19068. begin
  19069. pTDefRegMap(@Self)^.clr := $00000001;
  19070. end;
  19071. procedure TI2C2_I2CABSTAT.setTBF(thebits : TBits_1); inline;
  19072. begin
  19073. if thebits = 0 then
  19074. pTDefRegMap(@Self)^.clr := $00000001
  19075. else
  19076. pTDefRegMap(@Self)^.&set := $00000001;
  19077. end;
  19078. function TI2C2_I2CABSTAT.getTBF : TBits_1; inline;
  19079. begin
  19080. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19081. end;
  19082. procedure TI2C2_I2CABSTAT.setRBF; inline;
  19083. begin
  19084. pTDefRegMap(@Self)^.&set := $00000002;
  19085. end;
  19086. procedure TI2C2_I2CABSTAT.clearRBF; inline;
  19087. begin
  19088. pTDefRegMap(@Self)^.clr := $00000002;
  19089. end;
  19090. procedure TI2C2_I2CABSTAT.setRBF(thebits : TBits_1); inline;
  19091. begin
  19092. if thebits = 0 then
  19093. pTDefRegMap(@Self)^.clr := $00000002
  19094. else
  19095. pTDefRegMap(@Self)^.&set := $00000002;
  19096. end;
  19097. function TI2C2_I2CABSTAT.getRBF : TBits_1; inline;
  19098. begin
  19099. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19100. end;
  19101. procedure TI2C2_I2CABSTAT.setR_W; inline;
  19102. begin
  19103. pTDefRegMap(@Self)^.&set := $00000004;
  19104. end;
  19105. procedure TI2C2_I2CABSTAT.clearR_W; inline;
  19106. begin
  19107. pTDefRegMap(@Self)^.clr := $00000004;
  19108. end;
  19109. procedure TI2C2_I2CABSTAT.setR_W(thebits : TBits_1); inline;
  19110. begin
  19111. if thebits = 0 then
  19112. pTDefRegMap(@Self)^.clr := $00000004
  19113. else
  19114. pTDefRegMap(@Self)^.&set := $00000004;
  19115. end;
  19116. function TI2C2_I2CABSTAT.getR_W : TBits_1; inline;
  19117. begin
  19118. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19119. end;
  19120. procedure TI2C2_I2CABSTAT.setS; inline;
  19121. begin
  19122. pTDefRegMap(@Self)^.&set := $00000008;
  19123. end;
  19124. procedure TI2C2_I2CABSTAT.clearS; inline;
  19125. begin
  19126. pTDefRegMap(@Self)^.clr := $00000008;
  19127. end;
  19128. procedure TI2C2_I2CABSTAT.setS(thebits : TBits_1); inline;
  19129. begin
  19130. if thebits = 0 then
  19131. pTDefRegMap(@Self)^.clr := $00000008
  19132. else
  19133. pTDefRegMap(@Self)^.&set := $00000008;
  19134. end;
  19135. function TI2C2_I2CABSTAT.getS : TBits_1; inline;
  19136. begin
  19137. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19138. end;
  19139. procedure TI2C2_I2CABSTAT.setP; inline;
  19140. begin
  19141. pTDefRegMap(@Self)^.&set := $00000010;
  19142. end;
  19143. procedure TI2C2_I2CABSTAT.clearP; inline;
  19144. begin
  19145. pTDefRegMap(@Self)^.clr := $00000010;
  19146. end;
  19147. procedure TI2C2_I2CABSTAT.setP(thebits : TBits_1); inline;
  19148. begin
  19149. if thebits = 0 then
  19150. pTDefRegMap(@Self)^.clr := $00000010
  19151. else
  19152. pTDefRegMap(@Self)^.&set := $00000010;
  19153. end;
  19154. function TI2C2_I2CABSTAT.getP : TBits_1; inline;
  19155. begin
  19156. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19157. end;
  19158. procedure TI2C2_I2CABSTAT.setD_A; inline;
  19159. begin
  19160. pTDefRegMap(@Self)^.&set := $00000020;
  19161. end;
  19162. procedure TI2C2_I2CABSTAT.clearD_A; inline;
  19163. begin
  19164. pTDefRegMap(@Self)^.clr := $00000020;
  19165. end;
  19166. procedure TI2C2_I2CABSTAT.setD_A(thebits : TBits_1); inline;
  19167. begin
  19168. if thebits = 0 then
  19169. pTDefRegMap(@Self)^.clr := $00000020
  19170. else
  19171. pTDefRegMap(@Self)^.&set := $00000020;
  19172. end;
  19173. function TI2C2_I2CABSTAT.getD_A : TBits_1; inline;
  19174. begin
  19175. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19176. end;
  19177. procedure TI2C2_I2CABSTAT.setI2COV; inline;
  19178. begin
  19179. pTDefRegMap(@Self)^.&set := $00000040;
  19180. end;
  19181. procedure TI2C2_I2CABSTAT.clearI2COV; inline;
  19182. begin
  19183. pTDefRegMap(@Self)^.clr := $00000040;
  19184. end;
  19185. procedure TI2C2_I2CABSTAT.setI2COV(thebits : TBits_1); inline;
  19186. begin
  19187. if thebits = 0 then
  19188. pTDefRegMap(@Self)^.clr := $00000040
  19189. else
  19190. pTDefRegMap(@Self)^.&set := $00000040;
  19191. end;
  19192. function TI2C2_I2CABSTAT.getI2COV : TBits_1; inline;
  19193. begin
  19194. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19195. end;
  19196. procedure TI2C2_I2CABSTAT.setIWCOL; inline;
  19197. begin
  19198. pTDefRegMap(@Self)^.&set := $00000080;
  19199. end;
  19200. procedure TI2C2_I2CABSTAT.clearIWCOL; inline;
  19201. begin
  19202. pTDefRegMap(@Self)^.clr := $00000080;
  19203. end;
  19204. procedure TI2C2_I2CABSTAT.setIWCOL(thebits : TBits_1); inline;
  19205. begin
  19206. if thebits = 0 then
  19207. pTDefRegMap(@Self)^.clr := $00000080
  19208. else
  19209. pTDefRegMap(@Self)^.&set := $00000080;
  19210. end;
  19211. function TI2C2_I2CABSTAT.getIWCOL : TBits_1; inline;
  19212. begin
  19213. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19214. end;
  19215. procedure TI2C2_I2CABSTAT.setADD10; inline;
  19216. begin
  19217. pTDefRegMap(@Self)^.&set := $00000100;
  19218. end;
  19219. procedure TI2C2_I2CABSTAT.clearADD10; inline;
  19220. begin
  19221. pTDefRegMap(@Self)^.clr := $00000100;
  19222. end;
  19223. procedure TI2C2_I2CABSTAT.setADD10(thebits : TBits_1); inline;
  19224. begin
  19225. if thebits = 0 then
  19226. pTDefRegMap(@Self)^.clr := $00000100
  19227. else
  19228. pTDefRegMap(@Self)^.&set := $00000100;
  19229. end;
  19230. function TI2C2_I2CABSTAT.getADD10 : TBits_1; inline;
  19231. begin
  19232. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19233. end;
  19234. procedure TI2C2_I2CABSTAT.setGCSTAT; inline;
  19235. begin
  19236. pTDefRegMap(@Self)^.&set := $00000200;
  19237. end;
  19238. procedure TI2C2_I2CABSTAT.clearGCSTAT; inline;
  19239. begin
  19240. pTDefRegMap(@Self)^.clr := $00000200;
  19241. end;
  19242. procedure TI2C2_I2CABSTAT.setGCSTAT(thebits : TBits_1); inline;
  19243. begin
  19244. if thebits = 0 then
  19245. pTDefRegMap(@Self)^.clr := $00000200
  19246. else
  19247. pTDefRegMap(@Self)^.&set := $00000200;
  19248. end;
  19249. function TI2C2_I2CABSTAT.getGCSTAT : TBits_1; inline;
  19250. begin
  19251. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19252. end;
  19253. procedure TI2C2_I2CABSTAT.setBCL; inline;
  19254. begin
  19255. pTDefRegMap(@Self)^.&set := $00000400;
  19256. end;
  19257. procedure TI2C2_I2CABSTAT.clearBCL; inline;
  19258. begin
  19259. pTDefRegMap(@Self)^.clr := $00000400;
  19260. end;
  19261. procedure TI2C2_I2CABSTAT.setBCL(thebits : TBits_1); inline;
  19262. begin
  19263. if thebits = 0 then
  19264. pTDefRegMap(@Self)^.clr := $00000400
  19265. else
  19266. pTDefRegMap(@Self)^.&set := $00000400;
  19267. end;
  19268. function TI2C2_I2CABSTAT.getBCL : TBits_1; inline;
  19269. begin
  19270. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19271. end;
  19272. procedure TI2C2_I2CABSTAT.setTRSTAT; inline;
  19273. begin
  19274. pTDefRegMap(@Self)^.&set := $00004000;
  19275. end;
  19276. procedure TI2C2_I2CABSTAT.clearTRSTAT; inline;
  19277. begin
  19278. pTDefRegMap(@Self)^.clr := $00004000;
  19279. end;
  19280. procedure TI2C2_I2CABSTAT.setTRSTAT(thebits : TBits_1); inline;
  19281. begin
  19282. if thebits = 0 then
  19283. pTDefRegMap(@Self)^.clr := $00004000
  19284. else
  19285. pTDefRegMap(@Self)^.&set := $00004000;
  19286. end;
  19287. function TI2C2_I2CABSTAT.getTRSTAT : TBits_1; inline;
  19288. begin
  19289. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19290. end;
  19291. procedure TI2C2_I2CABSTAT.setACKSTAT; inline;
  19292. begin
  19293. pTDefRegMap(@Self)^.&set := $00008000;
  19294. end;
  19295. procedure TI2C2_I2CABSTAT.clearACKSTAT; inline;
  19296. begin
  19297. pTDefRegMap(@Self)^.clr := $00008000;
  19298. end;
  19299. procedure TI2C2_I2CABSTAT.setACKSTAT(thebits : TBits_1); inline;
  19300. begin
  19301. if thebits = 0 then
  19302. pTDefRegMap(@Self)^.clr := $00008000
  19303. else
  19304. pTDefRegMap(@Self)^.&set := $00008000;
  19305. end;
  19306. function TI2C2_I2CABSTAT.getACKSTAT : TBits_1; inline;
  19307. begin
  19308. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19309. end;
  19310. procedure TI2C2_I2CABSTAT.setI2CPOV; inline;
  19311. begin
  19312. pTDefRegMap(@Self)^.&set := $00000040;
  19313. end;
  19314. procedure TI2C2_I2CABSTAT.clearI2CPOV; inline;
  19315. begin
  19316. pTDefRegMap(@Self)^.clr := $00000040;
  19317. end;
  19318. procedure TI2C2_I2CABSTAT.setI2CPOV(thebits : TBits_1); inline;
  19319. begin
  19320. if thebits = 0 then
  19321. pTDefRegMap(@Self)^.clr := $00000040
  19322. else
  19323. pTDefRegMap(@Self)^.&set := $00000040;
  19324. end;
  19325. function TI2C2_I2CABSTAT.getI2CPOV : TBits_1; inline;
  19326. begin
  19327. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19328. end;
  19329. procedure TI2C2_I2CABSTAT.setw(thebits : TBits_32); inline;
  19330. begin
  19331. pTDefRegMap(@Self)^.val := thebits;
  19332. end;
  19333. function TI2C2_I2CABSTAT.getw : TBits_32; inline;
  19334. begin
  19335. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19336. end;
  19337. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  19338. begin
  19339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19340. end;
  19341. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  19342. begin
  19343. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19344. end;
  19345. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  19346. begin
  19347. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  19348. end;
  19349. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  19350. begin
  19351. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  19352. end;
  19353. procedure TSPI1_SPI1CON.setDISSDI; inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.&set := $00000010;
  19356. end;
  19357. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  19358. begin
  19359. pTDefRegMap(@Self)^.clr := $00000010;
  19360. end;
  19361. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  19362. begin
  19363. if thebits = 0 then
  19364. pTDefRegMap(@Self)^.clr := $00000010
  19365. else
  19366. pTDefRegMap(@Self)^.&set := $00000010;
  19367. end;
  19368. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  19369. begin
  19370. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19371. end;
  19372. procedure TSPI1_SPI1CON.setMSTEN; inline;
  19373. begin
  19374. pTDefRegMap(@Self)^.&set := $00000020;
  19375. end;
  19376. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  19377. begin
  19378. pTDefRegMap(@Self)^.clr := $00000020;
  19379. end;
  19380. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  19381. begin
  19382. if thebits = 0 then
  19383. pTDefRegMap(@Self)^.clr := $00000020
  19384. else
  19385. pTDefRegMap(@Self)^.&set := $00000020;
  19386. end;
  19387. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  19388. begin
  19389. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19390. end;
  19391. procedure TSPI1_SPI1CON.setCKP; inline;
  19392. begin
  19393. pTDefRegMap(@Self)^.&set := $00000040;
  19394. end;
  19395. procedure TSPI1_SPI1CON.clearCKP; inline;
  19396. begin
  19397. pTDefRegMap(@Self)^.clr := $00000040;
  19398. end;
  19399. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  19400. begin
  19401. if thebits = 0 then
  19402. pTDefRegMap(@Self)^.clr := $00000040
  19403. else
  19404. pTDefRegMap(@Self)^.&set := $00000040;
  19405. end;
  19406. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  19407. begin
  19408. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19409. end;
  19410. procedure TSPI1_SPI1CON.setSSEN; inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.&set := $00000080;
  19413. end;
  19414. procedure TSPI1_SPI1CON.clearSSEN; inline;
  19415. begin
  19416. pTDefRegMap(@Self)^.clr := $00000080;
  19417. end;
  19418. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  19419. begin
  19420. if thebits = 0 then
  19421. pTDefRegMap(@Self)^.clr := $00000080
  19422. else
  19423. pTDefRegMap(@Self)^.&set := $00000080;
  19424. end;
  19425. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  19426. begin
  19427. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19428. end;
  19429. procedure TSPI1_SPI1CON.setCKE; inline;
  19430. begin
  19431. pTDefRegMap(@Self)^.&set := $00000100;
  19432. end;
  19433. procedure TSPI1_SPI1CON.clearCKE; inline;
  19434. begin
  19435. pTDefRegMap(@Self)^.clr := $00000100;
  19436. end;
  19437. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  19438. begin
  19439. if thebits = 0 then
  19440. pTDefRegMap(@Self)^.clr := $00000100
  19441. else
  19442. pTDefRegMap(@Self)^.&set := $00000100;
  19443. end;
  19444. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  19445. begin
  19446. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19447. end;
  19448. procedure TSPI1_SPI1CON.setSMP; inline;
  19449. begin
  19450. pTDefRegMap(@Self)^.&set := $00000200;
  19451. end;
  19452. procedure TSPI1_SPI1CON.clearSMP; inline;
  19453. begin
  19454. pTDefRegMap(@Self)^.clr := $00000200;
  19455. end;
  19456. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  19457. begin
  19458. if thebits = 0 then
  19459. pTDefRegMap(@Self)^.clr := $00000200
  19460. else
  19461. pTDefRegMap(@Self)^.&set := $00000200;
  19462. end;
  19463. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  19464. begin
  19465. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19466. end;
  19467. procedure TSPI1_SPI1CON.setMODE16; inline;
  19468. begin
  19469. pTDefRegMap(@Self)^.&set := $00000400;
  19470. end;
  19471. procedure TSPI1_SPI1CON.clearMODE16; inline;
  19472. begin
  19473. pTDefRegMap(@Self)^.clr := $00000400;
  19474. end;
  19475. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  19476. begin
  19477. if thebits = 0 then
  19478. pTDefRegMap(@Self)^.clr := $00000400
  19479. else
  19480. pTDefRegMap(@Self)^.&set := $00000400;
  19481. end;
  19482. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  19483. begin
  19484. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19485. end;
  19486. procedure TSPI1_SPI1CON.setMODE32; inline;
  19487. begin
  19488. pTDefRegMap(@Self)^.&set := $00000800;
  19489. end;
  19490. procedure TSPI1_SPI1CON.clearMODE32; inline;
  19491. begin
  19492. pTDefRegMap(@Self)^.clr := $00000800;
  19493. end;
  19494. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  19495. begin
  19496. if thebits = 0 then
  19497. pTDefRegMap(@Self)^.clr := $00000800
  19498. else
  19499. pTDefRegMap(@Self)^.&set := $00000800;
  19500. end;
  19501. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  19502. begin
  19503. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19504. end;
  19505. procedure TSPI1_SPI1CON.setDISSDO; inline;
  19506. begin
  19507. pTDefRegMap(@Self)^.&set := $00001000;
  19508. end;
  19509. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  19510. begin
  19511. pTDefRegMap(@Self)^.clr := $00001000;
  19512. end;
  19513. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  19514. begin
  19515. if thebits = 0 then
  19516. pTDefRegMap(@Self)^.clr := $00001000
  19517. else
  19518. pTDefRegMap(@Self)^.&set := $00001000;
  19519. end;
  19520. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  19521. begin
  19522. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19523. end;
  19524. procedure TSPI1_SPI1CON.setSIDL; inline;
  19525. begin
  19526. pTDefRegMap(@Self)^.&set := $00002000;
  19527. end;
  19528. procedure TSPI1_SPI1CON.clearSIDL; inline;
  19529. begin
  19530. pTDefRegMap(@Self)^.clr := $00002000;
  19531. end;
  19532. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  19533. begin
  19534. if thebits = 0 then
  19535. pTDefRegMap(@Self)^.clr := $00002000
  19536. else
  19537. pTDefRegMap(@Self)^.&set := $00002000;
  19538. end;
  19539. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  19540. begin
  19541. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19542. end;
  19543. procedure TSPI1_SPI1CON.setON; inline;
  19544. begin
  19545. pTDefRegMap(@Self)^.&set := $00008000;
  19546. end;
  19547. procedure TSPI1_SPI1CON.clearON; inline;
  19548. begin
  19549. pTDefRegMap(@Self)^.clr := $00008000;
  19550. end;
  19551. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  19552. begin
  19553. if thebits = 0 then
  19554. pTDefRegMap(@Self)^.clr := $00008000
  19555. else
  19556. pTDefRegMap(@Self)^.&set := $00008000;
  19557. end;
  19558. function TSPI1_SPI1CON.getON : TBits_1; inline;
  19559. begin
  19560. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19561. end;
  19562. procedure TSPI1_SPI1CON.setENHBUF; inline;
  19563. begin
  19564. pTDefRegMap(@Self)^.&set := $00010000;
  19565. end;
  19566. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  19567. begin
  19568. pTDefRegMap(@Self)^.clr := $00010000;
  19569. end;
  19570. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  19571. begin
  19572. if thebits = 0 then
  19573. pTDefRegMap(@Self)^.clr := $00010000
  19574. else
  19575. pTDefRegMap(@Self)^.&set := $00010000;
  19576. end;
  19577. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  19578. begin
  19579. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19580. end;
  19581. procedure TSPI1_SPI1CON.setSPIFE; inline;
  19582. begin
  19583. pTDefRegMap(@Self)^.&set := $00020000;
  19584. end;
  19585. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  19586. begin
  19587. pTDefRegMap(@Self)^.clr := $00020000;
  19588. end;
  19589. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  19590. begin
  19591. if thebits = 0 then
  19592. pTDefRegMap(@Self)^.clr := $00020000
  19593. else
  19594. pTDefRegMap(@Self)^.&set := $00020000;
  19595. end;
  19596. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  19597. begin
  19598. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  19599. end;
  19600. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  19601. begin
  19602. pTDefRegMap(@Self)^.&set := $00800000;
  19603. end;
  19604. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  19605. begin
  19606. pTDefRegMap(@Self)^.clr := $00800000;
  19607. end;
  19608. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  19609. begin
  19610. if thebits = 0 then
  19611. pTDefRegMap(@Self)^.clr := $00800000
  19612. else
  19613. pTDefRegMap(@Self)^.&set := $00800000;
  19614. end;
  19615. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  19616. begin
  19617. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  19618. end;
  19619. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  19620. begin
  19621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  19622. end;
  19623. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  19624. begin
  19625. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  19626. end;
  19627. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  19628. begin
  19629. pTDefRegMap(@Self)^.&set := $08000000;
  19630. end;
  19631. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  19632. begin
  19633. pTDefRegMap(@Self)^.clr := $08000000;
  19634. end;
  19635. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  19636. begin
  19637. if thebits = 0 then
  19638. pTDefRegMap(@Self)^.clr := $08000000
  19639. else
  19640. pTDefRegMap(@Self)^.&set := $08000000;
  19641. end;
  19642. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  19643. begin
  19644. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  19645. end;
  19646. procedure TSPI1_SPI1CON.setMSSEN; inline;
  19647. begin
  19648. pTDefRegMap(@Self)^.&set := $10000000;
  19649. end;
  19650. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  19651. begin
  19652. pTDefRegMap(@Self)^.clr := $10000000;
  19653. end;
  19654. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  19655. begin
  19656. if thebits = 0 then
  19657. pTDefRegMap(@Self)^.clr := $10000000
  19658. else
  19659. pTDefRegMap(@Self)^.&set := $10000000;
  19660. end;
  19661. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  19662. begin
  19663. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  19664. end;
  19665. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  19666. begin
  19667. pTDefRegMap(@Self)^.&set := $20000000;
  19668. end;
  19669. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  19670. begin
  19671. pTDefRegMap(@Self)^.clr := $20000000;
  19672. end;
  19673. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  19674. begin
  19675. if thebits = 0 then
  19676. pTDefRegMap(@Self)^.clr := $20000000
  19677. else
  19678. pTDefRegMap(@Self)^.&set := $20000000;
  19679. end;
  19680. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  19681. begin
  19682. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  19683. end;
  19684. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  19685. begin
  19686. pTDefRegMap(@Self)^.&set := $40000000;
  19687. end;
  19688. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  19689. begin
  19690. pTDefRegMap(@Self)^.clr := $40000000;
  19691. end;
  19692. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  19693. begin
  19694. if thebits = 0 then
  19695. pTDefRegMap(@Self)^.clr := $40000000
  19696. else
  19697. pTDefRegMap(@Self)^.&set := $40000000;
  19698. end;
  19699. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  19700. begin
  19701. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  19702. end;
  19703. procedure TSPI1_SPI1CON.setFRMEN; inline;
  19704. begin
  19705. pTDefRegMap(@Self)^.&set := $80000000;
  19706. end;
  19707. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  19708. begin
  19709. pTDefRegMap(@Self)^.clr := $80000000;
  19710. end;
  19711. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  19712. begin
  19713. if thebits = 0 then
  19714. pTDefRegMap(@Self)^.clr := $80000000
  19715. else
  19716. pTDefRegMap(@Self)^.&set := $80000000;
  19717. end;
  19718. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  19719. begin
  19720. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  19721. end;
  19722. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  19723. begin
  19724. pTDefRegMap(@Self)^.val := thebits;
  19725. end;
  19726. function TSPI1_SPI1CON.getw : TBits_32; inline;
  19727. begin
  19728. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19729. end;
  19730. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  19731. begin
  19732. pTDefRegMap(@Self)^.&set := $00000001;
  19733. end;
  19734. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  19735. begin
  19736. pTDefRegMap(@Self)^.clr := $00000001;
  19737. end;
  19738. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  19739. begin
  19740. if thebits = 0 then
  19741. pTDefRegMap(@Self)^.clr := $00000001
  19742. else
  19743. pTDefRegMap(@Self)^.&set := $00000001;
  19744. end;
  19745. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  19746. begin
  19747. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19748. end;
  19749. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  19750. begin
  19751. pTDefRegMap(@Self)^.&set := $00000002;
  19752. end;
  19753. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  19754. begin
  19755. pTDefRegMap(@Self)^.clr := $00000002;
  19756. end;
  19757. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  19758. begin
  19759. if thebits = 0 then
  19760. pTDefRegMap(@Self)^.clr := $00000002
  19761. else
  19762. pTDefRegMap(@Self)^.&set := $00000002;
  19763. end;
  19764. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  19765. begin
  19766. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19767. end;
  19768. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  19769. begin
  19770. pTDefRegMap(@Self)^.&set := $00000008;
  19771. end;
  19772. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  19773. begin
  19774. pTDefRegMap(@Self)^.clr := $00000008;
  19775. end;
  19776. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  19777. begin
  19778. if thebits = 0 then
  19779. pTDefRegMap(@Self)^.clr := $00000008
  19780. else
  19781. pTDefRegMap(@Self)^.&set := $00000008;
  19782. end;
  19783. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  19784. begin
  19785. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19786. end;
  19787. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  19788. begin
  19789. pTDefRegMap(@Self)^.&set := $00000020;
  19790. end;
  19791. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  19792. begin
  19793. pTDefRegMap(@Self)^.clr := $00000020;
  19794. end;
  19795. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  19796. begin
  19797. if thebits = 0 then
  19798. pTDefRegMap(@Self)^.clr := $00000020
  19799. else
  19800. pTDefRegMap(@Self)^.&set := $00000020;
  19801. end;
  19802. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  19803. begin
  19804. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19805. end;
  19806. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  19807. begin
  19808. pTDefRegMap(@Self)^.&set := $00000040;
  19809. end;
  19810. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  19811. begin
  19812. pTDefRegMap(@Self)^.clr := $00000040;
  19813. end;
  19814. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  19815. begin
  19816. if thebits = 0 then
  19817. pTDefRegMap(@Self)^.clr := $00000040
  19818. else
  19819. pTDefRegMap(@Self)^.&set := $00000040;
  19820. end;
  19821. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  19822. begin
  19823. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19824. end;
  19825. procedure TSPI1_SPI1STAT.setSRMT; inline;
  19826. begin
  19827. pTDefRegMap(@Self)^.&set := $00000080;
  19828. end;
  19829. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  19830. begin
  19831. pTDefRegMap(@Self)^.clr := $00000080;
  19832. end;
  19833. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  19834. begin
  19835. if thebits = 0 then
  19836. pTDefRegMap(@Self)^.clr := $00000080
  19837. else
  19838. pTDefRegMap(@Self)^.&set := $00000080;
  19839. end;
  19840. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  19841. begin
  19842. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19843. end;
  19844. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  19845. begin
  19846. pTDefRegMap(@Self)^.&set := $00000100;
  19847. end;
  19848. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  19849. begin
  19850. pTDefRegMap(@Self)^.clr := $00000100;
  19851. end;
  19852. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  19853. begin
  19854. if thebits = 0 then
  19855. pTDefRegMap(@Self)^.clr := $00000100
  19856. else
  19857. pTDefRegMap(@Self)^.&set := $00000100;
  19858. end;
  19859. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  19860. begin
  19861. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19862. end;
  19863. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  19864. begin
  19865. pTDefRegMap(@Self)^.&set := $00000800;
  19866. end;
  19867. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  19868. begin
  19869. pTDefRegMap(@Self)^.clr := $00000800;
  19870. end;
  19871. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  19872. begin
  19873. if thebits = 0 then
  19874. pTDefRegMap(@Self)^.clr := $00000800
  19875. else
  19876. pTDefRegMap(@Self)^.&set := $00000800;
  19877. end;
  19878. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  19879. begin
  19880. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19881. end;
  19882. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  19883. begin
  19884. pTDefRegMap(@Self)^.&set := $00001000;
  19885. end;
  19886. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  19887. begin
  19888. pTDefRegMap(@Self)^.clr := $00001000;
  19889. end;
  19890. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  19891. begin
  19892. if thebits = 0 then
  19893. pTDefRegMap(@Self)^.clr := $00001000
  19894. else
  19895. pTDefRegMap(@Self)^.&set := $00001000;
  19896. end;
  19897. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  19898. begin
  19899. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19900. end;
  19901. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  19902. begin
  19903. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  19904. end;
  19905. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  19906. begin
  19907. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  19908. end;
  19909. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  19910. begin
  19911. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  19912. end;
  19913. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  19914. begin
  19915. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  19916. end;
  19917. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  19918. begin
  19919. pTDefRegMap(@Self)^.val := thebits;
  19920. end;
  19921. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  19922. begin
  19923. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19924. end;
  19925. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  19926. begin
  19927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19928. end;
  19929. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  19930. begin
  19931. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19932. end;
  19933. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  19934. begin
  19935. pTDefRegMap(@Self)^.&set := $00000008;
  19936. end;
  19937. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  19938. begin
  19939. pTDefRegMap(@Self)^.clr := $00000008;
  19940. end;
  19941. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  19942. begin
  19943. if thebits = 0 then
  19944. pTDefRegMap(@Self)^.clr := $00000008
  19945. else
  19946. pTDefRegMap(@Self)^.&set := $00000008;
  19947. end;
  19948. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  19949. begin
  19950. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19951. end;
  19952. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  19953. begin
  19954. pTDefRegMap(@Self)^.&set := $00000080;
  19955. end;
  19956. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  19957. begin
  19958. pTDefRegMap(@Self)^.clr := $00000080;
  19959. end;
  19960. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  19961. begin
  19962. if thebits = 0 then
  19963. pTDefRegMap(@Self)^.clr := $00000080
  19964. else
  19965. pTDefRegMap(@Self)^.&set := $00000080;
  19966. end;
  19967. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  19968. begin
  19969. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19970. end;
  19971. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  19972. begin
  19973. pTDefRegMap(@Self)^.&set := $00000100;
  19974. end;
  19975. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  19976. begin
  19977. pTDefRegMap(@Self)^.clr := $00000100;
  19978. end;
  19979. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  19980. begin
  19981. if thebits = 0 then
  19982. pTDefRegMap(@Self)^.clr := $00000100
  19983. else
  19984. pTDefRegMap(@Self)^.&set := $00000100;
  19985. end;
  19986. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  19987. begin
  19988. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19989. end;
  19990. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  19991. begin
  19992. pTDefRegMap(@Self)^.&set := $00000200;
  19993. end;
  19994. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  19995. begin
  19996. pTDefRegMap(@Self)^.clr := $00000200;
  19997. end;
  19998. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  19999. begin
  20000. if thebits = 0 then
  20001. pTDefRegMap(@Self)^.clr := $00000200
  20002. else
  20003. pTDefRegMap(@Self)^.&set := $00000200;
  20004. end;
  20005. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  20006. begin
  20007. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20008. end;
  20009. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  20010. begin
  20011. pTDefRegMap(@Self)^.&set := $00000400;
  20012. end;
  20013. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  20014. begin
  20015. pTDefRegMap(@Self)^.clr := $00000400;
  20016. end;
  20017. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  20018. begin
  20019. if thebits = 0 then
  20020. pTDefRegMap(@Self)^.clr := $00000400
  20021. else
  20022. pTDefRegMap(@Self)^.&set := $00000400;
  20023. end;
  20024. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  20025. begin
  20026. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20027. end;
  20028. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  20029. begin
  20030. pTDefRegMap(@Self)^.&set := $00000800;
  20031. end;
  20032. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  20033. begin
  20034. pTDefRegMap(@Self)^.clr := $00000800;
  20035. end;
  20036. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  20037. begin
  20038. if thebits = 0 then
  20039. pTDefRegMap(@Self)^.clr := $00000800
  20040. else
  20041. pTDefRegMap(@Self)^.&set := $00000800;
  20042. end;
  20043. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  20044. begin
  20045. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20046. end;
  20047. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  20048. begin
  20049. pTDefRegMap(@Self)^.&set := $00001000;
  20050. end;
  20051. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  20052. begin
  20053. pTDefRegMap(@Self)^.clr := $00001000;
  20054. end;
  20055. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  20056. begin
  20057. if thebits = 0 then
  20058. pTDefRegMap(@Self)^.clr := $00001000
  20059. else
  20060. pTDefRegMap(@Self)^.&set := $00001000;
  20061. end;
  20062. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  20063. begin
  20064. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20065. end;
  20066. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  20067. begin
  20068. pTDefRegMap(@Self)^.&set := $00008000;
  20069. end;
  20070. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  20071. begin
  20072. pTDefRegMap(@Self)^.clr := $00008000;
  20073. end;
  20074. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  20075. begin
  20076. if thebits = 0 then
  20077. pTDefRegMap(@Self)^.clr := $00008000
  20078. else
  20079. pTDefRegMap(@Self)^.&set := $00008000;
  20080. end;
  20081. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  20082. begin
  20083. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20084. end;
  20085. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  20086. begin
  20087. pTDefRegMap(@Self)^.&set := $00000001;
  20088. end;
  20089. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  20090. begin
  20091. pTDefRegMap(@Self)^.clr := $00000001;
  20092. end;
  20093. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  20094. begin
  20095. if thebits = 0 then
  20096. pTDefRegMap(@Self)^.clr := $00000001
  20097. else
  20098. pTDefRegMap(@Self)^.&set := $00000001;
  20099. end;
  20100. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  20101. begin
  20102. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20103. end;
  20104. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  20105. begin
  20106. pTDefRegMap(@Self)^.&set := $00000002;
  20107. end;
  20108. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  20109. begin
  20110. pTDefRegMap(@Self)^.clr := $00000002;
  20111. end;
  20112. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  20113. begin
  20114. if thebits = 0 then
  20115. pTDefRegMap(@Self)^.clr := $00000002
  20116. else
  20117. pTDefRegMap(@Self)^.&set := $00000002;
  20118. end;
  20119. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  20120. begin
  20121. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20122. end;
  20123. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  20124. begin
  20125. pTDefRegMap(@Self)^.val := thebits;
  20126. end;
  20127. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  20128. begin
  20129. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20130. end;
  20131. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  20132. begin
  20133. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20134. end;
  20135. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  20136. begin
  20137. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20138. end;
  20139. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  20140. begin
  20141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  20142. end;
  20143. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  20144. begin
  20145. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  20146. end;
  20147. procedure TSPI2_SPI2CON.setDISSDI; inline;
  20148. begin
  20149. pTDefRegMap(@Self)^.&set := $00000010;
  20150. end;
  20151. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  20152. begin
  20153. pTDefRegMap(@Self)^.clr := $00000010;
  20154. end;
  20155. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  20156. begin
  20157. if thebits = 0 then
  20158. pTDefRegMap(@Self)^.clr := $00000010
  20159. else
  20160. pTDefRegMap(@Self)^.&set := $00000010;
  20161. end;
  20162. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  20163. begin
  20164. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20165. end;
  20166. procedure TSPI2_SPI2CON.setMSTEN; inline;
  20167. begin
  20168. pTDefRegMap(@Self)^.&set := $00000020;
  20169. end;
  20170. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  20171. begin
  20172. pTDefRegMap(@Self)^.clr := $00000020;
  20173. end;
  20174. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  20175. begin
  20176. if thebits = 0 then
  20177. pTDefRegMap(@Self)^.clr := $00000020
  20178. else
  20179. pTDefRegMap(@Self)^.&set := $00000020;
  20180. end;
  20181. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  20182. begin
  20183. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20184. end;
  20185. procedure TSPI2_SPI2CON.setCKP; inline;
  20186. begin
  20187. pTDefRegMap(@Self)^.&set := $00000040;
  20188. end;
  20189. procedure TSPI2_SPI2CON.clearCKP; inline;
  20190. begin
  20191. pTDefRegMap(@Self)^.clr := $00000040;
  20192. end;
  20193. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  20194. begin
  20195. if thebits = 0 then
  20196. pTDefRegMap(@Self)^.clr := $00000040
  20197. else
  20198. pTDefRegMap(@Self)^.&set := $00000040;
  20199. end;
  20200. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  20201. begin
  20202. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20203. end;
  20204. procedure TSPI2_SPI2CON.setSSEN; inline;
  20205. begin
  20206. pTDefRegMap(@Self)^.&set := $00000080;
  20207. end;
  20208. procedure TSPI2_SPI2CON.clearSSEN; inline;
  20209. begin
  20210. pTDefRegMap(@Self)^.clr := $00000080;
  20211. end;
  20212. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  20213. begin
  20214. if thebits = 0 then
  20215. pTDefRegMap(@Self)^.clr := $00000080
  20216. else
  20217. pTDefRegMap(@Self)^.&set := $00000080;
  20218. end;
  20219. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  20220. begin
  20221. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20222. end;
  20223. procedure TSPI2_SPI2CON.setCKE; inline;
  20224. begin
  20225. pTDefRegMap(@Self)^.&set := $00000100;
  20226. end;
  20227. procedure TSPI2_SPI2CON.clearCKE; inline;
  20228. begin
  20229. pTDefRegMap(@Self)^.clr := $00000100;
  20230. end;
  20231. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  20232. begin
  20233. if thebits = 0 then
  20234. pTDefRegMap(@Self)^.clr := $00000100
  20235. else
  20236. pTDefRegMap(@Self)^.&set := $00000100;
  20237. end;
  20238. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  20239. begin
  20240. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20241. end;
  20242. procedure TSPI2_SPI2CON.setSMP; inline;
  20243. begin
  20244. pTDefRegMap(@Self)^.&set := $00000200;
  20245. end;
  20246. procedure TSPI2_SPI2CON.clearSMP; inline;
  20247. begin
  20248. pTDefRegMap(@Self)^.clr := $00000200;
  20249. end;
  20250. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  20251. begin
  20252. if thebits = 0 then
  20253. pTDefRegMap(@Self)^.clr := $00000200
  20254. else
  20255. pTDefRegMap(@Self)^.&set := $00000200;
  20256. end;
  20257. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  20258. begin
  20259. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20260. end;
  20261. procedure TSPI2_SPI2CON.setMODE16; inline;
  20262. begin
  20263. pTDefRegMap(@Self)^.&set := $00000400;
  20264. end;
  20265. procedure TSPI2_SPI2CON.clearMODE16; inline;
  20266. begin
  20267. pTDefRegMap(@Self)^.clr := $00000400;
  20268. end;
  20269. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  20270. begin
  20271. if thebits = 0 then
  20272. pTDefRegMap(@Self)^.clr := $00000400
  20273. else
  20274. pTDefRegMap(@Self)^.&set := $00000400;
  20275. end;
  20276. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  20277. begin
  20278. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20279. end;
  20280. procedure TSPI2_SPI2CON.setMODE32; inline;
  20281. begin
  20282. pTDefRegMap(@Self)^.&set := $00000800;
  20283. end;
  20284. procedure TSPI2_SPI2CON.clearMODE32; inline;
  20285. begin
  20286. pTDefRegMap(@Self)^.clr := $00000800;
  20287. end;
  20288. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  20289. begin
  20290. if thebits = 0 then
  20291. pTDefRegMap(@Self)^.clr := $00000800
  20292. else
  20293. pTDefRegMap(@Self)^.&set := $00000800;
  20294. end;
  20295. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  20296. begin
  20297. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20298. end;
  20299. procedure TSPI2_SPI2CON.setDISSDO; inline;
  20300. begin
  20301. pTDefRegMap(@Self)^.&set := $00001000;
  20302. end;
  20303. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  20304. begin
  20305. pTDefRegMap(@Self)^.clr := $00001000;
  20306. end;
  20307. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  20308. begin
  20309. if thebits = 0 then
  20310. pTDefRegMap(@Self)^.clr := $00001000
  20311. else
  20312. pTDefRegMap(@Self)^.&set := $00001000;
  20313. end;
  20314. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  20315. begin
  20316. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20317. end;
  20318. procedure TSPI2_SPI2CON.setSIDL; inline;
  20319. begin
  20320. pTDefRegMap(@Self)^.&set := $00002000;
  20321. end;
  20322. procedure TSPI2_SPI2CON.clearSIDL; inline;
  20323. begin
  20324. pTDefRegMap(@Self)^.clr := $00002000;
  20325. end;
  20326. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  20327. begin
  20328. if thebits = 0 then
  20329. pTDefRegMap(@Self)^.clr := $00002000
  20330. else
  20331. pTDefRegMap(@Self)^.&set := $00002000;
  20332. end;
  20333. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  20334. begin
  20335. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20336. end;
  20337. procedure TSPI2_SPI2CON.setON; inline;
  20338. begin
  20339. pTDefRegMap(@Self)^.&set := $00008000;
  20340. end;
  20341. procedure TSPI2_SPI2CON.clearON; inline;
  20342. begin
  20343. pTDefRegMap(@Self)^.clr := $00008000;
  20344. end;
  20345. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  20346. begin
  20347. if thebits = 0 then
  20348. pTDefRegMap(@Self)^.clr := $00008000
  20349. else
  20350. pTDefRegMap(@Self)^.&set := $00008000;
  20351. end;
  20352. function TSPI2_SPI2CON.getON : TBits_1; inline;
  20353. begin
  20354. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20355. end;
  20356. procedure TSPI2_SPI2CON.setENHBUF; inline;
  20357. begin
  20358. pTDefRegMap(@Self)^.&set := $00010000;
  20359. end;
  20360. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  20361. begin
  20362. pTDefRegMap(@Self)^.clr := $00010000;
  20363. end;
  20364. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  20365. begin
  20366. if thebits = 0 then
  20367. pTDefRegMap(@Self)^.clr := $00010000
  20368. else
  20369. pTDefRegMap(@Self)^.&set := $00010000;
  20370. end;
  20371. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  20372. begin
  20373. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20374. end;
  20375. procedure TSPI2_SPI2CON.setSPIFE; inline;
  20376. begin
  20377. pTDefRegMap(@Self)^.&set := $00020000;
  20378. end;
  20379. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  20380. begin
  20381. pTDefRegMap(@Self)^.clr := $00020000;
  20382. end;
  20383. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  20384. begin
  20385. if thebits = 0 then
  20386. pTDefRegMap(@Self)^.clr := $00020000
  20387. else
  20388. pTDefRegMap(@Self)^.&set := $00020000;
  20389. end;
  20390. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  20391. begin
  20392. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20393. end;
  20394. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  20395. begin
  20396. pTDefRegMap(@Self)^.&set := $00800000;
  20397. end;
  20398. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  20399. begin
  20400. pTDefRegMap(@Self)^.clr := $00800000;
  20401. end;
  20402. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  20403. begin
  20404. if thebits = 0 then
  20405. pTDefRegMap(@Self)^.clr := $00800000
  20406. else
  20407. pTDefRegMap(@Self)^.&set := $00800000;
  20408. end;
  20409. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  20410. begin
  20411. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  20412. end;
  20413. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  20414. begin
  20415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  20416. end;
  20417. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  20418. begin
  20419. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  20420. end;
  20421. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  20422. begin
  20423. pTDefRegMap(@Self)^.&set := $08000000;
  20424. end;
  20425. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  20426. begin
  20427. pTDefRegMap(@Self)^.clr := $08000000;
  20428. end;
  20429. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  20430. begin
  20431. if thebits = 0 then
  20432. pTDefRegMap(@Self)^.clr := $08000000
  20433. else
  20434. pTDefRegMap(@Self)^.&set := $08000000;
  20435. end;
  20436. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  20437. begin
  20438. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  20439. end;
  20440. procedure TSPI2_SPI2CON.setMSSEN; inline;
  20441. begin
  20442. pTDefRegMap(@Self)^.&set := $10000000;
  20443. end;
  20444. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  20445. begin
  20446. pTDefRegMap(@Self)^.clr := $10000000;
  20447. end;
  20448. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  20449. begin
  20450. if thebits = 0 then
  20451. pTDefRegMap(@Self)^.clr := $10000000
  20452. else
  20453. pTDefRegMap(@Self)^.&set := $10000000;
  20454. end;
  20455. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  20456. begin
  20457. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  20458. end;
  20459. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  20460. begin
  20461. pTDefRegMap(@Self)^.&set := $20000000;
  20462. end;
  20463. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  20464. begin
  20465. pTDefRegMap(@Self)^.clr := $20000000;
  20466. end;
  20467. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  20468. begin
  20469. if thebits = 0 then
  20470. pTDefRegMap(@Self)^.clr := $20000000
  20471. else
  20472. pTDefRegMap(@Self)^.&set := $20000000;
  20473. end;
  20474. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  20475. begin
  20476. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  20477. end;
  20478. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  20479. begin
  20480. pTDefRegMap(@Self)^.&set := $40000000;
  20481. end;
  20482. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  20483. begin
  20484. pTDefRegMap(@Self)^.clr := $40000000;
  20485. end;
  20486. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  20487. begin
  20488. if thebits = 0 then
  20489. pTDefRegMap(@Self)^.clr := $40000000
  20490. else
  20491. pTDefRegMap(@Self)^.&set := $40000000;
  20492. end;
  20493. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  20494. begin
  20495. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  20496. end;
  20497. procedure TSPI2_SPI2CON.setFRMEN; inline;
  20498. begin
  20499. pTDefRegMap(@Self)^.&set := $80000000;
  20500. end;
  20501. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  20502. begin
  20503. pTDefRegMap(@Self)^.clr := $80000000;
  20504. end;
  20505. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  20506. begin
  20507. if thebits = 0 then
  20508. pTDefRegMap(@Self)^.clr := $80000000
  20509. else
  20510. pTDefRegMap(@Self)^.&set := $80000000;
  20511. end;
  20512. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  20513. begin
  20514. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  20515. end;
  20516. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  20517. begin
  20518. pTDefRegMap(@Self)^.val := thebits;
  20519. end;
  20520. function TSPI2_SPI2CON.getw : TBits_32; inline;
  20521. begin
  20522. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20523. end;
  20524. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  20525. begin
  20526. pTDefRegMap(@Self)^.&set := $00000001;
  20527. end;
  20528. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  20529. begin
  20530. pTDefRegMap(@Self)^.clr := $00000001;
  20531. end;
  20532. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  20533. begin
  20534. if thebits = 0 then
  20535. pTDefRegMap(@Self)^.clr := $00000001
  20536. else
  20537. pTDefRegMap(@Self)^.&set := $00000001;
  20538. end;
  20539. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  20540. begin
  20541. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20542. end;
  20543. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  20544. begin
  20545. pTDefRegMap(@Self)^.&set := $00000002;
  20546. end;
  20547. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  20548. begin
  20549. pTDefRegMap(@Self)^.clr := $00000002;
  20550. end;
  20551. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  20552. begin
  20553. if thebits = 0 then
  20554. pTDefRegMap(@Self)^.clr := $00000002
  20555. else
  20556. pTDefRegMap(@Self)^.&set := $00000002;
  20557. end;
  20558. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  20559. begin
  20560. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20561. end;
  20562. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  20563. begin
  20564. pTDefRegMap(@Self)^.&set := $00000008;
  20565. end;
  20566. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  20567. begin
  20568. pTDefRegMap(@Self)^.clr := $00000008;
  20569. end;
  20570. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  20571. begin
  20572. if thebits = 0 then
  20573. pTDefRegMap(@Self)^.clr := $00000008
  20574. else
  20575. pTDefRegMap(@Self)^.&set := $00000008;
  20576. end;
  20577. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  20578. begin
  20579. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20580. end;
  20581. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  20582. begin
  20583. pTDefRegMap(@Self)^.&set := $00000020;
  20584. end;
  20585. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  20586. begin
  20587. pTDefRegMap(@Self)^.clr := $00000020;
  20588. end;
  20589. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  20590. begin
  20591. if thebits = 0 then
  20592. pTDefRegMap(@Self)^.clr := $00000020
  20593. else
  20594. pTDefRegMap(@Self)^.&set := $00000020;
  20595. end;
  20596. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  20597. begin
  20598. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20599. end;
  20600. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  20601. begin
  20602. pTDefRegMap(@Self)^.&set := $00000040;
  20603. end;
  20604. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  20605. begin
  20606. pTDefRegMap(@Self)^.clr := $00000040;
  20607. end;
  20608. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  20609. begin
  20610. if thebits = 0 then
  20611. pTDefRegMap(@Self)^.clr := $00000040
  20612. else
  20613. pTDefRegMap(@Self)^.&set := $00000040;
  20614. end;
  20615. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  20616. begin
  20617. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20618. end;
  20619. procedure TSPI2_SPI2STAT.setSRMT; inline;
  20620. begin
  20621. pTDefRegMap(@Self)^.&set := $00000080;
  20622. end;
  20623. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  20624. begin
  20625. pTDefRegMap(@Self)^.clr := $00000080;
  20626. end;
  20627. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  20628. begin
  20629. if thebits = 0 then
  20630. pTDefRegMap(@Self)^.clr := $00000080
  20631. else
  20632. pTDefRegMap(@Self)^.&set := $00000080;
  20633. end;
  20634. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  20635. begin
  20636. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20637. end;
  20638. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  20639. begin
  20640. pTDefRegMap(@Self)^.&set := $00000100;
  20641. end;
  20642. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  20643. begin
  20644. pTDefRegMap(@Self)^.clr := $00000100;
  20645. end;
  20646. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  20647. begin
  20648. if thebits = 0 then
  20649. pTDefRegMap(@Self)^.clr := $00000100
  20650. else
  20651. pTDefRegMap(@Self)^.&set := $00000100;
  20652. end;
  20653. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  20654. begin
  20655. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20656. end;
  20657. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  20658. begin
  20659. pTDefRegMap(@Self)^.&set := $00000800;
  20660. end;
  20661. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  20662. begin
  20663. pTDefRegMap(@Self)^.clr := $00000800;
  20664. end;
  20665. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  20666. begin
  20667. if thebits = 0 then
  20668. pTDefRegMap(@Self)^.clr := $00000800
  20669. else
  20670. pTDefRegMap(@Self)^.&set := $00000800;
  20671. end;
  20672. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  20673. begin
  20674. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20675. end;
  20676. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  20677. begin
  20678. pTDefRegMap(@Self)^.&set := $00001000;
  20679. end;
  20680. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  20681. begin
  20682. pTDefRegMap(@Self)^.clr := $00001000;
  20683. end;
  20684. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  20685. begin
  20686. if thebits = 0 then
  20687. pTDefRegMap(@Self)^.clr := $00001000
  20688. else
  20689. pTDefRegMap(@Self)^.&set := $00001000;
  20690. end;
  20691. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  20692. begin
  20693. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20694. end;
  20695. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  20696. begin
  20697. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  20698. end;
  20699. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  20700. begin
  20701. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  20702. end;
  20703. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  20704. begin
  20705. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  20706. end;
  20707. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  20708. begin
  20709. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  20710. end;
  20711. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  20712. begin
  20713. pTDefRegMap(@Self)^.val := thebits;
  20714. end;
  20715. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  20716. begin
  20717. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20718. end;
  20719. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  20720. begin
  20721. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20722. end;
  20723. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  20724. begin
  20725. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20726. end;
  20727. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  20728. begin
  20729. pTDefRegMap(@Self)^.&set := $00000008;
  20730. end;
  20731. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  20732. begin
  20733. pTDefRegMap(@Self)^.clr := $00000008;
  20734. end;
  20735. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  20736. begin
  20737. if thebits = 0 then
  20738. pTDefRegMap(@Self)^.clr := $00000008
  20739. else
  20740. pTDefRegMap(@Self)^.&set := $00000008;
  20741. end;
  20742. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  20743. begin
  20744. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20745. end;
  20746. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  20747. begin
  20748. pTDefRegMap(@Self)^.&set := $00000080;
  20749. end;
  20750. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  20751. begin
  20752. pTDefRegMap(@Self)^.clr := $00000080;
  20753. end;
  20754. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  20755. begin
  20756. if thebits = 0 then
  20757. pTDefRegMap(@Self)^.clr := $00000080
  20758. else
  20759. pTDefRegMap(@Self)^.&set := $00000080;
  20760. end;
  20761. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  20762. begin
  20763. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20764. end;
  20765. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  20766. begin
  20767. pTDefRegMap(@Self)^.&set := $00000100;
  20768. end;
  20769. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  20770. begin
  20771. pTDefRegMap(@Self)^.clr := $00000100;
  20772. end;
  20773. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  20774. begin
  20775. if thebits = 0 then
  20776. pTDefRegMap(@Self)^.clr := $00000100
  20777. else
  20778. pTDefRegMap(@Self)^.&set := $00000100;
  20779. end;
  20780. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  20781. begin
  20782. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20783. end;
  20784. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  20785. begin
  20786. pTDefRegMap(@Self)^.&set := $00000200;
  20787. end;
  20788. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  20789. begin
  20790. pTDefRegMap(@Self)^.clr := $00000200;
  20791. end;
  20792. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  20793. begin
  20794. if thebits = 0 then
  20795. pTDefRegMap(@Self)^.clr := $00000200
  20796. else
  20797. pTDefRegMap(@Self)^.&set := $00000200;
  20798. end;
  20799. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  20800. begin
  20801. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20802. end;
  20803. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  20804. begin
  20805. pTDefRegMap(@Self)^.&set := $00000400;
  20806. end;
  20807. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  20808. begin
  20809. pTDefRegMap(@Self)^.clr := $00000400;
  20810. end;
  20811. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  20812. begin
  20813. if thebits = 0 then
  20814. pTDefRegMap(@Self)^.clr := $00000400
  20815. else
  20816. pTDefRegMap(@Self)^.&set := $00000400;
  20817. end;
  20818. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  20819. begin
  20820. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20821. end;
  20822. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  20823. begin
  20824. pTDefRegMap(@Self)^.&set := $00000800;
  20825. end;
  20826. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  20827. begin
  20828. pTDefRegMap(@Self)^.clr := $00000800;
  20829. end;
  20830. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  20831. begin
  20832. if thebits = 0 then
  20833. pTDefRegMap(@Self)^.clr := $00000800
  20834. else
  20835. pTDefRegMap(@Self)^.&set := $00000800;
  20836. end;
  20837. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  20838. begin
  20839. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20840. end;
  20841. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  20842. begin
  20843. pTDefRegMap(@Self)^.&set := $00001000;
  20844. end;
  20845. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  20846. begin
  20847. pTDefRegMap(@Self)^.clr := $00001000;
  20848. end;
  20849. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  20850. begin
  20851. if thebits = 0 then
  20852. pTDefRegMap(@Self)^.clr := $00001000
  20853. else
  20854. pTDefRegMap(@Self)^.&set := $00001000;
  20855. end;
  20856. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  20857. begin
  20858. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20859. end;
  20860. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  20861. begin
  20862. pTDefRegMap(@Self)^.&set := $00008000;
  20863. end;
  20864. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  20865. begin
  20866. pTDefRegMap(@Self)^.clr := $00008000;
  20867. end;
  20868. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  20869. begin
  20870. if thebits = 0 then
  20871. pTDefRegMap(@Self)^.clr := $00008000
  20872. else
  20873. pTDefRegMap(@Self)^.&set := $00008000;
  20874. end;
  20875. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  20876. begin
  20877. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20878. end;
  20879. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  20880. begin
  20881. pTDefRegMap(@Self)^.&set := $00000001;
  20882. end;
  20883. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  20884. begin
  20885. pTDefRegMap(@Self)^.clr := $00000001;
  20886. end;
  20887. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  20888. begin
  20889. if thebits = 0 then
  20890. pTDefRegMap(@Self)^.clr := $00000001
  20891. else
  20892. pTDefRegMap(@Self)^.&set := $00000001;
  20893. end;
  20894. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  20895. begin
  20896. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20897. end;
  20898. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  20899. begin
  20900. pTDefRegMap(@Self)^.&set := $00000002;
  20901. end;
  20902. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  20903. begin
  20904. pTDefRegMap(@Self)^.clr := $00000002;
  20905. end;
  20906. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  20907. begin
  20908. if thebits = 0 then
  20909. pTDefRegMap(@Self)^.clr := $00000002
  20910. else
  20911. pTDefRegMap(@Self)^.&set := $00000002;
  20912. end;
  20913. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  20914. begin
  20915. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20916. end;
  20917. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  20918. begin
  20919. pTDefRegMap(@Self)^.val := thebits;
  20920. end;
  20921. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  20922. begin
  20923. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20924. end;
  20925. procedure TUART1_U1MODE.setSTSEL; inline;
  20926. begin
  20927. pTDefRegMap(@Self)^.&set := $00000001;
  20928. end;
  20929. procedure TUART1_U1MODE.clearSTSEL; inline;
  20930. begin
  20931. pTDefRegMap(@Self)^.clr := $00000001;
  20932. end;
  20933. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  20934. begin
  20935. if thebits = 0 then
  20936. pTDefRegMap(@Self)^.clr := $00000001
  20937. else
  20938. pTDefRegMap(@Self)^.&set := $00000001;
  20939. end;
  20940. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  20941. begin
  20942. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20943. end;
  20944. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  20945. begin
  20946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  20947. end;
  20948. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  20949. begin
  20950. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  20951. end;
  20952. procedure TUART1_U1MODE.setBRGH; inline;
  20953. begin
  20954. pTDefRegMap(@Self)^.&set := $00000008;
  20955. end;
  20956. procedure TUART1_U1MODE.clearBRGH; inline;
  20957. begin
  20958. pTDefRegMap(@Self)^.clr := $00000008;
  20959. end;
  20960. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  20961. begin
  20962. if thebits = 0 then
  20963. pTDefRegMap(@Self)^.clr := $00000008
  20964. else
  20965. pTDefRegMap(@Self)^.&set := $00000008;
  20966. end;
  20967. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  20968. begin
  20969. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20970. end;
  20971. procedure TUART1_U1MODE.setRXINV; inline;
  20972. begin
  20973. pTDefRegMap(@Self)^.&set := $00000010;
  20974. end;
  20975. procedure TUART1_U1MODE.clearRXINV; inline;
  20976. begin
  20977. pTDefRegMap(@Self)^.clr := $00000010;
  20978. end;
  20979. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  20980. begin
  20981. if thebits = 0 then
  20982. pTDefRegMap(@Self)^.clr := $00000010
  20983. else
  20984. pTDefRegMap(@Self)^.&set := $00000010;
  20985. end;
  20986. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  20987. begin
  20988. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20989. end;
  20990. procedure TUART1_U1MODE.setABAUD; inline;
  20991. begin
  20992. pTDefRegMap(@Self)^.&set := $00000020;
  20993. end;
  20994. procedure TUART1_U1MODE.clearABAUD; inline;
  20995. begin
  20996. pTDefRegMap(@Self)^.clr := $00000020;
  20997. end;
  20998. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  20999. begin
  21000. if thebits = 0 then
  21001. pTDefRegMap(@Self)^.clr := $00000020
  21002. else
  21003. pTDefRegMap(@Self)^.&set := $00000020;
  21004. end;
  21005. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  21006. begin
  21007. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21008. end;
  21009. procedure TUART1_U1MODE.setLPBACK; inline;
  21010. begin
  21011. pTDefRegMap(@Self)^.&set := $00000040;
  21012. end;
  21013. procedure TUART1_U1MODE.clearLPBACK; inline;
  21014. begin
  21015. pTDefRegMap(@Self)^.clr := $00000040;
  21016. end;
  21017. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  21018. begin
  21019. if thebits = 0 then
  21020. pTDefRegMap(@Self)^.clr := $00000040
  21021. else
  21022. pTDefRegMap(@Self)^.&set := $00000040;
  21023. end;
  21024. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  21025. begin
  21026. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21027. end;
  21028. procedure TUART1_U1MODE.setWAKE; inline;
  21029. begin
  21030. pTDefRegMap(@Self)^.&set := $00000080;
  21031. end;
  21032. procedure TUART1_U1MODE.clearWAKE; inline;
  21033. begin
  21034. pTDefRegMap(@Self)^.clr := $00000080;
  21035. end;
  21036. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  21037. begin
  21038. if thebits = 0 then
  21039. pTDefRegMap(@Self)^.clr := $00000080
  21040. else
  21041. pTDefRegMap(@Self)^.&set := $00000080;
  21042. end;
  21043. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  21044. begin
  21045. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21046. end;
  21047. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  21048. begin
  21049. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21050. end;
  21051. function TUART1_U1MODE.getUEN : TBits_2; inline;
  21052. begin
  21053. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21054. end;
  21055. procedure TUART1_U1MODE.setRTSMD; inline;
  21056. begin
  21057. pTDefRegMap(@Self)^.&set := $00000800;
  21058. end;
  21059. procedure TUART1_U1MODE.clearRTSMD; inline;
  21060. begin
  21061. pTDefRegMap(@Self)^.clr := $00000800;
  21062. end;
  21063. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  21064. begin
  21065. if thebits = 0 then
  21066. pTDefRegMap(@Self)^.clr := $00000800
  21067. else
  21068. pTDefRegMap(@Self)^.&set := $00000800;
  21069. end;
  21070. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  21071. begin
  21072. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21073. end;
  21074. procedure TUART1_U1MODE.setIREN; inline;
  21075. begin
  21076. pTDefRegMap(@Self)^.&set := $00001000;
  21077. end;
  21078. procedure TUART1_U1MODE.clearIREN; inline;
  21079. begin
  21080. pTDefRegMap(@Self)^.clr := $00001000;
  21081. end;
  21082. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  21083. begin
  21084. if thebits = 0 then
  21085. pTDefRegMap(@Self)^.clr := $00001000
  21086. else
  21087. pTDefRegMap(@Self)^.&set := $00001000;
  21088. end;
  21089. function TUART1_U1MODE.getIREN : TBits_1; inline;
  21090. begin
  21091. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21092. end;
  21093. procedure TUART1_U1MODE.setSIDL; inline;
  21094. begin
  21095. pTDefRegMap(@Self)^.&set := $00002000;
  21096. end;
  21097. procedure TUART1_U1MODE.clearSIDL; inline;
  21098. begin
  21099. pTDefRegMap(@Self)^.clr := $00002000;
  21100. end;
  21101. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  21102. begin
  21103. if thebits = 0 then
  21104. pTDefRegMap(@Self)^.clr := $00002000
  21105. else
  21106. pTDefRegMap(@Self)^.&set := $00002000;
  21107. end;
  21108. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  21109. begin
  21110. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21111. end;
  21112. procedure TUART1_U1MODE.setON; inline;
  21113. begin
  21114. pTDefRegMap(@Self)^.&set := $00008000;
  21115. end;
  21116. procedure TUART1_U1MODE.clearON; inline;
  21117. begin
  21118. pTDefRegMap(@Self)^.clr := $00008000;
  21119. end;
  21120. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  21121. begin
  21122. if thebits = 0 then
  21123. pTDefRegMap(@Self)^.clr := $00008000
  21124. else
  21125. pTDefRegMap(@Self)^.&set := $00008000;
  21126. end;
  21127. function TUART1_U1MODE.getON : TBits_1; inline;
  21128. begin
  21129. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21130. end;
  21131. procedure TUART1_U1MODE.setPDSEL0; inline;
  21132. begin
  21133. pTDefRegMap(@Self)^.&set := $00000002;
  21134. end;
  21135. procedure TUART1_U1MODE.clearPDSEL0; inline;
  21136. begin
  21137. pTDefRegMap(@Self)^.clr := $00000002;
  21138. end;
  21139. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  21140. begin
  21141. if thebits = 0 then
  21142. pTDefRegMap(@Self)^.clr := $00000002
  21143. else
  21144. pTDefRegMap(@Self)^.&set := $00000002;
  21145. end;
  21146. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  21147. begin
  21148. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21149. end;
  21150. procedure TUART1_U1MODE.setPDSEL1; inline;
  21151. begin
  21152. pTDefRegMap(@Self)^.&set := $00000004;
  21153. end;
  21154. procedure TUART1_U1MODE.clearPDSEL1; inline;
  21155. begin
  21156. pTDefRegMap(@Self)^.clr := $00000004;
  21157. end;
  21158. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  21159. begin
  21160. if thebits = 0 then
  21161. pTDefRegMap(@Self)^.clr := $00000004
  21162. else
  21163. pTDefRegMap(@Self)^.&set := $00000004;
  21164. end;
  21165. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  21166. begin
  21167. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21168. end;
  21169. procedure TUART1_U1MODE.setUEN0; inline;
  21170. begin
  21171. pTDefRegMap(@Self)^.&set := $00000100;
  21172. end;
  21173. procedure TUART1_U1MODE.clearUEN0; inline;
  21174. begin
  21175. pTDefRegMap(@Self)^.clr := $00000100;
  21176. end;
  21177. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  21178. begin
  21179. if thebits = 0 then
  21180. pTDefRegMap(@Self)^.clr := $00000100
  21181. else
  21182. pTDefRegMap(@Self)^.&set := $00000100;
  21183. end;
  21184. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  21185. begin
  21186. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21187. end;
  21188. procedure TUART1_U1MODE.setUEN1; inline;
  21189. begin
  21190. pTDefRegMap(@Self)^.&set := $00000200;
  21191. end;
  21192. procedure TUART1_U1MODE.clearUEN1; inline;
  21193. begin
  21194. pTDefRegMap(@Self)^.clr := $00000200;
  21195. end;
  21196. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  21197. begin
  21198. if thebits = 0 then
  21199. pTDefRegMap(@Self)^.clr := $00000200
  21200. else
  21201. pTDefRegMap(@Self)^.&set := $00000200;
  21202. end;
  21203. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  21204. begin
  21205. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21206. end;
  21207. procedure TUART1_U1MODE.setUSIDL; inline;
  21208. begin
  21209. pTDefRegMap(@Self)^.&set := $00002000;
  21210. end;
  21211. procedure TUART1_U1MODE.clearUSIDL; inline;
  21212. begin
  21213. pTDefRegMap(@Self)^.clr := $00002000;
  21214. end;
  21215. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  21216. begin
  21217. if thebits = 0 then
  21218. pTDefRegMap(@Self)^.clr := $00002000
  21219. else
  21220. pTDefRegMap(@Self)^.&set := $00002000;
  21221. end;
  21222. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  21223. begin
  21224. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21225. end;
  21226. procedure TUART1_U1MODE.setUARTEN; inline;
  21227. begin
  21228. pTDefRegMap(@Self)^.&set := $00008000;
  21229. end;
  21230. procedure TUART1_U1MODE.clearUARTEN; inline;
  21231. begin
  21232. pTDefRegMap(@Self)^.clr := $00008000;
  21233. end;
  21234. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  21235. begin
  21236. if thebits = 0 then
  21237. pTDefRegMap(@Self)^.clr := $00008000
  21238. else
  21239. pTDefRegMap(@Self)^.&set := $00008000;
  21240. end;
  21241. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  21242. begin
  21243. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21244. end;
  21245. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  21246. begin
  21247. pTDefRegMap(@Self)^.val := thebits;
  21248. end;
  21249. function TUART1_U1MODE.getw : TBits_32; inline;
  21250. begin
  21251. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21252. end;
  21253. procedure TUART1_UDCMODE.setSTSEL; inline;
  21254. begin
  21255. pTDefRegMap(@Self)^.&set := $00000001;
  21256. end;
  21257. procedure TUART1_UDCMODE.clearSTSEL; inline;
  21258. begin
  21259. pTDefRegMap(@Self)^.clr := $00000001;
  21260. end;
  21261. procedure TUART1_UDCMODE.setSTSEL(thebits : TBits_1); inline;
  21262. begin
  21263. if thebits = 0 then
  21264. pTDefRegMap(@Self)^.clr := $00000001
  21265. else
  21266. pTDefRegMap(@Self)^.&set := $00000001;
  21267. end;
  21268. function TUART1_UDCMODE.getSTSEL : TBits_1; inline;
  21269. begin
  21270. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21271. end;
  21272. procedure TUART1_UDCMODE.setPDSEL(thebits : TBits_2); inline;
  21273. begin
  21274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  21275. end;
  21276. function TUART1_UDCMODE.getPDSEL : TBits_2; inline;
  21277. begin
  21278. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  21279. end;
  21280. procedure TUART1_UDCMODE.setBRGH; inline;
  21281. begin
  21282. pTDefRegMap(@Self)^.&set := $00000008;
  21283. end;
  21284. procedure TUART1_UDCMODE.clearBRGH; inline;
  21285. begin
  21286. pTDefRegMap(@Self)^.clr := $00000008;
  21287. end;
  21288. procedure TUART1_UDCMODE.setBRGH(thebits : TBits_1); inline;
  21289. begin
  21290. if thebits = 0 then
  21291. pTDefRegMap(@Self)^.clr := $00000008
  21292. else
  21293. pTDefRegMap(@Self)^.&set := $00000008;
  21294. end;
  21295. function TUART1_UDCMODE.getBRGH : TBits_1; inline;
  21296. begin
  21297. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21298. end;
  21299. procedure TUART1_UDCMODE.setRXINV; inline;
  21300. begin
  21301. pTDefRegMap(@Self)^.&set := $00000010;
  21302. end;
  21303. procedure TUART1_UDCMODE.clearRXINV; inline;
  21304. begin
  21305. pTDefRegMap(@Self)^.clr := $00000010;
  21306. end;
  21307. procedure TUART1_UDCMODE.setRXINV(thebits : TBits_1); inline;
  21308. begin
  21309. if thebits = 0 then
  21310. pTDefRegMap(@Self)^.clr := $00000010
  21311. else
  21312. pTDefRegMap(@Self)^.&set := $00000010;
  21313. end;
  21314. function TUART1_UDCMODE.getRXINV : TBits_1; inline;
  21315. begin
  21316. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21317. end;
  21318. procedure TUART1_UDCMODE.setABAUD; inline;
  21319. begin
  21320. pTDefRegMap(@Self)^.&set := $00000020;
  21321. end;
  21322. procedure TUART1_UDCMODE.clearABAUD; inline;
  21323. begin
  21324. pTDefRegMap(@Self)^.clr := $00000020;
  21325. end;
  21326. procedure TUART1_UDCMODE.setABAUD(thebits : TBits_1); inline;
  21327. begin
  21328. if thebits = 0 then
  21329. pTDefRegMap(@Self)^.clr := $00000020
  21330. else
  21331. pTDefRegMap(@Self)^.&set := $00000020;
  21332. end;
  21333. function TUART1_UDCMODE.getABAUD : TBits_1; inline;
  21334. begin
  21335. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21336. end;
  21337. procedure TUART1_UDCMODE.setLPBACK; inline;
  21338. begin
  21339. pTDefRegMap(@Self)^.&set := $00000040;
  21340. end;
  21341. procedure TUART1_UDCMODE.clearLPBACK; inline;
  21342. begin
  21343. pTDefRegMap(@Self)^.clr := $00000040;
  21344. end;
  21345. procedure TUART1_UDCMODE.setLPBACK(thebits : TBits_1); inline;
  21346. begin
  21347. if thebits = 0 then
  21348. pTDefRegMap(@Self)^.clr := $00000040
  21349. else
  21350. pTDefRegMap(@Self)^.&set := $00000040;
  21351. end;
  21352. function TUART1_UDCMODE.getLPBACK : TBits_1; inline;
  21353. begin
  21354. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21355. end;
  21356. procedure TUART1_UDCMODE.setWAKE; inline;
  21357. begin
  21358. pTDefRegMap(@Self)^.&set := $00000080;
  21359. end;
  21360. procedure TUART1_UDCMODE.clearWAKE; inline;
  21361. begin
  21362. pTDefRegMap(@Self)^.clr := $00000080;
  21363. end;
  21364. procedure TUART1_UDCMODE.setWAKE(thebits : TBits_1); inline;
  21365. begin
  21366. if thebits = 0 then
  21367. pTDefRegMap(@Self)^.clr := $00000080
  21368. else
  21369. pTDefRegMap(@Self)^.&set := $00000080;
  21370. end;
  21371. function TUART1_UDCMODE.getWAKE : TBits_1; inline;
  21372. begin
  21373. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21374. end;
  21375. procedure TUART1_UDCMODE.setUEN(thebits : TBits_2); inline;
  21376. begin
  21377. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21378. end;
  21379. function TUART1_UDCMODE.getUEN : TBits_2; inline;
  21380. begin
  21381. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21382. end;
  21383. procedure TUART1_UDCMODE.setRTSMD; inline;
  21384. begin
  21385. pTDefRegMap(@Self)^.&set := $00000800;
  21386. end;
  21387. procedure TUART1_UDCMODE.clearRTSMD; inline;
  21388. begin
  21389. pTDefRegMap(@Self)^.clr := $00000800;
  21390. end;
  21391. procedure TUART1_UDCMODE.setRTSMD(thebits : TBits_1); inline;
  21392. begin
  21393. if thebits = 0 then
  21394. pTDefRegMap(@Self)^.clr := $00000800
  21395. else
  21396. pTDefRegMap(@Self)^.&set := $00000800;
  21397. end;
  21398. function TUART1_UDCMODE.getRTSMD : TBits_1; inline;
  21399. begin
  21400. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21401. end;
  21402. procedure TUART1_UDCMODE.setIREN; inline;
  21403. begin
  21404. pTDefRegMap(@Self)^.&set := $00001000;
  21405. end;
  21406. procedure TUART1_UDCMODE.clearIREN; inline;
  21407. begin
  21408. pTDefRegMap(@Self)^.clr := $00001000;
  21409. end;
  21410. procedure TUART1_UDCMODE.setIREN(thebits : TBits_1); inline;
  21411. begin
  21412. if thebits = 0 then
  21413. pTDefRegMap(@Self)^.clr := $00001000
  21414. else
  21415. pTDefRegMap(@Self)^.&set := $00001000;
  21416. end;
  21417. function TUART1_UDCMODE.getIREN : TBits_1; inline;
  21418. begin
  21419. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21420. end;
  21421. procedure TUART1_UDCMODE.setSIDL; inline;
  21422. begin
  21423. pTDefRegMap(@Self)^.&set := $00002000;
  21424. end;
  21425. procedure TUART1_UDCMODE.clearSIDL; inline;
  21426. begin
  21427. pTDefRegMap(@Self)^.clr := $00002000;
  21428. end;
  21429. procedure TUART1_UDCMODE.setSIDL(thebits : TBits_1); inline;
  21430. begin
  21431. if thebits = 0 then
  21432. pTDefRegMap(@Self)^.clr := $00002000
  21433. else
  21434. pTDefRegMap(@Self)^.&set := $00002000;
  21435. end;
  21436. function TUART1_UDCMODE.getSIDL : TBits_1; inline;
  21437. begin
  21438. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21439. end;
  21440. procedure TUART1_UDCMODE.setON; inline;
  21441. begin
  21442. pTDefRegMap(@Self)^.&set := $00008000;
  21443. end;
  21444. procedure TUART1_UDCMODE.clearON; inline;
  21445. begin
  21446. pTDefRegMap(@Self)^.clr := $00008000;
  21447. end;
  21448. procedure TUART1_UDCMODE.setON(thebits : TBits_1); inline;
  21449. begin
  21450. if thebits = 0 then
  21451. pTDefRegMap(@Self)^.clr := $00008000
  21452. else
  21453. pTDefRegMap(@Self)^.&set := $00008000;
  21454. end;
  21455. function TUART1_UDCMODE.getON : TBits_1; inline;
  21456. begin
  21457. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21458. end;
  21459. procedure TUART1_UDCMODE.setPDSEL0; inline;
  21460. begin
  21461. pTDefRegMap(@Self)^.&set := $00000002;
  21462. end;
  21463. procedure TUART1_UDCMODE.clearPDSEL0; inline;
  21464. begin
  21465. pTDefRegMap(@Self)^.clr := $00000002;
  21466. end;
  21467. procedure TUART1_UDCMODE.setPDSEL0(thebits : TBits_1); inline;
  21468. begin
  21469. if thebits = 0 then
  21470. pTDefRegMap(@Self)^.clr := $00000002
  21471. else
  21472. pTDefRegMap(@Self)^.&set := $00000002;
  21473. end;
  21474. function TUART1_UDCMODE.getPDSEL0 : TBits_1; inline;
  21475. begin
  21476. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21477. end;
  21478. procedure TUART1_UDCMODE.setPDSEL1; inline;
  21479. begin
  21480. pTDefRegMap(@Self)^.&set := $00000004;
  21481. end;
  21482. procedure TUART1_UDCMODE.clearPDSEL1; inline;
  21483. begin
  21484. pTDefRegMap(@Self)^.clr := $00000004;
  21485. end;
  21486. procedure TUART1_UDCMODE.setPDSEL1(thebits : TBits_1); inline;
  21487. begin
  21488. if thebits = 0 then
  21489. pTDefRegMap(@Self)^.clr := $00000004
  21490. else
  21491. pTDefRegMap(@Self)^.&set := $00000004;
  21492. end;
  21493. function TUART1_UDCMODE.getPDSEL1 : TBits_1; inline;
  21494. begin
  21495. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21496. end;
  21497. procedure TUART1_UDCMODE.setUEN0; inline;
  21498. begin
  21499. pTDefRegMap(@Self)^.&set := $00000100;
  21500. end;
  21501. procedure TUART1_UDCMODE.clearUEN0; inline;
  21502. begin
  21503. pTDefRegMap(@Self)^.clr := $00000100;
  21504. end;
  21505. procedure TUART1_UDCMODE.setUEN0(thebits : TBits_1); inline;
  21506. begin
  21507. if thebits = 0 then
  21508. pTDefRegMap(@Self)^.clr := $00000100
  21509. else
  21510. pTDefRegMap(@Self)^.&set := $00000100;
  21511. end;
  21512. function TUART1_UDCMODE.getUEN0 : TBits_1; inline;
  21513. begin
  21514. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21515. end;
  21516. procedure TUART1_UDCMODE.setUEN1; inline;
  21517. begin
  21518. pTDefRegMap(@Self)^.&set := $00000200;
  21519. end;
  21520. procedure TUART1_UDCMODE.clearUEN1; inline;
  21521. begin
  21522. pTDefRegMap(@Self)^.clr := $00000200;
  21523. end;
  21524. procedure TUART1_UDCMODE.setUEN1(thebits : TBits_1); inline;
  21525. begin
  21526. if thebits = 0 then
  21527. pTDefRegMap(@Self)^.clr := $00000200
  21528. else
  21529. pTDefRegMap(@Self)^.&set := $00000200;
  21530. end;
  21531. function TUART1_UDCMODE.getUEN1 : TBits_1; inline;
  21532. begin
  21533. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21534. end;
  21535. procedure TUART1_UDCMODE.setUSIDL; inline;
  21536. begin
  21537. pTDefRegMap(@Self)^.&set := $00002000;
  21538. end;
  21539. procedure TUART1_UDCMODE.clearUSIDL; inline;
  21540. begin
  21541. pTDefRegMap(@Self)^.clr := $00002000;
  21542. end;
  21543. procedure TUART1_UDCMODE.setUSIDL(thebits : TBits_1); inline;
  21544. begin
  21545. if thebits = 0 then
  21546. pTDefRegMap(@Self)^.clr := $00002000
  21547. else
  21548. pTDefRegMap(@Self)^.&set := $00002000;
  21549. end;
  21550. function TUART1_UDCMODE.getUSIDL : TBits_1; inline;
  21551. begin
  21552. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21553. end;
  21554. procedure TUART1_UDCMODE.setUARTEN; inline;
  21555. begin
  21556. pTDefRegMap(@Self)^.&set := $00008000;
  21557. end;
  21558. procedure TUART1_UDCMODE.clearUARTEN; inline;
  21559. begin
  21560. pTDefRegMap(@Self)^.clr := $00008000;
  21561. end;
  21562. procedure TUART1_UDCMODE.setUARTEN(thebits : TBits_1); inline;
  21563. begin
  21564. if thebits = 0 then
  21565. pTDefRegMap(@Self)^.clr := $00008000
  21566. else
  21567. pTDefRegMap(@Self)^.&set := $00008000;
  21568. end;
  21569. function TUART1_UDCMODE.getUARTEN : TBits_1; inline;
  21570. begin
  21571. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21572. end;
  21573. procedure TUART1_UDCMODE.setw(thebits : TBits_32); inline;
  21574. begin
  21575. pTDefRegMap(@Self)^.val := thebits;
  21576. end;
  21577. function TUART1_UDCMODE.getw : TBits_32; inline;
  21578. begin
  21579. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21580. end;
  21581. procedure TUART1_U1STA.setURXDA; inline;
  21582. begin
  21583. pTDefRegMap(@Self)^.&set := $00000001;
  21584. end;
  21585. procedure TUART1_U1STA.clearURXDA; inline;
  21586. begin
  21587. pTDefRegMap(@Self)^.clr := $00000001;
  21588. end;
  21589. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  21590. begin
  21591. if thebits = 0 then
  21592. pTDefRegMap(@Self)^.clr := $00000001
  21593. else
  21594. pTDefRegMap(@Self)^.&set := $00000001;
  21595. end;
  21596. function TUART1_U1STA.getURXDA : TBits_1; inline;
  21597. begin
  21598. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21599. end;
  21600. procedure TUART1_U1STA.setOERR; inline;
  21601. begin
  21602. pTDefRegMap(@Self)^.&set := $00000002;
  21603. end;
  21604. procedure TUART1_U1STA.clearOERR; inline;
  21605. begin
  21606. pTDefRegMap(@Self)^.clr := $00000002;
  21607. end;
  21608. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  21609. begin
  21610. if thebits = 0 then
  21611. pTDefRegMap(@Self)^.clr := $00000002
  21612. else
  21613. pTDefRegMap(@Self)^.&set := $00000002;
  21614. end;
  21615. function TUART1_U1STA.getOERR : TBits_1; inline;
  21616. begin
  21617. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21618. end;
  21619. procedure TUART1_U1STA.setFERR; inline;
  21620. begin
  21621. pTDefRegMap(@Self)^.&set := $00000004;
  21622. end;
  21623. procedure TUART1_U1STA.clearFERR; inline;
  21624. begin
  21625. pTDefRegMap(@Self)^.clr := $00000004;
  21626. end;
  21627. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  21628. begin
  21629. if thebits = 0 then
  21630. pTDefRegMap(@Self)^.clr := $00000004
  21631. else
  21632. pTDefRegMap(@Self)^.&set := $00000004;
  21633. end;
  21634. function TUART1_U1STA.getFERR : TBits_1; inline;
  21635. begin
  21636. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21637. end;
  21638. procedure TUART1_U1STA.setPERR; inline;
  21639. begin
  21640. pTDefRegMap(@Self)^.&set := $00000008;
  21641. end;
  21642. procedure TUART1_U1STA.clearPERR; inline;
  21643. begin
  21644. pTDefRegMap(@Self)^.clr := $00000008;
  21645. end;
  21646. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  21647. begin
  21648. if thebits = 0 then
  21649. pTDefRegMap(@Self)^.clr := $00000008
  21650. else
  21651. pTDefRegMap(@Self)^.&set := $00000008;
  21652. end;
  21653. function TUART1_U1STA.getPERR : TBits_1; inline;
  21654. begin
  21655. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21656. end;
  21657. procedure TUART1_U1STA.setRIDLE; inline;
  21658. begin
  21659. pTDefRegMap(@Self)^.&set := $00000010;
  21660. end;
  21661. procedure TUART1_U1STA.clearRIDLE; inline;
  21662. begin
  21663. pTDefRegMap(@Self)^.clr := $00000010;
  21664. end;
  21665. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  21666. begin
  21667. if thebits = 0 then
  21668. pTDefRegMap(@Self)^.clr := $00000010
  21669. else
  21670. pTDefRegMap(@Self)^.&set := $00000010;
  21671. end;
  21672. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  21673. begin
  21674. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21675. end;
  21676. procedure TUART1_U1STA.setADDEN; inline;
  21677. begin
  21678. pTDefRegMap(@Self)^.&set := $00000020;
  21679. end;
  21680. procedure TUART1_U1STA.clearADDEN; inline;
  21681. begin
  21682. pTDefRegMap(@Self)^.clr := $00000020;
  21683. end;
  21684. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  21685. begin
  21686. if thebits = 0 then
  21687. pTDefRegMap(@Self)^.clr := $00000020
  21688. else
  21689. pTDefRegMap(@Self)^.&set := $00000020;
  21690. end;
  21691. function TUART1_U1STA.getADDEN : TBits_1; inline;
  21692. begin
  21693. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21694. end;
  21695. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  21696. begin
  21697. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21698. end;
  21699. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  21700. begin
  21701. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21702. end;
  21703. procedure TUART1_U1STA.setTRMT; inline;
  21704. begin
  21705. pTDefRegMap(@Self)^.&set := $00000100;
  21706. end;
  21707. procedure TUART1_U1STA.clearTRMT; inline;
  21708. begin
  21709. pTDefRegMap(@Self)^.clr := $00000100;
  21710. end;
  21711. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  21712. begin
  21713. if thebits = 0 then
  21714. pTDefRegMap(@Self)^.clr := $00000100
  21715. else
  21716. pTDefRegMap(@Self)^.&set := $00000100;
  21717. end;
  21718. function TUART1_U1STA.getTRMT : TBits_1; inline;
  21719. begin
  21720. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21721. end;
  21722. procedure TUART1_U1STA.setUTXBF; inline;
  21723. begin
  21724. pTDefRegMap(@Self)^.&set := $00000200;
  21725. end;
  21726. procedure TUART1_U1STA.clearUTXBF; inline;
  21727. begin
  21728. pTDefRegMap(@Self)^.clr := $00000200;
  21729. end;
  21730. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  21731. begin
  21732. if thebits = 0 then
  21733. pTDefRegMap(@Self)^.clr := $00000200
  21734. else
  21735. pTDefRegMap(@Self)^.&set := $00000200;
  21736. end;
  21737. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  21738. begin
  21739. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21740. end;
  21741. procedure TUART1_U1STA.setUTXEN; inline;
  21742. begin
  21743. pTDefRegMap(@Self)^.&set := $00000400;
  21744. end;
  21745. procedure TUART1_U1STA.clearUTXEN; inline;
  21746. begin
  21747. pTDefRegMap(@Self)^.clr := $00000400;
  21748. end;
  21749. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  21750. begin
  21751. if thebits = 0 then
  21752. pTDefRegMap(@Self)^.clr := $00000400
  21753. else
  21754. pTDefRegMap(@Self)^.&set := $00000400;
  21755. end;
  21756. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  21757. begin
  21758. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21759. end;
  21760. procedure TUART1_U1STA.setUTXBRK; inline;
  21761. begin
  21762. pTDefRegMap(@Self)^.&set := $00000800;
  21763. end;
  21764. procedure TUART1_U1STA.clearUTXBRK; inline;
  21765. begin
  21766. pTDefRegMap(@Self)^.clr := $00000800;
  21767. end;
  21768. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  21769. begin
  21770. if thebits = 0 then
  21771. pTDefRegMap(@Self)^.clr := $00000800
  21772. else
  21773. pTDefRegMap(@Self)^.&set := $00000800;
  21774. end;
  21775. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  21776. begin
  21777. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21778. end;
  21779. procedure TUART1_U1STA.setURXEN; inline;
  21780. begin
  21781. pTDefRegMap(@Self)^.&set := $00001000;
  21782. end;
  21783. procedure TUART1_U1STA.clearURXEN; inline;
  21784. begin
  21785. pTDefRegMap(@Self)^.clr := $00001000;
  21786. end;
  21787. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  21788. begin
  21789. if thebits = 0 then
  21790. pTDefRegMap(@Self)^.clr := $00001000
  21791. else
  21792. pTDefRegMap(@Self)^.&set := $00001000;
  21793. end;
  21794. function TUART1_U1STA.getURXEN : TBits_1; inline;
  21795. begin
  21796. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21797. end;
  21798. procedure TUART1_U1STA.setUTXINV; inline;
  21799. begin
  21800. pTDefRegMap(@Self)^.&set := $00002000;
  21801. end;
  21802. procedure TUART1_U1STA.clearUTXINV; inline;
  21803. begin
  21804. pTDefRegMap(@Self)^.clr := $00002000;
  21805. end;
  21806. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  21807. begin
  21808. if thebits = 0 then
  21809. pTDefRegMap(@Self)^.clr := $00002000
  21810. else
  21811. pTDefRegMap(@Self)^.&set := $00002000;
  21812. end;
  21813. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  21814. begin
  21815. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21816. end;
  21817. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  21818. begin
  21819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21820. end;
  21821. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  21822. begin
  21823. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21824. end;
  21825. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  21826. begin
  21827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21828. end;
  21829. function TUART1_U1STA.getADDR : TBits_8; inline;
  21830. begin
  21831. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21832. end;
  21833. procedure TUART1_U1STA.setADM_EN; inline;
  21834. begin
  21835. pTDefRegMap(@Self)^.&set := $01000000;
  21836. end;
  21837. procedure TUART1_U1STA.clearADM_EN; inline;
  21838. begin
  21839. pTDefRegMap(@Self)^.clr := $01000000;
  21840. end;
  21841. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  21842. begin
  21843. if thebits = 0 then
  21844. pTDefRegMap(@Self)^.clr := $01000000
  21845. else
  21846. pTDefRegMap(@Self)^.&set := $01000000;
  21847. end;
  21848. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  21849. begin
  21850. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21851. end;
  21852. procedure TUART1_U1STA.setURXISEL0; inline;
  21853. begin
  21854. pTDefRegMap(@Self)^.&set := $00000040;
  21855. end;
  21856. procedure TUART1_U1STA.clearURXISEL0; inline;
  21857. begin
  21858. pTDefRegMap(@Self)^.clr := $00000040;
  21859. end;
  21860. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  21861. begin
  21862. if thebits = 0 then
  21863. pTDefRegMap(@Self)^.clr := $00000040
  21864. else
  21865. pTDefRegMap(@Self)^.&set := $00000040;
  21866. end;
  21867. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  21868. begin
  21869. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21870. end;
  21871. procedure TUART1_U1STA.setURXISEL1; inline;
  21872. begin
  21873. pTDefRegMap(@Self)^.&set := $00000080;
  21874. end;
  21875. procedure TUART1_U1STA.clearURXISEL1; inline;
  21876. begin
  21877. pTDefRegMap(@Self)^.clr := $00000080;
  21878. end;
  21879. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  21880. begin
  21881. if thebits = 0 then
  21882. pTDefRegMap(@Self)^.clr := $00000080
  21883. else
  21884. pTDefRegMap(@Self)^.&set := $00000080;
  21885. end;
  21886. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  21887. begin
  21888. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21889. end;
  21890. procedure TUART1_U1STA.setUTXISEL0; inline;
  21891. begin
  21892. pTDefRegMap(@Self)^.&set := $00004000;
  21893. end;
  21894. procedure TUART1_U1STA.clearUTXISEL0; inline;
  21895. begin
  21896. pTDefRegMap(@Self)^.clr := $00004000;
  21897. end;
  21898. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  21899. begin
  21900. if thebits = 0 then
  21901. pTDefRegMap(@Self)^.clr := $00004000
  21902. else
  21903. pTDefRegMap(@Self)^.&set := $00004000;
  21904. end;
  21905. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  21906. begin
  21907. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21908. end;
  21909. procedure TUART1_U1STA.setUTXISEL1; inline;
  21910. begin
  21911. pTDefRegMap(@Self)^.&set := $00008000;
  21912. end;
  21913. procedure TUART1_U1STA.clearUTXISEL1; inline;
  21914. begin
  21915. pTDefRegMap(@Self)^.clr := $00008000;
  21916. end;
  21917. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  21918. begin
  21919. if thebits = 0 then
  21920. pTDefRegMap(@Self)^.clr := $00008000
  21921. else
  21922. pTDefRegMap(@Self)^.&set := $00008000;
  21923. end;
  21924. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  21925. begin
  21926. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21927. end;
  21928. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  21929. begin
  21930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21931. end;
  21932. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  21933. begin
  21934. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21935. end;
  21936. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  21937. begin
  21938. pTDefRegMap(@Self)^.val := thebits;
  21939. end;
  21940. function TUART1_U1STA.getw : TBits_32; inline;
  21941. begin
  21942. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21943. end;
  21944. procedure TUART1_UDCSTA.setURXDA; inline;
  21945. begin
  21946. pTDefRegMap(@Self)^.&set := $00000001;
  21947. end;
  21948. procedure TUART1_UDCSTA.clearURXDA; inline;
  21949. begin
  21950. pTDefRegMap(@Self)^.clr := $00000001;
  21951. end;
  21952. procedure TUART1_UDCSTA.setURXDA(thebits : TBits_1); inline;
  21953. begin
  21954. if thebits = 0 then
  21955. pTDefRegMap(@Self)^.clr := $00000001
  21956. else
  21957. pTDefRegMap(@Self)^.&set := $00000001;
  21958. end;
  21959. function TUART1_UDCSTA.getURXDA : TBits_1; inline;
  21960. begin
  21961. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21962. end;
  21963. procedure TUART1_UDCSTA.setOERR; inline;
  21964. begin
  21965. pTDefRegMap(@Self)^.&set := $00000002;
  21966. end;
  21967. procedure TUART1_UDCSTA.clearOERR; inline;
  21968. begin
  21969. pTDefRegMap(@Self)^.clr := $00000002;
  21970. end;
  21971. procedure TUART1_UDCSTA.setOERR(thebits : TBits_1); inline;
  21972. begin
  21973. if thebits = 0 then
  21974. pTDefRegMap(@Self)^.clr := $00000002
  21975. else
  21976. pTDefRegMap(@Self)^.&set := $00000002;
  21977. end;
  21978. function TUART1_UDCSTA.getOERR : TBits_1; inline;
  21979. begin
  21980. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21981. end;
  21982. procedure TUART1_UDCSTA.setFERR; inline;
  21983. begin
  21984. pTDefRegMap(@Self)^.&set := $00000004;
  21985. end;
  21986. procedure TUART1_UDCSTA.clearFERR; inline;
  21987. begin
  21988. pTDefRegMap(@Self)^.clr := $00000004;
  21989. end;
  21990. procedure TUART1_UDCSTA.setFERR(thebits : TBits_1); inline;
  21991. begin
  21992. if thebits = 0 then
  21993. pTDefRegMap(@Self)^.clr := $00000004
  21994. else
  21995. pTDefRegMap(@Self)^.&set := $00000004;
  21996. end;
  21997. function TUART1_UDCSTA.getFERR : TBits_1; inline;
  21998. begin
  21999. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22000. end;
  22001. procedure TUART1_UDCSTA.setPERR; inline;
  22002. begin
  22003. pTDefRegMap(@Self)^.&set := $00000008;
  22004. end;
  22005. procedure TUART1_UDCSTA.clearPERR; inline;
  22006. begin
  22007. pTDefRegMap(@Self)^.clr := $00000008;
  22008. end;
  22009. procedure TUART1_UDCSTA.setPERR(thebits : TBits_1); inline;
  22010. begin
  22011. if thebits = 0 then
  22012. pTDefRegMap(@Self)^.clr := $00000008
  22013. else
  22014. pTDefRegMap(@Self)^.&set := $00000008;
  22015. end;
  22016. function TUART1_UDCSTA.getPERR : TBits_1; inline;
  22017. begin
  22018. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22019. end;
  22020. procedure TUART1_UDCSTA.setRIDLE; inline;
  22021. begin
  22022. pTDefRegMap(@Self)^.&set := $00000010;
  22023. end;
  22024. procedure TUART1_UDCSTA.clearRIDLE; inline;
  22025. begin
  22026. pTDefRegMap(@Self)^.clr := $00000010;
  22027. end;
  22028. procedure TUART1_UDCSTA.setRIDLE(thebits : TBits_1); inline;
  22029. begin
  22030. if thebits = 0 then
  22031. pTDefRegMap(@Self)^.clr := $00000010
  22032. else
  22033. pTDefRegMap(@Self)^.&set := $00000010;
  22034. end;
  22035. function TUART1_UDCSTA.getRIDLE : TBits_1; inline;
  22036. begin
  22037. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22038. end;
  22039. procedure TUART1_UDCSTA.setADDEN; inline;
  22040. begin
  22041. pTDefRegMap(@Self)^.&set := $00000020;
  22042. end;
  22043. procedure TUART1_UDCSTA.clearADDEN; inline;
  22044. begin
  22045. pTDefRegMap(@Self)^.clr := $00000020;
  22046. end;
  22047. procedure TUART1_UDCSTA.setADDEN(thebits : TBits_1); inline;
  22048. begin
  22049. if thebits = 0 then
  22050. pTDefRegMap(@Self)^.clr := $00000020
  22051. else
  22052. pTDefRegMap(@Self)^.&set := $00000020;
  22053. end;
  22054. function TUART1_UDCSTA.getADDEN : TBits_1; inline;
  22055. begin
  22056. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22057. end;
  22058. procedure TUART1_UDCSTA.setURXISEL(thebits : TBits_2); inline;
  22059. begin
  22060. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  22061. end;
  22062. function TUART1_UDCSTA.getURXISEL : TBits_2; inline;
  22063. begin
  22064. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  22065. end;
  22066. procedure TUART1_UDCSTA.setTRMT; inline;
  22067. begin
  22068. pTDefRegMap(@Self)^.&set := $00000100;
  22069. end;
  22070. procedure TUART1_UDCSTA.clearTRMT; inline;
  22071. begin
  22072. pTDefRegMap(@Self)^.clr := $00000100;
  22073. end;
  22074. procedure TUART1_UDCSTA.setTRMT(thebits : TBits_1); inline;
  22075. begin
  22076. if thebits = 0 then
  22077. pTDefRegMap(@Self)^.clr := $00000100
  22078. else
  22079. pTDefRegMap(@Self)^.&set := $00000100;
  22080. end;
  22081. function TUART1_UDCSTA.getTRMT : TBits_1; inline;
  22082. begin
  22083. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22084. end;
  22085. procedure TUART1_UDCSTA.setUTXBF; inline;
  22086. begin
  22087. pTDefRegMap(@Self)^.&set := $00000200;
  22088. end;
  22089. procedure TUART1_UDCSTA.clearUTXBF; inline;
  22090. begin
  22091. pTDefRegMap(@Self)^.clr := $00000200;
  22092. end;
  22093. procedure TUART1_UDCSTA.setUTXBF(thebits : TBits_1); inline;
  22094. begin
  22095. if thebits = 0 then
  22096. pTDefRegMap(@Self)^.clr := $00000200
  22097. else
  22098. pTDefRegMap(@Self)^.&set := $00000200;
  22099. end;
  22100. function TUART1_UDCSTA.getUTXBF : TBits_1; inline;
  22101. begin
  22102. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22103. end;
  22104. procedure TUART1_UDCSTA.setUTXEN; inline;
  22105. begin
  22106. pTDefRegMap(@Self)^.&set := $00000400;
  22107. end;
  22108. procedure TUART1_UDCSTA.clearUTXEN; inline;
  22109. begin
  22110. pTDefRegMap(@Self)^.clr := $00000400;
  22111. end;
  22112. procedure TUART1_UDCSTA.setUTXEN(thebits : TBits_1); inline;
  22113. begin
  22114. if thebits = 0 then
  22115. pTDefRegMap(@Self)^.clr := $00000400
  22116. else
  22117. pTDefRegMap(@Self)^.&set := $00000400;
  22118. end;
  22119. function TUART1_UDCSTA.getUTXEN : TBits_1; inline;
  22120. begin
  22121. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22122. end;
  22123. procedure TUART1_UDCSTA.setUTXBRK; inline;
  22124. begin
  22125. pTDefRegMap(@Self)^.&set := $00000800;
  22126. end;
  22127. procedure TUART1_UDCSTA.clearUTXBRK; inline;
  22128. begin
  22129. pTDefRegMap(@Self)^.clr := $00000800;
  22130. end;
  22131. procedure TUART1_UDCSTA.setUTXBRK(thebits : TBits_1); inline;
  22132. begin
  22133. if thebits = 0 then
  22134. pTDefRegMap(@Self)^.clr := $00000800
  22135. else
  22136. pTDefRegMap(@Self)^.&set := $00000800;
  22137. end;
  22138. function TUART1_UDCSTA.getUTXBRK : TBits_1; inline;
  22139. begin
  22140. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22141. end;
  22142. procedure TUART1_UDCSTA.setURXEN; inline;
  22143. begin
  22144. pTDefRegMap(@Self)^.&set := $00001000;
  22145. end;
  22146. procedure TUART1_UDCSTA.clearURXEN; inline;
  22147. begin
  22148. pTDefRegMap(@Self)^.clr := $00001000;
  22149. end;
  22150. procedure TUART1_UDCSTA.setURXEN(thebits : TBits_1); inline;
  22151. begin
  22152. if thebits = 0 then
  22153. pTDefRegMap(@Self)^.clr := $00001000
  22154. else
  22155. pTDefRegMap(@Self)^.&set := $00001000;
  22156. end;
  22157. function TUART1_UDCSTA.getURXEN : TBits_1; inline;
  22158. begin
  22159. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22160. end;
  22161. procedure TUART1_UDCSTA.setUTXINV; inline;
  22162. begin
  22163. pTDefRegMap(@Self)^.&set := $00002000;
  22164. end;
  22165. procedure TUART1_UDCSTA.clearUTXINV; inline;
  22166. begin
  22167. pTDefRegMap(@Self)^.clr := $00002000;
  22168. end;
  22169. procedure TUART1_UDCSTA.setUTXINV(thebits : TBits_1); inline;
  22170. begin
  22171. if thebits = 0 then
  22172. pTDefRegMap(@Self)^.clr := $00002000
  22173. else
  22174. pTDefRegMap(@Self)^.&set := $00002000;
  22175. end;
  22176. function TUART1_UDCSTA.getUTXINV : TBits_1; inline;
  22177. begin
  22178. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22179. end;
  22180. procedure TUART1_UDCSTA.setUTXISEL(thebits : TBits_2); inline;
  22181. begin
  22182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  22183. end;
  22184. function TUART1_UDCSTA.getUTXISEL : TBits_2; inline;
  22185. begin
  22186. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  22187. end;
  22188. procedure TUART1_UDCSTA.setADDR(thebits : TBits_8); inline;
  22189. begin
  22190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  22191. end;
  22192. function TUART1_UDCSTA.getADDR : TBits_8; inline;
  22193. begin
  22194. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  22195. end;
  22196. procedure TUART1_UDCSTA.setADM_EN; inline;
  22197. begin
  22198. pTDefRegMap(@Self)^.&set := $01000000;
  22199. end;
  22200. procedure TUART1_UDCSTA.clearADM_EN; inline;
  22201. begin
  22202. pTDefRegMap(@Self)^.clr := $01000000;
  22203. end;
  22204. procedure TUART1_UDCSTA.setADM_EN(thebits : TBits_1); inline;
  22205. begin
  22206. if thebits = 0 then
  22207. pTDefRegMap(@Self)^.clr := $01000000
  22208. else
  22209. pTDefRegMap(@Self)^.&set := $01000000;
  22210. end;
  22211. function TUART1_UDCSTA.getADM_EN : TBits_1; inline;
  22212. begin
  22213. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  22214. end;
  22215. procedure TUART1_UDCSTA.setURXISEL0; inline;
  22216. begin
  22217. pTDefRegMap(@Self)^.&set := $00000040;
  22218. end;
  22219. procedure TUART1_UDCSTA.clearURXISEL0; inline;
  22220. begin
  22221. pTDefRegMap(@Self)^.clr := $00000040;
  22222. end;
  22223. procedure TUART1_UDCSTA.setURXISEL0(thebits : TBits_1); inline;
  22224. begin
  22225. if thebits = 0 then
  22226. pTDefRegMap(@Self)^.clr := $00000040
  22227. else
  22228. pTDefRegMap(@Self)^.&set := $00000040;
  22229. end;
  22230. function TUART1_UDCSTA.getURXISEL0 : TBits_1; inline;
  22231. begin
  22232. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22233. end;
  22234. procedure TUART1_UDCSTA.setURXISEL1; inline;
  22235. begin
  22236. pTDefRegMap(@Self)^.&set := $00000080;
  22237. end;
  22238. procedure TUART1_UDCSTA.clearURXISEL1; inline;
  22239. begin
  22240. pTDefRegMap(@Self)^.clr := $00000080;
  22241. end;
  22242. procedure TUART1_UDCSTA.setURXISEL1(thebits : TBits_1); inline;
  22243. begin
  22244. if thebits = 0 then
  22245. pTDefRegMap(@Self)^.clr := $00000080
  22246. else
  22247. pTDefRegMap(@Self)^.&set := $00000080;
  22248. end;
  22249. function TUART1_UDCSTA.getURXISEL1 : TBits_1; inline;
  22250. begin
  22251. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22252. end;
  22253. procedure TUART1_UDCSTA.setUTXISEL0; inline;
  22254. begin
  22255. pTDefRegMap(@Self)^.&set := $00004000;
  22256. end;
  22257. procedure TUART1_UDCSTA.clearUTXISEL0; inline;
  22258. begin
  22259. pTDefRegMap(@Self)^.clr := $00004000;
  22260. end;
  22261. procedure TUART1_UDCSTA.setUTXISEL0(thebits : TBits_1); inline;
  22262. begin
  22263. if thebits = 0 then
  22264. pTDefRegMap(@Self)^.clr := $00004000
  22265. else
  22266. pTDefRegMap(@Self)^.&set := $00004000;
  22267. end;
  22268. function TUART1_UDCSTA.getUTXISEL0 : TBits_1; inline;
  22269. begin
  22270. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22271. end;
  22272. procedure TUART1_UDCSTA.setUTXISEL1; inline;
  22273. begin
  22274. pTDefRegMap(@Self)^.&set := $00008000;
  22275. end;
  22276. procedure TUART1_UDCSTA.clearUTXISEL1; inline;
  22277. begin
  22278. pTDefRegMap(@Self)^.clr := $00008000;
  22279. end;
  22280. procedure TUART1_UDCSTA.setUTXISEL1(thebits : TBits_1); inline;
  22281. begin
  22282. if thebits = 0 then
  22283. pTDefRegMap(@Self)^.clr := $00008000
  22284. else
  22285. pTDefRegMap(@Self)^.&set := $00008000;
  22286. end;
  22287. function TUART1_UDCSTA.getUTXISEL1 : TBits_1; inline;
  22288. begin
  22289. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22290. end;
  22291. procedure TUART1_UDCSTA.setUTXSEL(thebits : TBits_2); inline;
  22292. begin
  22293. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  22294. end;
  22295. function TUART1_UDCSTA.getUTXSEL : TBits_2; inline;
  22296. begin
  22297. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  22298. end;
  22299. procedure TUART1_UDCSTA.setw(thebits : TBits_32); inline;
  22300. begin
  22301. pTDefRegMap(@Self)^.val := thebits;
  22302. end;
  22303. function TUART1_UDCSTA.getw : TBits_32; inline;
  22304. begin
  22305. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22306. end;
  22307. procedure TUART2_U2MODE.setSTSEL; inline;
  22308. begin
  22309. pTDefRegMap(@Self)^.&set := $00000001;
  22310. end;
  22311. procedure TUART2_U2MODE.clearSTSEL; inline;
  22312. begin
  22313. pTDefRegMap(@Self)^.clr := $00000001;
  22314. end;
  22315. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  22316. begin
  22317. if thebits = 0 then
  22318. pTDefRegMap(@Self)^.clr := $00000001
  22319. else
  22320. pTDefRegMap(@Self)^.&set := $00000001;
  22321. end;
  22322. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  22323. begin
  22324. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22325. end;
  22326. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  22327. begin
  22328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  22329. end;
  22330. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  22331. begin
  22332. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  22333. end;
  22334. procedure TUART2_U2MODE.setBRGH; inline;
  22335. begin
  22336. pTDefRegMap(@Self)^.&set := $00000008;
  22337. end;
  22338. procedure TUART2_U2MODE.clearBRGH; inline;
  22339. begin
  22340. pTDefRegMap(@Self)^.clr := $00000008;
  22341. end;
  22342. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  22343. begin
  22344. if thebits = 0 then
  22345. pTDefRegMap(@Self)^.clr := $00000008
  22346. else
  22347. pTDefRegMap(@Self)^.&set := $00000008;
  22348. end;
  22349. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  22350. begin
  22351. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22352. end;
  22353. procedure TUART2_U2MODE.setRXINV; inline;
  22354. begin
  22355. pTDefRegMap(@Self)^.&set := $00000010;
  22356. end;
  22357. procedure TUART2_U2MODE.clearRXINV; inline;
  22358. begin
  22359. pTDefRegMap(@Self)^.clr := $00000010;
  22360. end;
  22361. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  22362. begin
  22363. if thebits = 0 then
  22364. pTDefRegMap(@Self)^.clr := $00000010
  22365. else
  22366. pTDefRegMap(@Self)^.&set := $00000010;
  22367. end;
  22368. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  22369. begin
  22370. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22371. end;
  22372. procedure TUART2_U2MODE.setABAUD; inline;
  22373. begin
  22374. pTDefRegMap(@Self)^.&set := $00000020;
  22375. end;
  22376. procedure TUART2_U2MODE.clearABAUD; inline;
  22377. begin
  22378. pTDefRegMap(@Self)^.clr := $00000020;
  22379. end;
  22380. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  22381. begin
  22382. if thebits = 0 then
  22383. pTDefRegMap(@Self)^.clr := $00000020
  22384. else
  22385. pTDefRegMap(@Self)^.&set := $00000020;
  22386. end;
  22387. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  22388. begin
  22389. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22390. end;
  22391. procedure TUART2_U2MODE.setLPBACK; inline;
  22392. begin
  22393. pTDefRegMap(@Self)^.&set := $00000040;
  22394. end;
  22395. procedure TUART2_U2MODE.clearLPBACK; inline;
  22396. begin
  22397. pTDefRegMap(@Self)^.clr := $00000040;
  22398. end;
  22399. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  22400. begin
  22401. if thebits = 0 then
  22402. pTDefRegMap(@Self)^.clr := $00000040
  22403. else
  22404. pTDefRegMap(@Self)^.&set := $00000040;
  22405. end;
  22406. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  22407. begin
  22408. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22409. end;
  22410. procedure TUART2_U2MODE.setWAKE; inline;
  22411. begin
  22412. pTDefRegMap(@Self)^.&set := $00000080;
  22413. end;
  22414. procedure TUART2_U2MODE.clearWAKE; inline;
  22415. begin
  22416. pTDefRegMap(@Self)^.clr := $00000080;
  22417. end;
  22418. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  22419. begin
  22420. if thebits = 0 then
  22421. pTDefRegMap(@Self)^.clr := $00000080
  22422. else
  22423. pTDefRegMap(@Self)^.&set := $00000080;
  22424. end;
  22425. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  22426. begin
  22427. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22428. end;
  22429. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  22430. begin
  22431. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22432. end;
  22433. function TUART2_U2MODE.getUEN : TBits_2; inline;
  22434. begin
  22435. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22436. end;
  22437. procedure TUART2_U2MODE.setRTSMD; inline;
  22438. begin
  22439. pTDefRegMap(@Self)^.&set := $00000800;
  22440. end;
  22441. procedure TUART2_U2MODE.clearRTSMD; inline;
  22442. begin
  22443. pTDefRegMap(@Self)^.clr := $00000800;
  22444. end;
  22445. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  22446. begin
  22447. if thebits = 0 then
  22448. pTDefRegMap(@Self)^.clr := $00000800
  22449. else
  22450. pTDefRegMap(@Self)^.&set := $00000800;
  22451. end;
  22452. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  22453. begin
  22454. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22455. end;
  22456. procedure TUART2_U2MODE.setIREN; inline;
  22457. begin
  22458. pTDefRegMap(@Self)^.&set := $00001000;
  22459. end;
  22460. procedure TUART2_U2MODE.clearIREN; inline;
  22461. begin
  22462. pTDefRegMap(@Self)^.clr := $00001000;
  22463. end;
  22464. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  22465. begin
  22466. if thebits = 0 then
  22467. pTDefRegMap(@Self)^.clr := $00001000
  22468. else
  22469. pTDefRegMap(@Self)^.&set := $00001000;
  22470. end;
  22471. function TUART2_U2MODE.getIREN : TBits_1; inline;
  22472. begin
  22473. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22474. end;
  22475. procedure TUART2_U2MODE.setSIDL; inline;
  22476. begin
  22477. pTDefRegMap(@Self)^.&set := $00002000;
  22478. end;
  22479. procedure TUART2_U2MODE.clearSIDL; inline;
  22480. begin
  22481. pTDefRegMap(@Self)^.clr := $00002000;
  22482. end;
  22483. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  22484. begin
  22485. if thebits = 0 then
  22486. pTDefRegMap(@Self)^.clr := $00002000
  22487. else
  22488. pTDefRegMap(@Self)^.&set := $00002000;
  22489. end;
  22490. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  22491. begin
  22492. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22493. end;
  22494. procedure TUART2_U2MODE.setON; inline;
  22495. begin
  22496. pTDefRegMap(@Self)^.&set := $00008000;
  22497. end;
  22498. procedure TUART2_U2MODE.clearON; inline;
  22499. begin
  22500. pTDefRegMap(@Self)^.clr := $00008000;
  22501. end;
  22502. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  22503. begin
  22504. if thebits = 0 then
  22505. pTDefRegMap(@Self)^.clr := $00008000
  22506. else
  22507. pTDefRegMap(@Self)^.&set := $00008000;
  22508. end;
  22509. function TUART2_U2MODE.getON : TBits_1; inline;
  22510. begin
  22511. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22512. end;
  22513. procedure TUART2_U2MODE.setPDSEL0; inline;
  22514. begin
  22515. pTDefRegMap(@Self)^.&set := $00000002;
  22516. end;
  22517. procedure TUART2_U2MODE.clearPDSEL0; inline;
  22518. begin
  22519. pTDefRegMap(@Self)^.clr := $00000002;
  22520. end;
  22521. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  22522. begin
  22523. if thebits = 0 then
  22524. pTDefRegMap(@Self)^.clr := $00000002
  22525. else
  22526. pTDefRegMap(@Self)^.&set := $00000002;
  22527. end;
  22528. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  22529. begin
  22530. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22531. end;
  22532. procedure TUART2_U2MODE.setPDSEL1; inline;
  22533. begin
  22534. pTDefRegMap(@Self)^.&set := $00000004;
  22535. end;
  22536. procedure TUART2_U2MODE.clearPDSEL1; inline;
  22537. begin
  22538. pTDefRegMap(@Self)^.clr := $00000004;
  22539. end;
  22540. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  22541. begin
  22542. if thebits = 0 then
  22543. pTDefRegMap(@Self)^.clr := $00000004
  22544. else
  22545. pTDefRegMap(@Self)^.&set := $00000004;
  22546. end;
  22547. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  22548. begin
  22549. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22550. end;
  22551. procedure TUART2_U2MODE.setUEN0; inline;
  22552. begin
  22553. pTDefRegMap(@Self)^.&set := $00000100;
  22554. end;
  22555. procedure TUART2_U2MODE.clearUEN0; inline;
  22556. begin
  22557. pTDefRegMap(@Self)^.clr := $00000100;
  22558. end;
  22559. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  22560. begin
  22561. if thebits = 0 then
  22562. pTDefRegMap(@Self)^.clr := $00000100
  22563. else
  22564. pTDefRegMap(@Self)^.&set := $00000100;
  22565. end;
  22566. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  22567. begin
  22568. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22569. end;
  22570. procedure TUART2_U2MODE.setUEN1; inline;
  22571. begin
  22572. pTDefRegMap(@Self)^.&set := $00000200;
  22573. end;
  22574. procedure TUART2_U2MODE.clearUEN1; inline;
  22575. begin
  22576. pTDefRegMap(@Self)^.clr := $00000200;
  22577. end;
  22578. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  22579. begin
  22580. if thebits = 0 then
  22581. pTDefRegMap(@Self)^.clr := $00000200
  22582. else
  22583. pTDefRegMap(@Self)^.&set := $00000200;
  22584. end;
  22585. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  22586. begin
  22587. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22588. end;
  22589. procedure TUART2_U2MODE.setUSIDL; inline;
  22590. begin
  22591. pTDefRegMap(@Self)^.&set := $00002000;
  22592. end;
  22593. procedure TUART2_U2MODE.clearUSIDL; inline;
  22594. begin
  22595. pTDefRegMap(@Self)^.clr := $00002000;
  22596. end;
  22597. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  22598. begin
  22599. if thebits = 0 then
  22600. pTDefRegMap(@Self)^.clr := $00002000
  22601. else
  22602. pTDefRegMap(@Self)^.&set := $00002000;
  22603. end;
  22604. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  22605. begin
  22606. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22607. end;
  22608. procedure TUART2_U2MODE.setUARTEN; inline;
  22609. begin
  22610. pTDefRegMap(@Self)^.&set := $00008000;
  22611. end;
  22612. procedure TUART2_U2MODE.clearUARTEN; inline;
  22613. begin
  22614. pTDefRegMap(@Self)^.clr := $00008000;
  22615. end;
  22616. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  22617. begin
  22618. if thebits = 0 then
  22619. pTDefRegMap(@Self)^.clr := $00008000
  22620. else
  22621. pTDefRegMap(@Self)^.&set := $00008000;
  22622. end;
  22623. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  22624. begin
  22625. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22626. end;
  22627. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  22628. begin
  22629. pTDefRegMap(@Self)^.val := thebits;
  22630. end;
  22631. function TUART2_U2MODE.getw : TBits_32; inline;
  22632. begin
  22633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22634. end;
  22635. procedure TUART2_U8932MODE.setSTSEL; inline;
  22636. begin
  22637. pTDefRegMap(@Self)^.&set := $00000001;
  22638. end;
  22639. procedure TUART2_U8932MODE.clearSTSEL; inline;
  22640. begin
  22641. pTDefRegMap(@Self)^.clr := $00000001;
  22642. end;
  22643. procedure TUART2_U8932MODE.setSTSEL(thebits : TBits_1); inline;
  22644. begin
  22645. if thebits = 0 then
  22646. pTDefRegMap(@Self)^.clr := $00000001
  22647. else
  22648. pTDefRegMap(@Self)^.&set := $00000001;
  22649. end;
  22650. function TUART2_U8932MODE.getSTSEL : TBits_1; inline;
  22651. begin
  22652. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22653. end;
  22654. procedure TUART2_U8932MODE.setPDSEL(thebits : TBits_2); inline;
  22655. begin
  22656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  22657. end;
  22658. function TUART2_U8932MODE.getPDSEL : TBits_2; inline;
  22659. begin
  22660. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  22661. end;
  22662. procedure TUART2_U8932MODE.setBRGH; inline;
  22663. begin
  22664. pTDefRegMap(@Self)^.&set := $00000008;
  22665. end;
  22666. procedure TUART2_U8932MODE.clearBRGH; inline;
  22667. begin
  22668. pTDefRegMap(@Self)^.clr := $00000008;
  22669. end;
  22670. procedure TUART2_U8932MODE.setBRGH(thebits : TBits_1); inline;
  22671. begin
  22672. if thebits = 0 then
  22673. pTDefRegMap(@Self)^.clr := $00000008
  22674. else
  22675. pTDefRegMap(@Self)^.&set := $00000008;
  22676. end;
  22677. function TUART2_U8932MODE.getBRGH : TBits_1; inline;
  22678. begin
  22679. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22680. end;
  22681. procedure TUART2_U8932MODE.setRXINV; inline;
  22682. begin
  22683. pTDefRegMap(@Self)^.&set := $00000010;
  22684. end;
  22685. procedure TUART2_U8932MODE.clearRXINV; inline;
  22686. begin
  22687. pTDefRegMap(@Self)^.clr := $00000010;
  22688. end;
  22689. procedure TUART2_U8932MODE.setRXINV(thebits : TBits_1); inline;
  22690. begin
  22691. if thebits = 0 then
  22692. pTDefRegMap(@Self)^.clr := $00000010
  22693. else
  22694. pTDefRegMap(@Self)^.&set := $00000010;
  22695. end;
  22696. function TUART2_U8932MODE.getRXINV : TBits_1; inline;
  22697. begin
  22698. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22699. end;
  22700. procedure TUART2_U8932MODE.setABAUD; inline;
  22701. begin
  22702. pTDefRegMap(@Self)^.&set := $00000020;
  22703. end;
  22704. procedure TUART2_U8932MODE.clearABAUD; inline;
  22705. begin
  22706. pTDefRegMap(@Self)^.clr := $00000020;
  22707. end;
  22708. procedure TUART2_U8932MODE.setABAUD(thebits : TBits_1); inline;
  22709. begin
  22710. if thebits = 0 then
  22711. pTDefRegMap(@Self)^.clr := $00000020
  22712. else
  22713. pTDefRegMap(@Self)^.&set := $00000020;
  22714. end;
  22715. function TUART2_U8932MODE.getABAUD : TBits_1; inline;
  22716. begin
  22717. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22718. end;
  22719. procedure TUART2_U8932MODE.setLPBACK; inline;
  22720. begin
  22721. pTDefRegMap(@Self)^.&set := $00000040;
  22722. end;
  22723. procedure TUART2_U8932MODE.clearLPBACK; inline;
  22724. begin
  22725. pTDefRegMap(@Self)^.clr := $00000040;
  22726. end;
  22727. procedure TUART2_U8932MODE.setLPBACK(thebits : TBits_1); inline;
  22728. begin
  22729. if thebits = 0 then
  22730. pTDefRegMap(@Self)^.clr := $00000040
  22731. else
  22732. pTDefRegMap(@Self)^.&set := $00000040;
  22733. end;
  22734. function TUART2_U8932MODE.getLPBACK : TBits_1; inline;
  22735. begin
  22736. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22737. end;
  22738. procedure TUART2_U8932MODE.setWAKE; inline;
  22739. begin
  22740. pTDefRegMap(@Self)^.&set := $00000080;
  22741. end;
  22742. procedure TUART2_U8932MODE.clearWAKE; inline;
  22743. begin
  22744. pTDefRegMap(@Self)^.clr := $00000080;
  22745. end;
  22746. procedure TUART2_U8932MODE.setWAKE(thebits : TBits_1); inline;
  22747. begin
  22748. if thebits = 0 then
  22749. pTDefRegMap(@Self)^.clr := $00000080
  22750. else
  22751. pTDefRegMap(@Self)^.&set := $00000080;
  22752. end;
  22753. function TUART2_U8932MODE.getWAKE : TBits_1; inline;
  22754. begin
  22755. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22756. end;
  22757. procedure TUART2_U8932MODE.setUEN(thebits : TBits_2); inline;
  22758. begin
  22759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22760. end;
  22761. function TUART2_U8932MODE.getUEN : TBits_2; inline;
  22762. begin
  22763. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22764. end;
  22765. procedure TUART2_U8932MODE.setRTSMD; inline;
  22766. begin
  22767. pTDefRegMap(@Self)^.&set := $00000800;
  22768. end;
  22769. procedure TUART2_U8932MODE.clearRTSMD; inline;
  22770. begin
  22771. pTDefRegMap(@Self)^.clr := $00000800;
  22772. end;
  22773. procedure TUART2_U8932MODE.setRTSMD(thebits : TBits_1); inline;
  22774. begin
  22775. if thebits = 0 then
  22776. pTDefRegMap(@Self)^.clr := $00000800
  22777. else
  22778. pTDefRegMap(@Self)^.&set := $00000800;
  22779. end;
  22780. function TUART2_U8932MODE.getRTSMD : TBits_1; inline;
  22781. begin
  22782. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22783. end;
  22784. procedure TUART2_U8932MODE.setIREN; inline;
  22785. begin
  22786. pTDefRegMap(@Self)^.&set := $00001000;
  22787. end;
  22788. procedure TUART2_U8932MODE.clearIREN; inline;
  22789. begin
  22790. pTDefRegMap(@Self)^.clr := $00001000;
  22791. end;
  22792. procedure TUART2_U8932MODE.setIREN(thebits : TBits_1); inline;
  22793. begin
  22794. if thebits = 0 then
  22795. pTDefRegMap(@Self)^.clr := $00001000
  22796. else
  22797. pTDefRegMap(@Self)^.&set := $00001000;
  22798. end;
  22799. function TUART2_U8932MODE.getIREN : TBits_1; inline;
  22800. begin
  22801. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22802. end;
  22803. procedure TUART2_U8932MODE.setSIDL; inline;
  22804. begin
  22805. pTDefRegMap(@Self)^.&set := $00002000;
  22806. end;
  22807. procedure TUART2_U8932MODE.clearSIDL; inline;
  22808. begin
  22809. pTDefRegMap(@Self)^.clr := $00002000;
  22810. end;
  22811. procedure TUART2_U8932MODE.setSIDL(thebits : TBits_1); inline;
  22812. begin
  22813. if thebits = 0 then
  22814. pTDefRegMap(@Self)^.clr := $00002000
  22815. else
  22816. pTDefRegMap(@Self)^.&set := $00002000;
  22817. end;
  22818. function TUART2_U8932MODE.getSIDL : TBits_1; inline;
  22819. begin
  22820. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22821. end;
  22822. procedure TUART2_U8932MODE.setON; inline;
  22823. begin
  22824. pTDefRegMap(@Self)^.&set := $00008000;
  22825. end;
  22826. procedure TUART2_U8932MODE.clearON; inline;
  22827. begin
  22828. pTDefRegMap(@Self)^.clr := $00008000;
  22829. end;
  22830. procedure TUART2_U8932MODE.setON(thebits : TBits_1); inline;
  22831. begin
  22832. if thebits = 0 then
  22833. pTDefRegMap(@Self)^.clr := $00008000
  22834. else
  22835. pTDefRegMap(@Self)^.&set := $00008000;
  22836. end;
  22837. function TUART2_U8932MODE.getON : TBits_1; inline;
  22838. begin
  22839. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22840. end;
  22841. procedure TUART2_U8932MODE.setPDSEL0; inline;
  22842. begin
  22843. pTDefRegMap(@Self)^.&set := $00000002;
  22844. end;
  22845. procedure TUART2_U8932MODE.clearPDSEL0; inline;
  22846. begin
  22847. pTDefRegMap(@Self)^.clr := $00000002;
  22848. end;
  22849. procedure TUART2_U8932MODE.setPDSEL0(thebits : TBits_1); inline;
  22850. begin
  22851. if thebits = 0 then
  22852. pTDefRegMap(@Self)^.clr := $00000002
  22853. else
  22854. pTDefRegMap(@Self)^.&set := $00000002;
  22855. end;
  22856. function TUART2_U8932MODE.getPDSEL0 : TBits_1; inline;
  22857. begin
  22858. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22859. end;
  22860. procedure TUART2_U8932MODE.setPDSEL1; inline;
  22861. begin
  22862. pTDefRegMap(@Self)^.&set := $00000004;
  22863. end;
  22864. procedure TUART2_U8932MODE.clearPDSEL1; inline;
  22865. begin
  22866. pTDefRegMap(@Self)^.clr := $00000004;
  22867. end;
  22868. procedure TUART2_U8932MODE.setPDSEL1(thebits : TBits_1); inline;
  22869. begin
  22870. if thebits = 0 then
  22871. pTDefRegMap(@Self)^.clr := $00000004
  22872. else
  22873. pTDefRegMap(@Self)^.&set := $00000004;
  22874. end;
  22875. function TUART2_U8932MODE.getPDSEL1 : TBits_1; inline;
  22876. begin
  22877. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22878. end;
  22879. procedure TUART2_U8932MODE.setUEN0; inline;
  22880. begin
  22881. pTDefRegMap(@Self)^.&set := $00000100;
  22882. end;
  22883. procedure TUART2_U8932MODE.clearUEN0; inline;
  22884. begin
  22885. pTDefRegMap(@Self)^.clr := $00000100;
  22886. end;
  22887. procedure TUART2_U8932MODE.setUEN0(thebits : TBits_1); inline;
  22888. begin
  22889. if thebits = 0 then
  22890. pTDefRegMap(@Self)^.clr := $00000100
  22891. else
  22892. pTDefRegMap(@Self)^.&set := $00000100;
  22893. end;
  22894. function TUART2_U8932MODE.getUEN0 : TBits_1; inline;
  22895. begin
  22896. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22897. end;
  22898. procedure TUART2_U8932MODE.setUEN1; inline;
  22899. begin
  22900. pTDefRegMap(@Self)^.&set := $00000200;
  22901. end;
  22902. procedure TUART2_U8932MODE.clearUEN1; inline;
  22903. begin
  22904. pTDefRegMap(@Self)^.clr := $00000200;
  22905. end;
  22906. procedure TUART2_U8932MODE.setUEN1(thebits : TBits_1); inline;
  22907. begin
  22908. if thebits = 0 then
  22909. pTDefRegMap(@Self)^.clr := $00000200
  22910. else
  22911. pTDefRegMap(@Self)^.&set := $00000200;
  22912. end;
  22913. function TUART2_U8932MODE.getUEN1 : TBits_1; inline;
  22914. begin
  22915. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22916. end;
  22917. procedure TUART2_U8932MODE.setUSIDL; inline;
  22918. begin
  22919. pTDefRegMap(@Self)^.&set := $00002000;
  22920. end;
  22921. procedure TUART2_U8932MODE.clearUSIDL; inline;
  22922. begin
  22923. pTDefRegMap(@Self)^.clr := $00002000;
  22924. end;
  22925. procedure TUART2_U8932MODE.setUSIDL(thebits : TBits_1); inline;
  22926. begin
  22927. if thebits = 0 then
  22928. pTDefRegMap(@Self)^.clr := $00002000
  22929. else
  22930. pTDefRegMap(@Self)^.&set := $00002000;
  22931. end;
  22932. function TUART2_U8932MODE.getUSIDL : TBits_1; inline;
  22933. begin
  22934. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22935. end;
  22936. procedure TUART2_U8932MODE.setUARTEN; inline;
  22937. begin
  22938. pTDefRegMap(@Self)^.&set := $00008000;
  22939. end;
  22940. procedure TUART2_U8932MODE.clearUARTEN; inline;
  22941. begin
  22942. pTDefRegMap(@Self)^.clr := $00008000;
  22943. end;
  22944. procedure TUART2_U8932MODE.setUARTEN(thebits : TBits_1); inline;
  22945. begin
  22946. if thebits = 0 then
  22947. pTDefRegMap(@Self)^.clr := $00008000
  22948. else
  22949. pTDefRegMap(@Self)^.&set := $00008000;
  22950. end;
  22951. function TUART2_U8932MODE.getUARTEN : TBits_1; inline;
  22952. begin
  22953. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22954. end;
  22955. procedure TUART2_U8932MODE.setw(thebits : TBits_32); inline;
  22956. begin
  22957. pTDefRegMap(@Self)^.val := thebits;
  22958. end;
  22959. function TUART2_U8932MODE.getw : TBits_32; inline;
  22960. begin
  22961. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22962. end;
  22963. procedure TUART2_U2STA.setURXDA; inline;
  22964. begin
  22965. pTDefRegMap(@Self)^.&set := $00000001;
  22966. end;
  22967. procedure TUART2_U2STA.clearURXDA; inline;
  22968. begin
  22969. pTDefRegMap(@Self)^.clr := $00000001;
  22970. end;
  22971. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  22972. begin
  22973. if thebits = 0 then
  22974. pTDefRegMap(@Self)^.clr := $00000001
  22975. else
  22976. pTDefRegMap(@Self)^.&set := $00000001;
  22977. end;
  22978. function TUART2_U2STA.getURXDA : TBits_1; inline;
  22979. begin
  22980. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22981. end;
  22982. procedure TUART2_U2STA.setOERR; inline;
  22983. begin
  22984. pTDefRegMap(@Self)^.&set := $00000002;
  22985. end;
  22986. procedure TUART2_U2STA.clearOERR; inline;
  22987. begin
  22988. pTDefRegMap(@Self)^.clr := $00000002;
  22989. end;
  22990. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  22991. begin
  22992. if thebits = 0 then
  22993. pTDefRegMap(@Self)^.clr := $00000002
  22994. else
  22995. pTDefRegMap(@Self)^.&set := $00000002;
  22996. end;
  22997. function TUART2_U2STA.getOERR : TBits_1; inline;
  22998. begin
  22999. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23000. end;
  23001. procedure TUART2_U2STA.setFERR; inline;
  23002. begin
  23003. pTDefRegMap(@Self)^.&set := $00000004;
  23004. end;
  23005. procedure TUART2_U2STA.clearFERR; inline;
  23006. begin
  23007. pTDefRegMap(@Self)^.clr := $00000004;
  23008. end;
  23009. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  23010. begin
  23011. if thebits = 0 then
  23012. pTDefRegMap(@Self)^.clr := $00000004
  23013. else
  23014. pTDefRegMap(@Self)^.&set := $00000004;
  23015. end;
  23016. function TUART2_U2STA.getFERR : TBits_1; inline;
  23017. begin
  23018. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23019. end;
  23020. procedure TUART2_U2STA.setPERR; inline;
  23021. begin
  23022. pTDefRegMap(@Self)^.&set := $00000008;
  23023. end;
  23024. procedure TUART2_U2STA.clearPERR; inline;
  23025. begin
  23026. pTDefRegMap(@Self)^.clr := $00000008;
  23027. end;
  23028. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  23029. begin
  23030. if thebits = 0 then
  23031. pTDefRegMap(@Self)^.clr := $00000008
  23032. else
  23033. pTDefRegMap(@Self)^.&set := $00000008;
  23034. end;
  23035. function TUART2_U2STA.getPERR : TBits_1; inline;
  23036. begin
  23037. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23038. end;
  23039. procedure TUART2_U2STA.setRIDLE; inline;
  23040. begin
  23041. pTDefRegMap(@Self)^.&set := $00000010;
  23042. end;
  23043. procedure TUART2_U2STA.clearRIDLE; inline;
  23044. begin
  23045. pTDefRegMap(@Self)^.clr := $00000010;
  23046. end;
  23047. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  23048. begin
  23049. if thebits = 0 then
  23050. pTDefRegMap(@Self)^.clr := $00000010
  23051. else
  23052. pTDefRegMap(@Self)^.&set := $00000010;
  23053. end;
  23054. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  23055. begin
  23056. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23057. end;
  23058. procedure TUART2_U2STA.setADDEN; inline;
  23059. begin
  23060. pTDefRegMap(@Self)^.&set := $00000020;
  23061. end;
  23062. procedure TUART2_U2STA.clearADDEN; inline;
  23063. begin
  23064. pTDefRegMap(@Self)^.clr := $00000020;
  23065. end;
  23066. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  23067. begin
  23068. if thebits = 0 then
  23069. pTDefRegMap(@Self)^.clr := $00000020
  23070. else
  23071. pTDefRegMap(@Self)^.&set := $00000020;
  23072. end;
  23073. function TUART2_U2STA.getADDEN : TBits_1; inline;
  23074. begin
  23075. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23076. end;
  23077. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  23078. begin
  23079. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23080. end;
  23081. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  23082. begin
  23083. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23084. end;
  23085. procedure TUART2_U2STA.setTRMT; inline;
  23086. begin
  23087. pTDefRegMap(@Self)^.&set := $00000100;
  23088. end;
  23089. procedure TUART2_U2STA.clearTRMT; inline;
  23090. begin
  23091. pTDefRegMap(@Self)^.clr := $00000100;
  23092. end;
  23093. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  23094. begin
  23095. if thebits = 0 then
  23096. pTDefRegMap(@Self)^.clr := $00000100
  23097. else
  23098. pTDefRegMap(@Self)^.&set := $00000100;
  23099. end;
  23100. function TUART2_U2STA.getTRMT : TBits_1; inline;
  23101. begin
  23102. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23103. end;
  23104. procedure TUART2_U2STA.setUTXBF; inline;
  23105. begin
  23106. pTDefRegMap(@Self)^.&set := $00000200;
  23107. end;
  23108. procedure TUART2_U2STA.clearUTXBF; inline;
  23109. begin
  23110. pTDefRegMap(@Self)^.clr := $00000200;
  23111. end;
  23112. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  23113. begin
  23114. if thebits = 0 then
  23115. pTDefRegMap(@Self)^.clr := $00000200
  23116. else
  23117. pTDefRegMap(@Self)^.&set := $00000200;
  23118. end;
  23119. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  23120. begin
  23121. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23122. end;
  23123. procedure TUART2_U2STA.setUTXEN; inline;
  23124. begin
  23125. pTDefRegMap(@Self)^.&set := $00000400;
  23126. end;
  23127. procedure TUART2_U2STA.clearUTXEN; inline;
  23128. begin
  23129. pTDefRegMap(@Self)^.clr := $00000400;
  23130. end;
  23131. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  23132. begin
  23133. if thebits = 0 then
  23134. pTDefRegMap(@Self)^.clr := $00000400
  23135. else
  23136. pTDefRegMap(@Self)^.&set := $00000400;
  23137. end;
  23138. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  23139. begin
  23140. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23141. end;
  23142. procedure TUART2_U2STA.setUTXBRK; inline;
  23143. begin
  23144. pTDefRegMap(@Self)^.&set := $00000800;
  23145. end;
  23146. procedure TUART2_U2STA.clearUTXBRK; inline;
  23147. begin
  23148. pTDefRegMap(@Self)^.clr := $00000800;
  23149. end;
  23150. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  23151. begin
  23152. if thebits = 0 then
  23153. pTDefRegMap(@Self)^.clr := $00000800
  23154. else
  23155. pTDefRegMap(@Self)^.&set := $00000800;
  23156. end;
  23157. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  23158. begin
  23159. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23160. end;
  23161. procedure TUART2_U2STA.setURXEN; inline;
  23162. begin
  23163. pTDefRegMap(@Self)^.&set := $00001000;
  23164. end;
  23165. procedure TUART2_U2STA.clearURXEN; inline;
  23166. begin
  23167. pTDefRegMap(@Self)^.clr := $00001000;
  23168. end;
  23169. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  23170. begin
  23171. if thebits = 0 then
  23172. pTDefRegMap(@Self)^.clr := $00001000
  23173. else
  23174. pTDefRegMap(@Self)^.&set := $00001000;
  23175. end;
  23176. function TUART2_U2STA.getURXEN : TBits_1; inline;
  23177. begin
  23178. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23179. end;
  23180. procedure TUART2_U2STA.setUTXINV; inline;
  23181. begin
  23182. pTDefRegMap(@Self)^.&set := $00002000;
  23183. end;
  23184. procedure TUART2_U2STA.clearUTXINV; inline;
  23185. begin
  23186. pTDefRegMap(@Self)^.clr := $00002000;
  23187. end;
  23188. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  23189. begin
  23190. if thebits = 0 then
  23191. pTDefRegMap(@Self)^.clr := $00002000
  23192. else
  23193. pTDefRegMap(@Self)^.&set := $00002000;
  23194. end;
  23195. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  23196. begin
  23197. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23198. end;
  23199. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  23200. begin
  23201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23202. end;
  23203. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  23204. begin
  23205. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23206. end;
  23207. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  23208. begin
  23209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  23210. end;
  23211. function TUART2_U2STA.getADDR : TBits_8; inline;
  23212. begin
  23213. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  23214. end;
  23215. procedure TUART2_U2STA.setADM_EN; inline;
  23216. begin
  23217. pTDefRegMap(@Self)^.&set := $01000000;
  23218. end;
  23219. procedure TUART2_U2STA.clearADM_EN; inline;
  23220. begin
  23221. pTDefRegMap(@Self)^.clr := $01000000;
  23222. end;
  23223. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  23224. begin
  23225. if thebits = 0 then
  23226. pTDefRegMap(@Self)^.clr := $01000000
  23227. else
  23228. pTDefRegMap(@Self)^.&set := $01000000;
  23229. end;
  23230. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  23231. begin
  23232. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23233. end;
  23234. procedure TUART2_U2STA.setURXISEL0; inline;
  23235. begin
  23236. pTDefRegMap(@Self)^.&set := $00000040;
  23237. end;
  23238. procedure TUART2_U2STA.clearURXISEL0; inline;
  23239. begin
  23240. pTDefRegMap(@Self)^.clr := $00000040;
  23241. end;
  23242. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  23243. begin
  23244. if thebits = 0 then
  23245. pTDefRegMap(@Self)^.clr := $00000040
  23246. else
  23247. pTDefRegMap(@Self)^.&set := $00000040;
  23248. end;
  23249. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  23250. begin
  23251. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23252. end;
  23253. procedure TUART2_U2STA.setURXISEL1; inline;
  23254. begin
  23255. pTDefRegMap(@Self)^.&set := $00000080;
  23256. end;
  23257. procedure TUART2_U2STA.clearURXISEL1; inline;
  23258. begin
  23259. pTDefRegMap(@Self)^.clr := $00000080;
  23260. end;
  23261. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  23262. begin
  23263. if thebits = 0 then
  23264. pTDefRegMap(@Self)^.clr := $00000080
  23265. else
  23266. pTDefRegMap(@Self)^.&set := $00000080;
  23267. end;
  23268. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  23269. begin
  23270. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23271. end;
  23272. procedure TUART2_U2STA.setUTXISEL0; inline;
  23273. begin
  23274. pTDefRegMap(@Self)^.&set := $00004000;
  23275. end;
  23276. procedure TUART2_U2STA.clearUTXISEL0; inline;
  23277. begin
  23278. pTDefRegMap(@Self)^.clr := $00004000;
  23279. end;
  23280. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  23281. begin
  23282. if thebits = 0 then
  23283. pTDefRegMap(@Self)^.clr := $00004000
  23284. else
  23285. pTDefRegMap(@Self)^.&set := $00004000;
  23286. end;
  23287. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  23288. begin
  23289. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23290. end;
  23291. procedure TUART2_U2STA.setUTXISEL1; inline;
  23292. begin
  23293. pTDefRegMap(@Self)^.&set := $00008000;
  23294. end;
  23295. procedure TUART2_U2STA.clearUTXISEL1; inline;
  23296. begin
  23297. pTDefRegMap(@Self)^.clr := $00008000;
  23298. end;
  23299. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  23300. begin
  23301. if thebits = 0 then
  23302. pTDefRegMap(@Self)^.clr := $00008000
  23303. else
  23304. pTDefRegMap(@Self)^.&set := $00008000;
  23305. end;
  23306. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  23307. begin
  23308. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23309. end;
  23310. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  23311. begin
  23312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23313. end;
  23314. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  23315. begin
  23316. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23317. end;
  23318. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  23319. begin
  23320. pTDefRegMap(@Self)^.val := thebits;
  23321. end;
  23322. function TUART2_U2STA.getw : TBits_32; inline;
  23323. begin
  23324. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23325. end;
  23326. procedure TUART2_U8932STA.setURXDA; inline;
  23327. begin
  23328. pTDefRegMap(@Self)^.&set := $00000001;
  23329. end;
  23330. procedure TUART2_U8932STA.clearURXDA; inline;
  23331. begin
  23332. pTDefRegMap(@Self)^.clr := $00000001;
  23333. end;
  23334. procedure TUART2_U8932STA.setURXDA(thebits : TBits_1); inline;
  23335. begin
  23336. if thebits = 0 then
  23337. pTDefRegMap(@Self)^.clr := $00000001
  23338. else
  23339. pTDefRegMap(@Self)^.&set := $00000001;
  23340. end;
  23341. function TUART2_U8932STA.getURXDA : TBits_1; inline;
  23342. begin
  23343. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23344. end;
  23345. procedure TUART2_U8932STA.setOERR; inline;
  23346. begin
  23347. pTDefRegMap(@Self)^.&set := $00000002;
  23348. end;
  23349. procedure TUART2_U8932STA.clearOERR; inline;
  23350. begin
  23351. pTDefRegMap(@Self)^.clr := $00000002;
  23352. end;
  23353. procedure TUART2_U8932STA.setOERR(thebits : TBits_1); inline;
  23354. begin
  23355. if thebits = 0 then
  23356. pTDefRegMap(@Self)^.clr := $00000002
  23357. else
  23358. pTDefRegMap(@Self)^.&set := $00000002;
  23359. end;
  23360. function TUART2_U8932STA.getOERR : TBits_1; inline;
  23361. begin
  23362. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23363. end;
  23364. procedure TUART2_U8932STA.setFERR; inline;
  23365. begin
  23366. pTDefRegMap(@Self)^.&set := $00000004;
  23367. end;
  23368. procedure TUART2_U8932STA.clearFERR; inline;
  23369. begin
  23370. pTDefRegMap(@Self)^.clr := $00000004;
  23371. end;
  23372. procedure TUART2_U8932STA.setFERR(thebits : TBits_1); inline;
  23373. begin
  23374. if thebits = 0 then
  23375. pTDefRegMap(@Self)^.clr := $00000004
  23376. else
  23377. pTDefRegMap(@Self)^.&set := $00000004;
  23378. end;
  23379. function TUART2_U8932STA.getFERR : TBits_1; inline;
  23380. begin
  23381. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23382. end;
  23383. procedure TUART2_U8932STA.setPERR; inline;
  23384. begin
  23385. pTDefRegMap(@Self)^.&set := $00000008;
  23386. end;
  23387. procedure TUART2_U8932STA.clearPERR; inline;
  23388. begin
  23389. pTDefRegMap(@Self)^.clr := $00000008;
  23390. end;
  23391. procedure TUART2_U8932STA.setPERR(thebits : TBits_1); inline;
  23392. begin
  23393. if thebits = 0 then
  23394. pTDefRegMap(@Self)^.clr := $00000008
  23395. else
  23396. pTDefRegMap(@Self)^.&set := $00000008;
  23397. end;
  23398. function TUART2_U8932STA.getPERR : TBits_1; inline;
  23399. begin
  23400. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23401. end;
  23402. procedure TUART2_U8932STA.setRIDLE; inline;
  23403. begin
  23404. pTDefRegMap(@Self)^.&set := $00000010;
  23405. end;
  23406. procedure TUART2_U8932STA.clearRIDLE; inline;
  23407. begin
  23408. pTDefRegMap(@Self)^.clr := $00000010;
  23409. end;
  23410. procedure TUART2_U8932STA.setRIDLE(thebits : TBits_1); inline;
  23411. begin
  23412. if thebits = 0 then
  23413. pTDefRegMap(@Self)^.clr := $00000010
  23414. else
  23415. pTDefRegMap(@Self)^.&set := $00000010;
  23416. end;
  23417. function TUART2_U8932STA.getRIDLE : TBits_1; inline;
  23418. begin
  23419. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23420. end;
  23421. procedure TUART2_U8932STA.setADDEN; inline;
  23422. begin
  23423. pTDefRegMap(@Self)^.&set := $00000020;
  23424. end;
  23425. procedure TUART2_U8932STA.clearADDEN; inline;
  23426. begin
  23427. pTDefRegMap(@Self)^.clr := $00000020;
  23428. end;
  23429. procedure TUART2_U8932STA.setADDEN(thebits : TBits_1); inline;
  23430. begin
  23431. if thebits = 0 then
  23432. pTDefRegMap(@Self)^.clr := $00000020
  23433. else
  23434. pTDefRegMap(@Self)^.&set := $00000020;
  23435. end;
  23436. function TUART2_U8932STA.getADDEN : TBits_1; inline;
  23437. begin
  23438. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23439. end;
  23440. procedure TUART2_U8932STA.setURXISEL(thebits : TBits_2); inline;
  23441. begin
  23442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23443. end;
  23444. function TUART2_U8932STA.getURXISEL : TBits_2; inline;
  23445. begin
  23446. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23447. end;
  23448. procedure TUART2_U8932STA.setTRMT; inline;
  23449. begin
  23450. pTDefRegMap(@Self)^.&set := $00000100;
  23451. end;
  23452. procedure TUART2_U8932STA.clearTRMT; inline;
  23453. begin
  23454. pTDefRegMap(@Self)^.clr := $00000100;
  23455. end;
  23456. procedure TUART2_U8932STA.setTRMT(thebits : TBits_1); inline;
  23457. begin
  23458. if thebits = 0 then
  23459. pTDefRegMap(@Self)^.clr := $00000100
  23460. else
  23461. pTDefRegMap(@Self)^.&set := $00000100;
  23462. end;
  23463. function TUART2_U8932STA.getTRMT : TBits_1; inline;
  23464. begin
  23465. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23466. end;
  23467. procedure TUART2_U8932STA.setUTXBF; inline;
  23468. begin
  23469. pTDefRegMap(@Self)^.&set := $00000200;
  23470. end;
  23471. procedure TUART2_U8932STA.clearUTXBF; inline;
  23472. begin
  23473. pTDefRegMap(@Self)^.clr := $00000200;
  23474. end;
  23475. procedure TUART2_U8932STA.setUTXBF(thebits : TBits_1); inline;
  23476. begin
  23477. if thebits = 0 then
  23478. pTDefRegMap(@Self)^.clr := $00000200
  23479. else
  23480. pTDefRegMap(@Self)^.&set := $00000200;
  23481. end;
  23482. function TUART2_U8932STA.getUTXBF : TBits_1; inline;
  23483. begin
  23484. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23485. end;
  23486. procedure TUART2_U8932STA.setUTXEN; inline;
  23487. begin
  23488. pTDefRegMap(@Self)^.&set := $00000400;
  23489. end;
  23490. procedure TUART2_U8932STA.clearUTXEN; inline;
  23491. begin
  23492. pTDefRegMap(@Self)^.clr := $00000400;
  23493. end;
  23494. procedure TUART2_U8932STA.setUTXEN(thebits : TBits_1); inline;
  23495. begin
  23496. if thebits = 0 then
  23497. pTDefRegMap(@Self)^.clr := $00000400
  23498. else
  23499. pTDefRegMap(@Self)^.&set := $00000400;
  23500. end;
  23501. function TUART2_U8932STA.getUTXEN : TBits_1; inline;
  23502. begin
  23503. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23504. end;
  23505. procedure TUART2_U8932STA.setUTXBRK; inline;
  23506. begin
  23507. pTDefRegMap(@Self)^.&set := $00000800;
  23508. end;
  23509. procedure TUART2_U8932STA.clearUTXBRK; inline;
  23510. begin
  23511. pTDefRegMap(@Self)^.clr := $00000800;
  23512. end;
  23513. procedure TUART2_U8932STA.setUTXBRK(thebits : TBits_1); inline;
  23514. begin
  23515. if thebits = 0 then
  23516. pTDefRegMap(@Self)^.clr := $00000800
  23517. else
  23518. pTDefRegMap(@Self)^.&set := $00000800;
  23519. end;
  23520. function TUART2_U8932STA.getUTXBRK : TBits_1; inline;
  23521. begin
  23522. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23523. end;
  23524. procedure TUART2_U8932STA.setURXEN; inline;
  23525. begin
  23526. pTDefRegMap(@Self)^.&set := $00001000;
  23527. end;
  23528. procedure TUART2_U8932STA.clearURXEN; inline;
  23529. begin
  23530. pTDefRegMap(@Self)^.clr := $00001000;
  23531. end;
  23532. procedure TUART2_U8932STA.setURXEN(thebits : TBits_1); inline;
  23533. begin
  23534. if thebits = 0 then
  23535. pTDefRegMap(@Self)^.clr := $00001000
  23536. else
  23537. pTDefRegMap(@Self)^.&set := $00001000;
  23538. end;
  23539. function TUART2_U8932STA.getURXEN : TBits_1; inline;
  23540. begin
  23541. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23542. end;
  23543. procedure TUART2_U8932STA.setUTXINV; inline;
  23544. begin
  23545. pTDefRegMap(@Self)^.&set := $00002000;
  23546. end;
  23547. procedure TUART2_U8932STA.clearUTXINV; inline;
  23548. begin
  23549. pTDefRegMap(@Self)^.clr := $00002000;
  23550. end;
  23551. procedure TUART2_U8932STA.setUTXINV(thebits : TBits_1); inline;
  23552. begin
  23553. if thebits = 0 then
  23554. pTDefRegMap(@Self)^.clr := $00002000
  23555. else
  23556. pTDefRegMap(@Self)^.&set := $00002000;
  23557. end;
  23558. function TUART2_U8932STA.getUTXINV : TBits_1; inline;
  23559. begin
  23560. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23561. end;
  23562. procedure TUART2_U8932STA.setUTXISEL(thebits : TBits_2); inline;
  23563. begin
  23564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23565. end;
  23566. function TUART2_U8932STA.getUTXISEL : TBits_2; inline;
  23567. begin
  23568. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23569. end;
  23570. procedure TUART2_U8932STA.setADDR(thebits : TBits_8); inline;
  23571. begin
  23572. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  23573. end;
  23574. function TUART2_U8932STA.getADDR : TBits_8; inline;
  23575. begin
  23576. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  23577. end;
  23578. procedure TUART2_U8932STA.setADM_EN; inline;
  23579. begin
  23580. pTDefRegMap(@Self)^.&set := $01000000;
  23581. end;
  23582. procedure TUART2_U8932STA.clearADM_EN; inline;
  23583. begin
  23584. pTDefRegMap(@Self)^.clr := $01000000;
  23585. end;
  23586. procedure TUART2_U8932STA.setADM_EN(thebits : TBits_1); inline;
  23587. begin
  23588. if thebits = 0 then
  23589. pTDefRegMap(@Self)^.clr := $01000000
  23590. else
  23591. pTDefRegMap(@Self)^.&set := $01000000;
  23592. end;
  23593. function TUART2_U8932STA.getADM_EN : TBits_1; inline;
  23594. begin
  23595. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23596. end;
  23597. procedure TUART2_U8932STA.setURXISEL0; inline;
  23598. begin
  23599. pTDefRegMap(@Self)^.&set := $00000040;
  23600. end;
  23601. procedure TUART2_U8932STA.clearURXISEL0; inline;
  23602. begin
  23603. pTDefRegMap(@Self)^.clr := $00000040;
  23604. end;
  23605. procedure TUART2_U8932STA.setURXISEL0(thebits : TBits_1); inline;
  23606. begin
  23607. if thebits = 0 then
  23608. pTDefRegMap(@Self)^.clr := $00000040
  23609. else
  23610. pTDefRegMap(@Self)^.&set := $00000040;
  23611. end;
  23612. function TUART2_U8932STA.getURXISEL0 : TBits_1; inline;
  23613. begin
  23614. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23615. end;
  23616. procedure TUART2_U8932STA.setURXISEL1; inline;
  23617. begin
  23618. pTDefRegMap(@Self)^.&set := $00000080;
  23619. end;
  23620. procedure TUART2_U8932STA.clearURXISEL1; inline;
  23621. begin
  23622. pTDefRegMap(@Self)^.clr := $00000080;
  23623. end;
  23624. procedure TUART2_U8932STA.setURXISEL1(thebits : TBits_1); inline;
  23625. begin
  23626. if thebits = 0 then
  23627. pTDefRegMap(@Self)^.clr := $00000080
  23628. else
  23629. pTDefRegMap(@Self)^.&set := $00000080;
  23630. end;
  23631. function TUART2_U8932STA.getURXISEL1 : TBits_1; inline;
  23632. begin
  23633. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23634. end;
  23635. procedure TUART2_U8932STA.setUTXISEL0; inline;
  23636. begin
  23637. pTDefRegMap(@Self)^.&set := $00004000;
  23638. end;
  23639. procedure TUART2_U8932STA.clearUTXISEL0; inline;
  23640. begin
  23641. pTDefRegMap(@Self)^.clr := $00004000;
  23642. end;
  23643. procedure TUART2_U8932STA.setUTXISEL0(thebits : TBits_1); inline;
  23644. begin
  23645. if thebits = 0 then
  23646. pTDefRegMap(@Self)^.clr := $00004000
  23647. else
  23648. pTDefRegMap(@Self)^.&set := $00004000;
  23649. end;
  23650. function TUART2_U8932STA.getUTXISEL0 : TBits_1; inline;
  23651. begin
  23652. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23653. end;
  23654. procedure TUART2_U8932STA.setUTXISEL1; inline;
  23655. begin
  23656. pTDefRegMap(@Self)^.&set := $00008000;
  23657. end;
  23658. procedure TUART2_U8932STA.clearUTXISEL1; inline;
  23659. begin
  23660. pTDefRegMap(@Self)^.clr := $00008000;
  23661. end;
  23662. procedure TUART2_U8932STA.setUTXISEL1(thebits : TBits_1); inline;
  23663. begin
  23664. if thebits = 0 then
  23665. pTDefRegMap(@Self)^.clr := $00008000
  23666. else
  23667. pTDefRegMap(@Self)^.&set := $00008000;
  23668. end;
  23669. function TUART2_U8932STA.getUTXISEL1 : TBits_1; inline;
  23670. begin
  23671. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23672. end;
  23673. procedure TUART2_U8932STA.setUTXSEL(thebits : TBits_2); inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23676. end;
  23677. function TUART2_U8932STA.getUTXSEL : TBits_2; inline;
  23678. begin
  23679. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23680. end;
  23681. procedure TUART2_U8932STA.setw(thebits : TBits_32); inline;
  23682. begin
  23683. pTDefRegMap(@Self)^.val := thebits;
  23684. end;
  23685. function TUART2_U8932STA.getw : TBits_32; inline;
  23686. begin
  23687. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23688. end;
  23689. procedure TUART3_U39MODE.setSTSEL; inline;
  23690. begin
  23691. pTDefRegMap(@Self)^.&set := $00000001;
  23692. end;
  23693. procedure TUART3_U39MODE.clearSTSEL; inline;
  23694. begin
  23695. pTDefRegMap(@Self)^.clr := $00000001;
  23696. end;
  23697. procedure TUART3_U39MODE.setSTSEL(thebits : TBits_1); inline;
  23698. begin
  23699. if thebits = 0 then
  23700. pTDefRegMap(@Self)^.clr := $00000001
  23701. else
  23702. pTDefRegMap(@Self)^.&set := $00000001;
  23703. end;
  23704. function TUART3_U39MODE.getSTSEL : TBits_1; inline;
  23705. begin
  23706. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23707. end;
  23708. procedure TUART3_U39MODE.setPDSEL(thebits : TBits_2); inline;
  23709. begin
  23710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  23711. end;
  23712. function TUART3_U39MODE.getPDSEL : TBits_2; inline;
  23713. begin
  23714. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  23715. end;
  23716. procedure TUART3_U39MODE.setBRGH; inline;
  23717. begin
  23718. pTDefRegMap(@Self)^.&set := $00000008;
  23719. end;
  23720. procedure TUART3_U39MODE.clearBRGH; inline;
  23721. begin
  23722. pTDefRegMap(@Self)^.clr := $00000008;
  23723. end;
  23724. procedure TUART3_U39MODE.setBRGH(thebits : TBits_1); inline;
  23725. begin
  23726. if thebits = 0 then
  23727. pTDefRegMap(@Self)^.clr := $00000008
  23728. else
  23729. pTDefRegMap(@Self)^.&set := $00000008;
  23730. end;
  23731. function TUART3_U39MODE.getBRGH : TBits_1; inline;
  23732. begin
  23733. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23734. end;
  23735. procedure TUART3_U39MODE.setRXINV; inline;
  23736. begin
  23737. pTDefRegMap(@Self)^.&set := $00000010;
  23738. end;
  23739. procedure TUART3_U39MODE.clearRXINV; inline;
  23740. begin
  23741. pTDefRegMap(@Self)^.clr := $00000010;
  23742. end;
  23743. procedure TUART3_U39MODE.setRXINV(thebits : TBits_1); inline;
  23744. begin
  23745. if thebits = 0 then
  23746. pTDefRegMap(@Self)^.clr := $00000010
  23747. else
  23748. pTDefRegMap(@Self)^.&set := $00000010;
  23749. end;
  23750. function TUART3_U39MODE.getRXINV : TBits_1; inline;
  23751. begin
  23752. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23753. end;
  23754. procedure TUART3_U39MODE.setABAUD; inline;
  23755. begin
  23756. pTDefRegMap(@Self)^.&set := $00000020;
  23757. end;
  23758. procedure TUART3_U39MODE.clearABAUD; inline;
  23759. begin
  23760. pTDefRegMap(@Self)^.clr := $00000020;
  23761. end;
  23762. procedure TUART3_U39MODE.setABAUD(thebits : TBits_1); inline;
  23763. begin
  23764. if thebits = 0 then
  23765. pTDefRegMap(@Self)^.clr := $00000020
  23766. else
  23767. pTDefRegMap(@Self)^.&set := $00000020;
  23768. end;
  23769. function TUART3_U39MODE.getABAUD : TBits_1; inline;
  23770. begin
  23771. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23772. end;
  23773. procedure TUART3_U39MODE.setLPBACK; inline;
  23774. begin
  23775. pTDefRegMap(@Self)^.&set := $00000040;
  23776. end;
  23777. procedure TUART3_U39MODE.clearLPBACK; inline;
  23778. begin
  23779. pTDefRegMap(@Self)^.clr := $00000040;
  23780. end;
  23781. procedure TUART3_U39MODE.setLPBACK(thebits : TBits_1); inline;
  23782. begin
  23783. if thebits = 0 then
  23784. pTDefRegMap(@Self)^.clr := $00000040
  23785. else
  23786. pTDefRegMap(@Self)^.&set := $00000040;
  23787. end;
  23788. function TUART3_U39MODE.getLPBACK : TBits_1; inline;
  23789. begin
  23790. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23791. end;
  23792. procedure TUART3_U39MODE.setWAKE; inline;
  23793. begin
  23794. pTDefRegMap(@Self)^.&set := $00000080;
  23795. end;
  23796. procedure TUART3_U39MODE.clearWAKE; inline;
  23797. begin
  23798. pTDefRegMap(@Self)^.clr := $00000080;
  23799. end;
  23800. procedure TUART3_U39MODE.setWAKE(thebits : TBits_1); inline;
  23801. begin
  23802. if thebits = 0 then
  23803. pTDefRegMap(@Self)^.clr := $00000080
  23804. else
  23805. pTDefRegMap(@Self)^.&set := $00000080;
  23806. end;
  23807. function TUART3_U39MODE.getWAKE : TBits_1; inline;
  23808. begin
  23809. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23810. end;
  23811. procedure TUART3_U39MODE.setUEN(thebits : TBits_2); inline;
  23812. begin
  23813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23814. end;
  23815. function TUART3_U39MODE.getUEN : TBits_2; inline;
  23816. begin
  23817. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23818. end;
  23819. procedure TUART3_U39MODE.setRTSMD; inline;
  23820. begin
  23821. pTDefRegMap(@Self)^.&set := $00000800;
  23822. end;
  23823. procedure TUART3_U39MODE.clearRTSMD; inline;
  23824. begin
  23825. pTDefRegMap(@Self)^.clr := $00000800;
  23826. end;
  23827. procedure TUART3_U39MODE.setRTSMD(thebits : TBits_1); inline;
  23828. begin
  23829. if thebits = 0 then
  23830. pTDefRegMap(@Self)^.clr := $00000800
  23831. else
  23832. pTDefRegMap(@Self)^.&set := $00000800;
  23833. end;
  23834. function TUART3_U39MODE.getRTSMD : TBits_1; inline;
  23835. begin
  23836. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23837. end;
  23838. procedure TUART3_U39MODE.setIREN; inline;
  23839. begin
  23840. pTDefRegMap(@Self)^.&set := $00001000;
  23841. end;
  23842. procedure TUART3_U39MODE.clearIREN; inline;
  23843. begin
  23844. pTDefRegMap(@Self)^.clr := $00001000;
  23845. end;
  23846. procedure TUART3_U39MODE.setIREN(thebits : TBits_1); inline;
  23847. begin
  23848. if thebits = 0 then
  23849. pTDefRegMap(@Self)^.clr := $00001000
  23850. else
  23851. pTDefRegMap(@Self)^.&set := $00001000;
  23852. end;
  23853. function TUART3_U39MODE.getIREN : TBits_1; inline;
  23854. begin
  23855. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23856. end;
  23857. procedure TUART3_U39MODE.setSIDL; inline;
  23858. begin
  23859. pTDefRegMap(@Self)^.&set := $00002000;
  23860. end;
  23861. procedure TUART3_U39MODE.clearSIDL; inline;
  23862. begin
  23863. pTDefRegMap(@Self)^.clr := $00002000;
  23864. end;
  23865. procedure TUART3_U39MODE.setSIDL(thebits : TBits_1); inline;
  23866. begin
  23867. if thebits = 0 then
  23868. pTDefRegMap(@Self)^.clr := $00002000
  23869. else
  23870. pTDefRegMap(@Self)^.&set := $00002000;
  23871. end;
  23872. function TUART3_U39MODE.getSIDL : TBits_1; inline;
  23873. begin
  23874. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23875. end;
  23876. procedure TUART3_U39MODE.setON; inline;
  23877. begin
  23878. pTDefRegMap(@Self)^.&set := $00008000;
  23879. end;
  23880. procedure TUART3_U39MODE.clearON; inline;
  23881. begin
  23882. pTDefRegMap(@Self)^.clr := $00008000;
  23883. end;
  23884. procedure TUART3_U39MODE.setON(thebits : TBits_1); inline;
  23885. begin
  23886. if thebits = 0 then
  23887. pTDefRegMap(@Self)^.clr := $00008000
  23888. else
  23889. pTDefRegMap(@Self)^.&set := $00008000;
  23890. end;
  23891. function TUART3_U39MODE.getON : TBits_1; inline;
  23892. begin
  23893. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23894. end;
  23895. procedure TUART3_U39MODE.setPDSEL0; inline;
  23896. begin
  23897. pTDefRegMap(@Self)^.&set := $00000002;
  23898. end;
  23899. procedure TUART3_U39MODE.clearPDSEL0; inline;
  23900. begin
  23901. pTDefRegMap(@Self)^.clr := $00000002;
  23902. end;
  23903. procedure TUART3_U39MODE.setPDSEL0(thebits : TBits_1); inline;
  23904. begin
  23905. if thebits = 0 then
  23906. pTDefRegMap(@Self)^.clr := $00000002
  23907. else
  23908. pTDefRegMap(@Self)^.&set := $00000002;
  23909. end;
  23910. function TUART3_U39MODE.getPDSEL0 : TBits_1; inline;
  23911. begin
  23912. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23913. end;
  23914. procedure TUART3_U39MODE.setPDSEL1; inline;
  23915. begin
  23916. pTDefRegMap(@Self)^.&set := $00000004;
  23917. end;
  23918. procedure TUART3_U39MODE.clearPDSEL1; inline;
  23919. begin
  23920. pTDefRegMap(@Self)^.clr := $00000004;
  23921. end;
  23922. procedure TUART3_U39MODE.setPDSEL1(thebits : TBits_1); inline;
  23923. begin
  23924. if thebits = 0 then
  23925. pTDefRegMap(@Self)^.clr := $00000004
  23926. else
  23927. pTDefRegMap(@Self)^.&set := $00000004;
  23928. end;
  23929. function TUART3_U39MODE.getPDSEL1 : TBits_1; inline;
  23930. begin
  23931. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23932. end;
  23933. procedure TUART3_U39MODE.setUEN0; inline;
  23934. begin
  23935. pTDefRegMap(@Self)^.&set := $00000100;
  23936. end;
  23937. procedure TUART3_U39MODE.clearUEN0; inline;
  23938. begin
  23939. pTDefRegMap(@Self)^.clr := $00000100;
  23940. end;
  23941. procedure TUART3_U39MODE.setUEN0(thebits : TBits_1); inline;
  23942. begin
  23943. if thebits = 0 then
  23944. pTDefRegMap(@Self)^.clr := $00000100
  23945. else
  23946. pTDefRegMap(@Self)^.&set := $00000100;
  23947. end;
  23948. function TUART3_U39MODE.getUEN0 : TBits_1; inline;
  23949. begin
  23950. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23951. end;
  23952. procedure TUART3_U39MODE.setUEN1; inline;
  23953. begin
  23954. pTDefRegMap(@Self)^.&set := $00000200;
  23955. end;
  23956. procedure TUART3_U39MODE.clearUEN1; inline;
  23957. begin
  23958. pTDefRegMap(@Self)^.clr := $00000200;
  23959. end;
  23960. procedure TUART3_U39MODE.setUEN1(thebits : TBits_1); inline;
  23961. begin
  23962. if thebits = 0 then
  23963. pTDefRegMap(@Self)^.clr := $00000200
  23964. else
  23965. pTDefRegMap(@Self)^.&set := $00000200;
  23966. end;
  23967. function TUART3_U39MODE.getUEN1 : TBits_1; inline;
  23968. begin
  23969. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23970. end;
  23971. procedure TUART3_U39MODE.setUSIDL; inline;
  23972. begin
  23973. pTDefRegMap(@Self)^.&set := $00002000;
  23974. end;
  23975. procedure TUART3_U39MODE.clearUSIDL; inline;
  23976. begin
  23977. pTDefRegMap(@Self)^.clr := $00002000;
  23978. end;
  23979. procedure TUART3_U39MODE.setUSIDL(thebits : TBits_1); inline;
  23980. begin
  23981. if thebits = 0 then
  23982. pTDefRegMap(@Self)^.clr := $00002000
  23983. else
  23984. pTDefRegMap(@Self)^.&set := $00002000;
  23985. end;
  23986. function TUART3_U39MODE.getUSIDL : TBits_1; inline;
  23987. begin
  23988. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23989. end;
  23990. procedure TUART3_U39MODE.setUARTEN; inline;
  23991. begin
  23992. pTDefRegMap(@Self)^.&set := $00008000;
  23993. end;
  23994. procedure TUART3_U39MODE.clearUARTEN; inline;
  23995. begin
  23996. pTDefRegMap(@Self)^.clr := $00008000;
  23997. end;
  23998. procedure TUART3_U39MODE.setUARTEN(thebits : TBits_1); inline;
  23999. begin
  24000. if thebits = 0 then
  24001. pTDefRegMap(@Self)^.clr := $00008000
  24002. else
  24003. pTDefRegMap(@Self)^.&set := $00008000;
  24004. end;
  24005. function TUART3_U39MODE.getUARTEN : TBits_1; inline;
  24006. begin
  24007. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24008. end;
  24009. procedure TUART3_U39MODE.setw(thebits : TBits_32); inline;
  24010. begin
  24011. pTDefRegMap(@Self)^.val := thebits;
  24012. end;
  24013. function TUART3_U39MODE.getw : TBits_32; inline;
  24014. begin
  24015. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24016. end;
  24017. procedure TUART3_U3MODE.setSTSEL; inline;
  24018. begin
  24019. pTDefRegMap(@Self)^.&set := $00000001;
  24020. end;
  24021. procedure TUART3_U3MODE.clearSTSEL; inline;
  24022. begin
  24023. pTDefRegMap(@Self)^.clr := $00000001;
  24024. end;
  24025. procedure TUART3_U3MODE.setSTSEL(thebits : TBits_1); inline;
  24026. begin
  24027. if thebits = 0 then
  24028. pTDefRegMap(@Self)^.clr := $00000001
  24029. else
  24030. pTDefRegMap(@Self)^.&set := $00000001;
  24031. end;
  24032. function TUART3_U3MODE.getSTSEL : TBits_1; inline;
  24033. begin
  24034. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24035. end;
  24036. procedure TUART3_U3MODE.setPDSEL(thebits : TBits_2); inline;
  24037. begin
  24038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  24039. end;
  24040. function TUART3_U3MODE.getPDSEL : TBits_2; inline;
  24041. begin
  24042. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  24043. end;
  24044. procedure TUART3_U3MODE.setBRGH; inline;
  24045. begin
  24046. pTDefRegMap(@Self)^.&set := $00000008;
  24047. end;
  24048. procedure TUART3_U3MODE.clearBRGH; inline;
  24049. begin
  24050. pTDefRegMap(@Self)^.clr := $00000008;
  24051. end;
  24052. procedure TUART3_U3MODE.setBRGH(thebits : TBits_1); inline;
  24053. begin
  24054. if thebits = 0 then
  24055. pTDefRegMap(@Self)^.clr := $00000008
  24056. else
  24057. pTDefRegMap(@Self)^.&set := $00000008;
  24058. end;
  24059. function TUART3_U3MODE.getBRGH : TBits_1; inline;
  24060. begin
  24061. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24062. end;
  24063. procedure TUART3_U3MODE.setRXINV; inline;
  24064. begin
  24065. pTDefRegMap(@Self)^.&set := $00000010;
  24066. end;
  24067. procedure TUART3_U3MODE.clearRXINV; inline;
  24068. begin
  24069. pTDefRegMap(@Self)^.clr := $00000010;
  24070. end;
  24071. procedure TUART3_U3MODE.setRXINV(thebits : TBits_1); inline;
  24072. begin
  24073. if thebits = 0 then
  24074. pTDefRegMap(@Self)^.clr := $00000010
  24075. else
  24076. pTDefRegMap(@Self)^.&set := $00000010;
  24077. end;
  24078. function TUART3_U3MODE.getRXINV : TBits_1; inline;
  24079. begin
  24080. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24081. end;
  24082. procedure TUART3_U3MODE.setABAUD; inline;
  24083. begin
  24084. pTDefRegMap(@Self)^.&set := $00000020;
  24085. end;
  24086. procedure TUART3_U3MODE.clearABAUD; inline;
  24087. begin
  24088. pTDefRegMap(@Self)^.clr := $00000020;
  24089. end;
  24090. procedure TUART3_U3MODE.setABAUD(thebits : TBits_1); inline;
  24091. begin
  24092. if thebits = 0 then
  24093. pTDefRegMap(@Self)^.clr := $00000020
  24094. else
  24095. pTDefRegMap(@Self)^.&set := $00000020;
  24096. end;
  24097. function TUART3_U3MODE.getABAUD : TBits_1; inline;
  24098. begin
  24099. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24100. end;
  24101. procedure TUART3_U3MODE.setLPBACK; inline;
  24102. begin
  24103. pTDefRegMap(@Self)^.&set := $00000040;
  24104. end;
  24105. procedure TUART3_U3MODE.clearLPBACK; inline;
  24106. begin
  24107. pTDefRegMap(@Self)^.clr := $00000040;
  24108. end;
  24109. procedure TUART3_U3MODE.setLPBACK(thebits : TBits_1); inline;
  24110. begin
  24111. if thebits = 0 then
  24112. pTDefRegMap(@Self)^.clr := $00000040
  24113. else
  24114. pTDefRegMap(@Self)^.&set := $00000040;
  24115. end;
  24116. function TUART3_U3MODE.getLPBACK : TBits_1; inline;
  24117. begin
  24118. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24119. end;
  24120. procedure TUART3_U3MODE.setWAKE; inline;
  24121. begin
  24122. pTDefRegMap(@Self)^.&set := $00000080;
  24123. end;
  24124. procedure TUART3_U3MODE.clearWAKE; inline;
  24125. begin
  24126. pTDefRegMap(@Self)^.clr := $00000080;
  24127. end;
  24128. procedure TUART3_U3MODE.setWAKE(thebits : TBits_1); inline;
  24129. begin
  24130. if thebits = 0 then
  24131. pTDefRegMap(@Self)^.clr := $00000080
  24132. else
  24133. pTDefRegMap(@Self)^.&set := $00000080;
  24134. end;
  24135. function TUART3_U3MODE.getWAKE : TBits_1; inline;
  24136. begin
  24137. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24138. end;
  24139. procedure TUART3_U3MODE.setUEN(thebits : TBits_2); inline;
  24140. begin
  24141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  24142. end;
  24143. function TUART3_U3MODE.getUEN : TBits_2; inline;
  24144. begin
  24145. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  24146. end;
  24147. procedure TUART3_U3MODE.setRTSMD; inline;
  24148. begin
  24149. pTDefRegMap(@Self)^.&set := $00000800;
  24150. end;
  24151. procedure TUART3_U3MODE.clearRTSMD; inline;
  24152. begin
  24153. pTDefRegMap(@Self)^.clr := $00000800;
  24154. end;
  24155. procedure TUART3_U3MODE.setRTSMD(thebits : TBits_1); inline;
  24156. begin
  24157. if thebits = 0 then
  24158. pTDefRegMap(@Self)^.clr := $00000800
  24159. else
  24160. pTDefRegMap(@Self)^.&set := $00000800;
  24161. end;
  24162. function TUART3_U3MODE.getRTSMD : TBits_1; inline;
  24163. begin
  24164. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24165. end;
  24166. procedure TUART3_U3MODE.setIREN; inline;
  24167. begin
  24168. pTDefRegMap(@Self)^.&set := $00001000;
  24169. end;
  24170. procedure TUART3_U3MODE.clearIREN; inline;
  24171. begin
  24172. pTDefRegMap(@Self)^.clr := $00001000;
  24173. end;
  24174. procedure TUART3_U3MODE.setIREN(thebits : TBits_1); inline;
  24175. begin
  24176. if thebits = 0 then
  24177. pTDefRegMap(@Self)^.clr := $00001000
  24178. else
  24179. pTDefRegMap(@Self)^.&set := $00001000;
  24180. end;
  24181. function TUART3_U3MODE.getIREN : TBits_1; inline;
  24182. begin
  24183. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24184. end;
  24185. procedure TUART3_U3MODE.setSIDL; inline;
  24186. begin
  24187. pTDefRegMap(@Self)^.&set := $00002000;
  24188. end;
  24189. procedure TUART3_U3MODE.clearSIDL; inline;
  24190. begin
  24191. pTDefRegMap(@Self)^.clr := $00002000;
  24192. end;
  24193. procedure TUART3_U3MODE.setSIDL(thebits : TBits_1); inline;
  24194. begin
  24195. if thebits = 0 then
  24196. pTDefRegMap(@Self)^.clr := $00002000
  24197. else
  24198. pTDefRegMap(@Self)^.&set := $00002000;
  24199. end;
  24200. function TUART3_U3MODE.getSIDL : TBits_1; inline;
  24201. begin
  24202. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24203. end;
  24204. procedure TUART3_U3MODE.setON; inline;
  24205. begin
  24206. pTDefRegMap(@Self)^.&set := $00008000;
  24207. end;
  24208. procedure TUART3_U3MODE.clearON; inline;
  24209. begin
  24210. pTDefRegMap(@Self)^.clr := $00008000;
  24211. end;
  24212. procedure TUART3_U3MODE.setON(thebits : TBits_1); inline;
  24213. begin
  24214. if thebits = 0 then
  24215. pTDefRegMap(@Self)^.clr := $00008000
  24216. else
  24217. pTDefRegMap(@Self)^.&set := $00008000;
  24218. end;
  24219. function TUART3_U3MODE.getON : TBits_1; inline;
  24220. begin
  24221. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24222. end;
  24223. procedure TUART3_U3MODE.setPDSEL0; inline;
  24224. begin
  24225. pTDefRegMap(@Self)^.&set := $00000002;
  24226. end;
  24227. procedure TUART3_U3MODE.clearPDSEL0; inline;
  24228. begin
  24229. pTDefRegMap(@Self)^.clr := $00000002;
  24230. end;
  24231. procedure TUART3_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  24232. begin
  24233. if thebits = 0 then
  24234. pTDefRegMap(@Self)^.clr := $00000002
  24235. else
  24236. pTDefRegMap(@Self)^.&set := $00000002;
  24237. end;
  24238. function TUART3_U3MODE.getPDSEL0 : TBits_1; inline;
  24239. begin
  24240. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24241. end;
  24242. procedure TUART3_U3MODE.setPDSEL1; inline;
  24243. begin
  24244. pTDefRegMap(@Self)^.&set := $00000004;
  24245. end;
  24246. procedure TUART3_U3MODE.clearPDSEL1; inline;
  24247. begin
  24248. pTDefRegMap(@Self)^.clr := $00000004;
  24249. end;
  24250. procedure TUART3_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  24251. begin
  24252. if thebits = 0 then
  24253. pTDefRegMap(@Self)^.clr := $00000004
  24254. else
  24255. pTDefRegMap(@Self)^.&set := $00000004;
  24256. end;
  24257. function TUART3_U3MODE.getPDSEL1 : TBits_1; inline;
  24258. begin
  24259. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24260. end;
  24261. procedure TUART3_U3MODE.setUEN0; inline;
  24262. begin
  24263. pTDefRegMap(@Self)^.&set := $00000100;
  24264. end;
  24265. procedure TUART3_U3MODE.clearUEN0; inline;
  24266. begin
  24267. pTDefRegMap(@Self)^.clr := $00000100;
  24268. end;
  24269. procedure TUART3_U3MODE.setUEN0(thebits : TBits_1); inline;
  24270. begin
  24271. if thebits = 0 then
  24272. pTDefRegMap(@Self)^.clr := $00000100
  24273. else
  24274. pTDefRegMap(@Self)^.&set := $00000100;
  24275. end;
  24276. function TUART3_U3MODE.getUEN0 : TBits_1; inline;
  24277. begin
  24278. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24279. end;
  24280. procedure TUART3_U3MODE.setUEN1; inline;
  24281. begin
  24282. pTDefRegMap(@Self)^.&set := $00000200;
  24283. end;
  24284. procedure TUART3_U3MODE.clearUEN1; inline;
  24285. begin
  24286. pTDefRegMap(@Self)^.clr := $00000200;
  24287. end;
  24288. procedure TUART3_U3MODE.setUEN1(thebits : TBits_1); inline;
  24289. begin
  24290. if thebits = 0 then
  24291. pTDefRegMap(@Self)^.clr := $00000200
  24292. else
  24293. pTDefRegMap(@Self)^.&set := $00000200;
  24294. end;
  24295. function TUART3_U3MODE.getUEN1 : TBits_1; inline;
  24296. begin
  24297. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24298. end;
  24299. procedure TUART3_U3MODE.setUSIDL; inline;
  24300. begin
  24301. pTDefRegMap(@Self)^.&set := $00002000;
  24302. end;
  24303. procedure TUART3_U3MODE.clearUSIDL; inline;
  24304. begin
  24305. pTDefRegMap(@Self)^.clr := $00002000;
  24306. end;
  24307. procedure TUART3_U3MODE.setUSIDL(thebits : TBits_1); inline;
  24308. begin
  24309. if thebits = 0 then
  24310. pTDefRegMap(@Self)^.clr := $00002000
  24311. else
  24312. pTDefRegMap(@Self)^.&set := $00002000;
  24313. end;
  24314. function TUART3_U3MODE.getUSIDL : TBits_1; inline;
  24315. begin
  24316. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24317. end;
  24318. procedure TUART3_U3MODE.setUARTEN; inline;
  24319. begin
  24320. pTDefRegMap(@Self)^.&set := $00008000;
  24321. end;
  24322. procedure TUART3_U3MODE.clearUARTEN; inline;
  24323. begin
  24324. pTDefRegMap(@Self)^.clr := $00008000;
  24325. end;
  24326. procedure TUART3_U3MODE.setUARTEN(thebits : TBits_1); inline;
  24327. begin
  24328. if thebits = 0 then
  24329. pTDefRegMap(@Self)^.clr := $00008000
  24330. else
  24331. pTDefRegMap(@Self)^.&set := $00008000;
  24332. end;
  24333. function TUART3_U3MODE.getUARTEN : TBits_1; inline;
  24334. begin
  24335. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24336. end;
  24337. procedure TUART3_U3MODE.setw(thebits : TBits_32); inline;
  24338. begin
  24339. pTDefRegMap(@Self)^.val := thebits;
  24340. end;
  24341. function TUART3_U3MODE.getw : TBits_32; inline;
  24342. begin
  24343. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24344. end;
  24345. procedure TUART3_U39STA.setURXDA; inline;
  24346. begin
  24347. pTDefRegMap(@Self)^.&set := $00000001;
  24348. end;
  24349. procedure TUART3_U39STA.clearURXDA; inline;
  24350. begin
  24351. pTDefRegMap(@Self)^.clr := $00000001;
  24352. end;
  24353. procedure TUART3_U39STA.setURXDA(thebits : TBits_1); inline;
  24354. begin
  24355. if thebits = 0 then
  24356. pTDefRegMap(@Self)^.clr := $00000001
  24357. else
  24358. pTDefRegMap(@Self)^.&set := $00000001;
  24359. end;
  24360. function TUART3_U39STA.getURXDA : TBits_1; inline;
  24361. begin
  24362. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24363. end;
  24364. procedure TUART3_U39STA.setOERR; inline;
  24365. begin
  24366. pTDefRegMap(@Self)^.&set := $00000002;
  24367. end;
  24368. procedure TUART3_U39STA.clearOERR; inline;
  24369. begin
  24370. pTDefRegMap(@Self)^.clr := $00000002;
  24371. end;
  24372. procedure TUART3_U39STA.setOERR(thebits : TBits_1); inline;
  24373. begin
  24374. if thebits = 0 then
  24375. pTDefRegMap(@Self)^.clr := $00000002
  24376. else
  24377. pTDefRegMap(@Self)^.&set := $00000002;
  24378. end;
  24379. function TUART3_U39STA.getOERR : TBits_1; inline;
  24380. begin
  24381. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24382. end;
  24383. procedure TUART3_U39STA.setFERR; inline;
  24384. begin
  24385. pTDefRegMap(@Self)^.&set := $00000004;
  24386. end;
  24387. procedure TUART3_U39STA.clearFERR; inline;
  24388. begin
  24389. pTDefRegMap(@Self)^.clr := $00000004;
  24390. end;
  24391. procedure TUART3_U39STA.setFERR(thebits : TBits_1); inline;
  24392. begin
  24393. if thebits = 0 then
  24394. pTDefRegMap(@Self)^.clr := $00000004
  24395. else
  24396. pTDefRegMap(@Self)^.&set := $00000004;
  24397. end;
  24398. function TUART3_U39STA.getFERR : TBits_1; inline;
  24399. begin
  24400. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24401. end;
  24402. procedure TUART3_U39STA.setPERR; inline;
  24403. begin
  24404. pTDefRegMap(@Self)^.&set := $00000008;
  24405. end;
  24406. procedure TUART3_U39STA.clearPERR; inline;
  24407. begin
  24408. pTDefRegMap(@Self)^.clr := $00000008;
  24409. end;
  24410. procedure TUART3_U39STA.setPERR(thebits : TBits_1); inline;
  24411. begin
  24412. if thebits = 0 then
  24413. pTDefRegMap(@Self)^.clr := $00000008
  24414. else
  24415. pTDefRegMap(@Self)^.&set := $00000008;
  24416. end;
  24417. function TUART3_U39STA.getPERR : TBits_1; inline;
  24418. begin
  24419. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24420. end;
  24421. procedure TUART3_U39STA.setRIDLE; inline;
  24422. begin
  24423. pTDefRegMap(@Self)^.&set := $00000010;
  24424. end;
  24425. procedure TUART3_U39STA.clearRIDLE; inline;
  24426. begin
  24427. pTDefRegMap(@Self)^.clr := $00000010;
  24428. end;
  24429. procedure TUART3_U39STA.setRIDLE(thebits : TBits_1); inline;
  24430. begin
  24431. if thebits = 0 then
  24432. pTDefRegMap(@Self)^.clr := $00000010
  24433. else
  24434. pTDefRegMap(@Self)^.&set := $00000010;
  24435. end;
  24436. function TUART3_U39STA.getRIDLE : TBits_1; inline;
  24437. begin
  24438. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24439. end;
  24440. procedure TUART3_U39STA.setADDEN; inline;
  24441. begin
  24442. pTDefRegMap(@Self)^.&set := $00000020;
  24443. end;
  24444. procedure TUART3_U39STA.clearADDEN; inline;
  24445. begin
  24446. pTDefRegMap(@Self)^.clr := $00000020;
  24447. end;
  24448. procedure TUART3_U39STA.setADDEN(thebits : TBits_1); inline;
  24449. begin
  24450. if thebits = 0 then
  24451. pTDefRegMap(@Self)^.clr := $00000020
  24452. else
  24453. pTDefRegMap(@Self)^.&set := $00000020;
  24454. end;
  24455. function TUART3_U39STA.getADDEN : TBits_1; inline;
  24456. begin
  24457. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24458. end;
  24459. procedure TUART3_U39STA.setURXISEL(thebits : TBits_2); inline;
  24460. begin
  24461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24462. end;
  24463. function TUART3_U39STA.getURXISEL : TBits_2; inline;
  24464. begin
  24465. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24466. end;
  24467. procedure TUART3_U39STA.setTRMT; inline;
  24468. begin
  24469. pTDefRegMap(@Self)^.&set := $00000100;
  24470. end;
  24471. procedure TUART3_U39STA.clearTRMT; inline;
  24472. begin
  24473. pTDefRegMap(@Self)^.clr := $00000100;
  24474. end;
  24475. procedure TUART3_U39STA.setTRMT(thebits : TBits_1); inline;
  24476. begin
  24477. if thebits = 0 then
  24478. pTDefRegMap(@Self)^.clr := $00000100
  24479. else
  24480. pTDefRegMap(@Self)^.&set := $00000100;
  24481. end;
  24482. function TUART3_U39STA.getTRMT : TBits_1; inline;
  24483. begin
  24484. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24485. end;
  24486. procedure TUART3_U39STA.setUTXBF; inline;
  24487. begin
  24488. pTDefRegMap(@Self)^.&set := $00000200;
  24489. end;
  24490. procedure TUART3_U39STA.clearUTXBF; inline;
  24491. begin
  24492. pTDefRegMap(@Self)^.clr := $00000200;
  24493. end;
  24494. procedure TUART3_U39STA.setUTXBF(thebits : TBits_1); inline;
  24495. begin
  24496. if thebits = 0 then
  24497. pTDefRegMap(@Self)^.clr := $00000200
  24498. else
  24499. pTDefRegMap(@Self)^.&set := $00000200;
  24500. end;
  24501. function TUART3_U39STA.getUTXBF : TBits_1; inline;
  24502. begin
  24503. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24504. end;
  24505. procedure TUART3_U39STA.setUTXEN; inline;
  24506. begin
  24507. pTDefRegMap(@Self)^.&set := $00000400;
  24508. end;
  24509. procedure TUART3_U39STA.clearUTXEN; inline;
  24510. begin
  24511. pTDefRegMap(@Self)^.clr := $00000400;
  24512. end;
  24513. procedure TUART3_U39STA.setUTXEN(thebits : TBits_1); inline;
  24514. begin
  24515. if thebits = 0 then
  24516. pTDefRegMap(@Self)^.clr := $00000400
  24517. else
  24518. pTDefRegMap(@Self)^.&set := $00000400;
  24519. end;
  24520. function TUART3_U39STA.getUTXEN : TBits_1; inline;
  24521. begin
  24522. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24523. end;
  24524. procedure TUART3_U39STA.setUTXBRK; inline;
  24525. begin
  24526. pTDefRegMap(@Self)^.&set := $00000800;
  24527. end;
  24528. procedure TUART3_U39STA.clearUTXBRK; inline;
  24529. begin
  24530. pTDefRegMap(@Self)^.clr := $00000800;
  24531. end;
  24532. procedure TUART3_U39STA.setUTXBRK(thebits : TBits_1); inline;
  24533. begin
  24534. if thebits = 0 then
  24535. pTDefRegMap(@Self)^.clr := $00000800
  24536. else
  24537. pTDefRegMap(@Self)^.&set := $00000800;
  24538. end;
  24539. function TUART3_U39STA.getUTXBRK : TBits_1; inline;
  24540. begin
  24541. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24542. end;
  24543. procedure TUART3_U39STA.setURXEN; inline;
  24544. begin
  24545. pTDefRegMap(@Self)^.&set := $00001000;
  24546. end;
  24547. procedure TUART3_U39STA.clearURXEN; inline;
  24548. begin
  24549. pTDefRegMap(@Self)^.clr := $00001000;
  24550. end;
  24551. procedure TUART3_U39STA.setURXEN(thebits : TBits_1); inline;
  24552. begin
  24553. if thebits = 0 then
  24554. pTDefRegMap(@Self)^.clr := $00001000
  24555. else
  24556. pTDefRegMap(@Self)^.&set := $00001000;
  24557. end;
  24558. function TUART3_U39STA.getURXEN : TBits_1; inline;
  24559. begin
  24560. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24561. end;
  24562. procedure TUART3_U39STA.setUTXINV; inline;
  24563. begin
  24564. pTDefRegMap(@Self)^.&set := $00002000;
  24565. end;
  24566. procedure TUART3_U39STA.clearUTXINV; inline;
  24567. begin
  24568. pTDefRegMap(@Self)^.clr := $00002000;
  24569. end;
  24570. procedure TUART3_U39STA.setUTXINV(thebits : TBits_1); inline;
  24571. begin
  24572. if thebits = 0 then
  24573. pTDefRegMap(@Self)^.clr := $00002000
  24574. else
  24575. pTDefRegMap(@Self)^.&set := $00002000;
  24576. end;
  24577. function TUART3_U39STA.getUTXINV : TBits_1; inline;
  24578. begin
  24579. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24580. end;
  24581. procedure TUART3_U39STA.setUTXISEL(thebits : TBits_2); inline;
  24582. begin
  24583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24584. end;
  24585. function TUART3_U39STA.getUTXISEL : TBits_2; inline;
  24586. begin
  24587. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24588. end;
  24589. procedure TUART3_U39STA.setADDR(thebits : TBits_8); inline;
  24590. begin
  24591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  24592. end;
  24593. function TUART3_U39STA.getADDR : TBits_8; inline;
  24594. begin
  24595. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  24596. end;
  24597. procedure TUART3_U39STA.setADM_EN; inline;
  24598. begin
  24599. pTDefRegMap(@Self)^.&set := $01000000;
  24600. end;
  24601. procedure TUART3_U39STA.clearADM_EN; inline;
  24602. begin
  24603. pTDefRegMap(@Self)^.clr := $01000000;
  24604. end;
  24605. procedure TUART3_U39STA.setADM_EN(thebits : TBits_1); inline;
  24606. begin
  24607. if thebits = 0 then
  24608. pTDefRegMap(@Self)^.clr := $01000000
  24609. else
  24610. pTDefRegMap(@Self)^.&set := $01000000;
  24611. end;
  24612. function TUART3_U39STA.getADM_EN : TBits_1; inline;
  24613. begin
  24614. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24615. end;
  24616. procedure TUART3_U39STA.setURXISEL0; inline;
  24617. begin
  24618. pTDefRegMap(@Self)^.&set := $00000040;
  24619. end;
  24620. procedure TUART3_U39STA.clearURXISEL0; inline;
  24621. begin
  24622. pTDefRegMap(@Self)^.clr := $00000040;
  24623. end;
  24624. procedure TUART3_U39STA.setURXISEL0(thebits : TBits_1); inline;
  24625. begin
  24626. if thebits = 0 then
  24627. pTDefRegMap(@Self)^.clr := $00000040
  24628. else
  24629. pTDefRegMap(@Self)^.&set := $00000040;
  24630. end;
  24631. function TUART3_U39STA.getURXISEL0 : TBits_1; inline;
  24632. begin
  24633. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24634. end;
  24635. procedure TUART3_U39STA.setURXISEL1; inline;
  24636. begin
  24637. pTDefRegMap(@Self)^.&set := $00000080;
  24638. end;
  24639. procedure TUART3_U39STA.clearURXISEL1; inline;
  24640. begin
  24641. pTDefRegMap(@Self)^.clr := $00000080;
  24642. end;
  24643. procedure TUART3_U39STA.setURXISEL1(thebits : TBits_1); inline;
  24644. begin
  24645. if thebits = 0 then
  24646. pTDefRegMap(@Self)^.clr := $00000080
  24647. else
  24648. pTDefRegMap(@Self)^.&set := $00000080;
  24649. end;
  24650. function TUART3_U39STA.getURXISEL1 : TBits_1; inline;
  24651. begin
  24652. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24653. end;
  24654. procedure TUART3_U39STA.setUTXISEL0; inline;
  24655. begin
  24656. pTDefRegMap(@Self)^.&set := $00004000;
  24657. end;
  24658. procedure TUART3_U39STA.clearUTXISEL0; inline;
  24659. begin
  24660. pTDefRegMap(@Self)^.clr := $00004000;
  24661. end;
  24662. procedure TUART3_U39STA.setUTXISEL0(thebits : TBits_1); inline;
  24663. begin
  24664. if thebits = 0 then
  24665. pTDefRegMap(@Self)^.clr := $00004000
  24666. else
  24667. pTDefRegMap(@Self)^.&set := $00004000;
  24668. end;
  24669. function TUART3_U39STA.getUTXISEL0 : TBits_1; inline;
  24670. begin
  24671. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24672. end;
  24673. procedure TUART3_U39STA.setUTXISEL1; inline;
  24674. begin
  24675. pTDefRegMap(@Self)^.&set := $00008000;
  24676. end;
  24677. procedure TUART3_U39STA.clearUTXISEL1; inline;
  24678. begin
  24679. pTDefRegMap(@Self)^.clr := $00008000;
  24680. end;
  24681. procedure TUART3_U39STA.setUTXISEL1(thebits : TBits_1); inline;
  24682. begin
  24683. if thebits = 0 then
  24684. pTDefRegMap(@Self)^.clr := $00008000
  24685. else
  24686. pTDefRegMap(@Self)^.&set := $00008000;
  24687. end;
  24688. function TUART3_U39STA.getUTXISEL1 : TBits_1; inline;
  24689. begin
  24690. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24691. end;
  24692. procedure TUART3_U39STA.setUTXSEL(thebits : TBits_2); inline;
  24693. begin
  24694. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24695. end;
  24696. function TUART3_U39STA.getUTXSEL : TBits_2; inline;
  24697. begin
  24698. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24699. end;
  24700. procedure TUART3_U39STA.setw(thebits : TBits_32); inline;
  24701. begin
  24702. pTDefRegMap(@Self)^.val := thebits;
  24703. end;
  24704. function TUART3_U39STA.getw : TBits_32; inline;
  24705. begin
  24706. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24707. end;
  24708. procedure TUART3_U3STA.setURXDA; inline;
  24709. begin
  24710. pTDefRegMap(@Self)^.&set := $00000001;
  24711. end;
  24712. procedure TUART3_U3STA.clearURXDA; inline;
  24713. begin
  24714. pTDefRegMap(@Self)^.clr := $00000001;
  24715. end;
  24716. procedure TUART3_U3STA.setURXDA(thebits : TBits_1); inline;
  24717. begin
  24718. if thebits = 0 then
  24719. pTDefRegMap(@Self)^.clr := $00000001
  24720. else
  24721. pTDefRegMap(@Self)^.&set := $00000001;
  24722. end;
  24723. function TUART3_U3STA.getURXDA : TBits_1; inline;
  24724. begin
  24725. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24726. end;
  24727. procedure TUART3_U3STA.setOERR; inline;
  24728. begin
  24729. pTDefRegMap(@Self)^.&set := $00000002;
  24730. end;
  24731. procedure TUART3_U3STA.clearOERR; inline;
  24732. begin
  24733. pTDefRegMap(@Self)^.clr := $00000002;
  24734. end;
  24735. procedure TUART3_U3STA.setOERR(thebits : TBits_1); inline;
  24736. begin
  24737. if thebits = 0 then
  24738. pTDefRegMap(@Self)^.clr := $00000002
  24739. else
  24740. pTDefRegMap(@Self)^.&set := $00000002;
  24741. end;
  24742. function TUART3_U3STA.getOERR : TBits_1; inline;
  24743. begin
  24744. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24745. end;
  24746. procedure TUART3_U3STA.setFERR; inline;
  24747. begin
  24748. pTDefRegMap(@Self)^.&set := $00000004;
  24749. end;
  24750. procedure TUART3_U3STA.clearFERR; inline;
  24751. begin
  24752. pTDefRegMap(@Self)^.clr := $00000004;
  24753. end;
  24754. procedure TUART3_U3STA.setFERR(thebits : TBits_1); inline;
  24755. begin
  24756. if thebits = 0 then
  24757. pTDefRegMap(@Self)^.clr := $00000004
  24758. else
  24759. pTDefRegMap(@Self)^.&set := $00000004;
  24760. end;
  24761. function TUART3_U3STA.getFERR : TBits_1; inline;
  24762. begin
  24763. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24764. end;
  24765. procedure TUART3_U3STA.setPERR; inline;
  24766. begin
  24767. pTDefRegMap(@Self)^.&set := $00000008;
  24768. end;
  24769. procedure TUART3_U3STA.clearPERR; inline;
  24770. begin
  24771. pTDefRegMap(@Self)^.clr := $00000008;
  24772. end;
  24773. procedure TUART3_U3STA.setPERR(thebits : TBits_1); inline;
  24774. begin
  24775. if thebits = 0 then
  24776. pTDefRegMap(@Self)^.clr := $00000008
  24777. else
  24778. pTDefRegMap(@Self)^.&set := $00000008;
  24779. end;
  24780. function TUART3_U3STA.getPERR : TBits_1; inline;
  24781. begin
  24782. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24783. end;
  24784. procedure TUART3_U3STA.setRIDLE; inline;
  24785. begin
  24786. pTDefRegMap(@Self)^.&set := $00000010;
  24787. end;
  24788. procedure TUART3_U3STA.clearRIDLE; inline;
  24789. begin
  24790. pTDefRegMap(@Self)^.clr := $00000010;
  24791. end;
  24792. procedure TUART3_U3STA.setRIDLE(thebits : TBits_1); inline;
  24793. begin
  24794. if thebits = 0 then
  24795. pTDefRegMap(@Self)^.clr := $00000010
  24796. else
  24797. pTDefRegMap(@Self)^.&set := $00000010;
  24798. end;
  24799. function TUART3_U3STA.getRIDLE : TBits_1; inline;
  24800. begin
  24801. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24802. end;
  24803. procedure TUART3_U3STA.setADDEN; inline;
  24804. begin
  24805. pTDefRegMap(@Self)^.&set := $00000020;
  24806. end;
  24807. procedure TUART3_U3STA.clearADDEN; inline;
  24808. begin
  24809. pTDefRegMap(@Self)^.clr := $00000020;
  24810. end;
  24811. procedure TUART3_U3STA.setADDEN(thebits : TBits_1); inline;
  24812. begin
  24813. if thebits = 0 then
  24814. pTDefRegMap(@Self)^.clr := $00000020
  24815. else
  24816. pTDefRegMap(@Self)^.&set := $00000020;
  24817. end;
  24818. function TUART3_U3STA.getADDEN : TBits_1; inline;
  24819. begin
  24820. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24821. end;
  24822. procedure TUART3_U3STA.setURXISEL(thebits : TBits_2); inline;
  24823. begin
  24824. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24825. end;
  24826. function TUART3_U3STA.getURXISEL : TBits_2; inline;
  24827. begin
  24828. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24829. end;
  24830. procedure TUART3_U3STA.setTRMT; inline;
  24831. begin
  24832. pTDefRegMap(@Self)^.&set := $00000100;
  24833. end;
  24834. procedure TUART3_U3STA.clearTRMT; inline;
  24835. begin
  24836. pTDefRegMap(@Self)^.clr := $00000100;
  24837. end;
  24838. procedure TUART3_U3STA.setTRMT(thebits : TBits_1); inline;
  24839. begin
  24840. if thebits = 0 then
  24841. pTDefRegMap(@Self)^.clr := $00000100
  24842. else
  24843. pTDefRegMap(@Self)^.&set := $00000100;
  24844. end;
  24845. function TUART3_U3STA.getTRMT : TBits_1; inline;
  24846. begin
  24847. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24848. end;
  24849. procedure TUART3_U3STA.setUTXBF; inline;
  24850. begin
  24851. pTDefRegMap(@Self)^.&set := $00000200;
  24852. end;
  24853. procedure TUART3_U3STA.clearUTXBF; inline;
  24854. begin
  24855. pTDefRegMap(@Self)^.clr := $00000200;
  24856. end;
  24857. procedure TUART3_U3STA.setUTXBF(thebits : TBits_1); inline;
  24858. begin
  24859. if thebits = 0 then
  24860. pTDefRegMap(@Self)^.clr := $00000200
  24861. else
  24862. pTDefRegMap(@Self)^.&set := $00000200;
  24863. end;
  24864. function TUART3_U3STA.getUTXBF : TBits_1; inline;
  24865. begin
  24866. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24867. end;
  24868. procedure TUART3_U3STA.setUTXEN; inline;
  24869. begin
  24870. pTDefRegMap(@Self)^.&set := $00000400;
  24871. end;
  24872. procedure TUART3_U3STA.clearUTXEN; inline;
  24873. begin
  24874. pTDefRegMap(@Self)^.clr := $00000400;
  24875. end;
  24876. procedure TUART3_U3STA.setUTXEN(thebits : TBits_1); inline;
  24877. begin
  24878. if thebits = 0 then
  24879. pTDefRegMap(@Self)^.clr := $00000400
  24880. else
  24881. pTDefRegMap(@Self)^.&set := $00000400;
  24882. end;
  24883. function TUART3_U3STA.getUTXEN : TBits_1; inline;
  24884. begin
  24885. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24886. end;
  24887. procedure TUART3_U3STA.setUTXBRK; inline;
  24888. begin
  24889. pTDefRegMap(@Self)^.&set := $00000800;
  24890. end;
  24891. procedure TUART3_U3STA.clearUTXBRK; inline;
  24892. begin
  24893. pTDefRegMap(@Self)^.clr := $00000800;
  24894. end;
  24895. procedure TUART3_U3STA.setUTXBRK(thebits : TBits_1); inline;
  24896. begin
  24897. if thebits = 0 then
  24898. pTDefRegMap(@Self)^.clr := $00000800
  24899. else
  24900. pTDefRegMap(@Self)^.&set := $00000800;
  24901. end;
  24902. function TUART3_U3STA.getUTXBRK : TBits_1; inline;
  24903. begin
  24904. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24905. end;
  24906. procedure TUART3_U3STA.setURXEN; inline;
  24907. begin
  24908. pTDefRegMap(@Self)^.&set := $00001000;
  24909. end;
  24910. procedure TUART3_U3STA.clearURXEN; inline;
  24911. begin
  24912. pTDefRegMap(@Self)^.clr := $00001000;
  24913. end;
  24914. procedure TUART3_U3STA.setURXEN(thebits : TBits_1); inline;
  24915. begin
  24916. if thebits = 0 then
  24917. pTDefRegMap(@Self)^.clr := $00001000
  24918. else
  24919. pTDefRegMap(@Self)^.&set := $00001000;
  24920. end;
  24921. function TUART3_U3STA.getURXEN : TBits_1; inline;
  24922. begin
  24923. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24924. end;
  24925. procedure TUART3_U3STA.setUTXINV; inline;
  24926. begin
  24927. pTDefRegMap(@Self)^.&set := $00002000;
  24928. end;
  24929. procedure TUART3_U3STA.clearUTXINV; inline;
  24930. begin
  24931. pTDefRegMap(@Self)^.clr := $00002000;
  24932. end;
  24933. procedure TUART3_U3STA.setUTXINV(thebits : TBits_1); inline;
  24934. begin
  24935. if thebits = 0 then
  24936. pTDefRegMap(@Self)^.clr := $00002000
  24937. else
  24938. pTDefRegMap(@Self)^.&set := $00002000;
  24939. end;
  24940. function TUART3_U3STA.getUTXINV : TBits_1; inline;
  24941. begin
  24942. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24943. end;
  24944. procedure TUART3_U3STA.setUTXISEL(thebits : TBits_2); inline;
  24945. begin
  24946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24947. end;
  24948. function TUART3_U3STA.getUTXISEL : TBits_2; inline;
  24949. begin
  24950. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24951. end;
  24952. procedure TUART3_U3STA.setADDR(thebits : TBits_8); inline;
  24953. begin
  24954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  24955. end;
  24956. function TUART3_U3STA.getADDR : TBits_8; inline;
  24957. begin
  24958. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  24959. end;
  24960. procedure TUART3_U3STA.setADM_EN; inline;
  24961. begin
  24962. pTDefRegMap(@Self)^.&set := $01000000;
  24963. end;
  24964. procedure TUART3_U3STA.clearADM_EN; inline;
  24965. begin
  24966. pTDefRegMap(@Self)^.clr := $01000000;
  24967. end;
  24968. procedure TUART3_U3STA.setADM_EN(thebits : TBits_1); inline;
  24969. begin
  24970. if thebits = 0 then
  24971. pTDefRegMap(@Self)^.clr := $01000000
  24972. else
  24973. pTDefRegMap(@Self)^.&set := $01000000;
  24974. end;
  24975. function TUART3_U3STA.getADM_EN : TBits_1; inline;
  24976. begin
  24977. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24978. end;
  24979. procedure TUART3_U3STA.setURXISEL0; inline;
  24980. begin
  24981. pTDefRegMap(@Self)^.&set := $00000040;
  24982. end;
  24983. procedure TUART3_U3STA.clearURXISEL0; inline;
  24984. begin
  24985. pTDefRegMap(@Self)^.clr := $00000040;
  24986. end;
  24987. procedure TUART3_U3STA.setURXISEL0(thebits : TBits_1); inline;
  24988. begin
  24989. if thebits = 0 then
  24990. pTDefRegMap(@Self)^.clr := $00000040
  24991. else
  24992. pTDefRegMap(@Self)^.&set := $00000040;
  24993. end;
  24994. function TUART3_U3STA.getURXISEL0 : TBits_1; inline;
  24995. begin
  24996. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24997. end;
  24998. procedure TUART3_U3STA.setURXISEL1; inline;
  24999. begin
  25000. pTDefRegMap(@Self)^.&set := $00000080;
  25001. end;
  25002. procedure TUART3_U3STA.clearURXISEL1; inline;
  25003. begin
  25004. pTDefRegMap(@Self)^.clr := $00000080;
  25005. end;
  25006. procedure TUART3_U3STA.setURXISEL1(thebits : TBits_1); inline;
  25007. begin
  25008. if thebits = 0 then
  25009. pTDefRegMap(@Self)^.clr := $00000080
  25010. else
  25011. pTDefRegMap(@Self)^.&set := $00000080;
  25012. end;
  25013. function TUART3_U3STA.getURXISEL1 : TBits_1; inline;
  25014. begin
  25015. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25016. end;
  25017. procedure TUART3_U3STA.setUTXISEL0; inline;
  25018. begin
  25019. pTDefRegMap(@Self)^.&set := $00004000;
  25020. end;
  25021. procedure TUART3_U3STA.clearUTXISEL0; inline;
  25022. begin
  25023. pTDefRegMap(@Self)^.clr := $00004000;
  25024. end;
  25025. procedure TUART3_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  25026. begin
  25027. if thebits = 0 then
  25028. pTDefRegMap(@Self)^.clr := $00004000
  25029. else
  25030. pTDefRegMap(@Self)^.&set := $00004000;
  25031. end;
  25032. function TUART3_U3STA.getUTXISEL0 : TBits_1; inline;
  25033. begin
  25034. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25035. end;
  25036. procedure TUART3_U3STA.setUTXISEL1; inline;
  25037. begin
  25038. pTDefRegMap(@Self)^.&set := $00008000;
  25039. end;
  25040. procedure TUART3_U3STA.clearUTXISEL1; inline;
  25041. begin
  25042. pTDefRegMap(@Self)^.clr := $00008000;
  25043. end;
  25044. procedure TUART3_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  25045. begin
  25046. if thebits = 0 then
  25047. pTDefRegMap(@Self)^.clr := $00008000
  25048. else
  25049. pTDefRegMap(@Self)^.&set := $00008000;
  25050. end;
  25051. function TUART3_U3STA.getUTXISEL1 : TBits_1; inline;
  25052. begin
  25053. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25054. end;
  25055. procedure TUART3_U3STA.setUTXSEL(thebits : TBits_2); inline;
  25056. begin
  25057. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25058. end;
  25059. function TUART3_U3STA.getUTXSEL : TBits_2; inline;
  25060. begin
  25061. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25062. end;
  25063. procedure TUART3_U3STA.setw(thebits : TBits_32); inline;
  25064. begin
  25065. pTDefRegMap(@Self)^.val := thebits;
  25066. end;
  25067. function TUART3_U3STA.getw : TBits_32; inline;
  25068. begin
  25069. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25070. end;
  25071. procedure TUART4_U4MODE.setSTSEL; inline;
  25072. begin
  25073. pTDefRegMap(@Self)^.&set := $00000001;
  25074. end;
  25075. procedure TUART4_U4MODE.clearSTSEL; inline;
  25076. begin
  25077. pTDefRegMap(@Self)^.clr := $00000001;
  25078. end;
  25079. procedure TUART4_U4MODE.setSTSEL(thebits : TBits_1); inline;
  25080. begin
  25081. if thebits = 0 then
  25082. pTDefRegMap(@Self)^.clr := $00000001
  25083. else
  25084. pTDefRegMap(@Self)^.&set := $00000001;
  25085. end;
  25086. function TUART4_U4MODE.getSTSEL : TBits_1; inline;
  25087. begin
  25088. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25089. end;
  25090. procedure TUART4_U4MODE.setPDSEL(thebits : TBits_2); inline;
  25091. begin
  25092. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  25093. end;
  25094. function TUART4_U4MODE.getPDSEL : TBits_2; inline;
  25095. begin
  25096. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  25097. end;
  25098. procedure TUART4_U4MODE.setBRGH; inline;
  25099. begin
  25100. pTDefRegMap(@Self)^.&set := $00000008;
  25101. end;
  25102. procedure TUART4_U4MODE.clearBRGH; inline;
  25103. begin
  25104. pTDefRegMap(@Self)^.clr := $00000008;
  25105. end;
  25106. procedure TUART4_U4MODE.setBRGH(thebits : TBits_1); inline;
  25107. begin
  25108. if thebits = 0 then
  25109. pTDefRegMap(@Self)^.clr := $00000008
  25110. else
  25111. pTDefRegMap(@Self)^.&set := $00000008;
  25112. end;
  25113. function TUART4_U4MODE.getBRGH : TBits_1; inline;
  25114. begin
  25115. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25116. end;
  25117. procedure TUART4_U4MODE.setRXINV; inline;
  25118. begin
  25119. pTDefRegMap(@Self)^.&set := $00000010;
  25120. end;
  25121. procedure TUART4_U4MODE.clearRXINV; inline;
  25122. begin
  25123. pTDefRegMap(@Self)^.clr := $00000010;
  25124. end;
  25125. procedure TUART4_U4MODE.setRXINV(thebits : TBits_1); inline;
  25126. begin
  25127. if thebits = 0 then
  25128. pTDefRegMap(@Self)^.clr := $00000010
  25129. else
  25130. pTDefRegMap(@Self)^.&set := $00000010;
  25131. end;
  25132. function TUART4_U4MODE.getRXINV : TBits_1; inline;
  25133. begin
  25134. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25135. end;
  25136. procedure TUART4_U4MODE.setABAUD; inline;
  25137. begin
  25138. pTDefRegMap(@Self)^.&set := $00000020;
  25139. end;
  25140. procedure TUART4_U4MODE.clearABAUD; inline;
  25141. begin
  25142. pTDefRegMap(@Self)^.clr := $00000020;
  25143. end;
  25144. procedure TUART4_U4MODE.setABAUD(thebits : TBits_1); inline;
  25145. begin
  25146. if thebits = 0 then
  25147. pTDefRegMap(@Self)^.clr := $00000020
  25148. else
  25149. pTDefRegMap(@Self)^.&set := $00000020;
  25150. end;
  25151. function TUART4_U4MODE.getABAUD : TBits_1; inline;
  25152. begin
  25153. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25154. end;
  25155. procedure TUART4_U4MODE.setLPBACK; inline;
  25156. begin
  25157. pTDefRegMap(@Self)^.&set := $00000040;
  25158. end;
  25159. procedure TUART4_U4MODE.clearLPBACK; inline;
  25160. begin
  25161. pTDefRegMap(@Self)^.clr := $00000040;
  25162. end;
  25163. procedure TUART4_U4MODE.setLPBACK(thebits : TBits_1); inline;
  25164. begin
  25165. if thebits = 0 then
  25166. pTDefRegMap(@Self)^.clr := $00000040
  25167. else
  25168. pTDefRegMap(@Self)^.&set := $00000040;
  25169. end;
  25170. function TUART4_U4MODE.getLPBACK : TBits_1; inline;
  25171. begin
  25172. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25173. end;
  25174. procedure TUART4_U4MODE.setWAKE; inline;
  25175. begin
  25176. pTDefRegMap(@Self)^.&set := $00000080;
  25177. end;
  25178. procedure TUART4_U4MODE.clearWAKE; inline;
  25179. begin
  25180. pTDefRegMap(@Self)^.clr := $00000080;
  25181. end;
  25182. procedure TUART4_U4MODE.setWAKE(thebits : TBits_1); inline;
  25183. begin
  25184. if thebits = 0 then
  25185. pTDefRegMap(@Self)^.clr := $00000080
  25186. else
  25187. pTDefRegMap(@Self)^.&set := $00000080;
  25188. end;
  25189. function TUART4_U4MODE.getWAKE : TBits_1; inline;
  25190. begin
  25191. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25192. end;
  25193. procedure TUART4_U4MODE.setUEN(thebits : TBits_2); inline;
  25194. begin
  25195. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  25196. end;
  25197. function TUART4_U4MODE.getUEN : TBits_2; inline;
  25198. begin
  25199. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  25200. end;
  25201. procedure TUART4_U4MODE.setRTSMD; inline;
  25202. begin
  25203. pTDefRegMap(@Self)^.&set := $00000800;
  25204. end;
  25205. procedure TUART4_U4MODE.clearRTSMD; inline;
  25206. begin
  25207. pTDefRegMap(@Self)^.clr := $00000800;
  25208. end;
  25209. procedure TUART4_U4MODE.setRTSMD(thebits : TBits_1); inline;
  25210. begin
  25211. if thebits = 0 then
  25212. pTDefRegMap(@Self)^.clr := $00000800
  25213. else
  25214. pTDefRegMap(@Self)^.&set := $00000800;
  25215. end;
  25216. function TUART4_U4MODE.getRTSMD : TBits_1; inline;
  25217. begin
  25218. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25219. end;
  25220. procedure TUART4_U4MODE.setIREN; inline;
  25221. begin
  25222. pTDefRegMap(@Self)^.&set := $00001000;
  25223. end;
  25224. procedure TUART4_U4MODE.clearIREN; inline;
  25225. begin
  25226. pTDefRegMap(@Self)^.clr := $00001000;
  25227. end;
  25228. procedure TUART4_U4MODE.setIREN(thebits : TBits_1); inline;
  25229. begin
  25230. if thebits = 0 then
  25231. pTDefRegMap(@Self)^.clr := $00001000
  25232. else
  25233. pTDefRegMap(@Self)^.&set := $00001000;
  25234. end;
  25235. function TUART4_U4MODE.getIREN : TBits_1; inline;
  25236. begin
  25237. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25238. end;
  25239. procedure TUART4_U4MODE.setSIDL; inline;
  25240. begin
  25241. pTDefRegMap(@Self)^.&set := $00002000;
  25242. end;
  25243. procedure TUART4_U4MODE.clearSIDL; inline;
  25244. begin
  25245. pTDefRegMap(@Self)^.clr := $00002000;
  25246. end;
  25247. procedure TUART4_U4MODE.setSIDL(thebits : TBits_1); inline;
  25248. begin
  25249. if thebits = 0 then
  25250. pTDefRegMap(@Self)^.clr := $00002000
  25251. else
  25252. pTDefRegMap(@Self)^.&set := $00002000;
  25253. end;
  25254. function TUART4_U4MODE.getSIDL : TBits_1; inline;
  25255. begin
  25256. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25257. end;
  25258. procedure TUART4_U4MODE.setON; inline;
  25259. begin
  25260. pTDefRegMap(@Self)^.&set := $00008000;
  25261. end;
  25262. procedure TUART4_U4MODE.clearON; inline;
  25263. begin
  25264. pTDefRegMap(@Self)^.clr := $00008000;
  25265. end;
  25266. procedure TUART4_U4MODE.setON(thebits : TBits_1); inline;
  25267. begin
  25268. if thebits = 0 then
  25269. pTDefRegMap(@Self)^.clr := $00008000
  25270. else
  25271. pTDefRegMap(@Self)^.&set := $00008000;
  25272. end;
  25273. function TUART4_U4MODE.getON : TBits_1; inline;
  25274. begin
  25275. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25276. end;
  25277. procedure TUART4_U4MODE.setPDSEL0; inline;
  25278. begin
  25279. pTDefRegMap(@Self)^.&set := $00000002;
  25280. end;
  25281. procedure TUART4_U4MODE.clearPDSEL0; inline;
  25282. begin
  25283. pTDefRegMap(@Self)^.clr := $00000002;
  25284. end;
  25285. procedure TUART4_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  25286. begin
  25287. if thebits = 0 then
  25288. pTDefRegMap(@Self)^.clr := $00000002
  25289. else
  25290. pTDefRegMap(@Self)^.&set := $00000002;
  25291. end;
  25292. function TUART4_U4MODE.getPDSEL0 : TBits_1; inline;
  25293. begin
  25294. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25295. end;
  25296. procedure TUART4_U4MODE.setPDSEL1; inline;
  25297. begin
  25298. pTDefRegMap(@Self)^.&set := $00000004;
  25299. end;
  25300. procedure TUART4_U4MODE.clearPDSEL1; inline;
  25301. begin
  25302. pTDefRegMap(@Self)^.clr := $00000004;
  25303. end;
  25304. procedure TUART4_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  25305. begin
  25306. if thebits = 0 then
  25307. pTDefRegMap(@Self)^.clr := $00000004
  25308. else
  25309. pTDefRegMap(@Self)^.&set := $00000004;
  25310. end;
  25311. function TUART4_U4MODE.getPDSEL1 : TBits_1; inline;
  25312. begin
  25313. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25314. end;
  25315. procedure TUART4_U4MODE.setUEN0; inline;
  25316. begin
  25317. pTDefRegMap(@Self)^.&set := $00000100;
  25318. end;
  25319. procedure TUART4_U4MODE.clearUEN0; inline;
  25320. begin
  25321. pTDefRegMap(@Self)^.clr := $00000100;
  25322. end;
  25323. procedure TUART4_U4MODE.setUEN0(thebits : TBits_1); inline;
  25324. begin
  25325. if thebits = 0 then
  25326. pTDefRegMap(@Self)^.clr := $00000100
  25327. else
  25328. pTDefRegMap(@Self)^.&set := $00000100;
  25329. end;
  25330. function TUART4_U4MODE.getUEN0 : TBits_1; inline;
  25331. begin
  25332. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25333. end;
  25334. procedure TUART4_U4MODE.setUEN1; inline;
  25335. begin
  25336. pTDefRegMap(@Self)^.&set := $00000200;
  25337. end;
  25338. procedure TUART4_U4MODE.clearUEN1; inline;
  25339. begin
  25340. pTDefRegMap(@Self)^.clr := $00000200;
  25341. end;
  25342. procedure TUART4_U4MODE.setUEN1(thebits : TBits_1); inline;
  25343. begin
  25344. if thebits = 0 then
  25345. pTDefRegMap(@Self)^.clr := $00000200
  25346. else
  25347. pTDefRegMap(@Self)^.&set := $00000200;
  25348. end;
  25349. function TUART4_U4MODE.getUEN1 : TBits_1; inline;
  25350. begin
  25351. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25352. end;
  25353. procedure TUART4_U4MODE.setUSIDL; inline;
  25354. begin
  25355. pTDefRegMap(@Self)^.&set := $00002000;
  25356. end;
  25357. procedure TUART4_U4MODE.clearUSIDL; inline;
  25358. begin
  25359. pTDefRegMap(@Self)^.clr := $00002000;
  25360. end;
  25361. procedure TUART4_U4MODE.setUSIDL(thebits : TBits_1); inline;
  25362. begin
  25363. if thebits = 0 then
  25364. pTDefRegMap(@Self)^.clr := $00002000
  25365. else
  25366. pTDefRegMap(@Self)^.&set := $00002000;
  25367. end;
  25368. function TUART4_U4MODE.getUSIDL : TBits_1; inline;
  25369. begin
  25370. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25371. end;
  25372. procedure TUART4_U4MODE.setUARTEN; inline;
  25373. begin
  25374. pTDefRegMap(@Self)^.&set := $00008000;
  25375. end;
  25376. procedure TUART4_U4MODE.clearUARTEN; inline;
  25377. begin
  25378. pTDefRegMap(@Self)^.clr := $00008000;
  25379. end;
  25380. procedure TUART4_U4MODE.setUARTEN(thebits : TBits_1); inline;
  25381. begin
  25382. if thebits = 0 then
  25383. pTDefRegMap(@Self)^.clr := $00008000
  25384. else
  25385. pTDefRegMap(@Self)^.&set := $00008000;
  25386. end;
  25387. function TUART4_U4MODE.getUARTEN : TBits_1; inline;
  25388. begin
  25389. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25390. end;
  25391. procedure TUART4_U4MODE.setw(thebits : TBits_32); inline;
  25392. begin
  25393. pTDefRegMap(@Self)^.val := thebits;
  25394. end;
  25395. function TUART4_U4MODE.getw : TBits_32; inline;
  25396. begin
  25397. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25398. end;
  25399. procedure TUART4_UodMODE.setSTSEL; inline;
  25400. begin
  25401. pTDefRegMap(@Self)^.&set := $00000001;
  25402. end;
  25403. procedure TUART4_UodMODE.clearSTSEL; inline;
  25404. begin
  25405. pTDefRegMap(@Self)^.clr := $00000001;
  25406. end;
  25407. procedure TUART4_UodMODE.setSTSEL(thebits : TBits_1); inline;
  25408. begin
  25409. if thebits = 0 then
  25410. pTDefRegMap(@Self)^.clr := $00000001
  25411. else
  25412. pTDefRegMap(@Self)^.&set := $00000001;
  25413. end;
  25414. function TUART4_UodMODE.getSTSEL : TBits_1; inline;
  25415. begin
  25416. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25417. end;
  25418. procedure TUART4_UodMODE.setPDSEL(thebits : TBits_2); inline;
  25419. begin
  25420. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  25421. end;
  25422. function TUART4_UodMODE.getPDSEL : TBits_2; inline;
  25423. begin
  25424. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  25425. end;
  25426. procedure TUART4_UodMODE.setBRGH; inline;
  25427. begin
  25428. pTDefRegMap(@Self)^.&set := $00000008;
  25429. end;
  25430. procedure TUART4_UodMODE.clearBRGH; inline;
  25431. begin
  25432. pTDefRegMap(@Self)^.clr := $00000008;
  25433. end;
  25434. procedure TUART4_UodMODE.setBRGH(thebits : TBits_1); inline;
  25435. begin
  25436. if thebits = 0 then
  25437. pTDefRegMap(@Self)^.clr := $00000008
  25438. else
  25439. pTDefRegMap(@Self)^.&set := $00000008;
  25440. end;
  25441. function TUART4_UodMODE.getBRGH : TBits_1; inline;
  25442. begin
  25443. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25444. end;
  25445. procedure TUART4_UodMODE.setRXINV; inline;
  25446. begin
  25447. pTDefRegMap(@Self)^.&set := $00000010;
  25448. end;
  25449. procedure TUART4_UodMODE.clearRXINV; inline;
  25450. begin
  25451. pTDefRegMap(@Self)^.clr := $00000010;
  25452. end;
  25453. procedure TUART4_UodMODE.setRXINV(thebits : TBits_1); inline;
  25454. begin
  25455. if thebits = 0 then
  25456. pTDefRegMap(@Self)^.clr := $00000010
  25457. else
  25458. pTDefRegMap(@Self)^.&set := $00000010;
  25459. end;
  25460. function TUART4_UodMODE.getRXINV : TBits_1; inline;
  25461. begin
  25462. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25463. end;
  25464. procedure TUART4_UodMODE.setABAUD; inline;
  25465. begin
  25466. pTDefRegMap(@Self)^.&set := $00000020;
  25467. end;
  25468. procedure TUART4_UodMODE.clearABAUD; inline;
  25469. begin
  25470. pTDefRegMap(@Self)^.clr := $00000020;
  25471. end;
  25472. procedure TUART4_UodMODE.setABAUD(thebits : TBits_1); inline;
  25473. begin
  25474. if thebits = 0 then
  25475. pTDefRegMap(@Self)^.clr := $00000020
  25476. else
  25477. pTDefRegMap(@Self)^.&set := $00000020;
  25478. end;
  25479. function TUART4_UodMODE.getABAUD : TBits_1; inline;
  25480. begin
  25481. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25482. end;
  25483. procedure TUART4_UodMODE.setLPBACK; inline;
  25484. begin
  25485. pTDefRegMap(@Self)^.&set := $00000040;
  25486. end;
  25487. procedure TUART4_UodMODE.clearLPBACK; inline;
  25488. begin
  25489. pTDefRegMap(@Self)^.clr := $00000040;
  25490. end;
  25491. procedure TUART4_UodMODE.setLPBACK(thebits : TBits_1); inline;
  25492. begin
  25493. if thebits = 0 then
  25494. pTDefRegMap(@Self)^.clr := $00000040
  25495. else
  25496. pTDefRegMap(@Self)^.&set := $00000040;
  25497. end;
  25498. function TUART4_UodMODE.getLPBACK : TBits_1; inline;
  25499. begin
  25500. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25501. end;
  25502. procedure TUART4_UodMODE.setWAKE; inline;
  25503. begin
  25504. pTDefRegMap(@Self)^.&set := $00000080;
  25505. end;
  25506. procedure TUART4_UodMODE.clearWAKE; inline;
  25507. begin
  25508. pTDefRegMap(@Self)^.clr := $00000080;
  25509. end;
  25510. procedure TUART4_UodMODE.setWAKE(thebits : TBits_1); inline;
  25511. begin
  25512. if thebits = 0 then
  25513. pTDefRegMap(@Self)^.clr := $00000080
  25514. else
  25515. pTDefRegMap(@Self)^.&set := $00000080;
  25516. end;
  25517. function TUART4_UodMODE.getWAKE : TBits_1; inline;
  25518. begin
  25519. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25520. end;
  25521. procedure TUART4_UodMODE.setUEN(thebits : TBits_2); inline;
  25522. begin
  25523. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  25524. end;
  25525. function TUART4_UodMODE.getUEN : TBits_2; inline;
  25526. begin
  25527. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  25528. end;
  25529. procedure TUART4_UodMODE.setRTSMD; inline;
  25530. begin
  25531. pTDefRegMap(@Self)^.&set := $00000800;
  25532. end;
  25533. procedure TUART4_UodMODE.clearRTSMD; inline;
  25534. begin
  25535. pTDefRegMap(@Self)^.clr := $00000800;
  25536. end;
  25537. procedure TUART4_UodMODE.setRTSMD(thebits : TBits_1); inline;
  25538. begin
  25539. if thebits = 0 then
  25540. pTDefRegMap(@Self)^.clr := $00000800
  25541. else
  25542. pTDefRegMap(@Self)^.&set := $00000800;
  25543. end;
  25544. function TUART4_UodMODE.getRTSMD : TBits_1; inline;
  25545. begin
  25546. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25547. end;
  25548. procedure TUART4_UodMODE.setIREN; inline;
  25549. begin
  25550. pTDefRegMap(@Self)^.&set := $00001000;
  25551. end;
  25552. procedure TUART4_UodMODE.clearIREN; inline;
  25553. begin
  25554. pTDefRegMap(@Self)^.clr := $00001000;
  25555. end;
  25556. procedure TUART4_UodMODE.setIREN(thebits : TBits_1); inline;
  25557. begin
  25558. if thebits = 0 then
  25559. pTDefRegMap(@Self)^.clr := $00001000
  25560. else
  25561. pTDefRegMap(@Self)^.&set := $00001000;
  25562. end;
  25563. function TUART4_UodMODE.getIREN : TBits_1; inline;
  25564. begin
  25565. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25566. end;
  25567. procedure TUART4_UodMODE.setSIDL; inline;
  25568. begin
  25569. pTDefRegMap(@Self)^.&set := $00002000;
  25570. end;
  25571. procedure TUART4_UodMODE.clearSIDL; inline;
  25572. begin
  25573. pTDefRegMap(@Self)^.clr := $00002000;
  25574. end;
  25575. procedure TUART4_UodMODE.setSIDL(thebits : TBits_1); inline;
  25576. begin
  25577. if thebits = 0 then
  25578. pTDefRegMap(@Self)^.clr := $00002000
  25579. else
  25580. pTDefRegMap(@Self)^.&set := $00002000;
  25581. end;
  25582. function TUART4_UodMODE.getSIDL : TBits_1; inline;
  25583. begin
  25584. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25585. end;
  25586. procedure TUART4_UodMODE.setON; inline;
  25587. begin
  25588. pTDefRegMap(@Self)^.&set := $00008000;
  25589. end;
  25590. procedure TUART4_UodMODE.clearON; inline;
  25591. begin
  25592. pTDefRegMap(@Self)^.clr := $00008000;
  25593. end;
  25594. procedure TUART4_UodMODE.setON(thebits : TBits_1); inline;
  25595. begin
  25596. if thebits = 0 then
  25597. pTDefRegMap(@Self)^.clr := $00008000
  25598. else
  25599. pTDefRegMap(@Self)^.&set := $00008000;
  25600. end;
  25601. function TUART4_UodMODE.getON : TBits_1; inline;
  25602. begin
  25603. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25604. end;
  25605. procedure TUART4_UodMODE.setPDSEL0; inline;
  25606. begin
  25607. pTDefRegMap(@Self)^.&set := $00000002;
  25608. end;
  25609. procedure TUART4_UodMODE.clearPDSEL0; inline;
  25610. begin
  25611. pTDefRegMap(@Self)^.clr := $00000002;
  25612. end;
  25613. procedure TUART4_UodMODE.setPDSEL0(thebits : TBits_1); inline;
  25614. begin
  25615. if thebits = 0 then
  25616. pTDefRegMap(@Self)^.clr := $00000002
  25617. else
  25618. pTDefRegMap(@Self)^.&set := $00000002;
  25619. end;
  25620. function TUART4_UodMODE.getPDSEL0 : TBits_1; inline;
  25621. begin
  25622. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25623. end;
  25624. procedure TUART4_UodMODE.setPDSEL1; inline;
  25625. begin
  25626. pTDefRegMap(@Self)^.&set := $00000004;
  25627. end;
  25628. procedure TUART4_UodMODE.clearPDSEL1; inline;
  25629. begin
  25630. pTDefRegMap(@Self)^.clr := $00000004;
  25631. end;
  25632. procedure TUART4_UodMODE.setPDSEL1(thebits : TBits_1); inline;
  25633. begin
  25634. if thebits = 0 then
  25635. pTDefRegMap(@Self)^.clr := $00000004
  25636. else
  25637. pTDefRegMap(@Self)^.&set := $00000004;
  25638. end;
  25639. function TUART4_UodMODE.getPDSEL1 : TBits_1; inline;
  25640. begin
  25641. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25642. end;
  25643. procedure TUART4_UodMODE.setUEN0; inline;
  25644. begin
  25645. pTDefRegMap(@Self)^.&set := $00000100;
  25646. end;
  25647. procedure TUART4_UodMODE.clearUEN0; inline;
  25648. begin
  25649. pTDefRegMap(@Self)^.clr := $00000100;
  25650. end;
  25651. procedure TUART4_UodMODE.setUEN0(thebits : TBits_1); inline;
  25652. begin
  25653. if thebits = 0 then
  25654. pTDefRegMap(@Self)^.clr := $00000100
  25655. else
  25656. pTDefRegMap(@Self)^.&set := $00000100;
  25657. end;
  25658. function TUART4_UodMODE.getUEN0 : TBits_1; inline;
  25659. begin
  25660. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25661. end;
  25662. procedure TUART4_UodMODE.setUEN1; inline;
  25663. begin
  25664. pTDefRegMap(@Self)^.&set := $00000200;
  25665. end;
  25666. procedure TUART4_UodMODE.clearUEN1; inline;
  25667. begin
  25668. pTDefRegMap(@Self)^.clr := $00000200;
  25669. end;
  25670. procedure TUART4_UodMODE.setUEN1(thebits : TBits_1); inline;
  25671. begin
  25672. if thebits = 0 then
  25673. pTDefRegMap(@Self)^.clr := $00000200
  25674. else
  25675. pTDefRegMap(@Self)^.&set := $00000200;
  25676. end;
  25677. function TUART4_UodMODE.getUEN1 : TBits_1; inline;
  25678. begin
  25679. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25680. end;
  25681. procedure TUART4_UodMODE.setUSIDL; inline;
  25682. begin
  25683. pTDefRegMap(@Self)^.&set := $00002000;
  25684. end;
  25685. procedure TUART4_UodMODE.clearUSIDL; inline;
  25686. begin
  25687. pTDefRegMap(@Self)^.clr := $00002000;
  25688. end;
  25689. procedure TUART4_UodMODE.setUSIDL(thebits : TBits_1); inline;
  25690. begin
  25691. if thebits = 0 then
  25692. pTDefRegMap(@Self)^.clr := $00002000
  25693. else
  25694. pTDefRegMap(@Self)^.&set := $00002000;
  25695. end;
  25696. function TUART4_UodMODE.getUSIDL : TBits_1; inline;
  25697. begin
  25698. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25699. end;
  25700. procedure TUART4_UodMODE.setUARTEN; inline;
  25701. begin
  25702. pTDefRegMap(@Self)^.&set := $00008000;
  25703. end;
  25704. procedure TUART4_UodMODE.clearUARTEN; inline;
  25705. begin
  25706. pTDefRegMap(@Self)^.clr := $00008000;
  25707. end;
  25708. procedure TUART4_UodMODE.setUARTEN(thebits : TBits_1); inline;
  25709. begin
  25710. if thebits = 0 then
  25711. pTDefRegMap(@Self)^.clr := $00008000
  25712. else
  25713. pTDefRegMap(@Self)^.&set := $00008000;
  25714. end;
  25715. function TUART4_UodMODE.getUARTEN : TBits_1; inline;
  25716. begin
  25717. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25718. end;
  25719. procedure TUART4_UodMODE.setw(thebits : TBits_32); inline;
  25720. begin
  25721. pTDefRegMap(@Self)^.val := thebits;
  25722. end;
  25723. function TUART4_UodMODE.getw : TBits_32; inline;
  25724. begin
  25725. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25726. end;
  25727. procedure TUART4_U4STA.setURXDA; inline;
  25728. begin
  25729. pTDefRegMap(@Self)^.&set := $00000001;
  25730. end;
  25731. procedure TUART4_U4STA.clearURXDA; inline;
  25732. begin
  25733. pTDefRegMap(@Self)^.clr := $00000001;
  25734. end;
  25735. procedure TUART4_U4STA.setURXDA(thebits : TBits_1); inline;
  25736. begin
  25737. if thebits = 0 then
  25738. pTDefRegMap(@Self)^.clr := $00000001
  25739. else
  25740. pTDefRegMap(@Self)^.&set := $00000001;
  25741. end;
  25742. function TUART4_U4STA.getURXDA : TBits_1; inline;
  25743. begin
  25744. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25745. end;
  25746. procedure TUART4_U4STA.setOERR; inline;
  25747. begin
  25748. pTDefRegMap(@Self)^.&set := $00000002;
  25749. end;
  25750. procedure TUART4_U4STA.clearOERR; inline;
  25751. begin
  25752. pTDefRegMap(@Self)^.clr := $00000002;
  25753. end;
  25754. procedure TUART4_U4STA.setOERR(thebits : TBits_1); inline;
  25755. begin
  25756. if thebits = 0 then
  25757. pTDefRegMap(@Self)^.clr := $00000002
  25758. else
  25759. pTDefRegMap(@Self)^.&set := $00000002;
  25760. end;
  25761. function TUART4_U4STA.getOERR : TBits_1; inline;
  25762. begin
  25763. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25764. end;
  25765. procedure TUART4_U4STA.setFERR; inline;
  25766. begin
  25767. pTDefRegMap(@Self)^.&set := $00000004;
  25768. end;
  25769. procedure TUART4_U4STA.clearFERR; inline;
  25770. begin
  25771. pTDefRegMap(@Self)^.clr := $00000004;
  25772. end;
  25773. procedure TUART4_U4STA.setFERR(thebits : TBits_1); inline;
  25774. begin
  25775. if thebits = 0 then
  25776. pTDefRegMap(@Self)^.clr := $00000004
  25777. else
  25778. pTDefRegMap(@Self)^.&set := $00000004;
  25779. end;
  25780. function TUART4_U4STA.getFERR : TBits_1; inline;
  25781. begin
  25782. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25783. end;
  25784. procedure TUART4_U4STA.setPERR; inline;
  25785. begin
  25786. pTDefRegMap(@Self)^.&set := $00000008;
  25787. end;
  25788. procedure TUART4_U4STA.clearPERR; inline;
  25789. begin
  25790. pTDefRegMap(@Self)^.clr := $00000008;
  25791. end;
  25792. procedure TUART4_U4STA.setPERR(thebits : TBits_1); inline;
  25793. begin
  25794. if thebits = 0 then
  25795. pTDefRegMap(@Self)^.clr := $00000008
  25796. else
  25797. pTDefRegMap(@Self)^.&set := $00000008;
  25798. end;
  25799. function TUART4_U4STA.getPERR : TBits_1; inline;
  25800. begin
  25801. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25802. end;
  25803. procedure TUART4_U4STA.setRIDLE; inline;
  25804. begin
  25805. pTDefRegMap(@Self)^.&set := $00000010;
  25806. end;
  25807. procedure TUART4_U4STA.clearRIDLE; inline;
  25808. begin
  25809. pTDefRegMap(@Self)^.clr := $00000010;
  25810. end;
  25811. procedure TUART4_U4STA.setRIDLE(thebits : TBits_1); inline;
  25812. begin
  25813. if thebits = 0 then
  25814. pTDefRegMap(@Self)^.clr := $00000010
  25815. else
  25816. pTDefRegMap(@Self)^.&set := $00000010;
  25817. end;
  25818. function TUART4_U4STA.getRIDLE : TBits_1; inline;
  25819. begin
  25820. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25821. end;
  25822. procedure TUART4_U4STA.setADDEN; inline;
  25823. begin
  25824. pTDefRegMap(@Self)^.&set := $00000020;
  25825. end;
  25826. procedure TUART4_U4STA.clearADDEN; inline;
  25827. begin
  25828. pTDefRegMap(@Self)^.clr := $00000020;
  25829. end;
  25830. procedure TUART4_U4STA.setADDEN(thebits : TBits_1); inline;
  25831. begin
  25832. if thebits = 0 then
  25833. pTDefRegMap(@Self)^.clr := $00000020
  25834. else
  25835. pTDefRegMap(@Self)^.&set := $00000020;
  25836. end;
  25837. function TUART4_U4STA.getADDEN : TBits_1; inline;
  25838. begin
  25839. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25840. end;
  25841. procedure TUART4_U4STA.setURXISEL(thebits : TBits_2); inline;
  25842. begin
  25843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  25844. end;
  25845. function TUART4_U4STA.getURXISEL : TBits_2; inline;
  25846. begin
  25847. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  25848. end;
  25849. procedure TUART4_U4STA.setTRMT; inline;
  25850. begin
  25851. pTDefRegMap(@Self)^.&set := $00000100;
  25852. end;
  25853. procedure TUART4_U4STA.clearTRMT; inline;
  25854. begin
  25855. pTDefRegMap(@Self)^.clr := $00000100;
  25856. end;
  25857. procedure TUART4_U4STA.setTRMT(thebits : TBits_1); inline;
  25858. begin
  25859. if thebits = 0 then
  25860. pTDefRegMap(@Self)^.clr := $00000100
  25861. else
  25862. pTDefRegMap(@Self)^.&set := $00000100;
  25863. end;
  25864. function TUART4_U4STA.getTRMT : TBits_1; inline;
  25865. begin
  25866. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25867. end;
  25868. procedure TUART4_U4STA.setUTXBF; inline;
  25869. begin
  25870. pTDefRegMap(@Self)^.&set := $00000200;
  25871. end;
  25872. procedure TUART4_U4STA.clearUTXBF; inline;
  25873. begin
  25874. pTDefRegMap(@Self)^.clr := $00000200;
  25875. end;
  25876. procedure TUART4_U4STA.setUTXBF(thebits : TBits_1); inline;
  25877. begin
  25878. if thebits = 0 then
  25879. pTDefRegMap(@Self)^.clr := $00000200
  25880. else
  25881. pTDefRegMap(@Self)^.&set := $00000200;
  25882. end;
  25883. function TUART4_U4STA.getUTXBF : TBits_1; inline;
  25884. begin
  25885. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25886. end;
  25887. procedure TUART4_U4STA.setUTXEN; inline;
  25888. begin
  25889. pTDefRegMap(@Self)^.&set := $00000400;
  25890. end;
  25891. procedure TUART4_U4STA.clearUTXEN; inline;
  25892. begin
  25893. pTDefRegMap(@Self)^.clr := $00000400;
  25894. end;
  25895. procedure TUART4_U4STA.setUTXEN(thebits : TBits_1); inline;
  25896. begin
  25897. if thebits = 0 then
  25898. pTDefRegMap(@Self)^.clr := $00000400
  25899. else
  25900. pTDefRegMap(@Self)^.&set := $00000400;
  25901. end;
  25902. function TUART4_U4STA.getUTXEN : TBits_1; inline;
  25903. begin
  25904. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25905. end;
  25906. procedure TUART4_U4STA.setUTXBRK; inline;
  25907. begin
  25908. pTDefRegMap(@Self)^.&set := $00000800;
  25909. end;
  25910. procedure TUART4_U4STA.clearUTXBRK; inline;
  25911. begin
  25912. pTDefRegMap(@Self)^.clr := $00000800;
  25913. end;
  25914. procedure TUART4_U4STA.setUTXBRK(thebits : TBits_1); inline;
  25915. begin
  25916. if thebits = 0 then
  25917. pTDefRegMap(@Self)^.clr := $00000800
  25918. else
  25919. pTDefRegMap(@Self)^.&set := $00000800;
  25920. end;
  25921. function TUART4_U4STA.getUTXBRK : TBits_1; inline;
  25922. begin
  25923. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25924. end;
  25925. procedure TUART4_U4STA.setURXEN; inline;
  25926. begin
  25927. pTDefRegMap(@Self)^.&set := $00001000;
  25928. end;
  25929. procedure TUART4_U4STA.clearURXEN; inline;
  25930. begin
  25931. pTDefRegMap(@Self)^.clr := $00001000;
  25932. end;
  25933. procedure TUART4_U4STA.setURXEN(thebits : TBits_1); inline;
  25934. begin
  25935. if thebits = 0 then
  25936. pTDefRegMap(@Self)^.clr := $00001000
  25937. else
  25938. pTDefRegMap(@Self)^.&set := $00001000;
  25939. end;
  25940. function TUART4_U4STA.getURXEN : TBits_1; inline;
  25941. begin
  25942. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25943. end;
  25944. procedure TUART4_U4STA.setUTXINV; inline;
  25945. begin
  25946. pTDefRegMap(@Self)^.&set := $00002000;
  25947. end;
  25948. procedure TUART4_U4STA.clearUTXINV; inline;
  25949. begin
  25950. pTDefRegMap(@Self)^.clr := $00002000;
  25951. end;
  25952. procedure TUART4_U4STA.setUTXINV(thebits : TBits_1); inline;
  25953. begin
  25954. if thebits = 0 then
  25955. pTDefRegMap(@Self)^.clr := $00002000
  25956. else
  25957. pTDefRegMap(@Self)^.&set := $00002000;
  25958. end;
  25959. function TUART4_U4STA.getUTXINV : TBits_1; inline;
  25960. begin
  25961. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25962. end;
  25963. procedure TUART4_U4STA.setUTXISEL(thebits : TBits_2); inline;
  25964. begin
  25965. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25966. end;
  25967. function TUART4_U4STA.getUTXISEL : TBits_2; inline;
  25968. begin
  25969. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25970. end;
  25971. procedure TUART4_U4STA.setADDR(thebits : TBits_8); inline;
  25972. begin
  25973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  25974. end;
  25975. function TUART4_U4STA.getADDR : TBits_8; inline;
  25976. begin
  25977. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  25978. end;
  25979. procedure TUART4_U4STA.setADM_EN; inline;
  25980. begin
  25981. pTDefRegMap(@Self)^.&set := $01000000;
  25982. end;
  25983. procedure TUART4_U4STA.clearADM_EN; inline;
  25984. begin
  25985. pTDefRegMap(@Self)^.clr := $01000000;
  25986. end;
  25987. procedure TUART4_U4STA.setADM_EN(thebits : TBits_1); inline;
  25988. begin
  25989. if thebits = 0 then
  25990. pTDefRegMap(@Self)^.clr := $01000000
  25991. else
  25992. pTDefRegMap(@Self)^.&set := $01000000;
  25993. end;
  25994. function TUART4_U4STA.getADM_EN : TBits_1; inline;
  25995. begin
  25996. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25997. end;
  25998. procedure TUART4_U4STA.setURXISEL0; inline;
  25999. begin
  26000. pTDefRegMap(@Self)^.&set := $00000040;
  26001. end;
  26002. procedure TUART4_U4STA.clearURXISEL0; inline;
  26003. begin
  26004. pTDefRegMap(@Self)^.clr := $00000040;
  26005. end;
  26006. procedure TUART4_U4STA.setURXISEL0(thebits : TBits_1); inline;
  26007. begin
  26008. if thebits = 0 then
  26009. pTDefRegMap(@Self)^.clr := $00000040
  26010. else
  26011. pTDefRegMap(@Self)^.&set := $00000040;
  26012. end;
  26013. function TUART4_U4STA.getURXISEL0 : TBits_1; inline;
  26014. begin
  26015. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26016. end;
  26017. procedure TUART4_U4STA.setURXISEL1; inline;
  26018. begin
  26019. pTDefRegMap(@Self)^.&set := $00000080;
  26020. end;
  26021. procedure TUART4_U4STA.clearURXISEL1; inline;
  26022. begin
  26023. pTDefRegMap(@Self)^.clr := $00000080;
  26024. end;
  26025. procedure TUART4_U4STA.setURXISEL1(thebits : TBits_1); inline;
  26026. begin
  26027. if thebits = 0 then
  26028. pTDefRegMap(@Self)^.clr := $00000080
  26029. else
  26030. pTDefRegMap(@Self)^.&set := $00000080;
  26031. end;
  26032. function TUART4_U4STA.getURXISEL1 : TBits_1; inline;
  26033. begin
  26034. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26035. end;
  26036. procedure TUART4_U4STA.setUTXISEL0; inline;
  26037. begin
  26038. pTDefRegMap(@Self)^.&set := $00004000;
  26039. end;
  26040. procedure TUART4_U4STA.clearUTXISEL0; inline;
  26041. begin
  26042. pTDefRegMap(@Self)^.clr := $00004000;
  26043. end;
  26044. procedure TUART4_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  26045. begin
  26046. if thebits = 0 then
  26047. pTDefRegMap(@Self)^.clr := $00004000
  26048. else
  26049. pTDefRegMap(@Self)^.&set := $00004000;
  26050. end;
  26051. function TUART4_U4STA.getUTXISEL0 : TBits_1; inline;
  26052. begin
  26053. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26054. end;
  26055. procedure TUART4_U4STA.setUTXISEL1; inline;
  26056. begin
  26057. pTDefRegMap(@Self)^.&set := $00008000;
  26058. end;
  26059. procedure TUART4_U4STA.clearUTXISEL1; inline;
  26060. begin
  26061. pTDefRegMap(@Self)^.clr := $00008000;
  26062. end;
  26063. procedure TUART4_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  26064. begin
  26065. if thebits = 0 then
  26066. pTDefRegMap(@Self)^.clr := $00008000
  26067. else
  26068. pTDefRegMap(@Self)^.&set := $00008000;
  26069. end;
  26070. function TUART4_U4STA.getUTXISEL1 : TBits_1; inline;
  26071. begin
  26072. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26073. end;
  26074. procedure TUART4_U4STA.setUTXSEL(thebits : TBits_2); inline;
  26075. begin
  26076. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26077. end;
  26078. function TUART4_U4STA.getUTXSEL : TBits_2; inline;
  26079. begin
  26080. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26081. end;
  26082. procedure TUART4_U4STA.setw(thebits : TBits_32); inline;
  26083. begin
  26084. pTDefRegMap(@Self)^.val := thebits;
  26085. end;
  26086. function TUART4_U4STA.getw : TBits_32; inline;
  26087. begin
  26088. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26089. end;
  26090. procedure TUART4_UodSTA.setURXDA; inline;
  26091. begin
  26092. pTDefRegMap(@Self)^.&set := $00000001;
  26093. end;
  26094. procedure TUART4_UodSTA.clearURXDA; inline;
  26095. begin
  26096. pTDefRegMap(@Self)^.clr := $00000001;
  26097. end;
  26098. procedure TUART4_UodSTA.setURXDA(thebits : TBits_1); inline;
  26099. begin
  26100. if thebits = 0 then
  26101. pTDefRegMap(@Self)^.clr := $00000001
  26102. else
  26103. pTDefRegMap(@Self)^.&set := $00000001;
  26104. end;
  26105. function TUART4_UodSTA.getURXDA : TBits_1; inline;
  26106. begin
  26107. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26108. end;
  26109. procedure TUART4_UodSTA.setOERR; inline;
  26110. begin
  26111. pTDefRegMap(@Self)^.&set := $00000002;
  26112. end;
  26113. procedure TUART4_UodSTA.clearOERR; inline;
  26114. begin
  26115. pTDefRegMap(@Self)^.clr := $00000002;
  26116. end;
  26117. procedure TUART4_UodSTA.setOERR(thebits : TBits_1); inline;
  26118. begin
  26119. if thebits = 0 then
  26120. pTDefRegMap(@Self)^.clr := $00000002
  26121. else
  26122. pTDefRegMap(@Self)^.&set := $00000002;
  26123. end;
  26124. function TUART4_UodSTA.getOERR : TBits_1; inline;
  26125. begin
  26126. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26127. end;
  26128. procedure TUART4_UodSTA.setFERR; inline;
  26129. begin
  26130. pTDefRegMap(@Self)^.&set := $00000004;
  26131. end;
  26132. procedure TUART4_UodSTA.clearFERR; inline;
  26133. begin
  26134. pTDefRegMap(@Self)^.clr := $00000004;
  26135. end;
  26136. procedure TUART4_UodSTA.setFERR(thebits : TBits_1); inline;
  26137. begin
  26138. if thebits = 0 then
  26139. pTDefRegMap(@Self)^.clr := $00000004
  26140. else
  26141. pTDefRegMap(@Self)^.&set := $00000004;
  26142. end;
  26143. function TUART4_UodSTA.getFERR : TBits_1; inline;
  26144. begin
  26145. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26146. end;
  26147. procedure TUART4_UodSTA.setPERR; inline;
  26148. begin
  26149. pTDefRegMap(@Self)^.&set := $00000008;
  26150. end;
  26151. procedure TUART4_UodSTA.clearPERR; inline;
  26152. begin
  26153. pTDefRegMap(@Self)^.clr := $00000008;
  26154. end;
  26155. procedure TUART4_UodSTA.setPERR(thebits : TBits_1); inline;
  26156. begin
  26157. if thebits = 0 then
  26158. pTDefRegMap(@Self)^.clr := $00000008
  26159. else
  26160. pTDefRegMap(@Self)^.&set := $00000008;
  26161. end;
  26162. function TUART4_UodSTA.getPERR : TBits_1; inline;
  26163. begin
  26164. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26165. end;
  26166. procedure TUART4_UodSTA.setRIDLE; inline;
  26167. begin
  26168. pTDefRegMap(@Self)^.&set := $00000010;
  26169. end;
  26170. procedure TUART4_UodSTA.clearRIDLE; inline;
  26171. begin
  26172. pTDefRegMap(@Self)^.clr := $00000010;
  26173. end;
  26174. procedure TUART4_UodSTA.setRIDLE(thebits : TBits_1); inline;
  26175. begin
  26176. if thebits = 0 then
  26177. pTDefRegMap(@Self)^.clr := $00000010
  26178. else
  26179. pTDefRegMap(@Self)^.&set := $00000010;
  26180. end;
  26181. function TUART4_UodSTA.getRIDLE : TBits_1; inline;
  26182. begin
  26183. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26184. end;
  26185. procedure TUART4_UodSTA.setADDEN; inline;
  26186. begin
  26187. pTDefRegMap(@Self)^.&set := $00000020;
  26188. end;
  26189. procedure TUART4_UodSTA.clearADDEN; inline;
  26190. begin
  26191. pTDefRegMap(@Self)^.clr := $00000020;
  26192. end;
  26193. procedure TUART4_UodSTA.setADDEN(thebits : TBits_1); inline;
  26194. begin
  26195. if thebits = 0 then
  26196. pTDefRegMap(@Self)^.clr := $00000020
  26197. else
  26198. pTDefRegMap(@Self)^.&set := $00000020;
  26199. end;
  26200. function TUART4_UodSTA.getADDEN : TBits_1; inline;
  26201. begin
  26202. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26203. end;
  26204. procedure TUART4_UodSTA.setURXISEL(thebits : TBits_2); inline;
  26205. begin
  26206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  26207. end;
  26208. function TUART4_UodSTA.getURXISEL : TBits_2; inline;
  26209. begin
  26210. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  26211. end;
  26212. procedure TUART4_UodSTA.setTRMT; inline;
  26213. begin
  26214. pTDefRegMap(@Self)^.&set := $00000100;
  26215. end;
  26216. procedure TUART4_UodSTA.clearTRMT; inline;
  26217. begin
  26218. pTDefRegMap(@Self)^.clr := $00000100;
  26219. end;
  26220. procedure TUART4_UodSTA.setTRMT(thebits : TBits_1); inline;
  26221. begin
  26222. if thebits = 0 then
  26223. pTDefRegMap(@Self)^.clr := $00000100
  26224. else
  26225. pTDefRegMap(@Self)^.&set := $00000100;
  26226. end;
  26227. function TUART4_UodSTA.getTRMT : TBits_1; inline;
  26228. begin
  26229. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26230. end;
  26231. procedure TUART4_UodSTA.setUTXBF; inline;
  26232. begin
  26233. pTDefRegMap(@Self)^.&set := $00000200;
  26234. end;
  26235. procedure TUART4_UodSTA.clearUTXBF; inline;
  26236. begin
  26237. pTDefRegMap(@Self)^.clr := $00000200;
  26238. end;
  26239. procedure TUART4_UodSTA.setUTXBF(thebits : TBits_1); inline;
  26240. begin
  26241. if thebits = 0 then
  26242. pTDefRegMap(@Self)^.clr := $00000200
  26243. else
  26244. pTDefRegMap(@Self)^.&set := $00000200;
  26245. end;
  26246. function TUART4_UodSTA.getUTXBF : TBits_1; inline;
  26247. begin
  26248. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26249. end;
  26250. procedure TUART4_UodSTA.setUTXEN; inline;
  26251. begin
  26252. pTDefRegMap(@Self)^.&set := $00000400;
  26253. end;
  26254. procedure TUART4_UodSTA.clearUTXEN; inline;
  26255. begin
  26256. pTDefRegMap(@Self)^.clr := $00000400;
  26257. end;
  26258. procedure TUART4_UodSTA.setUTXEN(thebits : TBits_1); inline;
  26259. begin
  26260. if thebits = 0 then
  26261. pTDefRegMap(@Self)^.clr := $00000400
  26262. else
  26263. pTDefRegMap(@Self)^.&set := $00000400;
  26264. end;
  26265. function TUART4_UodSTA.getUTXEN : TBits_1; inline;
  26266. begin
  26267. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26268. end;
  26269. procedure TUART4_UodSTA.setUTXBRK; inline;
  26270. begin
  26271. pTDefRegMap(@Self)^.&set := $00000800;
  26272. end;
  26273. procedure TUART4_UodSTA.clearUTXBRK; inline;
  26274. begin
  26275. pTDefRegMap(@Self)^.clr := $00000800;
  26276. end;
  26277. procedure TUART4_UodSTA.setUTXBRK(thebits : TBits_1); inline;
  26278. begin
  26279. if thebits = 0 then
  26280. pTDefRegMap(@Self)^.clr := $00000800
  26281. else
  26282. pTDefRegMap(@Self)^.&set := $00000800;
  26283. end;
  26284. function TUART4_UodSTA.getUTXBRK : TBits_1; inline;
  26285. begin
  26286. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26287. end;
  26288. procedure TUART4_UodSTA.setURXEN; inline;
  26289. begin
  26290. pTDefRegMap(@Self)^.&set := $00001000;
  26291. end;
  26292. procedure TUART4_UodSTA.clearURXEN; inline;
  26293. begin
  26294. pTDefRegMap(@Self)^.clr := $00001000;
  26295. end;
  26296. procedure TUART4_UodSTA.setURXEN(thebits : TBits_1); inline;
  26297. begin
  26298. if thebits = 0 then
  26299. pTDefRegMap(@Self)^.clr := $00001000
  26300. else
  26301. pTDefRegMap(@Self)^.&set := $00001000;
  26302. end;
  26303. function TUART4_UodSTA.getURXEN : TBits_1; inline;
  26304. begin
  26305. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26306. end;
  26307. procedure TUART4_UodSTA.setUTXINV; inline;
  26308. begin
  26309. pTDefRegMap(@Self)^.&set := $00002000;
  26310. end;
  26311. procedure TUART4_UodSTA.clearUTXINV; inline;
  26312. begin
  26313. pTDefRegMap(@Self)^.clr := $00002000;
  26314. end;
  26315. procedure TUART4_UodSTA.setUTXINV(thebits : TBits_1); inline;
  26316. begin
  26317. if thebits = 0 then
  26318. pTDefRegMap(@Self)^.clr := $00002000
  26319. else
  26320. pTDefRegMap(@Self)^.&set := $00002000;
  26321. end;
  26322. function TUART4_UodSTA.getUTXINV : TBits_1; inline;
  26323. begin
  26324. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26325. end;
  26326. procedure TUART4_UodSTA.setUTXISEL(thebits : TBits_2); inline;
  26327. begin
  26328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26329. end;
  26330. function TUART4_UodSTA.getUTXISEL : TBits_2; inline;
  26331. begin
  26332. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26333. end;
  26334. procedure TUART4_UodSTA.setADDR(thebits : TBits_8); inline;
  26335. begin
  26336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  26337. end;
  26338. function TUART4_UodSTA.getADDR : TBits_8; inline;
  26339. begin
  26340. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  26341. end;
  26342. procedure TUART4_UodSTA.setADM_EN; inline;
  26343. begin
  26344. pTDefRegMap(@Self)^.&set := $01000000;
  26345. end;
  26346. procedure TUART4_UodSTA.clearADM_EN; inline;
  26347. begin
  26348. pTDefRegMap(@Self)^.clr := $01000000;
  26349. end;
  26350. procedure TUART4_UodSTA.setADM_EN(thebits : TBits_1); inline;
  26351. begin
  26352. if thebits = 0 then
  26353. pTDefRegMap(@Self)^.clr := $01000000
  26354. else
  26355. pTDefRegMap(@Self)^.&set := $01000000;
  26356. end;
  26357. function TUART4_UodSTA.getADM_EN : TBits_1; inline;
  26358. begin
  26359. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26360. end;
  26361. procedure TUART4_UodSTA.setURXISEL0; inline;
  26362. begin
  26363. pTDefRegMap(@Self)^.&set := $00000040;
  26364. end;
  26365. procedure TUART4_UodSTA.clearURXISEL0; inline;
  26366. begin
  26367. pTDefRegMap(@Self)^.clr := $00000040;
  26368. end;
  26369. procedure TUART4_UodSTA.setURXISEL0(thebits : TBits_1); inline;
  26370. begin
  26371. if thebits = 0 then
  26372. pTDefRegMap(@Self)^.clr := $00000040
  26373. else
  26374. pTDefRegMap(@Self)^.&set := $00000040;
  26375. end;
  26376. function TUART4_UodSTA.getURXISEL0 : TBits_1; inline;
  26377. begin
  26378. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26379. end;
  26380. procedure TUART4_UodSTA.setURXISEL1; inline;
  26381. begin
  26382. pTDefRegMap(@Self)^.&set := $00000080;
  26383. end;
  26384. procedure TUART4_UodSTA.clearURXISEL1; inline;
  26385. begin
  26386. pTDefRegMap(@Self)^.clr := $00000080;
  26387. end;
  26388. procedure TUART4_UodSTA.setURXISEL1(thebits : TBits_1); inline;
  26389. begin
  26390. if thebits = 0 then
  26391. pTDefRegMap(@Self)^.clr := $00000080
  26392. else
  26393. pTDefRegMap(@Self)^.&set := $00000080;
  26394. end;
  26395. function TUART4_UodSTA.getURXISEL1 : TBits_1; inline;
  26396. begin
  26397. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26398. end;
  26399. procedure TUART4_UodSTA.setUTXISEL0; inline;
  26400. begin
  26401. pTDefRegMap(@Self)^.&set := $00004000;
  26402. end;
  26403. procedure TUART4_UodSTA.clearUTXISEL0; inline;
  26404. begin
  26405. pTDefRegMap(@Self)^.clr := $00004000;
  26406. end;
  26407. procedure TUART4_UodSTA.setUTXISEL0(thebits : TBits_1); inline;
  26408. begin
  26409. if thebits = 0 then
  26410. pTDefRegMap(@Self)^.clr := $00004000
  26411. else
  26412. pTDefRegMap(@Self)^.&set := $00004000;
  26413. end;
  26414. function TUART4_UodSTA.getUTXISEL0 : TBits_1; inline;
  26415. begin
  26416. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26417. end;
  26418. procedure TUART4_UodSTA.setUTXISEL1; inline;
  26419. begin
  26420. pTDefRegMap(@Self)^.&set := $00008000;
  26421. end;
  26422. procedure TUART4_UodSTA.clearUTXISEL1; inline;
  26423. begin
  26424. pTDefRegMap(@Self)^.clr := $00008000;
  26425. end;
  26426. procedure TUART4_UodSTA.setUTXISEL1(thebits : TBits_1); inline;
  26427. begin
  26428. if thebits = 0 then
  26429. pTDefRegMap(@Self)^.clr := $00008000
  26430. else
  26431. pTDefRegMap(@Self)^.&set := $00008000;
  26432. end;
  26433. function TUART4_UodSTA.getUTXISEL1 : TBits_1; inline;
  26434. begin
  26435. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26436. end;
  26437. procedure TUART4_UodSTA.setUTXSEL(thebits : TBits_2); inline;
  26438. begin
  26439. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26440. end;
  26441. function TUART4_UodSTA.getUTXSEL : TBits_2; inline;
  26442. begin
  26443. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26444. end;
  26445. procedure TUART4_UodSTA.setw(thebits : TBits_32); inline;
  26446. begin
  26447. pTDefRegMap(@Self)^.val := thebits;
  26448. end;
  26449. function TUART4_UodSTA.getw : TBits_32; inline;
  26450. begin
  26451. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26452. end;
  26453. procedure TPMP_PMCON.setRDSP; inline;
  26454. begin
  26455. pTDefRegMap(@Self)^.&set := $00000001;
  26456. end;
  26457. procedure TPMP_PMCON.clearRDSP; inline;
  26458. begin
  26459. pTDefRegMap(@Self)^.clr := $00000001;
  26460. end;
  26461. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  26462. begin
  26463. if thebits = 0 then
  26464. pTDefRegMap(@Self)^.clr := $00000001
  26465. else
  26466. pTDefRegMap(@Self)^.&set := $00000001;
  26467. end;
  26468. function TPMP_PMCON.getRDSP : TBits_1; inline;
  26469. begin
  26470. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26471. end;
  26472. procedure TPMP_PMCON.setWRSP; inline;
  26473. begin
  26474. pTDefRegMap(@Self)^.&set := $00000002;
  26475. end;
  26476. procedure TPMP_PMCON.clearWRSP; inline;
  26477. begin
  26478. pTDefRegMap(@Self)^.clr := $00000002;
  26479. end;
  26480. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  26481. begin
  26482. if thebits = 0 then
  26483. pTDefRegMap(@Self)^.clr := $00000002
  26484. else
  26485. pTDefRegMap(@Self)^.&set := $00000002;
  26486. end;
  26487. function TPMP_PMCON.getWRSP : TBits_1; inline;
  26488. begin
  26489. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26490. end;
  26491. procedure TPMP_PMCON.setCS1P; inline;
  26492. begin
  26493. pTDefRegMap(@Self)^.&set := $00000008;
  26494. end;
  26495. procedure TPMP_PMCON.clearCS1P; inline;
  26496. begin
  26497. pTDefRegMap(@Self)^.clr := $00000008;
  26498. end;
  26499. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  26500. begin
  26501. if thebits = 0 then
  26502. pTDefRegMap(@Self)^.clr := $00000008
  26503. else
  26504. pTDefRegMap(@Self)^.&set := $00000008;
  26505. end;
  26506. function TPMP_PMCON.getCS1P : TBits_1; inline;
  26507. begin
  26508. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26509. end;
  26510. procedure TPMP_PMCON.setCS2P; inline;
  26511. begin
  26512. pTDefRegMap(@Self)^.&set := $00000010;
  26513. end;
  26514. procedure TPMP_PMCON.clearCS2P; inline;
  26515. begin
  26516. pTDefRegMap(@Self)^.clr := $00000010;
  26517. end;
  26518. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  26519. begin
  26520. if thebits = 0 then
  26521. pTDefRegMap(@Self)^.clr := $00000010
  26522. else
  26523. pTDefRegMap(@Self)^.&set := $00000010;
  26524. end;
  26525. function TPMP_PMCON.getCS2P : TBits_1; inline;
  26526. begin
  26527. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26528. end;
  26529. procedure TPMP_PMCON.setALP; inline;
  26530. begin
  26531. pTDefRegMap(@Self)^.&set := $00000020;
  26532. end;
  26533. procedure TPMP_PMCON.clearALP; inline;
  26534. begin
  26535. pTDefRegMap(@Self)^.clr := $00000020;
  26536. end;
  26537. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  26538. begin
  26539. if thebits = 0 then
  26540. pTDefRegMap(@Self)^.clr := $00000020
  26541. else
  26542. pTDefRegMap(@Self)^.&set := $00000020;
  26543. end;
  26544. function TPMP_PMCON.getALP : TBits_1; inline;
  26545. begin
  26546. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26547. end;
  26548. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  26549. begin
  26550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  26551. end;
  26552. function TPMP_PMCON.getCSF : TBits_2; inline;
  26553. begin
  26554. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  26555. end;
  26556. procedure TPMP_PMCON.setPTRDEN; inline;
  26557. begin
  26558. pTDefRegMap(@Self)^.&set := $00000100;
  26559. end;
  26560. procedure TPMP_PMCON.clearPTRDEN; inline;
  26561. begin
  26562. pTDefRegMap(@Self)^.clr := $00000100;
  26563. end;
  26564. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  26565. begin
  26566. if thebits = 0 then
  26567. pTDefRegMap(@Self)^.clr := $00000100
  26568. else
  26569. pTDefRegMap(@Self)^.&set := $00000100;
  26570. end;
  26571. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  26572. begin
  26573. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26574. end;
  26575. procedure TPMP_PMCON.setPTWREN; inline;
  26576. begin
  26577. pTDefRegMap(@Self)^.&set := $00000200;
  26578. end;
  26579. procedure TPMP_PMCON.clearPTWREN; inline;
  26580. begin
  26581. pTDefRegMap(@Self)^.clr := $00000200;
  26582. end;
  26583. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  26584. begin
  26585. if thebits = 0 then
  26586. pTDefRegMap(@Self)^.clr := $00000200
  26587. else
  26588. pTDefRegMap(@Self)^.&set := $00000200;
  26589. end;
  26590. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  26591. begin
  26592. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26593. end;
  26594. procedure TPMP_PMCON.setPMPTTL; inline;
  26595. begin
  26596. pTDefRegMap(@Self)^.&set := $00000400;
  26597. end;
  26598. procedure TPMP_PMCON.clearPMPTTL; inline;
  26599. begin
  26600. pTDefRegMap(@Self)^.clr := $00000400;
  26601. end;
  26602. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  26603. begin
  26604. if thebits = 0 then
  26605. pTDefRegMap(@Self)^.clr := $00000400
  26606. else
  26607. pTDefRegMap(@Self)^.&set := $00000400;
  26608. end;
  26609. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  26610. begin
  26611. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26612. end;
  26613. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  26614. begin
  26615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  26616. end;
  26617. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  26618. begin
  26619. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  26620. end;
  26621. procedure TPMP_PMCON.setSIDL; inline;
  26622. begin
  26623. pTDefRegMap(@Self)^.&set := $00002000;
  26624. end;
  26625. procedure TPMP_PMCON.clearSIDL; inline;
  26626. begin
  26627. pTDefRegMap(@Self)^.clr := $00002000;
  26628. end;
  26629. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  26630. begin
  26631. if thebits = 0 then
  26632. pTDefRegMap(@Self)^.clr := $00002000
  26633. else
  26634. pTDefRegMap(@Self)^.&set := $00002000;
  26635. end;
  26636. function TPMP_PMCON.getSIDL : TBits_1; inline;
  26637. begin
  26638. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26639. end;
  26640. procedure TPMP_PMCON.setON; inline;
  26641. begin
  26642. pTDefRegMap(@Self)^.&set := $00008000;
  26643. end;
  26644. procedure TPMP_PMCON.clearON; inline;
  26645. begin
  26646. pTDefRegMap(@Self)^.clr := $00008000;
  26647. end;
  26648. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  26649. begin
  26650. if thebits = 0 then
  26651. pTDefRegMap(@Self)^.clr := $00008000
  26652. else
  26653. pTDefRegMap(@Self)^.&set := $00008000;
  26654. end;
  26655. function TPMP_PMCON.getON : TBits_1; inline;
  26656. begin
  26657. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26658. end;
  26659. procedure TPMP_PMCON.setCSF0; inline;
  26660. begin
  26661. pTDefRegMap(@Self)^.&set := $00000040;
  26662. end;
  26663. procedure TPMP_PMCON.clearCSF0; inline;
  26664. begin
  26665. pTDefRegMap(@Self)^.clr := $00000040;
  26666. end;
  26667. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  26668. begin
  26669. if thebits = 0 then
  26670. pTDefRegMap(@Self)^.clr := $00000040
  26671. else
  26672. pTDefRegMap(@Self)^.&set := $00000040;
  26673. end;
  26674. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  26675. begin
  26676. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26677. end;
  26678. procedure TPMP_PMCON.setCSF1; inline;
  26679. begin
  26680. pTDefRegMap(@Self)^.&set := $00000080;
  26681. end;
  26682. procedure TPMP_PMCON.clearCSF1; inline;
  26683. begin
  26684. pTDefRegMap(@Self)^.clr := $00000080;
  26685. end;
  26686. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  26687. begin
  26688. if thebits = 0 then
  26689. pTDefRegMap(@Self)^.clr := $00000080
  26690. else
  26691. pTDefRegMap(@Self)^.&set := $00000080;
  26692. end;
  26693. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  26694. begin
  26695. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26696. end;
  26697. procedure TPMP_PMCON.setADRMUX0; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.&set := $00000800;
  26700. end;
  26701. procedure TPMP_PMCON.clearADRMUX0; inline;
  26702. begin
  26703. pTDefRegMap(@Self)^.clr := $00000800;
  26704. end;
  26705. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  26706. begin
  26707. if thebits = 0 then
  26708. pTDefRegMap(@Self)^.clr := $00000800
  26709. else
  26710. pTDefRegMap(@Self)^.&set := $00000800;
  26711. end;
  26712. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  26713. begin
  26714. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26715. end;
  26716. procedure TPMP_PMCON.setADRMUX1; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.&set := $00001000;
  26719. end;
  26720. procedure TPMP_PMCON.clearADRMUX1; inline;
  26721. begin
  26722. pTDefRegMap(@Self)^.clr := $00001000;
  26723. end;
  26724. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  26725. begin
  26726. if thebits = 0 then
  26727. pTDefRegMap(@Self)^.clr := $00001000
  26728. else
  26729. pTDefRegMap(@Self)^.&set := $00001000;
  26730. end;
  26731. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  26732. begin
  26733. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26734. end;
  26735. procedure TPMP_PMCON.setPSIDL; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.&set := $00002000;
  26738. end;
  26739. procedure TPMP_PMCON.clearPSIDL; inline;
  26740. begin
  26741. pTDefRegMap(@Self)^.clr := $00002000;
  26742. end;
  26743. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  26744. begin
  26745. if thebits = 0 then
  26746. pTDefRegMap(@Self)^.clr := $00002000
  26747. else
  26748. pTDefRegMap(@Self)^.&set := $00002000;
  26749. end;
  26750. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  26751. begin
  26752. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26753. end;
  26754. procedure TPMP_PMCON.setPMPEN; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.&set := $00008000;
  26757. end;
  26758. procedure TPMP_PMCON.clearPMPEN; inline;
  26759. begin
  26760. pTDefRegMap(@Self)^.clr := $00008000;
  26761. end;
  26762. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  26763. begin
  26764. if thebits = 0 then
  26765. pTDefRegMap(@Self)^.clr := $00008000
  26766. else
  26767. pTDefRegMap(@Self)^.&set := $00008000;
  26768. end;
  26769. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  26770. begin
  26771. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26772. end;
  26773. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.val := thebits;
  26776. end;
  26777. function TPMP_PMCON.getw : TBits_32; inline;
  26778. begin
  26779. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26780. end;
  26781. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  26782. begin
  26783. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26784. end;
  26785. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  26786. begin
  26787. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26788. end;
  26789. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  26790. begin
  26791. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  26792. end;
  26793. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  26794. begin
  26795. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  26796. end;
  26797. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  26798. begin
  26799. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  26800. end;
  26801. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  26802. begin
  26803. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  26804. end;
  26805. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  26806. begin
  26807. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  26808. end;
  26809. function TPMP_PMMODE.getMODE : TBits_2; inline;
  26810. begin
  26811. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  26812. end;
  26813. procedure TPMP_PMMODE.setMODE16; inline;
  26814. begin
  26815. pTDefRegMap(@Self)^.&set := $00000400;
  26816. end;
  26817. procedure TPMP_PMMODE.clearMODE16; inline;
  26818. begin
  26819. pTDefRegMap(@Self)^.clr := $00000400;
  26820. end;
  26821. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  26822. begin
  26823. if thebits = 0 then
  26824. pTDefRegMap(@Self)^.clr := $00000400
  26825. else
  26826. pTDefRegMap(@Self)^.&set := $00000400;
  26827. end;
  26828. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  26829. begin
  26830. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26831. end;
  26832. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  26833. begin
  26834. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  26835. end;
  26836. function TPMP_PMMODE.getINCM : TBits_2; inline;
  26837. begin
  26838. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  26839. end;
  26840. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  26841. begin
  26842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  26843. end;
  26844. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  26845. begin
  26846. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  26847. end;
  26848. procedure TPMP_PMMODE.setBUSY; inline;
  26849. begin
  26850. pTDefRegMap(@Self)^.&set := $00008000;
  26851. end;
  26852. procedure TPMP_PMMODE.clearBUSY; inline;
  26853. begin
  26854. pTDefRegMap(@Self)^.clr := $00008000;
  26855. end;
  26856. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  26857. begin
  26858. if thebits = 0 then
  26859. pTDefRegMap(@Self)^.clr := $00008000
  26860. else
  26861. pTDefRegMap(@Self)^.&set := $00008000;
  26862. end;
  26863. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  26864. begin
  26865. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26866. end;
  26867. procedure TPMP_PMMODE.setWAITE0; inline;
  26868. begin
  26869. pTDefRegMap(@Self)^.&set := $00000001;
  26870. end;
  26871. procedure TPMP_PMMODE.clearWAITE0; inline;
  26872. begin
  26873. pTDefRegMap(@Self)^.clr := $00000001;
  26874. end;
  26875. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  26876. begin
  26877. if thebits = 0 then
  26878. pTDefRegMap(@Self)^.clr := $00000001
  26879. else
  26880. pTDefRegMap(@Self)^.&set := $00000001;
  26881. end;
  26882. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  26883. begin
  26884. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26885. end;
  26886. procedure TPMP_PMMODE.setWAITE1; inline;
  26887. begin
  26888. pTDefRegMap(@Self)^.&set := $00000002;
  26889. end;
  26890. procedure TPMP_PMMODE.clearWAITE1; inline;
  26891. begin
  26892. pTDefRegMap(@Self)^.clr := $00000002;
  26893. end;
  26894. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  26895. begin
  26896. if thebits = 0 then
  26897. pTDefRegMap(@Self)^.clr := $00000002
  26898. else
  26899. pTDefRegMap(@Self)^.&set := $00000002;
  26900. end;
  26901. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  26902. begin
  26903. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26904. end;
  26905. procedure TPMP_PMMODE.setWAITM0; inline;
  26906. begin
  26907. pTDefRegMap(@Self)^.&set := $00000004;
  26908. end;
  26909. procedure TPMP_PMMODE.clearWAITM0; inline;
  26910. begin
  26911. pTDefRegMap(@Self)^.clr := $00000004;
  26912. end;
  26913. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  26914. begin
  26915. if thebits = 0 then
  26916. pTDefRegMap(@Self)^.clr := $00000004
  26917. else
  26918. pTDefRegMap(@Self)^.&set := $00000004;
  26919. end;
  26920. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  26921. begin
  26922. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26923. end;
  26924. procedure TPMP_PMMODE.setWAITM1; inline;
  26925. begin
  26926. pTDefRegMap(@Self)^.&set := $00000008;
  26927. end;
  26928. procedure TPMP_PMMODE.clearWAITM1; inline;
  26929. begin
  26930. pTDefRegMap(@Self)^.clr := $00000008;
  26931. end;
  26932. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  26933. begin
  26934. if thebits = 0 then
  26935. pTDefRegMap(@Self)^.clr := $00000008
  26936. else
  26937. pTDefRegMap(@Self)^.&set := $00000008;
  26938. end;
  26939. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  26940. begin
  26941. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26942. end;
  26943. procedure TPMP_PMMODE.setWAITM2; inline;
  26944. begin
  26945. pTDefRegMap(@Self)^.&set := $00000010;
  26946. end;
  26947. procedure TPMP_PMMODE.clearWAITM2; inline;
  26948. begin
  26949. pTDefRegMap(@Self)^.clr := $00000010;
  26950. end;
  26951. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  26952. begin
  26953. if thebits = 0 then
  26954. pTDefRegMap(@Self)^.clr := $00000010
  26955. else
  26956. pTDefRegMap(@Self)^.&set := $00000010;
  26957. end;
  26958. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  26959. begin
  26960. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26961. end;
  26962. procedure TPMP_PMMODE.setWAITM3; inline;
  26963. begin
  26964. pTDefRegMap(@Self)^.&set := $00000020;
  26965. end;
  26966. procedure TPMP_PMMODE.clearWAITM3; inline;
  26967. begin
  26968. pTDefRegMap(@Self)^.clr := $00000020;
  26969. end;
  26970. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  26971. begin
  26972. if thebits = 0 then
  26973. pTDefRegMap(@Self)^.clr := $00000020
  26974. else
  26975. pTDefRegMap(@Self)^.&set := $00000020;
  26976. end;
  26977. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  26978. begin
  26979. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26980. end;
  26981. procedure TPMP_PMMODE.setWAITB0; inline;
  26982. begin
  26983. pTDefRegMap(@Self)^.&set := $00000040;
  26984. end;
  26985. procedure TPMP_PMMODE.clearWAITB0; inline;
  26986. begin
  26987. pTDefRegMap(@Self)^.clr := $00000040;
  26988. end;
  26989. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  26990. begin
  26991. if thebits = 0 then
  26992. pTDefRegMap(@Self)^.clr := $00000040
  26993. else
  26994. pTDefRegMap(@Self)^.&set := $00000040;
  26995. end;
  26996. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  26997. begin
  26998. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26999. end;
  27000. procedure TPMP_PMMODE.setWAITB1; inline;
  27001. begin
  27002. pTDefRegMap(@Self)^.&set := $00000080;
  27003. end;
  27004. procedure TPMP_PMMODE.clearWAITB1; inline;
  27005. begin
  27006. pTDefRegMap(@Self)^.clr := $00000080;
  27007. end;
  27008. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  27009. begin
  27010. if thebits = 0 then
  27011. pTDefRegMap(@Self)^.clr := $00000080
  27012. else
  27013. pTDefRegMap(@Self)^.&set := $00000080;
  27014. end;
  27015. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  27016. begin
  27017. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27018. end;
  27019. procedure TPMP_PMMODE.setMODE0; inline;
  27020. begin
  27021. pTDefRegMap(@Self)^.&set := $00000100;
  27022. end;
  27023. procedure TPMP_PMMODE.clearMODE0; inline;
  27024. begin
  27025. pTDefRegMap(@Self)^.clr := $00000100;
  27026. end;
  27027. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  27028. begin
  27029. if thebits = 0 then
  27030. pTDefRegMap(@Self)^.clr := $00000100
  27031. else
  27032. pTDefRegMap(@Self)^.&set := $00000100;
  27033. end;
  27034. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  27035. begin
  27036. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27037. end;
  27038. procedure TPMP_PMMODE.setMODE1; inline;
  27039. begin
  27040. pTDefRegMap(@Self)^.&set := $00000200;
  27041. end;
  27042. procedure TPMP_PMMODE.clearMODE1; inline;
  27043. begin
  27044. pTDefRegMap(@Self)^.clr := $00000200;
  27045. end;
  27046. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  27047. begin
  27048. if thebits = 0 then
  27049. pTDefRegMap(@Self)^.clr := $00000200
  27050. else
  27051. pTDefRegMap(@Self)^.&set := $00000200;
  27052. end;
  27053. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  27054. begin
  27055. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27056. end;
  27057. procedure TPMP_PMMODE.setINCM0; inline;
  27058. begin
  27059. pTDefRegMap(@Self)^.&set := $00000800;
  27060. end;
  27061. procedure TPMP_PMMODE.clearINCM0; inline;
  27062. begin
  27063. pTDefRegMap(@Self)^.clr := $00000800;
  27064. end;
  27065. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  27066. begin
  27067. if thebits = 0 then
  27068. pTDefRegMap(@Self)^.clr := $00000800
  27069. else
  27070. pTDefRegMap(@Self)^.&set := $00000800;
  27071. end;
  27072. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  27073. begin
  27074. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27075. end;
  27076. procedure TPMP_PMMODE.setINCM1; inline;
  27077. begin
  27078. pTDefRegMap(@Self)^.&set := $00001000;
  27079. end;
  27080. procedure TPMP_PMMODE.clearINCM1; inline;
  27081. begin
  27082. pTDefRegMap(@Self)^.clr := $00001000;
  27083. end;
  27084. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  27085. begin
  27086. if thebits = 0 then
  27087. pTDefRegMap(@Self)^.clr := $00001000
  27088. else
  27089. pTDefRegMap(@Self)^.&set := $00001000;
  27090. end;
  27091. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  27092. begin
  27093. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27094. end;
  27095. procedure TPMP_PMMODE.setIRQM0; inline;
  27096. begin
  27097. pTDefRegMap(@Self)^.&set := $00002000;
  27098. end;
  27099. procedure TPMP_PMMODE.clearIRQM0; inline;
  27100. begin
  27101. pTDefRegMap(@Self)^.clr := $00002000;
  27102. end;
  27103. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  27104. begin
  27105. if thebits = 0 then
  27106. pTDefRegMap(@Self)^.clr := $00002000
  27107. else
  27108. pTDefRegMap(@Self)^.&set := $00002000;
  27109. end;
  27110. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  27111. begin
  27112. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27113. end;
  27114. procedure TPMP_PMMODE.setIRQM1; inline;
  27115. begin
  27116. pTDefRegMap(@Self)^.&set := $00004000;
  27117. end;
  27118. procedure TPMP_PMMODE.clearIRQM1; inline;
  27119. begin
  27120. pTDefRegMap(@Self)^.clr := $00004000;
  27121. end;
  27122. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  27123. begin
  27124. if thebits = 0 then
  27125. pTDefRegMap(@Self)^.clr := $00004000
  27126. else
  27127. pTDefRegMap(@Self)^.&set := $00004000;
  27128. end;
  27129. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  27130. begin
  27131. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27132. end;
  27133. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  27134. begin
  27135. pTDefRegMap(@Self)^.val := thebits;
  27136. end;
  27137. function TPMP_PMMODE.getw : TBits_32; inline;
  27138. begin
  27139. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27140. end;
  27141. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  27142. begin
  27143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  27144. end;
  27145. function TPMP_PMADDR.getADDR : TBits_14; inline;
  27146. begin
  27147. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  27148. end;
  27149. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  27150. begin
  27151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27152. end;
  27153. function TPMP_PMADDR.getCS : TBits_2; inline;
  27154. begin
  27155. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27156. end;
  27157. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  27158. begin
  27159. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  27160. end;
  27161. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  27162. begin
  27163. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  27164. end;
  27165. procedure TPMP_PMADDR.setCS1; inline;
  27166. begin
  27167. pTDefRegMap(@Self)^.&set := $00004000;
  27168. end;
  27169. procedure TPMP_PMADDR.clearCS1; inline;
  27170. begin
  27171. pTDefRegMap(@Self)^.clr := $00004000;
  27172. end;
  27173. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  27174. begin
  27175. if thebits = 0 then
  27176. pTDefRegMap(@Self)^.clr := $00004000
  27177. else
  27178. pTDefRegMap(@Self)^.&set := $00004000;
  27179. end;
  27180. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  27181. begin
  27182. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27183. end;
  27184. procedure TPMP_PMADDR.setCS2; inline;
  27185. begin
  27186. pTDefRegMap(@Self)^.&set := $00008000;
  27187. end;
  27188. procedure TPMP_PMADDR.clearCS2; inline;
  27189. begin
  27190. pTDefRegMap(@Self)^.clr := $00008000;
  27191. end;
  27192. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  27193. begin
  27194. if thebits = 0 then
  27195. pTDefRegMap(@Self)^.clr := $00008000
  27196. else
  27197. pTDefRegMap(@Self)^.&set := $00008000;
  27198. end;
  27199. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  27200. begin
  27201. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27202. end;
  27203. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  27204. begin
  27205. pTDefRegMap(@Self)^.val := thebits;
  27206. end;
  27207. function TPMP_PMADDR.getw : TBits_32; inline;
  27208. begin
  27209. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27210. end;
  27211. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  27212. begin
  27213. pTDefRegMap(@Self)^.val := thebits;
  27214. end;
  27215. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  27216. begin
  27217. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27218. end;
  27219. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  27220. begin
  27221. pTDefRegMap(@Self)^.val := thebits;
  27222. end;
  27223. function TPMP_PMDOUT.getw : TBits_32; inline;
  27224. begin
  27225. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27226. end;
  27227. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  27228. begin
  27229. pTDefRegMap(@Self)^.val := thebits;
  27230. end;
  27231. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  27232. begin
  27233. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27234. end;
  27235. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  27236. begin
  27237. pTDefRegMap(@Self)^.val := thebits;
  27238. end;
  27239. function TPMP_PMDIN.getw : TBits_32; inline;
  27240. begin
  27241. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27242. end;
  27243. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  27244. begin
  27245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  27246. end;
  27247. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  27248. begin
  27249. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  27250. end;
  27251. procedure TPMP_PMAEN.setPTEN0; inline;
  27252. begin
  27253. pTDefRegMap(@Self)^.&set := $00000001;
  27254. end;
  27255. procedure TPMP_PMAEN.clearPTEN0; inline;
  27256. begin
  27257. pTDefRegMap(@Self)^.clr := $00000001;
  27258. end;
  27259. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  27260. begin
  27261. if thebits = 0 then
  27262. pTDefRegMap(@Self)^.clr := $00000001
  27263. else
  27264. pTDefRegMap(@Self)^.&set := $00000001;
  27265. end;
  27266. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  27267. begin
  27268. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27269. end;
  27270. procedure TPMP_PMAEN.setPTEN1; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.&set := $00000002;
  27273. end;
  27274. procedure TPMP_PMAEN.clearPTEN1; inline;
  27275. begin
  27276. pTDefRegMap(@Self)^.clr := $00000002;
  27277. end;
  27278. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  27279. begin
  27280. if thebits = 0 then
  27281. pTDefRegMap(@Self)^.clr := $00000002
  27282. else
  27283. pTDefRegMap(@Self)^.&set := $00000002;
  27284. end;
  27285. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  27286. begin
  27287. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27288. end;
  27289. procedure TPMP_PMAEN.setPTEN2; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.&set := $00000004;
  27292. end;
  27293. procedure TPMP_PMAEN.clearPTEN2; inline;
  27294. begin
  27295. pTDefRegMap(@Self)^.clr := $00000004;
  27296. end;
  27297. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  27298. begin
  27299. if thebits = 0 then
  27300. pTDefRegMap(@Self)^.clr := $00000004
  27301. else
  27302. pTDefRegMap(@Self)^.&set := $00000004;
  27303. end;
  27304. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  27305. begin
  27306. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27307. end;
  27308. procedure TPMP_PMAEN.setPTEN3; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.&set := $00000008;
  27311. end;
  27312. procedure TPMP_PMAEN.clearPTEN3; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.clr := $00000008;
  27315. end;
  27316. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  27317. begin
  27318. if thebits = 0 then
  27319. pTDefRegMap(@Self)^.clr := $00000008
  27320. else
  27321. pTDefRegMap(@Self)^.&set := $00000008;
  27322. end;
  27323. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  27324. begin
  27325. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27326. end;
  27327. procedure TPMP_PMAEN.setPTEN4; inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.&set := $00000010;
  27330. end;
  27331. procedure TPMP_PMAEN.clearPTEN4; inline;
  27332. begin
  27333. pTDefRegMap(@Self)^.clr := $00000010;
  27334. end;
  27335. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  27336. begin
  27337. if thebits = 0 then
  27338. pTDefRegMap(@Self)^.clr := $00000010
  27339. else
  27340. pTDefRegMap(@Self)^.&set := $00000010;
  27341. end;
  27342. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  27343. begin
  27344. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27345. end;
  27346. procedure TPMP_PMAEN.setPTEN5; inline;
  27347. begin
  27348. pTDefRegMap(@Self)^.&set := $00000020;
  27349. end;
  27350. procedure TPMP_PMAEN.clearPTEN5; inline;
  27351. begin
  27352. pTDefRegMap(@Self)^.clr := $00000020;
  27353. end;
  27354. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  27355. begin
  27356. if thebits = 0 then
  27357. pTDefRegMap(@Self)^.clr := $00000020
  27358. else
  27359. pTDefRegMap(@Self)^.&set := $00000020;
  27360. end;
  27361. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  27362. begin
  27363. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27364. end;
  27365. procedure TPMP_PMAEN.setPTEN6; inline;
  27366. begin
  27367. pTDefRegMap(@Self)^.&set := $00000040;
  27368. end;
  27369. procedure TPMP_PMAEN.clearPTEN6; inline;
  27370. begin
  27371. pTDefRegMap(@Self)^.clr := $00000040;
  27372. end;
  27373. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  27374. begin
  27375. if thebits = 0 then
  27376. pTDefRegMap(@Self)^.clr := $00000040
  27377. else
  27378. pTDefRegMap(@Self)^.&set := $00000040;
  27379. end;
  27380. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  27381. begin
  27382. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27383. end;
  27384. procedure TPMP_PMAEN.setPTEN7; inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.&set := $00000080;
  27387. end;
  27388. procedure TPMP_PMAEN.clearPTEN7; inline;
  27389. begin
  27390. pTDefRegMap(@Self)^.clr := $00000080;
  27391. end;
  27392. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  27393. begin
  27394. if thebits = 0 then
  27395. pTDefRegMap(@Self)^.clr := $00000080
  27396. else
  27397. pTDefRegMap(@Self)^.&set := $00000080;
  27398. end;
  27399. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  27400. begin
  27401. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27402. end;
  27403. procedure TPMP_PMAEN.setPTEN8; inline;
  27404. begin
  27405. pTDefRegMap(@Self)^.&set := $00000100;
  27406. end;
  27407. procedure TPMP_PMAEN.clearPTEN8; inline;
  27408. begin
  27409. pTDefRegMap(@Self)^.clr := $00000100;
  27410. end;
  27411. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  27412. begin
  27413. if thebits = 0 then
  27414. pTDefRegMap(@Self)^.clr := $00000100
  27415. else
  27416. pTDefRegMap(@Self)^.&set := $00000100;
  27417. end;
  27418. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  27419. begin
  27420. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27421. end;
  27422. procedure TPMP_PMAEN.setPTEN9; inline;
  27423. begin
  27424. pTDefRegMap(@Self)^.&set := $00000200;
  27425. end;
  27426. procedure TPMP_PMAEN.clearPTEN9; inline;
  27427. begin
  27428. pTDefRegMap(@Self)^.clr := $00000200;
  27429. end;
  27430. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  27431. begin
  27432. if thebits = 0 then
  27433. pTDefRegMap(@Self)^.clr := $00000200
  27434. else
  27435. pTDefRegMap(@Self)^.&set := $00000200;
  27436. end;
  27437. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  27438. begin
  27439. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27440. end;
  27441. procedure TPMP_PMAEN.setPTEN10; inline;
  27442. begin
  27443. pTDefRegMap(@Self)^.&set := $00000400;
  27444. end;
  27445. procedure TPMP_PMAEN.clearPTEN10; inline;
  27446. begin
  27447. pTDefRegMap(@Self)^.clr := $00000400;
  27448. end;
  27449. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  27450. begin
  27451. if thebits = 0 then
  27452. pTDefRegMap(@Self)^.clr := $00000400
  27453. else
  27454. pTDefRegMap(@Self)^.&set := $00000400;
  27455. end;
  27456. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  27457. begin
  27458. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27459. end;
  27460. procedure TPMP_PMAEN.setPTEN11; inline;
  27461. begin
  27462. pTDefRegMap(@Self)^.&set := $00000800;
  27463. end;
  27464. procedure TPMP_PMAEN.clearPTEN11; inline;
  27465. begin
  27466. pTDefRegMap(@Self)^.clr := $00000800;
  27467. end;
  27468. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  27469. begin
  27470. if thebits = 0 then
  27471. pTDefRegMap(@Self)^.clr := $00000800
  27472. else
  27473. pTDefRegMap(@Self)^.&set := $00000800;
  27474. end;
  27475. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  27476. begin
  27477. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27478. end;
  27479. procedure TPMP_PMAEN.setPTEN12; inline;
  27480. begin
  27481. pTDefRegMap(@Self)^.&set := $00001000;
  27482. end;
  27483. procedure TPMP_PMAEN.clearPTEN12; inline;
  27484. begin
  27485. pTDefRegMap(@Self)^.clr := $00001000;
  27486. end;
  27487. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  27488. begin
  27489. if thebits = 0 then
  27490. pTDefRegMap(@Self)^.clr := $00001000
  27491. else
  27492. pTDefRegMap(@Self)^.&set := $00001000;
  27493. end;
  27494. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  27495. begin
  27496. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27497. end;
  27498. procedure TPMP_PMAEN.setPTEN13; inline;
  27499. begin
  27500. pTDefRegMap(@Self)^.&set := $00002000;
  27501. end;
  27502. procedure TPMP_PMAEN.clearPTEN13; inline;
  27503. begin
  27504. pTDefRegMap(@Self)^.clr := $00002000;
  27505. end;
  27506. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  27507. begin
  27508. if thebits = 0 then
  27509. pTDefRegMap(@Self)^.clr := $00002000
  27510. else
  27511. pTDefRegMap(@Self)^.&set := $00002000;
  27512. end;
  27513. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  27514. begin
  27515. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27516. end;
  27517. procedure TPMP_PMAEN.setPTEN14; inline;
  27518. begin
  27519. pTDefRegMap(@Self)^.&set := $00004000;
  27520. end;
  27521. procedure TPMP_PMAEN.clearPTEN14; inline;
  27522. begin
  27523. pTDefRegMap(@Self)^.clr := $00004000;
  27524. end;
  27525. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  27526. begin
  27527. if thebits = 0 then
  27528. pTDefRegMap(@Self)^.clr := $00004000
  27529. else
  27530. pTDefRegMap(@Self)^.&set := $00004000;
  27531. end;
  27532. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  27533. begin
  27534. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27535. end;
  27536. procedure TPMP_PMAEN.setPTEN15; inline;
  27537. begin
  27538. pTDefRegMap(@Self)^.&set := $00008000;
  27539. end;
  27540. procedure TPMP_PMAEN.clearPTEN15; inline;
  27541. begin
  27542. pTDefRegMap(@Self)^.clr := $00008000;
  27543. end;
  27544. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  27545. begin
  27546. if thebits = 0 then
  27547. pTDefRegMap(@Self)^.clr := $00008000
  27548. else
  27549. pTDefRegMap(@Self)^.&set := $00008000;
  27550. end;
  27551. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  27552. begin
  27553. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27554. end;
  27555. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  27556. begin
  27557. pTDefRegMap(@Self)^.val := thebits;
  27558. end;
  27559. function TPMP_PMAEN.getw : TBits_32; inline;
  27560. begin
  27561. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27562. end;
  27563. procedure TPMP_PMSTAT.setOB0E; inline;
  27564. begin
  27565. pTDefRegMap(@Self)^.&set := $00000001;
  27566. end;
  27567. procedure TPMP_PMSTAT.clearOB0E; inline;
  27568. begin
  27569. pTDefRegMap(@Self)^.clr := $00000001;
  27570. end;
  27571. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  27572. begin
  27573. if thebits = 0 then
  27574. pTDefRegMap(@Self)^.clr := $00000001
  27575. else
  27576. pTDefRegMap(@Self)^.&set := $00000001;
  27577. end;
  27578. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  27579. begin
  27580. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27581. end;
  27582. procedure TPMP_PMSTAT.setOB1E; inline;
  27583. begin
  27584. pTDefRegMap(@Self)^.&set := $00000002;
  27585. end;
  27586. procedure TPMP_PMSTAT.clearOB1E; inline;
  27587. begin
  27588. pTDefRegMap(@Self)^.clr := $00000002;
  27589. end;
  27590. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  27591. begin
  27592. if thebits = 0 then
  27593. pTDefRegMap(@Self)^.clr := $00000002
  27594. else
  27595. pTDefRegMap(@Self)^.&set := $00000002;
  27596. end;
  27597. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  27598. begin
  27599. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27600. end;
  27601. procedure TPMP_PMSTAT.setOB2E; inline;
  27602. begin
  27603. pTDefRegMap(@Self)^.&set := $00000004;
  27604. end;
  27605. procedure TPMP_PMSTAT.clearOB2E; inline;
  27606. begin
  27607. pTDefRegMap(@Self)^.clr := $00000004;
  27608. end;
  27609. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  27610. begin
  27611. if thebits = 0 then
  27612. pTDefRegMap(@Self)^.clr := $00000004
  27613. else
  27614. pTDefRegMap(@Self)^.&set := $00000004;
  27615. end;
  27616. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  27617. begin
  27618. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27619. end;
  27620. procedure TPMP_PMSTAT.setOB3E; inline;
  27621. begin
  27622. pTDefRegMap(@Self)^.&set := $00000008;
  27623. end;
  27624. procedure TPMP_PMSTAT.clearOB3E; inline;
  27625. begin
  27626. pTDefRegMap(@Self)^.clr := $00000008;
  27627. end;
  27628. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  27629. begin
  27630. if thebits = 0 then
  27631. pTDefRegMap(@Self)^.clr := $00000008
  27632. else
  27633. pTDefRegMap(@Self)^.&set := $00000008;
  27634. end;
  27635. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  27636. begin
  27637. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27638. end;
  27639. procedure TPMP_PMSTAT.setOBUF; inline;
  27640. begin
  27641. pTDefRegMap(@Self)^.&set := $00000040;
  27642. end;
  27643. procedure TPMP_PMSTAT.clearOBUF; inline;
  27644. begin
  27645. pTDefRegMap(@Self)^.clr := $00000040;
  27646. end;
  27647. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  27648. begin
  27649. if thebits = 0 then
  27650. pTDefRegMap(@Self)^.clr := $00000040
  27651. else
  27652. pTDefRegMap(@Self)^.&set := $00000040;
  27653. end;
  27654. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  27655. begin
  27656. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27657. end;
  27658. procedure TPMP_PMSTAT.setOBE; inline;
  27659. begin
  27660. pTDefRegMap(@Self)^.&set := $00000080;
  27661. end;
  27662. procedure TPMP_PMSTAT.clearOBE; inline;
  27663. begin
  27664. pTDefRegMap(@Self)^.clr := $00000080;
  27665. end;
  27666. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  27667. begin
  27668. if thebits = 0 then
  27669. pTDefRegMap(@Self)^.clr := $00000080
  27670. else
  27671. pTDefRegMap(@Self)^.&set := $00000080;
  27672. end;
  27673. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  27674. begin
  27675. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27676. end;
  27677. procedure TPMP_PMSTAT.setIB0F; inline;
  27678. begin
  27679. pTDefRegMap(@Self)^.&set := $00000100;
  27680. end;
  27681. procedure TPMP_PMSTAT.clearIB0F; inline;
  27682. begin
  27683. pTDefRegMap(@Self)^.clr := $00000100;
  27684. end;
  27685. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  27686. begin
  27687. if thebits = 0 then
  27688. pTDefRegMap(@Self)^.clr := $00000100
  27689. else
  27690. pTDefRegMap(@Self)^.&set := $00000100;
  27691. end;
  27692. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  27693. begin
  27694. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27695. end;
  27696. procedure TPMP_PMSTAT.setIB1F; inline;
  27697. begin
  27698. pTDefRegMap(@Self)^.&set := $00000200;
  27699. end;
  27700. procedure TPMP_PMSTAT.clearIB1F; inline;
  27701. begin
  27702. pTDefRegMap(@Self)^.clr := $00000200;
  27703. end;
  27704. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  27705. begin
  27706. if thebits = 0 then
  27707. pTDefRegMap(@Self)^.clr := $00000200
  27708. else
  27709. pTDefRegMap(@Self)^.&set := $00000200;
  27710. end;
  27711. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  27712. begin
  27713. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27714. end;
  27715. procedure TPMP_PMSTAT.setIB2F; inline;
  27716. begin
  27717. pTDefRegMap(@Self)^.&set := $00000400;
  27718. end;
  27719. procedure TPMP_PMSTAT.clearIB2F; inline;
  27720. begin
  27721. pTDefRegMap(@Self)^.clr := $00000400;
  27722. end;
  27723. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  27724. begin
  27725. if thebits = 0 then
  27726. pTDefRegMap(@Self)^.clr := $00000400
  27727. else
  27728. pTDefRegMap(@Self)^.&set := $00000400;
  27729. end;
  27730. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  27731. begin
  27732. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27733. end;
  27734. procedure TPMP_PMSTAT.setIB3F; inline;
  27735. begin
  27736. pTDefRegMap(@Self)^.&set := $00000800;
  27737. end;
  27738. procedure TPMP_PMSTAT.clearIB3F; inline;
  27739. begin
  27740. pTDefRegMap(@Self)^.clr := $00000800;
  27741. end;
  27742. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  27743. begin
  27744. if thebits = 0 then
  27745. pTDefRegMap(@Self)^.clr := $00000800
  27746. else
  27747. pTDefRegMap(@Self)^.&set := $00000800;
  27748. end;
  27749. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  27750. begin
  27751. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27752. end;
  27753. procedure TPMP_PMSTAT.setIBOV; inline;
  27754. begin
  27755. pTDefRegMap(@Self)^.&set := $00004000;
  27756. end;
  27757. procedure TPMP_PMSTAT.clearIBOV; inline;
  27758. begin
  27759. pTDefRegMap(@Self)^.clr := $00004000;
  27760. end;
  27761. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  27762. begin
  27763. if thebits = 0 then
  27764. pTDefRegMap(@Self)^.clr := $00004000
  27765. else
  27766. pTDefRegMap(@Self)^.&set := $00004000;
  27767. end;
  27768. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  27769. begin
  27770. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27771. end;
  27772. procedure TPMP_PMSTAT.setIBF; inline;
  27773. begin
  27774. pTDefRegMap(@Self)^.&set := $00008000;
  27775. end;
  27776. procedure TPMP_PMSTAT.clearIBF; inline;
  27777. begin
  27778. pTDefRegMap(@Self)^.clr := $00008000;
  27779. end;
  27780. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  27781. begin
  27782. if thebits = 0 then
  27783. pTDefRegMap(@Self)^.clr := $00008000
  27784. else
  27785. pTDefRegMap(@Self)^.&set := $00008000;
  27786. end;
  27787. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  27788. begin
  27789. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27790. end;
  27791. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  27792. begin
  27793. pTDefRegMap(@Self)^.val := thebits;
  27794. end;
  27795. function TPMP_PMSTAT.getw : TBits_32; inline;
  27796. begin
  27797. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27798. end;
  27799. procedure TADC10_AD1CON1.setDONE; inline;
  27800. begin
  27801. pTDefRegMap(@Self)^.&set := $00000001;
  27802. end;
  27803. procedure TADC10_AD1CON1.clearDONE; inline;
  27804. begin
  27805. pTDefRegMap(@Self)^.clr := $00000001;
  27806. end;
  27807. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  27808. begin
  27809. if thebits = 0 then
  27810. pTDefRegMap(@Self)^.clr := $00000001
  27811. else
  27812. pTDefRegMap(@Self)^.&set := $00000001;
  27813. end;
  27814. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  27815. begin
  27816. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27817. end;
  27818. procedure TADC10_AD1CON1.setSAMP; inline;
  27819. begin
  27820. pTDefRegMap(@Self)^.&set := $00000002;
  27821. end;
  27822. procedure TADC10_AD1CON1.clearSAMP; inline;
  27823. begin
  27824. pTDefRegMap(@Self)^.clr := $00000002;
  27825. end;
  27826. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  27827. begin
  27828. if thebits = 0 then
  27829. pTDefRegMap(@Self)^.clr := $00000002
  27830. else
  27831. pTDefRegMap(@Self)^.&set := $00000002;
  27832. end;
  27833. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  27834. begin
  27835. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27836. end;
  27837. procedure TADC10_AD1CON1.setASAM; inline;
  27838. begin
  27839. pTDefRegMap(@Self)^.&set := $00000004;
  27840. end;
  27841. procedure TADC10_AD1CON1.clearASAM; inline;
  27842. begin
  27843. pTDefRegMap(@Self)^.clr := $00000004;
  27844. end;
  27845. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  27846. begin
  27847. if thebits = 0 then
  27848. pTDefRegMap(@Self)^.clr := $00000004
  27849. else
  27850. pTDefRegMap(@Self)^.&set := $00000004;
  27851. end;
  27852. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  27853. begin
  27854. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27855. end;
  27856. procedure TADC10_AD1CON1.setCLRASAM; inline;
  27857. begin
  27858. pTDefRegMap(@Self)^.&set := $00000010;
  27859. end;
  27860. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  27861. begin
  27862. pTDefRegMap(@Self)^.clr := $00000010;
  27863. end;
  27864. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  27865. begin
  27866. if thebits = 0 then
  27867. pTDefRegMap(@Self)^.clr := $00000010
  27868. else
  27869. pTDefRegMap(@Self)^.&set := $00000010;
  27870. end;
  27871. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  27872. begin
  27873. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27874. end;
  27875. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  27876. begin
  27877. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  27878. end;
  27879. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  27880. begin
  27881. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  27882. end;
  27883. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  27884. begin
  27885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  27886. end;
  27887. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  27888. begin
  27889. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  27890. end;
  27891. procedure TADC10_AD1CON1.setSIDL; inline;
  27892. begin
  27893. pTDefRegMap(@Self)^.&set := $00002000;
  27894. end;
  27895. procedure TADC10_AD1CON1.clearSIDL; inline;
  27896. begin
  27897. pTDefRegMap(@Self)^.clr := $00002000;
  27898. end;
  27899. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  27900. begin
  27901. if thebits = 0 then
  27902. pTDefRegMap(@Self)^.clr := $00002000
  27903. else
  27904. pTDefRegMap(@Self)^.&set := $00002000;
  27905. end;
  27906. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  27907. begin
  27908. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27909. end;
  27910. procedure TADC10_AD1CON1.setON; inline;
  27911. begin
  27912. pTDefRegMap(@Self)^.&set := $00008000;
  27913. end;
  27914. procedure TADC10_AD1CON1.clearON; inline;
  27915. begin
  27916. pTDefRegMap(@Self)^.clr := $00008000;
  27917. end;
  27918. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  27919. begin
  27920. if thebits = 0 then
  27921. pTDefRegMap(@Self)^.clr := $00008000
  27922. else
  27923. pTDefRegMap(@Self)^.&set := $00008000;
  27924. end;
  27925. function TADC10_AD1CON1.getON : TBits_1; inline;
  27926. begin
  27927. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27928. end;
  27929. procedure TADC10_AD1CON1.setSSRC0; inline;
  27930. begin
  27931. pTDefRegMap(@Self)^.&set := $00000020;
  27932. end;
  27933. procedure TADC10_AD1CON1.clearSSRC0; inline;
  27934. begin
  27935. pTDefRegMap(@Self)^.clr := $00000020;
  27936. end;
  27937. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  27938. begin
  27939. if thebits = 0 then
  27940. pTDefRegMap(@Self)^.clr := $00000020
  27941. else
  27942. pTDefRegMap(@Self)^.&set := $00000020;
  27943. end;
  27944. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  27945. begin
  27946. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27947. end;
  27948. procedure TADC10_AD1CON1.setSSRC1; inline;
  27949. begin
  27950. pTDefRegMap(@Self)^.&set := $00000040;
  27951. end;
  27952. procedure TADC10_AD1CON1.clearSSRC1; inline;
  27953. begin
  27954. pTDefRegMap(@Self)^.clr := $00000040;
  27955. end;
  27956. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  27957. begin
  27958. if thebits = 0 then
  27959. pTDefRegMap(@Self)^.clr := $00000040
  27960. else
  27961. pTDefRegMap(@Self)^.&set := $00000040;
  27962. end;
  27963. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  27964. begin
  27965. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27966. end;
  27967. procedure TADC10_AD1CON1.setSSRC2; inline;
  27968. begin
  27969. pTDefRegMap(@Self)^.&set := $00000080;
  27970. end;
  27971. procedure TADC10_AD1CON1.clearSSRC2; inline;
  27972. begin
  27973. pTDefRegMap(@Self)^.clr := $00000080;
  27974. end;
  27975. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  27976. begin
  27977. if thebits = 0 then
  27978. pTDefRegMap(@Self)^.clr := $00000080
  27979. else
  27980. pTDefRegMap(@Self)^.&set := $00000080;
  27981. end;
  27982. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  27983. begin
  27984. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27985. end;
  27986. procedure TADC10_AD1CON1.setFORM0; inline;
  27987. begin
  27988. pTDefRegMap(@Self)^.&set := $00000100;
  27989. end;
  27990. procedure TADC10_AD1CON1.clearFORM0; inline;
  27991. begin
  27992. pTDefRegMap(@Self)^.clr := $00000100;
  27993. end;
  27994. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  27995. begin
  27996. if thebits = 0 then
  27997. pTDefRegMap(@Self)^.clr := $00000100
  27998. else
  27999. pTDefRegMap(@Self)^.&set := $00000100;
  28000. end;
  28001. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  28002. begin
  28003. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28004. end;
  28005. procedure TADC10_AD1CON1.setFORM1; inline;
  28006. begin
  28007. pTDefRegMap(@Self)^.&set := $00000200;
  28008. end;
  28009. procedure TADC10_AD1CON1.clearFORM1; inline;
  28010. begin
  28011. pTDefRegMap(@Self)^.clr := $00000200;
  28012. end;
  28013. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  28014. begin
  28015. if thebits = 0 then
  28016. pTDefRegMap(@Self)^.clr := $00000200
  28017. else
  28018. pTDefRegMap(@Self)^.&set := $00000200;
  28019. end;
  28020. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  28021. begin
  28022. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28023. end;
  28024. procedure TADC10_AD1CON1.setFORM2; inline;
  28025. begin
  28026. pTDefRegMap(@Self)^.&set := $00000400;
  28027. end;
  28028. procedure TADC10_AD1CON1.clearFORM2; inline;
  28029. begin
  28030. pTDefRegMap(@Self)^.clr := $00000400;
  28031. end;
  28032. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  28033. begin
  28034. if thebits = 0 then
  28035. pTDefRegMap(@Self)^.clr := $00000400
  28036. else
  28037. pTDefRegMap(@Self)^.&set := $00000400;
  28038. end;
  28039. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  28040. begin
  28041. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28042. end;
  28043. procedure TADC10_AD1CON1.setADSIDL; inline;
  28044. begin
  28045. pTDefRegMap(@Self)^.&set := $00002000;
  28046. end;
  28047. procedure TADC10_AD1CON1.clearADSIDL; inline;
  28048. begin
  28049. pTDefRegMap(@Self)^.clr := $00002000;
  28050. end;
  28051. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  28052. begin
  28053. if thebits = 0 then
  28054. pTDefRegMap(@Self)^.clr := $00002000
  28055. else
  28056. pTDefRegMap(@Self)^.&set := $00002000;
  28057. end;
  28058. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  28059. begin
  28060. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28061. end;
  28062. procedure TADC10_AD1CON1.setADON; inline;
  28063. begin
  28064. pTDefRegMap(@Self)^.&set := $00008000;
  28065. end;
  28066. procedure TADC10_AD1CON1.clearADON; inline;
  28067. begin
  28068. pTDefRegMap(@Self)^.clr := $00008000;
  28069. end;
  28070. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  28071. begin
  28072. if thebits = 0 then
  28073. pTDefRegMap(@Self)^.clr := $00008000
  28074. else
  28075. pTDefRegMap(@Self)^.&set := $00008000;
  28076. end;
  28077. function TADC10_AD1CON1.getADON : TBits_1; inline;
  28078. begin
  28079. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28080. end;
  28081. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  28082. begin
  28083. pTDefRegMap(@Self)^.val := thebits;
  28084. end;
  28085. function TADC10_AD1CON1.getw : TBits_32; inline;
  28086. begin
  28087. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28088. end;
  28089. procedure TADC10_AD1CON2.setALTS; inline;
  28090. begin
  28091. pTDefRegMap(@Self)^.&set := $00000001;
  28092. end;
  28093. procedure TADC10_AD1CON2.clearALTS; inline;
  28094. begin
  28095. pTDefRegMap(@Self)^.clr := $00000001;
  28096. end;
  28097. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  28098. begin
  28099. if thebits = 0 then
  28100. pTDefRegMap(@Self)^.clr := $00000001
  28101. else
  28102. pTDefRegMap(@Self)^.&set := $00000001;
  28103. end;
  28104. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  28105. begin
  28106. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28107. end;
  28108. procedure TADC10_AD1CON2.setBUFM; inline;
  28109. begin
  28110. pTDefRegMap(@Self)^.&set := $00000002;
  28111. end;
  28112. procedure TADC10_AD1CON2.clearBUFM; inline;
  28113. begin
  28114. pTDefRegMap(@Self)^.clr := $00000002;
  28115. end;
  28116. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  28117. begin
  28118. if thebits = 0 then
  28119. pTDefRegMap(@Self)^.clr := $00000002
  28120. else
  28121. pTDefRegMap(@Self)^.&set := $00000002;
  28122. end;
  28123. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  28124. begin
  28125. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28126. end;
  28127. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  28128. begin
  28129. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  28130. end;
  28131. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  28132. begin
  28133. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  28134. end;
  28135. procedure TADC10_AD1CON2.setBUFS; inline;
  28136. begin
  28137. pTDefRegMap(@Self)^.&set := $00000080;
  28138. end;
  28139. procedure TADC10_AD1CON2.clearBUFS; inline;
  28140. begin
  28141. pTDefRegMap(@Self)^.clr := $00000080;
  28142. end;
  28143. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  28144. begin
  28145. if thebits = 0 then
  28146. pTDefRegMap(@Self)^.clr := $00000080
  28147. else
  28148. pTDefRegMap(@Self)^.&set := $00000080;
  28149. end;
  28150. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  28151. begin
  28152. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28153. end;
  28154. procedure TADC10_AD1CON2.setCSCNA; inline;
  28155. begin
  28156. pTDefRegMap(@Self)^.&set := $00000400;
  28157. end;
  28158. procedure TADC10_AD1CON2.clearCSCNA; inline;
  28159. begin
  28160. pTDefRegMap(@Self)^.clr := $00000400;
  28161. end;
  28162. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  28163. begin
  28164. if thebits = 0 then
  28165. pTDefRegMap(@Self)^.clr := $00000400
  28166. else
  28167. pTDefRegMap(@Self)^.&set := $00000400;
  28168. end;
  28169. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  28170. begin
  28171. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28172. end;
  28173. procedure TADC10_AD1CON2.setOFFCAL; inline;
  28174. begin
  28175. pTDefRegMap(@Self)^.&set := $00001000;
  28176. end;
  28177. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  28178. begin
  28179. pTDefRegMap(@Self)^.clr := $00001000;
  28180. end;
  28181. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  28182. begin
  28183. if thebits = 0 then
  28184. pTDefRegMap(@Self)^.clr := $00001000
  28185. else
  28186. pTDefRegMap(@Self)^.&set := $00001000;
  28187. end;
  28188. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  28189. begin
  28190. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28191. end;
  28192. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  28193. begin
  28194. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  28195. end;
  28196. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  28197. begin
  28198. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  28199. end;
  28200. procedure TADC10_AD1CON2.setSMPI0; inline;
  28201. begin
  28202. pTDefRegMap(@Self)^.&set := $00000004;
  28203. end;
  28204. procedure TADC10_AD1CON2.clearSMPI0; inline;
  28205. begin
  28206. pTDefRegMap(@Self)^.clr := $00000004;
  28207. end;
  28208. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  28209. begin
  28210. if thebits = 0 then
  28211. pTDefRegMap(@Self)^.clr := $00000004
  28212. else
  28213. pTDefRegMap(@Self)^.&set := $00000004;
  28214. end;
  28215. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  28216. begin
  28217. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28218. end;
  28219. procedure TADC10_AD1CON2.setSMPI1; inline;
  28220. begin
  28221. pTDefRegMap(@Self)^.&set := $00000008;
  28222. end;
  28223. procedure TADC10_AD1CON2.clearSMPI1; inline;
  28224. begin
  28225. pTDefRegMap(@Self)^.clr := $00000008;
  28226. end;
  28227. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  28228. begin
  28229. if thebits = 0 then
  28230. pTDefRegMap(@Self)^.clr := $00000008
  28231. else
  28232. pTDefRegMap(@Self)^.&set := $00000008;
  28233. end;
  28234. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  28235. begin
  28236. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28237. end;
  28238. procedure TADC10_AD1CON2.setSMPI2; inline;
  28239. begin
  28240. pTDefRegMap(@Self)^.&set := $00000010;
  28241. end;
  28242. procedure TADC10_AD1CON2.clearSMPI2; inline;
  28243. begin
  28244. pTDefRegMap(@Self)^.clr := $00000010;
  28245. end;
  28246. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  28247. begin
  28248. if thebits = 0 then
  28249. pTDefRegMap(@Self)^.clr := $00000010
  28250. else
  28251. pTDefRegMap(@Self)^.&set := $00000010;
  28252. end;
  28253. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  28254. begin
  28255. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28256. end;
  28257. procedure TADC10_AD1CON2.setSMPI3; inline;
  28258. begin
  28259. pTDefRegMap(@Self)^.&set := $00000020;
  28260. end;
  28261. procedure TADC10_AD1CON2.clearSMPI3; inline;
  28262. begin
  28263. pTDefRegMap(@Self)^.clr := $00000020;
  28264. end;
  28265. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  28266. begin
  28267. if thebits = 0 then
  28268. pTDefRegMap(@Self)^.clr := $00000020
  28269. else
  28270. pTDefRegMap(@Self)^.&set := $00000020;
  28271. end;
  28272. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  28273. begin
  28274. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28275. end;
  28276. procedure TADC10_AD1CON2.setVCFG0; inline;
  28277. begin
  28278. pTDefRegMap(@Self)^.&set := $00002000;
  28279. end;
  28280. procedure TADC10_AD1CON2.clearVCFG0; inline;
  28281. begin
  28282. pTDefRegMap(@Self)^.clr := $00002000;
  28283. end;
  28284. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  28285. begin
  28286. if thebits = 0 then
  28287. pTDefRegMap(@Self)^.clr := $00002000
  28288. else
  28289. pTDefRegMap(@Self)^.&set := $00002000;
  28290. end;
  28291. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  28292. begin
  28293. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28294. end;
  28295. procedure TADC10_AD1CON2.setVCFG1; inline;
  28296. begin
  28297. pTDefRegMap(@Self)^.&set := $00004000;
  28298. end;
  28299. procedure TADC10_AD1CON2.clearVCFG1; inline;
  28300. begin
  28301. pTDefRegMap(@Self)^.clr := $00004000;
  28302. end;
  28303. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  28304. begin
  28305. if thebits = 0 then
  28306. pTDefRegMap(@Self)^.clr := $00004000
  28307. else
  28308. pTDefRegMap(@Self)^.&set := $00004000;
  28309. end;
  28310. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  28311. begin
  28312. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28313. end;
  28314. procedure TADC10_AD1CON2.setVCFG2; inline;
  28315. begin
  28316. pTDefRegMap(@Self)^.&set := $00008000;
  28317. end;
  28318. procedure TADC10_AD1CON2.clearVCFG2; inline;
  28319. begin
  28320. pTDefRegMap(@Self)^.clr := $00008000;
  28321. end;
  28322. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  28323. begin
  28324. if thebits = 0 then
  28325. pTDefRegMap(@Self)^.clr := $00008000
  28326. else
  28327. pTDefRegMap(@Self)^.&set := $00008000;
  28328. end;
  28329. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  28330. begin
  28331. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28332. end;
  28333. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  28334. begin
  28335. pTDefRegMap(@Self)^.val := thebits;
  28336. end;
  28337. function TADC10_AD1CON2.getw : TBits_32; inline;
  28338. begin
  28339. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28340. end;
  28341. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  28342. begin
  28343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  28344. end;
  28345. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  28346. begin
  28347. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  28348. end;
  28349. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  28350. begin
  28351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  28352. end;
  28353. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  28354. begin
  28355. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  28356. end;
  28357. procedure TADC10_AD1CON3.setADRC; inline;
  28358. begin
  28359. pTDefRegMap(@Self)^.&set := $00008000;
  28360. end;
  28361. procedure TADC10_AD1CON3.clearADRC; inline;
  28362. begin
  28363. pTDefRegMap(@Self)^.clr := $00008000;
  28364. end;
  28365. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  28366. begin
  28367. if thebits = 0 then
  28368. pTDefRegMap(@Self)^.clr := $00008000
  28369. else
  28370. pTDefRegMap(@Self)^.&set := $00008000;
  28371. end;
  28372. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  28373. begin
  28374. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28375. end;
  28376. procedure TADC10_AD1CON3.setADCS0; inline;
  28377. begin
  28378. pTDefRegMap(@Self)^.&set := $00000001;
  28379. end;
  28380. procedure TADC10_AD1CON3.clearADCS0; inline;
  28381. begin
  28382. pTDefRegMap(@Self)^.clr := $00000001;
  28383. end;
  28384. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  28385. begin
  28386. if thebits = 0 then
  28387. pTDefRegMap(@Self)^.clr := $00000001
  28388. else
  28389. pTDefRegMap(@Self)^.&set := $00000001;
  28390. end;
  28391. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  28392. begin
  28393. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28394. end;
  28395. procedure TADC10_AD1CON3.setADCS1; inline;
  28396. begin
  28397. pTDefRegMap(@Self)^.&set := $00000002;
  28398. end;
  28399. procedure TADC10_AD1CON3.clearADCS1; inline;
  28400. begin
  28401. pTDefRegMap(@Self)^.clr := $00000002;
  28402. end;
  28403. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  28404. begin
  28405. if thebits = 0 then
  28406. pTDefRegMap(@Self)^.clr := $00000002
  28407. else
  28408. pTDefRegMap(@Self)^.&set := $00000002;
  28409. end;
  28410. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  28411. begin
  28412. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28413. end;
  28414. procedure TADC10_AD1CON3.setADCS2; inline;
  28415. begin
  28416. pTDefRegMap(@Self)^.&set := $00000004;
  28417. end;
  28418. procedure TADC10_AD1CON3.clearADCS2; inline;
  28419. begin
  28420. pTDefRegMap(@Self)^.clr := $00000004;
  28421. end;
  28422. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  28423. begin
  28424. if thebits = 0 then
  28425. pTDefRegMap(@Self)^.clr := $00000004
  28426. else
  28427. pTDefRegMap(@Self)^.&set := $00000004;
  28428. end;
  28429. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  28430. begin
  28431. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28432. end;
  28433. procedure TADC10_AD1CON3.setADCS3; inline;
  28434. begin
  28435. pTDefRegMap(@Self)^.&set := $00000008;
  28436. end;
  28437. procedure TADC10_AD1CON3.clearADCS3; inline;
  28438. begin
  28439. pTDefRegMap(@Self)^.clr := $00000008;
  28440. end;
  28441. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  28442. begin
  28443. if thebits = 0 then
  28444. pTDefRegMap(@Self)^.clr := $00000008
  28445. else
  28446. pTDefRegMap(@Self)^.&set := $00000008;
  28447. end;
  28448. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  28449. begin
  28450. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28451. end;
  28452. procedure TADC10_AD1CON3.setADCS4; inline;
  28453. begin
  28454. pTDefRegMap(@Self)^.&set := $00000010;
  28455. end;
  28456. procedure TADC10_AD1CON3.clearADCS4; inline;
  28457. begin
  28458. pTDefRegMap(@Self)^.clr := $00000010;
  28459. end;
  28460. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  28461. begin
  28462. if thebits = 0 then
  28463. pTDefRegMap(@Self)^.clr := $00000010
  28464. else
  28465. pTDefRegMap(@Self)^.&set := $00000010;
  28466. end;
  28467. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  28468. begin
  28469. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28470. end;
  28471. procedure TADC10_AD1CON3.setADCS5; inline;
  28472. begin
  28473. pTDefRegMap(@Self)^.&set := $00000020;
  28474. end;
  28475. procedure TADC10_AD1CON3.clearADCS5; inline;
  28476. begin
  28477. pTDefRegMap(@Self)^.clr := $00000020;
  28478. end;
  28479. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  28480. begin
  28481. if thebits = 0 then
  28482. pTDefRegMap(@Self)^.clr := $00000020
  28483. else
  28484. pTDefRegMap(@Self)^.&set := $00000020;
  28485. end;
  28486. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  28487. begin
  28488. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28489. end;
  28490. procedure TADC10_AD1CON3.setADCS6; inline;
  28491. begin
  28492. pTDefRegMap(@Self)^.&set := $00000040;
  28493. end;
  28494. procedure TADC10_AD1CON3.clearADCS6; inline;
  28495. begin
  28496. pTDefRegMap(@Self)^.clr := $00000040;
  28497. end;
  28498. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  28499. begin
  28500. if thebits = 0 then
  28501. pTDefRegMap(@Self)^.clr := $00000040
  28502. else
  28503. pTDefRegMap(@Self)^.&set := $00000040;
  28504. end;
  28505. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  28506. begin
  28507. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28508. end;
  28509. procedure TADC10_AD1CON3.setADCS7; inline;
  28510. begin
  28511. pTDefRegMap(@Self)^.&set := $00000080;
  28512. end;
  28513. procedure TADC10_AD1CON3.clearADCS7; inline;
  28514. begin
  28515. pTDefRegMap(@Self)^.clr := $00000080;
  28516. end;
  28517. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  28518. begin
  28519. if thebits = 0 then
  28520. pTDefRegMap(@Self)^.clr := $00000080
  28521. else
  28522. pTDefRegMap(@Self)^.&set := $00000080;
  28523. end;
  28524. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  28525. begin
  28526. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28527. end;
  28528. procedure TADC10_AD1CON3.setSAMC0; inline;
  28529. begin
  28530. pTDefRegMap(@Self)^.&set := $00000100;
  28531. end;
  28532. procedure TADC10_AD1CON3.clearSAMC0; inline;
  28533. begin
  28534. pTDefRegMap(@Self)^.clr := $00000100;
  28535. end;
  28536. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  28537. begin
  28538. if thebits = 0 then
  28539. pTDefRegMap(@Self)^.clr := $00000100
  28540. else
  28541. pTDefRegMap(@Self)^.&set := $00000100;
  28542. end;
  28543. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  28544. begin
  28545. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28546. end;
  28547. procedure TADC10_AD1CON3.setSAMC1; inline;
  28548. begin
  28549. pTDefRegMap(@Self)^.&set := $00000200;
  28550. end;
  28551. procedure TADC10_AD1CON3.clearSAMC1; inline;
  28552. begin
  28553. pTDefRegMap(@Self)^.clr := $00000200;
  28554. end;
  28555. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  28556. begin
  28557. if thebits = 0 then
  28558. pTDefRegMap(@Self)^.clr := $00000200
  28559. else
  28560. pTDefRegMap(@Self)^.&set := $00000200;
  28561. end;
  28562. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  28563. begin
  28564. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28565. end;
  28566. procedure TADC10_AD1CON3.setSAMC2; inline;
  28567. begin
  28568. pTDefRegMap(@Self)^.&set := $00000400;
  28569. end;
  28570. procedure TADC10_AD1CON3.clearSAMC2; inline;
  28571. begin
  28572. pTDefRegMap(@Self)^.clr := $00000400;
  28573. end;
  28574. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  28575. begin
  28576. if thebits = 0 then
  28577. pTDefRegMap(@Self)^.clr := $00000400
  28578. else
  28579. pTDefRegMap(@Self)^.&set := $00000400;
  28580. end;
  28581. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  28582. begin
  28583. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28584. end;
  28585. procedure TADC10_AD1CON3.setSAMC3; inline;
  28586. begin
  28587. pTDefRegMap(@Self)^.&set := $00000800;
  28588. end;
  28589. procedure TADC10_AD1CON3.clearSAMC3; inline;
  28590. begin
  28591. pTDefRegMap(@Self)^.clr := $00000800;
  28592. end;
  28593. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  28594. begin
  28595. if thebits = 0 then
  28596. pTDefRegMap(@Self)^.clr := $00000800
  28597. else
  28598. pTDefRegMap(@Self)^.&set := $00000800;
  28599. end;
  28600. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  28601. begin
  28602. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28603. end;
  28604. procedure TADC10_AD1CON3.setSAMC4; inline;
  28605. begin
  28606. pTDefRegMap(@Self)^.&set := $00001000;
  28607. end;
  28608. procedure TADC10_AD1CON3.clearSAMC4; inline;
  28609. begin
  28610. pTDefRegMap(@Self)^.clr := $00001000;
  28611. end;
  28612. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  28613. begin
  28614. if thebits = 0 then
  28615. pTDefRegMap(@Self)^.clr := $00001000
  28616. else
  28617. pTDefRegMap(@Self)^.&set := $00001000;
  28618. end;
  28619. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  28620. begin
  28621. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28622. end;
  28623. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  28624. begin
  28625. pTDefRegMap(@Self)^.val := thebits;
  28626. end;
  28627. function TADC10_AD1CON3.getw : TBits_32; inline;
  28628. begin
  28629. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28630. end;
  28631. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_5); inline;
  28632. begin
  28633. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28634. end;
  28635. function TADC10_AD1CHS.getCH0SA : TBits_5; inline;
  28636. begin
  28637. getCH0SA := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28638. end;
  28639. procedure TADC10_AD1CHS.setCH0NA; inline;
  28640. begin
  28641. pTDefRegMap(@Self)^.&set := $00800000;
  28642. end;
  28643. procedure TADC10_AD1CHS.clearCH0NA; inline;
  28644. begin
  28645. pTDefRegMap(@Self)^.clr := $00800000;
  28646. end;
  28647. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  28648. begin
  28649. if thebits = 0 then
  28650. pTDefRegMap(@Self)^.clr := $00800000
  28651. else
  28652. pTDefRegMap(@Self)^.&set := $00800000;
  28653. end;
  28654. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  28655. begin
  28656. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28657. end;
  28658. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_5); inline;
  28659. begin
  28660. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28661. end;
  28662. function TADC10_AD1CHS.getCH0SB : TBits_5; inline;
  28663. begin
  28664. getCH0SB := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28665. end;
  28666. procedure TADC10_AD1CHS.setCH0NB; inline;
  28667. begin
  28668. pTDefRegMap(@Self)^.&set := $80000000;
  28669. end;
  28670. procedure TADC10_AD1CHS.clearCH0NB; inline;
  28671. begin
  28672. pTDefRegMap(@Self)^.clr := $80000000;
  28673. end;
  28674. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  28675. begin
  28676. if thebits = 0 then
  28677. pTDefRegMap(@Self)^.clr := $80000000
  28678. else
  28679. pTDefRegMap(@Self)^.&set := $80000000;
  28680. end;
  28681. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  28682. begin
  28683. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28684. end;
  28685. procedure TADC10_AD1CHS.setCH0SA0; inline;
  28686. begin
  28687. pTDefRegMap(@Self)^.&set := $00010000;
  28688. end;
  28689. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  28690. begin
  28691. pTDefRegMap(@Self)^.clr := $00010000;
  28692. end;
  28693. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  28694. begin
  28695. if thebits = 0 then
  28696. pTDefRegMap(@Self)^.clr := $00010000
  28697. else
  28698. pTDefRegMap(@Self)^.&set := $00010000;
  28699. end;
  28700. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  28701. begin
  28702. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28703. end;
  28704. procedure TADC10_AD1CHS.setCH0SA1; inline;
  28705. begin
  28706. pTDefRegMap(@Self)^.&set := $00020000;
  28707. end;
  28708. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  28709. begin
  28710. pTDefRegMap(@Self)^.clr := $00020000;
  28711. end;
  28712. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  28713. begin
  28714. if thebits = 0 then
  28715. pTDefRegMap(@Self)^.clr := $00020000
  28716. else
  28717. pTDefRegMap(@Self)^.&set := $00020000;
  28718. end;
  28719. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  28720. begin
  28721. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28722. end;
  28723. procedure TADC10_AD1CHS.setCH0SA2; inline;
  28724. begin
  28725. pTDefRegMap(@Self)^.&set := $00040000;
  28726. end;
  28727. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  28728. begin
  28729. pTDefRegMap(@Self)^.clr := $00040000;
  28730. end;
  28731. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  28732. begin
  28733. if thebits = 0 then
  28734. pTDefRegMap(@Self)^.clr := $00040000
  28735. else
  28736. pTDefRegMap(@Self)^.&set := $00040000;
  28737. end;
  28738. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  28739. begin
  28740. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28741. end;
  28742. procedure TADC10_AD1CHS.setCH0SA3; inline;
  28743. begin
  28744. pTDefRegMap(@Self)^.&set := $00080000;
  28745. end;
  28746. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  28747. begin
  28748. pTDefRegMap(@Self)^.clr := $00080000;
  28749. end;
  28750. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  28751. begin
  28752. if thebits = 0 then
  28753. pTDefRegMap(@Self)^.clr := $00080000
  28754. else
  28755. pTDefRegMap(@Self)^.&set := $00080000;
  28756. end;
  28757. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  28758. begin
  28759. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28760. end;
  28761. procedure TADC10_AD1CHS.setCH0SA4; inline;
  28762. begin
  28763. pTDefRegMap(@Self)^.&set := $00100000;
  28764. end;
  28765. procedure TADC10_AD1CHS.clearCH0SA4; inline;
  28766. begin
  28767. pTDefRegMap(@Self)^.clr := $00100000;
  28768. end;
  28769. procedure TADC10_AD1CHS.setCH0SA4(thebits : TBits_1); inline;
  28770. begin
  28771. if thebits = 0 then
  28772. pTDefRegMap(@Self)^.clr := $00100000
  28773. else
  28774. pTDefRegMap(@Self)^.&set := $00100000;
  28775. end;
  28776. function TADC10_AD1CHS.getCH0SA4 : TBits_1; inline;
  28777. begin
  28778. getCH0SA4 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28779. end;
  28780. procedure TADC10_AD1CHS.setCH0SB0; inline;
  28781. begin
  28782. pTDefRegMap(@Self)^.&set := $01000000;
  28783. end;
  28784. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  28785. begin
  28786. pTDefRegMap(@Self)^.clr := $01000000;
  28787. end;
  28788. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  28789. begin
  28790. if thebits = 0 then
  28791. pTDefRegMap(@Self)^.clr := $01000000
  28792. else
  28793. pTDefRegMap(@Self)^.&set := $01000000;
  28794. end;
  28795. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  28796. begin
  28797. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28798. end;
  28799. procedure TADC10_AD1CHS.setCH0SB1; inline;
  28800. begin
  28801. pTDefRegMap(@Self)^.&set := $02000000;
  28802. end;
  28803. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  28804. begin
  28805. pTDefRegMap(@Self)^.clr := $02000000;
  28806. end;
  28807. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  28808. begin
  28809. if thebits = 0 then
  28810. pTDefRegMap(@Self)^.clr := $02000000
  28811. else
  28812. pTDefRegMap(@Self)^.&set := $02000000;
  28813. end;
  28814. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  28815. begin
  28816. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28817. end;
  28818. procedure TADC10_AD1CHS.setCH0SB2; inline;
  28819. begin
  28820. pTDefRegMap(@Self)^.&set := $04000000;
  28821. end;
  28822. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  28823. begin
  28824. pTDefRegMap(@Self)^.clr := $04000000;
  28825. end;
  28826. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  28827. begin
  28828. if thebits = 0 then
  28829. pTDefRegMap(@Self)^.clr := $04000000
  28830. else
  28831. pTDefRegMap(@Self)^.&set := $04000000;
  28832. end;
  28833. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  28834. begin
  28835. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28836. end;
  28837. procedure TADC10_AD1CHS.setCH0SB3; inline;
  28838. begin
  28839. pTDefRegMap(@Self)^.&set := $08000000;
  28840. end;
  28841. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  28842. begin
  28843. pTDefRegMap(@Self)^.clr := $08000000;
  28844. end;
  28845. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  28846. begin
  28847. if thebits = 0 then
  28848. pTDefRegMap(@Self)^.clr := $08000000
  28849. else
  28850. pTDefRegMap(@Self)^.&set := $08000000;
  28851. end;
  28852. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  28853. begin
  28854. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28855. end;
  28856. procedure TADC10_AD1CHS.setCH0SB4; inline;
  28857. begin
  28858. pTDefRegMap(@Self)^.&set := $10000000;
  28859. end;
  28860. procedure TADC10_AD1CHS.clearCH0SB4; inline;
  28861. begin
  28862. pTDefRegMap(@Self)^.clr := $10000000;
  28863. end;
  28864. procedure TADC10_AD1CHS.setCH0SB4(thebits : TBits_1); inline;
  28865. begin
  28866. if thebits = 0 then
  28867. pTDefRegMap(@Self)^.clr := $10000000
  28868. else
  28869. pTDefRegMap(@Self)^.&set := $10000000;
  28870. end;
  28871. function TADC10_AD1CHS.getCH0SB4 : TBits_1; inline;
  28872. begin
  28873. getCH0SB4 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28874. end;
  28875. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  28876. begin
  28877. pTDefRegMap(@Self)^.val := thebits;
  28878. end;
  28879. function TADC10_AD1CHS.getw : TBits_32; inline;
  28880. begin
  28881. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28882. end;
  28883. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_31); inline;
  28884. begin
  28885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $80000000 or ( thebits shl 0 );
  28886. end;
  28887. function TADC10_AD1CSSL.getCSSL : TBits_31; inline;
  28888. begin
  28889. getCSSL := (pTDefRegMap(@Self)^.val and $7FFFFFFF) shr 0;
  28890. end;
  28891. procedure TADC10_AD1CSSL.setCSSL0; inline;
  28892. begin
  28893. pTDefRegMap(@Self)^.&set := $00000001;
  28894. end;
  28895. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  28896. begin
  28897. pTDefRegMap(@Self)^.clr := $00000001;
  28898. end;
  28899. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  28900. begin
  28901. if thebits = 0 then
  28902. pTDefRegMap(@Self)^.clr := $00000001
  28903. else
  28904. pTDefRegMap(@Self)^.&set := $00000001;
  28905. end;
  28906. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  28907. begin
  28908. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28909. end;
  28910. procedure TADC10_AD1CSSL.setCSSL1; inline;
  28911. begin
  28912. pTDefRegMap(@Self)^.&set := $00000002;
  28913. end;
  28914. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  28915. begin
  28916. pTDefRegMap(@Self)^.clr := $00000002;
  28917. end;
  28918. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  28919. begin
  28920. if thebits = 0 then
  28921. pTDefRegMap(@Self)^.clr := $00000002
  28922. else
  28923. pTDefRegMap(@Self)^.&set := $00000002;
  28924. end;
  28925. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  28926. begin
  28927. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28928. end;
  28929. procedure TADC10_AD1CSSL.setCSSL2; inline;
  28930. begin
  28931. pTDefRegMap(@Self)^.&set := $00000004;
  28932. end;
  28933. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  28934. begin
  28935. pTDefRegMap(@Self)^.clr := $00000004;
  28936. end;
  28937. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  28938. begin
  28939. if thebits = 0 then
  28940. pTDefRegMap(@Self)^.clr := $00000004
  28941. else
  28942. pTDefRegMap(@Self)^.&set := $00000004;
  28943. end;
  28944. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  28945. begin
  28946. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28947. end;
  28948. procedure TADC10_AD1CSSL.setCSSL3; inline;
  28949. begin
  28950. pTDefRegMap(@Self)^.&set := $00000008;
  28951. end;
  28952. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  28953. begin
  28954. pTDefRegMap(@Self)^.clr := $00000008;
  28955. end;
  28956. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  28957. begin
  28958. if thebits = 0 then
  28959. pTDefRegMap(@Self)^.clr := $00000008
  28960. else
  28961. pTDefRegMap(@Self)^.&set := $00000008;
  28962. end;
  28963. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  28964. begin
  28965. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28966. end;
  28967. procedure TADC10_AD1CSSL.setCSSL4; inline;
  28968. begin
  28969. pTDefRegMap(@Self)^.&set := $00000010;
  28970. end;
  28971. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  28972. begin
  28973. pTDefRegMap(@Self)^.clr := $00000010;
  28974. end;
  28975. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  28976. begin
  28977. if thebits = 0 then
  28978. pTDefRegMap(@Self)^.clr := $00000010
  28979. else
  28980. pTDefRegMap(@Self)^.&set := $00000010;
  28981. end;
  28982. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  28983. begin
  28984. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28985. end;
  28986. procedure TADC10_AD1CSSL.setCSSL5; inline;
  28987. begin
  28988. pTDefRegMap(@Self)^.&set := $00000020;
  28989. end;
  28990. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  28991. begin
  28992. pTDefRegMap(@Self)^.clr := $00000020;
  28993. end;
  28994. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  28995. begin
  28996. if thebits = 0 then
  28997. pTDefRegMap(@Self)^.clr := $00000020
  28998. else
  28999. pTDefRegMap(@Self)^.&set := $00000020;
  29000. end;
  29001. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  29002. begin
  29003. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29004. end;
  29005. procedure TADC10_AD1CSSL.setCSSL6; inline;
  29006. begin
  29007. pTDefRegMap(@Self)^.&set := $00000040;
  29008. end;
  29009. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  29010. begin
  29011. pTDefRegMap(@Self)^.clr := $00000040;
  29012. end;
  29013. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  29014. begin
  29015. if thebits = 0 then
  29016. pTDefRegMap(@Self)^.clr := $00000040
  29017. else
  29018. pTDefRegMap(@Self)^.&set := $00000040;
  29019. end;
  29020. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  29021. begin
  29022. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29023. end;
  29024. procedure TADC10_AD1CSSL.setCSSL7; inline;
  29025. begin
  29026. pTDefRegMap(@Self)^.&set := $00000080;
  29027. end;
  29028. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  29029. begin
  29030. pTDefRegMap(@Self)^.clr := $00000080;
  29031. end;
  29032. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  29033. begin
  29034. if thebits = 0 then
  29035. pTDefRegMap(@Self)^.clr := $00000080
  29036. else
  29037. pTDefRegMap(@Self)^.&set := $00000080;
  29038. end;
  29039. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  29040. begin
  29041. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29042. end;
  29043. procedure TADC10_AD1CSSL.setCSSL8; inline;
  29044. begin
  29045. pTDefRegMap(@Self)^.&set := $00000100;
  29046. end;
  29047. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  29048. begin
  29049. pTDefRegMap(@Self)^.clr := $00000100;
  29050. end;
  29051. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  29052. begin
  29053. if thebits = 0 then
  29054. pTDefRegMap(@Self)^.clr := $00000100
  29055. else
  29056. pTDefRegMap(@Self)^.&set := $00000100;
  29057. end;
  29058. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  29059. begin
  29060. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29061. end;
  29062. procedure TADC10_AD1CSSL.setCSSL9; inline;
  29063. begin
  29064. pTDefRegMap(@Self)^.&set := $00000200;
  29065. end;
  29066. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  29067. begin
  29068. pTDefRegMap(@Self)^.clr := $00000200;
  29069. end;
  29070. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  29071. begin
  29072. if thebits = 0 then
  29073. pTDefRegMap(@Self)^.clr := $00000200
  29074. else
  29075. pTDefRegMap(@Self)^.&set := $00000200;
  29076. end;
  29077. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  29078. begin
  29079. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29080. end;
  29081. procedure TADC10_AD1CSSL.setCSSL10; inline;
  29082. begin
  29083. pTDefRegMap(@Self)^.&set := $00000400;
  29084. end;
  29085. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  29086. begin
  29087. pTDefRegMap(@Self)^.clr := $00000400;
  29088. end;
  29089. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  29090. begin
  29091. if thebits = 0 then
  29092. pTDefRegMap(@Self)^.clr := $00000400
  29093. else
  29094. pTDefRegMap(@Self)^.&set := $00000400;
  29095. end;
  29096. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  29097. begin
  29098. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29099. end;
  29100. procedure TADC10_AD1CSSL.setCSSL11; inline;
  29101. begin
  29102. pTDefRegMap(@Self)^.&set := $00000800;
  29103. end;
  29104. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  29105. begin
  29106. pTDefRegMap(@Self)^.clr := $00000800;
  29107. end;
  29108. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  29109. begin
  29110. if thebits = 0 then
  29111. pTDefRegMap(@Self)^.clr := $00000800
  29112. else
  29113. pTDefRegMap(@Self)^.&set := $00000800;
  29114. end;
  29115. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  29116. begin
  29117. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29118. end;
  29119. procedure TADC10_AD1CSSL.setCSSL12; inline;
  29120. begin
  29121. pTDefRegMap(@Self)^.&set := $00001000;
  29122. end;
  29123. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  29124. begin
  29125. pTDefRegMap(@Self)^.clr := $00001000;
  29126. end;
  29127. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  29128. begin
  29129. if thebits = 0 then
  29130. pTDefRegMap(@Self)^.clr := $00001000
  29131. else
  29132. pTDefRegMap(@Self)^.&set := $00001000;
  29133. end;
  29134. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  29135. begin
  29136. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29137. end;
  29138. procedure TADC10_AD1CSSL.setCSSL13; inline;
  29139. begin
  29140. pTDefRegMap(@Self)^.&set := $00002000;
  29141. end;
  29142. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  29143. begin
  29144. pTDefRegMap(@Self)^.clr := $00002000;
  29145. end;
  29146. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  29147. begin
  29148. if thebits = 0 then
  29149. pTDefRegMap(@Self)^.clr := $00002000
  29150. else
  29151. pTDefRegMap(@Self)^.&set := $00002000;
  29152. end;
  29153. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  29154. begin
  29155. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29156. end;
  29157. procedure TADC10_AD1CSSL.setCSSL14; inline;
  29158. begin
  29159. pTDefRegMap(@Self)^.&set := $00004000;
  29160. end;
  29161. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  29162. begin
  29163. pTDefRegMap(@Self)^.clr := $00004000;
  29164. end;
  29165. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  29166. begin
  29167. if thebits = 0 then
  29168. pTDefRegMap(@Self)^.clr := $00004000
  29169. else
  29170. pTDefRegMap(@Self)^.&set := $00004000;
  29171. end;
  29172. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  29173. begin
  29174. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29175. end;
  29176. procedure TADC10_AD1CSSL.setCSSL15; inline;
  29177. begin
  29178. pTDefRegMap(@Self)^.&set := $00008000;
  29179. end;
  29180. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  29181. begin
  29182. pTDefRegMap(@Self)^.clr := $00008000;
  29183. end;
  29184. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  29185. begin
  29186. if thebits = 0 then
  29187. pTDefRegMap(@Self)^.clr := $00008000
  29188. else
  29189. pTDefRegMap(@Self)^.&set := $00008000;
  29190. end;
  29191. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  29192. begin
  29193. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29194. end;
  29195. procedure TADC10_AD1CSSL.setCSSL16; inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.&set := $00010000;
  29198. end;
  29199. procedure TADC10_AD1CSSL.clearCSSL16; inline;
  29200. begin
  29201. pTDefRegMap(@Self)^.clr := $00010000;
  29202. end;
  29203. procedure TADC10_AD1CSSL.setCSSL16(thebits : TBits_1); inline;
  29204. begin
  29205. if thebits = 0 then
  29206. pTDefRegMap(@Self)^.clr := $00010000
  29207. else
  29208. pTDefRegMap(@Self)^.&set := $00010000;
  29209. end;
  29210. function TADC10_AD1CSSL.getCSSL16 : TBits_1; inline;
  29211. begin
  29212. getCSSL16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29213. end;
  29214. procedure TADC10_AD1CSSL.setCSSL17; inline;
  29215. begin
  29216. pTDefRegMap(@Self)^.&set := $00020000;
  29217. end;
  29218. procedure TADC10_AD1CSSL.clearCSSL17; inline;
  29219. begin
  29220. pTDefRegMap(@Self)^.clr := $00020000;
  29221. end;
  29222. procedure TADC10_AD1CSSL.setCSSL17(thebits : TBits_1); inline;
  29223. begin
  29224. if thebits = 0 then
  29225. pTDefRegMap(@Self)^.clr := $00020000
  29226. else
  29227. pTDefRegMap(@Self)^.&set := $00020000;
  29228. end;
  29229. function TADC10_AD1CSSL.getCSSL17 : TBits_1; inline;
  29230. begin
  29231. getCSSL17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29232. end;
  29233. procedure TADC10_AD1CSSL.setCSSL18; inline;
  29234. begin
  29235. pTDefRegMap(@Self)^.&set := $00040000;
  29236. end;
  29237. procedure TADC10_AD1CSSL.clearCSSL18; inline;
  29238. begin
  29239. pTDefRegMap(@Self)^.clr := $00040000;
  29240. end;
  29241. procedure TADC10_AD1CSSL.setCSSL18(thebits : TBits_1); inline;
  29242. begin
  29243. if thebits = 0 then
  29244. pTDefRegMap(@Self)^.clr := $00040000
  29245. else
  29246. pTDefRegMap(@Self)^.&set := $00040000;
  29247. end;
  29248. function TADC10_AD1CSSL.getCSSL18 : TBits_1; inline;
  29249. begin
  29250. getCSSL18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29251. end;
  29252. procedure TADC10_AD1CSSL.setCSSL19; inline;
  29253. begin
  29254. pTDefRegMap(@Self)^.&set := $00080000;
  29255. end;
  29256. procedure TADC10_AD1CSSL.clearCSSL19; inline;
  29257. begin
  29258. pTDefRegMap(@Self)^.clr := $00080000;
  29259. end;
  29260. procedure TADC10_AD1CSSL.setCSSL19(thebits : TBits_1); inline;
  29261. begin
  29262. if thebits = 0 then
  29263. pTDefRegMap(@Self)^.clr := $00080000
  29264. else
  29265. pTDefRegMap(@Self)^.&set := $00080000;
  29266. end;
  29267. function TADC10_AD1CSSL.getCSSL19 : TBits_1; inline;
  29268. begin
  29269. getCSSL19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29270. end;
  29271. procedure TADC10_AD1CSSL.setCSSL20; inline;
  29272. begin
  29273. pTDefRegMap(@Self)^.&set := $00100000;
  29274. end;
  29275. procedure TADC10_AD1CSSL.clearCSSL20; inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.clr := $00100000;
  29278. end;
  29279. procedure TADC10_AD1CSSL.setCSSL20(thebits : TBits_1); inline;
  29280. begin
  29281. if thebits = 0 then
  29282. pTDefRegMap(@Self)^.clr := $00100000
  29283. else
  29284. pTDefRegMap(@Self)^.&set := $00100000;
  29285. end;
  29286. function TADC10_AD1CSSL.getCSSL20 : TBits_1; inline;
  29287. begin
  29288. getCSSL20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29289. end;
  29290. procedure TADC10_AD1CSSL.setCSSL21; inline;
  29291. begin
  29292. pTDefRegMap(@Self)^.&set := $00200000;
  29293. end;
  29294. procedure TADC10_AD1CSSL.clearCSSL21; inline;
  29295. begin
  29296. pTDefRegMap(@Self)^.clr := $00200000;
  29297. end;
  29298. procedure TADC10_AD1CSSL.setCSSL21(thebits : TBits_1); inline;
  29299. begin
  29300. if thebits = 0 then
  29301. pTDefRegMap(@Self)^.clr := $00200000
  29302. else
  29303. pTDefRegMap(@Self)^.&set := $00200000;
  29304. end;
  29305. function TADC10_AD1CSSL.getCSSL21 : TBits_1; inline;
  29306. begin
  29307. getCSSL21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  29308. end;
  29309. procedure TADC10_AD1CSSL.setCSSL22; inline;
  29310. begin
  29311. pTDefRegMap(@Self)^.&set := $00400000;
  29312. end;
  29313. procedure TADC10_AD1CSSL.clearCSSL22; inline;
  29314. begin
  29315. pTDefRegMap(@Self)^.clr := $00400000;
  29316. end;
  29317. procedure TADC10_AD1CSSL.setCSSL22(thebits : TBits_1); inline;
  29318. begin
  29319. if thebits = 0 then
  29320. pTDefRegMap(@Self)^.clr := $00400000
  29321. else
  29322. pTDefRegMap(@Self)^.&set := $00400000;
  29323. end;
  29324. function TADC10_AD1CSSL.getCSSL22 : TBits_1; inline;
  29325. begin
  29326. getCSSL22 := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  29327. end;
  29328. procedure TADC10_AD1CSSL.setCSSL23; inline;
  29329. begin
  29330. pTDefRegMap(@Self)^.&set := $00800000;
  29331. end;
  29332. procedure TADC10_AD1CSSL.clearCSSL23; inline;
  29333. begin
  29334. pTDefRegMap(@Self)^.clr := $00800000;
  29335. end;
  29336. procedure TADC10_AD1CSSL.setCSSL23(thebits : TBits_1); inline;
  29337. begin
  29338. if thebits = 0 then
  29339. pTDefRegMap(@Self)^.clr := $00800000
  29340. else
  29341. pTDefRegMap(@Self)^.&set := $00800000;
  29342. end;
  29343. function TADC10_AD1CSSL.getCSSL23 : TBits_1; inline;
  29344. begin
  29345. getCSSL23 := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  29346. end;
  29347. procedure TADC10_AD1CSSL.setCSSL24; inline;
  29348. begin
  29349. pTDefRegMap(@Self)^.&set := $01000000;
  29350. end;
  29351. procedure TADC10_AD1CSSL.clearCSSL24; inline;
  29352. begin
  29353. pTDefRegMap(@Self)^.clr := $01000000;
  29354. end;
  29355. procedure TADC10_AD1CSSL.setCSSL24(thebits : TBits_1); inline;
  29356. begin
  29357. if thebits = 0 then
  29358. pTDefRegMap(@Self)^.clr := $01000000
  29359. else
  29360. pTDefRegMap(@Self)^.&set := $01000000;
  29361. end;
  29362. function TADC10_AD1CSSL.getCSSL24 : TBits_1; inline;
  29363. begin
  29364. getCSSL24 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29365. end;
  29366. procedure TADC10_AD1CSSL.setCSSL25; inline;
  29367. begin
  29368. pTDefRegMap(@Self)^.&set := $02000000;
  29369. end;
  29370. procedure TADC10_AD1CSSL.clearCSSL25; inline;
  29371. begin
  29372. pTDefRegMap(@Self)^.clr := $02000000;
  29373. end;
  29374. procedure TADC10_AD1CSSL.setCSSL25(thebits : TBits_1); inline;
  29375. begin
  29376. if thebits = 0 then
  29377. pTDefRegMap(@Self)^.clr := $02000000
  29378. else
  29379. pTDefRegMap(@Self)^.&set := $02000000;
  29380. end;
  29381. function TADC10_AD1CSSL.getCSSL25 : TBits_1; inline;
  29382. begin
  29383. getCSSL25 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  29384. end;
  29385. procedure TADC10_AD1CSSL.setCSSL26; inline;
  29386. begin
  29387. pTDefRegMap(@Self)^.&set := $04000000;
  29388. end;
  29389. procedure TADC10_AD1CSSL.clearCSSL26; inline;
  29390. begin
  29391. pTDefRegMap(@Self)^.clr := $04000000;
  29392. end;
  29393. procedure TADC10_AD1CSSL.setCSSL26(thebits : TBits_1); inline;
  29394. begin
  29395. if thebits = 0 then
  29396. pTDefRegMap(@Self)^.clr := $04000000
  29397. else
  29398. pTDefRegMap(@Self)^.&set := $04000000;
  29399. end;
  29400. function TADC10_AD1CSSL.getCSSL26 : TBits_1; inline;
  29401. begin
  29402. getCSSL26 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29403. end;
  29404. procedure TADC10_AD1CSSL.setCSSL27; inline;
  29405. begin
  29406. pTDefRegMap(@Self)^.&set := $08000000;
  29407. end;
  29408. procedure TADC10_AD1CSSL.clearCSSL27; inline;
  29409. begin
  29410. pTDefRegMap(@Self)^.clr := $08000000;
  29411. end;
  29412. procedure TADC10_AD1CSSL.setCSSL27(thebits : TBits_1); inline;
  29413. begin
  29414. if thebits = 0 then
  29415. pTDefRegMap(@Self)^.clr := $08000000
  29416. else
  29417. pTDefRegMap(@Self)^.&set := $08000000;
  29418. end;
  29419. function TADC10_AD1CSSL.getCSSL27 : TBits_1; inline;
  29420. begin
  29421. getCSSL27 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29422. end;
  29423. procedure TADC10_AD1CSSL.setCSSL28; inline;
  29424. begin
  29425. pTDefRegMap(@Self)^.&set := $10000000;
  29426. end;
  29427. procedure TADC10_AD1CSSL.clearCSSL28; inline;
  29428. begin
  29429. pTDefRegMap(@Self)^.clr := $10000000;
  29430. end;
  29431. procedure TADC10_AD1CSSL.setCSSL28(thebits : TBits_1); inline;
  29432. begin
  29433. if thebits = 0 then
  29434. pTDefRegMap(@Self)^.clr := $10000000
  29435. else
  29436. pTDefRegMap(@Self)^.&set := $10000000;
  29437. end;
  29438. function TADC10_AD1CSSL.getCSSL28 : TBits_1; inline;
  29439. begin
  29440. getCSSL28 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  29441. end;
  29442. procedure TADC10_AD1CSSL.setCSSL29; inline;
  29443. begin
  29444. pTDefRegMap(@Self)^.&set := $20000000;
  29445. end;
  29446. procedure TADC10_AD1CSSL.clearCSSL29; inline;
  29447. begin
  29448. pTDefRegMap(@Self)^.clr := $20000000;
  29449. end;
  29450. procedure TADC10_AD1CSSL.setCSSL29(thebits : TBits_1); inline;
  29451. begin
  29452. if thebits = 0 then
  29453. pTDefRegMap(@Self)^.clr := $20000000
  29454. else
  29455. pTDefRegMap(@Self)^.&set := $20000000;
  29456. end;
  29457. function TADC10_AD1CSSL.getCSSL29 : TBits_1; inline;
  29458. begin
  29459. getCSSL29 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  29460. end;
  29461. procedure TADC10_AD1CSSL.setCSSL30; inline;
  29462. begin
  29463. pTDefRegMap(@Self)^.&set := $40000000;
  29464. end;
  29465. procedure TADC10_AD1CSSL.clearCSSL30; inline;
  29466. begin
  29467. pTDefRegMap(@Self)^.clr := $40000000;
  29468. end;
  29469. procedure TADC10_AD1CSSL.setCSSL30(thebits : TBits_1); inline;
  29470. begin
  29471. if thebits = 0 then
  29472. pTDefRegMap(@Self)^.clr := $40000000
  29473. else
  29474. pTDefRegMap(@Self)^.&set := $40000000;
  29475. end;
  29476. function TADC10_AD1CSSL.getCSSL30 : TBits_1; inline;
  29477. begin
  29478. getCSSL30 := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  29479. end;
  29480. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  29481. begin
  29482. pTDefRegMap(@Self)^.val := thebits;
  29483. end;
  29484. function TADC10_AD1CSSL.getw : TBits_32; inline;
  29485. begin
  29486. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29487. end;
  29488. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  29489. begin
  29490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  29491. end;
  29492. function TCVR_CVRCON.getCVR : TBits_4; inline;
  29493. begin
  29494. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  29495. end;
  29496. procedure TCVR_CVRCON.setCVRSS; inline;
  29497. begin
  29498. pTDefRegMap(@Self)^.&set := $00000010;
  29499. end;
  29500. procedure TCVR_CVRCON.clearCVRSS; inline;
  29501. begin
  29502. pTDefRegMap(@Self)^.clr := $00000010;
  29503. end;
  29504. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  29505. begin
  29506. if thebits = 0 then
  29507. pTDefRegMap(@Self)^.clr := $00000010
  29508. else
  29509. pTDefRegMap(@Self)^.&set := $00000010;
  29510. end;
  29511. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  29512. begin
  29513. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29514. end;
  29515. procedure TCVR_CVRCON.setCVRR; inline;
  29516. begin
  29517. pTDefRegMap(@Self)^.&set := $00000020;
  29518. end;
  29519. procedure TCVR_CVRCON.clearCVRR; inline;
  29520. begin
  29521. pTDefRegMap(@Self)^.clr := $00000020;
  29522. end;
  29523. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  29524. begin
  29525. if thebits = 0 then
  29526. pTDefRegMap(@Self)^.clr := $00000020
  29527. else
  29528. pTDefRegMap(@Self)^.&set := $00000020;
  29529. end;
  29530. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  29531. begin
  29532. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29533. end;
  29534. procedure TCVR_CVRCON.setCVROE; inline;
  29535. begin
  29536. pTDefRegMap(@Self)^.&set := $00000040;
  29537. end;
  29538. procedure TCVR_CVRCON.clearCVROE; inline;
  29539. begin
  29540. pTDefRegMap(@Self)^.clr := $00000040;
  29541. end;
  29542. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  29543. begin
  29544. if thebits = 0 then
  29545. pTDefRegMap(@Self)^.clr := $00000040
  29546. else
  29547. pTDefRegMap(@Self)^.&set := $00000040;
  29548. end;
  29549. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  29550. begin
  29551. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29552. end;
  29553. procedure TCVR_CVRCON.setON; inline;
  29554. begin
  29555. pTDefRegMap(@Self)^.&set := $00008000;
  29556. end;
  29557. procedure TCVR_CVRCON.clearON; inline;
  29558. begin
  29559. pTDefRegMap(@Self)^.clr := $00008000;
  29560. end;
  29561. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  29562. begin
  29563. if thebits = 0 then
  29564. pTDefRegMap(@Self)^.clr := $00008000
  29565. else
  29566. pTDefRegMap(@Self)^.&set := $00008000;
  29567. end;
  29568. function TCVR_CVRCON.getON : TBits_1; inline;
  29569. begin
  29570. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29571. end;
  29572. procedure TCVR_CVRCON.setCVR0; inline;
  29573. begin
  29574. pTDefRegMap(@Self)^.&set := $00000001;
  29575. end;
  29576. procedure TCVR_CVRCON.clearCVR0; inline;
  29577. begin
  29578. pTDefRegMap(@Self)^.clr := $00000001;
  29579. end;
  29580. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  29581. begin
  29582. if thebits = 0 then
  29583. pTDefRegMap(@Self)^.clr := $00000001
  29584. else
  29585. pTDefRegMap(@Self)^.&set := $00000001;
  29586. end;
  29587. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  29588. begin
  29589. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29590. end;
  29591. procedure TCVR_CVRCON.setCVR1; inline;
  29592. begin
  29593. pTDefRegMap(@Self)^.&set := $00000002;
  29594. end;
  29595. procedure TCVR_CVRCON.clearCVR1; inline;
  29596. begin
  29597. pTDefRegMap(@Self)^.clr := $00000002;
  29598. end;
  29599. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  29600. begin
  29601. if thebits = 0 then
  29602. pTDefRegMap(@Self)^.clr := $00000002
  29603. else
  29604. pTDefRegMap(@Self)^.&set := $00000002;
  29605. end;
  29606. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  29607. begin
  29608. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29609. end;
  29610. procedure TCVR_CVRCON.setCVR2; inline;
  29611. begin
  29612. pTDefRegMap(@Self)^.&set := $00000004;
  29613. end;
  29614. procedure TCVR_CVRCON.clearCVR2; inline;
  29615. begin
  29616. pTDefRegMap(@Self)^.clr := $00000004;
  29617. end;
  29618. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  29619. begin
  29620. if thebits = 0 then
  29621. pTDefRegMap(@Self)^.clr := $00000004
  29622. else
  29623. pTDefRegMap(@Self)^.&set := $00000004;
  29624. end;
  29625. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  29626. begin
  29627. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29628. end;
  29629. procedure TCVR_CVRCON.setCVR3; inline;
  29630. begin
  29631. pTDefRegMap(@Self)^.&set := $00000008;
  29632. end;
  29633. procedure TCVR_CVRCON.clearCVR3; inline;
  29634. begin
  29635. pTDefRegMap(@Self)^.clr := $00000008;
  29636. end;
  29637. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  29638. begin
  29639. if thebits = 0 then
  29640. pTDefRegMap(@Self)^.clr := $00000008
  29641. else
  29642. pTDefRegMap(@Self)^.&set := $00000008;
  29643. end;
  29644. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  29645. begin
  29646. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29647. end;
  29648. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  29649. begin
  29650. pTDefRegMap(@Self)^.val := thebits;
  29651. end;
  29652. function TCVR_CVRCON.getw : TBits_32; inline;
  29653. begin
  29654. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29655. end;
  29656. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  29657. begin
  29658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29659. end;
  29660. function TCMP_CM1CON.getCCH : TBits_2; inline;
  29661. begin
  29662. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29663. end;
  29664. procedure TCMP_CM1CON.setCREF; inline;
  29665. begin
  29666. pTDefRegMap(@Self)^.&set := $00000010;
  29667. end;
  29668. procedure TCMP_CM1CON.clearCREF; inline;
  29669. begin
  29670. pTDefRegMap(@Self)^.clr := $00000010;
  29671. end;
  29672. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  29673. begin
  29674. if thebits = 0 then
  29675. pTDefRegMap(@Self)^.clr := $00000010
  29676. else
  29677. pTDefRegMap(@Self)^.&set := $00000010;
  29678. end;
  29679. function TCMP_CM1CON.getCREF : TBits_1; inline;
  29680. begin
  29681. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29682. end;
  29683. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  29684. begin
  29685. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29686. end;
  29687. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  29688. begin
  29689. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29690. end;
  29691. procedure TCMP_CM1CON.setCOUT; inline;
  29692. begin
  29693. pTDefRegMap(@Self)^.&set := $00000100;
  29694. end;
  29695. procedure TCMP_CM1CON.clearCOUT; inline;
  29696. begin
  29697. pTDefRegMap(@Self)^.clr := $00000100;
  29698. end;
  29699. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  29700. begin
  29701. if thebits = 0 then
  29702. pTDefRegMap(@Self)^.clr := $00000100
  29703. else
  29704. pTDefRegMap(@Self)^.&set := $00000100;
  29705. end;
  29706. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  29707. begin
  29708. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29709. end;
  29710. procedure TCMP_CM1CON.setCPOL; inline;
  29711. begin
  29712. pTDefRegMap(@Self)^.&set := $00002000;
  29713. end;
  29714. procedure TCMP_CM1CON.clearCPOL; inline;
  29715. begin
  29716. pTDefRegMap(@Self)^.clr := $00002000;
  29717. end;
  29718. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  29719. begin
  29720. if thebits = 0 then
  29721. pTDefRegMap(@Self)^.clr := $00002000
  29722. else
  29723. pTDefRegMap(@Self)^.&set := $00002000;
  29724. end;
  29725. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  29726. begin
  29727. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29728. end;
  29729. procedure TCMP_CM1CON.setCOE; inline;
  29730. begin
  29731. pTDefRegMap(@Self)^.&set := $00004000;
  29732. end;
  29733. procedure TCMP_CM1CON.clearCOE; inline;
  29734. begin
  29735. pTDefRegMap(@Self)^.clr := $00004000;
  29736. end;
  29737. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  29738. begin
  29739. if thebits = 0 then
  29740. pTDefRegMap(@Self)^.clr := $00004000
  29741. else
  29742. pTDefRegMap(@Self)^.&set := $00004000;
  29743. end;
  29744. function TCMP_CM1CON.getCOE : TBits_1; inline;
  29745. begin
  29746. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29747. end;
  29748. procedure TCMP_CM1CON.setON; inline;
  29749. begin
  29750. pTDefRegMap(@Self)^.&set := $00008000;
  29751. end;
  29752. procedure TCMP_CM1CON.clearON; inline;
  29753. begin
  29754. pTDefRegMap(@Self)^.clr := $00008000;
  29755. end;
  29756. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  29757. begin
  29758. if thebits = 0 then
  29759. pTDefRegMap(@Self)^.clr := $00008000
  29760. else
  29761. pTDefRegMap(@Self)^.&set := $00008000;
  29762. end;
  29763. function TCMP_CM1CON.getON : TBits_1; inline;
  29764. begin
  29765. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29766. end;
  29767. procedure TCMP_CM1CON.setCCH0; inline;
  29768. begin
  29769. pTDefRegMap(@Self)^.&set := $00000001;
  29770. end;
  29771. procedure TCMP_CM1CON.clearCCH0; inline;
  29772. begin
  29773. pTDefRegMap(@Self)^.clr := $00000001;
  29774. end;
  29775. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  29776. begin
  29777. if thebits = 0 then
  29778. pTDefRegMap(@Self)^.clr := $00000001
  29779. else
  29780. pTDefRegMap(@Self)^.&set := $00000001;
  29781. end;
  29782. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  29783. begin
  29784. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29785. end;
  29786. procedure TCMP_CM1CON.setCCH1; inline;
  29787. begin
  29788. pTDefRegMap(@Self)^.&set := $00000002;
  29789. end;
  29790. procedure TCMP_CM1CON.clearCCH1; inline;
  29791. begin
  29792. pTDefRegMap(@Self)^.clr := $00000002;
  29793. end;
  29794. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  29795. begin
  29796. if thebits = 0 then
  29797. pTDefRegMap(@Self)^.clr := $00000002
  29798. else
  29799. pTDefRegMap(@Self)^.&set := $00000002;
  29800. end;
  29801. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  29802. begin
  29803. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29804. end;
  29805. procedure TCMP_CM1CON.setEVPOL0; inline;
  29806. begin
  29807. pTDefRegMap(@Self)^.&set := $00000040;
  29808. end;
  29809. procedure TCMP_CM1CON.clearEVPOL0; inline;
  29810. begin
  29811. pTDefRegMap(@Self)^.clr := $00000040;
  29812. end;
  29813. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  29814. begin
  29815. if thebits = 0 then
  29816. pTDefRegMap(@Self)^.clr := $00000040
  29817. else
  29818. pTDefRegMap(@Self)^.&set := $00000040;
  29819. end;
  29820. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  29821. begin
  29822. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29823. end;
  29824. procedure TCMP_CM1CON.setEVPOL1; inline;
  29825. begin
  29826. pTDefRegMap(@Self)^.&set := $00000080;
  29827. end;
  29828. procedure TCMP_CM1CON.clearEVPOL1; inline;
  29829. begin
  29830. pTDefRegMap(@Self)^.clr := $00000080;
  29831. end;
  29832. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  29833. begin
  29834. if thebits = 0 then
  29835. pTDefRegMap(@Self)^.clr := $00000080
  29836. else
  29837. pTDefRegMap(@Self)^.&set := $00000080;
  29838. end;
  29839. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  29840. begin
  29841. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29842. end;
  29843. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  29844. begin
  29845. pTDefRegMap(@Self)^.val := thebits;
  29846. end;
  29847. function TCMP_CM1CON.getw : TBits_32; inline;
  29848. begin
  29849. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29850. end;
  29851. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  29852. begin
  29853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29854. end;
  29855. function TCMP_CM2CON.getCCH : TBits_2; inline;
  29856. begin
  29857. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29858. end;
  29859. procedure TCMP_CM2CON.setCREF; inline;
  29860. begin
  29861. pTDefRegMap(@Self)^.&set := $00000010;
  29862. end;
  29863. procedure TCMP_CM2CON.clearCREF; inline;
  29864. begin
  29865. pTDefRegMap(@Self)^.clr := $00000010;
  29866. end;
  29867. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  29868. begin
  29869. if thebits = 0 then
  29870. pTDefRegMap(@Self)^.clr := $00000010
  29871. else
  29872. pTDefRegMap(@Self)^.&set := $00000010;
  29873. end;
  29874. function TCMP_CM2CON.getCREF : TBits_1; inline;
  29875. begin
  29876. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29877. end;
  29878. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  29879. begin
  29880. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29881. end;
  29882. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  29883. begin
  29884. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29885. end;
  29886. procedure TCMP_CM2CON.setCOUT; inline;
  29887. begin
  29888. pTDefRegMap(@Self)^.&set := $00000100;
  29889. end;
  29890. procedure TCMP_CM2CON.clearCOUT; inline;
  29891. begin
  29892. pTDefRegMap(@Self)^.clr := $00000100;
  29893. end;
  29894. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  29895. begin
  29896. if thebits = 0 then
  29897. pTDefRegMap(@Self)^.clr := $00000100
  29898. else
  29899. pTDefRegMap(@Self)^.&set := $00000100;
  29900. end;
  29901. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  29902. begin
  29903. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29904. end;
  29905. procedure TCMP_CM2CON.setCPOL; inline;
  29906. begin
  29907. pTDefRegMap(@Self)^.&set := $00002000;
  29908. end;
  29909. procedure TCMP_CM2CON.clearCPOL; inline;
  29910. begin
  29911. pTDefRegMap(@Self)^.clr := $00002000;
  29912. end;
  29913. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  29914. begin
  29915. if thebits = 0 then
  29916. pTDefRegMap(@Self)^.clr := $00002000
  29917. else
  29918. pTDefRegMap(@Self)^.&set := $00002000;
  29919. end;
  29920. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  29921. begin
  29922. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29923. end;
  29924. procedure TCMP_CM2CON.setCOE; inline;
  29925. begin
  29926. pTDefRegMap(@Self)^.&set := $00004000;
  29927. end;
  29928. procedure TCMP_CM2CON.clearCOE; inline;
  29929. begin
  29930. pTDefRegMap(@Self)^.clr := $00004000;
  29931. end;
  29932. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  29933. begin
  29934. if thebits = 0 then
  29935. pTDefRegMap(@Self)^.clr := $00004000
  29936. else
  29937. pTDefRegMap(@Self)^.&set := $00004000;
  29938. end;
  29939. function TCMP_CM2CON.getCOE : TBits_1; inline;
  29940. begin
  29941. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29942. end;
  29943. procedure TCMP_CM2CON.setON; inline;
  29944. begin
  29945. pTDefRegMap(@Self)^.&set := $00008000;
  29946. end;
  29947. procedure TCMP_CM2CON.clearON; inline;
  29948. begin
  29949. pTDefRegMap(@Self)^.clr := $00008000;
  29950. end;
  29951. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  29952. begin
  29953. if thebits = 0 then
  29954. pTDefRegMap(@Self)^.clr := $00008000
  29955. else
  29956. pTDefRegMap(@Self)^.&set := $00008000;
  29957. end;
  29958. function TCMP_CM2CON.getON : TBits_1; inline;
  29959. begin
  29960. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29961. end;
  29962. procedure TCMP_CM2CON.setCCH0; inline;
  29963. begin
  29964. pTDefRegMap(@Self)^.&set := $00000001;
  29965. end;
  29966. procedure TCMP_CM2CON.clearCCH0; inline;
  29967. begin
  29968. pTDefRegMap(@Self)^.clr := $00000001;
  29969. end;
  29970. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  29971. begin
  29972. if thebits = 0 then
  29973. pTDefRegMap(@Self)^.clr := $00000001
  29974. else
  29975. pTDefRegMap(@Self)^.&set := $00000001;
  29976. end;
  29977. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  29978. begin
  29979. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29980. end;
  29981. procedure TCMP_CM2CON.setCCH1; inline;
  29982. begin
  29983. pTDefRegMap(@Self)^.&set := $00000002;
  29984. end;
  29985. procedure TCMP_CM2CON.clearCCH1; inline;
  29986. begin
  29987. pTDefRegMap(@Self)^.clr := $00000002;
  29988. end;
  29989. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  29990. begin
  29991. if thebits = 0 then
  29992. pTDefRegMap(@Self)^.clr := $00000002
  29993. else
  29994. pTDefRegMap(@Self)^.&set := $00000002;
  29995. end;
  29996. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  29997. begin
  29998. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29999. end;
  30000. procedure TCMP_CM2CON.setEVPOL0; inline;
  30001. begin
  30002. pTDefRegMap(@Self)^.&set := $00000040;
  30003. end;
  30004. procedure TCMP_CM2CON.clearEVPOL0; inline;
  30005. begin
  30006. pTDefRegMap(@Self)^.clr := $00000040;
  30007. end;
  30008. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  30009. begin
  30010. if thebits = 0 then
  30011. pTDefRegMap(@Self)^.clr := $00000040
  30012. else
  30013. pTDefRegMap(@Self)^.&set := $00000040;
  30014. end;
  30015. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  30016. begin
  30017. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30018. end;
  30019. procedure TCMP_CM2CON.setEVPOL1; inline;
  30020. begin
  30021. pTDefRegMap(@Self)^.&set := $00000080;
  30022. end;
  30023. procedure TCMP_CM2CON.clearEVPOL1; inline;
  30024. begin
  30025. pTDefRegMap(@Self)^.clr := $00000080;
  30026. end;
  30027. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  30028. begin
  30029. if thebits = 0 then
  30030. pTDefRegMap(@Self)^.clr := $00000080
  30031. else
  30032. pTDefRegMap(@Self)^.&set := $00000080;
  30033. end;
  30034. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  30035. begin
  30036. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30037. end;
  30038. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  30039. begin
  30040. pTDefRegMap(@Self)^.val := thebits;
  30041. end;
  30042. function TCMP_CM2CON.getw : TBits_32; inline;
  30043. begin
  30044. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30045. end;
  30046. procedure TCMP_CMSTAT.setC1OUT; inline;
  30047. begin
  30048. pTDefRegMap(@Self)^.&set := $00000001;
  30049. end;
  30050. procedure TCMP_CMSTAT.clearC1OUT; inline;
  30051. begin
  30052. pTDefRegMap(@Self)^.clr := $00000001;
  30053. end;
  30054. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  30055. begin
  30056. if thebits = 0 then
  30057. pTDefRegMap(@Self)^.clr := $00000001
  30058. else
  30059. pTDefRegMap(@Self)^.&set := $00000001;
  30060. end;
  30061. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  30062. begin
  30063. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30064. end;
  30065. procedure TCMP_CMSTAT.setC2OUT; inline;
  30066. begin
  30067. pTDefRegMap(@Self)^.&set := $00000002;
  30068. end;
  30069. procedure TCMP_CMSTAT.clearC2OUT; inline;
  30070. begin
  30071. pTDefRegMap(@Self)^.clr := $00000002;
  30072. end;
  30073. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  30074. begin
  30075. if thebits = 0 then
  30076. pTDefRegMap(@Self)^.clr := $00000002
  30077. else
  30078. pTDefRegMap(@Self)^.&set := $00000002;
  30079. end;
  30080. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  30081. begin
  30082. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30083. end;
  30084. procedure TCMP_CMSTAT.setSIDL; inline;
  30085. begin
  30086. pTDefRegMap(@Self)^.&set := $00002000;
  30087. end;
  30088. procedure TCMP_CMSTAT.clearSIDL; inline;
  30089. begin
  30090. pTDefRegMap(@Self)^.clr := $00002000;
  30091. end;
  30092. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  30093. begin
  30094. if thebits = 0 then
  30095. pTDefRegMap(@Self)^.clr := $00002000
  30096. else
  30097. pTDefRegMap(@Self)^.&set := $00002000;
  30098. end;
  30099. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  30100. begin
  30101. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30102. end;
  30103. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  30104. begin
  30105. pTDefRegMap(@Self)^.val := thebits;
  30106. end;
  30107. function TCMP_CMSTAT.getw : TBits_32; inline;
  30108. begin
  30109. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30110. end;
  30111. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  30112. begin
  30113. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30114. end;
  30115. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  30116. begin
  30117. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30118. end;
  30119. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  30120. begin
  30121. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  30122. end;
  30123. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  30124. begin
  30125. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  30126. end;
  30127. procedure TCMP_CTMUCON.setCTTRIG; inline;
  30128. begin
  30129. pTDefRegMap(@Self)^.&set := $00000100;
  30130. end;
  30131. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  30132. begin
  30133. pTDefRegMap(@Self)^.clr := $00000100;
  30134. end;
  30135. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  30136. begin
  30137. if thebits = 0 then
  30138. pTDefRegMap(@Self)^.clr := $00000100
  30139. else
  30140. pTDefRegMap(@Self)^.&set := $00000100;
  30141. end;
  30142. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  30143. begin
  30144. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30145. end;
  30146. procedure TCMP_CTMUCON.setIDISSEN; inline;
  30147. begin
  30148. pTDefRegMap(@Self)^.&set := $00000200;
  30149. end;
  30150. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  30151. begin
  30152. pTDefRegMap(@Self)^.clr := $00000200;
  30153. end;
  30154. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  30155. begin
  30156. if thebits = 0 then
  30157. pTDefRegMap(@Self)^.clr := $00000200
  30158. else
  30159. pTDefRegMap(@Self)^.&set := $00000200;
  30160. end;
  30161. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  30162. begin
  30163. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30164. end;
  30165. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  30166. begin
  30167. pTDefRegMap(@Self)^.&set := $00000400;
  30168. end;
  30169. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  30170. begin
  30171. pTDefRegMap(@Self)^.clr := $00000400;
  30172. end;
  30173. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  30174. begin
  30175. if thebits = 0 then
  30176. pTDefRegMap(@Self)^.clr := $00000400
  30177. else
  30178. pTDefRegMap(@Self)^.&set := $00000400;
  30179. end;
  30180. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  30181. begin
  30182. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30183. end;
  30184. procedure TCMP_CTMUCON.setEDGEN; inline;
  30185. begin
  30186. pTDefRegMap(@Self)^.&set := $00000800;
  30187. end;
  30188. procedure TCMP_CTMUCON.clearEDGEN; inline;
  30189. begin
  30190. pTDefRegMap(@Self)^.clr := $00000800;
  30191. end;
  30192. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  30193. begin
  30194. if thebits = 0 then
  30195. pTDefRegMap(@Self)^.clr := $00000800
  30196. else
  30197. pTDefRegMap(@Self)^.&set := $00000800;
  30198. end;
  30199. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  30200. begin
  30201. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30202. end;
  30203. procedure TCMP_CTMUCON.setTGEN; inline;
  30204. begin
  30205. pTDefRegMap(@Self)^.&set := $00001000;
  30206. end;
  30207. procedure TCMP_CTMUCON.clearTGEN; inline;
  30208. begin
  30209. pTDefRegMap(@Self)^.clr := $00001000;
  30210. end;
  30211. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  30212. begin
  30213. if thebits = 0 then
  30214. pTDefRegMap(@Self)^.clr := $00001000
  30215. else
  30216. pTDefRegMap(@Self)^.&set := $00001000;
  30217. end;
  30218. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  30219. begin
  30220. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30221. end;
  30222. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  30223. begin
  30224. pTDefRegMap(@Self)^.&set := $00002000;
  30225. end;
  30226. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  30227. begin
  30228. pTDefRegMap(@Self)^.clr := $00002000;
  30229. end;
  30230. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  30231. begin
  30232. if thebits = 0 then
  30233. pTDefRegMap(@Self)^.clr := $00002000
  30234. else
  30235. pTDefRegMap(@Self)^.&set := $00002000;
  30236. end;
  30237. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  30238. begin
  30239. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30240. end;
  30241. procedure TCMP_CTMUCON.setON; inline;
  30242. begin
  30243. pTDefRegMap(@Self)^.&set := $00008000;
  30244. end;
  30245. procedure TCMP_CTMUCON.clearON; inline;
  30246. begin
  30247. pTDefRegMap(@Self)^.clr := $00008000;
  30248. end;
  30249. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  30250. begin
  30251. if thebits = 0 then
  30252. pTDefRegMap(@Self)^.clr := $00008000
  30253. else
  30254. pTDefRegMap(@Self)^.&set := $00008000;
  30255. end;
  30256. function TCMP_CTMUCON.getON : TBits_1; inline;
  30257. begin
  30258. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30259. end;
  30260. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  30261. begin
  30262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  30263. end;
  30264. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  30265. begin
  30266. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  30267. end;
  30268. procedure TCMP_CTMUCON.setEDG2POL; inline;
  30269. begin
  30270. pTDefRegMap(@Self)^.&set := $00400000;
  30271. end;
  30272. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  30273. begin
  30274. pTDefRegMap(@Self)^.clr := $00400000;
  30275. end;
  30276. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  30277. begin
  30278. if thebits = 0 then
  30279. pTDefRegMap(@Self)^.clr := $00400000
  30280. else
  30281. pTDefRegMap(@Self)^.&set := $00400000;
  30282. end;
  30283. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  30284. begin
  30285. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30286. end;
  30287. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  30288. begin
  30289. pTDefRegMap(@Self)^.&set := $00800000;
  30290. end;
  30291. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  30292. begin
  30293. pTDefRegMap(@Self)^.clr := $00800000;
  30294. end;
  30295. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  30296. begin
  30297. if thebits = 0 then
  30298. pTDefRegMap(@Self)^.clr := $00800000
  30299. else
  30300. pTDefRegMap(@Self)^.&set := $00800000;
  30301. end;
  30302. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  30303. begin
  30304. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30305. end;
  30306. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  30307. begin
  30308. pTDefRegMap(@Self)^.&set := $01000000;
  30309. end;
  30310. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  30311. begin
  30312. pTDefRegMap(@Self)^.clr := $01000000;
  30313. end;
  30314. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  30315. begin
  30316. if thebits = 0 then
  30317. pTDefRegMap(@Self)^.clr := $01000000
  30318. else
  30319. pTDefRegMap(@Self)^.&set := $01000000;
  30320. end;
  30321. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  30322. begin
  30323. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30324. end;
  30325. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  30326. begin
  30327. pTDefRegMap(@Self)^.&set := $02000000;
  30328. end;
  30329. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  30330. begin
  30331. pTDefRegMap(@Self)^.clr := $02000000;
  30332. end;
  30333. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  30334. begin
  30335. if thebits = 0 then
  30336. pTDefRegMap(@Self)^.clr := $02000000
  30337. else
  30338. pTDefRegMap(@Self)^.&set := $02000000;
  30339. end;
  30340. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  30341. begin
  30342. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  30343. end;
  30344. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  30345. begin
  30346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  30347. end;
  30348. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  30349. begin
  30350. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  30351. end;
  30352. procedure TCMP_CTMUCON.setEDG1POL; inline;
  30353. begin
  30354. pTDefRegMap(@Self)^.&set := $40000000;
  30355. end;
  30356. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  30357. begin
  30358. pTDefRegMap(@Self)^.clr := $40000000;
  30359. end;
  30360. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  30361. begin
  30362. if thebits = 0 then
  30363. pTDefRegMap(@Self)^.clr := $40000000
  30364. else
  30365. pTDefRegMap(@Self)^.&set := $40000000;
  30366. end;
  30367. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  30368. begin
  30369. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  30370. end;
  30371. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  30372. begin
  30373. pTDefRegMap(@Self)^.&set := $80000000;
  30374. end;
  30375. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  30376. begin
  30377. pTDefRegMap(@Self)^.clr := $80000000;
  30378. end;
  30379. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  30380. begin
  30381. if thebits = 0 then
  30382. pTDefRegMap(@Self)^.clr := $80000000
  30383. else
  30384. pTDefRegMap(@Self)^.&set := $80000000;
  30385. end;
  30386. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  30387. begin
  30388. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  30389. end;
  30390. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  30391. begin
  30392. pTDefRegMap(@Self)^.val := thebits;
  30393. end;
  30394. function TCMP_CTMUCON.getw : TBits_32; inline;
  30395. begin
  30396. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30397. end;
  30398. procedure TOSC_OSCCON.setOSWEN; inline;
  30399. begin
  30400. pTDefRegMap(@Self)^.&set := $00000001;
  30401. end;
  30402. procedure TOSC_OSCCON.clearOSWEN; inline;
  30403. begin
  30404. pTDefRegMap(@Self)^.clr := $00000001;
  30405. end;
  30406. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  30407. begin
  30408. if thebits = 0 then
  30409. pTDefRegMap(@Self)^.clr := $00000001
  30410. else
  30411. pTDefRegMap(@Self)^.&set := $00000001;
  30412. end;
  30413. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  30414. begin
  30415. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30416. end;
  30417. procedure TOSC_OSCCON.setSOSCEN; inline;
  30418. begin
  30419. pTDefRegMap(@Self)^.&set := $00000002;
  30420. end;
  30421. procedure TOSC_OSCCON.clearSOSCEN; inline;
  30422. begin
  30423. pTDefRegMap(@Self)^.clr := $00000002;
  30424. end;
  30425. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  30426. begin
  30427. if thebits = 0 then
  30428. pTDefRegMap(@Self)^.clr := $00000002
  30429. else
  30430. pTDefRegMap(@Self)^.&set := $00000002;
  30431. end;
  30432. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  30433. begin
  30434. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30435. end;
  30436. procedure TOSC_OSCCON.setUFRCEN; inline;
  30437. begin
  30438. pTDefRegMap(@Self)^.&set := $00000004;
  30439. end;
  30440. procedure TOSC_OSCCON.clearUFRCEN; inline;
  30441. begin
  30442. pTDefRegMap(@Self)^.clr := $00000004;
  30443. end;
  30444. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  30445. begin
  30446. if thebits = 0 then
  30447. pTDefRegMap(@Self)^.clr := $00000004
  30448. else
  30449. pTDefRegMap(@Self)^.&set := $00000004;
  30450. end;
  30451. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  30452. begin
  30453. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30454. end;
  30455. procedure TOSC_OSCCON.setCF; inline;
  30456. begin
  30457. pTDefRegMap(@Self)^.&set := $00000008;
  30458. end;
  30459. procedure TOSC_OSCCON.clearCF; inline;
  30460. begin
  30461. pTDefRegMap(@Self)^.clr := $00000008;
  30462. end;
  30463. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  30464. begin
  30465. if thebits = 0 then
  30466. pTDefRegMap(@Self)^.clr := $00000008
  30467. else
  30468. pTDefRegMap(@Self)^.&set := $00000008;
  30469. end;
  30470. function TOSC_OSCCON.getCF : TBits_1; inline;
  30471. begin
  30472. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30473. end;
  30474. procedure TOSC_OSCCON.setSLPEN; inline;
  30475. begin
  30476. pTDefRegMap(@Self)^.&set := $00000010;
  30477. end;
  30478. procedure TOSC_OSCCON.clearSLPEN; inline;
  30479. begin
  30480. pTDefRegMap(@Self)^.clr := $00000010;
  30481. end;
  30482. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  30483. begin
  30484. if thebits = 0 then
  30485. pTDefRegMap(@Self)^.clr := $00000010
  30486. else
  30487. pTDefRegMap(@Self)^.&set := $00000010;
  30488. end;
  30489. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  30490. begin
  30491. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30492. end;
  30493. procedure TOSC_OSCCON.setSLOCK; inline;
  30494. begin
  30495. pTDefRegMap(@Self)^.&set := $00000020;
  30496. end;
  30497. procedure TOSC_OSCCON.clearSLOCK; inline;
  30498. begin
  30499. pTDefRegMap(@Self)^.clr := $00000020;
  30500. end;
  30501. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  30502. begin
  30503. if thebits = 0 then
  30504. pTDefRegMap(@Self)^.clr := $00000020
  30505. else
  30506. pTDefRegMap(@Self)^.&set := $00000020;
  30507. end;
  30508. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  30509. begin
  30510. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30511. end;
  30512. procedure TOSC_OSCCON.setULOCK; inline;
  30513. begin
  30514. pTDefRegMap(@Self)^.&set := $00000040;
  30515. end;
  30516. procedure TOSC_OSCCON.clearULOCK; inline;
  30517. begin
  30518. pTDefRegMap(@Self)^.clr := $00000040;
  30519. end;
  30520. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  30521. begin
  30522. if thebits = 0 then
  30523. pTDefRegMap(@Self)^.clr := $00000040
  30524. else
  30525. pTDefRegMap(@Self)^.&set := $00000040;
  30526. end;
  30527. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  30528. begin
  30529. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30530. end;
  30531. procedure TOSC_OSCCON.setCLKLOCK; inline;
  30532. begin
  30533. pTDefRegMap(@Self)^.&set := $00000080;
  30534. end;
  30535. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  30536. begin
  30537. pTDefRegMap(@Self)^.clr := $00000080;
  30538. end;
  30539. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  30540. begin
  30541. if thebits = 0 then
  30542. pTDefRegMap(@Self)^.clr := $00000080
  30543. else
  30544. pTDefRegMap(@Self)^.&set := $00000080;
  30545. end;
  30546. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  30547. begin
  30548. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30549. end;
  30550. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  30551. begin
  30552. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  30553. end;
  30554. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  30555. begin
  30556. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  30557. end;
  30558. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  30559. begin
  30560. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  30561. end;
  30562. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  30563. begin
  30564. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  30565. end;
  30566. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  30567. begin
  30568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  30569. end;
  30570. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  30571. begin
  30572. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  30573. end;
  30574. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  30575. begin
  30576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  30577. end;
  30578. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  30579. begin
  30580. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  30581. end;
  30582. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  30583. begin
  30584. pTDefRegMap(@Self)^.&set := $00200000;
  30585. end;
  30586. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  30587. begin
  30588. pTDefRegMap(@Self)^.clr := $00200000;
  30589. end;
  30590. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  30591. begin
  30592. if thebits = 0 then
  30593. pTDefRegMap(@Self)^.clr := $00200000
  30594. else
  30595. pTDefRegMap(@Self)^.&set := $00200000;
  30596. end;
  30597. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  30598. begin
  30599. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30600. end;
  30601. procedure TOSC_OSCCON.setSOSCRDY; inline;
  30602. begin
  30603. pTDefRegMap(@Self)^.&set := $00400000;
  30604. end;
  30605. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  30606. begin
  30607. pTDefRegMap(@Self)^.clr := $00400000;
  30608. end;
  30609. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  30610. begin
  30611. if thebits = 0 then
  30612. pTDefRegMap(@Self)^.clr := $00400000
  30613. else
  30614. pTDefRegMap(@Self)^.&set := $00400000;
  30615. end;
  30616. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  30617. begin
  30618. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30619. end;
  30620. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  30621. begin
  30622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  30623. end;
  30624. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  30625. begin
  30626. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  30627. end;
  30628. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  30629. begin
  30630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  30631. end;
  30632. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  30633. begin
  30634. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  30635. end;
  30636. procedure TOSC_OSCCON.setNOSC0; inline;
  30637. begin
  30638. pTDefRegMap(@Self)^.&set := $00000100;
  30639. end;
  30640. procedure TOSC_OSCCON.clearNOSC0; inline;
  30641. begin
  30642. pTDefRegMap(@Self)^.clr := $00000100;
  30643. end;
  30644. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  30645. begin
  30646. if thebits = 0 then
  30647. pTDefRegMap(@Self)^.clr := $00000100
  30648. else
  30649. pTDefRegMap(@Self)^.&set := $00000100;
  30650. end;
  30651. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  30652. begin
  30653. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30654. end;
  30655. procedure TOSC_OSCCON.setNOSC1; inline;
  30656. begin
  30657. pTDefRegMap(@Self)^.&set := $00000200;
  30658. end;
  30659. procedure TOSC_OSCCON.clearNOSC1; inline;
  30660. begin
  30661. pTDefRegMap(@Self)^.clr := $00000200;
  30662. end;
  30663. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  30664. begin
  30665. if thebits = 0 then
  30666. pTDefRegMap(@Self)^.clr := $00000200
  30667. else
  30668. pTDefRegMap(@Self)^.&set := $00000200;
  30669. end;
  30670. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  30671. begin
  30672. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30673. end;
  30674. procedure TOSC_OSCCON.setNOSC2; inline;
  30675. begin
  30676. pTDefRegMap(@Self)^.&set := $00000400;
  30677. end;
  30678. procedure TOSC_OSCCON.clearNOSC2; inline;
  30679. begin
  30680. pTDefRegMap(@Self)^.clr := $00000400;
  30681. end;
  30682. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  30683. begin
  30684. if thebits = 0 then
  30685. pTDefRegMap(@Self)^.clr := $00000400
  30686. else
  30687. pTDefRegMap(@Self)^.&set := $00000400;
  30688. end;
  30689. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  30690. begin
  30691. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30692. end;
  30693. procedure TOSC_OSCCON.setCOSC0; inline;
  30694. begin
  30695. pTDefRegMap(@Self)^.&set := $00001000;
  30696. end;
  30697. procedure TOSC_OSCCON.clearCOSC0; inline;
  30698. begin
  30699. pTDefRegMap(@Self)^.clr := $00001000;
  30700. end;
  30701. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  30702. begin
  30703. if thebits = 0 then
  30704. pTDefRegMap(@Self)^.clr := $00001000
  30705. else
  30706. pTDefRegMap(@Self)^.&set := $00001000;
  30707. end;
  30708. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  30709. begin
  30710. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30711. end;
  30712. procedure TOSC_OSCCON.setCOSC1; inline;
  30713. begin
  30714. pTDefRegMap(@Self)^.&set := $00002000;
  30715. end;
  30716. procedure TOSC_OSCCON.clearCOSC1; inline;
  30717. begin
  30718. pTDefRegMap(@Self)^.clr := $00002000;
  30719. end;
  30720. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  30721. begin
  30722. if thebits = 0 then
  30723. pTDefRegMap(@Self)^.clr := $00002000
  30724. else
  30725. pTDefRegMap(@Self)^.&set := $00002000;
  30726. end;
  30727. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  30728. begin
  30729. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30730. end;
  30731. procedure TOSC_OSCCON.setCOSC2; inline;
  30732. begin
  30733. pTDefRegMap(@Self)^.&set := $00004000;
  30734. end;
  30735. procedure TOSC_OSCCON.clearCOSC2; inline;
  30736. begin
  30737. pTDefRegMap(@Self)^.clr := $00004000;
  30738. end;
  30739. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  30740. begin
  30741. if thebits = 0 then
  30742. pTDefRegMap(@Self)^.clr := $00004000
  30743. else
  30744. pTDefRegMap(@Self)^.&set := $00004000;
  30745. end;
  30746. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  30747. begin
  30748. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30749. end;
  30750. procedure TOSC_OSCCON.setPLLMULT0; inline;
  30751. begin
  30752. pTDefRegMap(@Self)^.&set := $00010000;
  30753. end;
  30754. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  30755. begin
  30756. pTDefRegMap(@Self)^.clr := $00010000;
  30757. end;
  30758. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  30759. begin
  30760. if thebits = 0 then
  30761. pTDefRegMap(@Self)^.clr := $00010000
  30762. else
  30763. pTDefRegMap(@Self)^.&set := $00010000;
  30764. end;
  30765. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  30766. begin
  30767. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30768. end;
  30769. procedure TOSC_OSCCON.setPLLMULT1; inline;
  30770. begin
  30771. pTDefRegMap(@Self)^.&set := $00020000;
  30772. end;
  30773. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  30774. begin
  30775. pTDefRegMap(@Self)^.clr := $00020000;
  30776. end;
  30777. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  30778. begin
  30779. if thebits = 0 then
  30780. pTDefRegMap(@Self)^.clr := $00020000
  30781. else
  30782. pTDefRegMap(@Self)^.&set := $00020000;
  30783. end;
  30784. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  30785. begin
  30786. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30787. end;
  30788. procedure TOSC_OSCCON.setPLLMULT2; inline;
  30789. begin
  30790. pTDefRegMap(@Self)^.&set := $00040000;
  30791. end;
  30792. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  30793. begin
  30794. pTDefRegMap(@Self)^.clr := $00040000;
  30795. end;
  30796. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  30797. begin
  30798. if thebits = 0 then
  30799. pTDefRegMap(@Self)^.clr := $00040000
  30800. else
  30801. pTDefRegMap(@Self)^.&set := $00040000;
  30802. end;
  30803. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  30804. begin
  30805. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30806. end;
  30807. procedure TOSC_OSCCON.setPBDIV0; inline;
  30808. begin
  30809. pTDefRegMap(@Self)^.&set := $00080000;
  30810. end;
  30811. procedure TOSC_OSCCON.clearPBDIV0; inline;
  30812. begin
  30813. pTDefRegMap(@Self)^.clr := $00080000;
  30814. end;
  30815. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  30816. begin
  30817. if thebits = 0 then
  30818. pTDefRegMap(@Self)^.clr := $00080000
  30819. else
  30820. pTDefRegMap(@Self)^.&set := $00080000;
  30821. end;
  30822. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  30823. begin
  30824. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30825. end;
  30826. procedure TOSC_OSCCON.setPBDIV1; inline;
  30827. begin
  30828. pTDefRegMap(@Self)^.&set := $00100000;
  30829. end;
  30830. procedure TOSC_OSCCON.clearPBDIV1; inline;
  30831. begin
  30832. pTDefRegMap(@Self)^.clr := $00100000;
  30833. end;
  30834. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  30835. begin
  30836. if thebits = 0 then
  30837. pTDefRegMap(@Self)^.clr := $00100000
  30838. else
  30839. pTDefRegMap(@Self)^.&set := $00100000;
  30840. end;
  30841. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  30842. begin
  30843. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30844. end;
  30845. procedure TOSC_OSCCON.setFRCDIV0; inline;
  30846. begin
  30847. pTDefRegMap(@Self)^.&set := $01000000;
  30848. end;
  30849. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  30850. begin
  30851. pTDefRegMap(@Self)^.clr := $01000000;
  30852. end;
  30853. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  30854. begin
  30855. if thebits = 0 then
  30856. pTDefRegMap(@Self)^.clr := $01000000
  30857. else
  30858. pTDefRegMap(@Self)^.&set := $01000000;
  30859. end;
  30860. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  30861. begin
  30862. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30863. end;
  30864. procedure TOSC_OSCCON.setFRCDIV1; inline;
  30865. begin
  30866. pTDefRegMap(@Self)^.&set := $02000000;
  30867. end;
  30868. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  30869. begin
  30870. pTDefRegMap(@Self)^.clr := $02000000;
  30871. end;
  30872. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  30873. begin
  30874. if thebits = 0 then
  30875. pTDefRegMap(@Self)^.clr := $02000000
  30876. else
  30877. pTDefRegMap(@Self)^.&set := $02000000;
  30878. end;
  30879. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  30880. begin
  30881. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  30882. end;
  30883. procedure TOSC_OSCCON.setFRCDIV2; inline;
  30884. begin
  30885. pTDefRegMap(@Self)^.&set := $04000000;
  30886. end;
  30887. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  30888. begin
  30889. pTDefRegMap(@Self)^.clr := $04000000;
  30890. end;
  30891. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  30892. begin
  30893. if thebits = 0 then
  30894. pTDefRegMap(@Self)^.clr := $04000000
  30895. else
  30896. pTDefRegMap(@Self)^.&set := $04000000;
  30897. end;
  30898. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  30899. begin
  30900. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  30901. end;
  30902. procedure TOSC_OSCCON.setPLLODIV0; inline;
  30903. begin
  30904. pTDefRegMap(@Self)^.&set := $08000000;
  30905. end;
  30906. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  30907. begin
  30908. pTDefRegMap(@Self)^.clr := $08000000;
  30909. end;
  30910. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  30911. begin
  30912. if thebits = 0 then
  30913. pTDefRegMap(@Self)^.clr := $08000000
  30914. else
  30915. pTDefRegMap(@Self)^.&set := $08000000;
  30916. end;
  30917. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  30918. begin
  30919. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  30920. end;
  30921. procedure TOSC_OSCCON.setPLLODIV1; inline;
  30922. begin
  30923. pTDefRegMap(@Self)^.&set := $10000000;
  30924. end;
  30925. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  30926. begin
  30927. pTDefRegMap(@Self)^.clr := $10000000;
  30928. end;
  30929. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  30930. begin
  30931. if thebits = 0 then
  30932. pTDefRegMap(@Self)^.clr := $10000000
  30933. else
  30934. pTDefRegMap(@Self)^.&set := $10000000;
  30935. end;
  30936. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  30937. begin
  30938. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  30939. end;
  30940. procedure TOSC_OSCCON.setPLLODIV2; inline;
  30941. begin
  30942. pTDefRegMap(@Self)^.&set := $20000000;
  30943. end;
  30944. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  30945. begin
  30946. pTDefRegMap(@Self)^.clr := $20000000;
  30947. end;
  30948. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  30949. begin
  30950. if thebits = 0 then
  30951. pTDefRegMap(@Self)^.clr := $20000000
  30952. else
  30953. pTDefRegMap(@Self)^.&set := $20000000;
  30954. end;
  30955. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  30956. begin
  30957. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  30958. end;
  30959. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  30960. begin
  30961. pTDefRegMap(@Self)^.val := thebits;
  30962. end;
  30963. function TOSC_OSCCON.getw : TBits_32; inline;
  30964. begin
  30965. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30966. end;
  30967. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  30968. begin
  30969. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  30970. end;
  30971. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  30972. begin
  30973. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  30974. end;
  30975. procedure TOSC_OSCTUN.setTUN0; inline;
  30976. begin
  30977. pTDefRegMap(@Self)^.&set := $00000001;
  30978. end;
  30979. procedure TOSC_OSCTUN.clearTUN0; inline;
  30980. begin
  30981. pTDefRegMap(@Self)^.clr := $00000001;
  30982. end;
  30983. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  30984. begin
  30985. if thebits = 0 then
  30986. pTDefRegMap(@Self)^.clr := $00000001
  30987. else
  30988. pTDefRegMap(@Self)^.&set := $00000001;
  30989. end;
  30990. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  30991. begin
  30992. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30993. end;
  30994. procedure TOSC_OSCTUN.setTUN1; inline;
  30995. begin
  30996. pTDefRegMap(@Self)^.&set := $00000002;
  30997. end;
  30998. procedure TOSC_OSCTUN.clearTUN1; inline;
  30999. begin
  31000. pTDefRegMap(@Self)^.clr := $00000002;
  31001. end;
  31002. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  31003. begin
  31004. if thebits = 0 then
  31005. pTDefRegMap(@Self)^.clr := $00000002
  31006. else
  31007. pTDefRegMap(@Self)^.&set := $00000002;
  31008. end;
  31009. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  31010. begin
  31011. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31012. end;
  31013. procedure TOSC_OSCTUN.setTUN2; inline;
  31014. begin
  31015. pTDefRegMap(@Self)^.&set := $00000004;
  31016. end;
  31017. procedure TOSC_OSCTUN.clearTUN2; inline;
  31018. begin
  31019. pTDefRegMap(@Self)^.clr := $00000004;
  31020. end;
  31021. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  31022. begin
  31023. if thebits = 0 then
  31024. pTDefRegMap(@Self)^.clr := $00000004
  31025. else
  31026. pTDefRegMap(@Self)^.&set := $00000004;
  31027. end;
  31028. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  31029. begin
  31030. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31031. end;
  31032. procedure TOSC_OSCTUN.setTUN3; inline;
  31033. begin
  31034. pTDefRegMap(@Self)^.&set := $00000008;
  31035. end;
  31036. procedure TOSC_OSCTUN.clearTUN3; inline;
  31037. begin
  31038. pTDefRegMap(@Self)^.clr := $00000008;
  31039. end;
  31040. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  31041. begin
  31042. if thebits = 0 then
  31043. pTDefRegMap(@Self)^.clr := $00000008
  31044. else
  31045. pTDefRegMap(@Self)^.&set := $00000008;
  31046. end;
  31047. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  31048. begin
  31049. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31050. end;
  31051. procedure TOSC_OSCTUN.setTUN4; inline;
  31052. begin
  31053. pTDefRegMap(@Self)^.&set := $00000010;
  31054. end;
  31055. procedure TOSC_OSCTUN.clearTUN4; inline;
  31056. begin
  31057. pTDefRegMap(@Self)^.clr := $00000010;
  31058. end;
  31059. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  31060. begin
  31061. if thebits = 0 then
  31062. pTDefRegMap(@Self)^.clr := $00000010
  31063. else
  31064. pTDefRegMap(@Self)^.&set := $00000010;
  31065. end;
  31066. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  31067. begin
  31068. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31069. end;
  31070. procedure TOSC_OSCTUN.setTUN5; inline;
  31071. begin
  31072. pTDefRegMap(@Self)^.&set := $00000020;
  31073. end;
  31074. procedure TOSC_OSCTUN.clearTUN5; inline;
  31075. begin
  31076. pTDefRegMap(@Self)^.clr := $00000020;
  31077. end;
  31078. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  31079. begin
  31080. if thebits = 0 then
  31081. pTDefRegMap(@Self)^.clr := $00000020
  31082. else
  31083. pTDefRegMap(@Self)^.&set := $00000020;
  31084. end;
  31085. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  31086. begin
  31087. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31088. end;
  31089. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  31090. begin
  31091. pTDefRegMap(@Self)^.val := thebits;
  31092. end;
  31093. function TOSC_OSCTUN.getw : TBits_32; inline;
  31094. begin
  31095. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31096. end;
  31097. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  31098. begin
  31099. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  31100. end;
  31101. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  31102. begin
  31103. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  31104. end;
  31105. procedure TOSC_REFOCON.setACTIVE; inline;
  31106. begin
  31107. pTDefRegMap(@Self)^.&set := $00000100;
  31108. end;
  31109. procedure TOSC_REFOCON.clearACTIVE; inline;
  31110. begin
  31111. pTDefRegMap(@Self)^.clr := $00000100;
  31112. end;
  31113. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  31114. begin
  31115. if thebits = 0 then
  31116. pTDefRegMap(@Self)^.clr := $00000100
  31117. else
  31118. pTDefRegMap(@Self)^.&set := $00000100;
  31119. end;
  31120. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  31121. begin
  31122. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31123. end;
  31124. procedure TOSC_REFOCON.setDIVSWEN; inline;
  31125. begin
  31126. pTDefRegMap(@Self)^.&set := $00000200;
  31127. end;
  31128. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  31129. begin
  31130. pTDefRegMap(@Self)^.clr := $00000200;
  31131. end;
  31132. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  31133. begin
  31134. if thebits = 0 then
  31135. pTDefRegMap(@Self)^.clr := $00000200
  31136. else
  31137. pTDefRegMap(@Self)^.&set := $00000200;
  31138. end;
  31139. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  31140. begin
  31141. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31142. end;
  31143. procedure TOSC_REFOCON.setRSLP; inline;
  31144. begin
  31145. pTDefRegMap(@Self)^.&set := $00000800;
  31146. end;
  31147. procedure TOSC_REFOCON.clearRSLP; inline;
  31148. begin
  31149. pTDefRegMap(@Self)^.clr := $00000800;
  31150. end;
  31151. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  31152. begin
  31153. if thebits = 0 then
  31154. pTDefRegMap(@Self)^.clr := $00000800
  31155. else
  31156. pTDefRegMap(@Self)^.&set := $00000800;
  31157. end;
  31158. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  31159. begin
  31160. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31161. end;
  31162. procedure TOSC_REFOCON.setOE; inline;
  31163. begin
  31164. pTDefRegMap(@Self)^.&set := $00001000;
  31165. end;
  31166. procedure TOSC_REFOCON.clearOE; inline;
  31167. begin
  31168. pTDefRegMap(@Self)^.clr := $00001000;
  31169. end;
  31170. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  31171. begin
  31172. if thebits = 0 then
  31173. pTDefRegMap(@Self)^.clr := $00001000
  31174. else
  31175. pTDefRegMap(@Self)^.&set := $00001000;
  31176. end;
  31177. function TOSC_REFOCON.getOE : TBits_1; inline;
  31178. begin
  31179. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31180. end;
  31181. procedure TOSC_REFOCON.setSIDL; inline;
  31182. begin
  31183. pTDefRegMap(@Self)^.&set := $00002000;
  31184. end;
  31185. procedure TOSC_REFOCON.clearSIDL; inline;
  31186. begin
  31187. pTDefRegMap(@Self)^.clr := $00002000;
  31188. end;
  31189. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  31190. begin
  31191. if thebits = 0 then
  31192. pTDefRegMap(@Self)^.clr := $00002000
  31193. else
  31194. pTDefRegMap(@Self)^.&set := $00002000;
  31195. end;
  31196. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  31197. begin
  31198. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31199. end;
  31200. procedure TOSC_REFOCON.setON; inline;
  31201. begin
  31202. pTDefRegMap(@Self)^.&set := $00008000;
  31203. end;
  31204. procedure TOSC_REFOCON.clearON; inline;
  31205. begin
  31206. pTDefRegMap(@Self)^.clr := $00008000;
  31207. end;
  31208. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  31209. begin
  31210. if thebits = 0 then
  31211. pTDefRegMap(@Self)^.clr := $00008000
  31212. else
  31213. pTDefRegMap(@Self)^.&set := $00008000;
  31214. end;
  31215. function TOSC_REFOCON.getON : TBits_1; inline;
  31216. begin
  31217. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31218. end;
  31219. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  31220. begin
  31221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  31222. end;
  31223. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  31224. begin
  31225. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  31226. end;
  31227. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  31228. begin
  31229. pTDefRegMap(@Self)^.val := thebits;
  31230. end;
  31231. function TOSC_REFOCON.getw : TBits_32; inline;
  31232. begin
  31233. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31234. end;
  31235. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  31236. begin
  31237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  31238. end;
  31239. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  31240. begin
  31241. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  31242. end;
  31243. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  31244. begin
  31245. pTDefRegMap(@Self)^.val := thebits;
  31246. end;
  31247. function TOSC_REFOTRIM.getw : TBits_32; inline;
  31248. begin
  31249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31250. end;
  31251. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  31252. begin
  31253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  31254. end;
  31255. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  31256. begin
  31257. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  31258. end;
  31259. procedure TNVM_NVMCON.setLVDSTAT; inline;
  31260. begin
  31261. pTDefRegMap(@Self)^.&set := $00000800;
  31262. end;
  31263. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  31264. begin
  31265. pTDefRegMap(@Self)^.clr := $00000800;
  31266. end;
  31267. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  31268. begin
  31269. if thebits = 0 then
  31270. pTDefRegMap(@Self)^.clr := $00000800
  31271. else
  31272. pTDefRegMap(@Self)^.&set := $00000800;
  31273. end;
  31274. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  31275. begin
  31276. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31277. end;
  31278. procedure TNVM_NVMCON.setLVDERR; inline;
  31279. begin
  31280. pTDefRegMap(@Self)^.&set := $00001000;
  31281. end;
  31282. procedure TNVM_NVMCON.clearLVDERR; inline;
  31283. begin
  31284. pTDefRegMap(@Self)^.clr := $00001000;
  31285. end;
  31286. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  31287. begin
  31288. if thebits = 0 then
  31289. pTDefRegMap(@Self)^.clr := $00001000
  31290. else
  31291. pTDefRegMap(@Self)^.&set := $00001000;
  31292. end;
  31293. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  31294. begin
  31295. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31296. end;
  31297. procedure TNVM_NVMCON.setWRERR; inline;
  31298. begin
  31299. pTDefRegMap(@Self)^.&set := $00002000;
  31300. end;
  31301. procedure TNVM_NVMCON.clearWRERR; inline;
  31302. begin
  31303. pTDefRegMap(@Self)^.clr := $00002000;
  31304. end;
  31305. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  31306. begin
  31307. if thebits = 0 then
  31308. pTDefRegMap(@Self)^.clr := $00002000
  31309. else
  31310. pTDefRegMap(@Self)^.&set := $00002000;
  31311. end;
  31312. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  31313. begin
  31314. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31315. end;
  31316. procedure TNVM_NVMCON.setWREN; inline;
  31317. begin
  31318. pTDefRegMap(@Self)^.&set := $00004000;
  31319. end;
  31320. procedure TNVM_NVMCON.clearWREN; inline;
  31321. begin
  31322. pTDefRegMap(@Self)^.clr := $00004000;
  31323. end;
  31324. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  31325. begin
  31326. if thebits = 0 then
  31327. pTDefRegMap(@Self)^.clr := $00004000
  31328. else
  31329. pTDefRegMap(@Self)^.&set := $00004000;
  31330. end;
  31331. function TNVM_NVMCON.getWREN : TBits_1; inline;
  31332. begin
  31333. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31334. end;
  31335. procedure TNVM_NVMCON.setWR; inline;
  31336. begin
  31337. pTDefRegMap(@Self)^.&set := $00008000;
  31338. end;
  31339. procedure TNVM_NVMCON.clearWR; inline;
  31340. begin
  31341. pTDefRegMap(@Self)^.clr := $00008000;
  31342. end;
  31343. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  31344. begin
  31345. if thebits = 0 then
  31346. pTDefRegMap(@Self)^.clr := $00008000
  31347. else
  31348. pTDefRegMap(@Self)^.&set := $00008000;
  31349. end;
  31350. function TNVM_NVMCON.getWR : TBits_1; inline;
  31351. begin
  31352. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31353. end;
  31354. procedure TNVM_NVMCON.setNVMOP0; inline;
  31355. begin
  31356. pTDefRegMap(@Self)^.&set := $00000001;
  31357. end;
  31358. procedure TNVM_NVMCON.clearNVMOP0; inline;
  31359. begin
  31360. pTDefRegMap(@Self)^.clr := $00000001;
  31361. end;
  31362. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  31363. begin
  31364. if thebits = 0 then
  31365. pTDefRegMap(@Self)^.clr := $00000001
  31366. else
  31367. pTDefRegMap(@Self)^.&set := $00000001;
  31368. end;
  31369. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  31370. begin
  31371. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31372. end;
  31373. procedure TNVM_NVMCON.setNVMOP1; inline;
  31374. begin
  31375. pTDefRegMap(@Self)^.&set := $00000002;
  31376. end;
  31377. procedure TNVM_NVMCON.clearNVMOP1; inline;
  31378. begin
  31379. pTDefRegMap(@Self)^.clr := $00000002;
  31380. end;
  31381. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  31382. begin
  31383. if thebits = 0 then
  31384. pTDefRegMap(@Self)^.clr := $00000002
  31385. else
  31386. pTDefRegMap(@Self)^.&set := $00000002;
  31387. end;
  31388. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  31389. begin
  31390. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31391. end;
  31392. procedure TNVM_NVMCON.setNVMOP2; inline;
  31393. begin
  31394. pTDefRegMap(@Self)^.&set := $00000004;
  31395. end;
  31396. procedure TNVM_NVMCON.clearNVMOP2; inline;
  31397. begin
  31398. pTDefRegMap(@Self)^.clr := $00000004;
  31399. end;
  31400. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  31401. begin
  31402. if thebits = 0 then
  31403. pTDefRegMap(@Self)^.clr := $00000004
  31404. else
  31405. pTDefRegMap(@Self)^.&set := $00000004;
  31406. end;
  31407. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  31408. begin
  31409. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31410. end;
  31411. procedure TNVM_NVMCON.setNVMOP3; inline;
  31412. begin
  31413. pTDefRegMap(@Self)^.&set := $00000008;
  31414. end;
  31415. procedure TNVM_NVMCON.clearNVMOP3; inline;
  31416. begin
  31417. pTDefRegMap(@Self)^.clr := $00000008;
  31418. end;
  31419. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  31420. begin
  31421. if thebits = 0 then
  31422. pTDefRegMap(@Self)^.clr := $00000008
  31423. else
  31424. pTDefRegMap(@Self)^.&set := $00000008;
  31425. end;
  31426. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  31427. begin
  31428. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31429. end;
  31430. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  31431. begin
  31432. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  31433. end;
  31434. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  31435. begin
  31436. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  31437. end;
  31438. procedure TNVM_NVMCON.setPROGOP0; inline;
  31439. begin
  31440. pTDefRegMap(@Self)^.&set := $00000001;
  31441. end;
  31442. procedure TNVM_NVMCON.clearPROGOP0; inline;
  31443. begin
  31444. pTDefRegMap(@Self)^.clr := $00000001;
  31445. end;
  31446. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  31447. begin
  31448. if thebits = 0 then
  31449. pTDefRegMap(@Self)^.clr := $00000001
  31450. else
  31451. pTDefRegMap(@Self)^.&set := $00000001;
  31452. end;
  31453. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  31454. begin
  31455. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31456. end;
  31457. procedure TNVM_NVMCON.setPROGOP1; inline;
  31458. begin
  31459. pTDefRegMap(@Self)^.&set := $00000002;
  31460. end;
  31461. procedure TNVM_NVMCON.clearPROGOP1; inline;
  31462. begin
  31463. pTDefRegMap(@Self)^.clr := $00000002;
  31464. end;
  31465. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  31466. begin
  31467. if thebits = 0 then
  31468. pTDefRegMap(@Self)^.clr := $00000002
  31469. else
  31470. pTDefRegMap(@Self)^.&set := $00000002;
  31471. end;
  31472. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  31473. begin
  31474. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31475. end;
  31476. procedure TNVM_NVMCON.setPROGOP2; inline;
  31477. begin
  31478. pTDefRegMap(@Self)^.&set := $00000004;
  31479. end;
  31480. procedure TNVM_NVMCON.clearPROGOP2; inline;
  31481. begin
  31482. pTDefRegMap(@Self)^.clr := $00000004;
  31483. end;
  31484. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  31485. begin
  31486. if thebits = 0 then
  31487. pTDefRegMap(@Self)^.clr := $00000004
  31488. else
  31489. pTDefRegMap(@Self)^.&set := $00000004;
  31490. end;
  31491. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  31492. begin
  31493. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31494. end;
  31495. procedure TNVM_NVMCON.setPROGOP3; inline;
  31496. begin
  31497. pTDefRegMap(@Self)^.&set := $00000008;
  31498. end;
  31499. procedure TNVM_NVMCON.clearPROGOP3; inline;
  31500. begin
  31501. pTDefRegMap(@Self)^.clr := $00000008;
  31502. end;
  31503. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  31504. begin
  31505. if thebits = 0 then
  31506. pTDefRegMap(@Self)^.clr := $00000008
  31507. else
  31508. pTDefRegMap(@Self)^.&set := $00000008;
  31509. end;
  31510. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  31511. begin
  31512. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31513. end;
  31514. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  31515. begin
  31516. pTDefRegMap(@Self)^.val := thebits;
  31517. end;
  31518. function TNVM_NVMCON.getw : TBits_32; inline;
  31519. begin
  31520. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31521. end;
  31522. procedure TRCON_RCON.setPOR; inline;
  31523. begin
  31524. pTDefRegMap(@Self)^.&set := $00000001;
  31525. end;
  31526. procedure TRCON_RCON.clearPOR; inline;
  31527. begin
  31528. pTDefRegMap(@Self)^.clr := $00000001;
  31529. end;
  31530. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  31531. begin
  31532. if thebits = 0 then
  31533. pTDefRegMap(@Self)^.clr := $00000001
  31534. else
  31535. pTDefRegMap(@Self)^.&set := $00000001;
  31536. end;
  31537. function TRCON_RCON.getPOR : TBits_1; inline;
  31538. begin
  31539. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31540. end;
  31541. procedure TRCON_RCON.setBOR; inline;
  31542. begin
  31543. pTDefRegMap(@Self)^.&set := $00000002;
  31544. end;
  31545. procedure TRCON_RCON.clearBOR; inline;
  31546. begin
  31547. pTDefRegMap(@Self)^.clr := $00000002;
  31548. end;
  31549. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  31550. begin
  31551. if thebits = 0 then
  31552. pTDefRegMap(@Self)^.clr := $00000002
  31553. else
  31554. pTDefRegMap(@Self)^.&set := $00000002;
  31555. end;
  31556. function TRCON_RCON.getBOR : TBits_1; inline;
  31557. begin
  31558. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31559. end;
  31560. procedure TRCON_RCON.setIDLE; inline;
  31561. begin
  31562. pTDefRegMap(@Self)^.&set := $00000004;
  31563. end;
  31564. procedure TRCON_RCON.clearIDLE; inline;
  31565. begin
  31566. pTDefRegMap(@Self)^.clr := $00000004;
  31567. end;
  31568. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  31569. begin
  31570. if thebits = 0 then
  31571. pTDefRegMap(@Self)^.clr := $00000004
  31572. else
  31573. pTDefRegMap(@Self)^.&set := $00000004;
  31574. end;
  31575. function TRCON_RCON.getIDLE : TBits_1; inline;
  31576. begin
  31577. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31578. end;
  31579. procedure TRCON_RCON.setSLEEP; inline;
  31580. begin
  31581. pTDefRegMap(@Self)^.&set := $00000008;
  31582. end;
  31583. procedure TRCON_RCON.clearSLEEP; inline;
  31584. begin
  31585. pTDefRegMap(@Self)^.clr := $00000008;
  31586. end;
  31587. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  31588. begin
  31589. if thebits = 0 then
  31590. pTDefRegMap(@Self)^.clr := $00000008
  31591. else
  31592. pTDefRegMap(@Self)^.&set := $00000008;
  31593. end;
  31594. function TRCON_RCON.getSLEEP : TBits_1; inline;
  31595. begin
  31596. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31597. end;
  31598. procedure TRCON_RCON.setWDTO; inline;
  31599. begin
  31600. pTDefRegMap(@Self)^.&set := $00000010;
  31601. end;
  31602. procedure TRCON_RCON.clearWDTO; inline;
  31603. begin
  31604. pTDefRegMap(@Self)^.clr := $00000010;
  31605. end;
  31606. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  31607. begin
  31608. if thebits = 0 then
  31609. pTDefRegMap(@Self)^.clr := $00000010
  31610. else
  31611. pTDefRegMap(@Self)^.&set := $00000010;
  31612. end;
  31613. function TRCON_RCON.getWDTO : TBits_1; inline;
  31614. begin
  31615. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31616. end;
  31617. procedure TRCON_RCON.setSWR; inline;
  31618. begin
  31619. pTDefRegMap(@Self)^.&set := $00000040;
  31620. end;
  31621. procedure TRCON_RCON.clearSWR; inline;
  31622. begin
  31623. pTDefRegMap(@Self)^.clr := $00000040;
  31624. end;
  31625. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  31626. begin
  31627. if thebits = 0 then
  31628. pTDefRegMap(@Self)^.clr := $00000040
  31629. else
  31630. pTDefRegMap(@Self)^.&set := $00000040;
  31631. end;
  31632. function TRCON_RCON.getSWR : TBits_1; inline;
  31633. begin
  31634. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31635. end;
  31636. procedure TRCON_RCON.setEXTR; inline;
  31637. begin
  31638. pTDefRegMap(@Self)^.&set := $00000080;
  31639. end;
  31640. procedure TRCON_RCON.clearEXTR; inline;
  31641. begin
  31642. pTDefRegMap(@Self)^.clr := $00000080;
  31643. end;
  31644. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  31645. begin
  31646. if thebits = 0 then
  31647. pTDefRegMap(@Self)^.clr := $00000080
  31648. else
  31649. pTDefRegMap(@Self)^.&set := $00000080;
  31650. end;
  31651. function TRCON_RCON.getEXTR : TBits_1; inline;
  31652. begin
  31653. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31654. end;
  31655. procedure TRCON_RCON.setVREGS; inline;
  31656. begin
  31657. pTDefRegMap(@Self)^.&set := $00000100;
  31658. end;
  31659. procedure TRCON_RCON.clearVREGS; inline;
  31660. begin
  31661. pTDefRegMap(@Self)^.clr := $00000100;
  31662. end;
  31663. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  31664. begin
  31665. if thebits = 0 then
  31666. pTDefRegMap(@Self)^.clr := $00000100
  31667. else
  31668. pTDefRegMap(@Self)^.&set := $00000100;
  31669. end;
  31670. function TRCON_RCON.getVREGS : TBits_1; inline;
  31671. begin
  31672. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31673. end;
  31674. procedure TRCON_RCON.setCMR; inline;
  31675. begin
  31676. pTDefRegMap(@Self)^.&set := $00000200;
  31677. end;
  31678. procedure TRCON_RCON.clearCMR; inline;
  31679. begin
  31680. pTDefRegMap(@Self)^.clr := $00000200;
  31681. end;
  31682. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  31683. begin
  31684. if thebits = 0 then
  31685. pTDefRegMap(@Self)^.clr := $00000200
  31686. else
  31687. pTDefRegMap(@Self)^.&set := $00000200;
  31688. end;
  31689. function TRCON_RCON.getCMR : TBits_1; inline;
  31690. begin
  31691. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31692. end;
  31693. procedure TRCON_RCON.setHVDR; inline;
  31694. begin
  31695. pTDefRegMap(@Self)^.&set := $20000000;
  31696. end;
  31697. procedure TRCON_RCON.clearHVDR; inline;
  31698. begin
  31699. pTDefRegMap(@Self)^.clr := $20000000;
  31700. end;
  31701. procedure TRCON_RCON.setHVDR(thebits : TBits_1); inline;
  31702. begin
  31703. if thebits = 0 then
  31704. pTDefRegMap(@Self)^.clr := $20000000
  31705. else
  31706. pTDefRegMap(@Self)^.&set := $20000000;
  31707. end;
  31708. function TRCON_RCON.getHVDR : TBits_1; inline;
  31709. begin
  31710. getHVDR := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  31711. end;
  31712. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  31713. begin
  31714. pTDefRegMap(@Self)^.val := thebits;
  31715. end;
  31716. function TRCON_RCON.getw : TBits_32; inline;
  31717. begin
  31718. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31719. end;
  31720. procedure TRCON_RSWRST.setSWRST; inline;
  31721. begin
  31722. pTDefRegMap(@Self)^.&set := $00000001;
  31723. end;
  31724. procedure TRCON_RSWRST.clearSWRST; inline;
  31725. begin
  31726. pTDefRegMap(@Self)^.clr := $00000001;
  31727. end;
  31728. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  31729. begin
  31730. if thebits = 0 then
  31731. pTDefRegMap(@Self)^.clr := $00000001
  31732. else
  31733. pTDefRegMap(@Self)^.&set := $00000001;
  31734. end;
  31735. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  31736. begin
  31737. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31738. end;
  31739. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  31740. begin
  31741. pTDefRegMap(@Self)^.val := thebits;
  31742. end;
  31743. function TRCON_RSWRST.getw : TBits_32; inline;
  31744. begin
  31745. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31746. end;
  31747. procedure TINT_INTCON.setINT0EP; inline;
  31748. begin
  31749. pTDefRegMap(@Self)^.&set := $00000001;
  31750. end;
  31751. procedure TINT_INTCON.clearINT0EP; inline;
  31752. begin
  31753. pTDefRegMap(@Self)^.clr := $00000001;
  31754. end;
  31755. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  31756. begin
  31757. if thebits = 0 then
  31758. pTDefRegMap(@Self)^.clr := $00000001
  31759. else
  31760. pTDefRegMap(@Self)^.&set := $00000001;
  31761. end;
  31762. function TINT_INTCON.getINT0EP : TBits_1; inline;
  31763. begin
  31764. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31765. end;
  31766. procedure TINT_INTCON.setINT1EP; inline;
  31767. begin
  31768. pTDefRegMap(@Self)^.&set := $00000002;
  31769. end;
  31770. procedure TINT_INTCON.clearINT1EP; inline;
  31771. begin
  31772. pTDefRegMap(@Self)^.clr := $00000002;
  31773. end;
  31774. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  31775. begin
  31776. if thebits = 0 then
  31777. pTDefRegMap(@Self)^.clr := $00000002
  31778. else
  31779. pTDefRegMap(@Self)^.&set := $00000002;
  31780. end;
  31781. function TINT_INTCON.getINT1EP : TBits_1; inline;
  31782. begin
  31783. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31784. end;
  31785. procedure TINT_INTCON.setINT2EP; inline;
  31786. begin
  31787. pTDefRegMap(@Self)^.&set := $00000004;
  31788. end;
  31789. procedure TINT_INTCON.clearINT2EP; inline;
  31790. begin
  31791. pTDefRegMap(@Self)^.clr := $00000004;
  31792. end;
  31793. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  31794. begin
  31795. if thebits = 0 then
  31796. pTDefRegMap(@Self)^.clr := $00000004
  31797. else
  31798. pTDefRegMap(@Self)^.&set := $00000004;
  31799. end;
  31800. function TINT_INTCON.getINT2EP : TBits_1; inline;
  31801. begin
  31802. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31803. end;
  31804. procedure TINT_INTCON.setINT3EP; inline;
  31805. begin
  31806. pTDefRegMap(@Self)^.&set := $00000008;
  31807. end;
  31808. procedure TINT_INTCON.clearINT3EP; inline;
  31809. begin
  31810. pTDefRegMap(@Self)^.clr := $00000008;
  31811. end;
  31812. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  31813. begin
  31814. if thebits = 0 then
  31815. pTDefRegMap(@Self)^.clr := $00000008
  31816. else
  31817. pTDefRegMap(@Self)^.&set := $00000008;
  31818. end;
  31819. function TINT_INTCON.getINT3EP : TBits_1; inline;
  31820. begin
  31821. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31822. end;
  31823. procedure TINT_INTCON.setINT4EP; inline;
  31824. begin
  31825. pTDefRegMap(@Self)^.&set := $00000010;
  31826. end;
  31827. procedure TINT_INTCON.clearINT4EP; inline;
  31828. begin
  31829. pTDefRegMap(@Self)^.clr := $00000010;
  31830. end;
  31831. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  31832. begin
  31833. if thebits = 0 then
  31834. pTDefRegMap(@Self)^.clr := $00000010
  31835. else
  31836. pTDefRegMap(@Self)^.&set := $00000010;
  31837. end;
  31838. function TINT_INTCON.getINT4EP : TBits_1; inline;
  31839. begin
  31840. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31841. end;
  31842. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  31843. begin
  31844. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  31845. end;
  31846. function TINT_INTCON.getTPC : TBits_3; inline;
  31847. begin
  31848. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  31849. end;
  31850. procedure TINT_INTCON.setMVEC; inline;
  31851. begin
  31852. pTDefRegMap(@Self)^.&set := $00001000;
  31853. end;
  31854. procedure TINT_INTCON.clearMVEC; inline;
  31855. begin
  31856. pTDefRegMap(@Self)^.clr := $00001000;
  31857. end;
  31858. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  31859. begin
  31860. if thebits = 0 then
  31861. pTDefRegMap(@Self)^.clr := $00001000
  31862. else
  31863. pTDefRegMap(@Self)^.&set := $00001000;
  31864. end;
  31865. function TINT_INTCON.getMVEC : TBits_1; inline;
  31866. begin
  31867. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31868. end;
  31869. procedure TINT_INTCON.setSS0; inline;
  31870. begin
  31871. pTDefRegMap(@Self)^.&set := $00010000;
  31872. end;
  31873. procedure TINT_INTCON.clearSS0; inline;
  31874. begin
  31875. pTDefRegMap(@Self)^.clr := $00010000;
  31876. end;
  31877. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  31878. begin
  31879. if thebits = 0 then
  31880. pTDefRegMap(@Self)^.clr := $00010000
  31881. else
  31882. pTDefRegMap(@Self)^.&set := $00010000;
  31883. end;
  31884. function TINT_INTCON.getSS0 : TBits_1; inline;
  31885. begin
  31886. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31887. end;
  31888. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  31889. begin
  31890. pTDefRegMap(@Self)^.val := thebits;
  31891. end;
  31892. function TINT_INTCON.getw : TBits_32; inline;
  31893. begin
  31894. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31895. end;
  31896. procedure TINT_IFS0.setCTIF; inline;
  31897. begin
  31898. pTDefRegMap(@Self)^.&set := $00000001;
  31899. end;
  31900. procedure TINT_IFS0.clearCTIF; inline;
  31901. begin
  31902. pTDefRegMap(@Self)^.clr := $00000001;
  31903. end;
  31904. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  31905. begin
  31906. if thebits = 0 then
  31907. pTDefRegMap(@Self)^.clr := $00000001
  31908. else
  31909. pTDefRegMap(@Self)^.&set := $00000001;
  31910. end;
  31911. function TINT_IFS0.getCTIF : TBits_1; inline;
  31912. begin
  31913. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31914. end;
  31915. procedure TINT_IFS0.setCS0IF; inline;
  31916. begin
  31917. pTDefRegMap(@Self)^.&set := $00000002;
  31918. end;
  31919. procedure TINT_IFS0.clearCS0IF; inline;
  31920. begin
  31921. pTDefRegMap(@Self)^.clr := $00000002;
  31922. end;
  31923. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  31924. begin
  31925. if thebits = 0 then
  31926. pTDefRegMap(@Self)^.clr := $00000002
  31927. else
  31928. pTDefRegMap(@Self)^.&set := $00000002;
  31929. end;
  31930. function TINT_IFS0.getCS0IF : TBits_1; inline;
  31931. begin
  31932. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31933. end;
  31934. procedure TINT_IFS0.setCS1IF; inline;
  31935. begin
  31936. pTDefRegMap(@Self)^.&set := $00000004;
  31937. end;
  31938. procedure TINT_IFS0.clearCS1IF; inline;
  31939. begin
  31940. pTDefRegMap(@Self)^.clr := $00000004;
  31941. end;
  31942. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  31943. begin
  31944. if thebits = 0 then
  31945. pTDefRegMap(@Self)^.clr := $00000004
  31946. else
  31947. pTDefRegMap(@Self)^.&set := $00000004;
  31948. end;
  31949. function TINT_IFS0.getCS1IF : TBits_1; inline;
  31950. begin
  31951. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31952. end;
  31953. procedure TINT_IFS0.setINT0IF; inline;
  31954. begin
  31955. pTDefRegMap(@Self)^.&set := $00000008;
  31956. end;
  31957. procedure TINT_IFS0.clearINT0IF; inline;
  31958. begin
  31959. pTDefRegMap(@Self)^.clr := $00000008;
  31960. end;
  31961. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  31962. begin
  31963. if thebits = 0 then
  31964. pTDefRegMap(@Self)^.clr := $00000008
  31965. else
  31966. pTDefRegMap(@Self)^.&set := $00000008;
  31967. end;
  31968. function TINT_IFS0.getINT0IF : TBits_1; inline;
  31969. begin
  31970. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31971. end;
  31972. procedure TINT_IFS0.setT1IF; inline;
  31973. begin
  31974. pTDefRegMap(@Self)^.&set := $00000010;
  31975. end;
  31976. procedure TINT_IFS0.clearT1IF; inline;
  31977. begin
  31978. pTDefRegMap(@Self)^.clr := $00000010;
  31979. end;
  31980. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  31981. begin
  31982. if thebits = 0 then
  31983. pTDefRegMap(@Self)^.clr := $00000010
  31984. else
  31985. pTDefRegMap(@Self)^.&set := $00000010;
  31986. end;
  31987. function TINT_IFS0.getT1IF : TBits_1; inline;
  31988. begin
  31989. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31990. end;
  31991. procedure TINT_IFS0.setIC1EIF; inline;
  31992. begin
  31993. pTDefRegMap(@Self)^.&set := $00000020;
  31994. end;
  31995. procedure TINT_IFS0.clearIC1EIF; inline;
  31996. begin
  31997. pTDefRegMap(@Self)^.clr := $00000020;
  31998. end;
  31999. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  32000. begin
  32001. if thebits = 0 then
  32002. pTDefRegMap(@Self)^.clr := $00000020
  32003. else
  32004. pTDefRegMap(@Self)^.&set := $00000020;
  32005. end;
  32006. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  32007. begin
  32008. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32009. end;
  32010. procedure TINT_IFS0.setIC1IF; inline;
  32011. begin
  32012. pTDefRegMap(@Self)^.&set := $00000040;
  32013. end;
  32014. procedure TINT_IFS0.clearIC1IF; inline;
  32015. begin
  32016. pTDefRegMap(@Self)^.clr := $00000040;
  32017. end;
  32018. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  32019. begin
  32020. if thebits = 0 then
  32021. pTDefRegMap(@Self)^.clr := $00000040
  32022. else
  32023. pTDefRegMap(@Self)^.&set := $00000040;
  32024. end;
  32025. function TINT_IFS0.getIC1IF : TBits_1; inline;
  32026. begin
  32027. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32028. end;
  32029. procedure TINT_IFS0.setOC1IF; inline;
  32030. begin
  32031. pTDefRegMap(@Self)^.&set := $00000080;
  32032. end;
  32033. procedure TINT_IFS0.clearOC1IF; inline;
  32034. begin
  32035. pTDefRegMap(@Self)^.clr := $00000080;
  32036. end;
  32037. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  32038. begin
  32039. if thebits = 0 then
  32040. pTDefRegMap(@Self)^.clr := $00000080
  32041. else
  32042. pTDefRegMap(@Self)^.&set := $00000080;
  32043. end;
  32044. function TINT_IFS0.getOC1IF : TBits_1; inline;
  32045. begin
  32046. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32047. end;
  32048. procedure TINT_IFS0.setINT1IF; inline;
  32049. begin
  32050. pTDefRegMap(@Self)^.&set := $00000100;
  32051. end;
  32052. procedure TINT_IFS0.clearINT1IF; inline;
  32053. begin
  32054. pTDefRegMap(@Self)^.clr := $00000100;
  32055. end;
  32056. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  32057. begin
  32058. if thebits = 0 then
  32059. pTDefRegMap(@Self)^.clr := $00000100
  32060. else
  32061. pTDefRegMap(@Self)^.&set := $00000100;
  32062. end;
  32063. function TINT_IFS0.getINT1IF : TBits_1; inline;
  32064. begin
  32065. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32066. end;
  32067. procedure TINT_IFS0.setT2IF; inline;
  32068. begin
  32069. pTDefRegMap(@Self)^.&set := $00000200;
  32070. end;
  32071. procedure TINT_IFS0.clearT2IF; inline;
  32072. begin
  32073. pTDefRegMap(@Self)^.clr := $00000200;
  32074. end;
  32075. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  32076. begin
  32077. if thebits = 0 then
  32078. pTDefRegMap(@Self)^.clr := $00000200
  32079. else
  32080. pTDefRegMap(@Self)^.&set := $00000200;
  32081. end;
  32082. function TINT_IFS0.getT2IF : TBits_1; inline;
  32083. begin
  32084. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32085. end;
  32086. procedure TINT_IFS0.setIC2EIF; inline;
  32087. begin
  32088. pTDefRegMap(@Self)^.&set := $00000400;
  32089. end;
  32090. procedure TINT_IFS0.clearIC2EIF; inline;
  32091. begin
  32092. pTDefRegMap(@Self)^.clr := $00000400;
  32093. end;
  32094. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  32095. begin
  32096. if thebits = 0 then
  32097. pTDefRegMap(@Self)^.clr := $00000400
  32098. else
  32099. pTDefRegMap(@Self)^.&set := $00000400;
  32100. end;
  32101. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  32102. begin
  32103. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32104. end;
  32105. procedure TINT_IFS0.setIC2IF; inline;
  32106. begin
  32107. pTDefRegMap(@Self)^.&set := $00000800;
  32108. end;
  32109. procedure TINT_IFS0.clearIC2IF; inline;
  32110. begin
  32111. pTDefRegMap(@Self)^.clr := $00000800;
  32112. end;
  32113. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  32114. begin
  32115. if thebits = 0 then
  32116. pTDefRegMap(@Self)^.clr := $00000800
  32117. else
  32118. pTDefRegMap(@Self)^.&set := $00000800;
  32119. end;
  32120. function TINT_IFS0.getIC2IF : TBits_1; inline;
  32121. begin
  32122. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32123. end;
  32124. procedure TINT_IFS0.setOC2IF; inline;
  32125. begin
  32126. pTDefRegMap(@Self)^.&set := $00001000;
  32127. end;
  32128. procedure TINT_IFS0.clearOC2IF; inline;
  32129. begin
  32130. pTDefRegMap(@Self)^.clr := $00001000;
  32131. end;
  32132. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  32133. begin
  32134. if thebits = 0 then
  32135. pTDefRegMap(@Self)^.clr := $00001000
  32136. else
  32137. pTDefRegMap(@Self)^.&set := $00001000;
  32138. end;
  32139. function TINT_IFS0.getOC2IF : TBits_1; inline;
  32140. begin
  32141. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32142. end;
  32143. procedure TINT_IFS0.setINT2IF; inline;
  32144. begin
  32145. pTDefRegMap(@Self)^.&set := $00002000;
  32146. end;
  32147. procedure TINT_IFS0.clearINT2IF; inline;
  32148. begin
  32149. pTDefRegMap(@Self)^.clr := $00002000;
  32150. end;
  32151. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  32152. begin
  32153. if thebits = 0 then
  32154. pTDefRegMap(@Self)^.clr := $00002000
  32155. else
  32156. pTDefRegMap(@Self)^.&set := $00002000;
  32157. end;
  32158. function TINT_IFS0.getINT2IF : TBits_1; inline;
  32159. begin
  32160. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32161. end;
  32162. procedure TINT_IFS0.setT3IF; inline;
  32163. begin
  32164. pTDefRegMap(@Self)^.&set := $00004000;
  32165. end;
  32166. procedure TINT_IFS0.clearT3IF; inline;
  32167. begin
  32168. pTDefRegMap(@Self)^.clr := $00004000;
  32169. end;
  32170. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  32171. begin
  32172. if thebits = 0 then
  32173. pTDefRegMap(@Self)^.clr := $00004000
  32174. else
  32175. pTDefRegMap(@Self)^.&set := $00004000;
  32176. end;
  32177. function TINT_IFS0.getT3IF : TBits_1; inline;
  32178. begin
  32179. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32180. end;
  32181. procedure TINT_IFS0.setIC3EIF; inline;
  32182. begin
  32183. pTDefRegMap(@Self)^.&set := $00008000;
  32184. end;
  32185. procedure TINT_IFS0.clearIC3EIF; inline;
  32186. begin
  32187. pTDefRegMap(@Self)^.clr := $00008000;
  32188. end;
  32189. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  32190. begin
  32191. if thebits = 0 then
  32192. pTDefRegMap(@Self)^.clr := $00008000
  32193. else
  32194. pTDefRegMap(@Self)^.&set := $00008000;
  32195. end;
  32196. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  32197. begin
  32198. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32199. end;
  32200. procedure TINT_IFS0.setIC3IF; inline;
  32201. begin
  32202. pTDefRegMap(@Self)^.&set := $00010000;
  32203. end;
  32204. procedure TINT_IFS0.clearIC3IF; inline;
  32205. begin
  32206. pTDefRegMap(@Self)^.clr := $00010000;
  32207. end;
  32208. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  32209. begin
  32210. if thebits = 0 then
  32211. pTDefRegMap(@Self)^.clr := $00010000
  32212. else
  32213. pTDefRegMap(@Self)^.&set := $00010000;
  32214. end;
  32215. function TINT_IFS0.getIC3IF : TBits_1; inline;
  32216. begin
  32217. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32218. end;
  32219. procedure TINT_IFS0.setOC3IF; inline;
  32220. begin
  32221. pTDefRegMap(@Self)^.&set := $00020000;
  32222. end;
  32223. procedure TINT_IFS0.clearOC3IF; inline;
  32224. begin
  32225. pTDefRegMap(@Self)^.clr := $00020000;
  32226. end;
  32227. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  32228. begin
  32229. if thebits = 0 then
  32230. pTDefRegMap(@Self)^.clr := $00020000
  32231. else
  32232. pTDefRegMap(@Self)^.&set := $00020000;
  32233. end;
  32234. function TINT_IFS0.getOC3IF : TBits_1; inline;
  32235. begin
  32236. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32237. end;
  32238. procedure TINT_IFS0.setINT3IF; inline;
  32239. begin
  32240. pTDefRegMap(@Self)^.&set := $00040000;
  32241. end;
  32242. procedure TINT_IFS0.clearINT3IF; inline;
  32243. begin
  32244. pTDefRegMap(@Self)^.clr := $00040000;
  32245. end;
  32246. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  32247. begin
  32248. if thebits = 0 then
  32249. pTDefRegMap(@Self)^.clr := $00040000
  32250. else
  32251. pTDefRegMap(@Self)^.&set := $00040000;
  32252. end;
  32253. function TINT_IFS0.getINT3IF : TBits_1; inline;
  32254. begin
  32255. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32256. end;
  32257. procedure TINT_IFS0.setT4IF; inline;
  32258. begin
  32259. pTDefRegMap(@Self)^.&set := $00080000;
  32260. end;
  32261. procedure TINT_IFS0.clearT4IF; inline;
  32262. begin
  32263. pTDefRegMap(@Self)^.clr := $00080000;
  32264. end;
  32265. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  32266. begin
  32267. if thebits = 0 then
  32268. pTDefRegMap(@Self)^.clr := $00080000
  32269. else
  32270. pTDefRegMap(@Self)^.&set := $00080000;
  32271. end;
  32272. function TINT_IFS0.getT4IF : TBits_1; inline;
  32273. begin
  32274. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32275. end;
  32276. procedure TINT_IFS0.setIC4EIF; inline;
  32277. begin
  32278. pTDefRegMap(@Self)^.&set := $00100000;
  32279. end;
  32280. procedure TINT_IFS0.clearIC4EIF; inline;
  32281. begin
  32282. pTDefRegMap(@Self)^.clr := $00100000;
  32283. end;
  32284. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  32285. begin
  32286. if thebits = 0 then
  32287. pTDefRegMap(@Self)^.clr := $00100000
  32288. else
  32289. pTDefRegMap(@Self)^.&set := $00100000;
  32290. end;
  32291. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  32292. begin
  32293. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32294. end;
  32295. procedure TINT_IFS0.setIC4IF; inline;
  32296. begin
  32297. pTDefRegMap(@Self)^.&set := $00200000;
  32298. end;
  32299. procedure TINT_IFS0.clearIC4IF; inline;
  32300. begin
  32301. pTDefRegMap(@Self)^.clr := $00200000;
  32302. end;
  32303. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  32304. begin
  32305. if thebits = 0 then
  32306. pTDefRegMap(@Self)^.clr := $00200000
  32307. else
  32308. pTDefRegMap(@Self)^.&set := $00200000;
  32309. end;
  32310. function TINT_IFS0.getIC4IF : TBits_1; inline;
  32311. begin
  32312. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32313. end;
  32314. procedure TINT_IFS0.setOC4IF; inline;
  32315. begin
  32316. pTDefRegMap(@Self)^.&set := $00400000;
  32317. end;
  32318. procedure TINT_IFS0.clearOC4IF; inline;
  32319. begin
  32320. pTDefRegMap(@Self)^.clr := $00400000;
  32321. end;
  32322. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  32323. begin
  32324. if thebits = 0 then
  32325. pTDefRegMap(@Self)^.clr := $00400000
  32326. else
  32327. pTDefRegMap(@Self)^.&set := $00400000;
  32328. end;
  32329. function TINT_IFS0.getOC4IF : TBits_1; inline;
  32330. begin
  32331. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32332. end;
  32333. procedure TINT_IFS0.setINT4IF; inline;
  32334. begin
  32335. pTDefRegMap(@Self)^.&set := $00800000;
  32336. end;
  32337. procedure TINT_IFS0.clearINT4IF; inline;
  32338. begin
  32339. pTDefRegMap(@Self)^.clr := $00800000;
  32340. end;
  32341. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  32342. begin
  32343. if thebits = 0 then
  32344. pTDefRegMap(@Self)^.clr := $00800000
  32345. else
  32346. pTDefRegMap(@Self)^.&set := $00800000;
  32347. end;
  32348. function TINT_IFS0.getINT4IF : TBits_1; inline;
  32349. begin
  32350. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32351. end;
  32352. procedure TINT_IFS0.setT5IF; inline;
  32353. begin
  32354. pTDefRegMap(@Self)^.&set := $01000000;
  32355. end;
  32356. procedure TINT_IFS0.clearT5IF; inline;
  32357. begin
  32358. pTDefRegMap(@Self)^.clr := $01000000;
  32359. end;
  32360. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  32361. begin
  32362. if thebits = 0 then
  32363. pTDefRegMap(@Self)^.clr := $01000000
  32364. else
  32365. pTDefRegMap(@Self)^.&set := $01000000;
  32366. end;
  32367. function TINT_IFS0.getT5IF : TBits_1; inline;
  32368. begin
  32369. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32370. end;
  32371. procedure TINT_IFS0.setIC5EIF; inline;
  32372. begin
  32373. pTDefRegMap(@Self)^.&set := $02000000;
  32374. end;
  32375. procedure TINT_IFS0.clearIC5EIF; inline;
  32376. begin
  32377. pTDefRegMap(@Self)^.clr := $02000000;
  32378. end;
  32379. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  32380. begin
  32381. if thebits = 0 then
  32382. pTDefRegMap(@Self)^.clr := $02000000
  32383. else
  32384. pTDefRegMap(@Self)^.&set := $02000000;
  32385. end;
  32386. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  32387. begin
  32388. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  32389. end;
  32390. procedure TINT_IFS0.setIC5IF; inline;
  32391. begin
  32392. pTDefRegMap(@Self)^.&set := $04000000;
  32393. end;
  32394. procedure TINT_IFS0.clearIC5IF; inline;
  32395. begin
  32396. pTDefRegMap(@Self)^.clr := $04000000;
  32397. end;
  32398. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  32399. begin
  32400. if thebits = 0 then
  32401. pTDefRegMap(@Self)^.clr := $04000000
  32402. else
  32403. pTDefRegMap(@Self)^.&set := $04000000;
  32404. end;
  32405. function TINT_IFS0.getIC5IF : TBits_1; inline;
  32406. begin
  32407. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  32408. end;
  32409. procedure TINT_IFS0.setOC5IF; inline;
  32410. begin
  32411. pTDefRegMap(@Self)^.&set := $08000000;
  32412. end;
  32413. procedure TINT_IFS0.clearOC5IF; inline;
  32414. begin
  32415. pTDefRegMap(@Self)^.clr := $08000000;
  32416. end;
  32417. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  32418. begin
  32419. if thebits = 0 then
  32420. pTDefRegMap(@Self)^.clr := $08000000
  32421. else
  32422. pTDefRegMap(@Self)^.&set := $08000000;
  32423. end;
  32424. function TINT_IFS0.getOC5IF : TBits_1; inline;
  32425. begin
  32426. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  32427. end;
  32428. procedure TINT_IFS0.setAD1IF; inline;
  32429. begin
  32430. pTDefRegMap(@Self)^.&set := $10000000;
  32431. end;
  32432. procedure TINT_IFS0.clearAD1IF; inline;
  32433. begin
  32434. pTDefRegMap(@Self)^.clr := $10000000;
  32435. end;
  32436. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  32437. begin
  32438. if thebits = 0 then
  32439. pTDefRegMap(@Self)^.clr := $10000000
  32440. else
  32441. pTDefRegMap(@Self)^.&set := $10000000;
  32442. end;
  32443. function TINT_IFS0.getAD1IF : TBits_1; inline;
  32444. begin
  32445. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  32446. end;
  32447. procedure TINT_IFS0.setFSCMIF; inline;
  32448. begin
  32449. pTDefRegMap(@Self)^.&set := $20000000;
  32450. end;
  32451. procedure TINT_IFS0.clearFSCMIF; inline;
  32452. begin
  32453. pTDefRegMap(@Self)^.clr := $20000000;
  32454. end;
  32455. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  32456. begin
  32457. if thebits = 0 then
  32458. pTDefRegMap(@Self)^.clr := $20000000
  32459. else
  32460. pTDefRegMap(@Self)^.&set := $20000000;
  32461. end;
  32462. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  32463. begin
  32464. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  32465. end;
  32466. procedure TINT_IFS0.setRTCCIF; inline;
  32467. begin
  32468. pTDefRegMap(@Self)^.&set := $40000000;
  32469. end;
  32470. procedure TINT_IFS0.clearRTCCIF; inline;
  32471. begin
  32472. pTDefRegMap(@Self)^.clr := $40000000;
  32473. end;
  32474. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  32475. begin
  32476. if thebits = 0 then
  32477. pTDefRegMap(@Self)^.clr := $40000000
  32478. else
  32479. pTDefRegMap(@Self)^.&set := $40000000;
  32480. end;
  32481. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  32482. begin
  32483. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  32484. end;
  32485. procedure TINT_IFS0.setFCEIF; inline;
  32486. begin
  32487. pTDefRegMap(@Self)^.&set := $80000000;
  32488. end;
  32489. procedure TINT_IFS0.clearFCEIF; inline;
  32490. begin
  32491. pTDefRegMap(@Self)^.clr := $80000000;
  32492. end;
  32493. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  32494. begin
  32495. if thebits = 0 then
  32496. pTDefRegMap(@Self)^.clr := $80000000
  32497. else
  32498. pTDefRegMap(@Self)^.&set := $80000000;
  32499. end;
  32500. function TINT_IFS0.getFCEIF : TBits_1; inline;
  32501. begin
  32502. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  32503. end;
  32504. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  32505. begin
  32506. pTDefRegMap(@Self)^.val := thebits;
  32507. end;
  32508. function TINT_IFS0.getw : TBits_32; inline;
  32509. begin
  32510. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32511. end;
  32512. procedure TINT_IFS1.setCMP1IF; inline;
  32513. begin
  32514. pTDefRegMap(@Self)^.&set := $00000001;
  32515. end;
  32516. procedure TINT_IFS1.clearCMP1IF; inline;
  32517. begin
  32518. pTDefRegMap(@Self)^.clr := $00000001;
  32519. end;
  32520. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  32521. begin
  32522. if thebits = 0 then
  32523. pTDefRegMap(@Self)^.clr := $00000001
  32524. else
  32525. pTDefRegMap(@Self)^.&set := $00000001;
  32526. end;
  32527. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  32528. begin
  32529. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32530. end;
  32531. procedure TINT_IFS1.setCMP2IF; inline;
  32532. begin
  32533. pTDefRegMap(@Self)^.&set := $00000002;
  32534. end;
  32535. procedure TINT_IFS1.clearCMP2IF; inline;
  32536. begin
  32537. pTDefRegMap(@Self)^.clr := $00000002;
  32538. end;
  32539. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  32540. begin
  32541. if thebits = 0 then
  32542. pTDefRegMap(@Self)^.clr := $00000002
  32543. else
  32544. pTDefRegMap(@Self)^.&set := $00000002;
  32545. end;
  32546. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  32547. begin
  32548. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32549. end;
  32550. procedure TINT_IFS1.setUSBIF; inline;
  32551. begin
  32552. pTDefRegMap(@Self)^.&set := $00000004;
  32553. end;
  32554. procedure TINT_IFS1.clearUSBIF; inline;
  32555. begin
  32556. pTDefRegMap(@Self)^.clr := $00000004;
  32557. end;
  32558. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  32559. begin
  32560. if thebits = 0 then
  32561. pTDefRegMap(@Self)^.clr := $00000004
  32562. else
  32563. pTDefRegMap(@Self)^.&set := $00000004;
  32564. end;
  32565. function TINT_IFS1.getUSBIF : TBits_1; inline;
  32566. begin
  32567. getUSBIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32568. end;
  32569. procedure TINT_IFS1.setSPI1EIF; inline;
  32570. begin
  32571. pTDefRegMap(@Self)^.&set := $00000008;
  32572. end;
  32573. procedure TINT_IFS1.clearSPI1EIF; inline;
  32574. begin
  32575. pTDefRegMap(@Self)^.clr := $00000008;
  32576. end;
  32577. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  32578. begin
  32579. if thebits = 0 then
  32580. pTDefRegMap(@Self)^.clr := $00000008
  32581. else
  32582. pTDefRegMap(@Self)^.&set := $00000008;
  32583. end;
  32584. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  32585. begin
  32586. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32587. end;
  32588. procedure TINT_IFS1.setSPI1RXIF; inline;
  32589. begin
  32590. pTDefRegMap(@Self)^.&set := $00000010;
  32591. end;
  32592. procedure TINT_IFS1.clearSPI1RXIF; inline;
  32593. begin
  32594. pTDefRegMap(@Self)^.clr := $00000010;
  32595. end;
  32596. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  32597. begin
  32598. if thebits = 0 then
  32599. pTDefRegMap(@Self)^.clr := $00000010
  32600. else
  32601. pTDefRegMap(@Self)^.&set := $00000010;
  32602. end;
  32603. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  32604. begin
  32605. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32606. end;
  32607. procedure TINT_IFS1.setSPI1TXIF; inline;
  32608. begin
  32609. pTDefRegMap(@Self)^.&set := $00000020;
  32610. end;
  32611. procedure TINT_IFS1.clearSPI1TXIF; inline;
  32612. begin
  32613. pTDefRegMap(@Self)^.clr := $00000020;
  32614. end;
  32615. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  32616. begin
  32617. if thebits = 0 then
  32618. pTDefRegMap(@Self)^.clr := $00000020
  32619. else
  32620. pTDefRegMap(@Self)^.&set := $00000020;
  32621. end;
  32622. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  32623. begin
  32624. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32625. end;
  32626. procedure TINT_IFS1.setU1EIF; inline;
  32627. begin
  32628. pTDefRegMap(@Self)^.&set := $00000040;
  32629. end;
  32630. procedure TINT_IFS1.clearU1EIF; inline;
  32631. begin
  32632. pTDefRegMap(@Self)^.clr := $00000040;
  32633. end;
  32634. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  32635. begin
  32636. if thebits = 0 then
  32637. pTDefRegMap(@Self)^.clr := $00000040
  32638. else
  32639. pTDefRegMap(@Self)^.&set := $00000040;
  32640. end;
  32641. function TINT_IFS1.getU1EIF : TBits_1; inline;
  32642. begin
  32643. getU1EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32644. end;
  32645. procedure TINT_IFS1.setU1RXIF; inline;
  32646. begin
  32647. pTDefRegMap(@Self)^.&set := $00000080;
  32648. end;
  32649. procedure TINT_IFS1.clearU1RXIF; inline;
  32650. begin
  32651. pTDefRegMap(@Self)^.clr := $00000080;
  32652. end;
  32653. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  32654. begin
  32655. if thebits = 0 then
  32656. pTDefRegMap(@Self)^.clr := $00000080
  32657. else
  32658. pTDefRegMap(@Self)^.&set := $00000080;
  32659. end;
  32660. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  32661. begin
  32662. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32663. end;
  32664. procedure TINT_IFS1.setU1TXIF; inline;
  32665. begin
  32666. pTDefRegMap(@Self)^.&set := $00000100;
  32667. end;
  32668. procedure TINT_IFS1.clearU1TXIF; inline;
  32669. begin
  32670. pTDefRegMap(@Self)^.clr := $00000100;
  32671. end;
  32672. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  32673. begin
  32674. if thebits = 0 then
  32675. pTDefRegMap(@Self)^.clr := $00000100
  32676. else
  32677. pTDefRegMap(@Self)^.&set := $00000100;
  32678. end;
  32679. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  32680. begin
  32681. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32682. end;
  32683. procedure TINT_IFS1.setI2C1BIF; inline;
  32684. begin
  32685. pTDefRegMap(@Self)^.&set := $00000200;
  32686. end;
  32687. procedure TINT_IFS1.clearI2C1BIF; inline;
  32688. begin
  32689. pTDefRegMap(@Self)^.clr := $00000200;
  32690. end;
  32691. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  32692. begin
  32693. if thebits = 0 then
  32694. pTDefRegMap(@Self)^.clr := $00000200
  32695. else
  32696. pTDefRegMap(@Self)^.&set := $00000200;
  32697. end;
  32698. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  32699. begin
  32700. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32701. end;
  32702. procedure TINT_IFS1.setI2C1SIF; inline;
  32703. begin
  32704. pTDefRegMap(@Self)^.&set := $00000400;
  32705. end;
  32706. procedure TINT_IFS1.clearI2C1SIF; inline;
  32707. begin
  32708. pTDefRegMap(@Self)^.clr := $00000400;
  32709. end;
  32710. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  32711. begin
  32712. if thebits = 0 then
  32713. pTDefRegMap(@Self)^.clr := $00000400
  32714. else
  32715. pTDefRegMap(@Self)^.&set := $00000400;
  32716. end;
  32717. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  32718. begin
  32719. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32720. end;
  32721. procedure TINT_IFS1.setI2C1MIF; inline;
  32722. begin
  32723. pTDefRegMap(@Self)^.&set := $00000800;
  32724. end;
  32725. procedure TINT_IFS1.clearI2C1MIF; inline;
  32726. begin
  32727. pTDefRegMap(@Self)^.clr := $00000800;
  32728. end;
  32729. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  32730. begin
  32731. if thebits = 0 then
  32732. pTDefRegMap(@Self)^.clr := $00000800
  32733. else
  32734. pTDefRegMap(@Self)^.&set := $00000800;
  32735. end;
  32736. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  32737. begin
  32738. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32739. end;
  32740. procedure TINT_IFS1.setCNAIF; inline;
  32741. begin
  32742. pTDefRegMap(@Self)^.&set := $00001000;
  32743. end;
  32744. procedure TINT_IFS1.clearCNAIF; inline;
  32745. begin
  32746. pTDefRegMap(@Self)^.clr := $00001000;
  32747. end;
  32748. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  32749. begin
  32750. if thebits = 0 then
  32751. pTDefRegMap(@Self)^.clr := $00001000
  32752. else
  32753. pTDefRegMap(@Self)^.&set := $00001000;
  32754. end;
  32755. function TINT_IFS1.getCNAIF : TBits_1; inline;
  32756. begin
  32757. getCNAIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32758. end;
  32759. procedure TINT_IFS1.setCNBIF; inline;
  32760. begin
  32761. pTDefRegMap(@Self)^.&set := $00002000;
  32762. end;
  32763. procedure TINT_IFS1.clearCNBIF; inline;
  32764. begin
  32765. pTDefRegMap(@Self)^.clr := $00002000;
  32766. end;
  32767. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  32768. begin
  32769. if thebits = 0 then
  32770. pTDefRegMap(@Self)^.clr := $00002000
  32771. else
  32772. pTDefRegMap(@Self)^.&set := $00002000;
  32773. end;
  32774. function TINT_IFS1.getCNBIF : TBits_1; inline;
  32775. begin
  32776. getCNBIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32777. end;
  32778. procedure TINT_IFS1.setCNCIF; inline;
  32779. begin
  32780. pTDefRegMap(@Self)^.&set := $00004000;
  32781. end;
  32782. procedure TINT_IFS1.clearCNCIF; inline;
  32783. begin
  32784. pTDefRegMap(@Self)^.clr := $00004000;
  32785. end;
  32786. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  32787. begin
  32788. if thebits = 0 then
  32789. pTDefRegMap(@Self)^.clr := $00004000
  32790. else
  32791. pTDefRegMap(@Self)^.&set := $00004000;
  32792. end;
  32793. function TINT_IFS1.getCNCIF : TBits_1; inline;
  32794. begin
  32795. getCNCIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32796. end;
  32797. procedure TINT_IFS1.setCNDIF; inline;
  32798. begin
  32799. pTDefRegMap(@Self)^.&set := $00008000;
  32800. end;
  32801. procedure TINT_IFS1.clearCNDIF; inline;
  32802. begin
  32803. pTDefRegMap(@Self)^.clr := $00008000;
  32804. end;
  32805. procedure TINT_IFS1.setCNDIF(thebits : TBits_1); inline;
  32806. begin
  32807. if thebits = 0 then
  32808. pTDefRegMap(@Self)^.clr := $00008000
  32809. else
  32810. pTDefRegMap(@Self)^.&set := $00008000;
  32811. end;
  32812. function TINT_IFS1.getCNDIF : TBits_1; inline;
  32813. begin
  32814. getCNDIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32815. end;
  32816. procedure TINT_IFS1.setCNEIF; inline;
  32817. begin
  32818. pTDefRegMap(@Self)^.&set := $00010000;
  32819. end;
  32820. procedure TINT_IFS1.clearCNEIF; inline;
  32821. begin
  32822. pTDefRegMap(@Self)^.clr := $00010000;
  32823. end;
  32824. procedure TINT_IFS1.setCNEIF(thebits : TBits_1); inline;
  32825. begin
  32826. if thebits = 0 then
  32827. pTDefRegMap(@Self)^.clr := $00010000
  32828. else
  32829. pTDefRegMap(@Self)^.&set := $00010000;
  32830. end;
  32831. function TINT_IFS1.getCNEIF : TBits_1; inline;
  32832. begin
  32833. getCNEIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32834. end;
  32835. procedure TINT_IFS1.setCNFIF; inline;
  32836. begin
  32837. pTDefRegMap(@Self)^.&set := $00020000;
  32838. end;
  32839. procedure TINT_IFS1.clearCNFIF; inline;
  32840. begin
  32841. pTDefRegMap(@Self)^.clr := $00020000;
  32842. end;
  32843. procedure TINT_IFS1.setCNFIF(thebits : TBits_1); inline;
  32844. begin
  32845. if thebits = 0 then
  32846. pTDefRegMap(@Self)^.clr := $00020000
  32847. else
  32848. pTDefRegMap(@Self)^.&set := $00020000;
  32849. end;
  32850. function TINT_IFS1.getCNFIF : TBits_1; inline;
  32851. begin
  32852. getCNFIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32853. end;
  32854. procedure TINT_IFS1.setCNGIF; inline;
  32855. begin
  32856. pTDefRegMap(@Self)^.&set := $00040000;
  32857. end;
  32858. procedure TINT_IFS1.clearCNGIF; inline;
  32859. begin
  32860. pTDefRegMap(@Self)^.clr := $00040000;
  32861. end;
  32862. procedure TINT_IFS1.setCNGIF(thebits : TBits_1); inline;
  32863. begin
  32864. if thebits = 0 then
  32865. pTDefRegMap(@Self)^.clr := $00040000
  32866. else
  32867. pTDefRegMap(@Self)^.&set := $00040000;
  32868. end;
  32869. function TINT_IFS1.getCNGIF : TBits_1; inline;
  32870. begin
  32871. getCNGIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32872. end;
  32873. procedure TINT_IFS1.setPMPIF; inline;
  32874. begin
  32875. pTDefRegMap(@Self)^.&set := $00080000;
  32876. end;
  32877. procedure TINT_IFS1.clearPMPIF; inline;
  32878. begin
  32879. pTDefRegMap(@Self)^.clr := $00080000;
  32880. end;
  32881. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  32882. begin
  32883. if thebits = 0 then
  32884. pTDefRegMap(@Self)^.clr := $00080000
  32885. else
  32886. pTDefRegMap(@Self)^.&set := $00080000;
  32887. end;
  32888. function TINT_IFS1.getPMPIF : TBits_1; inline;
  32889. begin
  32890. getPMPIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32891. end;
  32892. procedure TINT_IFS1.setPMPEIF; inline;
  32893. begin
  32894. pTDefRegMap(@Self)^.&set := $00100000;
  32895. end;
  32896. procedure TINT_IFS1.clearPMPEIF; inline;
  32897. begin
  32898. pTDefRegMap(@Self)^.clr := $00100000;
  32899. end;
  32900. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  32901. begin
  32902. if thebits = 0 then
  32903. pTDefRegMap(@Self)^.clr := $00100000
  32904. else
  32905. pTDefRegMap(@Self)^.&set := $00100000;
  32906. end;
  32907. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  32908. begin
  32909. getPMPEIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32910. end;
  32911. procedure TINT_IFS1.setSPI2EIF; inline;
  32912. begin
  32913. pTDefRegMap(@Self)^.&set := $00200000;
  32914. end;
  32915. procedure TINT_IFS1.clearSPI2EIF; inline;
  32916. begin
  32917. pTDefRegMap(@Self)^.clr := $00200000;
  32918. end;
  32919. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  32920. begin
  32921. if thebits = 0 then
  32922. pTDefRegMap(@Self)^.clr := $00200000
  32923. else
  32924. pTDefRegMap(@Self)^.&set := $00200000;
  32925. end;
  32926. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  32927. begin
  32928. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32929. end;
  32930. procedure TINT_IFS1.setSPI2RXIF; inline;
  32931. begin
  32932. pTDefRegMap(@Self)^.&set := $00400000;
  32933. end;
  32934. procedure TINT_IFS1.clearSPI2RXIF; inline;
  32935. begin
  32936. pTDefRegMap(@Self)^.clr := $00400000;
  32937. end;
  32938. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  32939. begin
  32940. if thebits = 0 then
  32941. pTDefRegMap(@Self)^.clr := $00400000
  32942. else
  32943. pTDefRegMap(@Self)^.&set := $00400000;
  32944. end;
  32945. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  32946. begin
  32947. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32948. end;
  32949. procedure TINT_IFS1.setSPI2TXIF; inline;
  32950. begin
  32951. pTDefRegMap(@Self)^.&set := $00800000;
  32952. end;
  32953. procedure TINT_IFS1.clearSPI2TXIF; inline;
  32954. begin
  32955. pTDefRegMap(@Self)^.clr := $00800000;
  32956. end;
  32957. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  32958. begin
  32959. if thebits = 0 then
  32960. pTDefRegMap(@Self)^.clr := $00800000
  32961. else
  32962. pTDefRegMap(@Self)^.&set := $00800000;
  32963. end;
  32964. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  32965. begin
  32966. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32967. end;
  32968. procedure TINT_IFS1.setU2EIF; inline;
  32969. begin
  32970. pTDefRegMap(@Self)^.&set := $01000000;
  32971. end;
  32972. procedure TINT_IFS1.clearU2EIF; inline;
  32973. begin
  32974. pTDefRegMap(@Self)^.clr := $01000000;
  32975. end;
  32976. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  32977. begin
  32978. if thebits = 0 then
  32979. pTDefRegMap(@Self)^.clr := $01000000
  32980. else
  32981. pTDefRegMap(@Self)^.&set := $01000000;
  32982. end;
  32983. function TINT_IFS1.getU2EIF : TBits_1; inline;
  32984. begin
  32985. getU2EIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32986. end;
  32987. procedure TINT_IFS1.setU2RXIF; inline;
  32988. begin
  32989. pTDefRegMap(@Self)^.&set := $02000000;
  32990. end;
  32991. procedure TINT_IFS1.clearU2RXIF; inline;
  32992. begin
  32993. pTDefRegMap(@Self)^.clr := $02000000;
  32994. end;
  32995. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  32996. begin
  32997. if thebits = 0 then
  32998. pTDefRegMap(@Self)^.clr := $02000000
  32999. else
  33000. pTDefRegMap(@Self)^.&set := $02000000;
  33001. end;
  33002. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  33003. begin
  33004. getU2RXIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  33005. end;
  33006. procedure TINT_IFS1.setU2TXIF; inline;
  33007. begin
  33008. pTDefRegMap(@Self)^.&set := $04000000;
  33009. end;
  33010. procedure TINT_IFS1.clearU2TXIF; inline;
  33011. begin
  33012. pTDefRegMap(@Self)^.clr := $04000000;
  33013. end;
  33014. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  33015. begin
  33016. if thebits = 0 then
  33017. pTDefRegMap(@Self)^.clr := $04000000
  33018. else
  33019. pTDefRegMap(@Self)^.&set := $04000000;
  33020. end;
  33021. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  33022. begin
  33023. getU2TXIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  33024. end;
  33025. procedure TINT_IFS1.setI2C2BIF; inline;
  33026. begin
  33027. pTDefRegMap(@Self)^.&set := $08000000;
  33028. end;
  33029. procedure TINT_IFS1.clearI2C2BIF; inline;
  33030. begin
  33031. pTDefRegMap(@Self)^.clr := $08000000;
  33032. end;
  33033. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  33034. begin
  33035. if thebits = 0 then
  33036. pTDefRegMap(@Self)^.clr := $08000000
  33037. else
  33038. pTDefRegMap(@Self)^.&set := $08000000;
  33039. end;
  33040. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  33041. begin
  33042. getI2C2BIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  33043. end;
  33044. procedure TINT_IFS1.setI2C2SIF; inline;
  33045. begin
  33046. pTDefRegMap(@Self)^.&set := $10000000;
  33047. end;
  33048. procedure TINT_IFS1.clearI2C2SIF; inline;
  33049. begin
  33050. pTDefRegMap(@Self)^.clr := $10000000;
  33051. end;
  33052. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  33053. begin
  33054. if thebits = 0 then
  33055. pTDefRegMap(@Self)^.clr := $10000000
  33056. else
  33057. pTDefRegMap(@Self)^.&set := $10000000;
  33058. end;
  33059. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  33060. begin
  33061. getI2C2SIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  33062. end;
  33063. procedure TINT_IFS1.setI2C2MIF; inline;
  33064. begin
  33065. pTDefRegMap(@Self)^.&set := $20000000;
  33066. end;
  33067. procedure TINT_IFS1.clearI2C2MIF; inline;
  33068. begin
  33069. pTDefRegMap(@Self)^.clr := $20000000;
  33070. end;
  33071. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  33072. begin
  33073. if thebits = 0 then
  33074. pTDefRegMap(@Self)^.clr := $20000000
  33075. else
  33076. pTDefRegMap(@Self)^.&set := $20000000;
  33077. end;
  33078. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  33079. begin
  33080. getI2C2MIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  33081. end;
  33082. procedure TINT_IFS1.setU3EIF; inline;
  33083. begin
  33084. pTDefRegMap(@Self)^.&set := $40000000;
  33085. end;
  33086. procedure TINT_IFS1.clearU3EIF; inline;
  33087. begin
  33088. pTDefRegMap(@Self)^.clr := $40000000;
  33089. end;
  33090. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  33091. begin
  33092. if thebits = 0 then
  33093. pTDefRegMap(@Self)^.clr := $40000000
  33094. else
  33095. pTDefRegMap(@Self)^.&set := $40000000;
  33096. end;
  33097. function TINT_IFS1.getU3EIF : TBits_1; inline;
  33098. begin
  33099. getU3EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  33100. end;
  33101. procedure TINT_IFS1.setU3RXIF; inline;
  33102. begin
  33103. pTDefRegMap(@Self)^.&set := $80000000;
  33104. end;
  33105. procedure TINT_IFS1.clearU3RXIF; inline;
  33106. begin
  33107. pTDefRegMap(@Self)^.clr := $80000000;
  33108. end;
  33109. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  33110. begin
  33111. if thebits = 0 then
  33112. pTDefRegMap(@Self)^.clr := $80000000
  33113. else
  33114. pTDefRegMap(@Self)^.&set := $80000000;
  33115. end;
  33116. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  33117. begin
  33118. getU3RXIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  33119. end;
  33120. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  33121. begin
  33122. pTDefRegMap(@Self)^.val := thebits;
  33123. end;
  33124. function TINT_IFS1.getw : TBits_32; inline;
  33125. begin
  33126. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33127. end;
  33128. procedure TINT_IEC0.setCTIE; inline;
  33129. begin
  33130. pTDefRegMap(@Self)^.&set := $00000001;
  33131. end;
  33132. procedure TINT_IEC0.clearCTIE; inline;
  33133. begin
  33134. pTDefRegMap(@Self)^.clr := $00000001;
  33135. end;
  33136. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  33137. begin
  33138. if thebits = 0 then
  33139. pTDefRegMap(@Self)^.clr := $00000001
  33140. else
  33141. pTDefRegMap(@Self)^.&set := $00000001;
  33142. end;
  33143. function TINT_IEC0.getCTIE : TBits_1; inline;
  33144. begin
  33145. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33146. end;
  33147. procedure TINT_IEC0.setCS0IE; inline;
  33148. begin
  33149. pTDefRegMap(@Self)^.&set := $00000002;
  33150. end;
  33151. procedure TINT_IEC0.clearCS0IE; inline;
  33152. begin
  33153. pTDefRegMap(@Self)^.clr := $00000002;
  33154. end;
  33155. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  33156. begin
  33157. if thebits = 0 then
  33158. pTDefRegMap(@Self)^.clr := $00000002
  33159. else
  33160. pTDefRegMap(@Self)^.&set := $00000002;
  33161. end;
  33162. function TINT_IEC0.getCS0IE : TBits_1; inline;
  33163. begin
  33164. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33165. end;
  33166. procedure TINT_IEC0.setCS1IE; inline;
  33167. begin
  33168. pTDefRegMap(@Self)^.&set := $00000004;
  33169. end;
  33170. procedure TINT_IEC0.clearCS1IE; inline;
  33171. begin
  33172. pTDefRegMap(@Self)^.clr := $00000004;
  33173. end;
  33174. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  33175. begin
  33176. if thebits = 0 then
  33177. pTDefRegMap(@Self)^.clr := $00000004
  33178. else
  33179. pTDefRegMap(@Self)^.&set := $00000004;
  33180. end;
  33181. function TINT_IEC0.getCS1IE : TBits_1; inline;
  33182. begin
  33183. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33184. end;
  33185. procedure TINT_IEC0.setINT0IE; inline;
  33186. begin
  33187. pTDefRegMap(@Self)^.&set := $00000008;
  33188. end;
  33189. procedure TINT_IEC0.clearINT0IE; inline;
  33190. begin
  33191. pTDefRegMap(@Self)^.clr := $00000008;
  33192. end;
  33193. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  33194. begin
  33195. if thebits = 0 then
  33196. pTDefRegMap(@Self)^.clr := $00000008
  33197. else
  33198. pTDefRegMap(@Self)^.&set := $00000008;
  33199. end;
  33200. function TINT_IEC0.getINT0IE : TBits_1; inline;
  33201. begin
  33202. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33203. end;
  33204. procedure TINT_IEC0.setT1IE; inline;
  33205. begin
  33206. pTDefRegMap(@Self)^.&set := $00000010;
  33207. end;
  33208. procedure TINT_IEC0.clearT1IE; inline;
  33209. begin
  33210. pTDefRegMap(@Self)^.clr := $00000010;
  33211. end;
  33212. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  33213. begin
  33214. if thebits = 0 then
  33215. pTDefRegMap(@Self)^.clr := $00000010
  33216. else
  33217. pTDefRegMap(@Self)^.&set := $00000010;
  33218. end;
  33219. function TINT_IEC0.getT1IE : TBits_1; inline;
  33220. begin
  33221. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33222. end;
  33223. procedure TINT_IEC0.setIC1EIE; inline;
  33224. begin
  33225. pTDefRegMap(@Self)^.&set := $00000020;
  33226. end;
  33227. procedure TINT_IEC0.clearIC1EIE; inline;
  33228. begin
  33229. pTDefRegMap(@Self)^.clr := $00000020;
  33230. end;
  33231. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  33232. begin
  33233. if thebits = 0 then
  33234. pTDefRegMap(@Self)^.clr := $00000020
  33235. else
  33236. pTDefRegMap(@Self)^.&set := $00000020;
  33237. end;
  33238. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  33239. begin
  33240. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33241. end;
  33242. procedure TINT_IEC0.setIC1IE; inline;
  33243. begin
  33244. pTDefRegMap(@Self)^.&set := $00000040;
  33245. end;
  33246. procedure TINT_IEC0.clearIC1IE; inline;
  33247. begin
  33248. pTDefRegMap(@Self)^.clr := $00000040;
  33249. end;
  33250. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  33251. begin
  33252. if thebits = 0 then
  33253. pTDefRegMap(@Self)^.clr := $00000040
  33254. else
  33255. pTDefRegMap(@Self)^.&set := $00000040;
  33256. end;
  33257. function TINT_IEC0.getIC1IE : TBits_1; inline;
  33258. begin
  33259. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33260. end;
  33261. procedure TINT_IEC0.setOC1IE; inline;
  33262. begin
  33263. pTDefRegMap(@Self)^.&set := $00000080;
  33264. end;
  33265. procedure TINT_IEC0.clearOC1IE; inline;
  33266. begin
  33267. pTDefRegMap(@Self)^.clr := $00000080;
  33268. end;
  33269. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  33270. begin
  33271. if thebits = 0 then
  33272. pTDefRegMap(@Self)^.clr := $00000080
  33273. else
  33274. pTDefRegMap(@Self)^.&set := $00000080;
  33275. end;
  33276. function TINT_IEC0.getOC1IE : TBits_1; inline;
  33277. begin
  33278. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33279. end;
  33280. procedure TINT_IEC0.setINT1IE; inline;
  33281. begin
  33282. pTDefRegMap(@Self)^.&set := $00000100;
  33283. end;
  33284. procedure TINT_IEC0.clearINT1IE; inline;
  33285. begin
  33286. pTDefRegMap(@Self)^.clr := $00000100;
  33287. end;
  33288. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  33289. begin
  33290. if thebits = 0 then
  33291. pTDefRegMap(@Self)^.clr := $00000100
  33292. else
  33293. pTDefRegMap(@Self)^.&set := $00000100;
  33294. end;
  33295. function TINT_IEC0.getINT1IE : TBits_1; inline;
  33296. begin
  33297. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33298. end;
  33299. procedure TINT_IEC0.setT2IE; inline;
  33300. begin
  33301. pTDefRegMap(@Self)^.&set := $00000200;
  33302. end;
  33303. procedure TINT_IEC0.clearT2IE; inline;
  33304. begin
  33305. pTDefRegMap(@Self)^.clr := $00000200;
  33306. end;
  33307. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  33308. begin
  33309. if thebits = 0 then
  33310. pTDefRegMap(@Self)^.clr := $00000200
  33311. else
  33312. pTDefRegMap(@Self)^.&set := $00000200;
  33313. end;
  33314. function TINT_IEC0.getT2IE : TBits_1; inline;
  33315. begin
  33316. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33317. end;
  33318. procedure TINT_IEC0.setIC2EIE; inline;
  33319. begin
  33320. pTDefRegMap(@Self)^.&set := $00000400;
  33321. end;
  33322. procedure TINT_IEC0.clearIC2EIE; inline;
  33323. begin
  33324. pTDefRegMap(@Self)^.clr := $00000400;
  33325. end;
  33326. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  33327. begin
  33328. if thebits = 0 then
  33329. pTDefRegMap(@Self)^.clr := $00000400
  33330. else
  33331. pTDefRegMap(@Self)^.&set := $00000400;
  33332. end;
  33333. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  33334. begin
  33335. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33336. end;
  33337. procedure TINT_IEC0.setIC2IE; inline;
  33338. begin
  33339. pTDefRegMap(@Self)^.&set := $00000800;
  33340. end;
  33341. procedure TINT_IEC0.clearIC2IE; inline;
  33342. begin
  33343. pTDefRegMap(@Self)^.clr := $00000800;
  33344. end;
  33345. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  33346. begin
  33347. if thebits = 0 then
  33348. pTDefRegMap(@Self)^.clr := $00000800
  33349. else
  33350. pTDefRegMap(@Self)^.&set := $00000800;
  33351. end;
  33352. function TINT_IEC0.getIC2IE : TBits_1; inline;
  33353. begin
  33354. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33355. end;
  33356. procedure TINT_IEC0.setOC2IE; inline;
  33357. begin
  33358. pTDefRegMap(@Self)^.&set := $00001000;
  33359. end;
  33360. procedure TINT_IEC0.clearOC2IE; inline;
  33361. begin
  33362. pTDefRegMap(@Self)^.clr := $00001000;
  33363. end;
  33364. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  33365. begin
  33366. if thebits = 0 then
  33367. pTDefRegMap(@Self)^.clr := $00001000
  33368. else
  33369. pTDefRegMap(@Self)^.&set := $00001000;
  33370. end;
  33371. function TINT_IEC0.getOC2IE : TBits_1; inline;
  33372. begin
  33373. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33374. end;
  33375. procedure TINT_IEC0.setINT2IE; inline;
  33376. begin
  33377. pTDefRegMap(@Self)^.&set := $00002000;
  33378. end;
  33379. procedure TINT_IEC0.clearINT2IE; inline;
  33380. begin
  33381. pTDefRegMap(@Self)^.clr := $00002000;
  33382. end;
  33383. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  33384. begin
  33385. if thebits = 0 then
  33386. pTDefRegMap(@Self)^.clr := $00002000
  33387. else
  33388. pTDefRegMap(@Self)^.&set := $00002000;
  33389. end;
  33390. function TINT_IEC0.getINT2IE : TBits_1; inline;
  33391. begin
  33392. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33393. end;
  33394. procedure TINT_IEC0.setT3IE; inline;
  33395. begin
  33396. pTDefRegMap(@Self)^.&set := $00004000;
  33397. end;
  33398. procedure TINT_IEC0.clearT3IE; inline;
  33399. begin
  33400. pTDefRegMap(@Self)^.clr := $00004000;
  33401. end;
  33402. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  33403. begin
  33404. if thebits = 0 then
  33405. pTDefRegMap(@Self)^.clr := $00004000
  33406. else
  33407. pTDefRegMap(@Self)^.&set := $00004000;
  33408. end;
  33409. function TINT_IEC0.getT3IE : TBits_1; inline;
  33410. begin
  33411. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33412. end;
  33413. procedure TINT_IEC0.setIC3EIE; inline;
  33414. begin
  33415. pTDefRegMap(@Self)^.&set := $00008000;
  33416. end;
  33417. procedure TINT_IEC0.clearIC3EIE; inline;
  33418. begin
  33419. pTDefRegMap(@Self)^.clr := $00008000;
  33420. end;
  33421. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  33422. begin
  33423. if thebits = 0 then
  33424. pTDefRegMap(@Self)^.clr := $00008000
  33425. else
  33426. pTDefRegMap(@Self)^.&set := $00008000;
  33427. end;
  33428. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  33429. begin
  33430. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33431. end;
  33432. procedure TINT_IEC0.setIC3IE; inline;
  33433. begin
  33434. pTDefRegMap(@Self)^.&set := $00010000;
  33435. end;
  33436. procedure TINT_IEC0.clearIC3IE; inline;
  33437. begin
  33438. pTDefRegMap(@Self)^.clr := $00010000;
  33439. end;
  33440. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  33441. begin
  33442. if thebits = 0 then
  33443. pTDefRegMap(@Self)^.clr := $00010000
  33444. else
  33445. pTDefRegMap(@Self)^.&set := $00010000;
  33446. end;
  33447. function TINT_IEC0.getIC3IE : TBits_1; inline;
  33448. begin
  33449. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  33450. end;
  33451. procedure TINT_IEC0.setOC3IE; inline;
  33452. begin
  33453. pTDefRegMap(@Self)^.&set := $00020000;
  33454. end;
  33455. procedure TINT_IEC0.clearOC3IE; inline;
  33456. begin
  33457. pTDefRegMap(@Self)^.clr := $00020000;
  33458. end;
  33459. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  33460. begin
  33461. if thebits = 0 then
  33462. pTDefRegMap(@Self)^.clr := $00020000
  33463. else
  33464. pTDefRegMap(@Self)^.&set := $00020000;
  33465. end;
  33466. function TINT_IEC0.getOC3IE : TBits_1; inline;
  33467. begin
  33468. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  33469. end;
  33470. procedure TINT_IEC0.setINT3IE; inline;
  33471. begin
  33472. pTDefRegMap(@Self)^.&set := $00040000;
  33473. end;
  33474. procedure TINT_IEC0.clearINT3IE; inline;
  33475. begin
  33476. pTDefRegMap(@Self)^.clr := $00040000;
  33477. end;
  33478. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  33479. begin
  33480. if thebits = 0 then
  33481. pTDefRegMap(@Self)^.clr := $00040000
  33482. else
  33483. pTDefRegMap(@Self)^.&set := $00040000;
  33484. end;
  33485. function TINT_IEC0.getINT3IE : TBits_1; inline;
  33486. begin
  33487. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  33488. end;
  33489. procedure TINT_IEC0.setT4IE; inline;
  33490. begin
  33491. pTDefRegMap(@Self)^.&set := $00080000;
  33492. end;
  33493. procedure TINT_IEC0.clearT4IE; inline;
  33494. begin
  33495. pTDefRegMap(@Self)^.clr := $00080000;
  33496. end;
  33497. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  33498. begin
  33499. if thebits = 0 then
  33500. pTDefRegMap(@Self)^.clr := $00080000
  33501. else
  33502. pTDefRegMap(@Self)^.&set := $00080000;
  33503. end;
  33504. function TINT_IEC0.getT4IE : TBits_1; inline;
  33505. begin
  33506. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  33507. end;
  33508. procedure TINT_IEC0.setIC4EIE; inline;
  33509. begin
  33510. pTDefRegMap(@Self)^.&set := $00100000;
  33511. end;
  33512. procedure TINT_IEC0.clearIC4EIE; inline;
  33513. begin
  33514. pTDefRegMap(@Self)^.clr := $00100000;
  33515. end;
  33516. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  33517. begin
  33518. if thebits = 0 then
  33519. pTDefRegMap(@Self)^.clr := $00100000
  33520. else
  33521. pTDefRegMap(@Self)^.&set := $00100000;
  33522. end;
  33523. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  33524. begin
  33525. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  33526. end;
  33527. procedure TINT_IEC0.setIC4IE; inline;
  33528. begin
  33529. pTDefRegMap(@Self)^.&set := $00200000;
  33530. end;
  33531. procedure TINT_IEC0.clearIC4IE; inline;
  33532. begin
  33533. pTDefRegMap(@Self)^.clr := $00200000;
  33534. end;
  33535. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  33536. begin
  33537. if thebits = 0 then
  33538. pTDefRegMap(@Self)^.clr := $00200000
  33539. else
  33540. pTDefRegMap(@Self)^.&set := $00200000;
  33541. end;
  33542. function TINT_IEC0.getIC4IE : TBits_1; inline;
  33543. begin
  33544. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  33545. end;
  33546. procedure TINT_IEC0.setOC4IE; inline;
  33547. begin
  33548. pTDefRegMap(@Self)^.&set := $00400000;
  33549. end;
  33550. procedure TINT_IEC0.clearOC4IE; inline;
  33551. begin
  33552. pTDefRegMap(@Self)^.clr := $00400000;
  33553. end;
  33554. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  33555. begin
  33556. if thebits = 0 then
  33557. pTDefRegMap(@Self)^.clr := $00400000
  33558. else
  33559. pTDefRegMap(@Self)^.&set := $00400000;
  33560. end;
  33561. function TINT_IEC0.getOC4IE : TBits_1; inline;
  33562. begin
  33563. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  33564. end;
  33565. procedure TINT_IEC0.setINT4IE; inline;
  33566. begin
  33567. pTDefRegMap(@Self)^.&set := $00800000;
  33568. end;
  33569. procedure TINT_IEC0.clearINT4IE; inline;
  33570. begin
  33571. pTDefRegMap(@Self)^.clr := $00800000;
  33572. end;
  33573. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  33574. begin
  33575. if thebits = 0 then
  33576. pTDefRegMap(@Self)^.clr := $00800000
  33577. else
  33578. pTDefRegMap(@Self)^.&set := $00800000;
  33579. end;
  33580. function TINT_IEC0.getINT4IE : TBits_1; inline;
  33581. begin
  33582. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  33583. end;
  33584. procedure TINT_IEC0.setT5IE; inline;
  33585. begin
  33586. pTDefRegMap(@Self)^.&set := $01000000;
  33587. end;
  33588. procedure TINT_IEC0.clearT5IE; inline;
  33589. begin
  33590. pTDefRegMap(@Self)^.clr := $01000000;
  33591. end;
  33592. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  33593. begin
  33594. if thebits = 0 then
  33595. pTDefRegMap(@Self)^.clr := $01000000
  33596. else
  33597. pTDefRegMap(@Self)^.&set := $01000000;
  33598. end;
  33599. function TINT_IEC0.getT5IE : TBits_1; inline;
  33600. begin
  33601. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33602. end;
  33603. procedure TINT_IEC0.setIC5EIE; inline;
  33604. begin
  33605. pTDefRegMap(@Self)^.&set := $02000000;
  33606. end;
  33607. procedure TINT_IEC0.clearIC5EIE; inline;
  33608. begin
  33609. pTDefRegMap(@Self)^.clr := $02000000;
  33610. end;
  33611. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  33612. begin
  33613. if thebits = 0 then
  33614. pTDefRegMap(@Self)^.clr := $02000000
  33615. else
  33616. pTDefRegMap(@Self)^.&set := $02000000;
  33617. end;
  33618. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  33619. begin
  33620. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  33621. end;
  33622. procedure TINT_IEC0.setIC5IE; inline;
  33623. begin
  33624. pTDefRegMap(@Self)^.&set := $04000000;
  33625. end;
  33626. procedure TINT_IEC0.clearIC5IE; inline;
  33627. begin
  33628. pTDefRegMap(@Self)^.clr := $04000000;
  33629. end;
  33630. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  33631. begin
  33632. if thebits = 0 then
  33633. pTDefRegMap(@Self)^.clr := $04000000
  33634. else
  33635. pTDefRegMap(@Self)^.&set := $04000000;
  33636. end;
  33637. function TINT_IEC0.getIC5IE : TBits_1; inline;
  33638. begin
  33639. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  33640. end;
  33641. procedure TINT_IEC0.setOC5IE; inline;
  33642. begin
  33643. pTDefRegMap(@Self)^.&set := $08000000;
  33644. end;
  33645. procedure TINT_IEC0.clearOC5IE; inline;
  33646. begin
  33647. pTDefRegMap(@Self)^.clr := $08000000;
  33648. end;
  33649. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  33650. begin
  33651. if thebits = 0 then
  33652. pTDefRegMap(@Self)^.clr := $08000000
  33653. else
  33654. pTDefRegMap(@Self)^.&set := $08000000;
  33655. end;
  33656. function TINT_IEC0.getOC5IE : TBits_1; inline;
  33657. begin
  33658. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  33659. end;
  33660. procedure TINT_IEC0.setAD1IE; inline;
  33661. begin
  33662. pTDefRegMap(@Self)^.&set := $10000000;
  33663. end;
  33664. procedure TINT_IEC0.clearAD1IE; inline;
  33665. begin
  33666. pTDefRegMap(@Self)^.clr := $10000000;
  33667. end;
  33668. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  33669. begin
  33670. if thebits = 0 then
  33671. pTDefRegMap(@Self)^.clr := $10000000
  33672. else
  33673. pTDefRegMap(@Self)^.&set := $10000000;
  33674. end;
  33675. function TINT_IEC0.getAD1IE : TBits_1; inline;
  33676. begin
  33677. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  33678. end;
  33679. procedure TINT_IEC0.setFSCMIE; inline;
  33680. begin
  33681. pTDefRegMap(@Self)^.&set := $20000000;
  33682. end;
  33683. procedure TINT_IEC0.clearFSCMIE; inline;
  33684. begin
  33685. pTDefRegMap(@Self)^.clr := $20000000;
  33686. end;
  33687. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  33688. begin
  33689. if thebits = 0 then
  33690. pTDefRegMap(@Self)^.clr := $20000000
  33691. else
  33692. pTDefRegMap(@Self)^.&set := $20000000;
  33693. end;
  33694. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  33695. begin
  33696. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  33697. end;
  33698. procedure TINT_IEC0.setRTCCIE; inline;
  33699. begin
  33700. pTDefRegMap(@Self)^.&set := $40000000;
  33701. end;
  33702. procedure TINT_IEC0.clearRTCCIE; inline;
  33703. begin
  33704. pTDefRegMap(@Self)^.clr := $40000000;
  33705. end;
  33706. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  33707. begin
  33708. if thebits = 0 then
  33709. pTDefRegMap(@Self)^.clr := $40000000
  33710. else
  33711. pTDefRegMap(@Self)^.&set := $40000000;
  33712. end;
  33713. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  33714. begin
  33715. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  33716. end;
  33717. procedure TINT_IEC0.setFCEIE; inline;
  33718. begin
  33719. pTDefRegMap(@Self)^.&set := $80000000;
  33720. end;
  33721. procedure TINT_IEC0.clearFCEIE; inline;
  33722. begin
  33723. pTDefRegMap(@Self)^.clr := $80000000;
  33724. end;
  33725. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  33726. begin
  33727. if thebits = 0 then
  33728. pTDefRegMap(@Self)^.clr := $80000000
  33729. else
  33730. pTDefRegMap(@Self)^.&set := $80000000;
  33731. end;
  33732. function TINT_IEC0.getFCEIE : TBits_1; inline;
  33733. begin
  33734. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  33735. end;
  33736. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  33737. begin
  33738. pTDefRegMap(@Self)^.val := thebits;
  33739. end;
  33740. function TINT_IEC0.getw : TBits_32; inline;
  33741. begin
  33742. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33743. end;
  33744. procedure TINT_IEC1.setCMP1IE; inline;
  33745. begin
  33746. pTDefRegMap(@Self)^.&set := $00000001;
  33747. end;
  33748. procedure TINT_IEC1.clearCMP1IE; inline;
  33749. begin
  33750. pTDefRegMap(@Self)^.clr := $00000001;
  33751. end;
  33752. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  33753. begin
  33754. if thebits = 0 then
  33755. pTDefRegMap(@Self)^.clr := $00000001
  33756. else
  33757. pTDefRegMap(@Self)^.&set := $00000001;
  33758. end;
  33759. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  33760. begin
  33761. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33762. end;
  33763. procedure TINT_IEC1.setCMP2IE; inline;
  33764. begin
  33765. pTDefRegMap(@Self)^.&set := $00000002;
  33766. end;
  33767. procedure TINT_IEC1.clearCMP2IE; inline;
  33768. begin
  33769. pTDefRegMap(@Self)^.clr := $00000002;
  33770. end;
  33771. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  33772. begin
  33773. if thebits = 0 then
  33774. pTDefRegMap(@Self)^.clr := $00000002
  33775. else
  33776. pTDefRegMap(@Self)^.&set := $00000002;
  33777. end;
  33778. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  33779. begin
  33780. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33781. end;
  33782. procedure TINT_IEC1.setUSBIE; inline;
  33783. begin
  33784. pTDefRegMap(@Self)^.&set := $00000004;
  33785. end;
  33786. procedure TINT_IEC1.clearUSBIE; inline;
  33787. begin
  33788. pTDefRegMap(@Self)^.clr := $00000004;
  33789. end;
  33790. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  33791. begin
  33792. if thebits = 0 then
  33793. pTDefRegMap(@Self)^.clr := $00000004
  33794. else
  33795. pTDefRegMap(@Self)^.&set := $00000004;
  33796. end;
  33797. function TINT_IEC1.getUSBIE : TBits_1; inline;
  33798. begin
  33799. getUSBIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33800. end;
  33801. procedure TINT_IEC1.setSPI1EIE; inline;
  33802. begin
  33803. pTDefRegMap(@Self)^.&set := $00000008;
  33804. end;
  33805. procedure TINT_IEC1.clearSPI1EIE; inline;
  33806. begin
  33807. pTDefRegMap(@Self)^.clr := $00000008;
  33808. end;
  33809. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  33810. begin
  33811. if thebits = 0 then
  33812. pTDefRegMap(@Self)^.clr := $00000008
  33813. else
  33814. pTDefRegMap(@Self)^.&set := $00000008;
  33815. end;
  33816. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  33817. begin
  33818. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33819. end;
  33820. procedure TINT_IEC1.setSPI1RXIE; inline;
  33821. begin
  33822. pTDefRegMap(@Self)^.&set := $00000010;
  33823. end;
  33824. procedure TINT_IEC1.clearSPI1RXIE; inline;
  33825. begin
  33826. pTDefRegMap(@Self)^.clr := $00000010;
  33827. end;
  33828. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  33829. begin
  33830. if thebits = 0 then
  33831. pTDefRegMap(@Self)^.clr := $00000010
  33832. else
  33833. pTDefRegMap(@Self)^.&set := $00000010;
  33834. end;
  33835. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  33836. begin
  33837. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33838. end;
  33839. procedure TINT_IEC1.setSPI1TXIE; inline;
  33840. begin
  33841. pTDefRegMap(@Self)^.&set := $00000020;
  33842. end;
  33843. procedure TINT_IEC1.clearSPI1TXIE; inline;
  33844. begin
  33845. pTDefRegMap(@Self)^.clr := $00000020;
  33846. end;
  33847. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  33848. begin
  33849. if thebits = 0 then
  33850. pTDefRegMap(@Self)^.clr := $00000020
  33851. else
  33852. pTDefRegMap(@Self)^.&set := $00000020;
  33853. end;
  33854. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  33855. begin
  33856. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33857. end;
  33858. procedure TINT_IEC1.setU1EIE; inline;
  33859. begin
  33860. pTDefRegMap(@Self)^.&set := $00000040;
  33861. end;
  33862. procedure TINT_IEC1.clearU1EIE; inline;
  33863. begin
  33864. pTDefRegMap(@Self)^.clr := $00000040;
  33865. end;
  33866. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  33867. begin
  33868. if thebits = 0 then
  33869. pTDefRegMap(@Self)^.clr := $00000040
  33870. else
  33871. pTDefRegMap(@Self)^.&set := $00000040;
  33872. end;
  33873. function TINT_IEC1.getU1EIE : TBits_1; inline;
  33874. begin
  33875. getU1EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33876. end;
  33877. procedure TINT_IEC1.setU1RXIE; inline;
  33878. begin
  33879. pTDefRegMap(@Self)^.&set := $00000080;
  33880. end;
  33881. procedure TINT_IEC1.clearU1RXIE; inline;
  33882. begin
  33883. pTDefRegMap(@Self)^.clr := $00000080;
  33884. end;
  33885. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  33886. begin
  33887. if thebits = 0 then
  33888. pTDefRegMap(@Self)^.clr := $00000080
  33889. else
  33890. pTDefRegMap(@Self)^.&set := $00000080;
  33891. end;
  33892. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  33893. begin
  33894. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33895. end;
  33896. procedure TINT_IEC1.setU1TXIE; inline;
  33897. begin
  33898. pTDefRegMap(@Self)^.&set := $00000100;
  33899. end;
  33900. procedure TINT_IEC1.clearU1TXIE; inline;
  33901. begin
  33902. pTDefRegMap(@Self)^.clr := $00000100;
  33903. end;
  33904. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  33905. begin
  33906. if thebits = 0 then
  33907. pTDefRegMap(@Self)^.clr := $00000100
  33908. else
  33909. pTDefRegMap(@Self)^.&set := $00000100;
  33910. end;
  33911. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  33912. begin
  33913. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33914. end;
  33915. procedure TINT_IEC1.setI2C1BIE; inline;
  33916. begin
  33917. pTDefRegMap(@Self)^.&set := $00000200;
  33918. end;
  33919. procedure TINT_IEC1.clearI2C1BIE; inline;
  33920. begin
  33921. pTDefRegMap(@Self)^.clr := $00000200;
  33922. end;
  33923. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  33924. begin
  33925. if thebits = 0 then
  33926. pTDefRegMap(@Self)^.clr := $00000200
  33927. else
  33928. pTDefRegMap(@Self)^.&set := $00000200;
  33929. end;
  33930. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  33931. begin
  33932. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33933. end;
  33934. procedure TINT_IEC1.setI2C1SIE; inline;
  33935. begin
  33936. pTDefRegMap(@Self)^.&set := $00000400;
  33937. end;
  33938. procedure TINT_IEC1.clearI2C1SIE; inline;
  33939. begin
  33940. pTDefRegMap(@Self)^.clr := $00000400;
  33941. end;
  33942. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  33943. begin
  33944. if thebits = 0 then
  33945. pTDefRegMap(@Self)^.clr := $00000400
  33946. else
  33947. pTDefRegMap(@Self)^.&set := $00000400;
  33948. end;
  33949. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  33950. begin
  33951. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33952. end;
  33953. procedure TINT_IEC1.setI2C1MIE; inline;
  33954. begin
  33955. pTDefRegMap(@Self)^.&set := $00000800;
  33956. end;
  33957. procedure TINT_IEC1.clearI2C1MIE; inline;
  33958. begin
  33959. pTDefRegMap(@Self)^.clr := $00000800;
  33960. end;
  33961. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  33962. begin
  33963. if thebits = 0 then
  33964. pTDefRegMap(@Self)^.clr := $00000800
  33965. else
  33966. pTDefRegMap(@Self)^.&set := $00000800;
  33967. end;
  33968. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  33969. begin
  33970. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33971. end;
  33972. procedure TINT_IEC1.setCNAIE; inline;
  33973. begin
  33974. pTDefRegMap(@Self)^.&set := $00001000;
  33975. end;
  33976. procedure TINT_IEC1.clearCNAIE; inline;
  33977. begin
  33978. pTDefRegMap(@Self)^.clr := $00001000;
  33979. end;
  33980. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  33981. begin
  33982. if thebits = 0 then
  33983. pTDefRegMap(@Self)^.clr := $00001000
  33984. else
  33985. pTDefRegMap(@Self)^.&set := $00001000;
  33986. end;
  33987. function TINT_IEC1.getCNAIE : TBits_1; inline;
  33988. begin
  33989. getCNAIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33990. end;
  33991. procedure TINT_IEC1.setCNBIE; inline;
  33992. begin
  33993. pTDefRegMap(@Self)^.&set := $00002000;
  33994. end;
  33995. procedure TINT_IEC1.clearCNBIE; inline;
  33996. begin
  33997. pTDefRegMap(@Self)^.clr := $00002000;
  33998. end;
  33999. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  34000. begin
  34001. if thebits = 0 then
  34002. pTDefRegMap(@Self)^.clr := $00002000
  34003. else
  34004. pTDefRegMap(@Self)^.&set := $00002000;
  34005. end;
  34006. function TINT_IEC1.getCNBIE : TBits_1; inline;
  34007. begin
  34008. getCNBIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34009. end;
  34010. procedure TINT_IEC1.setCNCIE; inline;
  34011. begin
  34012. pTDefRegMap(@Self)^.&set := $00004000;
  34013. end;
  34014. procedure TINT_IEC1.clearCNCIE; inline;
  34015. begin
  34016. pTDefRegMap(@Self)^.clr := $00004000;
  34017. end;
  34018. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  34019. begin
  34020. if thebits = 0 then
  34021. pTDefRegMap(@Self)^.clr := $00004000
  34022. else
  34023. pTDefRegMap(@Self)^.&set := $00004000;
  34024. end;
  34025. function TINT_IEC1.getCNCIE : TBits_1; inline;
  34026. begin
  34027. getCNCIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34028. end;
  34029. procedure TINT_IEC1.setCNDIE; inline;
  34030. begin
  34031. pTDefRegMap(@Self)^.&set := $00008000;
  34032. end;
  34033. procedure TINT_IEC1.clearCNDIE; inline;
  34034. begin
  34035. pTDefRegMap(@Self)^.clr := $00008000;
  34036. end;
  34037. procedure TINT_IEC1.setCNDIE(thebits : TBits_1); inline;
  34038. begin
  34039. if thebits = 0 then
  34040. pTDefRegMap(@Self)^.clr := $00008000
  34041. else
  34042. pTDefRegMap(@Self)^.&set := $00008000;
  34043. end;
  34044. function TINT_IEC1.getCNDIE : TBits_1; inline;
  34045. begin
  34046. getCNDIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34047. end;
  34048. procedure TINT_IEC1.setCNEIE; inline;
  34049. begin
  34050. pTDefRegMap(@Self)^.&set := $00010000;
  34051. end;
  34052. procedure TINT_IEC1.clearCNEIE; inline;
  34053. begin
  34054. pTDefRegMap(@Self)^.clr := $00010000;
  34055. end;
  34056. procedure TINT_IEC1.setCNEIE(thebits : TBits_1); inline;
  34057. begin
  34058. if thebits = 0 then
  34059. pTDefRegMap(@Self)^.clr := $00010000
  34060. else
  34061. pTDefRegMap(@Self)^.&set := $00010000;
  34062. end;
  34063. function TINT_IEC1.getCNEIE : TBits_1; inline;
  34064. begin
  34065. getCNEIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  34066. end;
  34067. procedure TINT_IEC1.setCNFIE; inline;
  34068. begin
  34069. pTDefRegMap(@Self)^.&set := $00020000;
  34070. end;
  34071. procedure TINT_IEC1.clearCNFIE; inline;
  34072. begin
  34073. pTDefRegMap(@Self)^.clr := $00020000;
  34074. end;
  34075. procedure TINT_IEC1.setCNFIE(thebits : TBits_1); inline;
  34076. begin
  34077. if thebits = 0 then
  34078. pTDefRegMap(@Self)^.clr := $00020000
  34079. else
  34080. pTDefRegMap(@Self)^.&set := $00020000;
  34081. end;
  34082. function TINT_IEC1.getCNFIE : TBits_1; inline;
  34083. begin
  34084. getCNFIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  34085. end;
  34086. procedure TINT_IEC1.setCNGIE; inline;
  34087. begin
  34088. pTDefRegMap(@Self)^.&set := $00040000;
  34089. end;
  34090. procedure TINT_IEC1.clearCNGIE; inline;
  34091. begin
  34092. pTDefRegMap(@Self)^.clr := $00040000;
  34093. end;
  34094. procedure TINT_IEC1.setCNGIE(thebits : TBits_1); inline;
  34095. begin
  34096. if thebits = 0 then
  34097. pTDefRegMap(@Self)^.clr := $00040000
  34098. else
  34099. pTDefRegMap(@Self)^.&set := $00040000;
  34100. end;
  34101. function TINT_IEC1.getCNGIE : TBits_1; inline;
  34102. begin
  34103. getCNGIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  34104. end;
  34105. procedure TINT_IEC1.setPMPIE; inline;
  34106. begin
  34107. pTDefRegMap(@Self)^.&set := $00080000;
  34108. end;
  34109. procedure TINT_IEC1.clearPMPIE; inline;
  34110. begin
  34111. pTDefRegMap(@Self)^.clr := $00080000;
  34112. end;
  34113. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  34114. begin
  34115. if thebits = 0 then
  34116. pTDefRegMap(@Self)^.clr := $00080000
  34117. else
  34118. pTDefRegMap(@Self)^.&set := $00080000;
  34119. end;
  34120. function TINT_IEC1.getPMPIE : TBits_1; inline;
  34121. begin
  34122. getPMPIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  34123. end;
  34124. procedure TINT_IEC1.setPMPEIE; inline;
  34125. begin
  34126. pTDefRegMap(@Self)^.&set := $00100000;
  34127. end;
  34128. procedure TINT_IEC1.clearPMPEIE; inline;
  34129. begin
  34130. pTDefRegMap(@Self)^.clr := $00100000;
  34131. end;
  34132. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  34133. begin
  34134. if thebits = 0 then
  34135. pTDefRegMap(@Self)^.clr := $00100000
  34136. else
  34137. pTDefRegMap(@Self)^.&set := $00100000;
  34138. end;
  34139. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  34140. begin
  34141. getPMPEIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  34142. end;
  34143. procedure TINT_IEC1.setSPI2EIE; inline;
  34144. begin
  34145. pTDefRegMap(@Self)^.&set := $00200000;
  34146. end;
  34147. procedure TINT_IEC1.clearSPI2EIE; inline;
  34148. begin
  34149. pTDefRegMap(@Self)^.clr := $00200000;
  34150. end;
  34151. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  34152. begin
  34153. if thebits = 0 then
  34154. pTDefRegMap(@Self)^.clr := $00200000
  34155. else
  34156. pTDefRegMap(@Self)^.&set := $00200000;
  34157. end;
  34158. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  34159. begin
  34160. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  34161. end;
  34162. procedure TINT_IEC1.setSPI2RXIE; inline;
  34163. begin
  34164. pTDefRegMap(@Self)^.&set := $00400000;
  34165. end;
  34166. procedure TINT_IEC1.clearSPI2RXIE; inline;
  34167. begin
  34168. pTDefRegMap(@Self)^.clr := $00400000;
  34169. end;
  34170. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  34171. begin
  34172. if thebits = 0 then
  34173. pTDefRegMap(@Self)^.clr := $00400000
  34174. else
  34175. pTDefRegMap(@Self)^.&set := $00400000;
  34176. end;
  34177. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  34178. begin
  34179. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  34180. end;
  34181. procedure TINT_IEC1.setSPI2TXIE; inline;
  34182. begin
  34183. pTDefRegMap(@Self)^.&set := $00800000;
  34184. end;
  34185. procedure TINT_IEC1.clearSPI2TXIE; inline;
  34186. begin
  34187. pTDefRegMap(@Self)^.clr := $00800000;
  34188. end;
  34189. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  34190. begin
  34191. if thebits = 0 then
  34192. pTDefRegMap(@Self)^.clr := $00800000
  34193. else
  34194. pTDefRegMap(@Self)^.&set := $00800000;
  34195. end;
  34196. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  34197. begin
  34198. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  34199. end;
  34200. procedure TINT_IEC1.setU2EIE; inline;
  34201. begin
  34202. pTDefRegMap(@Self)^.&set := $01000000;
  34203. end;
  34204. procedure TINT_IEC1.clearU2EIE; inline;
  34205. begin
  34206. pTDefRegMap(@Self)^.clr := $01000000;
  34207. end;
  34208. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  34209. begin
  34210. if thebits = 0 then
  34211. pTDefRegMap(@Self)^.clr := $01000000
  34212. else
  34213. pTDefRegMap(@Self)^.&set := $01000000;
  34214. end;
  34215. function TINT_IEC1.getU2EIE : TBits_1; inline;
  34216. begin
  34217. getU2EIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34218. end;
  34219. procedure TINT_IEC1.setU2RXIE; inline;
  34220. begin
  34221. pTDefRegMap(@Self)^.&set := $02000000;
  34222. end;
  34223. procedure TINT_IEC1.clearU2RXIE; inline;
  34224. begin
  34225. pTDefRegMap(@Self)^.clr := $02000000;
  34226. end;
  34227. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  34228. begin
  34229. if thebits = 0 then
  34230. pTDefRegMap(@Self)^.clr := $02000000
  34231. else
  34232. pTDefRegMap(@Self)^.&set := $02000000;
  34233. end;
  34234. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  34235. begin
  34236. getU2RXIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  34237. end;
  34238. procedure TINT_IEC1.setU2TXIE; inline;
  34239. begin
  34240. pTDefRegMap(@Self)^.&set := $04000000;
  34241. end;
  34242. procedure TINT_IEC1.clearU2TXIE; inline;
  34243. begin
  34244. pTDefRegMap(@Self)^.clr := $04000000;
  34245. end;
  34246. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  34247. begin
  34248. if thebits = 0 then
  34249. pTDefRegMap(@Self)^.clr := $04000000
  34250. else
  34251. pTDefRegMap(@Self)^.&set := $04000000;
  34252. end;
  34253. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  34254. begin
  34255. getU2TXIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  34256. end;
  34257. procedure TINT_IEC1.setI2C2BIE; inline;
  34258. begin
  34259. pTDefRegMap(@Self)^.&set := $08000000;
  34260. end;
  34261. procedure TINT_IEC1.clearI2C2BIE; inline;
  34262. begin
  34263. pTDefRegMap(@Self)^.clr := $08000000;
  34264. end;
  34265. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  34266. begin
  34267. if thebits = 0 then
  34268. pTDefRegMap(@Self)^.clr := $08000000
  34269. else
  34270. pTDefRegMap(@Self)^.&set := $08000000;
  34271. end;
  34272. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  34273. begin
  34274. getI2C2BIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  34275. end;
  34276. procedure TINT_IEC1.setI2C2SIE; inline;
  34277. begin
  34278. pTDefRegMap(@Self)^.&set := $10000000;
  34279. end;
  34280. procedure TINT_IEC1.clearI2C2SIE; inline;
  34281. begin
  34282. pTDefRegMap(@Self)^.clr := $10000000;
  34283. end;
  34284. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  34285. begin
  34286. if thebits = 0 then
  34287. pTDefRegMap(@Self)^.clr := $10000000
  34288. else
  34289. pTDefRegMap(@Self)^.&set := $10000000;
  34290. end;
  34291. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  34292. begin
  34293. getI2C2SIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  34294. end;
  34295. procedure TINT_IEC1.setI2C2MIE; inline;
  34296. begin
  34297. pTDefRegMap(@Self)^.&set := $20000000;
  34298. end;
  34299. procedure TINT_IEC1.clearI2C2MIE; inline;
  34300. begin
  34301. pTDefRegMap(@Self)^.clr := $20000000;
  34302. end;
  34303. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  34304. begin
  34305. if thebits = 0 then
  34306. pTDefRegMap(@Self)^.clr := $20000000
  34307. else
  34308. pTDefRegMap(@Self)^.&set := $20000000;
  34309. end;
  34310. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  34311. begin
  34312. getI2C2MIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  34313. end;
  34314. procedure TINT_IEC1.setU3EIE; inline;
  34315. begin
  34316. pTDefRegMap(@Self)^.&set := $40000000;
  34317. end;
  34318. procedure TINT_IEC1.clearU3EIE; inline;
  34319. begin
  34320. pTDefRegMap(@Self)^.clr := $40000000;
  34321. end;
  34322. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  34323. begin
  34324. if thebits = 0 then
  34325. pTDefRegMap(@Self)^.clr := $40000000
  34326. else
  34327. pTDefRegMap(@Self)^.&set := $40000000;
  34328. end;
  34329. function TINT_IEC1.getU3EIE : TBits_1; inline;
  34330. begin
  34331. getU3EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  34332. end;
  34333. procedure TINT_IEC1.setU3RXIE; inline;
  34334. begin
  34335. pTDefRegMap(@Self)^.&set := $80000000;
  34336. end;
  34337. procedure TINT_IEC1.clearU3RXIE; inline;
  34338. begin
  34339. pTDefRegMap(@Self)^.clr := $80000000;
  34340. end;
  34341. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  34342. begin
  34343. if thebits = 0 then
  34344. pTDefRegMap(@Self)^.clr := $80000000
  34345. else
  34346. pTDefRegMap(@Self)^.&set := $80000000;
  34347. end;
  34348. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  34349. begin
  34350. getU3RXIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  34351. end;
  34352. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  34353. begin
  34354. pTDefRegMap(@Self)^.val := thebits;
  34355. end;
  34356. function TINT_IEC1.getw : TBits_32; inline;
  34357. begin
  34358. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34359. end;
  34360. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  34361. begin
  34362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34363. end;
  34364. function TINT_IPC0.getCTIS : TBits_2; inline;
  34365. begin
  34366. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34367. end;
  34368. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  34369. begin
  34370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34371. end;
  34372. function TINT_IPC0.getCTIP : TBits_3; inline;
  34373. begin
  34374. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34375. end;
  34376. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  34377. begin
  34378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34379. end;
  34380. function TINT_IPC0.getCS0IS : TBits_2; inline;
  34381. begin
  34382. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34383. end;
  34384. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  34385. begin
  34386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34387. end;
  34388. function TINT_IPC0.getCS0IP : TBits_3; inline;
  34389. begin
  34390. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34391. end;
  34392. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  34393. begin
  34394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34395. end;
  34396. function TINT_IPC0.getCS1IS : TBits_2; inline;
  34397. begin
  34398. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34399. end;
  34400. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  34401. begin
  34402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34403. end;
  34404. function TINT_IPC0.getCS1IP : TBits_3; inline;
  34405. begin
  34406. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34407. end;
  34408. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  34409. begin
  34410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34411. end;
  34412. function TINT_IPC0.getINT0IS : TBits_2; inline;
  34413. begin
  34414. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34415. end;
  34416. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  34417. begin
  34418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34419. end;
  34420. function TINT_IPC0.getINT0IP : TBits_3; inline;
  34421. begin
  34422. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34423. end;
  34424. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  34425. begin
  34426. pTDefRegMap(@Self)^.val := thebits;
  34427. end;
  34428. function TINT_IPC0.getw : TBits_32; inline;
  34429. begin
  34430. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34431. end;
  34432. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  34433. begin
  34434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34435. end;
  34436. function TINT_IPC1.getT1IS : TBits_2; inline;
  34437. begin
  34438. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34439. end;
  34440. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  34441. begin
  34442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34443. end;
  34444. function TINT_IPC1.getT1IP : TBits_3; inline;
  34445. begin
  34446. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34447. end;
  34448. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  34449. begin
  34450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34451. end;
  34452. function TINT_IPC1.getIC1IS : TBits_2; inline;
  34453. begin
  34454. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34455. end;
  34456. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  34457. begin
  34458. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34459. end;
  34460. function TINT_IPC1.getIC1IP : TBits_3; inline;
  34461. begin
  34462. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34463. end;
  34464. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  34465. begin
  34466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34467. end;
  34468. function TINT_IPC1.getOC1IS : TBits_2; inline;
  34469. begin
  34470. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34471. end;
  34472. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  34473. begin
  34474. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34475. end;
  34476. function TINT_IPC1.getOC1IP : TBits_3; inline;
  34477. begin
  34478. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34479. end;
  34480. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  34481. begin
  34482. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34483. end;
  34484. function TINT_IPC1.getINT1IS : TBits_2; inline;
  34485. begin
  34486. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34487. end;
  34488. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  34489. begin
  34490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34491. end;
  34492. function TINT_IPC1.getINT1IP : TBits_3; inline;
  34493. begin
  34494. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34495. end;
  34496. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  34497. begin
  34498. pTDefRegMap(@Self)^.val := thebits;
  34499. end;
  34500. function TINT_IPC1.getw : TBits_32; inline;
  34501. begin
  34502. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34503. end;
  34504. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  34505. begin
  34506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34507. end;
  34508. function TINT_IPC2.getT2IS : TBits_2; inline;
  34509. begin
  34510. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34511. end;
  34512. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  34513. begin
  34514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34515. end;
  34516. function TINT_IPC2.getT2IP : TBits_3; inline;
  34517. begin
  34518. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34519. end;
  34520. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  34521. begin
  34522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34523. end;
  34524. function TINT_IPC2.getIC2IS : TBits_2; inline;
  34525. begin
  34526. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34527. end;
  34528. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  34529. begin
  34530. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34531. end;
  34532. function TINT_IPC2.getIC2IP : TBits_3; inline;
  34533. begin
  34534. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34535. end;
  34536. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  34537. begin
  34538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34539. end;
  34540. function TINT_IPC2.getOC2IS : TBits_2; inline;
  34541. begin
  34542. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34543. end;
  34544. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  34545. begin
  34546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34547. end;
  34548. function TINT_IPC2.getOC2IP : TBits_3; inline;
  34549. begin
  34550. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34551. end;
  34552. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  34553. begin
  34554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34555. end;
  34556. function TINT_IPC2.getINT2IS : TBits_2; inline;
  34557. begin
  34558. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34559. end;
  34560. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  34561. begin
  34562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34563. end;
  34564. function TINT_IPC2.getINT2IP : TBits_3; inline;
  34565. begin
  34566. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34567. end;
  34568. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  34569. begin
  34570. pTDefRegMap(@Self)^.val := thebits;
  34571. end;
  34572. function TINT_IPC2.getw : TBits_32; inline;
  34573. begin
  34574. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34575. end;
  34576. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  34577. begin
  34578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34579. end;
  34580. function TINT_IPC3.getT3IS : TBits_2; inline;
  34581. begin
  34582. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34583. end;
  34584. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  34585. begin
  34586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34587. end;
  34588. function TINT_IPC3.getT3IP : TBits_3; inline;
  34589. begin
  34590. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34591. end;
  34592. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  34593. begin
  34594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34595. end;
  34596. function TINT_IPC3.getIC3IS : TBits_2; inline;
  34597. begin
  34598. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34599. end;
  34600. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  34601. begin
  34602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34603. end;
  34604. function TINT_IPC3.getIC3IP : TBits_3; inline;
  34605. begin
  34606. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34607. end;
  34608. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  34609. begin
  34610. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34611. end;
  34612. function TINT_IPC3.getOC3IS : TBits_2; inline;
  34613. begin
  34614. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34615. end;
  34616. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  34617. begin
  34618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34619. end;
  34620. function TINT_IPC3.getOC3IP : TBits_3; inline;
  34621. begin
  34622. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34623. end;
  34624. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  34625. begin
  34626. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34627. end;
  34628. function TINT_IPC3.getINT3IS : TBits_2; inline;
  34629. begin
  34630. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34631. end;
  34632. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  34633. begin
  34634. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34635. end;
  34636. function TINT_IPC3.getINT3IP : TBits_3; inline;
  34637. begin
  34638. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34639. end;
  34640. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  34641. begin
  34642. pTDefRegMap(@Self)^.val := thebits;
  34643. end;
  34644. function TINT_IPC3.getw : TBits_32; inline;
  34645. begin
  34646. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34647. end;
  34648. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  34649. begin
  34650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34651. end;
  34652. function TINT_IPC4.getT4IS : TBits_2; inline;
  34653. begin
  34654. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34655. end;
  34656. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  34657. begin
  34658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34659. end;
  34660. function TINT_IPC4.getT4IP : TBits_3; inline;
  34661. begin
  34662. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34663. end;
  34664. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  34665. begin
  34666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34667. end;
  34668. function TINT_IPC4.getIC4IS : TBits_2; inline;
  34669. begin
  34670. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34671. end;
  34672. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  34673. begin
  34674. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34675. end;
  34676. function TINT_IPC4.getIC4IP : TBits_3; inline;
  34677. begin
  34678. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34679. end;
  34680. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  34681. begin
  34682. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34683. end;
  34684. function TINT_IPC4.getOC4IS : TBits_2; inline;
  34685. begin
  34686. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34687. end;
  34688. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  34689. begin
  34690. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34691. end;
  34692. function TINT_IPC4.getOC4IP : TBits_3; inline;
  34693. begin
  34694. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34695. end;
  34696. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  34697. begin
  34698. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34699. end;
  34700. function TINT_IPC4.getINT4IS : TBits_2; inline;
  34701. begin
  34702. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34703. end;
  34704. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  34705. begin
  34706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34707. end;
  34708. function TINT_IPC4.getINT4IP : TBits_3; inline;
  34709. begin
  34710. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34711. end;
  34712. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  34713. begin
  34714. pTDefRegMap(@Self)^.val := thebits;
  34715. end;
  34716. function TINT_IPC4.getw : TBits_32; inline;
  34717. begin
  34718. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34719. end;
  34720. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  34721. begin
  34722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34723. end;
  34724. function TINT_IPC5.getT5IS : TBits_2; inline;
  34725. begin
  34726. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34727. end;
  34728. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  34729. begin
  34730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34731. end;
  34732. function TINT_IPC5.getT5IP : TBits_3; inline;
  34733. begin
  34734. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34735. end;
  34736. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  34737. begin
  34738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34739. end;
  34740. function TINT_IPC5.getIC5IS : TBits_2; inline;
  34741. begin
  34742. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34743. end;
  34744. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  34745. begin
  34746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34747. end;
  34748. function TINT_IPC5.getIC5IP : TBits_3; inline;
  34749. begin
  34750. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34751. end;
  34752. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  34753. begin
  34754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34755. end;
  34756. function TINT_IPC5.getOC5IS : TBits_2; inline;
  34757. begin
  34758. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34759. end;
  34760. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  34761. begin
  34762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34763. end;
  34764. function TINT_IPC5.getOC5IP : TBits_3; inline;
  34765. begin
  34766. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34767. end;
  34768. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  34769. begin
  34770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34771. end;
  34772. function TINT_IPC5.getAD1IS : TBits_2; inline;
  34773. begin
  34774. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34775. end;
  34776. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  34777. begin
  34778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34779. end;
  34780. function TINT_IPC5.getAD1IP : TBits_3; inline;
  34781. begin
  34782. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34783. end;
  34784. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  34785. begin
  34786. pTDefRegMap(@Self)^.val := thebits;
  34787. end;
  34788. function TINT_IPC5.getw : TBits_32; inline;
  34789. begin
  34790. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34791. end;
  34792. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  34793. begin
  34794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34795. end;
  34796. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  34797. begin
  34798. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34799. end;
  34800. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  34801. begin
  34802. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34803. end;
  34804. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  34805. begin
  34806. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34807. end;
  34808. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  34809. begin
  34810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34811. end;
  34812. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  34813. begin
  34814. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34815. end;
  34816. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  34817. begin
  34818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34819. end;
  34820. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  34821. begin
  34822. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34823. end;
  34824. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  34825. begin
  34826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34827. end;
  34828. function TINT_IPC6.getFCEIS : TBits_2; inline;
  34829. begin
  34830. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34831. end;
  34832. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  34833. begin
  34834. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34835. end;
  34836. function TINT_IPC6.getFCEIP : TBits_3; inline;
  34837. begin
  34838. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34839. end;
  34840. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  34841. begin
  34842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34843. end;
  34844. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  34845. begin
  34846. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34847. end;
  34848. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  34849. begin
  34850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34851. end;
  34852. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  34853. begin
  34854. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34855. end;
  34856. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  34857. begin
  34858. pTDefRegMap(@Self)^.val := thebits;
  34859. end;
  34860. function TINT_IPC6.getw : TBits_32; inline;
  34861. begin
  34862. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34863. end;
  34864. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  34865. begin
  34866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34867. end;
  34868. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  34869. begin
  34870. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34871. end;
  34872. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  34873. begin
  34874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34875. end;
  34876. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  34877. begin
  34878. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34879. end;
  34880. procedure TINT_IPC7.setUSBIS(thebits : TBits_2); inline;
  34881. begin
  34882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34883. end;
  34884. function TINT_IPC7.getUSBIS : TBits_2; inline;
  34885. begin
  34886. getUSBIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34887. end;
  34888. procedure TINT_IPC7.setUSBIP(thebits : TBits_3); inline;
  34889. begin
  34890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34891. end;
  34892. function TINT_IPC7.getUSBIP : TBits_3; inline;
  34893. begin
  34894. getUSBIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34895. end;
  34896. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  34897. begin
  34898. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34899. end;
  34900. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  34901. begin
  34902. getSPI1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34903. end;
  34904. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  34905. begin
  34906. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34907. end;
  34908. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  34909. begin
  34910. getSPI1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34911. end;
  34912. procedure TINT_IPC7.setU1IS(thebits : TBits_2); inline;
  34913. begin
  34914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34915. end;
  34916. function TINT_IPC7.getU1IS : TBits_2; inline;
  34917. begin
  34918. getU1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34919. end;
  34920. procedure TINT_IPC7.setU1IP(thebits : TBits_3); inline;
  34921. begin
  34922. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34923. end;
  34924. function TINT_IPC7.getU1IP : TBits_3; inline;
  34925. begin
  34926. getU1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34927. end;
  34928. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  34929. begin
  34930. pTDefRegMap(@Self)^.val := thebits;
  34931. end;
  34932. function TINT_IPC7.getw : TBits_32; inline;
  34933. begin
  34934. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34935. end;
  34936. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  34937. begin
  34938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34939. end;
  34940. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  34941. begin
  34942. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34943. end;
  34944. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  34945. begin
  34946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  34947. end;
  34948. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  34949. begin
  34950. getI2C1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  34951. end;
  34952. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  34953. begin
  34954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34955. end;
  34956. function TINT_IPC8.getCNIS : TBits_2; inline;
  34957. begin
  34958. getCNIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34959. end;
  34960. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  34961. begin
  34962. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  34963. end;
  34964. function TINT_IPC8.getCNIP : TBits_3; inline;
  34965. begin
  34966. getCNIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  34967. end;
  34968. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  34969. begin
  34970. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  34971. end;
  34972. function TINT_IPC8.getPMPIS : TBits_2; inline;
  34973. begin
  34974. getPMPIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  34975. end;
  34976. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  34977. begin
  34978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  34979. end;
  34980. function TINT_IPC8.getPMPIP : TBits_3; inline;
  34981. begin
  34982. getPMPIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  34983. end;
  34984. procedure TINT_IPC8.setSPI2IS(thebits : TBits_2); inline;
  34985. begin
  34986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  34987. end;
  34988. function TINT_IPC8.getSPI2IS : TBits_2; inline;
  34989. begin
  34990. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  34991. end;
  34992. procedure TINT_IPC8.setSPI2IP(thebits : TBits_3); inline;
  34993. begin
  34994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  34995. end;
  34996. function TINT_IPC8.getSPI2IP : TBits_3; inline;
  34997. begin
  34998. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  34999. end;
  35000. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  35001. begin
  35002. pTDefRegMap(@Self)^.val := thebits;
  35003. end;
  35004. function TINT_IPC8.getw : TBits_32; inline;
  35005. begin
  35006. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35007. end;
  35008. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  35009. begin
  35010. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  35011. end;
  35012. function TINT_IPC9.getU2IS : TBits_2; inline;
  35013. begin
  35014. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  35015. end;
  35016. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  35017. begin
  35018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  35019. end;
  35020. function TINT_IPC9.getU2IP : TBits_3; inline;
  35021. begin
  35022. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  35023. end;
  35024. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  35025. begin
  35026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  35027. end;
  35028. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  35029. begin
  35030. getI2C2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  35031. end;
  35032. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  35033. begin
  35034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  35035. end;
  35036. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  35037. begin
  35038. getI2C2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  35039. end;
  35040. procedure TINT_IPC9.setU3IS(thebits : TBits_2); inline;
  35041. begin
  35042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  35043. end;
  35044. function TINT_IPC9.getU3IS : TBits_2; inline;
  35045. begin
  35046. getU3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  35047. end;
  35048. procedure TINT_IPC9.setU3IP(thebits : TBits_3); inline;
  35049. begin
  35050. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  35051. end;
  35052. function TINT_IPC9.getU3IP : TBits_3; inline;
  35053. begin
  35054. getU3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  35055. end;
  35056. procedure TINT_IPC9.setU4IS(thebits : TBits_2); inline;
  35057. begin
  35058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  35059. end;
  35060. function TINT_IPC9.getU4IS : TBits_2; inline;
  35061. begin
  35062. getU4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  35063. end;
  35064. procedure TINT_IPC9.setU4IP(thebits : TBits_3); inline;
  35065. begin
  35066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  35067. end;
  35068. function TINT_IPC9.getU4IP : TBits_3; inline;
  35069. begin
  35070. getU4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  35071. end;
  35072. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  35073. begin
  35074. pTDefRegMap(@Self)^.val := thebits;
  35075. end;
  35076. function TINT_IPC9.getw : TBits_32; inline;
  35077. begin
  35078. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35079. end;
  35080. procedure TINT_IPC10.setCTMUIP(thebits : TBits_2); inline;
  35081. begin
  35082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  35083. end;
  35084. function TINT_IPC10.getCTMUIP : TBits_2; inline;
  35085. begin
  35086. getCTMUIP := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  35087. end;
  35088. procedure TINT_IPC10.setCTMUIS(thebits : TBits_3); inline;
  35089. begin
  35090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  35091. end;
  35092. function TINT_IPC10.getCTMUIS : TBits_3; inline;
  35093. begin
  35094. getCTMUIS := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  35095. end;
  35096. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  35097. begin
  35098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  35099. end;
  35100. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  35101. begin
  35102. getDMA0IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  35103. end;
  35104. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  35105. begin
  35106. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  35107. end;
  35108. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  35109. begin
  35110. getDMA0IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  35111. end;
  35112. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  35113. begin
  35114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  35115. end;
  35116. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  35117. begin
  35118. getDMA1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  35119. end;
  35120. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  35121. begin
  35122. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  35123. end;
  35124. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  35125. begin
  35126. getDMA1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  35127. end;
  35128. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  35129. begin
  35130. pTDefRegMap(@Self)^.val := thebits;
  35131. end;
  35132. function TINT_IPC10.getw : TBits_32; inline;
  35133. begin
  35134. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35135. end;
  35136. procedure TINT_IPC11.setDMA2IS(thebits : TBits_2); inline;
  35137. begin
  35138. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  35139. end;
  35140. function TINT_IPC11.getDMA2IS : TBits_2; inline;
  35141. begin
  35142. getDMA2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  35143. end;
  35144. procedure TINT_IPC11.setDMA2IP(thebits : TBits_3); inline;
  35145. begin
  35146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  35147. end;
  35148. function TINT_IPC11.getDMA2IP : TBits_3; inline;
  35149. begin
  35150. getDMA2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  35151. end;
  35152. procedure TINT_IPC11.setDMA3IS(thebits : TBits_2); inline;
  35153. begin
  35154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  35155. end;
  35156. function TINT_IPC11.getDMA3IS : TBits_2; inline;
  35157. begin
  35158. getDMA3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  35159. end;
  35160. procedure TINT_IPC11.setDMA3IP(thebits : TBits_3); inline;
  35161. begin
  35162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  35163. end;
  35164. function TINT_IPC11.getDMA3IP : TBits_3; inline;
  35165. begin
  35166. getDMA3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  35167. end;
  35168. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  35169. begin
  35170. pTDefRegMap(@Self)^.val := thebits;
  35171. end;
  35172. function TINT_IPC11.getw : TBits_32; inline;
  35173. begin
  35174. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35175. end;
  35176. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  35177. begin
  35178. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  35179. end;
  35180. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  35181. begin
  35182. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  35183. end;
  35184. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  35185. begin
  35186. pTDefRegMap(@Self)^.&set := $00000040;
  35187. end;
  35188. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  35189. begin
  35190. pTDefRegMap(@Self)^.clr := $00000040;
  35191. end;
  35192. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  35193. begin
  35194. if thebits = 0 then
  35195. pTDefRegMap(@Self)^.clr := $00000040
  35196. else
  35197. pTDefRegMap(@Self)^.&set := $00000040;
  35198. end;
  35199. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  35200. begin
  35201. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35202. end;
  35203. procedure TBMX_BMXCON.setBMXERRIS; inline;
  35204. begin
  35205. pTDefRegMap(@Self)^.&set := $00010000;
  35206. end;
  35207. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  35208. begin
  35209. pTDefRegMap(@Self)^.clr := $00010000;
  35210. end;
  35211. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  35212. begin
  35213. if thebits = 0 then
  35214. pTDefRegMap(@Self)^.clr := $00010000
  35215. else
  35216. pTDefRegMap(@Self)^.&set := $00010000;
  35217. end;
  35218. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  35219. begin
  35220. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35221. end;
  35222. procedure TBMX_BMXCON.setBMXERRDS; inline;
  35223. begin
  35224. pTDefRegMap(@Self)^.&set := $00020000;
  35225. end;
  35226. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  35227. begin
  35228. pTDefRegMap(@Self)^.clr := $00020000;
  35229. end;
  35230. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  35231. begin
  35232. if thebits = 0 then
  35233. pTDefRegMap(@Self)^.clr := $00020000
  35234. else
  35235. pTDefRegMap(@Self)^.&set := $00020000;
  35236. end;
  35237. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  35238. begin
  35239. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  35240. end;
  35241. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  35242. begin
  35243. pTDefRegMap(@Self)^.&set := $00040000;
  35244. end;
  35245. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  35246. begin
  35247. pTDefRegMap(@Self)^.clr := $00040000;
  35248. end;
  35249. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  35250. begin
  35251. if thebits = 0 then
  35252. pTDefRegMap(@Self)^.clr := $00040000
  35253. else
  35254. pTDefRegMap(@Self)^.&set := $00040000;
  35255. end;
  35256. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  35257. begin
  35258. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  35259. end;
  35260. procedure TBMX_BMXCON.setBMXERRICD; inline;
  35261. begin
  35262. pTDefRegMap(@Self)^.&set := $00080000;
  35263. end;
  35264. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  35265. begin
  35266. pTDefRegMap(@Self)^.clr := $00080000;
  35267. end;
  35268. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  35269. begin
  35270. if thebits = 0 then
  35271. pTDefRegMap(@Self)^.clr := $00080000
  35272. else
  35273. pTDefRegMap(@Self)^.&set := $00080000;
  35274. end;
  35275. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  35276. begin
  35277. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  35278. end;
  35279. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  35280. begin
  35281. pTDefRegMap(@Self)^.&set := $00100000;
  35282. end;
  35283. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  35284. begin
  35285. pTDefRegMap(@Self)^.clr := $00100000;
  35286. end;
  35287. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  35288. begin
  35289. if thebits = 0 then
  35290. pTDefRegMap(@Self)^.clr := $00100000
  35291. else
  35292. pTDefRegMap(@Self)^.&set := $00100000;
  35293. end;
  35294. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  35295. begin
  35296. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  35297. end;
  35298. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  35299. begin
  35300. pTDefRegMap(@Self)^.&set := $04000000;
  35301. end;
  35302. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  35303. begin
  35304. pTDefRegMap(@Self)^.clr := $04000000;
  35305. end;
  35306. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  35307. begin
  35308. if thebits = 0 then
  35309. pTDefRegMap(@Self)^.clr := $04000000
  35310. else
  35311. pTDefRegMap(@Self)^.&set := $04000000;
  35312. end;
  35313. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  35314. begin
  35315. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  35316. end;
  35317. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  35318. begin
  35319. pTDefRegMap(@Self)^.val := thebits;
  35320. end;
  35321. function TBMX_BMXCON.getw : TBits_32; inline;
  35322. begin
  35323. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35324. end;
  35325. procedure TDMAC_DMACON.setDMABUSY; inline;
  35326. begin
  35327. pTDefRegMap(@Self)^.&set := $00000800;
  35328. end;
  35329. procedure TDMAC_DMACON.clearDMABUSY; inline;
  35330. begin
  35331. pTDefRegMap(@Self)^.clr := $00000800;
  35332. end;
  35333. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  35334. begin
  35335. if thebits = 0 then
  35336. pTDefRegMap(@Self)^.clr := $00000800
  35337. else
  35338. pTDefRegMap(@Self)^.&set := $00000800;
  35339. end;
  35340. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  35341. begin
  35342. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35343. end;
  35344. procedure TDMAC_DMACON.setSUSPEND; inline;
  35345. begin
  35346. pTDefRegMap(@Self)^.&set := $00001000;
  35347. end;
  35348. procedure TDMAC_DMACON.clearSUSPEND; inline;
  35349. begin
  35350. pTDefRegMap(@Self)^.clr := $00001000;
  35351. end;
  35352. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  35353. begin
  35354. if thebits = 0 then
  35355. pTDefRegMap(@Self)^.clr := $00001000
  35356. else
  35357. pTDefRegMap(@Self)^.&set := $00001000;
  35358. end;
  35359. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  35360. begin
  35361. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35362. end;
  35363. procedure TDMAC_DMACON.setON; inline;
  35364. begin
  35365. pTDefRegMap(@Self)^.&set := $00008000;
  35366. end;
  35367. procedure TDMAC_DMACON.clearON; inline;
  35368. begin
  35369. pTDefRegMap(@Self)^.clr := $00008000;
  35370. end;
  35371. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  35372. begin
  35373. if thebits = 0 then
  35374. pTDefRegMap(@Self)^.clr := $00008000
  35375. else
  35376. pTDefRegMap(@Self)^.&set := $00008000;
  35377. end;
  35378. function TDMAC_DMACON.getON : TBits_1; inline;
  35379. begin
  35380. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35381. end;
  35382. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  35383. begin
  35384. pTDefRegMap(@Self)^.val := thebits;
  35385. end;
  35386. function TDMAC_DMACON.getw : TBits_32; inline;
  35387. begin
  35388. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35389. end;
  35390. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  35391. begin
  35392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  35393. end;
  35394. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  35395. begin
  35396. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  35397. end;
  35398. procedure TDMAC_DMASTAT.setRDWR; inline;
  35399. begin
  35400. pTDefRegMap(@Self)^.&set := $00000008;
  35401. end;
  35402. procedure TDMAC_DMASTAT.clearRDWR; inline;
  35403. begin
  35404. pTDefRegMap(@Self)^.clr := $00000008;
  35405. end;
  35406. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  35407. begin
  35408. if thebits = 0 then
  35409. pTDefRegMap(@Self)^.clr := $00000008
  35410. else
  35411. pTDefRegMap(@Self)^.&set := $00000008;
  35412. end;
  35413. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  35414. begin
  35415. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35416. end;
  35417. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  35418. begin
  35419. pTDefRegMap(@Self)^.val := thebits;
  35420. end;
  35421. function TDMAC_DMASTAT.getw : TBits_32; inline;
  35422. begin
  35423. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35424. end;
  35425. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  35426. begin
  35427. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  35428. end;
  35429. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  35430. begin
  35431. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  35432. end;
  35433. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  35434. begin
  35435. pTDefRegMap(@Self)^.&set := $00000020;
  35436. end;
  35437. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  35438. begin
  35439. pTDefRegMap(@Self)^.clr := $00000020;
  35440. end;
  35441. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  35442. begin
  35443. if thebits = 0 then
  35444. pTDefRegMap(@Self)^.clr := $00000020
  35445. else
  35446. pTDefRegMap(@Self)^.&set := $00000020;
  35447. end;
  35448. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  35449. begin
  35450. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35451. end;
  35452. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  35453. begin
  35454. pTDefRegMap(@Self)^.&set := $00000040;
  35455. end;
  35456. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  35457. begin
  35458. pTDefRegMap(@Self)^.clr := $00000040;
  35459. end;
  35460. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  35461. begin
  35462. if thebits = 0 then
  35463. pTDefRegMap(@Self)^.clr := $00000040
  35464. else
  35465. pTDefRegMap(@Self)^.&set := $00000040;
  35466. end;
  35467. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  35468. begin
  35469. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35470. end;
  35471. procedure TDMAC_DCRCCON.setCRCEN; inline;
  35472. begin
  35473. pTDefRegMap(@Self)^.&set := $00000080;
  35474. end;
  35475. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  35476. begin
  35477. pTDefRegMap(@Self)^.clr := $00000080;
  35478. end;
  35479. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  35480. begin
  35481. if thebits = 0 then
  35482. pTDefRegMap(@Self)^.clr := $00000080
  35483. else
  35484. pTDefRegMap(@Self)^.&set := $00000080;
  35485. end;
  35486. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  35487. begin
  35488. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35489. end;
  35490. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  35491. begin
  35492. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  35493. end;
  35494. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  35495. begin
  35496. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  35497. end;
  35498. procedure TDMAC_DCRCCON.setBITO; inline;
  35499. begin
  35500. pTDefRegMap(@Self)^.&set := $01000000;
  35501. end;
  35502. procedure TDMAC_DCRCCON.clearBITO; inline;
  35503. begin
  35504. pTDefRegMap(@Self)^.clr := $01000000;
  35505. end;
  35506. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  35507. begin
  35508. if thebits = 0 then
  35509. pTDefRegMap(@Self)^.clr := $01000000
  35510. else
  35511. pTDefRegMap(@Self)^.&set := $01000000;
  35512. end;
  35513. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  35514. begin
  35515. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35516. end;
  35517. procedure TDMAC_DCRCCON.setWBO; inline;
  35518. begin
  35519. pTDefRegMap(@Self)^.&set := $08000000;
  35520. end;
  35521. procedure TDMAC_DCRCCON.clearWBO; inline;
  35522. begin
  35523. pTDefRegMap(@Self)^.clr := $08000000;
  35524. end;
  35525. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  35526. begin
  35527. if thebits = 0 then
  35528. pTDefRegMap(@Self)^.clr := $08000000
  35529. else
  35530. pTDefRegMap(@Self)^.&set := $08000000;
  35531. end;
  35532. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  35533. begin
  35534. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  35535. end;
  35536. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  35537. begin
  35538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  35539. end;
  35540. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  35541. begin
  35542. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  35543. end;
  35544. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  35545. begin
  35546. pTDefRegMap(@Self)^.val := thebits;
  35547. end;
  35548. function TDMAC_DCRCCON.getw : TBits_32; inline;
  35549. begin
  35550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35551. end;
  35552. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  35553. begin
  35554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  35555. end;
  35556. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  35557. begin
  35558. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  35559. end;
  35560. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  35561. begin
  35562. pTDefRegMap(@Self)^.&set := $00000004;
  35563. end;
  35564. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  35565. begin
  35566. pTDefRegMap(@Self)^.clr := $00000004;
  35567. end;
  35568. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  35569. begin
  35570. if thebits = 0 then
  35571. pTDefRegMap(@Self)^.clr := $00000004
  35572. else
  35573. pTDefRegMap(@Self)^.&set := $00000004;
  35574. end;
  35575. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  35576. begin
  35577. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35578. end;
  35579. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  35580. begin
  35581. pTDefRegMap(@Self)^.&set := $00000010;
  35582. end;
  35583. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  35584. begin
  35585. pTDefRegMap(@Self)^.clr := $00000010;
  35586. end;
  35587. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  35588. begin
  35589. if thebits = 0 then
  35590. pTDefRegMap(@Self)^.clr := $00000010
  35591. else
  35592. pTDefRegMap(@Self)^.&set := $00000010;
  35593. end;
  35594. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  35595. begin
  35596. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35597. end;
  35598. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  35599. begin
  35600. pTDefRegMap(@Self)^.&set := $00000020;
  35601. end;
  35602. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  35603. begin
  35604. pTDefRegMap(@Self)^.clr := $00000020;
  35605. end;
  35606. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  35607. begin
  35608. if thebits = 0 then
  35609. pTDefRegMap(@Self)^.clr := $00000020
  35610. else
  35611. pTDefRegMap(@Self)^.&set := $00000020;
  35612. end;
  35613. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  35614. begin
  35615. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35616. end;
  35617. procedure TDMAC0_DCH0CON.setCHAED; inline;
  35618. begin
  35619. pTDefRegMap(@Self)^.&set := $00000040;
  35620. end;
  35621. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  35622. begin
  35623. pTDefRegMap(@Self)^.clr := $00000040;
  35624. end;
  35625. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  35626. begin
  35627. if thebits = 0 then
  35628. pTDefRegMap(@Self)^.clr := $00000040
  35629. else
  35630. pTDefRegMap(@Self)^.&set := $00000040;
  35631. end;
  35632. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  35633. begin
  35634. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35635. end;
  35636. procedure TDMAC0_DCH0CON.setCHEN; inline;
  35637. begin
  35638. pTDefRegMap(@Self)^.&set := $00000080;
  35639. end;
  35640. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  35641. begin
  35642. pTDefRegMap(@Self)^.clr := $00000080;
  35643. end;
  35644. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  35645. begin
  35646. if thebits = 0 then
  35647. pTDefRegMap(@Self)^.clr := $00000080
  35648. else
  35649. pTDefRegMap(@Self)^.&set := $00000080;
  35650. end;
  35651. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  35652. begin
  35653. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35654. end;
  35655. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  35656. begin
  35657. pTDefRegMap(@Self)^.&set := $00000100;
  35658. end;
  35659. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  35660. begin
  35661. pTDefRegMap(@Self)^.clr := $00000100;
  35662. end;
  35663. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  35664. begin
  35665. if thebits = 0 then
  35666. pTDefRegMap(@Self)^.clr := $00000100
  35667. else
  35668. pTDefRegMap(@Self)^.&set := $00000100;
  35669. end;
  35670. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  35671. begin
  35672. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35673. end;
  35674. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  35675. begin
  35676. pTDefRegMap(@Self)^.&set := $00008000;
  35677. end;
  35678. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  35679. begin
  35680. pTDefRegMap(@Self)^.clr := $00008000;
  35681. end;
  35682. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  35683. begin
  35684. if thebits = 0 then
  35685. pTDefRegMap(@Self)^.clr := $00008000
  35686. else
  35687. pTDefRegMap(@Self)^.&set := $00008000;
  35688. end;
  35689. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  35690. begin
  35691. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35692. end;
  35693. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  35694. begin
  35695. pTDefRegMap(@Self)^.val := thebits;
  35696. end;
  35697. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  35698. begin
  35699. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35700. end;
  35701. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  35702. begin
  35703. pTDefRegMap(@Self)^.&set := $00000008;
  35704. end;
  35705. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  35706. begin
  35707. pTDefRegMap(@Self)^.clr := $00000008;
  35708. end;
  35709. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  35710. begin
  35711. if thebits = 0 then
  35712. pTDefRegMap(@Self)^.clr := $00000008
  35713. else
  35714. pTDefRegMap(@Self)^.&set := $00000008;
  35715. end;
  35716. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  35717. begin
  35718. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35719. end;
  35720. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  35721. begin
  35722. pTDefRegMap(@Self)^.&set := $00000010;
  35723. end;
  35724. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  35725. begin
  35726. pTDefRegMap(@Self)^.clr := $00000010;
  35727. end;
  35728. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  35729. begin
  35730. if thebits = 0 then
  35731. pTDefRegMap(@Self)^.clr := $00000010
  35732. else
  35733. pTDefRegMap(@Self)^.&set := $00000010;
  35734. end;
  35735. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  35736. begin
  35737. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35738. end;
  35739. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  35740. begin
  35741. pTDefRegMap(@Self)^.&set := $00000020;
  35742. end;
  35743. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  35744. begin
  35745. pTDefRegMap(@Self)^.clr := $00000020;
  35746. end;
  35747. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  35748. begin
  35749. if thebits = 0 then
  35750. pTDefRegMap(@Self)^.clr := $00000020
  35751. else
  35752. pTDefRegMap(@Self)^.&set := $00000020;
  35753. end;
  35754. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  35755. begin
  35756. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35757. end;
  35758. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  35759. begin
  35760. pTDefRegMap(@Self)^.&set := $00000040;
  35761. end;
  35762. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  35763. begin
  35764. pTDefRegMap(@Self)^.clr := $00000040;
  35765. end;
  35766. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  35767. begin
  35768. if thebits = 0 then
  35769. pTDefRegMap(@Self)^.clr := $00000040
  35770. else
  35771. pTDefRegMap(@Self)^.&set := $00000040;
  35772. end;
  35773. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  35774. begin
  35775. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35776. end;
  35777. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  35778. begin
  35779. pTDefRegMap(@Self)^.&set := $00000080;
  35780. end;
  35781. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  35782. begin
  35783. pTDefRegMap(@Self)^.clr := $00000080;
  35784. end;
  35785. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  35786. begin
  35787. if thebits = 0 then
  35788. pTDefRegMap(@Self)^.clr := $00000080
  35789. else
  35790. pTDefRegMap(@Self)^.&set := $00000080;
  35791. end;
  35792. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  35793. begin
  35794. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35795. end;
  35796. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  35797. begin
  35798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  35799. end;
  35800. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  35801. begin
  35802. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  35803. end;
  35804. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  35805. begin
  35806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35807. end;
  35808. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  35809. begin
  35810. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35811. end;
  35812. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  35813. begin
  35814. pTDefRegMap(@Self)^.val := thebits;
  35815. end;
  35816. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  35817. begin
  35818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35819. end;
  35820. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  35821. begin
  35822. pTDefRegMap(@Self)^.&set := $00000001;
  35823. end;
  35824. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  35825. begin
  35826. pTDefRegMap(@Self)^.clr := $00000001;
  35827. end;
  35828. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  35829. begin
  35830. if thebits = 0 then
  35831. pTDefRegMap(@Self)^.clr := $00000001
  35832. else
  35833. pTDefRegMap(@Self)^.&set := $00000001;
  35834. end;
  35835. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  35836. begin
  35837. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35838. end;
  35839. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  35840. begin
  35841. pTDefRegMap(@Self)^.&set := $00000002;
  35842. end;
  35843. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  35844. begin
  35845. pTDefRegMap(@Self)^.clr := $00000002;
  35846. end;
  35847. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  35848. begin
  35849. if thebits = 0 then
  35850. pTDefRegMap(@Self)^.clr := $00000002
  35851. else
  35852. pTDefRegMap(@Self)^.&set := $00000002;
  35853. end;
  35854. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  35855. begin
  35856. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35857. end;
  35858. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  35859. begin
  35860. pTDefRegMap(@Self)^.&set := $00000004;
  35861. end;
  35862. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  35863. begin
  35864. pTDefRegMap(@Self)^.clr := $00000004;
  35865. end;
  35866. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  35867. begin
  35868. if thebits = 0 then
  35869. pTDefRegMap(@Self)^.clr := $00000004
  35870. else
  35871. pTDefRegMap(@Self)^.&set := $00000004;
  35872. end;
  35873. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  35874. begin
  35875. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35876. end;
  35877. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  35878. begin
  35879. pTDefRegMap(@Self)^.&set := $00000008;
  35880. end;
  35881. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  35882. begin
  35883. pTDefRegMap(@Self)^.clr := $00000008;
  35884. end;
  35885. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  35886. begin
  35887. if thebits = 0 then
  35888. pTDefRegMap(@Self)^.clr := $00000008
  35889. else
  35890. pTDefRegMap(@Self)^.&set := $00000008;
  35891. end;
  35892. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  35893. begin
  35894. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35895. end;
  35896. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  35897. begin
  35898. pTDefRegMap(@Self)^.&set := $00000010;
  35899. end;
  35900. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  35901. begin
  35902. pTDefRegMap(@Self)^.clr := $00000010;
  35903. end;
  35904. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  35905. begin
  35906. if thebits = 0 then
  35907. pTDefRegMap(@Self)^.clr := $00000010
  35908. else
  35909. pTDefRegMap(@Self)^.&set := $00000010;
  35910. end;
  35911. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  35912. begin
  35913. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35914. end;
  35915. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  35916. begin
  35917. pTDefRegMap(@Self)^.&set := $00000020;
  35918. end;
  35919. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  35920. begin
  35921. pTDefRegMap(@Self)^.clr := $00000020;
  35922. end;
  35923. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  35924. begin
  35925. if thebits = 0 then
  35926. pTDefRegMap(@Self)^.clr := $00000020
  35927. else
  35928. pTDefRegMap(@Self)^.&set := $00000020;
  35929. end;
  35930. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  35931. begin
  35932. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35933. end;
  35934. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  35935. begin
  35936. pTDefRegMap(@Self)^.&set := $00000040;
  35937. end;
  35938. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  35939. begin
  35940. pTDefRegMap(@Self)^.clr := $00000040;
  35941. end;
  35942. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  35943. begin
  35944. if thebits = 0 then
  35945. pTDefRegMap(@Self)^.clr := $00000040
  35946. else
  35947. pTDefRegMap(@Self)^.&set := $00000040;
  35948. end;
  35949. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  35950. begin
  35951. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35952. end;
  35953. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  35954. begin
  35955. pTDefRegMap(@Self)^.&set := $00000080;
  35956. end;
  35957. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  35958. begin
  35959. pTDefRegMap(@Self)^.clr := $00000080;
  35960. end;
  35961. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  35962. begin
  35963. if thebits = 0 then
  35964. pTDefRegMap(@Self)^.clr := $00000080
  35965. else
  35966. pTDefRegMap(@Self)^.&set := $00000080;
  35967. end;
  35968. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  35969. begin
  35970. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35971. end;
  35972. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  35973. begin
  35974. pTDefRegMap(@Self)^.&set := $00010000;
  35975. end;
  35976. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  35977. begin
  35978. pTDefRegMap(@Self)^.clr := $00010000;
  35979. end;
  35980. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  35981. begin
  35982. if thebits = 0 then
  35983. pTDefRegMap(@Self)^.clr := $00010000
  35984. else
  35985. pTDefRegMap(@Self)^.&set := $00010000;
  35986. end;
  35987. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  35988. begin
  35989. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35990. end;
  35991. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  35992. begin
  35993. pTDefRegMap(@Self)^.&set := $00020000;
  35994. end;
  35995. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  35996. begin
  35997. pTDefRegMap(@Self)^.clr := $00020000;
  35998. end;
  35999. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  36000. begin
  36001. if thebits = 0 then
  36002. pTDefRegMap(@Self)^.clr := $00020000
  36003. else
  36004. pTDefRegMap(@Self)^.&set := $00020000;
  36005. end;
  36006. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  36007. begin
  36008. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  36009. end;
  36010. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  36011. begin
  36012. pTDefRegMap(@Self)^.&set := $00040000;
  36013. end;
  36014. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  36015. begin
  36016. pTDefRegMap(@Self)^.clr := $00040000;
  36017. end;
  36018. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  36019. begin
  36020. if thebits = 0 then
  36021. pTDefRegMap(@Self)^.clr := $00040000
  36022. else
  36023. pTDefRegMap(@Self)^.&set := $00040000;
  36024. end;
  36025. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  36026. begin
  36027. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36028. end;
  36029. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  36030. begin
  36031. pTDefRegMap(@Self)^.&set := $00080000;
  36032. end;
  36033. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  36034. begin
  36035. pTDefRegMap(@Self)^.clr := $00080000;
  36036. end;
  36037. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  36038. begin
  36039. if thebits = 0 then
  36040. pTDefRegMap(@Self)^.clr := $00080000
  36041. else
  36042. pTDefRegMap(@Self)^.&set := $00080000;
  36043. end;
  36044. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  36045. begin
  36046. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36047. end;
  36048. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  36049. begin
  36050. pTDefRegMap(@Self)^.&set := $00100000;
  36051. end;
  36052. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  36053. begin
  36054. pTDefRegMap(@Self)^.clr := $00100000;
  36055. end;
  36056. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  36057. begin
  36058. if thebits = 0 then
  36059. pTDefRegMap(@Self)^.clr := $00100000
  36060. else
  36061. pTDefRegMap(@Self)^.&set := $00100000;
  36062. end;
  36063. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  36064. begin
  36065. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  36066. end;
  36067. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  36068. begin
  36069. pTDefRegMap(@Self)^.&set := $00200000;
  36070. end;
  36071. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  36072. begin
  36073. pTDefRegMap(@Self)^.clr := $00200000;
  36074. end;
  36075. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  36076. begin
  36077. if thebits = 0 then
  36078. pTDefRegMap(@Self)^.clr := $00200000
  36079. else
  36080. pTDefRegMap(@Self)^.&set := $00200000;
  36081. end;
  36082. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  36083. begin
  36084. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  36085. end;
  36086. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  36087. begin
  36088. pTDefRegMap(@Self)^.&set := $00400000;
  36089. end;
  36090. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  36091. begin
  36092. pTDefRegMap(@Self)^.clr := $00400000;
  36093. end;
  36094. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  36095. begin
  36096. if thebits = 0 then
  36097. pTDefRegMap(@Self)^.clr := $00400000
  36098. else
  36099. pTDefRegMap(@Self)^.&set := $00400000;
  36100. end;
  36101. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  36102. begin
  36103. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36104. end;
  36105. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  36106. begin
  36107. pTDefRegMap(@Self)^.&set := $00800000;
  36108. end;
  36109. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  36110. begin
  36111. pTDefRegMap(@Self)^.clr := $00800000;
  36112. end;
  36113. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  36114. begin
  36115. if thebits = 0 then
  36116. pTDefRegMap(@Self)^.clr := $00800000
  36117. else
  36118. pTDefRegMap(@Self)^.&set := $00800000;
  36119. end;
  36120. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  36121. begin
  36122. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36123. end;
  36124. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  36125. begin
  36126. pTDefRegMap(@Self)^.val := thebits;
  36127. end;
  36128. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  36129. begin
  36130. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36131. end;
  36132. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  36133. begin
  36134. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36135. end;
  36136. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  36137. begin
  36138. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36139. end;
  36140. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  36141. begin
  36142. pTDefRegMap(@Self)^.&set := $00000004;
  36143. end;
  36144. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  36145. begin
  36146. pTDefRegMap(@Self)^.clr := $00000004;
  36147. end;
  36148. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  36149. begin
  36150. if thebits = 0 then
  36151. pTDefRegMap(@Self)^.clr := $00000004
  36152. else
  36153. pTDefRegMap(@Self)^.&set := $00000004;
  36154. end;
  36155. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  36156. begin
  36157. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36158. end;
  36159. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  36160. begin
  36161. pTDefRegMap(@Self)^.&set := $00000010;
  36162. end;
  36163. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  36164. begin
  36165. pTDefRegMap(@Self)^.clr := $00000010;
  36166. end;
  36167. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  36168. begin
  36169. if thebits = 0 then
  36170. pTDefRegMap(@Self)^.clr := $00000010
  36171. else
  36172. pTDefRegMap(@Self)^.&set := $00000010;
  36173. end;
  36174. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  36175. begin
  36176. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36177. end;
  36178. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  36179. begin
  36180. pTDefRegMap(@Self)^.&set := $00000020;
  36181. end;
  36182. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  36183. begin
  36184. pTDefRegMap(@Self)^.clr := $00000020;
  36185. end;
  36186. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  36187. begin
  36188. if thebits = 0 then
  36189. pTDefRegMap(@Self)^.clr := $00000020
  36190. else
  36191. pTDefRegMap(@Self)^.&set := $00000020;
  36192. end;
  36193. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  36194. begin
  36195. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36196. end;
  36197. procedure TDMAC1_DCH1CON.setCHAED; inline;
  36198. begin
  36199. pTDefRegMap(@Self)^.&set := $00000040;
  36200. end;
  36201. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  36202. begin
  36203. pTDefRegMap(@Self)^.clr := $00000040;
  36204. end;
  36205. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  36206. begin
  36207. if thebits = 0 then
  36208. pTDefRegMap(@Self)^.clr := $00000040
  36209. else
  36210. pTDefRegMap(@Self)^.&set := $00000040;
  36211. end;
  36212. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  36213. begin
  36214. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36215. end;
  36216. procedure TDMAC1_DCH1CON.setCHEN; inline;
  36217. begin
  36218. pTDefRegMap(@Self)^.&set := $00000080;
  36219. end;
  36220. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  36221. begin
  36222. pTDefRegMap(@Self)^.clr := $00000080;
  36223. end;
  36224. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  36225. begin
  36226. if thebits = 0 then
  36227. pTDefRegMap(@Self)^.clr := $00000080
  36228. else
  36229. pTDefRegMap(@Self)^.&set := $00000080;
  36230. end;
  36231. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  36232. begin
  36233. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36234. end;
  36235. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  36236. begin
  36237. pTDefRegMap(@Self)^.&set := $00000100;
  36238. end;
  36239. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  36240. begin
  36241. pTDefRegMap(@Self)^.clr := $00000100;
  36242. end;
  36243. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  36244. begin
  36245. if thebits = 0 then
  36246. pTDefRegMap(@Self)^.clr := $00000100
  36247. else
  36248. pTDefRegMap(@Self)^.&set := $00000100;
  36249. end;
  36250. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  36251. begin
  36252. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36253. end;
  36254. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  36255. begin
  36256. pTDefRegMap(@Self)^.&set := $00008000;
  36257. end;
  36258. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  36259. begin
  36260. pTDefRegMap(@Self)^.clr := $00008000;
  36261. end;
  36262. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  36263. begin
  36264. if thebits = 0 then
  36265. pTDefRegMap(@Self)^.clr := $00008000
  36266. else
  36267. pTDefRegMap(@Self)^.&set := $00008000;
  36268. end;
  36269. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  36270. begin
  36271. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36272. end;
  36273. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  36274. begin
  36275. pTDefRegMap(@Self)^.val := thebits;
  36276. end;
  36277. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  36278. begin
  36279. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36280. end;
  36281. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  36282. begin
  36283. pTDefRegMap(@Self)^.&set := $00000008;
  36284. end;
  36285. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  36286. begin
  36287. pTDefRegMap(@Self)^.clr := $00000008;
  36288. end;
  36289. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  36290. begin
  36291. if thebits = 0 then
  36292. pTDefRegMap(@Self)^.clr := $00000008
  36293. else
  36294. pTDefRegMap(@Self)^.&set := $00000008;
  36295. end;
  36296. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  36297. begin
  36298. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36299. end;
  36300. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  36301. begin
  36302. pTDefRegMap(@Self)^.&set := $00000010;
  36303. end;
  36304. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  36305. begin
  36306. pTDefRegMap(@Self)^.clr := $00000010;
  36307. end;
  36308. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  36309. begin
  36310. if thebits = 0 then
  36311. pTDefRegMap(@Self)^.clr := $00000010
  36312. else
  36313. pTDefRegMap(@Self)^.&set := $00000010;
  36314. end;
  36315. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  36316. begin
  36317. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36318. end;
  36319. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  36320. begin
  36321. pTDefRegMap(@Self)^.&set := $00000020;
  36322. end;
  36323. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  36324. begin
  36325. pTDefRegMap(@Self)^.clr := $00000020;
  36326. end;
  36327. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  36328. begin
  36329. if thebits = 0 then
  36330. pTDefRegMap(@Self)^.clr := $00000020
  36331. else
  36332. pTDefRegMap(@Self)^.&set := $00000020;
  36333. end;
  36334. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  36335. begin
  36336. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36337. end;
  36338. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  36339. begin
  36340. pTDefRegMap(@Self)^.&set := $00000040;
  36341. end;
  36342. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  36343. begin
  36344. pTDefRegMap(@Self)^.clr := $00000040;
  36345. end;
  36346. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  36347. begin
  36348. if thebits = 0 then
  36349. pTDefRegMap(@Self)^.clr := $00000040
  36350. else
  36351. pTDefRegMap(@Self)^.&set := $00000040;
  36352. end;
  36353. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  36354. begin
  36355. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36356. end;
  36357. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  36358. begin
  36359. pTDefRegMap(@Self)^.&set := $00000080;
  36360. end;
  36361. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  36362. begin
  36363. pTDefRegMap(@Self)^.clr := $00000080;
  36364. end;
  36365. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  36366. begin
  36367. if thebits = 0 then
  36368. pTDefRegMap(@Self)^.clr := $00000080
  36369. else
  36370. pTDefRegMap(@Self)^.&set := $00000080;
  36371. end;
  36372. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  36373. begin
  36374. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36375. end;
  36376. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  36377. begin
  36378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  36379. end;
  36380. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  36381. begin
  36382. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  36383. end;
  36384. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  36385. begin
  36386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36387. end;
  36388. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  36389. begin
  36390. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36391. end;
  36392. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  36393. begin
  36394. pTDefRegMap(@Self)^.val := thebits;
  36395. end;
  36396. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  36397. begin
  36398. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36399. end;
  36400. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  36401. begin
  36402. pTDefRegMap(@Self)^.&set := $00000001;
  36403. end;
  36404. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  36405. begin
  36406. pTDefRegMap(@Self)^.clr := $00000001;
  36407. end;
  36408. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  36409. begin
  36410. if thebits = 0 then
  36411. pTDefRegMap(@Self)^.clr := $00000001
  36412. else
  36413. pTDefRegMap(@Self)^.&set := $00000001;
  36414. end;
  36415. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  36416. begin
  36417. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36418. end;
  36419. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  36420. begin
  36421. pTDefRegMap(@Self)^.&set := $00000002;
  36422. end;
  36423. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  36424. begin
  36425. pTDefRegMap(@Self)^.clr := $00000002;
  36426. end;
  36427. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  36428. begin
  36429. if thebits = 0 then
  36430. pTDefRegMap(@Self)^.clr := $00000002
  36431. else
  36432. pTDefRegMap(@Self)^.&set := $00000002;
  36433. end;
  36434. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  36435. begin
  36436. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36437. end;
  36438. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  36439. begin
  36440. pTDefRegMap(@Self)^.&set := $00000004;
  36441. end;
  36442. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  36443. begin
  36444. pTDefRegMap(@Self)^.clr := $00000004;
  36445. end;
  36446. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  36447. begin
  36448. if thebits = 0 then
  36449. pTDefRegMap(@Self)^.clr := $00000004
  36450. else
  36451. pTDefRegMap(@Self)^.&set := $00000004;
  36452. end;
  36453. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  36454. begin
  36455. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36456. end;
  36457. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  36458. begin
  36459. pTDefRegMap(@Self)^.&set := $00000008;
  36460. end;
  36461. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  36462. begin
  36463. pTDefRegMap(@Self)^.clr := $00000008;
  36464. end;
  36465. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  36466. begin
  36467. if thebits = 0 then
  36468. pTDefRegMap(@Self)^.clr := $00000008
  36469. else
  36470. pTDefRegMap(@Self)^.&set := $00000008;
  36471. end;
  36472. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  36473. begin
  36474. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36475. end;
  36476. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  36477. begin
  36478. pTDefRegMap(@Self)^.&set := $00000010;
  36479. end;
  36480. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  36481. begin
  36482. pTDefRegMap(@Self)^.clr := $00000010;
  36483. end;
  36484. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  36485. begin
  36486. if thebits = 0 then
  36487. pTDefRegMap(@Self)^.clr := $00000010
  36488. else
  36489. pTDefRegMap(@Self)^.&set := $00000010;
  36490. end;
  36491. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  36492. begin
  36493. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36494. end;
  36495. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  36496. begin
  36497. pTDefRegMap(@Self)^.&set := $00000020;
  36498. end;
  36499. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  36500. begin
  36501. pTDefRegMap(@Self)^.clr := $00000020;
  36502. end;
  36503. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  36504. begin
  36505. if thebits = 0 then
  36506. pTDefRegMap(@Self)^.clr := $00000020
  36507. else
  36508. pTDefRegMap(@Self)^.&set := $00000020;
  36509. end;
  36510. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  36511. begin
  36512. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36513. end;
  36514. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  36515. begin
  36516. pTDefRegMap(@Self)^.&set := $00000040;
  36517. end;
  36518. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  36519. begin
  36520. pTDefRegMap(@Self)^.clr := $00000040;
  36521. end;
  36522. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  36523. begin
  36524. if thebits = 0 then
  36525. pTDefRegMap(@Self)^.clr := $00000040
  36526. else
  36527. pTDefRegMap(@Self)^.&set := $00000040;
  36528. end;
  36529. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  36530. begin
  36531. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36532. end;
  36533. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  36534. begin
  36535. pTDefRegMap(@Self)^.&set := $00000080;
  36536. end;
  36537. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  36538. begin
  36539. pTDefRegMap(@Self)^.clr := $00000080;
  36540. end;
  36541. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  36542. begin
  36543. if thebits = 0 then
  36544. pTDefRegMap(@Self)^.clr := $00000080
  36545. else
  36546. pTDefRegMap(@Self)^.&set := $00000080;
  36547. end;
  36548. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  36549. begin
  36550. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36551. end;
  36552. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  36553. begin
  36554. pTDefRegMap(@Self)^.&set := $00010000;
  36555. end;
  36556. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  36557. begin
  36558. pTDefRegMap(@Self)^.clr := $00010000;
  36559. end;
  36560. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  36561. begin
  36562. if thebits = 0 then
  36563. pTDefRegMap(@Self)^.clr := $00010000
  36564. else
  36565. pTDefRegMap(@Self)^.&set := $00010000;
  36566. end;
  36567. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  36568. begin
  36569. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  36570. end;
  36571. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  36572. begin
  36573. pTDefRegMap(@Self)^.&set := $00020000;
  36574. end;
  36575. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  36576. begin
  36577. pTDefRegMap(@Self)^.clr := $00020000;
  36578. end;
  36579. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  36580. begin
  36581. if thebits = 0 then
  36582. pTDefRegMap(@Self)^.clr := $00020000
  36583. else
  36584. pTDefRegMap(@Self)^.&set := $00020000;
  36585. end;
  36586. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  36587. begin
  36588. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  36589. end;
  36590. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  36591. begin
  36592. pTDefRegMap(@Self)^.&set := $00040000;
  36593. end;
  36594. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  36595. begin
  36596. pTDefRegMap(@Self)^.clr := $00040000;
  36597. end;
  36598. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  36599. begin
  36600. if thebits = 0 then
  36601. pTDefRegMap(@Self)^.clr := $00040000
  36602. else
  36603. pTDefRegMap(@Self)^.&set := $00040000;
  36604. end;
  36605. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  36606. begin
  36607. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36608. end;
  36609. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  36610. begin
  36611. pTDefRegMap(@Self)^.&set := $00080000;
  36612. end;
  36613. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  36614. begin
  36615. pTDefRegMap(@Self)^.clr := $00080000;
  36616. end;
  36617. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  36618. begin
  36619. if thebits = 0 then
  36620. pTDefRegMap(@Self)^.clr := $00080000
  36621. else
  36622. pTDefRegMap(@Self)^.&set := $00080000;
  36623. end;
  36624. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  36625. begin
  36626. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36627. end;
  36628. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  36629. begin
  36630. pTDefRegMap(@Self)^.&set := $00100000;
  36631. end;
  36632. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  36633. begin
  36634. pTDefRegMap(@Self)^.clr := $00100000;
  36635. end;
  36636. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  36637. begin
  36638. if thebits = 0 then
  36639. pTDefRegMap(@Self)^.clr := $00100000
  36640. else
  36641. pTDefRegMap(@Self)^.&set := $00100000;
  36642. end;
  36643. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  36644. begin
  36645. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  36646. end;
  36647. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  36648. begin
  36649. pTDefRegMap(@Self)^.&set := $00200000;
  36650. end;
  36651. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  36652. begin
  36653. pTDefRegMap(@Self)^.clr := $00200000;
  36654. end;
  36655. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  36656. begin
  36657. if thebits = 0 then
  36658. pTDefRegMap(@Self)^.clr := $00200000
  36659. else
  36660. pTDefRegMap(@Self)^.&set := $00200000;
  36661. end;
  36662. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  36663. begin
  36664. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  36665. end;
  36666. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  36667. begin
  36668. pTDefRegMap(@Self)^.&set := $00400000;
  36669. end;
  36670. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  36671. begin
  36672. pTDefRegMap(@Self)^.clr := $00400000;
  36673. end;
  36674. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  36675. begin
  36676. if thebits = 0 then
  36677. pTDefRegMap(@Self)^.clr := $00400000
  36678. else
  36679. pTDefRegMap(@Self)^.&set := $00400000;
  36680. end;
  36681. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  36682. begin
  36683. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36684. end;
  36685. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  36686. begin
  36687. pTDefRegMap(@Self)^.&set := $00800000;
  36688. end;
  36689. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  36690. begin
  36691. pTDefRegMap(@Self)^.clr := $00800000;
  36692. end;
  36693. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  36694. begin
  36695. if thebits = 0 then
  36696. pTDefRegMap(@Self)^.clr := $00800000
  36697. else
  36698. pTDefRegMap(@Self)^.&set := $00800000;
  36699. end;
  36700. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  36701. begin
  36702. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36703. end;
  36704. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  36705. begin
  36706. pTDefRegMap(@Self)^.val := thebits;
  36707. end;
  36708. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  36709. begin
  36710. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36711. end;
  36712. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  36713. begin
  36714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36715. end;
  36716. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  36717. begin
  36718. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36719. end;
  36720. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  36721. begin
  36722. pTDefRegMap(@Self)^.&set := $00000004;
  36723. end;
  36724. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  36725. begin
  36726. pTDefRegMap(@Self)^.clr := $00000004;
  36727. end;
  36728. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  36729. begin
  36730. if thebits = 0 then
  36731. pTDefRegMap(@Self)^.clr := $00000004
  36732. else
  36733. pTDefRegMap(@Self)^.&set := $00000004;
  36734. end;
  36735. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  36736. begin
  36737. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36738. end;
  36739. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  36740. begin
  36741. pTDefRegMap(@Self)^.&set := $00000010;
  36742. end;
  36743. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  36744. begin
  36745. pTDefRegMap(@Self)^.clr := $00000010;
  36746. end;
  36747. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  36748. begin
  36749. if thebits = 0 then
  36750. pTDefRegMap(@Self)^.clr := $00000010
  36751. else
  36752. pTDefRegMap(@Self)^.&set := $00000010;
  36753. end;
  36754. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  36755. begin
  36756. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36757. end;
  36758. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  36759. begin
  36760. pTDefRegMap(@Self)^.&set := $00000020;
  36761. end;
  36762. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  36763. begin
  36764. pTDefRegMap(@Self)^.clr := $00000020;
  36765. end;
  36766. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  36767. begin
  36768. if thebits = 0 then
  36769. pTDefRegMap(@Self)^.clr := $00000020
  36770. else
  36771. pTDefRegMap(@Self)^.&set := $00000020;
  36772. end;
  36773. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  36774. begin
  36775. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36776. end;
  36777. procedure TDMAC2_DCH2CON.setCHAED; inline;
  36778. begin
  36779. pTDefRegMap(@Self)^.&set := $00000040;
  36780. end;
  36781. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  36782. begin
  36783. pTDefRegMap(@Self)^.clr := $00000040;
  36784. end;
  36785. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  36786. begin
  36787. if thebits = 0 then
  36788. pTDefRegMap(@Self)^.clr := $00000040
  36789. else
  36790. pTDefRegMap(@Self)^.&set := $00000040;
  36791. end;
  36792. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  36793. begin
  36794. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36795. end;
  36796. procedure TDMAC2_DCH2CON.setCHEN; inline;
  36797. begin
  36798. pTDefRegMap(@Self)^.&set := $00000080;
  36799. end;
  36800. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  36801. begin
  36802. pTDefRegMap(@Self)^.clr := $00000080;
  36803. end;
  36804. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  36805. begin
  36806. if thebits = 0 then
  36807. pTDefRegMap(@Self)^.clr := $00000080
  36808. else
  36809. pTDefRegMap(@Self)^.&set := $00000080;
  36810. end;
  36811. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  36812. begin
  36813. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36814. end;
  36815. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  36816. begin
  36817. pTDefRegMap(@Self)^.&set := $00000100;
  36818. end;
  36819. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  36820. begin
  36821. pTDefRegMap(@Self)^.clr := $00000100;
  36822. end;
  36823. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  36824. begin
  36825. if thebits = 0 then
  36826. pTDefRegMap(@Self)^.clr := $00000100
  36827. else
  36828. pTDefRegMap(@Self)^.&set := $00000100;
  36829. end;
  36830. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  36831. begin
  36832. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36833. end;
  36834. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  36835. begin
  36836. pTDefRegMap(@Self)^.&set := $00008000;
  36837. end;
  36838. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  36839. begin
  36840. pTDefRegMap(@Self)^.clr := $00008000;
  36841. end;
  36842. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  36843. begin
  36844. if thebits = 0 then
  36845. pTDefRegMap(@Self)^.clr := $00008000
  36846. else
  36847. pTDefRegMap(@Self)^.&set := $00008000;
  36848. end;
  36849. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  36850. begin
  36851. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36852. end;
  36853. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  36854. begin
  36855. pTDefRegMap(@Self)^.val := thebits;
  36856. end;
  36857. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  36858. begin
  36859. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36860. end;
  36861. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  36862. begin
  36863. pTDefRegMap(@Self)^.&set := $00000008;
  36864. end;
  36865. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  36866. begin
  36867. pTDefRegMap(@Self)^.clr := $00000008;
  36868. end;
  36869. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  36870. begin
  36871. if thebits = 0 then
  36872. pTDefRegMap(@Self)^.clr := $00000008
  36873. else
  36874. pTDefRegMap(@Self)^.&set := $00000008;
  36875. end;
  36876. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  36877. begin
  36878. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36879. end;
  36880. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  36881. begin
  36882. pTDefRegMap(@Self)^.&set := $00000010;
  36883. end;
  36884. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  36885. begin
  36886. pTDefRegMap(@Self)^.clr := $00000010;
  36887. end;
  36888. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  36889. begin
  36890. if thebits = 0 then
  36891. pTDefRegMap(@Self)^.clr := $00000010
  36892. else
  36893. pTDefRegMap(@Self)^.&set := $00000010;
  36894. end;
  36895. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  36896. begin
  36897. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36898. end;
  36899. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  36900. begin
  36901. pTDefRegMap(@Self)^.&set := $00000020;
  36902. end;
  36903. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  36904. begin
  36905. pTDefRegMap(@Self)^.clr := $00000020;
  36906. end;
  36907. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  36908. begin
  36909. if thebits = 0 then
  36910. pTDefRegMap(@Self)^.clr := $00000020
  36911. else
  36912. pTDefRegMap(@Self)^.&set := $00000020;
  36913. end;
  36914. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  36915. begin
  36916. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36917. end;
  36918. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  36919. begin
  36920. pTDefRegMap(@Self)^.&set := $00000040;
  36921. end;
  36922. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  36923. begin
  36924. pTDefRegMap(@Self)^.clr := $00000040;
  36925. end;
  36926. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  36927. begin
  36928. if thebits = 0 then
  36929. pTDefRegMap(@Self)^.clr := $00000040
  36930. else
  36931. pTDefRegMap(@Self)^.&set := $00000040;
  36932. end;
  36933. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  36934. begin
  36935. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36936. end;
  36937. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  36938. begin
  36939. pTDefRegMap(@Self)^.&set := $00000080;
  36940. end;
  36941. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  36942. begin
  36943. pTDefRegMap(@Self)^.clr := $00000080;
  36944. end;
  36945. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  36946. begin
  36947. if thebits = 0 then
  36948. pTDefRegMap(@Self)^.clr := $00000080
  36949. else
  36950. pTDefRegMap(@Self)^.&set := $00000080;
  36951. end;
  36952. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  36953. begin
  36954. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36955. end;
  36956. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  36957. begin
  36958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  36959. end;
  36960. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  36961. begin
  36962. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  36963. end;
  36964. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  36965. begin
  36966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36967. end;
  36968. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  36969. begin
  36970. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36971. end;
  36972. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  36973. begin
  36974. pTDefRegMap(@Self)^.val := thebits;
  36975. end;
  36976. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  36977. begin
  36978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36979. end;
  36980. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  36981. begin
  36982. pTDefRegMap(@Self)^.&set := $00000001;
  36983. end;
  36984. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  36985. begin
  36986. pTDefRegMap(@Self)^.clr := $00000001;
  36987. end;
  36988. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  36989. begin
  36990. if thebits = 0 then
  36991. pTDefRegMap(@Self)^.clr := $00000001
  36992. else
  36993. pTDefRegMap(@Self)^.&set := $00000001;
  36994. end;
  36995. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  36996. begin
  36997. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36998. end;
  36999. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  37000. begin
  37001. pTDefRegMap(@Self)^.&set := $00000002;
  37002. end;
  37003. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  37004. begin
  37005. pTDefRegMap(@Self)^.clr := $00000002;
  37006. end;
  37007. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  37008. begin
  37009. if thebits = 0 then
  37010. pTDefRegMap(@Self)^.clr := $00000002
  37011. else
  37012. pTDefRegMap(@Self)^.&set := $00000002;
  37013. end;
  37014. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  37015. begin
  37016. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37017. end;
  37018. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  37019. begin
  37020. pTDefRegMap(@Self)^.&set := $00000004;
  37021. end;
  37022. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  37023. begin
  37024. pTDefRegMap(@Self)^.clr := $00000004;
  37025. end;
  37026. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  37027. begin
  37028. if thebits = 0 then
  37029. pTDefRegMap(@Self)^.clr := $00000004
  37030. else
  37031. pTDefRegMap(@Self)^.&set := $00000004;
  37032. end;
  37033. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  37034. begin
  37035. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37036. end;
  37037. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  37038. begin
  37039. pTDefRegMap(@Self)^.&set := $00000008;
  37040. end;
  37041. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  37042. begin
  37043. pTDefRegMap(@Self)^.clr := $00000008;
  37044. end;
  37045. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  37046. begin
  37047. if thebits = 0 then
  37048. pTDefRegMap(@Self)^.clr := $00000008
  37049. else
  37050. pTDefRegMap(@Self)^.&set := $00000008;
  37051. end;
  37052. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  37053. begin
  37054. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37055. end;
  37056. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  37057. begin
  37058. pTDefRegMap(@Self)^.&set := $00000010;
  37059. end;
  37060. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  37061. begin
  37062. pTDefRegMap(@Self)^.clr := $00000010;
  37063. end;
  37064. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  37065. begin
  37066. if thebits = 0 then
  37067. pTDefRegMap(@Self)^.clr := $00000010
  37068. else
  37069. pTDefRegMap(@Self)^.&set := $00000010;
  37070. end;
  37071. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  37072. begin
  37073. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37074. end;
  37075. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  37076. begin
  37077. pTDefRegMap(@Self)^.&set := $00000020;
  37078. end;
  37079. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  37080. begin
  37081. pTDefRegMap(@Self)^.clr := $00000020;
  37082. end;
  37083. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  37084. begin
  37085. if thebits = 0 then
  37086. pTDefRegMap(@Self)^.clr := $00000020
  37087. else
  37088. pTDefRegMap(@Self)^.&set := $00000020;
  37089. end;
  37090. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  37091. begin
  37092. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37093. end;
  37094. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  37095. begin
  37096. pTDefRegMap(@Self)^.&set := $00000040;
  37097. end;
  37098. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  37099. begin
  37100. pTDefRegMap(@Self)^.clr := $00000040;
  37101. end;
  37102. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  37103. begin
  37104. if thebits = 0 then
  37105. pTDefRegMap(@Self)^.clr := $00000040
  37106. else
  37107. pTDefRegMap(@Self)^.&set := $00000040;
  37108. end;
  37109. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  37110. begin
  37111. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37112. end;
  37113. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  37114. begin
  37115. pTDefRegMap(@Self)^.&set := $00000080;
  37116. end;
  37117. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  37118. begin
  37119. pTDefRegMap(@Self)^.clr := $00000080;
  37120. end;
  37121. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  37122. begin
  37123. if thebits = 0 then
  37124. pTDefRegMap(@Self)^.clr := $00000080
  37125. else
  37126. pTDefRegMap(@Self)^.&set := $00000080;
  37127. end;
  37128. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  37129. begin
  37130. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37131. end;
  37132. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  37133. begin
  37134. pTDefRegMap(@Self)^.&set := $00010000;
  37135. end;
  37136. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  37137. begin
  37138. pTDefRegMap(@Self)^.clr := $00010000;
  37139. end;
  37140. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  37141. begin
  37142. if thebits = 0 then
  37143. pTDefRegMap(@Self)^.clr := $00010000
  37144. else
  37145. pTDefRegMap(@Self)^.&set := $00010000;
  37146. end;
  37147. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  37148. begin
  37149. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  37150. end;
  37151. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  37152. begin
  37153. pTDefRegMap(@Self)^.&set := $00020000;
  37154. end;
  37155. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  37156. begin
  37157. pTDefRegMap(@Self)^.clr := $00020000;
  37158. end;
  37159. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  37160. begin
  37161. if thebits = 0 then
  37162. pTDefRegMap(@Self)^.clr := $00020000
  37163. else
  37164. pTDefRegMap(@Self)^.&set := $00020000;
  37165. end;
  37166. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  37167. begin
  37168. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  37169. end;
  37170. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  37171. begin
  37172. pTDefRegMap(@Self)^.&set := $00040000;
  37173. end;
  37174. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  37175. begin
  37176. pTDefRegMap(@Self)^.clr := $00040000;
  37177. end;
  37178. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  37179. begin
  37180. if thebits = 0 then
  37181. pTDefRegMap(@Self)^.clr := $00040000
  37182. else
  37183. pTDefRegMap(@Self)^.&set := $00040000;
  37184. end;
  37185. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  37186. begin
  37187. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  37188. end;
  37189. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  37190. begin
  37191. pTDefRegMap(@Self)^.&set := $00080000;
  37192. end;
  37193. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  37194. begin
  37195. pTDefRegMap(@Self)^.clr := $00080000;
  37196. end;
  37197. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  37198. begin
  37199. if thebits = 0 then
  37200. pTDefRegMap(@Self)^.clr := $00080000
  37201. else
  37202. pTDefRegMap(@Self)^.&set := $00080000;
  37203. end;
  37204. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  37205. begin
  37206. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  37207. end;
  37208. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  37209. begin
  37210. pTDefRegMap(@Self)^.&set := $00100000;
  37211. end;
  37212. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  37213. begin
  37214. pTDefRegMap(@Self)^.clr := $00100000;
  37215. end;
  37216. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  37217. begin
  37218. if thebits = 0 then
  37219. pTDefRegMap(@Self)^.clr := $00100000
  37220. else
  37221. pTDefRegMap(@Self)^.&set := $00100000;
  37222. end;
  37223. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  37224. begin
  37225. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  37226. end;
  37227. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  37228. begin
  37229. pTDefRegMap(@Self)^.&set := $00200000;
  37230. end;
  37231. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  37232. begin
  37233. pTDefRegMap(@Self)^.clr := $00200000;
  37234. end;
  37235. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  37236. begin
  37237. if thebits = 0 then
  37238. pTDefRegMap(@Self)^.clr := $00200000
  37239. else
  37240. pTDefRegMap(@Self)^.&set := $00200000;
  37241. end;
  37242. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  37243. begin
  37244. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  37245. end;
  37246. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  37247. begin
  37248. pTDefRegMap(@Self)^.&set := $00400000;
  37249. end;
  37250. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  37251. begin
  37252. pTDefRegMap(@Self)^.clr := $00400000;
  37253. end;
  37254. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  37255. begin
  37256. if thebits = 0 then
  37257. pTDefRegMap(@Self)^.clr := $00400000
  37258. else
  37259. pTDefRegMap(@Self)^.&set := $00400000;
  37260. end;
  37261. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  37262. begin
  37263. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37264. end;
  37265. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  37266. begin
  37267. pTDefRegMap(@Self)^.&set := $00800000;
  37268. end;
  37269. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  37270. begin
  37271. pTDefRegMap(@Self)^.clr := $00800000;
  37272. end;
  37273. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  37274. begin
  37275. if thebits = 0 then
  37276. pTDefRegMap(@Self)^.clr := $00800000
  37277. else
  37278. pTDefRegMap(@Self)^.&set := $00800000;
  37279. end;
  37280. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  37281. begin
  37282. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37283. end;
  37284. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  37285. begin
  37286. pTDefRegMap(@Self)^.val := thebits;
  37287. end;
  37288. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  37289. begin
  37290. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37291. end;
  37292. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  37293. begin
  37294. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37295. end;
  37296. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  37297. begin
  37298. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37299. end;
  37300. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  37301. begin
  37302. pTDefRegMap(@Self)^.&set := $00000004;
  37303. end;
  37304. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  37305. begin
  37306. pTDefRegMap(@Self)^.clr := $00000004;
  37307. end;
  37308. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  37309. begin
  37310. if thebits = 0 then
  37311. pTDefRegMap(@Self)^.clr := $00000004
  37312. else
  37313. pTDefRegMap(@Self)^.&set := $00000004;
  37314. end;
  37315. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  37316. begin
  37317. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37318. end;
  37319. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  37320. begin
  37321. pTDefRegMap(@Self)^.&set := $00000010;
  37322. end;
  37323. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  37324. begin
  37325. pTDefRegMap(@Self)^.clr := $00000010;
  37326. end;
  37327. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  37328. begin
  37329. if thebits = 0 then
  37330. pTDefRegMap(@Self)^.clr := $00000010
  37331. else
  37332. pTDefRegMap(@Self)^.&set := $00000010;
  37333. end;
  37334. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  37335. begin
  37336. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37337. end;
  37338. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  37339. begin
  37340. pTDefRegMap(@Self)^.&set := $00000020;
  37341. end;
  37342. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  37343. begin
  37344. pTDefRegMap(@Self)^.clr := $00000020;
  37345. end;
  37346. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  37347. begin
  37348. if thebits = 0 then
  37349. pTDefRegMap(@Self)^.clr := $00000020
  37350. else
  37351. pTDefRegMap(@Self)^.&set := $00000020;
  37352. end;
  37353. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  37354. begin
  37355. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37356. end;
  37357. procedure TDMAC3_DCH3CON.setCHAED; inline;
  37358. begin
  37359. pTDefRegMap(@Self)^.&set := $00000040;
  37360. end;
  37361. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  37362. begin
  37363. pTDefRegMap(@Self)^.clr := $00000040;
  37364. end;
  37365. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  37366. begin
  37367. if thebits = 0 then
  37368. pTDefRegMap(@Self)^.clr := $00000040
  37369. else
  37370. pTDefRegMap(@Self)^.&set := $00000040;
  37371. end;
  37372. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  37373. begin
  37374. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37375. end;
  37376. procedure TDMAC3_DCH3CON.setCHEN; inline;
  37377. begin
  37378. pTDefRegMap(@Self)^.&set := $00000080;
  37379. end;
  37380. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  37381. begin
  37382. pTDefRegMap(@Self)^.clr := $00000080;
  37383. end;
  37384. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  37385. begin
  37386. if thebits = 0 then
  37387. pTDefRegMap(@Self)^.clr := $00000080
  37388. else
  37389. pTDefRegMap(@Self)^.&set := $00000080;
  37390. end;
  37391. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  37392. begin
  37393. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37394. end;
  37395. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  37396. begin
  37397. pTDefRegMap(@Self)^.&set := $00000100;
  37398. end;
  37399. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  37400. begin
  37401. pTDefRegMap(@Self)^.clr := $00000100;
  37402. end;
  37403. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  37404. begin
  37405. if thebits = 0 then
  37406. pTDefRegMap(@Self)^.clr := $00000100
  37407. else
  37408. pTDefRegMap(@Self)^.&set := $00000100;
  37409. end;
  37410. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  37411. begin
  37412. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37413. end;
  37414. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  37415. begin
  37416. pTDefRegMap(@Self)^.&set := $00008000;
  37417. end;
  37418. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  37419. begin
  37420. pTDefRegMap(@Self)^.clr := $00008000;
  37421. end;
  37422. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  37423. begin
  37424. if thebits = 0 then
  37425. pTDefRegMap(@Self)^.clr := $00008000
  37426. else
  37427. pTDefRegMap(@Self)^.&set := $00008000;
  37428. end;
  37429. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  37430. begin
  37431. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37432. end;
  37433. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  37434. begin
  37435. pTDefRegMap(@Self)^.val := thebits;
  37436. end;
  37437. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  37438. begin
  37439. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37440. end;
  37441. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  37442. begin
  37443. pTDefRegMap(@Self)^.&set := $00000008;
  37444. end;
  37445. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  37446. begin
  37447. pTDefRegMap(@Self)^.clr := $00000008;
  37448. end;
  37449. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  37450. begin
  37451. if thebits = 0 then
  37452. pTDefRegMap(@Self)^.clr := $00000008
  37453. else
  37454. pTDefRegMap(@Self)^.&set := $00000008;
  37455. end;
  37456. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  37457. begin
  37458. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37459. end;
  37460. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  37461. begin
  37462. pTDefRegMap(@Self)^.&set := $00000010;
  37463. end;
  37464. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  37465. begin
  37466. pTDefRegMap(@Self)^.clr := $00000010;
  37467. end;
  37468. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  37469. begin
  37470. if thebits = 0 then
  37471. pTDefRegMap(@Self)^.clr := $00000010
  37472. else
  37473. pTDefRegMap(@Self)^.&set := $00000010;
  37474. end;
  37475. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  37476. begin
  37477. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37478. end;
  37479. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  37480. begin
  37481. pTDefRegMap(@Self)^.&set := $00000020;
  37482. end;
  37483. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  37484. begin
  37485. pTDefRegMap(@Self)^.clr := $00000020;
  37486. end;
  37487. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  37488. begin
  37489. if thebits = 0 then
  37490. pTDefRegMap(@Self)^.clr := $00000020
  37491. else
  37492. pTDefRegMap(@Self)^.&set := $00000020;
  37493. end;
  37494. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  37495. begin
  37496. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37497. end;
  37498. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  37499. begin
  37500. pTDefRegMap(@Self)^.&set := $00000040;
  37501. end;
  37502. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  37503. begin
  37504. pTDefRegMap(@Self)^.clr := $00000040;
  37505. end;
  37506. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  37507. begin
  37508. if thebits = 0 then
  37509. pTDefRegMap(@Self)^.clr := $00000040
  37510. else
  37511. pTDefRegMap(@Self)^.&set := $00000040;
  37512. end;
  37513. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  37514. begin
  37515. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37516. end;
  37517. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  37518. begin
  37519. pTDefRegMap(@Self)^.&set := $00000080;
  37520. end;
  37521. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  37522. begin
  37523. pTDefRegMap(@Self)^.clr := $00000080;
  37524. end;
  37525. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  37526. begin
  37527. if thebits = 0 then
  37528. pTDefRegMap(@Self)^.clr := $00000080
  37529. else
  37530. pTDefRegMap(@Self)^.&set := $00000080;
  37531. end;
  37532. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  37533. begin
  37534. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37535. end;
  37536. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  37537. begin
  37538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  37539. end;
  37540. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  37541. begin
  37542. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  37543. end;
  37544. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  37545. begin
  37546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  37547. end;
  37548. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  37549. begin
  37550. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  37551. end;
  37552. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  37553. begin
  37554. pTDefRegMap(@Self)^.val := thebits;
  37555. end;
  37556. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  37557. begin
  37558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37559. end;
  37560. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  37561. begin
  37562. pTDefRegMap(@Self)^.&set := $00000001;
  37563. end;
  37564. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  37565. begin
  37566. pTDefRegMap(@Self)^.clr := $00000001;
  37567. end;
  37568. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  37569. begin
  37570. if thebits = 0 then
  37571. pTDefRegMap(@Self)^.clr := $00000001
  37572. else
  37573. pTDefRegMap(@Self)^.&set := $00000001;
  37574. end;
  37575. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  37576. begin
  37577. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37578. end;
  37579. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  37580. begin
  37581. pTDefRegMap(@Self)^.&set := $00000002;
  37582. end;
  37583. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  37584. begin
  37585. pTDefRegMap(@Self)^.clr := $00000002;
  37586. end;
  37587. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  37588. begin
  37589. if thebits = 0 then
  37590. pTDefRegMap(@Self)^.clr := $00000002
  37591. else
  37592. pTDefRegMap(@Self)^.&set := $00000002;
  37593. end;
  37594. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  37595. begin
  37596. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37597. end;
  37598. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  37599. begin
  37600. pTDefRegMap(@Self)^.&set := $00000004;
  37601. end;
  37602. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  37603. begin
  37604. pTDefRegMap(@Self)^.clr := $00000004;
  37605. end;
  37606. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  37607. begin
  37608. if thebits = 0 then
  37609. pTDefRegMap(@Self)^.clr := $00000004
  37610. else
  37611. pTDefRegMap(@Self)^.&set := $00000004;
  37612. end;
  37613. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  37614. begin
  37615. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37616. end;
  37617. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  37618. begin
  37619. pTDefRegMap(@Self)^.&set := $00000008;
  37620. end;
  37621. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  37622. begin
  37623. pTDefRegMap(@Self)^.clr := $00000008;
  37624. end;
  37625. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  37626. begin
  37627. if thebits = 0 then
  37628. pTDefRegMap(@Self)^.clr := $00000008
  37629. else
  37630. pTDefRegMap(@Self)^.&set := $00000008;
  37631. end;
  37632. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  37633. begin
  37634. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37635. end;
  37636. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  37637. begin
  37638. pTDefRegMap(@Self)^.&set := $00000010;
  37639. end;
  37640. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  37641. begin
  37642. pTDefRegMap(@Self)^.clr := $00000010;
  37643. end;
  37644. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  37645. begin
  37646. if thebits = 0 then
  37647. pTDefRegMap(@Self)^.clr := $00000010
  37648. else
  37649. pTDefRegMap(@Self)^.&set := $00000010;
  37650. end;
  37651. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  37652. begin
  37653. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37654. end;
  37655. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  37656. begin
  37657. pTDefRegMap(@Self)^.&set := $00000020;
  37658. end;
  37659. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  37660. begin
  37661. pTDefRegMap(@Self)^.clr := $00000020;
  37662. end;
  37663. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  37664. begin
  37665. if thebits = 0 then
  37666. pTDefRegMap(@Self)^.clr := $00000020
  37667. else
  37668. pTDefRegMap(@Self)^.&set := $00000020;
  37669. end;
  37670. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  37671. begin
  37672. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37673. end;
  37674. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  37675. begin
  37676. pTDefRegMap(@Self)^.&set := $00000040;
  37677. end;
  37678. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  37679. begin
  37680. pTDefRegMap(@Self)^.clr := $00000040;
  37681. end;
  37682. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  37683. begin
  37684. if thebits = 0 then
  37685. pTDefRegMap(@Self)^.clr := $00000040
  37686. else
  37687. pTDefRegMap(@Self)^.&set := $00000040;
  37688. end;
  37689. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  37690. begin
  37691. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37692. end;
  37693. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  37694. begin
  37695. pTDefRegMap(@Self)^.&set := $00000080;
  37696. end;
  37697. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  37698. begin
  37699. pTDefRegMap(@Self)^.clr := $00000080;
  37700. end;
  37701. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  37702. begin
  37703. if thebits = 0 then
  37704. pTDefRegMap(@Self)^.clr := $00000080
  37705. else
  37706. pTDefRegMap(@Self)^.&set := $00000080;
  37707. end;
  37708. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  37709. begin
  37710. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37711. end;
  37712. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  37713. begin
  37714. pTDefRegMap(@Self)^.&set := $00010000;
  37715. end;
  37716. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  37717. begin
  37718. pTDefRegMap(@Self)^.clr := $00010000;
  37719. end;
  37720. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  37721. begin
  37722. if thebits = 0 then
  37723. pTDefRegMap(@Self)^.clr := $00010000
  37724. else
  37725. pTDefRegMap(@Self)^.&set := $00010000;
  37726. end;
  37727. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  37728. begin
  37729. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  37730. end;
  37731. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  37732. begin
  37733. pTDefRegMap(@Self)^.&set := $00020000;
  37734. end;
  37735. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  37736. begin
  37737. pTDefRegMap(@Self)^.clr := $00020000;
  37738. end;
  37739. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  37740. begin
  37741. if thebits = 0 then
  37742. pTDefRegMap(@Self)^.clr := $00020000
  37743. else
  37744. pTDefRegMap(@Self)^.&set := $00020000;
  37745. end;
  37746. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  37747. begin
  37748. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  37749. end;
  37750. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  37751. begin
  37752. pTDefRegMap(@Self)^.&set := $00040000;
  37753. end;
  37754. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  37755. begin
  37756. pTDefRegMap(@Self)^.clr := $00040000;
  37757. end;
  37758. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  37759. begin
  37760. if thebits = 0 then
  37761. pTDefRegMap(@Self)^.clr := $00040000
  37762. else
  37763. pTDefRegMap(@Self)^.&set := $00040000;
  37764. end;
  37765. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  37766. begin
  37767. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  37768. end;
  37769. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  37770. begin
  37771. pTDefRegMap(@Self)^.&set := $00080000;
  37772. end;
  37773. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  37774. begin
  37775. pTDefRegMap(@Self)^.clr := $00080000;
  37776. end;
  37777. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  37778. begin
  37779. if thebits = 0 then
  37780. pTDefRegMap(@Self)^.clr := $00080000
  37781. else
  37782. pTDefRegMap(@Self)^.&set := $00080000;
  37783. end;
  37784. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  37785. begin
  37786. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  37787. end;
  37788. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  37789. begin
  37790. pTDefRegMap(@Self)^.&set := $00100000;
  37791. end;
  37792. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  37793. begin
  37794. pTDefRegMap(@Self)^.clr := $00100000;
  37795. end;
  37796. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  37797. begin
  37798. if thebits = 0 then
  37799. pTDefRegMap(@Self)^.clr := $00100000
  37800. else
  37801. pTDefRegMap(@Self)^.&set := $00100000;
  37802. end;
  37803. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  37804. begin
  37805. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  37806. end;
  37807. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  37808. begin
  37809. pTDefRegMap(@Self)^.&set := $00200000;
  37810. end;
  37811. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  37812. begin
  37813. pTDefRegMap(@Self)^.clr := $00200000;
  37814. end;
  37815. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  37816. begin
  37817. if thebits = 0 then
  37818. pTDefRegMap(@Self)^.clr := $00200000
  37819. else
  37820. pTDefRegMap(@Self)^.&set := $00200000;
  37821. end;
  37822. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  37823. begin
  37824. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  37825. end;
  37826. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  37827. begin
  37828. pTDefRegMap(@Self)^.&set := $00400000;
  37829. end;
  37830. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  37831. begin
  37832. pTDefRegMap(@Self)^.clr := $00400000;
  37833. end;
  37834. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  37835. begin
  37836. if thebits = 0 then
  37837. pTDefRegMap(@Self)^.clr := $00400000
  37838. else
  37839. pTDefRegMap(@Self)^.&set := $00400000;
  37840. end;
  37841. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  37842. begin
  37843. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37844. end;
  37845. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  37846. begin
  37847. pTDefRegMap(@Self)^.&set := $00800000;
  37848. end;
  37849. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  37850. begin
  37851. pTDefRegMap(@Self)^.clr := $00800000;
  37852. end;
  37853. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  37854. begin
  37855. if thebits = 0 then
  37856. pTDefRegMap(@Self)^.clr := $00800000
  37857. else
  37858. pTDefRegMap(@Self)^.&set := $00800000;
  37859. end;
  37860. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  37861. begin
  37862. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37863. end;
  37864. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  37865. begin
  37866. pTDefRegMap(@Self)^.val := thebits;
  37867. end;
  37868. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  37869. begin
  37870. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37871. end;
  37872. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  37873. begin
  37874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37875. end;
  37876. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  37877. begin
  37878. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37879. end;
  37880. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  37881. begin
  37882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  37883. end;
  37884. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  37885. begin
  37886. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  37887. end;
  37888. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  37889. begin
  37890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37891. end;
  37892. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  37893. begin
  37894. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37895. end;
  37896. procedure TPCACHE_CHECON.setCHECOH; inline;
  37897. begin
  37898. pTDefRegMap(@Self)^.&set := $00010000;
  37899. end;
  37900. procedure TPCACHE_CHECON.clearCHECOH; inline;
  37901. begin
  37902. pTDefRegMap(@Self)^.clr := $00010000;
  37903. end;
  37904. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  37905. begin
  37906. if thebits = 0 then
  37907. pTDefRegMap(@Self)^.clr := $00010000
  37908. else
  37909. pTDefRegMap(@Self)^.&set := $00010000;
  37910. end;
  37911. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  37912. begin
  37913. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  37914. end;
  37915. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  37916. begin
  37917. pTDefRegMap(@Self)^.val := thebits;
  37918. end;
  37919. function TPCACHE_CHECON.getw : TBits_32; inline;
  37920. begin
  37921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37922. end;
  37923. procedure TPCACHE_CHETAG.setLTYPE; inline;
  37924. begin
  37925. pTDefRegMap(@Self)^.&set := $00000002;
  37926. end;
  37927. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  37928. begin
  37929. pTDefRegMap(@Self)^.clr := $00000002;
  37930. end;
  37931. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  37932. begin
  37933. if thebits = 0 then
  37934. pTDefRegMap(@Self)^.clr := $00000002
  37935. else
  37936. pTDefRegMap(@Self)^.&set := $00000002;
  37937. end;
  37938. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  37939. begin
  37940. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37941. end;
  37942. procedure TPCACHE_CHETAG.setLLOCK; inline;
  37943. begin
  37944. pTDefRegMap(@Self)^.&set := $00000004;
  37945. end;
  37946. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  37947. begin
  37948. pTDefRegMap(@Self)^.clr := $00000004;
  37949. end;
  37950. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  37951. begin
  37952. if thebits = 0 then
  37953. pTDefRegMap(@Self)^.clr := $00000004
  37954. else
  37955. pTDefRegMap(@Self)^.&set := $00000004;
  37956. end;
  37957. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  37958. begin
  37959. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37960. end;
  37961. procedure TPCACHE_CHETAG.setLVALID; inline;
  37962. begin
  37963. pTDefRegMap(@Self)^.&set := $00000008;
  37964. end;
  37965. procedure TPCACHE_CHETAG.clearLVALID; inline;
  37966. begin
  37967. pTDefRegMap(@Self)^.clr := $00000008;
  37968. end;
  37969. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  37970. begin
  37971. if thebits = 0 then
  37972. pTDefRegMap(@Self)^.clr := $00000008
  37973. else
  37974. pTDefRegMap(@Self)^.&set := $00000008;
  37975. end;
  37976. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  37977. begin
  37978. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37979. end;
  37980. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  37981. begin
  37982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  37983. end;
  37984. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  37985. begin
  37986. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  37987. end;
  37988. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  37989. begin
  37990. pTDefRegMap(@Self)^.&set := $80000000;
  37991. end;
  37992. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  37993. begin
  37994. pTDefRegMap(@Self)^.clr := $80000000;
  37995. end;
  37996. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  37997. begin
  37998. if thebits = 0 then
  37999. pTDefRegMap(@Self)^.clr := $80000000
  38000. else
  38001. pTDefRegMap(@Self)^.&set := $80000000;
  38002. end;
  38003. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  38004. begin
  38005. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  38006. end;
  38007. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  38008. begin
  38009. pTDefRegMap(@Self)^.val := thebits;
  38010. end;
  38011. function TPCACHE_CHETAG.getw : TBits_32; inline;
  38012. begin
  38013. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38014. end;
  38015. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  38016. begin
  38017. pTDefRegMap(@Self)^.&set := $00000001;
  38018. end;
  38019. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  38020. begin
  38021. pTDefRegMap(@Self)^.clr := $00000001;
  38022. end;
  38023. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  38024. begin
  38025. if thebits = 0 then
  38026. pTDefRegMap(@Self)^.clr := $00000001
  38027. else
  38028. pTDefRegMap(@Self)^.&set := $00000001;
  38029. end;
  38030. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  38031. begin
  38032. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38033. end;
  38034. procedure TUSB_U1IR.setUERRIF; inline;
  38035. begin
  38036. pTDefRegMap(@Self)^.&set := $00000002;
  38037. end;
  38038. procedure TUSB_U1IR.clearUERRIF; inline;
  38039. begin
  38040. pTDefRegMap(@Self)^.clr := $00000002;
  38041. end;
  38042. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  38043. begin
  38044. if thebits = 0 then
  38045. pTDefRegMap(@Self)^.clr := $00000002
  38046. else
  38047. pTDefRegMap(@Self)^.&set := $00000002;
  38048. end;
  38049. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  38050. begin
  38051. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38052. end;
  38053. procedure TUSB_U1IR.setSOFIF; inline;
  38054. begin
  38055. pTDefRegMap(@Self)^.&set := $00000004;
  38056. end;
  38057. procedure TUSB_U1IR.clearSOFIF; inline;
  38058. begin
  38059. pTDefRegMap(@Self)^.clr := $00000004;
  38060. end;
  38061. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  38062. begin
  38063. if thebits = 0 then
  38064. pTDefRegMap(@Self)^.clr := $00000004
  38065. else
  38066. pTDefRegMap(@Self)^.&set := $00000004;
  38067. end;
  38068. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  38069. begin
  38070. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38071. end;
  38072. procedure TUSB_U1IR.setTRNIF; inline;
  38073. begin
  38074. pTDefRegMap(@Self)^.&set := $00000008;
  38075. end;
  38076. procedure TUSB_U1IR.clearTRNIF; inline;
  38077. begin
  38078. pTDefRegMap(@Self)^.clr := $00000008;
  38079. end;
  38080. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  38081. begin
  38082. if thebits = 0 then
  38083. pTDefRegMap(@Self)^.clr := $00000008
  38084. else
  38085. pTDefRegMap(@Self)^.&set := $00000008;
  38086. end;
  38087. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  38088. begin
  38089. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38090. end;
  38091. procedure TUSB_U1IR.setIDLEIF; inline;
  38092. begin
  38093. pTDefRegMap(@Self)^.&set := $00000010;
  38094. end;
  38095. procedure TUSB_U1IR.clearIDLEIF; inline;
  38096. begin
  38097. pTDefRegMap(@Self)^.clr := $00000010;
  38098. end;
  38099. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  38100. begin
  38101. if thebits = 0 then
  38102. pTDefRegMap(@Self)^.clr := $00000010
  38103. else
  38104. pTDefRegMap(@Self)^.&set := $00000010;
  38105. end;
  38106. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  38107. begin
  38108. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38109. end;
  38110. procedure TUSB_U1IR.setRESUMEIF; inline;
  38111. begin
  38112. pTDefRegMap(@Self)^.&set := $00000020;
  38113. end;
  38114. procedure TUSB_U1IR.clearRESUMEIF; inline;
  38115. begin
  38116. pTDefRegMap(@Self)^.clr := $00000020;
  38117. end;
  38118. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  38119. begin
  38120. if thebits = 0 then
  38121. pTDefRegMap(@Self)^.clr := $00000020
  38122. else
  38123. pTDefRegMap(@Self)^.&set := $00000020;
  38124. end;
  38125. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  38126. begin
  38127. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38128. end;
  38129. procedure TUSB_U1IR.setATTACHIF; inline;
  38130. begin
  38131. pTDefRegMap(@Self)^.&set := $00000040;
  38132. end;
  38133. procedure TUSB_U1IR.clearATTACHIF; inline;
  38134. begin
  38135. pTDefRegMap(@Self)^.clr := $00000040;
  38136. end;
  38137. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  38138. begin
  38139. if thebits = 0 then
  38140. pTDefRegMap(@Self)^.clr := $00000040
  38141. else
  38142. pTDefRegMap(@Self)^.&set := $00000040;
  38143. end;
  38144. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  38145. begin
  38146. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38147. end;
  38148. procedure TUSB_U1IR.setSTALLIF; inline;
  38149. begin
  38150. pTDefRegMap(@Self)^.&set := $00000080;
  38151. end;
  38152. procedure TUSB_U1IR.clearSTALLIF; inline;
  38153. begin
  38154. pTDefRegMap(@Self)^.clr := $00000080;
  38155. end;
  38156. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  38157. begin
  38158. if thebits = 0 then
  38159. pTDefRegMap(@Self)^.clr := $00000080
  38160. else
  38161. pTDefRegMap(@Self)^.&set := $00000080;
  38162. end;
  38163. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  38164. begin
  38165. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38166. end;
  38167. procedure TUSB_U1IR.setDETACHIF; inline;
  38168. begin
  38169. pTDefRegMap(@Self)^.&set := $00000001;
  38170. end;
  38171. procedure TUSB_U1IR.clearDETACHIF; inline;
  38172. begin
  38173. pTDefRegMap(@Self)^.clr := $00000001;
  38174. end;
  38175. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  38176. begin
  38177. if thebits = 0 then
  38178. pTDefRegMap(@Self)^.clr := $00000001
  38179. else
  38180. pTDefRegMap(@Self)^.&set := $00000001;
  38181. end;
  38182. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  38183. begin
  38184. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38185. end;
  38186. procedure TUSB_U1IR.setURSTIF; inline;
  38187. begin
  38188. pTDefRegMap(@Self)^.&set := $00000001;
  38189. end;
  38190. procedure TUSB_U1IR.clearURSTIF; inline;
  38191. begin
  38192. pTDefRegMap(@Self)^.clr := $00000001;
  38193. end;
  38194. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  38195. begin
  38196. if thebits = 0 then
  38197. pTDefRegMap(@Self)^.clr := $00000001
  38198. else
  38199. pTDefRegMap(@Self)^.&set := $00000001;
  38200. end;
  38201. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  38202. begin
  38203. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38204. end;
  38205. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  38206. begin
  38207. pTDefRegMap(@Self)^.&set := $00000001;
  38208. end;
  38209. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  38210. begin
  38211. pTDefRegMap(@Self)^.clr := $00000001;
  38212. end;
  38213. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  38214. begin
  38215. if thebits = 0 then
  38216. pTDefRegMap(@Self)^.clr := $00000001
  38217. else
  38218. pTDefRegMap(@Self)^.&set := $00000001;
  38219. end;
  38220. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  38221. begin
  38222. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38223. end;
  38224. procedure TUSB_U1IE.setUERRIE; inline;
  38225. begin
  38226. pTDefRegMap(@Self)^.&set := $00000002;
  38227. end;
  38228. procedure TUSB_U1IE.clearUERRIE; inline;
  38229. begin
  38230. pTDefRegMap(@Self)^.clr := $00000002;
  38231. end;
  38232. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  38233. begin
  38234. if thebits = 0 then
  38235. pTDefRegMap(@Self)^.clr := $00000002
  38236. else
  38237. pTDefRegMap(@Self)^.&set := $00000002;
  38238. end;
  38239. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  38240. begin
  38241. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38242. end;
  38243. procedure TUSB_U1IE.setSOFIE; inline;
  38244. begin
  38245. pTDefRegMap(@Self)^.&set := $00000004;
  38246. end;
  38247. procedure TUSB_U1IE.clearSOFIE; inline;
  38248. begin
  38249. pTDefRegMap(@Self)^.clr := $00000004;
  38250. end;
  38251. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  38252. begin
  38253. if thebits = 0 then
  38254. pTDefRegMap(@Self)^.clr := $00000004
  38255. else
  38256. pTDefRegMap(@Self)^.&set := $00000004;
  38257. end;
  38258. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  38259. begin
  38260. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38261. end;
  38262. procedure TUSB_U1IE.setTRNIE; inline;
  38263. begin
  38264. pTDefRegMap(@Self)^.&set := $00000008;
  38265. end;
  38266. procedure TUSB_U1IE.clearTRNIE; inline;
  38267. begin
  38268. pTDefRegMap(@Self)^.clr := $00000008;
  38269. end;
  38270. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  38271. begin
  38272. if thebits = 0 then
  38273. pTDefRegMap(@Self)^.clr := $00000008
  38274. else
  38275. pTDefRegMap(@Self)^.&set := $00000008;
  38276. end;
  38277. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  38278. begin
  38279. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38280. end;
  38281. procedure TUSB_U1IE.setIDLEIE; inline;
  38282. begin
  38283. pTDefRegMap(@Self)^.&set := $00000010;
  38284. end;
  38285. procedure TUSB_U1IE.clearIDLEIE; inline;
  38286. begin
  38287. pTDefRegMap(@Self)^.clr := $00000010;
  38288. end;
  38289. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  38290. begin
  38291. if thebits = 0 then
  38292. pTDefRegMap(@Self)^.clr := $00000010
  38293. else
  38294. pTDefRegMap(@Self)^.&set := $00000010;
  38295. end;
  38296. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  38297. begin
  38298. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38299. end;
  38300. procedure TUSB_U1IE.setRESUMEIE; inline;
  38301. begin
  38302. pTDefRegMap(@Self)^.&set := $00000020;
  38303. end;
  38304. procedure TUSB_U1IE.clearRESUMEIE; inline;
  38305. begin
  38306. pTDefRegMap(@Self)^.clr := $00000020;
  38307. end;
  38308. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  38309. begin
  38310. if thebits = 0 then
  38311. pTDefRegMap(@Self)^.clr := $00000020
  38312. else
  38313. pTDefRegMap(@Self)^.&set := $00000020;
  38314. end;
  38315. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  38316. begin
  38317. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38318. end;
  38319. procedure TUSB_U1IE.setATTACHIE; inline;
  38320. begin
  38321. pTDefRegMap(@Self)^.&set := $00000040;
  38322. end;
  38323. procedure TUSB_U1IE.clearATTACHIE; inline;
  38324. begin
  38325. pTDefRegMap(@Self)^.clr := $00000040;
  38326. end;
  38327. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  38328. begin
  38329. if thebits = 0 then
  38330. pTDefRegMap(@Self)^.clr := $00000040
  38331. else
  38332. pTDefRegMap(@Self)^.&set := $00000040;
  38333. end;
  38334. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  38335. begin
  38336. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38337. end;
  38338. procedure TUSB_U1IE.setSTALLIE; inline;
  38339. begin
  38340. pTDefRegMap(@Self)^.&set := $00000080;
  38341. end;
  38342. procedure TUSB_U1IE.clearSTALLIE; inline;
  38343. begin
  38344. pTDefRegMap(@Self)^.clr := $00000080;
  38345. end;
  38346. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  38347. begin
  38348. if thebits = 0 then
  38349. pTDefRegMap(@Self)^.clr := $00000080
  38350. else
  38351. pTDefRegMap(@Self)^.&set := $00000080;
  38352. end;
  38353. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  38354. begin
  38355. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38356. end;
  38357. procedure TUSB_U1IE.setDETACHIE; inline;
  38358. begin
  38359. pTDefRegMap(@Self)^.&set := $00000001;
  38360. end;
  38361. procedure TUSB_U1IE.clearDETACHIE; inline;
  38362. begin
  38363. pTDefRegMap(@Self)^.clr := $00000001;
  38364. end;
  38365. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  38366. begin
  38367. if thebits = 0 then
  38368. pTDefRegMap(@Self)^.clr := $00000001
  38369. else
  38370. pTDefRegMap(@Self)^.&set := $00000001;
  38371. end;
  38372. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  38373. begin
  38374. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38375. end;
  38376. procedure TUSB_U1IE.setURSTIE; inline;
  38377. begin
  38378. pTDefRegMap(@Self)^.&set := $00000001;
  38379. end;
  38380. procedure TUSB_U1IE.clearURSTIE; inline;
  38381. begin
  38382. pTDefRegMap(@Self)^.clr := $00000001;
  38383. end;
  38384. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  38385. begin
  38386. if thebits = 0 then
  38387. pTDefRegMap(@Self)^.clr := $00000001
  38388. else
  38389. pTDefRegMap(@Self)^.&set := $00000001;
  38390. end;
  38391. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  38392. begin
  38393. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38394. end;
  38395. procedure TUSB_U1EIR.setPIDEF; inline;
  38396. begin
  38397. pTDefRegMap(@Self)^.&set := $00000001;
  38398. end;
  38399. procedure TUSB_U1EIR.clearPIDEF; inline;
  38400. begin
  38401. pTDefRegMap(@Self)^.clr := $00000001;
  38402. end;
  38403. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  38404. begin
  38405. if thebits = 0 then
  38406. pTDefRegMap(@Self)^.clr := $00000001
  38407. else
  38408. pTDefRegMap(@Self)^.&set := $00000001;
  38409. end;
  38410. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  38411. begin
  38412. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38413. end;
  38414. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  38415. begin
  38416. pTDefRegMap(@Self)^.&set := $00000002;
  38417. end;
  38418. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  38419. begin
  38420. pTDefRegMap(@Self)^.clr := $00000002;
  38421. end;
  38422. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  38423. begin
  38424. if thebits = 0 then
  38425. pTDefRegMap(@Self)^.clr := $00000002
  38426. else
  38427. pTDefRegMap(@Self)^.&set := $00000002;
  38428. end;
  38429. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  38430. begin
  38431. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38432. end;
  38433. procedure TUSB_U1EIR.setCRC16EF; inline;
  38434. begin
  38435. pTDefRegMap(@Self)^.&set := $00000004;
  38436. end;
  38437. procedure TUSB_U1EIR.clearCRC16EF; inline;
  38438. begin
  38439. pTDefRegMap(@Self)^.clr := $00000004;
  38440. end;
  38441. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  38442. begin
  38443. if thebits = 0 then
  38444. pTDefRegMap(@Self)^.clr := $00000004
  38445. else
  38446. pTDefRegMap(@Self)^.&set := $00000004;
  38447. end;
  38448. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  38449. begin
  38450. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38451. end;
  38452. procedure TUSB_U1EIR.setDFN8EF; inline;
  38453. begin
  38454. pTDefRegMap(@Self)^.&set := $00000008;
  38455. end;
  38456. procedure TUSB_U1EIR.clearDFN8EF; inline;
  38457. begin
  38458. pTDefRegMap(@Self)^.clr := $00000008;
  38459. end;
  38460. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  38461. begin
  38462. if thebits = 0 then
  38463. pTDefRegMap(@Self)^.clr := $00000008
  38464. else
  38465. pTDefRegMap(@Self)^.&set := $00000008;
  38466. end;
  38467. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  38468. begin
  38469. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38470. end;
  38471. procedure TUSB_U1EIR.setBTOEF; inline;
  38472. begin
  38473. pTDefRegMap(@Self)^.&set := $00000010;
  38474. end;
  38475. procedure TUSB_U1EIR.clearBTOEF; inline;
  38476. begin
  38477. pTDefRegMap(@Self)^.clr := $00000010;
  38478. end;
  38479. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  38480. begin
  38481. if thebits = 0 then
  38482. pTDefRegMap(@Self)^.clr := $00000010
  38483. else
  38484. pTDefRegMap(@Self)^.&set := $00000010;
  38485. end;
  38486. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  38487. begin
  38488. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38489. end;
  38490. procedure TUSB_U1EIR.setDMAEF; inline;
  38491. begin
  38492. pTDefRegMap(@Self)^.&set := $00000020;
  38493. end;
  38494. procedure TUSB_U1EIR.clearDMAEF; inline;
  38495. begin
  38496. pTDefRegMap(@Self)^.clr := $00000020;
  38497. end;
  38498. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  38499. begin
  38500. if thebits = 0 then
  38501. pTDefRegMap(@Self)^.clr := $00000020
  38502. else
  38503. pTDefRegMap(@Self)^.&set := $00000020;
  38504. end;
  38505. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  38506. begin
  38507. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38508. end;
  38509. procedure TUSB_U1EIR.setBMXEF; inline;
  38510. begin
  38511. pTDefRegMap(@Self)^.&set := $00000040;
  38512. end;
  38513. procedure TUSB_U1EIR.clearBMXEF; inline;
  38514. begin
  38515. pTDefRegMap(@Self)^.clr := $00000040;
  38516. end;
  38517. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  38518. begin
  38519. if thebits = 0 then
  38520. pTDefRegMap(@Self)^.clr := $00000040
  38521. else
  38522. pTDefRegMap(@Self)^.&set := $00000040;
  38523. end;
  38524. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  38525. begin
  38526. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38527. end;
  38528. procedure TUSB_U1EIR.setBTSEF; inline;
  38529. begin
  38530. pTDefRegMap(@Self)^.&set := $00000080;
  38531. end;
  38532. procedure TUSB_U1EIR.clearBTSEF; inline;
  38533. begin
  38534. pTDefRegMap(@Self)^.clr := $00000080;
  38535. end;
  38536. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  38537. begin
  38538. if thebits = 0 then
  38539. pTDefRegMap(@Self)^.clr := $00000080
  38540. else
  38541. pTDefRegMap(@Self)^.&set := $00000080;
  38542. end;
  38543. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  38544. begin
  38545. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38546. end;
  38547. procedure TUSB_U1EIR.setCRC5EF; inline;
  38548. begin
  38549. pTDefRegMap(@Self)^.&set := $00000002;
  38550. end;
  38551. procedure TUSB_U1EIR.clearCRC5EF; inline;
  38552. begin
  38553. pTDefRegMap(@Self)^.clr := $00000002;
  38554. end;
  38555. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  38556. begin
  38557. if thebits = 0 then
  38558. pTDefRegMap(@Self)^.clr := $00000002
  38559. else
  38560. pTDefRegMap(@Self)^.&set := $00000002;
  38561. end;
  38562. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  38563. begin
  38564. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38565. end;
  38566. procedure TUSB_U1EIR.setEOFEF; inline;
  38567. begin
  38568. pTDefRegMap(@Self)^.&set := $00000002;
  38569. end;
  38570. procedure TUSB_U1EIR.clearEOFEF; inline;
  38571. begin
  38572. pTDefRegMap(@Self)^.clr := $00000002;
  38573. end;
  38574. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  38575. begin
  38576. if thebits = 0 then
  38577. pTDefRegMap(@Self)^.clr := $00000002
  38578. else
  38579. pTDefRegMap(@Self)^.&set := $00000002;
  38580. end;
  38581. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  38582. begin
  38583. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38584. end;
  38585. procedure TUSB_U1EIE.setPIDEE; inline;
  38586. begin
  38587. pTDefRegMap(@Self)^.&set := $00000001;
  38588. end;
  38589. procedure TUSB_U1EIE.clearPIDEE; inline;
  38590. begin
  38591. pTDefRegMap(@Self)^.clr := $00000001;
  38592. end;
  38593. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  38594. begin
  38595. if thebits = 0 then
  38596. pTDefRegMap(@Self)^.clr := $00000001
  38597. else
  38598. pTDefRegMap(@Self)^.&set := $00000001;
  38599. end;
  38600. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  38601. begin
  38602. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38603. end;
  38604. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  38605. begin
  38606. pTDefRegMap(@Self)^.&set := $00000002;
  38607. end;
  38608. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  38609. begin
  38610. pTDefRegMap(@Self)^.clr := $00000002;
  38611. end;
  38612. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  38613. begin
  38614. if thebits = 0 then
  38615. pTDefRegMap(@Self)^.clr := $00000002
  38616. else
  38617. pTDefRegMap(@Self)^.&set := $00000002;
  38618. end;
  38619. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  38620. begin
  38621. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38622. end;
  38623. procedure TUSB_U1EIE.setCRC16EE; inline;
  38624. begin
  38625. pTDefRegMap(@Self)^.&set := $00000004;
  38626. end;
  38627. procedure TUSB_U1EIE.clearCRC16EE; inline;
  38628. begin
  38629. pTDefRegMap(@Self)^.clr := $00000004;
  38630. end;
  38631. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  38632. begin
  38633. if thebits = 0 then
  38634. pTDefRegMap(@Self)^.clr := $00000004
  38635. else
  38636. pTDefRegMap(@Self)^.&set := $00000004;
  38637. end;
  38638. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  38639. begin
  38640. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38641. end;
  38642. procedure TUSB_U1EIE.setDFN8EE; inline;
  38643. begin
  38644. pTDefRegMap(@Self)^.&set := $00000008;
  38645. end;
  38646. procedure TUSB_U1EIE.clearDFN8EE; inline;
  38647. begin
  38648. pTDefRegMap(@Self)^.clr := $00000008;
  38649. end;
  38650. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  38651. begin
  38652. if thebits = 0 then
  38653. pTDefRegMap(@Self)^.clr := $00000008
  38654. else
  38655. pTDefRegMap(@Self)^.&set := $00000008;
  38656. end;
  38657. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  38658. begin
  38659. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38660. end;
  38661. procedure TUSB_U1EIE.setBTOEE; inline;
  38662. begin
  38663. pTDefRegMap(@Self)^.&set := $00000010;
  38664. end;
  38665. procedure TUSB_U1EIE.clearBTOEE; inline;
  38666. begin
  38667. pTDefRegMap(@Self)^.clr := $00000010;
  38668. end;
  38669. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  38670. begin
  38671. if thebits = 0 then
  38672. pTDefRegMap(@Self)^.clr := $00000010
  38673. else
  38674. pTDefRegMap(@Self)^.&set := $00000010;
  38675. end;
  38676. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  38677. begin
  38678. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38679. end;
  38680. procedure TUSB_U1EIE.setDMAEE; inline;
  38681. begin
  38682. pTDefRegMap(@Self)^.&set := $00000020;
  38683. end;
  38684. procedure TUSB_U1EIE.clearDMAEE; inline;
  38685. begin
  38686. pTDefRegMap(@Self)^.clr := $00000020;
  38687. end;
  38688. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  38689. begin
  38690. if thebits = 0 then
  38691. pTDefRegMap(@Self)^.clr := $00000020
  38692. else
  38693. pTDefRegMap(@Self)^.&set := $00000020;
  38694. end;
  38695. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  38696. begin
  38697. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38698. end;
  38699. procedure TUSB_U1EIE.setBMXEE; inline;
  38700. begin
  38701. pTDefRegMap(@Self)^.&set := $00000040;
  38702. end;
  38703. procedure TUSB_U1EIE.clearBMXEE; inline;
  38704. begin
  38705. pTDefRegMap(@Self)^.clr := $00000040;
  38706. end;
  38707. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  38708. begin
  38709. if thebits = 0 then
  38710. pTDefRegMap(@Self)^.clr := $00000040
  38711. else
  38712. pTDefRegMap(@Self)^.&set := $00000040;
  38713. end;
  38714. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  38715. begin
  38716. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38717. end;
  38718. procedure TUSB_U1EIE.setBTSEE; inline;
  38719. begin
  38720. pTDefRegMap(@Self)^.&set := $00000080;
  38721. end;
  38722. procedure TUSB_U1EIE.clearBTSEE; inline;
  38723. begin
  38724. pTDefRegMap(@Self)^.clr := $00000080;
  38725. end;
  38726. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  38727. begin
  38728. if thebits = 0 then
  38729. pTDefRegMap(@Self)^.clr := $00000080
  38730. else
  38731. pTDefRegMap(@Self)^.&set := $00000080;
  38732. end;
  38733. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  38734. begin
  38735. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38736. end;
  38737. procedure TUSB_U1EIE.setCRC5EE; inline;
  38738. begin
  38739. pTDefRegMap(@Self)^.&set := $00000002;
  38740. end;
  38741. procedure TUSB_U1EIE.clearCRC5EE; inline;
  38742. begin
  38743. pTDefRegMap(@Self)^.clr := $00000002;
  38744. end;
  38745. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  38746. begin
  38747. if thebits = 0 then
  38748. pTDefRegMap(@Self)^.clr := $00000002
  38749. else
  38750. pTDefRegMap(@Self)^.&set := $00000002;
  38751. end;
  38752. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  38753. begin
  38754. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38755. end;
  38756. procedure TUSB_U1EIE.setEOFEE; inline;
  38757. begin
  38758. pTDefRegMap(@Self)^.&set := $00000002;
  38759. end;
  38760. procedure TUSB_U1EIE.clearEOFEE; inline;
  38761. begin
  38762. pTDefRegMap(@Self)^.clr := $00000002;
  38763. end;
  38764. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  38765. begin
  38766. if thebits = 0 then
  38767. pTDefRegMap(@Self)^.clr := $00000002
  38768. else
  38769. pTDefRegMap(@Self)^.&set := $00000002;
  38770. end;
  38771. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  38772. begin
  38773. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38774. end;
  38775. procedure TUSB_U1STAT.setPPBI; inline;
  38776. begin
  38777. pTDefRegMap(@Self)^.&set := $00000004;
  38778. end;
  38779. procedure TUSB_U1STAT.clearPPBI; inline;
  38780. begin
  38781. pTDefRegMap(@Self)^.clr := $00000004;
  38782. end;
  38783. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  38784. begin
  38785. if thebits = 0 then
  38786. pTDefRegMap(@Self)^.clr := $00000004
  38787. else
  38788. pTDefRegMap(@Self)^.&set := $00000004;
  38789. end;
  38790. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  38791. begin
  38792. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38793. end;
  38794. procedure TUSB_U1STAT.setDIR; inline;
  38795. begin
  38796. pTDefRegMap(@Self)^.&set := $00000008;
  38797. end;
  38798. procedure TUSB_U1STAT.clearDIR; inline;
  38799. begin
  38800. pTDefRegMap(@Self)^.clr := $00000008;
  38801. end;
  38802. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  38803. begin
  38804. if thebits = 0 then
  38805. pTDefRegMap(@Self)^.clr := $00000008
  38806. else
  38807. pTDefRegMap(@Self)^.&set := $00000008;
  38808. end;
  38809. function TUSB_U1STAT.getDIR : TBits_1; inline;
  38810. begin
  38811. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38812. end;
  38813. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  38814. begin
  38815. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  38816. end;
  38817. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  38818. begin
  38819. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  38820. end;
  38821. procedure TUSB_U1STAT.setENDPT0; inline;
  38822. begin
  38823. pTDefRegMap(@Self)^.&set := $00000010;
  38824. end;
  38825. procedure TUSB_U1STAT.clearENDPT0; inline;
  38826. begin
  38827. pTDefRegMap(@Self)^.clr := $00000010;
  38828. end;
  38829. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  38830. begin
  38831. if thebits = 0 then
  38832. pTDefRegMap(@Self)^.clr := $00000010
  38833. else
  38834. pTDefRegMap(@Self)^.&set := $00000010;
  38835. end;
  38836. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  38837. begin
  38838. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38839. end;
  38840. procedure TUSB_U1STAT.setENDPT1; inline;
  38841. begin
  38842. pTDefRegMap(@Self)^.&set := $00000020;
  38843. end;
  38844. procedure TUSB_U1STAT.clearENDPT1; inline;
  38845. begin
  38846. pTDefRegMap(@Self)^.clr := $00000020;
  38847. end;
  38848. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  38849. begin
  38850. if thebits = 0 then
  38851. pTDefRegMap(@Self)^.clr := $00000020
  38852. else
  38853. pTDefRegMap(@Self)^.&set := $00000020;
  38854. end;
  38855. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  38856. begin
  38857. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38858. end;
  38859. procedure TUSB_U1STAT.setENDPT2; inline;
  38860. begin
  38861. pTDefRegMap(@Self)^.&set := $00000040;
  38862. end;
  38863. procedure TUSB_U1STAT.clearENDPT2; inline;
  38864. begin
  38865. pTDefRegMap(@Self)^.clr := $00000040;
  38866. end;
  38867. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  38868. begin
  38869. if thebits = 0 then
  38870. pTDefRegMap(@Self)^.clr := $00000040
  38871. else
  38872. pTDefRegMap(@Self)^.&set := $00000040;
  38873. end;
  38874. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  38875. begin
  38876. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38877. end;
  38878. procedure TUSB_U1STAT.setENDPT3; inline;
  38879. begin
  38880. pTDefRegMap(@Self)^.&set := $00000080;
  38881. end;
  38882. procedure TUSB_U1STAT.clearENDPT3; inline;
  38883. begin
  38884. pTDefRegMap(@Self)^.clr := $00000080;
  38885. end;
  38886. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  38887. begin
  38888. if thebits = 0 then
  38889. pTDefRegMap(@Self)^.clr := $00000080
  38890. else
  38891. pTDefRegMap(@Self)^.&set := $00000080;
  38892. end;
  38893. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  38894. begin
  38895. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38896. end;
  38897. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  38898. begin
  38899. pTDefRegMap(@Self)^.&set := $00000001;
  38900. end;
  38901. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  38902. begin
  38903. pTDefRegMap(@Self)^.clr := $00000001;
  38904. end;
  38905. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  38906. begin
  38907. if thebits = 0 then
  38908. pTDefRegMap(@Self)^.clr := $00000001
  38909. else
  38910. pTDefRegMap(@Self)^.&set := $00000001;
  38911. end;
  38912. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  38913. begin
  38914. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38915. end;
  38916. procedure TUSB_U1CON.setPPBRST; inline;
  38917. begin
  38918. pTDefRegMap(@Self)^.&set := $00000002;
  38919. end;
  38920. procedure TUSB_U1CON.clearPPBRST; inline;
  38921. begin
  38922. pTDefRegMap(@Self)^.clr := $00000002;
  38923. end;
  38924. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  38925. begin
  38926. if thebits = 0 then
  38927. pTDefRegMap(@Self)^.clr := $00000002
  38928. else
  38929. pTDefRegMap(@Self)^.&set := $00000002;
  38930. end;
  38931. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  38932. begin
  38933. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38934. end;
  38935. procedure TUSB_U1CON.setRESUME; inline;
  38936. begin
  38937. pTDefRegMap(@Self)^.&set := $00000004;
  38938. end;
  38939. procedure TUSB_U1CON.clearRESUME; inline;
  38940. begin
  38941. pTDefRegMap(@Self)^.clr := $00000004;
  38942. end;
  38943. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  38944. begin
  38945. if thebits = 0 then
  38946. pTDefRegMap(@Self)^.clr := $00000004
  38947. else
  38948. pTDefRegMap(@Self)^.&set := $00000004;
  38949. end;
  38950. function TUSB_U1CON.getRESUME : TBits_1; inline;
  38951. begin
  38952. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38953. end;
  38954. procedure TUSB_U1CON.setHOSTEN; inline;
  38955. begin
  38956. pTDefRegMap(@Self)^.&set := $00000008;
  38957. end;
  38958. procedure TUSB_U1CON.clearHOSTEN; inline;
  38959. begin
  38960. pTDefRegMap(@Self)^.clr := $00000008;
  38961. end;
  38962. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  38963. begin
  38964. if thebits = 0 then
  38965. pTDefRegMap(@Self)^.clr := $00000008
  38966. else
  38967. pTDefRegMap(@Self)^.&set := $00000008;
  38968. end;
  38969. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  38970. begin
  38971. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38972. end;
  38973. procedure TUSB_U1CON.setUSBRST; inline;
  38974. begin
  38975. pTDefRegMap(@Self)^.&set := $00000010;
  38976. end;
  38977. procedure TUSB_U1CON.clearUSBRST; inline;
  38978. begin
  38979. pTDefRegMap(@Self)^.clr := $00000010;
  38980. end;
  38981. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  38982. begin
  38983. if thebits = 0 then
  38984. pTDefRegMap(@Self)^.clr := $00000010
  38985. else
  38986. pTDefRegMap(@Self)^.&set := $00000010;
  38987. end;
  38988. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  38989. begin
  38990. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38991. end;
  38992. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  38993. begin
  38994. pTDefRegMap(@Self)^.&set := $00000020;
  38995. end;
  38996. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  38997. begin
  38998. pTDefRegMap(@Self)^.clr := $00000020;
  38999. end;
  39000. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  39001. begin
  39002. if thebits = 0 then
  39003. pTDefRegMap(@Self)^.clr := $00000020
  39004. else
  39005. pTDefRegMap(@Self)^.&set := $00000020;
  39006. end;
  39007. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  39008. begin
  39009. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39010. end;
  39011. procedure TUSB_U1CON.setSE0; inline;
  39012. begin
  39013. pTDefRegMap(@Self)^.&set := $00000040;
  39014. end;
  39015. procedure TUSB_U1CON.clearSE0; inline;
  39016. begin
  39017. pTDefRegMap(@Self)^.clr := $00000040;
  39018. end;
  39019. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  39020. begin
  39021. if thebits = 0 then
  39022. pTDefRegMap(@Self)^.clr := $00000040
  39023. else
  39024. pTDefRegMap(@Self)^.&set := $00000040;
  39025. end;
  39026. function TUSB_U1CON.getSE0 : TBits_1; inline;
  39027. begin
  39028. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39029. end;
  39030. procedure TUSB_U1CON.setJSTATE; inline;
  39031. begin
  39032. pTDefRegMap(@Self)^.&set := $00000080;
  39033. end;
  39034. procedure TUSB_U1CON.clearJSTATE; inline;
  39035. begin
  39036. pTDefRegMap(@Self)^.clr := $00000080;
  39037. end;
  39038. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  39039. begin
  39040. if thebits = 0 then
  39041. pTDefRegMap(@Self)^.clr := $00000080
  39042. else
  39043. pTDefRegMap(@Self)^.&set := $00000080;
  39044. end;
  39045. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  39046. begin
  39047. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39048. end;
  39049. procedure TUSB_U1CON.setUSBEN; inline;
  39050. begin
  39051. pTDefRegMap(@Self)^.&set := $00000001;
  39052. end;
  39053. procedure TUSB_U1CON.clearUSBEN; inline;
  39054. begin
  39055. pTDefRegMap(@Self)^.clr := $00000001;
  39056. end;
  39057. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  39058. begin
  39059. if thebits = 0 then
  39060. pTDefRegMap(@Self)^.clr := $00000001
  39061. else
  39062. pTDefRegMap(@Self)^.&set := $00000001;
  39063. end;
  39064. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  39065. begin
  39066. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39067. end;
  39068. procedure TUSB_U1CON.setSOFEN; inline;
  39069. begin
  39070. pTDefRegMap(@Self)^.&set := $00000001;
  39071. end;
  39072. procedure TUSB_U1CON.clearSOFEN; inline;
  39073. begin
  39074. pTDefRegMap(@Self)^.clr := $00000001;
  39075. end;
  39076. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  39077. begin
  39078. if thebits = 0 then
  39079. pTDefRegMap(@Self)^.clr := $00000001
  39080. else
  39081. pTDefRegMap(@Self)^.&set := $00000001;
  39082. end;
  39083. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  39084. begin
  39085. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39086. end;
  39087. procedure TUSB_U1CON.setPKTDIS; inline;
  39088. begin
  39089. pTDefRegMap(@Self)^.&set := $00000020;
  39090. end;
  39091. procedure TUSB_U1CON.clearPKTDIS; inline;
  39092. begin
  39093. pTDefRegMap(@Self)^.clr := $00000020;
  39094. end;
  39095. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  39096. begin
  39097. if thebits = 0 then
  39098. pTDefRegMap(@Self)^.clr := $00000020
  39099. else
  39100. pTDefRegMap(@Self)^.&set := $00000020;
  39101. end;
  39102. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  39103. begin
  39104. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39105. end;
  39106. procedure TUSB_U1CON.setTOKBUSY; inline;
  39107. begin
  39108. pTDefRegMap(@Self)^.&set := $00000020;
  39109. end;
  39110. procedure TUSB_U1CON.clearTOKBUSY; inline;
  39111. begin
  39112. pTDefRegMap(@Self)^.clr := $00000020;
  39113. end;
  39114. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  39115. begin
  39116. if thebits = 0 then
  39117. pTDefRegMap(@Self)^.clr := $00000020
  39118. else
  39119. pTDefRegMap(@Self)^.&set := $00000020;
  39120. end;
  39121. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  39122. begin
  39123. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39124. end;
  39125. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  39126. begin
  39127. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  39128. end;
  39129. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  39130. begin
  39131. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  39132. end;
  39133. procedure TUSB_U1ADDR.setLSPDEN; inline;
  39134. begin
  39135. pTDefRegMap(@Self)^.&set := $00000080;
  39136. end;
  39137. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  39138. begin
  39139. pTDefRegMap(@Self)^.clr := $00000080;
  39140. end;
  39141. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  39142. begin
  39143. if thebits = 0 then
  39144. pTDefRegMap(@Self)^.clr := $00000080
  39145. else
  39146. pTDefRegMap(@Self)^.&set := $00000080;
  39147. end;
  39148. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  39149. begin
  39150. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39151. end;
  39152. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  39153. begin
  39154. pTDefRegMap(@Self)^.&set := $00000001;
  39155. end;
  39156. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  39157. begin
  39158. pTDefRegMap(@Self)^.clr := $00000001;
  39159. end;
  39160. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  39161. begin
  39162. if thebits = 0 then
  39163. pTDefRegMap(@Self)^.clr := $00000001
  39164. else
  39165. pTDefRegMap(@Self)^.&set := $00000001;
  39166. end;
  39167. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  39168. begin
  39169. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39170. end;
  39171. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  39172. begin
  39173. pTDefRegMap(@Self)^.&set := $00000002;
  39174. end;
  39175. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  39176. begin
  39177. pTDefRegMap(@Self)^.clr := $00000002;
  39178. end;
  39179. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  39180. begin
  39181. if thebits = 0 then
  39182. pTDefRegMap(@Self)^.clr := $00000002
  39183. else
  39184. pTDefRegMap(@Self)^.&set := $00000002;
  39185. end;
  39186. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  39187. begin
  39188. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39189. end;
  39190. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  39191. begin
  39192. pTDefRegMap(@Self)^.&set := $00000004;
  39193. end;
  39194. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  39195. begin
  39196. pTDefRegMap(@Self)^.clr := $00000004;
  39197. end;
  39198. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  39199. begin
  39200. if thebits = 0 then
  39201. pTDefRegMap(@Self)^.clr := $00000004
  39202. else
  39203. pTDefRegMap(@Self)^.&set := $00000004;
  39204. end;
  39205. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  39206. begin
  39207. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39208. end;
  39209. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  39210. begin
  39211. pTDefRegMap(@Self)^.&set := $00000008;
  39212. end;
  39213. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  39214. begin
  39215. pTDefRegMap(@Self)^.clr := $00000008;
  39216. end;
  39217. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  39218. begin
  39219. if thebits = 0 then
  39220. pTDefRegMap(@Self)^.clr := $00000008
  39221. else
  39222. pTDefRegMap(@Self)^.&set := $00000008;
  39223. end;
  39224. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  39225. begin
  39226. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39227. end;
  39228. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  39229. begin
  39230. pTDefRegMap(@Self)^.&set := $00000010;
  39231. end;
  39232. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  39233. begin
  39234. pTDefRegMap(@Self)^.clr := $00000010;
  39235. end;
  39236. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  39237. begin
  39238. if thebits = 0 then
  39239. pTDefRegMap(@Self)^.clr := $00000010
  39240. else
  39241. pTDefRegMap(@Self)^.&set := $00000010;
  39242. end;
  39243. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  39244. begin
  39245. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39246. end;
  39247. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  39248. begin
  39249. pTDefRegMap(@Self)^.&set := $00000020;
  39250. end;
  39251. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  39252. begin
  39253. pTDefRegMap(@Self)^.clr := $00000020;
  39254. end;
  39255. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  39256. begin
  39257. if thebits = 0 then
  39258. pTDefRegMap(@Self)^.clr := $00000020
  39259. else
  39260. pTDefRegMap(@Self)^.&set := $00000020;
  39261. end;
  39262. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  39263. begin
  39264. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39265. end;
  39266. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  39267. begin
  39268. pTDefRegMap(@Self)^.&set := $00000040;
  39269. end;
  39270. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  39271. begin
  39272. pTDefRegMap(@Self)^.clr := $00000040;
  39273. end;
  39274. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  39275. begin
  39276. if thebits = 0 then
  39277. pTDefRegMap(@Self)^.clr := $00000040
  39278. else
  39279. pTDefRegMap(@Self)^.&set := $00000040;
  39280. end;
  39281. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  39282. begin
  39283. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39284. end;
  39285. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  39286. begin
  39287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  39288. end;
  39289. function TUSB_U1FRML.getFRML : TBits_8; inline;
  39290. begin
  39291. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  39292. end;
  39293. procedure TUSB_U1FRML.setFRM0; inline;
  39294. begin
  39295. pTDefRegMap(@Self)^.&set := $00000001;
  39296. end;
  39297. procedure TUSB_U1FRML.clearFRM0; inline;
  39298. begin
  39299. pTDefRegMap(@Self)^.clr := $00000001;
  39300. end;
  39301. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  39302. begin
  39303. if thebits = 0 then
  39304. pTDefRegMap(@Self)^.clr := $00000001
  39305. else
  39306. pTDefRegMap(@Self)^.&set := $00000001;
  39307. end;
  39308. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  39309. begin
  39310. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39311. end;
  39312. procedure TUSB_U1FRML.setFRM1; inline;
  39313. begin
  39314. pTDefRegMap(@Self)^.&set := $00000002;
  39315. end;
  39316. procedure TUSB_U1FRML.clearFRM1; inline;
  39317. begin
  39318. pTDefRegMap(@Self)^.clr := $00000002;
  39319. end;
  39320. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  39321. begin
  39322. if thebits = 0 then
  39323. pTDefRegMap(@Self)^.clr := $00000002
  39324. else
  39325. pTDefRegMap(@Self)^.&set := $00000002;
  39326. end;
  39327. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  39328. begin
  39329. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39330. end;
  39331. procedure TUSB_U1FRML.setFRM2; inline;
  39332. begin
  39333. pTDefRegMap(@Self)^.&set := $00000004;
  39334. end;
  39335. procedure TUSB_U1FRML.clearFRM2; inline;
  39336. begin
  39337. pTDefRegMap(@Self)^.clr := $00000004;
  39338. end;
  39339. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  39340. begin
  39341. if thebits = 0 then
  39342. pTDefRegMap(@Self)^.clr := $00000004
  39343. else
  39344. pTDefRegMap(@Self)^.&set := $00000004;
  39345. end;
  39346. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  39347. begin
  39348. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39349. end;
  39350. procedure TUSB_U1FRML.setFRM3; inline;
  39351. begin
  39352. pTDefRegMap(@Self)^.&set := $00000008;
  39353. end;
  39354. procedure TUSB_U1FRML.clearFRM3; inline;
  39355. begin
  39356. pTDefRegMap(@Self)^.clr := $00000008;
  39357. end;
  39358. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  39359. begin
  39360. if thebits = 0 then
  39361. pTDefRegMap(@Self)^.clr := $00000008
  39362. else
  39363. pTDefRegMap(@Self)^.&set := $00000008;
  39364. end;
  39365. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  39366. begin
  39367. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39368. end;
  39369. procedure TUSB_U1FRML.setFRM4; inline;
  39370. begin
  39371. pTDefRegMap(@Self)^.&set := $00000010;
  39372. end;
  39373. procedure TUSB_U1FRML.clearFRM4; inline;
  39374. begin
  39375. pTDefRegMap(@Self)^.clr := $00000010;
  39376. end;
  39377. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  39378. begin
  39379. if thebits = 0 then
  39380. pTDefRegMap(@Self)^.clr := $00000010
  39381. else
  39382. pTDefRegMap(@Self)^.&set := $00000010;
  39383. end;
  39384. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  39385. begin
  39386. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39387. end;
  39388. procedure TUSB_U1FRML.setFRM5; inline;
  39389. begin
  39390. pTDefRegMap(@Self)^.&set := $00000020;
  39391. end;
  39392. procedure TUSB_U1FRML.clearFRM5; inline;
  39393. begin
  39394. pTDefRegMap(@Self)^.clr := $00000020;
  39395. end;
  39396. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  39397. begin
  39398. if thebits = 0 then
  39399. pTDefRegMap(@Self)^.clr := $00000020
  39400. else
  39401. pTDefRegMap(@Self)^.&set := $00000020;
  39402. end;
  39403. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  39404. begin
  39405. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39406. end;
  39407. procedure TUSB_U1FRML.setFRM6; inline;
  39408. begin
  39409. pTDefRegMap(@Self)^.&set := $00000040;
  39410. end;
  39411. procedure TUSB_U1FRML.clearFRM6; inline;
  39412. begin
  39413. pTDefRegMap(@Self)^.clr := $00000040;
  39414. end;
  39415. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  39416. begin
  39417. if thebits = 0 then
  39418. pTDefRegMap(@Self)^.clr := $00000040
  39419. else
  39420. pTDefRegMap(@Self)^.&set := $00000040;
  39421. end;
  39422. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  39423. begin
  39424. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39425. end;
  39426. procedure TUSB_U1FRML.setFRM7; inline;
  39427. begin
  39428. pTDefRegMap(@Self)^.&set := $00000080;
  39429. end;
  39430. procedure TUSB_U1FRML.clearFRM7; inline;
  39431. begin
  39432. pTDefRegMap(@Self)^.clr := $00000080;
  39433. end;
  39434. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  39435. begin
  39436. if thebits = 0 then
  39437. pTDefRegMap(@Self)^.clr := $00000080
  39438. else
  39439. pTDefRegMap(@Self)^.&set := $00000080;
  39440. end;
  39441. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  39442. begin
  39443. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39444. end;
  39445. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  39446. begin
  39447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  39448. end;
  39449. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  39450. begin
  39451. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  39452. end;
  39453. procedure TUSB_U1FRMH.setFRM8; inline;
  39454. begin
  39455. pTDefRegMap(@Self)^.&set := $00000001;
  39456. end;
  39457. procedure TUSB_U1FRMH.clearFRM8; inline;
  39458. begin
  39459. pTDefRegMap(@Self)^.clr := $00000001;
  39460. end;
  39461. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  39462. begin
  39463. if thebits = 0 then
  39464. pTDefRegMap(@Self)^.clr := $00000001
  39465. else
  39466. pTDefRegMap(@Self)^.&set := $00000001;
  39467. end;
  39468. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  39469. begin
  39470. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39471. end;
  39472. procedure TUSB_U1FRMH.setFRM9; inline;
  39473. begin
  39474. pTDefRegMap(@Self)^.&set := $00000002;
  39475. end;
  39476. procedure TUSB_U1FRMH.clearFRM9; inline;
  39477. begin
  39478. pTDefRegMap(@Self)^.clr := $00000002;
  39479. end;
  39480. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  39481. begin
  39482. if thebits = 0 then
  39483. pTDefRegMap(@Self)^.clr := $00000002
  39484. else
  39485. pTDefRegMap(@Self)^.&set := $00000002;
  39486. end;
  39487. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  39488. begin
  39489. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39490. end;
  39491. procedure TUSB_U1FRMH.setFRM10; inline;
  39492. begin
  39493. pTDefRegMap(@Self)^.&set := $00000004;
  39494. end;
  39495. procedure TUSB_U1FRMH.clearFRM10; inline;
  39496. begin
  39497. pTDefRegMap(@Self)^.clr := $00000004;
  39498. end;
  39499. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  39500. begin
  39501. if thebits = 0 then
  39502. pTDefRegMap(@Self)^.clr := $00000004
  39503. else
  39504. pTDefRegMap(@Self)^.&set := $00000004;
  39505. end;
  39506. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  39507. begin
  39508. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39509. end;
  39510. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  39511. begin
  39512. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  39513. end;
  39514. function TUSB_U1TOK.getEP : TBits_4; inline;
  39515. begin
  39516. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  39517. end;
  39518. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  39519. begin
  39520. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  39521. end;
  39522. function TUSB_U1TOK.getPID : TBits_4; inline;
  39523. begin
  39524. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  39525. end;
  39526. procedure TUSB_U1TOK.setEP0; inline;
  39527. begin
  39528. pTDefRegMap(@Self)^.&set := $00000001;
  39529. end;
  39530. procedure TUSB_U1TOK.clearEP0; inline;
  39531. begin
  39532. pTDefRegMap(@Self)^.clr := $00000001;
  39533. end;
  39534. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  39535. begin
  39536. if thebits = 0 then
  39537. pTDefRegMap(@Self)^.clr := $00000001
  39538. else
  39539. pTDefRegMap(@Self)^.&set := $00000001;
  39540. end;
  39541. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  39542. begin
  39543. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39544. end;
  39545. procedure TUSB_U1TOK.setEP1; inline;
  39546. begin
  39547. pTDefRegMap(@Self)^.&set := $00000002;
  39548. end;
  39549. procedure TUSB_U1TOK.clearEP1; inline;
  39550. begin
  39551. pTDefRegMap(@Self)^.clr := $00000002;
  39552. end;
  39553. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  39554. begin
  39555. if thebits = 0 then
  39556. pTDefRegMap(@Self)^.clr := $00000002
  39557. else
  39558. pTDefRegMap(@Self)^.&set := $00000002;
  39559. end;
  39560. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  39561. begin
  39562. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39563. end;
  39564. procedure TUSB_U1TOK.setEP2; inline;
  39565. begin
  39566. pTDefRegMap(@Self)^.&set := $00000004;
  39567. end;
  39568. procedure TUSB_U1TOK.clearEP2; inline;
  39569. begin
  39570. pTDefRegMap(@Self)^.clr := $00000004;
  39571. end;
  39572. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  39573. begin
  39574. if thebits = 0 then
  39575. pTDefRegMap(@Self)^.clr := $00000004
  39576. else
  39577. pTDefRegMap(@Self)^.&set := $00000004;
  39578. end;
  39579. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  39580. begin
  39581. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39582. end;
  39583. procedure TUSB_U1TOK.setEP3; inline;
  39584. begin
  39585. pTDefRegMap(@Self)^.&set := $00000008;
  39586. end;
  39587. procedure TUSB_U1TOK.clearEP3; inline;
  39588. begin
  39589. pTDefRegMap(@Self)^.clr := $00000008;
  39590. end;
  39591. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  39592. begin
  39593. if thebits = 0 then
  39594. pTDefRegMap(@Self)^.clr := $00000008
  39595. else
  39596. pTDefRegMap(@Self)^.&set := $00000008;
  39597. end;
  39598. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  39599. begin
  39600. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39601. end;
  39602. procedure TUSB_U1TOK.setPID0; inline;
  39603. begin
  39604. pTDefRegMap(@Self)^.&set := $00000010;
  39605. end;
  39606. procedure TUSB_U1TOK.clearPID0; inline;
  39607. begin
  39608. pTDefRegMap(@Self)^.clr := $00000010;
  39609. end;
  39610. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  39611. begin
  39612. if thebits = 0 then
  39613. pTDefRegMap(@Self)^.clr := $00000010
  39614. else
  39615. pTDefRegMap(@Self)^.&set := $00000010;
  39616. end;
  39617. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  39618. begin
  39619. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39620. end;
  39621. procedure TUSB_U1TOK.setPID1; inline;
  39622. begin
  39623. pTDefRegMap(@Self)^.&set := $00000020;
  39624. end;
  39625. procedure TUSB_U1TOK.clearPID1; inline;
  39626. begin
  39627. pTDefRegMap(@Self)^.clr := $00000020;
  39628. end;
  39629. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  39630. begin
  39631. if thebits = 0 then
  39632. pTDefRegMap(@Self)^.clr := $00000020
  39633. else
  39634. pTDefRegMap(@Self)^.&set := $00000020;
  39635. end;
  39636. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  39637. begin
  39638. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39639. end;
  39640. procedure TUSB_U1TOK.setPID2; inline;
  39641. begin
  39642. pTDefRegMap(@Self)^.&set := $00000040;
  39643. end;
  39644. procedure TUSB_U1TOK.clearPID2; inline;
  39645. begin
  39646. pTDefRegMap(@Self)^.clr := $00000040;
  39647. end;
  39648. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  39649. begin
  39650. if thebits = 0 then
  39651. pTDefRegMap(@Self)^.clr := $00000040
  39652. else
  39653. pTDefRegMap(@Self)^.&set := $00000040;
  39654. end;
  39655. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  39656. begin
  39657. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39658. end;
  39659. procedure TUSB_U1TOK.setPID3; inline;
  39660. begin
  39661. pTDefRegMap(@Self)^.&set := $00000080;
  39662. end;
  39663. procedure TUSB_U1TOK.clearPID3; inline;
  39664. begin
  39665. pTDefRegMap(@Self)^.clr := $00000080;
  39666. end;
  39667. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  39668. begin
  39669. if thebits = 0 then
  39670. pTDefRegMap(@Self)^.clr := $00000080
  39671. else
  39672. pTDefRegMap(@Self)^.&set := $00000080;
  39673. end;
  39674. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  39675. begin
  39676. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39677. end;
  39678. procedure TUSB_ANSELB.setANSB0; inline;
  39679. begin
  39680. pTDefRegMap(@Self)^.&set := $00000001;
  39681. end;
  39682. procedure TUSB_ANSELB.clearANSB0; inline;
  39683. begin
  39684. pTDefRegMap(@Self)^.clr := $00000001;
  39685. end;
  39686. procedure TUSB_ANSELB.setANSB0(thebits : TBits_1); inline;
  39687. begin
  39688. if thebits = 0 then
  39689. pTDefRegMap(@Self)^.clr := $00000001
  39690. else
  39691. pTDefRegMap(@Self)^.&set := $00000001;
  39692. end;
  39693. function TUSB_ANSELB.getANSB0 : TBits_1; inline;
  39694. begin
  39695. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39696. end;
  39697. procedure TUSB_ANSELB.setANSB1; inline;
  39698. begin
  39699. pTDefRegMap(@Self)^.&set := $00000002;
  39700. end;
  39701. procedure TUSB_ANSELB.clearANSB1; inline;
  39702. begin
  39703. pTDefRegMap(@Self)^.clr := $00000002;
  39704. end;
  39705. procedure TUSB_ANSELB.setANSB1(thebits : TBits_1); inline;
  39706. begin
  39707. if thebits = 0 then
  39708. pTDefRegMap(@Self)^.clr := $00000002
  39709. else
  39710. pTDefRegMap(@Self)^.&set := $00000002;
  39711. end;
  39712. function TUSB_ANSELB.getANSB1 : TBits_1; inline;
  39713. begin
  39714. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39715. end;
  39716. procedure TUSB_ANSELB.setANSB2; inline;
  39717. begin
  39718. pTDefRegMap(@Self)^.&set := $00000004;
  39719. end;
  39720. procedure TUSB_ANSELB.clearANSB2; inline;
  39721. begin
  39722. pTDefRegMap(@Self)^.clr := $00000004;
  39723. end;
  39724. procedure TUSB_ANSELB.setANSB2(thebits : TBits_1); inline;
  39725. begin
  39726. if thebits = 0 then
  39727. pTDefRegMap(@Self)^.clr := $00000004
  39728. else
  39729. pTDefRegMap(@Self)^.&set := $00000004;
  39730. end;
  39731. function TUSB_ANSELB.getANSB2 : TBits_1; inline;
  39732. begin
  39733. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39734. end;
  39735. procedure TUSB_ANSELB.setANSB3; inline;
  39736. begin
  39737. pTDefRegMap(@Self)^.&set := $00000008;
  39738. end;
  39739. procedure TUSB_ANSELB.clearANSB3; inline;
  39740. begin
  39741. pTDefRegMap(@Self)^.clr := $00000008;
  39742. end;
  39743. procedure TUSB_ANSELB.setANSB3(thebits : TBits_1); inline;
  39744. begin
  39745. if thebits = 0 then
  39746. pTDefRegMap(@Self)^.clr := $00000008
  39747. else
  39748. pTDefRegMap(@Self)^.&set := $00000008;
  39749. end;
  39750. function TUSB_ANSELB.getANSB3 : TBits_1; inline;
  39751. begin
  39752. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39753. end;
  39754. procedure TUSB_ANSELB.setANSB4; inline;
  39755. begin
  39756. pTDefRegMap(@Self)^.&set := $00000010;
  39757. end;
  39758. procedure TUSB_ANSELB.clearANSB4; inline;
  39759. begin
  39760. pTDefRegMap(@Self)^.clr := $00000010;
  39761. end;
  39762. procedure TUSB_ANSELB.setANSB4(thebits : TBits_1); inline;
  39763. begin
  39764. if thebits = 0 then
  39765. pTDefRegMap(@Self)^.clr := $00000010
  39766. else
  39767. pTDefRegMap(@Self)^.&set := $00000010;
  39768. end;
  39769. function TUSB_ANSELB.getANSB4 : TBits_1; inline;
  39770. begin
  39771. getANSB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39772. end;
  39773. procedure TUSB_ANSELB.setANSB5; inline;
  39774. begin
  39775. pTDefRegMap(@Self)^.&set := $00000020;
  39776. end;
  39777. procedure TUSB_ANSELB.clearANSB5; inline;
  39778. begin
  39779. pTDefRegMap(@Self)^.clr := $00000020;
  39780. end;
  39781. procedure TUSB_ANSELB.setANSB5(thebits : TBits_1); inline;
  39782. begin
  39783. if thebits = 0 then
  39784. pTDefRegMap(@Self)^.clr := $00000020
  39785. else
  39786. pTDefRegMap(@Self)^.&set := $00000020;
  39787. end;
  39788. function TUSB_ANSELB.getANSB5 : TBits_1; inline;
  39789. begin
  39790. getANSB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39791. end;
  39792. procedure TUSB_ANSELB.setANSB6; inline;
  39793. begin
  39794. pTDefRegMap(@Self)^.&set := $00000040;
  39795. end;
  39796. procedure TUSB_ANSELB.clearANSB6; inline;
  39797. begin
  39798. pTDefRegMap(@Self)^.clr := $00000040;
  39799. end;
  39800. procedure TUSB_ANSELB.setANSB6(thebits : TBits_1); inline;
  39801. begin
  39802. if thebits = 0 then
  39803. pTDefRegMap(@Self)^.clr := $00000040
  39804. else
  39805. pTDefRegMap(@Self)^.&set := $00000040;
  39806. end;
  39807. function TUSB_ANSELB.getANSB6 : TBits_1; inline;
  39808. begin
  39809. getANSB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39810. end;
  39811. procedure TUSB_ANSELB.setANSB7; inline;
  39812. begin
  39813. pTDefRegMap(@Self)^.&set := $00000080;
  39814. end;
  39815. procedure TUSB_ANSELB.clearANSB7; inline;
  39816. begin
  39817. pTDefRegMap(@Self)^.clr := $00000080;
  39818. end;
  39819. procedure TUSB_ANSELB.setANSB7(thebits : TBits_1); inline;
  39820. begin
  39821. if thebits = 0 then
  39822. pTDefRegMap(@Self)^.clr := $00000080
  39823. else
  39824. pTDefRegMap(@Self)^.&set := $00000080;
  39825. end;
  39826. function TUSB_ANSELB.getANSB7 : TBits_1; inline;
  39827. begin
  39828. getANSB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39829. end;
  39830. procedure TUSB_ANSELB.setANSB8; inline;
  39831. begin
  39832. pTDefRegMap(@Self)^.&set := $00000100;
  39833. end;
  39834. procedure TUSB_ANSELB.clearANSB8; inline;
  39835. begin
  39836. pTDefRegMap(@Self)^.clr := $00000100;
  39837. end;
  39838. procedure TUSB_ANSELB.setANSB8(thebits : TBits_1); inline;
  39839. begin
  39840. if thebits = 0 then
  39841. pTDefRegMap(@Self)^.clr := $00000100
  39842. else
  39843. pTDefRegMap(@Self)^.&set := $00000100;
  39844. end;
  39845. function TUSB_ANSELB.getANSB8 : TBits_1; inline;
  39846. begin
  39847. getANSB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39848. end;
  39849. procedure TUSB_ANSELB.setANSB9; inline;
  39850. begin
  39851. pTDefRegMap(@Self)^.&set := $00000200;
  39852. end;
  39853. procedure TUSB_ANSELB.clearANSB9; inline;
  39854. begin
  39855. pTDefRegMap(@Self)^.clr := $00000200;
  39856. end;
  39857. procedure TUSB_ANSELB.setANSB9(thebits : TBits_1); inline;
  39858. begin
  39859. if thebits = 0 then
  39860. pTDefRegMap(@Self)^.clr := $00000200
  39861. else
  39862. pTDefRegMap(@Self)^.&set := $00000200;
  39863. end;
  39864. function TUSB_ANSELB.getANSB9 : TBits_1; inline;
  39865. begin
  39866. getANSB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39867. end;
  39868. procedure TUSB_ANSELB.setANSB10; inline;
  39869. begin
  39870. pTDefRegMap(@Self)^.&set := $00000400;
  39871. end;
  39872. procedure TUSB_ANSELB.clearANSB10; inline;
  39873. begin
  39874. pTDefRegMap(@Self)^.clr := $00000400;
  39875. end;
  39876. procedure TUSB_ANSELB.setANSB10(thebits : TBits_1); inline;
  39877. begin
  39878. if thebits = 0 then
  39879. pTDefRegMap(@Self)^.clr := $00000400
  39880. else
  39881. pTDefRegMap(@Self)^.&set := $00000400;
  39882. end;
  39883. function TUSB_ANSELB.getANSB10 : TBits_1; inline;
  39884. begin
  39885. getANSB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39886. end;
  39887. procedure TUSB_ANSELB.setANSB11; inline;
  39888. begin
  39889. pTDefRegMap(@Self)^.&set := $00000800;
  39890. end;
  39891. procedure TUSB_ANSELB.clearANSB11; inline;
  39892. begin
  39893. pTDefRegMap(@Self)^.clr := $00000800;
  39894. end;
  39895. procedure TUSB_ANSELB.setANSB11(thebits : TBits_1); inline;
  39896. begin
  39897. if thebits = 0 then
  39898. pTDefRegMap(@Self)^.clr := $00000800
  39899. else
  39900. pTDefRegMap(@Self)^.&set := $00000800;
  39901. end;
  39902. function TUSB_ANSELB.getANSB11 : TBits_1; inline;
  39903. begin
  39904. getANSB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39905. end;
  39906. procedure TUSB_ANSELB.setANSB12; inline;
  39907. begin
  39908. pTDefRegMap(@Self)^.&set := $00001000;
  39909. end;
  39910. procedure TUSB_ANSELB.clearANSB12; inline;
  39911. begin
  39912. pTDefRegMap(@Self)^.clr := $00001000;
  39913. end;
  39914. procedure TUSB_ANSELB.setANSB12(thebits : TBits_1); inline;
  39915. begin
  39916. if thebits = 0 then
  39917. pTDefRegMap(@Self)^.clr := $00001000
  39918. else
  39919. pTDefRegMap(@Self)^.&set := $00001000;
  39920. end;
  39921. function TUSB_ANSELB.getANSB12 : TBits_1; inline;
  39922. begin
  39923. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39924. end;
  39925. procedure TUSB_ANSELB.setANSB13; inline;
  39926. begin
  39927. pTDefRegMap(@Self)^.&set := $00002000;
  39928. end;
  39929. procedure TUSB_ANSELB.clearANSB13; inline;
  39930. begin
  39931. pTDefRegMap(@Self)^.clr := $00002000;
  39932. end;
  39933. procedure TUSB_ANSELB.setANSB13(thebits : TBits_1); inline;
  39934. begin
  39935. if thebits = 0 then
  39936. pTDefRegMap(@Self)^.clr := $00002000
  39937. else
  39938. pTDefRegMap(@Self)^.&set := $00002000;
  39939. end;
  39940. function TUSB_ANSELB.getANSB13 : TBits_1; inline;
  39941. begin
  39942. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39943. end;
  39944. procedure TUSB_ANSELB.setANSB14; inline;
  39945. begin
  39946. pTDefRegMap(@Self)^.&set := $00004000;
  39947. end;
  39948. procedure TUSB_ANSELB.clearANSB14; inline;
  39949. begin
  39950. pTDefRegMap(@Self)^.clr := $00004000;
  39951. end;
  39952. procedure TUSB_ANSELB.setANSB14(thebits : TBits_1); inline;
  39953. begin
  39954. if thebits = 0 then
  39955. pTDefRegMap(@Self)^.clr := $00004000
  39956. else
  39957. pTDefRegMap(@Self)^.&set := $00004000;
  39958. end;
  39959. function TUSB_ANSELB.getANSB14 : TBits_1; inline;
  39960. begin
  39961. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39962. end;
  39963. procedure TUSB_ANSELB.setANSB15; inline;
  39964. begin
  39965. pTDefRegMap(@Self)^.&set := $00008000;
  39966. end;
  39967. procedure TUSB_ANSELB.clearANSB15; inline;
  39968. begin
  39969. pTDefRegMap(@Self)^.clr := $00008000;
  39970. end;
  39971. procedure TUSB_ANSELB.setANSB15(thebits : TBits_1); inline;
  39972. begin
  39973. if thebits = 0 then
  39974. pTDefRegMap(@Self)^.clr := $00008000
  39975. else
  39976. pTDefRegMap(@Self)^.&set := $00008000;
  39977. end;
  39978. function TUSB_ANSELB.getANSB15 : TBits_1; inline;
  39979. begin
  39980. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39981. end;
  39982. procedure TUSB_ANSELB.setw(thebits : TBits_32); inline;
  39983. begin
  39984. pTDefRegMap(@Self)^.val := thebits;
  39985. end;
  39986. function TUSB_ANSELB.getw : TBits_32; inline;
  39987. begin
  39988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39989. end;
  39990. procedure TUSB_TRISB.setTRISB0; inline;
  39991. begin
  39992. pTDefRegMap(@Self)^.&set := $00000001;
  39993. end;
  39994. procedure TUSB_TRISB.clearTRISB0; inline;
  39995. begin
  39996. pTDefRegMap(@Self)^.clr := $00000001;
  39997. end;
  39998. procedure TUSB_TRISB.setTRISB0(thebits : TBits_1); inline;
  39999. begin
  40000. if thebits = 0 then
  40001. pTDefRegMap(@Self)^.clr := $00000001
  40002. else
  40003. pTDefRegMap(@Self)^.&set := $00000001;
  40004. end;
  40005. function TUSB_TRISB.getTRISB0 : TBits_1; inline;
  40006. begin
  40007. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40008. end;
  40009. procedure TUSB_TRISB.setTRISB1; inline;
  40010. begin
  40011. pTDefRegMap(@Self)^.&set := $00000002;
  40012. end;
  40013. procedure TUSB_TRISB.clearTRISB1; inline;
  40014. begin
  40015. pTDefRegMap(@Self)^.clr := $00000002;
  40016. end;
  40017. procedure TUSB_TRISB.setTRISB1(thebits : TBits_1); inline;
  40018. begin
  40019. if thebits = 0 then
  40020. pTDefRegMap(@Self)^.clr := $00000002
  40021. else
  40022. pTDefRegMap(@Self)^.&set := $00000002;
  40023. end;
  40024. function TUSB_TRISB.getTRISB1 : TBits_1; inline;
  40025. begin
  40026. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40027. end;
  40028. procedure TUSB_TRISB.setTRISB2; inline;
  40029. begin
  40030. pTDefRegMap(@Self)^.&set := $00000004;
  40031. end;
  40032. procedure TUSB_TRISB.clearTRISB2; inline;
  40033. begin
  40034. pTDefRegMap(@Self)^.clr := $00000004;
  40035. end;
  40036. procedure TUSB_TRISB.setTRISB2(thebits : TBits_1); inline;
  40037. begin
  40038. if thebits = 0 then
  40039. pTDefRegMap(@Self)^.clr := $00000004
  40040. else
  40041. pTDefRegMap(@Self)^.&set := $00000004;
  40042. end;
  40043. function TUSB_TRISB.getTRISB2 : TBits_1; inline;
  40044. begin
  40045. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40046. end;
  40047. procedure TUSB_TRISB.setTRISB3; inline;
  40048. begin
  40049. pTDefRegMap(@Self)^.&set := $00000008;
  40050. end;
  40051. procedure TUSB_TRISB.clearTRISB3; inline;
  40052. begin
  40053. pTDefRegMap(@Self)^.clr := $00000008;
  40054. end;
  40055. procedure TUSB_TRISB.setTRISB3(thebits : TBits_1); inline;
  40056. begin
  40057. if thebits = 0 then
  40058. pTDefRegMap(@Self)^.clr := $00000008
  40059. else
  40060. pTDefRegMap(@Self)^.&set := $00000008;
  40061. end;
  40062. function TUSB_TRISB.getTRISB3 : TBits_1; inline;
  40063. begin
  40064. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40065. end;
  40066. procedure TUSB_TRISB.setTRISB4; inline;
  40067. begin
  40068. pTDefRegMap(@Self)^.&set := $00000010;
  40069. end;
  40070. procedure TUSB_TRISB.clearTRISB4; inline;
  40071. begin
  40072. pTDefRegMap(@Self)^.clr := $00000010;
  40073. end;
  40074. procedure TUSB_TRISB.setTRISB4(thebits : TBits_1); inline;
  40075. begin
  40076. if thebits = 0 then
  40077. pTDefRegMap(@Self)^.clr := $00000010
  40078. else
  40079. pTDefRegMap(@Self)^.&set := $00000010;
  40080. end;
  40081. function TUSB_TRISB.getTRISB4 : TBits_1; inline;
  40082. begin
  40083. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40084. end;
  40085. procedure TUSB_TRISB.setTRISB5; inline;
  40086. begin
  40087. pTDefRegMap(@Self)^.&set := $00000020;
  40088. end;
  40089. procedure TUSB_TRISB.clearTRISB5; inline;
  40090. begin
  40091. pTDefRegMap(@Self)^.clr := $00000020;
  40092. end;
  40093. procedure TUSB_TRISB.setTRISB5(thebits : TBits_1); inline;
  40094. begin
  40095. if thebits = 0 then
  40096. pTDefRegMap(@Self)^.clr := $00000020
  40097. else
  40098. pTDefRegMap(@Self)^.&set := $00000020;
  40099. end;
  40100. function TUSB_TRISB.getTRISB5 : TBits_1; inline;
  40101. begin
  40102. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40103. end;
  40104. procedure TUSB_TRISB.setTRISB6; inline;
  40105. begin
  40106. pTDefRegMap(@Self)^.&set := $00000040;
  40107. end;
  40108. procedure TUSB_TRISB.clearTRISB6; inline;
  40109. begin
  40110. pTDefRegMap(@Self)^.clr := $00000040;
  40111. end;
  40112. procedure TUSB_TRISB.setTRISB6(thebits : TBits_1); inline;
  40113. begin
  40114. if thebits = 0 then
  40115. pTDefRegMap(@Self)^.clr := $00000040
  40116. else
  40117. pTDefRegMap(@Self)^.&set := $00000040;
  40118. end;
  40119. function TUSB_TRISB.getTRISB6 : TBits_1; inline;
  40120. begin
  40121. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40122. end;
  40123. procedure TUSB_TRISB.setTRISB7; inline;
  40124. begin
  40125. pTDefRegMap(@Self)^.&set := $00000080;
  40126. end;
  40127. procedure TUSB_TRISB.clearTRISB7; inline;
  40128. begin
  40129. pTDefRegMap(@Self)^.clr := $00000080;
  40130. end;
  40131. procedure TUSB_TRISB.setTRISB7(thebits : TBits_1); inline;
  40132. begin
  40133. if thebits = 0 then
  40134. pTDefRegMap(@Self)^.clr := $00000080
  40135. else
  40136. pTDefRegMap(@Self)^.&set := $00000080;
  40137. end;
  40138. function TUSB_TRISB.getTRISB7 : TBits_1; inline;
  40139. begin
  40140. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40141. end;
  40142. procedure TUSB_TRISB.setTRISB8; inline;
  40143. begin
  40144. pTDefRegMap(@Self)^.&set := $00000100;
  40145. end;
  40146. procedure TUSB_TRISB.clearTRISB8; inline;
  40147. begin
  40148. pTDefRegMap(@Self)^.clr := $00000100;
  40149. end;
  40150. procedure TUSB_TRISB.setTRISB8(thebits : TBits_1); inline;
  40151. begin
  40152. if thebits = 0 then
  40153. pTDefRegMap(@Self)^.clr := $00000100
  40154. else
  40155. pTDefRegMap(@Self)^.&set := $00000100;
  40156. end;
  40157. function TUSB_TRISB.getTRISB8 : TBits_1; inline;
  40158. begin
  40159. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40160. end;
  40161. procedure TUSB_TRISB.setTRISB9; inline;
  40162. begin
  40163. pTDefRegMap(@Self)^.&set := $00000200;
  40164. end;
  40165. procedure TUSB_TRISB.clearTRISB9; inline;
  40166. begin
  40167. pTDefRegMap(@Self)^.clr := $00000200;
  40168. end;
  40169. procedure TUSB_TRISB.setTRISB9(thebits : TBits_1); inline;
  40170. begin
  40171. if thebits = 0 then
  40172. pTDefRegMap(@Self)^.clr := $00000200
  40173. else
  40174. pTDefRegMap(@Self)^.&set := $00000200;
  40175. end;
  40176. function TUSB_TRISB.getTRISB9 : TBits_1; inline;
  40177. begin
  40178. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40179. end;
  40180. procedure TUSB_TRISB.setTRISB10; inline;
  40181. begin
  40182. pTDefRegMap(@Self)^.&set := $00000400;
  40183. end;
  40184. procedure TUSB_TRISB.clearTRISB10; inline;
  40185. begin
  40186. pTDefRegMap(@Self)^.clr := $00000400;
  40187. end;
  40188. procedure TUSB_TRISB.setTRISB10(thebits : TBits_1); inline;
  40189. begin
  40190. if thebits = 0 then
  40191. pTDefRegMap(@Self)^.clr := $00000400
  40192. else
  40193. pTDefRegMap(@Self)^.&set := $00000400;
  40194. end;
  40195. function TUSB_TRISB.getTRISB10 : TBits_1; inline;
  40196. begin
  40197. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40198. end;
  40199. procedure TUSB_TRISB.setTRISB11; inline;
  40200. begin
  40201. pTDefRegMap(@Self)^.&set := $00000800;
  40202. end;
  40203. procedure TUSB_TRISB.clearTRISB11; inline;
  40204. begin
  40205. pTDefRegMap(@Self)^.clr := $00000800;
  40206. end;
  40207. procedure TUSB_TRISB.setTRISB11(thebits : TBits_1); inline;
  40208. begin
  40209. if thebits = 0 then
  40210. pTDefRegMap(@Self)^.clr := $00000800
  40211. else
  40212. pTDefRegMap(@Self)^.&set := $00000800;
  40213. end;
  40214. function TUSB_TRISB.getTRISB11 : TBits_1; inline;
  40215. begin
  40216. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  40217. end;
  40218. procedure TUSB_TRISB.setTRISB12; inline;
  40219. begin
  40220. pTDefRegMap(@Self)^.&set := $00001000;
  40221. end;
  40222. procedure TUSB_TRISB.clearTRISB12; inline;
  40223. begin
  40224. pTDefRegMap(@Self)^.clr := $00001000;
  40225. end;
  40226. procedure TUSB_TRISB.setTRISB12(thebits : TBits_1); inline;
  40227. begin
  40228. if thebits = 0 then
  40229. pTDefRegMap(@Self)^.clr := $00001000
  40230. else
  40231. pTDefRegMap(@Self)^.&set := $00001000;
  40232. end;
  40233. function TUSB_TRISB.getTRISB12 : TBits_1; inline;
  40234. begin
  40235. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40236. end;
  40237. procedure TUSB_TRISB.setTRISB13; inline;
  40238. begin
  40239. pTDefRegMap(@Self)^.&set := $00002000;
  40240. end;
  40241. procedure TUSB_TRISB.clearTRISB13; inline;
  40242. begin
  40243. pTDefRegMap(@Self)^.clr := $00002000;
  40244. end;
  40245. procedure TUSB_TRISB.setTRISB13(thebits : TBits_1); inline;
  40246. begin
  40247. if thebits = 0 then
  40248. pTDefRegMap(@Self)^.clr := $00002000
  40249. else
  40250. pTDefRegMap(@Self)^.&set := $00002000;
  40251. end;
  40252. function TUSB_TRISB.getTRISB13 : TBits_1; inline;
  40253. begin
  40254. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40255. end;
  40256. procedure TUSB_TRISB.setTRISB14; inline;
  40257. begin
  40258. pTDefRegMap(@Self)^.&set := $00004000;
  40259. end;
  40260. procedure TUSB_TRISB.clearTRISB14; inline;
  40261. begin
  40262. pTDefRegMap(@Self)^.clr := $00004000;
  40263. end;
  40264. procedure TUSB_TRISB.setTRISB14(thebits : TBits_1); inline;
  40265. begin
  40266. if thebits = 0 then
  40267. pTDefRegMap(@Self)^.clr := $00004000
  40268. else
  40269. pTDefRegMap(@Self)^.&set := $00004000;
  40270. end;
  40271. function TUSB_TRISB.getTRISB14 : TBits_1; inline;
  40272. begin
  40273. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40274. end;
  40275. procedure TUSB_TRISB.setTRISB15; inline;
  40276. begin
  40277. pTDefRegMap(@Self)^.&set := $00008000;
  40278. end;
  40279. procedure TUSB_TRISB.clearTRISB15; inline;
  40280. begin
  40281. pTDefRegMap(@Self)^.clr := $00008000;
  40282. end;
  40283. procedure TUSB_TRISB.setTRISB15(thebits : TBits_1); inline;
  40284. begin
  40285. if thebits = 0 then
  40286. pTDefRegMap(@Self)^.clr := $00008000
  40287. else
  40288. pTDefRegMap(@Self)^.&set := $00008000;
  40289. end;
  40290. function TUSB_TRISB.getTRISB15 : TBits_1; inline;
  40291. begin
  40292. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40293. end;
  40294. procedure TUSB_TRISB.setw(thebits : TBits_32); inline;
  40295. begin
  40296. pTDefRegMap(@Self)^.val := thebits;
  40297. end;
  40298. function TUSB_TRISB.getw : TBits_32; inline;
  40299. begin
  40300. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40301. end;
  40302. procedure TPORTB_PORTB.setRB0; inline;
  40303. begin
  40304. pTDefRegMap(@Self)^.&set := $00000001;
  40305. end;
  40306. procedure TPORTB_PORTB.clearRB0; inline;
  40307. begin
  40308. pTDefRegMap(@Self)^.clr := $00000001;
  40309. end;
  40310. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  40311. begin
  40312. if thebits = 0 then
  40313. pTDefRegMap(@Self)^.clr := $00000001
  40314. else
  40315. pTDefRegMap(@Self)^.&set := $00000001;
  40316. end;
  40317. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  40318. begin
  40319. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40320. end;
  40321. procedure TPORTB_PORTB.setRB1; inline;
  40322. begin
  40323. pTDefRegMap(@Self)^.&set := $00000002;
  40324. end;
  40325. procedure TPORTB_PORTB.clearRB1; inline;
  40326. begin
  40327. pTDefRegMap(@Self)^.clr := $00000002;
  40328. end;
  40329. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  40330. begin
  40331. if thebits = 0 then
  40332. pTDefRegMap(@Self)^.clr := $00000002
  40333. else
  40334. pTDefRegMap(@Self)^.&set := $00000002;
  40335. end;
  40336. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  40337. begin
  40338. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40339. end;
  40340. procedure TPORTB_PORTB.setRB2; inline;
  40341. begin
  40342. pTDefRegMap(@Self)^.&set := $00000004;
  40343. end;
  40344. procedure TPORTB_PORTB.clearRB2; inline;
  40345. begin
  40346. pTDefRegMap(@Self)^.clr := $00000004;
  40347. end;
  40348. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  40349. begin
  40350. if thebits = 0 then
  40351. pTDefRegMap(@Self)^.clr := $00000004
  40352. else
  40353. pTDefRegMap(@Self)^.&set := $00000004;
  40354. end;
  40355. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  40356. begin
  40357. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40358. end;
  40359. procedure TPORTB_PORTB.setRB3; inline;
  40360. begin
  40361. pTDefRegMap(@Self)^.&set := $00000008;
  40362. end;
  40363. procedure TPORTB_PORTB.clearRB3; inline;
  40364. begin
  40365. pTDefRegMap(@Self)^.clr := $00000008;
  40366. end;
  40367. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  40368. begin
  40369. if thebits = 0 then
  40370. pTDefRegMap(@Self)^.clr := $00000008
  40371. else
  40372. pTDefRegMap(@Self)^.&set := $00000008;
  40373. end;
  40374. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  40375. begin
  40376. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40377. end;
  40378. procedure TPORTB_PORTB.setRB4; inline;
  40379. begin
  40380. pTDefRegMap(@Self)^.&set := $00000010;
  40381. end;
  40382. procedure TPORTB_PORTB.clearRB4; inline;
  40383. begin
  40384. pTDefRegMap(@Self)^.clr := $00000010;
  40385. end;
  40386. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  40387. begin
  40388. if thebits = 0 then
  40389. pTDefRegMap(@Self)^.clr := $00000010
  40390. else
  40391. pTDefRegMap(@Self)^.&set := $00000010;
  40392. end;
  40393. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  40394. begin
  40395. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40396. end;
  40397. procedure TPORTB_PORTB.setRB5; inline;
  40398. begin
  40399. pTDefRegMap(@Self)^.&set := $00000020;
  40400. end;
  40401. procedure TPORTB_PORTB.clearRB5; inline;
  40402. begin
  40403. pTDefRegMap(@Self)^.clr := $00000020;
  40404. end;
  40405. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  40406. begin
  40407. if thebits = 0 then
  40408. pTDefRegMap(@Self)^.clr := $00000020
  40409. else
  40410. pTDefRegMap(@Self)^.&set := $00000020;
  40411. end;
  40412. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  40413. begin
  40414. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40415. end;
  40416. procedure TPORTB_PORTB.setRB6; inline;
  40417. begin
  40418. pTDefRegMap(@Self)^.&set := $00000040;
  40419. end;
  40420. procedure TPORTB_PORTB.clearRB6; inline;
  40421. begin
  40422. pTDefRegMap(@Self)^.clr := $00000040;
  40423. end;
  40424. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  40425. begin
  40426. if thebits = 0 then
  40427. pTDefRegMap(@Self)^.clr := $00000040
  40428. else
  40429. pTDefRegMap(@Self)^.&set := $00000040;
  40430. end;
  40431. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  40432. begin
  40433. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40434. end;
  40435. procedure TPORTB_PORTB.setRB7; inline;
  40436. begin
  40437. pTDefRegMap(@Self)^.&set := $00000080;
  40438. end;
  40439. procedure TPORTB_PORTB.clearRB7; inline;
  40440. begin
  40441. pTDefRegMap(@Self)^.clr := $00000080;
  40442. end;
  40443. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  40444. begin
  40445. if thebits = 0 then
  40446. pTDefRegMap(@Self)^.clr := $00000080
  40447. else
  40448. pTDefRegMap(@Self)^.&set := $00000080;
  40449. end;
  40450. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  40451. begin
  40452. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40453. end;
  40454. procedure TPORTB_PORTB.setRB8; inline;
  40455. begin
  40456. pTDefRegMap(@Self)^.&set := $00000100;
  40457. end;
  40458. procedure TPORTB_PORTB.clearRB8; inline;
  40459. begin
  40460. pTDefRegMap(@Self)^.clr := $00000100;
  40461. end;
  40462. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  40463. begin
  40464. if thebits = 0 then
  40465. pTDefRegMap(@Self)^.clr := $00000100
  40466. else
  40467. pTDefRegMap(@Self)^.&set := $00000100;
  40468. end;
  40469. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  40470. begin
  40471. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40472. end;
  40473. procedure TPORTB_PORTB.setRB9; inline;
  40474. begin
  40475. pTDefRegMap(@Self)^.&set := $00000200;
  40476. end;
  40477. procedure TPORTB_PORTB.clearRB9; inline;
  40478. begin
  40479. pTDefRegMap(@Self)^.clr := $00000200;
  40480. end;
  40481. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  40482. begin
  40483. if thebits = 0 then
  40484. pTDefRegMap(@Self)^.clr := $00000200
  40485. else
  40486. pTDefRegMap(@Self)^.&set := $00000200;
  40487. end;
  40488. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  40489. begin
  40490. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40491. end;
  40492. procedure TPORTB_PORTB.setRB10; inline;
  40493. begin
  40494. pTDefRegMap(@Self)^.&set := $00000400;
  40495. end;
  40496. procedure TPORTB_PORTB.clearRB10; inline;
  40497. begin
  40498. pTDefRegMap(@Self)^.clr := $00000400;
  40499. end;
  40500. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  40501. begin
  40502. if thebits = 0 then
  40503. pTDefRegMap(@Self)^.clr := $00000400
  40504. else
  40505. pTDefRegMap(@Self)^.&set := $00000400;
  40506. end;
  40507. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  40508. begin
  40509. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40510. end;
  40511. procedure TPORTB_PORTB.setRB11; inline;
  40512. begin
  40513. pTDefRegMap(@Self)^.&set := $00000800;
  40514. end;
  40515. procedure TPORTB_PORTB.clearRB11; inline;
  40516. begin
  40517. pTDefRegMap(@Self)^.clr := $00000800;
  40518. end;
  40519. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  40520. begin
  40521. if thebits = 0 then
  40522. pTDefRegMap(@Self)^.clr := $00000800
  40523. else
  40524. pTDefRegMap(@Self)^.&set := $00000800;
  40525. end;
  40526. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  40527. begin
  40528. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  40529. end;
  40530. procedure TPORTB_PORTB.setRB12; inline;
  40531. begin
  40532. pTDefRegMap(@Self)^.&set := $00001000;
  40533. end;
  40534. procedure TPORTB_PORTB.clearRB12; inline;
  40535. begin
  40536. pTDefRegMap(@Self)^.clr := $00001000;
  40537. end;
  40538. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  40539. begin
  40540. if thebits = 0 then
  40541. pTDefRegMap(@Self)^.clr := $00001000
  40542. else
  40543. pTDefRegMap(@Self)^.&set := $00001000;
  40544. end;
  40545. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  40546. begin
  40547. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40548. end;
  40549. procedure TPORTB_PORTB.setRB13; inline;
  40550. begin
  40551. pTDefRegMap(@Self)^.&set := $00002000;
  40552. end;
  40553. procedure TPORTB_PORTB.clearRB13; inline;
  40554. begin
  40555. pTDefRegMap(@Self)^.clr := $00002000;
  40556. end;
  40557. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  40558. begin
  40559. if thebits = 0 then
  40560. pTDefRegMap(@Self)^.clr := $00002000
  40561. else
  40562. pTDefRegMap(@Self)^.&set := $00002000;
  40563. end;
  40564. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  40565. begin
  40566. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40567. end;
  40568. procedure TPORTB_PORTB.setRB14; inline;
  40569. begin
  40570. pTDefRegMap(@Self)^.&set := $00004000;
  40571. end;
  40572. procedure TPORTB_PORTB.clearRB14; inline;
  40573. begin
  40574. pTDefRegMap(@Self)^.clr := $00004000;
  40575. end;
  40576. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  40577. begin
  40578. if thebits = 0 then
  40579. pTDefRegMap(@Self)^.clr := $00004000
  40580. else
  40581. pTDefRegMap(@Self)^.&set := $00004000;
  40582. end;
  40583. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  40584. begin
  40585. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40586. end;
  40587. procedure TPORTB_PORTB.setRB15; inline;
  40588. begin
  40589. pTDefRegMap(@Self)^.&set := $00008000;
  40590. end;
  40591. procedure TPORTB_PORTB.clearRB15; inline;
  40592. begin
  40593. pTDefRegMap(@Self)^.clr := $00008000;
  40594. end;
  40595. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  40596. begin
  40597. if thebits = 0 then
  40598. pTDefRegMap(@Self)^.clr := $00008000
  40599. else
  40600. pTDefRegMap(@Self)^.&set := $00008000;
  40601. end;
  40602. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  40603. begin
  40604. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40605. end;
  40606. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  40607. begin
  40608. pTDefRegMap(@Self)^.val := thebits;
  40609. end;
  40610. function TPORTB_PORTB.getw : TBits_32; inline;
  40611. begin
  40612. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40613. end;
  40614. procedure TPORTB_LATB.setLATB0; inline;
  40615. begin
  40616. pTDefRegMap(@Self)^.&set := $00000001;
  40617. end;
  40618. procedure TPORTB_LATB.clearLATB0; inline;
  40619. begin
  40620. pTDefRegMap(@Self)^.clr := $00000001;
  40621. end;
  40622. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  40623. begin
  40624. if thebits = 0 then
  40625. pTDefRegMap(@Self)^.clr := $00000001
  40626. else
  40627. pTDefRegMap(@Self)^.&set := $00000001;
  40628. end;
  40629. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  40630. begin
  40631. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40632. end;
  40633. procedure TPORTB_LATB.setLATB1; inline;
  40634. begin
  40635. pTDefRegMap(@Self)^.&set := $00000002;
  40636. end;
  40637. procedure TPORTB_LATB.clearLATB1; inline;
  40638. begin
  40639. pTDefRegMap(@Self)^.clr := $00000002;
  40640. end;
  40641. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  40642. begin
  40643. if thebits = 0 then
  40644. pTDefRegMap(@Self)^.clr := $00000002
  40645. else
  40646. pTDefRegMap(@Self)^.&set := $00000002;
  40647. end;
  40648. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  40649. begin
  40650. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40651. end;
  40652. procedure TPORTB_LATB.setLATB2; inline;
  40653. begin
  40654. pTDefRegMap(@Self)^.&set := $00000004;
  40655. end;
  40656. procedure TPORTB_LATB.clearLATB2; inline;
  40657. begin
  40658. pTDefRegMap(@Self)^.clr := $00000004;
  40659. end;
  40660. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  40661. begin
  40662. if thebits = 0 then
  40663. pTDefRegMap(@Self)^.clr := $00000004
  40664. else
  40665. pTDefRegMap(@Self)^.&set := $00000004;
  40666. end;
  40667. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  40668. begin
  40669. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40670. end;
  40671. procedure TPORTB_LATB.setLATB3; inline;
  40672. begin
  40673. pTDefRegMap(@Self)^.&set := $00000008;
  40674. end;
  40675. procedure TPORTB_LATB.clearLATB3; inline;
  40676. begin
  40677. pTDefRegMap(@Self)^.clr := $00000008;
  40678. end;
  40679. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  40680. begin
  40681. if thebits = 0 then
  40682. pTDefRegMap(@Self)^.clr := $00000008
  40683. else
  40684. pTDefRegMap(@Self)^.&set := $00000008;
  40685. end;
  40686. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  40687. begin
  40688. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40689. end;
  40690. procedure TPORTB_LATB.setLATB4; inline;
  40691. begin
  40692. pTDefRegMap(@Self)^.&set := $00000010;
  40693. end;
  40694. procedure TPORTB_LATB.clearLATB4; inline;
  40695. begin
  40696. pTDefRegMap(@Self)^.clr := $00000010;
  40697. end;
  40698. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  40699. begin
  40700. if thebits = 0 then
  40701. pTDefRegMap(@Self)^.clr := $00000010
  40702. else
  40703. pTDefRegMap(@Self)^.&set := $00000010;
  40704. end;
  40705. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  40706. begin
  40707. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40708. end;
  40709. procedure TPORTB_LATB.setLATB5; inline;
  40710. begin
  40711. pTDefRegMap(@Self)^.&set := $00000020;
  40712. end;
  40713. procedure TPORTB_LATB.clearLATB5; inline;
  40714. begin
  40715. pTDefRegMap(@Self)^.clr := $00000020;
  40716. end;
  40717. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  40718. begin
  40719. if thebits = 0 then
  40720. pTDefRegMap(@Self)^.clr := $00000020
  40721. else
  40722. pTDefRegMap(@Self)^.&set := $00000020;
  40723. end;
  40724. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  40725. begin
  40726. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40727. end;
  40728. procedure TPORTB_LATB.setLATB6; inline;
  40729. begin
  40730. pTDefRegMap(@Self)^.&set := $00000040;
  40731. end;
  40732. procedure TPORTB_LATB.clearLATB6; inline;
  40733. begin
  40734. pTDefRegMap(@Self)^.clr := $00000040;
  40735. end;
  40736. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  40737. begin
  40738. if thebits = 0 then
  40739. pTDefRegMap(@Self)^.clr := $00000040
  40740. else
  40741. pTDefRegMap(@Self)^.&set := $00000040;
  40742. end;
  40743. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  40744. begin
  40745. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40746. end;
  40747. procedure TPORTB_LATB.setLATB7; inline;
  40748. begin
  40749. pTDefRegMap(@Self)^.&set := $00000080;
  40750. end;
  40751. procedure TPORTB_LATB.clearLATB7; inline;
  40752. begin
  40753. pTDefRegMap(@Self)^.clr := $00000080;
  40754. end;
  40755. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  40756. begin
  40757. if thebits = 0 then
  40758. pTDefRegMap(@Self)^.clr := $00000080
  40759. else
  40760. pTDefRegMap(@Self)^.&set := $00000080;
  40761. end;
  40762. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  40763. begin
  40764. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40765. end;
  40766. procedure TPORTB_LATB.setLATB8; inline;
  40767. begin
  40768. pTDefRegMap(@Self)^.&set := $00000100;
  40769. end;
  40770. procedure TPORTB_LATB.clearLATB8; inline;
  40771. begin
  40772. pTDefRegMap(@Self)^.clr := $00000100;
  40773. end;
  40774. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  40775. begin
  40776. if thebits = 0 then
  40777. pTDefRegMap(@Self)^.clr := $00000100
  40778. else
  40779. pTDefRegMap(@Self)^.&set := $00000100;
  40780. end;
  40781. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  40782. begin
  40783. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40784. end;
  40785. procedure TPORTB_LATB.setLATB9; inline;
  40786. begin
  40787. pTDefRegMap(@Self)^.&set := $00000200;
  40788. end;
  40789. procedure TPORTB_LATB.clearLATB9; inline;
  40790. begin
  40791. pTDefRegMap(@Self)^.clr := $00000200;
  40792. end;
  40793. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  40794. begin
  40795. if thebits = 0 then
  40796. pTDefRegMap(@Self)^.clr := $00000200
  40797. else
  40798. pTDefRegMap(@Self)^.&set := $00000200;
  40799. end;
  40800. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  40801. begin
  40802. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40803. end;
  40804. procedure TPORTB_LATB.setLATB10; inline;
  40805. begin
  40806. pTDefRegMap(@Self)^.&set := $00000400;
  40807. end;
  40808. procedure TPORTB_LATB.clearLATB10; inline;
  40809. begin
  40810. pTDefRegMap(@Self)^.clr := $00000400;
  40811. end;
  40812. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  40813. begin
  40814. if thebits = 0 then
  40815. pTDefRegMap(@Self)^.clr := $00000400
  40816. else
  40817. pTDefRegMap(@Self)^.&set := $00000400;
  40818. end;
  40819. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  40820. begin
  40821. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40822. end;
  40823. procedure TPORTB_LATB.setLATB11; inline;
  40824. begin
  40825. pTDefRegMap(@Self)^.&set := $00000800;
  40826. end;
  40827. procedure TPORTB_LATB.clearLATB11; inline;
  40828. begin
  40829. pTDefRegMap(@Self)^.clr := $00000800;
  40830. end;
  40831. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  40832. begin
  40833. if thebits = 0 then
  40834. pTDefRegMap(@Self)^.clr := $00000800
  40835. else
  40836. pTDefRegMap(@Self)^.&set := $00000800;
  40837. end;
  40838. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  40839. begin
  40840. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  40841. end;
  40842. procedure TPORTB_LATB.setLATB12; inline;
  40843. begin
  40844. pTDefRegMap(@Self)^.&set := $00001000;
  40845. end;
  40846. procedure TPORTB_LATB.clearLATB12; inline;
  40847. begin
  40848. pTDefRegMap(@Self)^.clr := $00001000;
  40849. end;
  40850. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  40851. begin
  40852. if thebits = 0 then
  40853. pTDefRegMap(@Self)^.clr := $00001000
  40854. else
  40855. pTDefRegMap(@Self)^.&set := $00001000;
  40856. end;
  40857. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  40858. begin
  40859. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40860. end;
  40861. procedure TPORTB_LATB.setLATB13; inline;
  40862. begin
  40863. pTDefRegMap(@Self)^.&set := $00002000;
  40864. end;
  40865. procedure TPORTB_LATB.clearLATB13; inline;
  40866. begin
  40867. pTDefRegMap(@Self)^.clr := $00002000;
  40868. end;
  40869. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  40870. begin
  40871. if thebits = 0 then
  40872. pTDefRegMap(@Self)^.clr := $00002000
  40873. else
  40874. pTDefRegMap(@Self)^.&set := $00002000;
  40875. end;
  40876. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  40877. begin
  40878. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40879. end;
  40880. procedure TPORTB_LATB.setLATB14; inline;
  40881. begin
  40882. pTDefRegMap(@Self)^.&set := $00004000;
  40883. end;
  40884. procedure TPORTB_LATB.clearLATB14; inline;
  40885. begin
  40886. pTDefRegMap(@Self)^.clr := $00004000;
  40887. end;
  40888. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  40889. begin
  40890. if thebits = 0 then
  40891. pTDefRegMap(@Self)^.clr := $00004000
  40892. else
  40893. pTDefRegMap(@Self)^.&set := $00004000;
  40894. end;
  40895. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  40896. begin
  40897. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40898. end;
  40899. procedure TPORTB_LATB.setLATB15; inline;
  40900. begin
  40901. pTDefRegMap(@Self)^.&set := $00008000;
  40902. end;
  40903. procedure TPORTB_LATB.clearLATB15; inline;
  40904. begin
  40905. pTDefRegMap(@Self)^.clr := $00008000;
  40906. end;
  40907. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  40908. begin
  40909. if thebits = 0 then
  40910. pTDefRegMap(@Self)^.clr := $00008000
  40911. else
  40912. pTDefRegMap(@Self)^.&set := $00008000;
  40913. end;
  40914. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  40915. begin
  40916. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40917. end;
  40918. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  40919. begin
  40920. pTDefRegMap(@Self)^.val := thebits;
  40921. end;
  40922. function TPORTB_LATB.getw : TBits_32; inline;
  40923. begin
  40924. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40925. end;
  40926. procedure TPORTB_ODCB.setODCB0; inline;
  40927. begin
  40928. pTDefRegMap(@Self)^.&set := $00000001;
  40929. end;
  40930. procedure TPORTB_ODCB.clearODCB0; inline;
  40931. begin
  40932. pTDefRegMap(@Self)^.clr := $00000001;
  40933. end;
  40934. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  40935. begin
  40936. if thebits = 0 then
  40937. pTDefRegMap(@Self)^.clr := $00000001
  40938. else
  40939. pTDefRegMap(@Self)^.&set := $00000001;
  40940. end;
  40941. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  40942. begin
  40943. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40944. end;
  40945. procedure TPORTB_ODCB.setODCB1; inline;
  40946. begin
  40947. pTDefRegMap(@Self)^.&set := $00000002;
  40948. end;
  40949. procedure TPORTB_ODCB.clearODCB1; inline;
  40950. begin
  40951. pTDefRegMap(@Self)^.clr := $00000002;
  40952. end;
  40953. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  40954. begin
  40955. if thebits = 0 then
  40956. pTDefRegMap(@Self)^.clr := $00000002
  40957. else
  40958. pTDefRegMap(@Self)^.&set := $00000002;
  40959. end;
  40960. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  40961. begin
  40962. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40963. end;
  40964. procedure TPORTB_ODCB.setODCB2; inline;
  40965. begin
  40966. pTDefRegMap(@Self)^.&set := $00000004;
  40967. end;
  40968. procedure TPORTB_ODCB.clearODCB2; inline;
  40969. begin
  40970. pTDefRegMap(@Self)^.clr := $00000004;
  40971. end;
  40972. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  40973. begin
  40974. if thebits = 0 then
  40975. pTDefRegMap(@Self)^.clr := $00000004
  40976. else
  40977. pTDefRegMap(@Self)^.&set := $00000004;
  40978. end;
  40979. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  40980. begin
  40981. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40982. end;
  40983. procedure TPORTB_ODCB.setODCB3; inline;
  40984. begin
  40985. pTDefRegMap(@Self)^.&set := $00000008;
  40986. end;
  40987. procedure TPORTB_ODCB.clearODCB3; inline;
  40988. begin
  40989. pTDefRegMap(@Self)^.clr := $00000008;
  40990. end;
  40991. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  40992. begin
  40993. if thebits = 0 then
  40994. pTDefRegMap(@Self)^.clr := $00000008
  40995. else
  40996. pTDefRegMap(@Self)^.&set := $00000008;
  40997. end;
  40998. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  40999. begin
  41000. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41001. end;
  41002. procedure TPORTB_ODCB.setODCB4; inline;
  41003. begin
  41004. pTDefRegMap(@Self)^.&set := $00000010;
  41005. end;
  41006. procedure TPORTB_ODCB.clearODCB4; inline;
  41007. begin
  41008. pTDefRegMap(@Self)^.clr := $00000010;
  41009. end;
  41010. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  41011. begin
  41012. if thebits = 0 then
  41013. pTDefRegMap(@Self)^.clr := $00000010
  41014. else
  41015. pTDefRegMap(@Self)^.&set := $00000010;
  41016. end;
  41017. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  41018. begin
  41019. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41020. end;
  41021. procedure TPORTB_ODCB.setODCB5; inline;
  41022. begin
  41023. pTDefRegMap(@Self)^.&set := $00000020;
  41024. end;
  41025. procedure TPORTB_ODCB.clearODCB5; inline;
  41026. begin
  41027. pTDefRegMap(@Self)^.clr := $00000020;
  41028. end;
  41029. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  41030. begin
  41031. if thebits = 0 then
  41032. pTDefRegMap(@Self)^.clr := $00000020
  41033. else
  41034. pTDefRegMap(@Self)^.&set := $00000020;
  41035. end;
  41036. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  41037. begin
  41038. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41039. end;
  41040. procedure TPORTB_ODCB.setODCB6; inline;
  41041. begin
  41042. pTDefRegMap(@Self)^.&set := $00000040;
  41043. end;
  41044. procedure TPORTB_ODCB.clearODCB6; inline;
  41045. begin
  41046. pTDefRegMap(@Self)^.clr := $00000040;
  41047. end;
  41048. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  41049. begin
  41050. if thebits = 0 then
  41051. pTDefRegMap(@Self)^.clr := $00000040
  41052. else
  41053. pTDefRegMap(@Self)^.&set := $00000040;
  41054. end;
  41055. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  41056. begin
  41057. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41058. end;
  41059. procedure TPORTB_ODCB.setODCB7; inline;
  41060. begin
  41061. pTDefRegMap(@Self)^.&set := $00000080;
  41062. end;
  41063. procedure TPORTB_ODCB.clearODCB7; inline;
  41064. begin
  41065. pTDefRegMap(@Self)^.clr := $00000080;
  41066. end;
  41067. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  41068. begin
  41069. if thebits = 0 then
  41070. pTDefRegMap(@Self)^.clr := $00000080
  41071. else
  41072. pTDefRegMap(@Self)^.&set := $00000080;
  41073. end;
  41074. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  41075. begin
  41076. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41077. end;
  41078. procedure TPORTB_ODCB.setODCB8; inline;
  41079. begin
  41080. pTDefRegMap(@Self)^.&set := $00000100;
  41081. end;
  41082. procedure TPORTB_ODCB.clearODCB8; inline;
  41083. begin
  41084. pTDefRegMap(@Self)^.clr := $00000100;
  41085. end;
  41086. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  41087. begin
  41088. if thebits = 0 then
  41089. pTDefRegMap(@Self)^.clr := $00000100
  41090. else
  41091. pTDefRegMap(@Self)^.&set := $00000100;
  41092. end;
  41093. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  41094. begin
  41095. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41096. end;
  41097. procedure TPORTB_ODCB.setODCB9; inline;
  41098. begin
  41099. pTDefRegMap(@Self)^.&set := $00000200;
  41100. end;
  41101. procedure TPORTB_ODCB.clearODCB9; inline;
  41102. begin
  41103. pTDefRegMap(@Self)^.clr := $00000200;
  41104. end;
  41105. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  41106. begin
  41107. if thebits = 0 then
  41108. pTDefRegMap(@Self)^.clr := $00000200
  41109. else
  41110. pTDefRegMap(@Self)^.&set := $00000200;
  41111. end;
  41112. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  41113. begin
  41114. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41115. end;
  41116. procedure TPORTB_ODCB.setODCB10; inline;
  41117. begin
  41118. pTDefRegMap(@Self)^.&set := $00000400;
  41119. end;
  41120. procedure TPORTB_ODCB.clearODCB10; inline;
  41121. begin
  41122. pTDefRegMap(@Self)^.clr := $00000400;
  41123. end;
  41124. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  41125. begin
  41126. if thebits = 0 then
  41127. pTDefRegMap(@Self)^.clr := $00000400
  41128. else
  41129. pTDefRegMap(@Self)^.&set := $00000400;
  41130. end;
  41131. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  41132. begin
  41133. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41134. end;
  41135. procedure TPORTB_ODCB.setODCB11; inline;
  41136. begin
  41137. pTDefRegMap(@Self)^.&set := $00000800;
  41138. end;
  41139. procedure TPORTB_ODCB.clearODCB11; inline;
  41140. begin
  41141. pTDefRegMap(@Self)^.clr := $00000800;
  41142. end;
  41143. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  41144. begin
  41145. if thebits = 0 then
  41146. pTDefRegMap(@Self)^.clr := $00000800
  41147. else
  41148. pTDefRegMap(@Self)^.&set := $00000800;
  41149. end;
  41150. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  41151. begin
  41152. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41153. end;
  41154. procedure TPORTB_ODCB.setODCB12; inline;
  41155. begin
  41156. pTDefRegMap(@Self)^.&set := $00001000;
  41157. end;
  41158. procedure TPORTB_ODCB.clearODCB12; inline;
  41159. begin
  41160. pTDefRegMap(@Self)^.clr := $00001000;
  41161. end;
  41162. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  41163. begin
  41164. if thebits = 0 then
  41165. pTDefRegMap(@Self)^.clr := $00001000
  41166. else
  41167. pTDefRegMap(@Self)^.&set := $00001000;
  41168. end;
  41169. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  41170. begin
  41171. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41172. end;
  41173. procedure TPORTB_ODCB.setODCB13; inline;
  41174. begin
  41175. pTDefRegMap(@Self)^.&set := $00002000;
  41176. end;
  41177. procedure TPORTB_ODCB.clearODCB13; inline;
  41178. begin
  41179. pTDefRegMap(@Self)^.clr := $00002000;
  41180. end;
  41181. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  41182. begin
  41183. if thebits = 0 then
  41184. pTDefRegMap(@Self)^.clr := $00002000
  41185. else
  41186. pTDefRegMap(@Self)^.&set := $00002000;
  41187. end;
  41188. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  41189. begin
  41190. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41191. end;
  41192. procedure TPORTB_ODCB.setODCB14; inline;
  41193. begin
  41194. pTDefRegMap(@Self)^.&set := $00004000;
  41195. end;
  41196. procedure TPORTB_ODCB.clearODCB14; inline;
  41197. begin
  41198. pTDefRegMap(@Self)^.clr := $00004000;
  41199. end;
  41200. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  41201. begin
  41202. if thebits = 0 then
  41203. pTDefRegMap(@Self)^.clr := $00004000
  41204. else
  41205. pTDefRegMap(@Self)^.&set := $00004000;
  41206. end;
  41207. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  41208. begin
  41209. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41210. end;
  41211. procedure TPORTB_ODCB.setODCB15; inline;
  41212. begin
  41213. pTDefRegMap(@Self)^.&set := $00008000;
  41214. end;
  41215. procedure TPORTB_ODCB.clearODCB15; inline;
  41216. begin
  41217. pTDefRegMap(@Self)^.clr := $00008000;
  41218. end;
  41219. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  41220. begin
  41221. if thebits = 0 then
  41222. pTDefRegMap(@Self)^.clr := $00008000
  41223. else
  41224. pTDefRegMap(@Self)^.&set := $00008000;
  41225. end;
  41226. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  41227. begin
  41228. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41229. end;
  41230. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  41231. begin
  41232. pTDefRegMap(@Self)^.val := thebits;
  41233. end;
  41234. function TPORTB_ODCB.getw : TBits_32; inline;
  41235. begin
  41236. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41237. end;
  41238. procedure TPORTB_CNPUB.setCNPUB0; inline;
  41239. begin
  41240. pTDefRegMap(@Self)^.&set := $00000001;
  41241. end;
  41242. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  41243. begin
  41244. pTDefRegMap(@Self)^.clr := $00000001;
  41245. end;
  41246. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  41247. begin
  41248. if thebits = 0 then
  41249. pTDefRegMap(@Self)^.clr := $00000001
  41250. else
  41251. pTDefRegMap(@Self)^.&set := $00000001;
  41252. end;
  41253. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  41254. begin
  41255. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41256. end;
  41257. procedure TPORTB_CNPUB.setCNPUB1; inline;
  41258. begin
  41259. pTDefRegMap(@Self)^.&set := $00000002;
  41260. end;
  41261. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  41262. begin
  41263. pTDefRegMap(@Self)^.clr := $00000002;
  41264. end;
  41265. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  41266. begin
  41267. if thebits = 0 then
  41268. pTDefRegMap(@Self)^.clr := $00000002
  41269. else
  41270. pTDefRegMap(@Self)^.&set := $00000002;
  41271. end;
  41272. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  41273. begin
  41274. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41275. end;
  41276. procedure TPORTB_CNPUB.setCNPUB2; inline;
  41277. begin
  41278. pTDefRegMap(@Self)^.&set := $00000004;
  41279. end;
  41280. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  41281. begin
  41282. pTDefRegMap(@Self)^.clr := $00000004;
  41283. end;
  41284. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  41285. begin
  41286. if thebits = 0 then
  41287. pTDefRegMap(@Self)^.clr := $00000004
  41288. else
  41289. pTDefRegMap(@Self)^.&set := $00000004;
  41290. end;
  41291. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  41292. begin
  41293. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41294. end;
  41295. procedure TPORTB_CNPUB.setCNPUB3; inline;
  41296. begin
  41297. pTDefRegMap(@Self)^.&set := $00000008;
  41298. end;
  41299. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  41300. begin
  41301. pTDefRegMap(@Self)^.clr := $00000008;
  41302. end;
  41303. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  41304. begin
  41305. if thebits = 0 then
  41306. pTDefRegMap(@Self)^.clr := $00000008
  41307. else
  41308. pTDefRegMap(@Self)^.&set := $00000008;
  41309. end;
  41310. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  41311. begin
  41312. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41313. end;
  41314. procedure TPORTB_CNPUB.setCNPUB4; inline;
  41315. begin
  41316. pTDefRegMap(@Self)^.&set := $00000010;
  41317. end;
  41318. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  41319. begin
  41320. pTDefRegMap(@Self)^.clr := $00000010;
  41321. end;
  41322. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  41323. begin
  41324. if thebits = 0 then
  41325. pTDefRegMap(@Self)^.clr := $00000010
  41326. else
  41327. pTDefRegMap(@Self)^.&set := $00000010;
  41328. end;
  41329. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  41330. begin
  41331. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41332. end;
  41333. procedure TPORTB_CNPUB.setCNPUB5; inline;
  41334. begin
  41335. pTDefRegMap(@Self)^.&set := $00000020;
  41336. end;
  41337. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  41338. begin
  41339. pTDefRegMap(@Self)^.clr := $00000020;
  41340. end;
  41341. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  41342. begin
  41343. if thebits = 0 then
  41344. pTDefRegMap(@Self)^.clr := $00000020
  41345. else
  41346. pTDefRegMap(@Self)^.&set := $00000020;
  41347. end;
  41348. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  41349. begin
  41350. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41351. end;
  41352. procedure TPORTB_CNPUB.setCNPUB6; inline;
  41353. begin
  41354. pTDefRegMap(@Self)^.&set := $00000040;
  41355. end;
  41356. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  41357. begin
  41358. pTDefRegMap(@Self)^.clr := $00000040;
  41359. end;
  41360. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  41361. begin
  41362. if thebits = 0 then
  41363. pTDefRegMap(@Self)^.clr := $00000040
  41364. else
  41365. pTDefRegMap(@Self)^.&set := $00000040;
  41366. end;
  41367. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  41368. begin
  41369. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41370. end;
  41371. procedure TPORTB_CNPUB.setCNPUB7; inline;
  41372. begin
  41373. pTDefRegMap(@Self)^.&set := $00000080;
  41374. end;
  41375. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  41376. begin
  41377. pTDefRegMap(@Self)^.clr := $00000080;
  41378. end;
  41379. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  41380. begin
  41381. if thebits = 0 then
  41382. pTDefRegMap(@Self)^.clr := $00000080
  41383. else
  41384. pTDefRegMap(@Self)^.&set := $00000080;
  41385. end;
  41386. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  41387. begin
  41388. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41389. end;
  41390. procedure TPORTB_CNPUB.setCNPUB8; inline;
  41391. begin
  41392. pTDefRegMap(@Self)^.&set := $00000100;
  41393. end;
  41394. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  41395. begin
  41396. pTDefRegMap(@Self)^.clr := $00000100;
  41397. end;
  41398. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  41399. begin
  41400. if thebits = 0 then
  41401. pTDefRegMap(@Self)^.clr := $00000100
  41402. else
  41403. pTDefRegMap(@Self)^.&set := $00000100;
  41404. end;
  41405. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  41406. begin
  41407. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41408. end;
  41409. procedure TPORTB_CNPUB.setCNPUB9; inline;
  41410. begin
  41411. pTDefRegMap(@Self)^.&set := $00000200;
  41412. end;
  41413. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  41414. begin
  41415. pTDefRegMap(@Self)^.clr := $00000200;
  41416. end;
  41417. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  41418. begin
  41419. if thebits = 0 then
  41420. pTDefRegMap(@Self)^.clr := $00000200
  41421. else
  41422. pTDefRegMap(@Self)^.&set := $00000200;
  41423. end;
  41424. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  41425. begin
  41426. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41427. end;
  41428. procedure TPORTB_CNPUB.setCNPUB10; inline;
  41429. begin
  41430. pTDefRegMap(@Self)^.&set := $00000400;
  41431. end;
  41432. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  41433. begin
  41434. pTDefRegMap(@Self)^.clr := $00000400;
  41435. end;
  41436. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  41437. begin
  41438. if thebits = 0 then
  41439. pTDefRegMap(@Self)^.clr := $00000400
  41440. else
  41441. pTDefRegMap(@Self)^.&set := $00000400;
  41442. end;
  41443. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  41444. begin
  41445. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41446. end;
  41447. procedure TPORTB_CNPUB.setCNPUB11; inline;
  41448. begin
  41449. pTDefRegMap(@Self)^.&set := $00000800;
  41450. end;
  41451. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  41452. begin
  41453. pTDefRegMap(@Self)^.clr := $00000800;
  41454. end;
  41455. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  41456. begin
  41457. if thebits = 0 then
  41458. pTDefRegMap(@Self)^.clr := $00000800
  41459. else
  41460. pTDefRegMap(@Self)^.&set := $00000800;
  41461. end;
  41462. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  41463. begin
  41464. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41465. end;
  41466. procedure TPORTB_CNPUB.setCNPUB12; inline;
  41467. begin
  41468. pTDefRegMap(@Self)^.&set := $00001000;
  41469. end;
  41470. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  41471. begin
  41472. pTDefRegMap(@Self)^.clr := $00001000;
  41473. end;
  41474. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  41475. begin
  41476. if thebits = 0 then
  41477. pTDefRegMap(@Self)^.clr := $00001000
  41478. else
  41479. pTDefRegMap(@Self)^.&set := $00001000;
  41480. end;
  41481. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  41482. begin
  41483. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41484. end;
  41485. procedure TPORTB_CNPUB.setCNPUB13; inline;
  41486. begin
  41487. pTDefRegMap(@Self)^.&set := $00002000;
  41488. end;
  41489. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  41490. begin
  41491. pTDefRegMap(@Self)^.clr := $00002000;
  41492. end;
  41493. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  41494. begin
  41495. if thebits = 0 then
  41496. pTDefRegMap(@Self)^.clr := $00002000
  41497. else
  41498. pTDefRegMap(@Self)^.&set := $00002000;
  41499. end;
  41500. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  41501. begin
  41502. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41503. end;
  41504. procedure TPORTB_CNPUB.setCNPUB14; inline;
  41505. begin
  41506. pTDefRegMap(@Self)^.&set := $00004000;
  41507. end;
  41508. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  41509. begin
  41510. pTDefRegMap(@Self)^.clr := $00004000;
  41511. end;
  41512. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  41513. begin
  41514. if thebits = 0 then
  41515. pTDefRegMap(@Self)^.clr := $00004000
  41516. else
  41517. pTDefRegMap(@Self)^.&set := $00004000;
  41518. end;
  41519. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  41520. begin
  41521. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41522. end;
  41523. procedure TPORTB_CNPUB.setCNPUB15; inline;
  41524. begin
  41525. pTDefRegMap(@Self)^.&set := $00008000;
  41526. end;
  41527. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  41528. begin
  41529. pTDefRegMap(@Self)^.clr := $00008000;
  41530. end;
  41531. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  41532. begin
  41533. if thebits = 0 then
  41534. pTDefRegMap(@Self)^.clr := $00008000
  41535. else
  41536. pTDefRegMap(@Self)^.&set := $00008000;
  41537. end;
  41538. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  41539. begin
  41540. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41541. end;
  41542. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  41543. begin
  41544. pTDefRegMap(@Self)^.val := thebits;
  41545. end;
  41546. function TPORTB_CNPUB.getw : TBits_32; inline;
  41547. begin
  41548. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41549. end;
  41550. procedure TPORTB_CNPDB.setCNPDB0; inline;
  41551. begin
  41552. pTDefRegMap(@Self)^.&set := $00000001;
  41553. end;
  41554. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  41555. begin
  41556. pTDefRegMap(@Self)^.clr := $00000001;
  41557. end;
  41558. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  41559. begin
  41560. if thebits = 0 then
  41561. pTDefRegMap(@Self)^.clr := $00000001
  41562. else
  41563. pTDefRegMap(@Self)^.&set := $00000001;
  41564. end;
  41565. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  41566. begin
  41567. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41568. end;
  41569. procedure TPORTB_CNPDB.setCNPDB1; inline;
  41570. begin
  41571. pTDefRegMap(@Self)^.&set := $00000002;
  41572. end;
  41573. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  41574. begin
  41575. pTDefRegMap(@Self)^.clr := $00000002;
  41576. end;
  41577. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  41578. begin
  41579. if thebits = 0 then
  41580. pTDefRegMap(@Self)^.clr := $00000002
  41581. else
  41582. pTDefRegMap(@Self)^.&set := $00000002;
  41583. end;
  41584. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  41585. begin
  41586. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41587. end;
  41588. procedure TPORTB_CNPDB.setCNPDB2; inline;
  41589. begin
  41590. pTDefRegMap(@Self)^.&set := $00000004;
  41591. end;
  41592. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  41593. begin
  41594. pTDefRegMap(@Self)^.clr := $00000004;
  41595. end;
  41596. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  41597. begin
  41598. if thebits = 0 then
  41599. pTDefRegMap(@Self)^.clr := $00000004
  41600. else
  41601. pTDefRegMap(@Self)^.&set := $00000004;
  41602. end;
  41603. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  41604. begin
  41605. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41606. end;
  41607. procedure TPORTB_CNPDB.setCNPDB3; inline;
  41608. begin
  41609. pTDefRegMap(@Self)^.&set := $00000008;
  41610. end;
  41611. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  41612. begin
  41613. pTDefRegMap(@Self)^.clr := $00000008;
  41614. end;
  41615. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  41616. begin
  41617. if thebits = 0 then
  41618. pTDefRegMap(@Self)^.clr := $00000008
  41619. else
  41620. pTDefRegMap(@Self)^.&set := $00000008;
  41621. end;
  41622. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  41623. begin
  41624. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41625. end;
  41626. procedure TPORTB_CNPDB.setCNPDB4; inline;
  41627. begin
  41628. pTDefRegMap(@Self)^.&set := $00000010;
  41629. end;
  41630. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  41631. begin
  41632. pTDefRegMap(@Self)^.clr := $00000010;
  41633. end;
  41634. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  41635. begin
  41636. if thebits = 0 then
  41637. pTDefRegMap(@Self)^.clr := $00000010
  41638. else
  41639. pTDefRegMap(@Self)^.&set := $00000010;
  41640. end;
  41641. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  41642. begin
  41643. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41644. end;
  41645. procedure TPORTB_CNPDB.setCNPDB5; inline;
  41646. begin
  41647. pTDefRegMap(@Self)^.&set := $00000020;
  41648. end;
  41649. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  41650. begin
  41651. pTDefRegMap(@Self)^.clr := $00000020;
  41652. end;
  41653. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  41654. begin
  41655. if thebits = 0 then
  41656. pTDefRegMap(@Self)^.clr := $00000020
  41657. else
  41658. pTDefRegMap(@Self)^.&set := $00000020;
  41659. end;
  41660. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  41661. begin
  41662. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41663. end;
  41664. procedure TPORTB_CNPDB.setCNPDB6; inline;
  41665. begin
  41666. pTDefRegMap(@Self)^.&set := $00000040;
  41667. end;
  41668. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  41669. begin
  41670. pTDefRegMap(@Self)^.clr := $00000040;
  41671. end;
  41672. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  41673. begin
  41674. if thebits = 0 then
  41675. pTDefRegMap(@Self)^.clr := $00000040
  41676. else
  41677. pTDefRegMap(@Self)^.&set := $00000040;
  41678. end;
  41679. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  41680. begin
  41681. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41682. end;
  41683. procedure TPORTB_CNPDB.setCNPDB7; inline;
  41684. begin
  41685. pTDefRegMap(@Self)^.&set := $00000080;
  41686. end;
  41687. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  41688. begin
  41689. pTDefRegMap(@Self)^.clr := $00000080;
  41690. end;
  41691. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  41692. begin
  41693. if thebits = 0 then
  41694. pTDefRegMap(@Self)^.clr := $00000080
  41695. else
  41696. pTDefRegMap(@Self)^.&set := $00000080;
  41697. end;
  41698. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  41699. begin
  41700. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41701. end;
  41702. procedure TPORTB_CNPDB.setCNPDB8; inline;
  41703. begin
  41704. pTDefRegMap(@Self)^.&set := $00000100;
  41705. end;
  41706. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  41707. begin
  41708. pTDefRegMap(@Self)^.clr := $00000100;
  41709. end;
  41710. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  41711. begin
  41712. if thebits = 0 then
  41713. pTDefRegMap(@Self)^.clr := $00000100
  41714. else
  41715. pTDefRegMap(@Self)^.&set := $00000100;
  41716. end;
  41717. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  41718. begin
  41719. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41720. end;
  41721. procedure TPORTB_CNPDB.setCNPDB9; inline;
  41722. begin
  41723. pTDefRegMap(@Self)^.&set := $00000200;
  41724. end;
  41725. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  41726. begin
  41727. pTDefRegMap(@Self)^.clr := $00000200;
  41728. end;
  41729. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  41730. begin
  41731. if thebits = 0 then
  41732. pTDefRegMap(@Self)^.clr := $00000200
  41733. else
  41734. pTDefRegMap(@Self)^.&set := $00000200;
  41735. end;
  41736. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  41737. begin
  41738. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41739. end;
  41740. procedure TPORTB_CNPDB.setCNPDB10; inline;
  41741. begin
  41742. pTDefRegMap(@Self)^.&set := $00000400;
  41743. end;
  41744. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  41745. begin
  41746. pTDefRegMap(@Self)^.clr := $00000400;
  41747. end;
  41748. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  41749. begin
  41750. if thebits = 0 then
  41751. pTDefRegMap(@Self)^.clr := $00000400
  41752. else
  41753. pTDefRegMap(@Self)^.&set := $00000400;
  41754. end;
  41755. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  41756. begin
  41757. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41758. end;
  41759. procedure TPORTB_CNPDB.setCNPDB11; inline;
  41760. begin
  41761. pTDefRegMap(@Self)^.&set := $00000800;
  41762. end;
  41763. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  41764. begin
  41765. pTDefRegMap(@Self)^.clr := $00000800;
  41766. end;
  41767. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  41768. begin
  41769. if thebits = 0 then
  41770. pTDefRegMap(@Self)^.clr := $00000800
  41771. else
  41772. pTDefRegMap(@Self)^.&set := $00000800;
  41773. end;
  41774. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  41775. begin
  41776. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41777. end;
  41778. procedure TPORTB_CNPDB.setCNPDB12; inline;
  41779. begin
  41780. pTDefRegMap(@Self)^.&set := $00001000;
  41781. end;
  41782. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  41783. begin
  41784. pTDefRegMap(@Self)^.clr := $00001000;
  41785. end;
  41786. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  41787. begin
  41788. if thebits = 0 then
  41789. pTDefRegMap(@Self)^.clr := $00001000
  41790. else
  41791. pTDefRegMap(@Self)^.&set := $00001000;
  41792. end;
  41793. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  41794. begin
  41795. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41796. end;
  41797. procedure TPORTB_CNPDB.setCNPDB13; inline;
  41798. begin
  41799. pTDefRegMap(@Self)^.&set := $00002000;
  41800. end;
  41801. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  41802. begin
  41803. pTDefRegMap(@Self)^.clr := $00002000;
  41804. end;
  41805. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  41806. begin
  41807. if thebits = 0 then
  41808. pTDefRegMap(@Self)^.clr := $00002000
  41809. else
  41810. pTDefRegMap(@Self)^.&set := $00002000;
  41811. end;
  41812. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  41813. begin
  41814. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41815. end;
  41816. procedure TPORTB_CNPDB.setCNPDB14; inline;
  41817. begin
  41818. pTDefRegMap(@Self)^.&set := $00004000;
  41819. end;
  41820. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  41821. begin
  41822. pTDefRegMap(@Self)^.clr := $00004000;
  41823. end;
  41824. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  41825. begin
  41826. if thebits = 0 then
  41827. pTDefRegMap(@Self)^.clr := $00004000
  41828. else
  41829. pTDefRegMap(@Self)^.&set := $00004000;
  41830. end;
  41831. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  41832. begin
  41833. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41834. end;
  41835. procedure TPORTB_CNPDB.setCNPDB15; inline;
  41836. begin
  41837. pTDefRegMap(@Self)^.&set := $00008000;
  41838. end;
  41839. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  41840. begin
  41841. pTDefRegMap(@Self)^.clr := $00008000;
  41842. end;
  41843. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  41844. begin
  41845. if thebits = 0 then
  41846. pTDefRegMap(@Self)^.clr := $00008000
  41847. else
  41848. pTDefRegMap(@Self)^.&set := $00008000;
  41849. end;
  41850. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  41851. begin
  41852. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41853. end;
  41854. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  41855. begin
  41856. pTDefRegMap(@Self)^.val := thebits;
  41857. end;
  41858. function TPORTB_CNPDB.getw : TBits_32; inline;
  41859. begin
  41860. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41861. end;
  41862. procedure TPORTB_CNCONB.setSIDL; inline;
  41863. begin
  41864. pTDefRegMap(@Self)^.&set := $00002000;
  41865. end;
  41866. procedure TPORTB_CNCONB.clearSIDL; inline;
  41867. begin
  41868. pTDefRegMap(@Self)^.clr := $00002000;
  41869. end;
  41870. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  41871. begin
  41872. if thebits = 0 then
  41873. pTDefRegMap(@Self)^.clr := $00002000
  41874. else
  41875. pTDefRegMap(@Self)^.&set := $00002000;
  41876. end;
  41877. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  41878. begin
  41879. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41880. end;
  41881. procedure TPORTB_CNCONB.setON; inline;
  41882. begin
  41883. pTDefRegMap(@Self)^.&set := $00008000;
  41884. end;
  41885. procedure TPORTB_CNCONB.clearON; inline;
  41886. begin
  41887. pTDefRegMap(@Self)^.clr := $00008000;
  41888. end;
  41889. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  41890. begin
  41891. if thebits = 0 then
  41892. pTDefRegMap(@Self)^.clr := $00008000
  41893. else
  41894. pTDefRegMap(@Self)^.&set := $00008000;
  41895. end;
  41896. function TPORTB_CNCONB.getON : TBits_1; inline;
  41897. begin
  41898. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41899. end;
  41900. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  41901. begin
  41902. pTDefRegMap(@Self)^.val := thebits;
  41903. end;
  41904. function TPORTB_CNCONB.getw : TBits_32; inline;
  41905. begin
  41906. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41907. end;
  41908. procedure TPORTB_CNENB.setCNIEB0; inline;
  41909. begin
  41910. pTDefRegMap(@Self)^.&set := $00000001;
  41911. end;
  41912. procedure TPORTB_CNENB.clearCNIEB0; inline;
  41913. begin
  41914. pTDefRegMap(@Self)^.clr := $00000001;
  41915. end;
  41916. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  41917. begin
  41918. if thebits = 0 then
  41919. pTDefRegMap(@Self)^.clr := $00000001
  41920. else
  41921. pTDefRegMap(@Self)^.&set := $00000001;
  41922. end;
  41923. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  41924. begin
  41925. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41926. end;
  41927. procedure TPORTB_CNENB.setCNIEB1; inline;
  41928. begin
  41929. pTDefRegMap(@Self)^.&set := $00000002;
  41930. end;
  41931. procedure TPORTB_CNENB.clearCNIEB1; inline;
  41932. begin
  41933. pTDefRegMap(@Self)^.clr := $00000002;
  41934. end;
  41935. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  41936. begin
  41937. if thebits = 0 then
  41938. pTDefRegMap(@Self)^.clr := $00000002
  41939. else
  41940. pTDefRegMap(@Self)^.&set := $00000002;
  41941. end;
  41942. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  41943. begin
  41944. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41945. end;
  41946. procedure TPORTB_CNENB.setCNIEB2; inline;
  41947. begin
  41948. pTDefRegMap(@Self)^.&set := $00000004;
  41949. end;
  41950. procedure TPORTB_CNENB.clearCNIEB2; inline;
  41951. begin
  41952. pTDefRegMap(@Self)^.clr := $00000004;
  41953. end;
  41954. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  41955. begin
  41956. if thebits = 0 then
  41957. pTDefRegMap(@Self)^.clr := $00000004
  41958. else
  41959. pTDefRegMap(@Self)^.&set := $00000004;
  41960. end;
  41961. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  41962. begin
  41963. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41964. end;
  41965. procedure TPORTB_CNENB.setCNIEB3; inline;
  41966. begin
  41967. pTDefRegMap(@Self)^.&set := $00000008;
  41968. end;
  41969. procedure TPORTB_CNENB.clearCNIEB3; inline;
  41970. begin
  41971. pTDefRegMap(@Self)^.clr := $00000008;
  41972. end;
  41973. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  41974. begin
  41975. if thebits = 0 then
  41976. pTDefRegMap(@Self)^.clr := $00000008
  41977. else
  41978. pTDefRegMap(@Self)^.&set := $00000008;
  41979. end;
  41980. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  41981. begin
  41982. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41983. end;
  41984. procedure TPORTB_CNENB.setCNIEB4; inline;
  41985. begin
  41986. pTDefRegMap(@Self)^.&set := $00000010;
  41987. end;
  41988. procedure TPORTB_CNENB.clearCNIEB4; inline;
  41989. begin
  41990. pTDefRegMap(@Self)^.clr := $00000010;
  41991. end;
  41992. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  41993. begin
  41994. if thebits = 0 then
  41995. pTDefRegMap(@Self)^.clr := $00000010
  41996. else
  41997. pTDefRegMap(@Self)^.&set := $00000010;
  41998. end;
  41999. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  42000. begin
  42001. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42002. end;
  42003. procedure TPORTB_CNENB.setCNIEB5; inline;
  42004. begin
  42005. pTDefRegMap(@Self)^.&set := $00000020;
  42006. end;
  42007. procedure TPORTB_CNENB.clearCNIEB5; inline;
  42008. begin
  42009. pTDefRegMap(@Self)^.clr := $00000020;
  42010. end;
  42011. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  42012. begin
  42013. if thebits = 0 then
  42014. pTDefRegMap(@Self)^.clr := $00000020
  42015. else
  42016. pTDefRegMap(@Self)^.&set := $00000020;
  42017. end;
  42018. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  42019. begin
  42020. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42021. end;
  42022. procedure TPORTB_CNENB.setCNIEB6; inline;
  42023. begin
  42024. pTDefRegMap(@Self)^.&set := $00000040;
  42025. end;
  42026. procedure TPORTB_CNENB.clearCNIEB6; inline;
  42027. begin
  42028. pTDefRegMap(@Self)^.clr := $00000040;
  42029. end;
  42030. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  42031. begin
  42032. if thebits = 0 then
  42033. pTDefRegMap(@Self)^.clr := $00000040
  42034. else
  42035. pTDefRegMap(@Self)^.&set := $00000040;
  42036. end;
  42037. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  42038. begin
  42039. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42040. end;
  42041. procedure TPORTB_CNENB.setCNIEB7; inline;
  42042. begin
  42043. pTDefRegMap(@Self)^.&set := $00000080;
  42044. end;
  42045. procedure TPORTB_CNENB.clearCNIEB7; inline;
  42046. begin
  42047. pTDefRegMap(@Self)^.clr := $00000080;
  42048. end;
  42049. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  42050. begin
  42051. if thebits = 0 then
  42052. pTDefRegMap(@Self)^.clr := $00000080
  42053. else
  42054. pTDefRegMap(@Self)^.&set := $00000080;
  42055. end;
  42056. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  42057. begin
  42058. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42059. end;
  42060. procedure TPORTB_CNENB.setCNIEB8; inline;
  42061. begin
  42062. pTDefRegMap(@Self)^.&set := $00000100;
  42063. end;
  42064. procedure TPORTB_CNENB.clearCNIEB8; inline;
  42065. begin
  42066. pTDefRegMap(@Self)^.clr := $00000100;
  42067. end;
  42068. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  42069. begin
  42070. if thebits = 0 then
  42071. pTDefRegMap(@Self)^.clr := $00000100
  42072. else
  42073. pTDefRegMap(@Self)^.&set := $00000100;
  42074. end;
  42075. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  42076. begin
  42077. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42078. end;
  42079. procedure TPORTB_CNENB.setCNIEB9; inline;
  42080. begin
  42081. pTDefRegMap(@Self)^.&set := $00000200;
  42082. end;
  42083. procedure TPORTB_CNENB.clearCNIEB9; inline;
  42084. begin
  42085. pTDefRegMap(@Self)^.clr := $00000200;
  42086. end;
  42087. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  42088. begin
  42089. if thebits = 0 then
  42090. pTDefRegMap(@Self)^.clr := $00000200
  42091. else
  42092. pTDefRegMap(@Self)^.&set := $00000200;
  42093. end;
  42094. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  42095. begin
  42096. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42097. end;
  42098. procedure TPORTB_CNENB.setCNIEB10; inline;
  42099. begin
  42100. pTDefRegMap(@Self)^.&set := $00000400;
  42101. end;
  42102. procedure TPORTB_CNENB.clearCNIEB10; inline;
  42103. begin
  42104. pTDefRegMap(@Self)^.clr := $00000400;
  42105. end;
  42106. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  42107. begin
  42108. if thebits = 0 then
  42109. pTDefRegMap(@Self)^.clr := $00000400
  42110. else
  42111. pTDefRegMap(@Self)^.&set := $00000400;
  42112. end;
  42113. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  42114. begin
  42115. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42116. end;
  42117. procedure TPORTB_CNENB.setCNIEB11; inline;
  42118. begin
  42119. pTDefRegMap(@Self)^.&set := $00000800;
  42120. end;
  42121. procedure TPORTB_CNENB.clearCNIEB11; inline;
  42122. begin
  42123. pTDefRegMap(@Self)^.clr := $00000800;
  42124. end;
  42125. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  42126. begin
  42127. if thebits = 0 then
  42128. pTDefRegMap(@Self)^.clr := $00000800
  42129. else
  42130. pTDefRegMap(@Self)^.&set := $00000800;
  42131. end;
  42132. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  42133. begin
  42134. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42135. end;
  42136. procedure TPORTB_CNENB.setCNIEB12; inline;
  42137. begin
  42138. pTDefRegMap(@Self)^.&set := $00001000;
  42139. end;
  42140. procedure TPORTB_CNENB.clearCNIEB12; inline;
  42141. begin
  42142. pTDefRegMap(@Self)^.clr := $00001000;
  42143. end;
  42144. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  42145. begin
  42146. if thebits = 0 then
  42147. pTDefRegMap(@Self)^.clr := $00001000
  42148. else
  42149. pTDefRegMap(@Self)^.&set := $00001000;
  42150. end;
  42151. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  42152. begin
  42153. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42154. end;
  42155. procedure TPORTB_CNENB.setCNIEB13; inline;
  42156. begin
  42157. pTDefRegMap(@Self)^.&set := $00002000;
  42158. end;
  42159. procedure TPORTB_CNENB.clearCNIEB13; inline;
  42160. begin
  42161. pTDefRegMap(@Self)^.clr := $00002000;
  42162. end;
  42163. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  42164. begin
  42165. if thebits = 0 then
  42166. pTDefRegMap(@Self)^.clr := $00002000
  42167. else
  42168. pTDefRegMap(@Self)^.&set := $00002000;
  42169. end;
  42170. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  42171. begin
  42172. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42173. end;
  42174. procedure TPORTB_CNENB.setCNIEB14; inline;
  42175. begin
  42176. pTDefRegMap(@Self)^.&set := $00004000;
  42177. end;
  42178. procedure TPORTB_CNENB.clearCNIEB14; inline;
  42179. begin
  42180. pTDefRegMap(@Self)^.clr := $00004000;
  42181. end;
  42182. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  42183. begin
  42184. if thebits = 0 then
  42185. pTDefRegMap(@Self)^.clr := $00004000
  42186. else
  42187. pTDefRegMap(@Self)^.&set := $00004000;
  42188. end;
  42189. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  42190. begin
  42191. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42192. end;
  42193. procedure TPORTB_CNENB.setCNIEB15; inline;
  42194. begin
  42195. pTDefRegMap(@Self)^.&set := $00008000;
  42196. end;
  42197. procedure TPORTB_CNENB.clearCNIEB15; inline;
  42198. begin
  42199. pTDefRegMap(@Self)^.clr := $00008000;
  42200. end;
  42201. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  42202. begin
  42203. if thebits = 0 then
  42204. pTDefRegMap(@Self)^.clr := $00008000
  42205. else
  42206. pTDefRegMap(@Self)^.&set := $00008000;
  42207. end;
  42208. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  42209. begin
  42210. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42211. end;
  42212. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  42213. begin
  42214. pTDefRegMap(@Self)^.val := thebits;
  42215. end;
  42216. function TPORTB_CNENB.getw : TBits_32; inline;
  42217. begin
  42218. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42219. end;
  42220. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  42221. begin
  42222. pTDefRegMap(@Self)^.&set := $00000001;
  42223. end;
  42224. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  42225. begin
  42226. pTDefRegMap(@Self)^.clr := $00000001;
  42227. end;
  42228. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  42229. begin
  42230. if thebits = 0 then
  42231. pTDefRegMap(@Self)^.clr := $00000001
  42232. else
  42233. pTDefRegMap(@Self)^.&set := $00000001;
  42234. end;
  42235. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  42236. begin
  42237. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42238. end;
  42239. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  42240. begin
  42241. pTDefRegMap(@Self)^.&set := $00000002;
  42242. end;
  42243. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  42244. begin
  42245. pTDefRegMap(@Self)^.clr := $00000002;
  42246. end;
  42247. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  42248. begin
  42249. if thebits = 0 then
  42250. pTDefRegMap(@Self)^.clr := $00000002
  42251. else
  42252. pTDefRegMap(@Self)^.&set := $00000002;
  42253. end;
  42254. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  42255. begin
  42256. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42257. end;
  42258. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  42259. begin
  42260. pTDefRegMap(@Self)^.&set := $00000004;
  42261. end;
  42262. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  42263. begin
  42264. pTDefRegMap(@Self)^.clr := $00000004;
  42265. end;
  42266. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  42267. begin
  42268. if thebits = 0 then
  42269. pTDefRegMap(@Self)^.clr := $00000004
  42270. else
  42271. pTDefRegMap(@Self)^.&set := $00000004;
  42272. end;
  42273. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  42274. begin
  42275. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42276. end;
  42277. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  42278. begin
  42279. pTDefRegMap(@Self)^.&set := $00000008;
  42280. end;
  42281. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  42282. begin
  42283. pTDefRegMap(@Self)^.clr := $00000008;
  42284. end;
  42285. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  42286. begin
  42287. if thebits = 0 then
  42288. pTDefRegMap(@Self)^.clr := $00000008
  42289. else
  42290. pTDefRegMap(@Self)^.&set := $00000008;
  42291. end;
  42292. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  42293. begin
  42294. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42295. end;
  42296. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  42297. begin
  42298. pTDefRegMap(@Self)^.&set := $00000010;
  42299. end;
  42300. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  42301. begin
  42302. pTDefRegMap(@Self)^.clr := $00000010;
  42303. end;
  42304. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  42305. begin
  42306. if thebits = 0 then
  42307. pTDefRegMap(@Self)^.clr := $00000010
  42308. else
  42309. pTDefRegMap(@Self)^.&set := $00000010;
  42310. end;
  42311. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  42312. begin
  42313. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42314. end;
  42315. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  42316. begin
  42317. pTDefRegMap(@Self)^.&set := $00000020;
  42318. end;
  42319. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  42320. begin
  42321. pTDefRegMap(@Self)^.clr := $00000020;
  42322. end;
  42323. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  42324. begin
  42325. if thebits = 0 then
  42326. pTDefRegMap(@Self)^.clr := $00000020
  42327. else
  42328. pTDefRegMap(@Self)^.&set := $00000020;
  42329. end;
  42330. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  42331. begin
  42332. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42333. end;
  42334. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  42335. begin
  42336. pTDefRegMap(@Self)^.&set := $00000040;
  42337. end;
  42338. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  42339. begin
  42340. pTDefRegMap(@Self)^.clr := $00000040;
  42341. end;
  42342. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  42343. begin
  42344. if thebits = 0 then
  42345. pTDefRegMap(@Self)^.clr := $00000040
  42346. else
  42347. pTDefRegMap(@Self)^.&set := $00000040;
  42348. end;
  42349. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  42350. begin
  42351. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42352. end;
  42353. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  42354. begin
  42355. pTDefRegMap(@Self)^.&set := $00000080;
  42356. end;
  42357. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  42358. begin
  42359. pTDefRegMap(@Self)^.clr := $00000080;
  42360. end;
  42361. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  42362. begin
  42363. if thebits = 0 then
  42364. pTDefRegMap(@Self)^.clr := $00000080
  42365. else
  42366. pTDefRegMap(@Self)^.&set := $00000080;
  42367. end;
  42368. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  42369. begin
  42370. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42371. end;
  42372. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  42373. begin
  42374. pTDefRegMap(@Self)^.&set := $00000100;
  42375. end;
  42376. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  42377. begin
  42378. pTDefRegMap(@Self)^.clr := $00000100;
  42379. end;
  42380. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  42381. begin
  42382. if thebits = 0 then
  42383. pTDefRegMap(@Self)^.clr := $00000100
  42384. else
  42385. pTDefRegMap(@Self)^.&set := $00000100;
  42386. end;
  42387. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  42388. begin
  42389. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42390. end;
  42391. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  42392. begin
  42393. pTDefRegMap(@Self)^.&set := $00000200;
  42394. end;
  42395. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  42396. begin
  42397. pTDefRegMap(@Self)^.clr := $00000200;
  42398. end;
  42399. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  42400. begin
  42401. if thebits = 0 then
  42402. pTDefRegMap(@Self)^.clr := $00000200
  42403. else
  42404. pTDefRegMap(@Self)^.&set := $00000200;
  42405. end;
  42406. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  42407. begin
  42408. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42409. end;
  42410. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  42411. begin
  42412. pTDefRegMap(@Self)^.&set := $00000400;
  42413. end;
  42414. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  42415. begin
  42416. pTDefRegMap(@Self)^.clr := $00000400;
  42417. end;
  42418. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  42419. begin
  42420. if thebits = 0 then
  42421. pTDefRegMap(@Self)^.clr := $00000400
  42422. else
  42423. pTDefRegMap(@Self)^.&set := $00000400;
  42424. end;
  42425. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  42426. begin
  42427. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42428. end;
  42429. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  42430. begin
  42431. pTDefRegMap(@Self)^.&set := $00000800;
  42432. end;
  42433. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  42434. begin
  42435. pTDefRegMap(@Self)^.clr := $00000800;
  42436. end;
  42437. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  42438. begin
  42439. if thebits = 0 then
  42440. pTDefRegMap(@Self)^.clr := $00000800
  42441. else
  42442. pTDefRegMap(@Self)^.&set := $00000800;
  42443. end;
  42444. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  42445. begin
  42446. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42447. end;
  42448. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  42449. begin
  42450. pTDefRegMap(@Self)^.&set := $00001000;
  42451. end;
  42452. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  42453. begin
  42454. pTDefRegMap(@Self)^.clr := $00001000;
  42455. end;
  42456. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  42457. begin
  42458. if thebits = 0 then
  42459. pTDefRegMap(@Self)^.clr := $00001000
  42460. else
  42461. pTDefRegMap(@Self)^.&set := $00001000;
  42462. end;
  42463. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  42464. begin
  42465. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42466. end;
  42467. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  42468. begin
  42469. pTDefRegMap(@Self)^.&set := $00002000;
  42470. end;
  42471. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  42472. begin
  42473. pTDefRegMap(@Self)^.clr := $00002000;
  42474. end;
  42475. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  42476. begin
  42477. if thebits = 0 then
  42478. pTDefRegMap(@Self)^.clr := $00002000
  42479. else
  42480. pTDefRegMap(@Self)^.&set := $00002000;
  42481. end;
  42482. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  42483. begin
  42484. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42485. end;
  42486. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  42487. begin
  42488. pTDefRegMap(@Self)^.&set := $00004000;
  42489. end;
  42490. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  42491. begin
  42492. pTDefRegMap(@Self)^.clr := $00004000;
  42493. end;
  42494. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  42495. begin
  42496. if thebits = 0 then
  42497. pTDefRegMap(@Self)^.clr := $00004000
  42498. else
  42499. pTDefRegMap(@Self)^.&set := $00004000;
  42500. end;
  42501. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  42502. begin
  42503. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42504. end;
  42505. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  42506. begin
  42507. pTDefRegMap(@Self)^.&set := $00008000;
  42508. end;
  42509. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  42510. begin
  42511. pTDefRegMap(@Self)^.clr := $00008000;
  42512. end;
  42513. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  42514. begin
  42515. if thebits = 0 then
  42516. pTDefRegMap(@Self)^.clr := $00008000
  42517. else
  42518. pTDefRegMap(@Self)^.&set := $00008000;
  42519. end;
  42520. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  42521. begin
  42522. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42523. end;
  42524. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  42525. begin
  42526. pTDefRegMap(@Self)^.val := thebits;
  42527. end;
  42528. function TPORTB_CNSTATB.getw : TBits_32; inline;
  42529. begin
  42530. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42531. end;
  42532. procedure TPORTB_ANSELC.setANSC12; inline;
  42533. begin
  42534. pTDefRegMap(@Self)^.&set := $00001000;
  42535. end;
  42536. procedure TPORTB_ANSELC.clearANSC12; inline;
  42537. begin
  42538. pTDefRegMap(@Self)^.clr := $00001000;
  42539. end;
  42540. procedure TPORTB_ANSELC.setANSC12(thebits : TBits_1); inline;
  42541. begin
  42542. if thebits = 0 then
  42543. pTDefRegMap(@Self)^.clr := $00001000
  42544. else
  42545. pTDefRegMap(@Self)^.&set := $00001000;
  42546. end;
  42547. function TPORTB_ANSELC.getANSC12 : TBits_1; inline;
  42548. begin
  42549. getANSC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42550. end;
  42551. procedure TPORTB_ANSELC.setANSC13; inline;
  42552. begin
  42553. pTDefRegMap(@Self)^.&set := $00002000;
  42554. end;
  42555. procedure TPORTB_ANSELC.clearANSC13; inline;
  42556. begin
  42557. pTDefRegMap(@Self)^.clr := $00002000;
  42558. end;
  42559. procedure TPORTB_ANSELC.setANSC13(thebits : TBits_1); inline;
  42560. begin
  42561. if thebits = 0 then
  42562. pTDefRegMap(@Self)^.clr := $00002000
  42563. else
  42564. pTDefRegMap(@Self)^.&set := $00002000;
  42565. end;
  42566. function TPORTB_ANSELC.getANSC13 : TBits_1; inline;
  42567. begin
  42568. getANSC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42569. end;
  42570. procedure TPORTB_ANSELC.setANSC14; inline;
  42571. begin
  42572. pTDefRegMap(@Self)^.&set := $00004000;
  42573. end;
  42574. procedure TPORTB_ANSELC.clearANSC14; inline;
  42575. begin
  42576. pTDefRegMap(@Self)^.clr := $00004000;
  42577. end;
  42578. procedure TPORTB_ANSELC.setANSC14(thebits : TBits_1); inline;
  42579. begin
  42580. if thebits = 0 then
  42581. pTDefRegMap(@Self)^.clr := $00004000
  42582. else
  42583. pTDefRegMap(@Self)^.&set := $00004000;
  42584. end;
  42585. function TPORTB_ANSELC.getANSC14 : TBits_1; inline;
  42586. begin
  42587. getANSC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42588. end;
  42589. procedure TPORTB_ANSELC.setANSC15; inline;
  42590. begin
  42591. pTDefRegMap(@Self)^.&set := $00008000;
  42592. end;
  42593. procedure TPORTB_ANSELC.clearANSC15; inline;
  42594. begin
  42595. pTDefRegMap(@Self)^.clr := $00008000;
  42596. end;
  42597. procedure TPORTB_ANSELC.setANSC15(thebits : TBits_1); inline;
  42598. begin
  42599. if thebits = 0 then
  42600. pTDefRegMap(@Self)^.clr := $00008000
  42601. else
  42602. pTDefRegMap(@Self)^.&set := $00008000;
  42603. end;
  42604. function TPORTB_ANSELC.getANSC15 : TBits_1; inline;
  42605. begin
  42606. getANSC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42607. end;
  42608. procedure TPORTB_ANSELC.setw(thebits : TBits_32); inline;
  42609. begin
  42610. pTDefRegMap(@Self)^.val := thebits;
  42611. end;
  42612. function TPORTB_ANSELC.getw : TBits_32; inline;
  42613. begin
  42614. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42615. end;
  42616. procedure TPORTB_TRISC.setTRISC12; inline;
  42617. begin
  42618. pTDefRegMap(@Self)^.&set := $00001000;
  42619. end;
  42620. procedure TPORTB_TRISC.clearTRISC12; inline;
  42621. begin
  42622. pTDefRegMap(@Self)^.clr := $00001000;
  42623. end;
  42624. procedure TPORTB_TRISC.setTRISC12(thebits : TBits_1); inline;
  42625. begin
  42626. if thebits = 0 then
  42627. pTDefRegMap(@Self)^.clr := $00001000
  42628. else
  42629. pTDefRegMap(@Self)^.&set := $00001000;
  42630. end;
  42631. function TPORTB_TRISC.getTRISC12 : TBits_1; inline;
  42632. begin
  42633. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42634. end;
  42635. procedure TPORTB_TRISC.setTRISC13; inline;
  42636. begin
  42637. pTDefRegMap(@Self)^.&set := $00002000;
  42638. end;
  42639. procedure TPORTB_TRISC.clearTRISC13; inline;
  42640. begin
  42641. pTDefRegMap(@Self)^.clr := $00002000;
  42642. end;
  42643. procedure TPORTB_TRISC.setTRISC13(thebits : TBits_1); inline;
  42644. begin
  42645. if thebits = 0 then
  42646. pTDefRegMap(@Self)^.clr := $00002000
  42647. else
  42648. pTDefRegMap(@Self)^.&set := $00002000;
  42649. end;
  42650. function TPORTB_TRISC.getTRISC13 : TBits_1; inline;
  42651. begin
  42652. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42653. end;
  42654. procedure TPORTB_TRISC.setTRISC14; inline;
  42655. begin
  42656. pTDefRegMap(@Self)^.&set := $00004000;
  42657. end;
  42658. procedure TPORTB_TRISC.clearTRISC14; inline;
  42659. begin
  42660. pTDefRegMap(@Self)^.clr := $00004000;
  42661. end;
  42662. procedure TPORTB_TRISC.setTRISC14(thebits : TBits_1); inline;
  42663. begin
  42664. if thebits = 0 then
  42665. pTDefRegMap(@Self)^.clr := $00004000
  42666. else
  42667. pTDefRegMap(@Self)^.&set := $00004000;
  42668. end;
  42669. function TPORTB_TRISC.getTRISC14 : TBits_1; inline;
  42670. begin
  42671. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42672. end;
  42673. procedure TPORTB_TRISC.setTRISC15; inline;
  42674. begin
  42675. pTDefRegMap(@Self)^.&set := $00008000;
  42676. end;
  42677. procedure TPORTB_TRISC.clearTRISC15; inline;
  42678. begin
  42679. pTDefRegMap(@Self)^.clr := $00008000;
  42680. end;
  42681. procedure TPORTB_TRISC.setTRISC15(thebits : TBits_1); inline;
  42682. begin
  42683. if thebits = 0 then
  42684. pTDefRegMap(@Self)^.clr := $00008000
  42685. else
  42686. pTDefRegMap(@Self)^.&set := $00008000;
  42687. end;
  42688. function TPORTB_TRISC.getTRISC15 : TBits_1; inline;
  42689. begin
  42690. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42691. end;
  42692. procedure TPORTB_TRISC.setw(thebits : TBits_32); inline;
  42693. begin
  42694. pTDefRegMap(@Self)^.val := thebits;
  42695. end;
  42696. function TPORTB_TRISC.getw : TBits_32; inline;
  42697. begin
  42698. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42699. end;
  42700. procedure TPORTC_PORTC.setRC12; inline;
  42701. begin
  42702. pTDefRegMap(@Self)^.&set := $00001000;
  42703. end;
  42704. procedure TPORTC_PORTC.clearRC12; inline;
  42705. begin
  42706. pTDefRegMap(@Self)^.clr := $00001000;
  42707. end;
  42708. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  42709. begin
  42710. if thebits = 0 then
  42711. pTDefRegMap(@Self)^.clr := $00001000
  42712. else
  42713. pTDefRegMap(@Self)^.&set := $00001000;
  42714. end;
  42715. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  42716. begin
  42717. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42718. end;
  42719. procedure TPORTC_PORTC.setRC13; inline;
  42720. begin
  42721. pTDefRegMap(@Self)^.&set := $00002000;
  42722. end;
  42723. procedure TPORTC_PORTC.clearRC13; inline;
  42724. begin
  42725. pTDefRegMap(@Self)^.clr := $00002000;
  42726. end;
  42727. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  42728. begin
  42729. if thebits = 0 then
  42730. pTDefRegMap(@Self)^.clr := $00002000
  42731. else
  42732. pTDefRegMap(@Self)^.&set := $00002000;
  42733. end;
  42734. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  42735. begin
  42736. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42737. end;
  42738. procedure TPORTC_PORTC.setRC14; inline;
  42739. begin
  42740. pTDefRegMap(@Self)^.&set := $00004000;
  42741. end;
  42742. procedure TPORTC_PORTC.clearRC14; inline;
  42743. begin
  42744. pTDefRegMap(@Self)^.clr := $00004000;
  42745. end;
  42746. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  42747. begin
  42748. if thebits = 0 then
  42749. pTDefRegMap(@Self)^.clr := $00004000
  42750. else
  42751. pTDefRegMap(@Self)^.&set := $00004000;
  42752. end;
  42753. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  42754. begin
  42755. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42756. end;
  42757. procedure TPORTC_PORTC.setRC15; inline;
  42758. begin
  42759. pTDefRegMap(@Self)^.&set := $00008000;
  42760. end;
  42761. procedure TPORTC_PORTC.clearRC15; inline;
  42762. begin
  42763. pTDefRegMap(@Self)^.clr := $00008000;
  42764. end;
  42765. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  42766. begin
  42767. if thebits = 0 then
  42768. pTDefRegMap(@Self)^.clr := $00008000
  42769. else
  42770. pTDefRegMap(@Self)^.&set := $00008000;
  42771. end;
  42772. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  42773. begin
  42774. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42775. end;
  42776. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  42777. begin
  42778. pTDefRegMap(@Self)^.val := thebits;
  42779. end;
  42780. function TPORTC_PORTC.getw : TBits_32; inline;
  42781. begin
  42782. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42783. end;
  42784. procedure TPORTC_LATC.setLATC12; inline;
  42785. begin
  42786. pTDefRegMap(@Self)^.&set := $00001000;
  42787. end;
  42788. procedure TPORTC_LATC.clearLATC12; inline;
  42789. begin
  42790. pTDefRegMap(@Self)^.clr := $00001000;
  42791. end;
  42792. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  42793. begin
  42794. if thebits = 0 then
  42795. pTDefRegMap(@Self)^.clr := $00001000
  42796. else
  42797. pTDefRegMap(@Self)^.&set := $00001000;
  42798. end;
  42799. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  42800. begin
  42801. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42802. end;
  42803. procedure TPORTC_LATC.setLATC13; inline;
  42804. begin
  42805. pTDefRegMap(@Self)^.&set := $00002000;
  42806. end;
  42807. procedure TPORTC_LATC.clearLATC13; inline;
  42808. begin
  42809. pTDefRegMap(@Self)^.clr := $00002000;
  42810. end;
  42811. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  42812. begin
  42813. if thebits = 0 then
  42814. pTDefRegMap(@Self)^.clr := $00002000
  42815. else
  42816. pTDefRegMap(@Self)^.&set := $00002000;
  42817. end;
  42818. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  42819. begin
  42820. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42821. end;
  42822. procedure TPORTC_LATC.setLATC14; inline;
  42823. begin
  42824. pTDefRegMap(@Self)^.&set := $00004000;
  42825. end;
  42826. procedure TPORTC_LATC.clearLATC14; inline;
  42827. begin
  42828. pTDefRegMap(@Self)^.clr := $00004000;
  42829. end;
  42830. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  42831. begin
  42832. if thebits = 0 then
  42833. pTDefRegMap(@Self)^.clr := $00004000
  42834. else
  42835. pTDefRegMap(@Self)^.&set := $00004000;
  42836. end;
  42837. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  42838. begin
  42839. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42840. end;
  42841. procedure TPORTC_LATC.setLATC15; inline;
  42842. begin
  42843. pTDefRegMap(@Self)^.&set := $00008000;
  42844. end;
  42845. procedure TPORTC_LATC.clearLATC15; inline;
  42846. begin
  42847. pTDefRegMap(@Self)^.clr := $00008000;
  42848. end;
  42849. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  42850. begin
  42851. if thebits = 0 then
  42852. pTDefRegMap(@Self)^.clr := $00008000
  42853. else
  42854. pTDefRegMap(@Self)^.&set := $00008000;
  42855. end;
  42856. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  42857. begin
  42858. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42859. end;
  42860. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  42861. begin
  42862. pTDefRegMap(@Self)^.val := thebits;
  42863. end;
  42864. function TPORTC_LATC.getw : TBits_32; inline;
  42865. begin
  42866. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42867. end;
  42868. procedure TPORTC_ODCC.setODCC12; inline;
  42869. begin
  42870. pTDefRegMap(@Self)^.&set := $00001000;
  42871. end;
  42872. procedure TPORTC_ODCC.clearODCC12; inline;
  42873. begin
  42874. pTDefRegMap(@Self)^.clr := $00001000;
  42875. end;
  42876. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  42877. begin
  42878. if thebits = 0 then
  42879. pTDefRegMap(@Self)^.clr := $00001000
  42880. else
  42881. pTDefRegMap(@Self)^.&set := $00001000;
  42882. end;
  42883. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  42884. begin
  42885. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42886. end;
  42887. procedure TPORTC_ODCC.setODCC13; inline;
  42888. begin
  42889. pTDefRegMap(@Self)^.&set := $00002000;
  42890. end;
  42891. procedure TPORTC_ODCC.clearODCC13; inline;
  42892. begin
  42893. pTDefRegMap(@Self)^.clr := $00002000;
  42894. end;
  42895. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  42896. begin
  42897. if thebits = 0 then
  42898. pTDefRegMap(@Self)^.clr := $00002000
  42899. else
  42900. pTDefRegMap(@Self)^.&set := $00002000;
  42901. end;
  42902. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  42903. begin
  42904. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42905. end;
  42906. procedure TPORTC_ODCC.setODCC14; inline;
  42907. begin
  42908. pTDefRegMap(@Self)^.&set := $00004000;
  42909. end;
  42910. procedure TPORTC_ODCC.clearODCC14; inline;
  42911. begin
  42912. pTDefRegMap(@Self)^.clr := $00004000;
  42913. end;
  42914. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  42915. begin
  42916. if thebits = 0 then
  42917. pTDefRegMap(@Self)^.clr := $00004000
  42918. else
  42919. pTDefRegMap(@Self)^.&set := $00004000;
  42920. end;
  42921. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  42922. begin
  42923. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42924. end;
  42925. procedure TPORTC_ODCC.setODCC15; inline;
  42926. begin
  42927. pTDefRegMap(@Self)^.&set := $00008000;
  42928. end;
  42929. procedure TPORTC_ODCC.clearODCC15; inline;
  42930. begin
  42931. pTDefRegMap(@Self)^.clr := $00008000;
  42932. end;
  42933. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  42934. begin
  42935. if thebits = 0 then
  42936. pTDefRegMap(@Self)^.clr := $00008000
  42937. else
  42938. pTDefRegMap(@Self)^.&set := $00008000;
  42939. end;
  42940. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  42941. begin
  42942. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42943. end;
  42944. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  42945. begin
  42946. pTDefRegMap(@Self)^.val := thebits;
  42947. end;
  42948. function TPORTC_ODCC.getw : TBits_32; inline;
  42949. begin
  42950. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42951. end;
  42952. procedure TPORTC_CNPUC.setCNPUC12; inline;
  42953. begin
  42954. pTDefRegMap(@Self)^.&set := $00001000;
  42955. end;
  42956. procedure TPORTC_CNPUC.clearCNPUC12; inline;
  42957. begin
  42958. pTDefRegMap(@Self)^.clr := $00001000;
  42959. end;
  42960. procedure TPORTC_CNPUC.setCNPUC12(thebits : TBits_1); inline;
  42961. begin
  42962. if thebits = 0 then
  42963. pTDefRegMap(@Self)^.clr := $00001000
  42964. else
  42965. pTDefRegMap(@Self)^.&set := $00001000;
  42966. end;
  42967. function TPORTC_CNPUC.getCNPUC12 : TBits_1; inline;
  42968. begin
  42969. getCNPUC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42970. end;
  42971. procedure TPORTC_CNPUC.setCNPUC13; inline;
  42972. begin
  42973. pTDefRegMap(@Self)^.&set := $00002000;
  42974. end;
  42975. procedure TPORTC_CNPUC.clearCNPUC13; inline;
  42976. begin
  42977. pTDefRegMap(@Self)^.clr := $00002000;
  42978. end;
  42979. procedure TPORTC_CNPUC.setCNPUC13(thebits : TBits_1); inline;
  42980. begin
  42981. if thebits = 0 then
  42982. pTDefRegMap(@Self)^.clr := $00002000
  42983. else
  42984. pTDefRegMap(@Self)^.&set := $00002000;
  42985. end;
  42986. function TPORTC_CNPUC.getCNPUC13 : TBits_1; inline;
  42987. begin
  42988. getCNPUC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42989. end;
  42990. procedure TPORTC_CNPUC.setCNPUC14; inline;
  42991. begin
  42992. pTDefRegMap(@Self)^.&set := $00004000;
  42993. end;
  42994. procedure TPORTC_CNPUC.clearCNPUC14; inline;
  42995. begin
  42996. pTDefRegMap(@Self)^.clr := $00004000;
  42997. end;
  42998. procedure TPORTC_CNPUC.setCNPUC14(thebits : TBits_1); inline;
  42999. begin
  43000. if thebits = 0 then
  43001. pTDefRegMap(@Self)^.clr := $00004000
  43002. else
  43003. pTDefRegMap(@Self)^.&set := $00004000;
  43004. end;
  43005. function TPORTC_CNPUC.getCNPUC14 : TBits_1; inline;
  43006. begin
  43007. getCNPUC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43008. end;
  43009. procedure TPORTC_CNPUC.setCNPUC15; inline;
  43010. begin
  43011. pTDefRegMap(@Self)^.&set := $00008000;
  43012. end;
  43013. procedure TPORTC_CNPUC.clearCNPUC15; inline;
  43014. begin
  43015. pTDefRegMap(@Self)^.clr := $00008000;
  43016. end;
  43017. procedure TPORTC_CNPUC.setCNPUC15(thebits : TBits_1); inline;
  43018. begin
  43019. if thebits = 0 then
  43020. pTDefRegMap(@Self)^.clr := $00008000
  43021. else
  43022. pTDefRegMap(@Self)^.&set := $00008000;
  43023. end;
  43024. function TPORTC_CNPUC.getCNPUC15 : TBits_1; inline;
  43025. begin
  43026. getCNPUC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43027. end;
  43028. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  43029. begin
  43030. pTDefRegMap(@Self)^.val := thebits;
  43031. end;
  43032. function TPORTC_CNPUC.getw : TBits_32; inline;
  43033. begin
  43034. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43035. end;
  43036. procedure TPORTC_CNPDC.setCNPDC12; inline;
  43037. begin
  43038. pTDefRegMap(@Self)^.&set := $00001000;
  43039. end;
  43040. procedure TPORTC_CNPDC.clearCNPDC12; inline;
  43041. begin
  43042. pTDefRegMap(@Self)^.clr := $00001000;
  43043. end;
  43044. procedure TPORTC_CNPDC.setCNPDC12(thebits : TBits_1); inline;
  43045. begin
  43046. if thebits = 0 then
  43047. pTDefRegMap(@Self)^.clr := $00001000
  43048. else
  43049. pTDefRegMap(@Self)^.&set := $00001000;
  43050. end;
  43051. function TPORTC_CNPDC.getCNPDC12 : TBits_1; inline;
  43052. begin
  43053. getCNPDC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43054. end;
  43055. procedure TPORTC_CNPDC.setCNPDC13; inline;
  43056. begin
  43057. pTDefRegMap(@Self)^.&set := $00002000;
  43058. end;
  43059. procedure TPORTC_CNPDC.clearCNPDC13; inline;
  43060. begin
  43061. pTDefRegMap(@Self)^.clr := $00002000;
  43062. end;
  43063. procedure TPORTC_CNPDC.setCNPDC13(thebits : TBits_1); inline;
  43064. begin
  43065. if thebits = 0 then
  43066. pTDefRegMap(@Self)^.clr := $00002000
  43067. else
  43068. pTDefRegMap(@Self)^.&set := $00002000;
  43069. end;
  43070. function TPORTC_CNPDC.getCNPDC13 : TBits_1; inline;
  43071. begin
  43072. getCNPDC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43073. end;
  43074. procedure TPORTC_CNPDC.setCNPDC14; inline;
  43075. begin
  43076. pTDefRegMap(@Self)^.&set := $00004000;
  43077. end;
  43078. procedure TPORTC_CNPDC.clearCNPDC14; inline;
  43079. begin
  43080. pTDefRegMap(@Self)^.clr := $00004000;
  43081. end;
  43082. procedure TPORTC_CNPDC.setCNPDC14(thebits : TBits_1); inline;
  43083. begin
  43084. if thebits = 0 then
  43085. pTDefRegMap(@Self)^.clr := $00004000
  43086. else
  43087. pTDefRegMap(@Self)^.&set := $00004000;
  43088. end;
  43089. function TPORTC_CNPDC.getCNPDC14 : TBits_1; inline;
  43090. begin
  43091. getCNPDC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43092. end;
  43093. procedure TPORTC_CNPDC.setCNPDC15; inline;
  43094. begin
  43095. pTDefRegMap(@Self)^.&set := $00008000;
  43096. end;
  43097. procedure TPORTC_CNPDC.clearCNPDC15; inline;
  43098. begin
  43099. pTDefRegMap(@Self)^.clr := $00008000;
  43100. end;
  43101. procedure TPORTC_CNPDC.setCNPDC15(thebits : TBits_1); inline;
  43102. begin
  43103. if thebits = 0 then
  43104. pTDefRegMap(@Self)^.clr := $00008000
  43105. else
  43106. pTDefRegMap(@Self)^.&set := $00008000;
  43107. end;
  43108. function TPORTC_CNPDC.getCNPDC15 : TBits_1; inline;
  43109. begin
  43110. getCNPDC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43111. end;
  43112. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  43113. begin
  43114. pTDefRegMap(@Self)^.val := thebits;
  43115. end;
  43116. function TPORTC_CNPDC.getw : TBits_32; inline;
  43117. begin
  43118. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43119. end;
  43120. procedure TPORTC_CNCONC.setSIDL; inline;
  43121. begin
  43122. pTDefRegMap(@Self)^.&set := $00002000;
  43123. end;
  43124. procedure TPORTC_CNCONC.clearSIDL; inline;
  43125. begin
  43126. pTDefRegMap(@Self)^.clr := $00002000;
  43127. end;
  43128. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  43129. begin
  43130. if thebits = 0 then
  43131. pTDefRegMap(@Self)^.clr := $00002000
  43132. else
  43133. pTDefRegMap(@Self)^.&set := $00002000;
  43134. end;
  43135. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  43136. begin
  43137. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43138. end;
  43139. procedure TPORTC_CNCONC.setON; inline;
  43140. begin
  43141. pTDefRegMap(@Self)^.&set := $00008000;
  43142. end;
  43143. procedure TPORTC_CNCONC.clearON; inline;
  43144. begin
  43145. pTDefRegMap(@Self)^.clr := $00008000;
  43146. end;
  43147. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  43148. begin
  43149. if thebits = 0 then
  43150. pTDefRegMap(@Self)^.clr := $00008000
  43151. else
  43152. pTDefRegMap(@Self)^.&set := $00008000;
  43153. end;
  43154. function TPORTC_CNCONC.getON : TBits_1; inline;
  43155. begin
  43156. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43157. end;
  43158. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  43159. begin
  43160. pTDefRegMap(@Self)^.val := thebits;
  43161. end;
  43162. function TPORTC_CNCONC.getw : TBits_32; inline;
  43163. begin
  43164. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43165. end;
  43166. procedure TPORTC_CNENC.setCNIEC12; inline;
  43167. begin
  43168. pTDefRegMap(@Self)^.&set := $00001000;
  43169. end;
  43170. procedure TPORTC_CNENC.clearCNIEC12; inline;
  43171. begin
  43172. pTDefRegMap(@Self)^.clr := $00001000;
  43173. end;
  43174. procedure TPORTC_CNENC.setCNIEC12(thebits : TBits_1); inline;
  43175. begin
  43176. if thebits = 0 then
  43177. pTDefRegMap(@Self)^.clr := $00001000
  43178. else
  43179. pTDefRegMap(@Self)^.&set := $00001000;
  43180. end;
  43181. function TPORTC_CNENC.getCNIEC12 : TBits_1; inline;
  43182. begin
  43183. getCNIEC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43184. end;
  43185. procedure TPORTC_CNENC.setCNIEC13; inline;
  43186. begin
  43187. pTDefRegMap(@Self)^.&set := $00002000;
  43188. end;
  43189. procedure TPORTC_CNENC.clearCNIEC13; inline;
  43190. begin
  43191. pTDefRegMap(@Self)^.clr := $00002000;
  43192. end;
  43193. procedure TPORTC_CNENC.setCNIEC13(thebits : TBits_1); inline;
  43194. begin
  43195. if thebits = 0 then
  43196. pTDefRegMap(@Self)^.clr := $00002000
  43197. else
  43198. pTDefRegMap(@Self)^.&set := $00002000;
  43199. end;
  43200. function TPORTC_CNENC.getCNIEC13 : TBits_1; inline;
  43201. begin
  43202. getCNIEC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43203. end;
  43204. procedure TPORTC_CNENC.setCNIEC14; inline;
  43205. begin
  43206. pTDefRegMap(@Self)^.&set := $00004000;
  43207. end;
  43208. procedure TPORTC_CNENC.clearCNIEC14; inline;
  43209. begin
  43210. pTDefRegMap(@Self)^.clr := $00004000;
  43211. end;
  43212. procedure TPORTC_CNENC.setCNIEC14(thebits : TBits_1); inline;
  43213. begin
  43214. if thebits = 0 then
  43215. pTDefRegMap(@Self)^.clr := $00004000
  43216. else
  43217. pTDefRegMap(@Self)^.&set := $00004000;
  43218. end;
  43219. function TPORTC_CNENC.getCNIEC14 : TBits_1; inline;
  43220. begin
  43221. getCNIEC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43222. end;
  43223. procedure TPORTC_CNENC.setCNIEC15; inline;
  43224. begin
  43225. pTDefRegMap(@Self)^.&set := $00008000;
  43226. end;
  43227. procedure TPORTC_CNENC.clearCNIEC15; inline;
  43228. begin
  43229. pTDefRegMap(@Self)^.clr := $00008000;
  43230. end;
  43231. procedure TPORTC_CNENC.setCNIEC15(thebits : TBits_1); inline;
  43232. begin
  43233. if thebits = 0 then
  43234. pTDefRegMap(@Self)^.clr := $00008000
  43235. else
  43236. pTDefRegMap(@Self)^.&set := $00008000;
  43237. end;
  43238. function TPORTC_CNENC.getCNIEC15 : TBits_1; inline;
  43239. begin
  43240. getCNIEC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43241. end;
  43242. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  43243. begin
  43244. pTDefRegMap(@Self)^.val := thebits;
  43245. end;
  43246. function TPORTC_CNENC.getw : TBits_32; inline;
  43247. begin
  43248. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43249. end;
  43250. procedure TPORTC_CNSTATC.setCNSTATC12; inline;
  43251. begin
  43252. pTDefRegMap(@Self)^.&set := $00001000;
  43253. end;
  43254. procedure TPORTC_CNSTATC.clearCNSTATC12; inline;
  43255. begin
  43256. pTDefRegMap(@Self)^.clr := $00001000;
  43257. end;
  43258. procedure TPORTC_CNSTATC.setCNSTATC12(thebits : TBits_1); inline;
  43259. begin
  43260. if thebits = 0 then
  43261. pTDefRegMap(@Self)^.clr := $00001000
  43262. else
  43263. pTDefRegMap(@Self)^.&set := $00001000;
  43264. end;
  43265. function TPORTC_CNSTATC.getCNSTATC12 : TBits_1; inline;
  43266. begin
  43267. getCNSTATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43268. end;
  43269. procedure TPORTC_CNSTATC.setCNSTATC13; inline;
  43270. begin
  43271. pTDefRegMap(@Self)^.&set := $00002000;
  43272. end;
  43273. procedure TPORTC_CNSTATC.clearCNSTATC13; inline;
  43274. begin
  43275. pTDefRegMap(@Self)^.clr := $00002000;
  43276. end;
  43277. procedure TPORTC_CNSTATC.setCNSTATC13(thebits : TBits_1); inline;
  43278. begin
  43279. if thebits = 0 then
  43280. pTDefRegMap(@Self)^.clr := $00002000
  43281. else
  43282. pTDefRegMap(@Self)^.&set := $00002000;
  43283. end;
  43284. function TPORTC_CNSTATC.getCNSTATC13 : TBits_1; inline;
  43285. begin
  43286. getCNSTATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43287. end;
  43288. procedure TPORTC_CNSTATC.setCNSTATC14; inline;
  43289. begin
  43290. pTDefRegMap(@Self)^.&set := $00004000;
  43291. end;
  43292. procedure TPORTC_CNSTATC.clearCNSTATC14; inline;
  43293. begin
  43294. pTDefRegMap(@Self)^.clr := $00004000;
  43295. end;
  43296. procedure TPORTC_CNSTATC.setCNSTATC14(thebits : TBits_1); inline;
  43297. begin
  43298. if thebits = 0 then
  43299. pTDefRegMap(@Self)^.clr := $00004000
  43300. else
  43301. pTDefRegMap(@Self)^.&set := $00004000;
  43302. end;
  43303. function TPORTC_CNSTATC.getCNSTATC14 : TBits_1; inline;
  43304. begin
  43305. getCNSTATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43306. end;
  43307. procedure TPORTC_CNSTATC.setCNSTATC15; inline;
  43308. begin
  43309. pTDefRegMap(@Self)^.&set := $00008000;
  43310. end;
  43311. procedure TPORTC_CNSTATC.clearCNSTATC15; inline;
  43312. begin
  43313. pTDefRegMap(@Self)^.clr := $00008000;
  43314. end;
  43315. procedure TPORTC_CNSTATC.setCNSTATC15(thebits : TBits_1); inline;
  43316. begin
  43317. if thebits = 0 then
  43318. pTDefRegMap(@Self)^.clr := $00008000
  43319. else
  43320. pTDefRegMap(@Self)^.&set := $00008000;
  43321. end;
  43322. function TPORTC_CNSTATC.getCNSTATC15 : TBits_1; inline;
  43323. begin
  43324. getCNSTATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43325. end;
  43326. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  43327. begin
  43328. pTDefRegMap(@Self)^.val := thebits;
  43329. end;
  43330. function TPORTC_CNSTATC.getw : TBits_32; inline;
  43331. begin
  43332. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43333. end;
  43334. procedure TPORTC_ANSELD.setANSD1; inline;
  43335. begin
  43336. pTDefRegMap(@Self)^.&set := $00000002;
  43337. end;
  43338. procedure TPORTC_ANSELD.clearANSD1; inline;
  43339. begin
  43340. pTDefRegMap(@Self)^.clr := $00000002;
  43341. end;
  43342. procedure TPORTC_ANSELD.setANSD1(thebits : TBits_1); inline;
  43343. begin
  43344. if thebits = 0 then
  43345. pTDefRegMap(@Self)^.clr := $00000002
  43346. else
  43347. pTDefRegMap(@Self)^.&set := $00000002;
  43348. end;
  43349. function TPORTC_ANSELD.getANSD1 : TBits_1; inline;
  43350. begin
  43351. getANSD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43352. end;
  43353. procedure TPORTC_ANSELD.setANSD2; inline;
  43354. begin
  43355. pTDefRegMap(@Self)^.&set := $00000004;
  43356. end;
  43357. procedure TPORTC_ANSELD.clearANSD2; inline;
  43358. begin
  43359. pTDefRegMap(@Self)^.clr := $00000004;
  43360. end;
  43361. procedure TPORTC_ANSELD.setANSD2(thebits : TBits_1); inline;
  43362. begin
  43363. if thebits = 0 then
  43364. pTDefRegMap(@Self)^.clr := $00000004
  43365. else
  43366. pTDefRegMap(@Self)^.&set := $00000004;
  43367. end;
  43368. function TPORTC_ANSELD.getANSD2 : TBits_1; inline;
  43369. begin
  43370. getANSD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43371. end;
  43372. procedure TPORTC_ANSELD.setANSD3; inline;
  43373. begin
  43374. pTDefRegMap(@Self)^.&set := $00000008;
  43375. end;
  43376. procedure TPORTC_ANSELD.clearANSD3; inline;
  43377. begin
  43378. pTDefRegMap(@Self)^.clr := $00000008;
  43379. end;
  43380. procedure TPORTC_ANSELD.setANSD3(thebits : TBits_1); inline;
  43381. begin
  43382. if thebits = 0 then
  43383. pTDefRegMap(@Self)^.clr := $00000008
  43384. else
  43385. pTDefRegMap(@Self)^.&set := $00000008;
  43386. end;
  43387. function TPORTC_ANSELD.getANSD3 : TBits_1; inline;
  43388. begin
  43389. getANSD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43390. end;
  43391. procedure TPORTC_ANSELD.setw(thebits : TBits_32); inline;
  43392. begin
  43393. pTDefRegMap(@Self)^.val := thebits;
  43394. end;
  43395. function TPORTC_ANSELD.getw : TBits_32; inline;
  43396. begin
  43397. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43398. end;
  43399. procedure TPORTC_TRISD.setTRISD0; inline;
  43400. begin
  43401. pTDefRegMap(@Self)^.&set := $00000001;
  43402. end;
  43403. procedure TPORTC_TRISD.clearTRISD0; inline;
  43404. begin
  43405. pTDefRegMap(@Self)^.clr := $00000001;
  43406. end;
  43407. procedure TPORTC_TRISD.setTRISD0(thebits : TBits_1); inline;
  43408. begin
  43409. if thebits = 0 then
  43410. pTDefRegMap(@Self)^.clr := $00000001
  43411. else
  43412. pTDefRegMap(@Self)^.&set := $00000001;
  43413. end;
  43414. function TPORTC_TRISD.getTRISD0 : TBits_1; inline;
  43415. begin
  43416. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43417. end;
  43418. procedure TPORTC_TRISD.setTRISD1; inline;
  43419. begin
  43420. pTDefRegMap(@Self)^.&set := $00000002;
  43421. end;
  43422. procedure TPORTC_TRISD.clearTRISD1; inline;
  43423. begin
  43424. pTDefRegMap(@Self)^.clr := $00000002;
  43425. end;
  43426. procedure TPORTC_TRISD.setTRISD1(thebits : TBits_1); inline;
  43427. begin
  43428. if thebits = 0 then
  43429. pTDefRegMap(@Self)^.clr := $00000002
  43430. else
  43431. pTDefRegMap(@Self)^.&set := $00000002;
  43432. end;
  43433. function TPORTC_TRISD.getTRISD1 : TBits_1; inline;
  43434. begin
  43435. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43436. end;
  43437. procedure TPORTC_TRISD.setTRISD2; inline;
  43438. begin
  43439. pTDefRegMap(@Self)^.&set := $00000004;
  43440. end;
  43441. procedure TPORTC_TRISD.clearTRISD2; inline;
  43442. begin
  43443. pTDefRegMap(@Self)^.clr := $00000004;
  43444. end;
  43445. procedure TPORTC_TRISD.setTRISD2(thebits : TBits_1); inline;
  43446. begin
  43447. if thebits = 0 then
  43448. pTDefRegMap(@Self)^.clr := $00000004
  43449. else
  43450. pTDefRegMap(@Self)^.&set := $00000004;
  43451. end;
  43452. function TPORTC_TRISD.getTRISD2 : TBits_1; inline;
  43453. begin
  43454. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43455. end;
  43456. procedure TPORTC_TRISD.setTRISD3; inline;
  43457. begin
  43458. pTDefRegMap(@Self)^.&set := $00000008;
  43459. end;
  43460. procedure TPORTC_TRISD.clearTRISD3; inline;
  43461. begin
  43462. pTDefRegMap(@Self)^.clr := $00000008;
  43463. end;
  43464. procedure TPORTC_TRISD.setTRISD3(thebits : TBits_1); inline;
  43465. begin
  43466. if thebits = 0 then
  43467. pTDefRegMap(@Self)^.clr := $00000008
  43468. else
  43469. pTDefRegMap(@Self)^.&set := $00000008;
  43470. end;
  43471. function TPORTC_TRISD.getTRISD3 : TBits_1; inline;
  43472. begin
  43473. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43474. end;
  43475. procedure TPORTC_TRISD.setTRISD4; inline;
  43476. begin
  43477. pTDefRegMap(@Self)^.&set := $00000010;
  43478. end;
  43479. procedure TPORTC_TRISD.clearTRISD4; inline;
  43480. begin
  43481. pTDefRegMap(@Self)^.clr := $00000010;
  43482. end;
  43483. procedure TPORTC_TRISD.setTRISD4(thebits : TBits_1); inline;
  43484. begin
  43485. if thebits = 0 then
  43486. pTDefRegMap(@Self)^.clr := $00000010
  43487. else
  43488. pTDefRegMap(@Self)^.&set := $00000010;
  43489. end;
  43490. function TPORTC_TRISD.getTRISD4 : TBits_1; inline;
  43491. begin
  43492. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43493. end;
  43494. procedure TPORTC_TRISD.setTRISD5; inline;
  43495. begin
  43496. pTDefRegMap(@Self)^.&set := $00000020;
  43497. end;
  43498. procedure TPORTC_TRISD.clearTRISD5; inline;
  43499. begin
  43500. pTDefRegMap(@Self)^.clr := $00000020;
  43501. end;
  43502. procedure TPORTC_TRISD.setTRISD5(thebits : TBits_1); inline;
  43503. begin
  43504. if thebits = 0 then
  43505. pTDefRegMap(@Self)^.clr := $00000020
  43506. else
  43507. pTDefRegMap(@Self)^.&set := $00000020;
  43508. end;
  43509. function TPORTC_TRISD.getTRISD5 : TBits_1; inline;
  43510. begin
  43511. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43512. end;
  43513. procedure TPORTC_TRISD.setTRISD6; inline;
  43514. begin
  43515. pTDefRegMap(@Self)^.&set := $00000040;
  43516. end;
  43517. procedure TPORTC_TRISD.clearTRISD6; inline;
  43518. begin
  43519. pTDefRegMap(@Self)^.clr := $00000040;
  43520. end;
  43521. procedure TPORTC_TRISD.setTRISD6(thebits : TBits_1); inline;
  43522. begin
  43523. if thebits = 0 then
  43524. pTDefRegMap(@Self)^.clr := $00000040
  43525. else
  43526. pTDefRegMap(@Self)^.&set := $00000040;
  43527. end;
  43528. function TPORTC_TRISD.getTRISD6 : TBits_1; inline;
  43529. begin
  43530. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43531. end;
  43532. procedure TPORTC_TRISD.setTRISD7; inline;
  43533. begin
  43534. pTDefRegMap(@Self)^.&set := $00000080;
  43535. end;
  43536. procedure TPORTC_TRISD.clearTRISD7; inline;
  43537. begin
  43538. pTDefRegMap(@Self)^.clr := $00000080;
  43539. end;
  43540. procedure TPORTC_TRISD.setTRISD7(thebits : TBits_1); inline;
  43541. begin
  43542. if thebits = 0 then
  43543. pTDefRegMap(@Self)^.clr := $00000080
  43544. else
  43545. pTDefRegMap(@Self)^.&set := $00000080;
  43546. end;
  43547. function TPORTC_TRISD.getTRISD7 : TBits_1; inline;
  43548. begin
  43549. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43550. end;
  43551. procedure TPORTC_TRISD.setTRISD8; inline;
  43552. begin
  43553. pTDefRegMap(@Self)^.&set := $00000100;
  43554. end;
  43555. procedure TPORTC_TRISD.clearTRISD8; inline;
  43556. begin
  43557. pTDefRegMap(@Self)^.clr := $00000100;
  43558. end;
  43559. procedure TPORTC_TRISD.setTRISD8(thebits : TBits_1); inline;
  43560. begin
  43561. if thebits = 0 then
  43562. pTDefRegMap(@Self)^.clr := $00000100
  43563. else
  43564. pTDefRegMap(@Self)^.&set := $00000100;
  43565. end;
  43566. function TPORTC_TRISD.getTRISD8 : TBits_1; inline;
  43567. begin
  43568. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43569. end;
  43570. procedure TPORTC_TRISD.setTRISD9; inline;
  43571. begin
  43572. pTDefRegMap(@Self)^.&set := $00000200;
  43573. end;
  43574. procedure TPORTC_TRISD.clearTRISD9; inline;
  43575. begin
  43576. pTDefRegMap(@Self)^.clr := $00000200;
  43577. end;
  43578. procedure TPORTC_TRISD.setTRISD9(thebits : TBits_1); inline;
  43579. begin
  43580. if thebits = 0 then
  43581. pTDefRegMap(@Self)^.clr := $00000200
  43582. else
  43583. pTDefRegMap(@Self)^.&set := $00000200;
  43584. end;
  43585. function TPORTC_TRISD.getTRISD9 : TBits_1; inline;
  43586. begin
  43587. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43588. end;
  43589. procedure TPORTC_TRISD.setTRISD10; inline;
  43590. begin
  43591. pTDefRegMap(@Self)^.&set := $00000400;
  43592. end;
  43593. procedure TPORTC_TRISD.clearTRISD10; inline;
  43594. begin
  43595. pTDefRegMap(@Self)^.clr := $00000400;
  43596. end;
  43597. procedure TPORTC_TRISD.setTRISD10(thebits : TBits_1); inline;
  43598. begin
  43599. if thebits = 0 then
  43600. pTDefRegMap(@Self)^.clr := $00000400
  43601. else
  43602. pTDefRegMap(@Self)^.&set := $00000400;
  43603. end;
  43604. function TPORTC_TRISD.getTRISD10 : TBits_1; inline;
  43605. begin
  43606. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43607. end;
  43608. procedure TPORTC_TRISD.setTRISD11; inline;
  43609. begin
  43610. pTDefRegMap(@Self)^.&set := $00000800;
  43611. end;
  43612. procedure TPORTC_TRISD.clearTRISD11; inline;
  43613. begin
  43614. pTDefRegMap(@Self)^.clr := $00000800;
  43615. end;
  43616. procedure TPORTC_TRISD.setTRISD11(thebits : TBits_1); inline;
  43617. begin
  43618. if thebits = 0 then
  43619. pTDefRegMap(@Self)^.clr := $00000800
  43620. else
  43621. pTDefRegMap(@Self)^.&set := $00000800;
  43622. end;
  43623. function TPORTC_TRISD.getTRISD11 : TBits_1; inline;
  43624. begin
  43625. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43626. end;
  43627. procedure TPORTC_TRISD.setw(thebits : TBits_32); inline;
  43628. begin
  43629. pTDefRegMap(@Self)^.val := thebits;
  43630. end;
  43631. function TPORTC_TRISD.getw : TBits_32; inline;
  43632. begin
  43633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43634. end;
  43635. procedure TPORTD_PORTD.setRD0; inline;
  43636. begin
  43637. pTDefRegMap(@Self)^.&set := $00000001;
  43638. end;
  43639. procedure TPORTD_PORTD.clearRD0; inline;
  43640. begin
  43641. pTDefRegMap(@Self)^.clr := $00000001;
  43642. end;
  43643. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  43644. begin
  43645. if thebits = 0 then
  43646. pTDefRegMap(@Self)^.clr := $00000001
  43647. else
  43648. pTDefRegMap(@Self)^.&set := $00000001;
  43649. end;
  43650. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  43651. begin
  43652. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43653. end;
  43654. procedure TPORTD_PORTD.setRD1; inline;
  43655. begin
  43656. pTDefRegMap(@Self)^.&set := $00000002;
  43657. end;
  43658. procedure TPORTD_PORTD.clearRD1; inline;
  43659. begin
  43660. pTDefRegMap(@Self)^.clr := $00000002;
  43661. end;
  43662. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  43663. begin
  43664. if thebits = 0 then
  43665. pTDefRegMap(@Self)^.clr := $00000002
  43666. else
  43667. pTDefRegMap(@Self)^.&set := $00000002;
  43668. end;
  43669. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  43670. begin
  43671. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43672. end;
  43673. procedure TPORTD_PORTD.setRD2; inline;
  43674. begin
  43675. pTDefRegMap(@Self)^.&set := $00000004;
  43676. end;
  43677. procedure TPORTD_PORTD.clearRD2; inline;
  43678. begin
  43679. pTDefRegMap(@Self)^.clr := $00000004;
  43680. end;
  43681. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  43682. begin
  43683. if thebits = 0 then
  43684. pTDefRegMap(@Self)^.clr := $00000004
  43685. else
  43686. pTDefRegMap(@Self)^.&set := $00000004;
  43687. end;
  43688. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  43689. begin
  43690. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43691. end;
  43692. procedure TPORTD_PORTD.setRD3; inline;
  43693. begin
  43694. pTDefRegMap(@Self)^.&set := $00000008;
  43695. end;
  43696. procedure TPORTD_PORTD.clearRD3; inline;
  43697. begin
  43698. pTDefRegMap(@Self)^.clr := $00000008;
  43699. end;
  43700. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  43701. begin
  43702. if thebits = 0 then
  43703. pTDefRegMap(@Self)^.clr := $00000008
  43704. else
  43705. pTDefRegMap(@Self)^.&set := $00000008;
  43706. end;
  43707. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  43708. begin
  43709. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43710. end;
  43711. procedure TPORTD_PORTD.setRD4; inline;
  43712. begin
  43713. pTDefRegMap(@Self)^.&set := $00000010;
  43714. end;
  43715. procedure TPORTD_PORTD.clearRD4; inline;
  43716. begin
  43717. pTDefRegMap(@Self)^.clr := $00000010;
  43718. end;
  43719. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  43720. begin
  43721. if thebits = 0 then
  43722. pTDefRegMap(@Self)^.clr := $00000010
  43723. else
  43724. pTDefRegMap(@Self)^.&set := $00000010;
  43725. end;
  43726. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  43727. begin
  43728. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43729. end;
  43730. procedure TPORTD_PORTD.setRD5; inline;
  43731. begin
  43732. pTDefRegMap(@Self)^.&set := $00000020;
  43733. end;
  43734. procedure TPORTD_PORTD.clearRD5; inline;
  43735. begin
  43736. pTDefRegMap(@Self)^.clr := $00000020;
  43737. end;
  43738. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  43739. begin
  43740. if thebits = 0 then
  43741. pTDefRegMap(@Self)^.clr := $00000020
  43742. else
  43743. pTDefRegMap(@Self)^.&set := $00000020;
  43744. end;
  43745. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  43746. begin
  43747. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43748. end;
  43749. procedure TPORTD_PORTD.setRD6; inline;
  43750. begin
  43751. pTDefRegMap(@Self)^.&set := $00000040;
  43752. end;
  43753. procedure TPORTD_PORTD.clearRD6; inline;
  43754. begin
  43755. pTDefRegMap(@Self)^.clr := $00000040;
  43756. end;
  43757. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  43758. begin
  43759. if thebits = 0 then
  43760. pTDefRegMap(@Self)^.clr := $00000040
  43761. else
  43762. pTDefRegMap(@Self)^.&set := $00000040;
  43763. end;
  43764. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  43765. begin
  43766. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43767. end;
  43768. procedure TPORTD_PORTD.setRD7; inline;
  43769. begin
  43770. pTDefRegMap(@Self)^.&set := $00000080;
  43771. end;
  43772. procedure TPORTD_PORTD.clearRD7; inline;
  43773. begin
  43774. pTDefRegMap(@Self)^.clr := $00000080;
  43775. end;
  43776. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  43777. begin
  43778. if thebits = 0 then
  43779. pTDefRegMap(@Self)^.clr := $00000080
  43780. else
  43781. pTDefRegMap(@Self)^.&set := $00000080;
  43782. end;
  43783. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  43784. begin
  43785. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43786. end;
  43787. procedure TPORTD_PORTD.setRD8; inline;
  43788. begin
  43789. pTDefRegMap(@Self)^.&set := $00000100;
  43790. end;
  43791. procedure TPORTD_PORTD.clearRD8; inline;
  43792. begin
  43793. pTDefRegMap(@Self)^.clr := $00000100;
  43794. end;
  43795. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  43796. begin
  43797. if thebits = 0 then
  43798. pTDefRegMap(@Self)^.clr := $00000100
  43799. else
  43800. pTDefRegMap(@Self)^.&set := $00000100;
  43801. end;
  43802. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  43803. begin
  43804. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43805. end;
  43806. procedure TPORTD_PORTD.setRD9; inline;
  43807. begin
  43808. pTDefRegMap(@Self)^.&set := $00000200;
  43809. end;
  43810. procedure TPORTD_PORTD.clearRD9; inline;
  43811. begin
  43812. pTDefRegMap(@Self)^.clr := $00000200;
  43813. end;
  43814. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  43815. begin
  43816. if thebits = 0 then
  43817. pTDefRegMap(@Self)^.clr := $00000200
  43818. else
  43819. pTDefRegMap(@Self)^.&set := $00000200;
  43820. end;
  43821. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  43822. begin
  43823. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43824. end;
  43825. procedure TPORTD_PORTD.setRD10; inline;
  43826. begin
  43827. pTDefRegMap(@Self)^.&set := $00000400;
  43828. end;
  43829. procedure TPORTD_PORTD.clearRD10; inline;
  43830. begin
  43831. pTDefRegMap(@Self)^.clr := $00000400;
  43832. end;
  43833. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  43834. begin
  43835. if thebits = 0 then
  43836. pTDefRegMap(@Self)^.clr := $00000400
  43837. else
  43838. pTDefRegMap(@Self)^.&set := $00000400;
  43839. end;
  43840. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  43841. begin
  43842. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43843. end;
  43844. procedure TPORTD_PORTD.setRD11; inline;
  43845. begin
  43846. pTDefRegMap(@Self)^.&set := $00000800;
  43847. end;
  43848. procedure TPORTD_PORTD.clearRD11; inline;
  43849. begin
  43850. pTDefRegMap(@Self)^.clr := $00000800;
  43851. end;
  43852. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  43853. begin
  43854. if thebits = 0 then
  43855. pTDefRegMap(@Self)^.clr := $00000800
  43856. else
  43857. pTDefRegMap(@Self)^.&set := $00000800;
  43858. end;
  43859. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  43860. begin
  43861. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43862. end;
  43863. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  43864. begin
  43865. pTDefRegMap(@Self)^.val := thebits;
  43866. end;
  43867. function TPORTD_PORTD.getw : TBits_32; inline;
  43868. begin
  43869. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43870. end;
  43871. procedure TPORTD_LATD.setLATD0; inline;
  43872. begin
  43873. pTDefRegMap(@Self)^.&set := $00000001;
  43874. end;
  43875. procedure TPORTD_LATD.clearLATD0; inline;
  43876. begin
  43877. pTDefRegMap(@Self)^.clr := $00000001;
  43878. end;
  43879. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  43880. begin
  43881. if thebits = 0 then
  43882. pTDefRegMap(@Self)^.clr := $00000001
  43883. else
  43884. pTDefRegMap(@Self)^.&set := $00000001;
  43885. end;
  43886. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  43887. begin
  43888. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43889. end;
  43890. procedure TPORTD_LATD.setLATD1; inline;
  43891. begin
  43892. pTDefRegMap(@Self)^.&set := $00000002;
  43893. end;
  43894. procedure TPORTD_LATD.clearLATD1; inline;
  43895. begin
  43896. pTDefRegMap(@Self)^.clr := $00000002;
  43897. end;
  43898. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  43899. begin
  43900. if thebits = 0 then
  43901. pTDefRegMap(@Self)^.clr := $00000002
  43902. else
  43903. pTDefRegMap(@Self)^.&set := $00000002;
  43904. end;
  43905. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  43906. begin
  43907. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43908. end;
  43909. procedure TPORTD_LATD.setLATD2; inline;
  43910. begin
  43911. pTDefRegMap(@Self)^.&set := $00000004;
  43912. end;
  43913. procedure TPORTD_LATD.clearLATD2; inline;
  43914. begin
  43915. pTDefRegMap(@Self)^.clr := $00000004;
  43916. end;
  43917. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  43918. begin
  43919. if thebits = 0 then
  43920. pTDefRegMap(@Self)^.clr := $00000004
  43921. else
  43922. pTDefRegMap(@Self)^.&set := $00000004;
  43923. end;
  43924. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  43925. begin
  43926. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43927. end;
  43928. procedure TPORTD_LATD.setLATD3; inline;
  43929. begin
  43930. pTDefRegMap(@Self)^.&set := $00000008;
  43931. end;
  43932. procedure TPORTD_LATD.clearLATD3; inline;
  43933. begin
  43934. pTDefRegMap(@Self)^.clr := $00000008;
  43935. end;
  43936. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  43937. begin
  43938. if thebits = 0 then
  43939. pTDefRegMap(@Self)^.clr := $00000008
  43940. else
  43941. pTDefRegMap(@Self)^.&set := $00000008;
  43942. end;
  43943. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  43944. begin
  43945. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43946. end;
  43947. procedure TPORTD_LATD.setLATD4; inline;
  43948. begin
  43949. pTDefRegMap(@Self)^.&set := $00000010;
  43950. end;
  43951. procedure TPORTD_LATD.clearLATD4; inline;
  43952. begin
  43953. pTDefRegMap(@Self)^.clr := $00000010;
  43954. end;
  43955. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  43956. begin
  43957. if thebits = 0 then
  43958. pTDefRegMap(@Self)^.clr := $00000010
  43959. else
  43960. pTDefRegMap(@Self)^.&set := $00000010;
  43961. end;
  43962. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  43963. begin
  43964. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43965. end;
  43966. procedure TPORTD_LATD.setLATD5; inline;
  43967. begin
  43968. pTDefRegMap(@Self)^.&set := $00000020;
  43969. end;
  43970. procedure TPORTD_LATD.clearLATD5; inline;
  43971. begin
  43972. pTDefRegMap(@Self)^.clr := $00000020;
  43973. end;
  43974. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  43975. begin
  43976. if thebits = 0 then
  43977. pTDefRegMap(@Self)^.clr := $00000020
  43978. else
  43979. pTDefRegMap(@Self)^.&set := $00000020;
  43980. end;
  43981. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  43982. begin
  43983. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43984. end;
  43985. procedure TPORTD_LATD.setLATD6; inline;
  43986. begin
  43987. pTDefRegMap(@Self)^.&set := $00000040;
  43988. end;
  43989. procedure TPORTD_LATD.clearLATD6; inline;
  43990. begin
  43991. pTDefRegMap(@Self)^.clr := $00000040;
  43992. end;
  43993. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  43994. begin
  43995. if thebits = 0 then
  43996. pTDefRegMap(@Self)^.clr := $00000040
  43997. else
  43998. pTDefRegMap(@Self)^.&set := $00000040;
  43999. end;
  44000. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  44001. begin
  44002. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44003. end;
  44004. procedure TPORTD_LATD.setLATD7; inline;
  44005. begin
  44006. pTDefRegMap(@Self)^.&set := $00000080;
  44007. end;
  44008. procedure TPORTD_LATD.clearLATD7; inline;
  44009. begin
  44010. pTDefRegMap(@Self)^.clr := $00000080;
  44011. end;
  44012. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  44013. begin
  44014. if thebits = 0 then
  44015. pTDefRegMap(@Self)^.clr := $00000080
  44016. else
  44017. pTDefRegMap(@Self)^.&set := $00000080;
  44018. end;
  44019. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  44020. begin
  44021. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44022. end;
  44023. procedure TPORTD_LATD.setLATD8; inline;
  44024. begin
  44025. pTDefRegMap(@Self)^.&set := $00000100;
  44026. end;
  44027. procedure TPORTD_LATD.clearLATD8; inline;
  44028. begin
  44029. pTDefRegMap(@Self)^.clr := $00000100;
  44030. end;
  44031. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  44032. begin
  44033. if thebits = 0 then
  44034. pTDefRegMap(@Self)^.clr := $00000100
  44035. else
  44036. pTDefRegMap(@Self)^.&set := $00000100;
  44037. end;
  44038. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  44039. begin
  44040. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44041. end;
  44042. procedure TPORTD_LATD.setLATD9; inline;
  44043. begin
  44044. pTDefRegMap(@Self)^.&set := $00000200;
  44045. end;
  44046. procedure TPORTD_LATD.clearLATD9; inline;
  44047. begin
  44048. pTDefRegMap(@Self)^.clr := $00000200;
  44049. end;
  44050. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  44051. begin
  44052. if thebits = 0 then
  44053. pTDefRegMap(@Self)^.clr := $00000200
  44054. else
  44055. pTDefRegMap(@Self)^.&set := $00000200;
  44056. end;
  44057. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  44058. begin
  44059. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44060. end;
  44061. procedure TPORTD_LATD.setLATD10; inline;
  44062. begin
  44063. pTDefRegMap(@Self)^.&set := $00000400;
  44064. end;
  44065. procedure TPORTD_LATD.clearLATD10; inline;
  44066. begin
  44067. pTDefRegMap(@Self)^.clr := $00000400;
  44068. end;
  44069. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  44070. begin
  44071. if thebits = 0 then
  44072. pTDefRegMap(@Self)^.clr := $00000400
  44073. else
  44074. pTDefRegMap(@Self)^.&set := $00000400;
  44075. end;
  44076. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  44077. begin
  44078. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44079. end;
  44080. procedure TPORTD_LATD.setLATD11; inline;
  44081. begin
  44082. pTDefRegMap(@Self)^.&set := $00000800;
  44083. end;
  44084. procedure TPORTD_LATD.clearLATD11; inline;
  44085. begin
  44086. pTDefRegMap(@Self)^.clr := $00000800;
  44087. end;
  44088. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  44089. begin
  44090. if thebits = 0 then
  44091. pTDefRegMap(@Self)^.clr := $00000800
  44092. else
  44093. pTDefRegMap(@Self)^.&set := $00000800;
  44094. end;
  44095. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  44096. begin
  44097. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44098. end;
  44099. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  44100. begin
  44101. pTDefRegMap(@Self)^.val := thebits;
  44102. end;
  44103. function TPORTD_LATD.getw : TBits_32; inline;
  44104. begin
  44105. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44106. end;
  44107. procedure TPORTD_ODCD.setODCD0; inline;
  44108. begin
  44109. pTDefRegMap(@Self)^.&set := $00000001;
  44110. end;
  44111. procedure TPORTD_ODCD.clearODCD0; inline;
  44112. begin
  44113. pTDefRegMap(@Self)^.clr := $00000001;
  44114. end;
  44115. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  44116. begin
  44117. if thebits = 0 then
  44118. pTDefRegMap(@Self)^.clr := $00000001
  44119. else
  44120. pTDefRegMap(@Self)^.&set := $00000001;
  44121. end;
  44122. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  44123. begin
  44124. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44125. end;
  44126. procedure TPORTD_ODCD.setODCD1; inline;
  44127. begin
  44128. pTDefRegMap(@Self)^.&set := $00000002;
  44129. end;
  44130. procedure TPORTD_ODCD.clearODCD1; inline;
  44131. begin
  44132. pTDefRegMap(@Self)^.clr := $00000002;
  44133. end;
  44134. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  44135. begin
  44136. if thebits = 0 then
  44137. pTDefRegMap(@Self)^.clr := $00000002
  44138. else
  44139. pTDefRegMap(@Self)^.&set := $00000002;
  44140. end;
  44141. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  44142. begin
  44143. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44144. end;
  44145. procedure TPORTD_ODCD.setODCD2; inline;
  44146. begin
  44147. pTDefRegMap(@Self)^.&set := $00000004;
  44148. end;
  44149. procedure TPORTD_ODCD.clearODCD2; inline;
  44150. begin
  44151. pTDefRegMap(@Self)^.clr := $00000004;
  44152. end;
  44153. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  44154. begin
  44155. if thebits = 0 then
  44156. pTDefRegMap(@Self)^.clr := $00000004
  44157. else
  44158. pTDefRegMap(@Self)^.&set := $00000004;
  44159. end;
  44160. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  44161. begin
  44162. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44163. end;
  44164. procedure TPORTD_ODCD.setODCD3; inline;
  44165. begin
  44166. pTDefRegMap(@Self)^.&set := $00000008;
  44167. end;
  44168. procedure TPORTD_ODCD.clearODCD3; inline;
  44169. begin
  44170. pTDefRegMap(@Self)^.clr := $00000008;
  44171. end;
  44172. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  44173. begin
  44174. if thebits = 0 then
  44175. pTDefRegMap(@Self)^.clr := $00000008
  44176. else
  44177. pTDefRegMap(@Self)^.&set := $00000008;
  44178. end;
  44179. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  44180. begin
  44181. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44182. end;
  44183. procedure TPORTD_ODCD.setODCD4; inline;
  44184. begin
  44185. pTDefRegMap(@Self)^.&set := $00000010;
  44186. end;
  44187. procedure TPORTD_ODCD.clearODCD4; inline;
  44188. begin
  44189. pTDefRegMap(@Self)^.clr := $00000010;
  44190. end;
  44191. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  44192. begin
  44193. if thebits = 0 then
  44194. pTDefRegMap(@Self)^.clr := $00000010
  44195. else
  44196. pTDefRegMap(@Self)^.&set := $00000010;
  44197. end;
  44198. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  44199. begin
  44200. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44201. end;
  44202. procedure TPORTD_ODCD.setODCD5; inline;
  44203. begin
  44204. pTDefRegMap(@Self)^.&set := $00000020;
  44205. end;
  44206. procedure TPORTD_ODCD.clearODCD5; inline;
  44207. begin
  44208. pTDefRegMap(@Self)^.clr := $00000020;
  44209. end;
  44210. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  44211. begin
  44212. if thebits = 0 then
  44213. pTDefRegMap(@Self)^.clr := $00000020
  44214. else
  44215. pTDefRegMap(@Self)^.&set := $00000020;
  44216. end;
  44217. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  44218. begin
  44219. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44220. end;
  44221. procedure TPORTD_ODCD.setODCD6; inline;
  44222. begin
  44223. pTDefRegMap(@Self)^.&set := $00000040;
  44224. end;
  44225. procedure TPORTD_ODCD.clearODCD6; inline;
  44226. begin
  44227. pTDefRegMap(@Self)^.clr := $00000040;
  44228. end;
  44229. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  44230. begin
  44231. if thebits = 0 then
  44232. pTDefRegMap(@Self)^.clr := $00000040
  44233. else
  44234. pTDefRegMap(@Self)^.&set := $00000040;
  44235. end;
  44236. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  44237. begin
  44238. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44239. end;
  44240. procedure TPORTD_ODCD.setODCD7; inline;
  44241. begin
  44242. pTDefRegMap(@Self)^.&set := $00000080;
  44243. end;
  44244. procedure TPORTD_ODCD.clearODCD7; inline;
  44245. begin
  44246. pTDefRegMap(@Self)^.clr := $00000080;
  44247. end;
  44248. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  44249. begin
  44250. if thebits = 0 then
  44251. pTDefRegMap(@Self)^.clr := $00000080
  44252. else
  44253. pTDefRegMap(@Self)^.&set := $00000080;
  44254. end;
  44255. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  44256. begin
  44257. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44258. end;
  44259. procedure TPORTD_ODCD.setODCD8; inline;
  44260. begin
  44261. pTDefRegMap(@Self)^.&set := $00000100;
  44262. end;
  44263. procedure TPORTD_ODCD.clearODCD8; inline;
  44264. begin
  44265. pTDefRegMap(@Self)^.clr := $00000100;
  44266. end;
  44267. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  44268. begin
  44269. if thebits = 0 then
  44270. pTDefRegMap(@Self)^.clr := $00000100
  44271. else
  44272. pTDefRegMap(@Self)^.&set := $00000100;
  44273. end;
  44274. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  44275. begin
  44276. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44277. end;
  44278. procedure TPORTD_ODCD.setODCD9; inline;
  44279. begin
  44280. pTDefRegMap(@Self)^.&set := $00000200;
  44281. end;
  44282. procedure TPORTD_ODCD.clearODCD9; inline;
  44283. begin
  44284. pTDefRegMap(@Self)^.clr := $00000200;
  44285. end;
  44286. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  44287. begin
  44288. if thebits = 0 then
  44289. pTDefRegMap(@Self)^.clr := $00000200
  44290. else
  44291. pTDefRegMap(@Self)^.&set := $00000200;
  44292. end;
  44293. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  44294. begin
  44295. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44296. end;
  44297. procedure TPORTD_ODCD.setODCD10; inline;
  44298. begin
  44299. pTDefRegMap(@Self)^.&set := $00000400;
  44300. end;
  44301. procedure TPORTD_ODCD.clearODCD10; inline;
  44302. begin
  44303. pTDefRegMap(@Self)^.clr := $00000400;
  44304. end;
  44305. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  44306. begin
  44307. if thebits = 0 then
  44308. pTDefRegMap(@Self)^.clr := $00000400
  44309. else
  44310. pTDefRegMap(@Self)^.&set := $00000400;
  44311. end;
  44312. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  44313. begin
  44314. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44315. end;
  44316. procedure TPORTD_ODCD.setODCD11; inline;
  44317. begin
  44318. pTDefRegMap(@Self)^.&set := $00000800;
  44319. end;
  44320. procedure TPORTD_ODCD.clearODCD11; inline;
  44321. begin
  44322. pTDefRegMap(@Self)^.clr := $00000800;
  44323. end;
  44324. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  44325. begin
  44326. if thebits = 0 then
  44327. pTDefRegMap(@Self)^.clr := $00000800
  44328. else
  44329. pTDefRegMap(@Self)^.&set := $00000800;
  44330. end;
  44331. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  44332. begin
  44333. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44334. end;
  44335. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  44336. begin
  44337. pTDefRegMap(@Self)^.val := thebits;
  44338. end;
  44339. function TPORTD_ODCD.getw : TBits_32; inline;
  44340. begin
  44341. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44342. end;
  44343. procedure TPORTD_CNPUD.setCNPUD0; inline;
  44344. begin
  44345. pTDefRegMap(@Self)^.&set := $00000001;
  44346. end;
  44347. procedure TPORTD_CNPUD.clearCNPUD0; inline;
  44348. begin
  44349. pTDefRegMap(@Self)^.clr := $00000001;
  44350. end;
  44351. procedure TPORTD_CNPUD.setCNPUD0(thebits : TBits_1); inline;
  44352. begin
  44353. if thebits = 0 then
  44354. pTDefRegMap(@Self)^.clr := $00000001
  44355. else
  44356. pTDefRegMap(@Self)^.&set := $00000001;
  44357. end;
  44358. function TPORTD_CNPUD.getCNPUD0 : TBits_1; inline;
  44359. begin
  44360. getCNPUD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44361. end;
  44362. procedure TPORTD_CNPUD.setCNPUD1; inline;
  44363. begin
  44364. pTDefRegMap(@Self)^.&set := $00000002;
  44365. end;
  44366. procedure TPORTD_CNPUD.clearCNPUD1; inline;
  44367. begin
  44368. pTDefRegMap(@Self)^.clr := $00000002;
  44369. end;
  44370. procedure TPORTD_CNPUD.setCNPUD1(thebits : TBits_1); inline;
  44371. begin
  44372. if thebits = 0 then
  44373. pTDefRegMap(@Self)^.clr := $00000002
  44374. else
  44375. pTDefRegMap(@Self)^.&set := $00000002;
  44376. end;
  44377. function TPORTD_CNPUD.getCNPUD1 : TBits_1; inline;
  44378. begin
  44379. getCNPUD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44380. end;
  44381. procedure TPORTD_CNPUD.setCNPUD2; inline;
  44382. begin
  44383. pTDefRegMap(@Self)^.&set := $00000004;
  44384. end;
  44385. procedure TPORTD_CNPUD.clearCNPUD2; inline;
  44386. begin
  44387. pTDefRegMap(@Self)^.clr := $00000004;
  44388. end;
  44389. procedure TPORTD_CNPUD.setCNPUD2(thebits : TBits_1); inline;
  44390. begin
  44391. if thebits = 0 then
  44392. pTDefRegMap(@Self)^.clr := $00000004
  44393. else
  44394. pTDefRegMap(@Self)^.&set := $00000004;
  44395. end;
  44396. function TPORTD_CNPUD.getCNPUD2 : TBits_1; inline;
  44397. begin
  44398. getCNPUD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44399. end;
  44400. procedure TPORTD_CNPUD.setCNPUD3; inline;
  44401. begin
  44402. pTDefRegMap(@Self)^.&set := $00000008;
  44403. end;
  44404. procedure TPORTD_CNPUD.clearCNPUD3; inline;
  44405. begin
  44406. pTDefRegMap(@Self)^.clr := $00000008;
  44407. end;
  44408. procedure TPORTD_CNPUD.setCNPUD3(thebits : TBits_1); inline;
  44409. begin
  44410. if thebits = 0 then
  44411. pTDefRegMap(@Self)^.clr := $00000008
  44412. else
  44413. pTDefRegMap(@Self)^.&set := $00000008;
  44414. end;
  44415. function TPORTD_CNPUD.getCNPUD3 : TBits_1; inline;
  44416. begin
  44417. getCNPUD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44418. end;
  44419. procedure TPORTD_CNPUD.setCNPUD4; inline;
  44420. begin
  44421. pTDefRegMap(@Self)^.&set := $00000010;
  44422. end;
  44423. procedure TPORTD_CNPUD.clearCNPUD4; inline;
  44424. begin
  44425. pTDefRegMap(@Self)^.clr := $00000010;
  44426. end;
  44427. procedure TPORTD_CNPUD.setCNPUD4(thebits : TBits_1); inline;
  44428. begin
  44429. if thebits = 0 then
  44430. pTDefRegMap(@Self)^.clr := $00000010
  44431. else
  44432. pTDefRegMap(@Self)^.&set := $00000010;
  44433. end;
  44434. function TPORTD_CNPUD.getCNPUD4 : TBits_1; inline;
  44435. begin
  44436. getCNPUD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44437. end;
  44438. procedure TPORTD_CNPUD.setCNPUD5; inline;
  44439. begin
  44440. pTDefRegMap(@Self)^.&set := $00000020;
  44441. end;
  44442. procedure TPORTD_CNPUD.clearCNPUD5; inline;
  44443. begin
  44444. pTDefRegMap(@Self)^.clr := $00000020;
  44445. end;
  44446. procedure TPORTD_CNPUD.setCNPUD5(thebits : TBits_1); inline;
  44447. begin
  44448. if thebits = 0 then
  44449. pTDefRegMap(@Self)^.clr := $00000020
  44450. else
  44451. pTDefRegMap(@Self)^.&set := $00000020;
  44452. end;
  44453. function TPORTD_CNPUD.getCNPUD5 : TBits_1; inline;
  44454. begin
  44455. getCNPUD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44456. end;
  44457. procedure TPORTD_CNPUD.setCNPUD6; inline;
  44458. begin
  44459. pTDefRegMap(@Self)^.&set := $00000040;
  44460. end;
  44461. procedure TPORTD_CNPUD.clearCNPUD6; inline;
  44462. begin
  44463. pTDefRegMap(@Self)^.clr := $00000040;
  44464. end;
  44465. procedure TPORTD_CNPUD.setCNPUD6(thebits : TBits_1); inline;
  44466. begin
  44467. if thebits = 0 then
  44468. pTDefRegMap(@Self)^.clr := $00000040
  44469. else
  44470. pTDefRegMap(@Self)^.&set := $00000040;
  44471. end;
  44472. function TPORTD_CNPUD.getCNPUD6 : TBits_1; inline;
  44473. begin
  44474. getCNPUD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44475. end;
  44476. procedure TPORTD_CNPUD.setCNPUD7; inline;
  44477. begin
  44478. pTDefRegMap(@Self)^.&set := $00000080;
  44479. end;
  44480. procedure TPORTD_CNPUD.clearCNPUD7; inline;
  44481. begin
  44482. pTDefRegMap(@Self)^.clr := $00000080;
  44483. end;
  44484. procedure TPORTD_CNPUD.setCNPUD7(thebits : TBits_1); inline;
  44485. begin
  44486. if thebits = 0 then
  44487. pTDefRegMap(@Self)^.clr := $00000080
  44488. else
  44489. pTDefRegMap(@Self)^.&set := $00000080;
  44490. end;
  44491. function TPORTD_CNPUD.getCNPUD7 : TBits_1; inline;
  44492. begin
  44493. getCNPUD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44494. end;
  44495. procedure TPORTD_CNPUD.setCNPUD8; inline;
  44496. begin
  44497. pTDefRegMap(@Self)^.&set := $00000100;
  44498. end;
  44499. procedure TPORTD_CNPUD.clearCNPUD8; inline;
  44500. begin
  44501. pTDefRegMap(@Self)^.clr := $00000100;
  44502. end;
  44503. procedure TPORTD_CNPUD.setCNPUD8(thebits : TBits_1); inline;
  44504. begin
  44505. if thebits = 0 then
  44506. pTDefRegMap(@Self)^.clr := $00000100
  44507. else
  44508. pTDefRegMap(@Self)^.&set := $00000100;
  44509. end;
  44510. function TPORTD_CNPUD.getCNPUD8 : TBits_1; inline;
  44511. begin
  44512. getCNPUD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44513. end;
  44514. procedure TPORTD_CNPUD.setCNPUD9; inline;
  44515. begin
  44516. pTDefRegMap(@Self)^.&set := $00000200;
  44517. end;
  44518. procedure TPORTD_CNPUD.clearCNPUD9; inline;
  44519. begin
  44520. pTDefRegMap(@Self)^.clr := $00000200;
  44521. end;
  44522. procedure TPORTD_CNPUD.setCNPUD9(thebits : TBits_1); inline;
  44523. begin
  44524. if thebits = 0 then
  44525. pTDefRegMap(@Self)^.clr := $00000200
  44526. else
  44527. pTDefRegMap(@Self)^.&set := $00000200;
  44528. end;
  44529. function TPORTD_CNPUD.getCNPUD9 : TBits_1; inline;
  44530. begin
  44531. getCNPUD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44532. end;
  44533. procedure TPORTD_CNPUD.setCNPUD10; inline;
  44534. begin
  44535. pTDefRegMap(@Self)^.&set := $00000400;
  44536. end;
  44537. procedure TPORTD_CNPUD.clearCNPUD10; inline;
  44538. begin
  44539. pTDefRegMap(@Self)^.clr := $00000400;
  44540. end;
  44541. procedure TPORTD_CNPUD.setCNPUD10(thebits : TBits_1); inline;
  44542. begin
  44543. if thebits = 0 then
  44544. pTDefRegMap(@Self)^.clr := $00000400
  44545. else
  44546. pTDefRegMap(@Self)^.&set := $00000400;
  44547. end;
  44548. function TPORTD_CNPUD.getCNPUD10 : TBits_1; inline;
  44549. begin
  44550. getCNPUD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44551. end;
  44552. procedure TPORTD_CNPUD.setCNPUD11; inline;
  44553. begin
  44554. pTDefRegMap(@Self)^.&set := $00000800;
  44555. end;
  44556. procedure TPORTD_CNPUD.clearCNPUD11; inline;
  44557. begin
  44558. pTDefRegMap(@Self)^.clr := $00000800;
  44559. end;
  44560. procedure TPORTD_CNPUD.setCNPUD11(thebits : TBits_1); inline;
  44561. begin
  44562. if thebits = 0 then
  44563. pTDefRegMap(@Self)^.clr := $00000800
  44564. else
  44565. pTDefRegMap(@Self)^.&set := $00000800;
  44566. end;
  44567. function TPORTD_CNPUD.getCNPUD11 : TBits_1; inline;
  44568. begin
  44569. getCNPUD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44570. end;
  44571. procedure TPORTD_CNPUD.setw(thebits : TBits_32); inline;
  44572. begin
  44573. pTDefRegMap(@Self)^.val := thebits;
  44574. end;
  44575. function TPORTD_CNPUD.getw : TBits_32; inline;
  44576. begin
  44577. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44578. end;
  44579. procedure TPORTD_CNPDD.setCNPDD0; inline;
  44580. begin
  44581. pTDefRegMap(@Self)^.&set := $00000001;
  44582. end;
  44583. procedure TPORTD_CNPDD.clearCNPDD0; inline;
  44584. begin
  44585. pTDefRegMap(@Self)^.clr := $00000001;
  44586. end;
  44587. procedure TPORTD_CNPDD.setCNPDD0(thebits : TBits_1); inline;
  44588. begin
  44589. if thebits = 0 then
  44590. pTDefRegMap(@Self)^.clr := $00000001
  44591. else
  44592. pTDefRegMap(@Self)^.&set := $00000001;
  44593. end;
  44594. function TPORTD_CNPDD.getCNPDD0 : TBits_1; inline;
  44595. begin
  44596. getCNPDD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44597. end;
  44598. procedure TPORTD_CNPDD.setCNPDD1; inline;
  44599. begin
  44600. pTDefRegMap(@Self)^.&set := $00000002;
  44601. end;
  44602. procedure TPORTD_CNPDD.clearCNPDD1; inline;
  44603. begin
  44604. pTDefRegMap(@Self)^.clr := $00000002;
  44605. end;
  44606. procedure TPORTD_CNPDD.setCNPDD1(thebits : TBits_1); inline;
  44607. begin
  44608. if thebits = 0 then
  44609. pTDefRegMap(@Self)^.clr := $00000002
  44610. else
  44611. pTDefRegMap(@Self)^.&set := $00000002;
  44612. end;
  44613. function TPORTD_CNPDD.getCNPDD1 : TBits_1; inline;
  44614. begin
  44615. getCNPDD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44616. end;
  44617. procedure TPORTD_CNPDD.setCNPDD2; inline;
  44618. begin
  44619. pTDefRegMap(@Self)^.&set := $00000004;
  44620. end;
  44621. procedure TPORTD_CNPDD.clearCNPDD2; inline;
  44622. begin
  44623. pTDefRegMap(@Self)^.clr := $00000004;
  44624. end;
  44625. procedure TPORTD_CNPDD.setCNPDD2(thebits : TBits_1); inline;
  44626. begin
  44627. if thebits = 0 then
  44628. pTDefRegMap(@Self)^.clr := $00000004
  44629. else
  44630. pTDefRegMap(@Self)^.&set := $00000004;
  44631. end;
  44632. function TPORTD_CNPDD.getCNPDD2 : TBits_1; inline;
  44633. begin
  44634. getCNPDD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44635. end;
  44636. procedure TPORTD_CNPDD.setCNPDD3; inline;
  44637. begin
  44638. pTDefRegMap(@Self)^.&set := $00000008;
  44639. end;
  44640. procedure TPORTD_CNPDD.clearCNPDD3; inline;
  44641. begin
  44642. pTDefRegMap(@Self)^.clr := $00000008;
  44643. end;
  44644. procedure TPORTD_CNPDD.setCNPDD3(thebits : TBits_1); inline;
  44645. begin
  44646. if thebits = 0 then
  44647. pTDefRegMap(@Self)^.clr := $00000008
  44648. else
  44649. pTDefRegMap(@Self)^.&set := $00000008;
  44650. end;
  44651. function TPORTD_CNPDD.getCNPDD3 : TBits_1; inline;
  44652. begin
  44653. getCNPDD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44654. end;
  44655. procedure TPORTD_CNPDD.setCNPDD4; inline;
  44656. begin
  44657. pTDefRegMap(@Self)^.&set := $00000010;
  44658. end;
  44659. procedure TPORTD_CNPDD.clearCNPDD4; inline;
  44660. begin
  44661. pTDefRegMap(@Self)^.clr := $00000010;
  44662. end;
  44663. procedure TPORTD_CNPDD.setCNPDD4(thebits : TBits_1); inline;
  44664. begin
  44665. if thebits = 0 then
  44666. pTDefRegMap(@Self)^.clr := $00000010
  44667. else
  44668. pTDefRegMap(@Self)^.&set := $00000010;
  44669. end;
  44670. function TPORTD_CNPDD.getCNPDD4 : TBits_1; inline;
  44671. begin
  44672. getCNPDD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44673. end;
  44674. procedure TPORTD_CNPDD.setCNPDD5; inline;
  44675. begin
  44676. pTDefRegMap(@Self)^.&set := $00000020;
  44677. end;
  44678. procedure TPORTD_CNPDD.clearCNPDD5; inline;
  44679. begin
  44680. pTDefRegMap(@Self)^.clr := $00000020;
  44681. end;
  44682. procedure TPORTD_CNPDD.setCNPDD5(thebits : TBits_1); inline;
  44683. begin
  44684. if thebits = 0 then
  44685. pTDefRegMap(@Self)^.clr := $00000020
  44686. else
  44687. pTDefRegMap(@Self)^.&set := $00000020;
  44688. end;
  44689. function TPORTD_CNPDD.getCNPDD5 : TBits_1; inline;
  44690. begin
  44691. getCNPDD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44692. end;
  44693. procedure TPORTD_CNPDD.setCNPDD6; inline;
  44694. begin
  44695. pTDefRegMap(@Self)^.&set := $00000040;
  44696. end;
  44697. procedure TPORTD_CNPDD.clearCNPDD6; inline;
  44698. begin
  44699. pTDefRegMap(@Self)^.clr := $00000040;
  44700. end;
  44701. procedure TPORTD_CNPDD.setCNPDD6(thebits : TBits_1); inline;
  44702. begin
  44703. if thebits = 0 then
  44704. pTDefRegMap(@Self)^.clr := $00000040
  44705. else
  44706. pTDefRegMap(@Self)^.&set := $00000040;
  44707. end;
  44708. function TPORTD_CNPDD.getCNPDD6 : TBits_1; inline;
  44709. begin
  44710. getCNPDD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44711. end;
  44712. procedure TPORTD_CNPDD.setCNPDD7; inline;
  44713. begin
  44714. pTDefRegMap(@Self)^.&set := $00000080;
  44715. end;
  44716. procedure TPORTD_CNPDD.clearCNPDD7; inline;
  44717. begin
  44718. pTDefRegMap(@Self)^.clr := $00000080;
  44719. end;
  44720. procedure TPORTD_CNPDD.setCNPDD7(thebits : TBits_1); inline;
  44721. begin
  44722. if thebits = 0 then
  44723. pTDefRegMap(@Self)^.clr := $00000080
  44724. else
  44725. pTDefRegMap(@Self)^.&set := $00000080;
  44726. end;
  44727. function TPORTD_CNPDD.getCNPDD7 : TBits_1; inline;
  44728. begin
  44729. getCNPDD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44730. end;
  44731. procedure TPORTD_CNPDD.setCNPDD8; inline;
  44732. begin
  44733. pTDefRegMap(@Self)^.&set := $00000100;
  44734. end;
  44735. procedure TPORTD_CNPDD.clearCNPDD8; inline;
  44736. begin
  44737. pTDefRegMap(@Self)^.clr := $00000100;
  44738. end;
  44739. procedure TPORTD_CNPDD.setCNPDD8(thebits : TBits_1); inline;
  44740. begin
  44741. if thebits = 0 then
  44742. pTDefRegMap(@Self)^.clr := $00000100
  44743. else
  44744. pTDefRegMap(@Self)^.&set := $00000100;
  44745. end;
  44746. function TPORTD_CNPDD.getCNPDD8 : TBits_1; inline;
  44747. begin
  44748. getCNPDD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44749. end;
  44750. procedure TPORTD_CNPDD.setCNPDD9; inline;
  44751. begin
  44752. pTDefRegMap(@Self)^.&set := $00000200;
  44753. end;
  44754. procedure TPORTD_CNPDD.clearCNPDD9; inline;
  44755. begin
  44756. pTDefRegMap(@Self)^.clr := $00000200;
  44757. end;
  44758. procedure TPORTD_CNPDD.setCNPDD9(thebits : TBits_1); inline;
  44759. begin
  44760. if thebits = 0 then
  44761. pTDefRegMap(@Self)^.clr := $00000200
  44762. else
  44763. pTDefRegMap(@Self)^.&set := $00000200;
  44764. end;
  44765. function TPORTD_CNPDD.getCNPDD9 : TBits_1; inline;
  44766. begin
  44767. getCNPDD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44768. end;
  44769. procedure TPORTD_CNPDD.setCNPDD10; inline;
  44770. begin
  44771. pTDefRegMap(@Self)^.&set := $00000400;
  44772. end;
  44773. procedure TPORTD_CNPDD.clearCNPDD10; inline;
  44774. begin
  44775. pTDefRegMap(@Self)^.clr := $00000400;
  44776. end;
  44777. procedure TPORTD_CNPDD.setCNPDD10(thebits : TBits_1); inline;
  44778. begin
  44779. if thebits = 0 then
  44780. pTDefRegMap(@Self)^.clr := $00000400
  44781. else
  44782. pTDefRegMap(@Self)^.&set := $00000400;
  44783. end;
  44784. function TPORTD_CNPDD.getCNPDD10 : TBits_1; inline;
  44785. begin
  44786. getCNPDD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44787. end;
  44788. procedure TPORTD_CNPDD.setCNPDD11; inline;
  44789. begin
  44790. pTDefRegMap(@Self)^.&set := $00000800;
  44791. end;
  44792. procedure TPORTD_CNPDD.clearCNPDD11; inline;
  44793. begin
  44794. pTDefRegMap(@Self)^.clr := $00000800;
  44795. end;
  44796. procedure TPORTD_CNPDD.setCNPDD11(thebits : TBits_1); inline;
  44797. begin
  44798. if thebits = 0 then
  44799. pTDefRegMap(@Self)^.clr := $00000800
  44800. else
  44801. pTDefRegMap(@Self)^.&set := $00000800;
  44802. end;
  44803. function TPORTD_CNPDD.getCNPDD11 : TBits_1; inline;
  44804. begin
  44805. getCNPDD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44806. end;
  44807. procedure TPORTD_CNPDD.setw(thebits : TBits_32); inline;
  44808. begin
  44809. pTDefRegMap(@Self)^.val := thebits;
  44810. end;
  44811. function TPORTD_CNPDD.getw : TBits_32; inline;
  44812. begin
  44813. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44814. end;
  44815. procedure TPORTD_CNCOND.setSIDL; inline;
  44816. begin
  44817. pTDefRegMap(@Self)^.&set := $00002000;
  44818. end;
  44819. procedure TPORTD_CNCOND.clearSIDL; inline;
  44820. begin
  44821. pTDefRegMap(@Self)^.clr := $00002000;
  44822. end;
  44823. procedure TPORTD_CNCOND.setSIDL(thebits : TBits_1); inline;
  44824. begin
  44825. if thebits = 0 then
  44826. pTDefRegMap(@Self)^.clr := $00002000
  44827. else
  44828. pTDefRegMap(@Self)^.&set := $00002000;
  44829. end;
  44830. function TPORTD_CNCOND.getSIDL : TBits_1; inline;
  44831. begin
  44832. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44833. end;
  44834. procedure TPORTD_CNCOND.setON; inline;
  44835. begin
  44836. pTDefRegMap(@Self)^.&set := $00008000;
  44837. end;
  44838. procedure TPORTD_CNCOND.clearON; inline;
  44839. begin
  44840. pTDefRegMap(@Self)^.clr := $00008000;
  44841. end;
  44842. procedure TPORTD_CNCOND.setON(thebits : TBits_1); inline;
  44843. begin
  44844. if thebits = 0 then
  44845. pTDefRegMap(@Self)^.clr := $00008000
  44846. else
  44847. pTDefRegMap(@Self)^.&set := $00008000;
  44848. end;
  44849. function TPORTD_CNCOND.getON : TBits_1; inline;
  44850. begin
  44851. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44852. end;
  44853. procedure TPORTD_CNCOND.setw(thebits : TBits_32); inline;
  44854. begin
  44855. pTDefRegMap(@Self)^.val := thebits;
  44856. end;
  44857. function TPORTD_CNCOND.getw : TBits_32; inline;
  44858. begin
  44859. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44860. end;
  44861. procedure TPORTD_CNEND.setCNIED0; inline;
  44862. begin
  44863. pTDefRegMap(@Self)^.&set := $00000001;
  44864. end;
  44865. procedure TPORTD_CNEND.clearCNIED0; inline;
  44866. begin
  44867. pTDefRegMap(@Self)^.clr := $00000001;
  44868. end;
  44869. procedure TPORTD_CNEND.setCNIED0(thebits : TBits_1); inline;
  44870. begin
  44871. if thebits = 0 then
  44872. pTDefRegMap(@Self)^.clr := $00000001
  44873. else
  44874. pTDefRegMap(@Self)^.&set := $00000001;
  44875. end;
  44876. function TPORTD_CNEND.getCNIED0 : TBits_1; inline;
  44877. begin
  44878. getCNIED0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44879. end;
  44880. procedure TPORTD_CNEND.setCNIED1; inline;
  44881. begin
  44882. pTDefRegMap(@Self)^.&set := $00000002;
  44883. end;
  44884. procedure TPORTD_CNEND.clearCNIED1; inline;
  44885. begin
  44886. pTDefRegMap(@Self)^.clr := $00000002;
  44887. end;
  44888. procedure TPORTD_CNEND.setCNIED1(thebits : TBits_1); inline;
  44889. begin
  44890. if thebits = 0 then
  44891. pTDefRegMap(@Self)^.clr := $00000002
  44892. else
  44893. pTDefRegMap(@Self)^.&set := $00000002;
  44894. end;
  44895. function TPORTD_CNEND.getCNIED1 : TBits_1; inline;
  44896. begin
  44897. getCNIED1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44898. end;
  44899. procedure TPORTD_CNEND.setCNIED2; inline;
  44900. begin
  44901. pTDefRegMap(@Self)^.&set := $00000004;
  44902. end;
  44903. procedure TPORTD_CNEND.clearCNIED2; inline;
  44904. begin
  44905. pTDefRegMap(@Self)^.clr := $00000004;
  44906. end;
  44907. procedure TPORTD_CNEND.setCNIED2(thebits : TBits_1); inline;
  44908. begin
  44909. if thebits = 0 then
  44910. pTDefRegMap(@Self)^.clr := $00000004
  44911. else
  44912. pTDefRegMap(@Self)^.&set := $00000004;
  44913. end;
  44914. function TPORTD_CNEND.getCNIED2 : TBits_1; inline;
  44915. begin
  44916. getCNIED2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44917. end;
  44918. procedure TPORTD_CNEND.setCNIED3; inline;
  44919. begin
  44920. pTDefRegMap(@Self)^.&set := $00000008;
  44921. end;
  44922. procedure TPORTD_CNEND.clearCNIED3; inline;
  44923. begin
  44924. pTDefRegMap(@Self)^.clr := $00000008;
  44925. end;
  44926. procedure TPORTD_CNEND.setCNIED3(thebits : TBits_1); inline;
  44927. begin
  44928. if thebits = 0 then
  44929. pTDefRegMap(@Self)^.clr := $00000008
  44930. else
  44931. pTDefRegMap(@Self)^.&set := $00000008;
  44932. end;
  44933. function TPORTD_CNEND.getCNIED3 : TBits_1; inline;
  44934. begin
  44935. getCNIED3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44936. end;
  44937. procedure TPORTD_CNEND.setCNIED4; inline;
  44938. begin
  44939. pTDefRegMap(@Self)^.&set := $00000010;
  44940. end;
  44941. procedure TPORTD_CNEND.clearCNIED4; inline;
  44942. begin
  44943. pTDefRegMap(@Self)^.clr := $00000010;
  44944. end;
  44945. procedure TPORTD_CNEND.setCNIED4(thebits : TBits_1); inline;
  44946. begin
  44947. if thebits = 0 then
  44948. pTDefRegMap(@Self)^.clr := $00000010
  44949. else
  44950. pTDefRegMap(@Self)^.&set := $00000010;
  44951. end;
  44952. function TPORTD_CNEND.getCNIED4 : TBits_1; inline;
  44953. begin
  44954. getCNIED4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44955. end;
  44956. procedure TPORTD_CNEND.setCNIED5; inline;
  44957. begin
  44958. pTDefRegMap(@Self)^.&set := $00000020;
  44959. end;
  44960. procedure TPORTD_CNEND.clearCNIED5; inline;
  44961. begin
  44962. pTDefRegMap(@Self)^.clr := $00000020;
  44963. end;
  44964. procedure TPORTD_CNEND.setCNIED5(thebits : TBits_1); inline;
  44965. begin
  44966. if thebits = 0 then
  44967. pTDefRegMap(@Self)^.clr := $00000020
  44968. else
  44969. pTDefRegMap(@Self)^.&set := $00000020;
  44970. end;
  44971. function TPORTD_CNEND.getCNIED5 : TBits_1; inline;
  44972. begin
  44973. getCNIED5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44974. end;
  44975. procedure TPORTD_CNEND.setCNIED6; inline;
  44976. begin
  44977. pTDefRegMap(@Self)^.&set := $00000040;
  44978. end;
  44979. procedure TPORTD_CNEND.clearCNIED6; inline;
  44980. begin
  44981. pTDefRegMap(@Self)^.clr := $00000040;
  44982. end;
  44983. procedure TPORTD_CNEND.setCNIED6(thebits : TBits_1); inline;
  44984. begin
  44985. if thebits = 0 then
  44986. pTDefRegMap(@Self)^.clr := $00000040
  44987. else
  44988. pTDefRegMap(@Self)^.&set := $00000040;
  44989. end;
  44990. function TPORTD_CNEND.getCNIED6 : TBits_1; inline;
  44991. begin
  44992. getCNIED6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44993. end;
  44994. procedure TPORTD_CNEND.setCNIED7; inline;
  44995. begin
  44996. pTDefRegMap(@Self)^.&set := $00000080;
  44997. end;
  44998. procedure TPORTD_CNEND.clearCNIED7; inline;
  44999. begin
  45000. pTDefRegMap(@Self)^.clr := $00000080;
  45001. end;
  45002. procedure TPORTD_CNEND.setCNIED7(thebits : TBits_1); inline;
  45003. begin
  45004. if thebits = 0 then
  45005. pTDefRegMap(@Self)^.clr := $00000080
  45006. else
  45007. pTDefRegMap(@Self)^.&set := $00000080;
  45008. end;
  45009. function TPORTD_CNEND.getCNIED7 : TBits_1; inline;
  45010. begin
  45011. getCNIED7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45012. end;
  45013. procedure TPORTD_CNEND.setCNIED8; inline;
  45014. begin
  45015. pTDefRegMap(@Self)^.&set := $00000100;
  45016. end;
  45017. procedure TPORTD_CNEND.clearCNIED8; inline;
  45018. begin
  45019. pTDefRegMap(@Self)^.clr := $00000100;
  45020. end;
  45021. procedure TPORTD_CNEND.setCNIED8(thebits : TBits_1); inline;
  45022. begin
  45023. if thebits = 0 then
  45024. pTDefRegMap(@Self)^.clr := $00000100
  45025. else
  45026. pTDefRegMap(@Self)^.&set := $00000100;
  45027. end;
  45028. function TPORTD_CNEND.getCNIED8 : TBits_1; inline;
  45029. begin
  45030. getCNIED8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45031. end;
  45032. procedure TPORTD_CNEND.setCNIED9; inline;
  45033. begin
  45034. pTDefRegMap(@Self)^.&set := $00000200;
  45035. end;
  45036. procedure TPORTD_CNEND.clearCNIED9; inline;
  45037. begin
  45038. pTDefRegMap(@Self)^.clr := $00000200;
  45039. end;
  45040. procedure TPORTD_CNEND.setCNIED9(thebits : TBits_1); inline;
  45041. begin
  45042. if thebits = 0 then
  45043. pTDefRegMap(@Self)^.clr := $00000200
  45044. else
  45045. pTDefRegMap(@Self)^.&set := $00000200;
  45046. end;
  45047. function TPORTD_CNEND.getCNIED9 : TBits_1; inline;
  45048. begin
  45049. getCNIED9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45050. end;
  45051. procedure TPORTD_CNEND.setCNIED10; inline;
  45052. begin
  45053. pTDefRegMap(@Self)^.&set := $00000400;
  45054. end;
  45055. procedure TPORTD_CNEND.clearCNIED10; inline;
  45056. begin
  45057. pTDefRegMap(@Self)^.clr := $00000400;
  45058. end;
  45059. procedure TPORTD_CNEND.setCNIED10(thebits : TBits_1); inline;
  45060. begin
  45061. if thebits = 0 then
  45062. pTDefRegMap(@Self)^.clr := $00000400
  45063. else
  45064. pTDefRegMap(@Self)^.&set := $00000400;
  45065. end;
  45066. function TPORTD_CNEND.getCNIED10 : TBits_1; inline;
  45067. begin
  45068. getCNIED10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45069. end;
  45070. procedure TPORTD_CNEND.setCNIED11; inline;
  45071. begin
  45072. pTDefRegMap(@Self)^.&set := $00000800;
  45073. end;
  45074. procedure TPORTD_CNEND.clearCNIED11; inline;
  45075. begin
  45076. pTDefRegMap(@Self)^.clr := $00000800;
  45077. end;
  45078. procedure TPORTD_CNEND.setCNIED11(thebits : TBits_1); inline;
  45079. begin
  45080. if thebits = 0 then
  45081. pTDefRegMap(@Self)^.clr := $00000800
  45082. else
  45083. pTDefRegMap(@Self)^.&set := $00000800;
  45084. end;
  45085. function TPORTD_CNEND.getCNIED11 : TBits_1; inline;
  45086. begin
  45087. getCNIED11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45088. end;
  45089. procedure TPORTD_CNEND.setw(thebits : TBits_32); inline;
  45090. begin
  45091. pTDefRegMap(@Self)^.val := thebits;
  45092. end;
  45093. function TPORTD_CNEND.getw : TBits_32; inline;
  45094. begin
  45095. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45096. end;
  45097. procedure TPORTD_CNSTATD.setCNSTATD0; inline;
  45098. begin
  45099. pTDefRegMap(@Self)^.&set := $00000001;
  45100. end;
  45101. procedure TPORTD_CNSTATD.clearCNSTATD0; inline;
  45102. begin
  45103. pTDefRegMap(@Self)^.clr := $00000001;
  45104. end;
  45105. procedure TPORTD_CNSTATD.setCNSTATD0(thebits : TBits_1); inline;
  45106. begin
  45107. if thebits = 0 then
  45108. pTDefRegMap(@Self)^.clr := $00000001
  45109. else
  45110. pTDefRegMap(@Self)^.&set := $00000001;
  45111. end;
  45112. function TPORTD_CNSTATD.getCNSTATD0 : TBits_1; inline;
  45113. begin
  45114. getCNSTATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45115. end;
  45116. procedure TPORTD_CNSTATD.setCNSTATD1; inline;
  45117. begin
  45118. pTDefRegMap(@Self)^.&set := $00000002;
  45119. end;
  45120. procedure TPORTD_CNSTATD.clearCNSTATD1; inline;
  45121. begin
  45122. pTDefRegMap(@Self)^.clr := $00000002;
  45123. end;
  45124. procedure TPORTD_CNSTATD.setCNSTATD1(thebits : TBits_1); inline;
  45125. begin
  45126. if thebits = 0 then
  45127. pTDefRegMap(@Self)^.clr := $00000002
  45128. else
  45129. pTDefRegMap(@Self)^.&set := $00000002;
  45130. end;
  45131. function TPORTD_CNSTATD.getCNSTATD1 : TBits_1; inline;
  45132. begin
  45133. getCNSTATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45134. end;
  45135. procedure TPORTD_CNSTATD.setCNSTATD2; inline;
  45136. begin
  45137. pTDefRegMap(@Self)^.&set := $00000004;
  45138. end;
  45139. procedure TPORTD_CNSTATD.clearCNSTATD2; inline;
  45140. begin
  45141. pTDefRegMap(@Self)^.clr := $00000004;
  45142. end;
  45143. procedure TPORTD_CNSTATD.setCNSTATD2(thebits : TBits_1); inline;
  45144. begin
  45145. if thebits = 0 then
  45146. pTDefRegMap(@Self)^.clr := $00000004
  45147. else
  45148. pTDefRegMap(@Self)^.&set := $00000004;
  45149. end;
  45150. function TPORTD_CNSTATD.getCNSTATD2 : TBits_1; inline;
  45151. begin
  45152. getCNSTATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45153. end;
  45154. procedure TPORTD_CNSTATD.setCNSTATD3; inline;
  45155. begin
  45156. pTDefRegMap(@Self)^.&set := $00000008;
  45157. end;
  45158. procedure TPORTD_CNSTATD.clearCNSTATD3; inline;
  45159. begin
  45160. pTDefRegMap(@Self)^.clr := $00000008;
  45161. end;
  45162. procedure TPORTD_CNSTATD.setCNSTATD3(thebits : TBits_1); inline;
  45163. begin
  45164. if thebits = 0 then
  45165. pTDefRegMap(@Self)^.clr := $00000008
  45166. else
  45167. pTDefRegMap(@Self)^.&set := $00000008;
  45168. end;
  45169. function TPORTD_CNSTATD.getCNSTATD3 : TBits_1; inline;
  45170. begin
  45171. getCNSTATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45172. end;
  45173. procedure TPORTD_CNSTATD.setCNSTATD4; inline;
  45174. begin
  45175. pTDefRegMap(@Self)^.&set := $00000010;
  45176. end;
  45177. procedure TPORTD_CNSTATD.clearCNSTATD4; inline;
  45178. begin
  45179. pTDefRegMap(@Self)^.clr := $00000010;
  45180. end;
  45181. procedure TPORTD_CNSTATD.setCNSTATD4(thebits : TBits_1); inline;
  45182. begin
  45183. if thebits = 0 then
  45184. pTDefRegMap(@Self)^.clr := $00000010
  45185. else
  45186. pTDefRegMap(@Self)^.&set := $00000010;
  45187. end;
  45188. function TPORTD_CNSTATD.getCNSTATD4 : TBits_1; inline;
  45189. begin
  45190. getCNSTATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45191. end;
  45192. procedure TPORTD_CNSTATD.setCNSTATD5; inline;
  45193. begin
  45194. pTDefRegMap(@Self)^.&set := $00000020;
  45195. end;
  45196. procedure TPORTD_CNSTATD.clearCNSTATD5; inline;
  45197. begin
  45198. pTDefRegMap(@Self)^.clr := $00000020;
  45199. end;
  45200. procedure TPORTD_CNSTATD.setCNSTATD5(thebits : TBits_1); inline;
  45201. begin
  45202. if thebits = 0 then
  45203. pTDefRegMap(@Self)^.clr := $00000020
  45204. else
  45205. pTDefRegMap(@Self)^.&set := $00000020;
  45206. end;
  45207. function TPORTD_CNSTATD.getCNSTATD5 : TBits_1; inline;
  45208. begin
  45209. getCNSTATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45210. end;
  45211. procedure TPORTD_CNSTATD.setCNSTATD6; inline;
  45212. begin
  45213. pTDefRegMap(@Self)^.&set := $00000040;
  45214. end;
  45215. procedure TPORTD_CNSTATD.clearCNSTATD6; inline;
  45216. begin
  45217. pTDefRegMap(@Self)^.clr := $00000040;
  45218. end;
  45219. procedure TPORTD_CNSTATD.setCNSTATD6(thebits : TBits_1); inline;
  45220. begin
  45221. if thebits = 0 then
  45222. pTDefRegMap(@Self)^.clr := $00000040
  45223. else
  45224. pTDefRegMap(@Self)^.&set := $00000040;
  45225. end;
  45226. function TPORTD_CNSTATD.getCNSTATD6 : TBits_1; inline;
  45227. begin
  45228. getCNSTATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45229. end;
  45230. procedure TPORTD_CNSTATD.setCNSTATD7; inline;
  45231. begin
  45232. pTDefRegMap(@Self)^.&set := $00000080;
  45233. end;
  45234. procedure TPORTD_CNSTATD.clearCNSTATD7; inline;
  45235. begin
  45236. pTDefRegMap(@Self)^.clr := $00000080;
  45237. end;
  45238. procedure TPORTD_CNSTATD.setCNSTATD7(thebits : TBits_1); inline;
  45239. begin
  45240. if thebits = 0 then
  45241. pTDefRegMap(@Self)^.clr := $00000080
  45242. else
  45243. pTDefRegMap(@Self)^.&set := $00000080;
  45244. end;
  45245. function TPORTD_CNSTATD.getCNSTATD7 : TBits_1; inline;
  45246. begin
  45247. getCNSTATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45248. end;
  45249. procedure TPORTD_CNSTATD.setCNSTATD8; inline;
  45250. begin
  45251. pTDefRegMap(@Self)^.&set := $00000100;
  45252. end;
  45253. procedure TPORTD_CNSTATD.clearCNSTATD8; inline;
  45254. begin
  45255. pTDefRegMap(@Self)^.clr := $00000100;
  45256. end;
  45257. procedure TPORTD_CNSTATD.setCNSTATD8(thebits : TBits_1); inline;
  45258. begin
  45259. if thebits = 0 then
  45260. pTDefRegMap(@Self)^.clr := $00000100
  45261. else
  45262. pTDefRegMap(@Self)^.&set := $00000100;
  45263. end;
  45264. function TPORTD_CNSTATD.getCNSTATD8 : TBits_1; inline;
  45265. begin
  45266. getCNSTATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45267. end;
  45268. procedure TPORTD_CNSTATD.setCNSTATD9; inline;
  45269. begin
  45270. pTDefRegMap(@Self)^.&set := $00000200;
  45271. end;
  45272. procedure TPORTD_CNSTATD.clearCNSTATD9; inline;
  45273. begin
  45274. pTDefRegMap(@Self)^.clr := $00000200;
  45275. end;
  45276. procedure TPORTD_CNSTATD.setCNSTATD9(thebits : TBits_1); inline;
  45277. begin
  45278. if thebits = 0 then
  45279. pTDefRegMap(@Self)^.clr := $00000200
  45280. else
  45281. pTDefRegMap(@Self)^.&set := $00000200;
  45282. end;
  45283. function TPORTD_CNSTATD.getCNSTATD9 : TBits_1; inline;
  45284. begin
  45285. getCNSTATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45286. end;
  45287. procedure TPORTD_CNSTATD.setCNSTATD10; inline;
  45288. begin
  45289. pTDefRegMap(@Self)^.&set := $00000400;
  45290. end;
  45291. procedure TPORTD_CNSTATD.clearCNSTATD10; inline;
  45292. begin
  45293. pTDefRegMap(@Self)^.clr := $00000400;
  45294. end;
  45295. procedure TPORTD_CNSTATD.setCNSTATD10(thebits : TBits_1); inline;
  45296. begin
  45297. if thebits = 0 then
  45298. pTDefRegMap(@Self)^.clr := $00000400
  45299. else
  45300. pTDefRegMap(@Self)^.&set := $00000400;
  45301. end;
  45302. function TPORTD_CNSTATD.getCNSTATD10 : TBits_1; inline;
  45303. begin
  45304. getCNSTATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45305. end;
  45306. procedure TPORTD_CNSTATD.setCNSTATD11; inline;
  45307. begin
  45308. pTDefRegMap(@Self)^.&set := $00000800;
  45309. end;
  45310. procedure TPORTD_CNSTATD.clearCNSTATD11; inline;
  45311. begin
  45312. pTDefRegMap(@Self)^.clr := $00000800;
  45313. end;
  45314. procedure TPORTD_CNSTATD.setCNSTATD11(thebits : TBits_1); inline;
  45315. begin
  45316. if thebits = 0 then
  45317. pTDefRegMap(@Self)^.clr := $00000800
  45318. else
  45319. pTDefRegMap(@Self)^.&set := $00000800;
  45320. end;
  45321. function TPORTD_CNSTATD.getCNSTATD11 : TBits_1; inline;
  45322. begin
  45323. getCNSTATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45324. end;
  45325. procedure TPORTD_CNSTATD.setw(thebits : TBits_32); inline;
  45326. begin
  45327. pTDefRegMap(@Self)^.val := thebits;
  45328. end;
  45329. function TPORTD_CNSTATD.getw : TBits_32; inline;
  45330. begin
  45331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45332. end;
  45333. procedure TPORTD_ANSELE.setANSE2; inline;
  45334. begin
  45335. pTDefRegMap(@Self)^.&set := $00000004;
  45336. end;
  45337. procedure TPORTD_ANSELE.clearANSE2; inline;
  45338. begin
  45339. pTDefRegMap(@Self)^.clr := $00000004;
  45340. end;
  45341. procedure TPORTD_ANSELE.setANSE2(thebits : TBits_1); inline;
  45342. begin
  45343. if thebits = 0 then
  45344. pTDefRegMap(@Self)^.clr := $00000004
  45345. else
  45346. pTDefRegMap(@Self)^.&set := $00000004;
  45347. end;
  45348. function TPORTD_ANSELE.getANSE2 : TBits_1; inline;
  45349. begin
  45350. getANSE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45351. end;
  45352. procedure TPORTD_ANSELE.setANSE4; inline;
  45353. begin
  45354. pTDefRegMap(@Self)^.&set := $00000010;
  45355. end;
  45356. procedure TPORTD_ANSELE.clearANSE4; inline;
  45357. begin
  45358. pTDefRegMap(@Self)^.clr := $00000010;
  45359. end;
  45360. procedure TPORTD_ANSELE.setANSE4(thebits : TBits_1); inline;
  45361. begin
  45362. if thebits = 0 then
  45363. pTDefRegMap(@Self)^.clr := $00000010
  45364. else
  45365. pTDefRegMap(@Self)^.&set := $00000010;
  45366. end;
  45367. function TPORTD_ANSELE.getANSE4 : TBits_1; inline;
  45368. begin
  45369. getANSE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45370. end;
  45371. procedure TPORTD_ANSELE.setANSE5; inline;
  45372. begin
  45373. pTDefRegMap(@Self)^.&set := $00000020;
  45374. end;
  45375. procedure TPORTD_ANSELE.clearANSE5; inline;
  45376. begin
  45377. pTDefRegMap(@Self)^.clr := $00000020;
  45378. end;
  45379. procedure TPORTD_ANSELE.setANSE5(thebits : TBits_1); inline;
  45380. begin
  45381. if thebits = 0 then
  45382. pTDefRegMap(@Self)^.clr := $00000020
  45383. else
  45384. pTDefRegMap(@Self)^.&set := $00000020;
  45385. end;
  45386. function TPORTD_ANSELE.getANSE5 : TBits_1; inline;
  45387. begin
  45388. getANSE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45389. end;
  45390. procedure TPORTD_ANSELE.setANSE6; inline;
  45391. begin
  45392. pTDefRegMap(@Self)^.&set := $00000040;
  45393. end;
  45394. procedure TPORTD_ANSELE.clearANSE6; inline;
  45395. begin
  45396. pTDefRegMap(@Self)^.clr := $00000040;
  45397. end;
  45398. procedure TPORTD_ANSELE.setANSE6(thebits : TBits_1); inline;
  45399. begin
  45400. if thebits = 0 then
  45401. pTDefRegMap(@Self)^.clr := $00000040
  45402. else
  45403. pTDefRegMap(@Self)^.&set := $00000040;
  45404. end;
  45405. function TPORTD_ANSELE.getANSE6 : TBits_1; inline;
  45406. begin
  45407. getANSE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45408. end;
  45409. procedure TPORTD_ANSELE.setANSE7; inline;
  45410. begin
  45411. pTDefRegMap(@Self)^.&set := $00000080;
  45412. end;
  45413. procedure TPORTD_ANSELE.clearANSE7; inline;
  45414. begin
  45415. pTDefRegMap(@Self)^.clr := $00000080;
  45416. end;
  45417. procedure TPORTD_ANSELE.setANSE7(thebits : TBits_1); inline;
  45418. begin
  45419. if thebits = 0 then
  45420. pTDefRegMap(@Self)^.clr := $00000080
  45421. else
  45422. pTDefRegMap(@Self)^.&set := $00000080;
  45423. end;
  45424. function TPORTD_ANSELE.getANSE7 : TBits_1; inline;
  45425. begin
  45426. getANSE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45427. end;
  45428. procedure TPORTD_ANSELE.setw(thebits : TBits_32); inline;
  45429. begin
  45430. pTDefRegMap(@Self)^.val := thebits;
  45431. end;
  45432. function TPORTD_ANSELE.getw : TBits_32; inline;
  45433. begin
  45434. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45435. end;
  45436. procedure TPORTD_TRISE.setTRISE0; inline;
  45437. begin
  45438. pTDefRegMap(@Self)^.&set := $00000001;
  45439. end;
  45440. procedure TPORTD_TRISE.clearTRISE0; inline;
  45441. begin
  45442. pTDefRegMap(@Self)^.clr := $00000001;
  45443. end;
  45444. procedure TPORTD_TRISE.setTRISE0(thebits : TBits_1); inline;
  45445. begin
  45446. if thebits = 0 then
  45447. pTDefRegMap(@Self)^.clr := $00000001
  45448. else
  45449. pTDefRegMap(@Self)^.&set := $00000001;
  45450. end;
  45451. function TPORTD_TRISE.getTRISE0 : TBits_1; inline;
  45452. begin
  45453. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45454. end;
  45455. procedure TPORTD_TRISE.setTRISE1; inline;
  45456. begin
  45457. pTDefRegMap(@Self)^.&set := $00000002;
  45458. end;
  45459. procedure TPORTD_TRISE.clearTRISE1; inline;
  45460. begin
  45461. pTDefRegMap(@Self)^.clr := $00000002;
  45462. end;
  45463. procedure TPORTD_TRISE.setTRISE1(thebits : TBits_1); inline;
  45464. begin
  45465. if thebits = 0 then
  45466. pTDefRegMap(@Self)^.clr := $00000002
  45467. else
  45468. pTDefRegMap(@Self)^.&set := $00000002;
  45469. end;
  45470. function TPORTD_TRISE.getTRISE1 : TBits_1; inline;
  45471. begin
  45472. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45473. end;
  45474. procedure TPORTD_TRISE.setTRISE2; inline;
  45475. begin
  45476. pTDefRegMap(@Self)^.&set := $00000004;
  45477. end;
  45478. procedure TPORTD_TRISE.clearTRISE2; inline;
  45479. begin
  45480. pTDefRegMap(@Self)^.clr := $00000004;
  45481. end;
  45482. procedure TPORTD_TRISE.setTRISE2(thebits : TBits_1); inline;
  45483. begin
  45484. if thebits = 0 then
  45485. pTDefRegMap(@Self)^.clr := $00000004
  45486. else
  45487. pTDefRegMap(@Self)^.&set := $00000004;
  45488. end;
  45489. function TPORTD_TRISE.getTRISE2 : TBits_1; inline;
  45490. begin
  45491. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45492. end;
  45493. procedure TPORTD_TRISE.setTRISE3; inline;
  45494. begin
  45495. pTDefRegMap(@Self)^.&set := $00000008;
  45496. end;
  45497. procedure TPORTD_TRISE.clearTRISE3; inline;
  45498. begin
  45499. pTDefRegMap(@Self)^.clr := $00000008;
  45500. end;
  45501. procedure TPORTD_TRISE.setTRISE3(thebits : TBits_1); inline;
  45502. begin
  45503. if thebits = 0 then
  45504. pTDefRegMap(@Self)^.clr := $00000008
  45505. else
  45506. pTDefRegMap(@Self)^.&set := $00000008;
  45507. end;
  45508. function TPORTD_TRISE.getTRISE3 : TBits_1; inline;
  45509. begin
  45510. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45511. end;
  45512. procedure TPORTD_TRISE.setTRISE4; inline;
  45513. begin
  45514. pTDefRegMap(@Self)^.&set := $00000010;
  45515. end;
  45516. procedure TPORTD_TRISE.clearTRISE4; inline;
  45517. begin
  45518. pTDefRegMap(@Self)^.clr := $00000010;
  45519. end;
  45520. procedure TPORTD_TRISE.setTRISE4(thebits : TBits_1); inline;
  45521. begin
  45522. if thebits = 0 then
  45523. pTDefRegMap(@Self)^.clr := $00000010
  45524. else
  45525. pTDefRegMap(@Self)^.&set := $00000010;
  45526. end;
  45527. function TPORTD_TRISE.getTRISE4 : TBits_1; inline;
  45528. begin
  45529. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45530. end;
  45531. procedure TPORTD_TRISE.setTRISE5; inline;
  45532. begin
  45533. pTDefRegMap(@Self)^.&set := $00000020;
  45534. end;
  45535. procedure TPORTD_TRISE.clearTRISE5; inline;
  45536. begin
  45537. pTDefRegMap(@Self)^.clr := $00000020;
  45538. end;
  45539. procedure TPORTD_TRISE.setTRISE5(thebits : TBits_1); inline;
  45540. begin
  45541. if thebits = 0 then
  45542. pTDefRegMap(@Self)^.clr := $00000020
  45543. else
  45544. pTDefRegMap(@Self)^.&set := $00000020;
  45545. end;
  45546. function TPORTD_TRISE.getTRISE5 : TBits_1; inline;
  45547. begin
  45548. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45549. end;
  45550. procedure TPORTD_TRISE.setTRISE6; inline;
  45551. begin
  45552. pTDefRegMap(@Self)^.&set := $00000040;
  45553. end;
  45554. procedure TPORTD_TRISE.clearTRISE6; inline;
  45555. begin
  45556. pTDefRegMap(@Self)^.clr := $00000040;
  45557. end;
  45558. procedure TPORTD_TRISE.setTRISE6(thebits : TBits_1); inline;
  45559. begin
  45560. if thebits = 0 then
  45561. pTDefRegMap(@Self)^.clr := $00000040
  45562. else
  45563. pTDefRegMap(@Self)^.&set := $00000040;
  45564. end;
  45565. function TPORTD_TRISE.getTRISE6 : TBits_1; inline;
  45566. begin
  45567. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45568. end;
  45569. procedure TPORTD_TRISE.setTRISE7; inline;
  45570. begin
  45571. pTDefRegMap(@Self)^.&set := $00000080;
  45572. end;
  45573. procedure TPORTD_TRISE.clearTRISE7; inline;
  45574. begin
  45575. pTDefRegMap(@Self)^.clr := $00000080;
  45576. end;
  45577. procedure TPORTD_TRISE.setTRISE7(thebits : TBits_1); inline;
  45578. begin
  45579. if thebits = 0 then
  45580. pTDefRegMap(@Self)^.clr := $00000080
  45581. else
  45582. pTDefRegMap(@Self)^.&set := $00000080;
  45583. end;
  45584. function TPORTD_TRISE.getTRISE7 : TBits_1; inline;
  45585. begin
  45586. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45587. end;
  45588. procedure TPORTD_TRISE.setw(thebits : TBits_32); inline;
  45589. begin
  45590. pTDefRegMap(@Self)^.val := thebits;
  45591. end;
  45592. function TPORTD_TRISE.getw : TBits_32; inline;
  45593. begin
  45594. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45595. end;
  45596. procedure TPORTE_PORTE.setRE0; inline;
  45597. begin
  45598. pTDefRegMap(@Self)^.&set := $00000001;
  45599. end;
  45600. procedure TPORTE_PORTE.clearRE0; inline;
  45601. begin
  45602. pTDefRegMap(@Self)^.clr := $00000001;
  45603. end;
  45604. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  45605. begin
  45606. if thebits = 0 then
  45607. pTDefRegMap(@Self)^.clr := $00000001
  45608. else
  45609. pTDefRegMap(@Self)^.&set := $00000001;
  45610. end;
  45611. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  45612. begin
  45613. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45614. end;
  45615. procedure TPORTE_PORTE.setRE1; inline;
  45616. begin
  45617. pTDefRegMap(@Self)^.&set := $00000002;
  45618. end;
  45619. procedure TPORTE_PORTE.clearRE1; inline;
  45620. begin
  45621. pTDefRegMap(@Self)^.clr := $00000002;
  45622. end;
  45623. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  45624. begin
  45625. if thebits = 0 then
  45626. pTDefRegMap(@Self)^.clr := $00000002
  45627. else
  45628. pTDefRegMap(@Self)^.&set := $00000002;
  45629. end;
  45630. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  45631. begin
  45632. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45633. end;
  45634. procedure TPORTE_PORTE.setRE2; inline;
  45635. begin
  45636. pTDefRegMap(@Self)^.&set := $00000004;
  45637. end;
  45638. procedure TPORTE_PORTE.clearRE2; inline;
  45639. begin
  45640. pTDefRegMap(@Self)^.clr := $00000004;
  45641. end;
  45642. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  45643. begin
  45644. if thebits = 0 then
  45645. pTDefRegMap(@Self)^.clr := $00000004
  45646. else
  45647. pTDefRegMap(@Self)^.&set := $00000004;
  45648. end;
  45649. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  45650. begin
  45651. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45652. end;
  45653. procedure TPORTE_PORTE.setRE3; inline;
  45654. begin
  45655. pTDefRegMap(@Self)^.&set := $00000008;
  45656. end;
  45657. procedure TPORTE_PORTE.clearRE3; inline;
  45658. begin
  45659. pTDefRegMap(@Self)^.clr := $00000008;
  45660. end;
  45661. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  45662. begin
  45663. if thebits = 0 then
  45664. pTDefRegMap(@Self)^.clr := $00000008
  45665. else
  45666. pTDefRegMap(@Self)^.&set := $00000008;
  45667. end;
  45668. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  45669. begin
  45670. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45671. end;
  45672. procedure TPORTE_PORTE.setRE4; inline;
  45673. begin
  45674. pTDefRegMap(@Self)^.&set := $00000010;
  45675. end;
  45676. procedure TPORTE_PORTE.clearRE4; inline;
  45677. begin
  45678. pTDefRegMap(@Self)^.clr := $00000010;
  45679. end;
  45680. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  45681. begin
  45682. if thebits = 0 then
  45683. pTDefRegMap(@Self)^.clr := $00000010
  45684. else
  45685. pTDefRegMap(@Self)^.&set := $00000010;
  45686. end;
  45687. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  45688. begin
  45689. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45690. end;
  45691. procedure TPORTE_PORTE.setRE5; inline;
  45692. begin
  45693. pTDefRegMap(@Self)^.&set := $00000020;
  45694. end;
  45695. procedure TPORTE_PORTE.clearRE5; inline;
  45696. begin
  45697. pTDefRegMap(@Self)^.clr := $00000020;
  45698. end;
  45699. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  45700. begin
  45701. if thebits = 0 then
  45702. pTDefRegMap(@Self)^.clr := $00000020
  45703. else
  45704. pTDefRegMap(@Self)^.&set := $00000020;
  45705. end;
  45706. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  45707. begin
  45708. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45709. end;
  45710. procedure TPORTE_PORTE.setRE6; inline;
  45711. begin
  45712. pTDefRegMap(@Self)^.&set := $00000040;
  45713. end;
  45714. procedure TPORTE_PORTE.clearRE6; inline;
  45715. begin
  45716. pTDefRegMap(@Self)^.clr := $00000040;
  45717. end;
  45718. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  45719. begin
  45720. if thebits = 0 then
  45721. pTDefRegMap(@Self)^.clr := $00000040
  45722. else
  45723. pTDefRegMap(@Self)^.&set := $00000040;
  45724. end;
  45725. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  45726. begin
  45727. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45728. end;
  45729. procedure TPORTE_PORTE.setRE7; inline;
  45730. begin
  45731. pTDefRegMap(@Self)^.&set := $00000080;
  45732. end;
  45733. procedure TPORTE_PORTE.clearRE7; inline;
  45734. begin
  45735. pTDefRegMap(@Self)^.clr := $00000080;
  45736. end;
  45737. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  45738. begin
  45739. if thebits = 0 then
  45740. pTDefRegMap(@Self)^.clr := $00000080
  45741. else
  45742. pTDefRegMap(@Self)^.&set := $00000080;
  45743. end;
  45744. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  45745. begin
  45746. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45747. end;
  45748. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  45749. begin
  45750. pTDefRegMap(@Self)^.val := thebits;
  45751. end;
  45752. function TPORTE_PORTE.getw : TBits_32; inline;
  45753. begin
  45754. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45755. end;
  45756. procedure TPORTE_LATE.setLATE0; inline;
  45757. begin
  45758. pTDefRegMap(@Self)^.&set := $00000001;
  45759. end;
  45760. procedure TPORTE_LATE.clearLATE0; inline;
  45761. begin
  45762. pTDefRegMap(@Self)^.clr := $00000001;
  45763. end;
  45764. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  45765. begin
  45766. if thebits = 0 then
  45767. pTDefRegMap(@Self)^.clr := $00000001
  45768. else
  45769. pTDefRegMap(@Self)^.&set := $00000001;
  45770. end;
  45771. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  45772. begin
  45773. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45774. end;
  45775. procedure TPORTE_LATE.setLATE1; inline;
  45776. begin
  45777. pTDefRegMap(@Self)^.&set := $00000002;
  45778. end;
  45779. procedure TPORTE_LATE.clearLATE1; inline;
  45780. begin
  45781. pTDefRegMap(@Self)^.clr := $00000002;
  45782. end;
  45783. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  45784. begin
  45785. if thebits = 0 then
  45786. pTDefRegMap(@Self)^.clr := $00000002
  45787. else
  45788. pTDefRegMap(@Self)^.&set := $00000002;
  45789. end;
  45790. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  45791. begin
  45792. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45793. end;
  45794. procedure TPORTE_LATE.setLATE2; inline;
  45795. begin
  45796. pTDefRegMap(@Self)^.&set := $00000004;
  45797. end;
  45798. procedure TPORTE_LATE.clearLATE2; inline;
  45799. begin
  45800. pTDefRegMap(@Self)^.clr := $00000004;
  45801. end;
  45802. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  45803. begin
  45804. if thebits = 0 then
  45805. pTDefRegMap(@Self)^.clr := $00000004
  45806. else
  45807. pTDefRegMap(@Self)^.&set := $00000004;
  45808. end;
  45809. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  45810. begin
  45811. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45812. end;
  45813. procedure TPORTE_LATE.setLATE3; inline;
  45814. begin
  45815. pTDefRegMap(@Self)^.&set := $00000008;
  45816. end;
  45817. procedure TPORTE_LATE.clearLATE3; inline;
  45818. begin
  45819. pTDefRegMap(@Self)^.clr := $00000008;
  45820. end;
  45821. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  45822. begin
  45823. if thebits = 0 then
  45824. pTDefRegMap(@Self)^.clr := $00000008
  45825. else
  45826. pTDefRegMap(@Self)^.&set := $00000008;
  45827. end;
  45828. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  45829. begin
  45830. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45831. end;
  45832. procedure TPORTE_LATE.setLATE4; inline;
  45833. begin
  45834. pTDefRegMap(@Self)^.&set := $00000010;
  45835. end;
  45836. procedure TPORTE_LATE.clearLATE4; inline;
  45837. begin
  45838. pTDefRegMap(@Self)^.clr := $00000010;
  45839. end;
  45840. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  45841. begin
  45842. if thebits = 0 then
  45843. pTDefRegMap(@Self)^.clr := $00000010
  45844. else
  45845. pTDefRegMap(@Self)^.&set := $00000010;
  45846. end;
  45847. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  45848. begin
  45849. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45850. end;
  45851. procedure TPORTE_LATE.setLATE5; inline;
  45852. begin
  45853. pTDefRegMap(@Self)^.&set := $00000020;
  45854. end;
  45855. procedure TPORTE_LATE.clearLATE5; inline;
  45856. begin
  45857. pTDefRegMap(@Self)^.clr := $00000020;
  45858. end;
  45859. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  45860. begin
  45861. if thebits = 0 then
  45862. pTDefRegMap(@Self)^.clr := $00000020
  45863. else
  45864. pTDefRegMap(@Self)^.&set := $00000020;
  45865. end;
  45866. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  45867. begin
  45868. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45869. end;
  45870. procedure TPORTE_LATE.setLATE6; inline;
  45871. begin
  45872. pTDefRegMap(@Self)^.&set := $00000040;
  45873. end;
  45874. procedure TPORTE_LATE.clearLATE6; inline;
  45875. begin
  45876. pTDefRegMap(@Self)^.clr := $00000040;
  45877. end;
  45878. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  45879. begin
  45880. if thebits = 0 then
  45881. pTDefRegMap(@Self)^.clr := $00000040
  45882. else
  45883. pTDefRegMap(@Self)^.&set := $00000040;
  45884. end;
  45885. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  45886. begin
  45887. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45888. end;
  45889. procedure TPORTE_LATE.setLATE7; inline;
  45890. begin
  45891. pTDefRegMap(@Self)^.&set := $00000080;
  45892. end;
  45893. procedure TPORTE_LATE.clearLATE7; inline;
  45894. begin
  45895. pTDefRegMap(@Self)^.clr := $00000080;
  45896. end;
  45897. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  45898. begin
  45899. if thebits = 0 then
  45900. pTDefRegMap(@Self)^.clr := $00000080
  45901. else
  45902. pTDefRegMap(@Self)^.&set := $00000080;
  45903. end;
  45904. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  45905. begin
  45906. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45907. end;
  45908. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  45909. begin
  45910. pTDefRegMap(@Self)^.val := thebits;
  45911. end;
  45912. function TPORTE_LATE.getw : TBits_32; inline;
  45913. begin
  45914. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45915. end;
  45916. procedure TPORTE_ODCE.setODCE0; inline;
  45917. begin
  45918. pTDefRegMap(@Self)^.&set := $00000001;
  45919. end;
  45920. procedure TPORTE_ODCE.clearODCE0; inline;
  45921. begin
  45922. pTDefRegMap(@Self)^.clr := $00000001;
  45923. end;
  45924. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  45925. begin
  45926. if thebits = 0 then
  45927. pTDefRegMap(@Self)^.clr := $00000001
  45928. else
  45929. pTDefRegMap(@Self)^.&set := $00000001;
  45930. end;
  45931. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  45932. begin
  45933. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45934. end;
  45935. procedure TPORTE_ODCE.setODCE1; inline;
  45936. begin
  45937. pTDefRegMap(@Self)^.&set := $00000002;
  45938. end;
  45939. procedure TPORTE_ODCE.clearODCE1; inline;
  45940. begin
  45941. pTDefRegMap(@Self)^.clr := $00000002;
  45942. end;
  45943. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  45944. begin
  45945. if thebits = 0 then
  45946. pTDefRegMap(@Self)^.clr := $00000002
  45947. else
  45948. pTDefRegMap(@Self)^.&set := $00000002;
  45949. end;
  45950. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  45951. begin
  45952. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45953. end;
  45954. procedure TPORTE_ODCE.setODCE2; inline;
  45955. begin
  45956. pTDefRegMap(@Self)^.&set := $00000004;
  45957. end;
  45958. procedure TPORTE_ODCE.clearODCE2; inline;
  45959. begin
  45960. pTDefRegMap(@Self)^.clr := $00000004;
  45961. end;
  45962. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  45963. begin
  45964. if thebits = 0 then
  45965. pTDefRegMap(@Self)^.clr := $00000004
  45966. else
  45967. pTDefRegMap(@Self)^.&set := $00000004;
  45968. end;
  45969. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  45970. begin
  45971. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45972. end;
  45973. procedure TPORTE_ODCE.setODCE3; inline;
  45974. begin
  45975. pTDefRegMap(@Self)^.&set := $00000008;
  45976. end;
  45977. procedure TPORTE_ODCE.clearODCE3; inline;
  45978. begin
  45979. pTDefRegMap(@Self)^.clr := $00000008;
  45980. end;
  45981. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  45982. begin
  45983. if thebits = 0 then
  45984. pTDefRegMap(@Self)^.clr := $00000008
  45985. else
  45986. pTDefRegMap(@Self)^.&set := $00000008;
  45987. end;
  45988. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  45989. begin
  45990. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45991. end;
  45992. procedure TPORTE_ODCE.setODCE4; inline;
  45993. begin
  45994. pTDefRegMap(@Self)^.&set := $00000010;
  45995. end;
  45996. procedure TPORTE_ODCE.clearODCE4; inline;
  45997. begin
  45998. pTDefRegMap(@Self)^.clr := $00000010;
  45999. end;
  46000. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  46001. begin
  46002. if thebits = 0 then
  46003. pTDefRegMap(@Self)^.clr := $00000010
  46004. else
  46005. pTDefRegMap(@Self)^.&set := $00000010;
  46006. end;
  46007. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  46008. begin
  46009. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46010. end;
  46011. procedure TPORTE_ODCE.setODCE5; inline;
  46012. begin
  46013. pTDefRegMap(@Self)^.&set := $00000020;
  46014. end;
  46015. procedure TPORTE_ODCE.clearODCE5; inline;
  46016. begin
  46017. pTDefRegMap(@Self)^.clr := $00000020;
  46018. end;
  46019. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  46020. begin
  46021. if thebits = 0 then
  46022. pTDefRegMap(@Self)^.clr := $00000020
  46023. else
  46024. pTDefRegMap(@Self)^.&set := $00000020;
  46025. end;
  46026. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  46027. begin
  46028. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46029. end;
  46030. procedure TPORTE_ODCE.setODCE6; inline;
  46031. begin
  46032. pTDefRegMap(@Self)^.&set := $00000040;
  46033. end;
  46034. procedure TPORTE_ODCE.clearODCE6; inline;
  46035. begin
  46036. pTDefRegMap(@Self)^.clr := $00000040;
  46037. end;
  46038. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  46039. begin
  46040. if thebits = 0 then
  46041. pTDefRegMap(@Self)^.clr := $00000040
  46042. else
  46043. pTDefRegMap(@Self)^.&set := $00000040;
  46044. end;
  46045. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  46046. begin
  46047. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46048. end;
  46049. procedure TPORTE_ODCE.setODCE7; inline;
  46050. begin
  46051. pTDefRegMap(@Self)^.&set := $00000080;
  46052. end;
  46053. procedure TPORTE_ODCE.clearODCE7; inline;
  46054. begin
  46055. pTDefRegMap(@Self)^.clr := $00000080;
  46056. end;
  46057. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  46058. begin
  46059. if thebits = 0 then
  46060. pTDefRegMap(@Self)^.clr := $00000080
  46061. else
  46062. pTDefRegMap(@Self)^.&set := $00000080;
  46063. end;
  46064. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  46065. begin
  46066. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46067. end;
  46068. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  46069. begin
  46070. pTDefRegMap(@Self)^.val := thebits;
  46071. end;
  46072. function TPORTE_ODCE.getw : TBits_32; inline;
  46073. begin
  46074. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46075. end;
  46076. procedure TPORTE_CNPUE.setCNPUE0; inline;
  46077. begin
  46078. pTDefRegMap(@Self)^.&set := $00000001;
  46079. end;
  46080. procedure TPORTE_CNPUE.clearCNPUE0; inline;
  46081. begin
  46082. pTDefRegMap(@Self)^.clr := $00000001;
  46083. end;
  46084. procedure TPORTE_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  46085. begin
  46086. if thebits = 0 then
  46087. pTDefRegMap(@Self)^.clr := $00000001
  46088. else
  46089. pTDefRegMap(@Self)^.&set := $00000001;
  46090. end;
  46091. function TPORTE_CNPUE.getCNPUE0 : TBits_1; inline;
  46092. begin
  46093. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46094. end;
  46095. procedure TPORTE_CNPUE.setCNPUE1; inline;
  46096. begin
  46097. pTDefRegMap(@Self)^.&set := $00000002;
  46098. end;
  46099. procedure TPORTE_CNPUE.clearCNPUE1; inline;
  46100. begin
  46101. pTDefRegMap(@Self)^.clr := $00000002;
  46102. end;
  46103. procedure TPORTE_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  46104. begin
  46105. if thebits = 0 then
  46106. pTDefRegMap(@Self)^.clr := $00000002
  46107. else
  46108. pTDefRegMap(@Self)^.&set := $00000002;
  46109. end;
  46110. function TPORTE_CNPUE.getCNPUE1 : TBits_1; inline;
  46111. begin
  46112. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46113. end;
  46114. procedure TPORTE_CNPUE.setCNPUE2; inline;
  46115. begin
  46116. pTDefRegMap(@Self)^.&set := $00000004;
  46117. end;
  46118. procedure TPORTE_CNPUE.clearCNPUE2; inline;
  46119. begin
  46120. pTDefRegMap(@Self)^.clr := $00000004;
  46121. end;
  46122. procedure TPORTE_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  46123. begin
  46124. if thebits = 0 then
  46125. pTDefRegMap(@Self)^.clr := $00000004
  46126. else
  46127. pTDefRegMap(@Self)^.&set := $00000004;
  46128. end;
  46129. function TPORTE_CNPUE.getCNPUE2 : TBits_1; inline;
  46130. begin
  46131. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46132. end;
  46133. procedure TPORTE_CNPUE.setCNPUE3; inline;
  46134. begin
  46135. pTDefRegMap(@Self)^.&set := $00000008;
  46136. end;
  46137. procedure TPORTE_CNPUE.clearCNPUE3; inline;
  46138. begin
  46139. pTDefRegMap(@Self)^.clr := $00000008;
  46140. end;
  46141. procedure TPORTE_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  46142. begin
  46143. if thebits = 0 then
  46144. pTDefRegMap(@Self)^.clr := $00000008
  46145. else
  46146. pTDefRegMap(@Self)^.&set := $00000008;
  46147. end;
  46148. function TPORTE_CNPUE.getCNPUE3 : TBits_1; inline;
  46149. begin
  46150. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46151. end;
  46152. procedure TPORTE_CNPUE.setCNPUE4; inline;
  46153. begin
  46154. pTDefRegMap(@Self)^.&set := $00000010;
  46155. end;
  46156. procedure TPORTE_CNPUE.clearCNPUE4; inline;
  46157. begin
  46158. pTDefRegMap(@Self)^.clr := $00000010;
  46159. end;
  46160. procedure TPORTE_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  46161. begin
  46162. if thebits = 0 then
  46163. pTDefRegMap(@Self)^.clr := $00000010
  46164. else
  46165. pTDefRegMap(@Self)^.&set := $00000010;
  46166. end;
  46167. function TPORTE_CNPUE.getCNPUE4 : TBits_1; inline;
  46168. begin
  46169. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46170. end;
  46171. procedure TPORTE_CNPUE.setCNPUE5; inline;
  46172. begin
  46173. pTDefRegMap(@Self)^.&set := $00000020;
  46174. end;
  46175. procedure TPORTE_CNPUE.clearCNPUE5; inline;
  46176. begin
  46177. pTDefRegMap(@Self)^.clr := $00000020;
  46178. end;
  46179. procedure TPORTE_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  46180. begin
  46181. if thebits = 0 then
  46182. pTDefRegMap(@Self)^.clr := $00000020
  46183. else
  46184. pTDefRegMap(@Self)^.&set := $00000020;
  46185. end;
  46186. function TPORTE_CNPUE.getCNPUE5 : TBits_1; inline;
  46187. begin
  46188. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46189. end;
  46190. procedure TPORTE_CNPUE.setCNPUE6; inline;
  46191. begin
  46192. pTDefRegMap(@Self)^.&set := $00000040;
  46193. end;
  46194. procedure TPORTE_CNPUE.clearCNPUE6; inline;
  46195. begin
  46196. pTDefRegMap(@Self)^.clr := $00000040;
  46197. end;
  46198. procedure TPORTE_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  46199. begin
  46200. if thebits = 0 then
  46201. pTDefRegMap(@Self)^.clr := $00000040
  46202. else
  46203. pTDefRegMap(@Self)^.&set := $00000040;
  46204. end;
  46205. function TPORTE_CNPUE.getCNPUE6 : TBits_1; inline;
  46206. begin
  46207. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46208. end;
  46209. procedure TPORTE_CNPUE.setCNPUE7; inline;
  46210. begin
  46211. pTDefRegMap(@Self)^.&set := $00000080;
  46212. end;
  46213. procedure TPORTE_CNPUE.clearCNPUE7; inline;
  46214. begin
  46215. pTDefRegMap(@Self)^.clr := $00000080;
  46216. end;
  46217. procedure TPORTE_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  46218. begin
  46219. if thebits = 0 then
  46220. pTDefRegMap(@Self)^.clr := $00000080
  46221. else
  46222. pTDefRegMap(@Self)^.&set := $00000080;
  46223. end;
  46224. function TPORTE_CNPUE.getCNPUE7 : TBits_1; inline;
  46225. begin
  46226. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46227. end;
  46228. procedure TPORTE_CNPUE.setw(thebits : TBits_32); inline;
  46229. begin
  46230. pTDefRegMap(@Self)^.val := thebits;
  46231. end;
  46232. function TPORTE_CNPUE.getw : TBits_32; inline;
  46233. begin
  46234. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46235. end;
  46236. procedure TPORTE_CNPDE.setCNPDE0; inline;
  46237. begin
  46238. pTDefRegMap(@Self)^.&set := $00000001;
  46239. end;
  46240. procedure TPORTE_CNPDE.clearCNPDE0; inline;
  46241. begin
  46242. pTDefRegMap(@Self)^.clr := $00000001;
  46243. end;
  46244. procedure TPORTE_CNPDE.setCNPDE0(thebits : TBits_1); inline;
  46245. begin
  46246. if thebits = 0 then
  46247. pTDefRegMap(@Self)^.clr := $00000001
  46248. else
  46249. pTDefRegMap(@Self)^.&set := $00000001;
  46250. end;
  46251. function TPORTE_CNPDE.getCNPDE0 : TBits_1; inline;
  46252. begin
  46253. getCNPDE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46254. end;
  46255. procedure TPORTE_CNPDE.setCNPDE1; inline;
  46256. begin
  46257. pTDefRegMap(@Self)^.&set := $00000002;
  46258. end;
  46259. procedure TPORTE_CNPDE.clearCNPDE1; inline;
  46260. begin
  46261. pTDefRegMap(@Self)^.clr := $00000002;
  46262. end;
  46263. procedure TPORTE_CNPDE.setCNPDE1(thebits : TBits_1); inline;
  46264. begin
  46265. if thebits = 0 then
  46266. pTDefRegMap(@Self)^.clr := $00000002
  46267. else
  46268. pTDefRegMap(@Self)^.&set := $00000002;
  46269. end;
  46270. function TPORTE_CNPDE.getCNPDE1 : TBits_1; inline;
  46271. begin
  46272. getCNPDE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46273. end;
  46274. procedure TPORTE_CNPDE.setCNPDE2; inline;
  46275. begin
  46276. pTDefRegMap(@Self)^.&set := $00000004;
  46277. end;
  46278. procedure TPORTE_CNPDE.clearCNPDE2; inline;
  46279. begin
  46280. pTDefRegMap(@Self)^.clr := $00000004;
  46281. end;
  46282. procedure TPORTE_CNPDE.setCNPDE2(thebits : TBits_1); inline;
  46283. begin
  46284. if thebits = 0 then
  46285. pTDefRegMap(@Self)^.clr := $00000004
  46286. else
  46287. pTDefRegMap(@Self)^.&set := $00000004;
  46288. end;
  46289. function TPORTE_CNPDE.getCNPDE2 : TBits_1; inline;
  46290. begin
  46291. getCNPDE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46292. end;
  46293. procedure TPORTE_CNPDE.setCNPDE3; inline;
  46294. begin
  46295. pTDefRegMap(@Self)^.&set := $00000008;
  46296. end;
  46297. procedure TPORTE_CNPDE.clearCNPDE3; inline;
  46298. begin
  46299. pTDefRegMap(@Self)^.clr := $00000008;
  46300. end;
  46301. procedure TPORTE_CNPDE.setCNPDE3(thebits : TBits_1); inline;
  46302. begin
  46303. if thebits = 0 then
  46304. pTDefRegMap(@Self)^.clr := $00000008
  46305. else
  46306. pTDefRegMap(@Self)^.&set := $00000008;
  46307. end;
  46308. function TPORTE_CNPDE.getCNPDE3 : TBits_1; inline;
  46309. begin
  46310. getCNPDE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46311. end;
  46312. procedure TPORTE_CNPDE.setCNPDE4; inline;
  46313. begin
  46314. pTDefRegMap(@Self)^.&set := $00000010;
  46315. end;
  46316. procedure TPORTE_CNPDE.clearCNPDE4; inline;
  46317. begin
  46318. pTDefRegMap(@Self)^.clr := $00000010;
  46319. end;
  46320. procedure TPORTE_CNPDE.setCNPDE4(thebits : TBits_1); inline;
  46321. begin
  46322. if thebits = 0 then
  46323. pTDefRegMap(@Self)^.clr := $00000010
  46324. else
  46325. pTDefRegMap(@Self)^.&set := $00000010;
  46326. end;
  46327. function TPORTE_CNPDE.getCNPDE4 : TBits_1; inline;
  46328. begin
  46329. getCNPDE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46330. end;
  46331. procedure TPORTE_CNPDE.setCNPDE5; inline;
  46332. begin
  46333. pTDefRegMap(@Self)^.&set := $00000020;
  46334. end;
  46335. procedure TPORTE_CNPDE.clearCNPDE5; inline;
  46336. begin
  46337. pTDefRegMap(@Self)^.clr := $00000020;
  46338. end;
  46339. procedure TPORTE_CNPDE.setCNPDE5(thebits : TBits_1); inline;
  46340. begin
  46341. if thebits = 0 then
  46342. pTDefRegMap(@Self)^.clr := $00000020
  46343. else
  46344. pTDefRegMap(@Self)^.&set := $00000020;
  46345. end;
  46346. function TPORTE_CNPDE.getCNPDE5 : TBits_1; inline;
  46347. begin
  46348. getCNPDE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46349. end;
  46350. procedure TPORTE_CNPDE.setCNPDE6; inline;
  46351. begin
  46352. pTDefRegMap(@Self)^.&set := $00000040;
  46353. end;
  46354. procedure TPORTE_CNPDE.clearCNPDE6; inline;
  46355. begin
  46356. pTDefRegMap(@Self)^.clr := $00000040;
  46357. end;
  46358. procedure TPORTE_CNPDE.setCNPDE6(thebits : TBits_1); inline;
  46359. begin
  46360. if thebits = 0 then
  46361. pTDefRegMap(@Self)^.clr := $00000040
  46362. else
  46363. pTDefRegMap(@Self)^.&set := $00000040;
  46364. end;
  46365. function TPORTE_CNPDE.getCNPDE6 : TBits_1; inline;
  46366. begin
  46367. getCNPDE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46368. end;
  46369. procedure TPORTE_CNPDE.setCNPDE7; inline;
  46370. begin
  46371. pTDefRegMap(@Self)^.&set := $00000080;
  46372. end;
  46373. procedure TPORTE_CNPDE.clearCNPDE7; inline;
  46374. begin
  46375. pTDefRegMap(@Self)^.clr := $00000080;
  46376. end;
  46377. procedure TPORTE_CNPDE.setCNPDE7(thebits : TBits_1); inline;
  46378. begin
  46379. if thebits = 0 then
  46380. pTDefRegMap(@Self)^.clr := $00000080
  46381. else
  46382. pTDefRegMap(@Self)^.&set := $00000080;
  46383. end;
  46384. function TPORTE_CNPDE.getCNPDE7 : TBits_1; inline;
  46385. begin
  46386. getCNPDE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46387. end;
  46388. procedure TPORTE_CNPDE.setw(thebits : TBits_32); inline;
  46389. begin
  46390. pTDefRegMap(@Self)^.val := thebits;
  46391. end;
  46392. function TPORTE_CNPDE.getw : TBits_32; inline;
  46393. begin
  46394. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46395. end;
  46396. procedure TPORTE_CNCONE.setSIDL; inline;
  46397. begin
  46398. pTDefRegMap(@Self)^.&set := $00002000;
  46399. end;
  46400. procedure TPORTE_CNCONE.clearSIDL; inline;
  46401. begin
  46402. pTDefRegMap(@Self)^.clr := $00002000;
  46403. end;
  46404. procedure TPORTE_CNCONE.setSIDL(thebits : TBits_1); inline;
  46405. begin
  46406. if thebits = 0 then
  46407. pTDefRegMap(@Self)^.clr := $00002000
  46408. else
  46409. pTDefRegMap(@Self)^.&set := $00002000;
  46410. end;
  46411. function TPORTE_CNCONE.getSIDL : TBits_1; inline;
  46412. begin
  46413. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46414. end;
  46415. procedure TPORTE_CNCONE.setON; inline;
  46416. begin
  46417. pTDefRegMap(@Self)^.&set := $00008000;
  46418. end;
  46419. procedure TPORTE_CNCONE.clearON; inline;
  46420. begin
  46421. pTDefRegMap(@Self)^.clr := $00008000;
  46422. end;
  46423. procedure TPORTE_CNCONE.setON(thebits : TBits_1); inline;
  46424. begin
  46425. if thebits = 0 then
  46426. pTDefRegMap(@Self)^.clr := $00008000
  46427. else
  46428. pTDefRegMap(@Self)^.&set := $00008000;
  46429. end;
  46430. function TPORTE_CNCONE.getON : TBits_1; inline;
  46431. begin
  46432. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46433. end;
  46434. procedure TPORTE_CNCONE.setw(thebits : TBits_32); inline;
  46435. begin
  46436. pTDefRegMap(@Self)^.val := thebits;
  46437. end;
  46438. function TPORTE_CNCONE.getw : TBits_32; inline;
  46439. begin
  46440. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46441. end;
  46442. procedure TPORTE_CNENE.setCNIEE0; inline;
  46443. begin
  46444. pTDefRegMap(@Self)^.&set := $00000001;
  46445. end;
  46446. procedure TPORTE_CNENE.clearCNIEE0; inline;
  46447. begin
  46448. pTDefRegMap(@Self)^.clr := $00000001;
  46449. end;
  46450. procedure TPORTE_CNENE.setCNIEE0(thebits : TBits_1); inline;
  46451. begin
  46452. if thebits = 0 then
  46453. pTDefRegMap(@Self)^.clr := $00000001
  46454. else
  46455. pTDefRegMap(@Self)^.&set := $00000001;
  46456. end;
  46457. function TPORTE_CNENE.getCNIEE0 : TBits_1; inline;
  46458. begin
  46459. getCNIEE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46460. end;
  46461. procedure TPORTE_CNENE.setCNIEE1; inline;
  46462. begin
  46463. pTDefRegMap(@Self)^.&set := $00000002;
  46464. end;
  46465. procedure TPORTE_CNENE.clearCNIEE1; inline;
  46466. begin
  46467. pTDefRegMap(@Self)^.clr := $00000002;
  46468. end;
  46469. procedure TPORTE_CNENE.setCNIEE1(thebits : TBits_1); inline;
  46470. begin
  46471. if thebits = 0 then
  46472. pTDefRegMap(@Self)^.clr := $00000002
  46473. else
  46474. pTDefRegMap(@Self)^.&set := $00000002;
  46475. end;
  46476. function TPORTE_CNENE.getCNIEE1 : TBits_1; inline;
  46477. begin
  46478. getCNIEE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46479. end;
  46480. procedure TPORTE_CNENE.setCNIEE2; inline;
  46481. begin
  46482. pTDefRegMap(@Self)^.&set := $00000004;
  46483. end;
  46484. procedure TPORTE_CNENE.clearCNIEE2; inline;
  46485. begin
  46486. pTDefRegMap(@Self)^.clr := $00000004;
  46487. end;
  46488. procedure TPORTE_CNENE.setCNIEE2(thebits : TBits_1); inline;
  46489. begin
  46490. if thebits = 0 then
  46491. pTDefRegMap(@Self)^.clr := $00000004
  46492. else
  46493. pTDefRegMap(@Self)^.&set := $00000004;
  46494. end;
  46495. function TPORTE_CNENE.getCNIEE2 : TBits_1; inline;
  46496. begin
  46497. getCNIEE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46498. end;
  46499. procedure TPORTE_CNENE.setCNIEE3; inline;
  46500. begin
  46501. pTDefRegMap(@Self)^.&set := $00000008;
  46502. end;
  46503. procedure TPORTE_CNENE.clearCNIEE3; inline;
  46504. begin
  46505. pTDefRegMap(@Self)^.clr := $00000008;
  46506. end;
  46507. procedure TPORTE_CNENE.setCNIEE3(thebits : TBits_1); inline;
  46508. begin
  46509. if thebits = 0 then
  46510. pTDefRegMap(@Self)^.clr := $00000008
  46511. else
  46512. pTDefRegMap(@Self)^.&set := $00000008;
  46513. end;
  46514. function TPORTE_CNENE.getCNIEE3 : TBits_1; inline;
  46515. begin
  46516. getCNIEE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46517. end;
  46518. procedure TPORTE_CNENE.setCNIEE4; inline;
  46519. begin
  46520. pTDefRegMap(@Self)^.&set := $00000010;
  46521. end;
  46522. procedure TPORTE_CNENE.clearCNIEE4; inline;
  46523. begin
  46524. pTDefRegMap(@Self)^.clr := $00000010;
  46525. end;
  46526. procedure TPORTE_CNENE.setCNIEE4(thebits : TBits_1); inline;
  46527. begin
  46528. if thebits = 0 then
  46529. pTDefRegMap(@Self)^.clr := $00000010
  46530. else
  46531. pTDefRegMap(@Self)^.&set := $00000010;
  46532. end;
  46533. function TPORTE_CNENE.getCNIEE4 : TBits_1; inline;
  46534. begin
  46535. getCNIEE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46536. end;
  46537. procedure TPORTE_CNENE.setCNIEE5; inline;
  46538. begin
  46539. pTDefRegMap(@Self)^.&set := $00000020;
  46540. end;
  46541. procedure TPORTE_CNENE.clearCNIEE5; inline;
  46542. begin
  46543. pTDefRegMap(@Self)^.clr := $00000020;
  46544. end;
  46545. procedure TPORTE_CNENE.setCNIEE5(thebits : TBits_1); inline;
  46546. begin
  46547. if thebits = 0 then
  46548. pTDefRegMap(@Self)^.clr := $00000020
  46549. else
  46550. pTDefRegMap(@Self)^.&set := $00000020;
  46551. end;
  46552. function TPORTE_CNENE.getCNIEE5 : TBits_1; inline;
  46553. begin
  46554. getCNIEE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46555. end;
  46556. procedure TPORTE_CNENE.setCNIEE6; inline;
  46557. begin
  46558. pTDefRegMap(@Self)^.&set := $00000040;
  46559. end;
  46560. procedure TPORTE_CNENE.clearCNIEE6; inline;
  46561. begin
  46562. pTDefRegMap(@Self)^.clr := $00000040;
  46563. end;
  46564. procedure TPORTE_CNENE.setCNIEE6(thebits : TBits_1); inline;
  46565. begin
  46566. if thebits = 0 then
  46567. pTDefRegMap(@Self)^.clr := $00000040
  46568. else
  46569. pTDefRegMap(@Self)^.&set := $00000040;
  46570. end;
  46571. function TPORTE_CNENE.getCNIEE6 : TBits_1; inline;
  46572. begin
  46573. getCNIEE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46574. end;
  46575. procedure TPORTE_CNENE.setCNIEE7; inline;
  46576. begin
  46577. pTDefRegMap(@Self)^.&set := $00000080;
  46578. end;
  46579. procedure TPORTE_CNENE.clearCNIEE7; inline;
  46580. begin
  46581. pTDefRegMap(@Self)^.clr := $00000080;
  46582. end;
  46583. procedure TPORTE_CNENE.setCNIEE7(thebits : TBits_1); inline;
  46584. begin
  46585. if thebits = 0 then
  46586. pTDefRegMap(@Self)^.clr := $00000080
  46587. else
  46588. pTDefRegMap(@Self)^.&set := $00000080;
  46589. end;
  46590. function TPORTE_CNENE.getCNIEE7 : TBits_1; inline;
  46591. begin
  46592. getCNIEE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46593. end;
  46594. procedure TPORTE_CNENE.setw(thebits : TBits_32); inline;
  46595. begin
  46596. pTDefRegMap(@Self)^.val := thebits;
  46597. end;
  46598. function TPORTE_CNENE.getw : TBits_32; inline;
  46599. begin
  46600. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46601. end;
  46602. procedure TPORTE_CNSTATE.setCNSTATE0; inline;
  46603. begin
  46604. pTDefRegMap(@Self)^.&set := $00000001;
  46605. end;
  46606. procedure TPORTE_CNSTATE.clearCNSTATE0; inline;
  46607. begin
  46608. pTDefRegMap(@Self)^.clr := $00000001;
  46609. end;
  46610. procedure TPORTE_CNSTATE.setCNSTATE0(thebits : TBits_1); inline;
  46611. begin
  46612. if thebits = 0 then
  46613. pTDefRegMap(@Self)^.clr := $00000001
  46614. else
  46615. pTDefRegMap(@Self)^.&set := $00000001;
  46616. end;
  46617. function TPORTE_CNSTATE.getCNSTATE0 : TBits_1; inline;
  46618. begin
  46619. getCNSTATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46620. end;
  46621. procedure TPORTE_CNSTATE.setCNSTATE1; inline;
  46622. begin
  46623. pTDefRegMap(@Self)^.&set := $00000002;
  46624. end;
  46625. procedure TPORTE_CNSTATE.clearCNSTATE1; inline;
  46626. begin
  46627. pTDefRegMap(@Self)^.clr := $00000002;
  46628. end;
  46629. procedure TPORTE_CNSTATE.setCNSTATE1(thebits : TBits_1); inline;
  46630. begin
  46631. if thebits = 0 then
  46632. pTDefRegMap(@Self)^.clr := $00000002
  46633. else
  46634. pTDefRegMap(@Self)^.&set := $00000002;
  46635. end;
  46636. function TPORTE_CNSTATE.getCNSTATE1 : TBits_1; inline;
  46637. begin
  46638. getCNSTATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46639. end;
  46640. procedure TPORTE_CNSTATE.setCNSTATE2; inline;
  46641. begin
  46642. pTDefRegMap(@Self)^.&set := $00000004;
  46643. end;
  46644. procedure TPORTE_CNSTATE.clearCNSTATE2; inline;
  46645. begin
  46646. pTDefRegMap(@Self)^.clr := $00000004;
  46647. end;
  46648. procedure TPORTE_CNSTATE.setCNSTATE2(thebits : TBits_1); inline;
  46649. begin
  46650. if thebits = 0 then
  46651. pTDefRegMap(@Self)^.clr := $00000004
  46652. else
  46653. pTDefRegMap(@Self)^.&set := $00000004;
  46654. end;
  46655. function TPORTE_CNSTATE.getCNSTATE2 : TBits_1; inline;
  46656. begin
  46657. getCNSTATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46658. end;
  46659. procedure TPORTE_CNSTATE.setCNSTATE3; inline;
  46660. begin
  46661. pTDefRegMap(@Self)^.&set := $00000008;
  46662. end;
  46663. procedure TPORTE_CNSTATE.clearCNSTATE3; inline;
  46664. begin
  46665. pTDefRegMap(@Self)^.clr := $00000008;
  46666. end;
  46667. procedure TPORTE_CNSTATE.setCNSTATE3(thebits : TBits_1); inline;
  46668. begin
  46669. if thebits = 0 then
  46670. pTDefRegMap(@Self)^.clr := $00000008
  46671. else
  46672. pTDefRegMap(@Self)^.&set := $00000008;
  46673. end;
  46674. function TPORTE_CNSTATE.getCNSTATE3 : TBits_1; inline;
  46675. begin
  46676. getCNSTATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46677. end;
  46678. procedure TPORTE_CNSTATE.setCNSTATE4; inline;
  46679. begin
  46680. pTDefRegMap(@Self)^.&set := $00000010;
  46681. end;
  46682. procedure TPORTE_CNSTATE.clearCNSTATE4; inline;
  46683. begin
  46684. pTDefRegMap(@Self)^.clr := $00000010;
  46685. end;
  46686. procedure TPORTE_CNSTATE.setCNSTATE4(thebits : TBits_1); inline;
  46687. begin
  46688. if thebits = 0 then
  46689. pTDefRegMap(@Self)^.clr := $00000010
  46690. else
  46691. pTDefRegMap(@Self)^.&set := $00000010;
  46692. end;
  46693. function TPORTE_CNSTATE.getCNSTATE4 : TBits_1; inline;
  46694. begin
  46695. getCNSTATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46696. end;
  46697. procedure TPORTE_CNSTATE.setCNSTATE5; inline;
  46698. begin
  46699. pTDefRegMap(@Self)^.&set := $00000020;
  46700. end;
  46701. procedure TPORTE_CNSTATE.clearCNSTATE5; inline;
  46702. begin
  46703. pTDefRegMap(@Self)^.clr := $00000020;
  46704. end;
  46705. procedure TPORTE_CNSTATE.setCNSTATE5(thebits : TBits_1); inline;
  46706. begin
  46707. if thebits = 0 then
  46708. pTDefRegMap(@Self)^.clr := $00000020
  46709. else
  46710. pTDefRegMap(@Self)^.&set := $00000020;
  46711. end;
  46712. function TPORTE_CNSTATE.getCNSTATE5 : TBits_1; inline;
  46713. begin
  46714. getCNSTATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46715. end;
  46716. procedure TPORTE_CNSTATE.setCNSTATE6; inline;
  46717. begin
  46718. pTDefRegMap(@Self)^.&set := $00000040;
  46719. end;
  46720. procedure TPORTE_CNSTATE.clearCNSTATE6; inline;
  46721. begin
  46722. pTDefRegMap(@Self)^.clr := $00000040;
  46723. end;
  46724. procedure TPORTE_CNSTATE.setCNSTATE6(thebits : TBits_1); inline;
  46725. begin
  46726. if thebits = 0 then
  46727. pTDefRegMap(@Self)^.clr := $00000040
  46728. else
  46729. pTDefRegMap(@Self)^.&set := $00000040;
  46730. end;
  46731. function TPORTE_CNSTATE.getCNSTATE6 : TBits_1; inline;
  46732. begin
  46733. getCNSTATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46734. end;
  46735. procedure TPORTE_CNSTATE.setCNSTATE7; inline;
  46736. begin
  46737. pTDefRegMap(@Self)^.&set := $00000080;
  46738. end;
  46739. procedure TPORTE_CNSTATE.clearCNSTATE7; inline;
  46740. begin
  46741. pTDefRegMap(@Self)^.clr := $00000080;
  46742. end;
  46743. procedure TPORTE_CNSTATE.setCNSTATE7(thebits : TBits_1); inline;
  46744. begin
  46745. if thebits = 0 then
  46746. pTDefRegMap(@Self)^.clr := $00000080
  46747. else
  46748. pTDefRegMap(@Self)^.&set := $00000080;
  46749. end;
  46750. function TPORTE_CNSTATE.getCNSTATE7 : TBits_1; inline;
  46751. begin
  46752. getCNSTATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46753. end;
  46754. procedure TPORTE_CNSTATE.setw(thebits : TBits_32); inline;
  46755. begin
  46756. pTDefRegMap(@Self)^.val := thebits;
  46757. end;
  46758. function TPORTE_CNSTATE.getw : TBits_32; inline;
  46759. begin
  46760. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46761. end;
  46762. procedure TPORTE_ANSELF.setANSF0; inline;
  46763. begin
  46764. pTDefRegMap(@Self)^.&set := $00000001;
  46765. end;
  46766. procedure TPORTE_ANSELF.clearANSF0; inline;
  46767. begin
  46768. pTDefRegMap(@Self)^.clr := $00000001;
  46769. end;
  46770. procedure TPORTE_ANSELF.setANSF0(thebits : TBits_1); inline;
  46771. begin
  46772. if thebits = 0 then
  46773. pTDefRegMap(@Self)^.clr := $00000001
  46774. else
  46775. pTDefRegMap(@Self)^.&set := $00000001;
  46776. end;
  46777. function TPORTE_ANSELF.getANSF0 : TBits_1; inline;
  46778. begin
  46779. getANSF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46780. end;
  46781. procedure TPORTE_ANSELF.setANSF1; inline;
  46782. begin
  46783. pTDefRegMap(@Self)^.&set := $00000002;
  46784. end;
  46785. procedure TPORTE_ANSELF.clearANSF1; inline;
  46786. begin
  46787. pTDefRegMap(@Self)^.clr := $00000002;
  46788. end;
  46789. procedure TPORTE_ANSELF.setANSF1(thebits : TBits_1); inline;
  46790. begin
  46791. if thebits = 0 then
  46792. pTDefRegMap(@Self)^.clr := $00000002
  46793. else
  46794. pTDefRegMap(@Self)^.&set := $00000002;
  46795. end;
  46796. function TPORTE_ANSELF.getANSF1 : TBits_1; inline;
  46797. begin
  46798. getANSF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46799. end;
  46800. procedure TPORTE_ANSELF.setANSF2; inline;
  46801. begin
  46802. pTDefRegMap(@Self)^.&set := $00000004;
  46803. end;
  46804. procedure TPORTE_ANSELF.clearANSF2; inline;
  46805. begin
  46806. pTDefRegMap(@Self)^.clr := $00000004;
  46807. end;
  46808. procedure TPORTE_ANSELF.setANSF2(thebits : TBits_1); inline;
  46809. begin
  46810. if thebits = 0 then
  46811. pTDefRegMap(@Self)^.clr := $00000004
  46812. else
  46813. pTDefRegMap(@Self)^.&set := $00000004;
  46814. end;
  46815. function TPORTE_ANSELF.getANSF2 : TBits_1; inline;
  46816. begin
  46817. getANSF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46818. end;
  46819. procedure TPORTE_ANSELF.setANSF3; inline;
  46820. begin
  46821. pTDefRegMap(@Self)^.&set := $00000008;
  46822. end;
  46823. procedure TPORTE_ANSELF.clearANSF3; inline;
  46824. begin
  46825. pTDefRegMap(@Self)^.clr := $00000008;
  46826. end;
  46827. procedure TPORTE_ANSELF.setANSF3(thebits : TBits_1); inline;
  46828. begin
  46829. if thebits = 0 then
  46830. pTDefRegMap(@Self)^.clr := $00000008
  46831. else
  46832. pTDefRegMap(@Self)^.&set := $00000008;
  46833. end;
  46834. function TPORTE_ANSELF.getANSF3 : TBits_1; inline;
  46835. begin
  46836. getANSF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46837. end;
  46838. procedure TPORTE_ANSELF.setANSF4; inline;
  46839. begin
  46840. pTDefRegMap(@Self)^.&set := $00000010;
  46841. end;
  46842. procedure TPORTE_ANSELF.clearANSF4; inline;
  46843. begin
  46844. pTDefRegMap(@Self)^.clr := $00000010;
  46845. end;
  46846. procedure TPORTE_ANSELF.setANSF4(thebits : TBits_1); inline;
  46847. begin
  46848. if thebits = 0 then
  46849. pTDefRegMap(@Self)^.clr := $00000010
  46850. else
  46851. pTDefRegMap(@Self)^.&set := $00000010;
  46852. end;
  46853. function TPORTE_ANSELF.getANSF4 : TBits_1; inline;
  46854. begin
  46855. getANSF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46856. end;
  46857. procedure TPORTE_ANSELF.setANSF5; inline;
  46858. begin
  46859. pTDefRegMap(@Self)^.&set := $00000020;
  46860. end;
  46861. procedure TPORTE_ANSELF.clearANSF5; inline;
  46862. begin
  46863. pTDefRegMap(@Self)^.clr := $00000020;
  46864. end;
  46865. procedure TPORTE_ANSELF.setANSF5(thebits : TBits_1); inline;
  46866. begin
  46867. if thebits = 0 then
  46868. pTDefRegMap(@Self)^.clr := $00000020
  46869. else
  46870. pTDefRegMap(@Self)^.&set := $00000020;
  46871. end;
  46872. function TPORTE_ANSELF.getANSF5 : TBits_1; inline;
  46873. begin
  46874. getANSF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46875. end;
  46876. procedure TPORTE_ANSELF.setANSF6; inline;
  46877. begin
  46878. pTDefRegMap(@Self)^.&set := $00000040;
  46879. end;
  46880. procedure TPORTE_ANSELF.clearANSF6; inline;
  46881. begin
  46882. pTDefRegMap(@Self)^.clr := $00000040;
  46883. end;
  46884. procedure TPORTE_ANSELF.setANSF6(thebits : TBits_1); inline;
  46885. begin
  46886. if thebits = 0 then
  46887. pTDefRegMap(@Self)^.clr := $00000040
  46888. else
  46889. pTDefRegMap(@Self)^.&set := $00000040;
  46890. end;
  46891. function TPORTE_ANSELF.getANSF6 : TBits_1; inline;
  46892. begin
  46893. getANSF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46894. end;
  46895. procedure TPORTE_ANSELF.setw(thebits : TBits_32); inline;
  46896. begin
  46897. pTDefRegMap(@Self)^.val := thebits;
  46898. end;
  46899. function TPORTE_ANSELF.getw : TBits_32; inline;
  46900. begin
  46901. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46902. end;
  46903. procedure TPORTE_TRISF.setTRISF0; inline;
  46904. begin
  46905. pTDefRegMap(@Self)^.&set := $00000001;
  46906. end;
  46907. procedure TPORTE_TRISF.clearTRISF0; inline;
  46908. begin
  46909. pTDefRegMap(@Self)^.clr := $00000001;
  46910. end;
  46911. procedure TPORTE_TRISF.setTRISF0(thebits : TBits_1); inline;
  46912. begin
  46913. if thebits = 0 then
  46914. pTDefRegMap(@Self)^.clr := $00000001
  46915. else
  46916. pTDefRegMap(@Self)^.&set := $00000001;
  46917. end;
  46918. function TPORTE_TRISF.getTRISF0 : TBits_1; inline;
  46919. begin
  46920. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46921. end;
  46922. procedure TPORTE_TRISF.setTRISF1; inline;
  46923. begin
  46924. pTDefRegMap(@Self)^.&set := $00000002;
  46925. end;
  46926. procedure TPORTE_TRISF.clearTRISF1; inline;
  46927. begin
  46928. pTDefRegMap(@Self)^.clr := $00000002;
  46929. end;
  46930. procedure TPORTE_TRISF.setTRISF1(thebits : TBits_1); inline;
  46931. begin
  46932. if thebits = 0 then
  46933. pTDefRegMap(@Self)^.clr := $00000002
  46934. else
  46935. pTDefRegMap(@Self)^.&set := $00000002;
  46936. end;
  46937. function TPORTE_TRISF.getTRISF1 : TBits_1; inline;
  46938. begin
  46939. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46940. end;
  46941. procedure TPORTE_TRISF.setTRISF2; inline;
  46942. begin
  46943. pTDefRegMap(@Self)^.&set := $00000004;
  46944. end;
  46945. procedure TPORTE_TRISF.clearTRISF2; inline;
  46946. begin
  46947. pTDefRegMap(@Self)^.clr := $00000004;
  46948. end;
  46949. procedure TPORTE_TRISF.setTRISF2(thebits : TBits_1); inline;
  46950. begin
  46951. if thebits = 0 then
  46952. pTDefRegMap(@Self)^.clr := $00000004
  46953. else
  46954. pTDefRegMap(@Self)^.&set := $00000004;
  46955. end;
  46956. function TPORTE_TRISF.getTRISF2 : TBits_1; inline;
  46957. begin
  46958. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46959. end;
  46960. procedure TPORTE_TRISF.setTRISF3; inline;
  46961. begin
  46962. pTDefRegMap(@Self)^.&set := $00000008;
  46963. end;
  46964. procedure TPORTE_TRISF.clearTRISF3; inline;
  46965. begin
  46966. pTDefRegMap(@Self)^.clr := $00000008;
  46967. end;
  46968. procedure TPORTE_TRISF.setTRISF3(thebits : TBits_1); inline;
  46969. begin
  46970. if thebits = 0 then
  46971. pTDefRegMap(@Self)^.clr := $00000008
  46972. else
  46973. pTDefRegMap(@Self)^.&set := $00000008;
  46974. end;
  46975. function TPORTE_TRISF.getTRISF3 : TBits_1; inline;
  46976. begin
  46977. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46978. end;
  46979. procedure TPORTE_TRISF.setTRISF4; inline;
  46980. begin
  46981. pTDefRegMap(@Self)^.&set := $00000010;
  46982. end;
  46983. procedure TPORTE_TRISF.clearTRISF4; inline;
  46984. begin
  46985. pTDefRegMap(@Self)^.clr := $00000010;
  46986. end;
  46987. procedure TPORTE_TRISF.setTRISF4(thebits : TBits_1); inline;
  46988. begin
  46989. if thebits = 0 then
  46990. pTDefRegMap(@Self)^.clr := $00000010
  46991. else
  46992. pTDefRegMap(@Self)^.&set := $00000010;
  46993. end;
  46994. function TPORTE_TRISF.getTRISF4 : TBits_1; inline;
  46995. begin
  46996. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46997. end;
  46998. procedure TPORTE_TRISF.setTRISF5; inline;
  46999. begin
  47000. pTDefRegMap(@Self)^.&set := $00000020;
  47001. end;
  47002. procedure TPORTE_TRISF.clearTRISF5; inline;
  47003. begin
  47004. pTDefRegMap(@Self)^.clr := $00000020;
  47005. end;
  47006. procedure TPORTE_TRISF.setTRISF5(thebits : TBits_1); inline;
  47007. begin
  47008. if thebits = 0 then
  47009. pTDefRegMap(@Self)^.clr := $00000020
  47010. else
  47011. pTDefRegMap(@Self)^.&set := $00000020;
  47012. end;
  47013. function TPORTE_TRISF.getTRISF5 : TBits_1; inline;
  47014. begin
  47015. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47016. end;
  47017. procedure TPORTE_TRISF.setTRISF6; inline;
  47018. begin
  47019. pTDefRegMap(@Self)^.&set := $00000040;
  47020. end;
  47021. procedure TPORTE_TRISF.clearTRISF6; inline;
  47022. begin
  47023. pTDefRegMap(@Self)^.clr := $00000040;
  47024. end;
  47025. procedure TPORTE_TRISF.setTRISF6(thebits : TBits_1); inline;
  47026. begin
  47027. if thebits = 0 then
  47028. pTDefRegMap(@Self)^.clr := $00000040
  47029. else
  47030. pTDefRegMap(@Self)^.&set := $00000040;
  47031. end;
  47032. function TPORTE_TRISF.getTRISF6 : TBits_1; inline;
  47033. begin
  47034. getTRISF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47035. end;
  47036. procedure TPORTE_TRISF.setw(thebits : TBits_32); inline;
  47037. begin
  47038. pTDefRegMap(@Self)^.val := thebits;
  47039. end;
  47040. function TPORTE_TRISF.getw : TBits_32; inline;
  47041. begin
  47042. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47043. end;
  47044. procedure TPORTF_PORTF.setRF0; inline;
  47045. begin
  47046. pTDefRegMap(@Self)^.&set := $00000001;
  47047. end;
  47048. procedure TPORTF_PORTF.clearRF0; inline;
  47049. begin
  47050. pTDefRegMap(@Self)^.clr := $00000001;
  47051. end;
  47052. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  47053. begin
  47054. if thebits = 0 then
  47055. pTDefRegMap(@Self)^.clr := $00000001
  47056. else
  47057. pTDefRegMap(@Self)^.&set := $00000001;
  47058. end;
  47059. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  47060. begin
  47061. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47062. end;
  47063. procedure TPORTF_PORTF.setRF1; inline;
  47064. begin
  47065. pTDefRegMap(@Self)^.&set := $00000002;
  47066. end;
  47067. procedure TPORTF_PORTF.clearRF1; inline;
  47068. begin
  47069. pTDefRegMap(@Self)^.clr := $00000002;
  47070. end;
  47071. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  47072. begin
  47073. if thebits = 0 then
  47074. pTDefRegMap(@Self)^.clr := $00000002
  47075. else
  47076. pTDefRegMap(@Self)^.&set := $00000002;
  47077. end;
  47078. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  47079. begin
  47080. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47081. end;
  47082. procedure TPORTF_PORTF.setRF2; inline;
  47083. begin
  47084. pTDefRegMap(@Self)^.&set := $00000004;
  47085. end;
  47086. procedure TPORTF_PORTF.clearRF2; inline;
  47087. begin
  47088. pTDefRegMap(@Self)^.clr := $00000004;
  47089. end;
  47090. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  47091. begin
  47092. if thebits = 0 then
  47093. pTDefRegMap(@Self)^.clr := $00000004
  47094. else
  47095. pTDefRegMap(@Self)^.&set := $00000004;
  47096. end;
  47097. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  47098. begin
  47099. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47100. end;
  47101. procedure TPORTF_PORTF.setRF3; inline;
  47102. begin
  47103. pTDefRegMap(@Self)^.&set := $00000008;
  47104. end;
  47105. procedure TPORTF_PORTF.clearRF3; inline;
  47106. begin
  47107. pTDefRegMap(@Self)^.clr := $00000008;
  47108. end;
  47109. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  47110. begin
  47111. if thebits = 0 then
  47112. pTDefRegMap(@Self)^.clr := $00000008
  47113. else
  47114. pTDefRegMap(@Self)^.&set := $00000008;
  47115. end;
  47116. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  47117. begin
  47118. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47119. end;
  47120. procedure TPORTF_PORTF.setRF4; inline;
  47121. begin
  47122. pTDefRegMap(@Self)^.&set := $00000010;
  47123. end;
  47124. procedure TPORTF_PORTF.clearRF4; inline;
  47125. begin
  47126. pTDefRegMap(@Self)^.clr := $00000010;
  47127. end;
  47128. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  47129. begin
  47130. if thebits = 0 then
  47131. pTDefRegMap(@Self)^.clr := $00000010
  47132. else
  47133. pTDefRegMap(@Self)^.&set := $00000010;
  47134. end;
  47135. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  47136. begin
  47137. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47138. end;
  47139. procedure TPORTF_PORTF.setRF5; inline;
  47140. begin
  47141. pTDefRegMap(@Self)^.&set := $00000020;
  47142. end;
  47143. procedure TPORTF_PORTF.clearRF5; inline;
  47144. begin
  47145. pTDefRegMap(@Self)^.clr := $00000020;
  47146. end;
  47147. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  47148. begin
  47149. if thebits = 0 then
  47150. pTDefRegMap(@Self)^.clr := $00000020
  47151. else
  47152. pTDefRegMap(@Self)^.&set := $00000020;
  47153. end;
  47154. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  47155. begin
  47156. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47157. end;
  47158. procedure TPORTF_PORTF.setRF6; inline;
  47159. begin
  47160. pTDefRegMap(@Self)^.&set := $00000040;
  47161. end;
  47162. procedure TPORTF_PORTF.clearRF6; inline;
  47163. begin
  47164. pTDefRegMap(@Self)^.clr := $00000040;
  47165. end;
  47166. procedure TPORTF_PORTF.setRF6(thebits : TBits_1); inline;
  47167. begin
  47168. if thebits = 0 then
  47169. pTDefRegMap(@Self)^.clr := $00000040
  47170. else
  47171. pTDefRegMap(@Self)^.&set := $00000040;
  47172. end;
  47173. function TPORTF_PORTF.getRF6 : TBits_1; inline;
  47174. begin
  47175. getRF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47176. end;
  47177. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  47178. begin
  47179. pTDefRegMap(@Self)^.val := thebits;
  47180. end;
  47181. function TPORTF_PORTF.getw : TBits_32; inline;
  47182. begin
  47183. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47184. end;
  47185. procedure TPORTF_LATF.setLATF0; inline;
  47186. begin
  47187. pTDefRegMap(@Self)^.&set := $00000001;
  47188. end;
  47189. procedure TPORTF_LATF.clearLATF0; inline;
  47190. begin
  47191. pTDefRegMap(@Self)^.clr := $00000001;
  47192. end;
  47193. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  47194. begin
  47195. if thebits = 0 then
  47196. pTDefRegMap(@Self)^.clr := $00000001
  47197. else
  47198. pTDefRegMap(@Self)^.&set := $00000001;
  47199. end;
  47200. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  47201. begin
  47202. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47203. end;
  47204. procedure TPORTF_LATF.setLATF1; inline;
  47205. begin
  47206. pTDefRegMap(@Self)^.&set := $00000002;
  47207. end;
  47208. procedure TPORTF_LATF.clearLATF1; inline;
  47209. begin
  47210. pTDefRegMap(@Self)^.clr := $00000002;
  47211. end;
  47212. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  47213. begin
  47214. if thebits = 0 then
  47215. pTDefRegMap(@Self)^.clr := $00000002
  47216. else
  47217. pTDefRegMap(@Self)^.&set := $00000002;
  47218. end;
  47219. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  47220. begin
  47221. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47222. end;
  47223. procedure TPORTF_LATF.setLATF2; inline;
  47224. begin
  47225. pTDefRegMap(@Self)^.&set := $00000004;
  47226. end;
  47227. procedure TPORTF_LATF.clearLATF2; inline;
  47228. begin
  47229. pTDefRegMap(@Self)^.clr := $00000004;
  47230. end;
  47231. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  47232. begin
  47233. if thebits = 0 then
  47234. pTDefRegMap(@Self)^.clr := $00000004
  47235. else
  47236. pTDefRegMap(@Self)^.&set := $00000004;
  47237. end;
  47238. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  47239. begin
  47240. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47241. end;
  47242. procedure TPORTF_LATF.setLATF3; inline;
  47243. begin
  47244. pTDefRegMap(@Self)^.&set := $00000008;
  47245. end;
  47246. procedure TPORTF_LATF.clearLATF3; inline;
  47247. begin
  47248. pTDefRegMap(@Self)^.clr := $00000008;
  47249. end;
  47250. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  47251. begin
  47252. if thebits = 0 then
  47253. pTDefRegMap(@Self)^.clr := $00000008
  47254. else
  47255. pTDefRegMap(@Self)^.&set := $00000008;
  47256. end;
  47257. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  47258. begin
  47259. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47260. end;
  47261. procedure TPORTF_LATF.setLATF4; inline;
  47262. begin
  47263. pTDefRegMap(@Self)^.&set := $00000010;
  47264. end;
  47265. procedure TPORTF_LATF.clearLATF4; inline;
  47266. begin
  47267. pTDefRegMap(@Self)^.clr := $00000010;
  47268. end;
  47269. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  47270. begin
  47271. if thebits = 0 then
  47272. pTDefRegMap(@Self)^.clr := $00000010
  47273. else
  47274. pTDefRegMap(@Self)^.&set := $00000010;
  47275. end;
  47276. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  47277. begin
  47278. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47279. end;
  47280. procedure TPORTF_LATF.setLATF5; inline;
  47281. begin
  47282. pTDefRegMap(@Self)^.&set := $00000020;
  47283. end;
  47284. procedure TPORTF_LATF.clearLATF5; inline;
  47285. begin
  47286. pTDefRegMap(@Self)^.clr := $00000020;
  47287. end;
  47288. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  47289. begin
  47290. if thebits = 0 then
  47291. pTDefRegMap(@Self)^.clr := $00000020
  47292. else
  47293. pTDefRegMap(@Self)^.&set := $00000020;
  47294. end;
  47295. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  47296. begin
  47297. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47298. end;
  47299. procedure TPORTF_LATF.setLATF6; inline;
  47300. begin
  47301. pTDefRegMap(@Self)^.&set := $00000040;
  47302. end;
  47303. procedure TPORTF_LATF.clearLATF6; inline;
  47304. begin
  47305. pTDefRegMap(@Self)^.clr := $00000040;
  47306. end;
  47307. procedure TPORTF_LATF.setLATF6(thebits : TBits_1); inline;
  47308. begin
  47309. if thebits = 0 then
  47310. pTDefRegMap(@Self)^.clr := $00000040
  47311. else
  47312. pTDefRegMap(@Self)^.&set := $00000040;
  47313. end;
  47314. function TPORTF_LATF.getLATF6 : TBits_1; inline;
  47315. begin
  47316. getLATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47317. end;
  47318. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  47319. begin
  47320. pTDefRegMap(@Self)^.val := thebits;
  47321. end;
  47322. function TPORTF_LATF.getw : TBits_32; inline;
  47323. begin
  47324. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47325. end;
  47326. procedure TPORTF_ODCF.setODCF0; inline;
  47327. begin
  47328. pTDefRegMap(@Self)^.&set := $00000001;
  47329. end;
  47330. procedure TPORTF_ODCF.clearODCF0; inline;
  47331. begin
  47332. pTDefRegMap(@Self)^.clr := $00000001;
  47333. end;
  47334. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  47335. begin
  47336. if thebits = 0 then
  47337. pTDefRegMap(@Self)^.clr := $00000001
  47338. else
  47339. pTDefRegMap(@Self)^.&set := $00000001;
  47340. end;
  47341. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  47342. begin
  47343. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47344. end;
  47345. procedure TPORTF_ODCF.setODCF1; inline;
  47346. begin
  47347. pTDefRegMap(@Self)^.&set := $00000002;
  47348. end;
  47349. procedure TPORTF_ODCF.clearODCF1; inline;
  47350. begin
  47351. pTDefRegMap(@Self)^.clr := $00000002;
  47352. end;
  47353. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  47354. begin
  47355. if thebits = 0 then
  47356. pTDefRegMap(@Self)^.clr := $00000002
  47357. else
  47358. pTDefRegMap(@Self)^.&set := $00000002;
  47359. end;
  47360. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  47361. begin
  47362. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47363. end;
  47364. procedure TPORTF_ODCF.setODCF2; inline;
  47365. begin
  47366. pTDefRegMap(@Self)^.&set := $00000004;
  47367. end;
  47368. procedure TPORTF_ODCF.clearODCF2; inline;
  47369. begin
  47370. pTDefRegMap(@Self)^.clr := $00000004;
  47371. end;
  47372. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  47373. begin
  47374. if thebits = 0 then
  47375. pTDefRegMap(@Self)^.clr := $00000004
  47376. else
  47377. pTDefRegMap(@Self)^.&set := $00000004;
  47378. end;
  47379. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  47380. begin
  47381. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47382. end;
  47383. procedure TPORTF_ODCF.setODCF3; inline;
  47384. begin
  47385. pTDefRegMap(@Self)^.&set := $00000008;
  47386. end;
  47387. procedure TPORTF_ODCF.clearODCF3; inline;
  47388. begin
  47389. pTDefRegMap(@Self)^.clr := $00000008;
  47390. end;
  47391. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  47392. begin
  47393. if thebits = 0 then
  47394. pTDefRegMap(@Self)^.clr := $00000008
  47395. else
  47396. pTDefRegMap(@Self)^.&set := $00000008;
  47397. end;
  47398. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  47399. begin
  47400. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47401. end;
  47402. procedure TPORTF_ODCF.setODCF4; inline;
  47403. begin
  47404. pTDefRegMap(@Self)^.&set := $00000010;
  47405. end;
  47406. procedure TPORTF_ODCF.clearODCF4; inline;
  47407. begin
  47408. pTDefRegMap(@Self)^.clr := $00000010;
  47409. end;
  47410. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  47411. begin
  47412. if thebits = 0 then
  47413. pTDefRegMap(@Self)^.clr := $00000010
  47414. else
  47415. pTDefRegMap(@Self)^.&set := $00000010;
  47416. end;
  47417. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  47418. begin
  47419. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47420. end;
  47421. procedure TPORTF_ODCF.setODCF5; inline;
  47422. begin
  47423. pTDefRegMap(@Self)^.&set := $00000020;
  47424. end;
  47425. procedure TPORTF_ODCF.clearODCF5; inline;
  47426. begin
  47427. pTDefRegMap(@Self)^.clr := $00000020;
  47428. end;
  47429. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  47430. begin
  47431. if thebits = 0 then
  47432. pTDefRegMap(@Self)^.clr := $00000020
  47433. else
  47434. pTDefRegMap(@Self)^.&set := $00000020;
  47435. end;
  47436. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  47437. begin
  47438. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47439. end;
  47440. procedure TPORTF_ODCF.setODCF6; inline;
  47441. begin
  47442. pTDefRegMap(@Self)^.&set := $00000040;
  47443. end;
  47444. procedure TPORTF_ODCF.clearODCF6; inline;
  47445. begin
  47446. pTDefRegMap(@Self)^.clr := $00000040;
  47447. end;
  47448. procedure TPORTF_ODCF.setODCF6(thebits : TBits_1); inline;
  47449. begin
  47450. if thebits = 0 then
  47451. pTDefRegMap(@Self)^.clr := $00000040
  47452. else
  47453. pTDefRegMap(@Self)^.&set := $00000040;
  47454. end;
  47455. function TPORTF_ODCF.getODCF6 : TBits_1; inline;
  47456. begin
  47457. getODCF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47458. end;
  47459. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  47460. begin
  47461. pTDefRegMap(@Self)^.val := thebits;
  47462. end;
  47463. function TPORTF_ODCF.getw : TBits_32; inline;
  47464. begin
  47465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47466. end;
  47467. procedure TPORTF_CNPUF.setCNPUF0; inline;
  47468. begin
  47469. pTDefRegMap(@Self)^.&set := $00000001;
  47470. end;
  47471. procedure TPORTF_CNPUF.clearCNPUF0; inline;
  47472. begin
  47473. pTDefRegMap(@Self)^.clr := $00000001;
  47474. end;
  47475. procedure TPORTF_CNPUF.setCNPUF0(thebits : TBits_1); inline;
  47476. begin
  47477. if thebits = 0 then
  47478. pTDefRegMap(@Self)^.clr := $00000001
  47479. else
  47480. pTDefRegMap(@Self)^.&set := $00000001;
  47481. end;
  47482. function TPORTF_CNPUF.getCNPUF0 : TBits_1; inline;
  47483. begin
  47484. getCNPUF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47485. end;
  47486. procedure TPORTF_CNPUF.setCNPUF1; inline;
  47487. begin
  47488. pTDefRegMap(@Self)^.&set := $00000002;
  47489. end;
  47490. procedure TPORTF_CNPUF.clearCNPUF1; inline;
  47491. begin
  47492. pTDefRegMap(@Self)^.clr := $00000002;
  47493. end;
  47494. procedure TPORTF_CNPUF.setCNPUF1(thebits : TBits_1); inline;
  47495. begin
  47496. if thebits = 0 then
  47497. pTDefRegMap(@Self)^.clr := $00000002
  47498. else
  47499. pTDefRegMap(@Self)^.&set := $00000002;
  47500. end;
  47501. function TPORTF_CNPUF.getCNPUF1 : TBits_1; inline;
  47502. begin
  47503. getCNPUF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47504. end;
  47505. procedure TPORTF_CNPUF.setCNPUF2; inline;
  47506. begin
  47507. pTDefRegMap(@Self)^.&set := $00000004;
  47508. end;
  47509. procedure TPORTF_CNPUF.clearCNPUF2; inline;
  47510. begin
  47511. pTDefRegMap(@Self)^.clr := $00000004;
  47512. end;
  47513. procedure TPORTF_CNPUF.setCNPUF2(thebits : TBits_1); inline;
  47514. begin
  47515. if thebits = 0 then
  47516. pTDefRegMap(@Self)^.clr := $00000004
  47517. else
  47518. pTDefRegMap(@Self)^.&set := $00000004;
  47519. end;
  47520. function TPORTF_CNPUF.getCNPUF2 : TBits_1; inline;
  47521. begin
  47522. getCNPUF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47523. end;
  47524. procedure TPORTF_CNPUF.setCNPUF3; inline;
  47525. begin
  47526. pTDefRegMap(@Self)^.&set := $00000008;
  47527. end;
  47528. procedure TPORTF_CNPUF.clearCNPUF3; inline;
  47529. begin
  47530. pTDefRegMap(@Self)^.clr := $00000008;
  47531. end;
  47532. procedure TPORTF_CNPUF.setCNPUF3(thebits : TBits_1); inline;
  47533. begin
  47534. if thebits = 0 then
  47535. pTDefRegMap(@Self)^.clr := $00000008
  47536. else
  47537. pTDefRegMap(@Self)^.&set := $00000008;
  47538. end;
  47539. function TPORTF_CNPUF.getCNPUF3 : TBits_1; inline;
  47540. begin
  47541. getCNPUF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47542. end;
  47543. procedure TPORTF_CNPUF.setCNPUF4; inline;
  47544. begin
  47545. pTDefRegMap(@Self)^.&set := $00000010;
  47546. end;
  47547. procedure TPORTF_CNPUF.clearCNPUF4; inline;
  47548. begin
  47549. pTDefRegMap(@Self)^.clr := $00000010;
  47550. end;
  47551. procedure TPORTF_CNPUF.setCNPUF4(thebits : TBits_1); inline;
  47552. begin
  47553. if thebits = 0 then
  47554. pTDefRegMap(@Self)^.clr := $00000010
  47555. else
  47556. pTDefRegMap(@Self)^.&set := $00000010;
  47557. end;
  47558. function TPORTF_CNPUF.getCNPUF4 : TBits_1; inline;
  47559. begin
  47560. getCNPUF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47561. end;
  47562. procedure TPORTF_CNPUF.setCNPUF5; inline;
  47563. begin
  47564. pTDefRegMap(@Self)^.&set := $00000020;
  47565. end;
  47566. procedure TPORTF_CNPUF.clearCNPUF5; inline;
  47567. begin
  47568. pTDefRegMap(@Self)^.clr := $00000020;
  47569. end;
  47570. procedure TPORTF_CNPUF.setCNPUF5(thebits : TBits_1); inline;
  47571. begin
  47572. if thebits = 0 then
  47573. pTDefRegMap(@Self)^.clr := $00000020
  47574. else
  47575. pTDefRegMap(@Self)^.&set := $00000020;
  47576. end;
  47577. function TPORTF_CNPUF.getCNPUF5 : TBits_1; inline;
  47578. begin
  47579. getCNPUF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47580. end;
  47581. procedure TPORTF_CNPUF.setCNPUF6; inline;
  47582. begin
  47583. pTDefRegMap(@Self)^.&set := $00000040;
  47584. end;
  47585. procedure TPORTF_CNPUF.clearCNPUF6; inline;
  47586. begin
  47587. pTDefRegMap(@Self)^.clr := $00000040;
  47588. end;
  47589. procedure TPORTF_CNPUF.setCNPUF6(thebits : TBits_1); inline;
  47590. begin
  47591. if thebits = 0 then
  47592. pTDefRegMap(@Self)^.clr := $00000040
  47593. else
  47594. pTDefRegMap(@Self)^.&set := $00000040;
  47595. end;
  47596. function TPORTF_CNPUF.getCNPUF6 : TBits_1; inline;
  47597. begin
  47598. getCNPUF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47599. end;
  47600. procedure TPORTF_CNPUF.setw(thebits : TBits_32); inline;
  47601. begin
  47602. pTDefRegMap(@Self)^.val := thebits;
  47603. end;
  47604. function TPORTF_CNPUF.getw : TBits_32; inline;
  47605. begin
  47606. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47607. end;
  47608. procedure TPORTF_CNPDF.setCNPDF0; inline;
  47609. begin
  47610. pTDefRegMap(@Self)^.&set := $00000001;
  47611. end;
  47612. procedure TPORTF_CNPDF.clearCNPDF0; inline;
  47613. begin
  47614. pTDefRegMap(@Self)^.clr := $00000001;
  47615. end;
  47616. procedure TPORTF_CNPDF.setCNPDF0(thebits : TBits_1); inline;
  47617. begin
  47618. if thebits = 0 then
  47619. pTDefRegMap(@Self)^.clr := $00000001
  47620. else
  47621. pTDefRegMap(@Self)^.&set := $00000001;
  47622. end;
  47623. function TPORTF_CNPDF.getCNPDF0 : TBits_1; inline;
  47624. begin
  47625. getCNPDF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47626. end;
  47627. procedure TPORTF_CNPDF.setCNPDF1; inline;
  47628. begin
  47629. pTDefRegMap(@Self)^.&set := $00000002;
  47630. end;
  47631. procedure TPORTF_CNPDF.clearCNPDF1; inline;
  47632. begin
  47633. pTDefRegMap(@Self)^.clr := $00000002;
  47634. end;
  47635. procedure TPORTF_CNPDF.setCNPDF1(thebits : TBits_1); inline;
  47636. begin
  47637. if thebits = 0 then
  47638. pTDefRegMap(@Self)^.clr := $00000002
  47639. else
  47640. pTDefRegMap(@Self)^.&set := $00000002;
  47641. end;
  47642. function TPORTF_CNPDF.getCNPDF1 : TBits_1; inline;
  47643. begin
  47644. getCNPDF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47645. end;
  47646. procedure TPORTF_CNPDF.setCNPDF2; inline;
  47647. begin
  47648. pTDefRegMap(@Self)^.&set := $00000004;
  47649. end;
  47650. procedure TPORTF_CNPDF.clearCNPDF2; inline;
  47651. begin
  47652. pTDefRegMap(@Self)^.clr := $00000004;
  47653. end;
  47654. procedure TPORTF_CNPDF.setCNPDF2(thebits : TBits_1); inline;
  47655. begin
  47656. if thebits = 0 then
  47657. pTDefRegMap(@Self)^.clr := $00000004
  47658. else
  47659. pTDefRegMap(@Self)^.&set := $00000004;
  47660. end;
  47661. function TPORTF_CNPDF.getCNPDF2 : TBits_1; inline;
  47662. begin
  47663. getCNPDF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47664. end;
  47665. procedure TPORTF_CNPDF.setCNPDF3; inline;
  47666. begin
  47667. pTDefRegMap(@Self)^.&set := $00000008;
  47668. end;
  47669. procedure TPORTF_CNPDF.clearCNPDF3; inline;
  47670. begin
  47671. pTDefRegMap(@Self)^.clr := $00000008;
  47672. end;
  47673. procedure TPORTF_CNPDF.setCNPDF3(thebits : TBits_1); inline;
  47674. begin
  47675. if thebits = 0 then
  47676. pTDefRegMap(@Self)^.clr := $00000008
  47677. else
  47678. pTDefRegMap(@Self)^.&set := $00000008;
  47679. end;
  47680. function TPORTF_CNPDF.getCNPDF3 : TBits_1; inline;
  47681. begin
  47682. getCNPDF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47683. end;
  47684. procedure TPORTF_CNPDF.setCNPDF4; inline;
  47685. begin
  47686. pTDefRegMap(@Self)^.&set := $00000010;
  47687. end;
  47688. procedure TPORTF_CNPDF.clearCNPDF4; inline;
  47689. begin
  47690. pTDefRegMap(@Self)^.clr := $00000010;
  47691. end;
  47692. procedure TPORTF_CNPDF.setCNPDF4(thebits : TBits_1); inline;
  47693. begin
  47694. if thebits = 0 then
  47695. pTDefRegMap(@Self)^.clr := $00000010
  47696. else
  47697. pTDefRegMap(@Self)^.&set := $00000010;
  47698. end;
  47699. function TPORTF_CNPDF.getCNPDF4 : TBits_1; inline;
  47700. begin
  47701. getCNPDF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47702. end;
  47703. procedure TPORTF_CNPDF.setCNPDF5; inline;
  47704. begin
  47705. pTDefRegMap(@Self)^.&set := $00000020;
  47706. end;
  47707. procedure TPORTF_CNPDF.clearCNPDF5; inline;
  47708. begin
  47709. pTDefRegMap(@Self)^.clr := $00000020;
  47710. end;
  47711. procedure TPORTF_CNPDF.setCNPDF5(thebits : TBits_1); inline;
  47712. begin
  47713. if thebits = 0 then
  47714. pTDefRegMap(@Self)^.clr := $00000020
  47715. else
  47716. pTDefRegMap(@Self)^.&set := $00000020;
  47717. end;
  47718. function TPORTF_CNPDF.getCNPDF5 : TBits_1; inline;
  47719. begin
  47720. getCNPDF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47721. end;
  47722. procedure TPORTF_CNPDF.setCNPDF6; inline;
  47723. begin
  47724. pTDefRegMap(@Self)^.&set := $00000040;
  47725. end;
  47726. procedure TPORTF_CNPDF.clearCNPDF6; inline;
  47727. begin
  47728. pTDefRegMap(@Self)^.clr := $00000040;
  47729. end;
  47730. procedure TPORTF_CNPDF.setCNPDF6(thebits : TBits_1); inline;
  47731. begin
  47732. if thebits = 0 then
  47733. pTDefRegMap(@Self)^.clr := $00000040
  47734. else
  47735. pTDefRegMap(@Self)^.&set := $00000040;
  47736. end;
  47737. function TPORTF_CNPDF.getCNPDF6 : TBits_1; inline;
  47738. begin
  47739. getCNPDF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47740. end;
  47741. procedure TPORTF_CNPDF.setw(thebits : TBits_32); inline;
  47742. begin
  47743. pTDefRegMap(@Self)^.val := thebits;
  47744. end;
  47745. function TPORTF_CNPDF.getw : TBits_32; inline;
  47746. begin
  47747. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47748. end;
  47749. procedure TPORTF_CNCONF.setSIDL; inline;
  47750. begin
  47751. pTDefRegMap(@Self)^.&set := $00002000;
  47752. end;
  47753. procedure TPORTF_CNCONF.clearSIDL; inline;
  47754. begin
  47755. pTDefRegMap(@Self)^.clr := $00002000;
  47756. end;
  47757. procedure TPORTF_CNCONF.setSIDL(thebits : TBits_1); inline;
  47758. begin
  47759. if thebits = 0 then
  47760. pTDefRegMap(@Self)^.clr := $00002000
  47761. else
  47762. pTDefRegMap(@Self)^.&set := $00002000;
  47763. end;
  47764. function TPORTF_CNCONF.getSIDL : TBits_1; inline;
  47765. begin
  47766. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47767. end;
  47768. procedure TPORTF_CNCONF.setON; inline;
  47769. begin
  47770. pTDefRegMap(@Self)^.&set := $00008000;
  47771. end;
  47772. procedure TPORTF_CNCONF.clearON; inline;
  47773. begin
  47774. pTDefRegMap(@Self)^.clr := $00008000;
  47775. end;
  47776. procedure TPORTF_CNCONF.setON(thebits : TBits_1); inline;
  47777. begin
  47778. if thebits = 0 then
  47779. pTDefRegMap(@Self)^.clr := $00008000
  47780. else
  47781. pTDefRegMap(@Self)^.&set := $00008000;
  47782. end;
  47783. function TPORTF_CNCONF.getON : TBits_1; inline;
  47784. begin
  47785. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47786. end;
  47787. procedure TPORTF_CNCONF.setw(thebits : TBits_32); inline;
  47788. begin
  47789. pTDefRegMap(@Self)^.val := thebits;
  47790. end;
  47791. function TPORTF_CNCONF.getw : TBits_32; inline;
  47792. begin
  47793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47794. end;
  47795. procedure TPORTF_CNENF.setCNIEF0; inline;
  47796. begin
  47797. pTDefRegMap(@Self)^.&set := $00000001;
  47798. end;
  47799. procedure TPORTF_CNENF.clearCNIEF0; inline;
  47800. begin
  47801. pTDefRegMap(@Self)^.clr := $00000001;
  47802. end;
  47803. procedure TPORTF_CNENF.setCNIEF0(thebits : TBits_1); inline;
  47804. begin
  47805. if thebits = 0 then
  47806. pTDefRegMap(@Self)^.clr := $00000001
  47807. else
  47808. pTDefRegMap(@Self)^.&set := $00000001;
  47809. end;
  47810. function TPORTF_CNENF.getCNIEF0 : TBits_1; inline;
  47811. begin
  47812. getCNIEF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47813. end;
  47814. procedure TPORTF_CNENF.setCNIEF1; inline;
  47815. begin
  47816. pTDefRegMap(@Self)^.&set := $00000002;
  47817. end;
  47818. procedure TPORTF_CNENF.clearCNIEF1; inline;
  47819. begin
  47820. pTDefRegMap(@Self)^.clr := $00000002;
  47821. end;
  47822. procedure TPORTF_CNENF.setCNIEF1(thebits : TBits_1); inline;
  47823. begin
  47824. if thebits = 0 then
  47825. pTDefRegMap(@Self)^.clr := $00000002
  47826. else
  47827. pTDefRegMap(@Self)^.&set := $00000002;
  47828. end;
  47829. function TPORTF_CNENF.getCNIEF1 : TBits_1; inline;
  47830. begin
  47831. getCNIEF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47832. end;
  47833. procedure TPORTF_CNENF.setCNIEF2; inline;
  47834. begin
  47835. pTDefRegMap(@Self)^.&set := $00000004;
  47836. end;
  47837. procedure TPORTF_CNENF.clearCNIEF2; inline;
  47838. begin
  47839. pTDefRegMap(@Self)^.clr := $00000004;
  47840. end;
  47841. procedure TPORTF_CNENF.setCNIEF2(thebits : TBits_1); inline;
  47842. begin
  47843. if thebits = 0 then
  47844. pTDefRegMap(@Self)^.clr := $00000004
  47845. else
  47846. pTDefRegMap(@Self)^.&set := $00000004;
  47847. end;
  47848. function TPORTF_CNENF.getCNIEF2 : TBits_1; inline;
  47849. begin
  47850. getCNIEF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47851. end;
  47852. procedure TPORTF_CNENF.setCNIEF3; inline;
  47853. begin
  47854. pTDefRegMap(@Self)^.&set := $00000008;
  47855. end;
  47856. procedure TPORTF_CNENF.clearCNIEF3; inline;
  47857. begin
  47858. pTDefRegMap(@Self)^.clr := $00000008;
  47859. end;
  47860. procedure TPORTF_CNENF.setCNIEF3(thebits : TBits_1); inline;
  47861. begin
  47862. if thebits = 0 then
  47863. pTDefRegMap(@Self)^.clr := $00000008
  47864. else
  47865. pTDefRegMap(@Self)^.&set := $00000008;
  47866. end;
  47867. function TPORTF_CNENF.getCNIEF3 : TBits_1; inline;
  47868. begin
  47869. getCNIEF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47870. end;
  47871. procedure TPORTF_CNENF.setCNIEF4; inline;
  47872. begin
  47873. pTDefRegMap(@Self)^.&set := $00000010;
  47874. end;
  47875. procedure TPORTF_CNENF.clearCNIEF4; inline;
  47876. begin
  47877. pTDefRegMap(@Self)^.clr := $00000010;
  47878. end;
  47879. procedure TPORTF_CNENF.setCNIEF4(thebits : TBits_1); inline;
  47880. begin
  47881. if thebits = 0 then
  47882. pTDefRegMap(@Self)^.clr := $00000010
  47883. else
  47884. pTDefRegMap(@Self)^.&set := $00000010;
  47885. end;
  47886. function TPORTF_CNENF.getCNIEF4 : TBits_1; inline;
  47887. begin
  47888. getCNIEF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47889. end;
  47890. procedure TPORTF_CNENF.setCNIEF5; inline;
  47891. begin
  47892. pTDefRegMap(@Self)^.&set := $00000020;
  47893. end;
  47894. procedure TPORTF_CNENF.clearCNIEF5; inline;
  47895. begin
  47896. pTDefRegMap(@Self)^.clr := $00000020;
  47897. end;
  47898. procedure TPORTF_CNENF.setCNIEF5(thebits : TBits_1); inline;
  47899. begin
  47900. if thebits = 0 then
  47901. pTDefRegMap(@Self)^.clr := $00000020
  47902. else
  47903. pTDefRegMap(@Self)^.&set := $00000020;
  47904. end;
  47905. function TPORTF_CNENF.getCNIEF5 : TBits_1; inline;
  47906. begin
  47907. getCNIEF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47908. end;
  47909. procedure TPORTF_CNENF.setCNIEF6; inline;
  47910. begin
  47911. pTDefRegMap(@Self)^.&set := $00000040;
  47912. end;
  47913. procedure TPORTF_CNENF.clearCNIEF6; inline;
  47914. begin
  47915. pTDefRegMap(@Self)^.clr := $00000040;
  47916. end;
  47917. procedure TPORTF_CNENF.setCNIEF6(thebits : TBits_1); inline;
  47918. begin
  47919. if thebits = 0 then
  47920. pTDefRegMap(@Self)^.clr := $00000040
  47921. else
  47922. pTDefRegMap(@Self)^.&set := $00000040;
  47923. end;
  47924. function TPORTF_CNENF.getCNIEF6 : TBits_1; inline;
  47925. begin
  47926. getCNIEF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47927. end;
  47928. procedure TPORTF_CNENF.setw(thebits : TBits_32); inline;
  47929. begin
  47930. pTDefRegMap(@Self)^.val := thebits;
  47931. end;
  47932. function TPORTF_CNENF.getw : TBits_32; inline;
  47933. begin
  47934. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47935. end;
  47936. procedure TPORTF_CNSTATF.setCNSTATF0; inline;
  47937. begin
  47938. pTDefRegMap(@Self)^.&set := $00000001;
  47939. end;
  47940. procedure TPORTF_CNSTATF.clearCNSTATF0; inline;
  47941. begin
  47942. pTDefRegMap(@Self)^.clr := $00000001;
  47943. end;
  47944. procedure TPORTF_CNSTATF.setCNSTATF0(thebits : TBits_1); inline;
  47945. begin
  47946. if thebits = 0 then
  47947. pTDefRegMap(@Self)^.clr := $00000001
  47948. else
  47949. pTDefRegMap(@Self)^.&set := $00000001;
  47950. end;
  47951. function TPORTF_CNSTATF.getCNSTATF0 : TBits_1; inline;
  47952. begin
  47953. getCNSTATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47954. end;
  47955. procedure TPORTF_CNSTATF.setCNSTATF1; inline;
  47956. begin
  47957. pTDefRegMap(@Self)^.&set := $00000002;
  47958. end;
  47959. procedure TPORTF_CNSTATF.clearCNSTATF1; inline;
  47960. begin
  47961. pTDefRegMap(@Self)^.clr := $00000002;
  47962. end;
  47963. procedure TPORTF_CNSTATF.setCNSTATF1(thebits : TBits_1); inline;
  47964. begin
  47965. if thebits = 0 then
  47966. pTDefRegMap(@Self)^.clr := $00000002
  47967. else
  47968. pTDefRegMap(@Self)^.&set := $00000002;
  47969. end;
  47970. function TPORTF_CNSTATF.getCNSTATF1 : TBits_1; inline;
  47971. begin
  47972. getCNSTATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47973. end;
  47974. procedure TPORTF_CNSTATF.setCNSTATF2; inline;
  47975. begin
  47976. pTDefRegMap(@Self)^.&set := $00000004;
  47977. end;
  47978. procedure TPORTF_CNSTATF.clearCNSTATF2; inline;
  47979. begin
  47980. pTDefRegMap(@Self)^.clr := $00000004;
  47981. end;
  47982. procedure TPORTF_CNSTATF.setCNSTATF2(thebits : TBits_1); inline;
  47983. begin
  47984. if thebits = 0 then
  47985. pTDefRegMap(@Self)^.clr := $00000004
  47986. else
  47987. pTDefRegMap(@Self)^.&set := $00000004;
  47988. end;
  47989. function TPORTF_CNSTATF.getCNSTATF2 : TBits_1; inline;
  47990. begin
  47991. getCNSTATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47992. end;
  47993. procedure TPORTF_CNSTATF.setCNSTATF3; inline;
  47994. begin
  47995. pTDefRegMap(@Self)^.&set := $00000008;
  47996. end;
  47997. procedure TPORTF_CNSTATF.clearCNSTATF3; inline;
  47998. begin
  47999. pTDefRegMap(@Self)^.clr := $00000008;
  48000. end;
  48001. procedure TPORTF_CNSTATF.setCNSTATF3(thebits : TBits_1); inline;
  48002. begin
  48003. if thebits = 0 then
  48004. pTDefRegMap(@Self)^.clr := $00000008
  48005. else
  48006. pTDefRegMap(@Self)^.&set := $00000008;
  48007. end;
  48008. function TPORTF_CNSTATF.getCNSTATF3 : TBits_1; inline;
  48009. begin
  48010. getCNSTATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48011. end;
  48012. procedure TPORTF_CNSTATF.setCNSTATF4; inline;
  48013. begin
  48014. pTDefRegMap(@Self)^.&set := $00000010;
  48015. end;
  48016. procedure TPORTF_CNSTATF.clearCNSTATF4; inline;
  48017. begin
  48018. pTDefRegMap(@Self)^.clr := $00000010;
  48019. end;
  48020. procedure TPORTF_CNSTATF.setCNSTATF4(thebits : TBits_1); inline;
  48021. begin
  48022. if thebits = 0 then
  48023. pTDefRegMap(@Self)^.clr := $00000010
  48024. else
  48025. pTDefRegMap(@Self)^.&set := $00000010;
  48026. end;
  48027. function TPORTF_CNSTATF.getCNSTATF4 : TBits_1; inline;
  48028. begin
  48029. getCNSTATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48030. end;
  48031. procedure TPORTF_CNSTATF.setCNSTATF5; inline;
  48032. begin
  48033. pTDefRegMap(@Self)^.&set := $00000020;
  48034. end;
  48035. procedure TPORTF_CNSTATF.clearCNSTATF5; inline;
  48036. begin
  48037. pTDefRegMap(@Self)^.clr := $00000020;
  48038. end;
  48039. procedure TPORTF_CNSTATF.setCNSTATF5(thebits : TBits_1); inline;
  48040. begin
  48041. if thebits = 0 then
  48042. pTDefRegMap(@Self)^.clr := $00000020
  48043. else
  48044. pTDefRegMap(@Self)^.&set := $00000020;
  48045. end;
  48046. function TPORTF_CNSTATF.getCNSTATF5 : TBits_1; inline;
  48047. begin
  48048. getCNSTATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48049. end;
  48050. procedure TPORTF_CNSTATF.setCNSTATF6; inline;
  48051. begin
  48052. pTDefRegMap(@Self)^.&set := $00000040;
  48053. end;
  48054. procedure TPORTF_CNSTATF.clearCNSTATF6; inline;
  48055. begin
  48056. pTDefRegMap(@Self)^.clr := $00000040;
  48057. end;
  48058. procedure TPORTF_CNSTATF.setCNSTATF6(thebits : TBits_1); inline;
  48059. begin
  48060. if thebits = 0 then
  48061. pTDefRegMap(@Self)^.clr := $00000040
  48062. else
  48063. pTDefRegMap(@Self)^.&set := $00000040;
  48064. end;
  48065. function TPORTF_CNSTATF.getCNSTATF6 : TBits_1; inline;
  48066. begin
  48067. getCNSTATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48068. end;
  48069. procedure TPORTF_CNSTATF.setw(thebits : TBits_32); inline;
  48070. begin
  48071. pTDefRegMap(@Self)^.val := thebits;
  48072. end;
  48073. function TPORTF_CNSTATF.getw : TBits_32; inline;
  48074. begin
  48075. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48076. end;
  48077. procedure TPORTF_ANSELG.setANSG6; inline;
  48078. begin
  48079. pTDefRegMap(@Self)^.&set := $00000040;
  48080. end;
  48081. procedure TPORTF_ANSELG.clearANSG6; inline;
  48082. begin
  48083. pTDefRegMap(@Self)^.clr := $00000040;
  48084. end;
  48085. procedure TPORTF_ANSELG.setANSG6(thebits : TBits_1); inline;
  48086. begin
  48087. if thebits = 0 then
  48088. pTDefRegMap(@Self)^.clr := $00000040
  48089. else
  48090. pTDefRegMap(@Self)^.&set := $00000040;
  48091. end;
  48092. function TPORTF_ANSELG.getANSG6 : TBits_1; inline;
  48093. begin
  48094. getANSG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48095. end;
  48096. procedure TPORTF_ANSELG.setANSG7; inline;
  48097. begin
  48098. pTDefRegMap(@Self)^.&set := $00000080;
  48099. end;
  48100. procedure TPORTF_ANSELG.clearANSG7; inline;
  48101. begin
  48102. pTDefRegMap(@Self)^.clr := $00000080;
  48103. end;
  48104. procedure TPORTF_ANSELG.setANSG7(thebits : TBits_1); inline;
  48105. begin
  48106. if thebits = 0 then
  48107. pTDefRegMap(@Self)^.clr := $00000080
  48108. else
  48109. pTDefRegMap(@Self)^.&set := $00000080;
  48110. end;
  48111. function TPORTF_ANSELG.getANSG7 : TBits_1; inline;
  48112. begin
  48113. getANSG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48114. end;
  48115. procedure TPORTF_ANSELG.setANSG8; inline;
  48116. begin
  48117. pTDefRegMap(@Self)^.&set := $00000100;
  48118. end;
  48119. procedure TPORTF_ANSELG.clearANSG8; inline;
  48120. begin
  48121. pTDefRegMap(@Self)^.clr := $00000100;
  48122. end;
  48123. procedure TPORTF_ANSELG.setANSG8(thebits : TBits_1); inline;
  48124. begin
  48125. if thebits = 0 then
  48126. pTDefRegMap(@Self)^.clr := $00000100
  48127. else
  48128. pTDefRegMap(@Self)^.&set := $00000100;
  48129. end;
  48130. function TPORTF_ANSELG.getANSG8 : TBits_1; inline;
  48131. begin
  48132. getANSG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48133. end;
  48134. procedure TPORTF_ANSELG.setANSG9; inline;
  48135. begin
  48136. pTDefRegMap(@Self)^.&set := $00000200;
  48137. end;
  48138. procedure TPORTF_ANSELG.clearANSG9; inline;
  48139. begin
  48140. pTDefRegMap(@Self)^.clr := $00000200;
  48141. end;
  48142. procedure TPORTF_ANSELG.setANSG9(thebits : TBits_1); inline;
  48143. begin
  48144. if thebits = 0 then
  48145. pTDefRegMap(@Self)^.clr := $00000200
  48146. else
  48147. pTDefRegMap(@Self)^.&set := $00000200;
  48148. end;
  48149. function TPORTF_ANSELG.getANSG9 : TBits_1; inline;
  48150. begin
  48151. getANSG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48152. end;
  48153. procedure TPORTF_ANSELG.setw(thebits : TBits_32); inline;
  48154. begin
  48155. pTDefRegMap(@Self)^.val := thebits;
  48156. end;
  48157. function TPORTF_ANSELG.getw : TBits_32; inline;
  48158. begin
  48159. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48160. end;
  48161. procedure TPORTF_TRISG.setTRISG2; inline;
  48162. begin
  48163. pTDefRegMap(@Self)^.&set := $00000004;
  48164. end;
  48165. procedure TPORTF_TRISG.clearTRISG2; inline;
  48166. begin
  48167. pTDefRegMap(@Self)^.clr := $00000004;
  48168. end;
  48169. procedure TPORTF_TRISG.setTRISG2(thebits : TBits_1); inline;
  48170. begin
  48171. if thebits = 0 then
  48172. pTDefRegMap(@Self)^.clr := $00000004
  48173. else
  48174. pTDefRegMap(@Self)^.&set := $00000004;
  48175. end;
  48176. function TPORTF_TRISG.getTRISG2 : TBits_1; inline;
  48177. begin
  48178. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48179. end;
  48180. procedure TPORTF_TRISG.setTRISG3; inline;
  48181. begin
  48182. pTDefRegMap(@Self)^.&set := $00000008;
  48183. end;
  48184. procedure TPORTF_TRISG.clearTRISG3; inline;
  48185. begin
  48186. pTDefRegMap(@Self)^.clr := $00000008;
  48187. end;
  48188. procedure TPORTF_TRISG.setTRISG3(thebits : TBits_1); inline;
  48189. begin
  48190. if thebits = 0 then
  48191. pTDefRegMap(@Self)^.clr := $00000008
  48192. else
  48193. pTDefRegMap(@Self)^.&set := $00000008;
  48194. end;
  48195. function TPORTF_TRISG.getTRISG3 : TBits_1; inline;
  48196. begin
  48197. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48198. end;
  48199. procedure TPORTF_TRISG.setTRISG6; inline;
  48200. begin
  48201. pTDefRegMap(@Self)^.&set := $00000040;
  48202. end;
  48203. procedure TPORTF_TRISG.clearTRISG6; inline;
  48204. begin
  48205. pTDefRegMap(@Self)^.clr := $00000040;
  48206. end;
  48207. procedure TPORTF_TRISG.setTRISG6(thebits : TBits_1); inline;
  48208. begin
  48209. if thebits = 0 then
  48210. pTDefRegMap(@Self)^.clr := $00000040
  48211. else
  48212. pTDefRegMap(@Self)^.&set := $00000040;
  48213. end;
  48214. function TPORTF_TRISG.getTRISG6 : TBits_1; inline;
  48215. begin
  48216. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48217. end;
  48218. procedure TPORTF_TRISG.setTRISG7; inline;
  48219. begin
  48220. pTDefRegMap(@Self)^.&set := $00000080;
  48221. end;
  48222. procedure TPORTF_TRISG.clearTRISG7; inline;
  48223. begin
  48224. pTDefRegMap(@Self)^.clr := $00000080;
  48225. end;
  48226. procedure TPORTF_TRISG.setTRISG7(thebits : TBits_1); inline;
  48227. begin
  48228. if thebits = 0 then
  48229. pTDefRegMap(@Self)^.clr := $00000080
  48230. else
  48231. pTDefRegMap(@Self)^.&set := $00000080;
  48232. end;
  48233. function TPORTF_TRISG.getTRISG7 : TBits_1; inline;
  48234. begin
  48235. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48236. end;
  48237. procedure TPORTF_TRISG.setTRISG8; inline;
  48238. begin
  48239. pTDefRegMap(@Self)^.&set := $00000100;
  48240. end;
  48241. procedure TPORTF_TRISG.clearTRISG8; inline;
  48242. begin
  48243. pTDefRegMap(@Self)^.clr := $00000100;
  48244. end;
  48245. procedure TPORTF_TRISG.setTRISG8(thebits : TBits_1); inline;
  48246. begin
  48247. if thebits = 0 then
  48248. pTDefRegMap(@Self)^.clr := $00000100
  48249. else
  48250. pTDefRegMap(@Self)^.&set := $00000100;
  48251. end;
  48252. function TPORTF_TRISG.getTRISG8 : TBits_1; inline;
  48253. begin
  48254. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48255. end;
  48256. procedure TPORTF_TRISG.setTRISG9; inline;
  48257. begin
  48258. pTDefRegMap(@Self)^.&set := $00000200;
  48259. end;
  48260. procedure TPORTF_TRISG.clearTRISG9; inline;
  48261. begin
  48262. pTDefRegMap(@Self)^.clr := $00000200;
  48263. end;
  48264. procedure TPORTF_TRISG.setTRISG9(thebits : TBits_1); inline;
  48265. begin
  48266. if thebits = 0 then
  48267. pTDefRegMap(@Self)^.clr := $00000200
  48268. else
  48269. pTDefRegMap(@Self)^.&set := $00000200;
  48270. end;
  48271. function TPORTF_TRISG.getTRISG9 : TBits_1; inline;
  48272. begin
  48273. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48274. end;
  48275. procedure TPORTF_TRISG.setw(thebits : TBits_32); inline;
  48276. begin
  48277. pTDefRegMap(@Self)^.val := thebits;
  48278. end;
  48279. function TPORTF_TRISG.getw : TBits_32; inline;
  48280. begin
  48281. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48282. end;
  48283. procedure TPORTG_PORTG.setRG2; inline;
  48284. begin
  48285. pTDefRegMap(@Self)^.&set := $00000004;
  48286. end;
  48287. procedure TPORTG_PORTG.clearRG2; inline;
  48288. begin
  48289. pTDefRegMap(@Self)^.clr := $00000004;
  48290. end;
  48291. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  48292. begin
  48293. if thebits = 0 then
  48294. pTDefRegMap(@Self)^.clr := $00000004
  48295. else
  48296. pTDefRegMap(@Self)^.&set := $00000004;
  48297. end;
  48298. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  48299. begin
  48300. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48301. end;
  48302. procedure TPORTG_PORTG.setRG3; inline;
  48303. begin
  48304. pTDefRegMap(@Self)^.&set := $00000008;
  48305. end;
  48306. procedure TPORTG_PORTG.clearRG3; inline;
  48307. begin
  48308. pTDefRegMap(@Self)^.clr := $00000008;
  48309. end;
  48310. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  48311. begin
  48312. if thebits = 0 then
  48313. pTDefRegMap(@Self)^.clr := $00000008
  48314. else
  48315. pTDefRegMap(@Self)^.&set := $00000008;
  48316. end;
  48317. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  48318. begin
  48319. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48320. end;
  48321. procedure TPORTG_PORTG.setRG6; inline;
  48322. begin
  48323. pTDefRegMap(@Self)^.&set := $00000040;
  48324. end;
  48325. procedure TPORTG_PORTG.clearRG6; inline;
  48326. begin
  48327. pTDefRegMap(@Self)^.clr := $00000040;
  48328. end;
  48329. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  48330. begin
  48331. if thebits = 0 then
  48332. pTDefRegMap(@Self)^.clr := $00000040
  48333. else
  48334. pTDefRegMap(@Self)^.&set := $00000040;
  48335. end;
  48336. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  48337. begin
  48338. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48339. end;
  48340. procedure TPORTG_PORTG.setRG7; inline;
  48341. begin
  48342. pTDefRegMap(@Self)^.&set := $00000080;
  48343. end;
  48344. procedure TPORTG_PORTG.clearRG7; inline;
  48345. begin
  48346. pTDefRegMap(@Self)^.clr := $00000080;
  48347. end;
  48348. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  48349. begin
  48350. if thebits = 0 then
  48351. pTDefRegMap(@Self)^.clr := $00000080
  48352. else
  48353. pTDefRegMap(@Self)^.&set := $00000080;
  48354. end;
  48355. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  48356. begin
  48357. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48358. end;
  48359. procedure TPORTG_PORTG.setRG8; inline;
  48360. begin
  48361. pTDefRegMap(@Self)^.&set := $00000100;
  48362. end;
  48363. procedure TPORTG_PORTG.clearRG8; inline;
  48364. begin
  48365. pTDefRegMap(@Self)^.clr := $00000100;
  48366. end;
  48367. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  48368. begin
  48369. if thebits = 0 then
  48370. pTDefRegMap(@Self)^.clr := $00000100
  48371. else
  48372. pTDefRegMap(@Self)^.&set := $00000100;
  48373. end;
  48374. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  48375. begin
  48376. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48377. end;
  48378. procedure TPORTG_PORTG.setRG9; inline;
  48379. begin
  48380. pTDefRegMap(@Self)^.&set := $00000200;
  48381. end;
  48382. procedure TPORTG_PORTG.clearRG9; inline;
  48383. begin
  48384. pTDefRegMap(@Self)^.clr := $00000200;
  48385. end;
  48386. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  48387. begin
  48388. if thebits = 0 then
  48389. pTDefRegMap(@Self)^.clr := $00000200
  48390. else
  48391. pTDefRegMap(@Self)^.&set := $00000200;
  48392. end;
  48393. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  48394. begin
  48395. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48396. end;
  48397. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  48398. begin
  48399. pTDefRegMap(@Self)^.val := thebits;
  48400. end;
  48401. function TPORTG_PORTG.getw : TBits_32; inline;
  48402. begin
  48403. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48404. end;
  48405. procedure TPORTG_LATG.setLATG2; inline;
  48406. begin
  48407. pTDefRegMap(@Self)^.&set := $00000004;
  48408. end;
  48409. procedure TPORTG_LATG.clearLATG2; inline;
  48410. begin
  48411. pTDefRegMap(@Self)^.clr := $00000004;
  48412. end;
  48413. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  48414. begin
  48415. if thebits = 0 then
  48416. pTDefRegMap(@Self)^.clr := $00000004
  48417. else
  48418. pTDefRegMap(@Self)^.&set := $00000004;
  48419. end;
  48420. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  48421. begin
  48422. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48423. end;
  48424. procedure TPORTG_LATG.setLATG3; inline;
  48425. begin
  48426. pTDefRegMap(@Self)^.&set := $00000008;
  48427. end;
  48428. procedure TPORTG_LATG.clearLATG3; inline;
  48429. begin
  48430. pTDefRegMap(@Self)^.clr := $00000008;
  48431. end;
  48432. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  48433. begin
  48434. if thebits = 0 then
  48435. pTDefRegMap(@Self)^.clr := $00000008
  48436. else
  48437. pTDefRegMap(@Self)^.&set := $00000008;
  48438. end;
  48439. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  48440. begin
  48441. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48442. end;
  48443. procedure TPORTG_LATG.setLATG6; inline;
  48444. begin
  48445. pTDefRegMap(@Self)^.&set := $00000040;
  48446. end;
  48447. procedure TPORTG_LATG.clearLATG6; inline;
  48448. begin
  48449. pTDefRegMap(@Self)^.clr := $00000040;
  48450. end;
  48451. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  48452. begin
  48453. if thebits = 0 then
  48454. pTDefRegMap(@Self)^.clr := $00000040
  48455. else
  48456. pTDefRegMap(@Self)^.&set := $00000040;
  48457. end;
  48458. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  48459. begin
  48460. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48461. end;
  48462. procedure TPORTG_LATG.setLATG7; inline;
  48463. begin
  48464. pTDefRegMap(@Self)^.&set := $00000080;
  48465. end;
  48466. procedure TPORTG_LATG.clearLATG7; inline;
  48467. begin
  48468. pTDefRegMap(@Self)^.clr := $00000080;
  48469. end;
  48470. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  48471. begin
  48472. if thebits = 0 then
  48473. pTDefRegMap(@Self)^.clr := $00000080
  48474. else
  48475. pTDefRegMap(@Self)^.&set := $00000080;
  48476. end;
  48477. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  48478. begin
  48479. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48480. end;
  48481. procedure TPORTG_LATG.setLATG8; inline;
  48482. begin
  48483. pTDefRegMap(@Self)^.&set := $00000100;
  48484. end;
  48485. procedure TPORTG_LATG.clearLATG8; inline;
  48486. begin
  48487. pTDefRegMap(@Self)^.clr := $00000100;
  48488. end;
  48489. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  48490. begin
  48491. if thebits = 0 then
  48492. pTDefRegMap(@Self)^.clr := $00000100
  48493. else
  48494. pTDefRegMap(@Self)^.&set := $00000100;
  48495. end;
  48496. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  48497. begin
  48498. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48499. end;
  48500. procedure TPORTG_LATG.setLATG9; inline;
  48501. begin
  48502. pTDefRegMap(@Self)^.&set := $00000200;
  48503. end;
  48504. procedure TPORTG_LATG.clearLATG9; inline;
  48505. begin
  48506. pTDefRegMap(@Self)^.clr := $00000200;
  48507. end;
  48508. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  48509. begin
  48510. if thebits = 0 then
  48511. pTDefRegMap(@Self)^.clr := $00000200
  48512. else
  48513. pTDefRegMap(@Self)^.&set := $00000200;
  48514. end;
  48515. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  48516. begin
  48517. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48518. end;
  48519. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  48520. begin
  48521. pTDefRegMap(@Self)^.val := thebits;
  48522. end;
  48523. function TPORTG_LATG.getw : TBits_32; inline;
  48524. begin
  48525. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48526. end;
  48527. procedure TPORTG_ODCG.setODCG2; inline;
  48528. begin
  48529. pTDefRegMap(@Self)^.&set := $00000004;
  48530. end;
  48531. procedure TPORTG_ODCG.clearODCG2; inline;
  48532. begin
  48533. pTDefRegMap(@Self)^.clr := $00000004;
  48534. end;
  48535. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  48536. begin
  48537. if thebits = 0 then
  48538. pTDefRegMap(@Self)^.clr := $00000004
  48539. else
  48540. pTDefRegMap(@Self)^.&set := $00000004;
  48541. end;
  48542. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  48543. begin
  48544. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48545. end;
  48546. procedure TPORTG_ODCG.setODCG3; inline;
  48547. begin
  48548. pTDefRegMap(@Self)^.&set := $00000008;
  48549. end;
  48550. procedure TPORTG_ODCG.clearODCG3; inline;
  48551. begin
  48552. pTDefRegMap(@Self)^.clr := $00000008;
  48553. end;
  48554. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  48555. begin
  48556. if thebits = 0 then
  48557. pTDefRegMap(@Self)^.clr := $00000008
  48558. else
  48559. pTDefRegMap(@Self)^.&set := $00000008;
  48560. end;
  48561. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  48562. begin
  48563. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48564. end;
  48565. procedure TPORTG_ODCG.setODCG6; inline;
  48566. begin
  48567. pTDefRegMap(@Self)^.&set := $00000040;
  48568. end;
  48569. procedure TPORTG_ODCG.clearODCG6; inline;
  48570. begin
  48571. pTDefRegMap(@Self)^.clr := $00000040;
  48572. end;
  48573. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  48574. begin
  48575. if thebits = 0 then
  48576. pTDefRegMap(@Self)^.clr := $00000040
  48577. else
  48578. pTDefRegMap(@Self)^.&set := $00000040;
  48579. end;
  48580. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  48581. begin
  48582. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48583. end;
  48584. procedure TPORTG_ODCG.setODCG7; inline;
  48585. begin
  48586. pTDefRegMap(@Self)^.&set := $00000080;
  48587. end;
  48588. procedure TPORTG_ODCG.clearODCG7; inline;
  48589. begin
  48590. pTDefRegMap(@Self)^.clr := $00000080;
  48591. end;
  48592. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  48593. begin
  48594. if thebits = 0 then
  48595. pTDefRegMap(@Self)^.clr := $00000080
  48596. else
  48597. pTDefRegMap(@Self)^.&set := $00000080;
  48598. end;
  48599. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  48600. begin
  48601. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48602. end;
  48603. procedure TPORTG_ODCG.setODCG8; inline;
  48604. begin
  48605. pTDefRegMap(@Self)^.&set := $00000100;
  48606. end;
  48607. procedure TPORTG_ODCG.clearODCG8; inline;
  48608. begin
  48609. pTDefRegMap(@Self)^.clr := $00000100;
  48610. end;
  48611. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  48612. begin
  48613. if thebits = 0 then
  48614. pTDefRegMap(@Self)^.clr := $00000100
  48615. else
  48616. pTDefRegMap(@Self)^.&set := $00000100;
  48617. end;
  48618. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  48619. begin
  48620. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48621. end;
  48622. procedure TPORTG_ODCG.setODCG9; inline;
  48623. begin
  48624. pTDefRegMap(@Self)^.&set := $00000200;
  48625. end;
  48626. procedure TPORTG_ODCG.clearODCG9; inline;
  48627. begin
  48628. pTDefRegMap(@Self)^.clr := $00000200;
  48629. end;
  48630. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  48631. begin
  48632. if thebits = 0 then
  48633. pTDefRegMap(@Self)^.clr := $00000200
  48634. else
  48635. pTDefRegMap(@Self)^.&set := $00000200;
  48636. end;
  48637. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  48638. begin
  48639. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48640. end;
  48641. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  48642. begin
  48643. pTDefRegMap(@Self)^.val := thebits;
  48644. end;
  48645. function TPORTG_ODCG.getw : TBits_32; inline;
  48646. begin
  48647. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48648. end;
  48649. procedure TPORTG_CNPUG.setCNPUG2; inline;
  48650. begin
  48651. pTDefRegMap(@Self)^.&set := $00000004;
  48652. end;
  48653. procedure TPORTG_CNPUG.clearCNPUG2; inline;
  48654. begin
  48655. pTDefRegMap(@Self)^.clr := $00000004;
  48656. end;
  48657. procedure TPORTG_CNPUG.setCNPUG2(thebits : TBits_1); inline;
  48658. begin
  48659. if thebits = 0 then
  48660. pTDefRegMap(@Self)^.clr := $00000004
  48661. else
  48662. pTDefRegMap(@Self)^.&set := $00000004;
  48663. end;
  48664. function TPORTG_CNPUG.getCNPUG2 : TBits_1; inline;
  48665. begin
  48666. getCNPUG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48667. end;
  48668. procedure TPORTG_CNPUG.setCNPUG3; inline;
  48669. begin
  48670. pTDefRegMap(@Self)^.&set := $00000008;
  48671. end;
  48672. procedure TPORTG_CNPUG.clearCNPUG3; inline;
  48673. begin
  48674. pTDefRegMap(@Self)^.clr := $00000008;
  48675. end;
  48676. procedure TPORTG_CNPUG.setCNPUG3(thebits : TBits_1); inline;
  48677. begin
  48678. if thebits = 0 then
  48679. pTDefRegMap(@Self)^.clr := $00000008
  48680. else
  48681. pTDefRegMap(@Self)^.&set := $00000008;
  48682. end;
  48683. function TPORTG_CNPUG.getCNPUG3 : TBits_1; inline;
  48684. begin
  48685. getCNPUG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48686. end;
  48687. procedure TPORTG_CNPUG.setCNPUG6; inline;
  48688. begin
  48689. pTDefRegMap(@Self)^.&set := $00000040;
  48690. end;
  48691. procedure TPORTG_CNPUG.clearCNPUG6; inline;
  48692. begin
  48693. pTDefRegMap(@Self)^.clr := $00000040;
  48694. end;
  48695. procedure TPORTG_CNPUG.setCNPUG6(thebits : TBits_1); inline;
  48696. begin
  48697. if thebits = 0 then
  48698. pTDefRegMap(@Self)^.clr := $00000040
  48699. else
  48700. pTDefRegMap(@Self)^.&set := $00000040;
  48701. end;
  48702. function TPORTG_CNPUG.getCNPUG6 : TBits_1; inline;
  48703. begin
  48704. getCNPUG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48705. end;
  48706. procedure TPORTG_CNPUG.setCNPUG7; inline;
  48707. begin
  48708. pTDefRegMap(@Self)^.&set := $00000080;
  48709. end;
  48710. procedure TPORTG_CNPUG.clearCNPUG7; inline;
  48711. begin
  48712. pTDefRegMap(@Self)^.clr := $00000080;
  48713. end;
  48714. procedure TPORTG_CNPUG.setCNPUG7(thebits : TBits_1); inline;
  48715. begin
  48716. if thebits = 0 then
  48717. pTDefRegMap(@Self)^.clr := $00000080
  48718. else
  48719. pTDefRegMap(@Self)^.&set := $00000080;
  48720. end;
  48721. function TPORTG_CNPUG.getCNPUG7 : TBits_1; inline;
  48722. begin
  48723. getCNPUG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48724. end;
  48725. procedure TPORTG_CNPUG.setCNPUG8; inline;
  48726. begin
  48727. pTDefRegMap(@Self)^.&set := $00000100;
  48728. end;
  48729. procedure TPORTG_CNPUG.clearCNPUG8; inline;
  48730. begin
  48731. pTDefRegMap(@Self)^.clr := $00000100;
  48732. end;
  48733. procedure TPORTG_CNPUG.setCNPUG8(thebits : TBits_1); inline;
  48734. begin
  48735. if thebits = 0 then
  48736. pTDefRegMap(@Self)^.clr := $00000100
  48737. else
  48738. pTDefRegMap(@Self)^.&set := $00000100;
  48739. end;
  48740. function TPORTG_CNPUG.getCNPUG8 : TBits_1; inline;
  48741. begin
  48742. getCNPUG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48743. end;
  48744. procedure TPORTG_CNPUG.setCNPUG9; inline;
  48745. begin
  48746. pTDefRegMap(@Self)^.&set := $00000200;
  48747. end;
  48748. procedure TPORTG_CNPUG.clearCNPUG9; inline;
  48749. begin
  48750. pTDefRegMap(@Self)^.clr := $00000200;
  48751. end;
  48752. procedure TPORTG_CNPUG.setCNPUG9(thebits : TBits_1); inline;
  48753. begin
  48754. if thebits = 0 then
  48755. pTDefRegMap(@Self)^.clr := $00000200
  48756. else
  48757. pTDefRegMap(@Self)^.&set := $00000200;
  48758. end;
  48759. function TPORTG_CNPUG.getCNPUG9 : TBits_1; inline;
  48760. begin
  48761. getCNPUG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48762. end;
  48763. procedure TPORTG_CNPUG.setw(thebits : TBits_32); inline;
  48764. begin
  48765. pTDefRegMap(@Self)^.val := thebits;
  48766. end;
  48767. function TPORTG_CNPUG.getw : TBits_32; inline;
  48768. begin
  48769. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48770. end;
  48771. procedure TPORTG_CNPDG.setCNPDG2; inline;
  48772. begin
  48773. pTDefRegMap(@Self)^.&set := $00000004;
  48774. end;
  48775. procedure TPORTG_CNPDG.clearCNPDG2; inline;
  48776. begin
  48777. pTDefRegMap(@Self)^.clr := $00000004;
  48778. end;
  48779. procedure TPORTG_CNPDG.setCNPDG2(thebits : TBits_1); inline;
  48780. begin
  48781. if thebits = 0 then
  48782. pTDefRegMap(@Self)^.clr := $00000004
  48783. else
  48784. pTDefRegMap(@Self)^.&set := $00000004;
  48785. end;
  48786. function TPORTG_CNPDG.getCNPDG2 : TBits_1; inline;
  48787. begin
  48788. getCNPDG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48789. end;
  48790. procedure TPORTG_CNPDG.setCNPDG3; inline;
  48791. begin
  48792. pTDefRegMap(@Self)^.&set := $00000008;
  48793. end;
  48794. procedure TPORTG_CNPDG.clearCNPDG3; inline;
  48795. begin
  48796. pTDefRegMap(@Self)^.clr := $00000008;
  48797. end;
  48798. procedure TPORTG_CNPDG.setCNPDG3(thebits : TBits_1); inline;
  48799. begin
  48800. if thebits = 0 then
  48801. pTDefRegMap(@Self)^.clr := $00000008
  48802. else
  48803. pTDefRegMap(@Self)^.&set := $00000008;
  48804. end;
  48805. function TPORTG_CNPDG.getCNPDG3 : TBits_1; inline;
  48806. begin
  48807. getCNPDG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48808. end;
  48809. procedure TPORTG_CNPDG.setCNPDG6; inline;
  48810. begin
  48811. pTDefRegMap(@Self)^.&set := $00000040;
  48812. end;
  48813. procedure TPORTG_CNPDG.clearCNPDG6; inline;
  48814. begin
  48815. pTDefRegMap(@Self)^.clr := $00000040;
  48816. end;
  48817. procedure TPORTG_CNPDG.setCNPDG6(thebits : TBits_1); inline;
  48818. begin
  48819. if thebits = 0 then
  48820. pTDefRegMap(@Self)^.clr := $00000040
  48821. else
  48822. pTDefRegMap(@Self)^.&set := $00000040;
  48823. end;
  48824. function TPORTG_CNPDG.getCNPDG6 : TBits_1; inline;
  48825. begin
  48826. getCNPDG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48827. end;
  48828. procedure TPORTG_CNPDG.setCNPDG7; inline;
  48829. begin
  48830. pTDefRegMap(@Self)^.&set := $00000080;
  48831. end;
  48832. procedure TPORTG_CNPDG.clearCNPDG7; inline;
  48833. begin
  48834. pTDefRegMap(@Self)^.clr := $00000080;
  48835. end;
  48836. procedure TPORTG_CNPDG.setCNPDG7(thebits : TBits_1); inline;
  48837. begin
  48838. if thebits = 0 then
  48839. pTDefRegMap(@Self)^.clr := $00000080
  48840. else
  48841. pTDefRegMap(@Self)^.&set := $00000080;
  48842. end;
  48843. function TPORTG_CNPDG.getCNPDG7 : TBits_1; inline;
  48844. begin
  48845. getCNPDG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48846. end;
  48847. procedure TPORTG_CNPDG.setCNPDG8; inline;
  48848. begin
  48849. pTDefRegMap(@Self)^.&set := $00000100;
  48850. end;
  48851. procedure TPORTG_CNPDG.clearCNPDG8; inline;
  48852. begin
  48853. pTDefRegMap(@Self)^.clr := $00000100;
  48854. end;
  48855. procedure TPORTG_CNPDG.setCNPDG8(thebits : TBits_1); inline;
  48856. begin
  48857. if thebits = 0 then
  48858. pTDefRegMap(@Self)^.clr := $00000100
  48859. else
  48860. pTDefRegMap(@Self)^.&set := $00000100;
  48861. end;
  48862. function TPORTG_CNPDG.getCNPDG8 : TBits_1; inline;
  48863. begin
  48864. getCNPDG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48865. end;
  48866. procedure TPORTG_CNPDG.setCNPDG9; inline;
  48867. begin
  48868. pTDefRegMap(@Self)^.&set := $00000200;
  48869. end;
  48870. procedure TPORTG_CNPDG.clearCNPDG9; inline;
  48871. begin
  48872. pTDefRegMap(@Self)^.clr := $00000200;
  48873. end;
  48874. procedure TPORTG_CNPDG.setCNPDG9(thebits : TBits_1); inline;
  48875. begin
  48876. if thebits = 0 then
  48877. pTDefRegMap(@Self)^.clr := $00000200
  48878. else
  48879. pTDefRegMap(@Self)^.&set := $00000200;
  48880. end;
  48881. function TPORTG_CNPDG.getCNPDG9 : TBits_1; inline;
  48882. begin
  48883. getCNPDG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48884. end;
  48885. procedure TPORTG_CNPDG.setw(thebits : TBits_32); inline;
  48886. begin
  48887. pTDefRegMap(@Self)^.val := thebits;
  48888. end;
  48889. function TPORTG_CNPDG.getw : TBits_32; inline;
  48890. begin
  48891. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48892. end;
  48893. procedure TPORTG_CNCONG.setSIDL; inline;
  48894. begin
  48895. pTDefRegMap(@Self)^.&set := $00002000;
  48896. end;
  48897. procedure TPORTG_CNCONG.clearSIDL; inline;
  48898. begin
  48899. pTDefRegMap(@Self)^.clr := $00002000;
  48900. end;
  48901. procedure TPORTG_CNCONG.setSIDL(thebits : TBits_1); inline;
  48902. begin
  48903. if thebits = 0 then
  48904. pTDefRegMap(@Self)^.clr := $00002000
  48905. else
  48906. pTDefRegMap(@Self)^.&set := $00002000;
  48907. end;
  48908. function TPORTG_CNCONG.getSIDL : TBits_1; inline;
  48909. begin
  48910. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48911. end;
  48912. procedure TPORTG_CNCONG.setON; inline;
  48913. begin
  48914. pTDefRegMap(@Self)^.&set := $00008000;
  48915. end;
  48916. procedure TPORTG_CNCONG.clearON; inline;
  48917. begin
  48918. pTDefRegMap(@Self)^.clr := $00008000;
  48919. end;
  48920. procedure TPORTG_CNCONG.setON(thebits : TBits_1); inline;
  48921. begin
  48922. if thebits = 0 then
  48923. pTDefRegMap(@Self)^.clr := $00008000
  48924. else
  48925. pTDefRegMap(@Self)^.&set := $00008000;
  48926. end;
  48927. function TPORTG_CNCONG.getON : TBits_1; inline;
  48928. begin
  48929. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48930. end;
  48931. procedure TPORTG_CNCONG.setw(thebits : TBits_32); inline;
  48932. begin
  48933. pTDefRegMap(@Self)^.val := thebits;
  48934. end;
  48935. function TPORTG_CNCONG.getw : TBits_32; inline;
  48936. begin
  48937. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48938. end;
  48939. procedure TPORTG_CNENG.setCNIEG2; inline;
  48940. begin
  48941. pTDefRegMap(@Self)^.&set := $00000004;
  48942. end;
  48943. procedure TPORTG_CNENG.clearCNIEG2; inline;
  48944. begin
  48945. pTDefRegMap(@Self)^.clr := $00000004;
  48946. end;
  48947. procedure TPORTG_CNENG.setCNIEG2(thebits : TBits_1); inline;
  48948. begin
  48949. if thebits = 0 then
  48950. pTDefRegMap(@Self)^.clr := $00000004
  48951. else
  48952. pTDefRegMap(@Self)^.&set := $00000004;
  48953. end;
  48954. function TPORTG_CNENG.getCNIEG2 : TBits_1; inline;
  48955. begin
  48956. getCNIEG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48957. end;
  48958. procedure TPORTG_CNENG.setCNIEG3; inline;
  48959. begin
  48960. pTDefRegMap(@Self)^.&set := $00000008;
  48961. end;
  48962. procedure TPORTG_CNENG.clearCNIEG3; inline;
  48963. begin
  48964. pTDefRegMap(@Self)^.clr := $00000008;
  48965. end;
  48966. procedure TPORTG_CNENG.setCNIEG3(thebits : TBits_1); inline;
  48967. begin
  48968. if thebits = 0 then
  48969. pTDefRegMap(@Self)^.clr := $00000008
  48970. else
  48971. pTDefRegMap(@Self)^.&set := $00000008;
  48972. end;
  48973. function TPORTG_CNENG.getCNIEG3 : TBits_1; inline;
  48974. begin
  48975. getCNIEG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48976. end;
  48977. procedure TPORTG_CNENG.setCNIEG6; inline;
  48978. begin
  48979. pTDefRegMap(@Self)^.&set := $00000040;
  48980. end;
  48981. procedure TPORTG_CNENG.clearCNIEG6; inline;
  48982. begin
  48983. pTDefRegMap(@Self)^.clr := $00000040;
  48984. end;
  48985. procedure TPORTG_CNENG.setCNIEG6(thebits : TBits_1); inline;
  48986. begin
  48987. if thebits = 0 then
  48988. pTDefRegMap(@Self)^.clr := $00000040
  48989. else
  48990. pTDefRegMap(@Self)^.&set := $00000040;
  48991. end;
  48992. function TPORTG_CNENG.getCNIEG6 : TBits_1; inline;
  48993. begin
  48994. getCNIEG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48995. end;
  48996. procedure TPORTG_CNENG.setCNIEG7; inline;
  48997. begin
  48998. pTDefRegMap(@Self)^.&set := $00000080;
  48999. end;
  49000. procedure TPORTG_CNENG.clearCNIEG7; inline;
  49001. begin
  49002. pTDefRegMap(@Self)^.clr := $00000080;
  49003. end;
  49004. procedure TPORTG_CNENG.setCNIEG7(thebits : TBits_1); inline;
  49005. begin
  49006. if thebits = 0 then
  49007. pTDefRegMap(@Self)^.clr := $00000080
  49008. else
  49009. pTDefRegMap(@Self)^.&set := $00000080;
  49010. end;
  49011. function TPORTG_CNENG.getCNIEG7 : TBits_1; inline;
  49012. begin
  49013. getCNIEG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49014. end;
  49015. procedure TPORTG_CNENG.setCNIEG8; inline;
  49016. begin
  49017. pTDefRegMap(@Self)^.&set := $00000100;
  49018. end;
  49019. procedure TPORTG_CNENG.clearCNIEG8; inline;
  49020. begin
  49021. pTDefRegMap(@Self)^.clr := $00000100;
  49022. end;
  49023. procedure TPORTG_CNENG.setCNIEG8(thebits : TBits_1); inline;
  49024. begin
  49025. if thebits = 0 then
  49026. pTDefRegMap(@Self)^.clr := $00000100
  49027. else
  49028. pTDefRegMap(@Self)^.&set := $00000100;
  49029. end;
  49030. function TPORTG_CNENG.getCNIEG8 : TBits_1; inline;
  49031. begin
  49032. getCNIEG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49033. end;
  49034. procedure TPORTG_CNENG.setCNIEG9; inline;
  49035. begin
  49036. pTDefRegMap(@Self)^.&set := $00000200;
  49037. end;
  49038. procedure TPORTG_CNENG.clearCNIEG9; inline;
  49039. begin
  49040. pTDefRegMap(@Self)^.clr := $00000200;
  49041. end;
  49042. procedure TPORTG_CNENG.setCNIEG9(thebits : TBits_1); inline;
  49043. begin
  49044. if thebits = 0 then
  49045. pTDefRegMap(@Self)^.clr := $00000200
  49046. else
  49047. pTDefRegMap(@Self)^.&set := $00000200;
  49048. end;
  49049. function TPORTG_CNENG.getCNIEG9 : TBits_1; inline;
  49050. begin
  49051. getCNIEG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49052. end;
  49053. procedure TPORTG_CNENG.setw(thebits : TBits_32); inline;
  49054. begin
  49055. pTDefRegMap(@Self)^.val := thebits;
  49056. end;
  49057. function TPORTG_CNENG.getw : TBits_32; inline;
  49058. begin
  49059. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49060. end;
  49061. procedure TPORTG_CNSTATG.setCNSTATG2; inline;
  49062. begin
  49063. pTDefRegMap(@Self)^.&set := $00000004;
  49064. end;
  49065. procedure TPORTG_CNSTATG.clearCNSTATG2; inline;
  49066. begin
  49067. pTDefRegMap(@Self)^.clr := $00000004;
  49068. end;
  49069. procedure TPORTG_CNSTATG.setCNSTATG2(thebits : TBits_1); inline;
  49070. begin
  49071. if thebits = 0 then
  49072. pTDefRegMap(@Self)^.clr := $00000004
  49073. else
  49074. pTDefRegMap(@Self)^.&set := $00000004;
  49075. end;
  49076. function TPORTG_CNSTATG.getCNSTATG2 : TBits_1; inline;
  49077. begin
  49078. getCNSTATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49079. end;
  49080. procedure TPORTG_CNSTATG.setCNSTATG3; inline;
  49081. begin
  49082. pTDefRegMap(@Self)^.&set := $00000008;
  49083. end;
  49084. procedure TPORTG_CNSTATG.clearCNSTATG3; inline;
  49085. begin
  49086. pTDefRegMap(@Self)^.clr := $00000008;
  49087. end;
  49088. procedure TPORTG_CNSTATG.setCNSTATG3(thebits : TBits_1); inline;
  49089. begin
  49090. if thebits = 0 then
  49091. pTDefRegMap(@Self)^.clr := $00000008
  49092. else
  49093. pTDefRegMap(@Self)^.&set := $00000008;
  49094. end;
  49095. function TPORTG_CNSTATG.getCNSTATG3 : TBits_1; inline;
  49096. begin
  49097. getCNSTATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49098. end;
  49099. procedure TPORTG_CNSTATG.setCNSTATG6; inline;
  49100. begin
  49101. pTDefRegMap(@Self)^.&set := $00000040;
  49102. end;
  49103. procedure TPORTG_CNSTATG.clearCNSTATG6; inline;
  49104. begin
  49105. pTDefRegMap(@Self)^.clr := $00000040;
  49106. end;
  49107. procedure TPORTG_CNSTATG.setCNSTATG6(thebits : TBits_1); inline;
  49108. begin
  49109. if thebits = 0 then
  49110. pTDefRegMap(@Self)^.clr := $00000040
  49111. else
  49112. pTDefRegMap(@Self)^.&set := $00000040;
  49113. end;
  49114. function TPORTG_CNSTATG.getCNSTATG6 : TBits_1; inline;
  49115. begin
  49116. getCNSTATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49117. end;
  49118. procedure TPORTG_CNSTATG.setCNSTATG7; inline;
  49119. begin
  49120. pTDefRegMap(@Self)^.&set := $00000080;
  49121. end;
  49122. procedure TPORTG_CNSTATG.clearCNSTATG7; inline;
  49123. begin
  49124. pTDefRegMap(@Self)^.clr := $00000080;
  49125. end;
  49126. procedure TPORTG_CNSTATG.setCNSTATG7(thebits : TBits_1); inline;
  49127. begin
  49128. if thebits = 0 then
  49129. pTDefRegMap(@Self)^.clr := $00000080
  49130. else
  49131. pTDefRegMap(@Self)^.&set := $00000080;
  49132. end;
  49133. function TPORTG_CNSTATG.getCNSTATG7 : TBits_1; inline;
  49134. begin
  49135. getCNSTATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49136. end;
  49137. procedure TPORTG_CNSTATG.setCNSTATG8; inline;
  49138. begin
  49139. pTDefRegMap(@Self)^.&set := $00000100;
  49140. end;
  49141. procedure TPORTG_CNSTATG.clearCNSTATG8; inline;
  49142. begin
  49143. pTDefRegMap(@Self)^.clr := $00000100;
  49144. end;
  49145. procedure TPORTG_CNSTATG.setCNSTATG8(thebits : TBits_1); inline;
  49146. begin
  49147. if thebits = 0 then
  49148. pTDefRegMap(@Self)^.clr := $00000100
  49149. else
  49150. pTDefRegMap(@Self)^.&set := $00000100;
  49151. end;
  49152. function TPORTG_CNSTATG.getCNSTATG8 : TBits_1; inline;
  49153. begin
  49154. getCNSTATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49155. end;
  49156. procedure TPORTG_CNSTATG.setCNSTATG9; inline;
  49157. begin
  49158. pTDefRegMap(@Self)^.&set := $00000200;
  49159. end;
  49160. procedure TPORTG_CNSTATG.clearCNSTATG9; inline;
  49161. begin
  49162. pTDefRegMap(@Self)^.clr := $00000200;
  49163. end;
  49164. procedure TPORTG_CNSTATG.setCNSTATG9(thebits : TBits_1); inline;
  49165. begin
  49166. if thebits = 0 then
  49167. pTDefRegMap(@Self)^.clr := $00000200
  49168. else
  49169. pTDefRegMap(@Self)^.&set := $00000200;
  49170. end;
  49171. function TPORTG_CNSTATG.getCNSTATG9 : TBits_1; inline;
  49172. begin
  49173. getCNSTATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49174. end;
  49175. procedure TPORTG_CNSTATG.setw(thebits : TBits_32); inline;
  49176. begin
  49177. pTDefRegMap(@Self)^.val := thebits;
  49178. end;
  49179. function TPORTG_CNSTATG.getw : TBits_32; inline;
  49180. begin
  49181. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49182. end;
  49183. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  49184. begin
  49185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  49186. end;
  49187. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  49188. begin
  49189. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  49190. end;
  49191. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  49192. begin
  49193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  49194. end;
  49195. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  49196. begin
  49197. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  49198. end;
  49199. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  49200. begin
  49201. pTDefRegMap(@Self)^.&set := $10000000;
  49202. end;
  49203. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  49204. begin
  49205. pTDefRegMap(@Self)^.clr := $10000000;
  49206. end;
  49207. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  49208. begin
  49209. if thebits = 0 then
  49210. pTDefRegMap(@Self)^.clr := $10000000
  49211. else
  49212. pTDefRegMap(@Self)^.&set := $10000000;
  49213. end;
  49214. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  49215. begin
  49216. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  49217. end;
  49218. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  49219. begin
  49220. pTDefRegMap(@Self)^.&set := $20000000;
  49221. end;
  49222. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  49223. begin
  49224. pTDefRegMap(@Self)^.clr := $20000000;
  49225. end;
  49226. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  49227. begin
  49228. if thebits = 0 then
  49229. pTDefRegMap(@Self)^.clr := $20000000
  49230. else
  49231. pTDefRegMap(@Self)^.&set := $20000000;
  49232. end;
  49233. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  49234. begin
  49235. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  49236. end;
  49237. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  49238. begin
  49239. pTDefRegMap(@Self)^.&set := $40000000;
  49240. end;
  49241. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  49242. begin
  49243. pTDefRegMap(@Self)^.clr := $40000000;
  49244. end;
  49245. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  49246. begin
  49247. if thebits = 0 then
  49248. pTDefRegMap(@Self)^.clr := $40000000
  49249. else
  49250. pTDefRegMap(@Self)^.&set := $40000000;
  49251. end;
  49252. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  49253. begin
  49254. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  49255. end;
  49256. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  49257. begin
  49258. pTDefRegMap(@Self)^.&set := $80000000;
  49259. end;
  49260. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  49261. begin
  49262. pTDefRegMap(@Self)^.clr := $80000000;
  49263. end;
  49264. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  49265. begin
  49266. if thebits = 0 then
  49267. pTDefRegMap(@Self)^.clr := $80000000
  49268. else
  49269. pTDefRegMap(@Self)^.&set := $80000000;
  49270. end;
  49271. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  49272. begin
  49273. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  49274. end;
  49275. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  49276. begin
  49277. pTDefRegMap(@Self)^.val := thebits;
  49278. end;
  49279. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  49280. begin
  49281. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49282. end;
  49283. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  49284. begin
  49285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  49286. end;
  49287. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  49288. begin
  49289. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  49290. end;
  49291. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  49292. begin
  49293. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  49294. end;
  49295. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  49296. begin
  49297. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  49298. end;
  49299. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  49300. begin
  49301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  49302. end;
  49303. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  49304. begin
  49305. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  49306. end;
  49307. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  49308. begin
  49309. pTDefRegMap(@Self)^.&set := $00008000;
  49310. end;
  49311. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  49312. begin
  49313. pTDefRegMap(@Self)^.clr := $00008000;
  49314. end;
  49315. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  49316. begin
  49317. if thebits = 0 then
  49318. pTDefRegMap(@Self)^.clr := $00008000
  49319. else
  49320. pTDefRegMap(@Self)^.&set := $00008000;
  49321. end;
  49322. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  49323. begin
  49324. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49325. end;
  49326. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  49327. begin
  49328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  49329. end;
  49330. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  49331. begin
  49332. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  49333. end;
  49334. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  49335. begin
  49336. pTDefRegMap(@Self)^.val := thebits;
  49337. end;
  49338. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  49339. begin
  49340. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49341. end;
  49342. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  49343. begin
  49344. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  49345. end;
  49346. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  49347. begin
  49348. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  49349. end;
  49350. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  49351. begin
  49352. pTDefRegMap(@Self)^.&set := $00000020;
  49353. end;
  49354. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  49355. begin
  49356. pTDefRegMap(@Self)^.clr := $00000020;
  49357. end;
  49358. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  49359. begin
  49360. if thebits = 0 then
  49361. pTDefRegMap(@Self)^.clr := $00000020
  49362. else
  49363. pTDefRegMap(@Self)^.&set := $00000020;
  49364. end;
  49365. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  49366. begin
  49367. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49368. end;
  49369. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  49370. begin
  49371. pTDefRegMap(@Self)^.&set := $00000080;
  49372. end;
  49373. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  49374. begin
  49375. pTDefRegMap(@Self)^.clr := $00000080;
  49376. end;
  49377. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  49378. begin
  49379. if thebits = 0 then
  49380. pTDefRegMap(@Self)^.clr := $00000080
  49381. else
  49382. pTDefRegMap(@Self)^.&set := $00000080;
  49383. end;
  49384. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  49385. begin
  49386. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49387. end;
  49388. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  49389. begin
  49390. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  49391. end;
  49392. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  49393. begin
  49394. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  49395. end;
  49396. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  49397. begin
  49398. pTDefRegMap(@Self)^.&set := $00000400;
  49399. end;
  49400. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  49401. begin
  49402. pTDefRegMap(@Self)^.clr := $00000400;
  49403. end;
  49404. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  49405. begin
  49406. if thebits = 0 then
  49407. pTDefRegMap(@Self)^.clr := $00000400
  49408. else
  49409. pTDefRegMap(@Self)^.&set := $00000400;
  49410. end;
  49411. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  49412. begin
  49413. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  49414. end;
  49415. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  49416. begin
  49417. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  49418. end;
  49419. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  49420. begin
  49421. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  49422. end;
  49423. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  49424. begin
  49425. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  49426. end;
  49427. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  49428. begin
  49429. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  49430. end;
  49431. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  49432. begin
  49433. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  49434. end;
  49435. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  49436. begin
  49437. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  49438. end;
  49439. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  49440. begin
  49441. pTDefRegMap(@Self)^.&set := $00400000;
  49442. end;
  49443. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  49444. begin
  49445. pTDefRegMap(@Self)^.clr := $00400000;
  49446. end;
  49447. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  49448. begin
  49449. if thebits = 0 then
  49450. pTDefRegMap(@Self)^.clr := $00400000
  49451. else
  49452. pTDefRegMap(@Self)^.&set := $00400000;
  49453. end;
  49454. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  49455. begin
  49456. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  49457. end;
  49458. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  49459. begin
  49460. pTDefRegMap(@Self)^.&set := $00800000;
  49461. end;
  49462. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  49463. begin
  49464. pTDefRegMap(@Self)^.clr := $00800000;
  49465. end;
  49466. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  49467. begin
  49468. if thebits = 0 then
  49469. pTDefRegMap(@Self)^.clr := $00800000
  49470. else
  49471. pTDefRegMap(@Self)^.&set := $00800000;
  49472. end;
  49473. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  49474. begin
  49475. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  49476. end;
  49477. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  49478. begin
  49479. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  49480. end;
  49481. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  49482. begin
  49483. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  49484. end;
  49485. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  49486. begin
  49487. pTDefRegMap(@Self)^.val := thebits;
  49488. end;
  49489. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  49490. begin
  49491. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49492. end;
  49493. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  49494. begin
  49495. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49496. end;
  49497. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  49498. begin
  49499. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49500. end;
  49501. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  49502. begin
  49503. pTDefRegMap(@Self)^.&set := $00000004;
  49504. end;
  49505. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  49506. begin
  49507. pTDefRegMap(@Self)^.clr := $00000004;
  49508. end;
  49509. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  49510. begin
  49511. if thebits = 0 then
  49512. pTDefRegMap(@Self)^.clr := $00000004
  49513. else
  49514. pTDefRegMap(@Self)^.&set := $00000004;
  49515. end;
  49516. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  49517. begin
  49518. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49519. end;
  49520. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  49521. begin
  49522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  49523. end;
  49524. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  49525. begin
  49526. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  49527. end;
  49528. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  49529. begin
  49530. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  49531. end;
  49532. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  49533. begin
  49534. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  49535. end;
  49536. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  49537. begin
  49538. pTDefRegMap(@Self)^.&set := $01000000;
  49539. end;
  49540. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  49541. begin
  49542. pTDefRegMap(@Self)^.clr := $01000000;
  49543. end;
  49544. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  49545. begin
  49546. if thebits = 0 then
  49547. pTDefRegMap(@Self)^.clr := $01000000
  49548. else
  49549. pTDefRegMap(@Self)^.&set := $01000000;
  49550. end;
  49551. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  49552. begin
  49553. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  49554. end;
  49555. procedure TDEVCFG_DEVCFG0.setCP; inline;
  49556. begin
  49557. pTDefRegMap(@Self)^.&set := $10000000;
  49558. end;
  49559. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  49560. begin
  49561. pTDefRegMap(@Self)^.clr := $10000000;
  49562. end;
  49563. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  49564. begin
  49565. if thebits = 0 then
  49566. pTDefRegMap(@Self)^.clr := $10000000
  49567. else
  49568. pTDefRegMap(@Self)^.&set := $10000000;
  49569. end;
  49570. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  49571. begin
  49572. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  49573. end;
  49574. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  49575. begin
  49576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49577. end;
  49578. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  49579. begin
  49580. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49581. end;
  49582. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  49583. begin
  49584. pTDefRegMap(@Self)^.val := thebits;
  49585. end;
  49586. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  49587. begin
  49588. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49589. end;
  49590. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  49591. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  49592. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  49593. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  49594. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  49595. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  49596. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  49597. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  49598. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  49599. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  49600. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  49601. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  49602. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  49603. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  49604. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  49605. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  49606. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  49607. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  49608. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  49609. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  49610. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  49611. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  49612. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  49613. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  49614. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  49615. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  49616. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  49617. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  49618. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  49619. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  49620. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  49621. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  49622. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  49623. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  49624. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  49625. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  49626. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  49627. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  49628. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  49629. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  49630. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  49631. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  49632. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  49633. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  49634. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  49635. procedure Vectors; assembler; nostackframe;
  49636. label interrupt_vectors;
  49637. asm
  49638. .section ".init.interrupt_vectors,\"ax\",@progbits"
  49639. interrupt_vectors:
  49640. j _CORE_TIMER_VECTOR_interrupt
  49641. nop
  49642. nop
  49643. nop
  49644. nop
  49645. nop
  49646. nop
  49647. nop
  49648. j _CORE_SOFTWARE_0_VECTOR_interrupt
  49649. nop
  49650. nop
  49651. nop
  49652. nop
  49653. nop
  49654. nop
  49655. nop
  49656. j _CORE_SOFTWARE_1_VECTOR_interrupt
  49657. nop
  49658. nop
  49659. nop
  49660. nop
  49661. nop
  49662. nop
  49663. nop
  49664. j _EXTERNAL_0_VECTOR_interrupt
  49665. nop
  49666. nop
  49667. nop
  49668. nop
  49669. nop
  49670. nop
  49671. nop
  49672. j _TIMER_1_VECTOR_interrupt
  49673. nop
  49674. nop
  49675. nop
  49676. nop
  49677. nop
  49678. nop
  49679. nop
  49680. j _INPUT_CAPTURE_1_VECTOR_interrupt
  49681. nop
  49682. nop
  49683. nop
  49684. nop
  49685. nop
  49686. nop
  49687. nop
  49688. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  49689. nop
  49690. nop
  49691. nop
  49692. nop
  49693. nop
  49694. nop
  49695. nop
  49696. j _EXTERNAL_1_VECTOR_interrupt
  49697. nop
  49698. nop
  49699. nop
  49700. nop
  49701. nop
  49702. nop
  49703. nop
  49704. j _TIMER_2_VECTOR_interrupt
  49705. nop
  49706. nop
  49707. nop
  49708. nop
  49709. nop
  49710. nop
  49711. nop
  49712. j _INPUT_CAPTURE_2_VECTOR_interrupt
  49713. nop
  49714. nop
  49715. nop
  49716. nop
  49717. nop
  49718. nop
  49719. nop
  49720. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  49721. nop
  49722. nop
  49723. nop
  49724. nop
  49725. nop
  49726. nop
  49727. nop
  49728. j _EXTERNAL_2_VECTOR_interrupt
  49729. nop
  49730. nop
  49731. nop
  49732. nop
  49733. nop
  49734. nop
  49735. nop
  49736. j _TIMER_3_VECTOR_interrupt
  49737. nop
  49738. nop
  49739. nop
  49740. nop
  49741. nop
  49742. nop
  49743. nop
  49744. j _INPUT_CAPTURE_3_VECTOR_interrupt
  49745. nop
  49746. nop
  49747. nop
  49748. nop
  49749. nop
  49750. nop
  49751. nop
  49752. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  49753. nop
  49754. nop
  49755. nop
  49756. nop
  49757. nop
  49758. nop
  49759. nop
  49760. j _EXTERNAL_3_VECTOR_interrupt
  49761. nop
  49762. nop
  49763. nop
  49764. nop
  49765. nop
  49766. nop
  49767. nop
  49768. j _TIMER_4_VECTOR_interrupt
  49769. nop
  49770. nop
  49771. nop
  49772. nop
  49773. nop
  49774. nop
  49775. nop
  49776. j _INPUT_CAPTURE_4_VECTOR_interrupt
  49777. nop
  49778. nop
  49779. nop
  49780. nop
  49781. nop
  49782. nop
  49783. nop
  49784. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  49785. nop
  49786. nop
  49787. nop
  49788. nop
  49789. nop
  49790. nop
  49791. nop
  49792. j _EXTERNAL_4_VECTOR_interrupt
  49793. nop
  49794. nop
  49795. nop
  49796. nop
  49797. nop
  49798. nop
  49799. nop
  49800. j _TIMER_5_VECTOR_interrupt
  49801. nop
  49802. nop
  49803. nop
  49804. nop
  49805. nop
  49806. nop
  49807. nop
  49808. j _INPUT_CAPTURE_5_VECTOR_interrupt
  49809. nop
  49810. nop
  49811. nop
  49812. nop
  49813. nop
  49814. nop
  49815. nop
  49816. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  49817. nop
  49818. nop
  49819. nop
  49820. nop
  49821. nop
  49822. nop
  49823. nop
  49824. j _ADC_VECTOR_interrupt
  49825. nop
  49826. nop
  49827. nop
  49828. nop
  49829. nop
  49830. nop
  49831. nop
  49832. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  49833. nop
  49834. nop
  49835. nop
  49836. nop
  49837. nop
  49838. nop
  49839. nop
  49840. j _RTCC_VECTOR_interrupt
  49841. nop
  49842. nop
  49843. nop
  49844. nop
  49845. nop
  49846. nop
  49847. nop
  49848. j _FCE_VECTOR_interrupt
  49849. nop
  49850. nop
  49851. nop
  49852. nop
  49853. nop
  49854. nop
  49855. nop
  49856. j _COMPARATOR_1_VECTOR_interrupt
  49857. nop
  49858. nop
  49859. nop
  49860. nop
  49861. nop
  49862. nop
  49863. nop
  49864. j _COMPARATOR_2_VECTOR_interrupt
  49865. nop
  49866. nop
  49867. nop
  49868. nop
  49869. nop
  49870. nop
  49871. nop
  49872. j _USB_1_VECTOR_interrupt
  49873. nop
  49874. nop
  49875. nop
  49876. nop
  49877. nop
  49878. nop
  49879. nop
  49880. j _SPI_1_VECTOR_interrupt
  49881. nop
  49882. nop
  49883. nop
  49884. nop
  49885. nop
  49886. nop
  49887. nop
  49888. j _UART_1_VECTOR_interrupt
  49889. nop
  49890. nop
  49891. nop
  49892. nop
  49893. nop
  49894. nop
  49895. nop
  49896. j _I2C_1_VECTOR_interrupt
  49897. nop
  49898. nop
  49899. nop
  49900. nop
  49901. nop
  49902. nop
  49903. nop
  49904. j _CHANGE_NOTICE_VECTOR_interrupt
  49905. nop
  49906. nop
  49907. nop
  49908. nop
  49909. nop
  49910. nop
  49911. nop
  49912. j _PMP_VECTOR_interrupt
  49913. nop
  49914. nop
  49915. nop
  49916. nop
  49917. nop
  49918. nop
  49919. nop
  49920. j _SPI_2_VECTOR_interrupt
  49921. nop
  49922. nop
  49923. nop
  49924. nop
  49925. nop
  49926. nop
  49927. nop
  49928. j _UART_2_VECTOR_interrupt
  49929. nop
  49930. nop
  49931. nop
  49932. nop
  49933. nop
  49934. nop
  49935. nop
  49936. j _I2C_2_VECTOR_interrupt
  49937. nop
  49938. nop
  49939. nop
  49940. nop
  49941. nop
  49942. nop
  49943. nop
  49944. j _UART_3_VECTOR_interrupt
  49945. nop
  49946. nop
  49947. nop
  49948. nop
  49949. nop
  49950. nop
  49951. nop
  49952. j _UART_4_VECTOR_interrupt
  49953. nop
  49954. nop
  49955. nop
  49956. nop
  49957. nop
  49958. nop
  49959. nop
  49960. nop
  49961. nop
  49962. nop
  49963. nop
  49964. nop
  49965. nop
  49966. nop
  49967. nop
  49968. j _CTMU_VECTOR_interrupt
  49969. nop
  49970. nop
  49971. nop
  49972. nop
  49973. nop
  49974. nop
  49975. nop
  49976. j _DMA_0_VECTOR_interrupt
  49977. nop
  49978. nop
  49979. nop
  49980. nop
  49981. nop
  49982. nop
  49983. nop
  49984. j _DMA_1_VECTOR_interrupt
  49985. nop
  49986. nop
  49987. nop
  49988. nop
  49989. nop
  49990. nop
  49991. nop
  49992. j _DMA_2_VECTOR_interrupt
  49993. nop
  49994. nop
  49995. nop
  49996. nop
  49997. nop
  49998. nop
  49999. nop
  50000. j _DMA_3_VECTOR_interrupt
  50001. nop
  50002. nop
  50003. nop
  50004. nop
  50005. nop
  50006. nop
  50007. nop
  50008. .weak _CORE_TIMER_VECTOR_interrupt
  50009. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  50010. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  50011. .weak _EXTERNAL_0_VECTOR_interrupt
  50012. .weak _TIMER_1_VECTOR_interrupt
  50013. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  50014. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  50015. .weak _EXTERNAL_1_VECTOR_interrupt
  50016. .weak _TIMER_2_VECTOR_interrupt
  50017. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  50018. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  50019. .weak _EXTERNAL_2_VECTOR_interrupt
  50020. .weak _TIMER_3_VECTOR_interrupt
  50021. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  50022. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  50023. .weak _EXTERNAL_3_VECTOR_interrupt
  50024. .weak _TIMER_4_VECTOR_interrupt
  50025. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  50026. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  50027. .weak _EXTERNAL_4_VECTOR_interrupt
  50028. .weak _TIMER_5_VECTOR_interrupt
  50029. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  50030. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  50031. .weak _ADC_VECTOR_interrupt
  50032. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  50033. .weak _RTCC_VECTOR_interrupt
  50034. .weak _FCE_VECTOR_interrupt
  50035. .weak _COMPARATOR_1_VECTOR_interrupt
  50036. .weak _COMPARATOR_2_VECTOR_interrupt
  50037. .weak _USB_1_VECTOR_interrupt
  50038. .weak _SPI_1_VECTOR_interrupt
  50039. .weak _UART_1_VECTOR_interrupt
  50040. .weak _I2C_1_VECTOR_interrupt
  50041. .weak _CHANGE_NOTICE_VECTOR_interrupt
  50042. .weak _PMP_VECTOR_interrupt
  50043. .weak _SPI_2_VECTOR_interrupt
  50044. .weak _UART_2_VECTOR_interrupt
  50045. .weak _I2C_2_VECTOR_interrupt
  50046. .weak _UART_3_VECTOR_interrupt
  50047. .weak _UART_4_VECTOR_interrupt
  50048. .weak _CTMU_VECTOR_interrupt
  50049. .weak _DMA_0_VECTOR_interrupt
  50050. .weak _DMA_1_VECTOR_interrupt
  50051. .weak _DMA_2_VECTOR_interrupt
  50052. .weak _DMA_3_VECTOR_interrupt
  50053. .text
  50054. end;
  50055. end.