pic32mx450f256l.pp 1.7 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688
  1. unit pic32mx450f256l;
  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. TUART5_U5MODE = record
  4528. private
  4529. function getABAUD : TBits_1; inline;
  4530. function getBRGH : TBits_1; inline;
  4531. function getIREN : TBits_1; inline;
  4532. function getLPBACK : TBits_1; inline;
  4533. function getON : TBits_1; inline;
  4534. function getPDSEL : TBits_2; inline;
  4535. function getPDSEL0 : TBits_1; inline;
  4536. function getPDSEL1 : TBits_1; inline;
  4537. function getRTSMD : TBits_1; inline;
  4538. function getRXINV : TBits_1; inline;
  4539. function getSIDL : TBits_1; inline;
  4540. function getSTSEL : TBits_1; inline;
  4541. function getUARTEN : TBits_1; inline;
  4542. function getUEN : TBits_2; inline;
  4543. function getUEN0 : TBits_1; inline;
  4544. function getUEN1 : TBits_1; inline;
  4545. function getUSIDL : TBits_1; inline;
  4546. function getWAKE : TBits_1; inline;
  4547. function getw : TBits_32; inline;
  4548. procedure setABAUD(thebits : TBits_1); inline;
  4549. procedure setBRGH(thebits : TBits_1); inline;
  4550. procedure setIREN(thebits : TBits_1); inline;
  4551. procedure setLPBACK(thebits : TBits_1); inline;
  4552. procedure setON(thebits : TBits_1); inline;
  4553. procedure setPDSEL(thebits : TBits_2); inline;
  4554. procedure setPDSEL0(thebits : TBits_1); inline;
  4555. procedure setPDSEL1(thebits : TBits_1); inline;
  4556. procedure setRTSMD(thebits : TBits_1); inline;
  4557. procedure setRXINV(thebits : TBits_1); inline;
  4558. procedure setSIDL(thebits : TBits_1); inline;
  4559. procedure setSTSEL(thebits : TBits_1); inline;
  4560. procedure setUARTEN(thebits : TBits_1); inline;
  4561. procedure setUEN(thebits : TBits_2); inline;
  4562. procedure setUEN0(thebits : TBits_1); inline;
  4563. procedure setUEN1(thebits : TBits_1); inline;
  4564. procedure setUSIDL(thebits : TBits_1); inline;
  4565. procedure setWAKE(thebits : TBits_1); inline;
  4566. procedure setw(thebits : TBits_32); inline;
  4567. public
  4568. procedure clearABAUD; inline;
  4569. procedure clearBRGH; inline;
  4570. procedure clearIREN; inline;
  4571. procedure clearLPBACK; inline;
  4572. procedure clearON; inline;
  4573. procedure clearPDSEL0; inline;
  4574. procedure clearPDSEL1; inline;
  4575. procedure clearRTSMD; inline;
  4576. procedure clearRXINV; inline;
  4577. procedure clearSIDL; inline;
  4578. procedure clearSTSEL; inline;
  4579. procedure clearUARTEN; inline;
  4580. procedure clearUEN0; inline;
  4581. procedure clearUEN1; inline;
  4582. procedure clearUSIDL; inline;
  4583. procedure clearWAKE; inline;
  4584. procedure setABAUD; inline;
  4585. procedure setBRGH; inline;
  4586. procedure setIREN; inline;
  4587. procedure setLPBACK; inline;
  4588. procedure setON; inline;
  4589. procedure setPDSEL0; inline;
  4590. procedure setPDSEL1; inline;
  4591. procedure setRTSMD; inline;
  4592. procedure setRXINV; inline;
  4593. procedure setSIDL; inline;
  4594. procedure setSTSEL; inline;
  4595. procedure setUARTEN; inline;
  4596. procedure setUEN0; inline;
  4597. procedure setUEN1; inline;
  4598. procedure setUSIDL; inline;
  4599. procedure setWAKE; inline;
  4600. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4601. property BRGH : TBits_1 read getBRGH write setBRGH;
  4602. property IREN : TBits_1 read getIREN write setIREN;
  4603. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4604. property ON : TBits_1 read getON write setON;
  4605. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4606. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4607. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4608. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4609. property RXINV : TBits_1 read getRXINV write setRXINV;
  4610. property SIDL : TBits_1 read getSIDL write setSIDL;
  4611. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4612. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4613. property UEN : TBits_2 read getUEN write setUEN;
  4614. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4615. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4616. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4617. property WAKE : TBits_1 read getWAKE write setWAKE;
  4618. property w : TBits_32 read getw write setw;
  4619. end;
  4620. TUART5_UabMODE = record
  4621. private
  4622. function getABAUD : TBits_1; inline;
  4623. function getBRGH : TBits_1; inline;
  4624. function getIREN : TBits_1; inline;
  4625. function getLPBACK : TBits_1; inline;
  4626. function getON : TBits_1; inline;
  4627. function getPDSEL : TBits_2; inline;
  4628. function getPDSEL0 : TBits_1; inline;
  4629. function getPDSEL1 : TBits_1; inline;
  4630. function getRTSMD : TBits_1; inline;
  4631. function getRXINV : TBits_1; inline;
  4632. function getSIDL : TBits_1; inline;
  4633. function getSTSEL : TBits_1; inline;
  4634. function getUARTEN : TBits_1; inline;
  4635. function getUEN : TBits_2; inline;
  4636. function getUEN0 : TBits_1; inline;
  4637. function getUEN1 : TBits_1; inline;
  4638. function getUSIDL : TBits_1; inline;
  4639. function getWAKE : TBits_1; inline;
  4640. function getw : TBits_32; inline;
  4641. procedure setABAUD(thebits : TBits_1); inline;
  4642. procedure setBRGH(thebits : TBits_1); inline;
  4643. procedure setIREN(thebits : TBits_1); inline;
  4644. procedure setLPBACK(thebits : TBits_1); inline;
  4645. procedure setON(thebits : TBits_1); inline;
  4646. procedure setPDSEL(thebits : TBits_2); inline;
  4647. procedure setPDSEL0(thebits : TBits_1); inline;
  4648. procedure setPDSEL1(thebits : TBits_1); inline;
  4649. procedure setRTSMD(thebits : TBits_1); inline;
  4650. procedure setRXINV(thebits : TBits_1); inline;
  4651. procedure setSIDL(thebits : TBits_1); inline;
  4652. procedure setSTSEL(thebits : TBits_1); inline;
  4653. procedure setUARTEN(thebits : TBits_1); inline;
  4654. procedure setUEN(thebits : TBits_2); inline;
  4655. procedure setUEN0(thebits : TBits_1); inline;
  4656. procedure setUEN1(thebits : TBits_1); inline;
  4657. procedure setUSIDL(thebits : TBits_1); inline;
  4658. procedure setWAKE(thebits : TBits_1); inline;
  4659. procedure setw(thebits : TBits_32); inline;
  4660. public
  4661. procedure clearABAUD; inline;
  4662. procedure clearBRGH; inline;
  4663. procedure clearIREN; inline;
  4664. procedure clearLPBACK; inline;
  4665. procedure clearON; inline;
  4666. procedure clearPDSEL0; inline;
  4667. procedure clearPDSEL1; inline;
  4668. procedure clearRTSMD; inline;
  4669. procedure clearRXINV; inline;
  4670. procedure clearSIDL; inline;
  4671. procedure clearSTSEL; inline;
  4672. procedure clearUARTEN; inline;
  4673. procedure clearUEN0; inline;
  4674. procedure clearUEN1; inline;
  4675. procedure clearUSIDL; inline;
  4676. procedure clearWAKE; inline;
  4677. procedure setABAUD; inline;
  4678. procedure setBRGH; inline;
  4679. procedure setIREN; inline;
  4680. procedure setLPBACK; inline;
  4681. procedure setON; inline;
  4682. procedure setPDSEL0; inline;
  4683. procedure setPDSEL1; inline;
  4684. procedure setRTSMD; inline;
  4685. procedure setRXINV; inline;
  4686. procedure setSIDL; inline;
  4687. procedure setSTSEL; inline;
  4688. procedure setUARTEN; inline;
  4689. procedure setUEN0; inline;
  4690. procedure setUEN1; inline;
  4691. procedure setUSIDL; inline;
  4692. procedure setWAKE; inline;
  4693. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4694. property BRGH : TBits_1 read getBRGH write setBRGH;
  4695. property IREN : TBits_1 read getIREN write setIREN;
  4696. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4697. property ON : TBits_1 read getON write setON;
  4698. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4699. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4700. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4701. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4702. property RXINV : TBits_1 read getRXINV write setRXINV;
  4703. property SIDL : TBits_1 read getSIDL write setSIDL;
  4704. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4705. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4706. property UEN : TBits_2 read getUEN write setUEN;
  4707. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4708. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4709. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4710. property WAKE : TBits_1 read getWAKE write setWAKE;
  4711. property w : TBits_32 read getw write setw;
  4712. end;
  4713. TUART5_U5STA = record
  4714. private
  4715. function getADDEN : TBits_1; inline;
  4716. function getADDR : TBits_8; inline;
  4717. function getADM_EN : TBits_1; inline;
  4718. function getFERR : TBits_1; inline;
  4719. function getOERR : TBits_1; inline;
  4720. function getPERR : TBits_1; inline;
  4721. function getRIDLE : TBits_1; inline;
  4722. function getTRMT : TBits_1; inline;
  4723. function getURXDA : TBits_1; inline;
  4724. function getURXEN : TBits_1; inline;
  4725. function getURXISEL : TBits_2; inline;
  4726. function getURXISEL0 : TBits_1; inline;
  4727. function getURXISEL1 : TBits_1; inline;
  4728. function getUTXBF : TBits_1; inline;
  4729. function getUTXBRK : TBits_1; inline;
  4730. function getUTXEN : TBits_1; inline;
  4731. function getUTXINV : TBits_1; inline;
  4732. function getUTXISEL : TBits_2; inline;
  4733. function getUTXISEL0 : TBits_1; inline;
  4734. function getUTXISEL1 : TBits_1; inline;
  4735. function getUTXSEL : TBits_2; inline;
  4736. function getw : TBits_32; inline;
  4737. procedure setADDEN(thebits : TBits_1); inline;
  4738. procedure setADDR(thebits : TBits_8); inline;
  4739. procedure setADM_EN(thebits : TBits_1); inline;
  4740. procedure setFERR(thebits : TBits_1); inline;
  4741. procedure setOERR(thebits : TBits_1); inline;
  4742. procedure setPERR(thebits : TBits_1); inline;
  4743. procedure setRIDLE(thebits : TBits_1); inline;
  4744. procedure setTRMT(thebits : TBits_1); inline;
  4745. procedure setURXDA(thebits : TBits_1); inline;
  4746. procedure setURXEN(thebits : TBits_1); inline;
  4747. procedure setURXISEL(thebits : TBits_2); inline;
  4748. procedure setURXISEL0(thebits : TBits_1); inline;
  4749. procedure setURXISEL1(thebits : TBits_1); inline;
  4750. procedure setUTXBF(thebits : TBits_1); inline;
  4751. procedure setUTXBRK(thebits : TBits_1); inline;
  4752. procedure setUTXEN(thebits : TBits_1); inline;
  4753. procedure setUTXINV(thebits : TBits_1); inline;
  4754. procedure setUTXISEL(thebits : TBits_2); inline;
  4755. procedure setUTXISEL0(thebits : TBits_1); inline;
  4756. procedure setUTXISEL1(thebits : TBits_1); inline;
  4757. procedure setUTXSEL(thebits : TBits_2); inline;
  4758. procedure setw(thebits : TBits_32); inline;
  4759. public
  4760. procedure clearADDEN; inline;
  4761. procedure clearADM_EN; inline;
  4762. procedure clearFERR; inline;
  4763. procedure clearOERR; inline;
  4764. procedure clearPERR; inline;
  4765. procedure clearRIDLE; inline;
  4766. procedure clearTRMT; inline;
  4767. procedure clearURXDA; inline;
  4768. procedure clearURXEN; inline;
  4769. procedure clearURXISEL0; inline;
  4770. procedure clearURXISEL1; inline;
  4771. procedure clearUTXBF; inline;
  4772. procedure clearUTXBRK; inline;
  4773. procedure clearUTXEN; inline;
  4774. procedure clearUTXINV; inline;
  4775. procedure clearUTXISEL0; inline;
  4776. procedure clearUTXISEL1; inline;
  4777. procedure setADDEN; inline;
  4778. procedure setADM_EN; inline;
  4779. procedure setFERR; inline;
  4780. procedure setOERR; inline;
  4781. procedure setPERR; inline;
  4782. procedure setRIDLE; inline;
  4783. procedure setTRMT; inline;
  4784. procedure setURXDA; inline;
  4785. procedure setURXEN; inline;
  4786. procedure setURXISEL0; inline;
  4787. procedure setURXISEL1; inline;
  4788. procedure setUTXBF; inline;
  4789. procedure setUTXBRK; inline;
  4790. procedure setUTXEN; inline;
  4791. procedure setUTXINV; inline;
  4792. procedure setUTXISEL0; inline;
  4793. procedure setUTXISEL1; inline;
  4794. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4795. property ADDR : TBits_8 read getADDR write setADDR;
  4796. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4797. property FERR : TBits_1 read getFERR write setFERR;
  4798. property OERR : TBits_1 read getOERR write setOERR;
  4799. property PERR : TBits_1 read getPERR write setPERR;
  4800. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4801. property TRMT : TBits_1 read getTRMT write setTRMT;
  4802. property URXDA : TBits_1 read getURXDA write setURXDA;
  4803. property URXEN : TBits_1 read getURXEN write setURXEN;
  4804. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4805. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4806. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4807. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4808. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4809. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4810. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4811. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4812. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4813. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4814. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4815. property w : TBits_32 read getw write setw;
  4816. end;
  4817. TUART5_UabSTA = record
  4818. private
  4819. function getADDEN : TBits_1; inline;
  4820. function getADDR : TBits_8; inline;
  4821. function getADM_EN : TBits_1; inline;
  4822. function getFERR : TBits_1; inline;
  4823. function getOERR : TBits_1; inline;
  4824. function getPERR : TBits_1; inline;
  4825. function getRIDLE : TBits_1; inline;
  4826. function getTRMT : TBits_1; inline;
  4827. function getURXDA : TBits_1; inline;
  4828. function getURXEN : TBits_1; inline;
  4829. function getURXISEL : TBits_2; inline;
  4830. function getURXISEL0 : TBits_1; inline;
  4831. function getURXISEL1 : TBits_1; inline;
  4832. function getUTXBF : TBits_1; inline;
  4833. function getUTXBRK : TBits_1; inline;
  4834. function getUTXEN : TBits_1; inline;
  4835. function getUTXINV : TBits_1; inline;
  4836. function getUTXISEL : TBits_2; inline;
  4837. function getUTXISEL0 : TBits_1; inline;
  4838. function getUTXISEL1 : TBits_1; inline;
  4839. function getUTXSEL : TBits_2; inline;
  4840. function getw : TBits_32; inline;
  4841. procedure setADDEN(thebits : TBits_1); inline;
  4842. procedure setADDR(thebits : TBits_8); inline;
  4843. procedure setADM_EN(thebits : TBits_1); inline;
  4844. procedure setFERR(thebits : TBits_1); inline;
  4845. procedure setOERR(thebits : TBits_1); inline;
  4846. procedure setPERR(thebits : TBits_1); inline;
  4847. procedure setRIDLE(thebits : TBits_1); inline;
  4848. procedure setTRMT(thebits : TBits_1); inline;
  4849. procedure setURXDA(thebits : TBits_1); inline;
  4850. procedure setURXEN(thebits : TBits_1); inline;
  4851. procedure setURXISEL(thebits : TBits_2); inline;
  4852. procedure setURXISEL0(thebits : TBits_1); inline;
  4853. procedure setURXISEL1(thebits : TBits_1); inline;
  4854. procedure setUTXBF(thebits : TBits_1); inline;
  4855. procedure setUTXBRK(thebits : TBits_1); inline;
  4856. procedure setUTXEN(thebits : TBits_1); inline;
  4857. procedure setUTXINV(thebits : TBits_1); inline;
  4858. procedure setUTXISEL(thebits : TBits_2); inline;
  4859. procedure setUTXISEL0(thebits : TBits_1); inline;
  4860. procedure setUTXISEL1(thebits : TBits_1); inline;
  4861. procedure setUTXSEL(thebits : TBits_2); inline;
  4862. procedure setw(thebits : TBits_32); inline;
  4863. public
  4864. procedure clearADDEN; inline;
  4865. procedure clearADM_EN; inline;
  4866. procedure clearFERR; inline;
  4867. procedure clearOERR; inline;
  4868. procedure clearPERR; inline;
  4869. procedure clearRIDLE; inline;
  4870. procedure clearTRMT; inline;
  4871. procedure clearURXDA; inline;
  4872. procedure clearURXEN; inline;
  4873. procedure clearURXISEL0; inline;
  4874. procedure clearURXISEL1; inline;
  4875. procedure clearUTXBF; inline;
  4876. procedure clearUTXBRK; inline;
  4877. procedure clearUTXEN; inline;
  4878. procedure clearUTXINV; inline;
  4879. procedure clearUTXISEL0; inline;
  4880. procedure clearUTXISEL1; inline;
  4881. procedure setADDEN; inline;
  4882. procedure setADM_EN; inline;
  4883. procedure setFERR; inline;
  4884. procedure setOERR; inline;
  4885. procedure setPERR; inline;
  4886. procedure setRIDLE; inline;
  4887. procedure setTRMT; inline;
  4888. procedure setURXDA; inline;
  4889. procedure setURXEN; inline;
  4890. procedure setURXISEL0; inline;
  4891. procedure setURXISEL1; inline;
  4892. procedure setUTXBF; inline;
  4893. procedure setUTXBRK; inline;
  4894. procedure setUTXEN; inline;
  4895. procedure setUTXINV; inline;
  4896. procedure setUTXISEL0; inline;
  4897. procedure setUTXISEL1; inline;
  4898. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4899. property ADDR : TBits_8 read getADDR write setADDR;
  4900. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4901. property FERR : TBits_1 read getFERR write setFERR;
  4902. property OERR : TBits_1 read getOERR write setOERR;
  4903. property PERR : TBits_1 read getPERR write setPERR;
  4904. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4905. property TRMT : TBits_1 read getTRMT write setTRMT;
  4906. property URXDA : TBits_1 read getURXDA write setURXDA;
  4907. property URXEN : TBits_1 read getURXEN write setURXEN;
  4908. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4909. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4910. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4911. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4912. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4913. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4914. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4915. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4916. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4917. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4918. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4919. property w : TBits_32 read getw write setw;
  4920. end;
  4921. type
  4922. TUART5Registers = record
  4923. U5MODEbits : TUART5_U5MODE;
  4924. U5MODE : longWord;
  4925. UabMODEbits : TUART5_UabMODE;
  4926. UabMODE : longWord;
  4927. U5MODECLR : longWord;
  4928. UabMODECLR : longWord;
  4929. U5MODESET : longWord;
  4930. UabMODESET : longWord;
  4931. U5MODEINV : longWord;
  4932. UabMODEINV : longWord;
  4933. U5STAbits : TUART5_U5STA;
  4934. U5STA : longWord;
  4935. UabSTAbits : TUART5_UabSTA;
  4936. UabSTA : longWord;
  4937. U5STACLR : longWord;
  4938. UabSTACLR : longWord;
  4939. U5STASET : longWord;
  4940. UabSTASET : longWord;
  4941. U5STAINV : longWord;
  4942. UabSTAINV : longWord;
  4943. U5TXREG : longWord;
  4944. UabTXREG : longWord;
  4945. U5RXREG : longWord;
  4946. UabRXREG : longWord;
  4947. U5BRG : longWord;
  4948. UabBRG : longWord;
  4949. U5BRGCLR : longWord;
  4950. UabBRGCLR : longWord;
  4951. U5BRGSET : longWord;
  4952. UabBRGSET : longWord;
  4953. U5BRGINV : longWord;
  4954. UabBRGINV : longWord;
  4955. end;
  4956. TPMP_PMCON = record
  4957. private
  4958. function getADRMUX : TBits_2; inline;
  4959. function getADRMUX0 : TBits_1; inline;
  4960. function getADRMUX1 : TBits_1; inline;
  4961. function getALP : TBits_1; inline;
  4962. function getCS1P : TBits_1; inline;
  4963. function getCS2P : TBits_1; inline;
  4964. function getCSF : TBits_2; inline;
  4965. function getCSF0 : TBits_1; inline;
  4966. function getCSF1 : TBits_1; inline;
  4967. function getON : TBits_1; inline;
  4968. function getPMPEN : TBits_1; inline;
  4969. function getPMPTTL : TBits_1; inline;
  4970. function getPSIDL : TBits_1; inline;
  4971. function getPTRDEN : TBits_1; inline;
  4972. function getPTWREN : TBits_1; inline;
  4973. function getRDSP : TBits_1; inline;
  4974. function getSIDL : TBits_1; inline;
  4975. function getWRSP : TBits_1; inline;
  4976. function getw : TBits_32; inline;
  4977. procedure setADRMUX(thebits : TBits_2); inline;
  4978. procedure setADRMUX0(thebits : TBits_1); inline;
  4979. procedure setADRMUX1(thebits : TBits_1); inline;
  4980. procedure setALP(thebits : TBits_1); inline;
  4981. procedure setCS1P(thebits : TBits_1); inline;
  4982. procedure setCS2P(thebits : TBits_1); inline;
  4983. procedure setCSF(thebits : TBits_2); inline;
  4984. procedure setCSF0(thebits : TBits_1); inline;
  4985. procedure setCSF1(thebits : TBits_1); inline;
  4986. procedure setON(thebits : TBits_1); inline;
  4987. procedure setPMPEN(thebits : TBits_1); inline;
  4988. procedure setPMPTTL(thebits : TBits_1); inline;
  4989. procedure setPSIDL(thebits : TBits_1); inline;
  4990. procedure setPTRDEN(thebits : TBits_1); inline;
  4991. procedure setPTWREN(thebits : TBits_1); inline;
  4992. procedure setRDSP(thebits : TBits_1); inline;
  4993. procedure setSIDL(thebits : TBits_1); inline;
  4994. procedure setWRSP(thebits : TBits_1); inline;
  4995. procedure setw(thebits : TBits_32); inline;
  4996. public
  4997. procedure clearADRMUX0; inline;
  4998. procedure clearADRMUX1; inline;
  4999. procedure clearALP; inline;
  5000. procedure clearCS1P; inline;
  5001. procedure clearCS2P; inline;
  5002. procedure clearCSF0; inline;
  5003. procedure clearCSF1; inline;
  5004. procedure clearON; inline;
  5005. procedure clearPMPEN; inline;
  5006. procedure clearPMPTTL; inline;
  5007. procedure clearPSIDL; inline;
  5008. procedure clearPTRDEN; inline;
  5009. procedure clearPTWREN; inline;
  5010. procedure clearRDSP; inline;
  5011. procedure clearSIDL; inline;
  5012. procedure clearWRSP; inline;
  5013. procedure setADRMUX0; inline;
  5014. procedure setADRMUX1; inline;
  5015. procedure setALP; inline;
  5016. procedure setCS1P; inline;
  5017. procedure setCS2P; inline;
  5018. procedure setCSF0; inline;
  5019. procedure setCSF1; inline;
  5020. procedure setON; inline;
  5021. procedure setPMPEN; inline;
  5022. procedure setPMPTTL; inline;
  5023. procedure setPSIDL; inline;
  5024. procedure setPTRDEN; inline;
  5025. procedure setPTWREN; inline;
  5026. procedure setRDSP; inline;
  5027. procedure setSIDL; inline;
  5028. procedure setWRSP; inline;
  5029. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  5030. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  5031. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  5032. property ALP : TBits_1 read getALP write setALP;
  5033. property CS1P : TBits_1 read getCS1P write setCS1P;
  5034. property CS2P : TBits_1 read getCS2P write setCS2P;
  5035. property CSF : TBits_2 read getCSF write setCSF;
  5036. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  5037. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  5038. property ON : TBits_1 read getON write setON;
  5039. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  5040. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  5041. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  5042. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  5043. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  5044. property RDSP : TBits_1 read getRDSP write setRDSP;
  5045. property SIDL : TBits_1 read getSIDL write setSIDL;
  5046. property WRSP : TBits_1 read getWRSP write setWRSP;
  5047. property w : TBits_32 read getw write setw;
  5048. end;
  5049. TPMP_PMMODE = record
  5050. private
  5051. function getBUSY : TBits_1; inline;
  5052. function getINCM : TBits_2; inline;
  5053. function getINCM0 : TBits_1; inline;
  5054. function getINCM1 : TBits_1; inline;
  5055. function getIRQM : TBits_2; inline;
  5056. function getIRQM0 : TBits_1; inline;
  5057. function getIRQM1 : TBits_1; inline;
  5058. function getMODE : TBits_2; inline;
  5059. function getMODE0 : TBits_1; inline;
  5060. function getMODE1 : TBits_1; inline;
  5061. function getMODE16 : TBits_1; inline;
  5062. function getWAITB : TBits_2; inline;
  5063. function getWAITB0 : TBits_1; inline;
  5064. function getWAITB1 : TBits_1; inline;
  5065. function getWAITE : TBits_2; inline;
  5066. function getWAITE0 : TBits_1; inline;
  5067. function getWAITE1 : TBits_1; inline;
  5068. function getWAITM : TBits_4; inline;
  5069. function getWAITM0 : TBits_1; inline;
  5070. function getWAITM1 : TBits_1; inline;
  5071. function getWAITM2 : TBits_1; inline;
  5072. function getWAITM3 : TBits_1; inline;
  5073. function getw : TBits_32; inline;
  5074. procedure setBUSY(thebits : TBits_1); inline;
  5075. procedure setINCM(thebits : TBits_2); inline;
  5076. procedure setINCM0(thebits : TBits_1); inline;
  5077. procedure setINCM1(thebits : TBits_1); inline;
  5078. procedure setIRQM(thebits : TBits_2); inline;
  5079. procedure setIRQM0(thebits : TBits_1); inline;
  5080. procedure setIRQM1(thebits : TBits_1); inline;
  5081. procedure setMODE(thebits : TBits_2); inline;
  5082. procedure setMODE0(thebits : TBits_1); inline;
  5083. procedure setMODE1(thebits : TBits_1); inline;
  5084. procedure setMODE16(thebits : TBits_1); inline;
  5085. procedure setWAITB(thebits : TBits_2); inline;
  5086. procedure setWAITB0(thebits : TBits_1); inline;
  5087. procedure setWAITB1(thebits : TBits_1); inline;
  5088. procedure setWAITE(thebits : TBits_2); inline;
  5089. procedure setWAITE0(thebits : TBits_1); inline;
  5090. procedure setWAITE1(thebits : TBits_1); inline;
  5091. procedure setWAITM(thebits : TBits_4); inline;
  5092. procedure setWAITM0(thebits : TBits_1); inline;
  5093. procedure setWAITM1(thebits : TBits_1); inline;
  5094. procedure setWAITM2(thebits : TBits_1); inline;
  5095. procedure setWAITM3(thebits : TBits_1); inline;
  5096. procedure setw(thebits : TBits_32); inline;
  5097. public
  5098. procedure clearBUSY; inline;
  5099. procedure clearINCM0; inline;
  5100. procedure clearINCM1; inline;
  5101. procedure clearIRQM0; inline;
  5102. procedure clearIRQM1; inline;
  5103. procedure clearMODE0; inline;
  5104. procedure clearMODE16; inline;
  5105. procedure clearMODE1; inline;
  5106. procedure clearWAITB0; inline;
  5107. procedure clearWAITB1; inline;
  5108. procedure clearWAITE0; inline;
  5109. procedure clearWAITE1; inline;
  5110. procedure clearWAITM0; inline;
  5111. procedure clearWAITM1; inline;
  5112. procedure clearWAITM2; inline;
  5113. procedure clearWAITM3; inline;
  5114. procedure setBUSY; inline;
  5115. procedure setINCM0; inline;
  5116. procedure setINCM1; inline;
  5117. procedure setIRQM0; inline;
  5118. procedure setIRQM1; inline;
  5119. procedure setMODE0; inline;
  5120. procedure setMODE16; inline;
  5121. procedure setMODE1; inline;
  5122. procedure setWAITB0; inline;
  5123. procedure setWAITB1; inline;
  5124. procedure setWAITE0; inline;
  5125. procedure setWAITE1; inline;
  5126. procedure setWAITM0; inline;
  5127. procedure setWAITM1; inline;
  5128. procedure setWAITM2; inline;
  5129. procedure setWAITM3; inline;
  5130. property BUSY : TBits_1 read getBUSY write setBUSY;
  5131. property INCM : TBits_2 read getINCM write setINCM;
  5132. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  5133. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  5134. property IRQM : TBits_2 read getIRQM write setIRQM;
  5135. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  5136. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  5137. property MODE : TBits_2 read getMODE write setMODE;
  5138. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  5139. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  5140. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  5141. property WAITB : TBits_2 read getWAITB write setWAITB;
  5142. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  5143. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  5144. property WAITE : TBits_2 read getWAITE write setWAITE;
  5145. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  5146. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  5147. property WAITM : TBits_4 read getWAITM write setWAITM;
  5148. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  5149. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  5150. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  5151. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  5152. property w : TBits_32 read getw write setw;
  5153. end;
  5154. TPMP_PMADDR = record
  5155. private
  5156. function getADDR : TBits_14; inline;
  5157. function getCS : TBits_2; inline;
  5158. function getCS1 : TBits_1; inline;
  5159. function getCS2 : TBits_1; inline;
  5160. function getPADDR : TBits_14; inline;
  5161. function getw : TBits_32; inline;
  5162. procedure setADDR(thebits : TBits_14); inline;
  5163. procedure setCS(thebits : TBits_2); inline;
  5164. procedure setCS1(thebits : TBits_1); inline;
  5165. procedure setCS2(thebits : TBits_1); inline;
  5166. procedure setPADDR(thebits : TBits_14); inline;
  5167. procedure setw(thebits : TBits_32); inline;
  5168. public
  5169. procedure clearCS1; inline;
  5170. procedure clearCS2; inline;
  5171. procedure setCS1; inline;
  5172. procedure setCS2; inline;
  5173. property ADDR : TBits_14 read getADDR write setADDR;
  5174. property CS : TBits_2 read getCS write setCS;
  5175. property CS1 : TBits_1 read getCS1 write setCS1;
  5176. property CS2 : TBits_1 read getCS2 write setCS2;
  5177. property PADDR : TBits_14 read getPADDR write setPADDR;
  5178. property w : TBits_32 read getw write setw;
  5179. end;
  5180. TPMP_PMDOUT = record
  5181. private
  5182. function getDATAOUT : TBits_32; inline;
  5183. function getw : TBits_32; inline;
  5184. procedure setDATAOUT(thebits : TBits_32); inline;
  5185. procedure setw(thebits : TBits_32); inline;
  5186. public
  5187. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  5188. property w : TBits_32 read getw write setw;
  5189. end;
  5190. TPMP_PMDIN = record
  5191. private
  5192. function getDATAIN : TBits_32; inline;
  5193. function getw : TBits_32; inline;
  5194. procedure setDATAIN(thebits : TBits_32); inline;
  5195. procedure setw(thebits : TBits_32); inline;
  5196. public
  5197. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  5198. property w : TBits_32 read getw write setw;
  5199. end;
  5200. TPMP_PMAEN = record
  5201. private
  5202. function getPTEN : TBits_16; inline;
  5203. function getPTEN0 : TBits_1; inline;
  5204. function getPTEN1 : TBits_1; inline;
  5205. function getPTEN10 : TBits_1; inline;
  5206. function getPTEN11 : TBits_1; inline;
  5207. function getPTEN12 : TBits_1; inline;
  5208. function getPTEN13 : TBits_1; inline;
  5209. function getPTEN14 : TBits_1; inline;
  5210. function getPTEN15 : TBits_1; inline;
  5211. function getPTEN2 : TBits_1; inline;
  5212. function getPTEN3 : TBits_1; inline;
  5213. function getPTEN4 : TBits_1; inline;
  5214. function getPTEN5 : TBits_1; inline;
  5215. function getPTEN6 : TBits_1; inline;
  5216. function getPTEN7 : TBits_1; inline;
  5217. function getPTEN8 : TBits_1; inline;
  5218. function getPTEN9 : TBits_1; inline;
  5219. function getw : TBits_32; inline;
  5220. procedure setPTEN(thebits : TBits_16); inline;
  5221. procedure setPTEN0(thebits : TBits_1); inline;
  5222. procedure setPTEN1(thebits : TBits_1); inline;
  5223. procedure setPTEN10(thebits : TBits_1); inline;
  5224. procedure setPTEN11(thebits : TBits_1); inline;
  5225. procedure setPTEN12(thebits : TBits_1); inline;
  5226. procedure setPTEN13(thebits : TBits_1); inline;
  5227. procedure setPTEN14(thebits : TBits_1); inline;
  5228. procedure setPTEN15(thebits : TBits_1); inline;
  5229. procedure setPTEN2(thebits : TBits_1); inline;
  5230. procedure setPTEN3(thebits : TBits_1); inline;
  5231. procedure setPTEN4(thebits : TBits_1); inline;
  5232. procedure setPTEN5(thebits : TBits_1); inline;
  5233. procedure setPTEN6(thebits : TBits_1); inline;
  5234. procedure setPTEN7(thebits : TBits_1); inline;
  5235. procedure setPTEN8(thebits : TBits_1); inline;
  5236. procedure setPTEN9(thebits : TBits_1); inline;
  5237. procedure setw(thebits : TBits_32); inline;
  5238. public
  5239. procedure clearPTEN0; inline;
  5240. procedure clearPTEN10; inline;
  5241. procedure clearPTEN11; inline;
  5242. procedure clearPTEN12; inline;
  5243. procedure clearPTEN13; inline;
  5244. procedure clearPTEN14; inline;
  5245. procedure clearPTEN15; inline;
  5246. procedure clearPTEN1; inline;
  5247. procedure clearPTEN2; inline;
  5248. procedure clearPTEN3; inline;
  5249. procedure clearPTEN4; inline;
  5250. procedure clearPTEN5; inline;
  5251. procedure clearPTEN6; inline;
  5252. procedure clearPTEN7; inline;
  5253. procedure clearPTEN8; inline;
  5254. procedure clearPTEN9; inline;
  5255. procedure setPTEN0; inline;
  5256. procedure setPTEN10; inline;
  5257. procedure setPTEN11; inline;
  5258. procedure setPTEN12; inline;
  5259. procedure setPTEN13; inline;
  5260. procedure setPTEN14; inline;
  5261. procedure setPTEN15; inline;
  5262. procedure setPTEN1; inline;
  5263. procedure setPTEN2; inline;
  5264. procedure setPTEN3; inline;
  5265. procedure setPTEN4; inline;
  5266. procedure setPTEN5; inline;
  5267. procedure setPTEN6; inline;
  5268. procedure setPTEN7; inline;
  5269. procedure setPTEN8; inline;
  5270. procedure setPTEN9; inline;
  5271. property PTEN : TBits_16 read getPTEN write setPTEN;
  5272. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  5273. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  5274. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  5275. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  5276. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  5277. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  5278. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  5279. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  5280. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  5281. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  5282. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  5283. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  5284. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  5285. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  5286. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  5287. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  5288. property w : TBits_32 read getw write setw;
  5289. end;
  5290. TPMP_PMSTAT = record
  5291. private
  5292. function getIB0F : TBits_1; inline;
  5293. function getIB1F : TBits_1; inline;
  5294. function getIB2F : TBits_1; inline;
  5295. function getIB3F : TBits_1; inline;
  5296. function getIBF : TBits_1; inline;
  5297. function getIBOV : TBits_1; inline;
  5298. function getOB0E : TBits_1; inline;
  5299. function getOB1E : TBits_1; inline;
  5300. function getOB2E : TBits_1; inline;
  5301. function getOB3E : TBits_1; inline;
  5302. function getOBE : TBits_1; inline;
  5303. function getOBUF : TBits_1; inline;
  5304. function getw : TBits_32; inline;
  5305. procedure setIB0F(thebits : TBits_1); inline;
  5306. procedure setIB1F(thebits : TBits_1); inline;
  5307. procedure setIB2F(thebits : TBits_1); inline;
  5308. procedure setIB3F(thebits : TBits_1); inline;
  5309. procedure setIBF(thebits : TBits_1); inline;
  5310. procedure setIBOV(thebits : TBits_1); inline;
  5311. procedure setOB0E(thebits : TBits_1); inline;
  5312. procedure setOB1E(thebits : TBits_1); inline;
  5313. procedure setOB2E(thebits : TBits_1); inline;
  5314. procedure setOB3E(thebits : TBits_1); inline;
  5315. procedure setOBE(thebits : TBits_1); inline;
  5316. procedure setOBUF(thebits : TBits_1); inline;
  5317. procedure setw(thebits : TBits_32); inline;
  5318. public
  5319. procedure clearIB0F; inline;
  5320. procedure clearIB1F; inline;
  5321. procedure clearIB2F; inline;
  5322. procedure clearIB3F; inline;
  5323. procedure clearIBF; inline;
  5324. procedure clearIBOV; inline;
  5325. procedure clearOB0E; inline;
  5326. procedure clearOB1E; inline;
  5327. procedure clearOB2E; inline;
  5328. procedure clearOB3E; inline;
  5329. procedure clearOBE; inline;
  5330. procedure clearOBUF; inline;
  5331. procedure setIB0F; inline;
  5332. procedure setIB1F; inline;
  5333. procedure setIB2F; inline;
  5334. procedure setIB3F; inline;
  5335. procedure setIBF; inline;
  5336. procedure setIBOV; inline;
  5337. procedure setOB0E; inline;
  5338. procedure setOB1E; inline;
  5339. procedure setOB2E; inline;
  5340. procedure setOB3E; inline;
  5341. procedure setOBE; inline;
  5342. procedure setOBUF; inline;
  5343. property IB0F : TBits_1 read getIB0F write setIB0F;
  5344. property IB1F : TBits_1 read getIB1F write setIB1F;
  5345. property IB2F : TBits_1 read getIB2F write setIB2F;
  5346. property IB3F : TBits_1 read getIB3F write setIB3F;
  5347. property IBF : TBits_1 read getIBF write setIBF;
  5348. property IBOV : TBits_1 read getIBOV write setIBOV;
  5349. property OB0E : TBits_1 read getOB0E write setOB0E;
  5350. property OB1E : TBits_1 read getOB1E write setOB1E;
  5351. property OB2E : TBits_1 read getOB2E write setOB2E;
  5352. property OB3E : TBits_1 read getOB3E write setOB3E;
  5353. property OBE : TBits_1 read getOBE write setOBE;
  5354. property OBUF : TBits_1 read getOBUF write setOBUF;
  5355. property w : TBits_32 read getw write setw;
  5356. end;
  5357. type
  5358. TPMPRegisters = record
  5359. PMCONbits : TPMP_PMCON;
  5360. PMCON : longWord;
  5361. PMCONCLR : longWord;
  5362. PMCONSET : longWord;
  5363. PMCONINV : longWord;
  5364. PMMODEbits : TPMP_PMMODE;
  5365. PMMODE : longWord;
  5366. PMMODECLR : longWord;
  5367. PMMODESET : longWord;
  5368. PMMODEINV : longWord;
  5369. PMADDRbits : TPMP_PMADDR;
  5370. PMADDR : longWord;
  5371. PMADDRCLR : longWord;
  5372. PMADDRSET : longWord;
  5373. PMADDRINV : longWord;
  5374. PMDOUTbits : TPMP_PMDOUT;
  5375. PMDOUT : longWord;
  5376. PMDOUTCLR : longWord;
  5377. PMDOUTSET : longWord;
  5378. PMDOUTINV : longWord;
  5379. PMDINbits : TPMP_PMDIN;
  5380. PMDIN : longWord;
  5381. PMDINCLR : longWord;
  5382. PMDINSET : longWord;
  5383. PMDININV : longWord;
  5384. PMAENbits : TPMP_PMAEN;
  5385. PMAEN : longWord;
  5386. PMAENCLR : longWord;
  5387. PMAENSET : longWord;
  5388. PMAENINV : longWord;
  5389. PMSTATbits : TPMP_PMSTAT;
  5390. PMSTAT : longWord;
  5391. PMSTATCLR : longWord;
  5392. PMSTATSET : longWord;
  5393. PMSTATINV : longWord;
  5394. end;
  5395. TADC10_AD1CON1 = record
  5396. private
  5397. function getADON : TBits_1; inline;
  5398. function getADSIDL : TBits_1; inline;
  5399. function getASAM : TBits_1; inline;
  5400. function getCLRASAM : TBits_1; inline;
  5401. function getDONE : TBits_1; inline;
  5402. function getFORM : TBits_3; inline;
  5403. function getFORM0 : TBits_1; inline;
  5404. function getFORM1 : TBits_1; inline;
  5405. function getFORM2 : TBits_1; inline;
  5406. function getON : TBits_1; inline;
  5407. function getSAMP : TBits_1; inline;
  5408. function getSIDL : TBits_1; inline;
  5409. function getSSRC : TBits_3; inline;
  5410. function getSSRC0 : TBits_1; inline;
  5411. function getSSRC1 : TBits_1; inline;
  5412. function getSSRC2 : TBits_1; inline;
  5413. function getw : TBits_32; inline;
  5414. procedure setADON(thebits : TBits_1); inline;
  5415. procedure setADSIDL(thebits : TBits_1); inline;
  5416. procedure setASAM(thebits : TBits_1); inline;
  5417. procedure setCLRASAM(thebits : TBits_1); inline;
  5418. procedure setDONE(thebits : TBits_1); inline;
  5419. procedure setFORM(thebits : TBits_3); inline;
  5420. procedure setFORM0(thebits : TBits_1); inline;
  5421. procedure setFORM1(thebits : TBits_1); inline;
  5422. procedure setFORM2(thebits : TBits_1); inline;
  5423. procedure setON(thebits : TBits_1); inline;
  5424. procedure setSAMP(thebits : TBits_1); inline;
  5425. procedure setSIDL(thebits : TBits_1); inline;
  5426. procedure setSSRC(thebits : TBits_3); inline;
  5427. procedure setSSRC0(thebits : TBits_1); inline;
  5428. procedure setSSRC1(thebits : TBits_1); inline;
  5429. procedure setSSRC2(thebits : TBits_1); inline;
  5430. procedure setw(thebits : TBits_32); inline;
  5431. public
  5432. procedure clearADON; inline;
  5433. procedure clearADSIDL; inline;
  5434. procedure clearASAM; inline;
  5435. procedure clearCLRASAM; inline;
  5436. procedure clearDONE; inline;
  5437. procedure clearFORM0; inline;
  5438. procedure clearFORM1; inline;
  5439. procedure clearFORM2; inline;
  5440. procedure clearON; inline;
  5441. procedure clearSAMP; inline;
  5442. procedure clearSIDL; inline;
  5443. procedure clearSSRC0; inline;
  5444. procedure clearSSRC1; inline;
  5445. procedure clearSSRC2; inline;
  5446. procedure setADON; inline;
  5447. procedure setADSIDL; inline;
  5448. procedure setASAM; inline;
  5449. procedure setCLRASAM; inline;
  5450. procedure setDONE; inline;
  5451. procedure setFORM0; inline;
  5452. procedure setFORM1; inline;
  5453. procedure setFORM2; inline;
  5454. procedure setON; inline;
  5455. procedure setSAMP; inline;
  5456. procedure setSIDL; inline;
  5457. procedure setSSRC0; inline;
  5458. procedure setSSRC1; inline;
  5459. procedure setSSRC2; inline;
  5460. property ADON : TBits_1 read getADON write setADON;
  5461. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  5462. property ASAM : TBits_1 read getASAM write setASAM;
  5463. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  5464. property DONE : TBits_1 read getDONE write setDONE;
  5465. property FORM : TBits_3 read getFORM write setFORM;
  5466. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  5467. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  5468. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  5469. property ON : TBits_1 read getON write setON;
  5470. property SAMP : TBits_1 read getSAMP write setSAMP;
  5471. property SIDL : TBits_1 read getSIDL write setSIDL;
  5472. property SSRC : TBits_3 read getSSRC write setSSRC;
  5473. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  5474. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  5475. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  5476. property w : TBits_32 read getw write setw;
  5477. end;
  5478. TADC10_AD1CON2 = record
  5479. private
  5480. function getALTS : TBits_1; inline;
  5481. function getBUFM : TBits_1; inline;
  5482. function getBUFS : TBits_1; inline;
  5483. function getCSCNA : TBits_1; inline;
  5484. function getOFFCAL : TBits_1; inline;
  5485. function getSMPI : TBits_4; inline;
  5486. function getSMPI0 : TBits_1; inline;
  5487. function getSMPI1 : TBits_1; inline;
  5488. function getSMPI2 : TBits_1; inline;
  5489. function getSMPI3 : TBits_1; inline;
  5490. function getVCFG : TBits_3; inline;
  5491. function getVCFG0 : TBits_1; inline;
  5492. function getVCFG1 : TBits_1; inline;
  5493. function getVCFG2 : TBits_1; inline;
  5494. function getw : TBits_32; inline;
  5495. procedure setALTS(thebits : TBits_1); inline;
  5496. procedure setBUFM(thebits : TBits_1); inline;
  5497. procedure setBUFS(thebits : TBits_1); inline;
  5498. procedure setCSCNA(thebits : TBits_1); inline;
  5499. procedure setOFFCAL(thebits : TBits_1); inline;
  5500. procedure setSMPI(thebits : TBits_4); inline;
  5501. procedure setSMPI0(thebits : TBits_1); inline;
  5502. procedure setSMPI1(thebits : TBits_1); inline;
  5503. procedure setSMPI2(thebits : TBits_1); inline;
  5504. procedure setSMPI3(thebits : TBits_1); inline;
  5505. procedure setVCFG(thebits : TBits_3); inline;
  5506. procedure setVCFG0(thebits : TBits_1); inline;
  5507. procedure setVCFG1(thebits : TBits_1); inline;
  5508. procedure setVCFG2(thebits : TBits_1); inline;
  5509. procedure setw(thebits : TBits_32); inline;
  5510. public
  5511. procedure clearALTS; inline;
  5512. procedure clearBUFM; inline;
  5513. procedure clearBUFS; inline;
  5514. procedure clearCSCNA; inline;
  5515. procedure clearOFFCAL; inline;
  5516. procedure clearSMPI0; inline;
  5517. procedure clearSMPI1; inline;
  5518. procedure clearSMPI2; inline;
  5519. procedure clearSMPI3; inline;
  5520. procedure clearVCFG0; inline;
  5521. procedure clearVCFG1; inline;
  5522. procedure clearVCFG2; inline;
  5523. procedure setALTS; inline;
  5524. procedure setBUFM; inline;
  5525. procedure setBUFS; inline;
  5526. procedure setCSCNA; inline;
  5527. procedure setOFFCAL; inline;
  5528. procedure setSMPI0; inline;
  5529. procedure setSMPI1; inline;
  5530. procedure setSMPI2; inline;
  5531. procedure setSMPI3; inline;
  5532. procedure setVCFG0; inline;
  5533. procedure setVCFG1; inline;
  5534. procedure setVCFG2; inline;
  5535. property ALTS : TBits_1 read getALTS write setALTS;
  5536. property BUFM : TBits_1 read getBUFM write setBUFM;
  5537. property BUFS : TBits_1 read getBUFS write setBUFS;
  5538. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  5539. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  5540. property SMPI : TBits_4 read getSMPI write setSMPI;
  5541. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  5542. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  5543. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  5544. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  5545. property VCFG : TBits_3 read getVCFG write setVCFG;
  5546. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  5547. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  5548. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  5549. property w : TBits_32 read getw write setw;
  5550. end;
  5551. TADC10_AD1CON3 = record
  5552. private
  5553. function getADCS : TBits_8; inline;
  5554. function getADCS0 : TBits_1; inline;
  5555. function getADCS1 : TBits_1; inline;
  5556. function getADCS2 : TBits_1; inline;
  5557. function getADCS3 : TBits_1; inline;
  5558. function getADCS4 : TBits_1; inline;
  5559. function getADCS5 : TBits_1; inline;
  5560. function getADCS6 : TBits_1; inline;
  5561. function getADCS7 : TBits_1; inline;
  5562. function getADRC : TBits_1; inline;
  5563. function getSAMC : TBits_5; inline;
  5564. function getSAMC0 : TBits_1; inline;
  5565. function getSAMC1 : TBits_1; inline;
  5566. function getSAMC2 : TBits_1; inline;
  5567. function getSAMC3 : TBits_1; inline;
  5568. function getSAMC4 : TBits_1; inline;
  5569. function getw : TBits_32; inline;
  5570. procedure setADCS(thebits : TBits_8); inline;
  5571. procedure setADCS0(thebits : TBits_1); inline;
  5572. procedure setADCS1(thebits : TBits_1); inline;
  5573. procedure setADCS2(thebits : TBits_1); inline;
  5574. procedure setADCS3(thebits : TBits_1); inline;
  5575. procedure setADCS4(thebits : TBits_1); inline;
  5576. procedure setADCS5(thebits : TBits_1); inline;
  5577. procedure setADCS6(thebits : TBits_1); inline;
  5578. procedure setADCS7(thebits : TBits_1); inline;
  5579. procedure setADRC(thebits : TBits_1); inline;
  5580. procedure setSAMC(thebits : TBits_5); inline;
  5581. procedure setSAMC0(thebits : TBits_1); inline;
  5582. procedure setSAMC1(thebits : TBits_1); inline;
  5583. procedure setSAMC2(thebits : TBits_1); inline;
  5584. procedure setSAMC3(thebits : TBits_1); inline;
  5585. procedure setSAMC4(thebits : TBits_1); inline;
  5586. procedure setw(thebits : TBits_32); inline;
  5587. public
  5588. procedure clearADCS0; inline;
  5589. procedure clearADCS1; inline;
  5590. procedure clearADCS2; inline;
  5591. procedure clearADCS3; inline;
  5592. procedure clearADCS4; inline;
  5593. procedure clearADCS5; inline;
  5594. procedure clearADCS6; inline;
  5595. procedure clearADCS7; inline;
  5596. procedure clearADRC; inline;
  5597. procedure clearSAMC0; inline;
  5598. procedure clearSAMC1; inline;
  5599. procedure clearSAMC2; inline;
  5600. procedure clearSAMC3; inline;
  5601. procedure clearSAMC4; inline;
  5602. procedure setADCS0; inline;
  5603. procedure setADCS1; inline;
  5604. procedure setADCS2; inline;
  5605. procedure setADCS3; inline;
  5606. procedure setADCS4; inline;
  5607. procedure setADCS5; inline;
  5608. procedure setADCS6; inline;
  5609. procedure setADCS7; inline;
  5610. procedure setADRC; inline;
  5611. procedure setSAMC0; inline;
  5612. procedure setSAMC1; inline;
  5613. procedure setSAMC2; inline;
  5614. procedure setSAMC3; inline;
  5615. procedure setSAMC4; inline;
  5616. property ADCS : TBits_8 read getADCS write setADCS;
  5617. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  5618. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  5619. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  5620. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  5621. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  5622. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  5623. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  5624. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  5625. property ADRC : TBits_1 read getADRC write setADRC;
  5626. property SAMC : TBits_5 read getSAMC write setSAMC;
  5627. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  5628. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  5629. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  5630. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  5631. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  5632. property w : TBits_32 read getw write setw;
  5633. end;
  5634. TADC10_AD1CHS = record
  5635. private
  5636. function getCH0NA : TBits_1; inline;
  5637. function getCH0NB : TBits_1; inline;
  5638. function getCH0SA : TBits_5; inline;
  5639. function getCH0SA0 : TBits_1; inline;
  5640. function getCH0SA1 : TBits_1; inline;
  5641. function getCH0SA2 : TBits_1; inline;
  5642. function getCH0SA3 : TBits_1; inline;
  5643. function getCH0SA4 : TBits_1; inline;
  5644. function getCH0SB : TBits_5; inline;
  5645. function getCH0SB0 : TBits_1; inline;
  5646. function getCH0SB1 : TBits_1; inline;
  5647. function getCH0SB2 : TBits_1; inline;
  5648. function getCH0SB3 : TBits_1; inline;
  5649. function getCH0SB4 : TBits_1; inline;
  5650. function getw : TBits_32; inline;
  5651. procedure setCH0NA(thebits : TBits_1); inline;
  5652. procedure setCH0NB(thebits : TBits_1); inline;
  5653. procedure setCH0SA(thebits : TBits_5); inline;
  5654. procedure setCH0SA0(thebits : TBits_1); inline;
  5655. procedure setCH0SA1(thebits : TBits_1); inline;
  5656. procedure setCH0SA2(thebits : TBits_1); inline;
  5657. procedure setCH0SA3(thebits : TBits_1); inline;
  5658. procedure setCH0SA4(thebits : TBits_1); inline;
  5659. procedure setCH0SB(thebits : TBits_5); inline;
  5660. procedure setCH0SB0(thebits : TBits_1); inline;
  5661. procedure setCH0SB1(thebits : TBits_1); inline;
  5662. procedure setCH0SB2(thebits : TBits_1); inline;
  5663. procedure setCH0SB3(thebits : TBits_1); inline;
  5664. procedure setCH0SB4(thebits : TBits_1); inline;
  5665. procedure setw(thebits : TBits_32); inline;
  5666. public
  5667. procedure clearCH0NA; inline;
  5668. procedure clearCH0NB; inline;
  5669. procedure clearCH0SA0; inline;
  5670. procedure clearCH0SA1; inline;
  5671. procedure clearCH0SA2; inline;
  5672. procedure clearCH0SA3; inline;
  5673. procedure clearCH0SA4; inline;
  5674. procedure clearCH0SB0; inline;
  5675. procedure clearCH0SB1; inline;
  5676. procedure clearCH0SB2; inline;
  5677. procedure clearCH0SB3; inline;
  5678. procedure clearCH0SB4; inline;
  5679. procedure setCH0NA; inline;
  5680. procedure setCH0NB; inline;
  5681. procedure setCH0SA0; inline;
  5682. procedure setCH0SA1; inline;
  5683. procedure setCH0SA2; inline;
  5684. procedure setCH0SA3; inline;
  5685. procedure setCH0SA4; inline;
  5686. procedure setCH0SB0; inline;
  5687. procedure setCH0SB1; inline;
  5688. procedure setCH0SB2; inline;
  5689. procedure setCH0SB3; inline;
  5690. procedure setCH0SB4; inline;
  5691. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  5692. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  5693. property CH0SA : TBits_5 read getCH0SA write setCH0SA;
  5694. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  5695. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  5696. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  5697. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  5698. property CH0SA4 : TBits_1 read getCH0SA4 write setCH0SA4;
  5699. property CH0SB : TBits_5 read getCH0SB write setCH0SB;
  5700. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  5701. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  5702. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  5703. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  5704. property CH0SB4 : TBits_1 read getCH0SB4 write setCH0SB4;
  5705. property w : TBits_32 read getw write setw;
  5706. end;
  5707. TADC10_AD1CSSL = record
  5708. private
  5709. function getCSSL : TBits_31; inline;
  5710. function getCSSL0 : TBits_1; inline;
  5711. function getCSSL1 : TBits_1; inline;
  5712. function getCSSL10 : TBits_1; inline;
  5713. function getCSSL11 : TBits_1; inline;
  5714. function getCSSL12 : TBits_1; inline;
  5715. function getCSSL13 : TBits_1; inline;
  5716. function getCSSL14 : TBits_1; inline;
  5717. function getCSSL15 : TBits_1; inline;
  5718. function getCSSL16 : TBits_1; inline;
  5719. function getCSSL17 : TBits_1; inline;
  5720. function getCSSL18 : TBits_1; inline;
  5721. function getCSSL19 : TBits_1; inline;
  5722. function getCSSL2 : TBits_1; inline;
  5723. function getCSSL20 : TBits_1; inline;
  5724. function getCSSL21 : TBits_1; inline;
  5725. function getCSSL22 : TBits_1; inline;
  5726. function getCSSL23 : TBits_1; inline;
  5727. function getCSSL24 : TBits_1; inline;
  5728. function getCSSL25 : TBits_1; inline;
  5729. function getCSSL26 : TBits_1; inline;
  5730. function getCSSL27 : TBits_1; inline;
  5731. function getCSSL28 : TBits_1; inline;
  5732. function getCSSL29 : TBits_1; inline;
  5733. function getCSSL3 : TBits_1; inline;
  5734. function getCSSL30 : TBits_1; inline;
  5735. function getCSSL4 : TBits_1; inline;
  5736. function getCSSL5 : TBits_1; inline;
  5737. function getCSSL6 : TBits_1; inline;
  5738. function getCSSL7 : TBits_1; inline;
  5739. function getCSSL8 : TBits_1; inline;
  5740. function getCSSL9 : TBits_1; inline;
  5741. function getw : TBits_32; inline;
  5742. procedure setCSSL(thebits : TBits_31); inline;
  5743. procedure setCSSL0(thebits : TBits_1); inline;
  5744. procedure setCSSL1(thebits : TBits_1); inline;
  5745. procedure setCSSL10(thebits : TBits_1); inline;
  5746. procedure setCSSL11(thebits : TBits_1); inline;
  5747. procedure setCSSL12(thebits : TBits_1); inline;
  5748. procedure setCSSL13(thebits : TBits_1); inline;
  5749. procedure setCSSL14(thebits : TBits_1); inline;
  5750. procedure setCSSL15(thebits : TBits_1); inline;
  5751. procedure setCSSL16(thebits : TBits_1); inline;
  5752. procedure setCSSL17(thebits : TBits_1); inline;
  5753. procedure setCSSL18(thebits : TBits_1); inline;
  5754. procedure setCSSL19(thebits : TBits_1); inline;
  5755. procedure setCSSL2(thebits : TBits_1); inline;
  5756. procedure setCSSL20(thebits : TBits_1); inline;
  5757. procedure setCSSL21(thebits : TBits_1); inline;
  5758. procedure setCSSL22(thebits : TBits_1); inline;
  5759. procedure setCSSL23(thebits : TBits_1); inline;
  5760. procedure setCSSL24(thebits : TBits_1); inline;
  5761. procedure setCSSL25(thebits : TBits_1); inline;
  5762. procedure setCSSL26(thebits : TBits_1); inline;
  5763. procedure setCSSL27(thebits : TBits_1); inline;
  5764. procedure setCSSL28(thebits : TBits_1); inline;
  5765. procedure setCSSL29(thebits : TBits_1); inline;
  5766. procedure setCSSL3(thebits : TBits_1); inline;
  5767. procedure setCSSL30(thebits : TBits_1); inline;
  5768. procedure setCSSL4(thebits : TBits_1); inline;
  5769. procedure setCSSL5(thebits : TBits_1); inline;
  5770. procedure setCSSL6(thebits : TBits_1); inline;
  5771. procedure setCSSL7(thebits : TBits_1); inline;
  5772. procedure setCSSL8(thebits : TBits_1); inline;
  5773. procedure setCSSL9(thebits : TBits_1); inline;
  5774. procedure setw(thebits : TBits_32); inline;
  5775. public
  5776. procedure clearCSSL0; inline;
  5777. procedure clearCSSL10; inline;
  5778. procedure clearCSSL11; inline;
  5779. procedure clearCSSL12; inline;
  5780. procedure clearCSSL13; inline;
  5781. procedure clearCSSL14; inline;
  5782. procedure clearCSSL15; inline;
  5783. procedure clearCSSL16; inline;
  5784. procedure clearCSSL17; inline;
  5785. procedure clearCSSL18; inline;
  5786. procedure clearCSSL19; inline;
  5787. procedure clearCSSL1; inline;
  5788. procedure clearCSSL20; inline;
  5789. procedure clearCSSL21; inline;
  5790. procedure clearCSSL22; inline;
  5791. procedure clearCSSL23; inline;
  5792. procedure clearCSSL24; inline;
  5793. procedure clearCSSL25; inline;
  5794. procedure clearCSSL26; inline;
  5795. procedure clearCSSL27; inline;
  5796. procedure clearCSSL28; inline;
  5797. procedure clearCSSL29; inline;
  5798. procedure clearCSSL2; inline;
  5799. procedure clearCSSL30; inline;
  5800. procedure clearCSSL3; inline;
  5801. procedure clearCSSL4; inline;
  5802. procedure clearCSSL5; inline;
  5803. procedure clearCSSL6; inline;
  5804. procedure clearCSSL7; inline;
  5805. procedure clearCSSL8; inline;
  5806. procedure clearCSSL9; inline;
  5807. procedure setCSSL0; inline;
  5808. procedure setCSSL10; inline;
  5809. procedure setCSSL11; inline;
  5810. procedure setCSSL12; inline;
  5811. procedure setCSSL13; inline;
  5812. procedure setCSSL14; inline;
  5813. procedure setCSSL15; inline;
  5814. procedure setCSSL16; inline;
  5815. procedure setCSSL17; inline;
  5816. procedure setCSSL18; inline;
  5817. procedure setCSSL19; inline;
  5818. procedure setCSSL1; inline;
  5819. procedure setCSSL20; inline;
  5820. procedure setCSSL21; inline;
  5821. procedure setCSSL22; inline;
  5822. procedure setCSSL23; inline;
  5823. procedure setCSSL24; inline;
  5824. procedure setCSSL25; inline;
  5825. procedure setCSSL26; inline;
  5826. procedure setCSSL27; inline;
  5827. procedure setCSSL28; inline;
  5828. procedure setCSSL29; inline;
  5829. procedure setCSSL2; inline;
  5830. procedure setCSSL30; inline;
  5831. procedure setCSSL3; inline;
  5832. procedure setCSSL4; inline;
  5833. procedure setCSSL5; inline;
  5834. procedure setCSSL6; inline;
  5835. procedure setCSSL7; inline;
  5836. procedure setCSSL8; inline;
  5837. procedure setCSSL9; inline;
  5838. property CSSL : TBits_31 read getCSSL write setCSSL;
  5839. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  5840. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  5841. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  5842. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  5843. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  5844. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  5845. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  5846. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  5847. property CSSL16 : TBits_1 read getCSSL16 write setCSSL16;
  5848. property CSSL17 : TBits_1 read getCSSL17 write setCSSL17;
  5849. property CSSL18 : TBits_1 read getCSSL18 write setCSSL18;
  5850. property CSSL19 : TBits_1 read getCSSL19 write setCSSL19;
  5851. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  5852. property CSSL20 : TBits_1 read getCSSL20 write setCSSL20;
  5853. property CSSL21 : TBits_1 read getCSSL21 write setCSSL21;
  5854. property CSSL22 : TBits_1 read getCSSL22 write setCSSL22;
  5855. property CSSL23 : TBits_1 read getCSSL23 write setCSSL23;
  5856. property CSSL24 : TBits_1 read getCSSL24 write setCSSL24;
  5857. property CSSL25 : TBits_1 read getCSSL25 write setCSSL25;
  5858. property CSSL26 : TBits_1 read getCSSL26 write setCSSL26;
  5859. property CSSL27 : TBits_1 read getCSSL27 write setCSSL27;
  5860. property CSSL28 : TBits_1 read getCSSL28 write setCSSL28;
  5861. property CSSL29 : TBits_1 read getCSSL29 write setCSSL29;
  5862. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  5863. property CSSL30 : TBits_1 read getCSSL30 write setCSSL30;
  5864. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  5865. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  5866. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  5867. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  5868. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  5869. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  5870. property w : TBits_32 read getw write setw;
  5871. end;
  5872. type
  5873. TADC10Registers = record
  5874. AD1CON1bits : TADC10_AD1CON1;
  5875. AD1CON1 : longWord;
  5876. AD1CON1CLR : longWord;
  5877. AD1CON1SET : longWord;
  5878. AD1CON1INV : longWord;
  5879. AD1CON2bits : TADC10_AD1CON2;
  5880. AD1CON2 : longWord;
  5881. AD1CON2CLR : longWord;
  5882. AD1CON2SET : longWord;
  5883. AD1CON2INV : longWord;
  5884. AD1CON3bits : TADC10_AD1CON3;
  5885. AD1CON3 : longWord;
  5886. AD1CON3CLR : longWord;
  5887. AD1CON3SET : longWord;
  5888. AD1CON3INV : longWord;
  5889. AD1CHSbits : TADC10_AD1CHS;
  5890. AD1CHS : longWord;
  5891. AD1CHSCLR : longWord;
  5892. AD1CHSSET : longWord;
  5893. AD1CHSINV : longWord;
  5894. AD1CSSLbits : TADC10_AD1CSSL;
  5895. AD1CSSL : longWord;
  5896. AD1CSSLCLR : longWord;
  5897. AD1CSSLSET : longWord;
  5898. AD1CSSLINV : longWord;
  5899. ADC1BUF0 : longWord;
  5900. ADC1BUF1 : longWord;
  5901. ADC1BUF2 : longWord;
  5902. ADC1BUF3 : longWord;
  5903. ADC1BUF4 : longWord;
  5904. ADC1BUF5 : longWord;
  5905. ADC1BUF6 : longWord;
  5906. ADC1BUF7 : longWord;
  5907. ADC1BUF8 : longWord;
  5908. ADC1BUF9 : longWord;
  5909. ADC1BUFA : longWord;
  5910. ADC1BUFB : longWord;
  5911. ADC1BUFC : longWord;
  5912. ADC1BUFD : longWord;
  5913. ADC1BUFE : longWord;
  5914. ADC1BUFF : longWord;
  5915. end;
  5916. TCVR_CVRCON = record
  5917. private
  5918. function getCVR : TBits_4; inline;
  5919. function getCVR0 : TBits_1; inline;
  5920. function getCVR1 : TBits_1; inline;
  5921. function getCVR2 : TBits_1; inline;
  5922. function getCVR3 : TBits_1; inline;
  5923. function getCVROE : TBits_1; inline;
  5924. function getCVRR : TBits_1; inline;
  5925. function getCVRSS : TBits_1; inline;
  5926. function getON : TBits_1; inline;
  5927. function getw : TBits_32; inline;
  5928. procedure setCVR(thebits : TBits_4); inline;
  5929. procedure setCVR0(thebits : TBits_1); inline;
  5930. procedure setCVR1(thebits : TBits_1); inline;
  5931. procedure setCVR2(thebits : TBits_1); inline;
  5932. procedure setCVR3(thebits : TBits_1); inline;
  5933. procedure setCVROE(thebits : TBits_1); inline;
  5934. procedure setCVRR(thebits : TBits_1); inline;
  5935. procedure setCVRSS(thebits : TBits_1); inline;
  5936. procedure setON(thebits : TBits_1); inline;
  5937. procedure setw(thebits : TBits_32); inline;
  5938. public
  5939. procedure clearCVR0; inline;
  5940. procedure clearCVR1; inline;
  5941. procedure clearCVR2; inline;
  5942. procedure clearCVR3; inline;
  5943. procedure clearCVROE; inline;
  5944. procedure clearCVRR; inline;
  5945. procedure clearCVRSS; inline;
  5946. procedure clearON; inline;
  5947. procedure setCVR0; inline;
  5948. procedure setCVR1; inline;
  5949. procedure setCVR2; inline;
  5950. procedure setCVR3; inline;
  5951. procedure setCVROE; inline;
  5952. procedure setCVRR; inline;
  5953. procedure setCVRSS; inline;
  5954. procedure setON; inline;
  5955. property CVR : TBits_4 read getCVR write setCVR;
  5956. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  5957. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  5958. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  5959. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  5960. property CVROE : TBits_1 read getCVROE write setCVROE;
  5961. property CVRR : TBits_1 read getCVRR write setCVRR;
  5962. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  5963. property ON : TBits_1 read getON write setON;
  5964. property w : TBits_32 read getw write setw;
  5965. end;
  5966. type
  5967. TCVRRegisters = record
  5968. CVRCONbits : TCVR_CVRCON;
  5969. CVRCON : longWord;
  5970. CVRCONCLR : longWord;
  5971. CVRCONSET : longWord;
  5972. CVRCONINV : longWord;
  5973. end;
  5974. TCMP_CM1CON = record
  5975. private
  5976. function getCCH : TBits_2; inline;
  5977. function getCCH0 : TBits_1; inline;
  5978. function getCCH1 : TBits_1; inline;
  5979. function getCOE : TBits_1; inline;
  5980. function getCOUT : TBits_1; inline;
  5981. function getCPOL : TBits_1; inline;
  5982. function getCREF : TBits_1; inline;
  5983. function getEVPOL : TBits_2; inline;
  5984. function getEVPOL0 : TBits_1; inline;
  5985. function getEVPOL1 : TBits_1; inline;
  5986. function getON : TBits_1; inline;
  5987. function getw : TBits_32; inline;
  5988. procedure setCCH(thebits : TBits_2); inline;
  5989. procedure setCCH0(thebits : TBits_1); inline;
  5990. procedure setCCH1(thebits : TBits_1); inline;
  5991. procedure setCOE(thebits : TBits_1); inline;
  5992. procedure setCOUT(thebits : TBits_1); inline;
  5993. procedure setCPOL(thebits : TBits_1); inline;
  5994. procedure setCREF(thebits : TBits_1); inline;
  5995. procedure setEVPOL(thebits : TBits_2); inline;
  5996. procedure setEVPOL0(thebits : TBits_1); inline;
  5997. procedure setEVPOL1(thebits : TBits_1); inline;
  5998. procedure setON(thebits : TBits_1); inline;
  5999. procedure setw(thebits : TBits_32); inline;
  6000. public
  6001. procedure clearCCH0; inline;
  6002. procedure clearCCH1; inline;
  6003. procedure clearCOE; inline;
  6004. procedure clearCOUT; inline;
  6005. procedure clearCPOL; inline;
  6006. procedure clearCREF; inline;
  6007. procedure clearEVPOL0; inline;
  6008. procedure clearEVPOL1; inline;
  6009. procedure clearON; inline;
  6010. procedure setCCH0; inline;
  6011. procedure setCCH1; inline;
  6012. procedure setCOE; inline;
  6013. procedure setCOUT; inline;
  6014. procedure setCPOL; inline;
  6015. procedure setCREF; inline;
  6016. procedure setEVPOL0; inline;
  6017. procedure setEVPOL1; inline;
  6018. procedure setON; inline;
  6019. property CCH : TBits_2 read getCCH write setCCH;
  6020. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  6021. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  6022. property COE : TBits_1 read getCOE write setCOE;
  6023. property COUT : TBits_1 read getCOUT write setCOUT;
  6024. property CPOL : TBits_1 read getCPOL write setCPOL;
  6025. property CREF : TBits_1 read getCREF write setCREF;
  6026. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  6027. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  6028. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  6029. property ON : TBits_1 read getON write setON;
  6030. property w : TBits_32 read getw write setw;
  6031. end;
  6032. TCMP_CM2CON = record
  6033. private
  6034. function getCCH : TBits_2; inline;
  6035. function getCCH0 : TBits_1; inline;
  6036. function getCCH1 : TBits_1; inline;
  6037. function getCOE : TBits_1; inline;
  6038. function getCOUT : TBits_1; inline;
  6039. function getCPOL : TBits_1; inline;
  6040. function getCREF : TBits_1; inline;
  6041. function getEVPOL : TBits_2; inline;
  6042. function getEVPOL0 : TBits_1; inline;
  6043. function getEVPOL1 : TBits_1; inline;
  6044. function getON : TBits_1; inline;
  6045. function getw : TBits_32; inline;
  6046. procedure setCCH(thebits : TBits_2); inline;
  6047. procedure setCCH0(thebits : TBits_1); inline;
  6048. procedure setCCH1(thebits : TBits_1); inline;
  6049. procedure setCOE(thebits : TBits_1); inline;
  6050. procedure setCOUT(thebits : TBits_1); inline;
  6051. procedure setCPOL(thebits : TBits_1); inline;
  6052. procedure setCREF(thebits : TBits_1); inline;
  6053. procedure setEVPOL(thebits : TBits_2); inline;
  6054. procedure setEVPOL0(thebits : TBits_1); inline;
  6055. procedure setEVPOL1(thebits : TBits_1); inline;
  6056. procedure setON(thebits : TBits_1); inline;
  6057. procedure setw(thebits : TBits_32); inline;
  6058. public
  6059. procedure clearCCH0; inline;
  6060. procedure clearCCH1; inline;
  6061. procedure clearCOE; inline;
  6062. procedure clearCOUT; inline;
  6063. procedure clearCPOL; inline;
  6064. procedure clearCREF; inline;
  6065. procedure clearEVPOL0; inline;
  6066. procedure clearEVPOL1; inline;
  6067. procedure clearON; inline;
  6068. procedure setCCH0; inline;
  6069. procedure setCCH1; inline;
  6070. procedure setCOE; inline;
  6071. procedure setCOUT; inline;
  6072. procedure setCPOL; inline;
  6073. procedure setCREF; inline;
  6074. procedure setEVPOL0; inline;
  6075. procedure setEVPOL1; inline;
  6076. procedure setON; inline;
  6077. property CCH : TBits_2 read getCCH write setCCH;
  6078. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  6079. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  6080. property COE : TBits_1 read getCOE write setCOE;
  6081. property COUT : TBits_1 read getCOUT write setCOUT;
  6082. property CPOL : TBits_1 read getCPOL write setCPOL;
  6083. property CREF : TBits_1 read getCREF write setCREF;
  6084. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  6085. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  6086. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  6087. property ON : TBits_1 read getON write setON;
  6088. property w : TBits_32 read getw write setw;
  6089. end;
  6090. TCMP_CMSTAT = record
  6091. private
  6092. function getC1OUT : TBits_1; inline;
  6093. function getC2OUT : TBits_1; inline;
  6094. function getSIDL : TBits_1; inline;
  6095. function getw : TBits_32; inline;
  6096. procedure setC1OUT(thebits : TBits_1); inline;
  6097. procedure setC2OUT(thebits : TBits_1); inline;
  6098. procedure setSIDL(thebits : TBits_1); inline;
  6099. procedure setw(thebits : TBits_32); inline;
  6100. public
  6101. procedure clearC1OUT; inline;
  6102. procedure clearC2OUT; inline;
  6103. procedure clearSIDL; inline;
  6104. procedure setC1OUT; inline;
  6105. procedure setC2OUT; inline;
  6106. procedure setSIDL; inline;
  6107. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  6108. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  6109. property SIDL : TBits_1 read getSIDL write setSIDL;
  6110. property w : TBits_32 read getw write setw;
  6111. end;
  6112. TCMP_CTMUCON = record
  6113. private
  6114. function getCTMUSIDL : TBits_1; inline;
  6115. function getCTTRIG : TBits_1; inline;
  6116. function getEDG1MOD : TBits_1; inline;
  6117. function getEDG1POL : TBits_1; inline;
  6118. function getEDG1SEL : TBits_4; inline;
  6119. function getEDG1STAT : TBits_1; inline;
  6120. function getEDG2MOD : TBits_1; inline;
  6121. function getEDG2POL : TBits_1; inline;
  6122. function getEDG2SEL : TBits_4; inline;
  6123. function getEDG2STAT : TBits_1; inline;
  6124. function getEDGEN : TBits_1; inline;
  6125. function getEDGSEQEN : TBits_1; inline;
  6126. function getIDISSEN : TBits_1; inline;
  6127. function getIRNG : TBits_2; inline;
  6128. function getITRIM : TBits_6; inline;
  6129. function getON : TBits_1; inline;
  6130. function getTGEN : TBits_1; inline;
  6131. function getw : TBits_32; inline;
  6132. procedure setCTMUSIDL(thebits : TBits_1); inline;
  6133. procedure setCTTRIG(thebits : TBits_1); inline;
  6134. procedure setEDG1MOD(thebits : TBits_1); inline;
  6135. procedure setEDG1POL(thebits : TBits_1); inline;
  6136. procedure setEDG1SEL(thebits : TBits_4); inline;
  6137. procedure setEDG1STAT(thebits : TBits_1); inline;
  6138. procedure setEDG2MOD(thebits : TBits_1); inline;
  6139. procedure setEDG2POL(thebits : TBits_1); inline;
  6140. procedure setEDG2SEL(thebits : TBits_4); inline;
  6141. procedure setEDG2STAT(thebits : TBits_1); inline;
  6142. procedure setEDGEN(thebits : TBits_1); inline;
  6143. procedure setEDGSEQEN(thebits : TBits_1); inline;
  6144. procedure setIDISSEN(thebits : TBits_1); inline;
  6145. procedure setIRNG(thebits : TBits_2); inline;
  6146. procedure setITRIM(thebits : TBits_6); inline;
  6147. procedure setON(thebits : TBits_1); inline;
  6148. procedure setTGEN(thebits : TBits_1); inline;
  6149. procedure setw(thebits : TBits_32); inline;
  6150. public
  6151. procedure clearCTMUSIDL; inline;
  6152. procedure clearCTTRIG; inline;
  6153. procedure clearEDG1MOD; inline;
  6154. procedure clearEDG1POL; inline;
  6155. procedure clearEDG1STAT; inline;
  6156. procedure clearEDG2MOD; inline;
  6157. procedure clearEDG2POL; inline;
  6158. procedure clearEDG2STAT; inline;
  6159. procedure clearEDGEN; inline;
  6160. procedure clearEDGSEQEN; inline;
  6161. procedure clearIDISSEN; inline;
  6162. procedure clearON; inline;
  6163. procedure clearTGEN; inline;
  6164. procedure setCTMUSIDL; inline;
  6165. procedure setCTTRIG; inline;
  6166. procedure setEDG1MOD; inline;
  6167. procedure setEDG1POL; inline;
  6168. procedure setEDG1STAT; inline;
  6169. procedure setEDG2MOD; inline;
  6170. procedure setEDG2POL; inline;
  6171. procedure setEDG2STAT; inline;
  6172. procedure setEDGEN; inline;
  6173. procedure setEDGSEQEN; inline;
  6174. procedure setIDISSEN; inline;
  6175. procedure setON; inline;
  6176. procedure setTGEN; inline;
  6177. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  6178. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  6179. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  6180. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  6181. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  6182. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  6183. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  6184. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  6185. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  6186. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  6187. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  6188. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  6189. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  6190. property IRNG : TBits_2 read getIRNG write setIRNG;
  6191. property ITRIM : TBits_6 read getITRIM write setITRIM;
  6192. property ON : TBits_1 read getON write setON;
  6193. property TGEN : TBits_1 read getTGEN write setTGEN;
  6194. property w : TBits_32 read getw write setw;
  6195. end;
  6196. type
  6197. TCMPRegisters = record
  6198. CM1CONbits : TCMP_CM1CON;
  6199. CM1CON : longWord;
  6200. CM1CONCLR : longWord;
  6201. CM1CONSET : longWord;
  6202. CM1CONINV : longWord;
  6203. CM2CONbits : TCMP_CM2CON;
  6204. CM2CON : longWord;
  6205. CM2CONCLR : longWord;
  6206. CM2CONSET : longWord;
  6207. CM2CONINV : longWord;
  6208. CMSTATbits : TCMP_CMSTAT;
  6209. CMSTAT : longWord;
  6210. CMSTATCLR : longWord;
  6211. CMSTATSET : longWord;
  6212. CMSTATINV : longWord;
  6213. CTMUCONbits : TCMP_CTMUCON;
  6214. CTMUCON : longWord;
  6215. CTMUCONCLR : longWord;
  6216. CTMUCONSET : longWord;
  6217. CTMUCONINV : longWord;
  6218. end;
  6219. TOSC_OSCCON = record
  6220. private
  6221. function getCF : TBits_1; inline;
  6222. function getCLKLOCK : TBits_1; inline;
  6223. function getCOSC : TBits_3; inline;
  6224. function getCOSC0 : TBits_1; inline;
  6225. function getCOSC1 : TBits_1; inline;
  6226. function getCOSC2 : TBits_1; inline;
  6227. function getFRCDIV : TBits_3; inline;
  6228. function getFRCDIV0 : TBits_1; inline;
  6229. function getFRCDIV1 : TBits_1; inline;
  6230. function getFRCDIV2 : TBits_1; inline;
  6231. function getNOSC : TBits_3; inline;
  6232. function getNOSC0 : TBits_1; inline;
  6233. function getNOSC1 : TBits_1; inline;
  6234. function getNOSC2 : TBits_1; inline;
  6235. function getOSWEN : TBits_1; inline;
  6236. function getPBDIV : TBits_2; inline;
  6237. function getPBDIV0 : TBits_1; inline;
  6238. function getPBDIV1 : TBits_1; inline;
  6239. function getPBDIVRDY : TBits_1; inline;
  6240. function getPLLMULT : TBits_3; inline;
  6241. function getPLLMULT0 : TBits_1; inline;
  6242. function getPLLMULT1 : TBits_1; inline;
  6243. function getPLLMULT2 : TBits_1; inline;
  6244. function getPLLODIV : TBits_3; inline;
  6245. function getPLLODIV0 : TBits_1; inline;
  6246. function getPLLODIV1 : TBits_1; inline;
  6247. function getPLLODIV2 : TBits_1; inline;
  6248. function getSLOCK : TBits_1; inline;
  6249. function getSLPEN : TBits_1; inline;
  6250. function getSOSCEN : TBits_1; inline;
  6251. function getSOSCRDY : TBits_1; inline;
  6252. function getUFRCEN : TBits_1; inline;
  6253. function getULOCK : TBits_1; inline;
  6254. function getw : TBits_32; inline;
  6255. procedure setCF(thebits : TBits_1); inline;
  6256. procedure setCLKLOCK(thebits : TBits_1); inline;
  6257. procedure setCOSC(thebits : TBits_3); inline;
  6258. procedure setCOSC0(thebits : TBits_1); inline;
  6259. procedure setCOSC1(thebits : TBits_1); inline;
  6260. procedure setCOSC2(thebits : TBits_1); inline;
  6261. procedure setFRCDIV(thebits : TBits_3); inline;
  6262. procedure setFRCDIV0(thebits : TBits_1); inline;
  6263. procedure setFRCDIV1(thebits : TBits_1); inline;
  6264. procedure setFRCDIV2(thebits : TBits_1); inline;
  6265. procedure setNOSC(thebits : TBits_3); inline;
  6266. procedure setNOSC0(thebits : TBits_1); inline;
  6267. procedure setNOSC1(thebits : TBits_1); inline;
  6268. procedure setNOSC2(thebits : TBits_1); inline;
  6269. procedure setOSWEN(thebits : TBits_1); inline;
  6270. procedure setPBDIV(thebits : TBits_2); inline;
  6271. procedure setPBDIV0(thebits : TBits_1); inline;
  6272. procedure setPBDIV1(thebits : TBits_1); inline;
  6273. procedure setPBDIVRDY(thebits : TBits_1); inline;
  6274. procedure setPLLMULT(thebits : TBits_3); inline;
  6275. procedure setPLLMULT0(thebits : TBits_1); inline;
  6276. procedure setPLLMULT1(thebits : TBits_1); inline;
  6277. procedure setPLLMULT2(thebits : TBits_1); inline;
  6278. procedure setPLLODIV(thebits : TBits_3); inline;
  6279. procedure setPLLODIV0(thebits : TBits_1); inline;
  6280. procedure setPLLODIV1(thebits : TBits_1); inline;
  6281. procedure setPLLODIV2(thebits : TBits_1); inline;
  6282. procedure setSLOCK(thebits : TBits_1); inline;
  6283. procedure setSLPEN(thebits : TBits_1); inline;
  6284. procedure setSOSCEN(thebits : TBits_1); inline;
  6285. procedure setSOSCRDY(thebits : TBits_1); inline;
  6286. procedure setUFRCEN(thebits : TBits_1); inline;
  6287. procedure setULOCK(thebits : TBits_1); inline;
  6288. procedure setw(thebits : TBits_32); inline;
  6289. public
  6290. procedure clearCF; inline;
  6291. procedure clearCLKLOCK; inline;
  6292. procedure clearCOSC0; inline;
  6293. procedure clearCOSC1; inline;
  6294. procedure clearCOSC2; inline;
  6295. procedure clearFRCDIV0; inline;
  6296. procedure clearFRCDIV1; inline;
  6297. procedure clearFRCDIV2; inline;
  6298. procedure clearNOSC0; inline;
  6299. procedure clearNOSC1; inline;
  6300. procedure clearNOSC2; inline;
  6301. procedure clearOSWEN; inline;
  6302. procedure clearPBDIV0; inline;
  6303. procedure clearPBDIV1; inline;
  6304. procedure clearPBDIVRDY; inline;
  6305. procedure clearPLLMULT0; inline;
  6306. procedure clearPLLMULT1; inline;
  6307. procedure clearPLLMULT2; inline;
  6308. procedure clearPLLODIV0; inline;
  6309. procedure clearPLLODIV1; inline;
  6310. procedure clearPLLODIV2; inline;
  6311. procedure clearSLOCK; inline;
  6312. procedure clearSLPEN; inline;
  6313. procedure clearSOSCEN; inline;
  6314. procedure clearSOSCRDY; inline;
  6315. procedure clearUFRCEN; inline;
  6316. procedure clearULOCK; inline;
  6317. procedure setCF; inline;
  6318. procedure setCLKLOCK; inline;
  6319. procedure setCOSC0; inline;
  6320. procedure setCOSC1; inline;
  6321. procedure setCOSC2; inline;
  6322. procedure setFRCDIV0; inline;
  6323. procedure setFRCDIV1; inline;
  6324. procedure setFRCDIV2; inline;
  6325. procedure setNOSC0; inline;
  6326. procedure setNOSC1; inline;
  6327. procedure setNOSC2; inline;
  6328. procedure setOSWEN; inline;
  6329. procedure setPBDIV0; inline;
  6330. procedure setPBDIV1; inline;
  6331. procedure setPBDIVRDY; inline;
  6332. procedure setPLLMULT0; inline;
  6333. procedure setPLLMULT1; inline;
  6334. procedure setPLLMULT2; inline;
  6335. procedure setPLLODIV0; inline;
  6336. procedure setPLLODIV1; inline;
  6337. procedure setPLLODIV2; inline;
  6338. procedure setSLOCK; inline;
  6339. procedure setSLPEN; inline;
  6340. procedure setSOSCEN; inline;
  6341. procedure setSOSCRDY; inline;
  6342. procedure setUFRCEN; inline;
  6343. procedure setULOCK; inline;
  6344. property CF : TBits_1 read getCF write setCF;
  6345. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  6346. property COSC : TBits_3 read getCOSC write setCOSC;
  6347. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  6348. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  6349. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  6350. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  6351. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  6352. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  6353. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  6354. property NOSC : TBits_3 read getNOSC write setNOSC;
  6355. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  6356. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  6357. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  6358. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  6359. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  6360. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  6361. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  6362. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  6363. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  6364. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  6365. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  6366. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  6367. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  6368. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  6369. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  6370. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  6371. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  6372. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  6373. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  6374. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  6375. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  6376. property ULOCK : TBits_1 read getULOCK write setULOCK;
  6377. property w : TBits_32 read getw write setw;
  6378. end;
  6379. TOSC_OSCTUN = record
  6380. private
  6381. function getTUN : TBits_6; inline;
  6382. function getTUN0 : TBits_1; inline;
  6383. function getTUN1 : TBits_1; inline;
  6384. function getTUN2 : TBits_1; inline;
  6385. function getTUN3 : TBits_1; inline;
  6386. function getTUN4 : TBits_1; inline;
  6387. function getTUN5 : TBits_1; inline;
  6388. function getw : TBits_32; inline;
  6389. procedure setTUN(thebits : TBits_6); inline;
  6390. procedure setTUN0(thebits : TBits_1); inline;
  6391. procedure setTUN1(thebits : TBits_1); inline;
  6392. procedure setTUN2(thebits : TBits_1); inline;
  6393. procedure setTUN3(thebits : TBits_1); inline;
  6394. procedure setTUN4(thebits : TBits_1); inline;
  6395. procedure setTUN5(thebits : TBits_1); inline;
  6396. procedure setw(thebits : TBits_32); inline;
  6397. public
  6398. procedure clearTUN0; inline;
  6399. procedure clearTUN1; inline;
  6400. procedure clearTUN2; inline;
  6401. procedure clearTUN3; inline;
  6402. procedure clearTUN4; inline;
  6403. procedure clearTUN5; inline;
  6404. procedure setTUN0; inline;
  6405. procedure setTUN1; inline;
  6406. procedure setTUN2; inline;
  6407. procedure setTUN3; inline;
  6408. procedure setTUN4; inline;
  6409. procedure setTUN5; inline;
  6410. property TUN : TBits_6 read getTUN write setTUN;
  6411. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  6412. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  6413. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  6414. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  6415. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  6416. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  6417. property w : TBits_32 read getw write setw;
  6418. end;
  6419. TOSC_REFOCON = record
  6420. private
  6421. function getACTIVE : TBits_1; inline;
  6422. function getDIVSWEN : TBits_1; inline;
  6423. function getOE : TBits_1; inline;
  6424. function getON : TBits_1; inline;
  6425. function getRODIV : TBits_15; inline;
  6426. function getROSEL : TBits_4; inline;
  6427. function getRSLP : TBits_1; inline;
  6428. function getSIDL : TBits_1; inline;
  6429. function getw : TBits_32; inline;
  6430. procedure setACTIVE(thebits : TBits_1); inline;
  6431. procedure setDIVSWEN(thebits : TBits_1); inline;
  6432. procedure setOE(thebits : TBits_1); inline;
  6433. procedure setON(thebits : TBits_1); inline;
  6434. procedure setRODIV(thebits : TBits_15); inline;
  6435. procedure setROSEL(thebits : TBits_4); inline;
  6436. procedure setRSLP(thebits : TBits_1); inline;
  6437. procedure setSIDL(thebits : TBits_1); inline;
  6438. procedure setw(thebits : TBits_32); inline;
  6439. public
  6440. procedure clearACTIVE; inline;
  6441. procedure clearDIVSWEN; inline;
  6442. procedure clearOE; inline;
  6443. procedure clearON; inline;
  6444. procedure clearRSLP; inline;
  6445. procedure clearSIDL; inline;
  6446. procedure setACTIVE; inline;
  6447. procedure setDIVSWEN; inline;
  6448. procedure setOE; inline;
  6449. procedure setON; inline;
  6450. procedure setRSLP; inline;
  6451. procedure setSIDL; inline;
  6452. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  6453. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  6454. property OE : TBits_1 read getOE write setOE;
  6455. property ON : TBits_1 read getON write setON;
  6456. property RODIV : TBits_15 read getRODIV write setRODIV;
  6457. property ROSEL : TBits_4 read getROSEL write setROSEL;
  6458. property RSLP : TBits_1 read getRSLP write setRSLP;
  6459. property SIDL : TBits_1 read getSIDL write setSIDL;
  6460. property w : TBits_32 read getw write setw;
  6461. end;
  6462. TOSC_REFOTRIM = record
  6463. private
  6464. function getROTRIM : TBits_9; inline;
  6465. function getw : TBits_32; inline;
  6466. procedure setROTRIM(thebits : TBits_9); inline;
  6467. procedure setw(thebits : TBits_32); inline;
  6468. public
  6469. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  6470. property w : TBits_32 read getw write setw;
  6471. end;
  6472. type
  6473. TOSCRegisters = record
  6474. OSCCONbits : TOSC_OSCCON;
  6475. OSCCON : longWord;
  6476. OSCCONCLR : longWord;
  6477. OSCCONSET : longWord;
  6478. OSCCONINV : longWord;
  6479. OSCTUNbits : TOSC_OSCTUN;
  6480. OSCTUN : longWord;
  6481. OSCTUNCLR : longWord;
  6482. OSCTUNSET : longWord;
  6483. OSCTUNINV : longWord;
  6484. REFOCONbits : TOSC_REFOCON;
  6485. REFOCON : longWord;
  6486. REFOCONCLR : longWord;
  6487. REFOCONSET : longWord;
  6488. REFOCONINV : longWord;
  6489. REFOTRIMbits : TOSC_REFOTRIM;
  6490. REFOTRIM : longWord;
  6491. REFOTRIMCLR : longWord;
  6492. REFOTRIMSET : longWord;
  6493. REFOTRIMINV : longWord;
  6494. end;
  6495. type
  6496. TCFGRegisters = record
  6497. CFGCON : longWord;
  6498. DDPCON : longWord;
  6499. DEVID : longWord;
  6500. SYSKEY : longWord;
  6501. SYSKEYCLR : longWord;
  6502. SYSKEYSET : longWord;
  6503. SYSKEYINV : longWord;
  6504. PMD1 : longWord;
  6505. PMD1CLR : longWord;
  6506. PMD1SET : longWord;
  6507. PMD1INV : longWord;
  6508. PMD2 : longWord;
  6509. PMD2CLR : longWord;
  6510. PMD2SET : longWord;
  6511. PMD2INV : longWord;
  6512. PMD3 : longWord;
  6513. PMD3CLR : longWord;
  6514. PMD3SET : longWord;
  6515. PMD3INV : longWord;
  6516. PMD4 : longWord;
  6517. PMD4CLR : longWord;
  6518. PMD4SET : longWord;
  6519. PMD4INV : longWord;
  6520. PMD5 : longWord;
  6521. PMD5CLR : longWord;
  6522. PMD5SET : longWord;
  6523. PMD5INV : longWord;
  6524. PMD6 : longWord;
  6525. PMD6CLR : longWord;
  6526. PMD6SET : longWord;
  6527. PMD6INV : longWord;
  6528. end;
  6529. TNVM_NVMCON = record
  6530. private
  6531. function getLVDERR : TBits_1; inline;
  6532. function getLVDSTAT : TBits_1; inline;
  6533. function getNVMOP : TBits_4; inline;
  6534. function getNVMOP0 : TBits_1; inline;
  6535. function getNVMOP1 : TBits_1; inline;
  6536. function getNVMOP2 : TBits_1; inline;
  6537. function getNVMOP3 : TBits_1; inline;
  6538. function getPROGOP : TBits_4; inline;
  6539. function getPROGOP0 : TBits_1; inline;
  6540. function getPROGOP1 : TBits_1; inline;
  6541. function getPROGOP2 : TBits_1; inline;
  6542. function getPROGOP3 : TBits_1; inline;
  6543. function getWR : TBits_1; inline;
  6544. function getWREN : TBits_1; inline;
  6545. function getWRERR : TBits_1; inline;
  6546. function getw : TBits_32; inline;
  6547. procedure setLVDERR(thebits : TBits_1); inline;
  6548. procedure setLVDSTAT(thebits : TBits_1); inline;
  6549. procedure setNVMOP(thebits : TBits_4); inline;
  6550. procedure setNVMOP0(thebits : TBits_1); inline;
  6551. procedure setNVMOP1(thebits : TBits_1); inline;
  6552. procedure setNVMOP2(thebits : TBits_1); inline;
  6553. procedure setNVMOP3(thebits : TBits_1); inline;
  6554. procedure setPROGOP(thebits : TBits_4); inline;
  6555. procedure setPROGOP0(thebits : TBits_1); inline;
  6556. procedure setPROGOP1(thebits : TBits_1); inline;
  6557. procedure setPROGOP2(thebits : TBits_1); inline;
  6558. procedure setPROGOP3(thebits : TBits_1); inline;
  6559. procedure setWR(thebits : TBits_1); inline;
  6560. procedure setWREN(thebits : TBits_1); inline;
  6561. procedure setWRERR(thebits : TBits_1); inline;
  6562. procedure setw(thebits : TBits_32); inline;
  6563. public
  6564. procedure clearLVDERR; inline;
  6565. procedure clearLVDSTAT; inline;
  6566. procedure clearNVMOP0; inline;
  6567. procedure clearNVMOP1; inline;
  6568. procedure clearNVMOP2; inline;
  6569. procedure clearNVMOP3; inline;
  6570. procedure clearPROGOP0; inline;
  6571. procedure clearPROGOP1; inline;
  6572. procedure clearPROGOP2; inline;
  6573. procedure clearPROGOP3; inline;
  6574. procedure clearWR; inline;
  6575. procedure clearWREN; inline;
  6576. procedure clearWRERR; inline;
  6577. procedure setLVDERR; inline;
  6578. procedure setLVDSTAT; inline;
  6579. procedure setNVMOP0; inline;
  6580. procedure setNVMOP1; inline;
  6581. procedure setNVMOP2; inline;
  6582. procedure setNVMOP3; inline;
  6583. procedure setPROGOP0; inline;
  6584. procedure setPROGOP1; inline;
  6585. procedure setPROGOP2; inline;
  6586. procedure setPROGOP3; inline;
  6587. procedure setWR; inline;
  6588. procedure setWREN; inline;
  6589. procedure setWRERR; inline;
  6590. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  6591. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  6592. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  6593. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  6594. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  6595. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  6596. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  6597. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  6598. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  6599. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  6600. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  6601. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  6602. property WR : TBits_1 read getWR write setWR;
  6603. property WREN : TBits_1 read getWREN write setWREN;
  6604. property WRERR : TBits_1 read getWRERR write setWRERR;
  6605. property w : TBits_32 read getw write setw;
  6606. end;
  6607. type
  6608. TNVMRegisters = record
  6609. NVMCONbits : TNVM_NVMCON;
  6610. NVMCON : longWord;
  6611. NVMCONCLR : longWord;
  6612. NVMCONSET : longWord;
  6613. NVMCONINV : longWord;
  6614. NVMKEY : longWord;
  6615. NVMADDR : longWord;
  6616. NVMADDRCLR : longWord;
  6617. NVMADDRSET : longWord;
  6618. NVMADDRINV : longWord;
  6619. NVMDATA : longWord;
  6620. NVMSRCADDR : longWord;
  6621. end;
  6622. TRCON_RCON = record
  6623. private
  6624. function getBOR : TBits_1; inline;
  6625. function getCMR : TBits_1; inline;
  6626. function getEXTR : TBits_1; inline;
  6627. function getHVDR : TBits_1; inline;
  6628. function getIDLE : TBits_1; inline;
  6629. function getPOR : TBits_1; inline;
  6630. function getSLEEP : TBits_1; inline;
  6631. function getSWR : TBits_1; inline;
  6632. function getVREGS : TBits_1; inline;
  6633. function getWDTO : TBits_1; inline;
  6634. function getw : TBits_32; inline;
  6635. procedure setBOR(thebits : TBits_1); inline;
  6636. procedure setCMR(thebits : TBits_1); inline;
  6637. procedure setEXTR(thebits : TBits_1); inline;
  6638. procedure setHVDR(thebits : TBits_1); inline;
  6639. procedure setIDLE(thebits : TBits_1); inline;
  6640. procedure setPOR(thebits : TBits_1); inline;
  6641. procedure setSLEEP(thebits : TBits_1); inline;
  6642. procedure setSWR(thebits : TBits_1); inline;
  6643. procedure setVREGS(thebits : TBits_1); inline;
  6644. procedure setWDTO(thebits : TBits_1); inline;
  6645. procedure setw(thebits : TBits_32); inline;
  6646. public
  6647. procedure clearBOR; inline;
  6648. procedure clearCMR; inline;
  6649. procedure clearEXTR; inline;
  6650. procedure clearHVDR; inline;
  6651. procedure clearIDLE; inline;
  6652. procedure clearPOR; inline;
  6653. procedure clearSLEEP; inline;
  6654. procedure clearSWR; inline;
  6655. procedure clearVREGS; inline;
  6656. procedure clearWDTO; inline;
  6657. procedure setBOR; inline;
  6658. procedure setCMR; inline;
  6659. procedure setEXTR; inline;
  6660. procedure setHVDR; inline;
  6661. procedure setIDLE; inline;
  6662. procedure setPOR; inline;
  6663. procedure setSLEEP; inline;
  6664. procedure setSWR; inline;
  6665. procedure setVREGS; inline;
  6666. procedure setWDTO; inline;
  6667. property BOR : TBits_1 read getBOR write setBOR;
  6668. property CMR : TBits_1 read getCMR write setCMR;
  6669. property EXTR : TBits_1 read getEXTR write setEXTR;
  6670. property HVDR : TBits_1 read getHVDR write setHVDR;
  6671. property IDLE : TBits_1 read getIDLE write setIDLE;
  6672. property POR : TBits_1 read getPOR write setPOR;
  6673. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  6674. property SWR : TBits_1 read getSWR write setSWR;
  6675. property VREGS : TBits_1 read getVREGS write setVREGS;
  6676. property WDTO : TBits_1 read getWDTO write setWDTO;
  6677. property w : TBits_32 read getw write setw;
  6678. end;
  6679. TRCON_RSWRST = record
  6680. private
  6681. function getSWRST : TBits_1; inline;
  6682. function getw : TBits_32; inline;
  6683. procedure setSWRST(thebits : TBits_1); inline;
  6684. procedure setw(thebits : TBits_32); inline;
  6685. public
  6686. procedure clearSWRST; inline;
  6687. procedure setSWRST; inline;
  6688. property SWRST : TBits_1 read getSWRST write setSWRST;
  6689. property w : TBits_32 read getw write setw;
  6690. end;
  6691. type
  6692. TRCONRegisters = record
  6693. RCONbits : TRCON_RCON;
  6694. RCON : longWord;
  6695. RCONCLR : longWord;
  6696. RCONSET : longWord;
  6697. RCONINV : longWord;
  6698. RSWRSTbits : TRCON_RSWRST;
  6699. RSWRST : longWord;
  6700. RSWRSTCLR : longWord;
  6701. RSWRSTSET : longWord;
  6702. RSWRSTINV : longWord;
  6703. INT1R : longWord;
  6704. INT2R : longWord;
  6705. INT3R : longWord;
  6706. INT4R : longWord;
  6707. T2CKR : longWord;
  6708. T3CKR : longWord;
  6709. T4CKR : longWord;
  6710. T5CKR : longWord;
  6711. IC1R : longWord;
  6712. IC2R : longWord;
  6713. IC3R : longWord;
  6714. IC4R : longWord;
  6715. IC5R : longWord;
  6716. OCFAR : longWord;
  6717. U1RXR : longWord;
  6718. U1CTSR : longWord;
  6719. U2RXR : longWord;
  6720. U2CTSR : longWord;
  6721. U3RXR : longWord;
  6722. U3CTSR : longWord;
  6723. U4RXR : longWord;
  6724. U4CTSR : longWord;
  6725. U5RXR : longWord;
  6726. U5CTSR : longWord;
  6727. SDI1R : longWord;
  6728. SS1R : longWord;
  6729. SDI2R : longWord;
  6730. SS2R : longWord;
  6731. REFCLKIR : longWord;
  6732. RPA14R : longWord;
  6733. RPA15R : longWord;
  6734. RPB0R : longWord;
  6735. RPB1R : longWord;
  6736. RPB2R : longWord;
  6737. RPB3R : longWord;
  6738. RPB5R : longWord;
  6739. RPB6R : longWord;
  6740. RPB7R : longWord;
  6741. RPB8R : longWord;
  6742. RPB9R : longWord;
  6743. RPB10R : longWord;
  6744. RPB14R : longWord;
  6745. RPB15R : longWord;
  6746. RPC1R : longWord;
  6747. RPC2R : longWord;
  6748. RPC3R : longWord;
  6749. RPC4R : longWord;
  6750. RPC13R : longWord;
  6751. RPC14R : longWord;
  6752. RPD0R : longWord;
  6753. RPD1R : longWord;
  6754. RPD2R : longWord;
  6755. RPD3R : longWord;
  6756. RPD4R : longWord;
  6757. RPD5R : longWord;
  6758. RPD8R : longWord;
  6759. RPD9R : longWord;
  6760. RPD10R : longWord;
  6761. RPD11R : longWord;
  6762. RPD12R : longWord;
  6763. RPD14R : longWord;
  6764. RPD15R : longWord;
  6765. RPE3R : longWord;
  6766. RPE5R : longWord;
  6767. RPE8R : longWord;
  6768. RPE9R : longWord;
  6769. RPF0R : longWord;
  6770. RPF1R : longWord;
  6771. RPF2R : longWord;
  6772. RPF4R : longWord;
  6773. RPF5R : longWord;
  6774. RPF8R : longWord;
  6775. RPF12R : longWord;
  6776. RPF13R : longWord;
  6777. RPG0R : longWord;
  6778. RPG1R : longWord;
  6779. RPG6R : longWord;
  6780. RPG7R : longWord;
  6781. RPG8R : longWord;
  6782. RPG9R : longWord;
  6783. end;
  6784. TINT_INTCON = record
  6785. private
  6786. function getINT0EP : TBits_1; inline;
  6787. function getINT1EP : TBits_1; inline;
  6788. function getINT2EP : TBits_1; inline;
  6789. function getINT3EP : TBits_1; inline;
  6790. function getINT4EP : TBits_1; inline;
  6791. function getMVEC : TBits_1; inline;
  6792. function getSS0 : TBits_1; inline;
  6793. function getTPC : TBits_3; inline;
  6794. function getw : TBits_32; inline;
  6795. procedure setINT0EP(thebits : TBits_1); inline;
  6796. procedure setINT1EP(thebits : TBits_1); inline;
  6797. procedure setINT2EP(thebits : TBits_1); inline;
  6798. procedure setINT3EP(thebits : TBits_1); inline;
  6799. procedure setINT4EP(thebits : TBits_1); inline;
  6800. procedure setMVEC(thebits : TBits_1); inline;
  6801. procedure setSS0(thebits : TBits_1); inline;
  6802. procedure setTPC(thebits : TBits_3); inline;
  6803. procedure setw(thebits : TBits_32); inline;
  6804. public
  6805. procedure clearINT0EP; inline;
  6806. procedure clearINT1EP; inline;
  6807. procedure clearINT2EP; inline;
  6808. procedure clearINT3EP; inline;
  6809. procedure clearINT4EP; inline;
  6810. procedure clearMVEC; inline;
  6811. procedure clearSS0; inline;
  6812. procedure setINT0EP; inline;
  6813. procedure setINT1EP; inline;
  6814. procedure setINT2EP; inline;
  6815. procedure setINT3EP; inline;
  6816. procedure setINT4EP; inline;
  6817. procedure setMVEC; inline;
  6818. procedure setSS0; inline;
  6819. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  6820. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  6821. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  6822. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  6823. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  6824. property MVEC : TBits_1 read getMVEC write setMVEC;
  6825. property SS0 : TBits_1 read getSS0 write setSS0;
  6826. property TPC : TBits_3 read getTPC write setTPC;
  6827. property w : TBits_32 read getw write setw;
  6828. end;
  6829. TINT_IFS0 = record
  6830. private
  6831. function getAD1IF : TBits_1; inline;
  6832. function getCS0IF : TBits_1; inline;
  6833. function getCS1IF : TBits_1; inline;
  6834. function getCTIF : TBits_1; inline;
  6835. function getFCEIF : TBits_1; inline;
  6836. function getFSCMIF : TBits_1; inline;
  6837. function getIC1EIF : TBits_1; inline;
  6838. function getIC1IF : TBits_1; inline;
  6839. function getIC2EIF : TBits_1; inline;
  6840. function getIC2IF : TBits_1; inline;
  6841. function getIC3EIF : TBits_1; inline;
  6842. function getIC3IF : TBits_1; inline;
  6843. function getIC4EIF : TBits_1; inline;
  6844. function getIC4IF : TBits_1; inline;
  6845. function getIC5EIF : TBits_1; inline;
  6846. function getIC5IF : TBits_1; inline;
  6847. function getINT0IF : TBits_1; inline;
  6848. function getINT1IF : TBits_1; inline;
  6849. function getINT2IF : TBits_1; inline;
  6850. function getINT3IF : TBits_1; inline;
  6851. function getINT4IF : TBits_1; inline;
  6852. function getOC1IF : TBits_1; inline;
  6853. function getOC2IF : TBits_1; inline;
  6854. function getOC3IF : TBits_1; inline;
  6855. function getOC4IF : TBits_1; inline;
  6856. function getOC5IF : TBits_1; inline;
  6857. function getRTCCIF : TBits_1; inline;
  6858. function getT1IF : TBits_1; inline;
  6859. function getT2IF : TBits_1; inline;
  6860. function getT3IF : TBits_1; inline;
  6861. function getT4IF : TBits_1; inline;
  6862. function getT5IF : TBits_1; inline;
  6863. function getw : TBits_32; inline;
  6864. procedure setAD1IF(thebits : TBits_1); inline;
  6865. procedure setCS0IF(thebits : TBits_1); inline;
  6866. procedure setCS1IF(thebits : TBits_1); inline;
  6867. procedure setCTIF(thebits : TBits_1); inline;
  6868. procedure setFCEIF(thebits : TBits_1); inline;
  6869. procedure setFSCMIF(thebits : TBits_1); inline;
  6870. procedure setIC1EIF(thebits : TBits_1); inline;
  6871. procedure setIC1IF(thebits : TBits_1); inline;
  6872. procedure setIC2EIF(thebits : TBits_1); inline;
  6873. procedure setIC2IF(thebits : TBits_1); inline;
  6874. procedure setIC3EIF(thebits : TBits_1); inline;
  6875. procedure setIC3IF(thebits : TBits_1); inline;
  6876. procedure setIC4EIF(thebits : TBits_1); inline;
  6877. procedure setIC4IF(thebits : TBits_1); inline;
  6878. procedure setIC5EIF(thebits : TBits_1); inline;
  6879. procedure setIC5IF(thebits : TBits_1); inline;
  6880. procedure setINT0IF(thebits : TBits_1); inline;
  6881. procedure setINT1IF(thebits : TBits_1); inline;
  6882. procedure setINT2IF(thebits : TBits_1); inline;
  6883. procedure setINT3IF(thebits : TBits_1); inline;
  6884. procedure setINT4IF(thebits : TBits_1); inline;
  6885. procedure setOC1IF(thebits : TBits_1); inline;
  6886. procedure setOC2IF(thebits : TBits_1); inline;
  6887. procedure setOC3IF(thebits : TBits_1); inline;
  6888. procedure setOC4IF(thebits : TBits_1); inline;
  6889. procedure setOC5IF(thebits : TBits_1); inline;
  6890. procedure setRTCCIF(thebits : TBits_1); inline;
  6891. procedure setT1IF(thebits : TBits_1); inline;
  6892. procedure setT2IF(thebits : TBits_1); inline;
  6893. procedure setT3IF(thebits : TBits_1); inline;
  6894. procedure setT4IF(thebits : TBits_1); inline;
  6895. procedure setT5IF(thebits : TBits_1); inline;
  6896. procedure setw(thebits : TBits_32); inline;
  6897. public
  6898. procedure clearAD1IF; inline;
  6899. procedure clearCS0IF; inline;
  6900. procedure clearCS1IF; inline;
  6901. procedure clearCTIF; inline;
  6902. procedure clearFCEIF; inline;
  6903. procedure clearFSCMIF; inline;
  6904. procedure clearIC1EIF; inline;
  6905. procedure clearIC1IF; inline;
  6906. procedure clearIC2EIF; inline;
  6907. procedure clearIC2IF; inline;
  6908. procedure clearIC3EIF; inline;
  6909. procedure clearIC3IF; inline;
  6910. procedure clearIC4EIF; inline;
  6911. procedure clearIC4IF; inline;
  6912. procedure clearIC5EIF; inline;
  6913. procedure clearIC5IF; inline;
  6914. procedure clearINT0IF; inline;
  6915. procedure clearINT1IF; inline;
  6916. procedure clearINT2IF; inline;
  6917. procedure clearINT3IF; inline;
  6918. procedure clearINT4IF; inline;
  6919. procedure clearOC1IF; inline;
  6920. procedure clearOC2IF; inline;
  6921. procedure clearOC3IF; inline;
  6922. procedure clearOC4IF; inline;
  6923. procedure clearOC5IF; inline;
  6924. procedure clearRTCCIF; inline;
  6925. procedure clearT1IF; inline;
  6926. procedure clearT2IF; inline;
  6927. procedure clearT3IF; inline;
  6928. procedure clearT4IF; inline;
  6929. procedure clearT5IF; inline;
  6930. procedure setAD1IF; inline;
  6931. procedure setCS0IF; inline;
  6932. procedure setCS1IF; inline;
  6933. procedure setCTIF; inline;
  6934. procedure setFCEIF; inline;
  6935. procedure setFSCMIF; inline;
  6936. procedure setIC1EIF; inline;
  6937. procedure setIC1IF; inline;
  6938. procedure setIC2EIF; inline;
  6939. procedure setIC2IF; inline;
  6940. procedure setIC3EIF; inline;
  6941. procedure setIC3IF; inline;
  6942. procedure setIC4EIF; inline;
  6943. procedure setIC4IF; inline;
  6944. procedure setIC5EIF; inline;
  6945. procedure setIC5IF; inline;
  6946. procedure setINT0IF; inline;
  6947. procedure setINT1IF; inline;
  6948. procedure setINT2IF; inline;
  6949. procedure setINT3IF; inline;
  6950. procedure setINT4IF; inline;
  6951. procedure setOC1IF; inline;
  6952. procedure setOC2IF; inline;
  6953. procedure setOC3IF; inline;
  6954. procedure setOC4IF; inline;
  6955. procedure setOC5IF; inline;
  6956. procedure setRTCCIF; inline;
  6957. procedure setT1IF; inline;
  6958. procedure setT2IF; inline;
  6959. procedure setT3IF; inline;
  6960. procedure setT4IF; inline;
  6961. procedure setT5IF; inline;
  6962. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  6963. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  6964. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  6965. property CTIF : TBits_1 read getCTIF write setCTIF;
  6966. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  6967. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  6968. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  6969. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  6970. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  6971. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  6972. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  6973. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  6974. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  6975. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  6976. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  6977. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  6978. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  6979. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  6980. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  6981. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  6982. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  6983. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  6984. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  6985. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  6986. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  6987. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  6988. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  6989. property T1IF : TBits_1 read getT1IF write setT1IF;
  6990. property T2IF : TBits_1 read getT2IF write setT2IF;
  6991. property T3IF : TBits_1 read getT3IF write setT3IF;
  6992. property T4IF : TBits_1 read getT4IF write setT4IF;
  6993. property T5IF : TBits_1 read getT5IF write setT5IF;
  6994. property w : TBits_32 read getw write setw;
  6995. end;
  6996. TINT_IFS1 = record
  6997. private
  6998. function getCMP1IF : TBits_1; inline;
  6999. function getCMP2IF : TBits_1; inline;
  7000. function getCNAIF : TBits_1; inline;
  7001. function getCNBIF : TBits_1; inline;
  7002. function getCNCIF : TBits_1; inline;
  7003. function getCNDIF : TBits_1; inline;
  7004. function getCNEIF : TBits_1; inline;
  7005. function getCNFIF : TBits_1; inline;
  7006. function getCNGIF : TBits_1; inline;
  7007. function getI2C1BIF : TBits_1; inline;
  7008. function getI2C1MIF : TBits_1; inline;
  7009. function getI2C1SIF : TBits_1; inline;
  7010. function getI2C2BIF : TBits_1; inline;
  7011. function getI2C2MIF : TBits_1; inline;
  7012. function getI2C2SIF : TBits_1; inline;
  7013. function getPMPEIF : TBits_1; inline;
  7014. function getPMPIF : TBits_1; inline;
  7015. function getSPI1EIF : TBits_1; inline;
  7016. function getSPI1RXIF : TBits_1; inline;
  7017. function getSPI1TXIF : TBits_1; inline;
  7018. function getSPI2EIF : TBits_1; inline;
  7019. function getSPI2RXIF : TBits_1; inline;
  7020. function getSPI2TXIF : TBits_1; inline;
  7021. function getU1EIF : TBits_1; inline;
  7022. function getU1RXIF : TBits_1; inline;
  7023. function getU1TXIF : TBits_1; inline;
  7024. function getU2EIF : TBits_1; inline;
  7025. function getU2RXIF : TBits_1; inline;
  7026. function getU2TXIF : TBits_1; inline;
  7027. function getU3EIF : TBits_1; inline;
  7028. function getU3RXIF : TBits_1; inline;
  7029. function getUSBIF : TBits_1; inline;
  7030. function getw : TBits_32; inline;
  7031. procedure setCMP1IF(thebits : TBits_1); inline;
  7032. procedure setCMP2IF(thebits : TBits_1); inline;
  7033. procedure setCNAIF(thebits : TBits_1); inline;
  7034. procedure setCNBIF(thebits : TBits_1); inline;
  7035. procedure setCNCIF(thebits : TBits_1); inline;
  7036. procedure setCNDIF(thebits : TBits_1); inline;
  7037. procedure setCNEIF(thebits : TBits_1); inline;
  7038. procedure setCNFIF(thebits : TBits_1); inline;
  7039. procedure setCNGIF(thebits : TBits_1); inline;
  7040. procedure setI2C1BIF(thebits : TBits_1); inline;
  7041. procedure setI2C1MIF(thebits : TBits_1); inline;
  7042. procedure setI2C1SIF(thebits : TBits_1); inline;
  7043. procedure setI2C2BIF(thebits : TBits_1); inline;
  7044. procedure setI2C2MIF(thebits : TBits_1); inline;
  7045. procedure setI2C2SIF(thebits : TBits_1); inline;
  7046. procedure setPMPEIF(thebits : TBits_1); inline;
  7047. procedure setPMPIF(thebits : TBits_1); inline;
  7048. procedure setSPI1EIF(thebits : TBits_1); inline;
  7049. procedure setSPI1RXIF(thebits : TBits_1); inline;
  7050. procedure setSPI1TXIF(thebits : TBits_1); inline;
  7051. procedure setSPI2EIF(thebits : TBits_1); inline;
  7052. procedure setSPI2RXIF(thebits : TBits_1); inline;
  7053. procedure setSPI2TXIF(thebits : TBits_1); inline;
  7054. procedure setU1EIF(thebits : TBits_1); inline;
  7055. procedure setU1RXIF(thebits : TBits_1); inline;
  7056. procedure setU1TXIF(thebits : TBits_1); inline;
  7057. procedure setU2EIF(thebits : TBits_1); inline;
  7058. procedure setU2RXIF(thebits : TBits_1); inline;
  7059. procedure setU2TXIF(thebits : TBits_1); inline;
  7060. procedure setU3EIF(thebits : TBits_1); inline;
  7061. procedure setU3RXIF(thebits : TBits_1); inline;
  7062. procedure setUSBIF(thebits : TBits_1); inline;
  7063. procedure setw(thebits : TBits_32); inline;
  7064. public
  7065. procedure clearCMP1IF; inline;
  7066. procedure clearCMP2IF; inline;
  7067. procedure clearCNAIF; inline;
  7068. procedure clearCNBIF; inline;
  7069. procedure clearCNCIF; inline;
  7070. procedure clearCNDIF; inline;
  7071. procedure clearCNEIF; inline;
  7072. procedure clearCNFIF; inline;
  7073. procedure clearCNGIF; inline;
  7074. procedure clearI2C1BIF; inline;
  7075. procedure clearI2C1MIF; inline;
  7076. procedure clearI2C1SIF; inline;
  7077. procedure clearI2C2BIF; inline;
  7078. procedure clearI2C2MIF; inline;
  7079. procedure clearI2C2SIF; inline;
  7080. procedure clearPMPEIF; inline;
  7081. procedure clearPMPIF; inline;
  7082. procedure clearSPI1EIF; inline;
  7083. procedure clearSPI1RXIF; inline;
  7084. procedure clearSPI1TXIF; inline;
  7085. procedure clearSPI2EIF; inline;
  7086. procedure clearSPI2RXIF; inline;
  7087. procedure clearSPI2TXIF; inline;
  7088. procedure clearU1EIF; inline;
  7089. procedure clearU1RXIF; inline;
  7090. procedure clearU1TXIF; inline;
  7091. procedure clearU2EIF; inline;
  7092. procedure clearU2RXIF; inline;
  7093. procedure clearU2TXIF; inline;
  7094. procedure clearU3EIF; inline;
  7095. procedure clearU3RXIF; inline;
  7096. procedure clearUSBIF; inline;
  7097. procedure setCMP1IF; inline;
  7098. procedure setCMP2IF; inline;
  7099. procedure setCNAIF; inline;
  7100. procedure setCNBIF; inline;
  7101. procedure setCNCIF; inline;
  7102. procedure setCNDIF; inline;
  7103. procedure setCNEIF; inline;
  7104. procedure setCNFIF; inline;
  7105. procedure setCNGIF; inline;
  7106. procedure setI2C1BIF; inline;
  7107. procedure setI2C1MIF; inline;
  7108. procedure setI2C1SIF; inline;
  7109. procedure setI2C2BIF; inline;
  7110. procedure setI2C2MIF; inline;
  7111. procedure setI2C2SIF; inline;
  7112. procedure setPMPEIF; inline;
  7113. procedure setPMPIF; inline;
  7114. procedure setSPI1EIF; inline;
  7115. procedure setSPI1RXIF; inline;
  7116. procedure setSPI1TXIF; inline;
  7117. procedure setSPI2EIF; inline;
  7118. procedure setSPI2RXIF; inline;
  7119. procedure setSPI2TXIF; inline;
  7120. procedure setU1EIF; inline;
  7121. procedure setU1RXIF; inline;
  7122. procedure setU1TXIF; inline;
  7123. procedure setU2EIF; inline;
  7124. procedure setU2RXIF; inline;
  7125. procedure setU2TXIF; inline;
  7126. procedure setU3EIF; inline;
  7127. procedure setU3RXIF; inline;
  7128. procedure setUSBIF; inline;
  7129. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  7130. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  7131. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  7132. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  7133. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  7134. property CNDIF : TBits_1 read getCNDIF write setCNDIF;
  7135. property CNEIF : TBits_1 read getCNEIF write setCNEIF;
  7136. property CNFIF : TBits_1 read getCNFIF write setCNFIF;
  7137. property CNGIF : TBits_1 read getCNGIF write setCNGIF;
  7138. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  7139. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  7140. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  7141. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  7142. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  7143. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  7144. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  7145. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  7146. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  7147. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  7148. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  7149. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  7150. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  7151. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  7152. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  7153. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  7154. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  7155. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  7156. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  7157. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  7158. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  7159. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  7160. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  7161. property w : TBits_32 read getw write setw;
  7162. end;
  7163. TINT_IEC0 = record
  7164. private
  7165. function getAD1IE : TBits_1; inline;
  7166. function getCS0IE : TBits_1; inline;
  7167. function getCS1IE : TBits_1; inline;
  7168. function getCTIE : TBits_1; inline;
  7169. function getFCEIE : TBits_1; inline;
  7170. function getFSCMIE : TBits_1; inline;
  7171. function getIC1EIE : TBits_1; inline;
  7172. function getIC1IE : TBits_1; inline;
  7173. function getIC2EIE : TBits_1; inline;
  7174. function getIC2IE : TBits_1; inline;
  7175. function getIC3EIE : TBits_1; inline;
  7176. function getIC3IE : TBits_1; inline;
  7177. function getIC4EIE : TBits_1; inline;
  7178. function getIC4IE : TBits_1; inline;
  7179. function getIC5EIE : TBits_1; inline;
  7180. function getIC5IE : TBits_1; inline;
  7181. function getINT0IE : TBits_1; inline;
  7182. function getINT1IE : TBits_1; inline;
  7183. function getINT2IE : TBits_1; inline;
  7184. function getINT3IE : TBits_1; inline;
  7185. function getINT4IE : TBits_1; inline;
  7186. function getOC1IE : TBits_1; inline;
  7187. function getOC2IE : TBits_1; inline;
  7188. function getOC3IE : TBits_1; inline;
  7189. function getOC4IE : TBits_1; inline;
  7190. function getOC5IE : TBits_1; inline;
  7191. function getRTCCIE : TBits_1; inline;
  7192. function getT1IE : TBits_1; inline;
  7193. function getT2IE : TBits_1; inline;
  7194. function getT3IE : TBits_1; inline;
  7195. function getT4IE : TBits_1; inline;
  7196. function getT5IE : TBits_1; inline;
  7197. function getw : TBits_32; inline;
  7198. procedure setAD1IE(thebits : TBits_1); inline;
  7199. procedure setCS0IE(thebits : TBits_1); inline;
  7200. procedure setCS1IE(thebits : TBits_1); inline;
  7201. procedure setCTIE(thebits : TBits_1); inline;
  7202. procedure setFCEIE(thebits : TBits_1); inline;
  7203. procedure setFSCMIE(thebits : TBits_1); inline;
  7204. procedure setIC1EIE(thebits : TBits_1); inline;
  7205. procedure setIC1IE(thebits : TBits_1); inline;
  7206. procedure setIC2EIE(thebits : TBits_1); inline;
  7207. procedure setIC2IE(thebits : TBits_1); inline;
  7208. procedure setIC3EIE(thebits : TBits_1); inline;
  7209. procedure setIC3IE(thebits : TBits_1); inline;
  7210. procedure setIC4EIE(thebits : TBits_1); inline;
  7211. procedure setIC4IE(thebits : TBits_1); inline;
  7212. procedure setIC5EIE(thebits : TBits_1); inline;
  7213. procedure setIC5IE(thebits : TBits_1); inline;
  7214. procedure setINT0IE(thebits : TBits_1); inline;
  7215. procedure setINT1IE(thebits : TBits_1); inline;
  7216. procedure setINT2IE(thebits : TBits_1); inline;
  7217. procedure setINT3IE(thebits : TBits_1); inline;
  7218. procedure setINT4IE(thebits : TBits_1); inline;
  7219. procedure setOC1IE(thebits : TBits_1); inline;
  7220. procedure setOC2IE(thebits : TBits_1); inline;
  7221. procedure setOC3IE(thebits : TBits_1); inline;
  7222. procedure setOC4IE(thebits : TBits_1); inline;
  7223. procedure setOC5IE(thebits : TBits_1); inline;
  7224. procedure setRTCCIE(thebits : TBits_1); inline;
  7225. procedure setT1IE(thebits : TBits_1); inline;
  7226. procedure setT2IE(thebits : TBits_1); inline;
  7227. procedure setT3IE(thebits : TBits_1); inline;
  7228. procedure setT4IE(thebits : TBits_1); inline;
  7229. procedure setT5IE(thebits : TBits_1); inline;
  7230. procedure setw(thebits : TBits_32); inline;
  7231. public
  7232. procedure clearAD1IE; inline;
  7233. procedure clearCS0IE; inline;
  7234. procedure clearCS1IE; inline;
  7235. procedure clearCTIE; inline;
  7236. procedure clearFCEIE; inline;
  7237. procedure clearFSCMIE; inline;
  7238. procedure clearIC1EIE; inline;
  7239. procedure clearIC1IE; inline;
  7240. procedure clearIC2EIE; inline;
  7241. procedure clearIC2IE; inline;
  7242. procedure clearIC3EIE; inline;
  7243. procedure clearIC3IE; inline;
  7244. procedure clearIC4EIE; inline;
  7245. procedure clearIC4IE; inline;
  7246. procedure clearIC5EIE; inline;
  7247. procedure clearIC5IE; inline;
  7248. procedure clearINT0IE; inline;
  7249. procedure clearINT1IE; inline;
  7250. procedure clearINT2IE; inline;
  7251. procedure clearINT3IE; inline;
  7252. procedure clearINT4IE; inline;
  7253. procedure clearOC1IE; inline;
  7254. procedure clearOC2IE; inline;
  7255. procedure clearOC3IE; inline;
  7256. procedure clearOC4IE; inline;
  7257. procedure clearOC5IE; inline;
  7258. procedure clearRTCCIE; inline;
  7259. procedure clearT1IE; inline;
  7260. procedure clearT2IE; inline;
  7261. procedure clearT3IE; inline;
  7262. procedure clearT4IE; inline;
  7263. procedure clearT5IE; inline;
  7264. procedure setAD1IE; inline;
  7265. procedure setCS0IE; inline;
  7266. procedure setCS1IE; inline;
  7267. procedure setCTIE; inline;
  7268. procedure setFCEIE; inline;
  7269. procedure setFSCMIE; inline;
  7270. procedure setIC1EIE; inline;
  7271. procedure setIC1IE; inline;
  7272. procedure setIC2EIE; inline;
  7273. procedure setIC2IE; inline;
  7274. procedure setIC3EIE; inline;
  7275. procedure setIC3IE; inline;
  7276. procedure setIC4EIE; inline;
  7277. procedure setIC4IE; inline;
  7278. procedure setIC5EIE; inline;
  7279. procedure setIC5IE; inline;
  7280. procedure setINT0IE; inline;
  7281. procedure setINT1IE; inline;
  7282. procedure setINT2IE; inline;
  7283. procedure setINT3IE; inline;
  7284. procedure setINT4IE; inline;
  7285. procedure setOC1IE; inline;
  7286. procedure setOC2IE; inline;
  7287. procedure setOC3IE; inline;
  7288. procedure setOC4IE; inline;
  7289. procedure setOC5IE; inline;
  7290. procedure setRTCCIE; inline;
  7291. procedure setT1IE; inline;
  7292. procedure setT2IE; inline;
  7293. procedure setT3IE; inline;
  7294. procedure setT4IE; inline;
  7295. procedure setT5IE; inline;
  7296. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  7297. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  7298. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  7299. property CTIE : TBits_1 read getCTIE write setCTIE;
  7300. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  7301. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  7302. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  7303. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  7304. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  7305. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  7306. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  7307. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  7308. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  7309. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  7310. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  7311. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  7312. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  7313. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  7314. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  7315. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  7316. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  7317. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  7318. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  7319. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  7320. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  7321. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  7322. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  7323. property T1IE : TBits_1 read getT1IE write setT1IE;
  7324. property T2IE : TBits_1 read getT2IE write setT2IE;
  7325. property T3IE : TBits_1 read getT3IE write setT3IE;
  7326. property T4IE : TBits_1 read getT4IE write setT4IE;
  7327. property T5IE : TBits_1 read getT5IE write setT5IE;
  7328. property w : TBits_32 read getw write setw;
  7329. end;
  7330. TINT_IEC1 = record
  7331. private
  7332. function getCMP1IE : TBits_1; inline;
  7333. function getCMP2IE : TBits_1; inline;
  7334. function getCNAIE : TBits_1; inline;
  7335. function getCNBIE : TBits_1; inline;
  7336. function getCNCIE : TBits_1; inline;
  7337. function getCNDIE : TBits_1; inline;
  7338. function getCNEIE : TBits_1; inline;
  7339. function getCNFIE : TBits_1; inline;
  7340. function getCNGIE : TBits_1; inline;
  7341. function getI2C1BIE : TBits_1; inline;
  7342. function getI2C1MIE : TBits_1; inline;
  7343. function getI2C1SIE : TBits_1; inline;
  7344. function getI2C2BIE : TBits_1; inline;
  7345. function getI2C2MIE : TBits_1; inline;
  7346. function getI2C2SIE : TBits_1; inline;
  7347. function getPMPEIE : TBits_1; inline;
  7348. function getPMPIE : TBits_1; inline;
  7349. function getSPI1EIE : TBits_1; inline;
  7350. function getSPI1RXIE : TBits_1; inline;
  7351. function getSPI1TXIE : TBits_1; inline;
  7352. function getSPI2EIE : TBits_1; inline;
  7353. function getSPI2RXIE : TBits_1; inline;
  7354. function getSPI2TXIE : TBits_1; inline;
  7355. function getU1EIE : TBits_1; inline;
  7356. function getU1RXIE : TBits_1; inline;
  7357. function getU1TXIE : TBits_1; inline;
  7358. function getU2EIE : TBits_1; inline;
  7359. function getU2RXIE : TBits_1; inline;
  7360. function getU2TXIE : TBits_1; inline;
  7361. function getU3EIE : TBits_1; inline;
  7362. function getU3RXIE : TBits_1; inline;
  7363. function getUSBIE : TBits_1; inline;
  7364. function getw : TBits_32; inline;
  7365. procedure setCMP1IE(thebits : TBits_1); inline;
  7366. procedure setCMP2IE(thebits : TBits_1); inline;
  7367. procedure setCNAIE(thebits : TBits_1); inline;
  7368. procedure setCNBIE(thebits : TBits_1); inline;
  7369. procedure setCNCIE(thebits : TBits_1); inline;
  7370. procedure setCNDIE(thebits : TBits_1); inline;
  7371. procedure setCNEIE(thebits : TBits_1); inline;
  7372. procedure setCNFIE(thebits : TBits_1); inline;
  7373. procedure setCNGIE(thebits : TBits_1); inline;
  7374. procedure setI2C1BIE(thebits : TBits_1); inline;
  7375. procedure setI2C1MIE(thebits : TBits_1); inline;
  7376. procedure setI2C1SIE(thebits : TBits_1); inline;
  7377. procedure setI2C2BIE(thebits : TBits_1); inline;
  7378. procedure setI2C2MIE(thebits : TBits_1); inline;
  7379. procedure setI2C2SIE(thebits : TBits_1); inline;
  7380. procedure setPMPEIE(thebits : TBits_1); inline;
  7381. procedure setPMPIE(thebits : TBits_1); inline;
  7382. procedure setSPI1EIE(thebits : TBits_1); inline;
  7383. procedure setSPI1RXIE(thebits : TBits_1); inline;
  7384. procedure setSPI1TXIE(thebits : TBits_1); inline;
  7385. procedure setSPI2EIE(thebits : TBits_1); inline;
  7386. procedure setSPI2RXIE(thebits : TBits_1); inline;
  7387. procedure setSPI2TXIE(thebits : TBits_1); inline;
  7388. procedure setU1EIE(thebits : TBits_1); inline;
  7389. procedure setU1RXIE(thebits : TBits_1); inline;
  7390. procedure setU1TXIE(thebits : TBits_1); inline;
  7391. procedure setU2EIE(thebits : TBits_1); inline;
  7392. procedure setU2RXIE(thebits : TBits_1); inline;
  7393. procedure setU2TXIE(thebits : TBits_1); inline;
  7394. procedure setU3EIE(thebits : TBits_1); inline;
  7395. procedure setU3RXIE(thebits : TBits_1); inline;
  7396. procedure setUSBIE(thebits : TBits_1); inline;
  7397. procedure setw(thebits : TBits_32); inline;
  7398. public
  7399. procedure clearCMP1IE; inline;
  7400. procedure clearCMP2IE; inline;
  7401. procedure clearCNAIE; inline;
  7402. procedure clearCNBIE; inline;
  7403. procedure clearCNCIE; inline;
  7404. procedure clearCNDIE; inline;
  7405. procedure clearCNEIE; inline;
  7406. procedure clearCNFIE; inline;
  7407. procedure clearCNGIE; inline;
  7408. procedure clearI2C1BIE; inline;
  7409. procedure clearI2C1MIE; inline;
  7410. procedure clearI2C1SIE; inline;
  7411. procedure clearI2C2BIE; inline;
  7412. procedure clearI2C2MIE; inline;
  7413. procedure clearI2C2SIE; inline;
  7414. procedure clearPMPEIE; inline;
  7415. procedure clearPMPIE; inline;
  7416. procedure clearSPI1EIE; inline;
  7417. procedure clearSPI1RXIE; inline;
  7418. procedure clearSPI1TXIE; inline;
  7419. procedure clearSPI2EIE; inline;
  7420. procedure clearSPI2RXIE; inline;
  7421. procedure clearSPI2TXIE; inline;
  7422. procedure clearU1EIE; inline;
  7423. procedure clearU1RXIE; inline;
  7424. procedure clearU1TXIE; inline;
  7425. procedure clearU2EIE; inline;
  7426. procedure clearU2RXIE; inline;
  7427. procedure clearU2TXIE; inline;
  7428. procedure clearU3EIE; inline;
  7429. procedure clearU3RXIE; inline;
  7430. procedure clearUSBIE; inline;
  7431. procedure setCMP1IE; inline;
  7432. procedure setCMP2IE; inline;
  7433. procedure setCNAIE; inline;
  7434. procedure setCNBIE; inline;
  7435. procedure setCNCIE; inline;
  7436. procedure setCNDIE; inline;
  7437. procedure setCNEIE; inline;
  7438. procedure setCNFIE; inline;
  7439. procedure setCNGIE; inline;
  7440. procedure setI2C1BIE; inline;
  7441. procedure setI2C1MIE; inline;
  7442. procedure setI2C1SIE; inline;
  7443. procedure setI2C2BIE; inline;
  7444. procedure setI2C2MIE; inline;
  7445. procedure setI2C2SIE; inline;
  7446. procedure setPMPEIE; inline;
  7447. procedure setPMPIE; inline;
  7448. procedure setSPI1EIE; inline;
  7449. procedure setSPI1RXIE; inline;
  7450. procedure setSPI1TXIE; inline;
  7451. procedure setSPI2EIE; inline;
  7452. procedure setSPI2RXIE; inline;
  7453. procedure setSPI2TXIE; inline;
  7454. procedure setU1EIE; inline;
  7455. procedure setU1RXIE; inline;
  7456. procedure setU1TXIE; inline;
  7457. procedure setU2EIE; inline;
  7458. procedure setU2RXIE; inline;
  7459. procedure setU2TXIE; inline;
  7460. procedure setU3EIE; inline;
  7461. procedure setU3RXIE; inline;
  7462. procedure setUSBIE; inline;
  7463. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  7464. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  7465. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  7466. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  7467. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  7468. property CNDIE : TBits_1 read getCNDIE write setCNDIE;
  7469. property CNEIE : TBits_1 read getCNEIE write setCNEIE;
  7470. property CNFIE : TBits_1 read getCNFIE write setCNFIE;
  7471. property CNGIE : TBits_1 read getCNGIE write setCNGIE;
  7472. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  7473. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  7474. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  7475. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  7476. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  7477. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  7478. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  7479. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  7480. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  7481. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  7482. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  7483. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  7484. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  7485. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  7486. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  7487. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  7488. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  7489. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  7490. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  7491. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  7492. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  7493. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  7494. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  7495. property w : TBits_32 read getw write setw;
  7496. end;
  7497. TINT_IPC0 = record
  7498. private
  7499. function getCS0IP : TBits_3; inline;
  7500. function getCS0IS : TBits_2; inline;
  7501. function getCS1IP : TBits_3; inline;
  7502. function getCS1IS : TBits_2; inline;
  7503. function getCTIP : TBits_3; inline;
  7504. function getCTIS : TBits_2; inline;
  7505. function getINT0IP : TBits_3; inline;
  7506. function getINT0IS : TBits_2; inline;
  7507. function getw : TBits_32; inline;
  7508. procedure setCS0IP(thebits : TBits_3); inline;
  7509. procedure setCS0IS(thebits : TBits_2); inline;
  7510. procedure setCS1IP(thebits : TBits_3); inline;
  7511. procedure setCS1IS(thebits : TBits_2); inline;
  7512. procedure setCTIP(thebits : TBits_3); inline;
  7513. procedure setCTIS(thebits : TBits_2); inline;
  7514. procedure setINT0IP(thebits : TBits_3); inline;
  7515. procedure setINT0IS(thebits : TBits_2); inline;
  7516. procedure setw(thebits : TBits_32); inline;
  7517. public
  7518. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  7519. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  7520. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  7521. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  7522. property CTIP : TBits_3 read getCTIP write setCTIP;
  7523. property CTIS : TBits_2 read getCTIS write setCTIS;
  7524. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  7525. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  7526. property w : TBits_32 read getw write setw;
  7527. end;
  7528. TINT_IPC1 = record
  7529. private
  7530. function getIC1IP : TBits_3; inline;
  7531. function getIC1IS : TBits_2; inline;
  7532. function getINT1IP : TBits_3; inline;
  7533. function getINT1IS : TBits_2; inline;
  7534. function getOC1IP : TBits_3; inline;
  7535. function getOC1IS : TBits_2; inline;
  7536. function getT1IP : TBits_3; inline;
  7537. function getT1IS : TBits_2; inline;
  7538. function getw : TBits_32; inline;
  7539. procedure setIC1IP(thebits : TBits_3); inline;
  7540. procedure setIC1IS(thebits : TBits_2); inline;
  7541. procedure setINT1IP(thebits : TBits_3); inline;
  7542. procedure setINT1IS(thebits : TBits_2); inline;
  7543. procedure setOC1IP(thebits : TBits_3); inline;
  7544. procedure setOC1IS(thebits : TBits_2); inline;
  7545. procedure setT1IP(thebits : TBits_3); inline;
  7546. procedure setT1IS(thebits : TBits_2); inline;
  7547. procedure setw(thebits : TBits_32); inline;
  7548. public
  7549. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  7550. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  7551. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  7552. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  7553. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  7554. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  7555. property T1IP : TBits_3 read getT1IP write setT1IP;
  7556. property T1IS : TBits_2 read getT1IS write setT1IS;
  7557. property w : TBits_32 read getw write setw;
  7558. end;
  7559. TINT_IPC2 = record
  7560. private
  7561. function getIC2IP : TBits_3; inline;
  7562. function getIC2IS : TBits_2; inline;
  7563. function getINT2IP : TBits_3; inline;
  7564. function getINT2IS : TBits_2; inline;
  7565. function getOC2IP : TBits_3; inline;
  7566. function getOC2IS : TBits_2; inline;
  7567. function getT2IP : TBits_3; inline;
  7568. function getT2IS : TBits_2; inline;
  7569. function getw : TBits_32; inline;
  7570. procedure setIC2IP(thebits : TBits_3); inline;
  7571. procedure setIC2IS(thebits : TBits_2); inline;
  7572. procedure setINT2IP(thebits : TBits_3); inline;
  7573. procedure setINT2IS(thebits : TBits_2); inline;
  7574. procedure setOC2IP(thebits : TBits_3); inline;
  7575. procedure setOC2IS(thebits : TBits_2); inline;
  7576. procedure setT2IP(thebits : TBits_3); inline;
  7577. procedure setT2IS(thebits : TBits_2); inline;
  7578. procedure setw(thebits : TBits_32); inline;
  7579. public
  7580. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  7581. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  7582. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  7583. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  7584. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  7585. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  7586. property T2IP : TBits_3 read getT2IP write setT2IP;
  7587. property T2IS : TBits_2 read getT2IS write setT2IS;
  7588. property w : TBits_32 read getw write setw;
  7589. end;
  7590. TINT_IPC3 = record
  7591. private
  7592. function getIC3IP : TBits_3; inline;
  7593. function getIC3IS : TBits_2; inline;
  7594. function getINT3IP : TBits_3; inline;
  7595. function getINT3IS : TBits_2; inline;
  7596. function getOC3IP : TBits_3; inline;
  7597. function getOC3IS : TBits_2; inline;
  7598. function getT3IP : TBits_3; inline;
  7599. function getT3IS : TBits_2; inline;
  7600. function getw : TBits_32; inline;
  7601. procedure setIC3IP(thebits : TBits_3); inline;
  7602. procedure setIC3IS(thebits : TBits_2); inline;
  7603. procedure setINT3IP(thebits : TBits_3); inline;
  7604. procedure setINT3IS(thebits : TBits_2); inline;
  7605. procedure setOC3IP(thebits : TBits_3); inline;
  7606. procedure setOC3IS(thebits : TBits_2); inline;
  7607. procedure setT3IP(thebits : TBits_3); inline;
  7608. procedure setT3IS(thebits : TBits_2); inline;
  7609. procedure setw(thebits : TBits_32); inline;
  7610. public
  7611. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  7612. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  7613. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  7614. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  7615. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  7616. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  7617. property T3IP : TBits_3 read getT3IP write setT3IP;
  7618. property T3IS : TBits_2 read getT3IS write setT3IS;
  7619. property w : TBits_32 read getw write setw;
  7620. end;
  7621. TINT_IPC4 = record
  7622. private
  7623. function getIC4IP : TBits_3; inline;
  7624. function getIC4IS : TBits_2; inline;
  7625. function getINT4IP : TBits_3; inline;
  7626. function getINT4IS : TBits_2; inline;
  7627. function getOC4IP : TBits_3; inline;
  7628. function getOC4IS : TBits_2; inline;
  7629. function getT4IP : TBits_3; inline;
  7630. function getT4IS : TBits_2; inline;
  7631. function getw : TBits_32; inline;
  7632. procedure setIC4IP(thebits : TBits_3); inline;
  7633. procedure setIC4IS(thebits : TBits_2); inline;
  7634. procedure setINT4IP(thebits : TBits_3); inline;
  7635. procedure setINT4IS(thebits : TBits_2); inline;
  7636. procedure setOC4IP(thebits : TBits_3); inline;
  7637. procedure setOC4IS(thebits : TBits_2); inline;
  7638. procedure setT4IP(thebits : TBits_3); inline;
  7639. procedure setT4IS(thebits : TBits_2); inline;
  7640. procedure setw(thebits : TBits_32); inline;
  7641. public
  7642. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  7643. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  7644. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  7645. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  7646. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  7647. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  7648. property T4IP : TBits_3 read getT4IP write setT4IP;
  7649. property T4IS : TBits_2 read getT4IS write setT4IS;
  7650. property w : TBits_32 read getw write setw;
  7651. end;
  7652. TINT_IPC5 = record
  7653. private
  7654. function getAD1IP : TBits_3; inline;
  7655. function getAD1IS : TBits_2; inline;
  7656. function getIC5IP : TBits_3; inline;
  7657. function getIC5IS : TBits_2; inline;
  7658. function getOC5IP : TBits_3; inline;
  7659. function getOC5IS : TBits_2; inline;
  7660. function getT5IP : TBits_3; inline;
  7661. function getT5IS : TBits_2; inline;
  7662. function getw : TBits_32; inline;
  7663. procedure setAD1IP(thebits : TBits_3); inline;
  7664. procedure setAD1IS(thebits : TBits_2); inline;
  7665. procedure setIC5IP(thebits : TBits_3); inline;
  7666. procedure setIC5IS(thebits : TBits_2); inline;
  7667. procedure setOC5IP(thebits : TBits_3); inline;
  7668. procedure setOC5IS(thebits : TBits_2); inline;
  7669. procedure setT5IP(thebits : TBits_3); inline;
  7670. procedure setT5IS(thebits : TBits_2); inline;
  7671. procedure setw(thebits : TBits_32); inline;
  7672. public
  7673. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  7674. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  7675. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  7676. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  7677. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  7678. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  7679. property T5IP : TBits_3 read getT5IP write setT5IP;
  7680. property T5IS : TBits_2 read getT5IS write setT5IS;
  7681. property w : TBits_32 read getw write setw;
  7682. end;
  7683. TINT_IPC6 = record
  7684. private
  7685. function getCMP1IP : TBits_3; inline;
  7686. function getCMP1IS : TBits_2; inline;
  7687. function getFCEIP : TBits_3; inline;
  7688. function getFCEIS : TBits_2; inline;
  7689. function getFSCMIP : TBits_3; inline;
  7690. function getFSCMIS : TBits_2; inline;
  7691. function getRTCCIP : TBits_3; inline;
  7692. function getRTCCIS : TBits_2; inline;
  7693. function getw : TBits_32; inline;
  7694. procedure setCMP1IP(thebits : TBits_3); inline;
  7695. procedure setCMP1IS(thebits : TBits_2); inline;
  7696. procedure setFCEIP(thebits : TBits_3); inline;
  7697. procedure setFCEIS(thebits : TBits_2); inline;
  7698. procedure setFSCMIP(thebits : TBits_3); inline;
  7699. procedure setFSCMIS(thebits : TBits_2); inline;
  7700. procedure setRTCCIP(thebits : TBits_3); inline;
  7701. procedure setRTCCIS(thebits : TBits_2); inline;
  7702. procedure setw(thebits : TBits_32); inline;
  7703. public
  7704. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  7705. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  7706. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  7707. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  7708. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  7709. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  7710. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  7711. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  7712. property w : TBits_32 read getw write setw;
  7713. end;
  7714. TINT_IPC7 = record
  7715. private
  7716. function getCMP2IP : TBits_3; inline;
  7717. function getCMP2IS : TBits_2; inline;
  7718. function getSPI1IP : TBits_3; inline;
  7719. function getSPI1IS : TBits_2; inline;
  7720. function getU1IP : TBits_3; inline;
  7721. function getU1IS : TBits_2; inline;
  7722. function getUSBIP : TBits_3; inline;
  7723. function getUSBIS : TBits_2; inline;
  7724. function getw : TBits_32; inline;
  7725. procedure setCMP2IP(thebits : TBits_3); inline;
  7726. procedure setCMP2IS(thebits : TBits_2); inline;
  7727. procedure setSPI1IP(thebits : TBits_3); inline;
  7728. procedure setSPI1IS(thebits : TBits_2); inline;
  7729. procedure setU1IP(thebits : TBits_3); inline;
  7730. procedure setU1IS(thebits : TBits_2); inline;
  7731. procedure setUSBIP(thebits : TBits_3); inline;
  7732. procedure setUSBIS(thebits : TBits_2); inline;
  7733. procedure setw(thebits : TBits_32); inline;
  7734. public
  7735. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  7736. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  7737. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  7738. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  7739. property U1IP : TBits_3 read getU1IP write setU1IP;
  7740. property U1IS : TBits_2 read getU1IS write setU1IS;
  7741. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  7742. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  7743. property w : TBits_32 read getw write setw;
  7744. end;
  7745. TINT_IPC8 = record
  7746. private
  7747. function getCNIP : TBits_3; inline;
  7748. function getCNIS : TBits_2; inline;
  7749. function getI2C1IP : TBits_3; inline;
  7750. function getI2C1IS : TBits_2; inline;
  7751. function getPMPIP : TBits_3; inline;
  7752. function getPMPIS : TBits_2; inline;
  7753. function getSPI2IP : TBits_3; inline;
  7754. function getSPI2IS : TBits_2; inline;
  7755. function getw : TBits_32; inline;
  7756. procedure setCNIP(thebits : TBits_3); inline;
  7757. procedure setCNIS(thebits : TBits_2); inline;
  7758. procedure setI2C1IP(thebits : TBits_3); inline;
  7759. procedure setI2C1IS(thebits : TBits_2); inline;
  7760. procedure setPMPIP(thebits : TBits_3); inline;
  7761. procedure setPMPIS(thebits : TBits_2); inline;
  7762. procedure setSPI2IP(thebits : TBits_3); inline;
  7763. procedure setSPI2IS(thebits : TBits_2); inline;
  7764. procedure setw(thebits : TBits_32); inline;
  7765. public
  7766. property CNIP : TBits_3 read getCNIP write setCNIP;
  7767. property CNIS : TBits_2 read getCNIS write setCNIS;
  7768. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  7769. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  7770. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  7771. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  7772. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  7773. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  7774. property w : TBits_32 read getw write setw;
  7775. end;
  7776. TINT_IPC9 = record
  7777. private
  7778. function getI2C2IP : TBits_3; inline;
  7779. function getI2C2IS : TBits_2; inline;
  7780. function getU2IP : TBits_3; inline;
  7781. function getU2IS : TBits_2; inline;
  7782. function getU3IP : TBits_3; inline;
  7783. function getU3IS : TBits_2; inline;
  7784. function getU4IP : TBits_3; inline;
  7785. function getU4IS : TBits_2; inline;
  7786. function getw : TBits_32; inline;
  7787. procedure setI2C2IP(thebits : TBits_3); inline;
  7788. procedure setI2C2IS(thebits : TBits_2); inline;
  7789. procedure setU2IP(thebits : TBits_3); inline;
  7790. procedure setU2IS(thebits : TBits_2); inline;
  7791. procedure setU3IP(thebits : TBits_3); inline;
  7792. procedure setU3IS(thebits : TBits_2); inline;
  7793. procedure setU4IP(thebits : TBits_3); inline;
  7794. procedure setU4IS(thebits : TBits_2); inline;
  7795. procedure setw(thebits : TBits_32); inline;
  7796. public
  7797. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  7798. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  7799. property U2IP : TBits_3 read getU2IP write setU2IP;
  7800. property U2IS : TBits_2 read getU2IS write setU2IS;
  7801. property U3IP : TBits_3 read getU3IP write setU3IP;
  7802. property U3IS : TBits_2 read getU3IS write setU3IS;
  7803. property U4IP : TBits_3 read getU4IP write setU4IP;
  7804. property U4IS : TBits_2 read getU4IS write setU4IS;
  7805. property w : TBits_32 read getw write setw;
  7806. end;
  7807. TINT_IPC10 = record
  7808. private
  7809. function getCTMUIP : TBits_2; inline;
  7810. function getCTMUIS : TBits_3; inline;
  7811. function getDMA0IP : TBits_3; inline;
  7812. function getDMA0IS : TBits_2; inline;
  7813. function getDMA1IP : TBits_3; inline;
  7814. function getDMA1IS : TBits_2; inline;
  7815. function getU5IP : TBits_3; inline;
  7816. function getU5IS : TBits_2; inline;
  7817. function getw : TBits_32; inline;
  7818. procedure setCTMUIP(thebits : TBits_2); inline;
  7819. procedure setCTMUIS(thebits : TBits_3); inline;
  7820. procedure setDMA0IP(thebits : TBits_3); inline;
  7821. procedure setDMA0IS(thebits : TBits_2); inline;
  7822. procedure setDMA1IP(thebits : TBits_3); inline;
  7823. procedure setDMA1IS(thebits : TBits_2); inline;
  7824. procedure setU5IP(thebits : TBits_3); inline;
  7825. procedure setU5IS(thebits : TBits_2); inline;
  7826. procedure setw(thebits : TBits_32); inline;
  7827. public
  7828. property CTMUIP : TBits_2 read getCTMUIP write setCTMUIP;
  7829. property CTMUIS : TBits_3 read getCTMUIS write setCTMUIS;
  7830. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  7831. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  7832. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  7833. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  7834. property U5IP : TBits_3 read getU5IP write setU5IP;
  7835. property U5IS : TBits_2 read getU5IS write setU5IS;
  7836. property w : TBits_32 read getw write setw;
  7837. end;
  7838. TINT_IPC11 = record
  7839. private
  7840. function getDMA2IP : TBits_3; inline;
  7841. function getDMA2IS : TBits_2; inline;
  7842. function getDMA3IP : TBits_3; inline;
  7843. function getDMA3IS : TBits_2; inline;
  7844. function getw : TBits_32; inline;
  7845. procedure setDMA2IP(thebits : TBits_3); inline;
  7846. procedure setDMA2IS(thebits : TBits_2); inline;
  7847. procedure setDMA3IP(thebits : TBits_3); inline;
  7848. procedure setDMA3IS(thebits : TBits_2); inline;
  7849. procedure setw(thebits : TBits_32); inline;
  7850. public
  7851. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  7852. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  7853. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  7854. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  7855. property w : TBits_32 read getw write setw;
  7856. end;
  7857. type
  7858. TINTRegisters = record
  7859. INTCONbits : TINT_INTCON;
  7860. INTCON : longWord;
  7861. INTCONCLR : longWord;
  7862. INTCONSET : longWord;
  7863. INTCONINV : longWord;
  7864. INTSTAT : longWord;
  7865. IPTMR : longWord;
  7866. IPTMRCLR : longWord;
  7867. IPTMRSET : longWord;
  7868. IPTMRINV : longWord;
  7869. IFS0bits : TINT_IFS0;
  7870. IFS0 : longWord;
  7871. IFS0CLR : longWord;
  7872. IFS0SET : longWord;
  7873. IFS0INV : longWord;
  7874. IFS1bits : TINT_IFS1;
  7875. IFS1 : longWord;
  7876. IFS1CLR : longWord;
  7877. IFS1SET : longWord;
  7878. IFS1INV : longWord;
  7879. IFS2 : longWord;
  7880. IFS2CLR : longWord;
  7881. IFS2SET : longWord;
  7882. IFS2INV : longWord;
  7883. IEC0bits : TINT_IEC0;
  7884. IEC0 : longWord;
  7885. IEC0CLR : longWord;
  7886. IEC0SET : longWord;
  7887. IEC0INV : longWord;
  7888. IEC1bits : TINT_IEC1;
  7889. IEC1 : longWord;
  7890. IEC1CLR : longWord;
  7891. IEC1SET : longWord;
  7892. IEC1INV : longWord;
  7893. IEC2 : longWord;
  7894. IEC2CLR : longWord;
  7895. IEC2SET : longWord;
  7896. IEC2INV : longWord;
  7897. IPC0bits : TINT_IPC0;
  7898. IPC0 : longWord;
  7899. IPC0CLR : longWord;
  7900. IPC0SET : longWord;
  7901. IPC0INV : longWord;
  7902. IPC1bits : TINT_IPC1;
  7903. IPC1 : longWord;
  7904. IPC1CLR : longWord;
  7905. IPC1SET : longWord;
  7906. IPC1INV : longWord;
  7907. IPC2bits : TINT_IPC2;
  7908. IPC2 : longWord;
  7909. IPC2CLR : longWord;
  7910. IPC2SET : longWord;
  7911. IPC2INV : longWord;
  7912. IPC3bits : TINT_IPC3;
  7913. IPC3 : longWord;
  7914. IPC3CLR : longWord;
  7915. IPC3SET : longWord;
  7916. IPC3INV : longWord;
  7917. IPC4bits : TINT_IPC4;
  7918. IPC4 : longWord;
  7919. IPC4CLR : longWord;
  7920. IPC4SET : longWord;
  7921. IPC4INV : longWord;
  7922. IPC5bits : TINT_IPC5;
  7923. IPC5 : longWord;
  7924. IPC5CLR : longWord;
  7925. IPC5SET : longWord;
  7926. IPC5INV : longWord;
  7927. IPC6bits : TINT_IPC6;
  7928. IPC6 : longWord;
  7929. IPC6CLR : longWord;
  7930. IPC6SET : longWord;
  7931. IPC6INV : longWord;
  7932. IPC7bits : TINT_IPC7;
  7933. IPC7 : longWord;
  7934. IPC7CLR : longWord;
  7935. IPC7SET : longWord;
  7936. IPC7INV : longWord;
  7937. IPC8bits : TINT_IPC8;
  7938. IPC8 : longWord;
  7939. IPC8CLR : longWord;
  7940. IPC8SET : longWord;
  7941. IPC8INV : longWord;
  7942. IPC9bits : TINT_IPC9;
  7943. IPC9 : longWord;
  7944. IPC9CLR : longWord;
  7945. IPC9SET : longWord;
  7946. IPC9INV : longWord;
  7947. IPC10bits : TINT_IPC10;
  7948. IPC10 : longWord;
  7949. IPC10CLR : longWord;
  7950. IPC10SET : longWord;
  7951. IPC10INV : longWord;
  7952. IPC11bits : TINT_IPC11;
  7953. IPC11 : longWord;
  7954. IPC11CLR : longWord;
  7955. IPC11SET : longWord;
  7956. IPC11INV : longWord;
  7957. end;
  7958. TBMX_BMXCON = record
  7959. private
  7960. function getBMXARB : TBits_3; inline;
  7961. function getBMXCHEDMA : TBits_1; inline;
  7962. function getBMXERRDMA : TBits_1; inline;
  7963. function getBMXERRDS : TBits_1; inline;
  7964. function getBMXERRICD : TBits_1; inline;
  7965. function getBMXERRIS : TBits_1; inline;
  7966. function getBMXERRIXI : TBits_1; inline;
  7967. function getBMXWSDRM : TBits_1; inline;
  7968. function getw : TBits_32; inline;
  7969. procedure setBMXARB(thebits : TBits_3); inline;
  7970. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  7971. procedure setBMXERRDMA(thebits : TBits_1); inline;
  7972. procedure setBMXERRDS(thebits : TBits_1); inline;
  7973. procedure setBMXERRICD(thebits : TBits_1); inline;
  7974. procedure setBMXERRIS(thebits : TBits_1); inline;
  7975. procedure setBMXERRIXI(thebits : TBits_1); inline;
  7976. procedure setBMXWSDRM(thebits : TBits_1); inline;
  7977. procedure setw(thebits : TBits_32); inline;
  7978. public
  7979. procedure clearBMXCHEDMA; inline;
  7980. procedure clearBMXERRDMA; inline;
  7981. procedure clearBMXERRDS; inline;
  7982. procedure clearBMXERRICD; inline;
  7983. procedure clearBMXERRIS; inline;
  7984. procedure clearBMXERRIXI; inline;
  7985. procedure clearBMXWSDRM; inline;
  7986. procedure setBMXCHEDMA; inline;
  7987. procedure setBMXERRDMA; inline;
  7988. procedure setBMXERRDS; inline;
  7989. procedure setBMXERRICD; inline;
  7990. procedure setBMXERRIS; inline;
  7991. procedure setBMXERRIXI; inline;
  7992. procedure setBMXWSDRM; inline;
  7993. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  7994. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  7995. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  7996. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  7997. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  7998. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  7999. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  8000. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  8001. property w : TBits_32 read getw write setw;
  8002. end;
  8003. type
  8004. TBMXRegisters = record
  8005. BMXCONbits : TBMX_BMXCON;
  8006. BMXCON : longWord;
  8007. BMXCONCLR : longWord;
  8008. BMXCONSET : longWord;
  8009. BMXCONINV : longWord;
  8010. BMXDKPBA : longWord;
  8011. BMXDKPBACLR : longWord;
  8012. BMXDKPBASET : longWord;
  8013. BMXDKPBAINV : longWord;
  8014. BMXDUDBA : longWord;
  8015. BMXDUDBACLR : longWord;
  8016. BMXDUDBASET : longWord;
  8017. BMXDUDBAINV : longWord;
  8018. BMXDUPBA : longWord;
  8019. BMXDUPBACLR : longWord;
  8020. BMXDUPBASET : longWord;
  8021. BMXDUPBAINV : longWord;
  8022. BMXDRMSZ : longWord;
  8023. BMXPUPBA : longWord;
  8024. BMXPUPBACLR : longWord;
  8025. BMXPUPBASET : longWord;
  8026. BMXPUPBAINV : longWord;
  8027. BMXPFMSZ : longWord;
  8028. BMXBOOTSZ : longWord;
  8029. end;
  8030. TDMAC_DMACON = record
  8031. private
  8032. function getDMABUSY : TBits_1; inline;
  8033. function getON : TBits_1; inline;
  8034. function getSUSPEND : TBits_1; inline;
  8035. function getw : TBits_32; inline;
  8036. procedure setDMABUSY(thebits : TBits_1); inline;
  8037. procedure setON(thebits : TBits_1); inline;
  8038. procedure setSUSPEND(thebits : TBits_1); inline;
  8039. procedure setw(thebits : TBits_32); inline;
  8040. public
  8041. procedure clearDMABUSY; inline;
  8042. procedure clearON; inline;
  8043. procedure clearSUSPEND; inline;
  8044. procedure setDMABUSY; inline;
  8045. procedure setON; inline;
  8046. procedure setSUSPEND; inline;
  8047. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  8048. property ON : TBits_1 read getON write setON;
  8049. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  8050. property w : TBits_32 read getw write setw;
  8051. end;
  8052. TDMAC_DMASTAT = record
  8053. private
  8054. function getDMACH : TBits_3; inline;
  8055. function getRDWR : TBits_1; inline;
  8056. function getw : TBits_32; inline;
  8057. procedure setDMACH(thebits : TBits_3); inline;
  8058. procedure setRDWR(thebits : TBits_1); inline;
  8059. procedure setw(thebits : TBits_32); inline;
  8060. public
  8061. procedure clearRDWR; inline;
  8062. procedure setRDWR; inline;
  8063. property DMACH : TBits_3 read getDMACH write setDMACH;
  8064. property RDWR : TBits_1 read getRDWR write setRDWR;
  8065. property w : TBits_32 read getw write setw;
  8066. end;
  8067. TDMAC_DCRCCON = record
  8068. private
  8069. function getBITO : TBits_1; inline;
  8070. function getBYTO : TBits_2; inline;
  8071. function getCRCAPP : TBits_1; inline;
  8072. function getCRCCH : TBits_3; inline;
  8073. function getCRCEN : TBits_1; inline;
  8074. function getCRCTYP : TBits_1; inline;
  8075. function getPLEN : TBits_5; inline;
  8076. function getWBO : TBits_1; inline;
  8077. function getw : TBits_32; inline;
  8078. procedure setBITO(thebits : TBits_1); inline;
  8079. procedure setBYTO(thebits : TBits_2); inline;
  8080. procedure setCRCAPP(thebits : TBits_1); inline;
  8081. procedure setCRCCH(thebits : TBits_3); inline;
  8082. procedure setCRCEN(thebits : TBits_1); inline;
  8083. procedure setCRCTYP(thebits : TBits_1); inline;
  8084. procedure setPLEN(thebits : TBits_5); inline;
  8085. procedure setWBO(thebits : TBits_1); inline;
  8086. procedure setw(thebits : TBits_32); inline;
  8087. public
  8088. procedure clearBITO; inline;
  8089. procedure clearCRCAPP; inline;
  8090. procedure clearCRCEN; inline;
  8091. procedure clearCRCTYP; inline;
  8092. procedure clearWBO; inline;
  8093. procedure setBITO; inline;
  8094. procedure setCRCAPP; inline;
  8095. procedure setCRCEN; inline;
  8096. procedure setCRCTYP; inline;
  8097. procedure setWBO; inline;
  8098. property BITO : TBits_1 read getBITO write setBITO;
  8099. property BYTO : TBits_2 read getBYTO write setBYTO;
  8100. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  8101. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  8102. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  8103. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  8104. property PLEN : TBits_5 read getPLEN write setPLEN;
  8105. property WBO : TBits_1 read getWBO write setWBO;
  8106. property w : TBits_32 read getw write setw;
  8107. end;
  8108. type
  8109. TDMACRegisters = record
  8110. DMACONbits : TDMAC_DMACON;
  8111. DMACON : longWord;
  8112. DMACONCLR : longWord;
  8113. DMACONSET : longWord;
  8114. DMACONINV : longWord;
  8115. DMASTATbits : TDMAC_DMASTAT;
  8116. DMASTAT : longWord;
  8117. DMASTATCLR : longWord;
  8118. DMASTATSET : longWord;
  8119. DMASTATINV : longWord;
  8120. DMAADDR : longWord;
  8121. DMAADDRCLR : longWord;
  8122. DMAADDRSET : longWord;
  8123. DMAADDRINV : longWord;
  8124. DCRCCONbits : TDMAC_DCRCCON;
  8125. DCRCCON : longWord;
  8126. DCRCCONCLR : longWord;
  8127. DCRCCONSET : longWord;
  8128. DCRCCONINV : longWord;
  8129. DCRCDATA : longWord;
  8130. DCRCDATACLR : longWord;
  8131. DCRCDATASET : longWord;
  8132. DCRCDATAINV : longWord;
  8133. DCRCXOR : longWord;
  8134. DCRCXORCLR : longWord;
  8135. DCRCXORSET : longWord;
  8136. DCRCXORINV : longWord;
  8137. end;
  8138. TDMAC0_DCH0CON = record
  8139. private
  8140. function getCHAED : TBits_1; inline;
  8141. function getCHAEN : TBits_1; inline;
  8142. function getCHBUSY : TBits_1; inline;
  8143. function getCHCHN : TBits_1; inline;
  8144. function getCHCHNS : TBits_1; inline;
  8145. function getCHEDET : TBits_1; inline;
  8146. function getCHEN : TBits_1; inline;
  8147. function getCHPRI : TBits_2; inline;
  8148. function getw : TBits_32; inline;
  8149. procedure setCHAED(thebits : TBits_1); inline;
  8150. procedure setCHAEN(thebits : TBits_1); inline;
  8151. procedure setCHBUSY(thebits : TBits_1); inline;
  8152. procedure setCHCHN(thebits : TBits_1); inline;
  8153. procedure setCHCHNS(thebits : TBits_1); inline;
  8154. procedure setCHEDET(thebits : TBits_1); inline;
  8155. procedure setCHEN(thebits : TBits_1); inline;
  8156. procedure setCHPRI(thebits : TBits_2); inline;
  8157. procedure setw(thebits : TBits_32); inline;
  8158. public
  8159. procedure clearCHAED; inline;
  8160. procedure clearCHAEN; inline;
  8161. procedure clearCHBUSY; inline;
  8162. procedure clearCHCHN; inline;
  8163. procedure clearCHCHNS; inline;
  8164. procedure clearCHEDET; inline;
  8165. procedure clearCHEN; inline;
  8166. procedure setCHAED; inline;
  8167. procedure setCHAEN; inline;
  8168. procedure setCHBUSY; inline;
  8169. procedure setCHCHN; inline;
  8170. procedure setCHCHNS; inline;
  8171. procedure setCHEDET; inline;
  8172. procedure setCHEN; inline;
  8173. property CHAED : TBits_1 read getCHAED write setCHAED;
  8174. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8175. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8176. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8177. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8178. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8179. property CHEN : TBits_1 read getCHEN write setCHEN;
  8180. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8181. property w : TBits_32 read getw write setw;
  8182. end;
  8183. TDMAC0_DCH0ECON = record
  8184. private
  8185. function getAIRQEN : TBits_1; inline;
  8186. function getCABORT : TBits_1; inline;
  8187. function getCFORCE : TBits_1; inline;
  8188. function getCHAIRQ : TBits_8; inline;
  8189. function getCHSIRQ : TBits_8; inline;
  8190. function getPATEN : TBits_1; inline;
  8191. function getSIRQEN : TBits_1; inline;
  8192. function getw : TBits_32; inline;
  8193. procedure setAIRQEN(thebits : TBits_1); inline;
  8194. procedure setCABORT(thebits : TBits_1); inline;
  8195. procedure setCFORCE(thebits : TBits_1); inline;
  8196. procedure setCHAIRQ(thebits : TBits_8); inline;
  8197. procedure setCHSIRQ(thebits : TBits_8); inline;
  8198. procedure setPATEN(thebits : TBits_1); inline;
  8199. procedure setSIRQEN(thebits : TBits_1); inline;
  8200. procedure setw(thebits : TBits_32); inline;
  8201. public
  8202. procedure clearAIRQEN; inline;
  8203. procedure clearCABORT; inline;
  8204. procedure clearCFORCE; inline;
  8205. procedure clearPATEN; inline;
  8206. procedure clearSIRQEN; inline;
  8207. procedure setAIRQEN; inline;
  8208. procedure setCABORT; inline;
  8209. procedure setCFORCE; inline;
  8210. procedure setPATEN; inline;
  8211. procedure setSIRQEN; inline;
  8212. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8213. property CABORT : TBits_1 read getCABORT write setCABORT;
  8214. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8215. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8216. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8217. property PATEN : TBits_1 read getPATEN write setPATEN;
  8218. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8219. property w : TBits_32 read getw write setw;
  8220. end;
  8221. TDMAC0_DCH0INT = record
  8222. private
  8223. function getCHBCIE : TBits_1; inline;
  8224. function getCHBCIF : TBits_1; inline;
  8225. function getCHCCIE : TBits_1; inline;
  8226. function getCHCCIF : TBits_1; inline;
  8227. function getCHDDIE : TBits_1; inline;
  8228. function getCHDDIF : TBits_1; inline;
  8229. function getCHDHIE : TBits_1; inline;
  8230. function getCHDHIF : TBits_1; inline;
  8231. function getCHERIE : TBits_1; inline;
  8232. function getCHERIF : TBits_1; inline;
  8233. function getCHSDIE : TBits_1; inline;
  8234. function getCHSDIF : TBits_1; inline;
  8235. function getCHSHIE : TBits_1; inline;
  8236. function getCHSHIF : TBits_1; inline;
  8237. function getCHTAIE : TBits_1; inline;
  8238. function getCHTAIF : TBits_1; inline;
  8239. function getw : TBits_32; inline;
  8240. procedure setCHBCIE(thebits : TBits_1); inline;
  8241. procedure setCHBCIF(thebits : TBits_1); inline;
  8242. procedure setCHCCIE(thebits : TBits_1); inline;
  8243. procedure setCHCCIF(thebits : TBits_1); inline;
  8244. procedure setCHDDIE(thebits : TBits_1); inline;
  8245. procedure setCHDDIF(thebits : TBits_1); inline;
  8246. procedure setCHDHIE(thebits : TBits_1); inline;
  8247. procedure setCHDHIF(thebits : TBits_1); inline;
  8248. procedure setCHERIE(thebits : TBits_1); inline;
  8249. procedure setCHERIF(thebits : TBits_1); inline;
  8250. procedure setCHSDIE(thebits : TBits_1); inline;
  8251. procedure setCHSDIF(thebits : TBits_1); inline;
  8252. procedure setCHSHIE(thebits : TBits_1); inline;
  8253. procedure setCHSHIF(thebits : TBits_1); inline;
  8254. procedure setCHTAIE(thebits : TBits_1); inline;
  8255. procedure setCHTAIF(thebits : TBits_1); inline;
  8256. procedure setw(thebits : TBits_32); inline;
  8257. public
  8258. procedure clearCHBCIE; inline;
  8259. procedure clearCHBCIF; inline;
  8260. procedure clearCHCCIE; inline;
  8261. procedure clearCHCCIF; inline;
  8262. procedure clearCHDDIE; inline;
  8263. procedure clearCHDDIF; inline;
  8264. procedure clearCHDHIE; inline;
  8265. procedure clearCHDHIF; inline;
  8266. procedure clearCHERIE; inline;
  8267. procedure clearCHERIF; inline;
  8268. procedure clearCHSDIE; inline;
  8269. procedure clearCHSDIF; inline;
  8270. procedure clearCHSHIE; inline;
  8271. procedure clearCHSHIF; inline;
  8272. procedure clearCHTAIE; inline;
  8273. procedure clearCHTAIF; inline;
  8274. procedure setCHBCIE; inline;
  8275. procedure setCHBCIF; inline;
  8276. procedure setCHCCIE; inline;
  8277. procedure setCHCCIF; inline;
  8278. procedure setCHDDIE; inline;
  8279. procedure setCHDDIF; inline;
  8280. procedure setCHDHIE; inline;
  8281. procedure setCHDHIF; inline;
  8282. procedure setCHERIE; inline;
  8283. procedure setCHERIF; inline;
  8284. procedure setCHSDIE; inline;
  8285. procedure setCHSDIF; inline;
  8286. procedure setCHSHIE; inline;
  8287. procedure setCHSHIF; inline;
  8288. procedure setCHTAIE; inline;
  8289. procedure setCHTAIF; inline;
  8290. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8291. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8292. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8293. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8294. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8295. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8296. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8297. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8298. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8299. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8300. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8301. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8302. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8303. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8304. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8305. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8306. property w : TBits_32 read getw write setw;
  8307. end;
  8308. type
  8309. TDMAC0Registers = record
  8310. DCH0CONbits : TDMAC0_DCH0CON;
  8311. DCH0CON : longWord;
  8312. DCH0CONCLR : longWord;
  8313. DCH0CONSET : longWord;
  8314. DCH0CONINV : longWord;
  8315. DCH0ECONbits : TDMAC0_DCH0ECON;
  8316. DCH0ECON : longWord;
  8317. DCH0ECONCLR : longWord;
  8318. DCH0ECONSET : longWord;
  8319. DCH0ECONINV : longWord;
  8320. DCH0INTbits : TDMAC0_DCH0INT;
  8321. DCH0INT : longWord;
  8322. DCH0INTCLR : longWord;
  8323. DCH0INTSET : longWord;
  8324. DCH0INTINV : longWord;
  8325. DCH0SSA : longWord;
  8326. DCH0SSACLR : longWord;
  8327. DCH0SSASET : longWord;
  8328. DCH0SSAINV : longWord;
  8329. DCH0DSA : longWord;
  8330. DCH0DSACLR : longWord;
  8331. DCH0DSASET : longWord;
  8332. DCH0DSAINV : longWord;
  8333. DCH0SSIZ : longWord;
  8334. DCH0SSIZCLR : longWord;
  8335. DCH0SSIZSET : longWord;
  8336. DCH0SSIZINV : longWord;
  8337. DCH0DSIZ : longWord;
  8338. DCH0DSIZCLR : longWord;
  8339. DCH0DSIZSET : longWord;
  8340. DCH0DSIZINV : longWord;
  8341. DCH0SPTR : longWord;
  8342. DCH0SPTRCLR : longWord;
  8343. DCH0SPTRSET : longWord;
  8344. DCH0SPTRINV : longWord;
  8345. DCH0DPTR : longWord;
  8346. DCH0DPTRCLR : longWord;
  8347. DCH0DPTRSET : longWord;
  8348. DCH0DPTRINV : longWord;
  8349. DCH0CSIZ : longWord;
  8350. DCH0CSIZCLR : longWord;
  8351. DCH0CSIZSET : longWord;
  8352. DCH0CSIZINV : longWord;
  8353. DCH0CPTR : longWord;
  8354. DCH0CPTRCLR : longWord;
  8355. DCH0CPTRSET : longWord;
  8356. DCH0CPTRINV : longWord;
  8357. DCH0DAT : longWord;
  8358. DCH0DATCLR : longWord;
  8359. DCH0DATSET : longWord;
  8360. DCH0DATINV : longWord;
  8361. end;
  8362. TDMAC1_DCH1CON = record
  8363. private
  8364. function getCHAED : TBits_1; inline;
  8365. function getCHAEN : TBits_1; inline;
  8366. function getCHBUSY : TBits_1; inline;
  8367. function getCHCHN : TBits_1; inline;
  8368. function getCHCHNS : TBits_1; inline;
  8369. function getCHEDET : TBits_1; inline;
  8370. function getCHEN : TBits_1; inline;
  8371. function getCHPRI : TBits_2; inline;
  8372. function getw : TBits_32; inline;
  8373. procedure setCHAED(thebits : TBits_1); inline;
  8374. procedure setCHAEN(thebits : TBits_1); inline;
  8375. procedure setCHBUSY(thebits : TBits_1); inline;
  8376. procedure setCHCHN(thebits : TBits_1); inline;
  8377. procedure setCHCHNS(thebits : TBits_1); inline;
  8378. procedure setCHEDET(thebits : TBits_1); inline;
  8379. procedure setCHEN(thebits : TBits_1); inline;
  8380. procedure setCHPRI(thebits : TBits_2); inline;
  8381. procedure setw(thebits : TBits_32); inline;
  8382. public
  8383. procedure clearCHAED; inline;
  8384. procedure clearCHAEN; inline;
  8385. procedure clearCHBUSY; inline;
  8386. procedure clearCHCHN; inline;
  8387. procedure clearCHCHNS; inline;
  8388. procedure clearCHEDET; inline;
  8389. procedure clearCHEN; inline;
  8390. procedure setCHAED; inline;
  8391. procedure setCHAEN; inline;
  8392. procedure setCHBUSY; inline;
  8393. procedure setCHCHN; inline;
  8394. procedure setCHCHNS; inline;
  8395. procedure setCHEDET; inline;
  8396. procedure setCHEN; inline;
  8397. property CHAED : TBits_1 read getCHAED write setCHAED;
  8398. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8399. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8400. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8401. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8402. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8403. property CHEN : TBits_1 read getCHEN write setCHEN;
  8404. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8405. property w : TBits_32 read getw write setw;
  8406. end;
  8407. TDMAC1_DCH1ECON = record
  8408. private
  8409. function getAIRQEN : TBits_1; inline;
  8410. function getCABORT : TBits_1; inline;
  8411. function getCFORCE : TBits_1; inline;
  8412. function getCHAIRQ : TBits_8; inline;
  8413. function getCHSIRQ : TBits_8; inline;
  8414. function getPATEN : TBits_1; inline;
  8415. function getSIRQEN : TBits_1; inline;
  8416. function getw : TBits_32; inline;
  8417. procedure setAIRQEN(thebits : TBits_1); inline;
  8418. procedure setCABORT(thebits : TBits_1); inline;
  8419. procedure setCFORCE(thebits : TBits_1); inline;
  8420. procedure setCHAIRQ(thebits : TBits_8); inline;
  8421. procedure setCHSIRQ(thebits : TBits_8); inline;
  8422. procedure setPATEN(thebits : TBits_1); inline;
  8423. procedure setSIRQEN(thebits : TBits_1); inline;
  8424. procedure setw(thebits : TBits_32); inline;
  8425. public
  8426. procedure clearAIRQEN; inline;
  8427. procedure clearCABORT; inline;
  8428. procedure clearCFORCE; inline;
  8429. procedure clearPATEN; inline;
  8430. procedure clearSIRQEN; inline;
  8431. procedure setAIRQEN; inline;
  8432. procedure setCABORT; inline;
  8433. procedure setCFORCE; inline;
  8434. procedure setPATEN; inline;
  8435. procedure setSIRQEN; inline;
  8436. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8437. property CABORT : TBits_1 read getCABORT write setCABORT;
  8438. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8439. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8440. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8441. property PATEN : TBits_1 read getPATEN write setPATEN;
  8442. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8443. property w : TBits_32 read getw write setw;
  8444. end;
  8445. TDMAC1_DCH1INT = record
  8446. private
  8447. function getCHBCIE : TBits_1; inline;
  8448. function getCHBCIF : TBits_1; inline;
  8449. function getCHCCIE : TBits_1; inline;
  8450. function getCHCCIF : TBits_1; inline;
  8451. function getCHDDIE : TBits_1; inline;
  8452. function getCHDDIF : TBits_1; inline;
  8453. function getCHDHIE : TBits_1; inline;
  8454. function getCHDHIF : TBits_1; inline;
  8455. function getCHERIE : TBits_1; inline;
  8456. function getCHERIF : TBits_1; inline;
  8457. function getCHSDIE : TBits_1; inline;
  8458. function getCHSDIF : TBits_1; inline;
  8459. function getCHSHIE : TBits_1; inline;
  8460. function getCHSHIF : TBits_1; inline;
  8461. function getCHTAIE : TBits_1; inline;
  8462. function getCHTAIF : TBits_1; inline;
  8463. function getw : TBits_32; inline;
  8464. procedure setCHBCIE(thebits : TBits_1); inline;
  8465. procedure setCHBCIF(thebits : TBits_1); inline;
  8466. procedure setCHCCIE(thebits : TBits_1); inline;
  8467. procedure setCHCCIF(thebits : TBits_1); inline;
  8468. procedure setCHDDIE(thebits : TBits_1); inline;
  8469. procedure setCHDDIF(thebits : TBits_1); inline;
  8470. procedure setCHDHIE(thebits : TBits_1); inline;
  8471. procedure setCHDHIF(thebits : TBits_1); inline;
  8472. procedure setCHERIE(thebits : TBits_1); inline;
  8473. procedure setCHERIF(thebits : TBits_1); inline;
  8474. procedure setCHSDIE(thebits : TBits_1); inline;
  8475. procedure setCHSDIF(thebits : TBits_1); inline;
  8476. procedure setCHSHIE(thebits : TBits_1); inline;
  8477. procedure setCHSHIF(thebits : TBits_1); inline;
  8478. procedure setCHTAIE(thebits : TBits_1); inline;
  8479. procedure setCHTAIF(thebits : TBits_1); inline;
  8480. procedure setw(thebits : TBits_32); inline;
  8481. public
  8482. procedure clearCHBCIE; inline;
  8483. procedure clearCHBCIF; inline;
  8484. procedure clearCHCCIE; inline;
  8485. procedure clearCHCCIF; inline;
  8486. procedure clearCHDDIE; inline;
  8487. procedure clearCHDDIF; inline;
  8488. procedure clearCHDHIE; inline;
  8489. procedure clearCHDHIF; inline;
  8490. procedure clearCHERIE; inline;
  8491. procedure clearCHERIF; inline;
  8492. procedure clearCHSDIE; inline;
  8493. procedure clearCHSDIF; inline;
  8494. procedure clearCHSHIE; inline;
  8495. procedure clearCHSHIF; inline;
  8496. procedure clearCHTAIE; inline;
  8497. procedure clearCHTAIF; inline;
  8498. procedure setCHBCIE; inline;
  8499. procedure setCHBCIF; inline;
  8500. procedure setCHCCIE; inline;
  8501. procedure setCHCCIF; inline;
  8502. procedure setCHDDIE; inline;
  8503. procedure setCHDDIF; inline;
  8504. procedure setCHDHIE; inline;
  8505. procedure setCHDHIF; inline;
  8506. procedure setCHERIE; inline;
  8507. procedure setCHERIF; inline;
  8508. procedure setCHSDIE; inline;
  8509. procedure setCHSDIF; inline;
  8510. procedure setCHSHIE; inline;
  8511. procedure setCHSHIF; inline;
  8512. procedure setCHTAIE; inline;
  8513. procedure setCHTAIF; inline;
  8514. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8515. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8516. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8517. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8518. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8519. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8520. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8521. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8522. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8523. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8524. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8525. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8526. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8527. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8528. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8529. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8530. property w : TBits_32 read getw write setw;
  8531. end;
  8532. type
  8533. TDMAC1Registers = record
  8534. DCH1CONbits : TDMAC1_DCH1CON;
  8535. DCH1CON : longWord;
  8536. DCH1CONCLR : longWord;
  8537. DCH1CONSET : longWord;
  8538. DCH1CONINV : longWord;
  8539. DCH1ECONbits : TDMAC1_DCH1ECON;
  8540. DCH1ECON : longWord;
  8541. DCH1ECONCLR : longWord;
  8542. DCH1ECONSET : longWord;
  8543. DCH1ECONINV : longWord;
  8544. DCH1INTbits : TDMAC1_DCH1INT;
  8545. DCH1INT : longWord;
  8546. DCH1INTCLR : longWord;
  8547. DCH1INTSET : longWord;
  8548. DCH1INTINV : longWord;
  8549. DCH1SSA : longWord;
  8550. DCH1SSACLR : longWord;
  8551. DCH1SSASET : longWord;
  8552. DCH1SSAINV : longWord;
  8553. DCH1DSA : longWord;
  8554. DCH1DSACLR : longWord;
  8555. DCH1DSASET : longWord;
  8556. DCH1DSAINV : longWord;
  8557. DCH1SSIZ : longWord;
  8558. DCH1SSIZCLR : longWord;
  8559. DCH1SSIZSET : longWord;
  8560. DCH1SSIZINV : longWord;
  8561. DCH1DSIZ : longWord;
  8562. DCH1DSIZCLR : longWord;
  8563. DCH1DSIZSET : longWord;
  8564. DCH1DSIZINV : longWord;
  8565. DCH1SPTR : longWord;
  8566. DCH1SPTRCLR : longWord;
  8567. DCH1SPTRSET : longWord;
  8568. DCH1SPTRINV : longWord;
  8569. DCH1DPTR : longWord;
  8570. DCH1DPTRCLR : longWord;
  8571. DCH1DPTRSET : longWord;
  8572. DCH1DPTRINV : longWord;
  8573. DCH1CSIZ : longWord;
  8574. DCH1CSIZCLR : longWord;
  8575. DCH1CSIZSET : longWord;
  8576. DCH1CSIZINV : longWord;
  8577. DCH1CPTR : longWord;
  8578. DCH1CPTRCLR : longWord;
  8579. DCH1CPTRSET : longWord;
  8580. DCH1CPTRINV : longWord;
  8581. DCH1DAT : longWord;
  8582. DCH1DATCLR : longWord;
  8583. DCH1DATSET : longWord;
  8584. DCH1DATINV : longWord;
  8585. end;
  8586. TDMAC2_DCH2CON = record
  8587. private
  8588. function getCHAED : TBits_1; inline;
  8589. function getCHAEN : TBits_1; inline;
  8590. function getCHBUSY : TBits_1; inline;
  8591. function getCHCHN : TBits_1; inline;
  8592. function getCHCHNS : TBits_1; inline;
  8593. function getCHEDET : TBits_1; inline;
  8594. function getCHEN : TBits_1; inline;
  8595. function getCHPRI : TBits_2; inline;
  8596. function getw : TBits_32; inline;
  8597. procedure setCHAED(thebits : TBits_1); inline;
  8598. procedure setCHAEN(thebits : TBits_1); inline;
  8599. procedure setCHBUSY(thebits : TBits_1); inline;
  8600. procedure setCHCHN(thebits : TBits_1); inline;
  8601. procedure setCHCHNS(thebits : TBits_1); inline;
  8602. procedure setCHEDET(thebits : TBits_1); inline;
  8603. procedure setCHEN(thebits : TBits_1); inline;
  8604. procedure setCHPRI(thebits : TBits_2); inline;
  8605. procedure setw(thebits : TBits_32); inline;
  8606. public
  8607. procedure clearCHAED; inline;
  8608. procedure clearCHAEN; inline;
  8609. procedure clearCHBUSY; inline;
  8610. procedure clearCHCHN; inline;
  8611. procedure clearCHCHNS; inline;
  8612. procedure clearCHEDET; inline;
  8613. procedure clearCHEN; inline;
  8614. procedure setCHAED; inline;
  8615. procedure setCHAEN; inline;
  8616. procedure setCHBUSY; inline;
  8617. procedure setCHCHN; inline;
  8618. procedure setCHCHNS; inline;
  8619. procedure setCHEDET; inline;
  8620. procedure setCHEN; inline;
  8621. property CHAED : TBits_1 read getCHAED write setCHAED;
  8622. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8623. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8624. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8625. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8626. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8627. property CHEN : TBits_1 read getCHEN write setCHEN;
  8628. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8629. property w : TBits_32 read getw write setw;
  8630. end;
  8631. TDMAC2_DCH2ECON = record
  8632. private
  8633. function getAIRQEN : TBits_1; inline;
  8634. function getCABORT : TBits_1; inline;
  8635. function getCFORCE : TBits_1; inline;
  8636. function getCHAIRQ : TBits_8; inline;
  8637. function getCHSIRQ : TBits_8; inline;
  8638. function getPATEN : TBits_1; inline;
  8639. function getSIRQEN : TBits_1; inline;
  8640. function getw : TBits_32; inline;
  8641. procedure setAIRQEN(thebits : TBits_1); inline;
  8642. procedure setCABORT(thebits : TBits_1); inline;
  8643. procedure setCFORCE(thebits : TBits_1); inline;
  8644. procedure setCHAIRQ(thebits : TBits_8); inline;
  8645. procedure setCHSIRQ(thebits : TBits_8); inline;
  8646. procedure setPATEN(thebits : TBits_1); inline;
  8647. procedure setSIRQEN(thebits : TBits_1); inline;
  8648. procedure setw(thebits : TBits_32); inline;
  8649. public
  8650. procedure clearAIRQEN; inline;
  8651. procedure clearCABORT; inline;
  8652. procedure clearCFORCE; inline;
  8653. procedure clearPATEN; inline;
  8654. procedure clearSIRQEN; inline;
  8655. procedure setAIRQEN; inline;
  8656. procedure setCABORT; inline;
  8657. procedure setCFORCE; inline;
  8658. procedure setPATEN; inline;
  8659. procedure setSIRQEN; inline;
  8660. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8661. property CABORT : TBits_1 read getCABORT write setCABORT;
  8662. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8663. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8664. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8665. property PATEN : TBits_1 read getPATEN write setPATEN;
  8666. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8667. property w : TBits_32 read getw write setw;
  8668. end;
  8669. TDMAC2_DCH2INT = record
  8670. private
  8671. function getCHBCIE : TBits_1; inline;
  8672. function getCHBCIF : TBits_1; inline;
  8673. function getCHCCIE : TBits_1; inline;
  8674. function getCHCCIF : TBits_1; inline;
  8675. function getCHDDIE : TBits_1; inline;
  8676. function getCHDDIF : TBits_1; inline;
  8677. function getCHDHIE : TBits_1; inline;
  8678. function getCHDHIF : TBits_1; inline;
  8679. function getCHERIE : TBits_1; inline;
  8680. function getCHERIF : TBits_1; inline;
  8681. function getCHSDIE : TBits_1; inline;
  8682. function getCHSDIF : TBits_1; inline;
  8683. function getCHSHIE : TBits_1; inline;
  8684. function getCHSHIF : TBits_1; inline;
  8685. function getCHTAIE : TBits_1; inline;
  8686. function getCHTAIF : TBits_1; inline;
  8687. function getw : TBits_32; inline;
  8688. procedure setCHBCIE(thebits : TBits_1); inline;
  8689. procedure setCHBCIF(thebits : TBits_1); inline;
  8690. procedure setCHCCIE(thebits : TBits_1); inline;
  8691. procedure setCHCCIF(thebits : TBits_1); inline;
  8692. procedure setCHDDIE(thebits : TBits_1); inline;
  8693. procedure setCHDDIF(thebits : TBits_1); inline;
  8694. procedure setCHDHIE(thebits : TBits_1); inline;
  8695. procedure setCHDHIF(thebits : TBits_1); inline;
  8696. procedure setCHERIE(thebits : TBits_1); inline;
  8697. procedure setCHERIF(thebits : TBits_1); inline;
  8698. procedure setCHSDIE(thebits : TBits_1); inline;
  8699. procedure setCHSDIF(thebits : TBits_1); inline;
  8700. procedure setCHSHIE(thebits : TBits_1); inline;
  8701. procedure setCHSHIF(thebits : TBits_1); inline;
  8702. procedure setCHTAIE(thebits : TBits_1); inline;
  8703. procedure setCHTAIF(thebits : TBits_1); inline;
  8704. procedure setw(thebits : TBits_32); inline;
  8705. public
  8706. procedure clearCHBCIE; inline;
  8707. procedure clearCHBCIF; inline;
  8708. procedure clearCHCCIE; inline;
  8709. procedure clearCHCCIF; inline;
  8710. procedure clearCHDDIE; inline;
  8711. procedure clearCHDDIF; inline;
  8712. procedure clearCHDHIE; inline;
  8713. procedure clearCHDHIF; inline;
  8714. procedure clearCHERIE; inline;
  8715. procedure clearCHERIF; inline;
  8716. procedure clearCHSDIE; inline;
  8717. procedure clearCHSDIF; inline;
  8718. procedure clearCHSHIE; inline;
  8719. procedure clearCHSHIF; inline;
  8720. procedure clearCHTAIE; inline;
  8721. procedure clearCHTAIF; inline;
  8722. procedure setCHBCIE; inline;
  8723. procedure setCHBCIF; inline;
  8724. procedure setCHCCIE; inline;
  8725. procedure setCHCCIF; inline;
  8726. procedure setCHDDIE; inline;
  8727. procedure setCHDDIF; inline;
  8728. procedure setCHDHIE; inline;
  8729. procedure setCHDHIF; inline;
  8730. procedure setCHERIE; inline;
  8731. procedure setCHERIF; inline;
  8732. procedure setCHSDIE; inline;
  8733. procedure setCHSDIF; inline;
  8734. procedure setCHSHIE; inline;
  8735. procedure setCHSHIF; inline;
  8736. procedure setCHTAIE; inline;
  8737. procedure setCHTAIF; inline;
  8738. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8739. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8740. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8741. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8742. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8743. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8744. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8745. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8746. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8747. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8748. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8749. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8750. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8751. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8752. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8753. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8754. property w : TBits_32 read getw write setw;
  8755. end;
  8756. type
  8757. TDMAC2Registers = record
  8758. DCH2CONbits : TDMAC2_DCH2CON;
  8759. DCH2CON : longWord;
  8760. DCH2CONCLR : longWord;
  8761. DCH2CONSET : longWord;
  8762. DCH2CONINV : longWord;
  8763. DCH2ECONbits : TDMAC2_DCH2ECON;
  8764. DCH2ECON : longWord;
  8765. DCH2ECONCLR : longWord;
  8766. DCH2ECONSET : longWord;
  8767. DCH2ECONINV : longWord;
  8768. DCH2INTbits : TDMAC2_DCH2INT;
  8769. DCH2INT : longWord;
  8770. DCH2INTCLR : longWord;
  8771. DCH2INTSET : longWord;
  8772. DCH2INTINV : longWord;
  8773. DCH2SSA : longWord;
  8774. DCH2SSACLR : longWord;
  8775. DCH2SSASET : longWord;
  8776. DCH2SSAINV : longWord;
  8777. DCH2DSA : longWord;
  8778. DCH2DSACLR : longWord;
  8779. DCH2DSASET : longWord;
  8780. DCH2DSAINV : longWord;
  8781. DCH2SSIZ : longWord;
  8782. DCH2SSIZCLR : longWord;
  8783. DCH2SSIZSET : longWord;
  8784. DCH2SSIZINV : longWord;
  8785. DCH2DSIZ : longWord;
  8786. DCH2DSIZCLR : longWord;
  8787. DCH2DSIZSET : longWord;
  8788. DCH2DSIZINV : longWord;
  8789. DCH2SPTR : longWord;
  8790. DCH2SPTRCLR : longWord;
  8791. DCH2SPTRSET : longWord;
  8792. DCH2SPTRINV : longWord;
  8793. DCH2DPTR : longWord;
  8794. DCH2DPTRCLR : longWord;
  8795. DCH2DPTRSET : longWord;
  8796. DCH2DPTRINV : longWord;
  8797. DCH2CSIZ : longWord;
  8798. DCH2CSIZCLR : longWord;
  8799. DCH2CSIZSET : longWord;
  8800. DCH2CSIZINV : longWord;
  8801. DCH2CPTR : longWord;
  8802. DCH2CPTRCLR : longWord;
  8803. DCH2CPTRSET : longWord;
  8804. DCH2CPTRINV : longWord;
  8805. DCH2DAT : longWord;
  8806. DCH2DATCLR : longWord;
  8807. DCH2DATSET : longWord;
  8808. DCH2DATINV : longWord;
  8809. end;
  8810. TDMAC3_DCH3CON = record
  8811. private
  8812. function getCHAED : TBits_1; inline;
  8813. function getCHAEN : TBits_1; inline;
  8814. function getCHBUSY : TBits_1; inline;
  8815. function getCHCHN : TBits_1; inline;
  8816. function getCHCHNS : TBits_1; inline;
  8817. function getCHEDET : TBits_1; inline;
  8818. function getCHEN : TBits_1; inline;
  8819. function getCHPRI : TBits_2; inline;
  8820. function getw : TBits_32; inline;
  8821. procedure setCHAED(thebits : TBits_1); inline;
  8822. procedure setCHAEN(thebits : TBits_1); inline;
  8823. procedure setCHBUSY(thebits : TBits_1); inline;
  8824. procedure setCHCHN(thebits : TBits_1); inline;
  8825. procedure setCHCHNS(thebits : TBits_1); inline;
  8826. procedure setCHEDET(thebits : TBits_1); inline;
  8827. procedure setCHEN(thebits : TBits_1); inline;
  8828. procedure setCHPRI(thebits : TBits_2); inline;
  8829. procedure setw(thebits : TBits_32); inline;
  8830. public
  8831. procedure clearCHAED; inline;
  8832. procedure clearCHAEN; inline;
  8833. procedure clearCHBUSY; inline;
  8834. procedure clearCHCHN; inline;
  8835. procedure clearCHCHNS; inline;
  8836. procedure clearCHEDET; inline;
  8837. procedure clearCHEN; inline;
  8838. procedure setCHAED; inline;
  8839. procedure setCHAEN; inline;
  8840. procedure setCHBUSY; inline;
  8841. procedure setCHCHN; inline;
  8842. procedure setCHCHNS; inline;
  8843. procedure setCHEDET; inline;
  8844. procedure setCHEN; inline;
  8845. property CHAED : TBits_1 read getCHAED write setCHAED;
  8846. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8847. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8848. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8849. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8850. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8851. property CHEN : TBits_1 read getCHEN write setCHEN;
  8852. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8853. property w : TBits_32 read getw write setw;
  8854. end;
  8855. TDMAC3_DCH3ECON = record
  8856. private
  8857. function getAIRQEN : TBits_1; inline;
  8858. function getCABORT : TBits_1; inline;
  8859. function getCFORCE : TBits_1; inline;
  8860. function getCHAIRQ : TBits_8; inline;
  8861. function getCHSIRQ : TBits_8; inline;
  8862. function getPATEN : TBits_1; inline;
  8863. function getSIRQEN : TBits_1; inline;
  8864. function getw : TBits_32; inline;
  8865. procedure setAIRQEN(thebits : TBits_1); inline;
  8866. procedure setCABORT(thebits : TBits_1); inline;
  8867. procedure setCFORCE(thebits : TBits_1); inline;
  8868. procedure setCHAIRQ(thebits : TBits_8); inline;
  8869. procedure setCHSIRQ(thebits : TBits_8); inline;
  8870. procedure setPATEN(thebits : TBits_1); inline;
  8871. procedure setSIRQEN(thebits : TBits_1); inline;
  8872. procedure setw(thebits : TBits_32); inline;
  8873. public
  8874. procedure clearAIRQEN; inline;
  8875. procedure clearCABORT; inline;
  8876. procedure clearCFORCE; inline;
  8877. procedure clearPATEN; inline;
  8878. procedure clearSIRQEN; inline;
  8879. procedure setAIRQEN; inline;
  8880. procedure setCABORT; inline;
  8881. procedure setCFORCE; inline;
  8882. procedure setPATEN; inline;
  8883. procedure setSIRQEN; inline;
  8884. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8885. property CABORT : TBits_1 read getCABORT write setCABORT;
  8886. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8887. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8888. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8889. property PATEN : TBits_1 read getPATEN write setPATEN;
  8890. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8891. property w : TBits_32 read getw write setw;
  8892. end;
  8893. TDMAC3_DCH3INT = record
  8894. private
  8895. function getCHBCIE : TBits_1; inline;
  8896. function getCHBCIF : TBits_1; inline;
  8897. function getCHCCIE : TBits_1; inline;
  8898. function getCHCCIF : TBits_1; inline;
  8899. function getCHDDIE : TBits_1; inline;
  8900. function getCHDDIF : TBits_1; inline;
  8901. function getCHDHIE : TBits_1; inline;
  8902. function getCHDHIF : TBits_1; inline;
  8903. function getCHERIE : TBits_1; inline;
  8904. function getCHERIF : TBits_1; inline;
  8905. function getCHSDIE : TBits_1; inline;
  8906. function getCHSDIF : TBits_1; inline;
  8907. function getCHSHIE : TBits_1; inline;
  8908. function getCHSHIF : TBits_1; inline;
  8909. function getCHTAIE : TBits_1; inline;
  8910. function getCHTAIF : TBits_1; inline;
  8911. function getw : TBits_32; inline;
  8912. procedure setCHBCIE(thebits : TBits_1); inline;
  8913. procedure setCHBCIF(thebits : TBits_1); inline;
  8914. procedure setCHCCIE(thebits : TBits_1); inline;
  8915. procedure setCHCCIF(thebits : TBits_1); inline;
  8916. procedure setCHDDIE(thebits : TBits_1); inline;
  8917. procedure setCHDDIF(thebits : TBits_1); inline;
  8918. procedure setCHDHIE(thebits : TBits_1); inline;
  8919. procedure setCHDHIF(thebits : TBits_1); inline;
  8920. procedure setCHERIE(thebits : TBits_1); inline;
  8921. procedure setCHERIF(thebits : TBits_1); inline;
  8922. procedure setCHSDIE(thebits : TBits_1); inline;
  8923. procedure setCHSDIF(thebits : TBits_1); inline;
  8924. procedure setCHSHIE(thebits : TBits_1); inline;
  8925. procedure setCHSHIF(thebits : TBits_1); inline;
  8926. procedure setCHTAIE(thebits : TBits_1); inline;
  8927. procedure setCHTAIF(thebits : TBits_1); inline;
  8928. procedure setw(thebits : TBits_32); inline;
  8929. public
  8930. procedure clearCHBCIE; inline;
  8931. procedure clearCHBCIF; inline;
  8932. procedure clearCHCCIE; inline;
  8933. procedure clearCHCCIF; inline;
  8934. procedure clearCHDDIE; inline;
  8935. procedure clearCHDDIF; inline;
  8936. procedure clearCHDHIE; inline;
  8937. procedure clearCHDHIF; inline;
  8938. procedure clearCHERIE; inline;
  8939. procedure clearCHERIF; inline;
  8940. procedure clearCHSDIE; inline;
  8941. procedure clearCHSDIF; inline;
  8942. procedure clearCHSHIE; inline;
  8943. procedure clearCHSHIF; inline;
  8944. procedure clearCHTAIE; inline;
  8945. procedure clearCHTAIF; inline;
  8946. procedure setCHBCIE; inline;
  8947. procedure setCHBCIF; inline;
  8948. procedure setCHCCIE; inline;
  8949. procedure setCHCCIF; inline;
  8950. procedure setCHDDIE; inline;
  8951. procedure setCHDDIF; inline;
  8952. procedure setCHDHIE; inline;
  8953. procedure setCHDHIF; inline;
  8954. procedure setCHERIE; inline;
  8955. procedure setCHERIF; inline;
  8956. procedure setCHSDIE; inline;
  8957. procedure setCHSDIF; inline;
  8958. procedure setCHSHIE; inline;
  8959. procedure setCHSHIF; inline;
  8960. procedure setCHTAIE; inline;
  8961. procedure setCHTAIF; inline;
  8962. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8963. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8964. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8965. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8966. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8967. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8968. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8969. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8970. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8971. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8972. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8973. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8974. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8975. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8976. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8977. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8978. property w : TBits_32 read getw write setw;
  8979. end;
  8980. type
  8981. TDMAC3Registers = record
  8982. DCH3CONbits : TDMAC3_DCH3CON;
  8983. DCH3CON : longWord;
  8984. DCH3CONCLR : longWord;
  8985. DCH3CONSET : longWord;
  8986. DCH3CONINV : longWord;
  8987. DCH3ECONbits : TDMAC3_DCH3ECON;
  8988. DCH3ECON : longWord;
  8989. DCH3ECONCLR : longWord;
  8990. DCH3ECONSET : longWord;
  8991. DCH3ECONINV : longWord;
  8992. DCH3INTbits : TDMAC3_DCH3INT;
  8993. DCH3INT : longWord;
  8994. DCH3INTCLR : longWord;
  8995. DCH3INTSET : longWord;
  8996. DCH3INTINV : longWord;
  8997. DCH3SSA : longWord;
  8998. DCH3SSACLR : longWord;
  8999. DCH3SSASET : longWord;
  9000. DCH3SSAINV : longWord;
  9001. DCH3DSA : longWord;
  9002. DCH3DSACLR : longWord;
  9003. DCH3DSASET : longWord;
  9004. DCH3DSAINV : longWord;
  9005. DCH3SSIZ : longWord;
  9006. DCH3SSIZCLR : longWord;
  9007. DCH3SSIZSET : longWord;
  9008. DCH3SSIZINV : longWord;
  9009. DCH3DSIZ : longWord;
  9010. DCH3DSIZCLR : longWord;
  9011. DCH3DSIZSET : longWord;
  9012. DCH3DSIZINV : longWord;
  9013. DCH3SPTR : longWord;
  9014. DCH3SPTRCLR : longWord;
  9015. DCH3SPTRSET : longWord;
  9016. DCH3SPTRINV : longWord;
  9017. DCH3DPTR : longWord;
  9018. DCH3DPTRCLR : longWord;
  9019. DCH3DPTRSET : longWord;
  9020. DCH3DPTRINV : longWord;
  9021. DCH3CSIZ : longWord;
  9022. DCH3CSIZCLR : longWord;
  9023. DCH3CSIZSET : longWord;
  9024. DCH3CSIZINV : longWord;
  9025. DCH3CPTR : longWord;
  9026. DCH3CPTRCLR : longWord;
  9027. DCH3CPTRSET : longWord;
  9028. DCH3CPTRINV : longWord;
  9029. DCH3DAT : longWord;
  9030. DCH3DATCLR : longWord;
  9031. DCH3DATSET : longWord;
  9032. DCH3DATINV : longWord;
  9033. end;
  9034. TPCACHE_CHECON = record
  9035. private
  9036. function getCHECOH : TBits_1; inline;
  9037. function getDCSZ : TBits_2; inline;
  9038. function getPFMWS : TBits_3; inline;
  9039. function getPREFEN : TBits_2; inline;
  9040. function getw : TBits_32; inline;
  9041. procedure setCHECOH(thebits : TBits_1); inline;
  9042. procedure setDCSZ(thebits : TBits_2); inline;
  9043. procedure setPFMWS(thebits : TBits_3); inline;
  9044. procedure setPREFEN(thebits : TBits_2); inline;
  9045. procedure setw(thebits : TBits_32); inline;
  9046. public
  9047. procedure clearCHECOH; inline;
  9048. procedure setCHECOH; inline;
  9049. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  9050. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  9051. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  9052. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  9053. property w : TBits_32 read getw write setw;
  9054. end;
  9055. TPCACHE_CHETAG = record
  9056. private
  9057. function getLLOCK : TBits_1; inline;
  9058. function getLTAG : TBits_20; inline;
  9059. function getLTAGBOOT : TBits_1; inline;
  9060. function getLTYPE : TBits_1; inline;
  9061. function getLVALID : TBits_1; inline;
  9062. function getw : TBits_32; inline;
  9063. procedure setLLOCK(thebits : TBits_1); inline;
  9064. procedure setLTAG(thebits : TBits_20); inline;
  9065. procedure setLTAGBOOT(thebits : TBits_1); inline;
  9066. procedure setLTYPE(thebits : TBits_1); inline;
  9067. procedure setLVALID(thebits : TBits_1); inline;
  9068. procedure setw(thebits : TBits_32); inline;
  9069. public
  9070. procedure clearLLOCK; inline;
  9071. procedure clearLTAGBOOT; inline;
  9072. procedure clearLTYPE; inline;
  9073. procedure clearLVALID; inline;
  9074. procedure setLLOCK; inline;
  9075. procedure setLTAGBOOT; inline;
  9076. procedure setLTYPE; inline;
  9077. procedure setLVALID; inline;
  9078. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  9079. property LTAG : TBits_20 read getLTAG write setLTAG;
  9080. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  9081. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  9082. property LVALID : TBits_1 read getLVALID write setLVALID;
  9083. property w : TBits_32 read getw write setw;
  9084. end;
  9085. type
  9086. TPCACHERegisters = record
  9087. CHECONbits : TPCACHE_CHECON;
  9088. CHECON : longWord;
  9089. CHECONCLR : longWord;
  9090. CHECONSET : longWord;
  9091. CHECONINV : longWord;
  9092. CHEACC : longWord;
  9093. CHEACCCLR : longWord;
  9094. CHEACCSET : longWord;
  9095. CHEACCINV : longWord;
  9096. CHETAGbits : TPCACHE_CHETAG;
  9097. CHETAG : longWord;
  9098. CHETAGCLR : longWord;
  9099. CHETAGSET : longWord;
  9100. CHETAGINV : longWord;
  9101. CHEMSK : longWord;
  9102. CHEMSKCLR : longWord;
  9103. CHEMSKSET : longWord;
  9104. CHEMSKINV : longWord;
  9105. CHEW0 : longWord;
  9106. CHEW1 : longWord;
  9107. CHEW2 : longWord;
  9108. CHEW3 : longWord;
  9109. CHELRU : longWord;
  9110. CHEHIT : longWord;
  9111. CHEMIS : longWord;
  9112. RESERVED1 : longWord;
  9113. CHEPFABT : longWord;
  9114. end;
  9115. TUSB_U1IR = record
  9116. private
  9117. function getATTACHIF : TBits_1; inline;
  9118. function getDETACHIF : TBits_1; inline;
  9119. function getIDLEIF : TBits_1; inline;
  9120. function getRESUMEIF : TBits_1; inline;
  9121. function getSOFIF : TBits_1; inline;
  9122. function getSTALLIF : TBits_1; inline;
  9123. function getTRNIF : TBits_1; inline;
  9124. function getUERRIF : TBits_1; inline;
  9125. function getURSTIF : TBits_1; inline;
  9126. function getURSTIF_DETACHIF : TBits_1; inline;
  9127. procedure setATTACHIF(thebits : TBits_1); inline;
  9128. procedure setDETACHIF(thebits : TBits_1); inline;
  9129. procedure setIDLEIF(thebits : TBits_1); inline;
  9130. procedure setRESUMEIF(thebits : TBits_1); inline;
  9131. procedure setSOFIF(thebits : TBits_1); inline;
  9132. procedure setSTALLIF(thebits : TBits_1); inline;
  9133. procedure setTRNIF(thebits : TBits_1); inline;
  9134. procedure setUERRIF(thebits : TBits_1); inline;
  9135. procedure setURSTIF(thebits : TBits_1); inline;
  9136. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  9137. public
  9138. procedure clearATTACHIF; inline;
  9139. procedure clearDETACHIF; inline;
  9140. procedure clearIDLEIF; inline;
  9141. procedure clearRESUMEIF; inline;
  9142. procedure clearSOFIF; inline;
  9143. procedure clearSTALLIF; inline;
  9144. procedure clearTRNIF; inline;
  9145. procedure clearUERRIF; inline;
  9146. procedure clearURSTIF; inline;
  9147. procedure clearURSTIF_DETACHIF; inline;
  9148. procedure setATTACHIF; inline;
  9149. procedure setDETACHIF; inline;
  9150. procedure setIDLEIF; inline;
  9151. procedure setRESUMEIF; inline;
  9152. procedure setSOFIF; inline;
  9153. procedure setSTALLIF; inline;
  9154. procedure setTRNIF; inline;
  9155. procedure setUERRIF; inline;
  9156. procedure setURSTIF; inline;
  9157. procedure setURSTIF_DETACHIF; inline;
  9158. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  9159. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  9160. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  9161. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  9162. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  9163. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  9164. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  9165. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  9166. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  9167. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  9168. end;
  9169. TUSB_U1IE = record
  9170. private
  9171. function getATTACHIE : TBits_1; inline;
  9172. function getDETACHIE : TBits_1; inline;
  9173. function getIDLEIE : TBits_1; inline;
  9174. function getRESUMEIE : TBits_1; inline;
  9175. function getSOFIE : TBits_1; inline;
  9176. function getSTALLIE : TBits_1; inline;
  9177. function getTRNIE : TBits_1; inline;
  9178. function getUERRIE : TBits_1; inline;
  9179. function getURSTIE : TBits_1; inline;
  9180. function getURSTIE_DETACHIE : TBits_1; inline;
  9181. procedure setATTACHIE(thebits : TBits_1); inline;
  9182. procedure setDETACHIE(thebits : TBits_1); inline;
  9183. procedure setIDLEIE(thebits : TBits_1); inline;
  9184. procedure setRESUMEIE(thebits : TBits_1); inline;
  9185. procedure setSOFIE(thebits : TBits_1); inline;
  9186. procedure setSTALLIE(thebits : TBits_1); inline;
  9187. procedure setTRNIE(thebits : TBits_1); inline;
  9188. procedure setUERRIE(thebits : TBits_1); inline;
  9189. procedure setURSTIE(thebits : TBits_1); inline;
  9190. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  9191. public
  9192. procedure clearATTACHIE; inline;
  9193. procedure clearDETACHIE; inline;
  9194. procedure clearIDLEIE; inline;
  9195. procedure clearRESUMEIE; inline;
  9196. procedure clearSOFIE; inline;
  9197. procedure clearSTALLIE; inline;
  9198. procedure clearTRNIE; inline;
  9199. procedure clearUERRIE; inline;
  9200. procedure clearURSTIE; inline;
  9201. procedure clearURSTIE_DETACHIE; inline;
  9202. procedure setATTACHIE; inline;
  9203. procedure setDETACHIE; inline;
  9204. procedure setIDLEIE; inline;
  9205. procedure setRESUMEIE; inline;
  9206. procedure setSOFIE; inline;
  9207. procedure setSTALLIE; inline;
  9208. procedure setTRNIE; inline;
  9209. procedure setUERRIE; inline;
  9210. procedure setURSTIE; inline;
  9211. procedure setURSTIE_DETACHIE; inline;
  9212. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  9213. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  9214. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  9215. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  9216. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  9217. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  9218. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  9219. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  9220. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  9221. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  9222. end;
  9223. TUSB_U1EIR = record
  9224. private
  9225. function getBMXEF : TBits_1; inline;
  9226. function getBTOEF : TBits_1; inline;
  9227. function getBTSEF : TBits_1; inline;
  9228. function getCRC16EF : TBits_1; inline;
  9229. function getCRC5EF : TBits_1; inline;
  9230. function getCRC5EF_EOFEF : TBits_1; inline;
  9231. function getDFN8EF : TBits_1; inline;
  9232. function getDMAEF : TBits_1; inline;
  9233. function getEOFEF : TBits_1; inline;
  9234. function getPIDEF : TBits_1; inline;
  9235. procedure setBMXEF(thebits : TBits_1); inline;
  9236. procedure setBTOEF(thebits : TBits_1); inline;
  9237. procedure setBTSEF(thebits : TBits_1); inline;
  9238. procedure setCRC16EF(thebits : TBits_1); inline;
  9239. procedure setCRC5EF(thebits : TBits_1); inline;
  9240. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  9241. procedure setDFN8EF(thebits : TBits_1); inline;
  9242. procedure setDMAEF(thebits : TBits_1); inline;
  9243. procedure setEOFEF(thebits : TBits_1); inline;
  9244. procedure setPIDEF(thebits : TBits_1); inline;
  9245. public
  9246. procedure clearBMXEF; inline;
  9247. procedure clearBTOEF; inline;
  9248. procedure clearBTSEF; inline;
  9249. procedure clearCRC16EF; inline;
  9250. procedure clearCRC5EF; inline;
  9251. procedure clearCRC5EF_EOFEF; inline;
  9252. procedure clearDFN8EF; inline;
  9253. procedure clearDMAEF; inline;
  9254. procedure clearEOFEF; inline;
  9255. procedure clearPIDEF; inline;
  9256. procedure setBMXEF; inline;
  9257. procedure setBTOEF; inline;
  9258. procedure setBTSEF; inline;
  9259. procedure setCRC16EF; inline;
  9260. procedure setCRC5EF; inline;
  9261. procedure setCRC5EF_EOFEF; inline;
  9262. procedure setDFN8EF; inline;
  9263. procedure setDMAEF; inline;
  9264. procedure setEOFEF; inline;
  9265. procedure setPIDEF; inline;
  9266. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  9267. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  9268. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  9269. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  9270. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  9271. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  9272. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  9273. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  9274. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  9275. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  9276. end;
  9277. TUSB_U1EIE = record
  9278. private
  9279. function getBMXEE : TBits_1; inline;
  9280. function getBTOEE : TBits_1; inline;
  9281. function getBTSEE : TBits_1; inline;
  9282. function getCRC16EE : TBits_1; inline;
  9283. function getCRC5EE : TBits_1; inline;
  9284. function getCRC5EE_EOFEE : TBits_1; inline;
  9285. function getDFN8EE : TBits_1; inline;
  9286. function getDMAEE : TBits_1; inline;
  9287. function getEOFEE : TBits_1; inline;
  9288. function getPIDEE : TBits_1; inline;
  9289. procedure setBMXEE(thebits : TBits_1); inline;
  9290. procedure setBTOEE(thebits : TBits_1); inline;
  9291. procedure setBTSEE(thebits : TBits_1); inline;
  9292. procedure setCRC16EE(thebits : TBits_1); inline;
  9293. procedure setCRC5EE(thebits : TBits_1); inline;
  9294. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  9295. procedure setDFN8EE(thebits : TBits_1); inline;
  9296. procedure setDMAEE(thebits : TBits_1); inline;
  9297. procedure setEOFEE(thebits : TBits_1); inline;
  9298. procedure setPIDEE(thebits : TBits_1); inline;
  9299. public
  9300. procedure clearBMXEE; inline;
  9301. procedure clearBTOEE; inline;
  9302. procedure clearBTSEE; inline;
  9303. procedure clearCRC16EE; inline;
  9304. procedure clearCRC5EE; inline;
  9305. procedure clearCRC5EE_EOFEE; inline;
  9306. procedure clearDFN8EE; inline;
  9307. procedure clearDMAEE; inline;
  9308. procedure clearEOFEE; inline;
  9309. procedure clearPIDEE; inline;
  9310. procedure setBMXEE; inline;
  9311. procedure setBTOEE; inline;
  9312. procedure setBTSEE; inline;
  9313. procedure setCRC16EE; inline;
  9314. procedure setCRC5EE; inline;
  9315. procedure setCRC5EE_EOFEE; inline;
  9316. procedure setDFN8EE; inline;
  9317. procedure setDMAEE; inline;
  9318. procedure setEOFEE; inline;
  9319. procedure setPIDEE; inline;
  9320. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  9321. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  9322. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  9323. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  9324. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  9325. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  9326. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  9327. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  9328. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  9329. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  9330. end;
  9331. TUSB_U1STAT = record
  9332. private
  9333. function getDIR : TBits_1; inline;
  9334. function getENDPT : TBits_4; inline;
  9335. function getENDPT0 : TBits_1; inline;
  9336. function getENDPT1 : TBits_1; inline;
  9337. function getENDPT2 : TBits_1; inline;
  9338. function getENDPT3 : TBits_1; inline;
  9339. function getPPBI : TBits_1; inline;
  9340. procedure setDIR(thebits : TBits_1); inline;
  9341. procedure setENDPT(thebits : TBits_4); inline;
  9342. procedure setENDPT0(thebits : TBits_1); inline;
  9343. procedure setENDPT1(thebits : TBits_1); inline;
  9344. procedure setENDPT2(thebits : TBits_1); inline;
  9345. procedure setENDPT3(thebits : TBits_1); inline;
  9346. procedure setPPBI(thebits : TBits_1); inline;
  9347. public
  9348. procedure clearDIR; inline;
  9349. procedure clearENDPT0; inline;
  9350. procedure clearENDPT1; inline;
  9351. procedure clearENDPT2; inline;
  9352. procedure clearENDPT3; inline;
  9353. procedure clearPPBI; inline;
  9354. procedure setDIR; inline;
  9355. procedure setENDPT0; inline;
  9356. procedure setENDPT1; inline;
  9357. procedure setENDPT2; inline;
  9358. procedure setENDPT3; inline;
  9359. procedure setPPBI; inline;
  9360. property DIR : TBits_1 read getDIR write setDIR;
  9361. property ENDPT : TBits_4 read getENDPT write setENDPT;
  9362. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  9363. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  9364. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  9365. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  9366. property PPBI : TBits_1 read getPPBI write setPPBI;
  9367. end;
  9368. TUSB_U1CON = record
  9369. private
  9370. function getHOSTEN : TBits_1; inline;
  9371. function getJSTATE : TBits_1; inline;
  9372. function getPKTDIS : TBits_1; inline;
  9373. function getPKTDIS_TOKBUSY : TBits_1; inline;
  9374. function getPPBRST : TBits_1; inline;
  9375. function getRESUME : TBits_1; inline;
  9376. function getSE0 : TBits_1; inline;
  9377. function getSOFEN : TBits_1; inline;
  9378. function getTOKBUSY : TBits_1; inline;
  9379. function getUSBEN : TBits_1; inline;
  9380. function getUSBEN_SOFEN : TBits_1; inline;
  9381. function getUSBRST : TBits_1; inline;
  9382. procedure setHOSTEN(thebits : TBits_1); inline;
  9383. procedure setJSTATE(thebits : TBits_1); inline;
  9384. procedure setPKTDIS(thebits : TBits_1); inline;
  9385. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  9386. procedure setPPBRST(thebits : TBits_1); inline;
  9387. procedure setRESUME(thebits : TBits_1); inline;
  9388. procedure setSE0(thebits : TBits_1); inline;
  9389. procedure setSOFEN(thebits : TBits_1); inline;
  9390. procedure setTOKBUSY(thebits : TBits_1); inline;
  9391. procedure setUSBEN(thebits : TBits_1); inline;
  9392. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  9393. procedure setUSBRST(thebits : TBits_1); inline;
  9394. public
  9395. procedure clearHOSTEN; inline;
  9396. procedure clearJSTATE; inline;
  9397. procedure clearPKTDIS; inline;
  9398. procedure clearPKTDIS_TOKBUSY; inline;
  9399. procedure clearPPBRST; inline;
  9400. procedure clearRESUME; inline;
  9401. procedure clearSE0; inline;
  9402. procedure clearSOFEN; inline;
  9403. procedure clearTOKBUSY; inline;
  9404. procedure clearUSBEN; inline;
  9405. procedure clearUSBEN_SOFEN; inline;
  9406. procedure clearUSBRST; inline;
  9407. procedure setHOSTEN; inline;
  9408. procedure setJSTATE; inline;
  9409. procedure setPKTDIS; inline;
  9410. procedure setPKTDIS_TOKBUSY; inline;
  9411. procedure setPPBRST; inline;
  9412. procedure setRESUME; inline;
  9413. procedure setSE0; inline;
  9414. procedure setSOFEN; inline;
  9415. procedure setTOKBUSY; inline;
  9416. procedure setUSBEN; inline;
  9417. procedure setUSBEN_SOFEN; inline;
  9418. procedure setUSBRST; inline;
  9419. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  9420. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  9421. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  9422. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  9423. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  9424. property RESUME : TBits_1 read getRESUME write setRESUME;
  9425. property SE0 : TBits_1 read getSE0 write setSE0;
  9426. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  9427. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  9428. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  9429. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  9430. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  9431. end;
  9432. TUSB_U1ADDR = record
  9433. private
  9434. function getDEVADDR : TBits_7; inline;
  9435. function getDEVADDR0 : TBits_1; inline;
  9436. function getDEVADDR1 : TBits_1; inline;
  9437. function getDEVADDR2 : TBits_1; inline;
  9438. function getDEVADDR3 : TBits_1; inline;
  9439. function getDEVADDR4 : TBits_1; inline;
  9440. function getDEVADDR5 : TBits_1; inline;
  9441. function getDEVADDR6 : TBits_1; inline;
  9442. function getLSPDEN : TBits_1; inline;
  9443. procedure setDEVADDR(thebits : TBits_7); inline;
  9444. procedure setDEVADDR0(thebits : TBits_1); inline;
  9445. procedure setDEVADDR1(thebits : TBits_1); inline;
  9446. procedure setDEVADDR2(thebits : TBits_1); inline;
  9447. procedure setDEVADDR3(thebits : TBits_1); inline;
  9448. procedure setDEVADDR4(thebits : TBits_1); inline;
  9449. procedure setDEVADDR5(thebits : TBits_1); inline;
  9450. procedure setDEVADDR6(thebits : TBits_1); inline;
  9451. procedure setLSPDEN(thebits : TBits_1); inline;
  9452. public
  9453. procedure clearDEVADDR0; inline;
  9454. procedure clearDEVADDR1; inline;
  9455. procedure clearDEVADDR2; inline;
  9456. procedure clearDEVADDR3; inline;
  9457. procedure clearDEVADDR4; inline;
  9458. procedure clearDEVADDR5; inline;
  9459. procedure clearDEVADDR6; inline;
  9460. procedure clearLSPDEN; inline;
  9461. procedure setDEVADDR0; inline;
  9462. procedure setDEVADDR1; inline;
  9463. procedure setDEVADDR2; inline;
  9464. procedure setDEVADDR3; inline;
  9465. procedure setDEVADDR4; inline;
  9466. procedure setDEVADDR5; inline;
  9467. procedure setDEVADDR6; inline;
  9468. procedure setLSPDEN; inline;
  9469. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  9470. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  9471. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  9472. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  9473. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  9474. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  9475. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  9476. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  9477. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  9478. end;
  9479. TUSB_U1FRML = record
  9480. private
  9481. function getFRM0 : TBits_1; inline;
  9482. function getFRM1 : TBits_1; inline;
  9483. function getFRM2 : TBits_1; inline;
  9484. function getFRM3 : TBits_1; inline;
  9485. function getFRM4 : TBits_1; inline;
  9486. function getFRM5 : TBits_1; inline;
  9487. function getFRM6 : TBits_1; inline;
  9488. function getFRM7 : TBits_1; inline;
  9489. function getFRML : TBits_8; inline;
  9490. procedure setFRM0(thebits : TBits_1); inline;
  9491. procedure setFRM1(thebits : TBits_1); inline;
  9492. procedure setFRM2(thebits : TBits_1); inline;
  9493. procedure setFRM3(thebits : TBits_1); inline;
  9494. procedure setFRM4(thebits : TBits_1); inline;
  9495. procedure setFRM5(thebits : TBits_1); inline;
  9496. procedure setFRM6(thebits : TBits_1); inline;
  9497. procedure setFRM7(thebits : TBits_1); inline;
  9498. procedure setFRML(thebits : TBits_8); inline;
  9499. public
  9500. procedure clearFRM0; inline;
  9501. procedure clearFRM1; inline;
  9502. procedure clearFRM2; inline;
  9503. procedure clearFRM3; inline;
  9504. procedure clearFRM4; inline;
  9505. procedure clearFRM5; inline;
  9506. procedure clearFRM6; inline;
  9507. procedure clearFRM7; inline;
  9508. procedure setFRM0; inline;
  9509. procedure setFRM1; inline;
  9510. procedure setFRM2; inline;
  9511. procedure setFRM3; inline;
  9512. procedure setFRM4; inline;
  9513. procedure setFRM5; inline;
  9514. procedure setFRM6; inline;
  9515. procedure setFRM7; inline;
  9516. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  9517. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  9518. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  9519. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  9520. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  9521. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  9522. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  9523. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  9524. property FRML : TBits_8 read getFRML write setFRML;
  9525. end;
  9526. TUSB_U1FRMH = record
  9527. private
  9528. function getFRM10 : TBits_1; inline;
  9529. function getFRM8 : TBits_1; inline;
  9530. function getFRM9 : TBits_1; inline;
  9531. function getFRMH : TBits_3; inline;
  9532. procedure setFRM10(thebits : TBits_1); inline;
  9533. procedure setFRM8(thebits : TBits_1); inline;
  9534. procedure setFRM9(thebits : TBits_1); inline;
  9535. procedure setFRMH(thebits : TBits_3); inline;
  9536. public
  9537. procedure clearFRM10; inline;
  9538. procedure clearFRM8; inline;
  9539. procedure clearFRM9; inline;
  9540. procedure setFRM10; inline;
  9541. procedure setFRM8; inline;
  9542. procedure setFRM9; inline;
  9543. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  9544. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  9545. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  9546. property FRMH : TBits_3 read getFRMH write setFRMH;
  9547. end;
  9548. TUSB_U1TOK = record
  9549. private
  9550. function getEP : TBits_4; inline;
  9551. function getEP0 : TBits_1; inline;
  9552. function getEP1 : TBits_1; inline;
  9553. function getEP2 : TBits_1; inline;
  9554. function getEP3 : TBits_1; inline;
  9555. function getPID : TBits_4; inline;
  9556. function getPID0 : TBits_1; inline;
  9557. function getPID1 : TBits_1; inline;
  9558. function getPID2 : TBits_1; inline;
  9559. function getPID3 : TBits_1; inline;
  9560. procedure setEP(thebits : TBits_4); inline;
  9561. procedure setEP0(thebits : TBits_1); inline;
  9562. procedure setEP1(thebits : TBits_1); inline;
  9563. procedure setEP2(thebits : TBits_1); inline;
  9564. procedure setEP3(thebits : TBits_1); inline;
  9565. procedure setPID(thebits : TBits_4); inline;
  9566. procedure setPID0(thebits : TBits_1); inline;
  9567. procedure setPID1(thebits : TBits_1); inline;
  9568. procedure setPID2(thebits : TBits_1); inline;
  9569. procedure setPID3(thebits : TBits_1); inline;
  9570. public
  9571. procedure clearEP0; inline;
  9572. procedure clearEP1; inline;
  9573. procedure clearEP2; inline;
  9574. procedure clearEP3; inline;
  9575. procedure clearPID0; inline;
  9576. procedure clearPID1; inline;
  9577. procedure clearPID2; inline;
  9578. procedure clearPID3; inline;
  9579. procedure setEP0; inline;
  9580. procedure setEP1; inline;
  9581. procedure setEP2; inline;
  9582. procedure setEP3; inline;
  9583. procedure setPID0; inline;
  9584. procedure setPID1; inline;
  9585. procedure setPID2; inline;
  9586. procedure setPID3; inline;
  9587. property EP : TBits_4 read getEP write setEP;
  9588. property EP0 : TBits_1 read getEP0 write setEP0;
  9589. property EP1 : TBits_1 read getEP1 write setEP1;
  9590. property EP2 : TBits_1 read getEP2 write setEP2;
  9591. property EP3 : TBits_1 read getEP3 write setEP3;
  9592. property PID : TBits_4 read getPID write setPID;
  9593. property PID0 : TBits_1 read getPID0 write setPID0;
  9594. property PID1 : TBits_1 read getPID1 write setPID1;
  9595. property PID2 : TBits_1 read getPID2 write setPID2;
  9596. property PID3 : TBits_1 read getPID3 write setPID3;
  9597. end;
  9598. TUSB_ANSELA = record
  9599. private
  9600. function getANSA10 : TBits_1; inline;
  9601. function getANSA9 : TBits_1; inline;
  9602. function getw : TBits_32; inline;
  9603. procedure setANSA10(thebits : TBits_1); inline;
  9604. procedure setANSA9(thebits : TBits_1); inline;
  9605. procedure setw(thebits : TBits_32); inline;
  9606. public
  9607. procedure clearANSA10; inline;
  9608. procedure clearANSA9; inline;
  9609. procedure setANSA10; inline;
  9610. procedure setANSA9; inline;
  9611. property ANSA10 : TBits_1 read getANSA10 write setANSA10;
  9612. property ANSA9 : TBits_1 read getANSA9 write setANSA9;
  9613. property w : TBits_32 read getw write setw;
  9614. end;
  9615. TUSB_TRISA = record
  9616. private
  9617. function getTRISA0 : TBits_1; inline;
  9618. function getTRISA1 : TBits_1; inline;
  9619. function getTRISA10 : TBits_1; inline;
  9620. function getTRISA14 : TBits_1; inline;
  9621. function getTRISA15 : TBits_1; inline;
  9622. function getTRISA2 : TBits_1; inline;
  9623. function getTRISA3 : TBits_1; inline;
  9624. function getTRISA4 : TBits_1; inline;
  9625. function getTRISA5 : TBits_1; inline;
  9626. function getTRISA6 : TBits_1; inline;
  9627. function getTRISA7 : TBits_1; inline;
  9628. function getTRISA9 : TBits_1; inline;
  9629. function getw : TBits_32; inline;
  9630. procedure setTRISA0(thebits : TBits_1); inline;
  9631. procedure setTRISA1(thebits : TBits_1); inline;
  9632. procedure setTRISA10(thebits : TBits_1); inline;
  9633. procedure setTRISA14(thebits : TBits_1); inline;
  9634. procedure setTRISA15(thebits : TBits_1); inline;
  9635. procedure setTRISA2(thebits : TBits_1); inline;
  9636. procedure setTRISA3(thebits : TBits_1); inline;
  9637. procedure setTRISA4(thebits : TBits_1); inline;
  9638. procedure setTRISA5(thebits : TBits_1); inline;
  9639. procedure setTRISA6(thebits : TBits_1); inline;
  9640. procedure setTRISA7(thebits : TBits_1); inline;
  9641. procedure setTRISA9(thebits : TBits_1); inline;
  9642. procedure setw(thebits : TBits_32); inline;
  9643. public
  9644. procedure clearTRISA0; inline;
  9645. procedure clearTRISA10; inline;
  9646. procedure clearTRISA14; inline;
  9647. procedure clearTRISA15; inline;
  9648. procedure clearTRISA1; inline;
  9649. procedure clearTRISA2; inline;
  9650. procedure clearTRISA3; inline;
  9651. procedure clearTRISA4; inline;
  9652. procedure clearTRISA5; inline;
  9653. procedure clearTRISA6; inline;
  9654. procedure clearTRISA7; inline;
  9655. procedure clearTRISA9; inline;
  9656. procedure setTRISA0; inline;
  9657. procedure setTRISA10; inline;
  9658. procedure setTRISA14; inline;
  9659. procedure setTRISA15; inline;
  9660. procedure setTRISA1; inline;
  9661. procedure setTRISA2; inline;
  9662. procedure setTRISA3; inline;
  9663. procedure setTRISA4; inline;
  9664. procedure setTRISA5; inline;
  9665. procedure setTRISA6; inline;
  9666. procedure setTRISA7; inline;
  9667. procedure setTRISA9; inline;
  9668. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  9669. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  9670. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  9671. property TRISA14 : TBits_1 read getTRISA14 write setTRISA14;
  9672. property TRISA15 : TBits_1 read getTRISA15 write setTRISA15;
  9673. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  9674. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  9675. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  9676. property TRISA5 : TBits_1 read getTRISA5 write setTRISA5;
  9677. property TRISA6 : TBits_1 read getTRISA6 write setTRISA6;
  9678. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  9679. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  9680. property w : TBits_32 read getw write setw;
  9681. end;
  9682. type
  9683. TUSBRegisters = record
  9684. U1OTGIR : longWord;
  9685. U1OTGIRCLR : longWord;
  9686. U1OTGIE : longWord;
  9687. U1OTGIECLR : longWord;
  9688. U1OTGIESET : longWord;
  9689. U1OTGIEINV : longWord;
  9690. U1OTGSTAT : longWord;
  9691. U1OTGCON : longWord;
  9692. U1OTGCONCLR : longWord;
  9693. U1OTGCONSET : longWord;
  9694. U1OTGCONINV : longWord;
  9695. U1PWRC : longWord;
  9696. U1PWRCCLR : longWord;
  9697. U1PWRCSET : longWord;
  9698. U1PWRCINV : longWord;
  9699. U1IRbits : TUSB_U1IR;
  9700. U1IR : longWord;
  9701. U1IRCLR : longWord;
  9702. U1IEbits : TUSB_U1IE;
  9703. U1IE : longWord;
  9704. U1IECLR : longWord;
  9705. U1IESET : longWord;
  9706. U1IEINV : longWord;
  9707. U1EIRbits : TUSB_U1EIR;
  9708. U1EIR : longWord;
  9709. U1EIRCLR : longWord;
  9710. U1EIEbits : TUSB_U1EIE;
  9711. U1EIE : longWord;
  9712. U1EIECLR : longWord;
  9713. U1EIESET : longWord;
  9714. U1EIEINV : longWord;
  9715. U1STATbits : TUSB_U1STAT;
  9716. U1STAT : longWord;
  9717. U1CONbits : TUSB_U1CON;
  9718. U1CON : longWord;
  9719. U1CONCLR : longWord;
  9720. U1CONSET : longWord;
  9721. U1CONINV : longWord;
  9722. U1ADDRbits : TUSB_U1ADDR;
  9723. U1ADDR : longWord;
  9724. U1ADDRCLR : longWord;
  9725. U1ADDRSET : longWord;
  9726. U1ADDRINV : longWord;
  9727. U1BDTP1 : longWord;
  9728. U1BDTP1CLR : longWord;
  9729. U1BDTP1SET : longWord;
  9730. U1BDTP1INV : longWord;
  9731. U1FRMLbits : TUSB_U1FRML;
  9732. U1FRML : longWord;
  9733. U1FRMHbits : TUSB_U1FRMH;
  9734. U1FRMH : longWord;
  9735. U1TOKbits : TUSB_U1TOK;
  9736. U1TOK : longWord;
  9737. U1TOKCLR : longWord;
  9738. U1TOKSET : longWord;
  9739. U1TOKINV : longWord;
  9740. U1SOF : longWord;
  9741. U1SOFCLR : longWord;
  9742. U1SOFSET : longWord;
  9743. U1SOFINV : longWord;
  9744. U1BDTP2 : longWord;
  9745. U1BDTP2CLR : longWord;
  9746. U1BDTP2SET : longWord;
  9747. U1BDTP2INV : longWord;
  9748. U1BDTP3 : longWord;
  9749. U1BDTP3CLR : longWord;
  9750. U1BDTP3SET : longWord;
  9751. U1BDTP3INV : longWord;
  9752. U1CNFG1 : longWord;
  9753. U1CNFG1CLR : longWord;
  9754. U1CNFG1SET : longWord;
  9755. U1CNFG1INV : longWord;
  9756. U1EP0 : longWord;
  9757. U1EP0CLR : longWord;
  9758. U1EP0SET : longWord;
  9759. U1EP0INV : longWord;
  9760. U1EP1 : longWord;
  9761. U1EP1CLR : longWord;
  9762. U1EP1SET : longWord;
  9763. U1EP1INV : longWord;
  9764. U1EP2 : longWord;
  9765. U1EP2CLR : longWord;
  9766. U1EP2SET : longWord;
  9767. U1EP2INV : longWord;
  9768. U1EP3 : longWord;
  9769. U1EP3CLR : longWord;
  9770. U1EP3SET : longWord;
  9771. U1EP3INV : longWord;
  9772. U1EP4 : longWord;
  9773. U1EP4CLR : longWord;
  9774. U1EP4SET : longWord;
  9775. U1EP4INV : longWord;
  9776. U1EP5 : longWord;
  9777. U1EP5CLR : longWord;
  9778. U1EP5SET : longWord;
  9779. U1EP5INV : longWord;
  9780. U1EP6 : longWord;
  9781. U1EP6CLR : longWord;
  9782. U1EP6SET : longWord;
  9783. U1EP6INV : longWord;
  9784. U1EP7 : longWord;
  9785. U1EP7CLR : longWord;
  9786. U1EP7SET : longWord;
  9787. U1EP7INV : longWord;
  9788. U1EP8 : longWord;
  9789. U1EP8CLR : longWord;
  9790. U1EP8SET : longWord;
  9791. U1EP8INV : longWord;
  9792. U1EP9 : longWord;
  9793. U1EP9CLR : longWord;
  9794. U1EP9SET : longWord;
  9795. U1EP9INV : longWord;
  9796. U1EP10 : longWord;
  9797. U1EP10CLR : longWord;
  9798. U1EP10SET : longWord;
  9799. U1EP10INV : longWord;
  9800. U1EP11 : longWord;
  9801. U1EP11CLR : longWord;
  9802. U1EP11SET : longWord;
  9803. U1EP11INV : longWord;
  9804. U1EP12 : longWord;
  9805. U1EP12CLR : longWord;
  9806. U1EP12SET : longWord;
  9807. U1EP12INV : longWord;
  9808. U1EP13 : longWord;
  9809. U1EP13CLR : longWord;
  9810. U1EP13SET : longWord;
  9811. U1EP13INV : longWord;
  9812. U1EP14 : longWord;
  9813. U1EP14CLR : longWord;
  9814. U1EP14SET : longWord;
  9815. U1EP14INV : longWord;
  9816. U1EP15 : longWord;
  9817. U1EP15CLR : longWord;
  9818. U1EP15SET : longWord;
  9819. U1EP15INV : longWord;
  9820. ANSELAbits : TUSB_ANSELA;
  9821. ANSELA : longWord;
  9822. ANSELACLR : longWord;
  9823. ANSELASET : longWord;
  9824. ANSELAINV : longWord;
  9825. TRISAbits : TUSB_TRISA;
  9826. TRISA : longWord;
  9827. TRISACLR : longWord;
  9828. TRISASET : longWord;
  9829. TRISAINV : longWord;
  9830. end;
  9831. TPORTA_PORTA = record
  9832. private
  9833. function getRA0 : TBits_1; inline;
  9834. function getRA1 : TBits_1; inline;
  9835. function getRA10 : TBits_1; inline;
  9836. function getRA14 : TBits_1; inline;
  9837. function getRA15 : TBits_1; inline;
  9838. function getRA2 : TBits_1; inline;
  9839. function getRA3 : TBits_1; inline;
  9840. function getRA4 : TBits_1; inline;
  9841. function getRA5 : TBits_1; inline;
  9842. function getRA6 : TBits_1; inline;
  9843. function getRA7 : TBits_1; inline;
  9844. function getRA9 : TBits_1; inline;
  9845. function getw : TBits_32; inline;
  9846. procedure setRA0(thebits : TBits_1); inline;
  9847. procedure setRA1(thebits : TBits_1); inline;
  9848. procedure setRA10(thebits : TBits_1); inline;
  9849. procedure setRA14(thebits : TBits_1); inline;
  9850. procedure setRA15(thebits : TBits_1); inline;
  9851. procedure setRA2(thebits : TBits_1); inline;
  9852. procedure setRA3(thebits : TBits_1); inline;
  9853. procedure setRA4(thebits : TBits_1); inline;
  9854. procedure setRA5(thebits : TBits_1); inline;
  9855. procedure setRA6(thebits : TBits_1); inline;
  9856. procedure setRA7(thebits : TBits_1); inline;
  9857. procedure setRA9(thebits : TBits_1); inline;
  9858. procedure setw(thebits : TBits_32); inline;
  9859. public
  9860. procedure clearRA0; inline;
  9861. procedure clearRA10; inline;
  9862. procedure clearRA14; inline;
  9863. procedure clearRA15; inline;
  9864. procedure clearRA1; inline;
  9865. procedure clearRA2; inline;
  9866. procedure clearRA3; inline;
  9867. procedure clearRA4; inline;
  9868. procedure clearRA5; inline;
  9869. procedure clearRA6; inline;
  9870. procedure clearRA7; inline;
  9871. procedure clearRA9; inline;
  9872. procedure setRA0; inline;
  9873. procedure setRA10; inline;
  9874. procedure setRA14; inline;
  9875. procedure setRA15; inline;
  9876. procedure setRA1; inline;
  9877. procedure setRA2; inline;
  9878. procedure setRA3; inline;
  9879. procedure setRA4; inline;
  9880. procedure setRA5; inline;
  9881. procedure setRA6; inline;
  9882. procedure setRA7; inline;
  9883. procedure setRA9; inline;
  9884. property RA0 : TBits_1 read getRA0 write setRA0;
  9885. property RA1 : TBits_1 read getRA1 write setRA1;
  9886. property RA10 : TBits_1 read getRA10 write setRA10;
  9887. property RA14 : TBits_1 read getRA14 write setRA14;
  9888. property RA15 : TBits_1 read getRA15 write setRA15;
  9889. property RA2 : TBits_1 read getRA2 write setRA2;
  9890. property RA3 : TBits_1 read getRA3 write setRA3;
  9891. property RA4 : TBits_1 read getRA4 write setRA4;
  9892. property RA5 : TBits_1 read getRA5 write setRA5;
  9893. property RA6 : TBits_1 read getRA6 write setRA6;
  9894. property RA7 : TBits_1 read getRA7 write setRA7;
  9895. property RA9 : TBits_1 read getRA9 write setRA9;
  9896. property w : TBits_32 read getw write setw;
  9897. end;
  9898. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4,RA5=5,RA6=6,RA7=7,RA9=9,RA10=10,RA14=14,RA15=15);
  9899. TPortA_bitset = set of TPortA_bits;
  9900. TPORTA_LATA = record
  9901. private
  9902. function getLATA0 : TBits_1; inline;
  9903. function getLATA1 : TBits_1; inline;
  9904. function getLATA10 : TBits_1; inline;
  9905. function getLATA14 : TBits_1; inline;
  9906. function getLATA15 : TBits_1; inline;
  9907. function getLATA2 : TBits_1; inline;
  9908. function getLATA3 : TBits_1; inline;
  9909. function getLATA4 : TBits_1; inline;
  9910. function getLATA5 : TBits_1; inline;
  9911. function getLATA6 : TBits_1; inline;
  9912. function getLATA7 : TBits_1; inline;
  9913. function getLATA9 : TBits_1; inline;
  9914. function getw : TBits_32; inline;
  9915. procedure setLATA0(thebits : TBits_1); inline;
  9916. procedure setLATA1(thebits : TBits_1); inline;
  9917. procedure setLATA10(thebits : TBits_1); inline;
  9918. procedure setLATA14(thebits : TBits_1); inline;
  9919. procedure setLATA15(thebits : TBits_1); inline;
  9920. procedure setLATA2(thebits : TBits_1); inline;
  9921. procedure setLATA3(thebits : TBits_1); inline;
  9922. procedure setLATA4(thebits : TBits_1); inline;
  9923. procedure setLATA5(thebits : TBits_1); inline;
  9924. procedure setLATA6(thebits : TBits_1); inline;
  9925. procedure setLATA7(thebits : TBits_1); inline;
  9926. procedure setLATA9(thebits : TBits_1); inline;
  9927. procedure setw(thebits : TBits_32); inline;
  9928. public
  9929. procedure clearLATA0; inline;
  9930. procedure clearLATA10; inline;
  9931. procedure clearLATA14; inline;
  9932. procedure clearLATA15; inline;
  9933. procedure clearLATA1; inline;
  9934. procedure clearLATA2; inline;
  9935. procedure clearLATA3; inline;
  9936. procedure clearLATA4; inline;
  9937. procedure clearLATA5; inline;
  9938. procedure clearLATA6; inline;
  9939. procedure clearLATA7; inline;
  9940. procedure clearLATA9; inline;
  9941. procedure setLATA0; inline;
  9942. procedure setLATA10; inline;
  9943. procedure setLATA14; inline;
  9944. procedure setLATA15; inline;
  9945. procedure setLATA1; inline;
  9946. procedure setLATA2; inline;
  9947. procedure setLATA3; inline;
  9948. procedure setLATA4; inline;
  9949. procedure setLATA5; inline;
  9950. procedure setLATA6; inline;
  9951. procedure setLATA7; inline;
  9952. procedure setLATA9; inline;
  9953. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  9954. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  9955. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  9956. property LATA14 : TBits_1 read getLATA14 write setLATA14;
  9957. property LATA15 : TBits_1 read getLATA15 write setLATA15;
  9958. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  9959. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  9960. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  9961. property LATA5 : TBits_1 read getLATA5 write setLATA5;
  9962. property LATA6 : TBits_1 read getLATA6 write setLATA6;
  9963. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  9964. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  9965. property w : TBits_32 read getw write setw;
  9966. end;
  9967. TPORTA_ODCA = record
  9968. private
  9969. function getODCA0 : TBits_1; inline;
  9970. function getODCA1 : TBits_1; inline;
  9971. function getODCA10 : TBits_1; inline;
  9972. function getODCA14 : TBits_1; inline;
  9973. function getODCA15 : TBits_1; inline;
  9974. function getODCA2 : TBits_1; inline;
  9975. function getODCA3 : TBits_1; inline;
  9976. function getODCA4 : TBits_1; inline;
  9977. function getODCA5 : TBits_1; inline;
  9978. function getODCA6 : TBits_1; inline;
  9979. function getODCA7 : TBits_1; inline;
  9980. function getODCA9 : TBits_1; inline;
  9981. function getw : TBits_32; inline;
  9982. procedure setODCA0(thebits : TBits_1); inline;
  9983. procedure setODCA1(thebits : TBits_1); inline;
  9984. procedure setODCA10(thebits : TBits_1); inline;
  9985. procedure setODCA14(thebits : TBits_1); inline;
  9986. procedure setODCA15(thebits : TBits_1); inline;
  9987. procedure setODCA2(thebits : TBits_1); inline;
  9988. procedure setODCA3(thebits : TBits_1); inline;
  9989. procedure setODCA4(thebits : TBits_1); inline;
  9990. procedure setODCA5(thebits : TBits_1); inline;
  9991. procedure setODCA6(thebits : TBits_1); inline;
  9992. procedure setODCA7(thebits : TBits_1); inline;
  9993. procedure setODCA9(thebits : TBits_1); inline;
  9994. procedure setw(thebits : TBits_32); inline;
  9995. public
  9996. procedure clearODCA0; inline;
  9997. procedure clearODCA10; inline;
  9998. procedure clearODCA14; inline;
  9999. procedure clearODCA15; inline;
  10000. procedure clearODCA1; inline;
  10001. procedure clearODCA2; inline;
  10002. procedure clearODCA3; inline;
  10003. procedure clearODCA4; inline;
  10004. procedure clearODCA5; inline;
  10005. procedure clearODCA6; inline;
  10006. procedure clearODCA7; inline;
  10007. procedure clearODCA9; inline;
  10008. procedure setODCA0; inline;
  10009. procedure setODCA10; inline;
  10010. procedure setODCA14; inline;
  10011. procedure setODCA15; inline;
  10012. procedure setODCA1; inline;
  10013. procedure setODCA2; inline;
  10014. procedure setODCA3; inline;
  10015. procedure setODCA4; inline;
  10016. procedure setODCA5; inline;
  10017. procedure setODCA6; inline;
  10018. procedure setODCA7; inline;
  10019. procedure setODCA9; inline;
  10020. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  10021. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  10022. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  10023. property ODCA14 : TBits_1 read getODCA14 write setODCA14;
  10024. property ODCA15 : TBits_1 read getODCA15 write setODCA15;
  10025. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  10026. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  10027. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  10028. property ODCA5 : TBits_1 read getODCA5 write setODCA5;
  10029. property ODCA6 : TBits_1 read getODCA6 write setODCA6;
  10030. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  10031. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  10032. property w : TBits_32 read getw write setw;
  10033. end;
  10034. TPORTA_CNPUA = record
  10035. private
  10036. function getCNPUA0 : TBits_1; inline;
  10037. function getCNPUA1 : TBits_1; inline;
  10038. function getCNPUA10 : TBits_1; inline;
  10039. function getCNPUA14 : TBits_1; inline;
  10040. function getCNPUA15 : TBits_1; inline;
  10041. function getCNPUA2 : TBits_1; inline;
  10042. function getCNPUA3 : TBits_1; inline;
  10043. function getCNPUA4 : TBits_1; inline;
  10044. function getCNPUA5 : TBits_1; inline;
  10045. function getCNPUA6 : TBits_1; inline;
  10046. function getCNPUA7 : TBits_1; inline;
  10047. function getCNPUA9 : TBits_1; inline;
  10048. function getw : TBits_32; inline;
  10049. procedure setCNPUA0(thebits : TBits_1); inline;
  10050. procedure setCNPUA1(thebits : TBits_1); inline;
  10051. procedure setCNPUA10(thebits : TBits_1); inline;
  10052. procedure setCNPUA14(thebits : TBits_1); inline;
  10053. procedure setCNPUA15(thebits : TBits_1); inline;
  10054. procedure setCNPUA2(thebits : TBits_1); inline;
  10055. procedure setCNPUA3(thebits : TBits_1); inline;
  10056. procedure setCNPUA4(thebits : TBits_1); inline;
  10057. procedure setCNPUA5(thebits : TBits_1); inline;
  10058. procedure setCNPUA6(thebits : TBits_1); inline;
  10059. procedure setCNPUA7(thebits : TBits_1); inline;
  10060. procedure setCNPUA9(thebits : TBits_1); inline;
  10061. procedure setw(thebits : TBits_32); inline;
  10062. public
  10063. procedure clearCNPUA0; inline;
  10064. procedure clearCNPUA10; inline;
  10065. procedure clearCNPUA14; inline;
  10066. procedure clearCNPUA15; inline;
  10067. procedure clearCNPUA1; inline;
  10068. procedure clearCNPUA2; inline;
  10069. procedure clearCNPUA3; inline;
  10070. procedure clearCNPUA4; inline;
  10071. procedure clearCNPUA5; inline;
  10072. procedure clearCNPUA6; inline;
  10073. procedure clearCNPUA7; inline;
  10074. procedure clearCNPUA9; inline;
  10075. procedure setCNPUA0; inline;
  10076. procedure setCNPUA10; inline;
  10077. procedure setCNPUA14; inline;
  10078. procedure setCNPUA15; inline;
  10079. procedure setCNPUA1; inline;
  10080. procedure setCNPUA2; inline;
  10081. procedure setCNPUA3; inline;
  10082. procedure setCNPUA4; inline;
  10083. procedure setCNPUA5; inline;
  10084. procedure setCNPUA6; inline;
  10085. procedure setCNPUA7; inline;
  10086. procedure setCNPUA9; inline;
  10087. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  10088. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  10089. property CNPUA10 : TBits_1 read getCNPUA10 write setCNPUA10;
  10090. property CNPUA14 : TBits_1 read getCNPUA14 write setCNPUA14;
  10091. property CNPUA15 : TBits_1 read getCNPUA15 write setCNPUA15;
  10092. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  10093. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  10094. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  10095. property CNPUA5 : TBits_1 read getCNPUA5 write setCNPUA5;
  10096. property CNPUA6 : TBits_1 read getCNPUA6 write setCNPUA6;
  10097. property CNPUA7 : TBits_1 read getCNPUA7 write setCNPUA7;
  10098. property CNPUA9 : TBits_1 read getCNPUA9 write setCNPUA9;
  10099. property w : TBits_32 read getw write setw;
  10100. end;
  10101. TPORTA_CNPDA = record
  10102. private
  10103. function getCNPDA0 : TBits_1; inline;
  10104. function getCNPDA1 : TBits_1; inline;
  10105. function getCNPDA10 : TBits_1; inline;
  10106. function getCNPDA14 : TBits_1; inline;
  10107. function getCNPDA15 : TBits_1; inline;
  10108. function getCNPDA2 : TBits_1; inline;
  10109. function getCNPDA3 : TBits_1; inline;
  10110. function getCNPDA4 : TBits_1; inline;
  10111. function getCNPDA5 : TBits_1; inline;
  10112. function getCNPDA6 : TBits_1; inline;
  10113. function getCNPDA7 : TBits_1; inline;
  10114. function getCNPDA9 : TBits_1; inline;
  10115. function getw : TBits_32; inline;
  10116. procedure setCNPDA0(thebits : TBits_1); inline;
  10117. procedure setCNPDA1(thebits : TBits_1); inline;
  10118. procedure setCNPDA10(thebits : TBits_1); inline;
  10119. procedure setCNPDA14(thebits : TBits_1); inline;
  10120. procedure setCNPDA15(thebits : TBits_1); inline;
  10121. procedure setCNPDA2(thebits : TBits_1); inline;
  10122. procedure setCNPDA3(thebits : TBits_1); inline;
  10123. procedure setCNPDA4(thebits : TBits_1); inline;
  10124. procedure setCNPDA5(thebits : TBits_1); inline;
  10125. procedure setCNPDA6(thebits : TBits_1); inline;
  10126. procedure setCNPDA7(thebits : TBits_1); inline;
  10127. procedure setCNPDA9(thebits : TBits_1); inline;
  10128. procedure setw(thebits : TBits_32); inline;
  10129. public
  10130. procedure clearCNPDA0; inline;
  10131. procedure clearCNPDA10; inline;
  10132. procedure clearCNPDA14; inline;
  10133. procedure clearCNPDA15; inline;
  10134. procedure clearCNPDA1; inline;
  10135. procedure clearCNPDA2; inline;
  10136. procedure clearCNPDA3; inline;
  10137. procedure clearCNPDA4; inline;
  10138. procedure clearCNPDA5; inline;
  10139. procedure clearCNPDA6; inline;
  10140. procedure clearCNPDA7; inline;
  10141. procedure clearCNPDA9; inline;
  10142. procedure setCNPDA0; inline;
  10143. procedure setCNPDA10; inline;
  10144. procedure setCNPDA14; inline;
  10145. procedure setCNPDA15; inline;
  10146. procedure setCNPDA1; inline;
  10147. procedure setCNPDA2; inline;
  10148. procedure setCNPDA3; inline;
  10149. procedure setCNPDA4; inline;
  10150. procedure setCNPDA5; inline;
  10151. procedure setCNPDA6; inline;
  10152. procedure setCNPDA7; inline;
  10153. procedure setCNPDA9; inline;
  10154. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  10155. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  10156. property CNPDA10 : TBits_1 read getCNPDA10 write setCNPDA10;
  10157. property CNPDA14 : TBits_1 read getCNPDA14 write setCNPDA14;
  10158. property CNPDA15 : TBits_1 read getCNPDA15 write setCNPDA15;
  10159. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  10160. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  10161. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  10162. property CNPDA5 : TBits_1 read getCNPDA5 write setCNPDA5;
  10163. property CNPDA6 : TBits_1 read getCNPDA6 write setCNPDA6;
  10164. property CNPDA7 : TBits_1 read getCNPDA7 write setCNPDA7;
  10165. property CNPDA9 : TBits_1 read getCNPDA9 write setCNPDA9;
  10166. property w : TBits_32 read getw write setw;
  10167. end;
  10168. TPORTA_CNCONA = record
  10169. private
  10170. function getON : TBits_1; inline;
  10171. function getSIDL : TBits_1; inline;
  10172. function getw : TBits_32; inline;
  10173. procedure setON(thebits : TBits_1); inline;
  10174. procedure setSIDL(thebits : TBits_1); inline;
  10175. procedure setw(thebits : TBits_32); inline;
  10176. public
  10177. procedure clearON; inline;
  10178. procedure clearSIDL; inline;
  10179. procedure setON; inline;
  10180. procedure setSIDL; inline;
  10181. property ON : TBits_1 read getON write setON;
  10182. property SIDL : TBits_1 read getSIDL write setSIDL;
  10183. property w : TBits_32 read getw write setw;
  10184. end;
  10185. TPORTA_CNENA = record
  10186. private
  10187. function getCNIEA0 : TBits_1; inline;
  10188. function getCNIEA1 : TBits_1; inline;
  10189. function getCNIEA10 : TBits_1; inline;
  10190. function getCNIEA14 : TBits_1; inline;
  10191. function getCNIEA15 : TBits_1; inline;
  10192. function getCNIEA2 : TBits_1; inline;
  10193. function getCNIEA3 : TBits_1; inline;
  10194. function getCNIEA4 : TBits_1; inline;
  10195. function getCNIEA5 : TBits_1; inline;
  10196. function getCNIEA6 : TBits_1; inline;
  10197. function getCNIEA7 : TBits_1; inline;
  10198. function getCNIEA9 : TBits_1; inline;
  10199. function getw : TBits_32; inline;
  10200. procedure setCNIEA0(thebits : TBits_1); inline;
  10201. procedure setCNIEA1(thebits : TBits_1); inline;
  10202. procedure setCNIEA10(thebits : TBits_1); inline;
  10203. procedure setCNIEA14(thebits : TBits_1); inline;
  10204. procedure setCNIEA15(thebits : TBits_1); inline;
  10205. procedure setCNIEA2(thebits : TBits_1); inline;
  10206. procedure setCNIEA3(thebits : TBits_1); inline;
  10207. procedure setCNIEA4(thebits : TBits_1); inline;
  10208. procedure setCNIEA5(thebits : TBits_1); inline;
  10209. procedure setCNIEA6(thebits : TBits_1); inline;
  10210. procedure setCNIEA7(thebits : TBits_1); inline;
  10211. procedure setCNIEA9(thebits : TBits_1); inline;
  10212. procedure setw(thebits : TBits_32); inline;
  10213. public
  10214. procedure clearCNIEA0; inline;
  10215. procedure clearCNIEA10; inline;
  10216. procedure clearCNIEA14; inline;
  10217. procedure clearCNIEA15; inline;
  10218. procedure clearCNIEA1; inline;
  10219. procedure clearCNIEA2; inline;
  10220. procedure clearCNIEA3; inline;
  10221. procedure clearCNIEA4; inline;
  10222. procedure clearCNIEA5; inline;
  10223. procedure clearCNIEA6; inline;
  10224. procedure clearCNIEA7; inline;
  10225. procedure clearCNIEA9; inline;
  10226. procedure setCNIEA0; inline;
  10227. procedure setCNIEA10; inline;
  10228. procedure setCNIEA14; inline;
  10229. procedure setCNIEA15; inline;
  10230. procedure setCNIEA1; inline;
  10231. procedure setCNIEA2; inline;
  10232. procedure setCNIEA3; inline;
  10233. procedure setCNIEA4; inline;
  10234. procedure setCNIEA5; inline;
  10235. procedure setCNIEA6; inline;
  10236. procedure setCNIEA7; inline;
  10237. procedure setCNIEA9; inline;
  10238. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  10239. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  10240. property CNIEA10 : TBits_1 read getCNIEA10 write setCNIEA10;
  10241. property CNIEA14 : TBits_1 read getCNIEA14 write setCNIEA14;
  10242. property CNIEA15 : TBits_1 read getCNIEA15 write setCNIEA15;
  10243. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  10244. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  10245. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  10246. property CNIEA5 : TBits_1 read getCNIEA5 write setCNIEA5;
  10247. property CNIEA6 : TBits_1 read getCNIEA6 write setCNIEA6;
  10248. property CNIEA7 : TBits_1 read getCNIEA7 write setCNIEA7;
  10249. property CNIEA9 : TBits_1 read getCNIEA9 write setCNIEA9;
  10250. property w : TBits_32 read getw write setw;
  10251. end;
  10252. TPORTA_CNSTATA = record
  10253. private
  10254. function getCNSTATA0 : TBits_1; inline;
  10255. function getCNSTATA1 : TBits_1; inline;
  10256. function getCNSTATA10 : TBits_1; inline;
  10257. function getCNSTATA14 : TBits_1; inline;
  10258. function getCNSTATA15 : TBits_1; inline;
  10259. function getCNSTATA2 : TBits_1; inline;
  10260. function getCNSTATA3 : TBits_1; inline;
  10261. function getCNSTATA4 : TBits_1; inline;
  10262. function getCNSTATA5 : TBits_1; inline;
  10263. function getCNSTATA6 : TBits_1; inline;
  10264. function getCNSTATA7 : TBits_1; inline;
  10265. function getCNSTATA9 : TBits_1; inline;
  10266. function getw : TBits_32; inline;
  10267. procedure setCNSTATA0(thebits : TBits_1); inline;
  10268. procedure setCNSTATA1(thebits : TBits_1); inline;
  10269. procedure setCNSTATA10(thebits : TBits_1); inline;
  10270. procedure setCNSTATA14(thebits : TBits_1); inline;
  10271. procedure setCNSTATA15(thebits : TBits_1); inline;
  10272. procedure setCNSTATA2(thebits : TBits_1); inline;
  10273. procedure setCNSTATA3(thebits : TBits_1); inline;
  10274. procedure setCNSTATA4(thebits : TBits_1); inline;
  10275. procedure setCNSTATA5(thebits : TBits_1); inline;
  10276. procedure setCNSTATA6(thebits : TBits_1); inline;
  10277. procedure setCNSTATA7(thebits : TBits_1); inline;
  10278. procedure setCNSTATA9(thebits : TBits_1); inline;
  10279. procedure setw(thebits : TBits_32); inline;
  10280. public
  10281. procedure clearCNSTATA0; inline;
  10282. procedure clearCNSTATA10; inline;
  10283. procedure clearCNSTATA14; inline;
  10284. procedure clearCNSTATA15; inline;
  10285. procedure clearCNSTATA1; inline;
  10286. procedure clearCNSTATA2; inline;
  10287. procedure clearCNSTATA3; inline;
  10288. procedure clearCNSTATA4; inline;
  10289. procedure clearCNSTATA5; inline;
  10290. procedure clearCNSTATA6; inline;
  10291. procedure clearCNSTATA7; inline;
  10292. procedure clearCNSTATA9; inline;
  10293. procedure setCNSTATA0; inline;
  10294. procedure setCNSTATA10; inline;
  10295. procedure setCNSTATA14; inline;
  10296. procedure setCNSTATA15; inline;
  10297. procedure setCNSTATA1; inline;
  10298. procedure setCNSTATA2; inline;
  10299. procedure setCNSTATA3; inline;
  10300. procedure setCNSTATA4; inline;
  10301. procedure setCNSTATA5; inline;
  10302. procedure setCNSTATA6; inline;
  10303. procedure setCNSTATA7; inline;
  10304. procedure setCNSTATA9; inline;
  10305. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  10306. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  10307. property CNSTATA10 : TBits_1 read getCNSTATA10 write setCNSTATA10;
  10308. property CNSTATA14 : TBits_1 read getCNSTATA14 write setCNSTATA14;
  10309. property CNSTATA15 : TBits_1 read getCNSTATA15 write setCNSTATA15;
  10310. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  10311. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  10312. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  10313. property CNSTATA5 : TBits_1 read getCNSTATA5 write setCNSTATA5;
  10314. property CNSTATA6 : TBits_1 read getCNSTATA6 write setCNSTATA6;
  10315. property CNSTATA7 : TBits_1 read getCNSTATA7 write setCNSTATA7;
  10316. property CNSTATA9 : TBits_1 read getCNSTATA9 write setCNSTATA9;
  10317. property w : TBits_32 read getw write setw;
  10318. end;
  10319. TPORTA_ANSELB = record
  10320. private
  10321. function getANSB0 : TBits_1; inline;
  10322. function getANSB1 : TBits_1; inline;
  10323. function getANSB10 : TBits_1; inline;
  10324. function getANSB11 : TBits_1; inline;
  10325. function getANSB12 : TBits_1; inline;
  10326. function getANSB13 : TBits_1; inline;
  10327. function getANSB14 : TBits_1; inline;
  10328. function getANSB15 : TBits_1; inline;
  10329. function getANSB2 : TBits_1; inline;
  10330. function getANSB3 : TBits_1; inline;
  10331. function getANSB4 : TBits_1; inline;
  10332. function getANSB5 : TBits_1; inline;
  10333. function getANSB6 : TBits_1; inline;
  10334. function getANSB7 : TBits_1; inline;
  10335. function getANSB8 : TBits_1; inline;
  10336. function getANSB9 : TBits_1; inline;
  10337. function getw : TBits_32; inline;
  10338. procedure setANSB0(thebits : TBits_1); inline;
  10339. procedure setANSB1(thebits : TBits_1); inline;
  10340. procedure setANSB10(thebits : TBits_1); inline;
  10341. procedure setANSB11(thebits : TBits_1); inline;
  10342. procedure setANSB12(thebits : TBits_1); inline;
  10343. procedure setANSB13(thebits : TBits_1); inline;
  10344. procedure setANSB14(thebits : TBits_1); inline;
  10345. procedure setANSB15(thebits : TBits_1); inline;
  10346. procedure setANSB2(thebits : TBits_1); inline;
  10347. procedure setANSB3(thebits : TBits_1); inline;
  10348. procedure setANSB4(thebits : TBits_1); inline;
  10349. procedure setANSB5(thebits : TBits_1); inline;
  10350. procedure setANSB6(thebits : TBits_1); inline;
  10351. procedure setANSB7(thebits : TBits_1); inline;
  10352. procedure setANSB8(thebits : TBits_1); inline;
  10353. procedure setANSB9(thebits : TBits_1); inline;
  10354. procedure setw(thebits : TBits_32); inline;
  10355. public
  10356. procedure clearANSB0; inline;
  10357. procedure clearANSB10; inline;
  10358. procedure clearANSB11; inline;
  10359. procedure clearANSB12; inline;
  10360. procedure clearANSB13; inline;
  10361. procedure clearANSB14; inline;
  10362. procedure clearANSB15; inline;
  10363. procedure clearANSB1; inline;
  10364. procedure clearANSB2; inline;
  10365. procedure clearANSB3; inline;
  10366. procedure clearANSB4; inline;
  10367. procedure clearANSB5; inline;
  10368. procedure clearANSB6; inline;
  10369. procedure clearANSB7; inline;
  10370. procedure clearANSB8; inline;
  10371. procedure clearANSB9; inline;
  10372. procedure setANSB0; inline;
  10373. procedure setANSB10; inline;
  10374. procedure setANSB11; inline;
  10375. procedure setANSB12; inline;
  10376. procedure setANSB13; inline;
  10377. procedure setANSB14; inline;
  10378. procedure setANSB15; inline;
  10379. procedure setANSB1; inline;
  10380. procedure setANSB2; inline;
  10381. procedure setANSB3; inline;
  10382. procedure setANSB4; inline;
  10383. procedure setANSB5; inline;
  10384. procedure setANSB6; inline;
  10385. procedure setANSB7; inline;
  10386. procedure setANSB8; inline;
  10387. procedure setANSB9; inline;
  10388. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  10389. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  10390. property ANSB10 : TBits_1 read getANSB10 write setANSB10;
  10391. property ANSB11 : TBits_1 read getANSB11 write setANSB11;
  10392. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  10393. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  10394. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  10395. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  10396. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  10397. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  10398. property ANSB4 : TBits_1 read getANSB4 write setANSB4;
  10399. property ANSB5 : TBits_1 read getANSB5 write setANSB5;
  10400. property ANSB6 : TBits_1 read getANSB6 write setANSB6;
  10401. property ANSB7 : TBits_1 read getANSB7 write setANSB7;
  10402. property ANSB8 : TBits_1 read getANSB8 write setANSB8;
  10403. property ANSB9 : TBits_1 read getANSB9 write setANSB9;
  10404. property w : TBits_32 read getw write setw;
  10405. end;
  10406. TPORTA_TRISB = record
  10407. private
  10408. function getTRISB0 : TBits_1; inline;
  10409. function getTRISB1 : TBits_1; inline;
  10410. function getTRISB10 : TBits_1; inline;
  10411. function getTRISB11 : TBits_1; inline;
  10412. function getTRISB12 : TBits_1; inline;
  10413. function getTRISB13 : TBits_1; inline;
  10414. function getTRISB14 : TBits_1; inline;
  10415. function getTRISB15 : TBits_1; inline;
  10416. function getTRISB2 : TBits_1; inline;
  10417. function getTRISB3 : TBits_1; inline;
  10418. function getTRISB4 : TBits_1; inline;
  10419. function getTRISB5 : TBits_1; inline;
  10420. function getTRISB6 : TBits_1; inline;
  10421. function getTRISB7 : TBits_1; inline;
  10422. function getTRISB8 : TBits_1; inline;
  10423. function getTRISB9 : TBits_1; inline;
  10424. function getw : TBits_32; inline;
  10425. procedure setTRISB0(thebits : TBits_1); inline;
  10426. procedure setTRISB1(thebits : TBits_1); inline;
  10427. procedure setTRISB10(thebits : TBits_1); inline;
  10428. procedure setTRISB11(thebits : TBits_1); inline;
  10429. procedure setTRISB12(thebits : TBits_1); inline;
  10430. procedure setTRISB13(thebits : TBits_1); inline;
  10431. procedure setTRISB14(thebits : TBits_1); inline;
  10432. procedure setTRISB15(thebits : TBits_1); inline;
  10433. procedure setTRISB2(thebits : TBits_1); inline;
  10434. procedure setTRISB3(thebits : TBits_1); inline;
  10435. procedure setTRISB4(thebits : TBits_1); inline;
  10436. procedure setTRISB5(thebits : TBits_1); inline;
  10437. procedure setTRISB6(thebits : TBits_1); inline;
  10438. procedure setTRISB7(thebits : TBits_1); inline;
  10439. procedure setTRISB8(thebits : TBits_1); inline;
  10440. procedure setTRISB9(thebits : TBits_1); inline;
  10441. procedure setw(thebits : TBits_32); inline;
  10442. public
  10443. procedure clearTRISB0; inline;
  10444. procedure clearTRISB10; inline;
  10445. procedure clearTRISB11; inline;
  10446. procedure clearTRISB12; inline;
  10447. procedure clearTRISB13; inline;
  10448. procedure clearTRISB14; inline;
  10449. procedure clearTRISB15; inline;
  10450. procedure clearTRISB1; inline;
  10451. procedure clearTRISB2; inline;
  10452. procedure clearTRISB3; inline;
  10453. procedure clearTRISB4; inline;
  10454. procedure clearTRISB5; inline;
  10455. procedure clearTRISB6; inline;
  10456. procedure clearTRISB7; inline;
  10457. procedure clearTRISB8; inline;
  10458. procedure clearTRISB9; inline;
  10459. procedure setTRISB0; inline;
  10460. procedure setTRISB10; inline;
  10461. procedure setTRISB11; inline;
  10462. procedure setTRISB12; inline;
  10463. procedure setTRISB13; inline;
  10464. procedure setTRISB14; inline;
  10465. procedure setTRISB15; inline;
  10466. procedure setTRISB1; inline;
  10467. procedure setTRISB2; inline;
  10468. procedure setTRISB3; inline;
  10469. procedure setTRISB4; inline;
  10470. procedure setTRISB5; inline;
  10471. procedure setTRISB6; inline;
  10472. procedure setTRISB7; inline;
  10473. procedure setTRISB8; inline;
  10474. procedure setTRISB9; inline;
  10475. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  10476. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  10477. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  10478. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  10479. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  10480. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  10481. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  10482. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  10483. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  10484. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  10485. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  10486. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  10487. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  10488. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  10489. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  10490. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  10491. property w : TBits_32 read getw write setw;
  10492. end;
  10493. type
  10494. TPORTARegisters = record
  10495. PORTAbits : TPORTA_PORTA;
  10496. PORTA : longWord;
  10497. PORTACLR : longWord;
  10498. PORTASET : longWord;
  10499. PORTAINV : longWord;
  10500. LATAbits : TPORTA_LATA;
  10501. LATA : longWord;
  10502. LATACLR : longWord;
  10503. LATASET : longWord;
  10504. LATAINV : longWord;
  10505. ODCAbits : TPORTA_ODCA;
  10506. ODCA : longWord;
  10507. ODCACLR : longWord;
  10508. ODCASET : longWord;
  10509. ODCAINV : longWord;
  10510. CNPUAbits : TPORTA_CNPUA;
  10511. CNPUA : longWord;
  10512. CNPUACLR : longWord;
  10513. CNPUASET : longWord;
  10514. CNPUAINV : longWord;
  10515. CNPDAbits : TPORTA_CNPDA;
  10516. CNPDA : longWord;
  10517. CNPDACLR : longWord;
  10518. CNPDASET : longWord;
  10519. CNPDAINV : longWord;
  10520. CNCONAbits : TPORTA_CNCONA;
  10521. CNCONA : longWord;
  10522. CNCONACLR : longWord;
  10523. CNCONASET : longWord;
  10524. CNCONAINV : longWord;
  10525. CNENAbits : TPORTA_CNENA;
  10526. CNENA : longWord;
  10527. CNENACLR : longWord;
  10528. CNENASET : longWord;
  10529. CNENAINV : longWord;
  10530. CNSTATAbits : TPORTA_CNSTATA;
  10531. CNSTATA : longWord;
  10532. CNSTATACLR : longWord;
  10533. CNSTATASET : longWord;
  10534. CNSTATAINV : longWord;
  10535. ANSELBbits : TPORTA_ANSELB;
  10536. ANSELB : longWord;
  10537. ANSELBCLR : longWord;
  10538. ANSELBSET : longWord;
  10539. ANSELBINV : longWord;
  10540. TRISBbits : TPORTA_TRISB;
  10541. TRISB : longWord;
  10542. TRISBCLR : longWord;
  10543. TRISBSET : longWord;
  10544. TRISBINV : longWord;
  10545. end;
  10546. TPORTB_PORTB = record
  10547. private
  10548. function getRB0 : TBits_1; inline;
  10549. function getRB1 : TBits_1; inline;
  10550. function getRB10 : TBits_1; inline;
  10551. function getRB11 : TBits_1; inline;
  10552. function getRB12 : TBits_1; inline;
  10553. function getRB13 : TBits_1; inline;
  10554. function getRB14 : TBits_1; inline;
  10555. function getRB15 : TBits_1; inline;
  10556. function getRB2 : TBits_1; inline;
  10557. function getRB3 : TBits_1; inline;
  10558. function getRB4 : TBits_1; inline;
  10559. function getRB5 : TBits_1; inline;
  10560. function getRB6 : TBits_1; inline;
  10561. function getRB7 : TBits_1; inline;
  10562. function getRB8 : TBits_1; inline;
  10563. function getRB9 : TBits_1; inline;
  10564. function getw : TBits_32; inline;
  10565. procedure setRB0(thebits : TBits_1); inline;
  10566. procedure setRB1(thebits : TBits_1); inline;
  10567. procedure setRB10(thebits : TBits_1); inline;
  10568. procedure setRB11(thebits : TBits_1); inline;
  10569. procedure setRB12(thebits : TBits_1); inline;
  10570. procedure setRB13(thebits : TBits_1); inline;
  10571. procedure setRB14(thebits : TBits_1); inline;
  10572. procedure setRB15(thebits : TBits_1); inline;
  10573. procedure setRB2(thebits : TBits_1); inline;
  10574. procedure setRB3(thebits : TBits_1); inline;
  10575. procedure setRB4(thebits : TBits_1); inline;
  10576. procedure setRB5(thebits : TBits_1); inline;
  10577. procedure setRB6(thebits : TBits_1); inline;
  10578. procedure setRB7(thebits : TBits_1); inline;
  10579. procedure setRB8(thebits : TBits_1); inline;
  10580. procedure setRB9(thebits : TBits_1); inline;
  10581. procedure setw(thebits : TBits_32); inline;
  10582. public
  10583. procedure clearRB0; inline;
  10584. procedure clearRB10; inline;
  10585. procedure clearRB11; inline;
  10586. procedure clearRB12; inline;
  10587. procedure clearRB13; inline;
  10588. procedure clearRB14; inline;
  10589. procedure clearRB15; inline;
  10590. procedure clearRB1; inline;
  10591. procedure clearRB2; inline;
  10592. procedure clearRB3; inline;
  10593. procedure clearRB4; inline;
  10594. procedure clearRB5; inline;
  10595. procedure clearRB6; inline;
  10596. procedure clearRB7; inline;
  10597. procedure clearRB8; inline;
  10598. procedure clearRB9; inline;
  10599. procedure setRB0; inline;
  10600. procedure setRB10; inline;
  10601. procedure setRB11; inline;
  10602. procedure setRB12; inline;
  10603. procedure setRB13; inline;
  10604. procedure setRB14; inline;
  10605. procedure setRB15; inline;
  10606. procedure setRB1; inline;
  10607. procedure setRB2; inline;
  10608. procedure setRB3; inline;
  10609. procedure setRB4; inline;
  10610. procedure setRB5; inline;
  10611. procedure setRB6; inline;
  10612. procedure setRB7; inline;
  10613. procedure setRB8; inline;
  10614. procedure setRB9; inline;
  10615. property RB0 : TBits_1 read getRB0 write setRB0;
  10616. property RB1 : TBits_1 read getRB1 write setRB1;
  10617. property RB10 : TBits_1 read getRB10 write setRB10;
  10618. property RB11 : TBits_1 read getRB11 write setRB11;
  10619. property RB12 : TBits_1 read getRB12 write setRB12;
  10620. property RB13 : TBits_1 read getRB13 write setRB13;
  10621. property RB14 : TBits_1 read getRB14 write setRB14;
  10622. property RB15 : TBits_1 read getRB15 write setRB15;
  10623. property RB2 : TBits_1 read getRB2 write setRB2;
  10624. property RB3 : TBits_1 read getRB3 write setRB3;
  10625. property RB4 : TBits_1 read getRB4 write setRB4;
  10626. property RB5 : TBits_1 read getRB5 write setRB5;
  10627. property RB6 : TBits_1 read getRB6 write setRB6;
  10628. property RB7 : TBits_1 read getRB7 write setRB7;
  10629. property RB8 : TBits_1 read getRB8 write setRB8;
  10630. property RB9 : TBits_1 read getRB9 write setRB9;
  10631. property w : TBits_32 read getw write setw;
  10632. end;
  10633. 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);
  10634. TPortB_bitset = set of TPortB_bits;
  10635. TPORTB_LATB = record
  10636. private
  10637. function getLATB0 : TBits_1; inline;
  10638. function getLATB1 : TBits_1; inline;
  10639. function getLATB10 : TBits_1; inline;
  10640. function getLATB11 : TBits_1; inline;
  10641. function getLATB12 : TBits_1; inline;
  10642. function getLATB13 : TBits_1; inline;
  10643. function getLATB14 : TBits_1; inline;
  10644. function getLATB15 : TBits_1; inline;
  10645. function getLATB2 : TBits_1; inline;
  10646. function getLATB3 : TBits_1; inline;
  10647. function getLATB4 : TBits_1; inline;
  10648. function getLATB5 : TBits_1; inline;
  10649. function getLATB6 : TBits_1; inline;
  10650. function getLATB7 : TBits_1; inline;
  10651. function getLATB8 : TBits_1; inline;
  10652. function getLATB9 : TBits_1; inline;
  10653. function getw : TBits_32; inline;
  10654. procedure setLATB0(thebits : TBits_1); inline;
  10655. procedure setLATB1(thebits : TBits_1); inline;
  10656. procedure setLATB10(thebits : TBits_1); inline;
  10657. procedure setLATB11(thebits : TBits_1); inline;
  10658. procedure setLATB12(thebits : TBits_1); inline;
  10659. procedure setLATB13(thebits : TBits_1); inline;
  10660. procedure setLATB14(thebits : TBits_1); inline;
  10661. procedure setLATB15(thebits : TBits_1); inline;
  10662. procedure setLATB2(thebits : TBits_1); inline;
  10663. procedure setLATB3(thebits : TBits_1); inline;
  10664. procedure setLATB4(thebits : TBits_1); inline;
  10665. procedure setLATB5(thebits : TBits_1); inline;
  10666. procedure setLATB6(thebits : TBits_1); inline;
  10667. procedure setLATB7(thebits : TBits_1); inline;
  10668. procedure setLATB8(thebits : TBits_1); inline;
  10669. procedure setLATB9(thebits : TBits_1); inline;
  10670. procedure setw(thebits : TBits_32); inline;
  10671. public
  10672. procedure clearLATB0; inline;
  10673. procedure clearLATB10; inline;
  10674. procedure clearLATB11; inline;
  10675. procedure clearLATB12; inline;
  10676. procedure clearLATB13; inline;
  10677. procedure clearLATB14; inline;
  10678. procedure clearLATB15; inline;
  10679. procedure clearLATB1; inline;
  10680. procedure clearLATB2; inline;
  10681. procedure clearLATB3; inline;
  10682. procedure clearLATB4; inline;
  10683. procedure clearLATB5; inline;
  10684. procedure clearLATB6; inline;
  10685. procedure clearLATB7; inline;
  10686. procedure clearLATB8; inline;
  10687. procedure clearLATB9; inline;
  10688. procedure setLATB0; inline;
  10689. procedure setLATB10; inline;
  10690. procedure setLATB11; inline;
  10691. procedure setLATB12; inline;
  10692. procedure setLATB13; inline;
  10693. procedure setLATB14; inline;
  10694. procedure setLATB15; inline;
  10695. procedure setLATB1; inline;
  10696. procedure setLATB2; inline;
  10697. procedure setLATB3; inline;
  10698. procedure setLATB4; inline;
  10699. procedure setLATB5; inline;
  10700. procedure setLATB6; inline;
  10701. procedure setLATB7; inline;
  10702. procedure setLATB8; inline;
  10703. procedure setLATB9; inline;
  10704. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  10705. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  10706. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  10707. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  10708. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  10709. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  10710. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  10711. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  10712. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  10713. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  10714. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  10715. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  10716. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  10717. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  10718. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  10719. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  10720. property w : TBits_32 read getw write setw;
  10721. end;
  10722. TPORTB_ODCB = record
  10723. private
  10724. function getODCB0 : TBits_1; inline;
  10725. function getODCB1 : TBits_1; inline;
  10726. function getODCB10 : TBits_1; inline;
  10727. function getODCB11 : TBits_1; inline;
  10728. function getODCB12 : TBits_1; inline;
  10729. function getODCB13 : TBits_1; inline;
  10730. function getODCB14 : TBits_1; inline;
  10731. function getODCB15 : TBits_1; inline;
  10732. function getODCB2 : TBits_1; inline;
  10733. function getODCB3 : TBits_1; inline;
  10734. function getODCB4 : TBits_1; inline;
  10735. function getODCB5 : TBits_1; inline;
  10736. function getODCB6 : TBits_1; inline;
  10737. function getODCB7 : TBits_1; inline;
  10738. function getODCB8 : TBits_1; inline;
  10739. function getODCB9 : TBits_1; inline;
  10740. function getw : TBits_32; inline;
  10741. procedure setODCB0(thebits : TBits_1); inline;
  10742. procedure setODCB1(thebits : TBits_1); inline;
  10743. procedure setODCB10(thebits : TBits_1); inline;
  10744. procedure setODCB11(thebits : TBits_1); inline;
  10745. procedure setODCB12(thebits : TBits_1); inline;
  10746. procedure setODCB13(thebits : TBits_1); inline;
  10747. procedure setODCB14(thebits : TBits_1); inline;
  10748. procedure setODCB15(thebits : TBits_1); inline;
  10749. procedure setODCB2(thebits : TBits_1); inline;
  10750. procedure setODCB3(thebits : TBits_1); inline;
  10751. procedure setODCB4(thebits : TBits_1); inline;
  10752. procedure setODCB5(thebits : TBits_1); inline;
  10753. procedure setODCB6(thebits : TBits_1); inline;
  10754. procedure setODCB7(thebits : TBits_1); inline;
  10755. procedure setODCB8(thebits : TBits_1); inline;
  10756. procedure setODCB9(thebits : TBits_1); inline;
  10757. procedure setw(thebits : TBits_32); inline;
  10758. public
  10759. procedure clearODCB0; inline;
  10760. procedure clearODCB10; inline;
  10761. procedure clearODCB11; inline;
  10762. procedure clearODCB12; inline;
  10763. procedure clearODCB13; inline;
  10764. procedure clearODCB14; inline;
  10765. procedure clearODCB15; inline;
  10766. procedure clearODCB1; inline;
  10767. procedure clearODCB2; inline;
  10768. procedure clearODCB3; inline;
  10769. procedure clearODCB4; inline;
  10770. procedure clearODCB5; inline;
  10771. procedure clearODCB6; inline;
  10772. procedure clearODCB7; inline;
  10773. procedure clearODCB8; inline;
  10774. procedure clearODCB9; inline;
  10775. procedure setODCB0; inline;
  10776. procedure setODCB10; inline;
  10777. procedure setODCB11; inline;
  10778. procedure setODCB12; inline;
  10779. procedure setODCB13; inline;
  10780. procedure setODCB14; inline;
  10781. procedure setODCB15; inline;
  10782. procedure setODCB1; inline;
  10783. procedure setODCB2; inline;
  10784. procedure setODCB3; inline;
  10785. procedure setODCB4; inline;
  10786. procedure setODCB5; inline;
  10787. procedure setODCB6; inline;
  10788. procedure setODCB7; inline;
  10789. procedure setODCB8; inline;
  10790. procedure setODCB9; inline;
  10791. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  10792. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  10793. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  10794. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  10795. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  10796. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  10797. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  10798. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  10799. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  10800. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  10801. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  10802. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  10803. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  10804. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  10805. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  10806. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  10807. property w : TBits_32 read getw write setw;
  10808. end;
  10809. TPORTB_CNPUB = record
  10810. private
  10811. function getCNPUB0 : TBits_1; inline;
  10812. function getCNPUB1 : TBits_1; inline;
  10813. function getCNPUB10 : TBits_1; inline;
  10814. function getCNPUB11 : TBits_1; inline;
  10815. function getCNPUB12 : TBits_1; inline;
  10816. function getCNPUB13 : TBits_1; inline;
  10817. function getCNPUB14 : TBits_1; inline;
  10818. function getCNPUB15 : TBits_1; inline;
  10819. function getCNPUB2 : TBits_1; inline;
  10820. function getCNPUB3 : TBits_1; inline;
  10821. function getCNPUB4 : TBits_1; inline;
  10822. function getCNPUB5 : TBits_1; inline;
  10823. function getCNPUB6 : TBits_1; inline;
  10824. function getCNPUB7 : TBits_1; inline;
  10825. function getCNPUB8 : TBits_1; inline;
  10826. function getCNPUB9 : TBits_1; inline;
  10827. function getw : TBits_32; inline;
  10828. procedure setCNPUB0(thebits : TBits_1); inline;
  10829. procedure setCNPUB1(thebits : TBits_1); inline;
  10830. procedure setCNPUB10(thebits : TBits_1); inline;
  10831. procedure setCNPUB11(thebits : TBits_1); inline;
  10832. procedure setCNPUB12(thebits : TBits_1); inline;
  10833. procedure setCNPUB13(thebits : TBits_1); inline;
  10834. procedure setCNPUB14(thebits : TBits_1); inline;
  10835. procedure setCNPUB15(thebits : TBits_1); inline;
  10836. procedure setCNPUB2(thebits : TBits_1); inline;
  10837. procedure setCNPUB3(thebits : TBits_1); inline;
  10838. procedure setCNPUB4(thebits : TBits_1); inline;
  10839. procedure setCNPUB5(thebits : TBits_1); inline;
  10840. procedure setCNPUB6(thebits : TBits_1); inline;
  10841. procedure setCNPUB7(thebits : TBits_1); inline;
  10842. procedure setCNPUB8(thebits : TBits_1); inline;
  10843. procedure setCNPUB9(thebits : TBits_1); inline;
  10844. procedure setw(thebits : TBits_32); inline;
  10845. public
  10846. procedure clearCNPUB0; inline;
  10847. procedure clearCNPUB10; inline;
  10848. procedure clearCNPUB11; inline;
  10849. procedure clearCNPUB12; inline;
  10850. procedure clearCNPUB13; inline;
  10851. procedure clearCNPUB14; inline;
  10852. procedure clearCNPUB15; inline;
  10853. procedure clearCNPUB1; inline;
  10854. procedure clearCNPUB2; inline;
  10855. procedure clearCNPUB3; inline;
  10856. procedure clearCNPUB4; inline;
  10857. procedure clearCNPUB5; inline;
  10858. procedure clearCNPUB6; inline;
  10859. procedure clearCNPUB7; inline;
  10860. procedure clearCNPUB8; inline;
  10861. procedure clearCNPUB9; inline;
  10862. procedure setCNPUB0; inline;
  10863. procedure setCNPUB10; inline;
  10864. procedure setCNPUB11; inline;
  10865. procedure setCNPUB12; inline;
  10866. procedure setCNPUB13; inline;
  10867. procedure setCNPUB14; inline;
  10868. procedure setCNPUB15; inline;
  10869. procedure setCNPUB1; inline;
  10870. procedure setCNPUB2; inline;
  10871. procedure setCNPUB3; inline;
  10872. procedure setCNPUB4; inline;
  10873. procedure setCNPUB5; inline;
  10874. procedure setCNPUB6; inline;
  10875. procedure setCNPUB7; inline;
  10876. procedure setCNPUB8; inline;
  10877. procedure setCNPUB9; inline;
  10878. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  10879. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  10880. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  10881. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  10882. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  10883. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  10884. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  10885. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  10886. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  10887. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  10888. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  10889. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  10890. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  10891. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  10892. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  10893. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  10894. property w : TBits_32 read getw write setw;
  10895. end;
  10896. TPORTB_CNPDB = record
  10897. private
  10898. function getCNPDB0 : TBits_1; inline;
  10899. function getCNPDB1 : TBits_1; inline;
  10900. function getCNPDB10 : TBits_1; inline;
  10901. function getCNPDB11 : TBits_1; inline;
  10902. function getCNPDB12 : TBits_1; inline;
  10903. function getCNPDB13 : TBits_1; inline;
  10904. function getCNPDB14 : TBits_1; inline;
  10905. function getCNPDB15 : TBits_1; inline;
  10906. function getCNPDB2 : TBits_1; inline;
  10907. function getCNPDB3 : TBits_1; inline;
  10908. function getCNPDB4 : TBits_1; inline;
  10909. function getCNPDB5 : TBits_1; inline;
  10910. function getCNPDB6 : TBits_1; inline;
  10911. function getCNPDB7 : TBits_1; inline;
  10912. function getCNPDB8 : TBits_1; inline;
  10913. function getCNPDB9 : TBits_1; inline;
  10914. function getw : TBits_32; inline;
  10915. procedure setCNPDB0(thebits : TBits_1); inline;
  10916. procedure setCNPDB1(thebits : TBits_1); inline;
  10917. procedure setCNPDB10(thebits : TBits_1); inline;
  10918. procedure setCNPDB11(thebits : TBits_1); inline;
  10919. procedure setCNPDB12(thebits : TBits_1); inline;
  10920. procedure setCNPDB13(thebits : TBits_1); inline;
  10921. procedure setCNPDB14(thebits : TBits_1); inline;
  10922. procedure setCNPDB15(thebits : TBits_1); inline;
  10923. procedure setCNPDB2(thebits : TBits_1); inline;
  10924. procedure setCNPDB3(thebits : TBits_1); inline;
  10925. procedure setCNPDB4(thebits : TBits_1); inline;
  10926. procedure setCNPDB5(thebits : TBits_1); inline;
  10927. procedure setCNPDB6(thebits : TBits_1); inline;
  10928. procedure setCNPDB7(thebits : TBits_1); inline;
  10929. procedure setCNPDB8(thebits : TBits_1); inline;
  10930. procedure setCNPDB9(thebits : TBits_1); inline;
  10931. procedure setw(thebits : TBits_32); inline;
  10932. public
  10933. procedure clearCNPDB0; inline;
  10934. procedure clearCNPDB10; inline;
  10935. procedure clearCNPDB11; inline;
  10936. procedure clearCNPDB12; inline;
  10937. procedure clearCNPDB13; inline;
  10938. procedure clearCNPDB14; inline;
  10939. procedure clearCNPDB15; inline;
  10940. procedure clearCNPDB1; inline;
  10941. procedure clearCNPDB2; inline;
  10942. procedure clearCNPDB3; inline;
  10943. procedure clearCNPDB4; inline;
  10944. procedure clearCNPDB5; inline;
  10945. procedure clearCNPDB6; inline;
  10946. procedure clearCNPDB7; inline;
  10947. procedure clearCNPDB8; inline;
  10948. procedure clearCNPDB9; inline;
  10949. procedure setCNPDB0; inline;
  10950. procedure setCNPDB10; inline;
  10951. procedure setCNPDB11; inline;
  10952. procedure setCNPDB12; inline;
  10953. procedure setCNPDB13; inline;
  10954. procedure setCNPDB14; inline;
  10955. procedure setCNPDB15; inline;
  10956. procedure setCNPDB1; inline;
  10957. procedure setCNPDB2; inline;
  10958. procedure setCNPDB3; inline;
  10959. procedure setCNPDB4; inline;
  10960. procedure setCNPDB5; inline;
  10961. procedure setCNPDB6; inline;
  10962. procedure setCNPDB7; inline;
  10963. procedure setCNPDB8; inline;
  10964. procedure setCNPDB9; inline;
  10965. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  10966. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  10967. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  10968. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  10969. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  10970. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  10971. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  10972. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  10973. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  10974. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  10975. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  10976. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  10977. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  10978. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  10979. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  10980. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  10981. property w : TBits_32 read getw write setw;
  10982. end;
  10983. TPORTB_CNCONB = record
  10984. private
  10985. function getON : TBits_1; inline;
  10986. function getSIDL : TBits_1; inline;
  10987. function getw : TBits_32; inline;
  10988. procedure setON(thebits : TBits_1); inline;
  10989. procedure setSIDL(thebits : TBits_1); inline;
  10990. procedure setw(thebits : TBits_32); inline;
  10991. public
  10992. procedure clearON; inline;
  10993. procedure clearSIDL; inline;
  10994. procedure setON; inline;
  10995. procedure setSIDL; inline;
  10996. property ON : TBits_1 read getON write setON;
  10997. property SIDL : TBits_1 read getSIDL write setSIDL;
  10998. property w : TBits_32 read getw write setw;
  10999. end;
  11000. TPORTB_CNENB = record
  11001. private
  11002. function getCNIEB0 : TBits_1; inline;
  11003. function getCNIEB1 : TBits_1; inline;
  11004. function getCNIEB10 : TBits_1; inline;
  11005. function getCNIEB11 : TBits_1; inline;
  11006. function getCNIEB12 : TBits_1; inline;
  11007. function getCNIEB13 : TBits_1; inline;
  11008. function getCNIEB14 : TBits_1; inline;
  11009. function getCNIEB15 : TBits_1; inline;
  11010. function getCNIEB2 : TBits_1; inline;
  11011. function getCNIEB3 : TBits_1; inline;
  11012. function getCNIEB4 : TBits_1; inline;
  11013. function getCNIEB5 : TBits_1; inline;
  11014. function getCNIEB6 : TBits_1; inline;
  11015. function getCNIEB7 : TBits_1; inline;
  11016. function getCNIEB8 : TBits_1; inline;
  11017. function getCNIEB9 : TBits_1; inline;
  11018. function getw : TBits_32; inline;
  11019. procedure setCNIEB0(thebits : TBits_1); inline;
  11020. procedure setCNIEB1(thebits : TBits_1); inline;
  11021. procedure setCNIEB10(thebits : TBits_1); inline;
  11022. procedure setCNIEB11(thebits : TBits_1); inline;
  11023. procedure setCNIEB12(thebits : TBits_1); inline;
  11024. procedure setCNIEB13(thebits : TBits_1); inline;
  11025. procedure setCNIEB14(thebits : TBits_1); inline;
  11026. procedure setCNIEB15(thebits : TBits_1); inline;
  11027. procedure setCNIEB2(thebits : TBits_1); inline;
  11028. procedure setCNIEB3(thebits : TBits_1); inline;
  11029. procedure setCNIEB4(thebits : TBits_1); inline;
  11030. procedure setCNIEB5(thebits : TBits_1); inline;
  11031. procedure setCNIEB6(thebits : TBits_1); inline;
  11032. procedure setCNIEB7(thebits : TBits_1); inline;
  11033. procedure setCNIEB8(thebits : TBits_1); inline;
  11034. procedure setCNIEB9(thebits : TBits_1); inline;
  11035. procedure setw(thebits : TBits_32); inline;
  11036. public
  11037. procedure clearCNIEB0; inline;
  11038. procedure clearCNIEB10; inline;
  11039. procedure clearCNIEB11; inline;
  11040. procedure clearCNIEB12; inline;
  11041. procedure clearCNIEB13; inline;
  11042. procedure clearCNIEB14; inline;
  11043. procedure clearCNIEB15; inline;
  11044. procedure clearCNIEB1; inline;
  11045. procedure clearCNIEB2; inline;
  11046. procedure clearCNIEB3; inline;
  11047. procedure clearCNIEB4; inline;
  11048. procedure clearCNIEB5; inline;
  11049. procedure clearCNIEB6; inline;
  11050. procedure clearCNIEB7; inline;
  11051. procedure clearCNIEB8; inline;
  11052. procedure clearCNIEB9; inline;
  11053. procedure setCNIEB0; inline;
  11054. procedure setCNIEB10; inline;
  11055. procedure setCNIEB11; inline;
  11056. procedure setCNIEB12; inline;
  11057. procedure setCNIEB13; inline;
  11058. procedure setCNIEB14; inline;
  11059. procedure setCNIEB15; inline;
  11060. procedure setCNIEB1; inline;
  11061. procedure setCNIEB2; inline;
  11062. procedure setCNIEB3; inline;
  11063. procedure setCNIEB4; inline;
  11064. procedure setCNIEB5; inline;
  11065. procedure setCNIEB6; inline;
  11066. procedure setCNIEB7; inline;
  11067. procedure setCNIEB8; inline;
  11068. procedure setCNIEB9; inline;
  11069. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  11070. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  11071. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  11072. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  11073. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  11074. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  11075. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  11076. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  11077. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  11078. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  11079. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  11080. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  11081. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  11082. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  11083. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  11084. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  11085. property w : TBits_32 read getw write setw;
  11086. end;
  11087. TPORTB_CNSTATB = record
  11088. private
  11089. function getCNSTATB0 : TBits_1; inline;
  11090. function getCNSTATB1 : TBits_1; inline;
  11091. function getCNSTATB10 : TBits_1; inline;
  11092. function getCNSTATB11 : TBits_1; inline;
  11093. function getCNSTATB12 : TBits_1; inline;
  11094. function getCNSTATB13 : TBits_1; inline;
  11095. function getCNSTATB14 : TBits_1; inline;
  11096. function getCNSTATB15 : TBits_1; inline;
  11097. function getCNSTATB2 : TBits_1; inline;
  11098. function getCNSTATB3 : TBits_1; inline;
  11099. function getCNSTATB4 : TBits_1; inline;
  11100. function getCNSTATB5 : TBits_1; inline;
  11101. function getCNSTATB6 : TBits_1; inline;
  11102. function getCNSTATB7 : TBits_1; inline;
  11103. function getCNSTATB8 : TBits_1; inline;
  11104. function getCNSTATB9 : TBits_1; inline;
  11105. function getw : TBits_32; inline;
  11106. procedure setCNSTATB0(thebits : TBits_1); inline;
  11107. procedure setCNSTATB1(thebits : TBits_1); inline;
  11108. procedure setCNSTATB10(thebits : TBits_1); inline;
  11109. procedure setCNSTATB11(thebits : TBits_1); inline;
  11110. procedure setCNSTATB12(thebits : TBits_1); inline;
  11111. procedure setCNSTATB13(thebits : TBits_1); inline;
  11112. procedure setCNSTATB14(thebits : TBits_1); inline;
  11113. procedure setCNSTATB15(thebits : TBits_1); inline;
  11114. procedure setCNSTATB2(thebits : TBits_1); inline;
  11115. procedure setCNSTATB3(thebits : TBits_1); inline;
  11116. procedure setCNSTATB4(thebits : TBits_1); inline;
  11117. procedure setCNSTATB5(thebits : TBits_1); inline;
  11118. procedure setCNSTATB6(thebits : TBits_1); inline;
  11119. procedure setCNSTATB7(thebits : TBits_1); inline;
  11120. procedure setCNSTATB8(thebits : TBits_1); inline;
  11121. procedure setCNSTATB9(thebits : TBits_1); inline;
  11122. procedure setw(thebits : TBits_32); inline;
  11123. public
  11124. procedure clearCNSTATB0; inline;
  11125. procedure clearCNSTATB10; inline;
  11126. procedure clearCNSTATB11; inline;
  11127. procedure clearCNSTATB12; inline;
  11128. procedure clearCNSTATB13; inline;
  11129. procedure clearCNSTATB14; inline;
  11130. procedure clearCNSTATB15; inline;
  11131. procedure clearCNSTATB1; inline;
  11132. procedure clearCNSTATB2; inline;
  11133. procedure clearCNSTATB3; inline;
  11134. procedure clearCNSTATB4; inline;
  11135. procedure clearCNSTATB5; inline;
  11136. procedure clearCNSTATB6; inline;
  11137. procedure clearCNSTATB7; inline;
  11138. procedure clearCNSTATB8; inline;
  11139. procedure clearCNSTATB9; inline;
  11140. procedure setCNSTATB0; inline;
  11141. procedure setCNSTATB10; inline;
  11142. procedure setCNSTATB11; inline;
  11143. procedure setCNSTATB12; inline;
  11144. procedure setCNSTATB13; inline;
  11145. procedure setCNSTATB14; inline;
  11146. procedure setCNSTATB15; inline;
  11147. procedure setCNSTATB1; inline;
  11148. procedure setCNSTATB2; inline;
  11149. procedure setCNSTATB3; inline;
  11150. procedure setCNSTATB4; inline;
  11151. procedure setCNSTATB5; inline;
  11152. procedure setCNSTATB6; inline;
  11153. procedure setCNSTATB7; inline;
  11154. procedure setCNSTATB8; inline;
  11155. procedure setCNSTATB9; inline;
  11156. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  11157. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  11158. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  11159. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  11160. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  11161. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  11162. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  11163. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  11164. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  11165. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  11166. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  11167. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  11168. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  11169. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  11170. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  11171. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  11172. property w : TBits_32 read getw write setw;
  11173. end;
  11174. TPORTB_TRISC = record
  11175. private
  11176. function getTRISC1 : TBits_1; inline;
  11177. function getTRISC12 : TBits_1; inline;
  11178. function getTRISC13 : TBits_1; inline;
  11179. function getTRISC14 : TBits_1; inline;
  11180. function getTRISC15 : TBits_1; inline;
  11181. function getTRISC2 : TBits_1; inline;
  11182. function getTRISC3 : TBits_1; inline;
  11183. function getTRISC4 : TBits_1; inline;
  11184. function getw : TBits_32; inline;
  11185. procedure setTRISC1(thebits : TBits_1); inline;
  11186. procedure setTRISC12(thebits : TBits_1); inline;
  11187. procedure setTRISC13(thebits : TBits_1); inline;
  11188. procedure setTRISC14(thebits : TBits_1); inline;
  11189. procedure setTRISC15(thebits : TBits_1); inline;
  11190. procedure setTRISC2(thebits : TBits_1); inline;
  11191. procedure setTRISC3(thebits : TBits_1); inline;
  11192. procedure setTRISC4(thebits : TBits_1); inline;
  11193. procedure setw(thebits : TBits_32); inline;
  11194. public
  11195. procedure clearTRISC12; inline;
  11196. procedure clearTRISC13; inline;
  11197. procedure clearTRISC14; inline;
  11198. procedure clearTRISC15; inline;
  11199. procedure clearTRISC1; inline;
  11200. procedure clearTRISC2; inline;
  11201. procedure clearTRISC3; inline;
  11202. procedure clearTRISC4; inline;
  11203. procedure setTRISC12; inline;
  11204. procedure setTRISC13; inline;
  11205. procedure setTRISC14; inline;
  11206. procedure setTRISC15; inline;
  11207. procedure setTRISC1; inline;
  11208. procedure setTRISC2; inline;
  11209. procedure setTRISC3; inline;
  11210. procedure setTRISC4; inline;
  11211. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  11212. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  11213. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  11214. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  11215. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  11216. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  11217. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  11218. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  11219. property w : TBits_32 read getw write setw;
  11220. end;
  11221. type
  11222. TPORTBRegisters = record
  11223. PORTBbits : TPORTB_PORTB;
  11224. PORTB : longWord;
  11225. PORTBCLR : longWord;
  11226. PORTBSET : longWord;
  11227. PORTBINV : longWord;
  11228. LATBbits : TPORTB_LATB;
  11229. LATB : longWord;
  11230. LATBCLR : longWord;
  11231. LATBSET : longWord;
  11232. LATBINV : longWord;
  11233. ODCBbits : TPORTB_ODCB;
  11234. ODCB : longWord;
  11235. ODCBCLR : longWord;
  11236. ODCBSET : longWord;
  11237. ODCBINV : longWord;
  11238. CNPUBbits : TPORTB_CNPUB;
  11239. CNPUB : longWord;
  11240. CNPUBCLR : longWord;
  11241. CNPUBSET : longWord;
  11242. CNPUBINV : longWord;
  11243. CNPDBbits : TPORTB_CNPDB;
  11244. CNPDB : longWord;
  11245. CNPDBCLR : longWord;
  11246. CNPDBSET : longWord;
  11247. CNPDBINV : longWord;
  11248. CNCONBbits : TPORTB_CNCONB;
  11249. CNCONB : longWord;
  11250. CNCONBCLR : longWord;
  11251. CNCONBSET : longWord;
  11252. CNCONBINV : longWord;
  11253. CNENBbits : TPORTB_CNENB;
  11254. CNENB : longWord;
  11255. CNENBCLR : longWord;
  11256. CNENBSET : longWord;
  11257. CNENBINV : longWord;
  11258. CNSTATBbits : TPORTB_CNSTATB;
  11259. CNSTATB : longWord;
  11260. CNSTATBCLR : longWord;
  11261. CNSTATBSET : longWord;
  11262. CNSTATBINV : longWord;
  11263. ANSELC : longWord;
  11264. ANSELCCLR : longWord;
  11265. ANSELCSET : longWord;
  11266. ANSELCINV : longWord;
  11267. TRISCbits : TPORTB_TRISC;
  11268. TRISC : longWord;
  11269. TRISCCLR : longWord;
  11270. TRISCSET : longWord;
  11271. TRISCINV : longWord;
  11272. end;
  11273. TPORTC_PORTC = record
  11274. private
  11275. function getRC1 : TBits_1; inline;
  11276. function getRC12 : TBits_1; inline;
  11277. function getRC13 : TBits_1; inline;
  11278. function getRC14 : TBits_1; inline;
  11279. function getRC15 : TBits_1; inline;
  11280. function getRC2 : TBits_1; inline;
  11281. function getRC3 : TBits_1; inline;
  11282. function getRC4 : TBits_1; inline;
  11283. function getw : TBits_32; inline;
  11284. procedure setRC1(thebits : TBits_1); inline;
  11285. procedure setRC12(thebits : TBits_1); inline;
  11286. procedure setRC13(thebits : TBits_1); inline;
  11287. procedure setRC14(thebits : TBits_1); inline;
  11288. procedure setRC15(thebits : TBits_1); inline;
  11289. procedure setRC2(thebits : TBits_1); inline;
  11290. procedure setRC3(thebits : TBits_1); inline;
  11291. procedure setRC4(thebits : TBits_1); inline;
  11292. procedure setw(thebits : TBits_32); inline;
  11293. public
  11294. procedure clearRC12; inline;
  11295. procedure clearRC13; inline;
  11296. procedure clearRC14; inline;
  11297. procedure clearRC15; inline;
  11298. procedure clearRC1; inline;
  11299. procedure clearRC2; inline;
  11300. procedure clearRC3; inline;
  11301. procedure clearRC4; inline;
  11302. procedure setRC12; inline;
  11303. procedure setRC13; inline;
  11304. procedure setRC14; inline;
  11305. procedure setRC15; inline;
  11306. procedure setRC1; inline;
  11307. procedure setRC2; inline;
  11308. procedure setRC3; inline;
  11309. procedure setRC4; inline;
  11310. property RC1 : TBits_1 read getRC1 write setRC1;
  11311. property RC12 : TBits_1 read getRC12 write setRC12;
  11312. property RC13 : TBits_1 read getRC13 write setRC13;
  11313. property RC14 : TBits_1 read getRC14 write setRC14;
  11314. property RC15 : TBits_1 read getRC15 write setRC15;
  11315. property RC2 : TBits_1 read getRC2 write setRC2;
  11316. property RC3 : TBits_1 read getRC3 write setRC3;
  11317. property RC4 : TBits_1 read getRC4 write setRC4;
  11318. property w : TBits_32 read getw write setw;
  11319. end;
  11320. TPortC_bits=(RC1=1,RC2=2,RC3=3,RC4=4,RC12=12,RC13=13,RC14=14,RC15=15);
  11321. TPortC_bitset = set of TPortC_bits;
  11322. TPORTC_LATC = record
  11323. private
  11324. function getLATC1 : TBits_1; inline;
  11325. function getLATC12 : TBits_1; inline;
  11326. function getLATC13 : TBits_1; inline;
  11327. function getLATC14 : TBits_1; inline;
  11328. function getLATC15 : TBits_1; inline;
  11329. function getLATC2 : TBits_1; inline;
  11330. function getLATC3 : TBits_1; inline;
  11331. function getLATC4 : TBits_1; inline;
  11332. function getw : TBits_32; inline;
  11333. procedure setLATC1(thebits : TBits_1); inline;
  11334. procedure setLATC12(thebits : TBits_1); inline;
  11335. procedure setLATC13(thebits : TBits_1); inline;
  11336. procedure setLATC14(thebits : TBits_1); inline;
  11337. procedure setLATC15(thebits : TBits_1); inline;
  11338. procedure setLATC2(thebits : TBits_1); inline;
  11339. procedure setLATC3(thebits : TBits_1); inline;
  11340. procedure setLATC4(thebits : TBits_1); inline;
  11341. procedure setw(thebits : TBits_32); inline;
  11342. public
  11343. procedure clearLATC12; inline;
  11344. procedure clearLATC13; inline;
  11345. procedure clearLATC14; inline;
  11346. procedure clearLATC15; inline;
  11347. procedure clearLATC1; inline;
  11348. procedure clearLATC2; inline;
  11349. procedure clearLATC3; inline;
  11350. procedure clearLATC4; inline;
  11351. procedure setLATC12; inline;
  11352. procedure setLATC13; inline;
  11353. procedure setLATC14; inline;
  11354. procedure setLATC15; inline;
  11355. procedure setLATC1; inline;
  11356. procedure setLATC2; inline;
  11357. procedure setLATC3; inline;
  11358. procedure setLATC4; inline;
  11359. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  11360. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  11361. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  11362. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  11363. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  11364. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  11365. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  11366. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  11367. property w : TBits_32 read getw write setw;
  11368. end;
  11369. TPORTC_ODCC = record
  11370. private
  11371. function getODCC1 : TBits_1; inline;
  11372. function getODCC12 : TBits_1; inline;
  11373. function getODCC13 : TBits_1; inline;
  11374. function getODCC14 : TBits_1; inline;
  11375. function getODCC15 : TBits_1; inline;
  11376. function getODCC2 : TBits_1; inline;
  11377. function getODCC3 : TBits_1; inline;
  11378. function getODCC4 : TBits_1; inline;
  11379. function getw : TBits_32; inline;
  11380. procedure setODCC1(thebits : TBits_1); inline;
  11381. procedure setODCC12(thebits : TBits_1); inline;
  11382. procedure setODCC13(thebits : TBits_1); inline;
  11383. procedure setODCC14(thebits : TBits_1); inline;
  11384. procedure setODCC15(thebits : TBits_1); inline;
  11385. procedure setODCC2(thebits : TBits_1); inline;
  11386. procedure setODCC3(thebits : TBits_1); inline;
  11387. procedure setODCC4(thebits : TBits_1); inline;
  11388. procedure setw(thebits : TBits_32); inline;
  11389. public
  11390. procedure clearODCC12; inline;
  11391. procedure clearODCC13; inline;
  11392. procedure clearODCC14; inline;
  11393. procedure clearODCC15; inline;
  11394. procedure clearODCC1; inline;
  11395. procedure clearODCC2; inline;
  11396. procedure clearODCC3; inline;
  11397. procedure clearODCC4; inline;
  11398. procedure setODCC12; inline;
  11399. procedure setODCC13; inline;
  11400. procedure setODCC14; inline;
  11401. procedure setODCC15; inline;
  11402. procedure setODCC1; inline;
  11403. procedure setODCC2; inline;
  11404. procedure setODCC3; inline;
  11405. procedure setODCC4; inline;
  11406. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  11407. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  11408. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  11409. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  11410. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  11411. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  11412. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  11413. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  11414. property w : TBits_32 read getw write setw;
  11415. end;
  11416. TPORTC_CNPUC = record
  11417. private
  11418. function getCNPUC1 : TBits_1; inline;
  11419. function getCNPUC12 : TBits_1; inline;
  11420. function getCNPUC13 : TBits_1; inline;
  11421. function getCNPUC14 : TBits_1; inline;
  11422. function getCNPUC15 : TBits_1; inline;
  11423. function getCNPUC2 : TBits_1; inline;
  11424. function getCNPUC3 : TBits_1; inline;
  11425. function getCNPUC4 : TBits_1; inline;
  11426. function getw : TBits_32; inline;
  11427. procedure setCNPUC1(thebits : TBits_1); inline;
  11428. procedure setCNPUC12(thebits : TBits_1); inline;
  11429. procedure setCNPUC13(thebits : TBits_1); inline;
  11430. procedure setCNPUC14(thebits : TBits_1); inline;
  11431. procedure setCNPUC15(thebits : TBits_1); inline;
  11432. procedure setCNPUC2(thebits : TBits_1); inline;
  11433. procedure setCNPUC3(thebits : TBits_1); inline;
  11434. procedure setCNPUC4(thebits : TBits_1); inline;
  11435. procedure setw(thebits : TBits_32); inline;
  11436. public
  11437. procedure clearCNPUC12; inline;
  11438. procedure clearCNPUC13; inline;
  11439. procedure clearCNPUC14; inline;
  11440. procedure clearCNPUC15; inline;
  11441. procedure clearCNPUC1; inline;
  11442. procedure clearCNPUC2; inline;
  11443. procedure clearCNPUC3; inline;
  11444. procedure clearCNPUC4; inline;
  11445. procedure setCNPUC12; inline;
  11446. procedure setCNPUC13; inline;
  11447. procedure setCNPUC14; inline;
  11448. procedure setCNPUC15; inline;
  11449. procedure setCNPUC1; inline;
  11450. procedure setCNPUC2; inline;
  11451. procedure setCNPUC3; inline;
  11452. procedure setCNPUC4; inline;
  11453. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  11454. property CNPUC12 : TBits_1 read getCNPUC12 write setCNPUC12;
  11455. property CNPUC13 : TBits_1 read getCNPUC13 write setCNPUC13;
  11456. property CNPUC14 : TBits_1 read getCNPUC14 write setCNPUC14;
  11457. property CNPUC15 : TBits_1 read getCNPUC15 write setCNPUC15;
  11458. property CNPUC2 : TBits_1 read getCNPUC2 write setCNPUC2;
  11459. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  11460. property CNPUC4 : TBits_1 read getCNPUC4 write setCNPUC4;
  11461. property w : TBits_32 read getw write setw;
  11462. end;
  11463. TPORTC_CNPDC = record
  11464. private
  11465. function getCNPDC1 : TBits_1; inline;
  11466. function getCNPDC12 : TBits_1; inline;
  11467. function getCNPDC13 : TBits_1; inline;
  11468. function getCNPDC14 : TBits_1; inline;
  11469. function getCNPDC15 : TBits_1; inline;
  11470. function getCNPDC2 : TBits_1; inline;
  11471. function getCNPDC3 : TBits_1; inline;
  11472. function getCNPDC4 : TBits_1; inline;
  11473. function getw : TBits_32; inline;
  11474. procedure setCNPDC1(thebits : TBits_1); inline;
  11475. procedure setCNPDC12(thebits : TBits_1); inline;
  11476. procedure setCNPDC13(thebits : TBits_1); inline;
  11477. procedure setCNPDC14(thebits : TBits_1); inline;
  11478. procedure setCNPDC15(thebits : TBits_1); inline;
  11479. procedure setCNPDC2(thebits : TBits_1); inline;
  11480. procedure setCNPDC3(thebits : TBits_1); inline;
  11481. procedure setCNPDC4(thebits : TBits_1); inline;
  11482. procedure setw(thebits : TBits_32); inline;
  11483. public
  11484. procedure clearCNPDC12; inline;
  11485. procedure clearCNPDC13; inline;
  11486. procedure clearCNPDC14; inline;
  11487. procedure clearCNPDC15; inline;
  11488. procedure clearCNPDC1; inline;
  11489. procedure clearCNPDC2; inline;
  11490. procedure clearCNPDC3; inline;
  11491. procedure clearCNPDC4; inline;
  11492. procedure setCNPDC12; inline;
  11493. procedure setCNPDC13; inline;
  11494. procedure setCNPDC14; inline;
  11495. procedure setCNPDC15; inline;
  11496. procedure setCNPDC1; inline;
  11497. procedure setCNPDC2; inline;
  11498. procedure setCNPDC3; inline;
  11499. procedure setCNPDC4; inline;
  11500. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  11501. property CNPDC12 : TBits_1 read getCNPDC12 write setCNPDC12;
  11502. property CNPDC13 : TBits_1 read getCNPDC13 write setCNPDC13;
  11503. property CNPDC14 : TBits_1 read getCNPDC14 write setCNPDC14;
  11504. property CNPDC15 : TBits_1 read getCNPDC15 write setCNPDC15;
  11505. property CNPDC2 : TBits_1 read getCNPDC2 write setCNPDC2;
  11506. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  11507. property CNPDC4 : TBits_1 read getCNPDC4 write setCNPDC4;
  11508. property w : TBits_32 read getw write setw;
  11509. end;
  11510. TPORTC_CNCONC = record
  11511. private
  11512. function getON : TBits_1; inline;
  11513. function getSIDL : TBits_1; inline;
  11514. function getw : TBits_32; inline;
  11515. procedure setON(thebits : TBits_1); inline;
  11516. procedure setSIDL(thebits : TBits_1); inline;
  11517. procedure setw(thebits : TBits_32); inline;
  11518. public
  11519. procedure clearON; inline;
  11520. procedure clearSIDL; inline;
  11521. procedure setON; inline;
  11522. procedure setSIDL; inline;
  11523. property ON : TBits_1 read getON write setON;
  11524. property SIDL : TBits_1 read getSIDL write setSIDL;
  11525. property w : TBits_32 read getw write setw;
  11526. end;
  11527. TPORTC_CNENC = record
  11528. private
  11529. function getCNIEC1 : TBits_1; inline;
  11530. function getCNIEC12 : TBits_1; inline;
  11531. function getCNIEC13 : TBits_1; inline;
  11532. function getCNIEC14 : TBits_1; inline;
  11533. function getCNIEC15 : TBits_1; inline;
  11534. function getCNIEC2 : TBits_1; inline;
  11535. function getCNIEC3 : TBits_1; inline;
  11536. function getCNIEC4 : TBits_1; inline;
  11537. function getw : TBits_32; inline;
  11538. procedure setCNIEC1(thebits : TBits_1); inline;
  11539. procedure setCNIEC12(thebits : TBits_1); inline;
  11540. procedure setCNIEC13(thebits : TBits_1); inline;
  11541. procedure setCNIEC14(thebits : TBits_1); inline;
  11542. procedure setCNIEC15(thebits : TBits_1); inline;
  11543. procedure setCNIEC2(thebits : TBits_1); inline;
  11544. procedure setCNIEC3(thebits : TBits_1); inline;
  11545. procedure setCNIEC4(thebits : TBits_1); inline;
  11546. procedure setw(thebits : TBits_32); inline;
  11547. public
  11548. procedure clearCNIEC12; inline;
  11549. procedure clearCNIEC13; inline;
  11550. procedure clearCNIEC14; inline;
  11551. procedure clearCNIEC15; inline;
  11552. procedure clearCNIEC1; inline;
  11553. procedure clearCNIEC2; inline;
  11554. procedure clearCNIEC3; inline;
  11555. procedure clearCNIEC4; inline;
  11556. procedure setCNIEC12; inline;
  11557. procedure setCNIEC13; inline;
  11558. procedure setCNIEC14; inline;
  11559. procedure setCNIEC15; inline;
  11560. procedure setCNIEC1; inline;
  11561. procedure setCNIEC2; inline;
  11562. procedure setCNIEC3; inline;
  11563. procedure setCNIEC4; inline;
  11564. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  11565. property CNIEC12 : TBits_1 read getCNIEC12 write setCNIEC12;
  11566. property CNIEC13 : TBits_1 read getCNIEC13 write setCNIEC13;
  11567. property CNIEC14 : TBits_1 read getCNIEC14 write setCNIEC14;
  11568. property CNIEC15 : TBits_1 read getCNIEC15 write setCNIEC15;
  11569. property CNIEC2 : TBits_1 read getCNIEC2 write setCNIEC2;
  11570. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  11571. property CNIEC4 : TBits_1 read getCNIEC4 write setCNIEC4;
  11572. property w : TBits_32 read getw write setw;
  11573. end;
  11574. TPORTC_CNSTATC = record
  11575. private
  11576. function getCNSTATC1 : TBits_1; inline;
  11577. function getCNSTATC12 : TBits_1; inline;
  11578. function getCNSTATC13 : TBits_1; inline;
  11579. function getCNSTATC14 : TBits_1; inline;
  11580. function getCNSTATC15 : TBits_1; inline;
  11581. function getCNSTATC2 : TBits_1; inline;
  11582. function getCNSTATC3 : TBits_1; inline;
  11583. function getCNSTATC4 : TBits_1; inline;
  11584. function getw : TBits_32; inline;
  11585. procedure setCNSTATC1(thebits : TBits_1); inline;
  11586. procedure setCNSTATC12(thebits : TBits_1); inline;
  11587. procedure setCNSTATC13(thebits : TBits_1); inline;
  11588. procedure setCNSTATC14(thebits : TBits_1); inline;
  11589. procedure setCNSTATC15(thebits : TBits_1); inline;
  11590. procedure setCNSTATC2(thebits : TBits_1); inline;
  11591. procedure setCNSTATC3(thebits : TBits_1); inline;
  11592. procedure setCNSTATC4(thebits : TBits_1); inline;
  11593. procedure setw(thebits : TBits_32); inline;
  11594. public
  11595. procedure clearCNSTATC12; inline;
  11596. procedure clearCNSTATC13; inline;
  11597. procedure clearCNSTATC14; inline;
  11598. procedure clearCNSTATC15; inline;
  11599. procedure clearCNSTATC1; inline;
  11600. procedure clearCNSTATC2; inline;
  11601. procedure clearCNSTATC3; inline;
  11602. procedure clearCNSTATC4; inline;
  11603. procedure setCNSTATC12; inline;
  11604. procedure setCNSTATC13; inline;
  11605. procedure setCNSTATC14; inline;
  11606. procedure setCNSTATC15; inline;
  11607. procedure setCNSTATC1; inline;
  11608. procedure setCNSTATC2; inline;
  11609. procedure setCNSTATC3; inline;
  11610. procedure setCNSTATC4; inline;
  11611. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  11612. property CNSTATC12 : TBits_1 read getCNSTATC12 write setCNSTATC12;
  11613. property CNSTATC13 : TBits_1 read getCNSTATC13 write setCNSTATC13;
  11614. property CNSTATC14 : TBits_1 read getCNSTATC14 write setCNSTATC14;
  11615. property CNSTATC15 : TBits_1 read getCNSTATC15 write setCNSTATC15;
  11616. property CNSTATC2 : TBits_1 read getCNSTATC2 write setCNSTATC2;
  11617. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  11618. property CNSTATC4 : TBits_1 read getCNSTATC4 write setCNSTATC4;
  11619. property w : TBits_32 read getw write setw;
  11620. end;
  11621. TPORTC_ANSELD = record
  11622. private
  11623. function getANSD1 : TBits_1; inline;
  11624. function getANSD2 : TBits_1; inline;
  11625. function getANSD3 : TBits_1; inline;
  11626. function getw : TBits_32; inline;
  11627. procedure setANSD1(thebits : TBits_1); inline;
  11628. procedure setANSD2(thebits : TBits_1); inline;
  11629. procedure setANSD3(thebits : TBits_1); inline;
  11630. procedure setw(thebits : TBits_32); inline;
  11631. public
  11632. procedure clearANSD1; inline;
  11633. procedure clearANSD2; inline;
  11634. procedure clearANSD3; inline;
  11635. procedure setANSD1; inline;
  11636. procedure setANSD2; inline;
  11637. procedure setANSD3; inline;
  11638. property ANSD1 : TBits_1 read getANSD1 write setANSD1;
  11639. property ANSD2 : TBits_1 read getANSD2 write setANSD2;
  11640. property ANSD3 : TBits_1 read getANSD3 write setANSD3;
  11641. property w : TBits_32 read getw write setw;
  11642. end;
  11643. TPORTC_TRISD = record
  11644. private
  11645. function getTRISD0 : TBits_1; inline;
  11646. function getTRISD1 : TBits_1; inline;
  11647. function getTRISD10 : TBits_1; inline;
  11648. function getTRISD11 : TBits_1; inline;
  11649. function getTRISD12 : TBits_1; inline;
  11650. function getTRISD13 : TBits_1; inline;
  11651. function getTRISD14 : TBits_1; inline;
  11652. function getTRISD15 : TBits_1; inline;
  11653. function getTRISD2 : TBits_1; inline;
  11654. function getTRISD3 : TBits_1; inline;
  11655. function getTRISD4 : TBits_1; inline;
  11656. function getTRISD5 : TBits_1; inline;
  11657. function getTRISD6 : TBits_1; inline;
  11658. function getTRISD7 : TBits_1; inline;
  11659. function getTRISD8 : TBits_1; inline;
  11660. function getTRISD9 : TBits_1; inline;
  11661. function getw : TBits_32; inline;
  11662. procedure setTRISD0(thebits : TBits_1); inline;
  11663. procedure setTRISD1(thebits : TBits_1); inline;
  11664. procedure setTRISD10(thebits : TBits_1); inline;
  11665. procedure setTRISD11(thebits : TBits_1); inline;
  11666. procedure setTRISD12(thebits : TBits_1); inline;
  11667. procedure setTRISD13(thebits : TBits_1); inline;
  11668. procedure setTRISD14(thebits : TBits_1); inline;
  11669. procedure setTRISD15(thebits : TBits_1); inline;
  11670. procedure setTRISD2(thebits : TBits_1); inline;
  11671. procedure setTRISD3(thebits : TBits_1); inline;
  11672. procedure setTRISD4(thebits : TBits_1); inline;
  11673. procedure setTRISD5(thebits : TBits_1); inline;
  11674. procedure setTRISD6(thebits : TBits_1); inline;
  11675. procedure setTRISD7(thebits : TBits_1); inline;
  11676. procedure setTRISD8(thebits : TBits_1); inline;
  11677. procedure setTRISD9(thebits : TBits_1); inline;
  11678. procedure setw(thebits : TBits_32); inline;
  11679. public
  11680. procedure clearTRISD0; inline;
  11681. procedure clearTRISD10; inline;
  11682. procedure clearTRISD11; inline;
  11683. procedure clearTRISD12; inline;
  11684. procedure clearTRISD13; inline;
  11685. procedure clearTRISD14; inline;
  11686. procedure clearTRISD15; inline;
  11687. procedure clearTRISD1; inline;
  11688. procedure clearTRISD2; inline;
  11689. procedure clearTRISD3; inline;
  11690. procedure clearTRISD4; inline;
  11691. procedure clearTRISD5; inline;
  11692. procedure clearTRISD6; inline;
  11693. procedure clearTRISD7; inline;
  11694. procedure clearTRISD8; inline;
  11695. procedure clearTRISD9; inline;
  11696. procedure setTRISD0; inline;
  11697. procedure setTRISD10; inline;
  11698. procedure setTRISD11; inline;
  11699. procedure setTRISD12; inline;
  11700. procedure setTRISD13; inline;
  11701. procedure setTRISD14; inline;
  11702. procedure setTRISD15; inline;
  11703. procedure setTRISD1; inline;
  11704. procedure setTRISD2; inline;
  11705. procedure setTRISD3; inline;
  11706. procedure setTRISD4; inline;
  11707. procedure setTRISD5; inline;
  11708. procedure setTRISD6; inline;
  11709. procedure setTRISD7; inline;
  11710. procedure setTRISD8; inline;
  11711. procedure setTRISD9; inline;
  11712. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  11713. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  11714. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  11715. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  11716. property TRISD12 : TBits_1 read getTRISD12 write setTRISD12;
  11717. property TRISD13 : TBits_1 read getTRISD13 write setTRISD13;
  11718. property TRISD14 : TBits_1 read getTRISD14 write setTRISD14;
  11719. property TRISD15 : TBits_1 read getTRISD15 write setTRISD15;
  11720. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  11721. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  11722. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  11723. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  11724. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  11725. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  11726. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  11727. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  11728. property w : TBits_32 read getw write setw;
  11729. end;
  11730. type
  11731. TPORTCRegisters = record
  11732. PORTCbits : TPORTC_PORTC;
  11733. PORTC : longWord;
  11734. PORTCCLR : longWord;
  11735. PORTCSET : longWord;
  11736. PORTCINV : longWord;
  11737. LATCbits : TPORTC_LATC;
  11738. LATC : longWord;
  11739. LATCCLR : longWord;
  11740. LATCSET : longWord;
  11741. LATCINV : longWord;
  11742. ODCCbits : TPORTC_ODCC;
  11743. ODCC : longWord;
  11744. ODCCCLR : longWord;
  11745. ODCCSET : longWord;
  11746. ODCCINV : longWord;
  11747. CNPUCbits : TPORTC_CNPUC;
  11748. CNPUC : longWord;
  11749. CNPUCCLR : longWord;
  11750. CNPUCSET : longWord;
  11751. CNPUCINV : longWord;
  11752. CNPDCbits : TPORTC_CNPDC;
  11753. CNPDC : longWord;
  11754. CNPDCCLR : longWord;
  11755. CNPDCSET : longWord;
  11756. CNPDCINV : longWord;
  11757. CNCONCbits : TPORTC_CNCONC;
  11758. CNCONC : longWord;
  11759. CNCONCCLR : longWord;
  11760. CNCONCSET : longWord;
  11761. CNCONCINV : longWord;
  11762. CNENCbits : TPORTC_CNENC;
  11763. CNENC : longWord;
  11764. CNENCCLR : longWord;
  11765. CNENCSET : longWord;
  11766. CNENCINV : longWord;
  11767. CNSTATCbits : TPORTC_CNSTATC;
  11768. CNSTATC : longWord;
  11769. CNSTATCCLR : longWord;
  11770. CNSTATCSET : longWord;
  11771. CNSTATCINV : longWord;
  11772. ANSELDbits : TPORTC_ANSELD;
  11773. ANSELD : longWord;
  11774. ANSELDCLR : longWord;
  11775. ANSELDSET : longWord;
  11776. ANSELDINV : longWord;
  11777. TRISDbits : TPORTC_TRISD;
  11778. TRISD : longWord;
  11779. TRISDCLR : longWord;
  11780. TRISDSET : longWord;
  11781. TRISDINV : longWord;
  11782. end;
  11783. TPORTD_PORTD = record
  11784. private
  11785. function getRD0 : TBits_1; inline;
  11786. function getRD1 : TBits_1; inline;
  11787. function getRD10 : TBits_1; inline;
  11788. function getRD11 : TBits_1; inline;
  11789. function getRD12 : TBits_1; inline;
  11790. function getRD13 : TBits_1; inline;
  11791. function getRD14 : TBits_1; inline;
  11792. function getRD15 : TBits_1; inline;
  11793. function getRD2 : TBits_1; inline;
  11794. function getRD3 : TBits_1; inline;
  11795. function getRD4 : TBits_1; inline;
  11796. function getRD5 : TBits_1; inline;
  11797. function getRD6 : TBits_1; inline;
  11798. function getRD7 : TBits_1; inline;
  11799. function getRD8 : TBits_1; inline;
  11800. function getRD9 : TBits_1; inline;
  11801. function getw : TBits_32; inline;
  11802. procedure setRD0(thebits : TBits_1); inline;
  11803. procedure setRD1(thebits : TBits_1); inline;
  11804. procedure setRD10(thebits : TBits_1); inline;
  11805. procedure setRD11(thebits : TBits_1); inline;
  11806. procedure setRD12(thebits : TBits_1); inline;
  11807. procedure setRD13(thebits : TBits_1); inline;
  11808. procedure setRD14(thebits : TBits_1); inline;
  11809. procedure setRD15(thebits : TBits_1); inline;
  11810. procedure setRD2(thebits : TBits_1); inline;
  11811. procedure setRD3(thebits : TBits_1); inline;
  11812. procedure setRD4(thebits : TBits_1); inline;
  11813. procedure setRD5(thebits : TBits_1); inline;
  11814. procedure setRD6(thebits : TBits_1); inline;
  11815. procedure setRD7(thebits : TBits_1); inline;
  11816. procedure setRD8(thebits : TBits_1); inline;
  11817. procedure setRD9(thebits : TBits_1); inline;
  11818. procedure setw(thebits : TBits_32); inline;
  11819. public
  11820. procedure clearRD0; inline;
  11821. procedure clearRD10; inline;
  11822. procedure clearRD11; inline;
  11823. procedure clearRD12; inline;
  11824. procedure clearRD13; inline;
  11825. procedure clearRD14; inline;
  11826. procedure clearRD15; inline;
  11827. procedure clearRD1; inline;
  11828. procedure clearRD2; inline;
  11829. procedure clearRD3; inline;
  11830. procedure clearRD4; inline;
  11831. procedure clearRD5; inline;
  11832. procedure clearRD6; inline;
  11833. procedure clearRD7; inline;
  11834. procedure clearRD8; inline;
  11835. procedure clearRD9; inline;
  11836. procedure setRD0; inline;
  11837. procedure setRD10; inline;
  11838. procedure setRD11; inline;
  11839. procedure setRD12; inline;
  11840. procedure setRD13; inline;
  11841. procedure setRD14; inline;
  11842. procedure setRD15; inline;
  11843. procedure setRD1; inline;
  11844. procedure setRD2; inline;
  11845. procedure setRD3; inline;
  11846. procedure setRD4; inline;
  11847. procedure setRD5; inline;
  11848. procedure setRD6; inline;
  11849. procedure setRD7; inline;
  11850. procedure setRD8; inline;
  11851. procedure setRD9; inline;
  11852. property RD0 : TBits_1 read getRD0 write setRD0;
  11853. property RD1 : TBits_1 read getRD1 write setRD1;
  11854. property RD10 : TBits_1 read getRD10 write setRD10;
  11855. property RD11 : TBits_1 read getRD11 write setRD11;
  11856. property RD12 : TBits_1 read getRD12 write setRD12;
  11857. property RD13 : TBits_1 read getRD13 write setRD13;
  11858. property RD14 : TBits_1 read getRD14 write setRD14;
  11859. property RD15 : TBits_1 read getRD15 write setRD15;
  11860. property RD2 : TBits_1 read getRD2 write setRD2;
  11861. property RD3 : TBits_1 read getRD3 write setRD3;
  11862. property RD4 : TBits_1 read getRD4 write setRD4;
  11863. property RD5 : TBits_1 read getRD5 write setRD5;
  11864. property RD6 : TBits_1 read getRD6 write setRD6;
  11865. property RD7 : TBits_1 read getRD7 write setRD7;
  11866. property RD8 : TBits_1 read getRD8 write setRD8;
  11867. property RD9 : TBits_1 read getRD9 write setRD9;
  11868. property w : TBits_32 read getw write setw;
  11869. end;
  11870. 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,RD12=12,RD13=13,RD14=14,RD15=15);
  11871. TPortD_bitset = set of TPortD_bits;
  11872. TPORTD_LATD = record
  11873. private
  11874. function getLATD0 : TBits_1; inline;
  11875. function getLATD1 : TBits_1; inline;
  11876. function getLATD10 : TBits_1; inline;
  11877. function getLATD11 : TBits_1; inline;
  11878. function getLATD12 : TBits_1; inline;
  11879. function getLATD13 : TBits_1; inline;
  11880. function getLATD14 : TBits_1; inline;
  11881. function getLATD15 : TBits_1; inline;
  11882. function getLATD2 : TBits_1; inline;
  11883. function getLATD3 : TBits_1; inline;
  11884. function getLATD4 : TBits_1; inline;
  11885. function getLATD5 : TBits_1; inline;
  11886. function getLATD6 : TBits_1; inline;
  11887. function getLATD7 : TBits_1; inline;
  11888. function getLATD8 : TBits_1; inline;
  11889. function getLATD9 : TBits_1; inline;
  11890. function getw : TBits_32; inline;
  11891. procedure setLATD0(thebits : TBits_1); inline;
  11892. procedure setLATD1(thebits : TBits_1); inline;
  11893. procedure setLATD10(thebits : TBits_1); inline;
  11894. procedure setLATD11(thebits : TBits_1); inline;
  11895. procedure setLATD12(thebits : TBits_1); inline;
  11896. procedure setLATD13(thebits : TBits_1); inline;
  11897. procedure setLATD14(thebits : TBits_1); inline;
  11898. procedure setLATD15(thebits : TBits_1); inline;
  11899. procedure setLATD2(thebits : TBits_1); inline;
  11900. procedure setLATD3(thebits : TBits_1); inline;
  11901. procedure setLATD4(thebits : TBits_1); inline;
  11902. procedure setLATD5(thebits : TBits_1); inline;
  11903. procedure setLATD6(thebits : TBits_1); inline;
  11904. procedure setLATD7(thebits : TBits_1); inline;
  11905. procedure setLATD8(thebits : TBits_1); inline;
  11906. procedure setLATD9(thebits : TBits_1); inline;
  11907. procedure setw(thebits : TBits_32); inline;
  11908. public
  11909. procedure clearLATD0; inline;
  11910. procedure clearLATD10; inline;
  11911. procedure clearLATD11; inline;
  11912. procedure clearLATD12; inline;
  11913. procedure clearLATD13; inline;
  11914. procedure clearLATD14; inline;
  11915. procedure clearLATD15; inline;
  11916. procedure clearLATD1; inline;
  11917. procedure clearLATD2; inline;
  11918. procedure clearLATD3; inline;
  11919. procedure clearLATD4; inline;
  11920. procedure clearLATD5; inline;
  11921. procedure clearLATD6; inline;
  11922. procedure clearLATD7; inline;
  11923. procedure clearLATD8; inline;
  11924. procedure clearLATD9; inline;
  11925. procedure setLATD0; inline;
  11926. procedure setLATD10; inline;
  11927. procedure setLATD11; inline;
  11928. procedure setLATD12; inline;
  11929. procedure setLATD13; inline;
  11930. procedure setLATD14; inline;
  11931. procedure setLATD15; inline;
  11932. procedure setLATD1; inline;
  11933. procedure setLATD2; inline;
  11934. procedure setLATD3; inline;
  11935. procedure setLATD4; inline;
  11936. procedure setLATD5; inline;
  11937. procedure setLATD6; inline;
  11938. procedure setLATD7; inline;
  11939. procedure setLATD8; inline;
  11940. procedure setLATD9; inline;
  11941. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  11942. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  11943. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  11944. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  11945. property LATD12 : TBits_1 read getLATD12 write setLATD12;
  11946. property LATD13 : TBits_1 read getLATD13 write setLATD13;
  11947. property LATD14 : TBits_1 read getLATD14 write setLATD14;
  11948. property LATD15 : TBits_1 read getLATD15 write setLATD15;
  11949. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  11950. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  11951. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  11952. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  11953. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  11954. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  11955. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  11956. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  11957. property w : TBits_32 read getw write setw;
  11958. end;
  11959. TPORTD_ODCD = record
  11960. private
  11961. function getODCD0 : TBits_1; inline;
  11962. function getODCD1 : TBits_1; inline;
  11963. function getODCD10 : TBits_1; inline;
  11964. function getODCD11 : TBits_1; inline;
  11965. function getODCD12 : TBits_1; inline;
  11966. function getODCD13 : TBits_1; inline;
  11967. function getODCD14 : TBits_1; inline;
  11968. function getODCD15 : TBits_1; inline;
  11969. function getODCD2 : TBits_1; inline;
  11970. function getODCD3 : TBits_1; inline;
  11971. function getODCD4 : TBits_1; inline;
  11972. function getODCD5 : TBits_1; inline;
  11973. function getODCD6 : TBits_1; inline;
  11974. function getODCD7 : TBits_1; inline;
  11975. function getODCD8 : TBits_1; inline;
  11976. function getODCD9 : TBits_1; inline;
  11977. function getw : TBits_32; inline;
  11978. procedure setODCD0(thebits : TBits_1); inline;
  11979. procedure setODCD1(thebits : TBits_1); inline;
  11980. procedure setODCD10(thebits : TBits_1); inline;
  11981. procedure setODCD11(thebits : TBits_1); inline;
  11982. procedure setODCD12(thebits : TBits_1); inline;
  11983. procedure setODCD13(thebits : TBits_1); inline;
  11984. procedure setODCD14(thebits : TBits_1); inline;
  11985. procedure setODCD15(thebits : TBits_1); inline;
  11986. procedure setODCD2(thebits : TBits_1); inline;
  11987. procedure setODCD3(thebits : TBits_1); inline;
  11988. procedure setODCD4(thebits : TBits_1); inline;
  11989. procedure setODCD5(thebits : TBits_1); inline;
  11990. procedure setODCD6(thebits : TBits_1); inline;
  11991. procedure setODCD7(thebits : TBits_1); inline;
  11992. procedure setODCD8(thebits : TBits_1); inline;
  11993. procedure setODCD9(thebits : TBits_1); inline;
  11994. procedure setw(thebits : TBits_32); inline;
  11995. public
  11996. procedure clearODCD0; inline;
  11997. procedure clearODCD10; inline;
  11998. procedure clearODCD11; inline;
  11999. procedure clearODCD12; inline;
  12000. procedure clearODCD13; inline;
  12001. procedure clearODCD14; inline;
  12002. procedure clearODCD15; inline;
  12003. procedure clearODCD1; inline;
  12004. procedure clearODCD2; inline;
  12005. procedure clearODCD3; inline;
  12006. procedure clearODCD4; inline;
  12007. procedure clearODCD5; inline;
  12008. procedure clearODCD6; inline;
  12009. procedure clearODCD7; inline;
  12010. procedure clearODCD8; inline;
  12011. procedure clearODCD9; inline;
  12012. procedure setODCD0; inline;
  12013. procedure setODCD10; inline;
  12014. procedure setODCD11; inline;
  12015. procedure setODCD12; inline;
  12016. procedure setODCD13; inline;
  12017. procedure setODCD14; inline;
  12018. procedure setODCD15; inline;
  12019. procedure setODCD1; inline;
  12020. procedure setODCD2; inline;
  12021. procedure setODCD3; inline;
  12022. procedure setODCD4; inline;
  12023. procedure setODCD5; inline;
  12024. procedure setODCD6; inline;
  12025. procedure setODCD7; inline;
  12026. procedure setODCD8; inline;
  12027. procedure setODCD9; inline;
  12028. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  12029. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  12030. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  12031. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  12032. property ODCD12 : TBits_1 read getODCD12 write setODCD12;
  12033. property ODCD13 : TBits_1 read getODCD13 write setODCD13;
  12034. property ODCD14 : TBits_1 read getODCD14 write setODCD14;
  12035. property ODCD15 : TBits_1 read getODCD15 write setODCD15;
  12036. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  12037. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  12038. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  12039. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  12040. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  12041. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  12042. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  12043. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  12044. property w : TBits_32 read getw write setw;
  12045. end;
  12046. TPORTD_CNPUD = record
  12047. private
  12048. function getCNPUD0 : TBits_1; inline;
  12049. function getCNPUD1 : TBits_1; inline;
  12050. function getCNPUD10 : TBits_1; inline;
  12051. function getCNPUD11 : TBits_1; inline;
  12052. function getCNPUD12 : TBits_1; inline;
  12053. function getCNPUD13 : TBits_1; inline;
  12054. function getCNPUD14 : TBits_1; inline;
  12055. function getCNPUD15 : TBits_1; inline;
  12056. function getCNPUD2 : TBits_1; inline;
  12057. function getCNPUD3 : TBits_1; inline;
  12058. function getCNPUD4 : TBits_1; inline;
  12059. function getCNPUD5 : TBits_1; inline;
  12060. function getCNPUD6 : TBits_1; inline;
  12061. function getCNPUD7 : TBits_1; inline;
  12062. function getCNPUD8 : TBits_1; inline;
  12063. function getCNPUD9 : TBits_1; inline;
  12064. function getw : TBits_32; inline;
  12065. procedure setCNPUD0(thebits : TBits_1); inline;
  12066. procedure setCNPUD1(thebits : TBits_1); inline;
  12067. procedure setCNPUD10(thebits : TBits_1); inline;
  12068. procedure setCNPUD11(thebits : TBits_1); inline;
  12069. procedure setCNPUD12(thebits : TBits_1); inline;
  12070. procedure setCNPUD13(thebits : TBits_1); inline;
  12071. procedure setCNPUD14(thebits : TBits_1); inline;
  12072. procedure setCNPUD15(thebits : TBits_1); inline;
  12073. procedure setCNPUD2(thebits : TBits_1); inline;
  12074. procedure setCNPUD3(thebits : TBits_1); inline;
  12075. procedure setCNPUD4(thebits : TBits_1); inline;
  12076. procedure setCNPUD5(thebits : TBits_1); inline;
  12077. procedure setCNPUD6(thebits : TBits_1); inline;
  12078. procedure setCNPUD7(thebits : TBits_1); inline;
  12079. procedure setCNPUD8(thebits : TBits_1); inline;
  12080. procedure setCNPUD9(thebits : TBits_1); inline;
  12081. procedure setw(thebits : TBits_32); inline;
  12082. public
  12083. procedure clearCNPUD0; inline;
  12084. procedure clearCNPUD10; inline;
  12085. procedure clearCNPUD11; inline;
  12086. procedure clearCNPUD12; inline;
  12087. procedure clearCNPUD13; inline;
  12088. procedure clearCNPUD14; inline;
  12089. procedure clearCNPUD15; inline;
  12090. procedure clearCNPUD1; inline;
  12091. procedure clearCNPUD2; inline;
  12092. procedure clearCNPUD3; inline;
  12093. procedure clearCNPUD4; inline;
  12094. procedure clearCNPUD5; inline;
  12095. procedure clearCNPUD6; inline;
  12096. procedure clearCNPUD7; inline;
  12097. procedure clearCNPUD8; inline;
  12098. procedure clearCNPUD9; inline;
  12099. procedure setCNPUD0; inline;
  12100. procedure setCNPUD10; inline;
  12101. procedure setCNPUD11; inline;
  12102. procedure setCNPUD12; inline;
  12103. procedure setCNPUD13; inline;
  12104. procedure setCNPUD14; inline;
  12105. procedure setCNPUD15; inline;
  12106. procedure setCNPUD1; inline;
  12107. procedure setCNPUD2; inline;
  12108. procedure setCNPUD3; inline;
  12109. procedure setCNPUD4; inline;
  12110. procedure setCNPUD5; inline;
  12111. procedure setCNPUD6; inline;
  12112. procedure setCNPUD7; inline;
  12113. procedure setCNPUD8; inline;
  12114. procedure setCNPUD9; inline;
  12115. property CNPUD0 : TBits_1 read getCNPUD0 write setCNPUD0;
  12116. property CNPUD1 : TBits_1 read getCNPUD1 write setCNPUD1;
  12117. property CNPUD10 : TBits_1 read getCNPUD10 write setCNPUD10;
  12118. property CNPUD11 : TBits_1 read getCNPUD11 write setCNPUD11;
  12119. property CNPUD12 : TBits_1 read getCNPUD12 write setCNPUD12;
  12120. property CNPUD13 : TBits_1 read getCNPUD13 write setCNPUD13;
  12121. property CNPUD14 : TBits_1 read getCNPUD14 write setCNPUD14;
  12122. property CNPUD15 : TBits_1 read getCNPUD15 write setCNPUD15;
  12123. property CNPUD2 : TBits_1 read getCNPUD2 write setCNPUD2;
  12124. property CNPUD3 : TBits_1 read getCNPUD3 write setCNPUD3;
  12125. property CNPUD4 : TBits_1 read getCNPUD4 write setCNPUD4;
  12126. property CNPUD5 : TBits_1 read getCNPUD5 write setCNPUD5;
  12127. property CNPUD6 : TBits_1 read getCNPUD6 write setCNPUD6;
  12128. property CNPUD7 : TBits_1 read getCNPUD7 write setCNPUD7;
  12129. property CNPUD8 : TBits_1 read getCNPUD8 write setCNPUD8;
  12130. property CNPUD9 : TBits_1 read getCNPUD9 write setCNPUD9;
  12131. property w : TBits_32 read getw write setw;
  12132. end;
  12133. TPORTD_CNPDD = record
  12134. private
  12135. function getCNPDD0 : TBits_1; inline;
  12136. function getCNPDD1 : TBits_1; inline;
  12137. function getCNPDD10 : TBits_1; inline;
  12138. function getCNPDD11 : TBits_1; inline;
  12139. function getCNPDD12 : TBits_1; inline;
  12140. function getCNPDD13 : TBits_1; inline;
  12141. function getCNPDD14 : TBits_1; inline;
  12142. function getCNPDD15 : TBits_1; inline;
  12143. function getCNPDD2 : TBits_1; inline;
  12144. function getCNPDD3 : TBits_1; inline;
  12145. function getCNPDD4 : TBits_1; inline;
  12146. function getCNPDD5 : TBits_1; inline;
  12147. function getCNPDD6 : TBits_1; inline;
  12148. function getCNPDD7 : TBits_1; inline;
  12149. function getCNPDD8 : TBits_1; inline;
  12150. function getCNPDD9 : TBits_1; inline;
  12151. function getw : TBits_32; inline;
  12152. procedure setCNPDD0(thebits : TBits_1); inline;
  12153. procedure setCNPDD1(thebits : TBits_1); inline;
  12154. procedure setCNPDD10(thebits : TBits_1); inline;
  12155. procedure setCNPDD11(thebits : TBits_1); inline;
  12156. procedure setCNPDD12(thebits : TBits_1); inline;
  12157. procedure setCNPDD13(thebits : TBits_1); inline;
  12158. procedure setCNPDD14(thebits : TBits_1); inline;
  12159. procedure setCNPDD15(thebits : TBits_1); inline;
  12160. procedure setCNPDD2(thebits : TBits_1); inline;
  12161. procedure setCNPDD3(thebits : TBits_1); inline;
  12162. procedure setCNPDD4(thebits : TBits_1); inline;
  12163. procedure setCNPDD5(thebits : TBits_1); inline;
  12164. procedure setCNPDD6(thebits : TBits_1); inline;
  12165. procedure setCNPDD7(thebits : TBits_1); inline;
  12166. procedure setCNPDD8(thebits : TBits_1); inline;
  12167. procedure setCNPDD9(thebits : TBits_1); inline;
  12168. procedure setw(thebits : TBits_32); inline;
  12169. public
  12170. procedure clearCNPDD0; inline;
  12171. procedure clearCNPDD10; inline;
  12172. procedure clearCNPDD11; inline;
  12173. procedure clearCNPDD12; inline;
  12174. procedure clearCNPDD13; inline;
  12175. procedure clearCNPDD14; inline;
  12176. procedure clearCNPDD15; inline;
  12177. procedure clearCNPDD1; inline;
  12178. procedure clearCNPDD2; inline;
  12179. procedure clearCNPDD3; inline;
  12180. procedure clearCNPDD4; inline;
  12181. procedure clearCNPDD5; inline;
  12182. procedure clearCNPDD6; inline;
  12183. procedure clearCNPDD7; inline;
  12184. procedure clearCNPDD8; inline;
  12185. procedure clearCNPDD9; inline;
  12186. procedure setCNPDD0; inline;
  12187. procedure setCNPDD10; inline;
  12188. procedure setCNPDD11; inline;
  12189. procedure setCNPDD12; inline;
  12190. procedure setCNPDD13; inline;
  12191. procedure setCNPDD14; inline;
  12192. procedure setCNPDD15; inline;
  12193. procedure setCNPDD1; inline;
  12194. procedure setCNPDD2; inline;
  12195. procedure setCNPDD3; inline;
  12196. procedure setCNPDD4; inline;
  12197. procedure setCNPDD5; inline;
  12198. procedure setCNPDD6; inline;
  12199. procedure setCNPDD7; inline;
  12200. procedure setCNPDD8; inline;
  12201. procedure setCNPDD9; inline;
  12202. property CNPDD0 : TBits_1 read getCNPDD0 write setCNPDD0;
  12203. property CNPDD1 : TBits_1 read getCNPDD1 write setCNPDD1;
  12204. property CNPDD10 : TBits_1 read getCNPDD10 write setCNPDD10;
  12205. property CNPDD11 : TBits_1 read getCNPDD11 write setCNPDD11;
  12206. property CNPDD12 : TBits_1 read getCNPDD12 write setCNPDD12;
  12207. property CNPDD13 : TBits_1 read getCNPDD13 write setCNPDD13;
  12208. property CNPDD14 : TBits_1 read getCNPDD14 write setCNPDD14;
  12209. property CNPDD15 : TBits_1 read getCNPDD15 write setCNPDD15;
  12210. property CNPDD2 : TBits_1 read getCNPDD2 write setCNPDD2;
  12211. property CNPDD3 : TBits_1 read getCNPDD3 write setCNPDD3;
  12212. property CNPDD4 : TBits_1 read getCNPDD4 write setCNPDD4;
  12213. property CNPDD5 : TBits_1 read getCNPDD5 write setCNPDD5;
  12214. property CNPDD6 : TBits_1 read getCNPDD6 write setCNPDD6;
  12215. property CNPDD7 : TBits_1 read getCNPDD7 write setCNPDD7;
  12216. property CNPDD8 : TBits_1 read getCNPDD8 write setCNPDD8;
  12217. property CNPDD9 : TBits_1 read getCNPDD9 write setCNPDD9;
  12218. property w : TBits_32 read getw write setw;
  12219. end;
  12220. TPORTD_CNCOND = record
  12221. private
  12222. function getON : TBits_1; inline;
  12223. function getSIDL : TBits_1; inline;
  12224. function getw : TBits_32; inline;
  12225. procedure setON(thebits : TBits_1); inline;
  12226. procedure setSIDL(thebits : TBits_1); inline;
  12227. procedure setw(thebits : TBits_32); inline;
  12228. public
  12229. procedure clearON; inline;
  12230. procedure clearSIDL; inline;
  12231. procedure setON; inline;
  12232. procedure setSIDL; inline;
  12233. property ON : TBits_1 read getON write setON;
  12234. property SIDL : TBits_1 read getSIDL write setSIDL;
  12235. property w : TBits_32 read getw write setw;
  12236. end;
  12237. TPORTD_CNEND = record
  12238. private
  12239. function getCNIED0 : TBits_1; inline;
  12240. function getCNIED1 : TBits_1; inline;
  12241. function getCNIED10 : TBits_1; inline;
  12242. function getCNIED11 : TBits_1; inline;
  12243. function getCNIED12 : TBits_1; inline;
  12244. function getCNIED13 : TBits_1; inline;
  12245. function getCNIED14 : TBits_1; inline;
  12246. function getCNIED15 : TBits_1; inline;
  12247. function getCNIED2 : TBits_1; inline;
  12248. function getCNIED3 : TBits_1; inline;
  12249. function getCNIED4 : TBits_1; inline;
  12250. function getCNIED5 : TBits_1; inline;
  12251. function getCNIED6 : TBits_1; inline;
  12252. function getCNIED7 : TBits_1; inline;
  12253. function getCNIED8 : TBits_1; inline;
  12254. function getCNIED9 : TBits_1; inline;
  12255. function getw : TBits_32; inline;
  12256. procedure setCNIED0(thebits : TBits_1); inline;
  12257. procedure setCNIED1(thebits : TBits_1); inline;
  12258. procedure setCNIED10(thebits : TBits_1); inline;
  12259. procedure setCNIED11(thebits : TBits_1); inline;
  12260. procedure setCNIED12(thebits : TBits_1); inline;
  12261. procedure setCNIED13(thebits : TBits_1); inline;
  12262. procedure setCNIED14(thebits : TBits_1); inline;
  12263. procedure setCNIED15(thebits : TBits_1); inline;
  12264. procedure setCNIED2(thebits : TBits_1); inline;
  12265. procedure setCNIED3(thebits : TBits_1); inline;
  12266. procedure setCNIED4(thebits : TBits_1); inline;
  12267. procedure setCNIED5(thebits : TBits_1); inline;
  12268. procedure setCNIED6(thebits : TBits_1); inline;
  12269. procedure setCNIED7(thebits : TBits_1); inline;
  12270. procedure setCNIED8(thebits : TBits_1); inline;
  12271. procedure setCNIED9(thebits : TBits_1); inline;
  12272. procedure setw(thebits : TBits_32); inline;
  12273. public
  12274. procedure clearCNIED0; inline;
  12275. procedure clearCNIED10; inline;
  12276. procedure clearCNIED11; inline;
  12277. procedure clearCNIED12; inline;
  12278. procedure clearCNIED13; inline;
  12279. procedure clearCNIED14; inline;
  12280. procedure clearCNIED15; inline;
  12281. procedure clearCNIED1; inline;
  12282. procedure clearCNIED2; inline;
  12283. procedure clearCNIED3; inline;
  12284. procedure clearCNIED4; inline;
  12285. procedure clearCNIED5; inline;
  12286. procedure clearCNIED6; inline;
  12287. procedure clearCNIED7; inline;
  12288. procedure clearCNIED8; inline;
  12289. procedure clearCNIED9; inline;
  12290. procedure setCNIED0; inline;
  12291. procedure setCNIED10; inline;
  12292. procedure setCNIED11; inline;
  12293. procedure setCNIED12; inline;
  12294. procedure setCNIED13; inline;
  12295. procedure setCNIED14; inline;
  12296. procedure setCNIED15; inline;
  12297. procedure setCNIED1; inline;
  12298. procedure setCNIED2; inline;
  12299. procedure setCNIED3; inline;
  12300. procedure setCNIED4; inline;
  12301. procedure setCNIED5; inline;
  12302. procedure setCNIED6; inline;
  12303. procedure setCNIED7; inline;
  12304. procedure setCNIED8; inline;
  12305. procedure setCNIED9; inline;
  12306. property CNIED0 : TBits_1 read getCNIED0 write setCNIED0;
  12307. property CNIED1 : TBits_1 read getCNIED1 write setCNIED1;
  12308. property CNIED10 : TBits_1 read getCNIED10 write setCNIED10;
  12309. property CNIED11 : TBits_1 read getCNIED11 write setCNIED11;
  12310. property CNIED12 : TBits_1 read getCNIED12 write setCNIED12;
  12311. property CNIED13 : TBits_1 read getCNIED13 write setCNIED13;
  12312. property CNIED14 : TBits_1 read getCNIED14 write setCNIED14;
  12313. property CNIED15 : TBits_1 read getCNIED15 write setCNIED15;
  12314. property CNIED2 : TBits_1 read getCNIED2 write setCNIED2;
  12315. property CNIED3 : TBits_1 read getCNIED3 write setCNIED3;
  12316. property CNIED4 : TBits_1 read getCNIED4 write setCNIED4;
  12317. property CNIED5 : TBits_1 read getCNIED5 write setCNIED5;
  12318. property CNIED6 : TBits_1 read getCNIED6 write setCNIED6;
  12319. property CNIED7 : TBits_1 read getCNIED7 write setCNIED7;
  12320. property CNIED8 : TBits_1 read getCNIED8 write setCNIED8;
  12321. property CNIED9 : TBits_1 read getCNIED9 write setCNIED9;
  12322. property w : TBits_32 read getw write setw;
  12323. end;
  12324. TPORTD_CNSTATD = record
  12325. private
  12326. function getCNSTATD0 : TBits_1; inline;
  12327. function getCNSTATD1 : TBits_1; inline;
  12328. function getCNSTATD10 : TBits_1; inline;
  12329. function getCNSTATD11 : TBits_1; inline;
  12330. function getCNSTATD12 : TBits_1; inline;
  12331. function getCNSTATD13 : TBits_1; inline;
  12332. function getCNSTATD14 : TBits_1; inline;
  12333. function getCNSTATD15 : TBits_1; inline;
  12334. function getCNSTATD2 : TBits_1; inline;
  12335. function getCNSTATD3 : TBits_1; inline;
  12336. function getCNSTATD4 : TBits_1; inline;
  12337. function getCNSTATD5 : TBits_1; inline;
  12338. function getCNSTATD6 : TBits_1; inline;
  12339. function getCNSTATD7 : TBits_1; inline;
  12340. function getCNSTATD8 : TBits_1; inline;
  12341. function getCNSTATD9 : TBits_1; inline;
  12342. function getw : TBits_32; inline;
  12343. procedure setCNSTATD0(thebits : TBits_1); inline;
  12344. procedure setCNSTATD1(thebits : TBits_1); inline;
  12345. procedure setCNSTATD10(thebits : TBits_1); inline;
  12346. procedure setCNSTATD11(thebits : TBits_1); inline;
  12347. procedure setCNSTATD12(thebits : TBits_1); inline;
  12348. procedure setCNSTATD13(thebits : TBits_1); inline;
  12349. procedure setCNSTATD14(thebits : TBits_1); inline;
  12350. procedure setCNSTATD15(thebits : TBits_1); inline;
  12351. procedure setCNSTATD2(thebits : TBits_1); inline;
  12352. procedure setCNSTATD3(thebits : TBits_1); inline;
  12353. procedure setCNSTATD4(thebits : TBits_1); inline;
  12354. procedure setCNSTATD5(thebits : TBits_1); inline;
  12355. procedure setCNSTATD6(thebits : TBits_1); inline;
  12356. procedure setCNSTATD7(thebits : TBits_1); inline;
  12357. procedure setCNSTATD8(thebits : TBits_1); inline;
  12358. procedure setCNSTATD9(thebits : TBits_1); inline;
  12359. procedure setw(thebits : TBits_32); inline;
  12360. public
  12361. procedure clearCNSTATD0; inline;
  12362. procedure clearCNSTATD10; inline;
  12363. procedure clearCNSTATD11; inline;
  12364. procedure clearCNSTATD12; inline;
  12365. procedure clearCNSTATD13; inline;
  12366. procedure clearCNSTATD14; inline;
  12367. procedure clearCNSTATD15; inline;
  12368. procedure clearCNSTATD1; inline;
  12369. procedure clearCNSTATD2; inline;
  12370. procedure clearCNSTATD3; inline;
  12371. procedure clearCNSTATD4; inline;
  12372. procedure clearCNSTATD5; inline;
  12373. procedure clearCNSTATD6; inline;
  12374. procedure clearCNSTATD7; inline;
  12375. procedure clearCNSTATD8; inline;
  12376. procedure clearCNSTATD9; inline;
  12377. procedure setCNSTATD0; inline;
  12378. procedure setCNSTATD10; inline;
  12379. procedure setCNSTATD11; inline;
  12380. procedure setCNSTATD12; inline;
  12381. procedure setCNSTATD13; inline;
  12382. procedure setCNSTATD14; inline;
  12383. procedure setCNSTATD15; inline;
  12384. procedure setCNSTATD1; inline;
  12385. procedure setCNSTATD2; inline;
  12386. procedure setCNSTATD3; inline;
  12387. procedure setCNSTATD4; inline;
  12388. procedure setCNSTATD5; inline;
  12389. procedure setCNSTATD6; inline;
  12390. procedure setCNSTATD7; inline;
  12391. procedure setCNSTATD8; inline;
  12392. procedure setCNSTATD9; inline;
  12393. property CNSTATD0 : TBits_1 read getCNSTATD0 write setCNSTATD0;
  12394. property CNSTATD1 : TBits_1 read getCNSTATD1 write setCNSTATD1;
  12395. property CNSTATD10 : TBits_1 read getCNSTATD10 write setCNSTATD10;
  12396. property CNSTATD11 : TBits_1 read getCNSTATD11 write setCNSTATD11;
  12397. property CNSTATD12 : TBits_1 read getCNSTATD12 write setCNSTATD12;
  12398. property CNSTATD13 : TBits_1 read getCNSTATD13 write setCNSTATD13;
  12399. property CNSTATD14 : TBits_1 read getCNSTATD14 write setCNSTATD14;
  12400. property CNSTATD15 : TBits_1 read getCNSTATD15 write setCNSTATD15;
  12401. property CNSTATD2 : TBits_1 read getCNSTATD2 write setCNSTATD2;
  12402. property CNSTATD3 : TBits_1 read getCNSTATD3 write setCNSTATD3;
  12403. property CNSTATD4 : TBits_1 read getCNSTATD4 write setCNSTATD4;
  12404. property CNSTATD5 : TBits_1 read getCNSTATD5 write setCNSTATD5;
  12405. property CNSTATD6 : TBits_1 read getCNSTATD6 write setCNSTATD6;
  12406. property CNSTATD7 : TBits_1 read getCNSTATD7 write setCNSTATD7;
  12407. property CNSTATD8 : TBits_1 read getCNSTATD8 write setCNSTATD8;
  12408. property CNSTATD9 : TBits_1 read getCNSTATD9 write setCNSTATD9;
  12409. property w : TBits_32 read getw write setw;
  12410. end;
  12411. TPORTD_ANSELE = record
  12412. private
  12413. function getANSE2 : TBits_1; inline;
  12414. function getANSE4 : TBits_1; inline;
  12415. function getANSE5 : TBits_1; inline;
  12416. function getANSE6 : TBits_1; inline;
  12417. function getANSE7 : TBits_1; inline;
  12418. function getw : TBits_32; inline;
  12419. procedure setANSE2(thebits : TBits_1); inline;
  12420. procedure setANSE4(thebits : TBits_1); inline;
  12421. procedure setANSE5(thebits : TBits_1); inline;
  12422. procedure setANSE6(thebits : TBits_1); inline;
  12423. procedure setANSE7(thebits : TBits_1); inline;
  12424. procedure setw(thebits : TBits_32); inline;
  12425. public
  12426. procedure clearANSE2; inline;
  12427. procedure clearANSE4; inline;
  12428. procedure clearANSE5; inline;
  12429. procedure clearANSE6; inline;
  12430. procedure clearANSE7; inline;
  12431. procedure setANSE2; inline;
  12432. procedure setANSE4; inline;
  12433. procedure setANSE5; inline;
  12434. procedure setANSE6; inline;
  12435. procedure setANSE7; inline;
  12436. property ANSE2 : TBits_1 read getANSE2 write setANSE2;
  12437. property ANSE4 : TBits_1 read getANSE4 write setANSE4;
  12438. property ANSE5 : TBits_1 read getANSE5 write setANSE5;
  12439. property ANSE6 : TBits_1 read getANSE6 write setANSE6;
  12440. property ANSE7 : TBits_1 read getANSE7 write setANSE7;
  12441. property w : TBits_32 read getw write setw;
  12442. end;
  12443. TPORTD_TRISE = record
  12444. private
  12445. function getTRISE0 : TBits_1; inline;
  12446. function getTRISE1 : TBits_1; inline;
  12447. function getTRISE2 : TBits_1; inline;
  12448. function getTRISE3 : TBits_1; inline;
  12449. function getTRISE4 : TBits_1; inline;
  12450. function getTRISE5 : TBits_1; inline;
  12451. function getTRISE6 : TBits_1; inline;
  12452. function getTRISE7 : TBits_1; inline;
  12453. function getTRISE8 : TBits_1; inline;
  12454. function getTRISE9 : TBits_1; inline;
  12455. function getw : TBits_32; inline;
  12456. procedure setTRISE0(thebits : TBits_1); inline;
  12457. procedure setTRISE1(thebits : TBits_1); inline;
  12458. procedure setTRISE2(thebits : TBits_1); inline;
  12459. procedure setTRISE3(thebits : TBits_1); inline;
  12460. procedure setTRISE4(thebits : TBits_1); inline;
  12461. procedure setTRISE5(thebits : TBits_1); inline;
  12462. procedure setTRISE6(thebits : TBits_1); inline;
  12463. procedure setTRISE7(thebits : TBits_1); inline;
  12464. procedure setTRISE8(thebits : TBits_1); inline;
  12465. procedure setTRISE9(thebits : TBits_1); inline;
  12466. procedure setw(thebits : TBits_32); inline;
  12467. public
  12468. procedure clearTRISE0; inline;
  12469. procedure clearTRISE1; inline;
  12470. procedure clearTRISE2; inline;
  12471. procedure clearTRISE3; inline;
  12472. procedure clearTRISE4; inline;
  12473. procedure clearTRISE5; inline;
  12474. procedure clearTRISE6; inline;
  12475. procedure clearTRISE7; inline;
  12476. procedure clearTRISE8; inline;
  12477. procedure clearTRISE9; inline;
  12478. procedure setTRISE0; inline;
  12479. procedure setTRISE1; inline;
  12480. procedure setTRISE2; inline;
  12481. procedure setTRISE3; inline;
  12482. procedure setTRISE4; inline;
  12483. procedure setTRISE5; inline;
  12484. procedure setTRISE6; inline;
  12485. procedure setTRISE7; inline;
  12486. procedure setTRISE8; inline;
  12487. procedure setTRISE9; inline;
  12488. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  12489. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  12490. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  12491. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  12492. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  12493. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  12494. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  12495. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  12496. property TRISE8 : TBits_1 read getTRISE8 write setTRISE8;
  12497. property TRISE9 : TBits_1 read getTRISE9 write setTRISE9;
  12498. property w : TBits_32 read getw write setw;
  12499. end;
  12500. type
  12501. TPORTDRegisters = record
  12502. PORTDbits : TPORTD_PORTD;
  12503. PORTD : longWord;
  12504. PORTDCLR : longWord;
  12505. PORTDSET : longWord;
  12506. PORTDINV : longWord;
  12507. LATDbits : TPORTD_LATD;
  12508. LATD : longWord;
  12509. LATDCLR : longWord;
  12510. LATDSET : longWord;
  12511. LATDINV : longWord;
  12512. ODCDbits : TPORTD_ODCD;
  12513. ODCD : longWord;
  12514. ODCDCLR : longWord;
  12515. ODCDSET : longWord;
  12516. ODCDINV : longWord;
  12517. CNPUDbits : TPORTD_CNPUD;
  12518. CNPUD : longWord;
  12519. CNPUDCLR : longWord;
  12520. CNPUDSET : longWord;
  12521. CNPUDINV : longWord;
  12522. CNPDDbits : TPORTD_CNPDD;
  12523. CNPDD : longWord;
  12524. CNPDDCLR : longWord;
  12525. CNPDDSET : longWord;
  12526. CNPDDINV : longWord;
  12527. CNCONDbits : TPORTD_CNCOND;
  12528. CNCOND : longWord;
  12529. CNCONDCLR : longWord;
  12530. CNCONDSET : longWord;
  12531. CNCONDINV : longWord;
  12532. CNENDbits : TPORTD_CNEND;
  12533. CNEND : longWord;
  12534. CNENDCLR : longWord;
  12535. CNENDSET : longWord;
  12536. CNENDINV : longWord;
  12537. CNSTATDbits : TPORTD_CNSTATD;
  12538. CNSTATD : longWord;
  12539. CNSTATDCLR : longWord;
  12540. CNSTATDSET : longWord;
  12541. CNSTATDINV : longWord;
  12542. ANSELEbits : TPORTD_ANSELE;
  12543. ANSELE : longWord;
  12544. ANSELECLR : longWord;
  12545. ANSELESET : longWord;
  12546. ANSELEINV : longWord;
  12547. TRISEbits : TPORTD_TRISE;
  12548. TRISE : longWord;
  12549. TRISECLR : longWord;
  12550. TRISESET : longWord;
  12551. TRISEINV : longWord;
  12552. end;
  12553. TPORTE_PORTE = record
  12554. private
  12555. function getRE0 : TBits_1; inline;
  12556. function getRE1 : TBits_1; inline;
  12557. function getRE2 : TBits_1; inline;
  12558. function getRE3 : TBits_1; inline;
  12559. function getRE4 : TBits_1; inline;
  12560. function getRE5 : TBits_1; inline;
  12561. function getRE6 : TBits_1; inline;
  12562. function getRE7 : TBits_1; inline;
  12563. function getRE8 : TBits_1; inline;
  12564. function getRE9 : TBits_1; inline;
  12565. function getw : TBits_32; inline;
  12566. procedure setRE0(thebits : TBits_1); inline;
  12567. procedure setRE1(thebits : TBits_1); inline;
  12568. procedure setRE2(thebits : TBits_1); inline;
  12569. procedure setRE3(thebits : TBits_1); inline;
  12570. procedure setRE4(thebits : TBits_1); inline;
  12571. procedure setRE5(thebits : TBits_1); inline;
  12572. procedure setRE6(thebits : TBits_1); inline;
  12573. procedure setRE7(thebits : TBits_1); inline;
  12574. procedure setRE8(thebits : TBits_1); inline;
  12575. procedure setRE9(thebits : TBits_1); inline;
  12576. procedure setw(thebits : TBits_32); inline;
  12577. public
  12578. procedure clearRE0; inline;
  12579. procedure clearRE1; inline;
  12580. procedure clearRE2; inline;
  12581. procedure clearRE3; inline;
  12582. procedure clearRE4; inline;
  12583. procedure clearRE5; inline;
  12584. procedure clearRE6; inline;
  12585. procedure clearRE7; inline;
  12586. procedure clearRE8; inline;
  12587. procedure clearRE9; inline;
  12588. procedure setRE0; inline;
  12589. procedure setRE1; inline;
  12590. procedure setRE2; inline;
  12591. procedure setRE3; inline;
  12592. procedure setRE4; inline;
  12593. procedure setRE5; inline;
  12594. procedure setRE6; inline;
  12595. procedure setRE7; inline;
  12596. procedure setRE8; inline;
  12597. procedure setRE9; inline;
  12598. property RE0 : TBits_1 read getRE0 write setRE0;
  12599. property RE1 : TBits_1 read getRE1 write setRE1;
  12600. property RE2 : TBits_1 read getRE2 write setRE2;
  12601. property RE3 : TBits_1 read getRE3 write setRE3;
  12602. property RE4 : TBits_1 read getRE4 write setRE4;
  12603. property RE5 : TBits_1 read getRE5 write setRE5;
  12604. property RE6 : TBits_1 read getRE6 write setRE6;
  12605. property RE7 : TBits_1 read getRE7 write setRE7;
  12606. property RE8 : TBits_1 read getRE8 write setRE8;
  12607. property RE9 : TBits_1 read getRE9 write setRE9;
  12608. property w : TBits_32 read getw write setw;
  12609. end;
  12610. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7,RE8=8,RE9=9);
  12611. TPortE_bitset = set of TPortE_bits;
  12612. TPORTE_LATE = record
  12613. private
  12614. function getLATE0 : TBits_1; inline;
  12615. function getLATE1 : TBits_1; inline;
  12616. function getLATE2 : TBits_1; inline;
  12617. function getLATE3 : TBits_1; inline;
  12618. function getLATE4 : TBits_1; inline;
  12619. function getLATE5 : TBits_1; inline;
  12620. function getLATE6 : TBits_1; inline;
  12621. function getLATE7 : TBits_1; inline;
  12622. function getLATE8 : TBits_1; inline;
  12623. function getLATE9 : TBits_1; inline;
  12624. function getw : TBits_32; inline;
  12625. procedure setLATE0(thebits : TBits_1); inline;
  12626. procedure setLATE1(thebits : TBits_1); inline;
  12627. procedure setLATE2(thebits : TBits_1); inline;
  12628. procedure setLATE3(thebits : TBits_1); inline;
  12629. procedure setLATE4(thebits : TBits_1); inline;
  12630. procedure setLATE5(thebits : TBits_1); inline;
  12631. procedure setLATE6(thebits : TBits_1); inline;
  12632. procedure setLATE7(thebits : TBits_1); inline;
  12633. procedure setLATE8(thebits : TBits_1); inline;
  12634. procedure setLATE9(thebits : TBits_1); inline;
  12635. procedure setw(thebits : TBits_32); inline;
  12636. public
  12637. procedure clearLATE0; inline;
  12638. procedure clearLATE1; inline;
  12639. procedure clearLATE2; inline;
  12640. procedure clearLATE3; inline;
  12641. procedure clearLATE4; inline;
  12642. procedure clearLATE5; inline;
  12643. procedure clearLATE6; inline;
  12644. procedure clearLATE7; inline;
  12645. procedure clearLATE8; inline;
  12646. procedure clearLATE9; inline;
  12647. procedure setLATE0; inline;
  12648. procedure setLATE1; inline;
  12649. procedure setLATE2; inline;
  12650. procedure setLATE3; inline;
  12651. procedure setLATE4; inline;
  12652. procedure setLATE5; inline;
  12653. procedure setLATE6; inline;
  12654. procedure setLATE7; inline;
  12655. procedure setLATE8; inline;
  12656. procedure setLATE9; inline;
  12657. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  12658. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  12659. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  12660. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  12661. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  12662. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  12663. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  12664. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  12665. property LATE8 : TBits_1 read getLATE8 write setLATE8;
  12666. property LATE9 : TBits_1 read getLATE9 write setLATE9;
  12667. property w : TBits_32 read getw write setw;
  12668. end;
  12669. TPORTE_ODCE = record
  12670. private
  12671. function getODCE0 : TBits_1; inline;
  12672. function getODCE1 : TBits_1; inline;
  12673. function getODCE2 : TBits_1; inline;
  12674. function getODCE3 : TBits_1; inline;
  12675. function getODCE4 : TBits_1; inline;
  12676. function getODCE5 : TBits_1; inline;
  12677. function getODCE6 : TBits_1; inline;
  12678. function getODCE7 : TBits_1; inline;
  12679. function getODCE8 : TBits_1; inline;
  12680. function getODCE9 : TBits_1; inline;
  12681. function getw : TBits_32; inline;
  12682. procedure setODCE0(thebits : TBits_1); inline;
  12683. procedure setODCE1(thebits : TBits_1); inline;
  12684. procedure setODCE2(thebits : TBits_1); inline;
  12685. procedure setODCE3(thebits : TBits_1); inline;
  12686. procedure setODCE4(thebits : TBits_1); inline;
  12687. procedure setODCE5(thebits : TBits_1); inline;
  12688. procedure setODCE6(thebits : TBits_1); inline;
  12689. procedure setODCE7(thebits : TBits_1); inline;
  12690. procedure setODCE8(thebits : TBits_1); inline;
  12691. procedure setODCE9(thebits : TBits_1); inline;
  12692. procedure setw(thebits : TBits_32); inline;
  12693. public
  12694. procedure clearODCE0; inline;
  12695. procedure clearODCE1; inline;
  12696. procedure clearODCE2; inline;
  12697. procedure clearODCE3; inline;
  12698. procedure clearODCE4; inline;
  12699. procedure clearODCE5; inline;
  12700. procedure clearODCE6; inline;
  12701. procedure clearODCE7; inline;
  12702. procedure clearODCE8; inline;
  12703. procedure clearODCE9; inline;
  12704. procedure setODCE0; inline;
  12705. procedure setODCE1; inline;
  12706. procedure setODCE2; inline;
  12707. procedure setODCE3; inline;
  12708. procedure setODCE4; inline;
  12709. procedure setODCE5; inline;
  12710. procedure setODCE6; inline;
  12711. procedure setODCE7; inline;
  12712. procedure setODCE8; inline;
  12713. procedure setODCE9; inline;
  12714. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  12715. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  12716. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  12717. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  12718. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  12719. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  12720. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  12721. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  12722. property ODCE8 : TBits_1 read getODCE8 write setODCE8;
  12723. property ODCE9 : TBits_1 read getODCE9 write setODCE9;
  12724. property w : TBits_32 read getw write setw;
  12725. end;
  12726. TPORTE_CNPUE = record
  12727. private
  12728. function getCNPUE0 : TBits_1; inline;
  12729. function getCNPUE1 : TBits_1; inline;
  12730. function getCNPUE2 : TBits_1; inline;
  12731. function getCNPUE3 : TBits_1; inline;
  12732. function getCNPUE4 : TBits_1; inline;
  12733. function getCNPUE5 : TBits_1; inline;
  12734. function getCNPUE6 : TBits_1; inline;
  12735. function getCNPUE7 : TBits_1; inline;
  12736. function getCNPUE8 : TBits_1; inline;
  12737. function getCNPUE9 : TBits_1; inline;
  12738. function getw : TBits_32; inline;
  12739. procedure setCNPUE0(thebits : TBits_1); inline;
  12740. procedure setCNPUE1(thebits : TBits_1); inline;
  12741. procedure setCNPUE2(thebits : TBits_1); inline;
  12742. procedure setCNPUE3(thebits : TBits_1); inline;
  12743. procedure setCNPUE4(thebits : TBits_1); inline;
  12744. procedure setCNPUE5(thebits : TBits_1); inline;
  12745. procedure setCNPUE6(thebits : TBits_1); inline;
  12746. procedure setCNPUE7(thebits : TBits_1); inline;
  12747. procedure setCNPUE8(thebits : TBits_1); inline;
  12748. procedure setCNPUE9(thebits : TBits_1); inline;
  12749. procedure setw(thebits : TBits_32); inline;
  12750. public
  12751. procedure clearCNPUE0; inline;
  12752. procedure clearCNPUE1; inline;
  12753. procedure clearCNPUE2; inline;
  12754. procedure clearCNPUE3; inline;
  12755. procedure clearCNPUE4; inline;
  12756. procedure clearCNPUE5; inline;
  12757. procedure clearCNPUE6; inline;
  12758. procedure clearCNPUE7; inline;
  12759. procedure clearCNPUE8; inline;
  12760. procedure clearCNPUE9; inline;
  12761. procedure setCNPUE0; inline;
  12762. procedure setCNPUE1; inline;
  12763. procedure setCNPUE2; inline;
  12764. procedure setCNPUE3; inline;
  12765. procedure setCNPUE4; inline;
  12766. procedure setCNPUE5; inline;
  12767. procedure setCNPUE6; inline;
  12768. procedure setCNPUE7; inline;
  12769. procedure setCNPUE8; inline;
  12770. procedure setCNPUE9; inline;
  12771. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  12772. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  12773. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  12774. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  12775. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  12776. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  12777. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  12778. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  12779. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  12780. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  12781. property w : TBits_32 read getw write setw;
  12782. end;
  12783. TPORTE_CNPDE = record
  12784. private
  12785. function getCNPDE0 : TBits_1; inline;
  12786. function getCNPDE1 : TBits_1; inline;
  12787. function getCNPDE2 : TBits_1; inline;
  12788. function getCNPDE3 : TBits_1; inline;
  12789. function getCNPDE4 : TBits_1; inline;
  12790. function getCNPDE5 : TBits_1; inline;
  12791. function getCNPDE6 : TBits_1; inline;
  12792. function getCNPDE7 : TBits_1; inline;
  12793. function getCNPDE8 : TBits_1; inline;
  12794. function getCNPDE9 : TBits_1; inline;
  12795. function getw : TBits_32; inline;
  12796. procedure setCNPDE0(thebits : TBits_1); inline;
  12797. procedure setCNPDE1(thebits : TBits_1); inline;
  12798. procedure setCNPDE2(thebits : TBits_1); inline;
  12799. procedure setCNPDE3(thebits : TBits_1); inline;
  12800. procedure setCNPDE4(thebits : TBits_1); inline;
  12801. procedure setCNPDE5(thebits : TBits_1); inline;
  12802. procedure setCNPDE6(thebits : TBits_1); inline;
  12803. procedure setCNPDE7(thebits : TBits_1); inline;
  12804. procedure setCNPDE8(thebits : TBits_1); inline;
  12805. procedure setCNPDE9(thebits : TBits_1); inline;
  12806. procedure setw(thebits : TBits_32); inline;
  12807. public
  12808. procedure clearCNPDE0; inline;
  12809. procedure clearCNPDE1; inline;
  12810. procedure clearCNPDE2; inline;
  12811. procedure clearCNPDE3; inline;
  12812. procedure clearCNPDE4; inline;
  12813. procedure clearCNPDE5; inline;
  12814. procedure clearCNPDE6; inline;
  12815. procedure clearCNPDE7; inline;
  12816. procedure clearCNPDE8; inline;
  12817. procedure clearCNPDE9; inline;
  12818. procedure setCNPDE0; inline;
  12819. procedure setCNPDE1; inline;
  12820. procedure setCNPDE2; inline;
  12821. procedure setCNPDE3; inline;
  12822. procedure setCNPDE4; inline;
  12823. procedure setCNPDE5; inline;
  12824. procedure setCNPDE6; inline;
  12825. procedure setCNPDE7; inline;
  12826. procedure setCNPDE8; inline;
  12827. procedure setCNPDE9; inline;
  12828. property CNPDE0 : TBits_1 read getCNPDE0 write setCNPDE0;
  12829. property CNPDE1 : TBits_1 read getCNPDE1 write setCNPDE1;
  12830. property CNPDE2 : TBits_1 read getCNPDE2 write setCNPDE2;
  12831. property CNPDE3 : TBits_1 read getCNPDE3 write setCNPDE3;
  12832. property CNPDE4 : TBits_1 read getCNPDE4 write setCNPDE4;
  12833. property CNPDE5 : TBits_1 read getCNPDE5 write setCNPDE5;
  12834. property CNPDE6 : TBits_1 read getCNPDE6 write setCNPDE6;
  12835. property CNPDE7 : TBits_1 read getCNPDE7 write setCNPDE7;
  12836. property CNPDE8 : TBits_1 read getCNPDE8 write setCNPDE8;
  12837. property CNPDE9 : TBits_1 read getCNPDE9 write setCNPDE9;
  12838. property w : TBits_32 read getw write setw;
  12839. end;
  12840. TPORTE_CNCONE = record
  12841. private
  12842. function getON : TBits_1; inline;
  12843. function getSIDL : TBits_1; inline;
  12844. function getw : TBits_32; inline;
  12845. procedure setON(thebits : TBits_1); inline;
  12846. procedure setSIDL(thebits : TBits_1); inline;
  12847. procedure setw(thebits : TBits_32); inline;
  12848. public
  12849. procedure clearON; inline;
  12850. procedure clearSIDL; inline;
  12851. procedure setON; inline;
  12852. procedure setSIDL; inline;
  12853. property ON : TBits_1 read getON write setON;
  12854. property SIDL : TBits_1 read getSIDL write setSIDL;
  12855. property w : TBits_32 read getw write setw;
  12856. end;
  12857. TPORTE_CNENE = record
  12858. private
  12859. function getCNIEE0 : TBits_1; inline;
  12860. function getCNIEE1 : TBits_1; inline;
  12861. function getCNIEE2 : TBits_1; inline;
  12862. function getCNIEE3 : TBits_1; inline;
  12863. function getCNIEE4 : TBits_1; inline;
  12864. function getCNIEE5 : TBits_1; inline;
  12865. function getCNIEE6 : TBits_1; inline;
  12866. function getCNIEE7 : TBits_1; inline;
  12867. function getCNIEE8 : TBits_1; inline;
  12868. function getCNIEE9 : TBits_1; inline;
  12869. function getw : TBits_32; inline;
  12870. procedure setCNIEE0(thebits : TBits_1); inline;
  12871. procedure setCNIEE1(thebits : TBits_1); inline;
  12872. procedure setCNIEE2(thebits : TBits_1); inline;
  12873. procedure setCNIEE3(thebits : TBits_1); inline;
  12874. procedure setCNIEE4(thebits : TBits_1); inline;
  12875. procedure setCNIEE5(thebits : TBits_1); inline;
  12876. procedure setCNIEE6(thebits : TBits_1); inline;
  12877. procedure setCNIEE7(thebits : TBits_1); inline;
  12878. procedure setCNIEE8(thebits : TBits_1); inline;
  12879. procedure setCNIEE9(thebits : TBits_1); inline;
  12880. procedure setw(thebits : TBits_32); inline;
  12881. public
  12882. procedure clearCNIEE0; inline;
  12883. procedure clearCNIEE1; inline;
  12884. procedure clearCNIEE2; inline;
  12885. procedure clearCNIEE3; inline;
  12886. procedure clearCNIEE4; inline;
  12887. procedure clearCNIEE5; inline;
  12888. procedure clearCNIEE6; inline;
  12889. procedure clearCNIEE7; inline;
  12890. procedure clearCNIEE8; inline;
  12891. procedure clearCNIEE9; inline;
  12892. procedure setCNIEE0; inline;
  12893. procedure setCNIEE1; inline;
  12894. procedure setCNIEE2; inline;
  12895. procedure setCNIEE3; inline;
  12896. procedure setCNIEE4; inline;
  12897. procedure setCNIEE5; inline;
  12898. procedure setCNIEE6; inline;
  12899. procedure setCNIEE7; inline;
  12900. procedure setCNIEE8; inline;
  12901. procedure setCNIEE9; inline;
  12902. property CNIEE0 : TBits_1 read getCNIEE0 write setCNIEE0;
  12903. property CNIEE1 : TBits_1 read getCNIEE1 write setCNIEE1;
  12904. property CNIEE2 : TBits_1 read getCNIEE2 write setCNIEE2;
  12905. property CNIEE3 : TBits_1 read getCNIEE3 write setCNIEE3;
  12906. property CNIEE4 : TBits_1 read getCNIEE4 write setCNIEE4;
  12907. property CNIEE5 : TBits_1 read getCNIEE5 write setCNIEE5;
  12908. property CNIEE6 : TBits_1 read getCNIEE6 write setCNIEE6;
  12909. property CNIEE7 : TBits_1 read getCNIEE7 write setCNIEE7;
  12910. property CNIEE8 : TBits_1 read getCNIEE8 write setCNIEE8;
  12911. property CNIEE9 : TBits_1 read getCNIEE9 write setCNIEE9;
  12912. property w : TBits_32 read getw write setw;
  12913. end;
  12914. TPORTE_CNSTATE = record
  12915. private
  12916. function getCNSTATE0 : TBits_1; inline;
  12917. function getCNSTATE1 : TBits_1; inline;
  12918. function getCNSTATE2 : TBits_1; inline;
  12919. function getCNSTATE3 : TBits_1; inline;
  12920. function getCNSTATE4 : TBits_1; inline;
  12921. function getCNSTATE5 : TBits_1; inline;
  12922. function getCNSTATE6 : TBits_1; inline;
  12923. function getCNSTATE7 : TBits_1; inline;
  12924. function getCNSTATE8 : TBits_1; inline;
  12925. function getCNSTATE9 : TBits_1; inline;
  12926. function getw : TBits_32; inline;
  12927. procedure setCNSTATE0(thebits : TBits_1); inline;
  12928. procedure setCNSTATE1(thebits : TBits_1); inline;
  12929. procedure setCNSTATE2(thebits : TBits_1); inline;
  12930. procedure setCNSTATE3(thebits : TBits_1); inline;
  12931. procedure setCNSTATE4(thebits : TBits_1); inline;
  12932. procedure setCNSTATE5(thebits : TBits_1); inline;
  12933. procedure setCNSTATE6(thebits : TBits_1); inline;
  12934. procedure setCNSTATE7(thebits : TBits_1); inline;
  12935. procedure setCNSTATE8(thebits : TBits_1); inline;
  12936. procedure setCNSTATE9(thebits : TBits_1); inline;
  12937. procedure setw(thebits : TBits_32); inline;
  12938. public
  12939. procedure clearCNSTATE0; inline;
  12940. procedure clearCNSTATE1; inline;
  12941. procedure clearCNSTATE2; inline;
  12942. procedure clearCNSTATE3; inline;
  12943. procedure clearCNSTATE4; inline;
  12944. procedure clearCNSTATE5; inline;
  12945. procedure clearCNSTATE6; inline;
  12946. procedure clearCNSTATE7; inline;
  12947. procedure clearCNSTATE8; inline;
  12948. procedure clearCNSTATE9; inline;
  12949. procedure setCNSTATE0; inline;
  12950. procedure setCNSTATE1; inline;
  12951. procedure setCNSTATE2; inline;
  12952. procedure setCNSTATE3; inline;
  12953. procedure setCNSTATE4; inline;
  12954. procedure setCNSTATE5; inline;
  12955. procedure setCNSTATE6; inline;
  12956. procedure setCNSTATE7; inline;
  12957. procedure setCNSTATE8; inline;
  12958. procedure setCNSTATE9; inline;
  12959. property CNSTATE0 : TBits_1 read getCNSTATE0 write setCNSTATE0;
  12960. property CNSTATE1 : TBits_1 read getCNSTATE1 write setCNSTATE1;
  12961. property CNSTATE2 : TBits_1 read getCNSTATE2 write setCNSTATE2;
  12962. property CNSTATE3 : TBits_1 read getCNSTATE3 write setCNSTATE3;
  12963. property CNSTATE4 : TBits_1 read getCNSTATE4 write setCNSTATE4;
  12964. property CNSTATE5 : TBits_1 read getCNSTATE5 write setCNSTATE5;
  12965. property CNSTATE6 : TBits_1 read getCNSTATE6 write setCNSTATE6;
  12966. property CNSTATE7 : TBits_1 read getCNSTATE7 write setCNSTATE7;
  12967. property CNSTATE8 : TBits_1 read getCNSTATE8 write setCNSTATE8;
  12968. property CNSTATE9 : TBits_1 read getCNSTATE9 write setCNSTATE9;
  12969. property w : TBits_32 read getw write setw;
  12970. end;
  12971. TPORTE_TRISF = record
  12972. private
  12973. function getTRISF0 : TBits_1; inline;
  12974. function getTRISF1 : TBits_1; inline;
  12975. function getTRISF12 : TBits_1; inline;
  12976. function getTRISF13 : TBits_1; inline;
  12977. function getTRISF2 : TBits_1; inline;
  12978. function getTRISF3 : TBits_1; inline;
  12979. function getTRISF4 : TBits_1; inline;
  12980. function getTRISF5 : TBits_1; inline;
  12981. function getTRISF8 : TBits_1; inline;
  12982. function getw : TBits_32; inline;
  12983. procedure setTRISF0(thebits : TBits_1); inline;
  12984. procedure setTRISF1(thebits : TBits_1); inline;
  12985. procedure setTRISF12(thebits : TBits_1); inline;
  12986. procedure setTRISF13(thebits : TBits_1); inline;
  12987. procedure setTRISF2(thebits : TBits_1); inline;
  12988. procedure setTRISF3(thebits : TBits_1); inline;
  12989. procedure setTRISF4(thebits : TBits_1); inline;
  12990. procedure setTRISF5(thebits : TBits_1); inline;
  12991. procedure setTRISF8(thebits : TBits_1); inline;
  12992. procedure setw(thebits : TBits_32); inline;
  12993. public
  12994. procedure clearTRISF0; inline;
  12995. procedure clearTRISF12; inline;
  12996. procedure clearTRISF13; inline;
  12997. procedure clearTRISF1; inline;
  12998. procedure clearTRISF2; inline;
  12999. procedure clearTRISF3; inline;
  13000. procedure clearTRISF4; inline;
  13001. procedure clearTRISF5; inline;
  13002. procedure clearTRISF8; inline;
  13003. procedure setTRISF0; inline;
  13004. procedure setTRISF12; inline;
  13005. procedure setTRISF13; inline;
  13006. procedure setTRISF1; inline;
  13007. procedure setTRISF2; inline;
  13008. procedure setTRISF3; inline;
  13009. procedure setTRISF4; inline;
  13010. procedure setTRISF5; inline;
  13011. procedure setTRISF8; inline;
  13012. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  13013. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  13014. property TRISF12 : TBits_1 read getTRISF12 write setTRISF12;
  13015. property TRISF13 : TBits_1 read getTRISF13 write setTRISF13;
  13016. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  13017. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  13018. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  13019. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  13020. property TRISF8 : TBits_1 read getTRISF8 write setTRISF8;
  13021. property w : TBits_32 read getw write setw;
  13022. end;
  13023. type
  13024. TPORTERegisters = record
  13025. PORTEbits : TPORTE_PORTE;
  13026. PORTE : longWord;
  13027. PORTECLR : longWord;
  13028. PORTESET : longWord;
  13029. PORTEINV : longWord;
  13030. LATEbits : TPORTE_LATE;
  13031. LATE : longWord;
  13032. LATECLR : longWord;
  13033. LATESET : longWord;
  13034. LATEINV : longWord;
  13035. ODCEbits : TPORTE_ODCE;
  13036. ODCE : longWord;
  13037. ODCECLR : longWord;
  13038. ODCESET : longWord;
  13039. ODCEINV : longWord;
  13040. CNPUEbits : TPORTE_CNPUE;
  13041. CNPUE : longWord;
  13042. CNPUECLR : longWord;
  13043. CNPUESET : longWord;
  13044. CNPUEINV : longWord;
  13045. CNPDEbits : TPORTE_CNPDE;
  13046. CNPDE : longWord;
  13047. CNPDECLR : longWord;
  13048. CNPDESET : longWord;
  13049. CNPDEINV : longWord;
  13050. CNCONEbits : TPORTE_CNCONE;
  13051. CNCONE : longWord;
  13052. CNCONECLR : longWord;
  13053. CNCONESET : longWord;
  13054. CNCONEINV : longWord;
  13055. CNENEbits : TPORTE_CNENE;
  13056. CNENE : longWord;
  13057. CNENECLR : longWord;
  13058. CNENESET : longWord;
  13059. CNENEINV : longWord;
  13060. CNSTATEbits : TPORTE_CNSTATE;
  13061. CNSTATE : longWord;
  13062. CNSTATECLR : longWord;
  13063. CNSTATESET : longWord;
  13064. CNSTATEINV : longWord;
  13065. ANSELF : longWord;
  13066. ANSELFCLR : longWord;
  13067. ANSELFSET : longWord;
  13068. ANSELFINV : longWord;
  13069. TRISFbits : TPORTE_TRISF;
  13070. TRISF : longWord;
  13071. TRISFCLR : longWord;
  13072. TRISFSET : longWord;
  13073. TRISFINV : longWord;
  13074. end;
  13075. TPORTF_PORTF = record
  13076. private
  13077. function getRF0 : TBits_1; inline;
  13078. function getRF1 : TBits_1; inline;
  13079. function getRF12 : TBits_1; inline;
  13080. function getRF13 : TBits_1; inline;
  13081. function getRF2 : TBits_1; inline;
  13082. function getRF3 : TBits_1; inline;
  13083. function getRF4 : TBits_1; inline;
  13084. function getRF5 : TBits_1; inline;
  13085. function getRF8 : TBits_1; inline;
  13086. function getw : TBits_32; inline;
  13087. procedure setRF0(thebits : TBits_1); inline;
  13088. procedure setRF1(thebits : TBits_1); inline;
  13089. procedure setRF12(thebits : TBits_1); inline;
  13090. procedure setRF13(thebits : TBits_1); inline;
  13091. procedure setRF2(thebits : TBits_1); inline;
  13092. procedure setRF3(thebits : TBits_1); inline;
  13093. procedure setRF4(thebits : TBits_1); inline;
  13094. procedure setRF5(thebits : TBits_1); inline;
  13095. procedure setRF8(thebits : TBits_1); inline;
  13096. procedure setw(thebits : TBits_32); inline;
  13097. public
  13098. procedure clearRF0; inline;
  13099. procedure clearRF12; inline;
  13100. procedure clearRF13; inline;
  13101. procedure clearRF1; inline;
  13102. procedure clearRF2; inline;
  13103. procedure clearRF3; inline;
  13104. procedure clearRF4; inline;
  13105. procedure clearRF5; inline;
  13106. procedure clearRF8; inline;
  13107. procedure setRF0; inline;
  13108. procedure setRF12; inline;
  13109. procedure setRF13; inline;
  13110. procedure setRF1; inline;
  13111. procedure setRF2; inline;
  13112. procedure setRF3; inline;
  13113. procedure setRF4; inline;
  13114. procedure setRF5; inline;
  13115. procedure setRF8; inline;
  13116. property RF0 : TBits_1 read getRF0 write setRF0;
  13117. property RF1 : TBits_1 read getRF1 write setRF1;
  13118. property RF12 : TBits_1 read getRF12 write setRF12;
  13119. property RF13 : TBits_1 read getRF13 write setRF13;
  13120. property RF2 : TBits_1 read getRF2 write setRF2;
  13121. property RF3 : TBits_1 read getRF3 write setRF3;
  13122. property RF4 : TBits_1 read getRF4 write setRF4;
  13123. property RF5 : TBits_1 read getRF5 write setRF5;
  13124. property RF8 : TBits_1 read getRF8 write setRF8;
  13125. property w : TBits_32 read getw write setw;
  13126. end;
  13127. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF8=8,RF12=12,RF13=13);
  13128. TPortF_bitset = set of TPortF_bits;
  13129. TPORTF_LATF = record
  13130. private
  13131. function getLATF0 : TBits_1; inline;
  13132. function getLATF1 : TBits_1; inline;
  13133. function getLATF12 : TBits_1; inline;
  13134. function getLATF13 : TBits_1; inline;
  13135. function getLATF2 : TBits_1; inline;
  13136. function getLATF3 : TBits_1; inline;
  13137. function getLATF4 : TBits_1; inline;
  13138. function getLATF5 : TBits_1; inline;
  13139. function getLATF8 : TBits_1; inline;
  13140. function getw : TBits_32; inline;
  13141. procedure setLATF0(thebits : TBits_1); inline;
  13142. procedure setLATF1(thebits : TBits_1); inline;
  13143. procedure setLATF12(thebits : TBits_1); inline;
  13144. procedure setLATF13(thebits : TBits_1); inline;
  13145. procedure setLATF2(thebits : TBits_1); inline;
  13146. procedure setLATF3(thebits : TBits_1); inline;
  13147. procedure setLATF4(thebits : TBits_1); inline;
  13148. procedure setLATF5(thebits : TBits_1); inline;
  13149. procedure setLATF8(thebits : TBits_1); inline;
  13150. procedure setw(thebits : TBits_32); inline;
  13151. public
  13152. procedure clearLATF0; inline;
  13153. procedure clearLATF12; inline;
  13154. procedure clearLATF13; inline;
  13155. procedure clearLATF1; inline;
  13156. procedure clearLATF2; inline;
  13157. procedure clearLATF3; inline;
  13158. procedure clearLATF4; inline;
  13159. procedure clearLATF5; inline;
  13160. procedure clearLATF8; inline;
  13161. procedure setLATF0; inline;
  13162. procedure setLATF12; inline;
  13163. procedure setLATF13; inline;
  13164. procedure setLATF1; inline;
  13165. procedure setLATF2; inline;
  13166. procedure setLATF3; inline;
  13167. procedure setLATF4; inline;
  13168. procedure setLATF5; inline;
  13169. procedure setLATF8; inline;
  13170. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  13171. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  13172. property LATF12 : TBits_1 read getLATF12 write setLATF12;
  13173. property LATF13 : TBits_1 read getLATF13 write setLATF13;
  13174. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  13175. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  13176. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  13177. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  13178. property LATF8 : TBits_1 read getLATF8 write setLATF8;
  13179. property w : TBits_32 read getw write setw;
  13180. end;
  13181. TPORTF_ODCF = record
  13182. private
  13183. function getODCF0 : TBits_1; inline;
  13184. function getODCF1 : TBits_1; inline;
  13185. function getODCF12 : TBits_1; inline;
  13186. function getODCF13 : TBits_1; inline;
  13187. function getODCF2 : TBits_1; inline;
  13188. function getODCF3 : TBits_1; inline;
  13189. function getODCF4 : TBits_1; inline;
  13190. function getODCF5 : TBits_1; inline;
  13191. function getODCF8 : TBits_1; inline;
  13192. function getw : TBits_32; inline;
  13193. procedure setODCF0(thebits : TBits_1); inline;
  13194. procedure setODCF1(thebits : TBits_1); inline;
  13195. procedure setODCF12(thebits : TBits_1); inline;
  13196. procedure setODCF13(thebits : TBits_1); inline;
  13197. procedure setODCF2(thebits : TBits_1); inline;
  13198. procedure setODCF3(thebits : TBits_1); inline;
  13199. procedure setODCF4(thebits : TBits_1); inline;
  13200. procedure setODCF5(thebits : TBits_1); inline;
  13201. procedure setODCF8(thebits : TBits_1); inline;
  13202. procedure setw(thebits : TBits_32); inline;
  13203. public
  13204. procedure clearODCF0; inline;
  13205. procedure clearODCF12; inline;
  13206. procedure clearODCF13; inline;
  13207. procedure clearODCF1; inline;
  13208. procedure clearODCF2; inline;
  13209. procedure clearODCF3; inline;
  13210. procedure clearODCF4; inline;
  13211. procedure clearODCF5; inline;
  13212. procedure clearODCF8; inline;
  13213. procedure setODCF0; inline;
  13214. procedure setODCF12; inline;
  13215. procedure setODCF13; inline;
  13216. procedure setODCF1; inline;
  13217. procedure setODCF2; inline;
  13218. procedure setODCF3; inline;
  13219. procedure setODCF4; inline;
  13220. procedure setODCF5; inline;
  13221. procedure setODCF8; inline;
  13222. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  13223. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  13224. property ODCF12 : TBits_1 read getODCF12 write setODCF12;
  13225. property ODCF13 : TBits_1 read getODCF13 write setODCF13;
  13226. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  13227. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  13228. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  13229. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  13230. property ODCF8 : TBits_1 read getODCF8 write setODCF8;
  13231. property w : TBits_32 read getw write setw;
  13232. end;
  13233. TPORTF_CNPUF = record
  13234. private
  13235. function getCNPUF0 : TBits_1; inline;
  13236. function getCNPUF1 : TBits_1; inline;
  13237. function getCNPUF12 : TBits_1; inline;
  13238. function getCNPUF13 : TBits_1; inline;
  13239. function getCNPUF2 : TBits_1; inline;
  13240. function getCNPUF3 : TBits_1; inline;
  13241. function getCNPUF4 : TBits_1; inline;
  13242. function getCNPUF5 : TBits_1; inline;
  13243. function getCNPUF8 : TBits_1; inline;
  13244. function getw : TBits_32; inline;
  13245. procedure setCNPUF0(thebits : TBits_1); inline;
  13246. procedure setCNPUF1(thebits : TBits_1); inline;
  13247. procedure setCNPUF12(thebits : TBits_1); inline;
  13248. procedure setCNPUF13(thebits : TBits_1); inline;
  13249. procedure setCNPUF2(thebits : TBits_1); inline;
  13250. procedure setCNPUF3(thebits : TBits_1); inline;
  13251. procedure setCNPUF4(thebits : TBits_1); inline;
  13252. procedure setCNPUF5(thebits : TBits_1); inline;
  13253. procedure setCNPUF8(thebits : TBits_1); inline;
  13254. procedure setw(thebits : TBits_32); inline;
  13255. public
  13256. procedure clearCNPUF0; inline;
  13257. procedure clearCNPUF12; inline;
  13258. procedure clearCNPUF13; inline;
  13259. procedure clearCNPUF1; inline;
  13260. procedure clearCNPUF2; inline;
  13261. procedure clearCNPUF3; inline;
  13262. procedure clearCNPUF4; inline;
  13263. procedure clearCNPUF5; inline;
  13264. procedure clearCNPUF8; inline;
  13265. procedure setCNPUF0; inline;
  13266. procedure setCNPUF12; inline;
  13267. procedure setCNPUF13; inline;
  13268. procedure setCNPUF1; inline;
  13269. procedure setCNPUF2; inline;
  13270. procedure setCNPUF3; inline;
  13271. procedure setCNPUF4; inline;
  13272. procedure setCNPUF5; inline;
  13273. procedure setCNPUF8; inline;
  13274. property CNPUF0 : TBits_1 read getCNPUF0 write setCNPUF0;
  13275. property CNPUF1 : TBits_1 read getCNPUF1 write setCNPUF1;
  13276. property CNPUF12 : TBits_1 read getCNPUF12 write setCNPUF12;
  13277. property CNPUF13 : TBits_1 read getCNPUF13 write setCNPUF13;
  13278. property CNPUF2 : TBits_1 read getCNPUF2 write setCNPUF2;
  13279. property CNPUF3 : TBits_1 read getCNPUF3 write setCNPUF3;
  13280. property CNPUF4 : TBits_1 read getCNPUF4 write setCNPUF4;
  13281. property CNPUF5 : TBits_1 read getCNPUF5 write setCNPUF5;
  13282. property CNPUF8 : TBits_1 read getCNPUF8 write setCNPUF8;
  13283. property w : TBits_32 read getw write setw;
  13284. end;
  13285. TPORTF_CNPDF = record
  13286. private
  13287. function getCNPDF0 : TBits_1; inline;
  13288. function getCNPDF1 : TBits_1; inline;
  13289. function getCNPDF12 : TBits_1; inline;
  13290. function getCNPDF13 : TBits_1; inline;
  13291. function getCNPDF2 : TBits_1; inline;
  13292. function getCNPDF3 : TBits_1; inline;
  13293. function getCNPDF4 : TBits_1; inline;
  13294. function getCNPDF5 : TBits_1; inline;
  13295. function getCNPDF8 : TBits_1; inline;
  13296. function getw : TBits_32; inline;
  13297. procedure setCNPDF0(thebits : TBits_1); inline;
  13298. procedure setCNPDF1(thebits : TBits_1); inline;
  13299. procedure setCNPDF12(thebits : TBits_1); inline;
  13300. procedure setCNPDF13(thebits : TBits_1); inline;
  13301. procedure setCNPDF2(thebits : TBits_1); inline;
  13302. procedure setCNPDF3(thebits : TBits_1); inline;
  13303. procedure setCNPDF4(thebits : TBits_1); inline;
  13304. procedure setCNPDF5(thebits : TBits_1); inline;
  13305. procedure setCNPDF8(thebits : TBits_1); inline;
  13306. procedure setw(thebits : TBits_32); inline;
  13307. public
  13308. procedure clearCNPDF0; inline;
  13309. procedure clearCNPDF12; inline;
  13310. procedure clearCNPDF13; inline;
  13311. procedure clearCNPDF1; inline;
  13312. procedure clearCNPDF2; inline;
  13313. procedure clearCNPDF3; inline;
  13314. procedure clearCNPDF4; inline;
  13315. procedure clearCNPDF5; inline;
  13316. procedure clearCNPDF8; inline;
  13317. procedure setCNPDF0; inline;
  13318. procedure setCNPDF12; inline;
  13319. procedure setCNPDF13; inline;
  13320. procedure setCNPDF1; inline;
  13321. procedure setCNPDF2; inline;
  13322. procedure setCNPDF3; inline;
  13323. procedure setCNPDF4; inline;
  13324. procedure setCNPDF5; inline;
  13325. procedure setCNPDF8; inline;
  13326. property CNPDF0 : TBits_1 read getCNPDF0 write setCNPDF0;
  13327. property CNPDF1 : TBits_1 read getCNPDF1 write setCNPDF1;
  13328. property CNPDF12 : TBits_1 read getCNPDF12 write setCNPDF12;
  13329. property CNPDF13 : TBits_1 read getCNPDF13 write setCNPDF13;
  13330. property CNPDF2 : TBits_1 read getCNPDF2 write setCNPDF2;
  13331. property CNPDF3 : TBits_1 read getCNPDF3 write setCNPDF3;
  13332. property CNPDF4 : TBits_1 read getCNPDF4 write setCNPDF4;
  13333. property CNPDF5 : TBits_1 read getCNPDF5 write setCNPDF5;
  13334. property CNPDF8 : TBits_1 read getCNPDF8 write setCNPDF8;
  13335. property w : TBits_32 read getw write setw;
  13336. end;
  13337. TPORTF_CNCONF = record
  13338. private
  13339. function getON : TBits_1; inline;
  13340. function getSIDL : TBits_1; inline;
  13341. function getw : TBits_32; inline;
  13342. procedure setON(thebits : TBits_1); inline;
  13343. procedure setSIDL(thebits : TBits_1); inline;
  13344. procedure setw(thebits : TBits_32); inline;
  13345. public
  13346. procedure clearON; inline;
  13347. procedure clearSIDL; inline;
  13348. procedure setON; inline;
  13349. procedure setSIDL; inline;
  13350. property ON : TBits_1 read getON write setON;
  13351. property SIDL : TBits_1 read getSIDL write setSIDL;
  13352. property w : TBits_32 read getw write setw;
  13353. end;
  13354. TPORTF_CNENF = record
  13355. private
  13356. function getCNIEF0 : TBits_1; inline;
  13357. function getCNIEF1 : TBits_1; inline;
  13358. function getCNIEF12 : TBits_1; inline;
  13359. function getCNIEF13 : TBits_1; inline;
  13360. function getCNIEF2 : TBits_1; inline;
  13361. function getCNIEF3 : TBits_1; inline;
  13362. function getCNIEF4 : TBits_1; inline;
  13363. function getCNIEF5 : TBits_1; inline;
  13364. function getCNIEF8 : TBits_1; inline;
  13365. function getw : TBits_32; inline;
  13366. procedure setCNIEF0(thebits : TBits_1); inline;
  13367. procedure setCNIEF1(thebits : TBits_1); inline;
  13368. procedure setCNIEF12(thebits : TBits_1); inline;
  13369. procedure setCNIEF13(thebits : TBits_1); inline;
  13370. procedure setCNIEF2(thebits : TBits_1); inline;
  13371. procedure setCNIEF3(thebits : TBits_1); inline;
  13372. procedure setCNIEF4(thebits : TBits_1); inline;
  13373. procedure setCNIEF5(thebits : TBits_1); inline;
  13374. procedure setCNIEF8(thebits : TBits_1); inline;
  13375. procedure setw(thebits : TBits_32); inline;
  13376. public
  13377. procedure clearCNIEF0; inline;
  13378. procedure clearCNIEF12; inline;
  13379. procedure clearCNIEF13; inline;
  13380. procedure clearCNIEF1; inline;
  13381. procedure clearCNIEF2; inline;
  13382. procedure clearCNIEF3; inline;
  13383. procedure clearCNIEF4; inline;
  13384. procedure clearCNIEF5; inline;
  13385. procedure clearCNIEF8; inline;
  13386. procedure setCNIEF0; inline;
  13387. procedure setCNIEF12; inline;
  13388. procedure setCNIEF13; inline;
  13389. procedure setCNIEF1; inline;
  13390. procedure setCNIEF2; inline;
  13391. procedure setCNIEF3; inline;
  13392. procedure setCNIEF4; inline;
  13393. procedure setCNIEF5; inline;
  13394. procedure setCNIEF8; inline;
  13395. property CNIEF0 : TBits_1 read getCNIEF0 write setCNIEF0;
  13396. property CNIEF1 : TBits_1 read getCNIEF1 write setCNIEF1;
  13397. property CNIEF12 : TBits_1 read getCNIEF12 write setCNIEF12;
  13398. property CNIEF13 : TBits_1 read getCNIEF13 write setCNIEF13;
  13399. property CNIEF2 : TBits_1 read getCNIEF2 write setCNIEF2;
  13400. property CNIEF3 : TBits_1 read getCNIEF3 write setCNIEF3;
  13401. property CNIEF4 : TBits_1 read getCNIEF4 write setCNIEF4;
  13402. property CNIEF5 : TBits_1 read getCNIEF5 write setCNIEF5;
  13403. property CNIEF8 : TBits_1 read getCNIEF8 write setCNIEF8;
  13404. property w : TBits_32 read getw write setw;
  13405. end;
  13406. TPORTF_CNSTATF = record
  13407. private
  13408. function getCNSTATF0 : TBits_1; inline;
  13409. function getCNSTATF1 : TBits_1; inline;
  13410. function getCNSTATF12 : TBits_1; inline;
  13411. function getCNSTATF13 : TBits_1; inline;
  13412. function getCNSTATF2 : TBits_1; inline;
  13413. function getCNSTATF3 : TBits_1; inline;
  13414. function getCNSTATF4 : TBits_1; inline;
  13415. function getCNSTATF5 : TBits_1; inline;
  13416. function getCNSTATF8 : TBits_1; inline;
  13417. function getw : TBits_32; inline;
  13418. procedure setCNSTATF0(thebits : TBits_1); inline;
  13419. procedure setCNSTATF1(thebits : TBits_1); inline;
  13420. procedure setCNSTATF12(thebits : TBits_1); inline;
  13421. procedure setCNSTATF13(thebits : TBits_1); inline;
  13422. procedure setCNSTATF2(thebits : TBits_1); inline;
  13423. procedure setCNSTATF3(thebits : TBits_1); inline;
  13424. procedure setCNSTATF4(thebits : TBits_1); inline;
  13425. procedure setCNSTATF5(thebits : TBits_1); inline;
  13426. procedure setCNSTATF8(thebits : TBits_1); inline;
  13427. procedure setw(thebits : TBits_32); inline;
  13428. public
  13429. procedure clearCNSTATF0; inline;
  13430. procedure clearCNSTATF12; inline;
  13431. procedure clearCNSTATF13; inline;
  13432. procedure clearCNSTATF1; inline;
  13433. procedure clearCNSTATF2; inline;
  13434. procedure clearCNSTATF3; inline;
  13435. procedure clearCNSTATF4; inline;
  13436. procedure clearCNSTATF5; inline;
  13437. procedure clearCNSTATF8; inline;
  13438. procedure setCNSTATF0; inline;
  13439. procedure setCNSTATF12; inline;
  13440. procedure setCNSTATF13; inline;
  13441. procedure setCNSTATF1; inline;
  13442. procedure setCNSTATF2; inline;
  13443. procedure setCNSTATF3; inline;
  13444. procedure setCNSTATF4; inline;
  13445. procedure setCNSTATF5; inline;
  13446. procedure setCNSTATF8; inline;
  13447. property CNSTATF0 : TBits_1 read getCNSTATF0 write setCNSTATF0;
  13448. property CNSTATF1 : TBits_1 read getCNSTATF1 write setCNSTATF1;
  13449. property CNSTATF12 : TBits_1 read getCNSTATF12 write setCNSTATF12;
  13450. property CNSTATF13 : TBits_1 read getCNSTATF13 write setCNSTATF13;
  13451. property CNSTATF2 : TBits_1 read getCNSTATF2 write setCNSTATF2;
  13452. property CNSTATF3 : TBits_1 read getCNSTATF3 write setCNSTATF3;
  13453. property CNSTATF4 : TBits_1 read getCNSTATF4 write setCNSTATF4;
  13454. property CNSTATF5 : TBits_1 read getCNSTATF5 write setCNSTATF5;
  13455. property CNSTATF8 : TBits_1 read getCNSTATF8 write setCNSTATF8;
  13456. property w : TBits_32 read getw write setw;
  13457. end;
  13458. TPORTF_ANSELG = record
  13459. private
  13460. function getANSG6 : TBits_1; inline;
  13461. function getANSG7 : TBits_1; inline;
  13462. function getANSG8 : TBits_1; inline;
  13463. function getANSG9 : TBits_1; inline;
  13464. function getw : TBits_32; inline;
  13465. procedure setANSG6(thebits : TBits_1); inline;
  13466. procedure setANSG7(thebits : TBits_1); inline;
  13467. procedure setANSG8(thebits : TBits_1); inline;
  13468. procedure setANSG9(thebits : TBits_1); inline;
  13469. procedure setw(thebits : TBits_32); inline;
  13470. public
  13471. procedure clearANSG6; inline;
  13472. procedure clearANSG7; inline;
  13473. procedure clearANSG8; inline;
  13474. procedure clearANSG9; inline;
  13475. procedure setANSG6; inline;
  13476. procedure setANSG7; inline;
  13477. procedure setANSG8; inline;
  13478. procedure setANSG9; inline;
  13479. property ANSG6 : TBits_1 read getANSG6 write setANSG6;
  13480. property ANSG7 : TBits_1 read getANSG7 write setANSG7;
  13481. property ANSG8 : TBits_1 read getANSG8 write setANSG8;
  13482. property ANSG9 : TBits_1 read getANSG9 write setANSG9;
  13483. property w : TBits_32 read getw write setw;
  13484. end;
  13485. TPORTF_TRISG = record
  13486. private
  13487. function getTRISG0 : TBits_1; inline;
  13488. function getTRISG1 : TBits_1; inline;
  13489. function getTRISG12 : TBits_1; inline;
  13490. function getTRISG13 : TBits_1; inline;
  13491. function getTRISG14 : TBits_1; inline;
  13492. function getTRISG15 : TBits_1; inline;
  13493. function getTRISG2 : TBits_1; inline;
  13494. function getTRISG3 : TBits_1; inline;
  13495. function getTRISG6 : TBits_1; inline;
  13496. function getTRISG7 : TBits_1; inline;
  13497. function getTRISG8 : TBits_1; inline;
  13498. function getTRISG9 : TBits_1; inline;
  13499. function getw : TBits_32; inline;
  13500. procedure setTRISG0(thebits : TBits_1); inline;
  13501. procedure setTRISG1(thebits : TBits_1); inline;
  13502. procedure setTRISG12(thebits : TBits_1); inline;
  13503. procedure setTRISG13(thebits : TBits_1); inline;
  13504. procedure setTRISG14(thebits : TBits_1); inline;
  13505. procedure setTRISG15(thebits : TBits_1); inline;
  13506. procedure setTRISG2(thebits : TBits_1); inline;
  13507. procedure setTRISG3(thebits : TBits_1); inline;
  13508. procedure setTRISG6(thebits : TBits_1); inline;
  13509. procedure setTRISG7(thebits : TBits_1); inline;
  13510. procedure setTRISG8(thebits : TBits_1); inline;
  13511. procedure setTRISG9(thebits : TBits_1); inline;
  13512. procedure setw(thebits : TBits_32); inline;
  13513. public
  13514. procedure clearTRISG0; inline;
  13515. procedure clearTRISG12; inline;
  13516. procedure clearTRISG13; inline;
  13517. procedure clearTRISG14; inline;
  13518. procedure clearTRISG15; inline;
  13519. procedure clearTRISG1; inline;
  13520. procedure clearTRISG2; inline;
  13521. procedure clearTRISG3; inline;
  13522. procedure clearTRISG6; inline;
  13523. procedure clearTRISG7; inline;
  13524. procedure clearTRISG8; inline;
  13525. procedure clearTRISG9; inline;
  13526. procedure setTRISG0; inline;
  13527. procedure setTRISG12; inline;
  13528. procedure setTRISG13; inline;
  13529. procedure setTRISG14; inline;
  13530. procedure setTRISG15; inline;
  13531. procedure setTRISG1; inline;
  13532. procedure setTRISG2; inline;
  13533. procedure setTRISG3; inline;
  13534. procedure setTRISG6; inline;
  13535. procedure setTRISG7; inline;
  13536. procedure setTRISG8; inline;
  13537. procedure setTRISG9; inline;
  13538. property TRISG0 : TBits_1 read getTRISG0 write setTRISG0;
  13539. property TRISG1 : TBits_1 read getTRISG1 write setTRISG1;
  13540. property TRISG12 : TBits_1 read getTRISG12 write setTRISG12;
  13541. property TRISG13 : TBits_1 read getTRISG13 write setTRISG13;
  13542. property TRISG14 : TBits_1 read getTRISG14 write setTRISG14;
  13543. property TRISG15 : TBits_1 read getTRISG15 write setTRISG15;
  13544. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  13545. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  13546. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  13547. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  13548. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  13549. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  13550. property w : TBits_32 read getw write setw;
  13551. end;
  13552. type
  13553. TPORTFRegisters = record
  13554. PORTFbits : TPORTF_PORTF;
  13555. PORTF : longWord;
  13556. PORTFCLR : longWord;
  13557. PORTFSET : longWord;
  13558. PORTFINV : longWord;
  13559. LATFbits : TPORTF_LATF;
  13560. LATF : longWord;
  13561. LATFCLR : longWord;
  13562. LATFSET : longWord;
  13563. LATFINV : longWord;
  13564. ODCFbits : TPORTF_ODCF;
  13565. ODCF : longWord;
  13566. ODCFCLR : longWord;
  13567. ODCFSET : longWord;
  13568. ODCFINV : longWord;
  13569. CNPUFbits : TPORTF_CNPUF;
  13570. CNPUF : longWord;
  13571. CNPUFCLR : longWord;
  13572. CNPUFSET : longWord;
  13573. CNPUFINV : longWord;
  13574. CNPDFbits : TPORTF_CNPDF;
  13575. CNPDF : longWord;
  13576. CNPDFCLR : longWord;
  13577. CNPDFSET : longWord;
  13578. CNPDFINV : longWord;
  13579. CNCONFbits : TPORTF_CNCONF;
  13580. CNCONF : longWord;
  13581. CNCONFCLR : longWord;
  13582. CNCONFSET : longWord;
  13583. CNCONFINV : longWord;
  13584. CNENFbits : TPORTF_CNENF;
  13585. CNENF : longWord;
  13586. CNENFCLR : longWord;
  13587. CNENFSET : longWord;
  13588. CNENFINV : longWord;
  13589. CNSTATFbits : TPORTF_CNSTATF;
  13590. CNSTATF : longWord;
  13591. CNSTATFCLR : longWord;
  13592. CNSTATFSET : longWord;
  13593. CNSTATFINV : longWord;
  13594. ANSELGbits : TPORTF_ANSELG;
  13595. ANSELG : longWord;
  13596. ANSELGCLR : longWord;
  13597. ANSELGSET : longWord;
  13598. ANSELGINV : longWord;
  13599. TRISGbits : TPORTF_TRISG;
  13600. TRISG : longWord;
  13601. TRISGCLR : longWord;
  13602. TRISGSET : longWord;
  13603. TRISGINV : longWord;
  13604. end;
  13605. TPORTG_PORTG = record
  13606. private
  13607. function getRG0 : TBits_1; inline;
  13608. function getRG1 : TBits_1; inline;
  13609. function getRG12 : TBits_1; inline;
  13610. function getRG13 : TBits_1; inline;
  13611. function getRG14 : TBits_1; inline;
  13612. function getRG15 : TBits_1; inline;
  13613. function getRG2 : TBits_1; inline;
  13614. function getRG3 : TBits_1; inline;
  13615. function getRG6 : TBits_1; inline;
  13616. function getRG7 : TBits_1; inline;
  13617. function getRG8 : TBits_1; inline;
  13618. function getRG9 : TBits_1; inline;
  13619. function getw : TBits_32; inline;
  13620. procedure setRG0(thebits : TBits_1); inline;
  13621. procedure setRG1(thebits : TBits_1); inline;
  13622. procedure setRG12(thebits : TBits_1); inline;
  13623. procedure setRG13(thebits : TBits_1); inline;
  13624. procedure setRG14(thebits : TBits_1); inline;
  13625. procedure setRG15(thebits : TBits_1); inline;
  13626. procedure setRG2(thebits : TBits_1); inline;
  13627. procedure setRG3(thebits : TBits_1); inline;
  13628. procedure setRG6(thebits : TBits_1); inline;
  13629. procedure setRG7(thebits : TBits_1); inline;
  13630. procedure setRG8(thebits : TBits_1); inline;
  13631. procedure setRG9(thebits : TBits_1); inline;
  13632. procedure setw(thebits : TBits_32); inline;
  13633. public
  13634. procedure clearRG0; inline;
  13635. procedure clearRG12; inline;
  13636. procedure clearRG13; inline;
  13637. procedure clearRG14; inline;
  13638. procedure clearRG15; inline;
  13639. procedure clearRG1; inline;
  13640. procedure clearRG2; inline;
  13641. procedure clearRG3; inline;
  13642. procedure clearRG6; inline;
  13643. procedure clearRG7; inline;
  13644. procedure clearRG8; inline;
  13645. procedure clearRG9; inline;
  13646. procedure setRG0; inline;
  13647. procedure setRG12; inline;
  13648. procedure setRG13; inline;
  13649. procedure setRG14; inline;
  13650. procedure setRG15; inline;
  13651. procedure setRG1; inline;
  13652. procedure setRG2; inline;
  13653. procedure setRG3; inline;
  13654. procedure setRG6; inline;
  13655. procedure setRG7; inline;
  13656. procedure setRG8; inline;
  13657. procedure setRG9; inline;
  13658. property RG0 : TBits_1 read getRG0 write setRG0;
  13659. property RG1 : TBits_1 read getRG1 write setRG1;
  13660. property RG12 : TBits_1 read getRG12 write setRG12;
  13661. property RG13 : TBits_1 read getRG13 write setRG13;
  13662. property RG14 : TBits_1 read getRG14 write setRG14;
  13663. property RG15 : TBits_1 read getRG15 write setRG15;
  13664. property RG2 : TBits_1 read getRG2 write setRG2;
  13665. property RG3 : TBits_1 read getRG3 write setRG3;
  13666. property RG6 : TBits_1 read getRG6 write setRG6;
  13667. property RG7 : TBits_1 read getRG7 write setRG7;
  13668. property RG8 : TBits_1 read getRG8 write setRG8;
  13669. property RG9 : TBits_1 read getRG9 write setRG9;
  13670. property w : TBits_32 read getw write setw;
  13671. end;
  13672. TPortG_bits=(RG0=0,RG1=1,RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9,RG12=12,RG13=13,RG14=14,RG15=15);
  13673. TPortG_bitset = set of TPortG_bits;
  13674. TPORTG_LATG = record
  13675. private
  13676. function getLATG0 : TBits_1; inline;
  13677. function getLATG1 : TBits_1; inline;
  13678. function getLATG12 : TBits_1; inline;
  13679. function getLATG13 : TBits_1; inline;
  13680. function getLATG14 : TBits_1; inline;
  13681. function getLATG15 : TBits_1; inline;
  13682. function getLATG2 : TBits_1; inline;
  13683. function getLATG3 : TBits_1; inline;
  13684. function getLATG6 : TBits_1; inline;
  13685. function getLATG7 : TBits_1; inline;
  13686. function getLATG8 : TBits_1; inline;
  13687. function getLATG9 : TBits_1; inline;
  13688. function getw : TBits_32; inline;
  13689. procedure setLATG0(thebits : TBits_1); inline;
  13690. procedure setLATG1(thebits : TBits_1); inline;
  13691. procedure setLATG12(thebits : TBits_1); inline;
  13692. procedure setLATG13(thebits : TBits_1); inline;
  13693. procedure setLATG14(thebits : TBits_1); inline;
  13694. procedure setLATG15(thebits : TBits_1); inline;
  13695. procedure setLATG2(thebits : TBits_1); inline;
  13696. procedure setLATG3(thebits : TBits_1); inline;
  13697. procedure setLATG6(thebits : TBits_1); inline;
  13698. procedure setLATG7(thebits : TBits_1); inline;
  13699. procedure setLATG8(thebits : TBits_1); inline;
  13700. procedure setLATG9(thebits : TBits_1); inline;
  13701. procedure setw(thebits : TBits_32); inline;
  13702. public
  13703. procedure clearLATG0; inline;
  13704. procedure clearLATG12; inline;
  13705. procedure clearLATG13; inline;
  13706. procedure clearLATG14; inline;
  13707. procedure clearLATG15; inline;
  13708. procedure clearLATG1; inline;
  13709. procedure clearLATG2; inline;
  13710. procedure clearLATG3; inline;
  13711. procedure clearLATG6; inline;
  13712. procedure clearLATG7; inline;
  13713. procedure clearLATG8; inline;
  13714. procedure clearLATG9; inline;
  13715. procedure setLATG0; inline;
  13716. procedure setLATG12; inline;
  13717. procedure setLATG13; inline;
  13718. procedure setLATG14; inline;
  13719. procedure setLATG15; inline;
  13720. procedure setLATG1; inline;
  13721. procedure setLATG2; inline;
  13722. procedure setLATG3; inline;
  13723. procedure setLATG6; inline;
  13724. procedure setLATG7; inline;
  13725. procedure setLATG8; inline;
  13726. procedure setLATG9; inline;
  13727. property LATG0 : TBits_1 read getLATG0 write setLATG0;
  13728. property LATG1 : TBits_1 read getLATG1 write setLATG1;
  13729. property LATG12 : TBits_1 read getLATG12 write setLATG12;
  13730. property LATG13 : TBits_1 read getLATG13 write setLATG13;
  13731. property LATG14 : TBits_1 read getLATG14 write setLATG14;
  13732. property LATG15 : TBits_1 read getLATG15 write setLATG15;
  13733. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  13734. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  13735. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  13736. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  13737. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  13738. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  13739. property w : TBits_32 read getw write setw;
  13740. end;
  13741. TPORTG_ODCG = record
  13742. private
  13743. function getODCG0 : TBits_1; inline;
  13744. function getODCG1 : TBits_1; inline;
  13745. function getODCG12 : TBits_1; inline;
  13746. function getODCG13 : TBits_1; inline;
  13747. function getODCG14 : TBits_1; inline;
  13748. function getODCG15 : TBits_1; inline;
  13749. function getODCG2 : TBits_1; inline;
  13750. function getODCG3 : TBits_1; inline;
  13751. function getODCG6 : TBits_1; inline;
  13752. function getODCG7 : TBits_1; inline;
  13753. function getODCG8 : TBits_1; inline;
  13754. function getODCG9 : TBits_1; inline;
  13755. function getw : TBits_32; inline;
  13756. procedure setODCG0(thebits : TBits_1); inline;
  13757. procedure setODCG1(thebits : TBits_1); inline;
  13758. procedure setODCG12(thebits : TBits_1); inline;
  13759. procedure setODCG13(thebits : TBits_1); inline;
  13760. procedure setODCG14(thebits : TBits_1); inline;
  13761. procedure setODCG15(thebits : TBits_1); inline;
  13762. procedure setODCG2(thebits : TBits_1); inline;
  13763. procedure setODCG3(thebits : TBits_1); inline;
  13764. procedure setODCG6(thebits : TBits_1); inline;
  13765. procedure setODCG7(thebits : TBits_1); inline;
  13766. procedure setODCG8(thebits : TBits_1); inline;
  13767. procedure setODCG9(thebits : TBits_1); inline;
  13768. procedure setw(thebits : TBits_32); inline;
  13769. public
  13770. procedure clearODCG0; inline;
  13771. procedure clearODCG12; inline;
  13772. procedure clearODCG13; inline;
  13773. procedure clearODCG14; inline;
  13774. procedure clearODCG15; inline;
  13775. procedure clearODCG1; inline;
  13776. procedure clearODCG2; inline;
  13777. procedure clearODCG3; inline;
  13778. procedure clearODCG6; inline;
  13779. procedure clearODCG7; inline;
  13780. procedure clearODCG8; inline;
  13781. procedure clearODCG9; inline;
  13782. procedure setODCG0; inline;
  13783. procedure setODCG12; inline;
  13784. procedure setODCG13; inline;
  13785. procedure setODCG14; inline;
  13786. procedure setODCG15; inline;
  13787. procedure setODCG1; inline;
  13788. procedure setODCG2; inline;
  13789. procedure setODCG3; inline;
  13790. procedure setODCG6; inline;
  13791. procedure setODCG7; inline;
  13792. procedure setODCG8; inline;
  13793. procedure setODCG9; inline;
  13794. property ODCG0 : TBits_1 read getODCG0 write setODCG0;
  13795. property ODCG1 : TBits_1 read getODCG1 write setODCG1;
  13796. property ODCG12 : TBits_1 read getODCG12 write setODCG12;
  13797. property ODCG13 : TBits_1 read getODCG13 write setODCG13;
  13798. property ODCG14 : TBits_1 read getODCG14 write setODCG14;
  13799. property ODCG15 : TBits_1 read getODCG15 write setODCG15;
  13800. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  13801. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  13802. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  13803. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  13804. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  13805. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  13806. property w : TBits_32 read getw write setw;
  13807. end;
  13808. TPORTG_CNPUG = record
  13809. private
  13810. function getCNPUG0 : TBits_1; inline;
  13811. function getCNPUG1 : TBits_1; inline;
  13812. function getCNPUG12 : TBits_1; inline;
  13813. function getCNPUG13 : TBits_1; inline;
  13814. function getCNPUG14 : TBits_1; inline;
  13815. function getCNPUG15 : TBits_1; inline;
  13816. function getCNPUG2 : TBits_1; inline;
  13817. function getCNPUG3 : TBits_1; inline;
  13818. function getCNPUG6 : TBits_1; inline;
  13819. function getCNPUG7 : TBits_1; inline;
  13820. function getCNPUG8 : TBits_1; inline;
  13821. function getCNPUG9 : TBits_1; inline;
  13822. function getw : TBits_32; inline;
  13823. procedure setCNPUG0(thebits : TBits_1); inline;
  13824. procedure setCNPUG1(thebits : TBits_1); inline;
  13825. procedure setCNPUG12(thebits : TBits_1); inline;
  13826. procedure setCNPUG13(thebits : TBits_1); inline;
  13827. procedure setCNPUG14(thebits : TBits_1); inline;
  13828. procedure setCNPUG15(thebits : TBits_1); inline;
  13829. procedure setCNPUG2(thebits : TBits_1); inline;
  13830. procedure setCNPUG3(thebits : TBits_1); inline;
  13831. procedure setCNPUG6(thebits : TBits_1); inline;
  13832. procedure setCNPUG7(thebits : TBits_1); inline;
  13833. procedure setCNPUG8(thebits : TBits_1); inline;
  13834. procedure setCNPUG9(thebits : TBits_1); inline;
  13835. procedure setw(thebits : TBits_32); inline;
  13836. public
  13837. procedure clearCNPUG0; inline;
  13838. procedure clearCNPUG12; inline;
  13839. procedure clearCNPUG13; inline;
  13840. procedure clearCNPUG14; inline;
  13841. procedure clearCNPUG15; inline;
  13842. procedure clearCNPUG1; inline;
  13843. procedure clearCNPUG2; inline;
  13844. procedure clearCNPUG3; inline;
  13845. procedure clearCNPUG6; inline;
  13846. procedure clearCNPUG7; inline;
  13847. procedure clearCNPUG8; inline;
  13848. procedure clearCNPUG9; inline;
  13849. procedure setCNPUG0; inline;
  13850. procedure setCNPUG12; inline;
  13851. procedure setCNPUG13; inline;
  13852. procedure setCNPUG14; inline;
  13853. procedure setCNPUG15; inline;
  13854. procedure setCNPUG1; inline;
  13855. procedure setCNPUG2; inline;
  13856. procedure setCNPUG3; inline;
  13857. procedure setCNPUG6; inline;
  13858. procedure setCNPUG7; inline;
  13859. procedure setCNPUG8; inline;
  13860. procedure setCNPUG9; inline;
  13861. property CNPUG0 : TBits_1 read getCNPUG0 write setCNPUG0;
  13862. property CNPUG1 : TBits_1 read getCNPUG1 write setCNPUG1;
  13863. property CNPUG12 : TBits_1 read getCNPUG12 write setCNPUG12;
  13864. property CNPUG13 : TBits_1 read getCNPUG13 write setCNPUG13;
  13865. property CNPUG14 : TBits_1 read getCNPUG14 write setCNPUG14;
  13866. property CNPUG15 : TBits_1 read getCNPUG15 write setCNPUG15;
  13867. property CNPUG2 : TBits_1 read getCNPUG2 write setCNPUG2;
  13868. property CNPUG3 : TBits_1 read getCNPUG3 write setCNPUG3;
  13869. property CNPUG6 : TBits_1 read getCNPUG6 write setCNPUG6;
  13870. property CNPUG7 : TBits_1 read getCNPUG7 write setCNPUG7;
  13871. property CNPUG8 : TBits_1 read getCNPUG8 write setCNPUG8;
  13872. property CNPUG9 : TBits_1 read getCNPUG9 write setCNPUG9;
  13873. property w : TBits_32 read getw write setw;
  13874. end;
  13875. TPORTG_CNPDG = record
  13876. private
  13877. function getCNPDG0 : TBits_1; inline;
  13878. function getCNPDG1 : TBits_1; inline;
  13879. function getCNPDG12 : TBits_1; inline;
  13880. function getCNPDG13 : TBits_1; inline;
  13881. function getCNPDG14 : TBits_1; inline;
  13882. function getCNPDG15 : TBits_1; inline;
  13883. function getCNPDG2 : TBits_1; inline;
  13884. function getCNPDG3 : TBits_1; inline;
  13885. function getCNPDG6 : TBits_1; inline;
  13886. function getCNPDG7 : TBits_1; inline;
  13887. function getCNPDG8 : TBits_1; inline;
  13888. function getCNPDG9 : TBits_1; inline;
  13889. function getw : TBits_32; inline;
  13890. procedure setCNPDG0(thebits : TBits_1); inline;
  13891. procedure setCNPDG1(thebits : TBits_1); inline;
  13892. procedure setCNPDG12(thebits : TBits_1); inline;
  13893. procedure setCNPDG13(thebits : TBits_1); inline;
  13894. procedure setCNPDG14(thebits : TBits_1); inline;
  13895. procedure setCNPDG15(thebits : TBits_1); inline;
  13896. procedure setCNPDG2(thebits : TBits_1); inline;
  13897. procedure setCNPDG3(thebits : TBits_1); inline;
  13898. procedure setCNPDG6(thebits : TBits_1); inline;
  13899. procedure setCNPDG7(thebits : TBits_1); inline;
  13900. procedure setCNPDG8(thebits : TBits_1); inline;
  13901. procedure setCNPDG9(thebits : TBits_1); inline;
  13902. procedure setw(thebits : TBits_32); inline;
  13903. public
  13904. procedure clearCNPDG0; inline;
  13905. procedure clearCNPDG12; inline;
  13906. procedure clearCNPDG13; inline;
  13907. procedure clearCNPDG14; inline;
  13908. procedure clearCNPDG15; inline;
  13909. procedure clearCNPDG1; inline;
  13910. procedure clearCNPDG2; inline;
  13911. procedure clearCNPDG3; inline;
  13912. procedure clearCNPDG6; inline;
  13913. procedure clearCNPDG7; inline;
  13914. procedure clearCNPDG8; inline;
  13915. procedure clearCNPDG9; inline;
  13916. procedure setCNPDG0; inline;
  13917. procedure setCNPDG12; inline;
  13918. procedure setCNPDG13; inline;
  13919. procedure setCNPDG14; inline;
  13920. procedure setCNPDG15; inline;
  13921. procedure setCNPDG1; inline;
  13922. procedure setCNPDG2; inline;
  13923. procedure setCNPDG3; inline;
  13924. procedure setCNPDG6; inline;
  13925. procedure setCNPDG7; inline;
  13926. procedure setCNPDG8; inline;
  13927. procedure setCNPDG9; inline;
  13928. property CNPDG0 : TBits_1 read getCNPDG0 write setCNPDG0;
  13929. property CNPDG1 : TBits_1 read getCNPDG1 write setCNPDG1;
  13930. property CNPDG12 : TBits_1 read getCNPDG12 write setCNPDG12;
  13931. property CNPDG13 : TBits_1 read getCNPDG13 write setCNPDG13;
  13932. property CNPDG14 : TBits_1 read getCNPDG14 write setCNPDG14;
  13933. property CNPDG15 : TBits_1 read getCNPDG15 write setCNPDG15;
  13934. property CNPDG2 : TBits_1 read getCNPDG2 write setCNPDG2;
  13935. property CNPDG3 : TBits_1 read getCNPDG3 write setCNPDG3;
  13936. property CNPDG6 : TBits_1 read getCNPDG6 write setCNPDG6;
  13937. property CNPDG7 : TBits_1 read getCNPDG7 write setCNPDG7;
  13938. property CNPDG8 : TBits_1 read getCNPDG8 write setCNPDG8;
  13939. property CNPDG9 : TBits_1 read getCNPDG9 write setCNPDG9;
  13940. property w : TBits_32 read getw write setw;
  13941. end;
  13942. TPORTG_CNCONG = record
  13943. private
  13944. function getON : TBits_1; inline;
  13945. function getSIDL : TBits_1; inline;
  13946. function getw : TBits_32; inline;
  13947. procedure setON(thebits : TBits_1); inline;
  13948. procedure setSIDL(thebits : TBits_1); inline;
  13949. procedure setw(thebits : TBits_32); inline;
  13950. public
  13951. procedure clearON; inline;
  13952. procedure clearSIDL; inline;
  13953. procedure setON; inline;
  13954. procedure setSIDL; inline;
  13955. property ON : TBits_1 read getON write setON;
  13956. property SIDL : TBits_1 read getSIDL write setSIDL;
  13957. property w : TBits_32 read getw write setw;
  13958. end;
  13959. TPORTG_CNENG = record
  13960. private
  13961. function getCNIEG0 : TBits_1; inline;
  13962. function getCNIEG1 : TBits_1; inline;
  13963. function getCNIEG12 : TBits_1; inline;
  13964. function getCNIEG13 : TBits_1; inline;
  13965. function getCNIEG14 : TBits_1; inline;
  13966. function getCNIEG15 : TBits_1; inline;
  13967. function getCNIEG2 : TBits_1; inline;
  13968. function getCNIEG3 : TBits_1; inline;
  13969. function getCNIEG6 : TBits_1; inline;
  13970. function getCNIEG7 : TBits_1; inline;
  13971. function getCNIEG8 : TBits_1; inline;
  13972. function getCNIEG9 : TBits_1; inline;
  13973. function getw : TBits_32; inline;
  13974. procedure setCNIEG0(thebits : TBits_1); inline;
  13975. procedure setCNIEG1(thebits : TBits_1); inline;
  13976. procedure setCNIEG12(thebits : TBits_1); inline;
  13977. procedure setCNIEG13(thebits : TBits_1); inline;
  13978. procedure setCNIEG14(thebits : TBits_1); inline;
  13979. procedure setCNIEG15(thebits : TBits_1); inline;
  13980. procedure setCNIEG2(thebits : TBits_1); inline;
  13981. procedure setCNIEG3(thebits : TBits_1); inline;
  13982. procedure setCNIEG6(thebits : TBits_1); inline;
  13983. procedure setCNIEG7(thebits : TBits_1); inline;
  13984. procedure setCNIEG8(thebits : TBits_1); inline;
  13985. procedure setCNIEG9(thebits : TBits_1); inline;
  13986. procedure setw(thebits : TBits_32); inline;
  13987. public
  13988. procedure clearCNIEG0; inline;
  13989. procedure clearCNIEG12; inline;
  13990. procedure clearCNIEG13; inline;
  13991. procedure clearCNIEG14; inline;
  13992. procedure clearCNIEG15; inline;
  13993. procedure clearCNIEG1; inline;
  13994. procedure clearCNIEG2; inline;
  13995. procedure clearCNIEG3; inline;
  13996. procedure clearCNIEG6; inline;
  13997. procedure clearCNIEG7; inline;
  13998. procedure clearCNIEG8; inline;
  13999. procedure clearCNIEG9; inline;
  14000. procedure setCNIEG0; inline;
  14001. procedure setCNIEG12; inline;
  14002. procedure setCNIEG13; inline;
  14003. procedure setCNIEG14; inline;
  14004. procedure setCNIEG15; inline;
  14005. procedure setCNIEG1; inline;
  14006. procedure setCNIEG2; inline;
  14007. procedure setCNIEG3; inline;
  14008. procedure setCNIEG6; inline;
  14009. procedure setCNIEG7; inline;
  14010. procedure setCNIEG8; inline;
  14011. procedure setCNIEG9; inline;
  14012. property CNIEG0 : TBits_1 read getCNIEG0 write setCNIEG0;
  14013. property CNIEG1 : TBits_1 read getCNIEG1 write setCNIEG1;
  14014. property CNIEG12 : TBits_1 read getCNIEG12 write setCNIEG12;
  14015. property CNIEG13 : TBits_1 read getCNIEG13 write setCNIEG13;
  14016. property CNIEG14 : TBits_1 read getCNIEG14 write setCNIEG14;
  14017. property CNIEG15 : TBits_1 read getCNIEG15 write setCNIEG15;
  14018. property CNIEG2 : TBits_1 read getCNIEG2 write setCNIEG2;
  14019. property CNIEG3 : TBits_1 read getCNIEG3 write setCNIEG3;
  14020. property CNIEG6 : TBits_1 read getCNIEG6 write setCNIEG6;
  14021. property CNIEG7 : TBits_1 read getCNIEG7 write setCNIEG7;
  14022. property CNIEG8 : TBits_1 read getCNIEG8 write setCNIEG8;
  14023. property CNIEG9 : TBits_1 read getCNIEG9 write setCNIEG9;
  14024. property w : TBits_32 read getw write setw;
  14025. end;
  14026. TPORTG_CNSTATG = record
  14027. private
  14028. function getCNSTATG0 : TBits_1; inline;
  14029. function getCNSTATG1 : TBits_1; inline;
  14030. function getCNSTATG12 : TBits_1; inline;
  14031. function getCNSTATG13 : TBits_1; inline;
  14032. function getCNSTATG14 : TBits_1; inline;
  14033. function getCNSTATG15 : TBits_1; inline;
  14034. function getCNSTATG2 : TBits_1; inline;
  14035. function getCNSTATG3 : TBits_1; inline;
  14036. function getCNSTATG6 : TBits_1; inline;
  14037. function getCNSTATG7 : TBits_1; inline;
  14038. function getCNSTATG8 : TBits_1; inline;
  14039. function getCNSTATG9 : TBits_1; inline;
  14040. function getw : TBits_32; inline;
  14041. procedure setCNSTATG0(thebits : TBits_1); inline;
  14042. procedure setCNSTATG1(thebits : TBits_1); inline;
  14043. procedure setCNSTATG12(thebits : TBits_1); inline;
  14044. procedure setCNSTATG13(thebits : TBits_1); inline;
  14045. procedure setCNSTATG14(thebits : TBits_1); inline;
  14046. procedure setCNSTATG15(thebits : TBits_1); inline;
  14047. procedure setCNSTATG2(thebits : TBits_1); inline;
  14048. procedure setCNSTATG3(thebits : TBits_1); inline;
  14049. procedure setCNSTATG6(thebits : TBits_1); inline;
  14050. procedure setCNSTATG7(thebits : TBits_1); inline;
  14051. procedure setCNSTATG8(thebits : TBits_1); inline;
  14052. procedure setCNSTATG9(thebits : TBits_1); inline;
  14053. procedure setw(thebits : TBits_32); inline;
  14054. public
  14055. procedure clearCNSTATG0; inline;
  14056. procedure clearCNSTATG12; inline;
  14057. procedure clearCNSTATG13; inline;
  14058. procedure clearCNSTATG14; inline;
  14059. procedure clearCNSTATG15; inline;
  14060. procedure clearCNSTATG1; inline;
  14061. procedure clearCNSTATG2; inline;
  14062. procedure clearCNSTATG3; inline;
  14063. procedure clearCNSTATG6; inline;
  14064. procedure clearCNSTATG7; inline;
  14065. procedure clearCNSTATG8; inline;
  14066. procedure clearCNSTATG9; inline;
  14067. procedure setCNSTATG0; inline;
  14068. procedure setCNSTATG12; inline;
  14069. procedure setCNSTATG13; inline;
  14070. procedure setCNSTATG14; inline;
  14071. procedure setCNSTATG15; inline;
  14072. procedure setCNSTATG1; inline;
  14073. procedure setCNSTATG2; inline;
  14074. procedure setCNSTATG3; inline;
  14075. procedure setCNSTATG6; inline;
  14076. procedure setCNSTATG7; inline;
  14077. procedure setCNSTATG8; inline;
  14078. procedure setCNSTATG9; inline;
  14079. property CNSTATG0 : TBits_1 read getCNSTATG0 write setCNSTATG0;
  14080. property CNSTATG1 : TBits_1 read getCNSTATG1 write setCNSTATG1;
  14081. property CNSTATG12 : TBits_1 read getCNSTATG12 write setCNSTATG12;
  14082. property CNSTATG13 : TBits_1 read getCNSTATG13 write setCNSTATG13;
  14083. property CNSTATG14 : TBits_1 read getCNSTATG14 write setCNSTATG14;
  14084. property CNSTATG15 : TBits_1 read getCNSTATG15 write setCNSTATG15;
  14085. property CNSTATG2 : TBits_1 read getCNSTATG2 write setCNSTATG2;
  14086. property CNSTATG3 : TBits_1 read getCNSTATG3 write setCNSTATG3;
  14087. property CNSTATG6 : TBits_1 read getCNSTATG6 write setCNSTATG6;
  14088. property CNSTATG7 : TBits_1 read getCNSTATG7 write setCNSTATG7;
  14089. property CNSTATG8 : TBits_1 read getCNSTATG8 write setCNSTATG8;
  14090. property CNSTATG9 : TBits_1 read getCNSTATG9 write setCNSTATG9;
  14091. property w : TBits_32 read getw write setw;
  14092. end;
  14093. type
  14094. TPORTGRegisters = record
  14095. PORTGbits : TPORTG_PORTG;
  14096. PORTG : longWord;
  14097. PORTGCLR : longWord;
  14098. PORTGSET : longWord;
  14099. PORTGINV : longWord;
  14100. LATGbits : TPORTG_LATG;
  14101. LATG : longWord;
  14102. LATGCLR : longWord;
  14103. LATGSET : longWord;
  14104. LATGINV : longWord;
  14105. ODCGbits : TPORTG_ODCG;
  14106. ODCG : longWord;
  14107. ODCGCLR : longWord;
  14108. ODCGSET : longWord;
  14109. ODCGINV : longWord;
  14110. CNPUGbits : TPORTG_CNPUG;
  14111. CNPUG : longWord;
  14112. CNPUGCLR : longWord;
  14113. CNPUGSET : longWord;
  14114. CNPUGINV : longWord;
  14115. CNPDGbits : TPORTG_CNPDG;
  14116. CNPDG : longWord;
  14117. CNPDGCLR : longWord;
  14118. CNPDGSET : longWord;
  14119. CNPDGINV : longWord;
  14120. CNCONGbits : TPORTG_CNCONG;
  14121. CNCONG : longWord;
  14122. CNCONGCLR : longWord;
  14123. CNCONGSET : longWord;
  14124. CNCONGINV : longWord;
  14125. CNENGbits : TPORTG_CNENG;
  14126. CNENG : longWord;
  14127. CNENGCLR : longWord;
  14128. CNENGSET : longWord;
  14129. CNENGINV : longWord;
  14130. CNSTATGbits : TPORTG_CNSTATG;
  14131. CNSTATG : longWord;
  14132. CNSTATGCLR : longWord;
  14133. CNSTATGSET : longWord;
  14134. CNSTATGINV : longWord;
  14135. end;
  14136. TDEVCFG_DEVCFG3 = record
  14137. private
  14138. function getFSRSSEL : TBits_3; inline;
  14139. function getFUSBIDIO : TBits_1; inline;
  14140. function getFVBUSONIO : TBits_1; inline;
  14141. function getIOL1WAY : TBits_1; inline;
  14142. function getPMDL1WAY : TBits_1; inline;
  14143. function getUSERID : TBits_16; inline;
  14144. function getw : TBits_32; inline;
  14145. procedure setFSRSSEL(thebits : TBits_3); inline;
  14146. procedure setFUSBIDIO(thebits : TBits_1); inline;
  14147. procedure setFVBUSONIO(thebits : TBits_1); inline;
  14148. procedure setIOL1WAY(thebits : TBits_1); inline;
  14149. procedure setPMDL1WAY(thebits : TBits_1); inline;
  14150. procedure setUSERID(thebits : TBits_16); inline;
  14151. procedure setw(thebits : TBits_32); inline;
  14152. public
  14153. procedure clearFUSBIDIO; inline;
  14154. procedure clearFVBUSONIO; inline;
  14155. procedure clearIOL1WAY; inline;
  14156. procedure clearPMDL1WAY; inline;
  14157. procedure setFUSBIDIO; inline;
  14158. procedure setFVBUSONIO; inline;
  14159. procedure setIOL1WAY; inline;
  14160. procedure setPMDL1WAY; inline;
  14161. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  14162. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  14163. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  14164. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  14165. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  14166. property USERID : TBits_16 read getUSERID write setUSERID;
  14167. property w : TBits_32 read getw write setw;
  14168. end;
  14169. TDEVCFG_DEVCFG2 = record
  14170. private
  14171. function getFPLLIDIV : TBits_3; inline;
  14172. function getFPLLMUL : TBits_3; inline;
  14173. function getFPLLODIV : TBits_3; inline;
  14174. function getUPLLEN : TBits_1; inline;
  14175. function getUPLLIDIV : TBits_3; inline;
  14176. function getw : TBits_32; inline;
  14177. procedure setFPLLIDIV(thebits : TBits_3); inline;
  14178. procedure setFPLLMUL(thebits : TBits_3); inline;
  14179. procedure setFPLLODIV(thebits : TBits_3); inline;
  14180. procedure setUPLLEN(thebits : TBits_1); inline;
  14181. procedure setUPLLIDIV(thebits : TBits_3); inline;
  14182. procedure setw(thebits : TBits_32); inline;
  14183. public
  14184. procedure clearUPLLEN; inline;
  14185. procedure setUPLLEN; inline;
  14186. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  14187. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  14188. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  14189. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  14190. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  14191. property w : TBits_32 read getw write setw;
  14192. end;
  14193. TDEVCFG_DEVCFG1 = record
  14194. private
  14195. function getFCKSM : TBits_2; inline;
  14196. function getFNOSC : TBits_3; inline;
  14197. function getFPBDIV : TBits_2; inline;
  14198. function getFSOSCEN : TBits_1; inline;
  14199. function getFWDTEN : TBits_1; inline;
  14200. function getFWDTWINSZ : TBits_2; inline;
  14201. function getIESO : TBits_1; inline;
  14202. function getOSCIOFNC : TBits_1; inline;
  14203. function getPOSCMOD : TBits_2; inline;
  14204. function getWDTPS : TBits_5; inline;
  14205. function getWINDIS : TBits_1; inline;
  14206. function getw : TBits_32; inline;
  14207. procedure setFCKSM(thebits : TBits_2); inline;
  14208. procedure setFNOSC(thebits : TBits_3); inline;
  14209. procedure setFPBDIV(thebits : TBits_2); inline;
  14210. procedure setFSOSCEN(thebits : TBits_1); inline;
  14211. procedure setFWDTEN(thebits : TBits_1); inline;
  14212. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  14213. procedure setIESO(thebits : TBits_1); inline;
  14214. procedure setOSCIOFNC(thebits : TBits_1); inline;
  14215. procedure setPOSCMOD(thebits : TBits_2); inline;
  14216. procedure setWDTPS(thebits : TBits_5); inline;
  14217. procedure setWINDIS(thebits : TBits_1); inline;
  14218. procedure setw(thebits : TBits_32); inline;
  14219. public
  14220. procedure clearFSOSCEN; inline;
  14221. procedure clearFWDTEN; inline;
  14222. procedure clearIESO; inline;
  14223. procedure clearOSCIOFNC; inline;
  14224. procedure clearWINDIS; inline;
  14225. procedure setFSOSCEN; inline;
  14226. procedure setFWDTEN; inline;
  14227. procedure setIESO; inline;
  14228. procedure setOSCIOFNC; inline;
  14229. procedure setWINDIS; inline;
  14230. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  14231. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  14232. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  14233. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  14234. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  14235. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  14236. property IESO : TBits_1 read getIESO write setIESO;
  14237. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  14238. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  14239. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  14240. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  14241. property w : TBits_32 read getw write setw;
  14242. end;
  14243. TDEVCFG_DEVCFG0 = record
  14244. private
  14245. function getBWP : TBits_1; inline;
  14246. function getCP : TBits_1; inline;
  14247. function getDEBUG : TBits_2; inline;
  14248. function getFDEBUG : TBits_2; inline;
  14249. function getICESEL : TBits_2; inline;
  14250. function getJTAGEN : TBits_1; inline;
  14251. function getPWP : TBits_8; inline;
  14252. function getw : TBits_32; inline;
  14253. procedure setBWP(thebits : TBits_1); inline;
  14254. procedure setCP(thebits : TBits_1); inline;
  14255. procedure setDEBUG(thebits : TBits_2); inline;
  14256. procedure setFDEBUG(thebits : TBits_2); inline;
  14257. procedure setICESEL(thebits : TBits_2); inline;
  14258. procedure setJTAGEN(thebits : TBits_1); inline;
  14259. procedure setPWP(thebits : TBits_8); inline;
  14260. procedure setw(thebits : TBits_32); inline;
  14261. public
  14262. procedure clearBWP; inline;
  14263. procedure clearCP; inline;
  14264. procedure clearJTAGEN; inline;
  14265. procedure setBWP; inline;
  14266. procedure setCP; inline;
  14267. procedure setJTAGEN; inline;
  14268. property BWP : TBits_1 read getBWP write setBWP;
  14269. property CP : TBits_1 read getCP write setCP;
  14270. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  14271. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  14272. property ICESEL : TBits_2 read getICESEL write setICESEL;
  14273. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  14274. property PWP : TBits_8 read getPWP write setPWP;
  14275. property w : TBits_32 read getw write setw;
  14276. end;
  14277. const
  14278. _CORE_TIMER_IRQ = 0;
  14279. _CORE_SOFTWARE_0_IRQ = 1;
  14280. _CORE_SOFTWARE_1_IRQ = 2;
  14281. _EXTERNAL_0_IRQ = 3;
  14282. _TIMER_1_IRQ = 4;
  14283. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  14284. _INPUT_CAPTURE_1_IRQ = 6;
  14285. _OUTPUT_COMPARE_1_IRQ = 7;
  14286. _EXTERNAL_1_IRQ = 8;
  14287. _TIMER_2_IRQ = 9;
  14288. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  14289. _INPUT_CAPTURE_2_IRQ = 11;
  14290. _OUTPUT_COMPARE_2_IRQ = 12;
  14291. _EXTERNAL_2_IRQ = 13;
  14292. _TIMER_3_IRQ = 14;
  14293. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  14294. _INPUT_CAPTURE_3_IRQ = 16;
  14295. _OUTPUT_COMPARE_3_IRQ = 17;
  14296. _EXTERNAL_3_IRQ = 18;
  14297. _TIMER_4_IRQ = 19;
  14298. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  14299. _INPUT_CAPTURE_4_IRQ = 21;
  14300. _OUTPUT_COMPARE_4_IRQ = 22;
  14301. _EXTERNAL_4_IRQ = 23;
  14302. _TIMER_5_IRQ = 24;
  14303. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  14304. _INPUT_CAPTURE_5_IRQ = 26;
  14305. _OUTPUT_COMPARE_5_IRQ = 27;
  14306. _ADC_IRQ = 28;
  14307. _FAIL_SAFE_MONITOR_IRQ = 29;
  14308. _RTCC_IRQ = 30;
  14309. _FLASH_CONTROL_IRQ = 31;
  14310. _COMPARATOR_1_IRQ = 32;
  14311. _COMPARATOR_2_IRQ = 33;
  14312. _USB_IRQ = 34;
  14313. _SPI1_ERR_IRQ = 35;
  14314. _SPI1_RX_IRQ = 36;
  14315. _SPI1_TX_IRQ = 37;
  14316. _UART1_ERR_IRQ = 38;
  14317. _UART1_RX_IRQ = 39;
  14318. _UART1_TX_IRQ = 40;
  14319. _I2C1_BUS_IRQ = 41;
  14320. _I2C1_SLAVE_IRQ = 42;
  14321. _I2C1_MASTER_IRQ = 43;
  14322. _CHANGE_NOTICE_A_IRQ = 44;
  14323. _CHANGE_NOTICE_B_IRQ = 45;
  14324. _CHANGE_NOTICE_C_IRQ = 46;
  14325. _CHANGE_NOTICE_D_IRQ = 47;
  14326. _CHANGE_NOTICE_E_IRQ = 48;
  14327. _CHANGE_NOTICE_F_IRQ = 49;
  14328. _CHANGE_NOTICE_G_IRQ = 50;
  14329. _PMP_IRQ = 51;
  14330. _PMP_ERROR_IRQ = 52;
  14331. _SPI2_ERR_IRQ = 53;
  14332. _SPI2_RX_IRQ = 54;
  14333. _SPI2_TX_IRQ = 55;
  14334. _UART2_ERR_IRQ = 56;
  14335. _UART2_RX_IRQ = 57;
  14336. _UART2_TX_IRQ = 58;
  14337. _I2C2_BUS_IRQ = 59;
  14338. _I2C2_SLAVE_IRQ = 60;
  14339. _I2C2_MASTER_IRQ = 61;
  14340. _UART3_ERR_IRQ = 62;
  14341. _UART3_RX_IRQ = 63;
  14342. _UART3_TX_IRQ = 64;
  14343. _UART4_ERR_IRQ = 65;
  14344. _UART4_RX_IRQ = 66;
  14345. _UART4_TX_IRQ = 67;
  14346. _UART5_ERR_IRQ = 68;
  14347. _UART5_RX_IRQ = 69;
  14348. _UART5_TX_IRQ = 70;
  14349. _CTMU_IRQ = 71;
  14350. _DMA0_IRQ = 72;
  14351. _DMA1_IRQ = 73;
  14352. _DMA2_IRQ = 74;
  14353. _DMA3_IRQ = 75;
  14354. const
  14355. ADC10_BASE_ADDRESS = $BF809000;
  14356. var
  14357. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  14358. const
  14359. BMX_BASE_ADDRESS = $BF882000;
  14360. var
  14361. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  14362. const
  14363. CFG_BASE_ADDRESS = $BF80F200;
  14364. var
  14365. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  14366. const
  14367. CMP_BASE_ADDRESS = $BF80A000;
  14368. var
  14369. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  14370. const
  14371. CVR_BASE_ADDRESS = $BF809800;
  14372. var
  14373. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  14374. const
  14375. DMAC_BASE_ADDRESS = $BF883000;
  14376. var
  14377. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  14378. const
  14379. DMAC0_BASE_ADDRESS = $BF883060;
  14380. var
  14381. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  14382. const
  14383. DMAC1_BASE_ADDRESS = $BF883120;
  14384. var
  14385. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  14386. const
  14387. DMAC2_BASE_ADDRESS = $BF8831E0;
  14388. var
  14389. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  14390. const
  14391. DMAC3_BASE_ADDRESS = $BF8832A0;
  14392. var
  14393. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  14394. const
  14395. I2C1_BASE_ADDRESS = $BF805000;
  14396. var
  14397. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  14398. const
  14399. I2C2_BASE_ADDRESS = $BF805100;
  14400. var
  14401. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  14402. const
  14403. ICAP1_BASE_ADDRESS = $BF802000;
  14404. var
  14405. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  14406. const
  14407. ICAP2_BASE_ADDRESS = $BF802200;
  14408. var
  14409. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  14410. const
  14411. ICAP3_BASE_ADDRESS = $BF802400;
  14412. var
  14413. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  14414. const
  14415. ICAP4_BASE_ADDRESS = $BF802600;
  14416. var
  14417. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  14418. const
  14419. ICAP5_BASE_ADDRESS = $BF802800;
  14420. var
  14421. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  14422. const
  14423. INT_BASE_ADDRESS = $BF881000;
  14424. var
  14425. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  14426. const
  14427. NVM_BASE_ADDRESS = $BF80F400;
  14428. var
  14429. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  14430. const
  14431. OCMP1_BASE_ADDRESS = $BF803000;
  14432. var
  14433. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  14434. const
  14435. OCMP2_BASE_ADDRESS = $BF803200;
  14436. var
  14437. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  14438. const
  14439. OCMP3_BASE_ADDRESS = $BF803400;
  14440. var
  14441. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  14442. const
  14443. OCMP4_BASE_ADDRESS = $BF803600;
  14444. var
  14445. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  14446. const
  14447. OCMP5_BASE_ADDRESS = $BF803800;
  14448. var
  14449. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  14450. const
  14451. OSC_BASE_ADDRESS = $BF80F000;
  14452. var
  14453. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  14454. const
  14455. PCACHE_BASE_ADDRESS = $BF884000;
  14456. var
  14457. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  14458. const
  14459. PMP_BASE_ADDRESS = $BF807000;
  14460. var
  14461. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  14462. const
  14463. PORTA_BASE_ADDRESS = $BF886020;
  14464. var
  14465. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  14466. const
  14467. PORTB_BASE_ADDRESS = $BF886120;
  14468. var
  14469. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  14470. const
  14471. PORTC_BASE_ADDRESS = $BF886220;
  14472. var
  14473. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  14474. const
  14475. PORTD_BASE_ADDRESS = $BF886320;
  14476. var
  14477. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  14478. const
  14479. PORTE_BASE_ADDRESS = $BF886420;
  14480. var
  14481. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  14482. const
  14483. PORTF_BASE_ADDRESS = $BF886520;
  14484. var
  14485. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  14486. const
  14487. PORTG_BASE_ADDRESS = $BF886620;
  14488. var
  14489. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  14490. const
  14491. RCON_BASE_ADDRESS = $BF80F600;
  14492. var
  14493. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  14494. const
  14495. RTCC_BASE_ADDRESS = $BF800200;
  14496. var
  14497. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  14498. const
  14499. SPI1_BASE_ADDRESS = $BF805800;
  14500. var
  14501. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  14502. const
  14503. SPI2_BASE_ADDRESS = $BF805A00;
  14504. var
  14505. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  14506. const
  14507. TMR1_BASE_ADDRESS = $BF800600;
  14508. var
  14509. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  14510. const
  14511. TMR2_BASE_ADDRESS = $BF800800;
  14512. var
  14513. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  14514. const
  14515. TMR3_BASE_ADDRESS = $BF800A00;
  14516. var
  14517. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  14518. const
  14519. TMR4_BASE_ADDRESS = $BF800C00;
  14520. var
  14521. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  14522. const
  14523. TMR5_BASE_ADDRESS = $BF800E00;
  14524. var
  14525. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  14526. const
  14527. UART1_BASE_ADDRESS = $BF806000;
  14528. var
  14529. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  14530. const
  14531. UART2_BASE_ADDRESS = $BF806200;
  14532. var
  14533. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  14534. const
  14535. UART3_BASE_ADDRESS = $BF806400;
  14536. var
  14537. UART3 : TUART3Registers absolute UART3_BASE_ADDRESS;
  14538. const
  14539. UART4_BASE_ADDRESS = $BF806600;
  14540. var
  14541. UART4 : TUART4Registers absolute UART4_BASE_ADDRESS;
  14542. const
  14543. UART5_BASE_ADDRESS = $BF806800;
  14544. var
  14545. UART5 : TUART5Registers absolute UART5_BASE_ADDRESS;
  14546. const
  14547. USB_BASE_ADDRESS = $BF885040;
  14548. var
  14549. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  14550. const
  14551. WDT_BASE_ADDRESS = $BF800000;
  14552. var
  14553. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  14554. implementation
  14555. type
  14556. TDefRegMap = record
  14557. val : longWord;
  14558. clr : longWord;
  14559. &set : longWord;
  14560. inv : longWord;
  14561. end;
  14562. pTDefRegMap = ^TDefRegMap;
  14563. procedure TWDT_WDTCON.setWDTCLR; inline;
  14564. begin
  14565. pTDefRegMap(@Self)^.&set := $00000001;
  14566. end;
  14567. procedure TWDT_WDTCON.clearWDTCLR; inline;
  14568. begin
  14569. pTDefRegMap(@Self)^.clr := $00000001;
  14570. end;
  14571. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  14572. begin
  14573. if thebits = 0 then
  14574. pTDefRegMap(@Self)^.clr := $00000001
  14575. else
  14576. pTDefRegMap(@Self)^.&set := $00000001;
  14577. end;
  14578. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  14579. begin
  14580. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14581. end;
  14582. procedure TWDT_WDTCON.setWDTWINEN; inline;
  14583. begin
  14584. pTDefRegMap(@Self)^.&set := $00000002;
  14585. end;
  14586. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  14587. begin
  14588. pTDefRegMap(@Self)^.clr := $00000002;
  14589. end;
  14590. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  14591. begin
  14592. if thebits = 0 then
  14593. pTDefRegMap(@Self)^.clr := $00000002
  14594. else
  14595. pTDefRegMap(@Self)^.&set := $00000002;
  14596. end;
  14597. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  14598. begin
  14599. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14600. end;
  14601. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  14602. begin
  14603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  14604. end;
  14605. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  14606. begin
  14607. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  14608. end;
  14609. procedure TWDT_WDTCON.setON; inline;
  14610. begin
  14611. pTDefRegMap(@Self)^.&set := $00008000;
  14612. end;
  14613. procedure TWDT_WDTCON.clearON; inline;
  14614. begin
  14615. pTDefRegMap(@Self)^.clr := $00008000;
  14616. end;
  14617. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  14618. begin
  14619. if thebits = 0 then
  14620. pTDefRegMap(@Self)^.clr := $00008000
  14621. else
  14622. pTDefRegMap(@Self)^.&set := $00008000;
  14623. end;
  14624. function TWDT_WDTCON.getON : TBits_1; inline;
  14625. begin
  14626. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14627. end;
  14628. procedure TWDT_WDTCON.setSWDTPS0; inline;
  14629. begin
  14630. pTDefRegMap(@Self)^.&set := $00000004;
  14631. end;
  14632. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  14633. begin
  14634. pTDefRegMap(@Self)^.clr := $00000004;
  14635. end;
  14636. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  14637. begin
  14638. if thebits = 0 then
  14639. pTDefRegMap(@Self)^.clr := $00000004
  14640. else
  14641. pTDefRegMap(@Self)^.&set := $00000004;
  14642. end;
  14643. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  14644. begin
  14645. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14646. end;
  14647. procedure TWDT_WDTCON.setSWDTPS1; inline;
  14648. begin
  14649. pTDefRegMap(@Self)^.&set := $00000008;
  14650. end;
  14651. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  14652. begin
  14653. pTDefRegMap(@Self)^.clr := $00000008;
  14654. end;
  14655. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  14656. begin
  14657. if thebits = 0 then
  14658. pTDefRegMap(@Self)^.clr := $00000008
  14659. else
  14660. pTDefRegMap(@Self)^.&set := $00000008;
  14661. end;
  14662. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  14663. begin
  14664. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14665. end;
  14666. procedure TWDT_WDTCON.setSWDTPS2; inline;
  14667. begin
  14668. pTDefRegMap(@Self)^.&set := $00000010;
  14669. end;
  14670. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  14671. begin
  14672. pTDefRegMap(@Self)^.clr := $00000010;
  14673. end;
  14674. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  14675. begin
  14676. if thebits = 0 then
  14677. pTDefRegMap(@Self)^.clr := $00000010
  14678. else
  14679. pTDefRegMap(@Self)^.&set := $00000010;
  14680. end;
  14681. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  14682. begin
  14683. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14684. end;
  14685. procedure TWDT_WDTCON.setSWDTPS3; inline;
  14686. begin
  14687. pTDefRegMap(@Self)^.&set := $00000020;
  14688. end;
  14689. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  14690. begin
  14691. pTDefRegMap(@Self)^.clr := $00000020;
  14692. end;
  14693. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  14694. begin
  14695. if thebits = 0 then
  14696. pTDefRegMap(@Self)^.clr := $00000020
  14697. else
  14698. pTDefRegMap(@Self)^.&set := $00000020;
  14699. end;
  14700. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  14701. begin
  14702. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14703. end;
  14704. procedure TWDT_WDTCON.setSWDTPS4; inline;
  14705. begin
  14706. pTDefRegMap(@Self)^.&set := $00000040;
  14707. end;
  14708. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  14709. begin
  14710. pTDefRegMap(@Self)^.clr := $00000040;
  14711. end;
  14712. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  14713. begin
  14714. if thebits = 0 then
  14715. pTDefRegMap(@Self)^.clr := $00000040
  14716. else
  14717. pTDefRegMap(@Self)^.&set := $00000040;
  14718. end;
  14719. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  14720. begin
  14721. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14722. end;
  14723. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  14724. begin
  14725. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  14726. end;
  14727. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  14728. begin
  14729. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  14730. end;
  14731. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  14732. begin
  14733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  14734. end;
  14735. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  14736. begin
  14737. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  14738. end;
  14739. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  14740. begin
  14741. pTDefRegMap(@Self)^.val := thebits;
  14742. end;
  14743. function TWDT_WDTCON.getw : TBits_32; inline;
  14744. begin
  14745. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14746. end;
  14747. procedure TRTCC_RTCCON.setRTCOE; inline;
  14748. begin
  14749. pTDefRegMap(@Self)^.&set := $00000001;
  14750. end;
  14751. procedure TRTCC_RTCCON.clearRTCOE; inline;
  14752. begin
  14753. pTDefRegMap(@Self)^.clr := $00000001;
  14754. end;
  14755. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  14756. begin
  14757. if thebits = 0 then
  14758. pTDefRegMap(@Self)^.clr := $00000001
  14759. else
  14760. pTDefRegMap(@Self)^.&set := $00000001;
  14761. end;
  14762. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  14763. begin
  14764. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14765. end;
  14766. procedure TRTCC_RTCCON.setHALFSEC; inline;
  14767. begin
  14768. pTDefRegMap(@Self)^.&set := $00000002;
  14769. end;
  14770. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  14771. begin
  14772. pTDefRegMap(@Self)^.clr := $00000002;
  14773. end;
  14774. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  14775. begin
  14776. if thebits = 0 then
  14777. pTDefRegMap(@Self)^.clr := $00000002
  14778. else
  14779. pTDefRegMap(@Self)^.&set := $00000002;
  14780. end;
  14781. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  14782. begin
  14783. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14784. end;
  14785. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  14786. begin
  14787. pTDefRegMap(@Self)^.&set := $00000004;
  14788. end;
  14789. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  14790. begin
  14791. pTDefRegMap(@Self)^.clr := $00000004;
  14792. end;
  14793. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  14794. begin
  14795. if thebits = 0 then
  14796. pTDefRegMap(@Self)^.clr := $00000004
  14797. else
  14798. pTDefRegMap(@Self)^.&set := $00000004;
  14799. end;
  14800. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  14801. begin
  14802. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14803. end;
  14804. procedure TRTCC_RTCCON.setRTCWREN; inline;
  14805. begin
  14806. pTDefRegMap(@Self)^.&set := $00000008;
  14807. end;
  14808. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  14809. begin
  14810. pTDefRegMap(@Self)^.clr := $00000008;
  14811. end;
  14812. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  14813. begin
  14814. if thebits = 0 then
  14815. pTDefRegMap(@Self)^.clr := $00000008
  14816. else
  14817. pTDefRegMap(@Self)^.&set := $00000008;
  14818. end;
  14819. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  14820. begin
  14821. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14822. end;
  14823. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  14824. begin
  14825. pTDefRegMap(@Self)^.&set := $00000040;
  14826. end;
  14827. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  14828. begin
  14829. pTDefRegMap(@Self)^.clr := $00000040;
  14830. end;
  14831. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  14832. begin
  14833. if thebits = 0 then
  14834. pTDefRegMap(@Self)^.clr := $00000040
  14835. else
  14836. pTDefRegMap(@Self)^.&set := $00000040;
  14837. end;
  14838. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  14839. begin
  14840. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14841. end;
  14842. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  14843. begin
  14844. pTDefRegMap(@Self)^.&set := $00000080;
  14845. end;
  14846. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  14847. begin
  14848. pTDefRegMap(@Self)^.clr := $00000080;
  14849. end;
  14850. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  14851. begin
  14852. if thebits = 0 then
  14853. pTDefRegMap(@Self)^.clr := $00000080
  14854. else
  14855. pTDefRegMap(@Self)^.&set := $00000080;
  14856. end;
  14857. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  14858. begin
  14859. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14860. end;
  14861. procedure TRTCC_RTCCON.setSIDL; inline;
  14862. begin
  14863. pTDefRegMap(@Self)^.&set := $00002000;
  14864. end;
  14865. procedure TRTCC_RTCCON.clearSIDL; inline;
  14866. begin
  14867. pTDefRegMap(@Self)^.clr := $00002000;
  14868. end;
  14869. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  14870. begin
  14871. if thebits = 0 then
  14872. pTDefRegMap(@Self)^.clr := $00002000
  14873. else
  14874. pTDefRegMap(@Self)^.&set := $00002000;
  14875. end;
  14876. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  14877. begin
  14878. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14879. end;
  14880. procedure TRTCC_RTCCON.setON; inline;
  14881. begin
  14882. pTDefRegMap(@Self)^.&set := $00008000;
  14883. end;
  14884. procedure TRTCC_RTCCON.clearON; inline;
  14885. begin
  14886. pTDefRegMap(@Self)^.clr := $00008000;
  14887. end;
  14888. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  14889. begin
  14890. if thebits = 0 then
  14891. pTDefRegMap(@Self)^.clr := $00008000
  14892. else
  14893. pTDefRegMap(@Self)^.&set := $00008000;
  14894. end;
  14895. function TRTCC_RTCCON.getON : TBits_1; inline;
  14896. begin
  14897. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14898. end;
  14899. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  14900. begin
  14901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  14902. end;
  14903. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  14904. begin
  14905. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  14906. end;
  14907. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  14908. begin
  14909. pTDefRegMap(@Self)^.val := thebits;
  14910. end;
  14911. function TRTCC_RTCCON.getw : TBits_32; inline;
  14912. begin
  14913. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14914. end;
  14915. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  14916. begin
  14917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  14918. end;
  14919. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  14920. begin
  14921. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  14922. end;
  14923. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  14924. begin
  14925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  14926. end;
  14927. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  14928. begin
  14929. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  14930. end;
  14931. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  14932. begin
  14933. pTDefRegMap(@Self)^.&set := $00001000;
  14934. end;
  14935. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  14936. begin
  14937. pTDefRegMap(@Self)^.clr := $00001000;
  14938. end;
  14939. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  14940. begin
  14941. if thebits = 0 then
  14942. pTDefRegMap(@Self)^.clr := $00001000
  14943. else
  14944. pTDefRegMap(@Self)^.&set := $00001000;
  14945. end;
  14946. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  14947. begin
  14948. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14949. end;
  14950. procedure TRTCC_RTCALRM.setPIV; inline;
  14951. begin
  14952. pTDefRegMap(@Self)^.&set := $00002000;
  14953. end;
  14954. procedure TRTCC_RTCALRM.clearPIV; inline;
  14955. begin
  14956. pTDefRegMap(@Self)^.clr := $00002000;
  14957. end;
  14958. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  14959. begin
  14960. if thebits = 0 then
  14961. pTDefRegMap(@Self)^.clr := $00002000
  14962. else
  14963. pTDefRegMap(@Self)^.&set := $00002000;
  14964. end;
  14965. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  14966. begin
  14967. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14968. end;
  14969. procedure TRTCC_RTCALRM.setCHIME; inline;
  14970. begin
  14971. pTDefRegMap(@Self)^.&set := $00004000;
  14972. end;
  14973. procedure TRTCC_RTCALRM.clearCHIME; inline;
  14974. begin
  14975. pTDefRegMap(@Self)^.clr := $00004000;
  14976. end;
  14977. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  14978. begin
  14979. if thebits = 0 then
  14980. pTDefRegMap(@Self)^.clr := $00004000
  14981. else
  14982. pTDefRegMap(@Self)^.&set := $00004000;
  14983. end;
  14984. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  14985. begin
  14986. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14987. end;
  14988. procedure TRTCC_RTCALRM.setALRMEN; inline;
  14989. begin
  14990. pTDefRegMap(@Self)^.&set := $00008000;
  14991. end;
  14992. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  14993. begin
  14994. pTDefRegMap(@Self)^.clr := $00008000;
  14995. end;
  14996. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  14997. begin
  14998. if thebits = 0 then
  14999. pTDefRegMap(@Self)^.clr := $00008000
  15000. else
  15001. pTDefRegMap(@Self)^.&set := $00008000;
  15002. end;
  15003. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  15004. begin
  15005. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15006. end;
  15007. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  15008. begin
  15009. pTDefRegMap(@Self)^.val := thebits;
  15010. end;
  15011. function TRTCC_RTCALRM.getw : TBits_32; inline;
  15012. begin
  15013. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15014. end;
  15015. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  15016. begin
  15017. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15018. end;
  15019. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  15020. begin
  15021. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15022. end;
  15023. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  15024. begin
  15025. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15026. end;
  15027. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  15028. begin
  15029. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15030. end;
  15031. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  15032. begin
  15033. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15034. end;
  15035. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  15036. begin
  15037. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15038. end;
  15039. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  15040. begin
  15041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15042. end;
  15043. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  15044. begin
  15045. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15046. end;
  15047. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  15048. begin
  15049. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  15050. end;
  15051. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  15052. begin
  15053. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  15054. end;
  15055. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  15056. begin
  15057. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  15058. end;
  15059. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  15060. begin
  15061. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  15062. end;
  15063. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  15064. begin
  15065. pTDefRegMap(@Self)^.val := thebits;
  15066. end;
  15067. function TRTCC_RTCTIME.getw : TBits_32; inline;
  15068. begin
  15069. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15070. end;
  15071. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  15072. begin
  15073. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  15074. end;
  15075. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  15076. begin
  15077. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  15078. end;
  15079. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  15080. begin
  15081. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15082. end;
  15083. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  15084. begin
  15085. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15086. end;
  15087. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  15088. begin
  15089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15090. end;
  15091. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  15092. begin
  15093. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15094. end;
  15095. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  15096. begin
  15097. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15098. end;
  15099. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  15100. begin
  15101. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15102. end;
  15103. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  15104. begin
  15105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15106. end;
  15107. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  15108. begin
  15109. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15110. end;
  15111. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  15112. begin
  15113. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  15114. end;
  15115. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  15116. begin
  15117. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  15118. end;
  15119. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  15120. begin
  15121. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  15122. end;
  15123. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  15124. begin
  15125. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  15126. end;
  15127. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  15128. begin
  15129. pTDefRegMap(@Self)^.val := thebits;
  15130. end;
  15131. function TRTCC_RTCDATE.getw : TBits_32; inline;
  15132. begin
  15133. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15134. end;
  15135. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  15136. begin
  15137. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15138. end;
  15139. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  15140. begin
  15141. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15142. end;
  15143. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  15144. begin
  15145. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15146. end;
  15147. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  15148. begin
  15149. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15150. end;
  15151. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  15152. begin
  15153. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15154. end;
  15155. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  15156. begin
  15157. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15158. end;
  15159. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  15160. begin
  15161. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15162. end;
  15163. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  15164. begin
  15165. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15166. end;
  15167. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  15168. begin
  15169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  15170. end;
  15171. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  15172. begin
  15173. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  15174. end;
  15175. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  15176. begin
  15177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  15178. end;
  15179. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  15180. begin
  15181. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  15182. end;
  15183. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  15184. begin
  15185. pTDefRegMap(@Self)^.val := thebits;
  15186. end;
  15187. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  15188. begin
  15189. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15190. end;
  15191. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  15192. begin
  15193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  15194. end;
  15195. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  15196. begin
  15197. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  15198. end;
  15199. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  15200. begin
  15201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15202. end;
  15203. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  15204. begin
  15205. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15206. end;
  15207. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  15208. begin
  15209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15210. end;
  15211. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  15212. begin
  15213. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15214. end;
  15215. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  15216. begin
  15217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15218. end;
  15219. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  15220. begin
  15221. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15222. end;
  15223. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  15224. begin
  15225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15226. end;
  15227. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  15228. begin
  15229. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15230. end;
  15231. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  15232. begin
  15233. pTDefRegMap(@Self)^.val := thebits;
  15234. end;
  15235. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  15236. begin
  15237. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15238. end;
  15239. procedure TTMR1_T1CON.setTCS; inline;
  15240. begin
  15241. pTDefRegMap(@Self)^.&set := $00000002;
  15242. end;
  15243. procedure TTMR1_T1CON.clearTCS; inline;
  15244. begin
  15245. pTDefRegMap(@Self)^.clr := $00000002;
  15246. end;
  15247. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  15248. begin
  15249. if thebits = 0 then
  15250. pTDefRegMap(@Self)^.clr := $00000002
  15251. else
  15252. pTDefRegMap(@Self)^.&set := $00000002;
  15253. end;
  15254. function TTMR1_T1CON.getTCS : TBits_1; inline;
  15255. begin
  15256. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15257. end;
  15258. procedure TTMR1_T1CON.setTSYNC; inline;
  15259. begin
  15260. pTDefRegMap(@Self)^.&set := $00000004;
  15261. end;
  15262. procedure TTMR1_T1CON.clearTSYNC; inline;
  15263. begin
  15264. pTDefRegMap(@Self)^.clr := $00000004;
  15265. end;
  15266. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  15267. begin
  15268. if thebits = 0 then
  15269. pTDefRegMap(@Self)^.clr := $00000004
  15270. else
  15271. pTDefRegMap(@Self)^.&set := $00000004;
  15272. end;
  15273. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  15274. begin
  15275. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15276. end;
  15277. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  15278. begin
  15279. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  15280. end;
  15281. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  15282. begin
  15283. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  15284. end;
  15285. procedure TTMR1_T1CON.setTGATE; inline;
  15286. begin
  15287. pTDefRegMap(@Self)^.&set := $00000080;
  15288. end;
  15289. procedure TTMR1_T1CON.clearTGATE; inline;
  15290. begin
  15291. pTDefRegMap(@Self)^.clr := $00000080;
  15292. end;
  15293. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  15294. begin
  15295. if thebits = 0 then
  15296. pTDefRegMap(@Self)^.clr := $00000080
  15297. else
  15298. pTDefRegMap(@Self)^.&set := $00000080;
  15299. end;
  15300. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  15301. begin
  15302. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15303. end;
  15304. procedure TTMR1_T1CON.setTWIP; inline;
  15305. begin
  15306. pTDefRegMap(@Self)^.&set := $00000800;
  15307. end;
  15308. procedure TTMR1_T1CON.clearTWIP; inline;
  15309. begin
  15310. pTDefRegMap(@Self)^.clr := $00000800;
  15311. end;
  15312. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  15313. begin
  15314. if thebits = 0 then
  15315. pTDefRegMap(@Self)^.clr := $00000800
  15316. else
  15317. pTDefRegMap(@Self)^.&set := $00000800;
  15318. end;
  15319. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  15320. begin
  15321. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15322. end;
  15323. procedure TTMR1_T1CON.setTWDIS; inline;
  15324. begin
  15325. pTDefRegMap(@Self)^.&set := $00001000;
  15326. end;
  15327. procedure TTMR1_T1CON.clearTWDIS; inline;
  15328. begin
  15329. pTDefRegMap(@Self)^.clr := $00001000;
  15330. end;
  15331. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  15332. begin
  15333. if thebits = 0 then
  15334. pTDefRegMap(@Self)^.clr := $00001000
  15335. else
  15336. pTDefRegMap(@Self)^.&set := $00001000;
  15337. end;
  15338. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  15339. begin
  15340. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15341. end;
  15342. procedure TTMR1_T1CON.setSIDL; inline;
  15343. begin
  15344. pTDefRegMap(@Self)^.&set := $00002000;
  15345. end;
  15346. procedure TTMR1_T1CON.clearSIDL; inline;
  15347. begin
  15348. pTDefRegMap(@Self)^.clr := $00002000;
  15349. end;
  15350. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  15351. begin
  15352. if thebits = 0 then
  15353. pTDefRegMap(@Self)^.clr := $00002000
  15354. else
  15355. pTDefRegMap(@Self)^.&set := $00002000;
  15356. end;
  15357. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  15358. begin
  15359. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15360. end;
  15361. procedure TTMR1_T1CON.setON; inline;
  15362. begin
  15363. pTDefRegMap(@Self)^.&set := $00008000;
  15364. end;
  15365. procedure TTMR1_T1CON.clearON; inline;
  15366. begin
  15367. pTDefRegMap(@Self)^.clr := $00008000;
  15368. end;
  15369. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  15370. begin
  15371. if thebits = 0 then
  15372. pTDefRegMap(@Self)^.clr := $00008000
  15373. else
  15374. pTDefRegMap(@Self)^.&set := $00008000;
  15375. end;
  15376. function TTMR1_T1CON.getON : TBits_1; inline;
  15377. begin
  15378. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15379. end;
  15380. procedure TTMR1_T1CON.setTCKPS0; inline;
  15381. begin
  15382. pTDefRegMap(@Self)^.&set := $00000010;
  15383. end;
  15384. procedure TTMR1_T1CON.clearTCKPS0; inline;
  15385. begin
  15386. pTDefRegMap(@Self)^.clr := $00000010;
  15387. end;
  15388. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  15389. begin
  15390. if thebits = 0 then
  15391. pTDefRegMap(@Self)^.clr := $00000010
  15392. else
  15393. pTDefRegMap(@Self)^.&set := $00000010;
  15394. end;
  15395. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  15396. begin
  15397. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15398. end;
  15399. procedure TTMR1_T1CON.setTCKPS1; inline;
  15400. begin
  15401. pTDefRegMap(@Self)^.&set := $00000020;
  15402. end;
  15403. procedure TTMR1_T1CON.clearTCKPS1; inline;
  15404. begin
  15405. pTDefRegMap(@Self)^.clr := $00000020;
  15406. end;
  15407. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  15408. begin
  15409. if thebits = 0 then
  15410. pTDefRegMap(@Self)^.clr := $00000020
  15411. else
  15412. pTDefRegMap(@Self)^.&set := $00000020;
  15413. end;
  15414. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  15415. begin
  15416. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15417. end;
  15418. procedure TTMR1_T1CON.setTSIDL; inline;
  15419. begin
  15420. pTDefRegMap(@Self)^.&set := $00002000;
  15421. end;
  15422. procedure TTMR1_T1CON.clearTSIDL; inline;
  15423. begin
  15424. pTDefRegMap(@Self)^.clr := $00002000;
  15425. end;
  15426. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  15427. begin
  15428. if thebits = 0 then
  15429. pTDefRegMap(@Self)^.clr := $00002000
  15430. else
  15431. pTDefRegMap(@Self)^.&set := $00002000;
  15432. end;
  15433. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  15434. begin
  15435. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15436. end;
  15437. procedure TTMR1_T1CON.setTON; inline;
  15438. begin
  15439. pTDefRegMap(@Self)^.&set := $00008000;
  15440. end;
  15441. procedure TTMR1_T1CON.clearTON; inline;
  15442. begin
  15443. pTDefRegMap(@Self)^.clr := $00008000;
  15444. end;
  15445. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  15446. begin
  15447. if thebits = 0 then
  15448. pTDefRegMap(@Self)^.clr := $00008000
  15449. else
  15450. pTDefRegMap(@Self)^.&set := $00008000;
  15451. end;
  15452. function TTMR1_T1CON.getTON : TBits_1; inline;
  15453. begin
  15454. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15455. end;
  15456. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  15457. begin
  15458. pTDefRegMap(@Self)^.val := thebits;
  15459. end;
  15460. function TTMR1_T1CON.getw : TBits_32; inline;
  15461. begin
  15462. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15463. end;
  15464. procedure TTMR2_T2CON.setTCS; inline;
  15465. begin
  15466. pTDefRegMap(@Self)^.&set := $00000002;
  15467. end;
  15468. procedure TTMR2_T2CON.clearTCS; inline;
  15469. begin
  15470. pTDefRegMap(@Self)^.clr := $00000002;
  15471. end;
  15472. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  15473. begin
  15474. if thebits = 0 then
  15475. pTDefRegMap(@Self)^.clr := $00000002
  15476. else
  15477. pTDefRegMap(@Self)^.&set := $00000002;
  15478. end;
  15479. function TTMR2_T2CON.getTCS : TBits_1; inline;
  15480. begin
  15481. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15482. end;
  15483. procedure TTMR2_T2CON.setT32; inline;
  15484. begin
  15485. pTDefRegMap(@Self)^.&set := $00000008;
  15486. end;
  15487. procedure TTMR2_T2CON.clearT32; inline;
  15488. begin
  15489. pTDefRegMap(@Self)^.clr := $00000008;
  15490. end;
  15491. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  15492. begin
  15493. if thebits = 0 then
  15494. pTDefRegMap(@Self)^.clr := $00000008
  15495. else
  15496. pTDefRegMap(@Self)^.&set := $00000008;
  15497. end;
  15498. function TTMR2_T2CON.getT32 : TBits_1; inline;
  15499. begin
  15500. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15501. end;
  15502. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  15503. begin
  15504. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  15505. end;
  15506. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  15507. begin
  15508. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  15509. end;
  15510. procedure TTMR2_T2CON.setTGATE; inline;
  15511. begin
  15512. pTDefRegMap(@Self)^.&set := $00000080;
  15513. end;
  15514. procedure TTMR2_T2CON.clearTGATE; inline;
  15515. begin
  15516. pTDefRegMap(@Self)^.clr := $00000080;
  15517. end;
  15518. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  15519. begin
  15520. if thebits = 0 then
  15521. pTDefRegMap(@Self)^.clr := $00000080
  15522. else
  15523. pTDefRegMap(@Self)^.&set := $00000080;
  15524. end;
  15525. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  15526. begin
  15527. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15528. end;
  15529. procedure TTMR2_T2CON.setSIDL; inline;
  15530. begin
  15531. pTDefRegMap(@Self)^.&set := $00002000;
  15532. end;
  15533. procedure TTMR2_T2CON.clearSIDL; inline;
  15534. begin
  15535. pTDefRegMap(@Self)^.clr := $00002000;
  15536. end;
  15537. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  15538. begin
  15539. if thebits = 0 then
  15540. pTDefRegMap(@Self)^.clr := $00002000
  15541. else
  15542. pTDefRegMap(@Self)^.&set := $00002000;
  15543. end;
  15544. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  15545. begin
  15546. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15547. end;
  15548. procedure TTMR2_T2CON.setON; inline;
  15549. begin
  15550. pTDefRegMap(@Self)^.&set := $00008000;
  15551. end;
  15552. procedure TTMR2_T2CON.clearON; inline;
  15553. begin
  15554. pTDefRegMap(@Self)^.clr := $00008000;
  15555. end;
  15556. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  15557. begin
  15558. if thebits = 0 then
  15559. pTDefRegMap(@Self)^.clr := $00008000
  15560. else
  15561. pTDefRegMap(@Self)^.&set := $00008000;
  15562. end;
  15563. function TTMR2_T2CON.getON : TBits_1; inline;
  15564. begin
  15565. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15566. end;
  15567. procedure TTMR2_T2CON.setTCKPS0; inline;
  15568. begin
  15569. pTDefRegMap(@Self)^.&set := $00000010;
  15570. end;
  15571. procedure TTMR2_T2CON.clearTCKPS0; inline;
  15572. begin
  15573. pTDefRegMap(@Self)^.clr := $00000010;
  15574. end;
  15575. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  15576. begin
  15577. if thebits = 0 then
  15578. pTDefRegMap(@Self)^.clr := $00000010
  15579. else
  15580. pTDefRegMap(@Self)^.&set := $00000010;
  15581. end;
  15582. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  15583. begin
  15584. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15585. end;
  15586. procedure TTMR2_T2CON.setTCKPS1; inline;
  15587. begin
  15588. pTDefRegMap(@Self)^.&set := $00000020;
  15589. end;
  15590. procedure TTMR2_T2CON.clearTCKPS1; inline;
  15591. begin
  15592. pTDefRegMap(@Self)^.clr := $00000020;
  15593. end;
  15594. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  15595. begin
  15596. if thebits = 0 then
  15597. pTDefRegMap(@Self)^.clr := $00000020
  15598. else
  15599. pTDefRegMap(@Self)^.&set := $00000020;
  15600. end;
  15601. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  15602. begin
  15603. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15604. end;
  15605. procedure TTMR2_T2CON.setTCKPS2; inline;
  15606. begin
  15607. pTDefRegMap(@Self)^.&set := $00000040;
  15608. end;
  15609. procedure TTMR2_T2CON.clearTCKPS2; inline;
  15610. begin
  15611. pTDefRegMap(@Self)^.clr := $00000040;
  15612. end;
  15613. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  15614. begin
  15615. if thebits = 0 then
  15616. pTDefRegMap(@Self)^.clr := $00000040
  15617. else
  15618. pTDefRegMap(@Self)^.&set := $00000040;
  15619. end;
  15620. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  15621. begin
  15622. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15623. end;
  15624. procedure TTMR2_T2CON.setTSIDL; inline;
  15625. begin
  15626. pTDefRegMap(@Self)^.&set := $00002000;
  15627. end;
  15628. procedure TTMR2_T2CON.clearTSIDL; inline;
  15629. begin
  15630. pTDefRegMap(@Self)^.clr := $00002000;
  15631. end;
  15632. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  15633. begin
  15634. if thebits = 0 then
  15635. pTDefRegMap(@Self)^.clr := $00002000
  15636. else
  15637. pTDefRegMap(@Self)^.&set := $00002000;
  15638. end;
  15639. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  15640. begin
  15641. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15642. end;
  15643. procedure TTMR2_T2CON.setTON; inline;
  15644. begin
  15645. pTDefRegMap(@Self)^.&set := $00008000;
  15646. end;
  15647. procedure TTMR2_T2CON.clearTON; inline;
  15648. begin
  15649. pTDefRegMap(@Self)^.clr := $00008000;
  15650. end;
  15651. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  15652. begin
  15653. if thebits = 0 then
  15654. pTDefRegMap(@Self)^.clr := $00008000
  15655. else
  15656. pTDefRegMap(@Self)^.&set := $00008000;
  15657. end;
  15658. function TTMR2_T2CON.getTON : TBits_1; inline;
  15659. begin
  15660. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15661. end;
  15662. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  15663. begin
  15664. pTDefRegMap(@Self)^.val := thebits;
  15665. end;
  15666. function TTMR2_T2CON.getw : TBits_32; inline;
  15667. begin
  15668. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15669. end;
  15670. procedure TTMR3_T3CON.setTCS; inline;
  15671. begin
  15672. pTDefRegMap(@Self)^.&set := $00000002;
  15673. end;
  15674. procedure TTMR3_T3CON.clearTCS; inline;
  15675. begin
  15676. pTDefRegMap(@Self)^.clr := $00000002;
  15677. end;
  15678. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  15679. begin
  15680. if thebits = 0 then
  15681. pTDefRegMap(@Self)^.clr := $00000002
  15682. else
  15683. pTDefRegMap(@Self)^.&set := $00000002;
  15684. end;
  15685. function TTMR3_T3CON.getTCS : TBits_1; inline;
  15686. begin
  15687. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15688. end;
  15689. procedure TTMR3_T3CON.setT32; inline;
  15690. begin
  15691. pTDefRegMap(@Self)^.&set := $00000008;
  15692. end;
  15693. procedure TTMR3_T3CON.clearT32; inline;
  15694. begin
  15695. pTDefRegMap(@Self)^.clr := $00000008;
  15696. end;
  15697. procedure TTMR3_T3CON.setT32(thebits : TBits_1); inline;
  15698. begin
  15699. if thebits = 0 then
  15700. pTDefRegMap(@Self)^.clr := $00000008
  15701. else
  15702. pTDefRegMap(@Self)^.&set := $00000008;
  15703. end;
  15704. function TTMR3_T3CON.getT32 : TBits_1; inline;
  15705. begin
  15706. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15707. end;
  15708. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  15709. begin
  15710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  15711. end;
  15712. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  15713. begin
  15714. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  15715. end;
  15716. procedure TTMR3_T3CON.setTGATE; inline;
  15717. begin
  15718. pTDefRegMap(@Self)^.&set := $00000080;
  15719. end;
  15720. procedure TTMR3_T3CON.clearTGATE; inline;
  15721. begin
  15722. pTDefRegMap(@Self)^.clr := $00000080;
  15723. end;
  15724. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  15725. begin
  15726. if thebits = 0 then
  15727. pTDefRegMap(@Self)^.clr := $00000080
  15728. else
  15729. pTDefRegMap(@Self)^.&set := $00000080;
  15730. end;
  15731. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  15732. begin
  15733. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15734. end;
  15735. procedure TTMR3_T3CON.setSIDL; inline;
  15736. begin
  15737. pTDefRegMap(@Self)^.&set := $00002000;
  15738. end;
  15739. procedure TTMR3_T3CON.clearSIDL; inline;
  15740. begin
  15741. pTDefRegMap(@Self)^.clr := $00002000;
  15742. end;
  15743. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  15744. begin
  15745. if thebits = 0 then
  15746. pTDefRegMap(@Self)^.clr := $00002000
  15747. else
  15748. pTDefRegMap(@Self)^.&set := $00002000;
  15749. end;
  15750. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  15751. begin
  15752. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15753. end;
  15754. procedure TTMR3_T3CON.setON; inline;
  15755. begin
  15756. pTDefRegMap(@Self)^.&set := $00008000;
  15757. end;
  15758. procedure TTMR3_T3CON.clearON; inline;
  15759. begin
  15760. pTDefRegMap(@Self)^.clr := $00008000;
  15761. end;
  15762. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  15763. begin
  15764. if thebits = 0 then
  15765. pTDefRegMap(@Self)^.clr := $00008000
  15766. else
  15767. pTDefRegMap(@Self)^.&set := $00008000;
  15768. end;
  15769. function TTMR3_T3CON.getON : TBits_1; inline;
  15770. begin
  15771. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15772. end;
  15773. procedure TTMR3_T3CON.setTCKPS0; inline;
  15774. begin
  15775. pTDefRegMap(@Self)^.&set := $00000010;
  15776. end;
  15777. procedure TTMR3_T3CON.clearTCKPS0; inline;
  15778. begin
  15779. pTDefRegMap(@Self)^.clr := $00000010;
  15780. end;
  15781. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  15782. begin
  15783. if thebits = 0 then
  15784. pTDefRegMap(@Self)^.clr := $00000010
  15785. else
  15786. pTDefRegMap(@Self)^.&set := $00000010;
  15787. end;
  15788. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  15789. begin
  15790. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15791. end;
  15792. procedure TTMR3_T3CON.setTCKPS1; inline;
  15793. begin
  15794. pTDefRegMap(@Self)^.&set := $00000020;
  15795. end;
  15796. procedure TTMR3_T3CON.clearTCKPS1; inline;
  15797. begin
  15798. pTDefRegMap(@Self)^.clr := $00000020;
  15799. end;
  15800. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  15801. begin
  15802. if thebits = 0 then
  15803. pTDefRegMap(@Self)^.clr := $00000020
  15804. else
  15805. pTDefRegMap(@Self)^.&set := $00000020;
  15806. end;
  15807. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  15808. begin
  15809. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15810. end;
  15811. procedure TTMR3_T3CON.setTCKPS2; inline;
  15812. begin
  15813. pTDefRegMap(@Self)^.&set := $00000040;
  15814. end;
  15815. procedure TTMR3_T3CON.clearTCKPS2; inline;
  15816. begin
  15817. pTDefRegMap(@Self)^.clr := $00000040;
  15818. end;
  15819. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  15820. begin
  15821. if thebits = 0 then
  15822. pTDefRegMap(@Self)^.clr := $00000040
  15823. else
  15824. pTDefRegMap(@Self)^.&set := $00000040;
  15825. end;
  15826. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  15827. begin
  15828. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15829. end;
  15830. procedure TTMR3_T3CON.setTSIDL; inline;
  15831. begin
  15832. pTDefRegMap(@Self)^.&set := $00002000;
  15833. end;
  15834. procedure TTMR3_T3CON.clearTSIDL; inline;
  15835. begin
  15836. pTDefRegMap(@Self)^.clr := $00002000;
  15837. end;
  15838. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  15839. begin
  15840. if thebits = 0 then
  15841. pTDefRegMap(@Self)^.clr := $00002000
  15842. else
  15843. pTDefRegMap(@Self)^.&set := $00002000;
  15844. end;
  15845. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  15846. begin
  15847. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15848. end;
  15849. procedure TTMR3_T3CON.setTON; inline;
  15850. begin
  15851. pTDefRegMap(@Self)^.&set := $00008000;
  15852. end;
  15853. procedure TTMR3_T3CON.clearTON; inline;
  15854. begin
  15855. pTDefRegMap(@Self)^.clr := $00008000;
  15856. end;
  15857. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  15858. begin
  15859. if thebits = 0 then
  15860. pTDefRegMap(@Self)^.clr := $00008000
  15861. else
  15862. pTDefRegMap(@Self)^.&set := $00008000;
  15863. end;
  15864. function TTMR3_T3CON.getTON : TBits_1; inline;
  15865. begin
  15866. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15867. end;
  15868. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  15869. begin
  15870. pTDefRegMap(@Self)^.val := thebits;
  15871. end;
  15872. function TTMR3_T3CON.getw : TBits_32; inline;
  15873. begin
  15874. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15875. end;
  15876. procedure TTMR4_T4CON.setTCS; inline;
  15877. begin
  15878. pTDefRegMap(@Self)^.&set := $00000002;
  15879. end;
  15880. procedure TTMR4_T4CON.clearTCS; inline;
  15881. begin
  15882. pTDefRegMap(@Self)^.clr := $00000002;
  15883. end;
  15884. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  15885. begin
  15886. if thebits = 0 then
  15887. pTDefRegMap(@Self)^.clr := $00000002
  15888. else
  15889. pTDefRegMap(@Self)^.&set := $00000002;
  15890. end;
  15891. function TTMR4_T4CON.getTCS : TBits_1; inline;
  15892. begin
  15893. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15894. end;
  15895. procedure TTMR4_T4CON.setT32; inline;
  15896. begin
  15897. pTDefRegMap(@Self)^.&set := $00000008;
  15898. end;
  15899. procedure TTMR4_T4CON.clearT32; inline;
  15900. begin
  15901. pTDefRegMap(@Self)^.clr := $00000008;
  15902. end;
  15903. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  15904. begin
  15905. if thebits = 0 then
  15906. pTDefRegMap(@Self)^.clr := $00000008
  15907. else
  15908. pTDefRegMap(@Self)^.&set := $00000008;
  15909. end;
  15910. function TTMR4_T4CON.getT32 : TBits_1; inline;
  15911. begin
  15912. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15913. end;
  15914. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  15915. begin
  15916. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  15917. end;
  15918. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  15919. begin
  15920. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  15921. end;
  15922. procedure TTMR4_T4CON.setTGATE; inline;
  15923. begin
  15924. pTDefRegMap(@Self)^.&set := $00000080;
  15925. end;
  15926. procedure TTMR4_T4CON.clearTGATE; inline;
  15927. begin
  15928. pTDefRegMap(@Self)^.clr := $00000080;
  15929. end;
  15930. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  15931. begin
  15932. if thebits = 0 then
  15933. pTDefRegMap(@Self)^.clr := $00000080
  15934. else
  15935. pTDefRegMap(@Self)^.&set := $00000080;
  15936. end;
  15937. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  15938. begin
  15939. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15940. end;
  15941. procedure TTMR4_T4CON.setSIDL; inline;
  15942. begin
  15943. pTDefRegMap(@Self)^.&set := $00002000;
  15944. end;
  15945. procedure TTMR4_T4CON.clearSIDL; inline;
  15946. begin
  15947. pTDefRegMap(@Self)^.clr := $00002000;
  15948. end;
  15949. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  15950. begin
  15951. if thebits = 0 then
  15952. pTDefRegMap(@Self)^.clr := $00002000
  15953. else
  15954. pTDefRegMap(@Self)^.&set := $00002000;
  15955. end;
  15956. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  15957. begin
  15958. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15959. end;
  15960. procedure TTMR4_T4CON.setON; inline;
  15961. begin
  15962. pTDefRegMap(@Self)^.&set := $00008000;
  15963. end;
  15964. procedure TTMR4_T4CON.clearON; inline;
  15965. begin
  15966. pTDefRegMap(@Self)^.clr := $00008000;
  15967. end;
  15968. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  15969. begin
  15970. if thebits = 0 then
  15971. pTDefRegMap(@Self)^.clr := $00008000
  15972. else
  15973. pTDefRegMap(@Self)^.&set := $00008000;
  15974. end;
  15975. function TTMR4_T4CON.getON : TBits_1; inline;
  15976. begin
  15977. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15978. end;
  15979. procedure TTMR4_T4CON.setTCKPS0; inline;
  15980. begin
  15981. pTDefRegMap(@Self)^.&set := $00000010;
  15982. end;
  15983. procedure TTMR4_T4CON.clearTCKPS0; inline;
  15984. begin
  15985. pTDefRegMap(@Self)^.clr := $00000010;
  15986. end;
  15987. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  15988. begin
  15989. if thebits = 0 then
  15990. pTDefRegMap(@Self)^.clr := $00000010
  15991. else
  15992. pTDefRegMap(@Self)^.&set := $00000010;
  15993. end;
  15994. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  15995. begin
  15996. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15997. end;
  15998. procedure TTMR4_T4CON.setTCKPS1; inline;
  15999. begin
  16000. pTDefRegMap(@Self)^.&set := $00000020;
  16001. end;
  16002. procedure TTMR4_T4CON.clearTCKPS1; inline;
  16003. begin
  16004. pTDefRegMap(@Self)^.clr := $00000020;
  16005. end;
  16006. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  16007. begin
  16008. if thebits = 0 then
  16009. pTDefRegMap(@Self)^.clr := $00000020
  16010. else
  16011. pTDefRegMap(@Self)^.&set := $00000020;
  16012. end;
  16013. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  16014. begin
  16015. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16016. end;
  16017. procedure TTMR4_T4CON.setTCKPS2; inline;
  16018. begin
  16019. pTDefRegMap(@Self)^.&set := $00000040;
  16020. end;
  16021. procedure TTMR4_T4CON.clearTCKPS2; inline;
  16022. begin
  16023. pTDefRegMap(@Self)^.clr := $00000040;
  16024. end;
  16025. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  16026. begin
  16027. if thebits = 0 then
  16028. pTDefRegMap(@Self)^.clr := $00000040
  16029. else
  16030. pTDefRegMap(@Self)^.&set := $00000040;
  16031. end;
  16032. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  16033. begin
  16034. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16035. end;
  16036. procedure TTMR4_T4CON.setTSIDL; inline;
  16037. begin
  16038. pTDefRegMap(@Self)^.&set := $00002000;
  16039. end;
  16040. procedure TTMR4_T4CON.clearTSIDL; inline;
  16041. begin
  16042. pTDefRegMap(@Self)^.clr := $00002000;
  16043. end;
  16044. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  16045. begin
  16046. if thebits = 0 then
  16047. pTDefRegMap(@Self)^.clr := $00002000
  16048. else
  16049. pTDefRegMap(@Self)^.&set := $00002000;
  16050. end;
  16051. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  16052. begin
  16053. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16054. end;
  16055. procedure TTMR4_T4CON.setTON; inline;
  16056. begin
  16057. pTDefRegMap(@Self)^.&set := $00008000;
  16058. end;
  16059. procedure TTMR4_T4CON.clearTON; inline;
  16060. begin
  16061. pTDefRegMap(@Self)^.clr := $00008000;
  16062. end;
  16063. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  16064. begin
  16065. if thebits = 0 then
  16066. pTDefRegMap(@Self)^.clr := $00008000
  16067. else
  16068. pTDefRegMap(@Self)^.&set := $00008000;
  16069. end;
  16070. function TTMR4_T4CON.getTON : TBits_1; inline;
  16071. begin
  16072. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16073. end;
  16074. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  16075. begin
  16076. pTDefRegMap(@Self)^.val := thebits;
  16077. end;
  16078. function TTMR4_T4CON.getw : TBits_32; inline;
  16079. begin
  16080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16081. end;
  16082. procedure TTMR5_T5CON.setTCS; inline;
  16083. begin
  16084. pTDefRegMap(@Self)^.&set := $00000002;
  16085. end;
  16086. procedure TTMR5_T5CON.clearTCS; inline;
  16087. begin
  16088. pTDefRegMap(@Self)^.clr := $00000002;
  16089. end;
  16090. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  16091. begin
  16092. if thebits = 0 then
  16093. pTDefRegMap(@Self)^.clr := $00000002
  16094. else
  16095. pTDefRegMap(@Self)^.&set := $00000002;
  16096. end;
  16097. function TTMR5_T5CON.getTCS : TBits_1; inline;
  16098. begin
  16099. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16100. end;
  16101. procedure TTMR5_T5CON.setT32; inline;
  16102. begin
  16103. pTDefRegMap(@Self)^.&set := $00000008;
  16104. end;
  16105. procedure TTMR5_T5CON.clearT32; inline;
  16106. begin
  16107. pTDefRegMap(@Self)^.clr := $00000008;
  16108. end;
  16109. procedure TTMR5_T5CON.setT32(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 TTMR5_T5CON.getT32 : TBits_1; inline;
  16117. begin
  16118. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16119. end;
  16120. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  16121. begin
  16122. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  16123. end;
  16124. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  16125. begin
  16126. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  16127. end;
  16128. procedure TTMR5_T5CON.setTGATE; inline;
  16129. begin
  16130. pTDefRegMap(@Self)^.&set := $00000080;
  16131. end;
  16132. procedure TTMR5_T5CON.clearTGATE; inline;
  16133. begin
  16134. pTDefRegMap(@Self)^.clr := $00000080;
  16135. end;
  16136. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  16137. begin
  16138. if thebits = 0 then
  16139. pTDefRegMap(@Self)^.clr := $00000080
  16140. else
  16141. pTDefRegMap(@Self)^.&set := $00000080;
  16142. end;
  16143. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  16144. begin
  16145. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16146. end;
  16147. procedure TTMR5_T5CON.setSIDL; inline;
  16148. begin
  16149. pTDefRegMap(@Self)^.&set := $00002000;
  16150. end;
  16151. procedure TTMR5_T5CON.clearSIDL; inline;
  16152. begin
  16153. pTDefRegMap(@Self)^.clr := $00002000;
  16154. end;
  16155. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  16156. begin
  16157. if thebits = 0 then
  16158. pTDefRegMap(@Self)^.clr := $00002000
  16159. else
  16160. pTDefRegMap(@Self)^.&set := $00002000;
  16161. end;
  16162. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  16163. begin
  16164. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16165. end;
  16166. procedure TTMR5_T5CON.setON; inline;
  16167. begin
  16168. pTDefRegMap(@Self)^.&set := $00008000;
  16169. end;
  16170. procedure TTMR5_T5CON.clearON; inline;
  16171. begin
  16172. pTDefRegMap(@Self)^.clr := $00008000;
  16173. end;
  16174. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  16175. begin
  16176. if thebits = 0 then
  16177. pTDefRegMap(@Self)^.clr := $00008000
  16178. else
  16179. pTDefRegMap(@Self)^.&set := $00008000;
  16180. end;
  16181. function TTMR5_T5CON.getON : TBits_1; inline;
  16182. begin
  16183. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16184. end;
  16185. procedure TTMR5_T5CON.setTCKPS0; inline;
  16186. begin
  16187. pTDefRegMap(@Self)^.&set := $00000010;
  16188. end;
  16189. procedure TTMR5_T5CON.clearTCKPS0; inline;
  16190. begin
  16191. pTDefRegMap(@Self)^.clr := $00000010;
  16192. end;
  16193. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  16194. begin
  16195. if thebits = 0 then
  16196. pTDefRegMap(@Self)^.clr := $00000010
  16197. else
  16198. pTDefRegMap(@Self)^.&set := $00000010;
  16199. end;
  16200. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  16201. begin
  16202. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16203. end;
  16204. procedure TTMR5_T5CON.setTCKPS1; inline;
  16205. begin
  16206. pTDefRegMap(@Self)^.&set := $00000020;
  16207. end;
  16208. procedure TTMR5_T5CON.clearTCKPS1; inline;
  16209. begin
  16210. pTDefRegMap(@Self)^.clr := $00000020;
  16211. end;
  16212. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  16213. begin
  16214. if thebits = 0 then
  16215. pTDefRegMap(@Self)^.clr := $00000020
  16216. else
  16217. pTDefRegMap(@Self)^.&set := $00000020;
  16218. end;
  16219. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  16220. begin
  16221. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16222. end;
  16223. procedure TTMR5_T5CON.setTCKPS2; inline;
  16224. begin
  16225. pTDefRegMap(@Self)^.&set := $00000040;
  16226. end;
  16227. procedure TTMR5_T5CON.clearTCKPS2; inline;
  16228. begin
  16229. pTDefRegMap(@Self)^.clr := $00000040;
  16230. end;
  16231. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  16232. begin
  16233. if thebits = 0 then
  16234. pTDefRegMap(@Self)^.clr := $00000040
  16235. else
  16236. pTDefRegMap(@Self)^.&set := $00000040;
  16237. end;
  16238. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  16239. begin
  16240. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16241. end;
  16242. procedure TTMR5_T5CON.setTSIDL; inline;
  16243. begin
  16244. pTDefRegMap(@Self)^.&set := $00002000;
  16245. end;
  16246. procedure TTMR5_T5CON.clearTSIDL; inline;
  16247. begin
  16248. pTDefRegMap(@Self)^.clr := $00002000;
  16249. end;
  16250. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  16251. begin
  16252. if thebits = 0 then
  16253. pTDefRegMap(@Self)^.clr := $00002000
  16254. else
  16255. pTDefRegMap(@Self)^.&set := $00002000;
  16256. end;
  16257. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  16258. begin
  16259. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16260. end;
  16261. procedure TTMR5_T5CON.setTON; inline;
  16262. begin
  16263. pTDefRegMap(@Self)^.&set := $00008000;
  16264. end;
  16265. procedure TTMR5_T5CON.clearTON; inline;
  16266. begin
  16267. pTDefRegMap(@Self)^.clr := $00008000;
  16268. end;
  16269. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  16270. begin
  16271. if thebits = 0 then
  16272. pTDefRegMap(@Self)^.clr := $00008000
  16273. else
  16274. pTDefRegMap(@Self)^.&set := $00008000;
  16275. end;
  16276. function TTMR5_T5CON.getTON : TBits_1; inline;
  16277. begin
  16278. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16279. end;
  16280. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  16281. begin
  16282. pTDefRegMap(@Self)^.val := thebits;
  16283. end;
  16284. function TTMR5_T5CON.getw : TBits_32; inline;
  16285. begin
  16286. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16287. end;
  16288. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  16289. begin
  16290. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16291. end;
  16292. function TICAP1_IC1CON.getICM : TBits_3; inline;
  16293. begin
  16294. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16295. end;
  16296. procedure TICAP1_IC1CON.setICBNE; inline;
  16297. begin
  16298. pTDefRegMap(@Self)^.&set := $00000008;
  16299. end;
  16300. procedure TICAP1_IC1CON.clearICBNE; inline;
  16301. begin
  16302. pTDefRegMap(@Self)^.clr := $00000008;
  16303. end;
  16304. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  16305. begin
  16306. if thebits = 0 then
  16307. pTDefRegMap(@Self)^.clr := $00000008
  16308. else
  16309. pTDefRegMap(@Self)^.&set := $00000008;
  16310. end;
  16311. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  16312. begin
  16313. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16314. end;
  16315. procedure TICAP1_IC1CON.setICOV; inline;
  16316. begin
  16317. pTDefRegMap(@Self)^.&set := $00000010;
  16318. end;
  16319. procedure TICAP1_IC1CON.clearICOV; inline;
  16320. begin
  16321. pTDefRegMap(@Self)^.clr := $00000010;
  16322. end;
  16323. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  16324. begin
  16325. if thebits = 0 then
  16326. pTDefRegMap(@Self)^.clr := $00000010
  16327. else
  16328. pTDefRegMap(@Self)^.&set := $00000010;
  16329. end;
  16330. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  16331. begin
  16332. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16333. end;
  16334. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  16335. begin
  16336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16337. end;
  16338. function TICAP1_IC1CON.getICI : TBits_2; inline;
  16339. begin
  16340. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16341. end;
  16342. procedure TICAP1_IC1CON.setICTMR; inline;
  16343. begin
  16344. pTDefRegMap(@Self)^.&set := $00000080;
  16345. end;
  16346. procedure TICAP1_IC1CON.clearICTMR; inline;
  16347. begin
  16348. pTDefRegMap(@Self)^.clr := $00000080;
  16349. end;
  16350. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  16351. begin
  16352. if thebits = 0 then
  16353. pTDefRegMap(@Self)^.clr := $00000080
  16354. else
  16355. pTDefRegMap(@Self)^.&set := $00000080;
  16356. end;
  16357. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  16358. begin
  16359. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16360. end;
  16361. procedure TICAP1_IC1CON.setC32; inline;
  16362. begin
  16363. pTDefRegMap(@Self)^.&set := $00000100;
  16364. end;
  16365. procedure TICAP1_IC1CON.clearC32; inline;
  16366. begin
  16367. pTDefRegMap(@Self)^.clr := $00000100;
  16368. end;
  16369. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  16370. begin
  16371. if thebits = 0 then
  16372. pTDefRegMap(@Self)^.clr := $00000100
  16373. else
  16374. pTDefRegMap(@Self)^.&set := $00000100;
  16375. end;
  16376. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  16377. begin
  16378. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16379. end;
  16380. procedure TICAP1_IC1CON.setFEDGE; inline;
  16381. begin
  16382. pTDefRegMap(@Self)^.&set := $00000200;
  16383. end;
  16384. procedure TICAP1_IC1CON.clearFEDGE; inline;
  16385. begin
  16386. pTDefRegMap(@Self)^.clr := $00000200;
  16387. end;
  16388. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  16389. begin
  16390. if thebits = 0 then
  16391. pTDefRegMap(@Self)^.clr := $00000200
  16392. else
  16393. pTDefRegMap(@Self)^.&set := $00000200;
  16394. end;
  16395. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  16396. begin
  16397. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16398. end;
  16399. procedure TICAP1_IC1CON.setSIDL; inline;
  16400. begin
  16401. pTDefRegMap(@Self)^.&set := $00002000;
  16402. end;
  16403. procedure TICAP1_IC1CON.clearSIDL; inline;
  16404. begin
  16405. pTDefRegMap(@Self)^.clr := $00002000;
  16406. end;
  16407. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  16408. begin
  16409. if thebits = 0 then
  16410. pTDefRegMap(@Self)^.clr := $00002000
  16411. else
  16412. pTDefRegMap(@Self)^.&set := $00002000;
  16413. end;
  16414. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  16415. begin
  16416. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16417. end;
  16418. procedure TICAP1_IC1CON.setON; inline;
  16419. begin
  16420. pTDefRegMap(@Self)^.&set := $00008000;
  16421. end;
  16422. procedure TICAP1_IC1CON.clearON; inline;
  16423. begin
  16424. pTDefRegMap(@Self)^.clr := $00008000;
  16425. end;
  16426. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  16427. begin
  16428. if thebits = 0 then
  16429. pTDefRegMap(@Self)^.clr := $00008000
  16430. else
  16431. pTDefRegMap(@Self)^.&set := $00008000;
  16432. end;
  16433. function TICAP1_IC1CON.getON : TBits_1; inline;
  16434. begin
  16435. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16436. end;
  16437. procedure TICAP1_IC1CON.setICM0; inline;
  16438. begin
  16439. pTDefRegMap(@Self)^.&set := $00000001;
  16440. end;
  16441. procedure TICAP1_IC1CON.clearICM0; inline;
  16442. begin
  16443. pTDefRegMap(@Self)^.clr := $00000001;
  16444. end;
  16445. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  16446. begin
  16447. if thebits = 0 then
  16448. pTDefRegMap(@Self)^.clr := $00000001
  16449. else
  16450. pTDefRegMap(@Self)^.&set := $00000001;
  16451. end;
  16452. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  16453. begin
  16454. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16455. end;
  16456. procedure TICAP1_IC1CON.setICM1; inline;
  16457. begin
  16458. pTDefRegMap(@Self)^.&set := $00000002;
  16459. end;
  16460. procedure TICAP1_IC1CON.clearICM1; inline;
  16461. begin
  16462. pTDefRegMap(@Self)^.clr := $00000002;
  16463. end;
  16464. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  16465. begin
  16466. if thebits = 0 then
  16467. pTDefRegMap(@Self)^.clr := $00000002
  16468. else
  16469. pTDefRegMap(@Self)^.&set := $00000002;
  16470. end;
  16471. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  16472. begin
  16473. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16474. end;
  16475. procedure TICAP1_IC1CON.setICM2; inline;
  16476. begin
  16477. pTDefRegMap(@Self)^.&set := $00000004;
  16478. end;
  16479. procedure TICAP1_IC1CON.clearICM2; inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.clr := $00000004;
  16482. end;
  16483. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  16484. begin
  16485. if thebits = 0 then
  16486. pTDefRegMap(@Self)^.clr := $00000004
  16487. else
  16488. pTDefRegMap(@Self)^.&set := $00000004;
  16489. end;
  16490. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  16491. begin
  16492. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16493. end;
  16494. procedure TICAP1_IC1CON.setICI0; inline;
  16495. begin
  16496. pTDefRegMap(@Self)^.&set := $00000020;
  16497. end;
  16498. procedure TICAP1_IC1CON.clearICI0; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.clr := $00000020;
  16501. end;
  16502. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  16503. begin
  16504. if thebits = 0 then
  16505. pTDefRegMap(@Self)^.clr := $00000020
  16506. else
  16507. pTDefRegMap(@Self)^.&set := $00000020;
  16508. end;
  16509. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  16510. begin
  16511. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16512. end;
  16513. procedure TICAP1_IC1CON.setICI1; inline;
  16514. begin
  16515. pTDefRegMap(@Self)^.&set := $00000040;
  16516. end;
  16517. procedure TICAP1_IC1CON.clearICI1; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.clr := $00000040;
  16520. end;
  16521. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  16522. begin
  16523. if thebits = 0 then
  16524. pTDefRegMap(@Self)^.clr := $00000040
  16525. else
  16526. pTDefRegMap(@Self)^.&set := $00000040;
  16527. end;
  16528. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  16529. begin
  16530. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16531. end;
  16532. procedure TICAP1_IC1CON.setICSIDL; inline;
  16533. begin
  16534. pTDefRegMap(@Self)^.&set := $00002000;
  16535. end;
  16536. procedure TICAP1_IC1CON.clearICSIDL; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.clr := $00002000;
  16539. end;
  16540. procedure TICAP1_IC1CON.setICSIDL(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 TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  16548. begin
  16549. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16550. end;
  16551. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  16552. begin
  16553. pTDefRegMap(@Self)^.val := thebits;
  16554. end;
  16555. function TICAP1_IC1CON.getw : TBits_32; inline;
  16556. begin
  16557. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16558. end;
  16559. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  16560. begin
  16561. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16562. end;
  16563. function TICAP2_IC2CON.getICM : TBits_3; inline;
  16564. begin
  16565. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16566. end;
  16567. procedure TICAP2_IC2CON.setICBNE; inline;
  16568. begin
  16569. pTDefRegMap(@Self)^.&set := $00000008;
  16570. end;
  16571. procedure TICAP2_IC2CON.clearICBNE; inline;
  16572. begin
  16573. pTDefRegMap(@Self)^.clr := $00000008;
  16574. end;
  16575. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  16576. begin
  16577. if thebits = 0 then
  16578. pTDefRegMap(@Self)^.clr := $00000008
  16579. else
  16580. pTDefRegMap(@Self)^.&set := $00000008;
  16581. end;
  16582. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  16583. begin
  16584. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16585. end;
  16586. procedure TICAP2_IC2CON.setICOV; inline;
  16587. begin
  16588. pTDefRegMap(@Self)^.&set := $00000010;
  16589. end;
  16590. procedure TICAP2_IC2CON.clearICOV; inline;
  16591. begin
  16592. pTDefRegMap(@Self)^.clr := $00000010;
  16593. end;
  16594. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  16595. begin
  16596. if thebits = 0 then
  16597. pTDefRegMap(@Self)^.clr := $00000010
  16598. else
  16599. pTDefRegMap(@Self)^.&set := $00000010;
  16600. end;
  16601. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  16602. begin
  16603. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16604. end;
  16605. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  16606. begin
  16607. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16608. end;
  16609. function TICAP2_IC2CON.getICI : TBits_2; inline;
  16610. begin
  16611. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16612. end;
  16613. procedure TICAP2_IC2CON.setICTMR; inline;
  16614. begin
  16615. pTDefRegMap(@Self)^.&set := $00000080;
  16616. end;
  16617. procedure TICAP2_IC2CON.clearICTMR; inline;
  16618. begin
  16619. pTDefRegMap(@Self)^.clr := $00000080;
  16620. end;
  16621. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  16622. begin
  16623. if thebits = 0 then
  16624. pTDefRegMap(@Self)^.clr := $00000080
  16625. else
  16626. pTDefRegMap(@Self)^.&set := $00000080;
  16627. end;
  16628. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  16629. begin
  16630. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16631. end;
  16632. procedure TICAP2_IC2CON.setC32; inline;
  16633. begin
  16634. pTDefRegMap(@Self)^.&set := $00000100;
  16635. end;
  16636. procedure TICAP2_IC2CON.clearC32; inline;
  16637. begin
  16638. pTDefRegMap(@Self)^.clr := $00000100;
  16639. end;
  16640. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  16641. begin
  16642. if thebits = 0 then
  16643. pTDefRegMap(@Self)^.clr := $00000100
  16644. else
  16645. pTDefRegMap(@Self)^.&set := $00000100;
  16646. end;
  16647. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  16648. begin
  16649. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16650. end;
  16651. procedure TICAP2_IC2CON.setFEDGE; inline;
  16652. begin
  16653. pTDefRegMap(@Self)^.&set := $00000200;
  16654. end;
  16655. procedure TICAP2_IC2CON.clearFEDGE; inline;
  16656. begin
  16657. pTDefRegMap(@Self)^.clr := $00000200;
  16658. end;
  16659. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  16660. begin
  16661. if thebits = 0 then
  16662. pTDefRegMap(@Self)^.clr := $00000200
  16663. else
  16664. pTDefRegMap(@Self)^.&set := $00000200;
  16665. end;
  16666. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  16667. begin
  16668. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16669. end;
  16670. procedure TICAP2_IC2CON.setSIDL; inline;
  16671. begin
  16672. pTDefRegMap(@Self)^.&set := $00002000;
  16673. end;
  16674. procedure TICAP2_IC2CON.clearSIDL; inline;
  16675. begin
  16676. pTDefRegMap(@Self)^.clr := $00002000;
  16677. end;
  16678. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  16679. begin
  16680. if thebits = 0 then
  16681. pTDefRegMap(@Self)^.clr := $00002000
  16682. else
  16683. pTDefRegMap(@Self)^.&set := $00002000;
  16684. end;
  16685. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  16686. begin
  16687. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16688. end;
  16689. procedure TICAP2_IC2CON.setON; inline;
  16690. begin
  16691. pTDefRegMap(@Self)^.&set := $00008000;
  16692. end;
  16693. procedure TICAP2_IC2CON.clearON; inline;
  16694. begin
  16695. pTDefRegMap(@Self)^.clr := $00008000;
  16696. end;
  16697. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  16698. begin
  16699. if thebits = 0 then
  16700. pTDefRegMap(@Self)^.clr := $00008000
  16701. else
  16702. pTDefRegMap(@Self)^.&set := $00008000;
  16703. end;
  16704. function TICAP2_IC2CON.getON : TBits_1; inline;
  16705. begin
  16706. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16707. end;
  16708. procedure TICAP2_IC2CON.setICM0; inline;
  16709. begin
  16710. pTDefRegMap(@Self)^.&set := $00000001;
  16711. end;
  16712. procedure TICAP2_IC2CON.clearICM0; inline;
  16713. begin
  16714. pTDefRegMap(@Self)^.clr := $00000001;
  16715. end;
  16716. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  16717. begin
  16718. if thebits = 0 then
  16719. pTDefRegMap(@Self)^.clr := $00000001
  16720. else
  16721. pTDefRegMap(@Self)^.&set := $00000001;
  16722. end;
  16723. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  16724. begin
  16725. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16726. end;
  16727. procedure TICAP2_IC2CON.setICM1; inline;
  16728. begin
  16729. pTDefRegMap(@Self)^.&set := $00000002;
  16730. end;
  16731. procedure TICAP2_IC2CON.clearICM1; inline;
  16732. begin
  16733. pTDefRegMap(@Self)^.clr := $00000002;
  16734. end;
  16735. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  16736. begin
  16737. if thebits = 0 then
  16738. pTDefRegMap(@Self)^.clr := $00000002
  16739. else
  16740. pTDefRegMap(@Self)^.&set := $00000002;
  16741. end;
  16742. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  16743. begin
  16744. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16745. end;
  16746. procedure TICAP2_IC2CON.setICM2; inline;
  16747. begin
  16748. pTDefRegMap(@Self)^.&set := $00000004;
  16749. end;
  16750. procedure TICAP2_IC2CON.clearICM2; inline;
  16751. begin
  16752. pTDefRegMap(@Self)^.clr := $00000004;
  16753. end;
  16754. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  16755. begin
  16756. if thebits = 0 then
  16757. pTDefRegMap(@Self)^.clr := $00000004
  16758. else
  16759. pTDefRegMap(@Self)^.&set := $00000004;
  16760. end;
  16761. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  16762. begin
  16763. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16764. end;
  16765. procedure TICAP2_IC2CON.setICI0; inline;
  16766. begin
  16767. pTDefRegMap(@Self)^.&set := $00000020;
  16768. end;
  16769. procedure TICAP2_IC2CON.clearICI0; inline;
  16770. begin
  16771. pTDefRegMap(@Self)^.clr := $00000020;
  16772. end;
  16773. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  16774. begin
  16775. if thebits = 0 then
  16776. pTDefRegMap(@Self)^.clr := $00000020
  16777. else
  16778. pTDefRegMap(@Self)^.&set := $00000020;
  16779. end;
  16780. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  16781. begin
  16782. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16783. end;
  16784. procedure TICAP2_IC2CON.setICI1; inline;
  16785. begin
  16786. pTDefRegMap(@Self)^.&set := $00000040;
  16787. end;
  16788. procedure TICAP2_IC2CON.clearICI1; inline;
  16789. begin
  16790. pTDefRegMap(@Self)^.clr := $00000040;
  16791. end;
  16792. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  16793. begin
  16794. if thebits = 0 then
  16795. pTDefRegMap(@Self)^.clr := $00000040
  16796. else
  16797. pTDefRegMap(@Self)^.&set := $00000040;
  16798. end;
  16799. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  16800. begin
  16801. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16802. end;
  16803. procedure TICAP2_IC2CON.setICSIDL; inline;
  16804. begin
  16805. pTDefRegMap(@Self)^.&set := $00002000;
  16806. end;
  16807. procedure TICAP2_IC2CON.clearICSIDL; inline;
  16808. begin
  16809. pTDefRegMap(@Self)^.clr := $00002000;
  16810. end;
  16811. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  16812. begin
  16813. if thebits = 0 then
  16814. pTDefRegMap(@Self)^.clr := $00002000
  16815. else
  16816. pTDefRegMap(@Self)^.&set := $00002000;
  16817. end;
  16818. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  16819. begin
  16820. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16821. end;
  16822. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  16823. begin
  16824. pTDefRegMap(@Self)^.val := thebits;
  16825. end;
  16826. function TICAP2_IC2CON.getw : TBits_32; inline;
  16827. begin
  16828. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16829. end;
  16830. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  16831. begin
  16832. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16833. end;
  16834. function TICAP3_IC3CON.getICM : TBits_3; inline;
  16835. begin
  16836. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16837. end;
  16838. procedure TICAP3_IC3CON.setICBNE; inline;
  16839. begin
  16840. pTDefRegMap(@Self)^.&set := $00000008;
  16841. end;
  16842. procedure TICAP3_IC3CON.clearICBNE; inline;
  16843. begin
  16844. pTDefRegMap(@Self)^.clr := $00000008;
  16845. end;
  16846. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  16847. begin
  16848. if thebits = 0 then
  16849. pTDefRegMap(@Self)^.clr := $00000008
  16850. else
  16851. pTDefRegMap(@Self)^.&set := $00000008;
  16852. end;
  16853. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  16854. begin
  16855. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16856. end;
  16857. procedure TICAP3_IC3CON.setICOV; inline;
  16858. begin
  16859. pTDefRegMap(@Self)^.&set := $00000010;
  16860. end;
  16861. procedure TICAP3_IC3CON.clearICOV; inline;
  16862. begin
  16863. pTDefRegMap(@Self)^.clr := $00000010;
  16864. end;
  16865. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  16866. begin
  16867. if thebits = 0 then
  16868. pTDefRegMap(@Self)^.clr := $00000010
  16869. else
  16870. pTDefRegMap(@Self)^.&set := $00000010;
  16871. end;
  16872. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  16873. begin
  16874. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16875. end;
  16876. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  16877. begin
  16878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16879. end;
  16880. function TICAP3_IC3CON.getICI : TBits_2; inline;
  16881. begin
  16882. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16883. end;
  16884. procedure TICAP3_IC3CON.setICTMR; inline;
  16885. begin
  16886. pTDefRegMap(@Self)^.&set := $00000080;
  16887. end;
  16888. procedure TICAP3_IC3CON.clearICTMR; inline;
  16889. begin
  16890. pTDefRegMap(@Self)^.clr := $00000080;
  16891. end;
  16892. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  16893. begin
  16894. if thebits = 0 then
  16895. pTDefRegMap(@Self)^.clr := $00000080
  16896. else
  16897. pTDefRegMap(@Self)^.&set := $00000080;
  16898. end;
  16899. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  16900. begin
  16901. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16902. end;
  16903. procedure TICAP3_IC3CON.setC32; inline;
  16904. begin
  16905. pTDefRegMap(@Self)^.&set := $00000100;
  16906. end;
  16907. procedure TICAP3_IC3CON.clearC32; inline;
  16908. begin
  16909. pTDefRegMap(@Self)^.clr := $00000100;
  16910. end;
  16911. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  16912. begin
  16913. if thebits = 0 then
  16914. pTDefRegMap(@Self)^.clr := $00000100
  16915. else
  16916. pTDefRegMap(@Self)^.&set := $00000100;
  16917. end;
  16918. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  16919. begin
  16920. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16921. end;
  16922. procedure TICAP3_IC3CON.setFEDGE; inline;
  16923. begin
  16924. pTDefRegMap(@Self)^.&set := $00000200;
  16925. end;
  16926. procedure TICAP3_IC3CON.clearFEDGE; inline;
  16927. begin
  16928. pTDefRegMap(@Self)^.clr := $00000200;
  16929. end;
  16930. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  16931. begin
  16932. if thebits = 0 then
  16933. pTDefRegMap(@Self)^.clr := $00000200
  16934. else
  16935. pTDefRegMap(@Self)^.&set := $00000200;
  16936. end;
  16937. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  16938. begin
  16939. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16940. end;
  16941. procedure TICAP3_IC3CON.setSIDL; inline;
  16942. begin
  16943. pTDefRegMap(@Self)^.&set := $00002000;
  16944. end;
  16945. procedure TICAP3_IC3CON.clearSIDL; inline;
  16946. begin
  16947. pTDefRegMap(@Self)^.clr := $00002000;
  16948. end;
  16949. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  16950. begin
  16951. if thebits = 0 then
  16952. pTDefRegMap(@Self)^.clr := $00002000
  16953. else
  16954. pTDefRegMap(@Self)^.&set := $00002000;
  16955. end;
  16956. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  16957. begin
  16958. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16959. end;
  16960. procedure TICAP3_IC3CON.setON; inline;
  16961. begin
  16962. pTDefRegMap(@Self)^.&set := $00008000;
  16963. end;
  16964. procedure TICAP3_IC3CON.clearON; inline;
  16965. begin
  16966. pTDefRegMap(@Self)^.clr := $00008000;
  16967. end;
  16968. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  16969. begin
  16970. if thebits = 0 then
  16971. pTDefRegMap(@Self)^.clr := $00008000
  16972. else
  16973. pTDefRegMap(@Self)^.&set := $00008000;
  16974. end;
  16975. function TICAP3_IC3CON.getON : TBits_1; inline;
  16976. begin
  16977. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16978. end;
  16979. procedure TICAP3_IC3CON.setICM0; inline;
  16980. begin
  16981. pTDefRegMap(@Self)^.&set := $00000001;
  16982. end;
  16983. procedure TICAP3_IC3CON.clearICM0; inline;
  16984. begin
  16985. pTDefRegMap(@Self)^.clr := $00000001;
  16986. end;
  16987. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  16988. begin
  16989. if thebits = 0 then
  16990. pTDefRegMap(@Self)^.clr := $00000001
  16991. else
  16992. pTDefRegMap(@Self)^.&set := $00000001;
  16993. end;
  16994. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  16995. begin
  16996. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16997. end;
  16998. procedure TICAP3_IC3CON.setICM1; inline;
  16999. begin
  17000. pTDefRegMap(@Self)^.&set := $00000002;
  17001. end;
  17002. procedure TICAP3_IC3CON.clearICM1; inline;
  17003. begin
  17004. pTDefRegMap(@Self)^.clr := $00000002;
  17005. end;
  17006. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  17007. begin
  17008. if thebits = 0 then
  17009. pTDefRegMap(@Self)^.clr := $00000002
  17010. else
  17011. pTDefRegMap(@Self)^.&set := $00000002;
  17012. end;
  17013. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  17014. begin
  17015. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17016. end;
  17017. procedure TICAP3_IC3CON.setICM2; inline;
  17018. begin
  17019. pTDefRegMap(@Self)^.&set := $00000004;
  17020. end;
  17021. procedure TICAP3_IC3CON.clearICM2; inline;
  17022. begin
  17023. pTDefRegMap(@Self)^.clr := $00000004;
  17024. end;
  17025. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  17026. begin
  17027. if thebits = 0 then
  17028. pTDefRegMap(@Self)^.clr := $00000004
  17029. else
  17030. pTDefRegMap(@Self)^.&set := $00000004;
  17031. end;
  17032. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  17033. begin
  17034. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17035. end;
  17036. procedure TICAP3_IC3CON.setICI0; inline;
  17037. begin
  17038. pTDefRegMap(@Self)^.&set := $00000020;
  17039. end;
  17040. procedure TICAP3_IC3CON.clearICI0; inline;
  17041. begin
  17042. pTDefRegMap(@Self)^.clr := $00000020;
  17043. end;
  17044. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  17045. begin
  17046. if thebits = 0 then
  17047. pTDefRegMap(@Self)^.clr := $00000020
  17048. else
  17049. pTDefRegMap(@Self)^.&set := $00000020;
  17050. end;
  17051. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  17052. begin
  17053. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17054. end;
  17055. procedure TICAP3_IC3CON.setICI1; inline;
  17056. begin
  17057. pTDefRegMap(@Self)^.&set := $00000040;
  17058. end;
  17059. procedure TICAP3_IC3CON.clearICI1; inline;
  17060. begin
  17061. pTDefRegMap(@Self)^.clr := $00000040;
  17062. end;
  17063. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  17064. begin
  17065. if thebits = 0 then
  17066. pTDefRegMap(@Self)^.clr := $00000040
  17067. else
  17068. pTDefRegMap(@Self)^.&set := $00000040;
  17069. end;
  17070. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  17071. begin
  17072. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17073. end;
  17074. procedure TICAP3_IC3CON.setICSIDL; inline;
  17075. begin
  17076. pTDefRegMap(@Self)^.&set := $00002000;
  17077. end;
  17078. procedure TICAP3_IC3CON.clearICSIDL; inline;
  17079. begin
  17080. pTDefRegMap(@Self)^.clr := $00002000;
  17081. end;
  17082. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  17083. begin
  17084. if thebits = 0 then
  17085. pTDefRegMap(@Self)^.clr := $00002000
  17086. else
  17087. pTDefRegMap(@Self)^.&set := $00002000;
  17088. end;
  17089. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  17090. begin
  17091. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17092. end;
  17093. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  17094. begin
  17095. pTDefRegMap(@Self)^.val := thebits;
  17096. end;
  17097. function TICAP3_IC3CON.getw : TBits_32; inline;
  17098. begin
  17099. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17100. end;
  17101. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  17102. begin
  17103. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17104. end;
  17105. function TICAP4_IC4CON.getICM : TBits_3; inline;
  17106. begin
  17107. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17108. end;
  17109. procedure TICAP4_IC4CON.setICBNE; inline;
  17110. begin
  17111. pTDefRegMap(@Self)^.&set := $00000008;
  17112. end;
  17113. procedure TICAP4_IC4CON.clearICBNE; inline;
  17114. begin
  17115. pTDefRegMap(@Self)^.clr := $00000008;
  17116. end;
  17117. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  17118. begin
  17119. if thebits = 0 then
  17120. pTDefRegMap(@Self)^.clr := $00000008
  17121. else
  17122. pTDefRegMap(@Self)^.&set := $00000008;
  17123. end;
  17124. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  17125. begin
  17126. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17127. end;
  17128. procedure TICAP4_IC4CON.setICOV; inline;
  17129. begin
  17130. pTDefRegMap(@Self)^.&set := $00000010;
  17131. end;
  17132. procedure TICAP4_IC4CON.clearICOV; inline;
  17133. begin
  17134. pTDefRegMap(@Self)^.clr := $00000010;
  17135. end;
  17136. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  17137. begin
  17138. if thebits = 0 then
  17139. pTDefRegMap(@Self)^.clr := $00000010
  17140. else
  17141. pTDefRegMap(@Self)^.&set := $00000010;
  17142. end;
  17143. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  17144. begin
  17145. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17146. end;
  17147. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  17148. begin
  17149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  17150. end;
  17151. function TICAP4_IC4CON.getICI : TBits_2; inline;
  17152. begin
  17153. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  17154. end;
  17155. procedure TICAP4_IC4CON.setICTMR; inline;
  17156. begin
  17157. pTDefRegMap(@Self)^.&set := $00000080;
  17158. end;
  17159. procedure TICAP4_IC4CON.clearICTMR; inline;
  17160. begin
  17161. pTDefRegMap(@Self)^.clr := $00000080;
  17162. end;
  17163. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  17164. begin
  17165. if thebits = 0 then
  17166. pTDefRegMap(@Self)^.clr := $00000080
  17167. else
  17168. pTDefRegMap(@Self)^.&set := $00000080;
  17169. end;
  17170. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  17171. begin
  17172. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17173. end;
  17174. procedure TICAP4_IC4CON.setC32; inline;
  17175. begin
  17176. pTDefRegMap(@Self)^.&set := $00000100;
  17177. end;
  17178. procedure TICAP4_IC4CON.clearC32; inline;
  17179. begin
  17180. pTDefRegMap(@Self)^.clr := $00000100;
  17181. end;
  17182. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  17183. begin
  17184. if thebits = 0 then
  17185. pTDefRegMap(@Self)^.clr := $00000100
  17186. else
  17187. pTDefRegMap(@Self)^.&set := $00000100;
  17188. end;
  17189. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  17190. begin
  17191. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17192. end;
  17193. procedure TICAP4_IC4CON.setFEDGE; inline;
  17194. begin
  17195. pTDefRegMap(@Self)^.&set := $00000200;
  17196. end;
  17197. procedure TICAP4_IC4CON.clearFEDGE; inline;
  17198. begin
  17199. pTDefRegMap(@Self)^.clr := $00000200;
  17200. end;
  17201. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  17202. begin
  17203. if thebits = 0 then
  17204. pTDefRegMap(@Self)^.clr := $00000200
  17205. else
  17206. pTDefRegMap(@Self)^.&set := $00000200;
  17207. end;
  17208. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  17209. begin
  17210. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17211. end;
  17212. procedure TICAP4_IC4CON.setSIDL; inline;
  17213. begin
  17214. pTDefRegMap(@Self)^.&set := $00002000;
  17215. end;
  17216. procedure TICAP4_IC4CON.clearSIDL; inline;
  17217. begin
  17218. pTDefRegMap(@Self)^.clr := $00002000;
  17219. end;
  17220. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  17221. begin
  17222. if thebits = 0 then
  17223. pTDefRegMap(@Self)^.clr := $00002000
  17224. else
  17225. pTDefRegMap(@Self)^.&set := $00002000;
  17226. end;
  17227. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  17228. begin
  17229. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17230. end;
  17231. procedure TICAP4_IC4CON.setON; inline;
  17232. begin
  17233. pTDefRegMap(@Self)^.&set := $00008000;
  17234. end;
  17235. procedure TICAP4_IC4CON.clearON; inline;
  17236. begin
  17237. pTDefRegMap(@Self)^.clr := $00008000;
  17238. end;
  17239. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  17240. begin
  17241. if thebits = 0 then
  17242. pTDefRegMap(@Self)^.clr := $00008000
  17243. else
  17244. pTDefRegMap(@Self)^.&set := $00008000;
  17245. end;
  17246. function TICAP4_IC4CON.getON : TBits_1; inline;
  17247. begin
  17248. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17249. end;
  17250. procedure TICAP4_IC4CON.setICM0; inline;
  17251. begin
  17252. pTDefRegMap(@Self)^.&set := $00000001;
  17253. end;
  17254. procedure TICAP4_IC4CON.clearICM0; inline;
  17255. begin
  17256. pTDefRegMap(@Self)^.clr := $00000001;
  17257. end;
  17258. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  17259. begin
  17260. if thebits = 0 then
  17261. pTDefRegMap(@Self)^.clr := $00000001
  17262. else
  17263. pTDefRegMap(@Self)^.&set := $00000001;
  17264. end;
  17265. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  17266. begin
  17267. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17268. end;
  17269. procedure TICAP4_IC4CON.setICM1; inline;
  17270. begin
  17271. pTDefRegMap(@Self)^.&set := $00000002;
  17272. end;
  17273. procedure TICAP4_IC4CON.clearICM1; inline;
  17274. begin
  17275. pTDefRegMap(@Self)^.clr := $00000002;
  17276. end;
  17277. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  17278. begin
  17279. if thebits = 0 then
  17280. pTDefRegMap(@Self)^.clr := $00000002
  17281. else
  17282. pTDefRegMap(@Self)^.&set := $00000002;
  17283. end;
  17284. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  17285. begin
  17286. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17287. end;
  17288. procedure TICAP4_IC4CON.setICM2; inline;
  17289. begin
  17290. pTDefRegMap(@Self)^.&set := $00000004;
  17291. end;
  17292. procedure TICAP4_IC4CON.clearICM2; inline;
  17293. begin
  17294. pTDefRegMap(@Self)^.clr := $00000004;
  17295. end;
  17296. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  17297. begin
  17298. if thebits = 0 then
  17299. pTDefRegMap(@Self)^.clr := $00000004
  17300. else
  17301. pTDefRegMap(@Self)^.&set := $00000004;
  17302. end;
  17303. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  17304. begin
  17305. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17306. end;
  17307. procedure TICAP4_IC4CON.setICI0; inline;
  17308. begin
  17309. pTDefRegMap(@Self)^.&set := $00000020;
  17310. end;
  17311. procedure TICAP4_IC4CON.clearICI0; inline;
  17312. begin
  17313. pTDefRegMap(@Self)^.clr := $00000020;
  17314. end;
  17315. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  17316. begin
  17317. if thebits = 0 then
  17318. pTDefRegMap(@Self)^.clr := $00000020
  17319. else
  17320. pTDefRegMap(@Self)^.&set := $00000020;
  17321. end;
  17322. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  17323. begin
  17324. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17325. end;
  17326. procedure TICAP4_IC4CON.setICI1; inline;
  17327. begin
  17328. pTDefRegMap(@Self)^.&set := $00000040;
  17329. end;
  17330. procedure TICAP4_IC4CON.clearICI1; inline;
  17331. begin
  17332. pTDefRegMap(@Self)^.clr := $00000040;
  17333. end;
  17334. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  17335. begin
  17336. if thebits = 0 then
  17337. pTDefRegMap(@Self)^.clr := $00000040
  17338. else
  17339. pTDefRegMap(@Self)^.&set := $00000040;
  17340. end;
  17341. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  17342. begin
  17343. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17344. end;
  17345. procedure TICAP4_IC4CON.setICSIDL; inline;
  17346. begin
  17347. pTDefRegMap(@Self)^.&set := $00002000;
  17348. end;
  17349. procedure TICAP4_IC4CON.clearICSIDL; inline;
  17350. begin
  17351. pTDefRegMap(@Self)^.clr := $00002000;
  17352. end;
  17353. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  17354. begin
  17355. if thebits = 0 then
  17356. pTDefRegMap(@Self)^.clr := $00002000
  17357. else
  17358. pTDefRegMap(@Self)^.&set := $00002000;
  17359. end;
  17360. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  17361. begin
  17362. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17363. end;
  17364. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  17365. begin
  17366. pTDefRegMap(@Self)^.val := thebits;
  17367. end;
  17368. function TICAP4_IC4CON.getw : TBits_32; inline;
  17369. begin
  17370. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17371. end;
  17372. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  17373. begin
  17374. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17375. end;
  17376. function TICAP5_IC5CON.getICM : TBits_3; inline;
  17377. begin
  17378. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17379. end;
  17380. procedure TICAP5_IC5CON.setICBNE; inline;
  17381. begin
  17382. pTDefRegMap(@Self)^.&set := $00000008;
  17383. end;
  17384. procedure TICAP5_IC5CON.clearICBNE; inline;
  17385. begin
  17386. pTDefRegMap(@Self)^.clr := $00000008;
  17387. end;
  17388. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  17389. begin
  17390. if thebits = 0 then
  17391. pTDefRegMap(@Self)^.clr := $00000008
  17392. else
  17393. pTDefRegMap(@Self)^.&set := $00000008;
  17394. end;
  17395. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  17396. begin
  17397. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17398. end;
  17399. procedure TICAP5_IC5CON.setICOV; inline;
  17400. begin
  17401. pTDefRegMap(@Self)^.&set := $00000010;
  17402. end;
  17403. procedure TICAP5_IC5CON.clearICOV; inline;
  17404. begin
  17405. pTDefRegMap(@Self)^.clr := $00000010;
  17406. end;
  17407. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  17408. begin
  17409. if thebits = 0 then
  17410. pTDefRegMap(@Self)^.clr := $00000010
  17411. else
  17412. pTDefRegMap(@Self)^.&set := $00000010;
  17413. end;
  17414. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  17415. begin
  17416. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17417. end;
  17418. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  17419. begin
  17420. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  17421. end;
  17422. function TICAP5_IC5CON.getICI : TBits_2; inline;
  17423. begin
  17424. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  17425. end;
  17426. procedure TICAP5_IC5CON.setICTMR; inline;
  17427. begin
  17428. pTDefRegMap(@Self)^.&set := $00000080;
  17429. end;
  17430. procedure TICAP5_IC5CON.clearICTMR; inline;
  17431. begin
  17432. pTDefRegMap(@Self)^.clr := $00000080;
  17433. end;
  17434. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  17435. begin
  17436. if thebits = 0 then
  17437. pTDefRegMap(@Self)^.clr := $00000080
  17438. else
  17439. pTDefRegMap(@Self)^.&set := $00000080;
  17440. end;
  17441. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  17442. begin
  17443. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17444. end;
  17445. procedure TICAP5_IC5CON.setC32; inline;
  17446. begin
  17447. pTDefRegMap(@Self)^.&set := $00000100;
  17448. end;
  17449. procedure TICAP5_IC5CON.clearC32; inline;
  17450. begin
  17451. pTDefRegMap(@Self)^.clr := $00000100;
  17452. end;
  17453. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  17454. begin
  17455. if thebits = 0 then
  17456. pTDefRegMap(@Self)^.clr := $00000100
  17457. else
  17458. pTDefRegMap(@Self)^.&set := $00000100;
  17459. end;
  17460. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  17461. begin
  17462. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17463. end;
  17464. procedure TICAP5_IC5CON.setFEDGE; inline;
  17465. begin
  17466. pTDefRegMap(@Self)^.&set := $00000200;
  17467. end;
  17468. procedure TICAP5_IC5CON.clearFEDGE; inline;
  17469. begin
  17470. pTDefRegMap(@Self)^.clr := $00000200;
  17471. end;
  17472. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  17473. begin
  17474. if thebits = 0 then
  17475. pTDefRegMap(@Self)^.clr := $00000200
  17476. else
  17477. pTDefRegMap(@Self)^.&set := $00000200;
  17478. end;
  17479. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  17480. begin
  17481. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17482. end;
  17483. procedure TICAP5_IC5CON.setSIDL; inline;
  17484. begin
  17485. pTDefRegMap(@Self)^.&set := $00002000;
  17486. end;
  17487. procedure TICAP5_IC5CON.clearSIDL; inline;
  17488. begin
  17489. pTDefRegMap(@Self)^.clr := $00002000;
  17490. end;
  17491. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  17492. begin
  17493. if thebits = 0 then
  17494. pTDefRegMap(@Self)^.clr := $00002000
  17495. else
  17496. pTDefRegMap(@Self)^.&set := $00002000;
  17497. end;
  17498. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  17499. begin
  17500. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17501. end;
  17502. procedure TICAP5_IC5CON.setON; inline;
  17503. begin
  17504. pTDefRegMap(@Self)^.&set := $00008000;
  17505. end;
  17506. procedure TICAP5_IC5CON.clearON; inline;
  17507. begin
  17508. pTDefRegMap(@Self)^.clr := $00008000;
  17509. end;
  17510. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  17511. begin
  17512. if thebits = 0 then
  17513. pTDefRegMap(@Self)^.clr := $00008000
  17514. else
  17515. pTDefRegMap(@Self)^.&set := $00008000;
  17516. end;
  17517. function TICAP5_IC5CON.getON : TBits_1; inline;
  17518. begin
  17519. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17520. end;
  17521. procedure TICAP5_IC5CON.setICM0; inline;
  17522. begin
  17523. pTDefRegMap(@Self)^.&set := $00000001;
  17524. end;
  17525. procedure TICAP5_IC5CON.clearICM0; inline;
  17526. begin
  17527. pTDefRegMap(@Self)^.clr := $00000001;
  17528. end;
  17529. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  17530. begin
  17531. if thebits = 0 then
  17532. pTDefRegMap(@Self)^.clr := $00000001
  17533. else
  17534. pTDefRegMap(@Self)^.&set := $00000001;
  17535. end;
  17536. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  17537. begin
  17538. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17539. end;
  17540. procedure TICAP5_IC5CON.setICM1; inline;
  17541. begin
  17542. pTDefRegMap(@Self)^.&set := $00000002;
  17543. end;
  17544. procedure TICAP5_IC5CON.clearICM1; inline;
  17545. begin
  17546. pTDefRegMap(@Self)^.clr := $00000002;
  17547. end;
  17548. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  17549. begin
  17550. if thebits = 0 then
  17551. pTDefRegMap(@Self)^.clr := $00000002
  17552. else
  17553. pTDefRegMap(@Self)^.&set := $00000002;
  17554. end;
  17555. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  17556. begin
  17557. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17558. end;
  17559. procedure TICAP5_IC5CON.setICM2; inline;
  17560. begin
  17561. pTDefRegMap(@Self)^.&set := $00000004;
  17562. end;
  17563. procedure TICAP5_IC5CON.clearICM2; inline;
  17564. begin
  17565. pTDefRegMap(@Self)^.clr := $00000004;
  17566. end;
  17567. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  17568. begin
  17569. if thebits = 0 then
  17570. pTDefRegMap(@Self)^.clr := $00000004
  17571. else
  17572. pTDefRegMap(@Self)^.&set := $00000004;
  17573. end;
  17574. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  17575. begin
  17576. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17577. end;
  17578. procedure TICAP5_IC5CON.setICI0; inline;
  17579. begin
  17580. pTDefRegMap(@Self)^.&set := $00000020;
  17581. end;
  17582. procedure TICAP5_IC5CON.clearICI0; inline;
  17583. begin
  17584. pTDefRegMap(@Self)^.clr := $00000020;
  17585. end;
  17586. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  17587. begin
  17588. if thebits = 0 then
  17589. pTDefRegMap(@Self)^.clr := $00000020
  17590. else
  17591. pTDefRegMap(@Self)^.&set := $00000020;
  17592. end;
  17593. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  17594. begin
  17595. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17596. end;
  17597. procedure TICAP5_IC5CON.setICI1; inline;
  17598. begin
  17599. pTDefRegMap(@Self)^.&set := $00000040;
  17600. end;
  17601. procedure TICAP5_IC5CON.clearICI1; inline;
  17602. begin
  17603. pTDefRegMap(@Self)^.clr := $00000040;
  17604. end;
  17605. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  17606. begin
  17607. if thebits = 0 then
  17608. pTDefRegMap(@Self)^.clr := $00000040
  17609. else
  17610. pTDefRegMap(@Self)^.&set := $00000040;
  17611. end;
  17612. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  17613. begin
  17614. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17615. end;
  17616. procedure TICAP5_IC5CON.setICSIDL; inline;
  17617. begin
  17618. pTDefRegMap(@Self)^.&set := $00002000;
  17619. end;
  17620. procedure TICAP5_IC5CON.clearICSIDL; inline;
  17621. begin
  17622. pTDefRegMap(@Self)^.clr := $00002000;
  17623. end;
  17624. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  17625. begin
  17626. if thebits = 0 then
  17627. pTDefRegMap(@Self)^.clr := $00002000
  17628. else
  17629. pTDefRegMap(@Self)^.&set := $00002000;
  17630. end;
  17631. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  17632. begin
  17633. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17634. end;
  17635. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  17636. begin
  17637. pTDefRegMap(@Self)^.val := thebits;
  17638. end;
  17639. function TICAP5_IC5CON.getw : TBits_32; inline;
  17640. begin
  17641. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17642. end;
  17643. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  17644. begin
  17645. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17646. end;
  17647. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  17648. begin
  17649. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17650. end;
  17651. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  17652. begin
  17653. pTDefRegMap(@Self)^.&set := $00000008;
  17654. end;
  17655. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  17656. begin
  17657. pTDefRegMap(@Self)^.clr := $00000008;
  17658. end;
  17659. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  17660. begin
  17661. if thebits = 0 then
  17662. pTDefRegMap(@Self)^.clr := $00000008
  17663. else
  17664. pTDefRegMap(@Self)^.&set := $00000008;
  17665. end;
  17666. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  17667. begin
  17668. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17669. end;
  17670. procedure TOCMP1_OC1CON.setOCFLT; inline;
  17671. begin
  17672. pTDefRegMap(@Self)^.&set := $00000010;
  17673. end;
  17674. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  17675. begin
  17676. pTDefRegMap(@Self)^.clr := $00000010;
  17677. end;
  17678. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  17679. begin
  17680. if thebits = 0 then
  17681. pTDefRegMap(@Self)^.clr := $00000010
  17682. else
  17683. pTDefRegMap(@Self)^.&set := $00000010;
  17684. end;
  17685. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  17686. begin
  17687. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17688. end;
  17689. procedure TOCMP1_OC1CON.setOC32; inline;
  17690. begin
  17691. pTDefRegMap(@Self)^.&set := $00000020;
  17692. end;
  17693. procedure TOCMP1_OC1CON.clearOC32; inline;
  17694. begin
  17695. pTDefRegMap(@Self)^.clr := $00000020;
  17696. end;
  17697. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  17698. begin
  17699. if thebits = 0 then
  17700. pTDefRegMap(@Self)^.clr := $00000020
  17701. else
  17702. pTDefRegMap(@Self)^.&set := $00000020;
  17703. end;
  17704. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  17705. begin
  17706. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17707. end;
  17708. procedure TOCMP1_OC1CON.setSIDL; inline;
  17709. begin
  17710. pTDefRegMap(@Self)^.&set := $00002000;
  17711. end;
  17712. procedure TOCMP1_OC1CON.clearSIDL; inline;
  17713. begin
  17714. pTDefRegMap(@Self)^.clr := $00002000;
  17715. end;
  17716. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  17717. begin
  17718. if thebits = 0 then
  17719. pTDefRegMap(@Self)^.clr := $00002000
  17720. else
  17721. pTDefRegMap(@Self)^.&set := $00002000;
  17722. end;
  17723. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  17724. begin
  17725. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17726. end;
  17727. procedure TOCMP1_OC1CON.setON; inline;
  17728. begin
  17729. pTDefRegMap(@Self)^.&set := $00008000;
  17730. end;
  17731. procedure TOCMP1_OC1CON.clearON; inline;
  17732. begin
  17733. pTDefRegMap(@Self)^.clr := $00008000;
  17734. end;
  17735. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  17736. begin
  17737. if thebits = 0 then
  17738. pTDefRegMap(@Self)^.clr := $00008000
  17739. else
  17740. pTDefRegMap(@Self)^.&set := $00008000;
  17741. end;
  17742. function TOCMP1_OC1CON.getON : TBits_1; inline;
  17743. begin
  17744. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17745. end;
  17746. procedure TOCMP1_OC1CON.setOCM0; inline;
  17747. begin
  17748. pTDefRegMap(@Self)^.&set := $00000001;
  17749. end;
  17750. procedure TOCMP1_OC1CON.clearOCM0; inline;
  17751. begin
  17752. pTDefRegMap(@Self)^.clr := $00000001;
  17753. end;
  17754. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  17755. begin
  17756. if thebits = 0 then
  17757. pTDefRegMap(@Self)^.clr := $00000001
  17758. else
  17759. pTDefRegMap(@Self)^.&set := $00000001;
  17760. end;
  17761. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  17762. begin
  17763. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17764. end;
  17765. procedure TOCMP1_OC1CON.setOCM1; inline;
  17766. begin
  17767. pTDefRegMap(@Self)^.&set := $00000002;
  17768. end;
  17769. procedure TOCMP1_OC1CON.clearOCM1; inline;
  17770. begin
  17771. pTDefRegMap(@Self)^.clr := $00000002;
  17772. end;
  17773. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  17774. begin
  17775. if thebits = 0 then
  17776. pTDefRegMap(@Self)^.clr := $00000002
  17777. else
  17778. pTDefRegMap(@Self)^.&set := $00000002;
  17779. end;
  17780. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  17781. begin
  17782. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17783. end;
  17784. procedure TOCMP1_OC1CON.setOCM2; inline;
  17785. begin
  17786. pTDefRegMap(@Self)^.&set := $00000004;
  17787. end;
  17788. procedure TOCMP1_OC1CON.clearOCM2; inline;
  17789. begin
  17790. pTDefRegMap(@Self)^.clr := $00000004;
  17791. end;
  17792. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  17793. begin
  17794. if thebits = 0 then
  17795. pTDefRegMap(@Self)^.clr := $00000004
  17796. else
  17797. pTDefRegMap(@Self)^.&set := $00000004;
  17798. end;
  17799. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  17800. begin
  17801. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17802. end;
  17803. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  17804. begin
  17805. pTDefRegMap(@Self)^.&set := $00002000;
  17806. end;
  17807. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  17808. begin
  17809. pTDefRegMap(@Self)^.clr := $00002000;
  17810. end;
  17811. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  17812. begin
  17813. if thebits = 0 then
  17814. pTDefRegMap(@Self)^.clr := $00002000
  17815. else
  17816. pTDefRegMap(@Self)^.&set := $00002000;
  17817. end;
  17818. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  17819. begin
  17820. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17821. end;
  17822. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  17823. begin
  17824. pTDefRegMap(@Self)^.val := thebits;
  17825. end;
  17826. function TOCMP1_OC1CON.getw : TBits_32; inline;
  17827. begin
  17828. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17829. end;
  17830. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  17831. begin
  17832. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17833. end;
  17834. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  17835. begin
  17836. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17837. end;
  17838. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  17839. begin
  17840. pTDefRegMap(@Self)^.&set := $00000008;
  17841. end;
  17842. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  17843. begin
  17844. pTDefRegMap(@Self)^.clr := $00000008;
  17845. end;
  17846. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  17847. begin
  17848. if thebits = 0 then
  17849. pTDefRegMap(@Self)^.clr := $00000008
  17850. else
  17851. pTDefRegMap(@Self)^.&set := $00000008;
  17852. end;
  17853. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  17854. begin
  17855. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17856. end;
  17857. procedure TOCMP2_OC2CON.setOCFLT; inline;
  17858. begin
  17859. pTDefRegMap(@Self)^.&set := $00000010;
  17860. end;
  17861. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  17862. begin
  17863. pTDefRegMap(@Self)^.clr := $00000010;
  17864. end;
  17865. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  17866. begin
  17867. if thebits = 0 then
  17868. pTDefRegMap(@Self)^.clr := $00000010
  17869. else
  17870. pTDefRegMap(@Self)^.&set := $00000010;
  17871. end;
  17872. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  17873. begin
  17874. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17875. end;
  17876. procedure TOCMP2_OC2CON.setOC32; inline;
  17877. begin
  17878. pTDefRegMap(@Self)^.&set := $00000020;
  17879. end;
  17880. procedure TOCMP2_OC2CON.clearOC32; inline;
  17881. begin
  17882. pTDefRegMap(@Self)^.clr := $00000020;
  17883. end;
  17884. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  17885. begin
  17886. if thebits = 0 then
  17887. pTDefRegMap(@Self)^.clr := $00000020
  17888. else
  17889. pTDefRegMap(@Self)^.&set := $00000020;
  17890. end;
  17891. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  17892. begin
  17893. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17894. end;
  17895. procedure TOCMP2_OC2CON.setSIDL; inline;
  17896. begin
  17897. pTDefRegMap(@Self)^.&set := $00002000;
  17898. end;
  17899. procedure TOCMP2_OC2CON.clearSIDL; inline;
  17900. begin
  17901. pTDefRegMap(@Self)^.clr := $00002000;
  17902. end;
  17903. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  17904. begin
  17905. if thebits = 0 then
  17906. pTDefRegMap(@Self)^.clr := $00002000
  17907. else
  17908. pTDefRegMap(@Self)^.&set := $00002000;
  17909. end;
  17910. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  17911. begin
  17912. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17913. end;
  17914. procedure TOCMP2_OC2CON.setON; inline;
  17915. begin
  17916. pTDefRegMap(@Self)^.&set := $00008000;
  17917. end;
  17918. procedure TOCMP2_OC2CON.clearON; inline;
  17919. begin
  17920. pTDefRegMap(@Self)^.clr := $00008000;
  17921. end;
  17922. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  17923. begin
  17924. if thebits = 0 then
  17925. pTDefRegMap(@Self)^.clr := $00008000
  17926. else
  17927. pTDefRegMap(@Self)^.&set := $00008000;
  17928. end;
  17929. function TOCMP2_OC2CON.getON : TBits_1; inline;
  17930. begin
  17931. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17932. end;
  17933. procedure TOCMP2_OC2CON.setOCM0; inline;
  17934. begin
  17935. pTDefRegMap(@Self)^.&set := $00000001;
  17936. end;
  17937. procedure TOCMP2_OC2CON.clearOCM0; inline;
  17938. begin
  17939. pTDefRegMap(@Self)^.clr := $00000001;
  17940. end;
  17941. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  17942. begin
  17943. if thebits = 0 then
  17944. pTDefRegMap(@Self)^.clr := $00000001
  17945. else
  17946. pTDefRegMap(@Self)^.&set := $00000001;
  17947. end;
  17948. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  17949. begin
  17950. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17951. end;
  17952. procedure TOCMP2_OC2CON.setOCM1; inline;
  17953. begin
  17954. pTDefRegMap(@Self)^.&set := $00000002;
  17955. end;
  17956. procedure TOCMP2_OC2CON.clearOCM1; inline;
  17957. begin
  17958. pTDefRegMap(@Self)^.clr := $00000002;
  17959. end;
  17960. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  17961. begin
  17962. if thebits = 0 then
  17963. pTDefRegMap(@Self)^.clr := $00000002
  17964. else
  17965. pTDefRegMap(@Self)^.&set := $00000002;
  17966. end;
  17967. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  17968. begin
  17969. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17970. end;
  17971. procedure TOCMP2_OC2CON.setOCM2; inline;
  17972. begin
  17973. pTDefRegMap(@Self)^.&set := $00000004;
  17974. end;
  17975. procedure TOCMP2_OC2CON.clearOCM2; inline;
  17976. begin
  17977. pTDefRegMap(@Self)^.clr := $00000004;
  17978. end;
  17979. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  17980. begin
  17981. if thebits = 0 then
  17982. pTDefRegMap(@Self)^.clr := $00000004
  17983. else
  17984. pTDefRegMap(@Self)^.&set := $00000004;
  17985. end;
  17986. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  17987. begin
  17988. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17989. end;
  17990. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  17991. begin
  17992. pTDefRegMap(@Self)^.&set := $00002000;
  17993. end;
  17994. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  17995. begin
  17996. pTDefRegMap(@Self)^.clr := $00002000;
  17997. end;
  17998. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  17999. begin
  18000. if thebits = 0 then
  18001. pTDefRegMap(@Self)^.clr := $00002000
  18002. else
  18003. pTDefRegMap(@Self)^.&set := $00002000;
  18004. end;
  18005. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  18006. begin
  18007. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18008. end;
  18009. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  18010. begin
  18011. pTDefRegMap(@Self)^.val := thebits;
  18012. end;
  18013. function TOCMP2_OC2CON.getw : TBits_32; inline;
  18014. begin
  18015. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18016. end;
  18017. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  18018. begin
  18019. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18020. end;
  18021. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  18022. begin
  18023. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18024. end;
  18025. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  18026. begin
  18027. pTDefRegMap(@Self)^.&set := $00000008;
  18028. end;
  18029. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  18030. begin
  18031. pTDefRegMap(@Self)^.clr := $00000008;
  18032. end;
  18033. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  18034. begin
  18035. if thebits = 0 then
  18036. pTDefRegMap(@Self)^.clr := $00000008
  18037. else
  18038. pTDefRegMap(@Self)^.&set := $00000008;
  18039. end;
  18040. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  18041. begin
  18042. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18043. end;
  18044. procedure TOCMP3_OC3CON.setOCFLT; inline;
  18045. begin
  18046. pTDefRegMap(@Self)^.&set := $00000010;
  18047. end;
  18048. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  18049. begin
  18050. pTDefRegMap(@Self)^.clr := $00000010;
  18051. end;
  18052. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  18053. begin
  18054. if thebits = 0 then
  18055. pTDefRegMap(@Self)^.clr := $00000010
  18056. else
  18057. pTDefRegMap(@Self)^.&set := $00000010;
  18058. end;
  18059. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  18060. begin
  18061. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18062. end;
  18063. procedure TOCMP3_OC3CON.setOC32; inline;
  18064. begin
  18065. pTDefRegMap(@Self)^.&set := $00000020;
  18066. end;
  18067. procedure TOCMP3_OC3CON.clearOC32; inline;
  18068. begin
  18069. pTDefRegMap(@Self)^.clr := $00000020;
  18070. end;
  18071. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  18072. begin
  18073. if thebits = 0 then
  18074. pTDefRegMap(@Self)^.clr := $00000020
  18075. else
  18076. pTDefRegMap(@Self)^.&set := $00000020;
  18077. end;
  18078. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  18079. begin
  18080. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18081. end;
  18082. procedure TOCMP3_OC3CON.setSIDL; inline;
  18083. begin
  18084. pTDefRegMap(@Self)^.&set := $00002000;
  18085. end;
  18086. procedure TOCMP3_OC3CON.clearSIDL; inline;
  18087. begin
  18088. pTDefRegMap(@Self)^.clr := $00002000;
  18089. end;
  18090. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  18091. begin
  18092. if thebits = 0 then
  18093. pTDefRegMap(@Self)^.clr := $00002000
  18094. else
  18095. pTDefRegMap(@Self)^.&set := $00002000;
  18096. end;
  18097. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  18098. begin
  18099. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18100. end;
  18101. procedure TOCMP3_OC3CON.setON; inline;
  18102. begin
  18103. pTDefRegMap(@Self)^.&set := $00008000;
  18104. end;
  18105. procedure TOCMP3_OC3CON.clearON; inline;
  18106. begin
  18107. pTDefRegMap(@Self)^.clr := $00008000;
  18108. end;
  18109. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  18110. begin
  18111. if thebits = 0 then
  18112. pTDefRegMap(@Self)^.clr := $00008000
  18113. else
  18114. pTDefRegMap(@Self)^.&set := $00008000;
  18115. end;
  18116. function TOCMP3_OC3CON.getON : TBits_1; inline;
  18117. begin
  18118. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18119. end;
  18120. procedure TOCMP3_OC3CON.setOCM0; inline;
  18121. begin
  18122. pTDefRegMap(@Self)^.&set := $00000001;
  18123. end;
  18124. procedure TOCMP3_OC3CON.clearOCM0; inline;
  18125. begin
  18126. pTDefRegMap(@Self)^.clr := $00000001;
  18127. end;
  18128. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  18129. begin
  18130. if thebits = 0 then
  18131. pTDefRegMap(@Self)^.clr := $00000001
  18132. else
  18133. pTDefRegMap(@Self)^.&set := $00000001;
  18134. end;
  18135. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  18136. begin
  18137. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18138. end;
  18139. procedure TOCMP3_OC3CON.setOCM1; inline;
  18140. begin
  18141. pTDefRegMap(@Self)^.&set := $00000002;
  18142. end;
  18143. procedure TOCMP3_OC3CON.clearOCM1; inline;
  18144. begin
  18145. pTDefRegMap(@Self)^.clr := $00000002;
  18146. end;
  18147. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  18148. begin
  18149. if thebits = 0 then
  18150. pTDefRegMap(@Self)^.clr := $00000002
  18151. else
  18152. pTDefRegMap(@Self)^.&set := $00000002;
  18153. end;
  18154. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  18155. begin
  18156. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18157. end;
  18158. procedure TOCMP3_OC3CON.setOCM2; inline;
  18159. begin
  18160. pTDefRegMap(@Self)^.&set := $00000004;
  18161. end;
  18162. procedure TOCMP3_OC3CON.clearOCM2; inline;
  18163. begin
  18164. pTDefRegMap(@Self)^.clr := $00000004;
  18165. end;
  18166. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  18167. begin
  18168. if thebits = 0 then
  18169. pTDefRegMap(@Self)^.clr := $00000004
  18170. else
  18171. pTDefRegMap(@Self)^.&set := $00000004;
  18172. end;
  18173. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  18174. begin
  18175. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18176. end;
  18177. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  18178. begin
  18179. pTDefRegMap(@Self)^.&set := $00002000;
  18180. end;
  18181. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  18182. begin
  18183. pTDefRegMap(@Self)^.clr := $00002000;
  18184. end;
  18185. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  18186. begin
  18187. if thebits = 0 then
  18188. pTDefRegMap(@Self)^.clr := $00002000
  18189. else
  18190. pTDefRegMap(@Self)^.&set := $00002000;
  18191. end;
  18192. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  18193. begin
  18194. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18195. end;
  18196. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  18197. begin
  18198. pTDefRegMap(@Self)^.val := thebits;
  18199. end;
  18200. function TOCMP3_OC3CON.getw : TBits_32; inline;
  18201. begin
  18202. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18203. end;
  18204. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  18205. begin
  18206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18207. end;
  18208. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  18209. begin
  18210. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18211. end;
  18212. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.&set := $00000008;
  18215. end;
  18216. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  18217. begin
  18218. pTDefRegMap(@Self)^.clr := $00000008;
  18219. end;
  18220. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  18221. begin
  18222. if thebits = 0 then
  18223. pTDefRegMap(@Self)^.clr := $00000008
  18224. else
  18225. pTDefRegMap(@Self)^.&set := $00000008;
  18226. end;
  18227. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  18228. begin
  18229. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18230. end;
  18231. procedure TOCMP4_OC4CON.setOCFLT; inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.&set := $00000010;
  18234. end;
  18235. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  18236. begin
  18237. pTDefRegMap(@Self)^.clr := $00000010;
  18238. end;
  18239. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  18240. begin
  18241. if thebits = 0 then
  18242. pTDefRegMap(@Self)^.clr := $00000010
  18243. else
  18244. pTDefRegMap(@Self)^.&set := $00000010;
  18245. end;
  18246. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  18247. begin
  18248. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18249. end;
  18250. procedure TOCMP4_OC4CON.setOC32; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.&set := $00000020;
  18253. end;
  18254. procedure TOCMP4_OC4CON.clearOC32; inline;
  18255. begin
  18256. pTDefRegMap(@Self)^.clr := $00000020;
  18257. end;
  18258. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  18259. begin
  18260. if thebits = 0 then
  18261. pTDefRegMap(@Self)^.clr := $00000020
  18262. else
  18263. pTDefRegMap(@Self)^.&set := $00000020;
  18264. end;
  18265. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  18266. begin
  18267. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18268. end;
  18269. procedure TOCMP4_OC4CON.setSIDL; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.&set := $00002000;
  18272. end;
  18273. procedure TOCMP4_OC4CON.clearSIDL; inline;
  18274. begin
  18275. pTDefRegMap(@Self)^.clr := $00002000;
  18276. end;
  18277. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  18278. begin
  18279. if thebits = 0 then
  18280. pTDefRegMap(@Self)^.clr := $00002000
  18281. else
  18282. pTDefRegMap(@Self)^.&set := $00002000;
  18283. end;
  18284. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  18285. begin
  18286. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18287. end;
  18288. procedure TOCMP4_OC4CON.setON; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.&set := $00008000;
  18291. end;
  18292. procedure TOCMP4_OC4CON.clearON; inline;
  18293. begin
  18294. pTDefRegMap(@Self)^.clr := $00008000;
  18295. end;
  18296. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  18297. begin
  18298. if thebits = 0 then
  18299. pTDefRegMap(@Self)^.clr := $00008000
  18300. else
  18301. pTDefRegMap(@Self)^.&set := $00008000;
  18302. end;
  18303. function TOCMP4_OC4CON.getON : TBits_1; inline;
  18304. begin
  18305. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18306. end;
  18307. procedure TOCMP4_OC4CON.setOCM0; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.&set := $00000001;
  18310. end;
  18311. procedure TOCMP4_OC4CON.clearOCM0; inline;
  18312. begin
  18313. pTDefRegMap(@Self)^.clr := $00000001;
  18314. end;
  18315. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  18316. begin
  18317. if thebits = 0 then
  18318. pTDefRegMap(@Self)^.clr := $00000001
  18319. else
  18320. pTDefRegMap(@Self)^.&set := $00000001;
  18321. end;
  18322. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  18323. begin
  18324. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18325. end;
  18326. procedure TOCMP4_OC4CON.setOCM1; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.&set := $00000002;
  18329. end;
  18330. procedure TOCMP4_OC4CON.clearOCM1; inline;
  18331. begin
  18332. pTDefRegMap(@Self)^.clr := $00000002;
  18333. end;
  18334. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  18335. begin
  18336. if thebits = 0 then
  18337. pTDefRegMap(@Self)^.clr := $00000002
  18338. else
  18339. pTDefRegMap(@Self)^.&set := $00000002;
  18340. end;
  18341. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  18342. begin
  18343. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18344. end;
  18345. procedure TOCMP4_OC4CON.setOCM2; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.&set := $00000004;
  18348. end;
  18349. procedure TOCMP4_OC4CON.clearOCM2; inline;
  18350. begin
  18351. pTDefRegMap(@Self)^.clr := $00000004;
  18352. end;
  18353. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  18354. begin
  18355. if thebits = 0 then
  18356. pTDefRegMap(@Self)^.clr := $00000004
  18357. else
  18358. pTDefRegMap(@Self)^.&set := $00000004;
  18359. end;
  18360. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  18361. begin
  18362. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18363. end;
  18364. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  18365. begin
  18366. pTDefRegMap(@Self)^.&set := $00002000;
  18367. end;
  18368. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  18369. begin
  18370. pTDefRegMap(@Self)^.clr := $00002000;
  18371. end;
  18372. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  18373. begin
  18374. if thebits = 0 then
  18375. pTDefRegMap(@Self)^.clr := $00002000
  18376. else
  18377. pTDefRegMap(@Self)^.&set := $00002000;
  18378. end;
  18379. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  18380. begin
  18381. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18382. end;
  18383. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  18384. begin
  18385. pTDefRegMap(@Self)^.val := thebits;
  18386. end;
  18387. function TOCMP4_OC4CON.getw : TBits_32; inline;
  18388. begin
  18389. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18390. end;
  18391. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  18392. begin
  18393. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18394. end;
  18395. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  18396. begin
  18397. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18398. end;
  18399. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  18400. begin
  18401. pTDefRegMap(@Self)^.&set := $00000008;
  18402. end;
  18403. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  18404. begin
  18405. pTDefRegMap(@Self)^.clr := $00000008;
  18406. end;
  18407. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  18408. begin
  18409. if thebits = 0 then
  18410. pTDefRegMap(@Self)^.clr := $00000008
  18411. else
  18412. pTDefRegMap(@Self)^.&set := $00000008;
  18413. end;
  18414. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  18415. begin
  18416. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18417. end;
  18418. procedure TOCMP5_OC5CON.setOCFLT; inline;
  18419. begin
  18420. pTDefRegMap(@Self)^.&set := $00000010;
  18421. end;
  18422. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  18423. begin
  18424. pTDefRegMap(@Self)^.clr := $00000010;
  18425. end;
  18426. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  18427. begin
  18428. if thebits = 0 then
  18429. pTDefRegMap(@Self)^.clr := $00000010
  18430. else
  18431. pTDefRegMap(@Self)^.&set := $00000010;
  18432. end;
  18433. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  18434. begin
  18435. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18436. end;
  18437. procedure TOCMP5_OC5CON.setOC32; inline;
  18438. begin
  18439. pTDefRegMap(@Self)^.&set := $00000020;
  18440. end;
  18441. procedure TOCMP5_OC5CON.clearOC32; inline;
  18442. begin
  18443. pTDefRegMap(@Self)^.clr := $00000020;
  18444. end;
  18445. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  18446. begin
  18447. if thebits = 0 then
  18448. pTDefRegMap(@Self)^.clr := $00000020
  18449. else
  18450. pTDefRegMap(@Self)^.&set := $00000020;
  18451. end;
  18452. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  18453. begin
  18454. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18455. end;
  18456. procedure TOCMP5_OC5CON.setSIDL; inline;
  18457. begin
  18458. pTDefRegMap(@Self)^.&set := $00002000;
  18459. end;
  18460. procedure TOCMP5_OC5CON.clearSIDL; inline;
  18461. begin
  18462. pTDefRegMap(@Self)^.clr := $00002000;
  18463. end;
  18464. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  18465. begin
  18466. if thebits = 0 then
  18467. pTDefRegMap(@Self)^.clr := $00002000
  18468. else
  18469. pTDefRegMap(@Self)^.&set := $00002000;
  18470. end;
  18471. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  18472. begin
  18473. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18474. end;
  18475. procedure TOCMP5_OC5CON.setON; inline;
  18476. begin
  18477. pTDefRegMap(@Self)^.&set := $00008000;
  18478. end;
  18479. procedure TOCMP5_OC5CON.clearON; inline;
  18480. begin
  18481. pTDefRegMap(@Self)^.clr := $00008000;
  18482. end;
  18483. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  18484. begin
  18485. if thebits = 0 then
  18486. pTDefRegMap(@Self)^.clr := $00008000
  18487. else
  18488. pTDefRegMap(@Self)^.&set := $00008000;
  18489. end;
  18490. function TOCMP5_OC5CON.getON : TBits_1; inline;
  18491. begin
  18492. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18493. end;
  18494. procedure TOCMP5_OC5CON.setOCM0; inline;
  18495. begin
  18496. pTDefRegMap(@Self)^.&set := $00000001;
  18497. end;
  18498. procedure TOCMP5_OC5CON.clearOCM0; inline;
  18499. begin
  18500. pTDefRegMap(@Self)^.clr := $00000001;
  18501. end;
  18502. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  18503. begin
  18504. if thebits = 0 then
  18505. pTDefRegMap(@Self)^.clr := $00000001
  18506. else
  18507. pTDefRegMap(@Self)^.&set := $00000001;
  18508. end;
  18509. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  18510. begin
  18511. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18512. end;
  18513. procedure TOCMP5_OC5CON.setOCM1; inline;
  18514. begin
  18515. pTDefRegMap(@Self)^.&set := $00000002;
  18516. end;
  18517. procedure TOCMP5_OC5CON.clearOCM1; inline;
  18518. begin
  18519. pTDefRegMap(@Self)^.clr := $00000002;
  18520. end;
  18521. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  18522. begin
  18523. if thebits = 0 then
  18524. pTDefRegMap(@Self)^.clr := $00000002
  18525. else
  18526. pTDefRegMap(@Self)^.&set := $00000002;
  18527. end;
  18528. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  18529. begin
  18530. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18531. end;
  18532. procedure TOCMP5_OC5CON.setOCM2; inline;
  18533. begin
  18534. pTDefRegMap(@Self)^.&set := $00000004;
  18535. end;
  18536. procedure TOCMP5_OC5CON.clearOCM2; inline;
  18537. begin
  18538. pTDefRegMap(@Self)^.clr := $00000004;
  18539. end;
  18540. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  18541. begin
  18542. if thebits = 0 then
  18543. pTDefRegMap(@Self)^.clr := $00000004
  18544. else
  18545. pTDefRegMap(@Self)^.&set := $00000004;
  18546. end;
  18547. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  18548. begin
  18549. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18550. end;
  18551. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  18552. begin
  18553. pTDefRegMap(@Self)^.&set := $00002000;
  18554. end;
  18555. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  18556. begin
  18557. pTDefRegMap(@Self)^.clr := $00002000;
  18558. end;
  18559. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  18560. begin
  18561. if thebits = 0 then
  18562. pTDefRegMap(@Self)^.clr := $00002000
  18563. else
  18564. pTDefRegMap(@Self)^.&set := $00002000;
  18565. end;
  18566. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  18567. begin
  18568. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18569. end;
  18570. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  18571. begin
  18572. pTDefRegMap(@Self)^.val := thebits;
  18573. end;
  18574. function TOCMP5_OC5CON.getw : TBits_32; inline;
  18575. begin
  18576. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18577. end;
  18578. procedure TI2C1_I2C1111CON.setSEN; inline;
  18579. begin
  18580. pTDefRegMap(@Self)^.&set := $00000001;
  18581. end;
  18582. procedure TI2C1_I2C1111CON.clearSEN; inline;
  18583. begin
  18584. pTDefRegMap(@Self)^.clr := $00000001;
  18585. end;
  18586. procedure TI2C1_I2C1111CON.setSEN(thebits : TBits_1); inline;
  18587. begin
  18588. if thebits = 0 then
  18589. pTDefRegMap(@Self)^.clr := $00000001
  18590. else
  18591. pTDefRegMap(@Self)^.&set := $00000001;
  18592. end;
  18593. function TI2C1_I2C1111CON.getSEN : TBits_1; inline;
  18594. begin
  18595. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18596. end;
  18597. procedure TI2C1_I2C1111CON.setRSEN; inline;
  18598. begin
  18599. pTDefRegMap(@Self)^.&set := $00000002;
  18600. end;
  18601. procedure TI2C1_I2C1111CON.clearRSEN; inline;
  18602. begin
  18603. pTDefRegMap(@Self)^.clr := $00000002;
  18604. end;
  18605. procedure TI2C1_I2C1111CON.setRSEN(thebits : TBits_1); inline;
  18606. begin
  18607. if thebits = 0 then
  18608. pTDefRegMap(@Self)^.clr := $00000002
  18609. else
  18610. pTDefRegMap(@Self)^.&set := $00000002;
  18611. end;
  18612. function TI2C1_I2C1111CON.getRSEN : TBits_1; inline;
  18613. begin
  18614. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18615. end;
  18616. procedure TI2C1_I2C1111CON.setPEN; inline;
  18617. begin
  18618. pTDefRegMap(@Self)^.&set := $00000004;
  18619. end;
  18620. procedure TI2C1_I2C1111CON.clearPEN; inline;
  18621. begin
  18622. pTDefRegMap(@Self)^.clr := $00000004;
  18623. end;
  18624. procedure TI2C1_I2C1111CON.setPEN(thebits : TBits_1); inline;
  18625. begin
  18626. if thebits = 0 then
  18627. pTDefRegMap(@Self)^.clr := $00000004
  18628. else
  18629. pTDefRegMap(@Self)^.&set := $00000004;
  18630. end;
  18631. function TI2C1_I2C1111CON.getPEN : TBits_1; inline;
  18632. begin
  18633. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18634. end;
  18635. procedure TI2C1_I2C1111CON.setRCEN; inline;
  18636. begin
  18637. pTDefRegMap(@Self)^.&set := $00000008;
  18638. end;
  18639. procedure TI2C1_I2C1111CON.clearRCEN; inline;
  18640. begin
  18641. pTDefRegMap(@Self)^.clr := $00000008;
  18642. end;
  18643. procedure TI2C1_I2C1111CON.setRCEN(thebits : TBits_1); inline;
  18644. begin
  18645. if thebits = 0 then
  18646. pTDefRegMap(@Self)^.clr := $00000008
  18647. else
  18648. pTDefRegMap(@Self)^.&set := $00000008;
  18649. end;
  18650. function TI2C1_I2C1111CON.getRCEN : TBits_1; inline;
  18651. begin
  18652. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18653. end;
  18654. procedure TI2C1_I2C1111CON.setACKEN; inline;
  18655. begin
  18656. pTDefRegMap(@Self)^.&set := $00000010;
  18657. end;
  18658. procedure TI2C1_I2C1111CON.clearACKEN; inline;
  18659. begin
  18660. pTDefRegMap(@Self)^.clr := $00000010;
  18661. end;
  18662. procedure TI2C1_I2C1111CON.setACKEN(thebits : TBits_1); inline;
  18663. begin
  18664. if thebits = 0 then
  18665. pTDefRegMap(@Self)^.clr := $00000010
  18666. else
  18667. pTDefRegMap(@Self)^.&set := $00000010;
  18668. end;
  18669. function TI2C1_I2C1111CON.getACKEN : TBits_1; inline;
  18670. begin
  18671. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18672. end;
  18673. procedure TI2C1_I2C1111CON.setACKDT; inline;
  18674. begin
  18675. pTDefRegMap(@Self)^.&set := $00000020;
  18676. end;
  18677. procedure TI2C1_I2C1111CON.clearACKDT; inline;
  18678. begin
  18679. pTDefRegMap(@Self)^.clr := $00000020;
  18680. end;
  18681. procedure TI2C1_I2C1111CON.setACKDT(thebits : TBits_1); inline;
  18682. begin
  18683. if thebits = 0 then
  18684. pTDefRegMap(@Self)^.clr := $00000020
  18685. else
  18686. pTDefRegMap(@Self)^.&set := $00000020;
  18687. end;
  18688. function TI2C1_I2C1111CON.getACKDT : TBits_1; inline;
  18689. begin
  18690. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18691. end;
  18692. procedure TI2C1_I2C1111CON.setSTREN; inline;
  18693. begin
  18694. pTDefRegMap(@Self)^.&set := $00000040;
  18695. end;
  18696. procedure TI2C1_I2C1111CON.clearSTREN; inline;
  18697. begin
  18698. pTDefRegMap(@Self)^.clr := $00000040;
  18699. end;
  18700. procedure TI2C1_I2C1111CON.setSTREN(thebits : TBits_1); inline;
  18701. begin
  18702. if thebits = 0 then
  18703. pTDefRegMap(@Self)^.clr := $00000040
  18704. else
  18705. pTDefRegMap(@Self)^.&set := $00000040;
  18706. end;
  18707. function TI2C1_I2C1111CON.getSTREN : TBits_1; inline;
  18708. begin
  18709. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18710. end;
  18711. procedure TI2C1_I2C1111CON.setGCEN; inline;
  18712. begin
  18713. pTDefRegMap(@Self)^.&set := $00000080;
  18714. end;
  18715. procedure TI2C1_I2C1111CON.clearGCEN; inline;
  18716. begin
  18717. pTDefRegMap(@Self)^.clr := $00000080;
  18718. end;
  18719. procedure TI2C1_I2C1111CON.setGCEN(thebits : TBits_1); inline;
  18720. begin
  18721. if thebits = 0 then
  18722. pTDefRegMap(@Self)^.clr := $00000080
  18723. else
  18724. pTDefRegMap(@Self)^.&set := $00000080;
  18725. end;
  18726. function TI2C1_I2C1111CON.getGCEN : TBits_1; inline;
  18727. begin
  18728. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18729. end;
  18730. procedure TI2C1_I2C1111CON.setSMEN; inline;
  18731. begin
  18732. pTDefRegMap(@Self)^.&set := $00000100;
  18733. end;
  18734. procedure TI2C1_I2C1111CON.clearSMEN; inline;
  18735. begin
  18736. pTDefRegMap(@Self)^.clr := $00000100;
  18737. end;
  18738. procedure TI2C1_I2C1111CON.setSMEN(thebits : TBits_1); inline;
  18739. begin
  18740. if thebits = 0 then
  18741. pTDefRegMap(@Self)^.clr := $00000100
  18742. else
  18743. pTDefRegMap(@Self)^.&set := $00000100;
  18744. end;
  18745. function TI2C1_I2C1111CON.getSMEN : TBits_1; inline;
  18746. begin
  18747. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18748. end;
  18749. procedure TI2C1_I2C1111CON.setDISSLW; inline;
  18750. begin
  18751. pTDefRegMap(@Self)^.&set := $00000200;
  18752. end;
  18753. procedure TI2C1_I2C1111CON.clearDISSLW; inline;
  18754. begin
  18755. pTDefRegMap(@Self)^.clr := $00000200;
  18756. end;
  18757. procedure TI2C1_I2C1111CON.setDISSLW(thebits : TBits_1); inline;
  18758. begin
  18759. if thebits = 0 then
  18760. pTDefRegMap(@Self)^.clr := $00000200
  18761. else
  18762. pTDefRegMap(@Self)^.&set := $00000200;
  18763. end;
  18764. function TI2C1_I2C1111CON.getDISSLW : TBits_1; inline;
  18765. begin
  18766. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18767. end;
  18768. procedure TI2C1_I2C1111CON.setA10M; inline;
  18769. begin
  18770. pTDefRegMap(@Self)^.&set := $00000400;
  18771. end;
  18772. procedure TI2C1_I2C1111CON.clearA10M; inline;
  18773. begin
  18774. pTDefRegMap(@Self)^.clr := $00000400;
  18775. end;
  18776. procedure TI2C1_I2C1111CON.setA10M(thebits : TBits_1); inline;
  18777. begin
  18778. if thebits = 0 then
  18779. pTDefRegMap(@Self)^.clr := $00000400
  18780. else
  18781. pTDefRegMap(@Self)^.&set := $00000400;
  18782. end;
  18783. function TI2C1_I2C1111CON.getA10M : TBits_1; inline;
  18784. begin
  18785. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18786. end;
  18787. procedure TI2C1_I2C1111CON.setSTRICT; inline;
  18788. begin
  18789. pTDefRegMap(@Self)^.&set := $00000800;
  18790. end;
  18791. procedure TI2C1_I2C1111CON.clearSTRICT; inline;
  18792. begin
  18793. pTDefRegMap(@Self)^.clr := $00000800;
  18794. end;
  18795. procedure TI2C1_I2C1111CON.setSTRICT(thebits : TBits_1); inline;
  18796. begin
  18797. if thebits = 0 then
  18798. pTDefRegMap(@Self)^.clr := $00000800
  18799. else
  18800. pTDefRegMap(@Self)^.&set := $00000800;
  18801. end;
  18802. function TI2C1_I2C1111CON.getSTRICT : TBits_1; inline;
  18803. begin
  18804. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18805. end;
  18806. procedure TI2C1_I2C1111CON.setSCLREL; inline;
  18807. begin
  18808. pTDefRegMap(@Self)^.&set := $00001000;
  18809. end;
  18810. procedure TI2C1_I2C1111CON.clearSCLREL; inline;
  18811. begin
  18812. pTDefRegMap(@Self)^.clr := $00001000;
  18813. end;
  18814. procedure TI2C1_I2C1111CON.setSCLREL(thebits : TBits_1); inline;
  18815. begin
  18816. if thebits = 0 then
  18817. pTDefRegMap(@Self)^.clr := $00001000
  18818. else
  18819. pTDefRegMap(@Self)^.&set := $00001000;
  18820. end;
  18821. function TI2C1_I2C1111CON.getSCLREL : TBits_1; inline;
  18822. begin
  18823. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18824. end;
  18825. procedure TI2C1_I2C1111CON.setSIDL; inline;
  18826. begin
  18827. pTDefRegMap(@Self)^.&set := $00002000;
  18828. end;
  18829. procedure TI2C1_I2C1111CON.clearSIDL; inline;
  18830. begin
  18831. pTDefRegMap(@Self)^.clr := $00002000;
  18832. end;
  18833. procedure TI2C1_I2C1111CON.setSIDL(thebits : TBits_1); inline;
  18834. begin
  18835. if thebits = 0 then
  18836. pTDefRegMap(@Self)^.clr := $00002000
  18837. else
  18838. pTDefRegMap(@Self)^.&set := $00002000;
  18839. end;
  18840. function TI2C1_I2C1111CON.getSIDL : TBits_1; inline;
  18841. begin
  18842. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18843. end;
  18844. procedure TI2C1_I2C1111CON.setON; inline;
  18845. begin
  18846. pTDefRegMap(@Self)^.&set := $00008000;
  18847. end;
  18848. procedure TI2C1_I2C1111CON.clearON; inline;
  18849. begin
  18850. pTDefRegMap(@Self)^.clr := $00008000;
  18851. end;
  18852. procedure TI2C1_I2C1111CON.setON(thebits : TBits_1); inline;
  18853. begin
  18854. if thebits = 0 then
  18855. pTDefRegMap(@Self)^.clr := $00008000
  18856. else
  18857. pTDefRegMap(@Self)^.&set := $00008000;
  18858. end;
  18859. function TI2C1_I2C1111CON.getON : TBits_1; inline;
  18860. begin
  18861. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18862. end;
  18863. procedure TI2C1_I2C1111CON.setIPMIEN; inline;
  18864. begin
  18865. pTDefRegMap(@Self)^.&set := $00000800;
  18866. end;
  18867. procedure TI2C1_I2C1111CON.clearIPMIEN; inline;
  18868. begin
  18869. pTDefRegMap(@Self)^.clr := $00000800;
  18870. end;
  18871. procedure TI2C1_I2C1111CON.setIPMIEN(thebits : TBits_1); inline;
  18872. begin
  18873. if thebits = 0 then
  18874. pTDefRegMap(@Self)^.clr := $00000800
  18875. else
  18876. pTDefRegMap(@Self)^.&set := $00000800;
  18877. end;
  18878. function TI2C1_I2C1111CON.getIPMIEN : TBits_1; inline;
  18879. begin
  18880. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18881. end;
  18882. procedure TI2C1_I2C1111CON.setI2CSIDL; inline;
  18883. begin
  18884. pTDefRegMap(@Self)^.&set := $00002000;
  18885. end;
  18886. procedure TI2C1_I2C1111CON.clearI2CSIDL; inline;
  18887. begin
  18888. pTDefRegMap(@Self)^.clr := $00002000;
  18889. end;
  18890. procedure TI2C1_I2C1111CON.setI2CSIDL(thebits : TBits_1); inline;
  18891. begin
  18892. if thebits = 0 then
  18893. pTDefRegMap(@Self)^.clr := $00002000
  18894. else
  18895. pTDefRegMap(@Self)^.&set := $00002000;
  18896. end;
  18897. function TI2C1_I2C1111CON.getI2CSIDL : TBits_1; inline;
  18898. begin
  18899. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18900. end;
  18901. procedure TI2C1_I2C1111CON.setI2CEN; inline;
  18902. begin
  18903. pTDefRegMap(@Self)^.&set := $00008000;
  18904. end;
  18905. procedure TI2C1_I2C1111CON.clearI2CEN; inline;
  18906. begin
  18907. pTDefRegMap(@Self)^.clr := $00008000;
  18908. end;
  18909. procedure TI2C1_I2C1111CON.setI2CEN(thebits : TBits_1); inline;
  18910. begin
  18911. if thebits = 0 then
  18912. pTDefRegMap(@Self)^.clr := $00008000
  18913. else
  18914. pTDefRegMap(@Self)^.&set := $00008000;
  18915. end;
  18916. function TI2C1_I2C1111CON.getI2CEN : TBits_1; inline;
  18917. begin
  18918. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18919. end;
  18920. procedure TI2C1_I2C1111CON.setw(thebits : TBits_32); inline;
  18921. begin
  18922. pTDefRegMap(@Self)^.val := thebits;
  18923. end;
  18924. function TI2C1_I2C1111CON.getw : TBits_32; inline;
  18925. begin
  18926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18927. end;
  18928. procedure TI2C1_I2C1CON.setSEN; inline;
  18929. begin
  18930. pTDefRegMap(@Self)^.&set := $00000001;
  18931. end;
  18932. procedure TI2C1_I2C1CON.clearSEN; inline;
  18933. begin
  18934. pTDefRegMap(@Self)^.clr := $00000001;
  18935. end;
  18936. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  18937. begin
  18938. if thebits = 0 then
  18939. pTDefRegMap(@Self)^.clr := $00000001
  18940. else
  18941. pTDefRegMap(@Self)^.&set := $00000001;
  18942. end;
  18943. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  18944. begin
  18945. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18946. end;
  18947. procedure TI2C1_I2C1CON.setRSEN; inline;
  18948. begin
  18949. pTDefRegMap(@Self)^.&set := $00000002;
  18950. end;
  18951. procedure TI2C1_I2C1CON.clearRSEN; inline;
  18952. begin
  18953. pTDefRegMap(@Self)^.clr := $00000002;
  18954. end;
  18955. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  18956. begin
  18957. if thebits = 0 then
  18958. pTDefRegMap(@Self)^.clr := $00000002
  18959. else
  18960. pTDefRegMap(@Self)^.&set := $00000002;
  18961. end;
  18962. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  18963. begin
  18964. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18965. end;
  18966. procedure TI2C1_I2C1CON.setPEN; inline;
  18967. begin
  18968. pTDefRegMap(@Self)^.&set := $00000004;
  18969. end;
  18970. procedure TI2C1_I2C1CON.clearPEN; inline;
  18971. begin
  18972. pTDefRegMap(@Self)^.clr := $00000004;
  18973. end;
  18974. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  18975. begin
  18976. if thebits = 0 then
  18977. pTDefRegMap(@Self)^.clr := $00000004
  18978. else
  18979. pTDefRegMap(@Self)^.&set := $00000004;
  18980. end;
  18981. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  18982. begin
  18983. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18984. end;
  18985. procedure TI2C1_I2C1CON.setRCEN; inline;
  18986. begin
  18987. pTDefRegMap(@Self)^.&set := $00000008;
  18988. end;
  18989. procedure TI2C1_I2C1CON.clearRCEN; inline;
  18990. begin
  18991. pTDefRegMap(@Self)^.clr := $00000008;
  18992. end;
  18993. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  18994. begin
  18995. if thebits = 0 then
  18996. pTDefRegMap(@Self)^.clr := $00000008
  18997. else
  18998. pTDefRegMap(@Self)^.&set := $00000008;
  18999. end;
  19000. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  19001. begin
  19002. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19003. end;
  19004. procedure TI2C1_I2C1CON.setACKEN; inline;
  19005. begin
  19006. pTDefRegMap(@Self)^.&set := $00000010;
  19007. end;
  19008. procedure TI2C1_I2C1CON.clearACKEN; inline;
  19009. begin
  19010. pTDefRegMap(@Self)^.clr := $00000010;
  19011. end;
  19012. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  19013. begin
  19014. if thebits = 0 then
  19015. pTDefRegMap(@Self)^.clr := $00000010
  19016. else
  19017. pTDefRegMap(@Self)^.&set := $00000010;
  19018. end;
  19019. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  19020. begin
  19021. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19022. end;
  19023. procedure TI2C1_I2C1CON.setACKDT; inline;
  19024. begin
  19025. pTDefRegMap(@Self)^.&set := $00000020;
  19026. end;
  19027. procedure TI2C1_I2C1CON.clearACKDT; inline;
  19028. begin
  19029. pTDefRegMap(@Self)^.clr := $00000020;
  19030. end;
  19031. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  19032. begin
  19033. if thebits = 0 then
  19034. pTDefRegMap(@Self)^.clr := $00000020
  19035. else
  19036. pTDefRegMap(@Self)^.&set := $00000020;
  19037. end;
  19038. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  19039. begin
  19040. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19041. end;
  19042. procedure TI2C1_I2C1CON.setSTREN; inline;
  19043. begin
  19044. pTDefRegMap(@Self)^.&set := $00000040;
  19045. end;
  19046. procedure TI2C1_I2C1CON.clearSTREN; inline;
  19047. begin
  19048. pTDefRegMap(@Self)^.clr := $00000040;
  19049. end;
  19050. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  19051. begin
  19052. if thebits = 0 then
  19053. pTDefRegMap(@Self)^.clr := $00000040
  19054. else
  19055. pTDefRegMap(@Self)^.&set := $00000040;
  19056. end;
  19057. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  19058. begin
  19059. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19060. end;
  19061. procedure TI2C1_I2C1CON.setGCEN; inline;
  19062. begin
  19063. pTDefRegMap(@Self)^.&set := $00000080;
  19064. end;
  19065. procedure TI2C1_I2C1CON.clearGCEN; inline;
  19066. begin
  19067. pTDefRegMap(@Self)^.clr := $00000080;
  19068. end;
  19069. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  19070. begin
  19071. if thebits = 0 then
  19072. pTDefRegMap(@Self)^.clr := $00000080
  19073. else
  19074. pTDefRegMap(@Self)^.&set := $00000080;
  19075. end;
  19076. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  19077. begin
  19078. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19079. end;
  19080. procedure TI2C1_I2C1CON.setSMEN; inline;
  19081. begin
  19082. pTDefRegMap(@Self)^.&set := $00000100;
  19083. end;
  19084. procedure TI2C1_I2C1CON.clearSMEN; inline;
  19085. begin
  19086. pTDefRegMap(@Self)^.clr := $00000100;
  19087. end;
  19088. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  19089. begin
  19090. if thebits = 0 then
  19091. pTDefRegMap(@Self)^.clr := $00000100
  19092. else
  19093. pTDefRegMap(@Self)^.&set := $00000100;
  19094. end;
  19095. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  19096. begin
  19097. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19098. end;
  19099. procedure TI2C1_I2C1CON.setDISSLW; inline;
  19100. begin
  19101. pTDefRegMap(@Self)^.&set := $00000200;
  19102. end;
  19103. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  19104. begin
  19105. pTDefRegMap(@Self)^.clr := $00000200;
  19106. end;
  19107. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  19108. begin
  19109. if thebits = 0 then
  19110. pTDefRegMap(@Self)^.clr := $00000200
  19111. else
  19112. pTDefRegMap(@Self)^.&set := $00000200;
  19113. end;
  19114. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  19115. begin
  19116. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19117. end;
  19118. procedure TI2C1_I2C1CON.setA10M; inline;
  19119. begin
  19120. pTDefRegMap(@Self)^.&set := $00000400;
  19121. end;
  19122. procedure TI2C1_I2C1CON.clearA10M; inline;
  19123. begin
  19124. pTDefRegMap(@Self)^.clr := $00000400;
  19125. end;
  19126. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  19127. begin
  19128. if thebits = 0 then
  19129. pTDefRegMap(@Self)^.clr := $00000400
  19130. else
  19131. pTDefRegMap(@Self)^.&set := $00000400;
  19132. end;
  19133. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  19134. begin
  19135. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19136. end;
  19137. procedure TI2C1_I2C1CON.setSTRICT; inline;
  19138. begin
  19139. pTDefRegMap(@Self)^.&set := $00000800;
  19140. end;
  19141. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  19142. begin
  19143. pTDefRegMap(@Self)^.clr := $00000800;
  19144. end;
  19145. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  19146. begin
  19147. if thebits = 0 then
  19148. pTDefRegMap(@Self)^.clr := $00000800
  19149. else
  19150. pTDefRegMap(@Self)^.&set := $00000800;
  19151. end;
  19152. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  19153. begin
  19154. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19155. end;
  19156. procedure TI2C1_I2C1CON.setSCLREL; inline;
  19157. begin
  19158. pTDefRegMap(@Self)^.&set := $00001000;
  19159. end;
  19160. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  19161. begin
  19162. pTDefRegMap(@Self)^.clr := $00001000;
  19163. end;
  19164. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  19165. begin
  19166. if thebits = 0 then
  19167. pTDefRegMap(@Self)^.clr := $00001000
  19168. else
  19169. pTDefRegMap(@Self)^.&set := $00001000;
  19170. end;
  19171. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  19172. begin
  19173. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19174. end;
  19175. procedure TI2C1_I2C1CON.setSIDL; inline;
  19176. begin
  19177. pTDefRegMap(@Self)^.&set := $00002000;
  19178. end;
  19179. procedure TI2C1_I2C1CON.clearSIDL; inline;
  19180. begin
  19181. pTDefRegMap(@Self)^.clr := $00002000;
  19182. end;
  19183. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  19184. begin
  19185. if thebits = 0 then
  19186. pTDefRegMap(@Self)^.clr := $00002000
  19187. else
  19188. pTDefRegMap(@Self)^.&set := $00002000;
  19189. end;
  19190. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  19191. begin
  19192. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19193. end;
  19194. procedure TI2C1_I2C1CON.setON; inline;
  19195. begin
  19196. pTDefRegMap(@Self)^.&set := $00008000;
  19197. end;
  19198. procedure TI2C1_I2C1CON.clearON; inline;
  19199. begin
  19200. pTDefRegMap(@Self)^.clr := $00008000;
  19201. end;
  19202. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  19203. begin
  19204. if thebits = 0 then
  19205. pTDefRegMap(@Self)^.clr := $00008000
  19206. else
  19207. pTDefRegMap(@Self)^.&set := $00008000;
  19208. end;
  19209. function TI2C1_I2C1CON.getON : TBits_1; inline;
  19210. begin
  19211. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19212. end;
  19213. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  19214. begin
  19215. pTDefRegMap(@Self)^.&set := $00000800;
  19216. end;
  19217. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  19218. begin
  19219. pTDefRegMap(@Self)^.clr := $00000800;
  19220. end;
  19221. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  19222. begin
  19223. if thebits = 0 then
  19224. pTDefRegMap(@Self)^.clr := $00000800
  19225. else
  19226. pTDefRegMap(@Self)^.&set := $00000800;
  19227. end;
  19228. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  19229. begin
  19230. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19231. end;
  19232. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  19233. begin
  19234. pTDefRegMap(@Self)^.&set := $00002000;
  19235. end;
  19236. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  19237. begin
  19238. pTDefRegMap(@Self)^.clr := $00002000;
  19239. end;
  19240. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  19241. begin
  19242. if thebits = 0 then
  19243. pTDefRegMap(@Self)^.clr := $00002000
  19244. else
  19245. pTDefRegMap(@Self)^.&set := $00002000;
  19246. end;
  19247. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  19248. begin
  19249. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19250. end;
  19251. procedure TI2C1_I2C1CON.setI2CEN; inline;
  19252. begin
  19253. pTDefRegMap(@Self)^.&set := $00008000;
  19254. end;
  19255. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  19256. begin
  19257. pTDefRegMap(@Self)^.clr := $00008000;
  19258. end;
  19259. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  19260. begin
  19261. if thebits = 0 then
  19262. pTDefRegMap(@Self)^.clr := $00008000
  19263. else
  19264. pTDefRegMap(@Self)^.&set := $00008000;
  19265. end;
  19266. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  19267. begin
  19268. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19269. end;
  19270. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  19271. begin
  19272. pTDefRegMap(@Self)^.val := thebits;
  19273. end;
  19274. function TI2C1_I2C1CON.getw : TBits_32; inline;
  19275. begin
  19276. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19277. end;
  19278. procedure TI2C1_I2C1111STAT.setTBF; inline;
  19279. begin
  19280. pTDefRegMap(@Self)^.&set := $00000001;
  19281. end;
  19282. procedure TI2C1_I2C1111STAT.clearTBF; inline;
  19283. begin
  19284. pTDefRegMap(@Self)^.clr := $00000001;
  19285. end;
  19286. procedure TI2C1_I2C1111STAT.setTBF(thebits : TBits_1); inline;
  19287. begin
  19288. if thebits = 0 then
  19289. pTDefRegMap(@Self)^.clr := $00000001
  19290. else
  19291. pTDefRegMap(@Self)^.&set := $00000001;
  19292. end;
  19293. function TI2C1_I2C1111STAT.getTBF : TBits_1; inline;
  19294. begin
  19295. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19296. end;
  19297. procedure TI2C1_I2C1111STAT.setRBF; inline;
  19298. begin
  19299. pTDefRegMap(@Self)^.&set := $00000002;
  19300. end;
  19301. procedure TI2C1_I2C1111STAT.clearRBF; inline;
  19302. begin
  19303. pTDefRegMap(@Self)^.clr := $00000002;
  19304. end;
  19305. procedure TI2C1_I2C1111STAT.setRBF(thebits : TBits_1); inline;
  19306. begin
  19307. if thebits = 0 then
  19308. pTDefRegMap(@Self)^.clr := $00000002
  19309. else
  19310. pTDefRegMap(@Self)^.&set := $00000002;
  19311. end;
  19312. function TI2C1_I2C1111STAT.getRBF : TBits_1; inline;
  19313. begin
  19314. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19315. end;
  19316. procedure TI2C1_I2C1111STAT.setR_W; inline;
  19317. begin
  19318. pTDefRegMap(@Self)^.&set := $00000004;
  19319. end;
  19320. procedure TI2C1_I2C1111STAT.clearR_W; inline;
  19321. begin
  19322. pTDefRegMap(@Self)^.clr := $00000004;
  19323. end;
  19324. procedure TI2C1_I2C1111STAT.setR_W(thebits : TBits_1); inline;
  19325. begin
  19326. if thebits = 0 then
  19327. pTDefRegMap(@Self)^.clr := $00000004
  19328. else
  19329. pTDefRegMap(@Self)^.&set := $00000004;
  19330. end;
  19331. function TI2C1_I2C1111STAT.getR_W : TBits_1; inline;
  19332. begin
  19333. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19334. end;
  19335. procedure TI2C1_I2C1111STAT.setS; inline;
  19336. begin
  19337. pTDefRegMap(@Self)^.&set := $00000008;
  19338. end;
  19339. procedure TI2C1_I2C1111STAT.clearS; inline;
  19340. begin
  19341. pTDefRegMap(@Self)^.clr := $00000008;
  19342. end;
  19343. procedure TI2C1_I2C1111STAT.setS(thebits : TBits_1); inline;
  19344. begin
  19345. if thebits = 0 then
  19346. pTDefRegMap(@Self)^.clr := $00000008
  19347. else
  19348. pTDefRegMap(@Self)^.&set := $00000008;
  19349. end;
  19350. function TI2C1_I2C1111STAT.getS : TBits_1; inline;
  19351. begin
  19352. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19353. end;
  19354. procedure TI2C1_I2C1111STAT.setP; inline;
  19355. begin
  19356. pTDefRegMap(@Self)^.&set := $00000010;
  19357. end;
  19358. procedure TI2C1_I2C1111STAT.clearP; inline;
  19359. begin
  19360. pTDefRegMap(@Self)^.clr := $00000010;
  19361. end;
  19362. procedure TI2C1_I2C1111STAT.setP(thebits : TBits_1); inline;
  19363. begin
  19364. if thebits = 0 then
  19365. pTDefRegMap(@Self)^.clr := $00000010
  19366. else
  19367. pTDefRegMap(@Self)^.&set := $00000010;
  19368. end;
  19369. function TI2C1_I2C1111STAT.getP : TBits_1; inline;
  19370. begin
  19371. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19372. end;
  19373. procedure TI2C1_I2C1111STAT.setD_A; inline;
  19374. begin
  19375. pTDefRegMap(@Self)^.&set := $00000020;
  19376. end;
  19377. procedure TI2C1_I2C1111STAT.clearD_A; inline;
  19378. begin
  19379. pTDefRegMap(@Self)^.clr := $00000020;
  19380. end;
  19381. procedure TI2C1_I2C1111STAT.setD_A(thebits : TBits_1); inline;
  19382. begin
  19383. if thebits = 0 then
  19384. pTDefRegMap(@Self)^.clr := $00000020
  19385. else
  19386. pTDefRegMap(@Self)^.&set := $00000020;
  19387. end;
  19388. function TI2C1_I2C1111STAT.getD_A : TBits_1; inline;
  19389. begin
  19390. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19391. end;
  19392. procedure TI2C1_I2C1111STAT.setI2COV; inline;
  19393. begin
  19394. pTDefRegMap(@Self)^.&set := $00000040;
  19395. end;
  19396. procedure TI2C1_I2C1111STAT.clearI2COV; inline;
  19397. begin
  19398. pTDefRegMap(@Self)^.clr := $00000040;
  19399. end;
  19400. procedure TI2C1_I2C1111STAT.setI2COV(thebits : TBits_1); inline;
  19401. begin
  19402. if thebits = 0 then
  19403. pTDefRegMap(@Self)^.clr := $00000040
  19404. else
  19405. pTDefRegMap(@Self)^.&set := $00000040;
  19406. end;
  19407. function TI2C1_I2C1111STAT.getI2COV : TBits_1; inline;
  19408. begin
  19409. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19410. end;
  19411. procedure TI2C1_I2C1111STAT.setIWCOL; inline;
  19412. begin
  19413. pTDefRegMap(@Self)^.&set := $00000080;
  19414. end;
  19415. procedure TI2C1_I2C1111STAT.clearIWCOL; inline;
  19416. begin
  19417. pTDefRegMap(@Self)^.clr := $00000080;
  19418. end;
  19419. procedure TI2C1_I2C1111STAT.setIWCOL(thebits : TBits_1); inline;
  19420. begin
  19421. if thebits = 0 then
  19422. pTDefRegMap(@Self)^.clr := $00000080
  19423. else
  19424. pTDefRegMap(@Self)^.&set := $00000080;
  19425. end;
  19426. function TI2C1_I2C1111STAT.getIWCOL : TBits_1; inline;
  19427. begin
  19428. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19429. end;
  19430. procedure TI2C1_I2C1111STAT.setADD10; inline;
  19431. begin
  19432. pTDefRegMap(@Self)^.&set := $00000100;
  19433. end;
  19434. procedure TI2C1_I2C1111STAT.clearADD10; inline;
  19435. begin
  19436. pTDefRegMap(@Self)^.clr := $00000100;
  19437. end;
  19438. procedure TI2C1_I2C1111STAT.setADD10(thebits : TBits_1); inline;
  19439. begin
  19440. if thebits = 0 then
  19441. pTDefRegMap(@Self)^.clr := $00000100
  19442. else
  19443. pTDefRegMap(@Self)^.&set := $00000100;
  19444. end;
  19445. function TI2C1_I2C1111STAT.getADD10 : TBits_1; inline;
  19446. begin
  19447. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19448. end;
  19449. procedure TI2C1_I2C1111STAT.setGCSTAT; inline;
  19450. begin
  19451. pTDefRegMap(@Self)^.&set := $00000200;
  19452. end;
  19453. procedure TI2C1_I2C1111STAT.clearGCSTAT; inline;
  19454. begin
  19455. pTDefRegMap(@Self)^.clr := $00000200;
  19456. end;
  19457. procedure TI2C1_I2C1111STAT.setGCSTAT(thebits : TBits_1); inline;
  19458. begin
  19459. if thebits = 0 then
  19460. pTDefRegMap(@Self)^.clr := $00000200
  19461. else
  19462. pTDefRegMap(@Self)^.&set := $00000200;
  19463. end;
  19464. function TI2C1_I2C1111STAT.getGCSTAT : TBits_1; inline;
  19465. begin
  19466. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19467. end;
  19468. procedure TI2C1_I2C1111STAT.setBCL; inline;
  19469. begin
  19470. pTDefRegMap(@Self)^.&set := $00000400;
  19471. end;
  19472. procedure TI2C1_I2C1111STAT.clearBCL; inline;
  19473. begin
  19474. pTDefRegMap(@Self)^.clr := $00000400;
  19475. end;
  19476. procedure TI2C1_I2C1111STAT.setBCL(thebits : TBits_1); inline;
  19477. begin
  19478. if thebits = 0 then
  19479. pTDefRegMap(@Self)^.clr := $00000400
  19480. else
  19481. pTDefRegMap(@Self)^.&set := $00000400;
  19482. end;
  19483. function TI2C1_I2C1111STAT.getBCL : TBits_1; inline;
  19484. begin
  19485. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19486. end;
  19487. procedure TI2C1_I2C1111STAT.setTRSTAT; inline;
  19488. begin
  19489. pTDefRegMap(@Self)^.&set := $00004000;
  19490. end;
  19491. procedure TI2C1_I2C1111STAT.clearTRSTAT; inline;
  19492. begin
  19493. pTDefRegMap(@Self)^.clr := $00004000;
  19494. end;
  19495. procedure TI2C1_I2C1111STAT.setTRSTAT(thebits : TBits_1); inline;
  19496. begin
  19497. if thebits = 0 then
  19498. pTDefRegMap(@Self)^.clr := $00004000
  19499. else
  19500. pTDefRegMap(@Self)^.&set := $00004000;
  19501. end;
  19502. function TI2C1_I2C1111STAT.getTRSTAT : TBits_1; inline;
  19503. begin
  19504. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19505. end;
  19506. procedure TI2C1_I2C1111STAT.setACKSTAT; inline;
  19507. begin
  19508. pTDefRegMap(@Self)^.&set := $00008000;
  19509. end;
  19510. procedure TI2C1_I2C1111STAT.clearACKSTAT; inline;
  19511. begin
  19512. pTDefRegMap(@Self)^.clr := $00008000;
  19513. end;
  19514. procedure TI2C1_I2C1111STAT.setACKSTAT(thebits : TBits_1); inline;
  19515. begin
  19516. if thebits = 0 then
  19517. pTDefRegMap(@Self)^.clr := $00008000
  19518. else
  19519. pTDefRegMap(@Self)^.&set := $00008000;
  19520. end;
  19521. function TI2C1_I2C1111STAT.getACKSTAT : TBits_1; inline;
  19522. begin
  19523. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19524. end;
  19525. procedure TI2C1_I2C1111STAT.setI2CPOV; inline;
  19526. begin
  19527. pTDefRegMap(@Self)^.&set := $00000040;
  19528. end;
  19529. procedure TI2C1_I2C1111STAT.clearI2CPOV; inline;
  19530. begin
  19531. pTDefRegMap(@Self)^.clr := $00000040;
  19532. end;
  19533. procedure TI2C1_I2C1111STAT.setI2CPOV(thebits : TBits_1); inline;
  19534. begin
  19535. if thebits = 0 then
  19536. pTDefRegMap(@Self)^.clr := $00000040
  19537. else
  19538. pTDefRegMap(@Self)^.&set := $00000040;
  19539. end;
  19540. function TI2C1_I2C1111STAT.getI2CPOV : TBits_1; inline;
  19541. begin
  19542. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19543. end;
  19544. procedure TI2C1_I2C1111STAT.setw(thebits : TBits_32); inline;
  19545. begin
  19546. pTDefRegMap(@Self)^.val := thebits;
  19547. end;
  19548. function TI2C1_I2C1111STAT.getw : TBits_32; inline;
  19549. begin
  19550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19551. end;
  19552. procedure TI2C1_I2C1STAT.setTBF; inline;
  19553. begin
  19554. pTDefRegMap(@Self)^.&set := $00000001;
  19555. end;
  19556. procedure TI2C1_I2C1STAT.clearTBF; inline;
  19557. begin
  19558. pTDefRegMap(@Self)^.clr := $00000001;
  19559. end;
  19560. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  19561. begin
  19562. if thebits = 0 then
  19563. pTDefRegMap(@Self)^.clr := $00000001
  19564. else
  19565. pTDefRegMap(@Self)^.&set := $00000001;
  19566. end;
  19567. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  19568. begin
  19569. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19570. end;
  19571. procedure TI2C1_I2C1STAT.setRBF; inline;
  19572. begin
  19573. pTDefRegMap(@Self)^.&set := $00000002;
  19574. end;
  19575. procedure TI2C1_I2C1STAT.clearRBF; inline;
  19576. begin
  19577. pTDefRegMap(@Self)^.clr := $00000002;
  19578. end;
  19579. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  19580. begin
  19581. if thebits = 0 then
  19582. pTDefRegMap(@Self)^.clr := $00000002
  19583. else
  19584. pTDefRegMap(@Self)^.&set := $00000002;
  19585. end;
  19586. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  19587. begin
  19588. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19589. end;
  19590. procedure TI2C1_I2C1STAT.setR_W; inline;
  19591. begin
  19592. pTDefRegMap(@Self)^.&set := $00000004;
  19593. end;
  19594. procedure TI2C1_I2C1STAT.clearR_W; inline;
  19595. begin
  19596. pTDefRegMap(@Self)^.clr := $00000004;
  19597. end;
  19598. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  19599. begin
  19600. if thebits = 0 then
  19601. pTDefRegMap(@Self)^.clr := $00000004
  19602. else
  19603. pTDefRegMap(@Self)^.&set := $00000004;
  19604. end;
  19605. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  19606. begin
  19607. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19608. end;
  19609. procedure TI2C1_I2C1STAT.setS; inline;
  19610. begin
  19611. pTDefRegMap(@Self)^.&set := $00000008;
  19612. end;
  19613. procedure TI2C1_I2C1STAT.clearS; inline;
  19614. begin
  19615. pTDefRegMap(@Self)^.clr := $00000008;
  19616. end;
  19617. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  19618. begin
  19619. if thebits = 0 then
  19620. pTDefRegMap(@Self)^.clr := $00000008
  19621. else
  19622. pTDefRegMap(@Self)^.&set := $00000008;
  19623. end;
  19624. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  19625. begin
  19626. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19627. end;
  19628. procedure TI2C1_I2C1STAT.setP; inline;
  19629. begin
  19630. pTDefRegMap(@Self)^.&set := $00000010;
  19631. end;
  19632. procedure TI2C1_I2C1STAT.clearP; inline;
  19633. begin
  19634. pTDefRegMap(@Self)^.clr := $00000010;
  19635. end;
  19636. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  19637. begin
  19638. if thebits = 0 then
  19639. pTDefRegMap(@Self)^.clr := $00000010
  19640. else
  19641. pTDefRegMap(@Self)^.&set := $00000010;
  19642. end;
  19643. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  19644. begin
  19645. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19646. end;
  19647. procedure TI2C1_I2C1STAT.setD_A; inline;
  19648. begin
  19649. pTDefRegMap(@Self)^.&set := $00000020;
  19650. end;
  19651. procedure TI2C1_I2C1STAT.clearD_A; inline;
  19652. begin
  19653. pTDefRegMap(@Self)^.clr := $00000020;
  19654. end;
  19655. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  19656. begin
  19657. if thebits = 0 then
  19658. pTDefRegMap(@Self)^.clr := $00000020
  19659. else
  19660. pTDefRegMap(@Self)^.&set := $00000020;
  19661. end;
  19662. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  19663. begin
  19664. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19665. end;
  19666. procedure TI2C1_I2C1STAT.setI2COV; inline;
  19667. begin
  19668. pTDefRegMap(@Self)^.&set := $00000040;
  19669. end;
  19670. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  19671. begin
  19672. pTDefRegMap(@Self)^.clr := $00000040;
  19673. end;
  19674. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  19675. begin
  19676. if thebits = 0 then
  19677. pTDefRegMap(@Self)^.clr := $00000040
  19678. else
  19679. pTDefRegMap(@Self)^.&set := $00000040;
  19680. end;
  19681. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  19682. begin
  19683. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19684. end;
  19685. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  19686. begin
  19687. pTDefRegMap(@Self)^.&set := $00000080;
  19688. end;
  19689. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  19690. begin
  19691. pTDefRegMap(@Self)^.clr := $00000080;
  19692. end;
  19693. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  19694. begin
  19695. if thebits = 0 then
  19696. pTDefRegMap(@Self)^.clr := $00000080
  19697. else
  19698. pTDefRegMap(@Self)^.&set := $00000080;
  19699. end;
  19700. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  19701. begin
  19702. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19703. end;
  19704. procedure TI2C1_I2C1STAT.setADD10; inline;
  19705. begin
  19706. pTDefRegMap(@Self)^.&set := $00000100;
  19707. end;
  19708. procedure TI2C1_I2C1STAT.clearADD10; inline;
  19709. begin
  19710. pTDefRegMap(@Self)^.clr := $00000100;
  19711. end;
  19712. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  19713. begin
  19714. if thebits = 0 then
  19715. pTDefRegMap(@Self)^.clr := $00000100
  19716. else
  19717. pTDefRegMap(@Self)^.&set := $00000100;
  19718. end;
  19719. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  19720. begin
  19721. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19722. end;
  19723. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  19724. begin
  19725. pTDefRegMap(@Self)^.&set := $00000200;
  19726. end;
  19727. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  19728. begin
  19729. pTDefRegMap(@Self)^.clr := $00000200;
  19730. end;
  19731. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  19732. begin
  19733. if thebits = 0 then
  19734. pTDefRegMap(@Self)^.clr := $00000200
  19735. else
  19736. pTDefRegMap(@Self)^.&set := $00000200;
  19737. end;
  19738. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  19739. begin
  19740. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19741. end;
  19742. procedure TI2C1_I2C1STAT.setBCL; inline;
  19743. begin
  19744. pTDefRegMap(@Self)^.&set := $00000400;
  19745. end;
  19746. procedure TI2C1_I2C1STAT.clearBCL; inline;
  19747. begin
  19748. pTDefRegMap(@Self)^.clr := $00000400;
  19749. end;
  19750. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  19751. begin
  19752. if thebits = 0 then
  19753. pTDefRegMap(@Self)^.clr := $00000400
  19754. else
  19755. pTDefRegMap(@Self)^.&set := $00000400;
  19756. end;
  19757. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  19758. begin
  19759. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19760. end;
  19761. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  19762. begin
  19763. pTDefRegMap(@Self)^.&set := $00004000;
  19764. end;
  19765. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  19766. begin
  19767. pTDefRegMap(@Self)^.clr := $00004000;
  19768. end;
  19769. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  19770. begin
  19771. if thebits = 0 then
  19772. pTDefRegMap(@Self)^.clr := $00004000
  19773. else
  19774. pTDefRegMap(@Self)^.&set := $00004000;
  19775. end;
  19776. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  19777. begin
  19778. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19779. end;
  19780. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  19781. begin
  19782. pTDefRegMap(@Self)^.&set := $00008000;
  19783. end;
  19784. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  19785. begin
  19786. pTDefRegMap(@Self)^.clr := $00008000;
  19787. end;
  19788. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  19789. begin
  19790. if thebits = 0 then
  19791. pTDefRegMap(@Self)^.clr := $00008000
  19792. else
  19793. pTDefRegMap(@Self)^.&set := $00008000;
  19794. end;
  19795. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  19796. begin
  19797. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19798. end;
  19799. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  19800. begin
  19801. pTDefRegMap(@Self)^.&set := $00000040;
  19802. end;
  19803. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  19804. begin
  19805. pTDefRegMap(@Self)^.clr := $00000040;
  19806. end;
  19807. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  19808. begin
  19809. if thebits = 0 then
  19810. pTDefRegMap(@Self)^.clr := $00000040
  19811. else
  19812. pTDefRegMap(@Self)^.&set := $00000040;
  19813. end;
  19814. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  19815. begin
  19816. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19817. end;
  19818. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  19819. begin
  19820. pTDefRegMap(@Self)^.val := thebits;
  19821. end;
  19822. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  19823. begin
  19824. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19825. end;
  19826. procedure TI2C2_I2C2CON.setSEN; inline;
  19827. begin
  19828. pTDefRegMap(@Self)^.&set := $00000001;
  19829. end;
  19830. procedure TI2C2_I2C2CON.clearSEN; inline;
  19831. begin
  19832. pTDefRegMap(@Self)^.clr := $00000001;
  19833. end;
  19834. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  19835. begin
  19836. if thebits = 0 then
  19837. pTDefRegMap(@Self)^.clr := $00000001
  19838. else
  19839. pTDefRegMap(@Self)^.&set := $00000001;
  19840. end;
  19841. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  19842. begin
  19843. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19844. end;
  19845. procedure TI2C2_I2C2CON.setRSEN; inline;
  19846. begin
  19847. pTDefRegMap(@Self)^.&set := $00000002;
  19848. end;
  19849. procedure TI2C2_I2C2CON.clearRSEN; inline;
  19850. begin
  19851. pTDefRegMap(@Self)^.clr := $00000002;
  19852. end;
  19853. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  19854. begin
  19855. if thebits = 0 then
  19856. pTDefRegMap(@Self)^.clr := $00000002
  19857. else
  19858. pTDefRegMap(@Self)^.&set := $00000002;
  19859. end;
  19860. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  19861. begin
  19862. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19863. end;
  19864. procedure TI2C2_I2C2CON.setPEN; inline;
  19865. begin
  19866. pTDefRegMap(@Self)^.&set := $00000004;
  19867. end;
  19868. procedure TI2C2_I2C2CON.clearPEN; inline;
  19869. begin
  19870. pTDefRegMap(@Self)^.clr := $00000004;
  19871. end;
  19872. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  19873. begin
  19874. if thebits = 0 then
  19875. pTDefRegMap(@Self)^.clr := $00000004
  19876. else
  19877. pTDefRegMap(@Self)^.&set := $00000004;
  19878. end;
  19879. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  19880. begin
  19881. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19882. end;
  19883. procedure TI2C2_I2C2CON.setRCEN; inline;
  19884. begin
  19885. pTDefRegMap(@Self)^.&set := $00000008;
  19886. end;
  19887. procedure TI2C2_I2C2CON.clearRCEN; inline;
  19888. begin
  19889. pTDefRegMap(@Self)^.clr := $00000008;
  19890. end;
  19891. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  19892. begin
  19893. if thebits = 0 then
  19894. pTDefRegMap(@Self)^.clr := $00000008
  19895. else
  19896. pTDefRegMap(@Self)^.&set := $00000008;
  19897. end;
  19898. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  19899. begin
  19900. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19901. end;
  19902. procedure TI2C2_I2C2CON.setACKEN; inline;
  19903. begin
  19904. pTDefRegMap(@Self)^.&set := $00000010;
  19905. end;
  19906. procedure TI2C2_I2C2CON.clearACKEN; inline;
  19907. begin
  19908. pTDefRegMap(@Self)^.clr := $00000010;
  19909. end;
  19910. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  19911. begin
  19912. if thebits = 0 then
  19913. pTDefRegMap(@Self)^.clr := $00000010
  19914. else
  19915. pTDefRegMap(@Self)^.&set := $00000010;
  19916. end;
  19917. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  19918. begin
  19919. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19920. end;
  19921. procedure TI2C2_I2C2CON.setACKDT; inline;
  19922. begin
  19923. pTDefRegMap(@Self)^.&set := $00000020;
  19924. end;
  19925. procedure TI2C2_I2C2CON.clearACKDT; inline;
  19926. begin
  19927. pTDefRegMap(@Self)^.clr := $00000020;
  19928. end;
  19929. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  19930. begin
  19931. if thebits = 0 then
  19932. pTDefRegMap(@Self)^.clr := $00000020
  19933. else
  19934. pTDefRegMap(@Self)^.&set := $00000020;
  19935. end;
  19936. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  19937. begin
  19938. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19939. end;
  19940. procedure TI2C2_I2C2CON.setSTREN; inline;
  19941. begin
  19942. pTDefRegMap(@Self)^.&set := $00000040;
  19943. end;
  19944. procedure TI2C2_I2C2CON.clearSTREN; inline;
  19945. begin
  19946. pTDefRegMap(@Self)^.clr := $00000040;
  19947. end;
  19948. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  19949. begin
  19950. if thebits = 0 then
  19951. pTDefRegMap(@Self)^.clr := $00000040
  19952. else
  19953. pTDefRegMap(@Self)^.&set := $00000040;
  19954. end;
  19955. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  19956. begin
  19957. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19958. end;
  19959. procedure TI2C2_I2C2CON.setGCEN; inline;
  19960. begin
  19961. pTDefRegMap(@Self)^.&set := $00000080;
  19962. end;
  19963. procedure TI2C2_I2C2CON.clearGCEN; inline;
  19964. begin
  19965. pTDefRegMap(@Self)^.clr := $00000080;
  19966. end;
  19967. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  19968. begin
  19969. if thebits = 0 then
  19970. pTDefRegMap(@Self)^.clr := $00000080
  19971. else
  19972. pTDefRegMap(@Self)^.&set := $00000080;
  19973. end;
  19974. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  19975. begin
  19976. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19977. end;
  19978. procedure TI2C2_I2C2CON.setSMEN; inline;
  19979. begin
  19980. pTDefRegMap(@Self)^.&set := $00000100;
  19981. end;
  19982. procedure TI2C2_I2C2CON.clearSMEN; inline;
  19983. begin
  19984. pTDefRegMap(@Self)^.clr := $00000100;
  19985. end;
  19986. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  19987. begin
  19988. if thebits = 0 then
  19989. pTDefRegMap(@Self)^.clr := $00000100
  19990. else
  19991. pTDefRegMap(@Self)^.&set := $00000100;
  19992. end;
  19993. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  19994. begin
  19995. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19996. end;
  19997. procedure TI2C2_I2C2CON.setDISSLW; inline;
  19998. begin
  19999. pTDefRegMap(@Self)^.&set := $00000200;
  20000. end;
  20001. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  20002. begin
  20003. pTDefRegMap(@Self)^.clr := $00000200;
  20004. end;
  20005. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  20006. begin
  20007. if thebits = 0 then
  20008. pTDefRegMap(@Self)^.clr := $00000200
  20009. else
  20010. pTDefRegMap(@Self)^.&set := $00000200;
  20011. end;
  20012. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  20013. begin
  20014. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20015. end;
  20016. procedure TI2C2_I2C2CON.setA10M; inline;
  20017. begin
  20018. pTDefRegMap(@Self)^.&set := $00000400;
  20019. end;
  20020. procedure TI2C2_I2C2CON.clearA10M; inline;
  20021. begin
  20022. pTDefRegMap(@Self)^.clr := $00000400;
  20023. end;
  20024. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  20025. begin
  20026. if thebits = 0 then
  20027. pTDefRegMap(@Self)^.clr := $00000400
  20028. else
  20029. pTDefRegMap(@Self)^.&set := $00000400;
  20030. end;
  20031. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  20032. begin
  20033. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20034. end;
  20035. procedure TI2C2_I2C2CON.setSTRICT; inline;
  20036. begin
  20037. pTDefRegMap(@Self)^.&set := $00000800;
  20038. end;
  20039. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  20040. begin
  20041. pTDefRegMap(@Self)^.clr := $00000800;
  20042. end;
  20043. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  20044. begin
  20045. if thebits = 0 then
  20046. pTDefRegMap(@Self)^.clr := $00000800
  20047. else
  20048. pTDefRegMap(@Self)^.&set := $00000800;
  20049. end;
  20050. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  20051. begin
  20052. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20053. end;
  20054. procedure TI2C2_I2C2CON.setSCLREL; inline;
  20055. begin
  20056. pTDefRegMap(@Self)^.&set := $00001000;
  20057. end;
  20058. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  20059. begin
  20060. pTDefRegMap(@Self)^.clr := $00001000;
  20061. end;
  20062. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  20063. begin
  20064. if thebits = 0 then
  20065. pTDefRegMap(@Self)^.clr := $00001000
  20066. else
  20067. pTDefRegMap(@Self)^.&set := $00001000;
  20068. end;
  20069. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  20070. begin
  20071. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20072. end;
  20073. procedure TI2C2_I2C2CON.setSIDL; inline;
  20074. begin
  20075. pTDefRegMap(@Self)^.&set := $00002000;
  20076. end;
  20077. procedure TI2C2_I2C2CON.clearSIDL; inline;
  20078. begin
  20079. pTDefRegMap(@Self)^.clr := $00002000;
  20080. end;
  20081. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  20082. begin
  20083. if thebits = 0 then
  20084. pTDefRegMap(@Self)^.clr := $00002000
  20085. else
  20086. pTDefRegMap(@Self)^.&set := $00002000;
  20087. end;
  20088. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  20089. begin
  20090. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20091. end;
  20092. procedure TI2C2_I2C2CON.setON; inline;
  20093. begin
  20094. pTDefRegMap(@Self)^.&set := $00008000;
  20095. end;
  20096. procedure TI2C2_I2C2CON.clearON; inline;
  20097. begin
  20098. pTDefRegMap(@Self)^.clr := $00008000;
  20099. end;
  20100. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  20101. begin
  20102. if thebits = 0 then
  20103. pTDefRegMap(@Self)^.clr := $00008000
  20104. else
  20105. pTDefRegMap(@Self)^.&set := $00008000;
  20106. end;
  20107. function TI2C2_I2C2CON.getON : TBits_1; inline;
  20108. begin
  20109. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20110. end;
  20111. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  20112. begin
  20113. pTDefRegMap(@Self)^.&set := $00000800;
  20114. end;
  20115. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  20116. begin
  20117. pTDefRegMap(@Self)^.clr := $00000800;
  20118. end;
  20119. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  20120. begin
  20121. if thebits = 0 then
  20122. pTDefRegMap(@Self)^.clr := $00000800
  20123. else
  20124. pTDefRegMap(@Self)^.&set := $00000800;
  20125. end;
  20126. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  20127. begin
  20128. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20129. end;
  20130. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  20131. begin
  20132. pTDefRegMap(@Self)^.&set := $00002000;
  20133. end;
  20134. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  20135. begin
  20136. pTDefRegMap(@Self)^.clr := $00002000;
  20137. end;
  20138. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  20139. begin
  20140. if thebits = 0 then
  20141. pTDefRegMap(@Self)^.clr := $00002000
  20142. else
  20143. pTDefRegMap(@Self)^.&set := $00002000;
  20144. end;
  20145. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  20146. begin
  20147. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20148. end;
  20149. procedure TI2C2_I2C2CON.setI2CEN; inline;
  20150. begin
  20151. pTDefRegMap(@Self)^.&set := $00008000;
  20152. end;
  20153. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  20154. begin
  20155. pTDefRegMap(@Self)^.clr := $00008000;
  20156. end;
  20157. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  20158. begin
  20159. if thebits = 0 then
  20160. pTDefRegMap(@Self)^.clr := $00008000
  20161. else
  20162. pTDefRegMap(@Self)^.&set := $00008000;
  20163. end;
  20164. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  20165. begin
  20166. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20167. end;
  20168. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  20169. begin
  20170. pTDefRegMap(@Self)^.val := thebits;
  20171. end;
  20172. function TI2C2_I2C2CON.getw : TBits_32; inline;
  20173. begin
  20174. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20175. end;
  20176. procedure TI2C2_I2CABCON.setSEN; inline;
  20177. begin
  20178. pTDefRegMap(@Self)^.&set := $00000001;
  20179. end;
  20180. procedure TI2C2_I2CABCON.clearSEN; inline;
  20181. begin
  20182. pTDefRegMap(@Self)^.clr := $00000001;
  20183. end;
  20184. procedure TI2C2_I2CABCON.setSEN(thebits : TBits_1); inline;
  20185. begin
  20186. if thebits = 0 then
  20187. pTDefRegMap(@Self)^.clr := $00000001
  20188. else
  20189. pTDefRegMap(@Self)^.&set := $00000001;
  20190. end;
  20191. function TI2C2_I2CABCON.getSEN : TBits_1; inline;
  20192. begin
  20193. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20194. end;
  20195. procedure TI2C2_I2CABCON.setRSEN; inline;
  20196. begin
  20197. pTDefRegMap(@Self)^.&set := $00000002;
  20198. end;
  20199. procedure TI2C2_I2CABCON.clearRSEN; inline;
  20200. begin
  20201. pTDefRegMap(@Self)^.clr := $00000002;
  20202. end;
  20203. procedure TI2C2_I2CABCON.setRSEN(thebits : TBits_1); inline;
  20204. begin
  20205. if thebits = 0 then
  20206. pTDefRegMap(@Self)^.clr := $00000002
  20207. else
  20208. pTDefRegMap(@Self)^.&set := $00000002;
  20209. end;
  20210. function TI2C2_I2CABCON.getRSEN : TBits_1; inline;
  20211. begin
  20212. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20213. end;
  20214. procedure TI2C2_I2CABCON.setPEN; inline;
  20215. begin
  20216. pTDefRegMap(@Self)^.&set := $00000004;
  20217. end;
  20218. procedure TI2C2_I2CABCON.clearPEN; inline;
  20219. begin
  20220. pTDefRegMap(@Self)^.clr := $00000004;
  20221. end;
  20222. procedure TI2C2_I2CABCON.setPEN(thebits : TBits_1); inline;
  20223. begin
  20224. if thebits = 0 then
  20225. pTDefRegMap(@Self)^.clr := $00000004
  20226. else
  20227. pTDefRegMap(@Self)^.&set := $00000004;
  20228. end;
  20229. function TI2C2_I2CABCON.getPEN : TBits_1; inline;
  20230. begin
  20231. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20232. end;
  20233. procedure TI2C2_I2CABCON.setRCEN; inline;
  20234. begin
  20235. pTDefRegMap(@Self)^.&set := $00000008;
  20236. end;
  20237. procedure TI2C2_I2CABCON.clearRCEN; inline;
  20238. begin
  20239. pTDefRegMap(@Self)^.clr := $00000008;
  20240. end;
  20241. procedure TI2C2_I2CABCON.setRCEN(thebits : TBits_1); inline;
  20242. begin
  20243. if thebits = 0 then
  20244. pTDefRegMap(@Self)^.clr := $00000008
  20245. else
  20246. pTDefRegMap(@Self)^.&set := $00000008;
  20247. end;
  20248. function TI2C2_I2CABCON.getRCEN : TBits_1; inline;
  20249. begin
  20250. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20251. end;
  20252. procedure TI2C2_I2CABCON.setACKEN; inline;
  20253. begin
  20254. pTDefRegMap(@Self)^.&set := $00000010;
  20255. end;
  20256. procedure TI2C2_I2CABCON.clearACKEN; inline;
  20257. begin
  20258. pTDefRegMap(@Self)^.clr := $00000010;
  20259. end;
  20260. procedure TI2C2_I2CABCON.setACKEN(thebits : TBits_1); inline;
  20261. begin
  20262. if thebits = 0 then
  20263. pTDefRegMap(@Self)^.clr := $00000010
  20264. else
  20265. pTDefRegMap(@Self)^.&set := $00000010;
  20266. end;
  20267. function TI2C2_I2CABCON.getACKEN : TBits_1; inline;
  20268. begin
  20269. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20270. end;
  20271. procedure TI2C2_I2CABCON.setACKDT; inline;
  20272. begin
  20273. pTDefRegMap(@Self)^.&set := $00000020;
  20274. end;
  20275. procedure TI2C2_I2CABCON.clearACKDT; inline;
  20276. begin
  20277. pTDefRegMap(@Self)^.clr := $00000020;
  20278. end;
  20279. procedure TI2C2_I2CABCON.setACKDT(thebits : TBits_1); inline;
  20280. begin
  20281. if thebits = 0 then
  20282. pTDefRegMap(@Self)^.clr := $00000020
  20283. else
  20284. pTDefRegMap(@Self)^.&set := $00000020;
  20285. end;
  20286. function TI2C2_I2CABCON.getACKDT : TBits_1; inline;
  20287. begin
  20288. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20289. end;
  20290. procedure TI2C2_I2CABCON.setSTREN; inline;
  20291. begin
  20292. pTDefRegMap(@Self)^.&set := $00000040;
  20293. end;
  20294. procedure TI2C2_I2CABCON.clearSTREN; inline;
  20295. begin
  20296. pTDefRegMap(@Self)^.clr := $00000040;
  20297. end;
  20298. procedure TI2C2_I2CABCON.setSTREN(thebits : TBits_1); inline;
  20299. begin
  20300. if thebits = 0 then
  20301. pTDefRegMap(@Self)^.clr := $00000040
  20302. else
  20303. pTDefRegMap(@Self)^.&set := $00000040;
  20304. end;
  20305. function TI2C2_I2CABCON.getSTREN : TBits_1; inline;
  20306. begin
  20307. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20308. end;
  20309. procedure TI2C2_I2CABCON.setGCEN; inline;
  20310. begin
  20311. pTDefRegMap(@Self)^.&set := $00000080;
  20312. end;
  20313. procedure TI2C2_I2CABCON.clearGCEN; inline;
  20314. begin
  20315. pTDefRegMap(@Self)^.clr := $00000080;
  20316. end;
  20317. procedure TI2C2_I2CABCON.setGCEN(thebits : TBits_1); inline;
  20318. begin
  20319. if thebits = 0 then
  20320. pTDefRegMap(@Self)^.clr := $00000080
  20321. else
  20322. pTDefRegMap(@Self)^.&set := $00000080;
  20323. end;
  20324. function TI2C2_I2CABCON.getGCEN : TBits_1; inline;
  20325. begin
  20326. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20327. end;
  20328. procedure TI2C2_I2CABCON.setSMEN; inline;
  20329. begin
  20330. pTDefRegMap(@Self)^.&set := $00000100;
  20331. end;
  20332. procedure TI2C2_I2CABCON.clearSMEN; inline;
  20333. begin
  20334. pTDefRegMap(@Self)^.clr := $00000100;
  20335. end;
  20336. procedure TI2C2_I2CABCON.setSMEN(thebits : TBits_1); inline;
  20337. begin
  20338. if thebits = 0 then
  20339. pTDefRegMap(@Self)^.clr := $00000100
  20340. else
  20341. pTDefRegMap(@Self)^.&set := $00000100;
  20342. end;
  20343. function TI2C2_I2CABCON.getSMEN : TBits_1; inline;
  20344. begin
  20345. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20346. end;
  20347. procedure TI2C2_I2CABCON.setDISSLW; inline;
  20348. begin
  20349. pTDefRegMap(@Self)^.&set := $00000200;
  20350. end;
  20351. procedure TI2C2_I2CABCON.clearDISSLW; inline;
  20352. begin
  20353. pTDefRegMap(@Self)^.clr := $00000200;
  20354. end;
  20355. procedure TI2C2_I2CABCON.setDISSLW(thebits : TBits_1); inline;
  20356. begin
  20357. if thebits = 0 then
  20358. pTDefRegMap(@Self)^.clr := $00000200
  20359. else
  20360. pTDefRegMap(@Self)^.&set := $00000200;
  20361. end;
  20362. function TI2C2_I2CABCON.getDISSLW : TBits_1; inline;
  20363. begin
  20364. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20365. end;
  20366. procedure TI2C2_I2CABCON.setA10M; inline;
  20367. begin
  20368. pTDefRegMap(@Self)^.&set := $00000400;
  20369. end;
  20370. procedure TI2C2_I2CABCON.clearA10M; inline;
  20371. begin
  20372. pTDefRegMap(@Self)^.clr := $00000400;
  20373. end;
  20374. procedure TI2C2_I2CABCON.setA10M(thebits : TBits_1); inline;
  20375. begin
  20376. if thebits = 0 then
  20377. pTDefRegMap(@Self)^.clr := $00000400
  20378. else
  20379. pTDefRegMap(@Self)^.&set := $00000400;
  20380. end;
  20381. function TI2C2_I2CABCON.getA10M : TBits_1; inline;
  20382. begin
  20383. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20384. end;
  20385. procedure TI2C2_I2CABCON.setSTRICT; inline;
  20386. begin
  20387. pTDefRegMap(@Self)^.&set := $00000800;
  20388. end;
  20389. procedure TI2C2_I2CABCON.clearSTRICT; inline;
  20390. begin
  20391. pTDefRegMap(@Self)^.clr := $00000800;
  20392. end;
  20393. procedure TI2C2_I2CABCON.setSTRICT(thebits : TBits_1); inline;
  20394. begin
  20395. if thebits = 0 then
  20396. pTDefRegMap(@Self)^.clr := $00000800
  20397. else
  20398. pTDefRegMap(@Self)^.&set := $00000800;
  20399. end;
  20400. function TI2C2_I2CABCON.getSTRICT : TBits_1; inline;
  20401. begin
  20402. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20403. end;
  20404. procedure TI2C2_I2CABCON.setSCLREL; inline;
  20405. begin
  20406. pTDefRegMap(@Self)^.&set := $00001000;
  20407. end;
  20408. procedure TI2C2_I2CABCON.clearSCLREL; inline;
  20409. begin
  20410. pTDefRegMap(@Self)^.clr := $00001000;
  20411. end;
  20412. procedure TI2C2_I2CABCON.setSCLREL(thebits : TBits_1); inline;
  20413. begin
  20414. if thebits = 0 then
  20415. pTDefRegMap(@Self)^.clr := $00001000
  20416. else
  20417. pTDefRegMap(@Self)^.&set := $00001000;
  20418. end;
  20419. function TI2C2_I2CABCON.getSCLREL : TBits_1; inline;
  20420. begin
  20421. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20422. end;
  20423. procedure TI2C2_I2CABCON.setSIDL; inline;
  20424. begin
  20425. pTDefRegMap(@Self)^.&set := $00002000;
  20426. end;
  20427. procedure TI2C2_I2CABCON.clearSIDL; inline;
  20428. begin
  20429. pTDefRegMap(@Self)^.clr := $00002000;
  20430. end;
  20431. procedure TI2C2_I2CABCON.setSIDL(thebits : TBits_1); inline;
  20432. begin
  20433. if thebits = 0 then
  20434. pTDefRegMap(@Self)^.clr := $00002000
  20435. else
  20436. pTDefRegMap(@Self)^.&set := $00002000;
  20437. end;
  20438. function TI2C2_I2CABCON.getSIDL : TBits_1; inline;
  20439. begin
  20440. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20441. end;
  20442. procedure TI2C2_I2CABCON.setON; inline;
  20443. begin
  20444. pTDefRegMap(@Self)^.&set := $00008000;
  20445. end;
  20446. procedure TI2C2_I2CABCON.clearON; inline;
  20447. begin
  20448. pTDefRegMap(@Self)^.clr := $00008000;
  20449. end;
  20450. procedure TI2C2_I2CABCON.setON(thebits : TBits_1); inline;
  20451. begin
  20452. if thebits = 0 then
  20453. pTDefRegMap(@Self)^.clr := $00008000
  20454. else
  20455. pTDefRegMap(@Self)^.&set := $00008000;
  20456. end;
  20457. function TI2C2_I2CABCON.getON : TBits_1; inline;
  20458. begin
  20459. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20460. end;
  20461. procedure TI2C2_I2CABCON.setIPMIEN; inline;
  20462. begin
  20463. pTDefRegMap(@Self)^.&set := $00000800;
  20464. end;
  20465. procedure TI2C2_I2CABCON.clearIPMIEN; inline;
  20466. begin
  20467. pTDefRegMap(@Self)^.clr := $00000800;
  20468. end;
  20469. procedure TI2C2_I2CABCON.setIPMIEN(thebits : TBits_1); inline;
  20470. begin
  20471. if thebits = 0 then
  20472. pTDefRegMap(@Self)^.clr := $00000800
  20473. else
  20474. pTDefRegMap(@Self)^.&set := $00000800;
  20475. end;
  20476. function TI2C2_I2CABCON.getIPMIEN : TBits_1; inline;
  20477. begin
  20478. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20479. end;
  20480. procedure TI2C2_I2CABCON.setI2CSIDL; inline;
  20481. begin
  20482. pTDefRegMap(@Self)^.&set := $00002000;
  20483. end;
  20484. procedure TI2C2_I2CABCON.clearI2CSIDL; inline;
  20485. begin
  20486. pTDefRegMap(@Self)^.clr := $00002000;
  20487. end;
  20488. procedure TI2C2_I2CABCON.setI2CSIDL(thebits : TBits_1); inline;
  20489. begin
  20490. if thebits = 0 then
  20491. pTDefRegMap(@Self)^.clr := $00002000
  20492. else
  20493. pTDefRegMap(@Self)^.&set := $00002000;
  20494. end;
  20495. function TI2C2_I2CABCON.getI2CSIDL : TBits_1; inline;
  20496. begin
  20497. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20498. end;
  20499. procedure TI2C2_I2CABCON.setI2CEN; inline;
  20500. begin
  20501. pTDefRegMap(@Self)^.&set := $00008000;
  20502. end;
  20503. procedure TI2C2_I2CABCON.clearI2CEN; inline;
  20504. begin
  20505. pTDefRegMap(@Self)^.clr := $00008000;
  20506. end;
  20507. procedure TI2C2_I2CABCON.setI2CEN(thebits : TBits_1); inline;
  20508. begin
  20509. if thebits = 0 then
  20510. pTDefRegMap(@Self)^.clr := $00008000
  20511. else
  20512. pTDefRegMap(@Self)^.&set := $00008000;
  20513. end;
  20514. function TI2C2_I2CABCON.getI2CEN : TBits_1; inline;
  20515. begin
  20516. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20517. end;
  20518. procedure TI2C2_I2CABCON.setw(thebits : TBits_32); inline;
  20519. begin
  20520. pTDefRegMap(@Self)^.val := thebits;
  20521. end;
  20522. function TI2C2_I2CABCON.getw : TBits_32; inline;
  20523. begin
  20524. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20525. end;
  20526. procedure TI2C2_I2C2STAT.setTBF; inline;
  20527. begin
  20528. pTDefRegMap(@Self)^.&set := $00000001;
  20529. end;
  20530. procedure TI2C2_I2C2STAT.clearTBF; inline;
  20531. begin
  20532. pTDefRegMap(@Self)^.clr := $00000001;
  20533. end;
  20534. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  20535. begin
  20536. if thebits = 0 then
  20537. pTDefRegMap(@Self)^.clr := $00000001
  20538. else
  20539. pTDefRegMap(@Self)^.&set := $00000001;
  20540. end;
  20541. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  20542. begin
  20543. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20544. end;
  20545. procedure TI2C2_I2C2STAT.setRBF; inline;
  20546. begin
  20547. pTDefRegMap(@Self)^.&set := $00000002;
  20548. end;
  20549. procedure TI2C2_I2C2STAT.clearRBF; inline;
  20550. begin
  20551. pTDefRegMap(@Self)^.clr := $00000002;
  20552. end;
  20553. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  20554. begin
  20555. if thebits = 0 then
  20556. pTDefRegMap(@Self)^.clr := $00000002
  20557. else
  20558. pTDefRegMap(@Self)^.&set := $00000002;
  20559. end;
  20560. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  20561. begin
  20562. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20563. end;
  20564. procedure TI2C2_I2C2STAT.setR_W; inline;
  20565. begin
  20566. pTDefRegMap(@Self)^.&set := $00000004;
  20567. end;
  20568. procedure TI2C2_I2C2STAT.clearR_W; inline;
  20569. begin
  20570. pTDefRegMap(@Self)^.clr := $00000004;
  20571. end;
  20572. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  20573. begin
  20574. if thebits = 0 then
  20575. pTDefRegMap(@Self)^.clr := $00000004
  20576. else
  20577. pTDefRegMap(@Self)^.&set := $00000004;
  20578. end;
  20579. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  20580. begin
  20581. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20582. end;
  20583. procedure TI2C2_I2C2STAT.setS; inline;
  20584. begin
  20585. pTDefRegMap(@Self)^.&set := $00000008;
  20586. end;
  20587. procedure TI2C2_I2C2STAT.clearS; inline;
  20588. begin
  20589. pTDefRegMap(@Self)^.clr := $00000008;
  20590. end;
  20591. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  20592. begin
  20593. if thebits = 0 then
  20594. pTDefRegMap(@Self)^.clr := $00000008
  20595. else
  20596. pTDefRegMap(@Self)^.&set := $00000008;
  20597. end;
  20598. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  20599. begin
  20600. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20601. end;
  20602. procedure TI2C2_I2C2STAT.setP; inline;
  20603. begin
  20604. pTDefRegMap(@Self)^.&set := $00000010;
  20605. end;
  20606. procedure TI2C2_I2C2STAT.clearP; inline;
  20607. begin
  20608. pTDefRegMap(@Self)^.clr := $00000010;
  20609. end;
  20610. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  20611. begin
  20612. if thebits = 0 then
  20613. pTDefRegMap(@Self)^.clr := $00000010
  20614. else
  20615. pTDefRegMap(@Self)^.&set := $00000010;
  20616. end;
  20617. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  20618. begin
  20619. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20620. end;
  20621. procedure TI2C2_I2C2STAT.setD_A; inline;
  20622. begin
  20623. pTDefRegMap(@Self)^.&set := $00000020;
  20624. end;
  20625. procedure TI2C2_I2C2STAT.clearD_A; inline;
  20626. begin
  20627. pTDefRegMap(@Self)^.clr := $00000020;
  20628. end;
  20629. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  20630. begin
  20631. if thebits = 0 then
  20632. pTDefRegMap(@Self)^.clr := $00000020
  20633. else
  20634. pTDefRegMap(@Self)^.&set := $00000020;
  20635. end;
  20636. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  20637. begin
  20638. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20639. end;
  20640. procedure TI2C2_I2C2STAT.setI2COV; inline;
  20641. begin
  20642. pTDefRegMap(@Self)^.&set := $00000040;
  20643. end;
  20644. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  20645. begin
  20646. pTDefRegMap(@Self)^.clr := $00000040;
  20647. end;
  20648. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  20649. begin
  20650. if thebits = 0 then
  20651. pTDefRegMap(@Self)^.clr := $00000040
  20652. else
  20653. pTDefRegMap(@Self)^.&set := $00000040;
  20654. end;
  20655. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  20656. begin
  20657. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20658. end;
  20659. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  20660. begin
  20661. pTDefRegMap(@Self)^.&set := $00000080;
  20662. end;
  20663. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  20664. begin
  20665. pTDefRegMap(@Self)^.clr := $00000080;
  20666. end;
  20667. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  20668. begin
  20669. if thebits = 0 then
  20670. pTDefRegMap(@Self)^.clr := $00000080
  20671. else
  20672. pTDefRegMap(@Self)^.&set := $00000080;
  20673. end;
  20674. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  20675. begin
  20676. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20677. end;
  20678. procedure TI2C2_I2C2STAT.setADD10; inline;
  20679. begin
  20680. pTDefRegMap(@Self)^.&set := $00000100;
  20681. end;
  20682. procedure TI2C2_I2C2STAT.clearADD10; inline;
  20683. begin
  20684. pTDefRegMap(@Self)^.clr := $00000100;
  20685. end;
  20686. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  20687. begin
  20688. if thebits = 0 then
  20689. pTDefRegMap(@Self)^.clr := $00000100
  20690. else
  20691. pTDefRegMap(@Self)^.&set := $00000100;
  20692. end;
  20693. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  20694. begin
  20695. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20696. end;
  20697. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  20698. begin
  20699. pTDefRegMap(@Self)^.&set := $00000200;
  20700. end;
  20701. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  20702. begin
  20703. pTDefRegMap(@Self)^.clr := $00000200;
  20704. end;
  20705. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  20706. begin
  20707. if thebits = 0 then
  20708. pTDefRegMap(@Self)^.clr := $00000200
  20709. else
  20710. pTDefRegMap(@Self)^.&set := $00000200;
  20711. end;
  20712. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  20713. begin
  20714. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20715. end;
  20716. procedure TI2C2_I2C2STAT.setBCL; inline;
  20717. begin
  20718. pTDefRegMap(@Self)^.&set := $00000400;
  20719. end;
  20720. procedure TI2C2_I2C2STAT.clearBCL; inline;
  20721. begin
  20722. pTDefRegMap(@Self)^.clr := $00000400;
  20723. end;
  20724. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  20725. begin
  20726. if thebits = 0 then
  20727. pTDefRegMap(@Self)^.clr := $00000400
  20728. else
  20729. pTDefRegMap(@Self)^.&set := $00000400;
  20730. end;
  20731. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  20732. begin
  20733. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20734. end;
  20735. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  20736. begin
  20737. pTDefRegMap(@Self)^.&set := $00004000;
  20738. end;
  20739. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  20740. begin
  20741. pTDefRegMap(@Self)^.clr := $00004000;
  20742. end;
  20743. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  20744. begin
  20745. if thebits = 0 then
  20746. pTDefRegMap(@Self)^.clr := $00004000
  20747. else
  20748. pTDefRegMap(@Self)^.&set := $00004000;
  20749. end;
  20750. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  20751. begin
  20752. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20753. end;
  20754. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  20755. begin
  20756. pTDefRegMap(@Self)^.&set := $00008000;
  20757. end;
  20758. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  20759. begin
  20760. pTDefRegMap(@Self)^.clr := $00008000;
  20761. end;
  20762. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  20763. begin
  20764. if thebits = 0 then
  20765. pTDefRegMap(@Self)^.clr := $00008000
  20766. else
  20767. pTDefRegMap(@Self)^.&set := $00008000;
  20768. end;
  20769. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  20770. begin
  20771. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20772. end;
  20773. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  20774. begin
  20775. pTDefRegMap(@Self)^.&set := $00000040;
  20776. end;
  20777. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  20778. begin
  20779. pTDefRegMap(@Self)^.clr := $00000040;
  20780. end;
  20781. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  20782. begin
  20783. if thebits = 0 then
  20784. pTDefRegMap(@Self)^.clr := $00000040
  20785. else
  20786. pTDefRegMap(@Self)^.&set := $00000040;
  20787. end;
  20788. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  20789. begin
  20790. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20791. end;
  20792. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  20793. begin
  20794. pTDefRegMap(@Self)^.val := thebits;
  20795. end;
  20796. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  20797. begin
  20798. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20799. end;
  20800. procedure TI2C2_I2CABSTAT.setTBF; inline;
  20801. begin
  20802. pTDefRegMap(@Self)^.&set := $00000001;
  20803. end;
  20804. procedure TI2C2_I2CABSTAT.clearTBF; inline;
  20805. begin
  20806. pTDefRegMap(@Self)^.clr := $00000001;
  20807. end;
  20808. procedure TI2C2_I2CABSTAT.setTBF(thebits : TBits_1); inline;
  20809. begin
  20810. if thebits = 0 then
  20811. pTDefRegMap(@Self)^.clr := $00000001
  20812. else
  20813. pTDefRegMap(@Self)^.&set := $00000001;
  20814. end;
  20815. function TI2C2_I2CABSTAT.getTBF : TBits_1; inline;
  20816. begin
  20817. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20818. end;
  20819. procedure TI2C2_I2CABSTAT.setRBF; inline;
  20820. begin
  20821. pTDefRegMap(@Self)^.&set := $00000002;
  20822. end;
  20823. procedure TI2C2_I2CABSTAT.clearRBF; inline;
  20824. begin
  20825. pTDefRegMap(@Self)^.clr := $00000002;
  20826. end;
  20827. procedure TI2C2_I2CABSTAT.setRBF(thebits : TBits_1); inline;
  20828. begin
  20829. if thebits = 0 then
  20830. pTDefRegMap(@Self)^.clr := $00000002
  20831. else
  20832. pTDefRegMap(@Self)^.&set := $00000002;
  20833. end;
  20834. function TI2C2_I2CABSTAT.getRBF : TBits_1; inline;
  20835. begin
  20836. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20837. end;
  20838. procedure TI2C2_I2CABSTAT.setR_W; inline;
  20839. begin
  20840. pTDefRegMap(@Self)^.&set := $00000004;
  20841. end;
  20842. procedure TI2C2_I2CABSTAT.clearR_W; inline;
  20843. begin
  20844. pTDefRegMap(@Self)^.clr := $00000004;
  20845. end;
  20846. procedure TI2C2_I2CABSTAT.setR_W(thebits : TBits_1); inline;
  20847. begin
  20848. if thebits = 0 then
  20849. pTDefRegMap(@Self)^.clr := $00000004
  20850. else
  20851. pTDefRegMap(@Self)^.&set := $00000004;
  20852. end;
  20853. function TI2C2_I2CABSTAT.getR_W : TBits_1; inline;
  20854. begin
  20855. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20856. end;
  20857. procedure TI2C2_I2CABSTAT.setS; inline;
  20858. begin
  20859. pTDefRegMap(@Self)^.&set := $00000008;
  20860. end;
  20861. procedure TI2C2_I2CABSTAT.clearS; inline;
  20862. begin
  20863. pTDefRegMap(@Self)^.clr := $00000008;
  20864. end;
  20865. procedure TI2C2_I2CABSTAT.setS(thebits : TBits_1); inline;
  20866. begin
  20867. if thebits = 0 then
  20868. pTDefRegMap(@Self)^.clr := $00000008
  20869. else
  20870. pTDefRegMap(@Self)^.&set := $00000008;
  20871. end;
  20872. function TI2C2_I2CABSTAT.getS : TBits_1; inline;
  20873. begin
  20874. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20875. end;
  20876. procedure TI2C2_I2CABSTAT.setP; inline;
  20877. begin
  20878. pTDefRegMap(@Self)^.&set := $00000010;
  20879. end;
  20880. procedure TI2C2_I2CABSTAT.clearP; inline;
  20881. begin
  20882. pTDefRegMap(@Self)^.clr := $00000010;
  20883. end;
  20884. procedure TI2C2_I2CABSTAT.setP(thebits : TBits_1); inline;
  20885. begin
  20886. if thebits = 0 then
  20887. pTDefRegMap(@Self)^.clr := $00000010
  20888. else
  20889. pTDefRegMap(@Self)^.&set := $00000010;
  20890. end;
  20891. function TI2C2_I2CABSTAT.getP : TBits_1; inline;
  20892. begin
  20893. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20894. end;
  20895. procedure TI2C2_I2CABSTAT.setD_A; inline;
  20896. begin
  20897. pTDefRegMap(@Self)^.&set := $00000020;
  20898. end;
  20899. procedure TI2C2_I2CABSTAT.clearD_A; inline;
  20900. begin
  20901. pTDefRegMap(@Self)^.clr := $00000020;
  20902. end;
  20903. procedure TI2C2_I2CABSTAT.setD_A(thebits : TBits_1); inline;
  20904. begin
  20905. if thebits = 0 then
  20906. pTDefRegMap(@Self)^.clr := $00000020
  20907. else
  20908. pTDefRegMap(@Self)^.&set := $00000020;
  20909. end;
  20910. function TI2C2_I2CABSTAT.getD_A : TBits_1; inline;
  20911. begin
  20912. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20913. end;
  20914. procedure TI2C2_I2CABSTAT.setI2COV; inline;
  20915. begin
  20916. pTDefRegMap(@Self)^.&set := $00000040;
  20917. end;
  20918. procedure TI2C2_I2CABSTAT.clearI2COV; inline;
  20919. begin
  20920. pTDefRegMap(@Self)^.clr := $00000040;
  20921. end;
  20922. procedure TI2C2_I2CABSTAT.setI2COV(thebits : TBits_1); inline;
  20923. begin
  20924. if thebits = 0 then
  20925. pTDefRegMap(@Self)^.clr := $00000040
  20926. else
  20927. pTDefRegMap(@Self)^.&set := $00000040;
  20928. end;
  20929. function TI2C2_I2CABSTAT.getI2COV : TBits_1; inline;
  20930. begin
  20931. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20932. end;
  20933. procedure TI2C2_I2CABSTAT.setIWCOL; inline;
  20934. begin
  20935. pTDefRegMap(@Self)^.&set := $00000080;
  20936. end;
  20937. procedure TI2C2_I2CABSTAT.clearIWCOL; inline;
  20938. begin
  20939. pTDefRegMap(@Self)^.clr := $00000080;
  20940. end;
  20941. procedure TI2C2_I2CABSTAT.setIWCOL(thebits : TBits_1); inline;
  20942. begin
  20943. if thebits = 0 then
  20944. pTDefRegMap(@Self)^.clr := $00000080
  20945. else
  20946. pTDefRegMap(@Self)^.&set := $00000080;
  20947. end;
  20948. function TI2C2_I2CABSTAT.getIWCOL : TBits_1; inline;
  20949. begin
  20950. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20951. end;
  20952. procedure TI2C2_I2CABSTAT.setADD10; inline;
  20953. begin
  20954. pTDefRegMap(@Self)^.&set := $00000100;
  20955. end;
  20956. procedure TI2C2_I2CABSTAT.clearADD10; inline;
  20957. begin
  20958. pTDefRegMap(@Self)^.clr := $00000100;
  20959. end;
  20960. procedure TI2C2_I2CABSTAT.setADD10(thebits : TBits_1); inline;
  20961. begin
  20962. if thebits = 0 then
  20963. pTDefRegMap(@Self)^.clr := $00000100
  20964. else
  20965. pTDefRegMap(@Self)^.&set := $00000100;
  20966. end;
  20967. function TI2C2_I2CABSTAT.getADD10 : TBits_1; inline;
  20968. begin
  20969. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20970. end;
  20971. procedure TI2C2_I2CABSTAT.setGCSTAT; inline;
  20972. begin
  20973. pTDefRegMap(@Self)^.&set := $00000200;
  20974. end;
  20975. procedure TI2C2_I2CABSTAT.clearGCSTAT; inline;
  20976. begin
  20977. pTDefRegMap(@Self)^.clr := $00000200;
  20978. end;
  20979. procedure TI2C2_I2CABSTAT.setGCSTAT(thebits : TBits_1); inline;
  20980. begin
  20981. if thebits = 0 then
  20982. pTDefRegMap(@Self)^.clr := $00000200
  20983. else
  20984. pTDefRegMap(@Self)^.&set := $00000200;
  20985. end;
  20986. function TI2C2_I2CABSTAT.getGCSTAT : TBits_1; inline;
  20987. begin
  20988. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20989. end;
  20990. procedure TI2C2_I2CABSTAT.setBCL; inline;
  20991. begin
  20992. pTDefRegMap(@Self)^.&set := $00000400;
  20993. end;
  20994. procedure TI2C2_I2CABSTAT.clearBCL; inline;
  20995. begin
  20996. pTDefRegMap(@Self)^.clr := $00000400;
  20997. end;
  20998. procedure TI2C2_I2CABSTAT.setBCL(thebits : TBits_1); inline;
  20999. begin
  21000. if thebits = 0 then
  21001. pTDefRegMap(@Self)^.clr := $00000400
  21002. else
  21003. pTDefRegMap(@Self)^.&set := $00000400;
  21004. end;
  21005. function TI2C2_I2CABSTAT.getBCL : TBits_1; inline;
  21006. begin
  21007. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21008. end;
  21009. procedure TI2C2_I2CABSTAT.setTRSTAT; inline;
  21010. begin
  21011. pTDefRegMap(@Self)^.&set := $00004000;
  21012. end;
  21013. procedure TI2C2_I2CABSTAT.clearTRSTAT; inline;
  21014. begin
  21015. pTDefRegMap(@Self)^.clr := $00004000;
  21016. end;
  21017. procedure TI2C2_I2CABSTAT.setTRSTAT(thebits : TBits_1); inline;
  21018. begin
  21019. if thebits = 0 then
  21020. pTDefRegMap(@Self)^.clr := $00004000
  21021. else
  21022. pTDefRegMap(@Self)^.&set := $00004000;
  21023. end;
  21024. function TI2C2_I2CABSTAT.getTRSTAT : TBits_1; inline;
  21025. begin
  21026. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21027. end;
  21028. procedure TI2C2_I2CABSTAT.setACKSTAT; inline;
  21029. begin
  21030. pTDefRegMap(@Self)^.&set := $00008000;
  21031. end;
  21032. procedure TI2C2_I2CABSTAT.clearACKSTAT; inline;
  21033. begin
  21034. pTDefRegMap(@Self)^.clr := $00008000;
  21035. end;
  21036. procedure TI2C2_I2CABSTAT.setACKSTAT(thebits : TBits_1); inline;
  21037. begin
  21038. if thebits = 0 then
  21039. pTDefRegMap(@Self)^.clr := $00008000
  21040. else
  21041. pTDefRegMap(@Self)^.&set := $00008000;
  21042. end;
  21043. function TI2C2_I2CABSTAT.getACKSTAT : TBits_1; inline;
  21044. begin
  21045. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21046. end;
  21047. procedure TI2C2_I2CABSTAT.setI2CPOV; inline;
  21048. begin
  21049. pTDefRegMap(@Self)^.&set := $00000040;
  21050. end;
  21051. procedure TI2C2_I2CABSTAT.clearI2CPOV; inline;
  21052. begin
  21053. pTDefRegMap(@Self)^.clr := $00000040;
  21054. end;
  21055. procedure TI2C2_I2CABSTAT.setI2CPOV(thebits : TBits_1); inline;
  21056. begin
  21057. if thebits = 0 then
  21058. pTDefRegMap(@Self)^.clr := $00000040
  21059. else
  21060. pTDefRegMap(@Self)^.&set := $00000040;
  21061. end;
  21062. function TI2C2_I2CABSTAT.getI2CPOV : TBits_1; inline;
  21063. begin
  21064. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21065. end;
  21066. procedure TI2C2_I2CABSTAT.setw(thebits : TBits_32); inline;
  21067. begin
  21068. pTDefRegMap(@Self)^.val := thebits;
  21069. end;
  21070. function TI2C2_I2CABSTAT.getw : TBits_32; inline;
  21071. begin
  21072. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21073. end;
  21074. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  21075. begin
  21076. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21077. end;
  21078. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  21079. begin
  21080. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21081. end;
  21082. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  21083. begin
  21084. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  21085. end;
  21086. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  21087. begin
  21088. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  21089. end;
  21090. procedure TSPI1_SPI1CON.setDISSDI; inline;
  21091. begin
  21092. pTDefRegMap(@Self)^.&set := $00000010;
  21093. end;
  21094. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  21095. begin
  21096. pTDefRegMap(@Self)^.clr := $00000010;
  21097. end;
  21098. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  21099. begin
  21100. if thebits = 0 then
  21101. pTDefRegMap(@Self)^.clr := $00000010
  21102. else
  21103. pTDefRegMap(@Self)^.&set := $00000010;
  21104. end;
  21105. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  21106. begin
  21107. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21108. end;
  21109. procedure TSPI1_SPI1CON.setMSTEN; inline;
  21110. begin
  21111. pTDefRegMap(@Self)^.&set := $00000020;
  21112. end;
  21113. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  21114. begin
  21115. pTDefRegMap(@Self)^.clr := $00000020;
  21116. end;
  21117. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  21118. begin
  21119. if thebits = 0 then
  21120. pTDefRegMap(@Self)^.clr := $00000020
  21121. else
  21122. pTDefRegMap(@Self)^.&set := $00000020;
  21123. end;
  21124. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  21125. begin
  21126. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21127. end;
  21128. procedure TSPI1_SPI1CON.setCKP; inline;
  21129. begin
  21130. pTDefRegMap(@Self)^.&set := $00000040;
  21131. end;
  21132. procedure TSPI1_SPI1CON.clearCKP; inline;
  21133. begin
  21134. pTDefRegMap(@Self)^.clr := $00000040;
  21135. end;
  21136. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  21137. begin
  21138. if thebits = 0 then
  21139. pTDefRegMap(@Self)^.clr := $00000040
  21140. else
  21141. pTDefRegMap(@Self)^.&set := $00000040;
  21142. end;
  21143. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  21144. begin
  21145. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21146. end;
  21147. procedure TSPI1_SPI1CON.setSSEN; inline;
  21148. begin
  21149. pTDefRegMap(@Self)^.&set := $00000080;
  21150. end;
  21151. procedure TSPI1_SPI1CON.clearSSEN; inline;
  21152. begin
  21153. pTDefRegMap(@Self)^.clr := $00000080;
  21154. end;
  21155. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  21156. begin
  21157. if thebits = 0 then
  21158. pTDefRegMap(@Self)^.clr := $00000080
  21159. else
  21160. pTDefRegMap(@Self)^.&set := $00000080;
  21161. end;
  21162. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  21163. begin
  21164. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21165. end;
  21166. procedure TSPI1_SPI1CON.setCKE; inline;
  21167. begin
  21168. pTDefRegMap(@Self)^.&set := $00000100;
  21169. end;
  21170. procedure TSPI1_SPI1CON.clearCKE; inline;
  21171. begin
  21172. pTDefRegMap(@Self)^.clr := $00000100;
  21173. end;
  21174. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  21175. begin
  21176. if thebits = 0 then
  21177. pTDefRegMap(@Self)^.clr := $00000100
  21178. else
  21179. pTDefRegMap(@Self)^.&set := $00000100;
  21180. end;
  21181. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  21182. begin
  21183. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21184. end;
  21185. procedure TSPI1_SPI1CON.setSMP; inline;
  21186. begin
  21187. pTDefRegMap(@Self)^.&set := $00000200;
  21188. end;
  21189. procedure TSPI1_SPI1CON.clearSMP; inline;
  21190. begin
  21191. pTDefRegMap(@Self)^.clr := $00000200;
  21192. end;
  21193. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  21194. begin
  21195. if thebits = 0 then
  21196. pTDefRegMap(@Self)^.clr := $00000200
  21197. else
  21198. pTDefRegMap(@Self)^.&set := $00000200;
  21199. end;
  21200. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  21201. begin
  21202. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21203. end;
  21204. procedure TSPI1_SPI1CON.setMODE16; inline;
  21205. begin
  21206. pTDefRegMap(@Self)^.&set := $00000400;
  21207. end;
  21208. procedure TSPI1_SPI1CON.clearMODE16; inline;
  21209. begin
  21210. pTDefRegMap(@Self)^.clr := $00000400;
  21211. end;
  21212. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  21213. begin
  21214. if thebits = 0 then
  21215. pTDefRegMap(@Self)^.clr := $00000400
  21216. else
  21217. pTDefRegMap(@Self)^.&set := $00000400;
  21218. end;
  21219. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  21220. begin
  21221. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21222. end;
  21223. procedure TSPI1_SPI1CON.setMODE32; inline;
  21224. begin
  21225. pTDefRegMap(@Self)^.&set := $00000800;
  21226. end;
  21227. procedure TSPI1_SPI1CON.clearMODE32; inline;
  21228. begin
  21229. pTDefRegMap(@Self)^.clr := $00000800;
  21230. end;
  21231. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  21232. begin
  21233. if thebits = 0 then
  21234. pTDefRegMap(@Self)^.clr := $00000800
  21235. else
  21236. pTDefRegMap(@Self)^.&set := $00000800;
  21237. end;
  21238. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  21239. begin
  21240. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21241. end;
  21242. procedure TSPI1_SPI1CON.setDISSDO; inline;
  21243. begin
  21244. pTDefRegMap(@Self)^.&set := $00001000;
  21245. end;
  21246. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  21247. begin
  21248. pTDefRegMap(@Self)^.clr := $00001000;
  21249. end;
  21250. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  21251. begin
  21252. if thebits = 0 then
  21253. pTDefRegMap(@Self)^.clr := $00001000
  21254. else
  21255. pTDefRegMap(@Self)^.&set := $00001000;
  21256. end;
  21257. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  21258. begin
  21259. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21260. end;
  21261. procedure TSPI1_SPI1CON.setSIDL; inline;
  21262. begin
  21263. pTDefRegMap(@Self)^.&set := $00002000;
  21264. end;
  21265. procedure TSPI1_SPI1CON.clearSIDL; inline;
  21266. begin
  21267. pTDefRegMap(@Self)^.clr := $00002000;
  21268. end;
  21269. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  21270. begin
  21271. if thebits = 0 then
  21272. pTDefRegMap(@Self)^.clr := $00002000
  21273. else
  21274. pTDefRegMap(@Self)^.&set := $00002000;
  21275. end;
  21276. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  21277. begin
  21278. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21279. end;
  21280. procedure TSPI1_SPI1CON.setON; inline;
  21281. begin
  21282. pTDefRegMap(@Self)^.&set := $00008000;
  21283. end;
  21284. procedure TSPI1_SPI1CON.clearON; inline;
  21285. begin
  21286. pTDefRegMap(@Self)^.clr := $00008000;
  21287. end;
  21288. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  21289. begin
  21290. if thebits = 0 then
  21291. pTDefRegMap(@Self)^.clr := $00008000
  21292. else
  21293. pTDefRegMap(@Self)^.&set := $00008000;
  21294. end;
  21295. function TSPI1_SPI1CON.getON : TBits_1; inline;
  21296. begin
  21297. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21298. end;
  21299. procedure TSPI1_SPI1CON.setENHBUF; inline;
  21300. begin
  21301. pTDefRegMap(@Self)^.&set := $00010000;
  21302. end;
  21303. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  21304. begin
  21305. pTDefRegMap(@Self)^.clr := $00010000;
  21306. end;
  21307. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  21308. begin
  21309. if thebits = 0 then
  21310. pTDefRegMap(@Self)^.clr := $00010000
  21311. else
  21312. pTDefRegMap(@Self)^.&set := $00010000;
  21313. end;
  21314. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  21315. begin
  21316. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21317. end;
  21318. procedure TSPI1_SPI1CON.setSPIFE; inline;
  21319. begin
  21320. pTDefRegMap(@Self)^.&set := $00020000;
  21321. end;
  21322. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  21323. begin
  21324. pTDefRegMap(@Self)^.clr := $00020000;
  21325. end;
  21326. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  21327. begin
  21328. if thebits = 0 then
  21329. pTDefRegMap(@Self)^.clr := $00020000
  21330. else
  21331. pTDefRegMap(@Self)^.&set := $00020000;
  21332. end;
  21333. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  21334. begin
  21335. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21336. end;
  21337. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  21338. begin
  21339. pTDefRegMap(@Self)^.&set := $00800000;
  21340. end;
  21341. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  21342. begin
  21343. pTDefRegMap(@Self)^.clr := $00800000;
  21344. end;
  21345. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  21346. begin
  21347. if thebits = 0 then
  21348. pTDefRegMap(@Self)^.clr := $00800000
  21349. else
  21350. pTDefRegMap(@Self)^.&set := $00800000;
  21351. end;
  21352. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  21353. begin
  21354. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21355. end;
  21356. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  21357. begin
  21358. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  21359. end;
  21360. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  21361. begin
  21362. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  21363. end;
  21364. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  21365. begin
  21366. pTDefRegMap(@Self)^.&set := $08000000;
  21367. end;
  21368. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  21369. begin
  21370. pTDefRegMap(@Self)^.clr := $08000000;
  21371. end;
  21372. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  21373. begin
  21374. if thebits = 0 then
  21375. pTDefRegMap(@Self)^.clr := $08000000
  21376. else
  21377. pTDefRegMap(@Self)^.&set := $08000000;
  21378. end;
  21379. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  21380. begin
  21381. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  21382. end;
  21383. procedure TSPI1_SPI1CON.setMSSEN; inline;
  21384. begin
  21385. pTDefRegMap(@Self)^.&set := $10000000;
  21386. end;
  21387. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  21388. begin
  21389. pTDefRegMap(@Self)^.clr := $10000000;
  21390. end;
  21391. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  21392. begin
  21393. if thebits = 0 then
  21394. pTDefRegMap(@Self)^.clr := $10000000
  21395. else
  21396. pTDefRegMap(@Self)^.&set := $10000000;
  21397. end;
  21398. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  21399. begin
  21400. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  21401. end;
  21402. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  21403. begin
  21404. pTDefRegMap(@Self)^.&set := $20000000;
  21405. end;
  21406. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  21407. begin
  21408. pTDefRegMap(@Self)^.clr := $20000000;
  21409. end;
  21410. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  21411. begin
  21412. if thebits = 0 then
  21413. pTDefRegMap(@Self)^.clr := $20000000
  21414. else
  21415. pTDefRegMap(@Self)^.&set := $20000000;
  21416. end;
  21417. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  21418. begin
  21419. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  21420. end;
  21421. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  21422. begin
  21423. pTDefRegMap(@Self)^.&set := $40000000;
  21424. end;
  21425. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  21426. begin
  21427. pTDefRegMap(@Self)^.clr := $40000000;
  21428. end;
  21429. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  21430. begin
  21431. if thebits = 0 then
  21432. pTDefRegMap(@Self)^.clr := $40000000
  21433. else
  21434. pTDefRegMap(@Self)^.&set := $40000000;
  21435. end;
  21436. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  21437. begin
  21438. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  21439. end;
  21440. procedure TSPI1_SPI1CON.setFRMEN; inline;
  21441. begin
  21442. pTDefRegMap(@Self)^.&set := $80000000;
  21443. end;
  21444. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  21445. begin
  21446. pTDefRegMap(@Self)^.clr := $80000000;
  21447. end;
  21448. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  21449. begin
  21450. if thebits = 0 then
  21451. pTDefRegMap(@Self)^.clr := $80000000
  21452. else
  21453. pTDefRegMap(@Self)^.&set := $80000000;
  21454. end;
  21455. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  21456. begin
  21457. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  21458. end;
  21459. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  21460. begin
  21461. pTDefRegMap(@Self)^.val := thebits;
  21462. end;
  21463. function TSPI1_SPI1CON.getw : TBits_32; inline;
  21464. begin
  21465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21466. end;
  21467. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  21468. begin
  21469. pTDefRegMap(@Self)^.&set := $00000001;
  21470. end;
  21471. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  21472. begin
  21473. pTDefRegMap(@Self)^.clr := $00000001;
  21474. end;
  21475. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  21476. begin
  21477. if thebits = 0 then
  21478. pTDefRegMap(@Self)^.clr := $00000001
  21479. else
  21480. pTDefRegMap(@Self)^.&set := $00000001;
  21481. end;
  21482. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  21483. begin
  21484. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21485. end;
  21486. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  21487. begin
  21488. pTDefRegMap(@Self)^.&set := $00000002;
  21489. end;
  21490. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  21491. begin
  21492. pTDefRegMap(@Self)^.clr := $00000002;
  21493. end;
  21494. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  21495. begin
  21496. if thebits = 0 then
  21497. pTDefRegMap(@Self)^.clr := $00000002
  21498. else
  21499. pTDefRegMap(@Self)^.&set := $00000002;
  21500. end;
  21501. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  21502. begin
  21503. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21504. end;
  21505. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  21506. begin
  21507. pTDefRegMap(@Self)^.&set := $00000008;
  21508. end;
  21509. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  21510. begin
  21511. pTDefRegMap(@Self)^.clr := $00000008;
  21512. end;
  21513. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  21514. begin
  21515. if thebits = 0 then
  21516. pTDefRegMap(@Self)^.clr := $00000008
  21517. else
  21518. pTDefRegMap(@Self)^.&set := $00000008;
  21519. end;
  21520. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  21521. begin
  21522. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21523. end;
  21524. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  21525. begin
  21526. pTDefRegMap(@Self)^.&set := $00000020;
  21527. end;
  21528. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  21529. begin
  21530. pTDefRegMap(@Self)^.clr := $00000020;
  21531. end;
  21532. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  21533. begin
  21534. if thebits = 0 then
  21535. pTDefRegMap(@Self)^.clr := $00000020
  21536. else
  21537. pTDefRegMap(@Self)^.&set := $00000020;
  21538. end;
  21539. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  21540. begin
  21541. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21542. end;
  21543. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  21544. begin
  21545. pTDefRegMap(@Self)^.&set := $00000040;
  21546. end;
  21547. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  21548. begin
  21549. pTDefRegMap(@Self)^.clr := $00000040;
  21550. end;
  21551. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  21552. begin
  21553. if thebits = 0 then
  21554. pTDefRegMap(@Self)^.clr := $00000040
  21555. else
  21556. pTDefRegMap(@Self)^.&set := $00000040;
  21557. end;
  21558. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  21559. begin
  21560. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21561. end;
  21562. procedure TSPI1_SPI1STAT.setSRMT; inline;
  21563. begin
  21564. pTDefRegMap(@Self)^.&set := $00000080;
  21565. end;
  21566. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  21567. begin
  21568. pTDefRegMap(@Self)^.clr := $00000080;
  21569. end;
  21570. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  21571. begin
  21572. if thebits = 0 then
  21573. pTDefRegMap(@Self)^.clr := $00000080
  21574. else
  21575. pTDefRegMap(@Self)^.&set := $00000080;
  21576. end;
  21577. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  21578. begin
  21579. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21580. end;
  21581. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  21582. begin
  21583. pTDefRegMap(@Self)^.&set := $00000100;
  21584. end;
  21585. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  21586. begin
  21587. pTDefRegMap(@Self)^.clr := $00000100;
  21588. end;
  21589. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  21590. begin
  21591. if thebits = 0 then
  21592. pTDefRegMap(@Self)^.clr := $00000100
  21593. else
  21594. pTDefRegMap(@Self)^.&set := $00000100;
  21595. end;
  21596. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  21597. begin
  21598. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21599. end;
  21600. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  21601. begin
  21602. pTDefRegMap(@Self)^.&set := $00000800;
  21603. end;
  21604. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  21605. begin
  21606. pTDefRegMap(@Self)^.clr := $00000800;
  21607. end;
  21608. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  21609. begin
  21610. if thebits = 0 then
  21611. pTDefRegMap(@Self)^.clr := $00000800
  21612. else
  21613. pTDefRegMap(@Self)^.&set := $00000800;
  21614. end;
  21615. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  21616. begin
  21617. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21618. end;
  21619. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  21620. begin
  21621. pTDefRegMap(@Self)^.&set := $00001000;
  21622. end;
  21623. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  21624. begin
  21625. pTDefRegMap(@Self)^.clr := $00001000;
  21626. end;
  21627. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  21628. begin
  21629. if thebits = 0 then
  21630. pTDefRegMap(@Self)^.clr := $00001000
  21631. else
  21632. pTDefRegMap(@Self)^.&set := $00001000;
  21633. end;
  21634. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  21635. begin
  21636. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21637. end;
  21638. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  21639. begin
  21640. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  21641. end;
  21642. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  21643. begin
  21644. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  21645. end;
  21646. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  21647. begin
  21648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  21649. end;
  21650. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  21651. begin
  21652. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  21653. end;
  21654. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  21655. begin
  21656. pTDefRegMap(@Self)^.val := thebits;
  21657. end;
  21658. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  21659. begin
  21660. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21661. end;
  21662. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  21663. begin
  21664. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21665. end;
  21666. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  21667. begin
  21668. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21669. end;
  21670. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  21671. begin
  21672. pTDefRegMap(@Self)^.&set := $00000008;
  21673. end;
  21674. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  21675. begin
  21676. pTDefRegMap(@Self)^.clr := $00000008;
  21677. end;
  21678. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  21679. begin
  21680. if thebits = 0 then
  21681. pTDefRegMap(@Self)^.clr := $00000008
  21682. else
  21683. pTDefRegMap(@Self)^.&set := $00000008;
  21684. end;
  21685. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  21686. begin
  21687. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21688. end;
  21689. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  21690. begin
  21691. pTDefRegMap(@Self)^.&set := $00000080;
  21692. end;
  21693. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  21694. begin
  21695. pTDefRegMap(@Self)^.clr := $00000080;
  21696. end;
  21697. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  21698. begin
  21699. if thebits = 0 then
  21700. pTDefRegMap(@Self)^.clr := $00000080
  21701. else
  21702. pTDefRegMap(@Self)^.&set := $00000080;
  21703. end;
  21704. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  21705. begin
  21706. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21707. end;
  21708. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  21709. begin
  21710. pTDefRegMap(@Self)^.&set := $00000100;
  21711. end;
  21712. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  21713. begin
  21714. pTDefRegMap(@Self)^.clr := $00000100;
  21715. end;
  21716. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  21717. begin
  21718. if thebits = 0 then
  21719. pTDefRegMap(@Self)^.clr := $00000100
  21720. else
  21721. pTDefRegMap(@Self)^.&set := $00000100;
  21722. end;
  21723. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  21724. begin
  21725. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21726. end;
  21727. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  21728. begin
  21729. pTDefRegMap(@Self)^.&set := $00000200;
  21730. end;
  21731. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  21732. begin
  21733. pTDefRegMap(@Self)^.clr := $00000200;
  21734. end;
  21735. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  21736. begin
  21737. if thebits = 0 then
  21738. pTDefRegMap(@Self)^.clr := $00000200
  21739. else
  21740. pTDefRegMap(@Self)^.&set := $00000200;
  21741. end;
  21742. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  21743. begin
  21744. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21745. end;
  21746. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  21747. begin
  21748. pTDefRegMap(@Self)^.&set := $00000400;
  21749. end;
  21750. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  21751. begin
  21752. pTDefRegMap(@Self)^.clr := $00000400;
  21753. end;
  21754. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  21755. begin
  21756. if thebits = 0 then
  21757. pTDefRegMap(@Self)^.clr := $00000400
  21758. else
  21759. pTDefRegMap(@Self)^.&set := $00000400;
  21760. end;
  21761. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  21762. begin
  21763. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21764. end;
  21765. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  21766. begin
  21767. pTDefRegMap(@Self)^.&set := $00000800;
  21768. end;
  21769. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  21770. begin
  21771. pTDefRegMap(@Self)^.clr := $00000800;
  21772. end;
  21773. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  21774. begin
  21775. if thebits = 0 then
  21776. pTDefRegMap(@Self)^.clr := $00000800
  21777. else
  21778. pTDefRegMap(@Self)^.&set := $00000800;
  21779. end;
  21780. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  21781. begin
  21782. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21783. end;
  21784. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  21785. begin
  21786. pTDefRegMap(@Self)^.&set := $00001000;
  21787. end;
  21788. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  21789. begin
  21790. pTDefRegMap(@Self)^.clr := $00001000;
  21791. end;
  21792. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  21793. begin
  21794. if thebits = 0 then
  21795. pTDefRegMap(@Self)^.clr := $00001000
  21796. else
  21797. pTDefRegMap(@Self)^.&set := $00001000;
  21798. end;
  21799. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  21800. begin
  21801. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21802. end;
  21803. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  21804. begin
  21805. pTDefRegMap(@Self)^.&set := $00008000;
  21806. end;
  21807. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  21808. begin
  21809. pTDefRegMap(@Self)^.clr := $00008000;
  21810. end;
  21811. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  21812. begin
  21813. if thebits = 0 then
  21814. pTDefRegMap(@Self)^.clr := $00008000
  21815. else
  21816. pTDefRegMap(@Self)^.&set := $00008000;
  21817. end;
  21818. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  21819. begin
  21820. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21821. end;
  21822. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  21823. begin
  21824. pTDefRegMap(@Self)^.&set := $00000001;
  21825. end;
  21826. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  21827. begin
  21828. pTDefRegMap(@Self)^.clr := $00000001;
  21829. end;
  21830. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  21831. begin
  21832. if thebits = 0 then
  21833. pTDefRegMap(@Self)^.clr := $00000001
  21834. else
  21835. pTDefRegMap(@Self)^.&set := $00000001;
  21836. end;
  21837. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  21838. begin
  21839. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21840. end;
  21841. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  21842. begin
  21843. pTDefRegMap(@Self)^.&set := $00000002;
  21844. end;
  21845. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  21846. begin
  21847. pTDefRegMap(@Self)^.clr := $00000002;
  21848. end;
  21849. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  21850. begin
  21851. if thebits = 0 then
  21852. pTDefRegMap(@Self)^.clr := $00000002
  21853. else
  21854. pTDefRegMap(@Self)^.&set := $00000002;
  21855. end;
  21856. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  21857. begin
  21858. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21859. end;
  21860. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  21861. begin
  21862. pTDefRegMap(@Self)^.val := thebits;
  21863. end;
  21864. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  21865. begin
  21866. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21867. end;
  21868. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  21869. begin
  21870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21871. end;
  21872. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  21873. begin
  21874. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21875. end;
  21876. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  21877. begin
  21878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  21879. end;
  21880. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  21881. begin
  21882. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  21883. end;
  21884. procedure TSPI2_SPI2CON.setDISSDI; inline;
  21885. begin
  21886. pTDefRegMap(@Self)^.&set := $00000010;
  21887. end;
  21888. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  21889. begin
  21890. pTDefRegMap(@Self)^.clr := $00000010;
  21891. end;
  21892. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  21893. begin
  21894. if thebits = 0 then
  21895. pTDefRegMap(@Self)^.clr := $00000010
  21896. else
  21897. pTDefRegMap(@Self)^.&set := $00000010;
  21898. end;
  21899. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  21900. begin
  21901. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21902. end;
  21903. procedure TSPI2_SPI2CON.setMSTEN; inline;
  21904. begin
  21905. pTDefRegMap(@Self)^.&set := $00000020;
  21906. end;
  21907. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  21908. begin
  21909. pTDefRegMap(@Self)^.clr := $00000020;
  21910. end;
  21911. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  21912. begin
  21913. if thebits = 0 then
  21914. pTDefRegMap(@Self)^.clr := $00000020
  21915. else
  21916. pTDefRegMap(@Self)^.&set := $00000020;
  21917. end;
  21918. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  21919. begin
  21920. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21921. end;
  21922. procedure TSPI2_SPI2CON.setCKP; inline;
  21923. begin
  21924. pTDefRegMap(@Self)^.&set := $00000040;
  21925. end;
  21926. procedure TSPI2_SPI2CON.clearCKP; inline;
  21927. begin
  21928. pTDefRegMap(@Self)^.clr := $00000040;
  21929. end;
  21930. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  21931. begin
  21932. if thebits = 0 then
  21933. pTDefRegMap(@Self)^.clr := $00000040
  21934. else
  21935. pTDefRegMap(@Self)^.&set := $00000040;
  21936. end;
  21937. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  21938. begin
  21939. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21940. end;
  21941. procedure TSPI2_SPI2CON.setSSEN; inline;
  21942. begin
  21943. pTDefRegMap(@Self)^.&set := $00000080;
  21944. end;
  21945. procedure TSPI2_SPI2CON.clearSSEN; inline;
  21946. begin
  21947. pTDefRegMap(@Self)^.clr := $00000080;
  21948. end;
  21949. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  21950. begin
  21951. if thebits = 0 then
  21952. pTDefRegMap(@Self)^.clr := $00000080
  21953. else
  21954. pTDefRegMap(@Self)^.&set := $00000080;
  21955. end;
  21956. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  21957. begin
  21958. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21959. end;
  21960. procedure TSPI2_SPI2CON.setCKE; inline;
  21961. begin
  21962. pTDefRegMap(@Self)^.&set := $00000100;
  21963. end;
  21964. procedure TSPI2_SPI2CON.clearCKE; inline;
  21965. begin
  21966. pTDefRegMap(@Self)^.clr := $00000100;
  21967. end;
  21968. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  21969. begin
  21970. if thebits = 0 then
  21971. pTDefRegMap(@Self)^.clr := $00000100
  21972. else
  21973. pTDefRegMap(@Self)^.&set := $00000100;
  21974. end;
  21975. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  21976. begin
  21977. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21978. end;
  21979. procedure TSPI2_SPI2CON.setSMP; inline;
  21980. begin
  21981. pTDefRegMap(@Self)^.&set := $00000200;
  21982. end;
  21983. procedure TSPI2_SPI2CON.clearSMP; inline;
  21984. begin
  21985. pTDefRegMap(@Self)^.clr := $00000200;
  21986. end;
  21987. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  21988. begin
  21989. if thebits = 0 then
  21990. pTDefRegMap(@Self)^.clr := $00000200
  21991. else
  21992. pTDefRegMap(@Self)^.&set := $00000200;
  21993. end;
  21994. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  21995. begin
  21996. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21997. end;
  21998. procedure TSPI2_SPI2CON.setMODE16; inline;
  21999. begin
  22000. pTDefRegMap(@Self)^.&set := $00000400;
  22001. end;
  22002. procedure TSPI2_SPI2CON.clearMODE16; inline;
  22003. begin
  22004. pTDefRegMap(@Self)^.clr := $00000400;
  22005. end;
  22006. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  22007. begin
  22008. if thebits = 0 then
  22009. pTDefRegMap(@Self)^.clr := $00000400
  22010. else
  22011. pTDefRegMap(@Self)^.&set := $00000400;
  22012. end;
  22013. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  22014. begin
  22015. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22016. end;
  22017. procedure TSPI2_SPI2CON.setMODE32; inline;
  22018. begin
  22019. pTDefRegMap(@Self)^.&set := $00000800;
  22020. end;
  22021. procedure TSPI2_SPI2CON.clearMODE32; inline;
  22022. begin
  22023. pTDefRegMap(@Self)^.clr := $00000800;
  22024. end;
  22025. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  22026. begin
  22027. if thebits = 0 then
  22028. pTDefRegMap(@Self)^.clr := $00000800
  22029. else
  22030. pTDefRegMap(@Self)^.&set := $00000800;
  22031. end;
  22032. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  22033. begin
  22034. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22035. end;
  22036. procedure TSPI2_SPI2CON.setDISSDO; inline;
  22037. begin
  22038. pTDefRegMap(@Self)^.&set := $00001000;
  22039. end;
  22040. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  22041. begin
  22042. pTDefRegMap(@Self)^.clr := $00001000;
  22043. end;
  22044. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  22045. begin
  22046. if thebits = 0 then
  22047. pTDefRegMap(@Self)^.clr := $00001000
  22048. else
  22049. pTDefRegMap(@Self)^.&set := $00001000;
  22050. end;
  22051. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  22052. begin
  22053. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22054. end;
  22055. procedure TSPI2_SPI2CON.setSIDL; inline;
  22056. begin
  22057. pTDefRegMap(@Self)^.&set := $00002000;
  22058. end;
  22059. procedure TSPI2_SPI2CON.clearSIDL; inline;
  22060. begin
  22061. pTDefRegMap(@Self)^.clr := $00002000;
  22062. end;
  22063. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  22064. begin
  22065. if thebits = 0 then
  22066. pTDefRegMap(@Self)^.clr := $00002000
  22067. else
  22068. pTDefRegMap(@Self)^.&set := $00002000;
  22069. end;
  22070. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  22071. begin
  22072. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22073. end;
  22074. procedure TSPI2_SPI2CON.setON; inline;
  22075. begin
  22076. pTDefRegMap(@Self)^.&set := $00008000;
  22077. end;
  22078. procedure TSPI2_SPI2CON.clearON; inline;
  22079. begin
  22080. pTDefRegMap(@Self)^.clr := $00008000;
  22081. end;
  22082. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  22083. begin
  22084. if thebits = 0 then
  22085. pTDefRegMap(@Self)^.clr := $00008000
  22086. else
  22087. pTDefRegMap(@Self)^.&set := $00008000;
  22088. end;
  22089. function TSPI2_SPI2CON.getON : TBits_1; inline;
  22090. begin
  22091. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22092. end;
  22093. procedure TSPI2_SPI2CON.setENHBUF; inline;
  22094. begin
  22095. pTDefRegMap(@Self)^.&set := $00010000;
  22096. end;
  22097. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  22098. begin
  22099. pTDefRegMap(@Self)^.clr := $00010000;
  22100. end;
  22101. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  22102. begin
  22103. if thebits = 0 then
  22104. pTDefRegMap(@Self)^.clr := $00010000
  22105. else
  22106. pTDefRegMap(@Self)^.&set := $00010000;
  22107. end;
  22108. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  22109. begin
  22110. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22111. end;
  22112. procedure TSPI2_SPI2CON.setSPIFE; inline;
  22113. begin
  22114. pTDefRegMap(@Self)^.&set := $00020000;
  22115. end;
  22116. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  22117. begin
  22118. pTDefRegMap(@Self)^.clr := $00020000;
  22119. end;
  22120. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  22121. begin
  22122. if thebits = 0 then
  22123. pTDefRegMap(@Self)^.clr := $00020000
  22124. else
  22125. pTDefRegMap(@Self)^.&set := $00020000;
  22126. end;
  22127. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  22128. begin
  22129. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22130. end;
  22131. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  22132. begin
  22133. pTDefRegMap(@Self)^.&set := $00800000;
  22134. end;
  22135. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  22136. begin
  22137. pTDefRegMap(@Self)^.clr := $00800000;
  22138. end;
  22139. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  22140. begin
  22141. if thebits = 0 then
  22142. pTDefRegMap(@Self)^.clr := $00800000
  22143. else
  22144. pTDefRegMap(@Self)^.&set := $00800000;
  22145. end;
  22146. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  22147. begin
  22148. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22149. end;
  22150. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  22151. begin
  22152. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  22153. end;
  22154. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  22155. begin
  22156. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  22157. end;
  22158. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  22159. begin
  22160. pTDefRegMap(@Self)^.&set := $08000000;
  22161. end;
  22162. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  22163. begin
  22164. pTDefRegMap(@Self)^.clr := $08000000;
  22165. end;
  22166. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  22167. begin
  22168. if thebits = 0 then
  22169. pTDefRegMap(@Self)^.clr := $08000000
  22170. else
  22171. pTDefRegMap(@Self)^.&set := $08000000;
  22172. end;
  22173. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  22174. begin
  22175. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  22176. end;
  22177. procedure TSPI2_SPI2CON.setMSSEN; inline;
  22178. begin
  22179. pTDefRegMap(@Self)^.&set := $10000000;
  22180. end;
  22181. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  22182. begin
  22183. pTDefRegMap(@Self)^.clr := $10000000;
  22184. end;
  22185. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  22186. begin
  22187. if thebits = 0 then
  22188. pTDefRegMap(@Self)^.clr := $10000000
  22189. else
  22190. pTDefRegMap(@Self)^.&set := $10000000;
  22191. end;
  22192. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  22193. begin
  22194. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  22195. end;
  22196. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  22197. begin
  22198. pTDefRegMap(@Self)^.&set := $20000000;
  22199. end;
  22200. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  22201. begin
  22202. pTDefRegMap(@Self)^.clr := $20000000;
  22203. end;
  22204. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  22205. begin
  22206. if thebits = 0 then
  22207. pTDefRegMap(@Self)^.clr := $20000000
  22208. else
  22209. pTDefRegMap(@Self)^.&set := $20000000;
  22210. end;
  22211. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  22212. begin
  22213. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  22214. end;
  22215. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  22216. begin
  22217. pTDefRegMap(@Self)^.&set := $40000000;
  22218. end;
  22219. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  22220. begin
  22221. pTDefRegMap(@Self)^.clr := $40000000;
  22222. end;
  22223. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  22224. begin
  22225. if thebits = 0 then
  22226. pTDefRegMap(@Self)^.clr := $40000000
  22227. else
  22228. pTDefRegMap(@Self)^.&set := $40000000;
  22229. end;
  22230. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  22231. begin
  22232. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  22233. end;
  22234. procedure TSPI2_SPI2CON.setFRMEN; inline;
  22235. begin
  22236. pTDefRegMap(@Self)^.&set := $80000000;
  22237. end;
  22238. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  22239. begin
  22240. pTDefRegMap(@Self)^.clr := $80000000;
  22241. end;
  22242. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  22243. begin
  22244. if thebits = 0 then
  22245. pTDefRegMap(@Self)^.clr := $80000000
  22246. else
  22247. pTDefRegMap(@Self)^.&set := $80000000;
  22248. end;
  22249. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  22250. begin
  22251. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22252. end;
  22253. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  22254. begin
  22255. pTDefRegMap(@Self)^.val := thebits;
  22256. end;
  22257. function TSPI2_SPI2CON.getw : TBits_32; inline;
  22258. begin
  22259. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22260. end;
  22261. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  22262. begin
  22263. pTDefRegMap(@Self)^.&set := $00000001;
  22264. end;
  22265. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  22266. begin
  22267. pTDefRegMap(@Self)^.clr := $00000001;
  22268. end;
  22269. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  22270. begin
  22271. if thebits = 0 then
  22272. pTDefRegMap(@Self)^.clr := $00000001
  22273. else
  22274. pTDefRegMap(@Self)^.&set := $00000001;
  22275. end;
  22276. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  22277. begin
  22278. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22279. end;
  22280. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  22281. begin
  22282. pTDefRegMap(@Self)^.&set := $00000002;
  22283. end;
  22284. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  22285. begin
  22286. pTDefRegMap(@Self)^.clr := $00000002;
  22287. end;
  22288. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  22289. begin
  22290. if thebits = 0 then
  22291. pTDefRegMap(@Self)^.clr := $00000002
  22292. else
  22293. pTDefRegMap(@Self)^.&set := $00000002;
  22294. end;
  22295. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  22296. begin
  22297. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22298. end;
  22299. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  22300. begin
  22301. pTDefRegMap(@Self)^.&set := $00000008;
  22302. end;
  22303. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  22304. begin
  22305. pTDefRegMap(@Self)^.clr := $00000008;
  22306. end;
  22307. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  22308. begin
  22309. if thebits = 0 then
  22310. pTDefRegMap(@Self)^.clr := $00000008
  22311. else
  22312. pTDefRegMap(@Self)^.&set := $00000008;
  22313. end;
  22314. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  22315. begin
  22316. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22317. end;
  22318. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  22319. begin
  22320. pTDefRegMap(@Self)^.&set := $00000020;
  22321. end;
  22322. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  22323. begin
  22324. pTDefRegMap(@Self)^.clr := $00000020;
  22325. end;
  22326. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  22327. begin
  22328. if thebits = 0 then
  22329. pTDefRegMap(@Self)^.clr := $00000020
  22330. else
  22331. pTDefRegMap(@Self)^.&set := $00000020;
  22332. end;
  22333. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  22334. begin
  22335. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22336. end;
  22337. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  22338. begin
  22339. pTDefRegMap(@Self)^.&set := $00000040;
  22340. end;
  22341. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  22342. begin
  22343. pTDefRegMap(@Self)^.clr := $00000040;
  22344. end;
  22345. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  22346. begin
  22347. if thebits = 0 then
  22348. pTDefRegMap(@Self)^.clr := $00000040
  22349. else
  22350. pTDefRegMap(@Self)^.&set := $00000040;
  22351. end;
  22352. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  22353. begin
  22354. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22355. end;
  22356. procedure TSPI2_SPI2STAT.setSRMT; inline;
  22357. begin
  22358. pTDefRegMap(@Self)^.&set := $00000080;
  22359. end;
  22360. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  22361. begin
  22362. pTDefRegMap(@Self)^.clr := $00000080;
  22363. end;
  22364. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  22365. begin
  22366. if thebits = 0 then
  22367. pTDefRegMap(@Self)^.clr := $00000080
  22368. else
  22369. pTDefRegMap(@Self)^.&set := $00000080;
  22370. end;
  22371. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  22372. begin
  22373. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22374. end;
  22375. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  22376. begin
  22377. pTDefRegMap(@Self)^.&set := $00000100;
  22378. end;
  22379. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  22380. begin
  22381. pTDefRegMap(@Self)^.clr := $00000100;
  22382. end;
  22383. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  22384. begin
  22385. if thebits = 0 then
  22386. pTDefRegMap(@Self)^.clr := $00000100
  22387. else
  22388. pTDefRegMap(@Self)^.&set := $00000100;
  22389. end;
  22390. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  22391. begin
  22392. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22393. end;
  22394. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  22395. begin
  22396. pTDefRegMap(@Self)^.&set := $00000800;
  22397. end;
  22398. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  22399. begin
  22400. pTDefRegMap(@Self)^.clr := $00000800;
  22401. end;
  22402. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  22403. begin
  22404. if thebits = 0 then
  22405. pTDefRegMap(@Self)^.clr := $00000800
  22406. else
  22407. pTDefRegMap(@Self)^.&set := $00000800;
  22408. end;
  22409. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  22410. begin
  22411. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22412. end;
  22413. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  22414. begin
  22415. pTDefRegMap(@Self)^.&set := $00001000;
  22416. end;
  22417. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  22418. begin
  22419. pTDefRegMap(@Self)^.clr := $00001000;
  22420. end;
  22421. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  22422. begin
  22423. if thebits = 0 then
  22424. pTDefRegMap(@Self)^.clr := $00001000
  22425. else
  22426. pTDefRegMap(@Self)^.&set := $00001000;
  22427. end;
  22428. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  22429. begin
  22430. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22431. end;
  22432. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  22433. begin
  22434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  22435. end;
  22436. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  22437. begin
  22438. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  22439. end;
  22440. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  22441. begin
  22442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  22443. end;
  22444. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  22445. begin
  22446. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  22447. end;
  22448. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  22449. begin
  22450. pTDefRegMap(@Self)^.val := thebits;
  22451. end;
  22452. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  22453. begin
  22454. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22455. end;
  22456. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  22457. begin
  22458. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  22459. end;
  22460. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  22461. begin
  22462. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  22463. end;
  22464. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  22465. begin
  22466. pTDefRegMap(@Self)^.&set := $00000008;
  22467. end;
  22468. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  22469. begin
  22470. pTDefRegMap(@Self)^.clr := $00000008;
  22471. end;
  22472. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  22473. begin
  22474. if thebits = 0 then
  22475. pTDefRegMap(@Self)^.clr := $00000008
  22476. else
  22477. pTDefRegMap(@Self)^.&set := $00000008;
  22478. end;
  22479. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  22480. begin
  22481. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22482. end;
  22483. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  22484. begin
  22485. pTDefRegMap(@Self)^.&set := $00000080;
  22486. end;
  22487. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  22488. begin
  22489. pTDefRegMap(@Self)^.clr := $00000080;
  22490. end;
  22491. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  22492. begin
  22493. if thebits = 0 then
  22494. pTDefRegMap(@Self)^.clr := $00000080
  22495. else
  22496. pTDefRegMap(@Self)^.&set := $00000080;
  22497. end;
  22498. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  22499. begin
  22500. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22501. end;
  22502. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  22503. begin
  22504. pTDefRegMap(@Self)^.&set := $00000100;
  22505. end;
  22506. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  22507. begin
  22508. pTDefRegMap(@Self)^.clr := $00000100;
  22509. end;
  22510. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  22511. begin
  22512. if thebits = 0 then
  22513. pTDefRegMap(@Self)^.clr := $00000100
  22514. else
  22515. pTDefRegMap(@Self)^.&set := $00000100;
  22516. end;
  22517. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  22518. begin
  22519. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22520. end;
  22521. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  22522. begin
  22523. pTDefRegMap(@Self)^.&set := $00000200;
  22524. end;
  22525. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  22526. begin
  22527. pTDefRegMap(@Self)^.clr := $00000200;
  22528. end;
  22529. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  22530. begin
  22531. if thebits = 0 then
  22532. pTDefRegMap(@Self)^.clr := $00000200
  22533. else
  22534. pTDefRegMap(@Self)^.&set := $00000200;
  22535. end;
  22536. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  22537. begin
  22538. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22539. end;
  22540. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  22541. begin
  22542. pTDefRegMap(@Self)^.&set := $00000400;
  22543. end;
  22544. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  22545. begin
  22546. pTDefRegMap(@Self)^.clr := $00000400;
  22547. end;
  22548. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  22549. begin
  22550. if thebits = 0 then
  22551. pTDefRegMap(@Self)^.clr := $00000400
  22552. else
  22553. pTDefRegMap(@Self)^.&set := $00000400;
  22554. end;
  22555. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  22556. begin
  22557. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22558. end;
  22559. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  22560. begin
  22561. pTDefRegMap(@Self)^.&set := $00000800;
  22562. end;
  22563. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  22564. begin
  22565. pTDefRegMap(@Self)^.clr := $00000800;
  22566. end;
  22567. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  22568. begin
  22569. if thebits = 0 then
  22570. pTDefRegMap(@Self)^.clr := $00000800
  22571. else
  22572. pTDefRegMap(@Self)^.&set := $00000800;
  22573. end;
  22574. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  22575. begin
  22576. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22577. end;
  22578. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  22579. begin
  22580. pTDefRegMap(@Self)^.&set := $00001000;
  22581. end;
  22582. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  22583. begin
  22584. pTDefRegMap(@Self)^.clr := $00001000;
  22585. end;
  22586. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  22587. begin
  22588. if thebits = 0 then
  22589. pTDefRegMap(@Self)^.clr := $00001000
  22590. else
  22591. pTDefRegMap(@Self)^.&set := $00001000;
  22592. end;
  22593. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  22594. begin
  22595. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22596. end;
  22597. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  22598. begin
  22599. pTDefRegMap(@Self)^.&set := $00008000;
  22600. end;
  22601. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  22602. begin
  22603. pTDefRegMap(@Self)^.clr := $00008000;
  22604. end;
  22605. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  22606. begin
  22607. if thebits = 0 then
  22608. pTDefRegMap(@Self)^.clr := $00008000
  22609. else
  22610. pTDefRegMap(@Self)^.&set := $00008000;
  22611. end;
  22612. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  22613. begin
  22614. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22615. end;
  22616. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  22617. begin
  22618. pTDefRegMap(@Self)^.&set := $00000001;
  22619. end;
  22620. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  22621. begin
  22622. pTDefRegMap(@Self)^.clr := $00000001;
  22623. end;
  22624. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  22625. begin
  22626. if thebits = 0 then
  22627. pTDefRegMap(@Self)^.clr := $00000001
  22628. else
  22629. pTDefRegMap(@Self)^.&set := $00000001;
  22630. end;
  22631. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  22632. begin
  22633. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22634. end;
  22635. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  22636. begin
  22637. pTDefRegMap(@Self)^.&set := $00000002;
  22638. end;
  22639. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  22640. begin
  22641. pTDefRegMap(@Self)^.clr := $00000002;
  22642. end;
  22643. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  22644. begin
  22645. if thebits = 0 then
  22646. pTDefRegMap(@Self)^.clr := $00000002
  22647. else
  22648. pTDefRegMap(@Self)^.&set := $00000002;
  22649. end;
  22650. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  22651. begin
  22652. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22653. end;
  22654. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  22655. begin
  22656. pTDefRegMap(@Self)^.val := thebits;
  22657. end;
  22658. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  22659. begin
  22660. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22661. end;
  22662. procedure TUART1_U1MODE.setSTSEL; inline;
  22663. begin
  22664. pTDefRegMap(@Self)^.&set := $00000001;
  22665. end;
  22666. procedure TUART1_U1MODE.clearSTSEL; inline;
  22667. begin
  22668. pTDefRegMap(@Self)^.clr := $00000001;
  22669. end;
  22670. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  22671. begin
  22672. if thebits = 0 then
  22673. pTDefRegMap(@Self)^.clr := $00000001
  22674. else
  22675. pTDefRegMap(@Self)^.&set := $00000001;
  22676. end;
  22677. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  22678. begin
  22679. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22680. end;
  22681. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  22682. begin
  22683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  22684. end;
  22685. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  22686. begin
  22687. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  22688. end;
  22689. procedure TUART1_U1MODE.setBRGH; inline;
  22690. begin
  22691. pTDefRegMap(@Self)^.&set := $00000008;
  22692. end;
  22693. procedure TUART1_U1MODE.clearBRGH; inline;
  22694. begin
  22695. pTDefRegMap(@Self)^.clr := $00000008;
  22696. end;
  22697. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  22698. begin
  22699. if thebits = 0 then
  22700. pTDefRegMap(@Self)^.clr := $00000008
  22701. else
  22702. pTDefRegMap(@Self)^.&set := $00000008;
  22703. end;
  22704. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  22705. begin
  22706. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22707. end;
  22708. procedure TUART1_U1MODE.setRXINV; inline;
  22709. begin
  22710. pTDefRegMap(@Self)^.&set := $00000010;
  22711. end;
  22712. procedure TUART1_U1MODE.clearRXINV; inline;
  22713. begin
  22714. pTDefRegMap(@Self)^.clr := $00000010;
  22715. end;
  22716. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  22717. begin
  22718. if thebits = 0 then
  22719. pTDefRegMap(@Self)^.clr := $00000010
  22720. else
  22721. pTDefRegMap(@Self)^.&set := $00000010;
  22722. end;
  22723. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  22724. begin
  22725. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22726. end;
  22727. procedure TUART1_U1MODE.setABAUD; inline;
  22728. begin
  22729. pTDefRegMap(@Self)^.&set := $00000020;
  22730. end;
  22731. procedure TUART1_U1MODE.clearABAUD; inline;
  22732. begin
  22733. pTDefRegMap(@Self)^.clr := $00000020;
  22734. end;
  22735. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  22736. begin
  22737. if thebits = 0 then
  22738. pTDefRegMap(@Self)^.clr := $00000020
  22739. else
  22740. pTDefRegMap(@Self)^.&set := $00000020;
  22741. end;
  22742. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  22743. begin
  22744. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22745. end;
  22746. procedure TUART1_U1MODE.setLPBACK; inline;
  22747. begin
  22748. pTDefRegMap(@Self)^.&set := $00000040;
  22749. end;
  22750. procedure TUART1_U1MODE.clearLPBACK; inline;
  22751. begin
  22752. pTDefRegMap(@Self)^.clr := $00000040;
  22753. end;
  22754. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  22755. begin
  22756. if thebits = 0 then
  22757. pTDefRegMap(@Self)^.clr := $00000040
  22758. else
  22759. pTDefRegMap(@Self)^.&set := $00000040;
  22760. end;
  22761. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  22762. begin
  22763. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22764. end;
  22765. procedure TUART1_U1MODE.setWAKE; inline;
  22766. begin
  22767. pTDefRegMap(@Self)^.&set := $00000080;
  22768. end;
  22769. procedure TUART1_U1MODE.clearWAKE; inline;
  22770. begin
  22771. pTDefRegMap(@Self)^.clr := $00000080;
  22772. end;
  22773. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  22774. begin
  22775. if thebits = 0 then
  22776. pTDefRegMap(@Self)^.clr := $00000080
  22777. else
  22778. pTDefRegMap(@Self)^.&set := $00000080;
  22779. end;
  22780. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  22781. begin
  22782. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22783. end;
  22784. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  22785. begin
  22786. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22787. end;
  22788. function TUART1_U1MODE.getUEN : TBits_2; inline;
  22789. begin
  22790. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22791. end;
  22792. procedure TUART1_U1MODE.setRTSMD; inline;
  22793. begin
  22794. pTDefRegMap(@Self)^.&set := $00000800;
  22795. end;
  22796. procedure TUART1_U1MODE.clearRTSMD; inline;
  22797. begin
  22798. pTDefRegMap(@Self)^.clr := $00000800;
  22799. end;
  22800. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  22801. begin
  22802. if thebits = 0 then
  22803. pTDefRegMap(@Self)^.clr := $00000800
  22804. else
  22805. pTDefRegMap(@Self)^.&set := $00000800;
  22806. end;
  22807. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  22808. begin
  22809. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22810. end;
  22811. procedure TUART1_U1MODE.setIREN; inline;
  22812. begin
  22813. pTDefRegMap(@Self)^.&set := $00001000;
  22814. end;
  22815. procedure TUART1_U1MODE.clearIREN; inline;
  22816. begin
  22817. pTDefRegMap(@Self)^.clr := $00001000;
  22818. end;
  22819. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  22820. begin
  22821. if thebits = 0 then
  22822. pTDefRegMap(@Self)^.clr := $00001000
  22823. else
  22824. pTDefRegMap(@Self)^.&set := $00001000;
  22825. end;
  22826. function TUART1_U1MODE.getIREN : TBits_1; inline;
  22827. begin
  22828. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22829. end;
  22830. procedure TUART1_U1MODE.setSIDL; inline;
  22831. begin
  22832. pTDefRegMap(@Self)^.&set := $00002000;
  22833. end;
  22834. procedure TUART1_U1MODE.clearSIDL; inline;
  22835. begin
  22836. pTDefRegMap(@Self)^.clr := $00002000;
  22837. end;
  22838. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  22839. begin
  22840. if thebits = 0 then
  22841. pTDefRegMap(@Self)^.clr := $00002000
  22842. else
  22843. pTDefRegMap(@Self)^.&set := $00002000;
  22844. end;
  22845. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  22846. begin
  22847. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22848. end;
  22849. procedure TUART1_U1MODE.setON; inline;
  22850. begin
  22851. pTDefRegMap(@Self)^.&set := $00008000;
  22852. end;
  22853. procedure TUART1_U1MODE.clearON; inline;
  22854. begin
  22855. pTDefRegMap(@Self)^.clr := $00008000;
  22856. end;
  22857. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  22858. begin
  22859. if thebits = 0 then
  22860. pTDefRegMap(@Self)^.clr := $00008000
  22861. else
  22862. pTDefRegMap(@Self)^.&set := $00008000;
  22863. end;
  22864. function TUART1_U1MODE.getON : TBits_1; inline;
  22865. begin
  22866. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22867. end;
  22868. procedure TUART1_U1MODE.setPDSEL0; inline;
  22869. begin
  22870. pTDefRegMap(@Self)^.&set := $00000002;
  22871. end;
  22872. procedure TUART1_U1MODE.clearPDSEL0; inline;
  22873. begin
  22874. pTDefRegMap(@Self)^.clr := $00000002;
  22875. end;
  22876. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  22877. begin
  22878. if thebits = 0 then
  22879. pTDefRegMap(@Self)^.clr := $00000002
  22880. else
  22881. pTDefRegMap(@Self)^.&set := $00000002;
  22882. end;
  22883. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  22884. begin
  22885. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22886. end;
  22887. procedure TUART1_U1MODE.setPDSEL1; inline;
  22888. begin
  22889. pTDefRegMap(@Self)^.&set := $00000004;
  22890. end;
  22891. procedure TUART1_U1MODE.clearPDSEL1; inline;
  22892. begin
  22893. pTDefRegMap(@Self)^.clr := $00000004;
  22894. end;
  22895. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  22896. begin
  22897. if thebits = 0 then
  22898. pTDefRegMap(@Self)^.clr := $00000004
  22899. else
  22900. pTDefRegMap(@Self)^.&set := $00000004;
  22901. end;
  22902. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  22903. begin
  22904. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22905. end;
  22906. procedure TUART1_U1MODE.setUEN0; inline;
  22907. begin
  22908. pTDefRegMap(@Self)^.&set := $00000100;
  22909. end;
  22910. procedure TUART1_U1MODE.clearUEN0; inline;
  22911. begin
  22912. pTDefRegMap(@Self)^.clr := $00000100;
  22913. end;
  22914. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  22915. begin
  22916. if thebits = 0 then
  22917. pTDefRegMap(@Self)^.clr := $00000100
  22918. else
  22919. pTDefRegMap(@Self)^.&set := $00000100;
  22920. end;
  22921. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  22922. begin
  22923. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22924. end;
  22925. procedure TUART1_U1MODE.setUEN1; inline;
  22926. begin
  22927. pTDefRegMap(@Self)^.&set := $00000200;
  22928. end;
  22929. procedure TUART1_U1MODE.clearUEN1; inline;
  22930. begin
  22931. pTDefRegMap(@Self)^.clr := $00000200;
  22932. end;
  22933. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  22934. begin
  22935. if thebits = 0 then
  22936. pTDefRegMap(@Self)^.clr := $00000200
  22937. else
  22938. pTDefRegMap(@Self)^.&set := $00000200;
  22939. end;
  22940. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  22941. begin
  22942. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22943. end;
  22944. procedure TUART1_U1MODE.setUSIDL; inline;
  22945. begin
  22946. pTDefRegMap(@Self)^.&set := $00002000;
  22947. end;
  22948. procedure TUART1_U1MODE.clearUSIDL; inline;
  22949. begin
  22950. pTDefRegMap(@Self)^.clr := $00002000;
  22951. end;
  22952. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  22953. begin
  22954. if thebits = 0 then
  22955. pTDefRegMap(@Self)^.clr := $00002000
  22956. else
  22957. pTDefRegMap(@Self)^.&set := $00002000;
  22958. end;
  22959. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  22960. begin
  22961. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22962. end;
  22963. procedure TUART1_U1MODE.setUARTEN; inline;
  22964. begin
  22965. pTDefRegMap(@Self)^.&set := $00008000;
  22966. end;
  22967. procedure TUART1_U1MODE.clearUARTEN; inline;
  22968. begin
  22969. pTDefRegMap(@Self)^.clr := $00008000;
  22970. end;
  22971. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  22972. begin
  22973. if thebits = 0 then
  22974. pTDefRegMap(@Self)^.clr := $00008000
  22975. else
  22976. pTDefRegMap(@Self)^.&set := $00008000;
  22977. end;
  22978. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  22979. begin
  22980. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22981. end;
  22982. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  22983. begin
  22984. pTDefRegMap(@Self)^.val := thebits;
  22985. end;
  22986. function TUART1_U1MODE.getw : TBits_32; inline;
  22987. begin
  22988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22989. end;
  22990. procedure TUART1_UDCMODE.setSTSEL; inline;
  22991. begin
  22992. pTDefRegMap(@Self)^.&set := $00000001;
  22993. end;
  22994. procedure TUART1_UDCMODE.clearSTSEL; inline;
  22995. begin
  22996. pTDefRegMap(@Self)^.clr := $00000001;
  22997. end;
  22998. procedure TUART1_UDCMODE.setSTSEL(thebits : TBits_1); inline;
  22999. begin
  23000. if thebits = 0 then
  23001. pTDefRegMap(@Self)^.clr := $00000001
  23002. else
  23003. pTDefRegMap(@Self)^.&set := $00000001;
  23004. end;
  23005. function TUART1_UDCMODE.getSTSEL : TBits_1; inline;
  23006. begin
  23007. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23008. end;
  23009. procedure TUART1_UDCMODE.setPDSEL(thebits : TBits_2); inline;
  23010. begin
  23011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  23012. end;
  23013. function TUART1_UDCMODE.getPDSEL : TBits_2; inline;
  23014. begin
  23015. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  23016. end;
  23017. procedure TUART1_UDCMODE.setBRGH; inline;
  23018. begin
  23019. pTDefRegMap(@Self)^.&set := $00000008;
  23020. end;
  23021. procedure TUART1_UDCMODE.clearBRGH; inline;
  23022. begin
  23023. pTDefRegMap(@Self)^.clr := $00000008;
  23024. end;
  23025. procedure TUART1_UDCMODE.setBRGH(thebits : TBits_1); inline;
  23026. begin
  23027. if thebits = 0 then
  23028. pTDefRegMap(@Self)^.clr := $00000008
  23029. else
  23030. pTDefRegMap(@Self)^.&set := $00000008;
  23031. end;
  23032. function TUART1_UDCMODE.getBRGH : TBits_1; inline;
  23033. begin
  23034. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23035. end;
  23036. procedure TUART1_UDCMODE.setRXINV; inline;
  23037. begin
  23038. pTDefRegMap(@Self)^.&set := $00000010;
  23039. end;
  23040. procedure TUART1_UDCMODE.clearRXINV; inline;
  23041. begin
  23042. pTDefRegMap(@Self)^.clr := $00000010;
  23043. end;
  23044. procedure TUART1_UDCMODE.setRXINV(thebits : TBits_1); inline;
  23045. begin
  23046. if thebits = 0 then
  23047. pTDefRegMap(@Self)^.clr := $00000010
  23048. else
  23049. pTDefRegMap(@Self)^.&set := $00000010;
  23050. end;
  23051. function TUART1_UDCMODE.getRXINV : TBits_1; inline;
  23052. begin
  23053. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23054. end;
  23055. procedure TUART1_UDCMODE.setABAUD; inline;
  23056. begin
  23057. pTDefRegMap(@Self)^.&set := $00000020;
  23058. end;
  23059. procedure TUART1_UDCMODE.clearABAUD; inline;
  23060. begin
  23061. pTDefRegMap(@Self)^.clr := $00000020;
  23062. end;
  23063. procedure TUART1_UDCMODE.setABAUD(thebits : TBits_1); inline;
  23064. begin
  23065. if thebits = 0 then
  23066. pTDefRegMap(@Self)^.clr := $00000020
  23067. else
  23068. pTDefRegMap(@Self)^.&set := $00000020;
  23069. end;
  23070. function TUART1_UDCMODE.getABAUD : TBits_1; inline;
  23071. begin
  23072. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23073. end;
  23074. procedure TUART1_UDCMODE.setLPBACK; inline;
  23075. begin
  23076. pTDefRegMap(@Self)^.&set := $00000040;
  23077. end;
  23078. procedure TUART1_UDCMODE.clearLPBACK; inline;
  23079. begin
  23080. pTDefRegMap(@Self)^.clr := $00000040;
  23081. end;
  23082. procedure TUART1_UDCMODE.setLPBACK(thebits : TBits_1); inline;
  23083. begin
  23084. if thebits = 0 then
  23085. pTDefRegMap(@Self)^.clr := $00000040
  23086. else
  23087. pTDefRegMap(@Self)^.&set := $00000040;
  23088. end;
  23089. function TUART1_UDCMODE.getLPBACK : TBits_1; inline;
  23090. begin
  23091. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23092. end;
  23093. procedure TUART1_UDCMODE.setWAKE; inline;
  23094. begin
  23095. pTDefRegMap(@Self)^.&set := $00000080;
  23096. end;
  23097. procedure TUART1_UDCMODE.clearWAKE; inline;
  23098. begin
  23099. pTDefRegMap(@Self)^.clr := $00000080;
  23100. end;
  23101. procedure TUART1_UDCMODE.setWAKE(thebits : TBits_1); inline;
  23102. begin
  23103. if thebits = 0 then
  23104. pTDefRegMap(@Self)^.clr := $00000080
  23105. else
  23106. pTDefRegMap(@Self)^.&set := $00000080;
  23107. end;
  23108. function TUART1_UDCMODE.getWAKE : TBits_1; inline;
  23109. begin
  23110. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23111. end;
  23112. procedure TUART1_UDCMODE.setUEN(thebits : TBits_2); inline;
  23113. begin
  23114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23115. end;
  23116. function TUART1_UDCMODE.getUEN : TBits_2; inline;
  23117. begin
  23118. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23119. end;
  23120. procedure TUART1_UDCMODE.setRTSMD; inline;
  23121. begin
  23122. pTDefRegMap(@Self)^.&set := $00000800;
  23123. end;
  23124. procedure TUART1_UDCMODE.clearRTSMD; inline;
  23125. begin
  23126. pTDefRegMap(@Self)^.clr := $00000800;
  23127. end;
  23128. procedure TUART1_UDCMODE.setRTSMD(thebits : TBits_1); inline;
  23129. begin
  23130. if thebits = 0 then
  23131. pTDefRegMap(@Self)^.clr := $00000800
  23132. else
  23133. pTDefRegMap(@Self)^.&set := $00000800;
  23134. end;
  23135. function TUART1_UDCMODE.getRTSMD : TBits_1; inline;
  23136. begin
  23137. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23138. end;
  23139. procedure TUART1_UDCMODE.setIREN; inline;
  23140. begin
  23141. pTDefRegMap(@Self)^.&set := $00001000;
  23142. end;
  23143. procedure TUART1_UDCMODE.clearIREN; inline;
  23144. begin
  23145. pTDefRegMap(@Self)^.clr := $00001000;
  23146. end;
  23147. procedure TUART1_UDCMODE.setIREN(thebits : TBits_1); inline;
  23148. begin
  23149. if thebits = 0 then
  23150. pTDefRegMap(@Self)^.clr := $00001000
  23151. else
  23152. pTDefRegMap(@Self)^.&set := $00001000;
  23153. end;
  23154. function TUART1_UDCMODE.getIREN : TBits_1; inline;
  23155. begin
  23156. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23157. end;
  23158. procedure TUART1_UDCMODE.setSIDL; inline;
  23159. begin
  23160. pTDefRegMap(@Self)^.&set := $00002000;
  23161. end;
  23162. procedure TUART1_UDCMODE.clearSIDL; inline;
  23163. begin
  23164. pTDefRegMap(@Self)^.clr := $00002000;
  23165. end;
  23166. procedure TUART1_UDCMODE.setSIDL(thebits : TBits_1); inline;
  23167. begin
  23168. if thebits = 0 then
  23169. pTDefRegMap(@Self)^.clr := $00002000
  23170. else
  23171. pTDefRegMap(@Self)^.&set := $00002000;
  23172. end;
  23173. function TUART1_UDCMODE.getSIDL : TBits_1; inline;
  23174. begin
  23175. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23176. end;
  23177. procedure TUART1_UDCMODE.setON; inline;
  23178. begin
  23179. pTDefRegMap(@Self)^.&set := $00008000;
  23180. end;
  23181. procedure TUART1_UDCMODE.clearON; inline;
  23182. begin
  23183. pTDefRegMap(@Self)^.clr := $00008000;
  23184. end;
  23185. procedure TUART1_UDCMODE.setON(thebits : TBits_1); inline;
  23186. begin
  23187. if thebits = 0 then
  23188. pTDefRegMap(@Self)^.clr := $00008000
  23189. else
  23190. pTDefRegMap(@Self)^.&set := $00008000;
  23191. end;
  23192. function TUART1_UDCMODE.getON : TBits_1; inline;
  23193. begin
  23194. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23195. end;
  23196. procedure TUART1_UDCMODE.setPDSEL0; inline;
  23197. begin
  23198. pTDefRegMap(@Self)^.&set := $00000002;
  23199. end;
  23200. procedure TUART1_UDCMODE.clearPDSEL0; inline;
  23201. begin
  23202. pTDefRegMap(@Self)^.clr := $00000002;
  23203. end;
  23204. procedure TUART1_UDCMODE.setPDSEL0(thebits : TBits_1); inline;
  23205. begin
  23206. if thebits = 0 then
  23207. pTDefRegMap(@Self)^.clr := $00000002
  23208. else
  23209. pTDefRegMap(@Self)^.&set := $00000002;
  23210. end;
  23211. function TUART1_UDCMODE.getPDSEL0 : TBits_1; inline;
  23212. begin
  23213. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23214. end;
  23215. procedure TUART1_UDCMODE.setPDSEL1; inline;
  23216. begin
  23217. pTDefRegMap(@Self)^.&set := $00000004;
  23218. end;
  23219. procedure TUART1_UDCMODE.clearPDSEL1; inline;
  23220. begin
  23221. pTDefRegMap(@Self)^.clr := $00000004;
  23222. end;
  23223. procedure TUART1_UDCMODE.setPDSEL1(thebits : TBits_1); inline;
  23224. begin
  23225. if thebits = 0 then
  23226. pTDefRegMap(@Self)^.clr := $00000004
  23227. else
  23228. pTDefRegMap(@Self)^.&set := $00000004;
  23229. end;
  23230. function TUART1_UDCMODE.getPDSEL1 : TBits_1; inline;
  23231. begin
  23232. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23233. end;
  23234. procedure TUART1_UDCMODE.setUEN0; inline;
  23235. begin
  23236. pTDefRegMap(@Self)^.&set := $00000100;
  23237. end;
  23238. procedure TUART1_UDCMODE.clearUEN0; inline;
  23239. begin
  23240. pTDefRegMap(@Self)^.clr := $00000100;
  23241. end;
  23242. procedure TUART1_UDCMODE.setUEN0(thebits : TBits_1); inline;
  23243. begin
  23244. if thebits = 0 then
  23245. pTDefRegMap(@Self)^.clr := $00000100
  23246. else
  23247. pTDefRegMap(@Self)^.&set := $00000100;
  23248. end;
  23249. function TUART1_UDCMODE.getUEN0 : TBits_1; inline;
  23250. begin
  23251. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23252. end;
  23253. procedure TUART1_UDCMODE.setUEN1; inline;
  23254. begin
  23255. pTDefRegMap(@Self)^.&set := $00000200;
  23256. end;
  23257. procedure TUART1_UDCMODE.clearUEN1; inline;
  23258. begin
  23259. pTDefRegMap(@Self)^.clr := $00000200;
  23260. end;
  23261. procedure TUART1_UDCMODE.setUEN1(thebits : TBits_1); inline;
  23262. begin
  23263. if thebits = 0 then
  23264. pTDefRegMap(@Self)^.clr := $00000200
  23265. else
  23266. pTDefRegMap(@Self)^.&set := $00000200;
  23267. end;
  23268. function TUART1_UDCMODE.getUEN1 : TBits_1; inline;
  23269. begin
  23270. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23271. end;
  23272. procedure TUART1_UDCMODE.setUSIDL; inline;
  23273. begin
  23274. pTDefRegMap(@Self)^.&set := $00002000;
  23275. end;
  23276. procedure TUART1_UDCMODE.clearUSIDL; inline;
  23277. begin
  23278. pTDefRegMap(@Self)^.clr := $00002000;
  23279. end;
  23280. procedure TUART1_UDCMODE.setUSIDL(thebits : TBits_1); inline;
  23281. begin
  23282. if thebits = 0 then
  23283. pTDefRegMap(@Self)^.clr := $00002000
  23284. else
  23285. pTDefRegMap(@Self)^.&set := $00002000;
  23286. end;
  23287. function TUART1_UDCMODE.getUSIDL : TBits_1; inline;
  23288. begin
  23289. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23290. end;
  23291. procedure TUART1_UDCMODE.setUARTEN; inline;
  23292. begin
  23293. pTDefRegMap(@Self)^.&set := $00008000;
  23294. end;
  23295. procedure TUART1_UDCMODE.clearUARTEN; inline;
  23296. begin
  23297. pTDefRegMap(@Self)^.clr := $00008000;
  23298. end;
  23299. procedure TUART1_UDCMODE.setUARTEN(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 TUART1_UDCMODE.getUARTEN : TBits_1; inline;
  23307. begin
  23308. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23309. end;
  23310. procedure TUART1_UDCMODE.setw(thebits : TBits_32); inline;
  23311. begin
  23312. pTDefRegMap(@Self)^.val := thebits;
  23313. end;
  23314. function TUART1_UDCMODE.getw : TBits_32; inline;
  23315. begin
  23316. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23317. end;
  23318. procedure TUART1_U1STA.setURXDA; inline;
  23319. begin
  23320. pTDefRegMap(@Self)^.&set := $00000001;
  23321. end;
  23322. procedure TUART1_U1STA.clearURXDA; inline;
  23323. begin
  23324. pTDefRegMap(@Self)^.clr := $00000001;
  23325. end;
  23326. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  23327. begin
  23328. if thebits = 0 then
  23329. pTDefRegMap(@Self)^.clr := $00000001
  23330. else
  23331. pTDefRegMap(@Self)^.&set := $00000001;
  23332. end;
  23333. function TUART1_U1STA.getURXDA : TBits_1; inline;
  23334. begin
  23335. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23336. end;
  23337. procedure TUART1_U1STA.setOERR; inline;
  23338. begin
  23339. pTDefRegMap(@Self)^.&set := $00000002;
  23340. end;
  23341. procedure TUART1_U1STA.clearOERR; inline;
  23342. begin
  23343. pTDefRegMap(@Self)^.clr := $00000002;
  23344. end;
  23345. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  23346. begin
  23347. if thebits = 0 then
  23348. pTDefRegMap(@Self)^.clr := $00000002
  23349. else
  23350. pTDefRegMap(@Self)^.&set := $00000002;
  23351. end;
  23352. function TUART1_U1STA.getOERR : TBits_1; inline;
  23353. begin
  23354. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23355. end;
  23356. procedure TUART1_U1STA.setFERR; inline;
  23357. begin
  23358. pTDefRegMap(@Self)^.&set := $00000004;
  23359. end;
  23360. procedure TUART1_U1STA.clearFERR; inline;
  23361. begin
  23362. pTDefRegMap(@Self)^.clr := $00000004;
  23363. end;
  23364. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  23365. begin
  23366. if thebits = 0 then
  23367. pTDefRegMap(@Self)^.clr := $00000004
  23368. else
  23369. pTDefRegMap(@Self)^.&set := $00000004;
  23370. end;
  23371. function TUART1_U1STA.getFERR : TBits_1; inline;
  23372. begin
  23373. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23374. end;
  23375. procedure TUART1_U1STA.setPERR; inline;
  23376. begin
  23377. pTDefRegMap(@Self)^.&set := $00000008;
  23378. end;
  23379. procedure TUART1_U1STA.clearPERR; inline;
  23380. begin
  23381. pTDefRegMap(@Self)^.clr := $00000008;
  23382. end;
  23383. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  23384. begin
  23385. if thebits = 0 then
  23386. pTDefRegMap(@Self)^.clr := $00000008
  23387. else
  23388. pTDefRegMap(@Self)^.&set := $00000008;
  23389. end;
  23390. function TUART1_U1STA.getPERR : TBits_1; inline;
  23391. begin
  23392. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23393. end;
  23394. procedure TUART1_U1STA.setRIDLE; inline;
  23395. begin
  23396. pTDefRegMap(@Self)^.&set := $00000010;
  23397. end;
  23398. procedure TUART1_U1STA.clearRIDLE; inline;
  23399. begin
  23400. pTDefRegMap(@Self)^.clr := $00000010;
  23401. end;
  23402. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  23403. begin
  23404. if thebits = 0 then
  23405. pTDefRegMap(@Self)^.clr := $00000010
  23406. else
  23407. pTDefRegMap(@Self)^.&set := $00000010;
  23408. end;
  23409. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  23410. begin
  23411. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23412. end;
  23413. procedure TUART1_U1STA.setADDEN; inline;
  23414. begin
  23415. pTDefRegMap(@Self)^.&set := $00000020;
  23416. end;
  23417. procedure TUART1_U1STA.clearADDEN; inline;
  23418. begin
  23419. pTDefRegMap(@Self)^.clr := $00000020;
  23420. end;
  23421. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  23422. begin
  23423. if thebits = 0 then
  23424. pTDefRegMap(@Self)^.clr := $00000020
  23425. else
  23426. pTDefRegMap(@Self)^.&set := $00000020;
  23427. end;
  23428. function TUART1_U1STA.getADDEN : TBits_1; inline;
  23429. begin
  23430. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23431. end;
  23432. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  23433. begin
  23434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23435. end;
  23436. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  23437. begin
  23438. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23439. end;
  23440. procedure TUART1_U1STA.setTRMT; inline;
  23441. begin
  23442. pTDefRegMap(@Self)^.&set := $00000100;
  23443. end;
  23444. procedure TUART1_U1STA.clearTRMT; inline;
  23445. begin
  23446. pTDefRegMap(@Self)^.clr := $00000100;
  23447. end;
  23448. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  23449. begin
  23450. if thebits = 0 then
  23451. pTDefRegMap(@Self)^.clr := $00000100
  23452. else
  23453. pTDefRegMap(@Self)^.&set := $00000100;
  23454. end;
  23455. function TUART1_U1STA.getTRMT : TBits_1; inline;
  23456. begin
  23457. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23458. end;
  23459. procedure TUART1_U1STA.setUTXBF; inline;
  23460. begin
  23461. pTDefRegMap(@Self)^.&set := $00000200;
  23462. end;
  23463. procedure TUART1_U1STA.clearUTXBF; inline;
  23464. begin
  23465. pTDefRegMap(@Self)^.clr := $00000200;
  23466. end;
  23467. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  23468. begin
  23469. if thebits = 0 then
  23470. pTDefRegMap(@Self)^.clr := $00000200
  23471. else
  23472. pTDefRegMap(@Self)^.&set := $00000200;
  23473. end;
  23474. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  23475. begin
  23476. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23477. end;
  23478. procedure TUART1_U1STA.setUTXEN; inline;
  23479. begin
  23480. pTDefRegMap(@Self)^.&set := $00000400;
  23481. end;
  23482. procedure TUART1_U1STA.clearUTXEN; inline;
  23483. begin
  23484. pTDefRegMap(@Self)^.clr := $00000400;
  23485. end;
  23486. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  23487. begin
  23488. if thebits = 0 then
  23489. pTDefRegMap(@Self)^.clr := $00000400
  23490. else
  23491. pTDefRegMap(@Self)^.&set := $00000400;
  23492. end;
  23493. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  23494. begin
  23495. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23496. end;
  23497. procedure TUART1_U1STA.setUTXBRK; inline;
  23498. begin
  23499. pTDefRegMap(@Self)^.&set := $00000800;
  23500. end;
  23501. procedure TUART1_U1STA.clearUTXBRK; inline;
  23502. begin
  23503. pTDefRegMap(@Self)^.clr := $00000800;
  23504. end;
  23505. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  23506. begin
  23507. if thebits = 0 then
  23508. pTDefRegMap(@Self)^.clr := $00000800
  23509. else
  23510. pTDefRegMap(@Self)^.&set := $00000800;
  23511. end;
  23512. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  23513. begin
  23514. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23515. end;
  23516. procedure TUART1_U1STA.setURXEN; inline;
  23517. begin
  23518. pTDefRegMap(@Self)^.&set := $00001000;
  23519. end;
  23520. procedure TUART1_U1STA.clearURXEN; inline;
  23521. begin
  23522. pTDefRegMap(@Self)^.clr := $00001000;
  23523. end;
  23524. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  23525. begin
  23526. if thebits = 0 then
  23527. pTDefRegMap(@Self)^.clr := $00001000
  23528. else
  23529. pTDefRegMap(@Self)^.&set := $00001000;
  23530. end;
  23531. function TUART1_U1STA.getURXEN : TBits_1; inline;
  23532. begin
  23533. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23534. end;
  23535. procedure TUART1_U1STA.setUTXINV; inline;
  23536. begin
  23537. pTDefRegMap(@Self)^.&set := $00002000;
  23538. end;
  23539. procedure TUART1_U1STA.clearUTXINV; inline;
  23540. begin
  23541. pTDefRegMap(@Self)^.clr := $00002000;
  23542. end;
  23543. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  23544. begin
  23545. if thebits = 0 then
  23546. pTDefRegMap(@Self)^.clr := $00002000
  23547. else
  23548. pTDefRegMap(@Self)^.&set := $00002000;
  23549. end;
  23550. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  23551. begin
  23552. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23553. end;
  23554. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  23555. begin
  23556. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23557. end;
  23558. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  23559. begin
  23560. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23561. end;
  23562. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  23563. begin
  23564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  23565. end;
  23566. function TUART1_U1STA.getADDR : TBits_8; inline;
  23567. begin
  23568. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  23569. end;
  23570. procedure TUART1_U1STA.setADM_EN; inline;
  23571. begin
  23572. pTDefRegMap(@Self)^.&set := $01000000;
  23573. end;
  23574. procedure TUART1_U1STA.clearADM_EN; inline;
  23575. begin
  23576. pTDefRegMap(@Self)^.clr := $01000000;
  23577. end;
  23578. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  23579. begin
  23580. if thebits = 0 then
  23581. pTDefRegMap(@Self)^.clr := $01000000
  23582. else
  23583. pTDefRegMap(@Self)^.&set := $01000000;
  23584. end;
  23585. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  23586. begin
  23587. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23588. end;
  23589. procedure TUART1_U1STA.setURXISEL0; inline;
  23590. begin
  23591. pTDefRegMap(@Self)^.&set := $00000040;
  23592. end;
  23593. procedure TUART1_U1STA.clearURXISEL0; inline;
  23594. begin
  23595. pTDefRegMap(@Self)^.clr := $00000040;
  23596. end;
  23597. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  23598. begin
  23599. if thebits = 0 then
  23600. pTDefRegMap(@Self)^.clr := $00000040
  23601. else
  23602. pTDefRegMap(@Self)^.&set := $00000040;
  23603. end;
  23604. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  23605. begin
  23606. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23607. end;
  23608. procedure TUART1_U1STA.setURXISEL1; inline;
  23609. begin
  23610. pTDefRegMap(@Self)^.&set := $00000080;
  23611. end;
  23612. procedure TUART1_U1STA.clearURXISEL1; inline;
  23613. begin
  23614. pTDefRegMap(@Self)^.clr := $00000080;
  23615. end;
  23616. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  23617. begin
  23618. if thebits = 0 then
  23619. pTDefRegMap(@Self)^.clr := $00000080
  23620. else
  23621. pTDefRegMap(@Self)^.&set := $00000080;
  23622. end;
  23623. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  23624. begin
  23625. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23626. end;
  23627. procedure TUART1_U1STA.setUTXISEL0; inline;
  23628. begin
  23629. pTDefRegMap(@Self)^.&set := $00004000;
  23630. end;
  23631. procedure TUART1_U1STA.clearUTXISEL0; inline;
  23632. begin
  23633. pTDefRegMap(@Self)^.clr := $00004000;
  23634. end;
  23635. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  23636. begin
  23637. if thebits = 0 then
  23638. pTDefRegMap(@Self)^.clr := $00004000
  23639. else
  23640. pTDefRegMap(@Self)^.&set := $00004000;
  23641. end;
  23642. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  23643. begin
  23644. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23645. end;
  23646. procedure TUART1_U1STA.setUTXISEL1; inline;
  23647. begin
  23648. pTDefRegMap(@Self)^.&set := $00008000;
  23649. end;
  23650. procedure TUART1_U1STA.clearUTXISEL1; inline;
  23651. begin
  23652. pTDefRegMap(@Self)^.clr := $00008000;
  23653. end;
  23654. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  23655. begin
  23656. if thebits = 0 then
  23657. pTDefRegMap(@Self)^.clr := $00008000
  23658. else
  23659. pTDefRegMap(@Self)^.&set := $00008000;
  23660. end;
  23661. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  23662. begin
  23663. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23664. end;
  23665. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  23666. begin
  23667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23668. end;
  23669. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  23670. begin
  23671. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23672. end;
  23673. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.val := thebits;
  23676. end;
  23677. function TUART1_U1STA.getw : TBits_32; inline;
  23678. begin
  23679. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23680. end;
  23681. procedure TUART1_UDCSTA.setURXDA; inline;
  23682. begin
  23683. pTDefRegMap(@Self)^.&set := $00000001;
  23684. end;
  23685. procedure TUART1_UDCSTA.clearURXDA; inline;
  23686. begin
  23687. pTDefRegMap(@Self)^.clr := $00000001;
  23688. end;
  23689. procedure TUART1_UDCSTA.setURXDA(thebits : TBits_1); inline;
  23690. begin
  23691. if thebits = 0 then
  23692. pTDefRegMap(@Self)^.clr := $00000001
  23693. else
  23694. pTDefRegMap(@Self)^.&set := $00000001;
  23695. end;
  23696. function TUART1_UDCSTA.getURXDA : TBits_1; inline;
  23697. begin
  23698. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23699. end;
  23700. procedure TUART1_UDCSTA.setOERR; inline;
  23701. begin
  23702. pTDefRegMap(@Self)^.&set := $00000002;
  23703. end;
  23704. procedure TUART1_UDCSTA.clearOERR; inline;
  23705. begin
  23706. pTDefRegMap(@Self)^.clr := $00000002;
  23707. end;
  23708. procedure TUART1_UDCSTA.setOERR(thebits : TBits_1); inline;
  23709. begin
  23710. if thebits = 0 then
  23711. pTDefRegMap(@Self)^.clr := $00000002
  23712. else
  23713. pTDefRegMap(@Self)^.&set := $00000002;
  23714. end;
  23715. function TUART1_UDCSTA.getOERR : TBits_1; inline;
  23716. begin
  23717. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23718. end;
  23719. procedure TUART1_UDCSTA.setFERR; inline;
  23720. begin
  23721. pTDefRegMap(@Self)^.&set := $00000004;
  23722. end;
  23723. procedure TUART1_UDCSTA.clearFERR; inline;
  23724. begin
  23725. pTDefRegMap(@Self)^.clr := $00000004;
  23726. end;
  23727. procedure TUART1_UDCSTA.setFERR(thebits : TBits_1); inline;
  23728. begin
  23729. if thebits = 0 then
  23730. pTDefRegMap(@Self)^.clr := $00000004
  23731. else
  23732. pTDefRegMap(@Self)^.&set := $00000004;
  23733. end;
  23734. function TUART1_UDCSTA.getFERR : TBits_1; inline;
  23735. begin
  23736. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23737. end;
  23738. procedure TUART1_UDCSTA.setPERR; inline;
  23739. begin
  23740. pTDefRegMap(@Self)^.&set := $00000008;
  23741. end;
  23742. procedure TUART1_UDCSTA.clearPERR; inline;
  23743. begin
  23744. pTDefRegMap(@Self)^.clr := $00000008;
  23745. end;
  23746. procedure TUART1_UDCSTA.setPERR(thebits : TBits_1); inline;
  23747. begin
  23748. if thebits = 0 then
  23749. pTDefRegMap(@Self)^.clr := $00000008
  23750. else
  23751. pTDefRegMap(@Self)^.&set := $00000008;
  23752. end;
  23753. function TUART1_UDCSTA.getPERR : TBits_1; inline;
  23754. begin
  23755. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23756. end;
  23757. procedure TUART1_UDCSTA.setRIDLE; inline;
  23758. begin
  23759. pTDefRegMap(@Self)^.&set := $00000010;
  23760. end;
  23761. procedure TUART1_UDCSTA.clearRIDLE; inline;
  23762. begin
  23763. pTDefRegMap(@Self)^.clr := $00000010;
  23764. end;
  23765. procedure TUART1_UDCSTA.setRIDLE(thebits : TBits_1); inline;
  23766. begin
  23767. if thebits = 0 then
  23768. pTDefRegMap(@Self)^.clr := $00000010
  23769. else
  23770. pTDefRegMap(@Self)^.&set := $00000010;
  23771. end;
  23772. function TUART1_UDCSTA.getRIDLE : TBits_1; inline;
  23773. begin
  23774. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23775. end;
  23776. procedure TUART1_UDCSTA.setADDEN; inline;
  23777. begin
  23778. pTDefRegMap(@Self)^.&set := $00000020;
  23779. end;
  23780. procedure TUART1_UDCSTA.clearADDEN; inline;
  23781. begin
  23782. pTDefRegMap(@Self)^.clr := $00000020;
  23783. end;
  23784. procedure TUART1_UDCSTA.setADDEN(thebits : TBits_1); inline;
  23785. begin
  23786. if thebits = 0 then
  23787. pTDefRegMap(@Self)^.clr := $00000020
  23788. else
  23789. pTDefRegMap(@Self)^.&set := $00000020;
  23790. end;
  23791. function TUART1_UDCSTA.getADDEN : TBits_1; inline;
  23792. begin
  23793. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23794. end;
  23795. procedure TUART1_UDCSTA.setURXISEL(thebits : TBits_2); inline;
  23796. begin
  23797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23798. end;
  23799. function TUART1_UDCSTA.getURXISEL : TBits_2; inline;
  23800. begin
  23801. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23802. end;
  23803. procedure TUART1_UDCSTA.setTRMT; inline;
  23804. begin
  23805. pTDefRegMap(@Self)^.&set := $00000100;
  23806. end;
  23807. procedure TUART1_UDCSTA.clearTRMT; inline;
  23808. begin
  23809. pTDefRegMap(@Self)^.clr := $00000100;
  23810. end;
  23811. procedure TUART1_UDCSTA.setTRMT(thebits : TBits_1); inline;
  23812. begin
  23813. if thebits = 0 then
  23814. pTDefRegMap(@Self)^.clr := $00000100
  23815. else
  23816. pTDefRegMap(@Self)^.&set := $00000100;
  23817. end;
  23818. function TUART1_UDCSTA.getTRMT : TBits_1; inline;
  23819. begin
  23820. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23821. end;
  23822. procedure TUART1_UDCSTA.setUTXBF; inline;
  23823. begin
  23824. pTDefRegMap(@Self)^.&set := $00000200;
  23825. end;
  23826. procedure TUART1_UDCSTA.clearUTXBF; inline;
  23827. begin
  23828. pTDefRegMap(@Self)^.clr := $00000200;
  23829. end;
  23830. procedure TUART1_UDCSTA.setUTXBF(thebits : TBits_1); inline;
  23831. begin
  23832. if thebits = 0 then
  23833. pTDefRegMap(@Self)^.clr := $00000200
  23834. else
  23835. pTDefRegMap(@Self)^.&set := $00000200;
  23836. end;
  23837. function TUART1_UDCSTA.getUTXBF : TBits_1; inline;
  23838. begin
  23839. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23840. end;
  23841. procedure TUART1_UDCSTA.setUTXEN; inline;
  23842. begin
  23843. pTDefRegMap(@Self)^.&set := $00000400;
  23844. end;
  23845. procedure TUART1_UDCSTA.clearUTXEN; inline;
  23846. begin
  23847. pTDefRegMap(@Self)^.clr := $00000400;
  23848. end;
  23849. procedure TUART1_UDCSTA.setUTXEN(thebits : TBits_1); inline;
  23850. begin
  23851. if thebits = 0 then
  23852. pTDefRegMap(@Self)^.clr := $00000400
  23853. else
  23854. pTDefRegMap(@Self)^.&set := $00000400;
  23855. end;
  23856. function TUART1_UDCSTA.getUTXEN : TBits_1; inline;
  23857. begin
  23858. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23859. end;
  23860. procedure TUART1_UDCSTA.setUTXBRK; inline;
  23861. begin
  23862. pTDefRegMap(@Self)^.&set := $00000800;
  23863. end;
  23864. procedure TUART1_UDCSTA.clearUTXBRK; inline;
  23865. begin
  23866. pTDefRegMap(@Self)^.clr := $00000800;
  23867. end;
  23868. procedure TUART1_UDCSTA.setUTXBRK(thebits : TBits_1); inline;
  23869. begin
  23870. if thebits = 0 then
  23871. pTDefRegMap(@Self)^.clr := $00000800
  23872. else
  23873. pTDefRegMap(@Self)^.&set := $00000800;
  23874. end;
  23875. function TUART1_UDCSTA.getUTXBRK : TBits_1; inline;
  23876. begin
  23877. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23878. end;
  23879. procedure TUART1_UDCSTA.setURXEN; inline;
  23880. begin
  23881. pTDefRegMap(@Self)^.&set := $00001000;
  23882. end;
  23883. procedure TUART1_UDCSTA.clearURXEN; inline;
  23884. begin
  23885. pTDefRegMap(@Self)^.clr := $00001000;
  23886. end;
  23887. procedure TUART1_UDCSTA.setURXEN(thebits : TBits_1); inline;
  23888. begin
  23889. if thebits = 0 then
  23890. pTDefRegMap(@Self)^.clr := $00001000
  23891. else
  23892. pTDefRegMap(@Self)^.&set := $00001000;
  23893. end;
  23894. function TUART1_UDCSTA.getURXEN : TBits_1; inline;
  23895. begin
  23896. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23897. end;
  23898. procedure TUART1_UDCSTA.setUTXINV; inline;
  23899. begin
  23900. pTDefRegMap(@Self)^.&set := $00002000;
  23901. end;
  23902. procedure TUART1_UDCSTA.clearUTXINV; inline;
  23903. begin
  23904. pTDefRegMap(@Self)^.clr := $00002000;
  23905. end;
  23906. procedure TUART1_UDCSTA.setUTXINV(thebits : TBits_1); inline;
  23907. begin
  23908. if thebits = 0 then
  23909. pTDefRegMap(@Self)^.clr := $00002000
  23910. else
  23911. pTDefRegMap(@Self)^.&set := $00002000;
  23912. end;
  23913. function TUART1_UDCSTA.getUTXINV : TBits_1; inline;
  23914. begin
  23915. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23916. end;
  23917. procedure TUART1_UDCSTA.setUTXISEL(thebits : TBits_2); inline;
  23918. begin
  23919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23920. end;
  23921. function TUART1_UDCSTA.getUTXISEL : TBits_2; inline;
  23922. begin
  23923. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23924. end;
  23925. procedure TUART1_UDCSTA.setADDR(thebits : TBits_8); inline;
  23926. begin
  23927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  23928. end;
  23929. function TUART1_UDCSTA.getADDR : TBits_8; inline;
  23930. begin
  23931. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  23932. end;
  23933. procedure TUART1_UDCSTA.setADM_EN; inline;
  23934. begin
  23935. pTDefRegMap(@Self)^.&set := $01000000;
  23936. end;
  23937. procedure TUART1_UDCSTA.clearADM_EN; inline;
  23938. begin
  23939. pTDefRegMap(@Self)^.clr := $01000000;
  23940. end;
  23941. procedure TUART1_UDCSTA.setADM_EN(thebits : TBits_1); inline;
  23942. begin
  23943. if thebits = 0 then
  23944. pTDefRegMap(@Self)^.clr := $01000000
  23945. else
  23946. pTDefRegMap(@Self)^.&set := $01000000;
  23947. end;
  23948. function TUART1_UDCSTA.getADM_EN : TBits_1; inline;
  23949. begin
  23950. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23951. end;
  23952. procedure TUART1_UDCSTA.setURXISEL0; inline;
  23953. begin
  23954. pTDefRegMap(@Self)^.&set := $00000040;
  23955. end;
  23956. procedure TUART1_UDCSTA.clearURXISEL0; inline;
  23957. begin
  23958. pTDefRegMap(@Self)^.clr := $00000040;
  23959. end;
  23960. procedure TUART1_UDCSTA.setURXISEL0(thebits : TBits_1); inline;
  23961. begin
  23962. if thebits = 0 then
  23963. pTDefRegMap(@Self)^.clr := $00000040
  23964. else
  23965. pTDefRegMap(@Self)^.&set := $00000040;
  23966. end;
  23967. function TUART1_UDCSTA.getURXISEL0 : TBits_1; inline;
  23968. begin
  23969. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23970. end;
  23971. procedure TUART1_UDCSTA.setURXISEL1; inline;
  23972. begin
  23973. pTDefRegMap(@Self)^.&set := $00000080;
  23974. end;
  23975. procedure TUART1_UDCSTA.clearURXISEL1; inline;
  23976. begin
  23977. pTDefRegMap(@Self)^.clr := $00000080;
  23978. end;
  23979. procedure TUART1_UDCSTA.setURXISEL1(thebits : TBits_1); inline;
  23980. begin
  23981. if thebits = 0 then
  23982. pTDefRegMap(@Self)^.clr := $00000080
  23983. else
  23984. pTDefRegMap(@Self)^.&set := $00000080;
  23985. end;
  23986. function TUART1_UDCSTA.getURXISEL1 : TBits_1; inline;
  23987. begin
  23988. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23989. end;
  23990. procedure TUART1_UDCSTA.setUTXISEL0; inline;
  23991. begin
  23992. pTDefRegMap(@Self)^.&set := $00004000;
  23993. end;
  23994. procedure TUART1_UDCSTA.clearUTXISEL0; inline;
  23995. begin
  23996. pTDefRegMap(@Self)^.clr := $00004000;
  23997. end;
  23998. procedure TUART1_UDCSTA.setUTXISEL0(thebits : TBits_1); inline;
  23999. begin
  24000. if thebits = 0 then
  24001. pTDefRegMap(@Self)^.clr := $00004000
  24002. else
  24003. pTDefRegMap(@Self)^.&set := $00004000;
  24004. end;
  24005. function TUART1_UDCSTA.getUTXISEL0 : TBits_1; inline;
  24006. begin
  24007. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24008. end;
  24009. procedure TUART1_UDCSTA.setUTXISEL1; inline;
  24010. begin
  24011. pTDefRegMap(@Self)^.&set := $00008000;
  24012. end;
  24013. procedure TUART1_UDCSTA.clearUTXISEL1; inline;
  24014. begin
  24015. pTDefRegMap(@Self)^.clr := $00008000;
  24016. end;
  24017. procedure TUART1_UDCSTA.setUTXISEL1(thebits : TBits_1); inline;
  24018. begin
  24019. if thebits = 0 then
  24020. pTDefRegMap(@Self)^.clr := $00008000
  24021. else
  24022. pTDefRegMap(@Self)^.&set := $00008000;
  24023. end;
  24024. function TUART1_UDCSTA.getUTXISEL1 : TBits_1; inline;
  24025. begin
  24026. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24027. end;
  24028. procedure TUART1_UDCSTA.setUTXSEL(thebits : TBits_2); inline;
  24029. begin
  24030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24031. end;
  24032. function TUART1_UDCSTA.getUTXSEL : TBits_2; inline;
  24033. begin
  24034. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24035. end;
  24036. procedure TUART1_UDCSTA.setw(thebits : TBits_32); inline;
  24037. begin
  24038. pTDefRegMap(@Self)^.val := thebits;
  24039. end;
  24040. function TUART1_UDCSTA.getw : TBits_32; inline;
  24041. begin
  24042. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24043. end;
  24044. procedure TUART2_U2MODE.setSTSEL; inline;
  24045. begin
  24046. pTDefRegMap(@Self)^.&set := $00000001;
  24047. end;
  24048. procedure TUART2_U2MODE.clearSTSEL; inline;
  24049. begin
  24050. pTDefRegMap(@Self)^.clr := $00000001;
  24051. end;
  24052. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  24053. begin
  24054. if thebits = 0 then
  24055. pTDefRegMap(@Self)^.clr := $00000001
  24056. else
  24057. pTDefRegMap(@Self)^.&set := $00000001;
  24058. end;
  24059. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  24060. begin
  24061. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24062. end;
  24063. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  24064. begin
  24065. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  24066. end;
  24067. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  24068. begin
  24069. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  24070. end;
  24071. procedure TUART2_U2MODE.setBRGH; inline;
  24072. begin
  24073. pTDefRegMap(@Self)^.&set := $00000008;
  24074. end;
  24075. procedure TUART2_U2MODE.clearBRGH; inline;
  24076. begin
  24077. pTDefRegMap(@Self)^.clr := $00000008;
  24078. end;
  24079. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  24080. begin
  24081. if thebits = 0 then
  24082. pTDefRegMap(@Self)^.clr := $00000008
  24083. else
  24084. pTDefRegMap(@Self)^.&set := $00000008;
  24085. end;
  24086. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  24087. begin
  24088. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24089. end;
  24090. procedure TUART2_U2MODE.setRXINV; inline;
  24091. begin
  24092. pTDefRegMap(@Self)^.&set := $00000010;
  24093. end;
  24094. procedure TUART2_U2MODE.clearRXINV; inline;
  24095. begin
  24096. pTDefRegMap(@Self)^.clr := $00000010;
  24097. end;
  24098. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  24099. begin
  24100. if thebits = 0 then
  24101. pTDefRegMap(@Self)^.clr := $00000010
  24102. else
  24103. pTDefRegMap(@Self)^.&set := $00000010;
  24104. end;
  24105. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  24106. begin
  24107. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24108. end;
  24109. procedure TUART2_U2MODE.setABAUD; inline;
  24110. begin
  24111. pTDefRegMap(@Self)^.&set := $00000020;
  24112. end;
  24113. procedure TUART2_U2MODE.clearABAUD; inline;
  24114. begin
  24115. pTDefRegMap(@Self)^.clr := $00000020;
  24116. end;
  24117. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  24118. begin
  24119. if thebits = 0 then
  24120. pTDefRegMap(@Self)^.clr := $00000020
  24121. else
  24122. pTDefRegMap(@Self)^.&set := $00000020;
  24123. end;
  24124. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  24125. begin
  24126. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24127. end;
  24128. procedure TUART2_U2MODE.setLPBACK; inline;
  24129. begin
  24130. pTDefRegMap(@Self)^.&set := $00000040;
  24131. end;
  24132. procedure TUART2_U2MODE.clearLPBACK; inline;
  24133. begin
  24134. pTDefRegMap(@Self)^.clr := $00000040;
  24135. end;
  24136. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  24137. begin
  24138. if thebits = 0 then
  24139. pTDefRegMap(@Self)^.clr := $00000040
  24140. else
  24141. pTDefRegMap(@Self)^.&set := $00000040;
  24142. end;
  24143. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  24144. begin
  24145. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24146. end;
  24147. procedure TUART2_U2MODE.setWAKE; inline;
  24148. begin
  24149. pTDefRegMap(@Self)^.&set := $00000080;
  24150. end;
  24151. procedure TUART2_U2MODE.clearWAKE; inline;
  24152. begin
  24153. pTDefRegMap(@Self)^.clr := $00000080;
  24154. end;
  24155. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  24156. begin
  24157. if thebits = 0 then
  24158. pTDefRegMap(@Self)^.clr := $00000080
  24159. else
  24160. pTDefRegMap(@Self)^.&set := $00000080;
  24161. end;
  24162. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  24163. begin
  24164. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24165. end;
  24166. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  24167. begin
  24168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  24169. end;
  24170. function TUART2_U2MODE.getUEN : TBits_2; inline;
  24171. begin
  24172. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  24173. end;
  24174. procedure TUART2_U2MODE.setRTSMD; inline;
  24175. begin
  24176. pTDefRegMap(@Self)^.&set := $00000800;
  24177. end;
  24178. procedure TUART2_U2MODE.clearRTSMD; inline;
  24179. begin
  24180. pTDefRegMap(@Self)^.clr := $00000800;
  24181. end;
  24182. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  24183. begin
  24184. if thebits = 0 then
  24185. pTDefRegMap(@Self)^.clr := $00000800
  24186. else
  24187. pTDefRegMap(@Self)^.&set := $00000800;
  24188. end;
  24189. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  24190. begin
  24191. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24192. end;
  24193. procedure TUART2_U2MODE.setIREN; inline;
  24194. begin
  24195. pTDefRegMap(@Self)^.&set := $00001000;
  24196. end;
  24197. procedure TUART2_U2MODE.clearIREN; inline;
  24198. begin
  24199. pTDefRegMap(@Self)^.clr := $00001000;
  24200. end;
  24201. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  24202. begin
  24203. if thebits = 0 then
  24204. pTDefRegMap(@Self)^.clr := $00001000
  24205. else
  24206. pTDefRegMap(@Self)^.&set := $00001000;
  24207. end;
  24208. function TUART2_U2MODE.getIREN : TBits_1; inline;
  24209. begin
  24210. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24211. end;
  24212. procedure TUART2_U2MODE.setSIDL; inline;
  24213. begin
  24214. pTDefRegMap(@Self)^.&set := $00002000;
  24215. end;
  24216. procedure TUART2_U2MODE.clearSIDL; inline;
  24217. begin
  24218. pTDefRegMap(@Self)^.clr := $00002000;
  24219. end;
  24220. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  24221. begin
  24222. if thebits = 0 then
  24223. pTDefRegMap(@Self)^.clr := $00002000
  24224. else
  24225. pTDefRegMap(@Self)^.&set := $00002000;
  24226. end;
  24227. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  24228. begin
  24229. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24230. end;
  24231. procedure TUART2_U2MODE.setON; inline;
  24232. begin
  24233. pTDefRegMap(@Self)^.&set := $00008000;
  24234. end;
  24235. procedure TUART2_U2MODE.clearON; inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.clr := $00008000;
  24238. end;
  24239. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  24240. begin
  24241. if thebits = 0 then
  24242. pTDefRegMap(@Self)^.clr := $00008000
  24243. else
  24244. pTDefRegMap(@Self)^.&set := $00008000;
  24245. end;
  24246. function TUART2_U2MODE.getON : TBits_1; inline;
  24247. begin
  24248. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24249. end;
  24250. procedure TUART2_U2MODE.setPDSEL0; inline;
  24251. begin
  24252. pTDefRegMap(@Self)^.&set := $00000002;
  24253. end;
  24254. procedure TUART2_U2MODE.clearPDSEL0; inline;
  24255. begin
  24256. pTDefRegMap(@Self)^.clr := $00000002;
  24257. end;
  24258. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  24259. begin
  24260. if thebits = 0 then
  24261. pTDefRegMap(@Self)^.clr := $00000002
  24262. else
  24263. pTDefRegMap(@Self)^.&set := $00000002;
  24264. end;
  24265. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  24266. begin
  24267. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24268. end;
  24269. procedure TUART2_U2MODE.setPDSEL1; inline;
  24270. begin
  24271. pTDefRegMap(@Self)^.&set := $00000004;
  24272. end;
  24273. procedure TUART2_U2MODE.clearPDSEL1; inline;
  24274. begin
  24275. pTDefRegMap(@Self)^.clr := $00000004;
  24276. end;
  24277. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  24278. begin
  24279. if thebits = 0 then
  24280. pTDefRegMap(@Self)^.clr := $00000004
  24281. else
  24282. pTDefRegMap(@Self)^.&set := $00000004;
  24283. end;
  24284. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  24285. begin
  24286. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24287. end;
  24288. procedure TUART2_U2MODE.setUEN0; inline;
  24289. begin
  24290. pTDefRegMap(@Self)^.&set := $00000100;
  24291. end;
  24292. procedure TUART2_U2MODE.clearUEN0; inline;
  24293. begin
  24294. pTDefRegMap(@Self)^.clr := $00000100;
  24295. end;
  24296. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  24297. begin
  24298. if thebits = 0 then
  24299. pTDefRegMap(@Self)^.clr := $00000100
  24300. else
  24301. pTDefRegMap(@Self)^.&set := $00000100;
  24302. end;
  24303. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  24304. begin
  24305. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24306. end;
  24307. procedure TUART2_U2MODE.setUEN1; inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.&set := $00000200;
  24310. end;
  24311. procedure TUART2_U2MODE.clearUEN1; inline;
  24312. begin
  24313. pTDefRegMap(@Self)^.clr := $00000200;
  24314. end;
  24315. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  24316. begin
  24317. if thebits = 0 then
  24318. pTDefRegMap(@Self)^.clr := $00000200
  24319. else
  24320. pTDefRegMap(@Self)^.&set := $00000200;
  24321. end;
  24322. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  24323. begin
  24324. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24325. end;
  24326. procedure TUART2_U2MODE.setUSIDL; inline;
  24327. begin
  24328. pTDefRegMap(@Self)^.&set := $00002000;
  24329. end;
  24330. procedure TUART2_U2MODE.clearUSIDL; inline;
  24331. begin
  24332. pTDefRegMap(@Self)^.clr := $00002000;
  24333. end;
  24334. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  24335. begin
  24336. if thebits = 0 then
  24337. pTDefRegMap(@Self)^.clr := $00002000
  24338. else
  24339. pTDefRegMap(@Self)^.&set := $00002000;
  24340. end;
  24341. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  24342. begin
  24343. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24344. end;
  24345. procedure TUART2_U2MODE.setUARTEN; inline;
  24346. begin
  24347. pTDefRegMap(@Self)^.&set := $00008000;
  24348. end;
  24349. procedure TUART2_U2MODE.clearUARTEN; inline;
  24350. begin
  24351. pTDefRegMap(@Self)^.clr := $00008000;
  24352. end;
  24353. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  24354. begin
  24355. if thebits = 0 then
  24356. pTDefRegMap(@Self)^.clr := $00008000
  24357. else
  24358. pTDefRegMap(@Self)^.&set := $00008000;
  24359. end;
  24360. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  24361. begin
  24362. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24363. end;
  24364. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  24365. begin
  24366. pTDefRegMap(@Self)^.val := thebits;
  24367. end;
  24368. function TUART2_U2MODE.getw : TBits_32; inline;
  24369. begin
  24370. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24371. end;
  24372. procedure TUART2_U8932MODE.setSTSEL; inline;
  24373. begin
  24374. pTDefRegMap(@Self)^.&set := $00000001;
  24375. end;
  24376. procedure TUART2_U8932MODE.clearSTSEL; inline;
  24377. begin
  24378. pTDefRegMap(@Self)^.clr := $00000001;
  24379. end;
  24380. procedure TUART2_U8932MODE.setSTSEL(thebits : TBits_1); inline;
  24381. begin
  24382. if thebits = 0 then
  24383. pTDefRegMap(@Self)^.clr := $00000001
  24384. else
  24385. pTDefRegMap(@Self)^.&set := $00000001;
  24386. end;
  24387. function TUART2_U8932MODE.getSTSEL : TBits_1; inline;
  24388. begin
  24389. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24390. end;
  24391. procedure TUART2_U8932MODE.setPDSEL(thebits : TBits_2); inline;
  24392. begin
  24393. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  24394. end;
  24395. function TUART2_U8932MODE.getPDSEL : TBits_2; inline;
  24396. begin
  24397. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  24398. end;
  24399. procedure TUART2_U8932MODE.setBRGH; inline;
  24400. begin
  24401. pTDefRegMap(@Self)^.&set := $00000008;
  24402. end;
  24403. procedure TUART2_U8932MODE.clearBRGH; inline;
  24404. begin
  24405. pTDefRegMap(@Self)^.clr := $00000008;
  24406. end;
  24407. procedure TUART2_U8932MODE.setBRGH(thebits : TBits_1); inline;
  24408. begin
  24409. if thebits = 0 then
  24410. pTDefRegMap(@Self)^.clr := $00000008
  24411. else
  24412. pTDefRegMap(@Self)^.&set := $00000008;
  24413. end;
  24414. function TUART2_U8932MODE.getBRGH : TBits_1; inline;
  24415. begin
  24416. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24417. end;
  24418. procedure TUART2_U8932MODE.setRXINV; inline;
  24419. begin
  24420. pTDefRegMap(@Self)^.&set := $00000010;
  24421. end;
  24422. procedure TUART2_U8932MODE.clearRXINV; inline;
  24423. begin
  24424. pTDefRegMap(@Self)^.clr := $00000010;
  24425. end;
  24426. procedure TUART2_U8932MODE.setRXINV(thebits : TBits_1); inline;
  24427. begin
  24428. if thebits = 0 then
  24429. pTDefRegMap(@Self)^.clr := $00000010
  24430. else
  24431. pTDefRegMap(@Self)^.&set := $00000010;
  24432. end;
  24433. function TUART2_U8932MODE.getRXINV : TBits_1; inline;
  24434. begin
  24435. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24436. end;
  24437. procedure TUART2_U8932MODE.setABAUD; inline;
  24438. begin
  24439. pTDefRegMap(@Self)^.&set := $00000020;
  24440. end;
  24441. procedure TUART2_U8932MODE.clearABAUD; inline;
  24442. begin
  24443. pTDefRegMap(@Self)^.clr := $00000020;
  24444. end;
  24445. procedure TUART2_U8932MODE.setABAUD(thebits : TBits_1); inline;
  24446. begin
  24447. if thebits = 0 then
  24448. pTDefRegMap(@Self)^.clr := $00000020
  24449. else
  24450. pTDefRegMap(@Self)^.&set := $00000020;
  24451. end;
  24452. function TUART2_U8932MODE.getABAUD : TBits_1; inline;
  24453. begin
  24454. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24455. end;
  24456. procedure TUART2_U8932MODE.setLPBACK; inline;
  24457. begin
  24458. pTDefRegMap(@Self)^.&set := $00000040;
  24459. end;
  24460. procedure TUART2_U8932MODE.clearLPBACK; inline;
  24461. begin
  24462. pTDefRegMap(@Self)^.clr := $00000040;
  24463. end;
  24464. procedure TUART2_U8932MODE.setLPBACK(thebits : TBits_1); inline;
  24465. begin
  24466. if thebits = 0 then
  24467. pTDefRegMap(@Self)^.clr := $00000040
  24468. else
  24469. pTDefRegMap(@Self)^.&set := $00000040;
  24470. end;
  24471. function TUART2_U8932MODE.getLPBACK : TBits_1; inline;
  24472. begin
  24473. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24474. end;
  24475. procedure TUART2_U8932MODE.setWAKE; inline;
  24476. begin
  24477. pTDefRegMap(@Self)^.&set := $00000080;
  24478. end;
  24479. procedure TUART2_U8932MODE.clearWAKE; inline;
  24480. begin
  24481. pTDefRegMap(@Self)^.clr := $00000080;
  24482. end;
  24483. procedure TUART2_U8932MODE.setWAKE(thebits : TBits_1); inline;
  24484. begin
  24485. if thebits = 0 then
  24486. pTDefRegMap(@Self)^.clr := $00000080
  24487. else
  24488. pTDefRegMap(@Self)^.&set := $00000080;
  24489. end;
  24490. function TUART2_U8932MODE.getWAKE : TBits_1; inline;
  24491. begin
  24492. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24493. end;
  24494. procedure TUART2_U8932MODE.setUEN(thebits : TBits_2); inline;
  24495. begin
  24496. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  24497. end;
  24498. function TUART2_U8932MODE.getUEN : TBits_2; inline;
  24499. begin
  24500. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  24501. end;
  24502. procedure TUART2_U8932MODE.setRTSMD; inline;
  24503. begin
  24504. pTDefRegMap(@Self)^.&set := $00000800;
  24505. end;
  24506. procedure TUART2_U8932MODE.clearRTSMD; inline;
  24507. begin
  24508. pTDefRegMap(@Self)^.clr := $00000800;
  24509. end;
  24510. procedure TUART2_U8932MODE.setRTSMD(thebits : TBits_1); inline;
  24511. begin
  24512. if thebits = 0 then
  24513. pTDefRegMap(@Self)^.clr := $00000800
  24514. else
  24515. pTDefRegMap(@Self)^.&set := $00000800;
  24516. end;
  24517. function TUART2_U8932MODE.getRTSMD : TBits_1; inline;
  24518. begin
  24519. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24520. end;
  24521. procedure TUART2_U8932MODE.setIREN; inline;
  24522. begin
  24523. pTDefRegMap(@Self)^.&set := $00001000;
  24524. end;
  24525. procedure TUART2_U8932MODE.clearIREN; inline;
  24526. begin
  24527. pTDefRegMap(@Self)^.clr := $00001000;
  24528. end;
  24529. procedure TUART2_U8932MODE.setIREN(thebits : TBits_1); inline;
  24530. begin
  24531. if thebits = 0 then
  24532. pTDefRegMap(@Self)^.clr := $00001000
  24533. else
  24534. pTDefRegMap(@Self)^.&set := $00001000;
  24535. end;
  24536. function TUART2_U8932MODE.getIREN : TBits_1; inline;
  24537. begin
  24538. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24539. end;
  24540. procedure TUART2_U8932MODE.setSIDL; inline;
  24541. begin
  24542. pTDefRegMap(@Self)^.&set := $00002000;
  24543. end;
  24544. procedure TUART2_U8932MODE.clearSIDL; inline;
  24545. begin
  24546. pTDefRegMap(@Self)^.clr := $00002000;
  24547. end;
  24548. procedure TUART2_U8932MODE.setSIDL(thebits : TBits_1); inline;
  24549. begin
  24550. if thebits = 0 then
  24551. pTDefRegMap(@Self)^.clr := $00002000
  24552. else
  24553. pTDefRegMap(@Self)^.&set := $00002000;
  24554. end;
  24555. function TUART2_U8932MODE.getSIDL : TBits_1; inline;
  24556. begin
  24557. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24558. end;
  24559. procedure TUART2_U8932MODE.setON; inline;
  24560. begin
  24561. pTDefRegMap(@Self)^.&set := $00008000;
  24562. end;
  24563. procedure TUART2_U8932MODE.clearON; inline;
  24564. begin
  24565. pTDefRegMap(@Self)^.clr := $00008000;
  24566. end;
  24567. procedure TUART2_U8932MODE.setON(thebits : TBits_1); inline;
  24568. begin
  24569. if thebits = 0 then
  24570. pTDefRegMap(@Self)^.clr := $00008000
  24571. else
  24572. pTDefRegMap(@Self)^.&set := $00008000;
  24573. end;
  24574. function TUART2_U8932MODE.getON : TBits_1; inline;
  24575. begin
  24576. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24577. end;
  24578. procedure TUART2_U8932MODE.setPDSEL0; inline;
  24579. begin
  24580. pTDefRegMap(@Self)^.&set := $00000002;
  24581. end;
  24582. procedure TUART2_U8932MODE.clearPDSEL0; inline;
  24583. begin
  24584. pTDefRegMap(@Self)^.clr := $00000002;
  24585. end;
  24586. procedure TUART2_U8932MODE.setPDSEL0(thebits : TBits_1); inline;
  24587. begin
  24588. if thebits = 0 then
  24589. pTDefRegMap(@Self)^.clr := $00000002
  24590. else
  24591. pTDefRegMap(@Self)^.&set := $00000002;
  24592. end;
  24593. function TUART2_U8932MODE.getPDSEL0 : TBits_1; inline;
  24594. begin
  24595. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24596. end;
  24597. procedure TUART2_U8932MODE.setPDSEL1; inline;
  24598. begin
  24599. pTDefRegMap(@Self)^.&set := $00000004;
  24600. end;
  24601. procedure TUART2_U8932MODE.clearPDSEL1; inline;
  24602. begin
  24603. pTDefRegMap(@Self)^.clr := $00000004;
  24604. end;
  24605. procedure TUART2_U8932MODE.setPDSEL1(thebits : TBits_1); inline;
  24606. begin
  24607. if thebits = 0 then
  24608. pTDefRegMap(@Self)^.clr := $00000004
  24609. else
  24610. pTDefRegMap(@Self)^.&set := $00000004;
  24611. end;
  24612. function TUART2_U8932MODE.getPDSEL1 : TBits_1; inline;
  24613. begin
  24614. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24615. end;
  24616. procedure TUART2_U8932MODE.setUEN0; inline;
  24617. begin
  24618. pTDefRegMap(@Self)^.&set := $00000100;
  24619. end;
  24620. procedure TUART2_U8932MODE.clearUEN0; inline;
  24621. begin
  24622. pTDefRegMap(@Self)^.clr := $00000100;
  24623. end;
  24624. procedure TUART2_U8932MODE.setUEN0(thebits : TBits_1); inline;
  24625. begin
  24626. if thebits = 0 then
  24627. pTDefRegMap(@Self)^.clr := $00000100
  24628. else
  24629. pTDefRegMap(@Self)^.&set := $00000100;
  24630. end;
  24631. function TUART2_U8932MODE.getUEN0 : TBits_1; inline;
  24632. begin
  24633. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24634. end;
  24635. procedure TUART2_U8932MODE.setUEN1; inline;
  24636. begin
  24637. pTDefRegMap(@Self)^.&set := $00000200;
  24638. end;
  24639. procedure TUART2_U8932MODE.clearUEN1; inline;
  24640. begin
  24641. pTDefRegMap(@Self)^.clr := $00000200;
  24642. end;
  24643. procedure TUART2_U8932MODE.setUEN1(thebits : TBits_1); inline;
  24644. begin
  24645. if thebits = 0 then
  24646. pTDefRegMap(@Self)^.clr := $00000200
  24647. else
  24648. pTDefRegMap(@Self)^.&set := $00000200;
  24649. end;
  24650. function TUART2_U8932MODE.getUEN1 : TBits_1; inline;
  24651. begin
  24652. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24653. end;
  24654. procedure TUART2_U8932MODE.setUSIDL; inline;
  24655. begin
  24656. pTDefRegMap(@Self)^.&set := $00002000;
  24657. end;
  24658. procedure TUART2_U8932MODE.clearUSIDL; inline;
  24659. begin
  24660. pTDefRegMap(@Self)^.clr := $00002000;
  24661. end;
  24662. procedure TUART2_U8932MODE.setUSIDL(thebits : TBits_1); inline;
  24663. begin
  24664. if thebits = 0 then
  24665. pTDefRegMap(@Self)^.clr := $00002000
  24666. else
  24667. pTDefRegMap(@Self)^.&set := $00002000;
  24668. end;
  24669. function TUART2_U8932MODE.getUSIDL : TBits_1; inline;
  24670. begin
  24671. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24672. end;
  24673. procedure TUART2_U8932MODE.setUARTEN; inline;
  24674. begin
  24675. pTDefRegMap(@Self)^.&set := $00008000;
  24676. end;
  24677. procedure TUART2_U8932MODE.clearUARTEN; inline;
  24678. begin
  24679. pTDefRegMap(@Self)^.clr := $00008000;
  24680. end;
  24681. procedure TUART2_U8932MODE.setUARTEN(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 TUART2_U8932MODE.getUARTEN : TBits_1; inline;
  24689. begin
  24690. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24691. end;
  24692. procedure TUART2_U8932MODE.setw(thebits : TBits_32); inline;
  24693. begin
  24694. pTDefRegMap(@Self)^.val := thebits;
  24695. end;
  24696. function TUART2_U8932MODE.getw : TBits_32; inline;
  24697. begin
  24698. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24699. end;
  24700. procedure TUART2_U2STA.setURXDA; inline;
  24701. begin
  24702. pTDefRegMap(@Self)^.&set := $00000001;
  24703. end;
  24704. procedure TUART2_U2STA.clearURXDA; inline;
  24705. begin
  24706. pTDefRegMap(@Self)^.clr := $00000001;
  24707. end;
  24708. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  24709. begin
  24710. if thebits = 0 then
  24711. pTDefRegMap(@Self)^.clr := $00000001
  24712. else
  24713. pTDefRegMap(@Self)^.&set := $00000001;
  24714. end;
  24715. function TUART2_U2STA.getURXDA : TBits_1; inline;
  24716. begin
  24717. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24718. end;
  24719. procedure TUART2_U2STA.setOERR; inline;
  24720. begin
  24721. pTDefRegMap(@Self)^.&set := $00000002;
  24722. end;
  24723. procedure TUART2_U2STA.clearOERR; inline;
  24724. begin
  24725. pTDefRegMap(@Self)^.clr := $00000002;
  24726. end;
  24727. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  24728. begin
  24729. if thebits = 0 then
  24730. pTDefRegMap(@Self)^.clr := $00000002
  24731. else
  24732. pTDefRegMap(@Self)^.&set := $00000002;
  24733. end;
  24734. function TUART2_U2STA.getOERR : TBits_1; inline;
  24735. begin
  24736. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24737. end;
  24738. procedure TUART2_U2STA.setFERR; inline;
  24739. begin
  24740. pTDefRegMap(@Self)^.&set := $00000004;
  24741. end;
  24742. procedure TUART2_U2STA.clearFERR; inline;
  24743. begin
  24744. pTDefRegMap(@Self)^.clr := $00000004;
  24745. end;
  24746. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  24747. begin
  24748. if thebits = 0 then
  24749. pTDefRegMap(@Self)^.clr := $00000004
  24750. else
  24751. pTDefRegMap(@Self)^.&set := $00000004;
  24752. end;
  24753. function TUART2_U2STA.getFERR : TBits_1; inline;
  24754. begin
  24755. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24756. end;
  24757. procedure TUART2_U2STA.setPERR; inline;
  24758. begin
  24759. pTDefRegMap(@Self)^.&set := $00000008;
  24760. end;
  24761. procedure TUART2_U2STA.clearPERR; inline;
  24762. begin
  24763. pTDefRegMap(@Self)^.clr := $00000008;
  24764. end;
  24765. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  24766. begin
  24767. if thebits = 0 then
  24768. pTDefRegMap(@Self)^.clr := $00000008
  24769. else
  24770. pTDefRegMap(@Self)^.&set := $00000008;
  24771. end;
  24772. function TUART2_U2STA.getPERR : TBits_1; inline;
  24773. begin
  24774. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24775. end;
  24776. procedure TUART2_U2STA.setRIDLE; inline;
  24777. begin
  24778. pTDefRegMap(@Self)^.&set := $00000010;
  24779. end;
  24780. procedure TUART2_U2STA.clearRIDLE; inline;
  24781. begin
  24782. pTDefRegMap(@Self)^.clr := $00000010;
  24783. end;
  24784. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  24785. begin
  24786. if thebits = 0 then
  24787. pTDefRegMap(@Self)^.clr := $00000010
  24788. else
  24789. pTDefRegMap(@Self)^.&set := $00000010;
  24790. end;
  24791. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  24792. begin
  24793. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24794. end;
  24795. procedure TUART2_U2STA.setADDEN; inline;
  24796. begin
  24797. pTDefRegMap(@Self)^.&set := $00000020;
  24798. end;
  24799. procedure TUART2_U2STA.clearADDEN; inline;
  24800. begin
  24801. pTDefRegMap(@Self)^.clr := $00000020;
  24802. end;
  24803. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  24804. begin
  24805. if thebits = 0 then
  24806. pTDefRegMap(@Self)^.clr := $00000020
  24807. else
  24808. pTDefRegMap(@Self)^.&set := $00000020;
  24809. end;
  24810. function TUART2_U2STA.getADDEN : TBits_1; inline;
  24811. begin
  24812. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24813. end;
  24814. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  24815. begin
  24816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24817. end;
  24818. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  24819. begin
  24820. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24821. end;
  24822. procedure TUART2_U2STA.setTRMT; inline;
  24823. begin
  24824. pTDefRegMap(@Self)^.&set := $00000100;
  24825. end;
  24826. procedure TUART2_U2STA.clearTRMT; inline;
  24827. begin
  24828. pTDefRegMap(@Self)^.clr := $00000100;
  24829. end;
  24830. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  24831. begin
  24832. if thebits = 0 then
  24833. pTDefRegMap(@Self)^.clr := $00000100
  24834. else
  24835. pTDefRegMap(@Self)^.&set := $00000100;
  24836. end;
  24837. function TUART2_U2STA.getTRMT : TBits_1; inline;
  24838. begin
  24839. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24840. end;
  24841. procedure TUART2_U2STA.setUTXBF; inline;
  24842. begin
  24843. pTDefRegMap(@Self)^.&set := $00000200;
  24844. end;
  24845. procedure TUART2_U2STA.clearUTXBF; inline;
  24846. begin
  24847. pTDefRegMap(@Self)^.clr := $00000200;
  24848. end;
  24849. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  24850. begin
  24851. if thebits = 0 then
  24852. pTDefRegMap(@Self)^.clr := $00000200
  24853. else
  24854. pTDefRegMap(@Self)^.&set := $00000200;
  24855. end;
  24856. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  24857. begin
  24858. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24859. end;
  24860. procedure TUART2_U2STA.setUTXEN; inline;
  24861. begin
  24862. pTDefRegMap(@Self)^.&set := $00000400;
  24863. end;
  24864. procedure TUART2_U2STA.clearUTXEN; inline;
  24865. begin
  24866. pTDefRegMap(@Self)^.clr := $00000400;
  24867. end;
  24868. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  24869. begin
  24870. if thebits = 0 then
  24871. pTDefRegMap(@Self)^.clr := $00000400
  24872. else
  24873. pTDefRegMap(@Self)^.&set := $00000400;
  24874. end;
  24875. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  24876. begin
  24877. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24878. end;
  24879. procedure TUART2_U2STA.setUTXBRK; inline;
  24880. begin
  24881. pTDefRegMap(@Self)^.&set := $00000800;
  24882. end;
  24883. procedure TUART2_U2STA.clearUTXBRK; inline;
  24884. begin
  24885. pTDefRegMap(@Self)^.clr := $00000800;
  24886. end;
  24887. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  24888. begin
  24889. if thebits = 0 then
  24890. pTDefRegMap(@Self)^.clr := $00000800
  24891. else
  24892. pTDefRegMap(@Self)^.&set := $00000800;
  24893. end;
  24894. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  24895. begin
  24896. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24897. end;
  24898. procedure TUART2_U2STA.setURXEN; inline;
  24899. begin
  24900. pTDefRegMap(@Self)^.&set := $00001000;
  24901. end;
  24902. procedure TUART2_U2STA.clearURXEN; inline;
  24903. begin
  24904. pTDefRegMap(@Self)^.clr := $00001000;
  24905. end;
  24906. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  24907. begin
  24908. if thebits = 0 then
  24909. pTDefRegMap(@Self)^.clr := $00001000
  24910. else
  24911. pTDefRegMap(@Self)^.&set := $00001000;
  24912. end;
  24913. function TUART2_U2STA.getURXEN : TBits_1; inline;
  24914. begin
  24915. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24916. end;
  24917. procedure TUART2_U2STA.setUTXINV; inline;
  24918. begin
  24919. pTDefRegMap(@Self)^.&set := $00002000;
  24920. end;
  24921. procedure TUART2_U2STA.clearUTXINV; inline;
  24922. begin
  24923. pTDefRegMap(@Self)^.clr := $00002000;
  24924. end;
  24925. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  24926. begin
  24927. if thebits = 0 then
  24928. pTDefRegMap(@Self)^.clr := $00002000
  24929. else
  24930. pTDefRegMap(@Self)^.&set := $00002000;
  24931. end;
  24932. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  24933. begin
  24934. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24935. end;
  24936. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  24937. begin
  24938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24939. end;
  24940. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  24941. begin
  24942. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24943. end;
  24944. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  24945. begin
  24946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  24947. end;
  24948. function TUART2_U2STA.getADDR : TBits_8; inline;
  24949. begin
  24950. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  24951. end;
  24952. procedure TUART2_U2STA.setADM_EN; inline;
  24953. begin
  24954. pTDefRegMap(@Self)^.&set := $01000000;
  24955. end;
  24956. procedure TUART2_U2STA.clearADM_EN; inline;
  24957. begin
  24958. pTDefRegMap(@Self)^.clr := $01000000;
  24959. end;
  24960. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  24961. begin
  24962. if thebits = 0 then
  24963. pTDefRegMap(@Self)^.clr := $01000000
  24964. else
  24965. pTDefRegMap(@Self)^.&set := $01000000;
  24966. end;
  24967. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  24968. begin
  24969. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24970. end;
  24971. procedure TUART2_U2STA.setURXISEL0; inline;
  24972. begin
  24973. pTDefRegMap(@Self)^.&set := $00000040;
  24974. end;
  24975. procedure TUART2_U2STA.clearURXISEL0; inline;
  24976. begin
  24977. pTDefRegMap(@Self)^.clr := $00000040;
  24978. end;
  24979. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  24980. begin
  24981. if thebits = 0 then
  24982. pTDefRegMap(@Self)^.clr := $00000040
  24983. else
  24984. pTDefRegMap(@Self)^.&set := $00000040;
  24985. end;
  24986. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  24987. begin
  24988. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24989. end;
  24990. procedure TUART2_U2STA.setURXISEL1; inline;
  24991. begin
  24992. pTDefRegMap(@Self)^.&set := $00000080;
  24993. end;
  24994. procedure TUART2_U2STA.clearURXISEL1; inline;
  24995. begin
  24996. pTDefRegMap(@Self)^.clr := $00000080;
  24997. end;
  24998. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  24999. begin
  25000. if thebits = 0 then
  25001. pTDefRegMap(@Self)^.clr := $00000080
  25002. else
  25003. pTDefRegMap(@Self)^.&set := $00000080;
  25004. end;
  25005. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  25006. begin
  25007. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25008. end;
  25009. procedure TUART2_U2STA.setUTXISEL0; inline;
  25010. begin
  25011. pTDefRegMap(@Self)^.&set := $00004000;
  25012. end;
  25013. procedure TUART2_U2STA.clearUTXISEL0; inline;
  25014. begin
  25015. pTDefRegMap(@Self)^.clr := $00004000;
  25016. end;
  25017. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  25018. begin
  25019. if thebits = 0 then
  25020. pTDefRegMap(@Self)^.clr := $00004000
  25021. else
  25022. pTDefRegMap(@Self)^.&set := $00004000;
  25023. end;
  25024. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  25025. begin
  25026. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25027. end;
  25028. procedure TUART2_U2STA.setUTXISEL1; inline;
  25029. begin
  25030. pTDefRegMap(@Self)^.&set := $00008000;
  25031. end;
  25032. procedure TUART2_U2STA.clearUTXISEL1; inline;
  25033. begin
  25034. pTDefRegMap(@Self)^.clr := $00008000;
  25035. end;
  25036. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  25037. begin
  25038. if thebits = 0 then
  25039. pTDefRegMap(@Self)^.clr := $00008000
  25040. else
  25041. pTDefRegMap(@Self)^.&set := $00008000;
  25042. end;
  25043. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  25044. begin
  25045. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25046. end;
  25047. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  25048. begin
  25049. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25050. end;
  25051. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  25052. begin
  25053. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25054. end;
  25055. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  25056. begin
  25057. pTDefRegMap(@Self)^.val := thebits;
  25058. end;
  25059. function TUART2_U2STA.getw : TBits_32; inline;
  25060. begin
  25061. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25062. end;
  25063. procedure TUART2_U8932STA.setURXDA; inline;
  25064. begin
  25065. pTDefRegMap(@Self)^.&set := $00000001;
  25066. end;
  25067. procedure TUART2_U8932STA.clearURXDA; inline;
  25068. begin
  25069. pTDefRegMap(@Self)^.clr := $00000001;
  25070. end;
  25071. procedure TUART2_U8932STA.setURXDA(thebits : TBits_1); inline;
  25072. begin
  25073. if thebits = 0 then
  25074. pTDefRegMap(@Self)^.clr := $00000001
  25075. else
  25076. pTDefRegMap(@Self)^.&set := $00000001;
  25077. end;
  25078. function TUART2_U8932STA.getURXDA : TBits_1; inline;
  25079. begin
  25080. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25081. end;
  25082. procedure TUART2_U8932STA.setOERR; inline;
  25083. begin
  25084. pTDefRegMap(@Self)^.&set := $00000002;
  25085. end;
  25086. procedure TUART2_U8932STA.clearOERR; inline;
  25087. begin
  25088. pTDefRegMap(@Self)^.clr := $00000002;
  25089. end;
  25090. procedure TUART2_U8932STA.setOERR(thebits : TBits_1); inline;
  25091. begin
  25092. if thebits = 0 then
  25093. pTDefRegMap(@Self)^.clr := $00000002
  25094. else
  25095. pTDefRegMap(@Self)^.&set := $00000002;
  25096. end;
  25097. function TUART2_U8932STA.getOERR : TBits_1; inline;
  25098. begin
  25099. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25100. end;
  25101. procedure TUART2_U8932STA.setFERR; inline;
  25102. begin
  25103. pTDefRegMap(@Self)^.&set := $00000004;
  25104. end;
  25105. procedure TUART2_U8932STA.clearFERR; inline;
  25106. begin
  25107. pTDefRegMap(@Self)^.clr := $00000004;
  25108. end;
  25109. procedure TUART2_U8932STA.setFERR(thebits : TBits_1); inline;
  25110. begin
  25111. if thebits = 0 then
  25112. pTDefRegMap(@Self)^.clr := $00000004
  25113. else
  25114. pTDefRegMap(@Self)^.&set := $00000004;
  25115. end;
  25116. function TUART2_U8932STA.getFERR : TBits_1; inline;
  25117. begin
  25118. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25119. end;
  25120. procedure TUART2_U8932STA.setPERR; inline;
  25121. begin
  25122. pTDefRegMap(@Self)^.&set := $00000008;
  25123. end;
  25124. procedure TUART2_U8932STA.clearPERR; inline;
  25125. begin
  25126. pTDefRegMap(@Self)^.clr := $00000008;
  25127. end;
  25128. procedure TUART2_U8932STA.setPERR(thebits : TBits_1); inline;
  25129. begin
  25130. if thebits = 0 then
  25131. pTDefRegMap(@Self)^.clr := $00000008
  25132. else
  25133. pTDefRegMap(@Self)^.&set := $00000008;
  25134. end;
  25135. function TUART2_U8932STA.getPERR : TBits_1; inline;
  25136. begin
  25137. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25138. end;
  25139. procedure TUART2_U8932STA.setRIDLE; inline;
  25140. begin
  25141. pTDefRegMap(@Self)^.&set := $00000010;
  25142. end;
  25143. procedure TUART2_U8932STA.clearRIDLE; inline;
  25144. begin
  25145. pTDefRegMap(@Self)^.clr := $00000010;
  25146. end;
  25147. procedure TUART2_U8932STA.setRIDLE(thebits : TBits_1); inline;
  25148. begin
  25149. if thebits = 0 then
  25150. pTDefRegMap(@Self)^.clr := $00000010
  25151. else
  25152. pTDefRegMap(@Self)^.&set := $00000010;
  25153. end;
  25154. function TUART2_U8932STA.getRIDLE : TBits_1; inline;
  25155. begin
  25156. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25157. end;
  25158. procedure TUART2_U8932STA.setADDEN; inline;
  25159. begin
  25160. pTDefRegMap(@Self)^.&set := $00000020;
  25161. end;
  25162. procedure TUART2_U8932STA.clearADDEN; inline;
  25163. begin
  25164. pTDefRegMap(@Self)^.clr := $00000020;
  25165. end;
  25166. procedure TUART2_U8932STA.setADDEN(thebits : TBits_1); inline;
  25167. begin
  25168. if thebits = 0 then
  25169. pTDefRegMap(@Self)^.clr := $00000020
  25170. else
  25171. pTDefRegMap(@Self)^.&set := $00000020;
  25172. end;
  25173. function TUART2_U8932STA.getADDEN : TBits_1; inline;
  25174. begin
  25175. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25176. end;
  25177. procedure TUART2_U8932STA.setURXISEL(thebits : TBits_2); inline;
  25178. begin
  25179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  25180. end;
  25181. function TUART2_U8932STA.getURXISEL : TBits_2; inline;
  25182. begin
  25183. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  25184. end;
  25185. procedure TUART2_U8932STA.setTRMT; inline;
  25186. begin
  25187. pTDefRegMap(@Self)^.&set := $00000100;
  25188. end;
  25189. procedure TUART2_U8932STA.clearTRMT; inline;
  25190. begin
  25191. pTDefRegMap(@Self)^.clr := $00000100;
  25192. end;
  25193. procedure TUART2_U8932STA.setTRMT(thebits : TBits_1); inline;
  25194. begin
  25195. if thebits = 0 then
  25196. pTDefRegMap(@Self)^.clr := $00000100
  25197. else
  25198. pTDefRegMap(@Self)^.&set := $00000100;
  25199. end;
  25200. function TUART2_U8932STA.getTRMT : TBits_1; inline;
  25201. begin
  25202. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25203. end;
  25204. procedure TUART2_U8932STA.setUTXBF; inline;
  25205. begin
  25206. pTDefRegMap(@Self)^.&set := $00000200;
  25207. end;
  25208. procedure TUART2_U8932STA.clearUTXBF; inline;
  25209. begin
  25210. pTDefRegMap(@Self)^.clr := $00000200;
  25211. end;
  25212. procedure TUART2_U8932STA.setUTXBF(thebits : TBits_1); inline;
  25213. begin
  25214. if thebits = 0 then
  25215. pTDefRegMap(@Self)^.clr := $00000200
  25216. else
  25217. pTDefRegMap(@Self)^.&set := $00000200;
  25218. end;
  25219. function TUART2_U8932STA.getUTXBF : TBits_1; inline;
  25220. begin
  25221. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25222. end;
  25223. procedure TUART2_U8932STA.setUTXEN; inline;
  25224. begin
  25225. pTDefRegMap(@Self)^.&set := $00000400;
  25226. end;
  25227. procedure TUART2_U8932STA.clearUTXEN; inline;
  25228. begin
  25229. pTDefRegMap(@Self)^.clr := $00000400;
  25230. end;
  25231. procedure TUART2_U8932STA.setUTXEN(thebits : TBits_1); inline;
  25232. begin
  25233. if thebits = 0 then
  25234. pTDefRegMap(@Self)^.clr := $00000400
  25235. else
  25236. pTDefRegMap(@Self)^.&set := $00000400;
  25237. end;
  25238. function TUART2_U8932STA.getUTXEN : TBits_1; inline;
  25239. begin
  25240. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25241. end;
  25242. procedure TUART2_U8932STA.setUTXBRK; inline;
  25243. begin
  25244. pTDefRegMap(@Self)^.&set := $00000800;
  25245. end;
  25246. procedure TUART2_U8932STA.clearUTXBRK; inline;
  25247. begin
  25248. pTDefRegMap(@Self)^.clr := $00000800;
  25249. end;
  25250. procedure TUART2_U8932STA.setUTXBRK(thebits : TBits_1); inline;
  25251. begin
  25252. if thebits = 0 then
  25253. pTDefRegMap(@Self)^.clr := $00000800
  25254. else
  25255. pTDefRegMap(@Self)^.&set := $00000800;
  25256. end;
  25257. function TUART2_U8932STA.getUTXBRK : TBits_1; inline;
  25258. begin
  25259. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25260. end;
  25261. procedure TUART2_U8932STA.setURXEN; inline;
  25262. begin
  25263. pTDefRegMap(@Self)^.&set := $00001000;
  25264. end;
  25265. procedure TUART2_U8932STA.clearURXEN; inline;
  25266. begin
  25267. pTDefRegMap(@Self)^.clr := $00001000;
  25268. end;
  25269. procedure TUART2_U8932STA.setURXEN(thebits : TBits_1); inline;
  25270. begin
  25271. if thebits = 0 then
  25272. pTDefRegMap(@Self)^.clr := $00001000
  25273. else
  25274. pTDefRegMap(@Self)^.&set := $00001000;
  25275. end;
  25276. function TUART2_U8932STA.getURXEN : TBits_1; inline;
  25277. begin
  25278. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25279. end;
  25280. procedure TUART2_U8932STA.setUTXINV; inline;
  25281. begin
  25282. pTDefRegMap(@Self)^.&set := $00002000;
  25283. end;
  25284. procedure TUART2_U8932STA.clearUTXINV; inline;
  25285. begin
  25286. pTDefRegMap(@Self)^.clr := $00002000;
  25287. end;
  25288. procedure TUART2_U8932STA.setUTXINV(thebits : TBits_1); inline;
  25289. begin
  25290. if thebits = 0 then
  25291. pTDefRegMap(@Self)^.clr := $00002000
  25292. else
  25293. pTDefRegMap(@Self)^.&set := $00002000;
  25294. end;
  25295. function TUART2_U8932STA.getUTXINV : TBits_1; inline;
  25296. begin
  25297. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25298. end;
  25299. procedure TUART2_U8932STA.setUTXISEL(thebits : TBits_2); inline;
  25300. begin
  25301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25302. end;
  25303. function TUART2_U8932STA.getUTXISEL : TBits_2; inline;
  25304. begin
  25305. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25306. end;
  25307. procedure TUART2_U8932STA.setADDR(thebits : TBits_8); inline;
  25308. begin
  25309. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  25310. end;
  25311. function TUART2_U8932STA.getADDR : TBits_8; inline;
  25312. begin
  25313. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  25314. end;
  25315. procedure TUART2_U8932STA.setADM_EN; inline;
  25316. begin
  25317. pTDefRegMap(@Self)^.&set := $01000000;
  25318. end;
  25319. procedure TUART2_U8932STA.clearADM_EN; inline;
  25320. begin
  25321. pTDefRegMap(@Self)^.clr := $01000000;
  25322. end;
  25323. procedure TUART2_U8932STA.setADM_EN(thebits : TBits_1); inline;
  25324. begin
  25325. if thebits = 0 then
  25326. pTDefRegMap(@Self)^.clr := $01000000
  25327. else
  25328. pTDefRegMap(@Self)^.&set := $01000000;
  25329. end;
  25330. function TUART2_U8932STA.getADM_EN : TBits_1; inline;
  25331. begin
  25332. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25333. end;
  25334. procedure TUART2_U8932STA.setURXISEL0; inline;
  25335. begin
  25336. pTDefRegMap(@Self)^.&set := $00000040;
  25337. end;
  25338. procedure TUART2_U8932STA.clearURXISEL0; inline;
  25339. begin
  25340. pTDefRegMap(@Self)^.clr := $00000040;
  25341. end;
  25342. procedure TUART2_U8932STA.setURXISEL0(thebits : TBits_1); inline;
  25343. begin
  25344. if thebits = 0 then
  25345. pTDefRegMap(@Self)^.clr := $00000040
  25346. else
  25347. pTDefRegMap(@Self)^.&set := $00000040;
  25348. end;
  25349. function TUART2_U8932STA.getURXISEL0 : TBits_1; inline;
  25350. begin
  25351. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25352. end;
  25353. procedure TUART2_U8932STA.setURXISEL1; inline;
  25354. begin
  25355. pTDefRegMap(@Self)^.&set := $00000080;
  25356. end;
  25357. procedure TUART2_U8932STA.clearURXISEL1; inline;
  25358. begin
  25359. pTDefRegMap(@Self)^.clr := $00000080;
  25360. end;
  25361. procedure TUART2_U8932STA.setURXISEL1(thebits : TBits_1); inline;
  25362. begin
  25363. if thebits = 0 then
  25364. pTDefRegMap(@Self)^.clr := $00000080
  25365. else
  25366. pTDefRegMap(@Self)^.&set := $00000080;
  25367. end;
  25368. function TUART2_U8932STA.getURXISEL1 : TBits_1; inline;
  25369. begin
  25370. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25371. end;
  25372. procedure TUART2_U8932STA.setUTXISEL0; inline;
  25373. begin
  25374. pTDefRegMap(@Self)^.&set := $00004000;
  25375. end;
  25376. procedure TUART2_U8932STA.clearUTXISEL0; inline;
  25377. begin
  25378. pTDefRegMap(@Self)^.clr := $00004000;
  25379. end;
  25380. procedure TUART2_U8932STA.setUTXISEL0(thebits : TBits_1); inline;
  25381. begin
  25382. if thebits = 0 then
  25383. pTDefRegMap(@Self)^.clr := $00004000
  25384. else
  25385. pTDefRegMap(@Self)^.&set := $00004000;
  25386. end;
  25387. function TUART2_U8932STA.getUTXISEL0 : TBits_1; inline;
  25388. begin
  25389. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25390. end;
  25391. procedure TUART2_U8932STA.setUTXISEL1; inline;
  25392. begin
  25393. pTDefRegMap(@Self)^.&set := $00008000;
  25394. end;
  25395. procedure TUART2_U8932STA.clearUTXISEL1; inline;
  25396. begin
  25397. pTDefRegMap(@Self)^.clr := $00008000;
  25398. end;
  25399. procedure TUART2_U8932STA.setUTXISEL1(thebits : TBits_1); inline;
  25400. begin
  25401. if thebits = 0 then
  25402. pTDefRegMap(@Self)^.clr := $00008000
  25403. else
  25404. pTDefRegMap(@Self)^.&set := $00008000;
  25405. end;
  25406. function TUART2_U8932STA.getUTXISEL1 : TBits_1; inline;
  25407. begin
  25408. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25409. end;
  25410. procedure TUART2_U8932STA.setUTXSEL(thebits : TBits_2); inline;
  25411. begin
  25412. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25413. end;
  25414. function TUART2_U8932STA.getUTXSEL : TBits_2; inline;
  25415. begin
  25416. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25417. end;
  25418. procedure TUART2_U8932STA.setw(thebits : TBits_32); inline;
  25419. begin
  25420. pTDefRegMap(@Self)^.val := thebits;
  25421. end;
  25422. function TUART2_U8932STA.getw : TBits_32; inline;
  25423. begin
  25424. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25425. end;
  25426. procedure TUART3_U39MODE.setSTSEL; inline;
  25427. begin
  25428. pTDefRegMap(@Self)^.&set := $00000001;
  25429. end;
  25430. procedure TUART3_U39MODE.clearSTSEL; inline;
  25431. begin
  25432. pTDefRegMap(@Self)^.clr := $00000001;
  25433. end;
  25434. procedure TUART3_U39MODE.setSTSEL(thebits : TBits_1); inline;
  25435. begin
  25436. if thebits = 0 then
  25437. pTDefRegMap(@Self)^.clr := $00000001
  25438. else
  25439. pTDefRegMap(@Self)^.&set := $00000001;
  25440. end;
  25441. function TUART3_U39MODE.getSTSEL : TBits_1; inline;
  25442. begin
  25443. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25444. end;
  25445. procedure TUART3_U39MODE.setPDSEL(thebits : TBits_2); inline;
  25446. begin
  25447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  25448. end;
  25449. function TUART3_U39MODE.getPDSEL : TBits_2; inline;
  25450. begin
  25451. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  25452. end;
  25453. procedure TUART3_U39MODE.setBRGH; inline;
  25454. begin
  25455. pTDefRegMap(@Self)^.&set := $00000008;
  25456. end;
  25457. procedure TUART3_U39MODE.clearBRGH; inline;
  25458. begin
  25459. pTDefRegMap(@Self)^.clr := $00000008;
  25460. end;
  25461. procedure TUART3_U39MODE.setBRGH(thebits : TBits_1); inline;
  25462. begin
  25463. if thebits = 0 then
  25464. pTDefRegMap(@Self)^.clr := $00000008
  25465. else
  25466. pTDefRegMap(@Self)^.&set := $00000008;
  25467. end;
  25468. function TUART3_U39MODE.getBRGH : TBits_1; inline;
  25469. begin
  25470. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25471. end;
  25472. procedure TUART3_U39MODE.setRXINV; inline;
  25473. begin
  25474. pTDefRegMap(@Self)^.&set := $00000010;
  25475. end;
  25476. procedure TUART3_U39MODE.clearRXINV; inline;
  25477. begin
  25478. pTDefRegMap(@Self)^.clr := $00000010;
  25479. end;
  25480. procedure TUART3_U39MODE.setRXINV(thebits : TBits_1); inline;
  25481. begin
  25482. if thebits = 0 then
  25483. pTDefRegMap(@Self)^.clr := $00000010
  25484. else
  25485. pTDefRegMap(@Self)^.&set := $00000010;
  25486. end;
  25487. function TUART3_U39MODE.getRXINV : TBits_1; inline;
  25488. begin
  25489. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25490. end;
  25491. procedure TUART3_U39MODE.setABAUD; inline;
  25492. begin
  25493. pTDefRegMap(@Self)^.&set := $00000020;
  25494. end;
  25495. procedure TUART3_U39MODE.clearABAUD; inline;
  25496. begin
  25497. pTDefRegMap(@Self)^.clr := $00000020;
  25498. end;
  25499. procedure TUART3_U39MODE.setABAUD(thebits : TBits_1); inline;
  25500. begin
  25501. if thebits = 0 then
  25502. pTDefRegMap(@Self)^.clr := $00000020
  25503. else
  25504. pTDefRegMap(@Self)^.&set := $00000020;
  25505. end;
  25506. function TUART3_U39MODE.getABAUD : TBits_1; inline;
  25507. begin
  25508. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25509. end;
  25510. procedure TUART3_U39MODE.setLPBACK; inline;
  25511. begin
  25512. pTDefRegMap(@Self)^.&set := $00000040;
  25513. end;
  25514. procedure TUART3_U39MODE.clearLPBACK; inline;
  25515. begin
  25516. pTDefRegMap(@Self)^.clr := $00000040;
  25517. end;
  25518. procedure TUART3_U39MODE.setLPBACK(thebits : TBits_1); inline;
  25519. begin
  25520. if thebits = 0 then
  25521. pTDefRegMap(@Self)^.clr := $00000040
  25522. else
  25523. pTDefRegMap(@Self)^.&set := $00000040;
  25524. end;
  25525. function TUART3_U39MODE.getLPBACK : TBits_1; inline;
  25526. begin
  25527. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25528. end;
  25529. procedure TUART3_U39MODE.setWAKE; inline;
  25530. begin
  25531. pTDefRegMap(@Self)^.&set := $00000080;
  25532. end;
  25533. procedure TUART3_U39MODE.clearWAKE; inline;
  25534. begin
  25535. pTDefRegMap(@Self)^.clr := $00000080;
  25536. end;
  25537. procedure TUART3_U39MODE.setWAKE(thebits : TBits_1); inline;
  25538. begin
  25539. if thebits = 0 then
  25540. pTDefRegMap(@Self)^.clr := $00000080
  25541. else
  25542. pTDefRegMap(@Self)^.&set := $00000080;
  25543. end;
  25544. function TUART3_U39MODE.getWAKE : TBits_1; inline;
  25545. begin
  25546. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25547. end;
  25548. procedure TUART3_U39MODE.setUEN(thebits : TBits_2); inline;
  25549. begin
  25550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  25551. end;
  25552. function TUART3_U39MODE.getUEN : TBits_2; inline;
  25553. begin
  25554. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  25555. end;
  25556. procedure TUART3_U39MODE.setRTSMD; inline;
  25557. begin
  25558. pTDefRegMap(@Self)^.&set := $00000800;
  25559. end;
  25560. procedure TUART3_U39MODE.clearRTSMD; inline;
  25561. begin
  25562. pTDefRegMap(@Self)^.clr := $00000800;
  25563. end;
  25564. procedure TUART3_U39MODE.setRTSMD(thebits : TBits_1); inline;
  25565. begin
  25566. if thebits = 0 then
  25567. pTDefRegMap(@Self)^.clr := $00000800
  25568. else
  25569. pTDefRegMap(@Self)^.&set := $00000800;
  25570. end;
  25571. function TUART3_U39MODE.getRTSMD : TBits_1; inline;
  25572. begin
  25573. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25574. end;
  25575. procedure TUART3_U39MODE.setIREN; inline;
  25576. begin
  25577. pTDefRegMap(@Self)^.&set := $00001000;
  25578. end;
  25579. procedure TUART3_U39MODE.clearIREN; inline;
  25580. begin
  25581. pTDefRegMap(@Self)^.clr := $00001000;
  25582. end;
  25583. procedure TUART3_U39MODE.setIREN(thebits : TBits_1); inline;
  25584. begin
  25585. if thebits = 0 then
  25586. pTDefRegMap(@Self)^.clr := $00001000
  25587. else
  25588. pTDefRegMap(@Self)^.&set := $00001000;
  25589. end;
  25590. function TUART3_U39MODE.getIREN : TBits_1; inline;
  25591. begin
  25592. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25593. end;
  25594. procedure TUART3_U39MODE.setSIDL; inline;
  25595. begin
  25596. pTDefRegMap(@Self)^.&set := $00002000;
  25597. end;
  25598. procedure TUART3_U39MODE.clearSIDL; inline;
  25599. begin
  25600. pTDefRegMap(@Self)^.clr := $00002000;
  25601. end;
  25602. procedure TUART3_U39MODE.setSIDL(thebits : TBits_1); inline;
  25603. begin
  25604. if thebits = 0 then
  25605. pTDefRegMap(@Self)^.clr := $00002000
  25606. else
  25607. pTDefRegMap(@Self)^.&set := $00002000;
  25608. end;
  25609. function TUART3_U39MODE.getSIDL : TBits_1; inline;
  25610. begin
  25611. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25612. end;
  25613. procedure TUART3_U39MODE.setON; inline;
  25614. begin
  25615. pTDefRegMap(@Self)^.&set := $00008000;
  25616. end;
  25617. procedure TUART3_U39MODE.clearON; inline;
  25618. begin
  25619. pTDefRegMap(@Self)^.clr := $00008000;
  25620. end;
  25621. procedure TUART3_U39MODE.setON(thebits : TBits_1); inline;
  25622. begin
  25623. if thebits = 0 then
  25624. pTDefRegMap(@Self)^.clr := $00008000
  25625. else
  25626. pTDefRegMap(@Self)^.&set := $00008000;
  25627. end;
  25628. function TUART3_U39MODE.getON : TBits_1; inline;
  25629. begin
  25630. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25631. end;
  25632. procedure TUART3_U39MODE.setPDSEL0; inline;
  25633. begin
  25634. pTDefRegMap(@Self)^.&set := $00000002;
  25635. end;
  25636. procedure TUART3_U39MODE.clearPDSEL0; inline;
  25637. begin
  25638. pTDefRegMap(@Self)^.clr := $00000002;
  25639. end;
  25640. procedure TUART3_U39MODE.setPDSEL0(thebits : TBits_1); inline;
  25641. begin
  25642. if thebits = 0 then
  25643. pTDefRegMap(@Self)^.clr := $00000002
  25644. else
  25645. pTDefRegMap(@Self)^.&set := $00000002;
  25646. end;
  25647. function TUART3_U39MODE.getPDSEL0 : TBits_1; inline;
  25648. begin
  25649. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25650. end;
  25651. procedure TUART3_U39MODE.setPDSEL1; inline;
  25652. begin
  25653. pTDefRegMap(@Self)^.&set := $00000004;
  25654. end;
  25655. procedure TUART3_U39MODE.clearPDSEL1; inline;
  25656. begin
  25657. pTDefRegMap(@Self)^.clr := $00000004;
  25658. end;
  25659. procedure TUART3_U39MODE.setPDSEL1(thebits : TBits_1); inline;
  25660. begin
  25661. if thebits = 0 then
  25662. pTDefRegMap(@Self)^.clr := $00000004
  25663. else
  25664. pTDefRegMap(@Self)^.&set := $00000004;
  25665. end;
  25666. function TUART3_U39MODE.getPDSEL1 : TBits_1; inline;
  25667. begin
  25668. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25669. end;
  25670. procedure TUART3_U39MODE.setUEN0; inline;
  25671. begin
  25672. pTDefRegMap(@Self)^.&set := $00000100;
  25673. end;
  25674. procedure TUART3_U39MODE.clearUEN0; inline;
  25675. begin
  25676. pTDefRegMap(@Self)^.clr := $00000100;
  25677. end;
  25678. procedure TUART3_U39MODE.setUEN0(thebits : TBits_1); inline;
  25679. begin
  25680. if thebits = 0 then
  25681. pTDefRegMap(@Self)^.clr := $00000100
  25682. else
  25683. pTDefRegMap(@Self)^.&set := $00000100;
  25684. end;
  25685. function TUART3_U39MODE.getUEN0 : TBits_1; inline;
  25686. begin
  25687. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25688. end;
  25689. procedure TUART3_U39MODE.setUEN1; inline;
  25690. begin
  25691. pTDefRegMap(@Self)^.&set := $00000200;
  25692. end;
  25693. procedure TUART3_U39MODE.clearUEN1; inline;
  25694. begin
  25695. pTDefRegMap(@Self)^.clr := $00000200;
  25696. end;
  25697. procedure TUART3_U39MODE.setUEN1(thebits : TBits_1); inline;
  25698. begin
  25699. if thebits = 0 then
  25700. pTDefRegMap(@Self)^.clr := $00000200
  25701. else
  25702. pTDefRegMap(@Self)^.&set := $00000200;
  25703. end;
  25704. function TUART3_U39MODE.getUEN1 : TBits_1; inline;
  25705. begin
  25706. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25707. end;
  25708. procedure TUART3_U39MODE.setUSIDL; inline;
  25709. begin
  25710. pTDefRegMap(@Self)^.&set := $00002000;
  25711. end;
  25712. procedure TUART3_U39MODE.clearUSIDL; inline;
  25713. begin
  25714. pTDefRegMap(@Self)^.clr := $00002000;
  25715. end;
  25716. procedure TUART3_U39MODE.setUSIDL(thebits : TBits_1); inline;
  25717. begin
  25718. if thebits = 0 then
  25719. pTDefRegMap(@Self)^.clr := $00002000
  25720. else
  25721. pTDefRegMap(@Self)^.&set := $00002000;
  25722. end;
  25723. function TUART3_U39MODE.getUSIDL : TBits_1; inline;
  25724. begin
  25725. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25726. end;
  25727. procedure TUART3_U39MODE.setUARTEN; inline;
  25728. begin
  25729. pTDefRegMap(@Self)^.&set := $00008000;
  25730. end;
  25731. procedure TUART3_U39MODE.clearUARTEN; inline;
  25732. begin
  25733. pTDefRegMap(@Self)^.clr := $00008000;
  25734. end;
  25735. procedure TUART3_U39MODE.setUARTEN(thebits : TBits_1); inline;
  25736. begin
  25737. if thebits = 0 then
  25738. pTDefRegMap(@Self)^.clr := $00008000
  25739. else
  25740. pTDefRegMap(@Self)^.&set := $00008000;
  25741. end;
  25742. function TUART3_U39MODE.getUARTEN : TBits_1; inline;
  25743. begin
  25744. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25745. end;
  25746. procedure TUART3_U39MODE.setw(thebits : TBits_32); inline;
  25747. begin
  25748. pTDefRegMap(@Self)^.val := thebits;
  25749. end;
  25750. function TUART3_U39MODE.getw : TBits_32; inline;
  25751. begin
  25752. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25753. end;
  25754. procedure TUART3_U3MODE.setSTSEL; inline;
  25755. begin
  25756. pTDefRegMap(@Self)^.&set := $00000001;
  25757. end;
  25758. procedure TUART3_U3MODE.clearSTSEL; inline;
  25759. begin
  25760. pTDefRegMap(@Self)^.clr := $00000001;
  25761. end;
  25762. procedure TUART3_U3MODE.setSTSEL(thebits : TBits_1); inline;
  25763. begin
  25764. if thebits = 0 then
  25765. pTDefRegMap(@Self)^.clr := $00000001
  25766. else
  25767. pTDefRegMap(@Self)^.&set := $00000001;
  25768. end;
  25769. function TUART3_U3MODE.getSTSEL : TBits_1; inline;
  25770. begin
  25771. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25772. end;
  25773. procedure TUART3_U3MODE.setPDSEL(thebits : TBits_2); inline;
  25774. begin
  25775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  25776. end;
  25777. function TUART3_U3MODE.getPDSEL : TBits_2; inline;
  25778. begin
  25779. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  25780. end;
  25781. procedure TUART3_U3MODE.setBRGH; inline;
  25782. begin
  25783. pTDefRegMap(@Self)^.&set := $00000008;
  25784. end;
  25785. procedure TUART3_U3MODE.clearBRGH; inline;
  25786. begin
  25787. pTDefRegMap(@Self)^.clr := $00000008;
  25788. end;
  25789. procedure TUART3_U3MODE.setBRGH(thebits : TBits_1); inline;
  25790. begin
  25791. if thebits = 0 then
  25792. pTDefRegMap(@Self)^.clr := $00000008
  25793. else
  25794. pTDefRegMap(@Self)^.&set := $00000008;
  25795. end;
  25796. function TUART3_U3MODE.getBRGH : TBits_1; inline;
  25797. begin
  25798. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25799. end;
  25800. procedure TUART3_U3MODE.setRXINV; inline;
  25801. begin
  25802. pTDefRegMap(@Self)^.&set := $00000010;
  25803. end;
  25804. procedure TUART3_U3MODE.clearRXINV; inline;
  25805. begin
  25806. pTDefRegMap(@Self)^.clr := $00000010;
  25807. end;
  25808. procedure TUART3_U3MODE.setRXINV(thebits : TBits_1); inline;
  25809. begin
  25810. if thebits = 0 then
  25811. pTDefRegMap(@Self)^.clr := $00000010
  25812. else
  25813. pTDefRegMap(@Self)^.&set := $00000010;
  25814. end;
  25815. function TUART3_U3MODE.getRXINV : TBits_1; inline;
  25816. begin
  25817. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25818. end;
  25819. procedure TUART3_U3MODE.setABAUD; inline;
  25820. begin
  25821. pTDefRegMap(@Self)^.&set := $00000020;
  25822. end;
  25823. procedure TUART3_U3MODE.clearABAUD; inline;
  25824. begin
  25825. pTDefRegMap(@Self)^.clr := $00000020;
  25826. end;
  25827. procedure TUART3_U3MODE.setABAUD(thebits : TBits_1); inline;
  25828. begin
  25829. if thebits = 0 then
  25830. pTDefRegMap(@Self)^.clr := $00000020
  25831. else
  25832. pTDefRegMap(@Self)^.&set := $00000020;
  25833. end;
  25834. function TUART3_U3MODE.getABAUD : TBits_1; inline;
  25835. begin
  25836. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25837. end;
  25838. procedure TUART3_U3MODE.setLPBACK; inline;
  25839. begin
  25840. pTDefRegMap(@Self)^.&set := $00000040;
  25841. end;
  25842. procedure TUART3_U3MODE.clearLPBACK; inline;
  25843. begin
  25844. pTDefRegMap(@Self)^.clr := $00000040;
  25845. end;
  25846. procedure TUART3_U3MODE.setLPBACK(thebits : TBits_1); inline;
  25847. begin
  25848. if thebits = 0 then
  25849. pTDefRegMap(@Self)^.clr := $00000040
  25850. else
  25851. pTDefRegMap(@Self)^.&set := $00000040;
  25852. end;
  25853. function TUART3_U3MODE.getLPBACK : TBits_1; inline;
  25854. begin
  25855. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25856. end;
  25857. procedure TUART3_U3MODE.setWAKE; inline;
  25858. begin
  25859. pTDefRegMap(@Self)^.&set := $00000080;
  25860. end;
  25861. procedure TUART3_U3MODE.clearWAKE; inline;
  25862. begin
  25863. pTDefRegMap(@Self)^.clr := $00000080;
  25864. end;
  25865. procedure TUART3_U3MODE.setWAKE(thebits : TBits_1); inline;
  25866. begin
  25867. if thebits = 0 then
  25868. pTDefRegMap(@Self)^.clr := $00000080
  25869. else
  25870. pTDefRegMap(@Self)^.&set := $00000080;
  25871. end;
  25872. function TUART3_U3MODE.getWAKE : TBits_1; inline;
  25873. begin
  25874. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25875. end;
  25876. procedure TUART3_U3MODE.setUEN(thebits : TBits_2); inline;
  25877. begin
  25878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  25879. end;
  25880. function TUART3_U3MODE.getUEN : TBits_2; inline;
  25881. begin
  25882. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  25883. end;
  25884. procedure TUART3_U3MODE.setRTSMD; inline;
  25885. begin
  25886. pTDefRegMap(@Self)^.&set := $00000800;
  25887. end;
  25888. procedure TUART3_U3MODE.clearRTSMD; inline;
  25889. begin
  25890. pTDefRegMap(@Self)^.clr := $00000800;
  25891. end;
  25892. procedure TUART3_U3MODE.setRTSMD(thebits : TBits_1); inline;
  25893. begin
  25894. if thebits = 0 then
  25895. pTDefRegMap(@Self)^.clr := $00000800
  25896. else
  25897. pTDefRegMap(@Self)^.&set := $00000800;
  25898. end;
  25899. function TUART3_U3MODE.getRTSMD : TBits_1; inline;
  25900. begin
  25901. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25902. end;
  25903. procedure TUART3_U3MODE.setIREN; inline;
  25904. begin
  25905. pTDefRegMap(@Self)^.&set := $00001000;
  25906. end;
  25907. procedure TUART3_U3MODE.clearIREN; inline;
  25908. begin
  25909. pTDefRegMap(@Self)^.clr := $00001000;
  25910. end;
  25911. procedure TUART3_U3MODE.setIREN(thebits : TBits_1); inline;
  25912. begin
  25913. if thebits = 0 then
  25914. pTDefRegMap(@Self)^.clr := $00001000
  25915. else
  25916. pTDefRegMap(@Self)^.&set := $00001000;
  25917. end;
  25918. function TUART3_U3MODE.getIREN : TBits_1; inline;
  25919. begin
  25920. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25921. end;
  25922. procedure TUART3_U3MODE.setSIDL; inline;
  25923. begin
  25924. pTDefRegMap(@Self)^.&set := $00002000;
  25925. end;
  25926. procedure TUART3_U3MODE.clearSIDL; inline;
  25927. begin
  25928. pTDefRegMap(@Self)^.clr := $00002000;
  25929. end;
  25930. procedure TUART3_U3MODE.setSIDL(thebits : TBits_1); inline;
  25931. begin
  25932. if thebits = 0 then
  25933. pTDefRegMap(@Self)^.clr := $00002000
  25934. else
  25935. pTDefRegMap(@Self)^.&set := $00002000;
  25936. end;
  25937. function TUART3_U3MODE.getSIDL : TBits_1; inline;
  25938. begin
  25939. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25940. end;
  25941. procedure TUART3_U3MODE.setON; inline;
  25942. begin
  25943. pTDefRegMap(@Self)^.&set := $00008000;
  25944. end;
  25945. procedure TUART3_U3MODE.clearON; inline;
  25946. begin
  25947. pTDefRegMap(@Self)^.clr := $00008000;
  25948. end;
  25949. procedure TUART3_U3MODE.setON(thebits : TBits_1); inline;
  25950. begin
  25951. if thebits = 0 then
  25952. pTDefRegMap(@Self)^.clr := $00008000
  25953. else
  25954. pTDefRegMap(@Self)^.&set := $00008000;
  25955. end;
  25956. function TUART3_U3MODE.getON : TBits_1; inline;
  25957. begin
  25958. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25959. end;
  25960. procedure TUART3_U3MODE.setPDSEL0; inline;
  25961. begin
  25962. pTDefRegMap(@Self)^.&set := $00000002;
  25963. end;
  25964. procedure TUART3_U3MODE.clearPDSEL0; inline;
  25965. begin
  25966. pTDefRegMap(@Self)^.clr := $00000002;
  25967. end;
  25968. procedure TUART3_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  25969. begin
  25970. if thebits = 0 then
  25971. pTDefRegMap(@Self)^.clr := $00000002
  25972. else
  25973. pTDefRegMap(@Self)^.&set := $00000002;
  25974. end;
  25975. function TUART3_U3MODE.getPDSEL0 : TBits_1; inline;
  25976. begin
  25977. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25978. end;
  25979. procedure TUART3_U3MODE.setPDSEL1; inline;
  25980. begin
  25981. pTDefRegMap(@Self)^.&set := $00000004;
  25982. end;
  25983. procedure TUART3_U3MODE.clearPDSEL1; inline;
  25984. begin
  25985. pTDefRegMap(@Self)^.clr := $00000004;
  25986. end;
  25987. procedure TUART3_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  25988. begin
  25989. if thebits = 0 then
  25990. pTDefRegMap(@Self)^.clr := $00000004
  25991. else
  25992. pTDefRegMap(@Self)^.&set := $00000004;
  25993. end;
  25994. function TUART3_U3MODE.getPDSEL1 : TBits_1; inline;
  25995. begin
  25996. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25997. end;
  25998. procedure TUART3_U3MODE.setUEN0; inline;
  25999. begin
  26000. pTDefRegMap(@Self)^.&set := $00000100;
  26001. end;
  26002. procedure TUART3_U3MODE.clearUEN0; inline;
  26003. begin
  26004. pTDefRegMap(@Self)^.clr := $00000100;
  26005. end;
  26006. procedure TUART3_U3MODE.setUEN0(thebits : TBits_1); inline;
  26007. begin
  26008. if thebits = 0 then
  26009. pTDefRegMap(@Self)^.clr := $00000100
  26010. else
  26011. pTDefRegMap(@Self)^.&set := $00000100;
  26012. end;
  26013. function TUART3_U3MODE.getUEN0 : TBits_1; inline;
  26014. begin
  26015. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26016. end;
  26017. procedure TUART3_U3MODE.setUEN1; inline;
  26018. begin
  26019. pTDefRegMap(@Self)^.&set := $00000200;
  26020. end;
  26021. procedure TUART3_U3MODE.clearUEN1; inline;
  26022. begin
  26023. pTDefRegMap(@Self)^.clr := $00000200;
  26024. end;
  26025. procedure TUART3_U3MODE.setUEN1(thebits : TBits_1); inline;
  26026. begin
  26027. if thebits = 0 then
  26028. pTDefRegMap(@Self)^.clr := $00000200
  26029. else
  26030. pTDefRegMap(@Self)^.&set := $00000200;
  26031. end;
  26032. function TUART3_U3MODE.getUEN1 : TBits_1; inline;
  26033. begin
  26034. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26035. end;
  26036. procedure TUART3_U3MODE.setUSIDL; inline;
  26037. begin
  26038. pTDefRegMap(@Self)^.&set := $00002000;
  26039. end;
  26040. procedure TUART3_U3MODE.clearUSIDL; inline;
  26041. begin
  26042. pTDefRegMap(@Self)^.clr := $00002000;
  26043. end;
  26044. procedure TUART3_U3MODE.setUSIDL(thebits : TBits_1); inline;
  26045. begin
  26046. if thebits = 0 then
  26047. pTDefRegMap(@Self)^.clr := $00002000
  26048. else
  26049. pTDefRegMap(@Self)^.&set := $00002000;
  26050. end;
  26051. function TUART3_U3MODE.getUSIDL : TBits_1; inline;
  26052. begin
  26053. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26054. end;
  26055. procedure TUART3_U3MODE.setUARTEN; inline;
  26056. begin
  26057. pTDefRegMap(@Self)^.&set := $00008000;
  26058. end;
  26059. procedure TUART3_U3MODE.clearUARTEN; inline;
  26060. begin
  26061. pTDefRegMap(@Self)^.clr := $00008000;
  26062. end;
  26063. procedure TUART3_U3MODE.setUARTEN(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 TUART3_U3MODE.getUARTEN : TBits_1; inline;
  26071. begin
  26072. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26073. end;
  26074. procedure TUART3_U3MODE.setw(thebits : TBits_32); inline;
  26075. begin
  26076. pTDefRegMap(@Self)^.val := thebits;
  26077. end;
  26078. function TUART3_U3MODE.getw : TBits_32; inline;
  26079. begin
  26080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26081. end;
  26082. procedure TUART3_U39STA.setURXDA; inline;
  26083. begin
  26084. pTDefRegMap(@Self)^.&set := $00000001;
  26085. end;
  26086. procedure TUART3_U39STA.clearURXDA; inline;
  26087. begin
  26088. pTDefRegMap(@Self)^.clr := $00000001;
  26089. end;
  26090. procedure TUART3_U39STA.setURXDA(thebits : TBits_1); inline;
  26091. begin
  26092. if thebits = 0 then
  26093. pTDefRegMap(@Self)^.clr := $00000001
  26094. else
  26095. pTDefRegMap(@Self)^.&set := $00000001;
  26096. end;
  26097. function TUART3_U39STA.getURXDA : TBits_1; inline;
  26098. begin
  26099. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26100. end;
  26101. procedure TUART3_U39STA.setOERR; inline;
  26102. begin
  26103. pTDefRegMap(@Self)^.&set := $00000002;
  26104. end;
  26105. procedure TUART3_U39STA.clearOERR; inline;
  26106. begin
  26107. pTDefRegMap(@Self)^.clr := $00000002;
  26108. end;
  26109. procedure TUART3_U39STA.setOERR(thebits : TBits_1); inline;
  26110. begin
  26111. if thebits = 0 then
  26112. pTDefRegMap(@Self)^.clr := $00000002
  26113. else
  26114. pTDefRegMap(@Self)^.&set := $00000002;
  26115. end;
  26116. function TUART3_U39STA.getOERR : TBits_1; inline;
  26117. begin
  26118. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26119. end;
  26120. procedure TUART3_U39STA.setFERR; inline;
  26121. begin
  26122. pTDefRegMap(@Self)^.&set := $00000004;
  26123. end;
  26124. procedure TUART3_U39STA.clearFERR; inline;
  26125. begin
  26126. pTDefRegMap(@Self)^.clr := $00000004;
  26127. end;
  26128. procedure TUART3_U39STA.setFERR(thebits : TBits_1); inline;
  26129. begin
  26130. if thebits = 0 then
  26131. pTDefRegMap(@Self)^.clr := $00000004
  26132. else
  26133. pTDefRegMap(@Self)^.&set := $00000004;
  26134. end;
  26135. function TUART3_U39STA.getFERR : TBits_1; inline;
  26136. begin
  26137. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26138. end;
  26139. procedure TUART3_U39STA.setPERR; inline;
  26140. begin
  26141. pTDefRegMap(@Self)^.&set := $00000008;
  26142. end;
  26143. procedure TUART3_U39STA.clearPERR; inline;
  26144. begin
  26145. pTDefRegMap(@Self)^.clr := $00000008;
  26146. end;
  26147. procedure TUART3_U39STA.setPERR(thebits : TBits_1); inline;
  26148. begin
  26149. if thebits = 0 then
  26150. pTDefRegMap(@Self)^.clr := $00000008
  26151. else
  26152. pTDefRegMap(@Self)^.&set := $00000008;
  26153. end;
  26154. function TUART3_U39STA.getPERR : TBits_1; inline;
  26155. begin
  26156. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26157. end;
  26158. procedure TUART3_U39STA.setRIDLE; inline;
  26159. begin
  26160. pTDefRegMap(@Self)^.&set := $00000010;
  26161. end;
  26162. procedure TUART3_U39STA.clearRIDLE; inline;
  26163. begin
  26164. pTDefRegMap(@Self)^.clr := $00000010;
  26165. end;
  26166. procedure TUART3_U39STA.setRIDLE(thebits : TBits_1); inline;
  26167. begin
  26168. if thebits = 0 then
  26169. pTDefRegMap(@Self)^.clr := $00000010
  26170. else
  26171. pTDefRegMap(@Self)^.&set := $00000010;
  26172. end;
  26173. function TUART3_U39STA.getRIDLE : TBits_1; inline;
  26174. begin
  26175. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26176. end;
  26177. procedure TUART3_U39STA.setADDEN; inline;
  26178. begin
  26179. pTDefRegMap(@Self)^.&set := $00000020;
  26180. end;
  26181. procedure TUART3_U39STA.clearADDEN; inline;
  26182. begin
  26183. pTDefRegMap(@Self)^.clr := $00000020;
  26184. end;
  26185. procedure TUART3_U39STA.setADDEN(thebits : TBits_1); inline;
  26186. begin
  26187. if thebits = 0 then
  26188. pTDefRegMap(@Self)^.clr := $00000020
  26189. else
  26190. pTDefRegMap(@Self)^.&set := $00000020;
  26191. end;
  26192. function TUART3_U39STA.getADDEN : TBits_1; inline;
  26193. begin
  26194. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26195. end;
  26196. procedure TUART3_U39STA.setURXISEL(thebits : TBits_2); inline;
  26197. begin
  26198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  26199. end;
  26200. function TUART3_U39STA.getURXISEL : TBits_2; inline;
  26201. begin
  26202. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  26203. end;
  26204. procedure TUART3_U39STA.setTRMT; inline;
  26205. begin
  26206. pTDefRegMap(@Self)^.&set := $00000100;
  26207. end;
  26208. procedure TUART3_U39STA.clearTRMT; inline;
  26209. begin
  26210. pTDefRegMap(@Self)^.clr := $00000100;
  26211. end;
  26212. procedure TUART3_U39STA.setTRMT(thebits : TBits_1); inline;
  26213. begin
  26214. if thebits = 0 then
  26215. pTDefRegMap(@Self)^.clr := $00000100
  26216. else
  26217. pTDefRegMap(@Self)^.&set := $00000100;
  26218. end;
  26219. function TUART3_U39STA.getTRMT : TBits_1; inline;
  26220. begin
  26221. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26222. end;
  26223. procedure TUART3_U39STA.setUTXBF; inline;
  26224. begin
  26225. pTDefRegMap(@Self)^.&set := $00000200;
  26226. end;
  26227. procedure TUART3_U39STA.clearUTXBF; inline;
  26228. begin
  26229. pTDefRegMap(@Self)^.clr := $00000200;
  26230. end;
  26231. procedure TUART3_U39STA.setUTXBF(thebits : TBits_1); inline;
  26232. begin
  26233. if thebits = 0 then
  26234. pTDefRegMap(@Self)^.clr := $00000200
  26235. else
  26236. pTDefRegMap(@Self)^.&set := $00000200;
  26237. end;
  26238. function TUART3_U39STA.getUTXBF : TBits_1; inline;
  26239. begin
  26240. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26241. end;
  26242. procedure TUART3_U39STA.setUTXEN; inline;
  26243. begin
  26244. pTDefRegMap(@Self)^.&set := $00000400;
  26245. end;
  26246. procedure TUART3_U39STA.clearUTXEN; inline;
  26247. begin
  26248. pTDefRegMap(@Self)^.clr := $00000400;
  26249. end;
  26250. procedure TUART3_U39STA.setUTXEN(thebits : TBits_1); inline;
  26251. begin
  26252. if thebits = 0 then
  26253. pTDefRegMap(@Self)^.clr := $00000400
  26254. else
  26255. pTDefRegMap(@Self)^.&set := $00000400;
  26256. end;
  26257. function TUART3_U39STA.getUTXEN : TBits_1; inline;
  26258. begin
  26259. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26260. end;
  26261. procedure TUART3_U39STA.setUTXBRK; inline;
  26262. begin
  26263. pTDefRegMap(@Self)^.&set := $00000800;
  26264. end;
  26265. procedure TUART3_U39STA.clearUTXBRK; inline;
  26266. begin
  26267. pTDefRegMap(@Self)^.clr := $00000800;
  26268. end;
  26269. procedure TUART3_U39STA.setUTXBRK(thebits : TBits_1); inline;
  26270. begin
  26271. if thebits = 0 then
  26272. pTDefRegMap(@Self)^.clr := $00000800
  26273. else
  26274. pTDefRegMap(@Self)^.&set := $00000800;
  26275. end;
  26276. function TUART3_U39STA.getUTXBRK : TBits_1; inline;
  26277. begin
  26278. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26279. end;
  26280. procedure TUART3_U39STA.setURXEN; inline;
  26281. begin
  26282. pTDefRegMap(@Self)^.&set := $00001000;
  26283. end;
  26284. procedure TUART3_U39STA.clearURXEN; inline;
  26285. begin
  26286. pTDefRegMap(@Self)^.clr := $00001000;
  26287. end;
  26288. procedure TUART3_U39STA.setURXEN(thebits : TBits_1); inline;
  26289. begin
  26290. if thebits = 0 then
  26291. pTDefRegMap(@Self)^.clr := $00001000
  26292. else
  26293. pTDefRegMap(@Self)^.&set := $00001000;
  26294. end;
  26295. function TUART3_U39STA.getURXEN : TBits_1; inline;
  26296. begin
  26297. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26298. end;
  26299. procedure TUART3_U39STA.setUTXINV; inline;
  26300. begin
  26301. pTDefRegMap(@Self)^.&set := $00002000;
  26302. end;
  26303. procedure TUART3_U39STA.clearUTXINV; inline;
  26304. begin
  26305. pTDefRegMap(@Self)^.clr := $00002000;
  26306. end;
  26307. procedure TUART3_U39STA.setUTXINV(thebits : TBits_1); inline;
  26308. begin
  26309. if thebits = 0 then
  26310. pTDefRegMap(@Self)^.clr := $00002000
  26311. else
  26312. pTDefRegMap(@Self)^.&set := $00002000;
  26313. end;
  26314. function TUART3_U39STA.getUTXINV : TBits_1; inline;
  26315. begin
  26316. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26317. end;
  26318. procedure TUART3_U39STA.setUTXISEL(thebits : TBits_2); inline;
  26319. begin
  26320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26321. end;
  26322. function TUART3_U39STA.getUTXISEL : TBits_2; inline;
  26323. begin
  26324. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26325. end;
  26326. procedure TUART3_U39STA.setADDR(thebits : TBits_8); inline;
  26327. begin
  26328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  26329. end;
  26330. function TUART3_U39STA.getADDR : TBits_8; inline;
  26331. begin
  26332. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  26333. end;
  26334. procedure TUART3_U39STA.setADM_EN; inline;
  26335. begin
  26336. pTDefRegMap(@Self)^.&set := $01000000;
  26337. end;
  26338. procedure TUART3_U39STA.clearADM_EN; inline;
  26339. begin
  26340. pTDefRegMap(@Self)^.clr := $01000000;
  26341. end;
  26342. procedure TUART3_U39STA.setADM_EN(thebits : TBits_1); inline;
  26343. begin
  26344. if thebits = 0 then
  26345. pTDefRegMap(@Self)^.clr := $01000000
  26346. else
  26347. pTDefRegMap(@Self)^.&set := $01000000;
  26348. end;
  26349. function TUART3_U39STA.getADM_EN : TBits_1; inline;
  26350. begin
  26351. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26352. end;
  26353. procedure TUART3_U39STA.setURXISEL0; inline;
  26354. begin
  26355. pTDefRegMap(@Self)^.&set := $00000040;
  26356. end;
  26357. procedure TUART3_U39STA.clearURXISEL0; inline;
  26358. begin
  26359. pTDefRegMap(@Self)^.clr := $00000040;
  26360. end;
  26361. procedure TUART3_U39STA.setURXISEL0(thebits : TBits_1); inline;
  26362. begin
  26363. if thebits = 0 then
  26364. pTDefRegMap(@Self)^.clr := $00000040
  26365. else
  26366. pTDefRegMap(@Self)^.&set := $00000040;
  26367. end;
  26368. function TUART3_U39STA.getURXISEL0 : TBits_1; inline;
  26369. begin
  26370. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26371. end;
  26372. procedure TUART3_U39STA.setURXISEL1; inline;
  26373. begin
  26374. pTDefRegMap(@Self)^.&set := $00000080;
  26375. end;
  26376. procedure TUART3_U39STA.clearURXISEL1; inline;
  26377. begin
  26378. pTDefRegMap(@Self)^.clr := $00000080;
  26379. end;
  26380. procedure TUART3_U39STA.setURXISEL1(thebits : TBits_1); inline;
  26381. begin
  26382. if thebits = 0 then
  26383. pTDefRegMap(@Self)^.clr := $00000080
  26384. else
  26385. pTDefRegMap(@Self)^.&set := $00000080;
  26386. end;
  26387. function TUART3_U39STA.getURXISEL1 : TBits_1; inline;
  26388. begin
  26389. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26390. end;
  26391. procedure TUART3_U39STA.setUTXISEL0; inline;
  26392. begin
  26393. pTDefRegMap(@Self)^.&set := $00004000;
  26394. end;
  26395. procedure TUART3_U39STA.clearUTXISEL0; inline;
  26396. begin
  26397. pTDefRegMap(@Self)^.clr := $00004000;
  26398. end;
  26399. procedure TUART3_U39STA.setUTXISEL0(thebits : TBits_1); inline;
  26400. begin
  26401. if thebits = 0 then
  26402. pTDefRegMap(@Self)^.clr := $00004000
  26403. else
  26404. pTDefRegMap(@Self)^.&set := $00004000;
  26405. end;
  26406. function TUART3_U39STA.getUTXISEL0 : TBits_1; inline;
  26407. begin
  26408. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26409. end;
  26410. procedure TUART3_U39STA.setUTXISEL1; inline;
  26411. begin
  26412. pTDefRegMap(@Self)^.&set := $00008000;
  26413. end;
  26414. procedure TUART3_U39STA.clearUTXISEL1; inline;
  26415. begin
  26416. pTDefRegMap(@Self)^.clr := $00008000;
  26417. end;
  26418. procedure TUART3_U39STA.setUTXISEL1(thebits : TBits_1); inline;
  26419. begin
  26420. if thebits = 0 then
  26421. pTDefRegMap(@Self)^.clr := $00008000
  26422. else
  26423. pTDefRegMap(@Self)^.&set := $00008000;
  26424. end;
  26425. function TUART3_U39STA.getUTXISEL1 : TBits_1; inline;
  26426. begin
  26427. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26428. end;
  26429. procedure TUART3_U39STA.setUTXSEL(thebits : TBits_2); inline;
  26430. begin
  26431. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26432. end;
  26433. function TUART3_U39STA.getUTXSEL : TBits_2; inline;
  26434. begin
  26435. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26436. end;
  26437. procedure TUART3_U39STA.setw(thebits : TBits_32); inline;
  26438. begin
  26439. pTDefRegMap(@Self)^.val := thebits;
  26440. end;
  26441. function TUART3_U39STA.getw : TBits_32; inline;
  26442. begin
  26443. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26444. end;
  26445. procedure TUART3_U3STA.setURXDA; inline;
  26446. begin
  26447. pTDefRegMap(@Self)^.&set := $00000001;
  26448. end;
  26449. procedure TUART3_U3STA.clearURXDA; inline;
  26450. begin
  26451. pTDefRegMap(@Self)^.clr := $00000001;
  26452. end;
  26453. procedure TUART3_U3STA.setURXDA(thebits : TBits_1); inline;
  26454. begin
  26455. if thebits = 0 then
  26456. pTDefRegMap(@Self)^.clr := $00000001
  26457. else
  26458. pTDefRegMap(@Self)^.&set := $00000001;
  26459. end;
  26460. function TUART3_U3STA.getURXDA : TBits_1; inline;
  26461. begin
  26462. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26463. end;
  26464. procedure TUART3_U3STA.setOERR; inline;
  26465. begin
  26466. pTDefRegMap(@Self)^.&set := $00000002;
  26467. end;
  26468. procedure TUART3_U3STA.clearOERR; inline;
  26469. begin
  26470. pTDefRegMap(@Self)^.clr := $00000002;
  26471. end;
  26472. procedure TUART3_U3STA.setOERR(thebits : TBits_1); inline;
  26473. begin
  26474. if thebits = 0 then
  26475. pTDefRegMap(@Self)^.clr := $00000002
  26476. else
  26477. pTDefRegMap(@Self)^.&set := $00000002;
  26478. end;
  26479. function TUART3_U3STA.getOERR : TBits_1; inline;
  26480. begin
  26481. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26482. end;
  26483. procedure TUART3_U3STA.setFERR; inline;
  26484. begin
  26485. pTDefRegMap(@Self)^.&set := $00000004;
  26486. end;
  26487. procedure TUART3_U3STA.clearFERR; inline;
  26488. begin
  26489. pTDefRegMap(@Self)^.clr := $00000004;
  26490. end;
  26491. procedure TUART3_U3STA.setFERR(thebits : TBits_1); inline;
  26492. begin
  26493. if thebits = 0 then
  26494. pTDefRegMap(@Self)^.clr := $00000004
  26495. else
  26496. pTDefRegMap(@Self)^.&set := $00000004;
  26497. end;
  26498. function TUART3_U3STA.getFERR : TBits_1; inline;
  26499. begin
  26500. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26501. end;
  26502. procedure TUART3_U3STA.setPERR; inline;
  26503. begin
  26504. pTDefRegMap(@Self)^.&set := $00000008;
  26505. end;
  26506. procedure TUART3_U3STA.clearPERR; inline;
  26507. begin
  26508. pTDefRegMap(@Self)^.clr := $00000008;
  26509. end;
  26510. procedure TUART3_U3STA.setPERR(thebits : TBits_1); inline;
  26511. begin
  26512. if thebits = 0 then
  26513. pTDefRegMap(@Self)^.clr := $00000008
  26514. else
  26515. pTDefRegMap(@Self)^.&set := $00000008;
  26516. end;
  26517. function TUART3_U3STA.getPERR : TBits_1; inline;
  26518. begin
  26519. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26520. end;
  26521. procedure TUART3_U3STA.setRIDLE; inline;
  26522. begin
  26523. pTDefRegMap(@Self)^.&set := $00000010;
  26524. end;
  26525. procedure TUART3_U3STA.clearRIDLE; inline;
  26526. begin
  26527. pTDefRegMap(@Self)^.clr := $00000010;
  26528. end;
  26529. procedure TUART3_U3STA.setRIDLE(thebits : TBits_1); inline;
  26530. begin
  26531. if thebits = 0 then
  26532. pTDefRegMap(@Self)^.clr := $00000010
  26533. else
  26534. pTDefRegMap(@Self)^.&set := $00000010;
  26535. end;
  26536. function TUART3_U3STA.getRIDLE : TBits_1; inline;
  26537. begin
  26538. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26539. end;
  26540. procedure TUART3_U3STA.setADDEN; inline;
  26541. begin
  26542. pTDefRegMap(@Self)^.&set := $00000020;
  26543. end;
  26544. procedure TUART3_U3STA.clearADDEN; inline;
  26545. begin
  26546. pTDefRegMap(@Self)^.clr := $00000020;
  26547. end;
  26548. procedure TUART3_U3STA.setADDEN(thebits : TBits_1); inline;
  26549. begin
  26550. if thebits = 0 then
  26551. pTDefRegMap(@Self)^.clr := $00000020
  26552. else
  26553. pTDefRegMap(@Self)^.&set := $00000020;
  26554. end;
  26555. function TUART3_U3STA.getADDEN : TBits_1; inline;
  26556. begin
  26557. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26558. end;
  26559. procedure TUART3_U3STA.setURXISEL(thebits : TBits_2); inline;
  26560. begin
  26561. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  26562. end;
  26563. function TUART3_U3STA.getURXISEL : TBits_2; inline;
  26564. begin
  26565. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  26566. end;
  26567. procedure TUART3_U3STA.setTRMT; inline;
  26568. begin
  26569. pTDefRegMap(@Self)^.&set := $00000100;
  26570. end;
  26571. procedure TUART3_U3STA.clearTRMT; inline;
  26572. begin
  26573. pTDefRegMap(@Self)^.clr := $00000100;
  26574. end;
  26575. procedure TUART3_U3STA.setTRMT(thebits : TBits_1); inline;
  26576. begin
  26577. if thebits = 0 then
  26578. pTDefRegMap(@Self)^.clr := $00000100
  26579. else
  26580. pTDefRegMap(@Self)^.&set := $00000100;
  26581. end;
  26582. function TUART3_U3STA.getTRMT : TBits_1; inline;
  26583. begin
  26584. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26585. end;
  26586. procedure TUART3_U3STA.setUTXBF; inline;
  26587. begin
  26588. pTDefRegMap(@Self)^.&set := $00000200;
  26589. end;
  26590. procedure TUART3_U3STA.clearUTXBF; inline;
  26591. begin
  26592. pTDefRegMap(@Self)^.clr := $00000200;
  26593. end;
  26594. procedure TUART3_U3STA.setUTXBF(thebits : TBits_1); inline;
  26595. begin
  26596. if thebits = 0 then
  26597. pTDefRegMap(@Self)^.clr := $00000200
  26598. else
  26599. pTDefRegMap(@Self)^.&set := $00000200;
  26600. end;
  26601. function TUART3_U3STA.getUTXBF : TBits_1; inline;
  26602. begin
  26603. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26604. end;
  26605. procedure TUART3_U3STA.setUTXEN; inline;
  26606. begin
  26607. pTDefRegMap(@Self)^.&set := $00000400;
  26608. end;
  26609. procedure TUART3_U3STA.clearUTXEN; inline;
  26610. begin
  26611. pTDefRegMap(@Self)^.clr := $00000400;
  26612. end;
  26613. procedure TUART3_U3STA.setUTXEN(thebits : TBits_1); inline;
  26614. begin
  26615. if thebits = 0 then
  26616. pTDefRegMap(@Self)^.clr := $00000400
  26617. else
  26618. pTDefRegMap(@Self)^.&set := $00000400;
  26619. end;
  26620. function TUART3_U3STA.getUTXEN : TBits_1; inline;
  26621. begin
  26622. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26623. end;
  26624. procedure TUART3_U3STA.setUTXBRK; inline;
  26625. begin
  26626. pTDefRegMap(@Self)^.&set := $00000800;
  26627. end;
  26628. procedure TUART3_U3STA.clearUTXBRK; inline;
  26629. begin
  26630. pTDefRegMap(@Self)^.clr := $00000800;
  26631. end;
  26632. procedure TUART3_U3STA.setUTXBRK(thebits : TBits_1); inline;
  26633. begin
  26634. if thebits = 0 then
  26635. pTDefRegMap(@Self)^.clr := $00000800
  26636. else
  26637. pTDefRegMap(@Self)^.&set := $00000800;
  26638. end;
  26639. function TUART3_U3STA.getUTXBRK : TBits_1; inline;
  26640. begin
  26641. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26642. end;
  26643. procedure TUART3_U3STA.setURXEN; inline;
  26644. begin
  26645. pTDefRegMap(@Self)^.&set := $00001000;
  26646. end;
  26647. procedure TUART3_U3STA.clearURXEN; inline;
  26648. begin
  26649. pTDefRegMap(@Self)^.clr := $00001000;
  26650. end;
  26651. procedure TUART3_U3STA.setURXEN(thebits : TBits_1); inline;
  26652. begin
  26653. if thebits = 0 then
  26654. pTDefRegMap(@Self)^.clr := $00001000
  26655. else
  26656. pTDefRegMap(@Self)^.&set := $00001000;
  26657. end;
  26658. function TUART3_U3STA.getURXEN : TBits_1; inline;
  26659. begin
  26660. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26661. end;
  26662. procedure TUART3_U3STA.setUTXINV; inline;
  26663. begin
  26664. pTDefRegMap(@Self)^.&set := $00002000;
  26665. end;
  26666. procedure TUART3_U3STA.clearUTXINV; inline;
  26667. begin
  26668. pTDefRegMap(@Self)^.clr := $00002000;
  26669. end;
  26670. procedure TUART3_U3STA.setUTXINV(thebits : TBits_1); inline;
  26671. begin
  26672. if thebits = 0 then
  26673. pTDefRegMap(@Self)^.clr := $00002000
  26674. else
  26675. pTDefRegMap(@Self)^.&set := $00002000;
  26676. end;
  26677. function TUART3_U3STA.getUTXINV : TBits_1; inline;
  26678. begin
  26679. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26680. end;
  26681. procedure TUART3_U3STA.setUTXISEL(thebits : TBits_2); inline;
  26682. begin
  26683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26684. end;
  26685. function TUART3_U3STA.getUTXISEL : TBits_2; inline;
  26686. begin
  26687. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26688. end;
  26689. procedure TUART3_U3STA.setADDR(thebits : TBits_8); inline;
  26690. begin
  26691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  26692. end;
  26693. function TUART3_U3STA.getADDR : TBits_8; inline;
  26694. begin
  26695. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  26696. end;
  26697. procedure TUART3_U3STA.setADM_EN; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.&set := $01000000;
  26700. end;
  26701. procedure TUART3_U3STA.clearADM_EN; inline;
  26702. begin
  26703. pTDefRegMap(@Self)^.clr := $01000000;
  26704. end;
  26705. procedure TUART3_U3STA.setADM_EN(thebits : TBits_1); inline;
  26706. begin
  26707. if thebits = 0 then
  26708. pTDefRegMap(@Self)^.clr := $01000000
  26709. else
  26710. pTDefRegMap(@Self)^.&set := $01000000;
  26711. end;
  26712. function TUART3_U3STA.getADM_EN : TBits_1; inline;
  26713. begin
  26714. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26715. end;
  26716. procedure TUART3_U3STA.setURXISEL0; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.&set := $00000040;
  26719. end;
  26720. procedure TUART3_U3STA.clearURXISEL0; inline;
  26721. begin
  26722. pTDefRegMap(@Self)^.clr := $00000040;
  26723. end;
  26724. procedure TUART3_U3STA.setURXISEL0(thebits : TBits_1); inline;
  26725. begin
  26726. if thebits = 0 then
  26727. pTDefRegMap(@Self)^.clr := $00000040
  26728. else
  26729. pTDefRegMap(@Self)^.&set := $00000040;
  26730. end;
  26731. function TUART3_U3STA.getURXISEL0 : TBits_1; inline;
  26732. begin
  26733. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26734. end;
  26735. procedure TUART3_U3STA.setURXISEL1; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.&set := $00000080;
  26738. end;
  26739. procedure TUART3_U3STA.clearURXISEL1; inline;
  26740. begin
  26741. pTDefRegMap(@Self)^.clr := $00000080;
  26742. end;
  26743. procedure TUART3_U3STA.setURXISEL1(thebits : TBits_1); inline;
  26744. begin
  26745. if thebits = 0 then
  26746. pTDefRegMap(@Self)^.clr := $00000080
  26747. else
  26748. pTDefRegMap(@Self)^.&set := $00000080;
  26749. end;
  26750. function TUART3_U3STA.getURXISEL1 : TBits_1; inline;
  26751. begin
  26752. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26753. end;
  26754. procedure TUART3_U3STA.setUTXISEL0; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.&set := $00004000;
  26757. end;
  26758. procedure TUART3_U3STA.clearUTXISEL0; inline;
  26759. begin
  26760. pTDefRegMap(@Self)^.clr := $00004000;
  26761. end;
  26762. procedure TUART3_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  26763. begin
  26764. if thebits = 0 then
  26765. pTDefRegMap(@Self)^.clr := $00004000
  26766. else
  26767. pTDefRegMap(@Self)^.&set := $00004000;
  26768. end;
  26769. function TUART3_U3STA.getUTXISEL0 : TBits_1; inline;
  26770. begin
  26771. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26772. end;
  26773. procedure TUART3_U3STA.setUTXISEL1; inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.&set := $00008000;
  26776. end;
  26777. procedure TUART3_U3STA.clearUTXISEL1; inline;
  26778. begin
  26779. pTDefRegMap(@Self)^.clr := $00008000;
  26780. end;
  26781. procedure TUART3_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  26782. begin
  26783. if thebits = 0 then
  26784. pTDefRegMap(@Self)^.clr := $00008000
  26785. else
  26786. pTDefRegMap(@Self)^.&set := $00008000;
  26787. end;
  26788. function TUART3_U3STA.getUTXISEL1 : TBits_1; inline;
  26789. begin
  26790. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26791. end;
  26792. procedure TUART3_U3STA.setUTXSEL(thebits : TBits_2); inline;
  26793. begin
  26794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26795. end;
  26796. function TUART3_U3STA.getUTXSEL : TBits_2; inline;
  26797. begin
  26798. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26799. end;
  26800. procedure TUART3_U3STA.setw(thebits : TBits_32); inline;
  26801. begin
  26802. pTDefRegMap(@Self)^.val := thebits;
  26803. end;
  26804. function TUART3_U3STA.getw : TBits_32; inline;
  26805. begin
  26806. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26807. end;
  26808. procedure TUART4_U4MODE.setSTSEL; inline;
  26809. begin
  26810. pTDefRegMap(@Self)^.&set := $00000001;
  26811. end;
  26812. procedure TUART4_U4MODE.clearSTSEL; inline;
  26813. begin
  26814. pTDefRegMap(@Self)^.clr := $00000001;
  26815. end;
  26816. procedure TUART4_U4MODE.setSTSEL(thebits : TBits_1); inline;
  26817. begin
  26818. if thebits = 0 then
  26819. pTDefRegMap(@Self)^.clr := $00000001
  26820. else
  26821. pTDefRegMap(@Self)^.&set := $00000001;
  26822. end;
  26823. function TUART4_U4MODE.getSTSEL : TBits_1; inline;
  26824. begin
  26825. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26826. end;
  26827. procedure TUART4_U4MODE.setPDSEL(thebits : TBits_2); inline;
  26828. begin
  26829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  26830. end;
  26831. function TUART4_U4MODE.getPDSEL : TBits_2; inline;
  26832. begin
  26833. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  26834. end;
  26835. procedure TUART4_U4MODE.setBRGH; inline;
  26836. begin
  26837. pTDefRegMap(@Self)^.&set := $00000008;
  26838. end;
  26839. procedure TUART4_U4MODE.clearBRGH; inline;
  26840. begin
  26841. pTDefRegMap(@Self)^.clr := $00000008;
  26842. end;
  26843. procedure TUART4_U4MODE.setBRGH(thebits : TBits_1); inline;
  26844. begin
  26845. if thebits = 0 then
  26846. pTDefRegMap(@Self)^.clr := $00000008
  26847. else
  26848. pTDefRegMap(@Self)^.&set := $00000008;
  26849. end;
  26850. function TUART4_U4MODE.getBRGH : TBits_1; inline;
  26851. begin
  26852. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26853. end;
  26854. procedure TUART4_U4MODE.setRXINV; inline;
  26855. begin
  26856. pTDefRegMap(@Self)^.&set := $00000010;
  26857. end;
  26858. procedure TUART4_U4MODE.clearRXINV; inline;
  26859. begin
  26860. pTDefRegMap(@Self)^.clr := $00000010;
  26861. end;
  26862. procedure TUART4_U4MODE.setRXINV(thebits : TBits_1); inline;
  26863. begin
  26864. if thebits = 0 then
  26865. pTDefRegMap(@Self)^.clr := $00000010
  26866. else
  26867. pTDefRegMap(@Self)^.&set := $00000010;
  26868. end;
  26869. function TUART4_U4MODE.getRXINV : TBits_1; inline;
  26870. begin
  26871. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26872. end;
  26873. procedure TUART4_U4MODE.setABAUD; inline;
  26874. begin
  26875. pTDefRegMap(@Self)^.&set := $00000020;
  26876. end;
  26877. procedure TUART4_U4MODE.clearABAUD; inline;
  26878. begin
  26879. pTDefRegMap(@Self)^.clr := $00000020;
  26880. end;
  26881. procedure TUART4_U4MODE.setABAUD(thebits : TBits_1); inline;
  26882. begin
  26883. if thebits = 0 then
  26884. pTDefRegMap(@Self)^.clr := $00000020
  26885. else
  26886. pTDefRegMap(@Self)^.&set := $00000020;
  26887. end;
  26888. function TUART4_U4MODE.getABAUD : TBits_1; inline;
  26889. begin
  26890. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26891. end;
  26892. procedure TUART4_U4MODE.setLPBACK; inline;
  26893. begin
  26894. pTDefRegMap(@Self)^.&set := $00000040;
  26895. end;
  26896. procedure TUART4_U4MODE.clearLPBACK; inline;
  26897. begin
  26898. pTDefRegMap(@Self)^.clr := $00000040;
  26899. end;
  26900. procedure TUART4_U4MODE.setLPBACK(thebits : TBits_1); inline;
  26901. begin
  26902. if thebits = 0 then
  26903. pTDefRegMap(@Self)^.clr := $00000040
  26904. else
  26905. pTDefRegMap(@Self)^.&set := $00000040;
  26906. end;
  26907. function TUART4_U4MODE.getLPBACK : TBits_1; inline;
  26908. begin
  26909. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26910. end;
  26911. procedure TUART4_U4MODE.setWAKE; inline;
  26912. begin
  26913. pTDefRegMap(@Self)^.&set := $00000080;
  26914. end;
  26915. procedure TUART4_U4MODE.clearWAKE; inline;
  26916. begin
  26917. pTDefRegMap(@Self)^.clr := $00000080;
  26918. end;
  26919. procedure TUART4_U4MODE.setWAKE(thebits : TBits_1); inline;
  26920. begin
  26921. if thebits = 0 then
  26922. pTDefRegMap(@Self)^.clr := $00000080
  26923. else
  26924. pTDefRegMap(@Self)^.&set := $00000080;
  26925. end;
  26926. function TUART4_U4MODE.getWAKE : TBits_1; inline;
  26927. begin
  26928. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26929. end;
  26930. procedure TUART4_U4MODE.setUEN(thebits : TBits_2); inline;
  26931. begin
  26932. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  26933. end;
  26934. function TUART4_U4MODE.getUEN : TBits_2; inline;
  26935. begin
  26936. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  26937. end;
  26938. procedure TUART4_U4MODE.setRTSMD; inline;
  26939. begin
  26940. pTDefRegMap(@Self)^.&set := $00000800;
  26941. end;
  26942. procedure TUART4_U4MODE.clearRTSMD; inline;
  26943. begin
  26944. pTDefRegMap(@Self)^.clr := $00000800;
  26945. end;
  26946. procedure TUART4_U4MODE.setRTSMD(thebits : TBits_1); inline;
  26947. begin
  26948. if thebits = 0 then
  26949. pTDefRegMap(@Self)^.clr := $00000800
  26950. else
  26951. pTDefRegMap(@Self)^.&set := $00000800;
  26952. end;
  26953. function TUART4_U4MODE.getRTSMD : TBits_1; inline;
  26954. begin
  26955. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26956. end;
  26957. procedure TUART4_U4MODE.setIREN; inline;
  26958. begin
  26959. pTDefRegMap(@Self)^.&set := $00001000;
  26960. end;
  26961. procedure TUART4_U4MODE.clearIREN; inline;
  26962. begin
  26963. pTDefRegMap(@Self)^.clr := $00001000;
  26964. end;
  26965. procedure TUART4_U4MODE.setIREN(thebits : TBits_1); inline;
  26966. begin
  26967. if thebits = 0 then
  26968. pTDefRegMap(@Self)^.clr := $00001000
  26969. else
  26970. pTDefRegMap(@Self)^.&set := $00001000;
  26971. end;
  26972. function TUART4_U4MODE.getIREN : TBits_1; inline;
  26973. begin
  26974. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26975. end;
  26976. procedure TUART4_U4MODE.setSIDL; inline;
  26977. begin
  26978. pTDefRegMap(@Self)^.&set := $00002000;
  26979. end;
  26980. procedure TUART4_U4MODE.clearSIDL; inline;
  26981. begin
  26982. pTDefRegMap(@Self)^.clr := $00002000;
  26983. end;
  26984. procedure TUART4_U4MODE.setSIDL(thebits : TBits_1); inline;
  26985. begin
  26986. if thebits = 0 then
  26987. pTDefRegMap(@Self)^.clr := $00002000
  26988. else
  26989. pTDefRegMap(@Self)^.&set := $00002000;
  26990. end;
  26991. function TUART4_U4MODE.getSIDL : TBits_1; inline;
  26992. begin
  26993. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26994. end;
  26995. procedure TUART4_U4MODE.setON; inline;
  26996. begin
  26997. pTDefRegMap(@Self)^.&set := $00008000;
  26998. end;
  26999. procedure TUART4_U4MODE.clearON; inline;
  27000. begin
  27001. pTDefRegMap(@Self)^.clr := $00008000;
  27002. end;
  27003. procedure TUART4_U4MODE.setON(thebits : TBits_1); inline;
  27004. begin
  27005. if thebits = 0 then
  27006. pTDefRegMap(@Self)^.clr := $00008000
  27007. else
  27008. pTDefRegMap(@Self)^.&set := $00008000;
  27009. end;
  27010. function TUART4_U4MODE.getON : TBits_1; inline;
  27011. begin
  27012. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27013. end;
  27014. procedure TUART4_U4MODE.setPDSEL0; inline;
  27015. begin
  27016. pTDefRegMap(@Self)^.&set := $00000002;
  27017. end;
  27018. procedure TUART4_U4MODE.clearPDSEL0; inline;
  27019. begin
  27020. pTDefRegMap(@Self)^.clr := $00000002;
  27021. end;
  27022. procedure TUART4_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  27023. begin
  27024. if thebits = 0 then
  27025. pTDefRegMap(@Self)^.clr := $00000002
  27026. else
  27027. pTDefRegMap(@Self)^.&set := $00000002;
  27028. end;
  27029. function TUART4_U4MODE.getPDSEL0 : TBits_1; inline;
  27030. begin
  27031. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27032. end;
  27033. procedure TUART4_U4MODE.setPDSEL1; inline;
  27034. begin
  27035. pTDefRegMap(@Self)^.&set := $00000004;
  27036. end;
  27037. procedure TUART4_U4MODE.clearPDSEL1; inline;
  27038. begin
  27039. pTDefRegMap(@Self)^.clr := $00000004;
  27040. end;
  27041. procedure TUART4_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  27042. begin
  27043. if thebits = 0 then
  27044. pTDefRegMap(@Self)^.clr := $00000004
  27045. else
  27046. pTDefRegMap(@Self)^.&set := $00000004;
  27047. end;
  27048. function TUART4_U4MODE.getPDSEL1 : TBits_1; inline;
  27049. begin
  27050. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27051. end;
  27052. procedure TUART4_U4MODE.setUEN0; inline;
  27053. begin
  27054. pTDefRegMap(@Self)^.&set := $00000100;
  27055. end;
  27056. procedure TUART4_U4MODE.clearUEN0; inline;
  27057. begin
  27058. pTDefRegMap(@Self)^.clr := $00000100;
  27059. end;
  27060. procedure TUART4_U4MODE.setUEN0(thebits : TBits_1); inline;
  27061. begin
  27062. if thebits = 0 then
  27063. pTDefRegMap(@Self)^.clr := $00000100
  27064. else
  27065. pTDefRegMap(@Self)^.&set := $00000100;
  27066. end;
  27067. function TUART4_U4MODE.getUEN0 : TBits_1; inline;
  27068. begin
  27069. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27070. end;
  27071. procedure TUART4_U4MODE.setUEN1; inline;
  27072. begin
  27073. pTDefRegMap(@Self)^.&set := $00000200;
  27074. end;
  27075. procedure TUART4_U4MODE.clearUEN1; inline;
  27076. begin
  27077. pTDefRegMap(@Self)^.clr := $00000200;
  27078. end;
  27079. procedure TUART4_U4MODE.setUEN1(thebits : TBits_1); inline;
  27080. begin
  27081. if thebits = 0 then
  27082. pTDefRegMap(@Self)^.clr := $00000200
  27083. else
  27084. pTDefRegMap(@Self)^.&set := $00000200;
  27085. end;
  27086. function TUART4_U4MODE.getUEN1 : TBits_1; inline;
  27087. begin
  27088. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27089. end;
  27090. procedure TUART4_U4MODE.setUSIDL; inline;
  27091. begin
  27092. pTDefRegMap(@Self)^.&set := $00002000;
  27093. end;
  27094. procedure TUART4_U4MODE.clearUSIDL; inline;
  27095. begin
  27096. pTDefRegMap(@Self)^.clr := $00002000;
  27097. end;
  27098. procedure TUART4_U4MODE.setUSIDL(thebits : TBits_1); inline;
  27099. begin
  27100. if thebits = 0 then
  27101. pTDefRegMap(@Self)^.clr := $00002000
  27102. else
  27103. pTDefRegMap(@Self)^.&set := $00002000;
  27104. end;
  27105. function TUART4_U4MODE.getUSIDL : TBits_1; inline;
  27106. begin
  27107. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27108. end;
  27109. procedure TUART4_U4MODE.setUARTEN; inline;
  27110. begin
  27111. pTDefRegMap(@Self)^.&set := $00008000;
  27112. end;
  27113. procedure TUART4_U4MODE.clearUARTEN; inline;
  27114. begin
  27115. pTDefRegMap(@Self)^.clr := $00008000;
  27116. end;
  27117. procedure TUART4_U4MODE.setUARTEN(thebits : TBits_1); inline;
  27118. begin
  27119. if thebits = 0 then
  27120. pTDefRegMap(@Self)^.clr := $00008000
  27121. else
  27122. pTDefRegMap(@Self)^.&set := $00008000;
  27123. end;
  27124. function TUART4_U4MODE.getUARTEN : TBits_1; inline;
  27125. begin
  27126. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27127. end;
  27128. procedure TUART4_U4MODE.setw(thebits : TBits_32); inline;
  27129. begin
  27130. pTDefRegMap(@Self)^.val := thebits;
  27131. end;
  27132. function TUART4_U4MODE.getw : TBits_32; inline;
  27133. begin
  27134. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27135. end;
  27136. procedure TUART4_UodMODE.setSTSEL; inline;
  27137. begin
  27138. pTDefRegMap(@Self)^.&set := $00000001;
  27139. end;
  27140. procedure TUART4_UodMODE.clearSTSEL; inline;
  27141. begin
  27142. pTDefRegMap(@Self)^.clr := $00000001;
  27143. end;
  27144. procedure TUART4_UodMODE.setSTSEL(thebits : TBits_1); inline;
  27145. begin
  27146. if thebits = 0 then
  27147. pTDefRegMap(@Self)^.clr := $00000001
  27148. else
  27149. pTDefRegMap(@Self)^.&set := $00000001;
  27150. end;
  27151. function TUART4_UodMODE.getSTSEL : TBits_1; inline;
  27152. begin
  27153. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27154. end;
  27155. procedure TUART4_UodMODE.setPDSEL(thebits : TBits_2); inline;
  27156. begin
  27157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  27158. end;
  27159. function TUART4_UodMODE.getPDSEL : TBits_2; inline;
  27160. begin
  27161. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  27162. end;
  27163. procedure TUART4_UodMODE.setBRGH; inline;
  27164. begin
  27165. pTDefRegMap(@Self)^.&set := $00000008;
  27166. end;
  27167. procedure TUART4_UodMODE.clearBRGH; inline;
  27168. begin
  27169. pTDefRegMap(@Self)^.clr := $00000008;
  27170. end;
  27171. procedure TUART4_UodMODE.setBRGH(thebits : TBits_1); inline;
  27172. begin
  27173. if thebits = 0 then
  27174. pTDefRegMap(@Self)^.clr := $00000008
  27175. else
  27176. pTDefRegMap(@Self)^.&set := $00000008;
  27177. end;
  27178. function TUART4_UodMODE.getBRGH : TBits_1; inline;
  27179. begin
  27180. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27181. end;
  27182. procedure TUART4_UodMODE.setRXINV; inline;
  27183. begin
  27184. pTDefRegMap(@Self)^.&set := $00000010;
  27185. end;
  27186. procedure TUART4_UodMODE.clearRXINV; inline;
  27187. begin
  27188. pTDefRegMap(@Self)^.clr := $00000010;
  27189. end;
  27190. procedure TUART4_UodMODE.setRXINV(thebits : TBits_1); inline;
  27191. begin
  27192. if thebits = 0 then
  27193. pTDefRegMap(@Self)^.clr := $00000010
  27194. else
  27195. pTDefRegMap(@Self)^.&set := $00000010;
  27196. end;
  27197. function TUART4_UodMODE.getRXINV : TBits_1; inline;
  27198. begin
  27199. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27200. end;
  27201. procedure TUART4_UodMODE.setABAUD; inline;
  27202. begin
  27203. pTDefRegMap(@Self)^.&set := $00000020;
  27204. end;
  27205. procedure TUART4_UodMODE.clearABAUD; inline;
  27206. begin
  27207. pTDefRegMap(@Self)^.clr := $00000020;
  27208. end;
  27209. procedure TUART4_UodMODE.setABAUD(thebits : TBits_1); inline;
  27210. begin
  27211. if thebits = 0 then
  27212. pTDefRegMap(@Self)^.clr := $00000020
  27213. else
  27214. pTDefRegMap(@Self)^.&set := $00000020;
  27215. end;
  27216. function TUART4_UodMODE.getABAUD : TBits_1; inline;
  27217. begin
  27218. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27219. end;
  27220. procedure TUART4_UodMODE.setLPBACK; inline;
  27221. begin
  27222. pTDefRegMap(@Self)^.&set := $00000040;
  27223. end;
  27224. procedure TUART4_UodMODE.clearLPBACK; inline;
  27225. begin
  27226. pTDefRegMap(@Self)^.clr := $00000040;
  27227. end;
  27228. procedure TUART4_UodMODE.setLPBACK(thebits : TBits_1); inline;
  27229. begin
  27230. if thebits = 0 then
  27231. pTDefRegMap(@Self)^.clr := $00000040
  27232. else
  27233. pTDefRegMap(@Self)^.&set := $00000040;
  27234. end;
  27235. function TUART4_UodMODE.getLPBACK : TBits_1; inline;
  27236. begin
  27237. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27238. end;
  27239. procedure TUART4_UodMODE.setWAKE; inline;
  27240. begin
  27241. pTDefRegMap(@Self)^.&set := $00000080;
  27242. end;
  27243. procedure TUART4_UodMODE.clearWAKE; inline;
  27244. begin
  27245. pTDefRegMap(@Self)^.clr := $00000080;
  27246. end;
  27247. procedure TUART4_UodMODE.setWAKE(thebits : TBits_1); inline;
  27248. begin
  27249. if thebits = 0 then
  27250. pTDefRegMap(@Self)^.clr := $00000080
  27251. else
  27252. pTDefRegMap(@Self)^.&set := $00000080;
  27253. end;
  27254. function TUART4_UodMODE.getWAKE : TBits_1; inline;
  27255. begin
  27256. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27257. end;
  27258. procedure TUART4_UodMODE.setUEN(thebits : TBits_2); inline;
  27259. begin
  27260. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  27261. end;
  27262. function TUART4_UodMODE.getUEN : TBits_2; inline;
  27263. begin
  27264. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  27265. end;
  27266. procedure TUART4_UodMODE.setRTSMD; inline;
  27267. begin
  27268. pTDefRegMap(@Self)^.&set := $00000800;
  27269. end;
  27270. procedure TUART4_UodMODE.clearRTSMD; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.clr := $00000800;
  27273. end;
  27274. procedure TUART4_UodMODE.setRTSMD(thebits : TBits_1); inline;
  27275. begin
  27276. if thebits = 0 then
  27277. pTDefRegMap(@Self)^.clr := $00000800
  27278. else
  27279. pTDefRegMap(@Self)^.&set := $00000800;
  27280. end;
  27281. function TUART4_UodMODE.getRTSMD : TBits_1; inline;
  27282. begin
  27283. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27284. end;
  27285. procedure TUART4_UodMODE.setIREN; inline;
  27286. begin
  27287. pTDefRegMap(@Self)^.&set := $00001000;
  27288. end;
  27289. procedure TUART4_UodMODE.clearIREN; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.clr := $00001000;
  27292. end;
  27293. procedure TUART4_UodMODE.setIREN(thebits : TBits_1); inline;
  27294. begin
  27295. if thebits = 0 then
  27296. pTDefRegMap(@Self)^.clr := $00001000
  27297. else
  27298. pTDefRegMap(@Self)^.&set := $00001000;
  27299. end;
  27300. function TUART4_UodMODE.getIREN : TBits_1; inline;
  27301. begin
  27302. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27303. end;
  27304. procedure TUART4_UodMODE.setSIDL; inline;
  27305. begin
  27306. pTDefRegMap(@Self)^.&set := $00002000;
  27307. end;
  27308. procedure TUART4_UodMODE.clearSIDL; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.clr := $00002000;
  27311. end;
  27312. procedure TUART4_UodMODE.setSIDL(thebits : TBits_1); inline;
  27313. begin
  27314. if thebits = 0 then
  27315. pTDefRegMap(@Self)^.clr := $00002000
  27316. else
  27317. pTDefRegMap(@Self)^.&set := $00002000;
  27318. end;
  27319. function TUART4_UodMODE.getSIDL : TBits_1; inline;
  27320. begin
  27321. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27322. end;
  27323. procedure TUART4_UodMODE.setON; inline;
  27324. begin
  27325. pTDefRegMap(@Self)^.&set := $00008000;
  27326. end;
  27327. procedure TUART4_UodMODE.clearON; inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.clr := $00008000;
  27330. end;
  27331. procedure TUART4_UodMODE.setON(thebits : TBits_1); inline;
  27332. begin
  27333. if thebits = 0 then
  27334. pTDefRegMap(@Self)^.clr := $00008000
  27335. else
  27336. pTDefRegMap(@Self)^.&set := $00008000;
  27337. end;
  27338. function TUART4_UodMODE.getON : TBits_1; inline;
  27339. begin
  27340. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27341. end;
  27342. procedure TUART4_UodMODE.setPDSEL0; inline;
  27343. begin
  27344. pTDefRegMap(@Self)^.&set := $00000002;
  27345. end;
  27346. procedure TUART4_UodMODE.clearPDSEL0; inline;
  27347. begin
  27348. pTDefRegMap(@Self)^.clr := $00000002;
  27349. end;
  27350. procedure TUART4_UodMODE.setPDSEL0(thebits : TBits_1); inline;
  27351. begin
  27352. if thebits = 0 then
  27353. pTDefRegMap(@Self)^.clr := $00000002
  27354. else
  27355. pTDefRegMap(@Self)^.&set := $00000002;
  27356. end;
  27357. function TUART4_UodMODE.getPDSEL0 : TBits_1; inline;
  27358. begin
  27359. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27360. end;
  27361. procedure TUART4_UodMODE.setPDSEL1; inline;
  27362. begin
  27363. pTDefRegMap(@Self)^.&set := $00000004;
  27364. end;
  27365. procedure TUART4_UodMODE.clearPDSEL1; inline;
  27366. begin
  27367. pTDefRegMap(@Self)^.clr := $00000004;
  27368. end;
  27369. procedure TUART4_UodMODE.setPDSEL1(thebits : TBits_1); inline;
  27370. begin
  27371. if thebits = 0 then
  27372. pTDefRegMap(@Self)^.clr := $00000004
  27373. else
  27374. pTDefRegMap(@Self)^.&set := $00000004;
  27375. end;
  27376. function TUART4_UodMODE.getPDSEL1 : TBits_1; inline;
  27377. begin
  27378. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27379. end;
  27380. procedure TUART4_UodMODE.setUEN0; inline;
  27381. begin
  27382. pTDefRegMap(@Self)^.&set := $00000100;
  27383. end;
  27384. procedure TUART4_UodMODE.clearUEN0; inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.clr := $00000100;
  27387. end;
  27388. procedure TUART4_UodMODE.setUEN0(thebits : TBits_1); inline;
  27389. begin
  27390. if thebits = 0 then
  27391. pTDefRegMap(@Self)^.clr := $00000100
  27392. else
  27393. pTDefRegMap(@Self)^.&set := $00000100;
  27394. end;
  27395. function TUART4_UodMODE.getUEN0 : TBits_1; inline;
  27396. begin
  27397. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27398. end;
  27399. procedure TUART4_UodMODE.setUEN1; inline;
  27400. begin
  27401. pTDefRegMap(@Self)^.&set := $00000200;
  27402. end;
  27403. procedure TUART4_UodMODE.clearUEN1; inline;
  27404. begin
  27405. pTDefRegMap(@Self)^.clr := $00000200;
  27406. end;
  27407. procedure TUART4_UodMODE.setUEN1(thebits : TBits_1); inline;
  27408. begin
  27409. if thebits = 0 then
  27410. pTDefRegMap(@Self)^.clr := $00000200
  27411. else
  27412. pTDefRegMap(@Self)^.&set := $00000200;
  27413. end;
  27414. function TUART4_UodMODE.getUEN1 : TBits_1; inline;
  27415. begin
  27416. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27417. end;
  27418. procedure TUART4_UodMODE.setUSIDL; inline;
  27419. begin
  27420. pTDefRegMap(@Self)^.&set := $00002000;
  27421. end;
  27422. procedure TUART4_UodMODE.clearUSIDL; inline;
  27423. begin
  27424. pTDefRegMap(@Self)^.clr := $00002000;
  27425. end;
  27426. procedure TUART4_UodMODE.setUSIDL(thebits : TBits_1); inline;
  27427. begin
  27428. if thebits = 0 then
  27429. pTDefRegMap(@Self)^.clr := $00002000
  27430. else
  27431. pTDefRegMap(@Self)^.&set := $00002000;
  27432. end;
  27433. function TUART4_UodMODE.getUSIDL : TBits_1; inline;
  27434. begin
  27435. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27436. end;
  27437. procedure TUART4_UodMODE.setUARTEN; inline;
  27438. begin
  27439. pTDefRegMap(@Self)^.&set := $00008000;
  27440. end;
  27441. procedure TUART4_UodMODE.clearUARTEN; inline;
  27442. begin
  27443. pTDefRegMap(@Self)^.clr := $00008000;
  27444. end;
  27445. procedure TUART4_UodMODE.setUARTEN(thebits : TBits_1); inline;
  27446. begin
  27447. if thebits = 0 then
  27448. pTDefRegMap(@Self)^.clr := $00008000
  27449. else
  27450. pTDefRegMap(@Self)^.&set := $00008000;
  27451. end;
  27452. function TUART4_UodMODE.getUARTEN : TBits_1; inline;
  27453. begin
  27454. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27455. end;
  27456. procedure TUART4_UodMODE.setw(thebits : TBits_32); inline;
  27457. begin
  27458. pTDefRegMap(@Self)^.val := thebits;
  27459. end;
  27460. function TUART4_UodMODE.getw : TBits_32; inline;
  27461. begin
  27462. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27463. end;
  27464. procedure TUART4_U4STA.setURXDA; inline;
  27465. begin
  27466. pTDefRegMap(@Self)^.&set := $00000001;
  27467. end;
  27468. procedure TUART4_U4STA.clearURXDA; inline;
  27469. begin
  27470. pTDefRegMap(@Self)^.clr := $00000001;
  27471. end;
  27472. procedure TUART4_U4STA.setURXDA(thebits : TBits_1); inline;
  27473. begin
  27474. if thebits = 0 then
  27475. pTDefRegMap(@Self)^.clr := $00000001
  27476. else
  27477. pTDefRegMap(@Self)^.&set := $00000001;
  27478. end;
  27479. function TUART4_U4STA.getURXDA : TBits_1; inline;
  27480. begin
  27481. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27482. end;
  27483. procedure TUART4_U4STA.setOERR; inline;
  27484. begin
  27485. pTDefRegMap(@Self)^.&set := $00000002;
  27486. end;
  27487. procedure TUART4_U4STA.clearOERR; inline;
  27488. begin
  27489. pTDefRegMap(@Self)^.clr := $00000002;
  27490. end;
  27491. procedure TUART4_U4STA.setOERR(thebits : TBits_1); inline;
  27492. begin
  27493. if thebits = 0 then
  27494. pTDefRegMap(@Self)^.clr := $00000002
  27495. else
  27496. pTDefRegMap(@Self)^.&set := $00000002;
  27497. end;
  27498. function TUART4_U4STA.getOERR : TBits_1; inline;
  27499. begin
  27500. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27501. end;
  27502. procedure TUART4_U4STA.setFERR; inline;
  27503. begin
  27504. pTDefRegMap(@Self)^.&set := $00000004;
  27505. end;
  27506. procedure TUART4_U4STA.clearFERR; inline;
  27507. begin
  27508. pTDefRegMap(@Self)^.clr := $00000004;
  27509. end;
  27510. procedure TUART4_U4STA.setFERR(thebits : TBits_1); inline;
  27511. begin
  27512. if thebits = 0 then
  27513. pTDefRegMap(@Self)^.clr := $00000004
  27514. else
  27515. pTDefRegMap(@Self)^.&set := $00000004;
  27516. end;
  27517. function TUART4_U4STA.getFERR : TBits_1; inline;
  27518. begin
  27519. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27520. end;
  27521. procedure TUART4_U4STA.setPERR; inline;
  27522. begin
  27523. pTDefRegMap(@Self)^.&set := $00000008;
  27524. end;
  27525. procedure TUART4_U4STA.clearPERR; inline;
  27526. begin
  27527. pTDefRegMap(@Self)^.clr := $00000008;
  27528. end;
  27529. procedure TUART4_U4STA.setPERR(thebits : TBits_1); inline;
  27530. begin
  27531. if thebits = 0 then
  27532. pTDefRegMap(@Self)^.clr := $00000008
  27533. else
  27534. pTDefRegMap(@Self)^.&set := $00000008;
  27535. end;
  27536. function TUART4_U4STA.getPERR : TBits_1; inline;
  27537. begin
  27538. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27539. end;
  27540. procedure TUART4_U4STA.setRIDLE; inline;
  27541. begin
  27542. pTDefRegMap(@Self)^.&set := $00000010;
  27543. end;
  27544. procedure TUART4_U4STA.clearRIDLE; inline;
  27545. begin
  27546. pTDefRegMap(@Self)^.clr := $00000010;
  27547. end;
  27548. procedure TUART4_U4STA.setRIDLE(thebits : TBits_1); inline;
  27549. begin
  27550. if thebits = 0 then
  27551. pTDefRegMap(@Self)^.clr := $00000010
  27552. else
  27553. pTDefRegMap(@Self)^.&set := $00000010;
  27554. end;
  27555. function TUART4_U4STA.getRIDLE : TBits_1; inline;
  27556. begin
  27557. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27558. end;
  27559. procedure TUART4_U4STA.setADDEN; inline;
  27560. begin
  27561. pTDefRegMap(@Self)^.&set := $00000020;
  27562. end;
  27563. procedure TUART4_U4STA.clearADDEN; inline;
  27564. begin
  27565. pTDefRegMap(@Self)^.clr := $00000020;
  27566. end;
  27567. procedure TUART4_U4STA.setADDEN(thebits : TBits_1); inline;
  27568. begin
  27569. if thebits = 0 then
  27570. pTDefRegMap(@Self)^.clr := $00000020
  27571. else
  27572. pTDefRegMap(@Self)^.&set := $00000020;
  27573. end;
  27574. function TUART4_U4STA.getADDEN : TBits_1; inline;
  27575. begin
  27576. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27577. end;
  27578. procedure TUART4_U4STA.setURXISEL(thebits : TBits_2); inline;
  27579. begin
  27580. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  27581. end;
  27582. function TUART4_U4STA.getURXISEL : TBits_2; inline;
  27583. begin
  27584. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  27585. end;
  27586. procedure TUART4_U4STA.setTRMT; inline;
  27587. begin
  27588. pTDefRegMap(@Self)^.&set := $00000100;
  27589. end;
  27590. procedure TUART4_U4STA.clearTRMT; inline;
  27591. begin
  27592. pTDefRegMap(@Self)^.clr := $00000100;
  27593. end;
  27594. procedure TUART4_U4STA.setTRMT(thebits : TBits_1); inline;
  27595. begin
  27596. if thebits = 0 then
  27597. pTDefRegMap(@Self)^.clr := $00000100
  27598. else
  27599. pTDefRegMap(@Self)^.&set := $00000100;
  27600. end;
  27601. function TUART4_U4STA.getTRMT : TBits_1; inline;
  27602. begin
  27603. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27604. end;
  27605. procedure TUART4_U4STA.setUTXBF; inline;
  27606. begin
  27607. pTDefRegMap(@Self)^.&set := $00000200;
  27608. end;
  27609. procedure TUART4_U4STA.clearUTXBF; inline;
  27610. begin
  27611. pTDefRegMap(@Self)^.clr := $00000200;
  27612. end;
  27613. procedure TUART4_U4STA.setUTXBF(thebits : TBits_1); inline;
  27614. begin
  27615. if thebits = 0 then
  27616. pTDefRegMap(@Self)^.clr := $00000200
  27617. else
  27618. pTDefRegMap(@Self)^.&set := $00000200;
  27619. end;
  27620. function TUART4_U4STA.getUTXBF : TBits_1; inline;
  27621. begin
  27622. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27623. end;
  27624. procedure TUART4_U4STA.setUTXEN; inline;
  27625. begin
  27626. pTDefRegMap(@Self)^.&set := $00000400;
  27627. end;
  27628. procedure TUART4_U4STA.clearUTXEN; inline;
  27629. begin
  27630. pTDefRegMap(@Self)^.clr := $00000400;
  27631. end;
  27632. procedure TUART4_U4STA.setUTXEN(thebits : TBits_1); inline;
  27633. begin
  27634. if thebits = 0 then
  27635. pTDefRegMap(@Self)^.clr := $00000400
  27636. else
  27637. pTDefRegMap(@Self)^.&set := $00000400;
  27638. end;
  27639. function TUART4_U4STA.getUTXEN : TBits_1; inline;
  27640. begin
  27641. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27642. end;
  27643. procedure TUART4_U4STA.setUTXBRK; inline;
  27644. begin
  27645. pTDefRegMap(@Self)^.&set := $00000800;
  27646. end;
  27647. procedure TUART4_U4STA.clearUTXBRK; inline;
  27648. begin
  27649. pTDefRegMap(@Self)^.clr := $00000800;
  27650. end;
  27651. procedure TUART4_U4STA.setUTXBRK(thebits : TBits_1); inline;
  27652. begin
  27653. if thebits = 0 then
  27654. pTDefRegMap(@Self)^.clr := $00000800
  27655. else
  27656. pTDefRegMap(@Self)^.&set := $00000800;
  27657. end;
  27658. function TUART4_U4STA.getUTXBRK : TBits_1; inline;
  27659. begin
  27660. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27661. end;
  27662. procedure TUART4_U4STA.setURXEN; inline;
  27663. begin
  27664. pTDefRegMap(@Self)^.&set := $00001000;
  27665. end;
  27666. procedure TUART4_U4STA.clearURXEN; inline;
  27667. begin
  27668. pTDefRegMap(@Self)^.clr := $00001000;
  27669. end;
  27670. procedure TUART4_U4STA.setURXEN(thebits : TBits_1); inline;
  27671. begin
  27672. if thebits = 0 then
  27673. pTDefRegMap(@Self)^.clr := $00001000
  27674. else
  27675. pTDefRegMap(@Self)^.&set := $00001000;
  27676. end;
  27677. function TUART4_U4STA.getURXEN : TBits_1; inline;
  27678. begin
  27679. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27680. end;
  27681. procedure TUART4_U4STA.setUTXINV; inline;
  27682. begin
  27683. pTDefRegMap(@Self)^.&set := $00002000;
  27684. end;
  27685. procedure TUART4_U4STA.clearUTXINV; inline;
  27686. begin
  27687. pTDefRegMap(@Self)^.clr := $00002000;
  27688. end;
  27689. procedure TUART4_U4STA.setUTXINV(thebits : TBits_1); inline;
  27690. begin
  27691. if thebits = 0 then
  27692. pTDefRegMap(@Self)^.clr := $00002000
  27693. else
  27694. pTDefRegMap(@Self)^.&set := $00002000;
  27695. end;
  27696. function TUART4_U4STA.getUTXINV : TBits_1; inline;
  27697. begin
  27698. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27699. end;
  27700. procedure TUART4_U4STA.setUTXISEL(thebits : TBits_2); inline;
  27701. begin
  27702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27703. end;
  27704. function TUART4_U4STA.getUTXISEL : TBits_2; inline;
  27705. begin
  27706. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27707. end;
  27708. procedure TUART4_U4STA.setADDR(thebits : TBits_8); inline;
  27709. begin
  27710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  27711. end;
  27712. function TUART4_U4STA.getADDR : TBits_8; inline;
  27713. begin
  27714. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  27715. end;
  27716. procedure TUART4_U4STA.setADM_EN; inline;
  27717. begin
  27718. pTDefRegMap(@Self)^.&set := $01000000;
  27719. end;
  27720. procedure TUART4_U4STA.clearADM_EN; inline;
  27721. begin
  27722. pTDefRegMap(@Self)^.clr := $01000000;
  27723. end;
  27724. procedure TUART4_U4STA.setADM_EN(thebits : TBits_1); inline;
  27725. begin
  27726. if thebits = 0 then
  27727. pTDefRegMap(@Self)^.clr := $01000000
  27728. else
  27729. pTDefRegMap(@Self)^.&set := $01000000;
  27730. end;
  27731. function TUART4_U4STA.getADM_EN : TBits_1; inline;
  27732. begin
  27733. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27734. end;
  27735. procedure TUART4_U4STA.setURXISEL0; inline;
  27736. begin
  27737. pTDefRegMap(@Self)^.&set := $00000040;
  27738. end;
  27739. procedure TUART4_U4STA.clearURXISEL0; inline;
  27740. begin
  27741. pTDefRegMap(@Self)^.clr := $00000040;
  27742. end;
  27743. procedure TUART4_U4STA.setURXISEL0(thebits : TBits_1); inline;
  27744. begin
  27745. if thebits = 0 then
  27746. pTDefRegMap(@Self)^.clr := $00000040
  27747. else
  27748. pTDefRegMap(@Self)^.&set := $00000040;
  27749. end;
  27750. function TUART4_U4STA.getURXISEL0 : TBits_1; inline;
  27751. begin
  27752. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27753. end;
  27754. procedure TUART4_U4STA.setURXISEL1; inline;
  27755. begin
  27756. pTDefRegMap(@Self)^.&set := $00000080;
  27757. end;
  27758. procedure TUART4_U4STA.clearURXISEL1; inline;
  27759. begin
  27760. pTDefRegMap(@Self)^.clr := $00000080;
  27761. end;
  27762. procedure TUART4_U4STA.setURXISEL1(thebits : TBits_1); inline;
  27763. begin
  27764. if thebits = 0 then
  27765. pTDefRegMap(@Self)^.clr := $00000080
  27766. else
  27767. pTDefRegMap(@Self)^.&set := $00000080;
  27768. end;
  27769. function TUART4_U4STA.getURXISEL1 : TBits_1; inline;
  27770. begin
  27771. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27772. end;
  27773. procedure TUART4_U4STA.setUTXISEL0; inline;
  27774. begin
  27775. pTDefRegMap(@Self)^.&set := $00004000;
  27776. end;
  27777. procedure TUART4_U4STA.clearUTXISEL0; inline;
  27778. begin
  27779. pTDefRegMap(@Self)^.clr := $00004000;
  27780. end;
  27781. procedure TUART4_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  27782. begin
  27783. if thebits = 0 then
  27784. pTDefRegMap(@Self)^.clr := $00004000
  27785. else
  27786. pTDefRegMap(@Self)^.&set := $00004000;
  27787. end;
  27788. function TUART4_U4STA.getUTXISEL0 : TBits_1; inline;
  27789. begin
  27790. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27791. end;
  27792. procedure TUART4_U4STA.setUTXISEL1; inline;
  27793. begin
  27794. pTDefRegMap(@Self)^.&set := $00008000;
  27795. end;
  27796. procedure TUART4_U4STA.clearUTXISEL1; inline;
  27797. begin
  27798. pTDefRegMap(@Self)^.clr := $00008000;
  27799. end;
  27800. procedure TUART4_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  27801. begin
  27802. if thebits = 0 then
  27803. pTDefRegMap(@Self)^.clr := $00008000
  27804. else
  27805. pTDefRegMap(@Self)^.&set := $00008000;
  27806. end;
  27807. function TUART4_U4STA.getUTXISEL1 : TBits_1; inline;
  27808. begin
  27809. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27810. end;
  27811. procedure TUART4_U4STA.setUTXSEL(thebits : TBits_2); inline;
  27812. begin
  27813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27814. end;
  27815. function TUART4_U4STA.getUTXSEL : TBits_2; inline;
  27816. begin
  27817. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27818. end;
  27819. procedure TUART4_U4STA.setw(thebits : TBits_32); inline;
  27820. begin
  27821. pTDefRegMap(@Self)^.val := thebits;
  27822. end;
  27823. function TUART4_U4STA.getw : TBits_32; inline;
  27824. begin
  27825. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27826. end;
  27827. procedure TUART4_UodSTA.setURXDA; inline;
  27828. begin
  27829. pTDefRegMap(@Self)^.&set := $00000001;
  27830. end;
  27831. procedure TUART4_UodSTA.clearURXDA; inline;
  27832. begin
  27833. pTDefRegMap(@Self)^.clr := $00000001;
  27834. end;
  27835. procedure TUART4_UodSTA.setURXDA(thebits : TBits_1); inline;
  27836. begin
  27837. if thebits = 0 then
  27838. pTDefRegMap(@Self)^.clr := $00000001
  27839. else
  27840. pTDefRegMap(@Self)^.&set := $00000001;
  27841. end;
  27842. function TUART4_UodSTA.getURXDA : TBits_1; inline;
  27843. begin
  27844. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27845. end;
  27846. procedure TUART4_UodSTA.setOERR; inline;
  27847. begin
  27848. pTDefRegMap(@Self)^.&set := $00000002;
  27849. end;
  27850. procedure TUART4_UodSTA.clearOERR; inline;
  27851. begin
  27852. pTDefRegMap(@Self)^.clr := $00000002;
  27853. end;
  27854. procedure TUART4_UodSTA.setOERR(thebits : TBits_1); inline;
  27855. begin
  27856. if thebits = 0 then
  27857. pTDefRegMap(@Self)^.clr := $00000002
  27858. else
  27859. pTDefRegMap(@Self)^.&set := $00000002;
  27860. end;
  27861. function TUART4_UodSTA.getOERR : TBits_1; inline;
  27862. begin
  27863. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27864. end;
  27865. procedure TUART4_UodSTA.setFERR; inline;
  27866. begin
  27867. pTDefRegMap(@Self)^.&set := $00000004;
  27868. end;
  27869. procedure TUART4_UodSTA.clearFERR; inline;
  27870. begin
  27871. pTDefRegMap(@Self)^.clr := $00000004;
  27872. end;
  27873. procedure TUART4_UodSTA.setFERR(thebits : TBits_1); inline;
  27874. begin
  27875. if thebits = 0 then
  27876. pTDefRegMap(@Self)^.clr := $00000004
  27877. else
  27878. pTDefRegMap(@Self)^.&set := $00000004;
  27879. end;
  27880. function TUART4_UodSTA.getFERR : TBits_1; inline;
  27881. begin
  27882. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27883. end;
  27884. procedure TUART4_UodSTA.setPERR; inline;
  27885. begin
  27886. pTDefRegMap(@Self)^.&set := $00000008;
  27887. end;
  27888. procedure TUART4_UodSTA.clearPERR; inline;
  27889. begin
  27890. pTDefRegMap(@Self)^.clr := $00000008;
  27891. end;
  27892. procedure TUART4_UodSTA.setPERR(thebits : TBits_1); inline;
  27893. begin
  27894. if thebits = 0 then
  27895. pTDefRegMap(@Self)^.clr := $00000008
  27896. else
  27897. pTDefRegMap(@Self)^.&set := $00000008;
  27898. end;
  27899. function TUART4_UodSTA.getPERR : TBits_1; inline;
  27900. begin
  27901. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27902. end;
  27903. procedure TUART4_UodSTA.setRIDLE; inline;
  27904. begin
  27905. pTDefRegMap(@Self)^.&set := $00000010;
  27906. end;
  27907. procedure TUART4_UodSTA.clearRIDLE; inline;
  27908. begin
  27909. pTDefRegMap(@Self)^.clr := $00000010;
  27910. end;
  27911. procedure TUART4_UodSTA.setRIDLE(thebits : TBits_1); inline;
  27912. begin
  27913. if thebits = 0 then
  27914. pTDefRegMap(@Self)^.clr := $00000010
  27915. else
  27916. pTDefRegMap(@Self)^.&set := $00000010;
  27917. end;
  27918. function TUART4_UodSTA.getRIDLE : TBits_1; inline;
  27919. begin
  27920. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27921. end;
  27922. procedure TUART4_UodSTA.setADDEN; inline;
  27923. begin
  27924. pTDefRegMap(@Self)^.&set := $00000020;
  27925. end;
  27926. procedure TUART4_UodSTA.clearADDEN; inline;
  27927. begin
  27928. pTDefRegMap(@Self)^.clr := $00000020;
  27929. end;
  27930. procedure TUART4_UodSTA.setADDEN(thebits : TBits_1); inline;
  27931. begin
  27932. if thebits = 0 then
  27933. pTDefRegMap(@Self)^.clr := $00000020
  27934. else
  27935. pTDefRegMap(@Self)^.&set := $00000020;
  27936. end;
  27937. function TUART4_UodSTA.getADDEN : TBits_1; inline;
  27938. begin
  27939. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27940. end;
  27941. procedure TUART4_UodSTA.setURXISEL(thebits : TBits_2); inline;
  27942. begin
  27943. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  27944. end;
  27945. function TUART4_UodSTA.getURXISEL : TBits_2; inline;
  27946. begin
  27947. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  27948. end;
  27949. procedure TUART4_UodSTA.setTRMT; inline;
  27950. begin
  27951. pTDefRegMap(@Self)^.&set := $00000100;
  27952. end;
  27953. procedure TUART4_UodSTA.clearTRMT; inline;
  27954. begin
  27955. pTDefRegMap(@Self)^.clr := $00000100;
  27956. end;
  27957. procedure TUART4_UodSTA.setTRMT(thebits : TBits_1); inline;
  27958. begin
  27959. if thebits = 0 then
  27960. pTDefRegMap(@Self)^.clr := $00000100
  27961. else
  27962. pTDefRegMap(@Self)^.&set := $00000100;
  27963. end;
  27964. function TUART4_UodSTA.getTRMT : TBits_1; inline;
  27965. begin
  27966. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27967. end;
  27968. procedure TUART4_UodSTA.setUTXBF; inline;
  27969. begin
  27970. pTDefRegMap(@Self)^.&set := $00000200;
  27971. end;
  27972. procedure TUART4_UodSTA.clearUTXBF; inline;
  27973. begin
  27974. pTDefRegMap(@Self)^.clr := $00000200;
  27975. end;
  27976. procedure TUART4_UodSTA.setUTXBF(thebits : TBits_1); inline;
  27977. begin
  27978. if thebits = 0 then
  27979. pTDefRegMap(@Self)^.clr := $00000200
  27980. else
  27981. pTDefRegMap(@Self)^.&set := $00000200;
  27982. end;
  27983. function TUART4_UodSTA.getUTXBF : TBits_1; inline;
  27984. begin
  27985. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27986. end;
  27987. procedure TUART4_UodSTA.setUTXEN; inline;
  27988. begin
  27989. pTDefRegMap(@Self)^.&set := $00000400;
  27990. end;
  27991. procedure TUART4_UodSTA.clearUTXEN; inline;
  27992. begin
  27993. pTDefRegMap(@Self)^.clr := $00000400;
  27994. end;
  27995. procedure TUART4_UodSTA.setUTXEN(thebits : TBits_1); inline;
  27996. begin
  27997. if thebits = 0 then
  27998. pTDefRegMap(@Self)^.clr := $00000400
  27999. else
  28000. pTDefRegMap(@Self)^.&set := $00000400;
  28001. end;
  28002. function TUART4_UodSTA.getUTXEN : TBits_1; inline;
  28003. begin
  28004. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28005. end;
  28006. procedure TUART4_UodSTA.setUTXBRK; inline;
  28007. begin
  28008. pTDefRegMap(@Self)^.&set := $00000800;
  28009. end;
  28010. procedure TUART4_UodSTA.clearUTXBRK; inline;
  28011. begin
  28012. pTDefRegMap(@Self)^.clr := $00000800;
  28013. end;
  28014. procedure TUART4_UodSTA.setUTXBRK(thebits : TBits_1); inline;
  28015. begin
  28016. if thebits = 0 then
  28017. pTDefRegMap(@Self)^.clr := $00000800
  28018. else
  28019. pTDefRegMap(@Self)^.&set := $00000800;
  28020. end;
  28021. function TUART4_UodSTA.getUTXBRK : TBits_1; inline;
  28022. begin
  28023. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28024. end;
  28025. procedure TUART4_UodSTA.setURXEN; inline;
  28026. begin
  28027. pTDefRegMap(@Self)^.&set := $00001000;
  28028. end;
  28029. procedure TUART4_UodSTA.clearURXEN; inline;
  28030. begin
  28031. pTDefRegMap(@Self)^.clr := $00001000;
  28032. end;
  28033. procedure TUART4_UodSTA.setURXEN(thebits : TBits_1); inline;
  28034. begin
  28035. if thebits = 0 then
  28036. pTDefRegMap(@Self)^.clr := $00001000
  28037. else
  28038. pTDefRegMap(@Self)^.&set := $00001000;
  28039. end;
  28040. function TUART4_UodSTA.getURXEN : TBits_1; inline;
  28041. begin
  28042. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28043. end;
  28044. procedure TUART4_UodSTA.setUTXINV; inline;
  28045. begin
  28046. pTDefRegMap(@Self)^.&set := $00002000;
  28047. end;
  28048. procedure TUART4_UodSTA.clearUTXINV; inline;
  28049. begin
  28050. pTDefRegMap(@Self)^.clr := $00002000;
  28051. end;
  28052. procedure TUART4_UodSTA.setUTXINV(thebits : TBits_1); inline;
  28053. begin
  28054. if thebits = 0 then
  28055. pTDefRegMap(@Self)^.clr := $00002000
  28056. else
  28057. pTDefRegMap(@Self)^.&set := $00002000;
  28058. end;
  28059. function TUART4_UodSTA.getUTXINV : TBits_1; inline;
  28060. begin
  28061. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28062. end;
  28063. procedure TUART4_UodSTA.setUTXISEL(thebits : TBits_2); inline;
  28064. begin
  28065. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28066. end;
  28067. function TUART4_UodSTA.getUTXISEL : TBits_2; inline;
  28068. begin
  28069. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28070. end;
  28071. procedure TUART4_UodSTA.setADDR(thebits : TBits_8); inline;
  28072. begin
  28073. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  28074. end;
  28075. function TUART4_UodSTA.getADDR : TBits_8; inline;
  28076. begin
  28077. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  28078. end;
  28079. procedure TUART4_UodSTA.setADM_EN; inline;
  28080. begin
  28081. pTDefRegMap(@Self)^.&set := $01000000;
  28082. end;
  28083. procedure TUART4_UodSTA.clearADM_EN; inline;
  28084. begin
  28085. pTDefRegMap(@Self)^.clr := $01000000;
  28086. end;
  28087. procedure TUART4_UodSTA.setADM_EN(thebits : TBits_1); inline;
  28088. begin
  28089. if thebits = 0 then
  28090. pTDefRegMap(@Self)^.clr := $01000000
  28091. else
  28092. pTDefRegMap(@Self)^.&set := $01000000;
  28093. end;
  28094. function TUART4_UodSTA.getADM_EN : TBits_1; inline;
  28095. begin
  28096. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28097. end;
  28098. procedure TUART4_UodSTA.setURXISEL0; inline;
  28099. begin
  28100. pTDefRegMap(@Self)^.&set := $00000040;
  28101. end;
  28102. procedure TUART4_UodSTA.clearURXISEL0; inline;
  28103. begin
  28104. pTDefRegMap(@Self)^.clr := $00000040;
  28105. end;
  28106. procedure TUART4_UodSTA.setURXISEL0(thebits : TBits_1); inline;
  28107. begin
  28108. if thebits = 0 then
  28109. pTDefRegMap(@Self)^.clr := $00000040
  28110. else
  28111. pTDefRegMap(@Self)^.&set := $00000040;
  28112. end;
  28113. function TUART4_UodSTA.getURXISEL0 : TBits_1; inline;
  28114. begin
  28115. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28116. end;
  28117. procedure TUART4_UodSTA.setURXISEL1; inline;
  28118. begin
  28119. pTDefRegMap(@Self)^.&set := $00000080;
  28120. end;
  28121. procedure TUART4_UodSTA.clearURXISEL1; inline;
  28122. begin
  28123. pTDefRegMap(@Self)^.clr := $00000080;
  28124. end;
  28125. procedure TUART4_UodSTA.setURXISEL1(thebits : TBits_1); inline;
  28126. begin
  28127. if thebits = 0 then
  28128. pTDefRegMap(@Self)^.clr := $00000080
  28129. else
  28130. pTDefRegMap(@Self)^.&set := $00000080;
  28131. end;
  28132. function TUART4_UodSTA.getURXISEL1 : TBits_1; inline;
  28133. begin
  28134. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28135. end;
  28136. procedure TUART4_UodSTA.setUTXISEL0; inline;
  28137. begin
  28138. pTDefRegMap(@Self)^.&set := $00004000;
  28139. end;
  28140. procedure TUART4_UodSTA.clearUTXISEL0; inline;
  28141. begin
  28142. pTDefRegMap(@Self)^.clr := $00004000;
  28143. end;
  28144. procedure TUART4_UodSTA.setUTXISEL0(thebits : TBits_1); inline;
  28145. begin
  28146. if thebits = 0 then
  28147. pTDefRegMap(@Self)^.clr := $00004000
  28148. else
  28149. pTDefRegMap(@Self)^.&set := $00004000;
  28150. end;
  28151. function TUART4_UodSTA.getUTXISEL0 : TBits_1; inline;
  28152. begin
  28153. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28154. end;
  28155. procedure TUART4_UodSTA.setUTXISEL1; inline;
  28156. begin
  28157. pTDefRegMap(@Self)^.&set := $00008000;
  28158. end;
  28159. procedure TUART4_UodSTA.clearUTXISEL1; inline;
  28160. begin
  28161. pTDefRegMap(@Self)^.clr := $00008000;
  28162. end;
  28163. procedure TUART4_UodSTA.setUTXISEL1(thebits : TBits_1); inline;
  28164. begin
  28165. if thebits = 0 then
  28166. pTDefRegMap(@Self)^.clr := $00008000
  28167. else
  28168. pTDefRegMap(@Self)^.&set := $00008000;
  28169. end;
  28170. function TUART4_UodSTA.getUTXISEL1 : TBits_1; inline;
  28171. begin
  28172. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28173. end;
  28174. procedure TUART4_UodSTA.setUTXSEL(thebits : TBits_2); inline;
  28175. begin
  28176. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28177. end;
  28178. function TUART4_UodSTA.getUTXSEL : TBits_2; inline;
  28179. begin
  28180. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28181. end;
  28182. procedure TUART4_UodSTA.setw(thebits : TBits_32); inline;
  28183. begin
  28184. pTDefRegMap(@Self)^.val := thebits;
  28185. end;
  28186. function TUART4_UodSTA.getw : TBits_32; inline;
  28187. begin
  28188. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28189. end;
  28190. procedure TUART5_U5MODE.setSTSEL; inline;
  28191. begin
  28192. pTDefRegMap(@Self)^.&set := $00000001;
  28193. end;
  28194. procedure TUART5_U5MODE.clearSTSEL; inline;
  28195. begin
  28196. pTDefRegMap(@Self)^.clr := $00000001;
  28197. end;
  28198. procedure TUART5_U5MODE.setSTSEL(thebits : TBits_1); inline;
  28199. begin
  28200. if thebits = 0 then
  28201. pTDefRegMap(@Self)^.clr := $00000001
  28202. else
  28203. pTDefRegMap(@Self)^.&set := $00000001;
  28204. end;
  28205. function TUART5_U5MODE.getSTSEL : TBits_1; inline;
  28206. begin
  28207. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28208. end;
  28209. procedure TUART5_U5MODE.setPDSEL(thebits : TBits_2); inline;
  28210. begin
  28211. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  28212. end;
  28213. function TUART5_U5MODE.getPDSEL : TBits_2; inline;
  28214. begin
  28215. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  28216. end;
  28217. procedure TUART5_U5MODE.setBRGH; inline;
  28218. begin
  28219. pTDefRegMap(@Self)^.&set := $00000008;
  28220. end;
  28221. procedure TUART5_U5MODE.clearBRGH; inline;
  28222. begin
  28223. pTDefRegMap(@Self)^.clr := $00000008;
  28224. end;
  28225. procedure TUART5_U5MODE.setBRGH(thebits : TBits_1); inline;
  28226. begin
  28227. if thebits = 0 then
  28228. pTDefRegMap(@Self)^.clr := $00000008
  28229. else
  28230. pTDefRegMap(@Self)^.&set := $00000008;
  28231. end;
  28232. function TUART5_U5MODE.getBRGH : TBits_1; inline;
  28233. begin
  28234. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28235. end;
  28236. procedure TUART5_U5MODE.setRXINV; inline;
  28237. begin
  28238. pTDefRegMap(@Self)^.&set := $00000010;
  28239. end;
  28240. procedure TUART5_U5MODE.clearRXINV; inline;
  28241. begin
  28242. pTDefRegMap(@Self)^.clr := $00000010;
  28243. end;
  28244. procedure TUART5_U5MODE.setRXINV(thebits : TBits_1); inline;
  28245. begin
  28246. if thebits = 0 then
  28247. pTDefRegMap(@Self)^.clr := $00000010
  28248. else
  28249. pTDefRegMap(@Self)^.&set := $00000010;
  28250. end;
  28251. function TUART5_U5MODE.getRXINV : TBits_1; inline;
  28252. begin
  28253. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28254. end;
  28255. procedure TUART5_U5MODE.setABAUD; inline;
  28256. begin
  28257. pTDefRegMap(@Self)^.&set := $00000020;
  28258. end;
  28259. procedure TUART5_U5MODE.clearABAUD; inline;
  28260. begin
  28261. pTDefRegMap(@Self)^.clr := $00000020;
  28262. end;
  28263. procedure TUART5_U5MODE.setABAUD(thebits : TBits_1); inline;
  28264. begin
  28265. if thebits = 0 then
  28266. pTDefRegMap(@Self)^.clr := $00000020
  28267. else
  28268. pTDefRegMap(@Self)^.&set := $00000020;
  28269. end;
  28270. function TUART5_U5MODE.getABAUD : TBits_1; inline;
  28271. begin
  28272. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28273. end;
  28274. procedure TUART5_U5MODE.setLPBACK; inline;
  28275. begin
  28276. pTDefRegMap(@Self)^.&set := $00000040;
  28277. end;
  28278. procedure TUART5_U5MODE.clearLPBACK; inline;
  28279. begin
  28280. pTDefRegMap(@Self)^.clr := $00000040;
  28281. end;
  28282. procedure TUART5_U5MODE.setLPBACK(thebits : TBits_1); inline;
  28283. begin
  28284. if thebits = 0 then
  28285. pTDefRegMap(@Self)^.clr := $00000040
  28286. else
  28287. pTDefRegMap(@Self)^.&set := $00000040;
  28288. end;
  28289. function TUART5_U5MODE.getLPBACK : TBits_1; inline;
  28290. begin
  28291. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28292. end;
  28293. procedure TUART5_U5MODE.setWAKE; inline;
  28294. begin
  28295. pTDefRegMap(@Self)^.&set := $00000080;
  28296. end;
  28297. procedure TUART5_U5MODE.clearWAKE; inline;
  28298. begin
  28299. pTDefRegMap(@Self)^.clr := $00000080;
  28300. end;
  28301. procedure TUART5_U5MODE.setWAKE(thebits : TBits_1); inline;
  28302. begin
  28303. if thebits = 0 then
  28304. pTDefRegMap(@Self)^.clr := $00000080
  28305. else
  28306. pTDefRegMap(@Self)^.&set := $00000080;
  28307. end;
  28308. function TUART5_U5MODE.getWAKE : TBits_1; inline;
  28309. begin
  28310. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28311. end;
  28312. procedure TUART5_U5MODE.setUEN(thebits : TBits_2); inline;
  28313. begin
  28314. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28315. end;
  28316. function TUART5_U5MODE.getUEN : TBits_2; inline;
  28317. begin
  28318. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28319. end;
  28320. procedure TUART5_U5MODE.setRTSMD; inline;
  28321. begin
  28322. pTDefRegMap(@Self)^.&set := $00000800;
  28323. end;
  28324. procedure TUART5_U5MODE.clearRTSMD; inline;
  28325. begin
  28326. pTDefRegMap(@Self)^.clr := $00000800;
  28327. end;
  28328. procedure TUART5_U5MODE.setRTSMD(thebits : TBits_1); inline;
  28329. begin
  28330. if thebits = 0 then
  28331. pTDefRegMap(@Self)^.clr := $00000800
  28332. else
  28333. pTDefRegMap(@Self)^.&set := $00000800;
  28334. end;
  28335. function TUART5_U5MODE.getRTSMD : TBits_1; inline;
  28336. begin
  28337. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28338. end;
  28339. procedure TUART5_U5MODE.setIREN; inline;
  28340. begin
  28341. pTDefRegMap(@Self)^.&set := $00001000;
  28342. end;
  28343. procedure TUART5_U5MODE.clearIREN; inline;
  28344. begin
  28345. pTDefRegMap(@Self)^.clr := $00001000;
  28346. end;
  28347. procedure TUART5_U5MODE.setIREN(thebits : TBits_1); inline;
  28348. begin
  28349. if thebits = 0 then
  28350. pTDefRegMap(@Self)^.clr := $00001000
  28351. else
  28352. pTDefRegMap(@Self)^.&set := $00001000;
  28353. end;
  28354. function TUART5_U5MODE.getIREN : TBits_1; inline;
  28355. begin
  28356. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28357. end;
  28358. procedure TUART5_U5MODE.setSIDL; inline;
  28359. begin
  28360. pTDefRegMap(@Self)^.&set := $00002000;
  28361. end;
  28362. procedure TUART5_U5MODE.clearSIDL; inline;
  28363. begin
  28364. pTDefRegMap(@Self)^.clr := $00002000;
  28365. end;
  28366. procedure TUART5_U5MODE.setSIDL(thebits : TBits_1); inline;
  28367. begin
  28368. if thebits = 0 then
  28369. pTDefRegMap(@Self)^.clr := $00002000
  28370. else
  28371. pTDefRegMap(@Self)^.&set := $00002000;
  28372. end;
  28373. function TUART5_U5MODE.getSIDL : TBits_1; inline;
  28374. begin
  28375. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28376. end;
  28377. procedure TUART5_U5MODE.setON; inline;
  28378. begin
  28379. pTDefRegMap(@Self)^.&set := $00008000;
  28380. end;
  28381. procedure TUART5_U5MODE.clearON; inline;
  28382. begin
  28383. pTDefRegMap(@Self)^.clr := $00008000;
  28384. end;
  28385. procedure TUART5_U5MODE.setON(thebits : TBits_1); inline;
  28386. begin
  28387. if thebits = 0 then
  28388. pTDefRegMap(@Self)^.clr := $00008000
  28389. else
  28390. pTDefRegMap(@Self)^.&set := $00008000;
  28391. end;
  28392. function TUART5_U5MODE.getON : TBits_1; inline;
  28393. begin
  28394. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28395. end;
  28396. procedure TUART5_U5MODE.setPDSEL0; inline;
  28397. begin
  28398. pTDefRegMap(@Self)^.&set := $00000002;
  28399. end;
  28400. procedure TUART5_U5MODE.clearPDSEL0; inline;
  28401. begin
  28402. pTDefRegMap(@Self)^.clr := $00000002;
  28403. end;
  28404. procedure TUART5_U5MODE.setPDSEL0(thebits : TBits_1); inline;
  28405. begin
  28406. if thebits = 0 then
  28407. pTDefRegMap(@Self)^.clr := $00000002
  28408. else
  28409. pTDefRegMap(@Self)^.&set := $00000002;
  28410. end;
  28411. function TUART5_U5MODE.getPDSEL0 : TBits_1; inline;
  28412. begin
  28413. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28414. end;
  28415. procedure TUART5_U5MODE.setPDSEL1; inline;
  28416. begin
  28417. pTDefRegMap(@Self)^.&set := $00000004;
  28418. end;
  28419. procedure TUART5_U5MODE.clearPDSEL1; inline;
  28420. begin
  28421. pTDefRegMap(@Self)^.clr := $00000004;
  28422. end;
  28423. procedure TUART5_U5MODE.setPDSEL1(thebits : TBits_1); inline;
  28424. begin
  28425. if thebits = 0 then
  28426. pTDefRegMap(@Self)^.clr := $00000004
  28427. else
  28428. pTDefRegMap(@Self)^.&set := $00000004;
  28429. end;
  28430. function TUART5_U5MODE.getPDSEL1 : TBits_1; inline;
  28431. begin
  28432. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28433. end;
  28434. procedure TUART5_U5MODE.setUEN0; inline;
  28435. begin
  28436. pTDefRegMap(@Self)^.&set := $00000100;
  28437. end;
  28438. procedure TUART5_U5MODE.clearUEN0; inline;
  28439. begin
  28440. pTDefRegMap(@Self)^.clr := $00000100;
  28441. end;
  28442. procedure TUART5_U5MODE.setUEN0(thebits : TBits_1); inline;
  28443. begin
  28444. if thebits = 0 then
  28445. pTDefRegMap(@Self)^.clr := $00000100
  28446. else
  28447. pTDefRegMap(@Self)^.&set := $00000100;
  28448. end;
  28449. function TUART5_U5MODE.getUEN0 : TBits_1; inline;
  28450. begin
  28451. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28452. end;
  28453. procedure TUART5_U5MODE.setUEN1; inline;
  28454. begin
  28455. pTDefRegMap(@Self)^.&set := $00000200;
  28456. end;
  28457. procedure TUART5_U5MODE.clearUEN1; inline;
  28458. begin
  28459. pTDefRegMap(@Self)^.clr := $00000200;
  28460. end;
  28461. procedure TUART5_U5MODE.setUEN1(thebits : TBits_1); inline;
  28462. begin
  28463. if thebits = 0 then
  28464. pTDefRegMap(@Self)^.clr := $00000200
  28465. else
  28466. pTDefRegMap(@Self)^.&set := $00000200;
  28467. end;
  28468. function TUART5_U5MODE.getUEN1 : TBits_1; inline;
  28469. begin
  28470. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28471. end;
  28472. procedure TUART5_U5MODE.setUSIDL; inline;
  28473. begin
  28474. pTDefRegMap(@Self)^.&set := $00002000;
  28475. end;
  28476. procedure TUART5_U5MODE.clearUSIDL; inline;
  28477. begin
  28478. pTDefRegMap(@Self)^.clr := $00002000;
  28479. end;
  28480. procedure TUART5_U5MODE.setUSIDL(thebits : TBits_1); inline;
  28481. begin
  28482. if thebits = 0 then
  28483. pTDefRegMap(@Self)^.clr := $00002000
  28484. else
  28485. pTDefRegMap(@Self)^.&set := $00002000;
  28486. end;
  28487. function TUART5_U5MODE.getUSIDL : TBits_1; inline;
  28488. begin
  28489. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28490. end;
  28491. procedure TUART5_U5MODE.setUARTEN; inline;
  28492. begin
  28493. pTDefRegMap(@Self)^.&set := $00008000;
  28494. end;
  28495. procedure TUART5_U5MODE.clearUARTEN; inline;
  28496. begin
  28497. pTDefRegMap(@Self)^.clr := $00008000;
  28498. end;
  28499. procedure TUART5_U5MODE.setUARTEN(thebits : TBits_1); inline;
  28500. begin
  28501. if thebits = 0 then
  28502. pTDefRegMap(@Self)^.clr := $00008000
  28503. else
  28504. pTDefRegMap(@Self)^.&set := $00008000;
  28505. end;
  28506. function TUART5_U5MODE.getUARTEN : TBits_1; inline;
  28507. begin
  28508. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28509. end;
  28510. procedure TUART5_U5MODE.setw(thebits : TBits_32); inline;
  28511. begin
  28512. pTDefRegMap(@Self)^.val := thebits;
  28513. end;
  28514. function TUART5_U5MODE.getw : TBits_32; inline;
  28515. begin
  28516. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28517. end;
  28518. procedure TUART5_UabMODE.setSTSEL; inline;
  28519. begin
  28520. pTDefRegMap(@Self)^.&set := $00000001;
  28521. end;
  28522. procedure TUART5_UabMODE.clearSTSEL; inline;
  28523. begin
  28524. pTDefRegMap(@Self)^.clr := $00000001;
  28525. end;
  28526. procedure TUART5_UabMODE.setSTSEL(thebits : TBits_1); inline;
  28527. begin
  28528. if thebits = 0 then
  28529. pTDefRegMap(@Self)^.clr := $00000001
  28530. else
  28531. pTDefRegMap(@Self)^.&set := $00000001;
  28532. end;
  28533. function TUART5_UabMODE.getSTSEL : TBits_1; inline;
  28534. begin
  28535. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28536. end;
  28537. procedure TUART5_UabMODE.setPDSEL(thebits : TBits_2); inline;
  28538. begin
  28539. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  28540. end;
  28541. function TUART5_UabMODE.getPDSEL : TBits_2; inline;
  28542. begin
  28543. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  28544. end;
  28545. procedure TUART5_UabMODE.setBRGH; inline;
  28546. begin
  28547. pTDefRegMap(@Self)^.&set := $00000008;
  28548. end;
  28549. procedure TUART5_UabMODE.clearBRGH; inline;
  28550. begin
  28551. pTDefRegMap(@Self)^.clr := $00000008;
  28552. end;
  28553. procedure TUART5_UabMODE.setBRGH(thebits : TBits_1); inline;
  28554. begin
  28555. if thebits = 0 then
  28556. pTDefRegMap(@Self)^.clr := $00000008
  28557. else
  28558. pTDefRegMap(@Self)^.&set := $00000008;
  28559. end;
  28560. function TUART5_UabMODE.getBRGH : TBits_1; inline;
  28561. begin
  28562. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28563. end;
  28564. procedure TUART5_UabMODE.setRXINV; inline;
  28565. begin
  28566. pTDefRegMap(@Self)^.&set := $00000010;
  28567. end;
  28568. procedure TUART5_UabMODE.clearRXINV; inline;
  28569. begin
  28570. pTDefRegMap(@Self)^.clr := $00000010;
  28571. end;
  28572. procedure TUART5_UabMODE.setRXINV(thebits : TBits_1); inline;
  28573. begin
  28574. if thebits = 0 then
  28575. pTDefRegMap(@Self)^.clr := $00000010
  28576. else
  28577. pTDefRegMap(@Self)^.&set := $00000010;
  28578. end;
  28579. function TUART5_UabMODE.getRXINV : TBits_1; inline;
  28580. begin
  28581. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28582. end;
  28583. procedure TUART5_UabMODE.setABAUD; inline;
  28584. begin
  28585. pTDefRegMap(@Self)^.&set := $00000020;
  28586. end;
  28587. procedure TUART5_UabMODE.clearABAUD; inline;
  28588. begin
  28589. pTDefRegMap(@Self)^.clr := $00000020;
  28590. end;
  28591. procedure TUART5_UabMODE.setABAUD(thebits : TBits_1); inline;
  28592. begin
  28593. if thebits = 0 then
  28594. pTDefRegMap(@Self)^.clr := $00000020
  28595. else
  28596. pTDefRegMap(@Self)^.&set := $00000020;
  28597. end;
  28598. function TUART5_UabMODE.getABAUD : TBits_1; inline;
  28599. begin
  28600. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28601. end;
  28602. procedure TUART5_UabMODE.setLPBACK; inline;
  28603. begin
  28604. pTDefRegMap(@Self)^.&set := $00000040;
  28605. end;
  28606. procedure TUART5_UabMODE.clearLPBACK; inline;
  28607. begin
  28608. pTDefRegMap(@Self)^.clr := $00000040;
  28609. end;
  28610. procedure TUART5_UabMODE.setLPBACK(thebits : TBits_1); inline;
  28611. begin
  28612. if thebits = 0 then
  28613. pTDefRegMap(@Self)^.clr := $00000040
  28614. else
  28615. pTDefRegMap(@Self)^.&set := $00000040;
  28616. end;
  28617. function TUART5_UabMODE.getLPBACK : TBits_1; inline;
  28618. begin
  28619. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28620. end;
  28621. procedure TUART5_UabMODE.setWAKE; inline;
  28622. begin
  28623. pTDefRegMap(@Self)^.&set := $00000080;
  28624. end;
  28625. procedure TUART5_UabMODE.clearWAKE; inline;
  28626. begin
  28627. pTDefRegMap(@Self)^.clr := $00000080;
  28628. end;
  28629. procedure TUART5_UabMODE.setWAKE(thebits : TBits_1); inline;
  28630. begin
  28631. if thebits = 0 then
  28632. pTDefRegMap(@Self)^.clr := $00000080
  28633. else
  28634. pTDefRegMap(@Self)^.&set := $00000080;
  28635. end;
  28636. function TUART5_UabMODE.getWAKE : TBits_1; inline;
  28637. begin
  28638. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28639. end;
  28640. procedure TUART5_UabMODE.setUEN(thebits : TBits_2); inline;
  28641. begin
  28642. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28643. end;
  28644. function TUART5_UabMODE.getUEN : TBits_2; inline;
  28645. begin
  28646. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28647. end;
  28648. procedure TUART5_UabMODE.setRTSMD; inline;
  28649. begin
  28650. pTDefRegMap(@Self)^.&set := $00000800;
  28651. end;
  28652. procedure TUART5_UabMODE.clearRTSMD; inline;
  28653. begin
  28654. pTDefRegMap(@Self)^.clr := $00000800;
  28655. end;
  28656. procedure TUART5_UabMODE.setRTSMD(thebits : TBits_1); inline;
  28657. begin
  28658. if thebits = 0 then
  28659. pTDefRegMap(@Self)^.clr := $00000800
  28660. else
  28661. pTDefRegMap(@Self)^.&set := $00000800;
  28662. end;
  28663. function TUART5_UabMODE.getRTSMD : TBits_1; inline;
  28664. begin
  28665. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28666. end;
  28667. procedure TUART5_UabMODE.setIREN; inline;
  28668. begin
  28669. pTDefRegMap(@Self)^.&set := $00001000;
  28670. end;
  28671. procedure TUART5_UabMODE.clearIREN; inline;
  28672. begin
  28673. pTDefRegMap(@Self)^.clr := $00001000;
  28674. end;
  28675. procedure TUART5_UabMODE.setIREN(thebits : TBits_1); inline;
  28676. begin
  28677. if thebits = 0 then
  28678. pTDefRegMap(@Self)^.clr := $00001000
  28679. else
  28680. pTDefRegMap(@Self)^.&set := $00001000;
  28681. end;
  28682. function TUART5_UabMODE.getIREN : TBits_1; inline;
  28683. begin
  28684. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28685. end;
  28686. procedure TUART5_UabMODE.setSIDL; inline;
  28687. begin
  28688. pTDefRegMap(@Self)^.&set := $00002000;
  28689. end;
  28690. procedure TUART5_UabMODE.clearSIDL; inline;
  28691. begin
  28692. pTDefRegMap(@Self)^.clr := $00002000;
  28693. end;
  28694. procedure TUART5_UabMODE.setSIDL(thebits : TBits_1); inline;
  28695. begin
  28696. if thebits = 0 then
  28697. pTDefRegMap(@Self)^.clr := $00002000
  28698. else
  28699. pTDefRegMap(@Self)^.&set := $00002000;
  28700. end;
  28701. function TUART5_UabMODE.getSIDL : TBits_1; inline;
  28702. begin
  28703. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28704. end;
  28705. procedure TUART5_UabMODE.setON; inline;
  28706. begin
  28707. pTDefRegMap(@Self)^.&set := $00008000;
  28708. end;
  28709. procedure TUART5_UabMODE.clearON; inline;
  28710. begin
  28711. pTDefRegMap(@Self)^.clr := $00008000;
  28712. end;
  28713. procedure TUART5_UabMODE.setON(thebits : TBits_1); inline;
  28714. begin
  28715. if thebits = 0 then
  28716. pTDefRegMap(@Self)^.clr := $00008000
  28717. else
  28718. pTDefRegMap(@Self)^.&set := $00008000;
  28719. end;
  28720. function TUART5_UabMODE.getON : TBits_1; inline;
  28721. begin
  28722. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28723. end;
  28724. procedure TUART5_UabMODE.setPDSEL0; inline;
  28725. begin
  28726. pTDefRegMap(@Self)^.&set := $00000002;
  28727. end;
  28728. procedure TUART5_UabMODE.clearPDSEL0; inline;
  28729. begin
  28730. pTDefRegMap(@Self)^.clr := $00000002;
  28731. end;
  28732. procedure TUART5_UabMODE.setPDSEL0(thebits : TBits_1); inline;
  28733. begin
  28734. if thebits = 0 then
  28735. pTDefRegMap(@Self)^.clr := $00000002
  28736. else
  28737. pTDefRegMap(@Self)^.&set := $00000002;
  28738. end;
  28739. function TUART5_UabMODE.getPDSEL0 : TBits_1; inline;
  28740. begin
  28741. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28742. end;
  28743. procedure TUART5_UabMODE.setPDSEL1; inline;
  28744. begin
  28745. pTDefRegMap(@Self)^.&set := $00000004;
  28746. end;
  28747. procedure TUART5_UabMODE.clearPDSEL1; inline;
  28748. begin
  28749. pTDefRegMap(@Self)^.clr := $00000004;
  28750. end;
  28751. procedure TUART5_UabMODE.setPDSEL1(thebits : TBits_1); inline;
  28752. begin
  28753. if thebits = 0 then
  28754. pTDefRegMap(@Self)^.clr := $00000004
  28755. else
  28756. pTDefRegMap(@Self)^.&set := $00000004;
  28757. end;
  28758. function TUART5_UabMODE.getPDSEL1 : TBits_1; inline;
  28759. begin
  28760. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28761. end;
  28762. procedure TUART5_UabMODE.setUEN0; inline;
  28763. begin
  28764. pTDefRegMap(@Self)^.&set := $00000100;
  28765. end;
  28766. procedure TUART5_UabMODE.clearUEN0; inline;
  28767. begin
  28768. pTDefRegMap(@Self)^.clr := $00000100;
  28769. end;
  28770. procedure TUART5_UabMODE.setUEN0(thebits : TBits_1); inline;
  28771. begin
  28772. if thebits = 0 then
  28773. pTDefRegMap(@Self)^.clr := $00000100
  28774. else
  28775. pTDefRegMap(@Self)^.&set := $00000100;
  28776. end;
  28777. function TUART5_UabMODE.getUEN0 : TBits_1; inline;
  28778. begin
  28779. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28780. end;
  28781. procedure TUART5_UabMODE.setUEN1; inline;
  28782. begin
  28783. pTDefRegMap(@Self)^.&set := $00000200;
  28784. end;
  28785. procedure TUART5_UabMODE.clearUEN1; inline;
  28786. begin
  28787. pTDefRegMap(@Self)^.clr := $00000200;
  28788. end;
  28789. procedure TUART5_UabMODE.setUEN1(thebits : TBits_1); inline;
  28790. begin
  28791. if thebits = 0 then
  28792. pTDefRegMap(@Self)^.clr := $00000200
  28793. else
  28794. pTDefRegMap(@Self)^.&set := $00000200;
  28795. end;
  28796. function TUART5_UabMODE.getUEN1 : TBits_1; inline;
  28797. begin
  28798. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28799. end;
  28800. procedure TUART5_UabMODE.setUSIDL; inline;
  28801. begin
  28802. pTDefRegMap(@Self)^.&set := $00002000;
  28803. end;
  28804. procedure TUART5_UabMODE.clearUSIDL; inline;
  28805. begin
  28806. pTDefRegMap(@Self)^.clr := $00002000;
  28807. end;
  28808. procedure TUART5_UabMODE.setUSIDL(thebits : TBits_1); inline;
  28809. begin
  28810. if thebits = 0 then
  28811. pTDefRegMap(@Self)^.clr := $00002000
  28812. else
  28813. pTDefRegMap(@Self)^.&set := $00002000;
  28814. end;
  28815. function TUART5_UabMODE.getUSIDL : TBits_1; inline;
  28816. begin
  28817. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28818. end;
  28819. procedure TUART5_UabMODE.setUARTEN; inline;
  28820. begin
  28821. pTDefRegMap(@Self)^.&set := $00008000;
  28822. end;
  28823. procedure TUART5_UabMODE.clearUARTEN; inline;
  28824. begin
  28825. pTDefRegMap(@Self)^.clr := $00008000;
  28826. end;
  28827. procedure TUART5_UabMODE.setUARTEN(thebits : TBits_1); inline;
  28828. begin
  28829. if thebits = 0 then
  28830. pTDefRegMap(@Self)^.clr := $00008000
  28831. else
  28832. pTDefRegMap(@Self)^.&set := $00008000;
  28833. end;
  28834. function TUART5_UabMODE.getUARTEN : TBits_1; inline;
  28835. begin
  28836. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28837. end;
  28838. procedure TUART5_UabMODE.setw(thebits : TBits_32); inline;
  28839. begin
  28840. pTDefRegMap(@Self)^.val := thebits;
  28841. end;
  28842. function TUART5_UabMODE.getw : TBits_32; inline;
  28843. begin
  28844. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28845. end;
  28846. procedure TUART5_U5STA.setURXDA; inline;
  28847. begin
  28848. pTDefRegMap(@Self)^.&set := $00000001;
  28849. end;
  28850. procedure TUART5_U5STA.clearURXDA; inline;
  28851. begin
  28852. pTDefRegMap(@Self)^.clr := $00000001;
  28853. end;
  28854. procedure TUART5_U5STA.setURXDA(thebits : TBits_1); inline;
  28855. begin
  28856. if thebits = 0 then
  28857. pTDefRegMap(@Self)^.clr := $00000001
  28858. else
  28859. pTDefRegMap(@Self)^.&set := $00000001;
  28860. end;
  28861. function TUART5_U5STA.getURXDA : TBits_1; inline;
  28862. begin
  28863. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28864. end;
  28865. procedure TUART5_U5STA.setOERR; inline;
  28866. begin
  28867. pTDefRegMap(@Self)^.&set := $00000002;
  28868. end;
  28869. procedure TUART5_U5STA.clearOERR; inline;
  28870. begin
  28871. pTDefRegMap(@Self)^.clr := $00000002;
  28872. end;
  28873. procedure TUART5_U5STA.setOERR(thebits : TBits_1); inline;
  28874. begin
  28875. if thebits = 0 then
  28876. pTDefRegMap(@Self)^.clr := $00000002
  28877. else
  28878. pTDefRegMap(@Self)^.&set := $00000002;
  28879. end;
  28880. function TUART5_U5STA.getOERR : TBits_1; inline;
  28881. begin
  28882. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28883. end;
  28884. procedure TUART5_U5STA.setFERR; inline;
  28885. begin
  28886. pTDefRegMap(@Self)^.&set := $00000004;
  28887. end;
  28888. procedure TUART5_U5STA.clearFERR; inline;
  28889. begin
  28890. pTDefRegMap(@Self)^.clr := $00000004;
  28891. end;
  28892. procedure TUART5_U5STA.setFERR(thebits : TBits_1); inline;
  28893. begin
  28894. if thebits = 0 then
  28895. pTDefRegMap(@Self)^.clr := $00000004
  28896. else
  28897. pTDefRegMap(@Self)^.&set := $00000004;
  28898. end;
  28899. function TUART5_U5STA.getFERR : TBits_1; inline;
  28900. begin
  28901. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28902. end;
  28903. procedure TUART5_U5STA.setPERR; inline;
  28904. begin
  28905. pTDefRegMap(@Self)^.&set := $00000008;
  28906. end;
  28907. procedure TUART5_U5STA.clearPERR; inline;
  28908. begin
  28909. pTDefRegMap(@Self)^.clr := $00000008;
  28910. end;
  28911. procedure TUART5_U5STA.setPERR(thebits : TBits_1); inline;
  28912. begin
  28913. if thebits = 0 then
  28914. pTDefRegMap(@Self)^.clr := $00000008
  28915. else
  28916. pTDefRegMap(@Self)^.&set := $00000008;
  28917. end;
  28918. function TUART5_U5STA.getPERR : TBits_1; inline;
  28919. begin
  28920. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28921. end;
  28922. procedure TUART5_U5STA.setRIDLE; inline;
  28923. begin
  28924. pTDefRegMap(@Self)^.&set := $00000010;
  28925. end;
  28926. procedure TUART5_U5STA.clearRIDLE; inline;
  28927. begin
  28928. pTDefRegMap(@Self)^.clr := $00000010;
  28929. end;
  28930. procedure TUART5_U5STA.setRIDLE(thebits : TBits_1); inline;
  28931. begin
  28932. if thebits = 0 then
  28933. pTDefRegMap(@Self)^.clr := $00000010
  28934. else
  28935. pTDefRegMap(@Self)^.&set := $00000010;
  28936. end;
  28937. function TUART5_U5STA.getRIDLE : TBits_1; inline;
  28938. begin
  28939. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28940. end;
  28941. procedure TUART5_U5STA.setADDEN; inline;
  28942. begin
  28943. pTDefRegMap(@Self)^.&set := $00000020;
  28944. end;
  28945. procedure TUART5_U5STA.clearADDEN; inline;
  28946. begin
  28947. pTDefRegMap(@Self)^.clr := $00000020;
  28948. end;
  28949. procedure TUART5_U5STA.setADDEN(thebits : TBits_1); inline;
  28950. begin
  28951. if thebits = 0 then
  28952. pTDefRegMap(@Self)^.clr := $00000020
  28953. else
  28954. pTDefRegMap(@Self)^.&set := $00000020;
  28955. end;
  28956. function TUART5_U5STA.getADDEN : TBits_1; inline;
  28957. begin
  28958. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28959. end;
  28960. procedure TUART5_U5STA.setURXISEL(thebits : TBits_2); inline;
  28961. begin
  28962. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28963. end;
  28964. function TUART5_U5STA.getURXISEL : TBits_2; inline;
  28965. begin
  28966. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28967. end;
  28968. procedure TUART5_U5STA.setTRMT; inline;
  28969. begin
  28970. pTDefRegMap(@Self)^.&set := $00000100;
  28971. end;
  28972. procedure TUART5_U5STA.clearTRMT; inline;
  28973. begin
  28974. pTDefRegMap(@Self)^.clr := $00000100;
  28975. end;
  28976. procedure TUART5_U5STA.setTRMT(thebits : TBits_1); inline;
  28977. begin
  28978. if thebits = 0 then
  28979. pTDefRegMap(@Self)^.clr := $00000100
  28980. else
  28981. pTDefRegMap(@Self)^.&set := $00000100;
  28982. end;
  28983. function TUART5_U5STA.getTRMT : TBits_1; inline;
  28984. begin
  28985. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28986. end;
  28987. procedure TUART5_U5STA.setUTXBF; inline;
  28988. begin
  28989. pTDefRegMap(@Self)^.&set := $00000200;
  28990. end;
  28991. procedure TUART5_U5STA.clearUTXBF; inline;
  28992. begin
  28993. pTDefRegMap(@Self)^.clr := $00000200;
  28994. end;
  28995. procedure TUART5_U5STA.setUTXBF(thebits : TBits_1); inline;
  28996. begin
  28997. if thebits = 0 then
  28998. pTDefRegMap(@Self)^.clr := $00000200
  28999. else
  29000. pTDefRegMap(@Self)^.&set := $00000200;
  29001. end;
  29002. function TUART5_U5STA.getUTXBF : TBits_1; inline;
  29003. begin
  29004. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29005. end;
  29006. procedure TUART5_U5STA.setUTXEN; inline;
  29007. begin
  29008. pTDefRegMap(@Self)^.&set := $00000400;
  29009. end;
  29010. procedure TUART5_U5STA.clearUTXEN; inline;
  29011. begin
  29012. pTDefRegMap(@Self)^.clr := $00000400;
  29013. end;
  29014. procedure TUART5_U5STA.setUTXEN(thebits : TBits_1); inline;
  29015. begin
  29016. if thebits = 0 then
  29017. pTDefRegMap(@Self)^.clr := $00000400
  29018. else
  29019. pTDefRegMap(@Self)^.&set := $00000400;
  29020. end;
  29021. function TUART5_U5STA.getUTXEN : TBits_1; inline;
  29022. begin
  29023. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29024. end;
  29025. procedure TUART5_U5STA.setUTXBRK; inline;
  29026. begin
  29027. pTDefRegMap(@Self)^.&set := $00000800;
  29028. end;
  29029. procedure TUART5_U5STA.clearUTXBRK; inline;
  29030. begin
  29031. pTDefRegMap(@Self)^.clr := $00000800;
  29032. end;
  29033. procedure TUART5_U5STA.setUTXBRK(thebits : TBits_1); inline;
  29034. begin
  29035. if thebits = 0 then
  29036. pTDefRegMap(@Self)^.clr := $00000800
  29037. else
  29038. pTDefRegMap(@Self)^.&set := $00000800;
  29039. end;
  29040. function TUART5_U5STA.getUTXBRK : TBits_1; inline;
  29041. begin
  29042. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29043. end;
  29044. procedure TUART5_U5STA.setURXEN; inline;
  29045. begin
  29046. pTDefRegMap(@Self)^.&set := $00001000;
  29047. end;
  29048. procedure TUART5_U5STA.clearURXEN; inline;
  29049. begin
  29050. pTDefRegMap(@Self)^.clr := $00001000;
  29051. end;
  29052. procedure TUART5_U5STA.setURXEN(thebits : TBits_1); inline;
  29053. begin
  29054. if thebits = 0 then
  29055. pTDefRegMap(@Self)^.clr := $00001000
  29056. else
  29057. pTDefRegMap(@Self)^.&set := $00001000;
  29058. end;
  29059. function TUART5_U5STA.getURXEN : TBits_1; inline;
  29060. begin
  29061. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29062. end;
  29063. procedure TUART5_U5STA.setUTXINV; inline;
  29064. begin
  29065. pTDefRegMap(@Self)^.&set := $00002000;
  29066. end;
  29067. procedure TUART5_U5STA.clearUTXINV; inline;
  29068. begin
  29069. pTDefRegMap(@Self)^.clr := $00002000;
  29070. end;
  29071. procedure TUART5_U5STA.setUTXINV(thebits : TBits_1); inline;
  29072. begin
  29073. if thebits = 0 then
  29074. pTDefRegMap(@Self)^.clr := $00002000
  29075. else
  29076. pTDefRegMap(@Self)^.&set := $00002000;
  29077. end;
  29078. function TUART5_U5STA.getUTXINV : TBits_1; inline;
  29079. begin
  29080. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29081. end;
  29082. procedure TUART5_U5STA.setUTXISEL(thebits : TBits_2); inline;
  29083. begin
  29084. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29085. end;
  29086. function TUART5_U5STA.getUTXISEL : TBits_2; inline;
  29087. begin
  29088. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29089. end;
  29090. procedure TUART5_U5STA.setADDR(thebits : TBits_8); inline;
  29091. begin
  29092. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29093. end;
  29094. function TUART5_U5STA.getADDR : TBits_8; inline;
  29095. begin
  29096. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29097. end;
  29098. procedure TUART5_U5STA.setADM_EN; inline;
  29099. begin
  29100. pTDefRegMap(@Self)^.&set := $01000000;
  29101. end;
  29102. procedure TUART5_U5STA.clearADM_EN; inline;
  29103. begin
  29104. pTDefRegMap(@Self)^.clr := $01000000;
  29105. end;
  29106. procedure TUART5_U5STA.setADM_EN(thebits : TBits_1); inline;
  29107. begin
  29108. if thebits = 0 then
  29109. pTDefRegMap(@Self)^.clr := $01000000
  29110. else
  29111. pTDefRegMap(@Self)^.&set := $01000000;
  29112. end;
  29113. function TUART5_U5STA.getADM_EN : TBits_1; inline;
  29114. begin
  29115. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29116. end;
  29117. procedure TUART5_U5STA.setURXISEL0; inline;
  29118. begin
  29119. pTDefRegMap(@Self)^.&set := $00000040;
  29120. end;
  29121. procedure TUART5_U5STA.clearURXISEL0; inline;
  29122. begin
  29123. pTDefRegMap(@Self)^.clr := $00000040;
  29124. end;
  29125. procedure TUART5_U5STA.setURXISEL0(thebits : TBits_1); inline;
  29126. begin
  29127. if thebits = 0 then
  29128. pTDefRegMap(@Self)^.clr := $00000040
  29129. else
  29130. pTDefRegMap(@Self)^.&set := $00000040;
  29131. end;
  29132. function TUART5_U5STA.getURXISEL0 : TBits_1; inline;
  29133. begin
  29134. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29135. end;
  29136. procedure TUART5_U5STA.setURXISEL1; inline;
  29137. begin
  29138. pTDefRegMap(@Self)^.&set := $00000080;
  29139. end;
  29140. procedure TUART5_U5STA.clearURXISEL1; inline;
  29141. begin
  29142. pTDefRegMap(@Self)^.clr := $00000080;
  29143. end;
  29144. procedure TUART5_U5STA.setURXISEL1(thebits : TBits_1); inline;
  29145. begin
  29146. if thebits = 0 then
  29147. pTDefRegMap(@Self)^.clr := $00000080
  29148. else
  29149. pTDefRegMap(@Self)^.&set := $00000080;
  29150. end;
  29151. function TUART5_U5STA.getURXISEL1 : TBits_1; inline;
  29152. begin
  29153. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29154. end;
  29155. procedure TUART5_U5STA.setUTXISEL0; inline;
  29156. begin
  29157. pTDefRegMap(@Self)^.&set := $00004000;
  29158. end;
  29159. procedure TUART5_U5STA.clearUTXISEL0; inline;
  29160. begin
  29161. pTDefRegMap(@Self)^.clr := $00004000;
  29162. end;
  29163. procedure TUART5_U5STA.setUTXISEL0(thebits : TBits_1); inline;
  29164. begin
  29165. if thebits = 0 then
  29166. pTDefRegMap(@Self)^.clr := $00004000
  29167. else
  29168. pTDefRegMap(@Self)^.&set := $00004000;
  29169. end;
  29170. function TUART5_U5STA.getUTXISEL0 : TBits_1; inline;
  29171. begin
  29172. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29173. end;
  29174. procedure TUART5_U5STA.setUTXISEL1; inline;
  29175. begin
  29176. pTDefRegMap(@Self)^.&set := $00008000;
  29177. end;
  29178. procedure TUART5_U5STA.clearUTXISEL1; inline;
  29179. begin
  29180. pTDefRegMap(@Self)^.clr := $00008000;
  29181. end;
  29182. procedure TUART5_U5STA.setUTXISEL1(thebits : TBits_1); inline;
  29183. begin
  29184. if thebits = 0 then
  29185. pTDefRegMap(@Self)^.clr := $00008000
  29186. else
  29187. pTDefRegMap(@Self)^.&set := $00008000;
  29188. end;
  29189. function TUART5_U5STA.getUTXISEL1 : TBits_1; inline;
  29190. begin
  29191. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29192. end;
  29193. procedure TUART5_U5STA.setUTXSEL(thebits : TBits_2); inline;
  29194. begin
  29195. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29196. end;
  29197. function TUART5_U5STA.getUTXSEL : TBits_2; inline;
  29198. begin
  29199. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29200. end;
  29201. procedure TUART5_U5STA.setw(thebits : TBits_32); inline;
  29202. begin
  29203. pTDefRegMap(@Self)^.val := thebits;
  29204. end;
  29205. function TUART5_U5STA.getw : TBits_32; inline;
  29206. begin
  29207. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29208. end;
  29209. procedure TUART5_UabSTA.setURXDA; inline;
  29210. begin
  29211. pTDefRegMap(@Self)^.&set := $00000001;
  29212. end;
  29213. procedure TUART5_UabSTA.clearURXDA; inline;
  29214. begin
  29215. pTDefRegMap(@Self)^.clr := $00000001;
  29216. end;
  29217. procedure TUART5_UabSTA.setURXDA(thebits : TBits_1); inline;
  29218. begin
  29219. if thebits = 0 then
  29220. pTDefRegMap(@Self)^.clr := $00000001
  29221. else
  29222. pTDefRegMap(@Self)^.&set := $00000001;
  29223. end;
  29224. function TUART5_UabSTA.getURXDA : TBits_1; inline;
  29225. begin
  29226. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29227. end;
  29228. procedure TUART5_UabSTA.setOERR; inline;
  29229. begin
  29230. pTDefRegMap(@Self)^.&set := $00000002;
  29231. end;
  29232. procedure TUART5_UabSTA.clearOERR; inline;
  29233. begin
  29234. pTDefRegMap(@Self)^.clr := $00000002;
  29235. end;
  29236. procedure TUART5_UabSTA.setOERR(thebits : TBits_1); inline;
  29237. begin
  29238. if thebits = 0 then
  29239. pTDefRegMap(@Self)^.clr := $00000002
  29240. else
  29241. pTDefRegMap(@Self)^.&set := $00000002;
  29242. end;
  29243. function TUART5_UabSTA.getOERR : TBits_1; inline;
  29244. begin
  29245. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29246. end;
  29247. procedure TUART5_UabSTA.setFERR; inline;
  29248. begin
  29249. pTDefRegMap(@Self)^.&set := $00000004;
  29250. end;
  29251. procedure TUART5_UabSTA.clearFERR; inline;
  29252. begin
  29253. pTDefRegMap(@Self)^.clr := $00000004;
  29254. end;
  29255. procedure TUART5_UabSTA.setFERR(thebits : TBits_1); inline;
  29256. begin
  29257. if thebits = 0 then
  29258. pTDefRegMap(@Self)^.clr := $00000004
  29259. else
  29260. pTDefRegMap(@Self)^.&set := $00000004;
  29261. end;
  29262. function TUART5_UabSTA.getFERR : TBits_1; inline;
  29263. begin
  29264. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29265. end;
  29266. procedure TUART5_UabSTA.setPERR; inline;
  29267. begin
  29268. pTDefRegMap(@Self)^.&set := $00000008;
  29269. end;
  29270. procedure TUART5_UabSTA.clearPERR; inline;
  29271. begin
  29272. pTDefRegMap(@Self)^.clr := $00000008;
  29273. end;
  29274. procedure TUART5_UabSTA.setPERR(thebits : TBits_1); inline;
  29275. begin
  29276. if thebits = 0 then
  29277. pTDefRegMap(@Self)^.clr := $00000008
  29278. else
  29279. pTDefRegMap(@Self)^.&set := $00000008;
  29280. end;
  29281. function TUART5_UabSTA.getPERR : TBits_1; inline;
  29282. begin
  29283. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29284. end;
  29285. procedure TUART5_UabSTA.setRIDLE; inline;
  29286. begin
  29287. pTDefRegMap(@Self)^.&set := $00000010;
  29288. end;
  29289. procedure TUART5_UabSTA.clearRIDLE; inline;
  29290. begin
  29291. pTDefRegMap(@Self)^.clr := $00000010;
  29292. end;
  29293. procedure TUART5_UabSTA.setRIDLE(thebits : TBits_1); inline;
  29294. begin
  29295. if thebits = 0 then
  29296. pTDefRegMap(@Self)^.clr := $00000010
  29297. else
  29298. pTDefRegMap(@Self)^.&set := $00000010;
  29299. end;
  29300. function TUART5_UabSTA.getRIDLE : TBits_1; inline;
  29301. begin
  29302. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29303. end;
  29304. procedure TUART5_UabSTA.setADDEN; inline;
  29305. begin
  29306. pTDefRegMap(@Self)^.&set := $00000020;
  29307. end;
  29308. procedure TUART5_UabSTA.clearADDEN; inline;
  29309. begin
  29310. pTDefRegMap(@Self)^.clr := $00000020;
  29311. end;
  29312. procedure TUART5_UabSTA.setADDEN(thebits : TBits_1); inline;
  29313. begin
  29314. if thebits = 0 then
  29315. pTDefRegMap(@Self)^.clr := $00000020
  29316. else
  29317. pTDefRegMap(@Self)^.&set := $00000020;
  29318. end;
  29319. function TUART5_UabSTA.getADDEN : TBits_1; inline;
  29320. begin
  29321. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29322. end;
  29323. procedure TUART5_UabSTA.setURXISEL(thebits : TBits_2); inline;
  29324. begin
  29325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29326. end;
  29327. function TUART5_UabSTA.getURXISEL : TBits_2; inline;
  29328. begin
  29329. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29330. end;
  29331. procedure TUART5_UabSTA.setTRMT; inline;
  29332. begin
  29333. pTDefRegMap(@Self)^.&set := $00000100;
  29334. end;
  29335. procedure TUART5_UabSTA.clearTRMT; inline;
  29336. begin
  29337. pTDefRegMap(@Self)^.clr := $00000100;
  29338. end;
  29339. procedure TUART5_UabSTA.setTRMT(thebits : TBits_1); inline;
  29340. begin
  29341. if thebits = 0 then
  29342. pTDefRegMap(@Self)^.clr := $00000100
  29343. else
  29344. pTDefRegMap(@Self)^.&set := $00000100;
  29345. end;
  29346. function TUART5_UabSTA.getTRMT : TBits_1; inline;
  29347. begin
  29348. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29349. end;
  29350. procedure TUART5_UabSTA.setUTXBF; inline;
  29351. begin
  29352. pTDefRegMap(@Self)^.&set := $00000200;
  29353. end;
  29354. procedure TUART5_UabSTA.clearUTXBF; inline;
  29355. begin
  29356. pTDefRegMap(@Self)^.clr := $00000200;
  29357. end;
  29358. procedure TUART5_UabSTA.setUTXBF(thebits : TBits_1); inline;
  29359. begin
  29360. if thebits = 0 then
  29361. pTDefRegMap(@Self)^.clr := $00000200
  29362. else
  29363. pTDefRegMap(@Self)^.&set := $00000200;
  29364. end;
  29365. function TUART5_UabSTA.getUTXBF : TBits_1; inline;
  29366. begin
  29367. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29368. end;
  29369. procedure TUART5_UabSTA.setUTXEN; inline;
  29370. begin
  29371. pTDefRegMap(@Self)^.&set := $00000400;
  29372. end;
  29373. procedure TUART5_UabSTA.clearUTXEN; inline;
  29374. begin
  29375. pTDefRegMap(@Self)^.clr := $00000400;
  29376. end;
  29377. procedure TUART5_UabSTA.setUTXEN(thebits : TBits_1); inline;
  29378. begin
  29379. if thebits = 0 then
  29380. pTDefRegMap(@Self)^.clr := $00000400
  29381. else
  29382. pTDefRegMap(@Self)^.&set := $00000400;
  29383. end;
  29384. function TUART5_UabSTA.getUTXEN : TBits_1; inline;
  29385. begin
  29386. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29387. end;
  29388. procedure TUART5_UabSTA.setUTXBRK; inline;
  29389. begin
  29390. pTDefRegMap(@Self)^.&set := $00000800;
  29391. end;
  29392. procedure TUART5_UabSTA.clearUTXBRK; inline;
  29393. begin
  29394. pTDefRegMap(@Self)^.clr := $00000800;
  29395. end;
  29396. procedure TUART5_UabSTA.setUTXBRK(thebits : TBits_1); inline;
  29397. begin
  29398. if thebits = 0 then
  29399. pTDefRegMap(@Self)^.clr := $00000800
  29400. else
  29401. pTDefRegMap(@Self)^.&set := $00000800;
  29402. end;
  29403. function TUART5_UabSTA.getUTXBRK : TBits_1; inline;
  29404. begin
  29405. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29406. end;
  29407. procedure TUART5_UabSTA.setURXEN; inline;
  29408. begin
  29409. pTDefRegMap(@Self)^.&set := $00001000;
  29410. end;
  29411. procedure TUART5_UabSTA.clearURXEN; inline;
  29412. begin
  29413. pTDefRegMap(@Self)^.clr := $00001000;
  29414. end;
  29415. procedure TUART5_UabSTA.setURXEN(thebits : TBits_1); inline;
  29416. begin
  29417. if thebits = 0 then
  29418. pTDefRegMap(@Self)^.clr := $00001000
  29419. else
  29420. pTDefRegMap(@Self)^.&set := $00001000;
  29421. end;
  29422. function TUART5_UabSTA.getURXEN : TBits_1; inline;
  29423. begin
  29424. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29425. end;
  29426. procedure TUART5_UabSTA.setUTXINV; inline;
  29427. begin
  29428. pTDefRegMap(@Self)^.&set := $00002000;
  29429. end;
  29430. procedure TUART5_UabSTA.clearUTXINV; inline;
  29431. begin
  29432. pTDefRegMap(@Self)^.clr := $00002000;
  29433. end;
  29434. procedure TUART5_UabSTA.setUTXINV(thebits : TBits_1); inline;
  29435. begin
  29436. if thebits = 0 then
  29437. pTDefRegMap(@Self)^.clr := $00002000
  29438. else
  29439. pTDefRegMap(@Self)^.&set := $00002000;
  29440. end;
  29441. function TUART5_UabSTA.getUTXINV : TBits_1; inline;
  29442. begin
  29443. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29444. end;
  29445. procedure TUART5_UabSTA.setUTXISEL(thebits : TBits_2); inline;
  29446. begin
  29447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29448. end;
  29449. function TUART5_UabSTA.getUTXISEL : TBits_2; inline;
  29450. begin
  29451. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29452. end;
  29453. procedure TUART5_UabSTA.setADDR(thebits : TBits_8); inline;
  29454. begin
  29455. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29456. end;
  29457. function TUART5_UabSTA.getADDR : TBits_8; inline;
  29458. begin
  29459. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29460. end;
  29461. procedure TUART5_UabSTA.setADM_EN; inline;
  29462. begin
  29463. pTDefRegMap(@Self)^.&set := $01000000;
  29464. end;
  29465. procedure TUART5_UabSTA.clearADM_EN; inline;
  29466. begin
  29467. pTDefRegMap(@Self)^.clr := $01000000;
  29468. end;
  29469. procedure TUART5_UabSTA.setADM_EN(thebits : TBits_1); inline;
  29470. begin
  29471. if thebits = 0 then
  29472. pTDefRegMap(@Self)^.clr := $01000000
  29473. else
  29474. pTDefRegMap(@Self)^.&set := $01000000;
  29475. end;
  29476. function TUART5_UabSTA.getADM_EN : TBits_1; inline;
  29477. begin
  29478. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29479. end;
  29480. procedure TUART5_UabSTA.setURXISEL0; inline;
  29481. begin
  29482. pTDefRegMap(@Self)^.&set := $00000040;
  29483. end;
  29484. procedure TUART5_UabSTA.clearURXISEL0; inline;
  29485. begin
  29486. pTDefRegMap(@Self)^.clr := $00000040;
  29487. end;
  29488. procedure TUART5_UabSTA.setURXISEL0(thebits : TBits_1); inline;
  29489. begin
  29490. if thebits = 0 then
  29491. pTDefRegMap(@Self)^.clr := $00000040
  29492. else
  29493. pTDefRegMap(@Self)^.&set := $00000040;
  29494. end;
  29495. function TUART5_UabSTA.getURXISEL0 : TBits_1; inline;
  29496. begin
  29497. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29498. end;
  29499. procedure TUART5_UabSTA.setURXISEL1; inline;
  29500. begin
  29501. pTDefRegMap(@Self)^.&set := $00000080;
  29502. end;
  29503. procedure TUART5_UabSTA.clearURXISEL1; inline;
  29504. begin
  29505. pTDefRegMap(@Self)^.clr := $00000080;
  29506. end;
  29507. procedure TUART5_UabSTA.setURXISEL1(thebits : TBits_1); inline;
  29508. begin
  29509. if thebits = 0 then
  29510. pTDefRegMap(@Self)^.clr := $00000080
  29511. else
  29512. pTDefRegMap(@Self)^.&set := $00000080;
  29513. end;
  29514. function TUART5_UabSTA.getURXISEL1 : TBits_1; inline;
  29515. begin
  29516. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29517. end;
  29518. procedure TUART5_UabSTA.setUTXISEL0; inline;
  29519. begin
  29520. pTDefRegMap(@Self)^.&set := $00004000;
  29521. end;
  29522. procedure TUART5_UabSTA.clearUTXISEL0; inline;
  29523. begin
  29524. pTDefRegMap(@Self)^.clr := $00004000;
  29525. end;
  29526. procedure TUART5_UabSTA.setUTXISEL0(thebits : TBits_1); inline;
  29527. begin
  29528. if thebits = 0 then
  29529. pTDefRegMap(@Self)^.clr := $00004000
  29530. else
  29531. pTDefRegMap(@Self)^.&set := $00004000;
  29532. end;
  29533. function TUART5_UabSTA.getUTXISEL0 : TBits_1; inline;
  29534. begin
  29535. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29536. end;
  29537. procedure TUART5_UabSTA.setUTXISEL1; inline;
  29538. begin
  29539. pTDefRegMap(@Self)^.&set := $00008000;
  29540. end;
  29541. procedure TUART5_UabSTA.clearUTXISEL1; inline;
  29542. begin
  29543. pTDefRegMap(@Self)^.clr := $00008000;
  29544. end;
  29545. procedure TUART5_UabSTA.setUTXISEL1(thebits : TBits_1); inline;
  29546. begin
  29547. if thebits = 0 then
  29548. pTDefRegMap(@Self)^.clr := $00008000
  29549. else
  29550. pTDefRegMap(@Self)^.&set := $00008000;
  29551. end;
  29552. function TUART5_UabSTA.getUTXISEL1 : TBits_1; inline;
  29553. begin
  29554. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29555. end;
  29556. procedure TUART5_UabSTA.setUTXSEL(thebits : TBits_2); inline;
  29557. begin
  29558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29559. end;
  29560. function TUART5_UabSTA.getUTXSEL : TBits_2; inline;
  29561. begin
  29562. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29563. end;
  29564. procedure TUART5_UabSTA.setw(thebits : TBits_32); inline;
  29565. begin
  29566. pTDefRegMap(@Self)^.val := thebits;
  29567. end;
  29568. function TUART5_UabSTA.getw : TBits_32; inline;
  29569. begin
  29570. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29571. end;
  29572. procedure TPMP_PMCON.setRDSP; inline;
  29573. begin
  29574. pTDefRegMap(@Self)^.&set := $00000001;
  29575. end;
  29576. procedure TPMP_PMCON.clearRDSP; inline;
  29577. begin
  29578. pTDefRegMap(@Self)^.clr := $00000001;
  29579. end;
  29580. procedure TPMP_PMCON.setRDSP(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 TPMP_PMCON.getRDSP : TBits_1; inline;
  29588. begin
  29589. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29590. end;
  29591. procedure TPMP_PMCON.setWRSP; inline;
  29592. begin
  29593. pTDefRegMap(@Self)^.&set := $00000002;
  29594. end;
  29595. procedure TPMP_PMCON.clearWRSP; inline;
  29596. begin
  29597. pTDefRegMap(@Self)^.clr := $00000002;
  29598. end;
  29599. procedure TPMP_PMCON.setWRSP(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 TPMP_PMCON.getWRSP : TBits_1; inline;
  29607. begin
  29608. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29609. end;
  29610. procedure TPMP_PMCON.setCS1P; inline;
  29611. begin
  29612. pTDefRegMap(@Self)^.&set := $00000008;
  29613. end;
  29614. procedure TPMP_PMCON.clearCS1P; inline;
  29615. begin
  29616. pTDefRegMap(@Self)^.clr := $00000008;
  29617. end;
  29618. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  29619. begin
  29620. if thebits = 0 then
  29621. pTDefRegMap(@Self)^.clr := $00000008
  29622. else
  29623. pTDefRegMap(@Self)^.&set := $00000008;
  29624. end;
  29625. function TPMP_PMCON.getCS1P : TBits_1; inline;
  29626. begin
  29627. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29628. end;
  29629. procedure TPMP_PMCON.setCS2P; inline;
  29630. begin
  29631. pTDefRegMap(@Self)^.&set := $00000010;
  29632. end;
  29633. procedure TPMP_PMCON.clearCS2P; inline;
  29634. begin
  29635. pTDefRegMap(@Self)^.clr := $00000010;
  29636. end;
  29637. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  29638. begin
  29639. if thebits = 0 then
  29640. pTDefRegMap(@Self)^.clr := $00000010
  29641. else
  29642. pTDefRegMap(@Self)^.&set := $00000010;
  29643. end;
  29644. function TPMP_PMCON.getCS2P : TBits_1; inline;
  29645. begin
  29646. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29647. end;
  29648. procedure TPMP_PMCON.setALP; inline;
  29649. begin
  29650. pTDefRegMap(@Self)^.&set := $00000020;
  29651. end;
  29652. procedure TPMP_PMCON.clearALP; inline;
  29653. begin
  29654. pTDefRegMap(@Self)^.clr := $00000020;
  29655. end;
  29656. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  29657. begin
  29658. if thebits = 0 then
  29659. pTDefRegMap(@Self)^.clr := $00000020
  29660. else
  29661. pTDefRegMap(@Self)^.&set := $00000020;
  29662. end;
  29663. function TPMP_PMCON.getALP : TBits_1; inline;
  29664. begin
  29665. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29666. end;
  29667. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  29668. begin
  29669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29670. end;
  29671. function TPMP_PMCON.getCSF : TBits_2; inline;
  29672. begin
  29673. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29674. end;
  29675. procedure TPMP_PMCON.setPTRDEN; inline;
  29676. begin
  29677. pTDefRegMap(@Self)^.&set := $00000100;
  29678. end;
  29679. procedure TPMP_PMCON.clearPTRDEN; inline;
  29680. begin
  29681. pTDefRegMap(@Self)^.clr := $00000100;
  29682. end;
  29683. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  29684. begin
  29685. if thebits = 0 then
  29686. pTDefRegMap(@Self)^.clr := $00000100
  29687. else
  29688. pTDefRegMap(@Self)^.&set := $00000100;
  29689. end;
  29690. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  29691. begin
  29692. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29693. end;
  29694. procedure TPMP_PMCON.setPTWREN; inline;
  29695. begin
  29696. pTDefRegMap(@Self)^.&set := $00000200;
  29697. end;
  29698. procedure TPMP_PMCON.clearPTWREN; inline;
  29699. begin
  29700. pTDefRegMap(@Self)^.clr := $00000200;
  29701. end;
  29702. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  29703. begin
  29704. if thebits = 0 then
  29705. pTDefRegMap(@Self)^.clr := $00000200
  29706. else
  29707. pTDefRegMap(@Self)^.&set := $00000200;
  29708. end;
  29709. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  29710. begin
  29711. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29712. end;
  29713. procedure TPMP_PMCON.setPMPTTL; inline;
  29714. begin
  29715. pTDefRegMap(@Self)^.&set := $00000400;
  29716. end;
  29717. procedure TPMP_PMCON.clearPMPTTL; inline;
  29718. begin
  29719. pTDefRegMap(@Self)^.clr := $00000400;
  29720. end;
  29721. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  29722. begin
  29723. if thebits = 0 then
  29724. pTDefRegMap(@Self)^.clr := $00000400
  29725. else
  29726. pTDefRegMap(@Self)^.&set := $00000400;
  29727. end;
  29728. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  29729. begin
  29730. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29731. end;
  29732. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  29733. begin
  29734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  29735. end;
  29736. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  29737. begin
  29738. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  29739. end;
  29740. procedure TPMP_PMCON.setSIDL; inline;
  29741. begin
  29742. pTDefRegMap(@Self)^.&set := $00002000;
  29743. end;
  29744. procedure TPMP_PMCON.clearSIDL; inline;
  29745. begin
  29746. pTDefRegMap(@Self)^.clr := $00002000;
  29747. end;
  29748. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  29749. begin
  29750. if thebits = 0 then
  29751. pTDefRegMap(@Self)^.clr := $00002000
  29752. else
  29753. pTDefRegMap(@Self)^.&set := $00002000;
  29754. end;
  29755. function TPMP_PMCON.getSIDL : TBits_1; inline;
  29756. begin
  29757. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29758. end;
  29759. procedure TPMP_PMCON.setON; inline;
  29760. begin
  29761. pTDefRegMap(@Self)^.&set := $00008000;
  29762. end;
  29763. procedure TPMP_PMCON.clearON; inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.clr := $00008000;
  29766. end;
  29767. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  29768. begin
  29769. if thebits = 0 then
  29770. pTDefRegMap(@Self)^.clr := $00008000
  29771. else
  29772. pTDefRegMap(@Self)^.&set := $00008000;
  29773. end;
  29774. function TPMP_PMCON.getON : TBits_1; inline;
  29775. begin
  29776. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29777. end;
  29778. procedure TPMP_PMCON.setCSF0; inline;
  29779. begin
  29780. pTDefRegMap(@Self)^.&set := $00000040;
  29781. end;
  29782. procedure TPMP_PMCON.clearCSF0; inline;
  29783. begin
  29784. pTDefRegMap(@Self)^.clr := $00000040;
  29785. end;
  29786. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  29787. begin
  29788. if thebits = 0 then
  29789. pTDefRegMap(@Self)^.clr := $00000040
  29790. else
  29791. pTDefRegMap(@Self)^.&set := $00000040;
  29792. end;
  29793. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  29794. begin
  29795. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29796. end;
  29797. procedure TPMP_PMCON.setCSF1; inline;
  29798. begin
  29799. pTDefRegMap(@Self)^.&set := $00000080;
  29800. end;
  29801. procedure TPMP_PMCON.clearCSF1; inline;
  29802. begin
  29803. pTDefRegMap(@Self)^.clr := $00000080;
  29804. end;
  29805. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  29806. begin
  29807. if thebits = 0 then
  29808. pTDefRegMap(@Self)^.clr := $00000080
  29809. else
  29810. pTDefRegMap(@Self)^.&set := $00000080;
  29811. end;
  29812. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  29813. begin
  29814. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29815. end;
  29816. procedure TPMP_PMCON.setADRMUX0; inline;
  29817. begin
  29818. pTDefRegMap(@Self)^.&set := $00000800;
  29819. end;
  29820. procedure TPMP_PMCON.clearADRMUX0; inline;
  29821. begin
  29822. pTDefRegMap(@Self)^.clr := $00000800;
  29823. end;
  29824. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  29825. begin
  29826. if thebits = 0 then
  29827. pTDefRegMap(@Self)^.clr := $00000800
  29828. else
  29829. pTDefRegMap(@Self)^.&set := $00000800;
  29830. end;
  29831. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  29832. begin
  29833. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29834. end;
  29835. procedure TPMP_PMCON.setADRMUX1; inline;
  29836. begin
  29837. pTDefRegMap(@Self)^.&set := $00001000;
  29838. end;
  29839. procedure TPMP_PMCON.clearADRMUX1; inline;
  29840. begin
  29841. pTDefRegMap(@Self)^.clr := $00001000;
  29842. end;
  29843. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  29844. begin
  29845. if thebits = 0 then
  29846. pTDefRegMap(@Self)^.clr := $00001000
  29847. else
  29848. pTDefRegMap(@Self)^.&set := $00001000;
  29849. end;
  29850. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  29851. begin
  29852. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29853. end;
  29854. procedure TPMP_PMCON.setPSIDL; inline;
  29855. begin
  29856. pTDefRegMap(@Self)^.&set := $00002000;
  29857. end;
  29858. procedure TPMP_PMCON.clearPSIDL; inline;
  29859. begin
  29860. pTDefRegMap(@Self)^.clr := $00002000;
  29861. end;
  29862. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  29863. begin
  29864. if thebits = 0 then
  29865. pTDefRegMap(@Self)^.clr := $00002000
  29866. else
  29867. pTDefRegMap(@Self)^.&set := $00002000;
  29868. end;
  29869. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  29870. begin
  29871. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29872. end;
  29873. procedure TPMP_PMCON.setPMPEN; inline;
  29874. begin
  29875. pTDefRegMap(@Self)^.&set := $00008000;
  29876. end;
  29877. procedure TPMP_PMCON.clearPMPEN; inline;
  29878. begin
  29879. pTDefRegMap(@Self)^.clr := $00008000;
  29880. end;
  29881. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  29882. begin
  29883. if thebits = 0 then
  29884. pTDefRegMap(@Self)^.clr := $00008000
  29885. else
  29886. pTDefRegMap(@Self)^.&set := $00008000;
  29887. end;
  29888. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  29889. begin
  29890. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29891. end;
  29892. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  29893. begin
  29894. pTDefRegMap(@Self)^.val := thebits;
  29895. end;
  29896. function TPMP_PMCON.getw : TBits_32; inline;
  29897. begin
  29898. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29899. end;
  29900. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  29901. begin
  29902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29903. end;
  29904. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  29905. begin
  29906. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29907. end;
  29908. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  29909. begin
  29910. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  29911. end;
  29912. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  29913. begin
  29914. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  29915. end;
  29916. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  29917. begin
  29918. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29919. end;
  29920. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  29921. begin
  29922. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29923. end;
  29924. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  29925. begin
  29926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29927. end;
  29928. function TPMP_PMMODE.getMODE : TBits_2; inline;
  29929. begin
  29930. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29931. end;
  29932. procedure TPMP_PMMODE.setMODE16; inline;
  29933. begin
  29934. pTDefRegMap(@Self)^.&set := $00000400;
  29935. end;
  29936. procedure TPMP_PMMODE.clearMODE16; inline;
  29937. begin
  29938. pTDefRegMap(@Self)^.clr := $00000400;
  29939. end;
  29940. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  29941. begin
  29942. if thebits = 0 then
  29943. pTDefRegMap(@Self)^.clr := $00000400
  29944. else
  29945. pTDefRegMap(@Self)^.&set := $00000400;
  29946. end;
  29947. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  29948. begin
  29949. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29950. end;
  29951. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  29952. begin
  29953. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  29954. end;
  29955. function TPMP_PMMODE.getINCM : TBits_2; inline;
  29956. begin
  29957. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  29958. end;
  29959. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  29960. begin
  29961. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  29962. end;
  29963. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  29964. begin
  29965. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  29966. end;
  29967. procedure TPMP_PMMODE.setBUSY; inline;
  29968. begin
  29969. pTDefRegMap(@Self)^.&set := $00008000;
  29970. end;
  29971. procedure TPMP_PMMODE.clearBUSY; inline;
  29972. begin
  29973. pTDefRegMap(@Self)^.clr := $00008000;
  29974. end;
  29975. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  29976. begin
  29977. if thebits = 0 then
  29978. pTDefRegMap(@Self)^.clr := $00008000
  29979. else
  29980. pTDefRegMap(@Self)^.&set := $00008000;
  29981. end;
  29982. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  29983. begin
  29984. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29985. end;
  29986. procedure TPMP_PMMODE.setWAITE0; inline;
  29987. begin
  29988. pTDefRegMap(@Self)^.&set := $00000001;
  29989. end;
  29990. procedure TPMP_PMMODE.clearWAITE0; inline;
  29991. begin
  29992. pTDefRegMap(@Self)^.clr := $00000001;
  29993. end;
  29994. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  29995. begin
  29996. if thebits = 0 then
  29997. pTDefRegMap(@Self)^.clr := $00000001
  29998. else
  29999. pTDefRegMap(@Self)^.&set := $00000001;
  30000. end;
  30001. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  30002. begin
  30003. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30004. end;
  30005. procedure TPMP_PMMODE.setWAITE1; inline;
  30006. begin
  30007. pTDefRegMap(@Self)^.&set := $00000002;
  30008. end;
  30009. procedure TPMP_PMMODE.clearWAITE1; inline;
  30010. begin
  30011. pTDefRegMap(@Self)^.clr := $00000002;
  30012. end;
  30013. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  30014. begin
  30015. if thebits = 0 then
  30016. pTDefRegMap(@Self)^.clr := $00000002
  30017. else
  30018. pTDefRegMap(@Self)^.&set := $00000002;
  30019. end;
  30020. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  30021. begin
  30022. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30023. end;
  30024. procedure TPMP_PMMODE.setWAITM0; inline;
  30025. begin
  30026. pTDefRegMap(@Self)^.&set := $00000004;
  30027. end;
  30028. procedure TPMP_PMMODE.clearWAITM0; inline;
  30029. begin
  30030. pTDefRegMap(@Self)^.clr := $00000004;
  30031. end;
  30032. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  30033. begin
  30034. if thebits = 0 then
  30035. pTDefRegMap(@Self)^.clr := $00000004
  30036. else
  30037. pTDefRegMap(@Self)^.&set := $00000004;
  30038. end;
  30039. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  30040. begin
  30041. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30042. end;
  30043. procedure TPMP_PMMODE.setWAITM1; inline;
  30044. begin
  30045. pTDefRegMap(@Self)^.&set := $00000008;
  30046. end;
  30047. procedure TPMP_PMMODE.clearWAITM1; inline;
  30048. begin
  30049. pTDefRegMap(@Self)^.clr := $00000008;
  30050. end;
  30051. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  30052. begin
  30053. if thebits = 0 then
  30054. pTDefRegMap(@Self)^.clr := $00000008
  30055. else
  30056. pTDefRegMap(@Self)^.&set := $00000008;
  30057. end;
  30058. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  30059. begin
  30060. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30061. end;
  30062. procedure TPMP_PMMODE.setWAITM2; inline;
  30063. begin
  30064. pTDefRegMap(@Self)^.&set := $00000010;
  30065. end;
  30066. procedure TPMP_PMMODE.clearWAITM2; inline;
  30067. begin
  30068. pTDefRegMap(@Self)^.clr := $00000010;
  30069. end;
  30070. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  30071. begin
  30072. if thebits = 0 then
  30073. pTDefRegMap(@Self)^.clr := $00000010
  30074. else
  30075. pTDefRegMap(@Self)^.&set := $00000010;
  30076. end;
  30077. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  30078. begin
  30079. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30080. end;
  30081. procedure TPMP_PMMODE.setWAITM3; inline;
  30082. begin
  30083. pTDefRegMap(@Self)^.&set := $00000020;
  30084. end;
  30085. procedure TPMP_PMMODE.clearWAITM3; inline;
  30086. begin
  30087. pTDefRegMap(@Self)^.clr := $00000020;
  30088. end;
  30089. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  30090. begin
  30091. if thebits = 0 then
  30092. pTDefRegMap(@Self)^.clr := $00000020
  30093. else
  30094. pTDefRegMap(@Self)^.&set := $00000020;
  30095. end;
  30096. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  30097. begin
  30098. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30099. end;
  30100. procedure TPMP_PMMODE.setWAITB0; inline;
  30101. begin
  30102. pTDefRegMap(@Self)^.&set := $00000040;
  30103. end;
  30104. procedure TPMP_PMMODE.clearWAITB0; inline;
  30105. begin
  30106. pTDefRegMap(@Self)^.clr := $00000040;
  30107. end;
  30108. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  30109. begin
  30110. if thebits = 0 then
  30111. pTDefRegMap(@Self)^.clr := $00000040
  30112. else
  30113. pTDefRegMap(@Self)^.&set := $00000040;
  30114. end;
  30115. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  30116. begin
  30117. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30118. end;
  30119. procedure TPMP_PMMODE.setWAITB1; inline;
  30120. begin
  30121. pTDefRegMap(@Self)^.&set := $00000080;
  30122. end;
  30123. procedure TPMP_PMMODE.clearWAITB1; inline;
  30124. begin
  30125. pTDefRegMap(@Self)^.clr := $00000080;
  30126. end;
  30127. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  30128. begin
  30129. if thebits = 0 then
  30130. pTDefRegMap(@Self)^.clr := $00000080
  30131. else
  30132. pTDefRegMap(@Self)^.&set := $00000080;
  30133. end;
  30134. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  30135. begin
  30136. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30137. end;
  30138. procedure TPMP_PMMODE.setMODE0; inline;
  30139. begin
  30140. pTDefRegMap(@Self)^.&set := $00000100;
  30141. end;
  30142. procedure TPMP_PMMODE.clearMODE0; inline;
  30143. begin
  30144. pTDefRegMap(@Self)^.clr := $00000100;
  30145. end;
  30146. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  30147. begin
  30148. if thebits = 0 then
  30149. pTDefRegMap(@Self)^.clr := $00000100
  30150. else
  30151. pTDefRegMap(@Self)^.&set := $00000100;
  30152. end;
  30153. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  30154. begin
  30155. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30156. end;
  30157. procedure TPMP_PMMODE.setMODE1; inline;
  30158. begin
  30159. pTDefRegMap(@Self)^.&set := $00000200;
  30160. end;
  30161. procedure TPMP_PMMODE.clearMODE1; inline;
  30162. begin
  30163. pTDefRegMap(@Self)^.clr := $00000200;
  30164. end;
  30165. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  30166. begin
  30167. if thebits = 0 then
  30168. pTDefRegMap(@Self)^.clr := $00000200
  30169. else
  30170. pTDefRegMap(@Self)^.&set := $00000200;
  30171. end;
  30172. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  30173. begin
  30174. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30175. end;
  30176. procedure TPMP_PMMODE.setINCM0; inline;
  30177. begin
  30178. pTDefRegMap(@Self)^.&set := $00000800;
  30179. end;
  30180. procedure TPMP_PMMODE.clearINCM0; inline;
  30181. begin
  30182. pTDefRegMap(@Self)^.clr := $00000800;
  30183. end;
  30184. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  30185. begin
  30186. if thebits = 0 then
  30187. pTDefRegMap(@Self)^.clr := $00000800
  30188. else
  30189. pTDefRegMap(@Self)^.&set := $00000800;
  30190. end;
  30191. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  30192. begin
  30193. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30194. end;
  30195. procedure TPMP_PMMODE.setINCM1; inline;
  30196. begin
  30197. pTDefRegMap(@Self)^.&set := $00001000;
  30198. end;
  30199. procedure TPMP_PMMODE.clearINCM1; inline;
  30200. begin
  30201. pTDefRegMap(@Self)^.clr := $00001000;
  30202. end;
  30203. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  30204. begin
  30205. if thebits = 0 then
  30206. pTDefRegMap(@Self)^.clr := $00001000
  30207. else
  30208. pTDefRegMap(@Self)^.&set := $00001000;
  30209. end;
  30210. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  30211. begin
  30212. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30213. end;
  30214. procedure TPMP_PMMODE.setIRQM0; inline;
  30215. begin
  30216. pTDefRegMap(@Self)^.&set := $00002000;
  30217. end;
  30218. procedure TPMP_PMMODE.clearIRQM0; inline;
  30219. begin
  30220. pTDefRegMap(@Self)^.clr := $00002000;
  30221. end;
  30222. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  30223. begin
  30224. if thebits = 0 then
  30225. pTDefRegMap(@Self)^.clr := $00002000
  30226. else
  30227. pTDefRegMap(@Self)^.&set := $00002000;
  30228. end;
  30229. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  30230. begin
  30231. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30232. end;
  30233. procedure TPMP_PMMODE.setIRQM1; inline;
  30234. begin
  30235. pTDefRegMap(@Self)^.&set := $00004000;
  30236. end;
  30237. procedure TPMP_PMMODE.clearIRQM1; inline;
  30238. begin
  30239. pTDefRegMap(@Self)^.clr := $00004000;
  30240. end;
  30241. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  30242. begin
  30243. if thebits = 0 then
  30244. pTDefRegMap(@Self)^.clr := $00004000
  30245. else
  30246. pTDefRegMap(@Self)^.&set := $00004000;
  30247. end;
  30248. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  30249. begin
  30250. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30251. end;
  30252. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  30253. begin
  30254. pTDefRegMap(@Self)^.val := thebits;
  30255. end;
  30256. function TPMP_PMMODE.getw : TBits_32; inline;
  30257. begin
  30258. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30259. end;
  30260. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  30261. begin
  30262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  30263. end;
  30264. function TPMP_PMADDR.getADDR : TBits_14; inline;
  30265. begin
  30266. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  30267. end;
  30268. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  30269. begin
  30270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30271. end;
  30272. function TPMP_PMADDR.getCS : TBits_2; inline;
  30273. begin
  30274. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30275. end;
  30276. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  30277. begin
  30278. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  30279. end;
  30280. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  30281. begin
  30282. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  30283. end;
  30284. procedure TPMP_PMADDR.setCS1; inline;
  30285. begin
  30286. pTDefRegMap(@Self)^.&set := $00004000;
  30287. end;
  30288. procedure TPMP_PMADDR.clearCS1; inline;
  30289. begin
  30290. pTDefRegMap(@Self)^.clr := $00004000;
  30291. end;
  30292. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  30293. begin
  30294. if thebits = 0 then
  30295. pTDefRegMap(@Self)^.clr := $00004000
  30296. else
  30297. pTDefRegMap(@Self)^.&set := $00004000;
  30298. end;
  30299. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  30300. begin
  30301. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30302. end;
  30303. procedure TPMP_PMADDR.setCS2; inline;
  30304. begin
  30305. pTDefRegMap(@Self)^.&set := $00008000;
  30306. end;
  30307. procedure TPMP_PMADDR.clearCS2; inline;
  30308. begin
  30309. pTDefRegMap(@Self)^.clr := $00008000;
  30310. end;
  30311. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  30312. begin
  30313. if thebits = 0 then
  30314. pTDefRegMap(@Self)^.clr := $00008000
  30315. else
  30316. pTDefRegMap(@Self)^.&set := $00008000;
  30317. end;
  30318. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  30319. begin
  30320. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30321. end;
  30322. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  30323. begin
  30324. pTDefRegMap(@Self)^.val := thebits;
  30325. end;
  30326. function TPMP_PMADDR.getw : TBits_32; inline;
  30327. begin
  30328. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30329. end;
  30330. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  30331. begin
  30332. pTDefRegMap(@Self)^.val := thebits;
  30333. end;
  30334. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  30335. begin
  30336. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30337. end;
  30338. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  30339. begin
  30340. pTDefRegMap(@Self)^.val := thebits;
  30341. end;
  30342. function TPMP_PMDOUT.getw : TBits_32; inline;
  30343. begin
  30344. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30345. end;
  30346. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  30347. begin
  30348. pTDefRegMap(@Self)^.val := thebits;
  30349. end;
  30350. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  30351. begin
  30352. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30353. end;
  30354. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  30355. begin
  30356. pTDefRegMap(@Self)^.val := thebits;
  30357. end;
  30358. function TPMP_PMDIN.getw : TBits_32; inline;
  30359. begin
  30360. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30361. end;
  30362. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  30363. begin
  30364. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  30365. end;
  30366. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  30367. begin
  30368. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  30369. end;
  30370. procedure TPMP_PMAEN.setPTEN0; inline;
  30371. begin
  30372. pTDefRegMap(@Self)^.&set := $00000001;
  30373. end;
  30374. procedure TPMP_PMAEN.clearPTEN0; inline;
  30375. begin
  30376. pTDefRegMap(@Self)^.clr := $00000001;
  30377. end;
  30378. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  30379. begin
  30380. if thebits = 0 then
  30381. pTDefRegMap(@Self)^.clr := $00000001
  30382. else
  30383. pTDefRegMap(@Self)^.&set := $00000001;
  30384. end;
  30385. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  30386. begin
  30387. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30388. end;
  30389. procedure TPMP_PMAEN.setPTEN1; inline;
  30390. begin
  30391. pTDefRegMap(@Self)^.&set := $00000002;
  30392. end;
  30393. procedure TPMP_PMAEN.clearPTEN1; inline;
  30394. begin
  30395. pTDefRegMap(@Self)^.clr := $00000002;
  30396. end;
  30397. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  30398. begin
  30399. if thebits = 0 then
  30400. pTDefRegMap(@Self)^.clr := $00000002
  30401. else
  30402. pTDefRegMap(@Self)^.&set := $00000002;
  30403. end;
  30404. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  30405. begin
  30406. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30407. end;
  30408. procedure TPMP_PMAEN.setPTEN2; inline;
  30409. begin
  30410. pTDefRegMap(@Self)^.&set := $00000004;
  30411. end;
  30412. procedure TPMP_PMAEN.clearPTEN2; inline;
  30413. begin
  30414. pTDefRegMap(@Self)^.clr := $00000004;
  30415. end;
  30416. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  30417. begin
  30418. if thebits = 0 then
  30419. pTDefRegMap(@Self)^.clr := $00000004
  30420. else
  30421. pTDefRegMap(@Self)^.&set := $00000004;
  30422. end;
  30423. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  30424. begin
  30425. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30426. end;
  30427. procedure TPMP_PMAEN.setPTEN3; inline;
  30428. begin
  30429. pTDefRegMap(@Self)^.&set := $00000008;
  30430. end;
  30431. procedure TPMP_PMAEN.clearPTEN3; inline;
  30432. begin
  30433. pTDefRegMap(@Self)^.clr := $00000008;
  30434. end;
  30435. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  30436. begin
  30437. if thebits = 0 then
  30438. pTDefRegMap(@Self)^.clr := $00000008
  30439. else
  30440. pTDefRegMap(@Self)^.&set := $00000008;
  30441. end;
  30442. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  30443. begin
  30444. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30445. end;
  30446. procedure TPMP_PMAEN.setPTEN4; inline;
  30447. begin
  30448. pTDefRegMap(@Self)^.&set := $00000010;
  30449. end;
  30450. procedure TPMP_PMAEN.clearPTEN4; inline;
  30451. begin
  30452. pTDefRegMap(@Self)^.clr := $00000010;
  30453. end;
  30454. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  30455. begin
  30456. if thebits = 0 then
  30457. pTDefRegMap(@Self)^.clr := $00000010
  30458. else
  30459. pTDefRegMap(@Self)^.&set := $00000010;
  30460. end;
  30461. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  30462. begin
  30463. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30464. end;
  30465. procedure TPMP_PMAEN.setPTEN5; inline;
  30466. begin
  30467. pTDefRegMap(@Self)^.&set := $00000020;
  30468. end;
  30469. procedure TPMP_PMAEN.clearPTEN5; inline;
  30470. begin
  30471. pTDefRegMap(@Self)^.clr := $00000020;
  30472. end;
  30473. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  30474. begin
  30475. if thebits = 0 then
  30476. pTDefRegMap(@Self)^.clr := $00000020
  30477. else
  30478. pTDefRegMap(@Self)^.&set := $00000020;
  30479. end;
  30480. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  30481. begin
  30482. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30483. end;
  30484. procedure TPMP_PMAEN.setPTEN6; inline;
  30485. begin
  30486. pTDefRegMap(@Self)^.&set := $00000040;
  30487. end;
  30488. procedure TPMP_PMAEN.clearPTEN6; inline;
  30489. begin
  30490. pTDefRegMap(@Self)^.clr := $00000040;
  30491. end;
  30492. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  30493. begin
  30494. if thebits = 0 then
  30495. pTDefRegMap(@Self)^.clr := $00000040
  30496. else
  30497. pTDefRegMap(@Self)^.&set := $00000040;
  30498. end;
  30499. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  30500. begin
  30501. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30502. end;
  30503. procedure TPMP_PMAEN.setPTEN7; inline;
  30504. begin
  30505. pTDefRegMap(@Self)^.&set := $00000080;
  30506. end;
  30507. procedure TPMP_PMAEN.clearPTEN7; inline;
  30508. begin
  30509. pTDefRegMap(@Self)^.clr := $00000080;
  30510. end;
  30511. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  30512. begin
  30513. if thebits = 0 then
  30514. pTDefRegMap(@Self)^.clr := $00000080
  30515. else
  30516. pTDefRegMap(@Self)^.&set := $00000080;
  30517. end;
  30518. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  30519. begin
  30520. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30521. end;
  30522. procedure TPMP_PMAEN.setPTEN8; inline;
  30523. begin
  30524. pTDefRegMap(@Self)^.&set := $00000100;
  30525. end;
  30526. procedure TPMP_PMAEN.clearPTEN8; inline;
  30527. begin
  30528. pTDefRegMap(@Self)^.clr := $00000100;
  30529. end;
  30530. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  30531. begin
  30532. if thebits = 0 then
  30533. pTDefRegMap(@Self)^.clr := $00000100
  30534. else
  30535. pTDefRegMap(@Self)^.&set := $00000100;
  30536. end;
  30537. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  30538. begin
  30539. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30540. end;
  30541. procedure TPMP_PMAEN.setPTEN9; inline;
  30542. begin
  30543. pTDefRegMap(@Self)^.&set := $00000200;
  30544. end;
  30545. procedure TPMP_PMAEN.clearPTEN9; inline;
  30546. begin
  30547. pTDefRegMap(@Self)^.clr := $00000200;
  30548. end;
  30549. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  30550. begin
  30551. if thebits = 0 then
  30552. pTDefRegMap(@Self)^.clr := $00000200
  30553. else
  30554. pTDefRegMap(@Self)^.&set := $00000200;
  30555. end;
  30556. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  30557. begin
  30558. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30559. end;
  30560. procedure TPMP_PMAEN.setPTEN10; inline;
  30561. begin
  30562. pTDefRegMap(@Self)^.&set := $00000400;
  30563. end;
  30564. procedure TPMP_PMAEN.clearPTEN10; inline;
  30565. begin
  30566. pTDefRegMap(@Self)^.clr := $00000400;
  30567. end;
  30568. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  30569. begin
  30570. if thebits = 0 then
  30571. pTDefRegMap(@Self)^.clr := $00000400
  30572. else
  30573. pTDefRegMap(@Self)^.&set := $00000400;
  30574. end;
  30575. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  30576. begin
  30577. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30578. end;
  30579. procedure TPMP_PMAEN.setPTEN11; inline;
  30580. begin
  30581. pTDefRegMap(@Self)^.&set := $00000800;
  30582. end;
  30583. procedure TPMP_PMAEN.clearPTEN11; inline;
  30584. begin
  30585. pTDefRegMap(@Self)^.clr := $00000800;
  30586. end;
  30587. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  30588. begin
  30589. if thebits = 0 then
  30590. pTDefRegMap(@Self)^.clr := $00000800
  30591. else
  30592. pTDefRegMap(@Self)^.&set := $00000800;
  30593. end;
  30594. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  30595. begin
  30596. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30597. end;
  30598. procedure TPMP_PMAEN.setPTEN12; inline;
  30599. begin
  30600. pTDefRegMap(@Self)^.&set := $00001000;
  30601. end;
  30602. procedure TPMP_PMAEN.clearPTEN12; inline;
  30603. begin
  30604. pTDefRegMap(@Self)^.clr := $00001000;
  30605. end;
  30606. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  30607. begin
  30608. if thebits = 0 then
  30609. pTDefRegMap(@Self)^.clr := $00001000
  30610. else
  30611. pTDefRegMap(@Self)^.&set := $00001000;
  30612. end;
  30613. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  30614. begin
  30615. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30616. end;
  30617. procedure TPMP_PMAEN.setPTEN13; inline;
  30618. begin
  30619. pTDefRegMap(@Self)^.&set := $00002000;
  30620. end;
  30621. procedure TPMP_PMAEN.clearPTEN13; inline;
  30622. begin
  30623. pTDefRegMap(@Self)^.clr := $00002000;
  30624. end;
  30625. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  30626. begin
  30627. if thebits = 0 then
  30628. pTDefRegMap(@Self)^.clr := $00002000
  30629. else
  30630. pTDefRegMap(@Self)^.&set := $00002000;
  30631. end;
  30632. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  30633. begin
  30634. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30635. end;
  30636. procedure TPMP_PMAEN.setPTEN14; inline;
  30637. begin
  30638. pTDefRegMap(@Self)^.&set := $00004000;
  30639. end;
  30640. procedure TPMP_PMAEN.clearPTEN14; inline;
  30641. begin
  30642. pTDefRegMap(@Self)^.clr := $00004000;
  30643. end;
  30644. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  30645. begin
  30646. if thebits = 0 then
  30647. pTDefRegMap(@Self)^.clr := $00004000
  30648. else
  30649. pTDefRegMap(@Self)^.&set := $00004000;
  30650. end;
  30651. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  30652. begin
  30653. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30654. end;
  30655. procedure TPMP_PMAEN.setPTEN15; inline;
  30656. begin
  30657. pTDefRegMap(@Self)^.&set := $00008000;
  30658. end;
  30659. procedure TPMP_PMAEN.clearPTEN15; inline;
  30660. begin
  30661. pTDefRegMap(@Self)^.clr := $00008000;
  30662. end;
  30663. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  30664. begin
  30665. if thebits = 0 then
  30666. pTDefRegMap(@Self)^.clr := $00008000
  30667. else
  30668. pTDefRegMap(@Self)^.&set := $00008000;
  30669. end;
  30670. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  30671. begin
  30672. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30673. end;
  30674. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  30675. begin
  30676. pTDefRegMap(@Self)^.val := thebits;
  30677. end;
  30678. function TPMP_PMAEN.getw : TBits_32; inline;
  30679. begin
  30680. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30681. end;
  30682. procedure TPMP_PMSTAT.setOB0E; inline;
  30683. begin
  30684. pTDefRegMap(@Self)^.&set := $00000001;
  30685. end;
  30686. procedure TPMP_PMSTAT.clearOB0E; inline;
  30687. begin
  30688. pTDefRegMap(@Self)^.clr := $00000001;
  30689. end;
  30690. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  30691. begin
  30692. if thebits = 0 then
  30693. pTDefRegMap(@Self)^.clr := $00000001
  30694. else
  30695. pTDefRegMap(@Self)^.&set := $00000001;
  30696. end;
  30697. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  30698. begin
  30699. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30700. end;
  30701. procedure TPMP_PMSTAT.setOB1E; inline;
  30702. begin
  30703. pTDefRegMap(@Self)^.&set := $00000002;
  30704. end;
  30705. procedure TPMP_PMSTAT.clearOB1E; inline;
  30706. begin
  30707. pTDefRegMap(@Self)^.clr := $00000002;
  30708. end;
  30709. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  30710. begin
  30711. if thebits = 0 then
  30712. pTDefRegMap(@Self)^.clr := $00000002
  30713. else
  30714. pTDefRegMap(@Self)^.&set := $00000002;
  30715. end;
  30716. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  30717. begin
  30718. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30719. end;
  30720. procedure TPMP_PMSTAT.setOB2E; inline;
  30721. begin
  30722. pTDefRegMap(@Self)^.&set := $00000004;
  30723. end;
  30724. procedure TPMP_PMSTAT.clearOB2E; inline;
  30725. begin
  30726. pTDefRegMap(@Self)^.clr := $00000004;
  30727. end;
  30728. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  30729. begin
  30730. if thebits = 0 then
  30731. pTDefRegMap(@Self)^.clr := $00000004
  30732. else
  30733. pTDefRegMap(@Self)^.&set := $00000004;
  30734. end;
  30735. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  30736. begin
  30737. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30738. end;
  30739. procedure TPMP_PMSTAT.setOB3E; inline;
  30740. begin
  30741. pTDefRegMap(@Self)^.&set := $00000008;
  30742. end;
  30743. procedure TPMP_PMSTAT.clearOB3E; inline;
  30744. begin
  30745. pTDefRegMap(@Self)^.clr := $00000008;
  30746. end;
  30747. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  30748. begin
  30749. if thebits = 0 then
  30750. pTDefRegMap(@Self)^.clr := $00000008
  30751. else
  30752. pTDefRegMap(@Self)^.&set := $00000008;
  30753. end;
  30754. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  30755. begin
  30756. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30757. end;
  30758. procedure TPMP_PMSTAT.setOBUF; inline;
  30759. begin
  30760. pTDefRegMap(@Self)^.&set := $00000040;
  30761. end;
  30762. procedure TPMP_PMSTAT.clearOBUF; inline;
  30763. begin
  30764. pTDefRegMap(@Self)^.clr := $00000040;
  30765. end;
  30766. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  30767. begin
  30768. if thebits = 0 then
  30769. pTDefRegMap(@Self)^.clr := $00000040
  30770. else
  30771. pTDefRegMap(@Self)^.&set := $00000040;
  30772. end;
  30773. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  30774. begin
  30775. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30776. end;
  30777. procedure TPMP_PMSTAT.setOBE; inline;
  30778. begin
  30779. pTDefRegMap(@Self)^.&set := $00000080;
  30780. end;
  30781. procedure TPMP_PMSTAT.clearOBE; inline;
  30782. begin
  30783. pTDefRegMap(@Self)^.clr := $00000080;
  30784. end;
  30785. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  30786. begin
  30787. if thebits = 0 then
  30788. pTDefRegMap(@Self)^.clr := $00000080
  30789. else
  30790. pTDefRegMap(@Self)^.&set := $00000080;
  30791. end;
  30792. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  30793. begin
  30794. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30795. end;
  30796. procedure TPMP_PMSTAT.setIB0F; inline;
  30797. begin
  30798. pTDefRegMap(@Self)^.&set := $00000100;
  30799. end;
  30800. procedure TPMP_PMSTAT.clearIB0F; inline;
  30801. begin
  30802. pTDefRegMap(@Self)^.clr := $00000100;
  30803. end;
  30804. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  30805. begin
  30806. if thebits = 0 then
  30807. pTDefRegMap(@Self)^.clr := $00000100
  30808. else
  30809. pTDefRegMap(@Self)^.&set := $00000100;
  30810. end;
  30811. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  30812. begin
  30813. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30814. end;
  30815. procedure TPMP_PMSTAT.setIB1F; inline;
  30816. begin
  30817. pTDefRegMap(@Self)^.&set := $00000200;
  30818. end;
  30819. procedure TPMP_PMSTAT.clearIB1F; inline;
  30820. begin
  30821. pTDefRegMap(@Self)^.clr := $00000200;
  30822. end;
  30823. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  30824. begin
  30825. if thebits = 0 then
  30826. pTDefRegMap(@Self)^.clr := $00000200
  30827. else
  30828. pTDefRegMap(@Self)^.&set := $00000200;
  30829. end;
  30830. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  30831. begin
  30832. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30833. end;
  30834. procedure TPMP_PMSTAT.setIB2F; inline;
  30835. begin
  30836. pTDefRegMap(@Self)^.&set := $00000400;
  30837. end;
  30838. procedure TPMP_PMSTAT.clearIB2F; inline;
  30839. begin
  30840. pTDefRegMap(@Self)^.clr := $00000400;
  30841. end;
  30842. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  30843. begin
  30844. if thebits = 0 then
  30845. pTDefRegMap(@Self)^.clr := $00000400
  30846. else
  30847. pTDefRegMap(@Self)^.&set := $00000400;
  30848. end;
  30849. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  30850. begin
  30851. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30852. end;
  30853. procedure TPMP_PMSTAT.setIB3F; inline;
  30854. begin
  30855. pTDefRegMap(@Self)^.&set := $00000800;
  30856. end;
  30857. procedure TPMP_PMSTAT.clearIB3F; inline;
  30858. begin
  30859. pTDefRegMap(@Self)^.clr := $00000800;
  30860. end;
  30861. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  30862. begin
  30863. if thebits = 0 then
  30864. pTDefRegMap(@Self)^.clr := $00000800
  30865. else
  30866. pTDefRegMap(@Self)^.&set := $00000800;
  30867. end;
  30868. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  30869. begin
  30870. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30871. end;
  30872. procedure TPMP_PMSTAT.setIBOV; inline;
  30873. begin
  30874. pTDefRegMap(@Self)^.&set := $00004000;
  30875. end;
  30876. procedure TPMP_PMSTAT.clearIBOV; inline;
  30877. begin
  30878. pTDefRegMap(@Self)^.clr := $00004000;
  30879. end;
  30880. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  30881. begin
  30882. if thebits = 0 then
  30883. pTDefRegMap(@Self)^.clr := $00004000
  30884. else
  30885. pTDefRegMap(@Self)^.&set := $00004000;
  30886. end;
  30887. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  30888. begin
  30889. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30890. end;
  30891. procedure TPMP_PMSTAT.setIBF; inline;
  30892. begin
  30893. pTDefRegMap(@Self)^.&set := $00008000;
  30894. end;
  30895. procedure TPMP_PMSTAT.clearIBF; inline;
  30896. begin
  30897. pTDefRegMap(@Self)^.clr := $00008000;
  30898. end;
  30899. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  30900. begin
  30901. if thebits = 0 then
  30902. pTDefRegMap(@Self)^.clr := $00008000
  30903. else
  30904. pTDefRegMap(@Self)^.&set := $00008000;
  30905. end;
  30906. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  30907. begin
  30908. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30909. end;
  30910. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  30911. begin
  30912. pTDefRegMap(@Self)^.val := thebits;
  30913. end;
  30914. function TPMP_PMSTAT.getw : TBits_32; inline;
  30915. begin
  30916. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30917. end;
  30918. procedure TADC10_AD1CON1.setDONE; inline;
  30919. begin
  30920. pTDefRegMap(@Self)^.&set := $00000001;
  30921. end;
  30922. procedure TADC10_AD1CON1.clearDONE; inline;
  30923. begin
  30924. pTDefRegMap(@Self)^.clr := $00000001;
  30925. end;
  30926. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  30927. begin
  30928. if thebits = 0 then
  30929. pTDefRegMap(@Self)^.clr := $00000001
  30930. else
  30931. pTDefRegMap(@Self)^.&set := $00000001;
  30932. end;
  30933. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  30934. begin
  30935. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30936. end;
  30937. procedure TADC10_AD1CON1.setSAMP; inline;
  30938. begin
  30939. pTDefRegMap(@Self)^.&set := $00000002;
  30940. end;
  30941. procedure TADC10_AD1CON1.clearSAMP; inline;
  30942. begin
  30943. pTDefRegMap(@Self)^.clr := $00000002;
  30944. end;
  30945. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  30946. begin
  30947. if thebits = 0 then
  30948. pTDefRegMap(@Self)^.clr := $00000002
  30949. else
  30950. pTDefRegMap(@Self)^.&set := $00000002;
  30951. end;
  30952. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  30953. begin
  30954. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30955. end;
  30956. procedure TADC10_AD1CON1.setASAM; inline;
  30957. begin
  30958. pTDefRegMap(@Self)^.&set := $00000004;
  30959. end;
  30960. procedure TADC10_AD1CON1.clearASAM; inline;
  30961. begin
  30962. pTDefRegMap(@Self)^.clr := $00000004;
  30963. end;
  30964. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  30965. begin
  30966. if thebits = 0 then
  30967. pTDefRegMap(@Self)^.clr := $00000004
  30968. else
  30969. pTDefRegMap(@Self)^.&set := $00000004;
  30970. end;
  30971. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  30972. begin
  30973. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30974. end;
  30975. procedure TADC10_AD1CON1.setCLRASAM; inline;
  30976. begin
  30977. pTDefRegMap(@Self)^.&set := $00000010;
  30978. end;
  30979. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  30980. begin
  30981. pTDefRegMap(@Self)^.clr := $00000010;
  30982. end;
  30983. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  30984. begin
  30985. if thebits = 0 then
  30986. pTDefRegMap(@Self)^.clr := $00000010
  30987. else
  30988. pTDefRegMap(@Self)^.&set := $00000010;
  30989. end;
  30990. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  30991. begin
  30992. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30993. end;
  30994. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  30995. begin
  30996. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  30997. end;
  30998. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  30999. begin
  31000. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  31001. end;
  31002. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  31003. begin
  31004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  31005. end;
  31006. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  31007. begin
  31008. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  31009. end;
  31010. procedure TADC10_AD1CON1.setSIDL; inline;
  31011. begin
  31012. pTDefRegMap(@Self)^.&set := $00002000;
  31013. end;
  31014. procedure TADC10_AD1CON1.clearSIDL; inline;
  31015. begin
  31016. pTDefRegMap(@Self)^.clr := $00002000;
  31017. end;
  31018. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  31019. begin
  31020. if thebits = 0 then
  31021. pTDefRegMap(@Self)^.clr := $00002000
  31022. else
  31023. pTDefRegMap(@Self)^.&set := $00002000;
  31024. end;
  31025. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  31026. begin
  31027. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31028. end;
  31029. procedure TADC10_AD1CON1.setON; inline;
  31030. begin
  31031. pTDefRegMap(@Self)^.&set := $00008000;
  31032. end;
  31033. procedure TADC10_AD1CON1.clearON; inline;
  31034. begin
  31035. pTDefRegMap(@Self)^.clr := $00008000;
  31036. end;
  31037. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  31038. begin
  31039. if thebits = 0 then
  31040. pTDefRegMap(@Self)^.clr := $00008000
  31041. else
  31042. pTDefRegMap(@Self)^.&set := $00008000;
  31043. end;
  31044. function TADC10_AD1CON1.getON : TBits_1; inline;
  31045. begin
  31046. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31047. end;
  31048. procedure TADC10_AD1CON1.setSSRC0; inline;
  31049. begin
  31050. pTDefRegMap(@Self)^.&set := $00000020;
  31051. end;
  31052. procedure TADC10_AD1CON1.clearSSRC0; inline;
  31053. begin
  31054. pTDefRegMap(@Self)^.clr := $00000020;
  31055. end;
  31056. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  31057. begin
  31058. if thebits = 0 then
  31059. pTDefRegMap(@Self)^.clr := $00000020
  31060. else
  31061. pTDefRegMap(@Self)^.&set := $00000020;
  31062. end;
  31063. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  31064. begin
  31065. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31066. end;
  31067. procedure TADC10_AD1CON1.setSSRC1; inline;
  31068. begin
  31069. pTDefRegMap(@Self)^.&set := $00000040;
  31070. end;
  31071. procedure TADC10_AD1CON1.clearSSRC1; inline;
  31072. begin
  31073. pTDefRegMap(@Self)^.clr := $00000040;
  31074. end;
  31075. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  31076. begin
  31077. if thebits = 0 then
  31078. pTDefRegMap(@Self)^.clr := $00000040
  31079. else
  31080. pTDefRegMap(@Self)^.&set := $00000040;
  31081. end;
  31082. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  31083. begin
  31084. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31085. end;
  31086. procedure TADC10_AD1CON1.setSSRC2; inline;
  31087. begin
  31088. pTDefRegMap(@Self)^.&set := $00000080;
  31089. end;
  31090. procedure TADC10_AD1CON1.clearSSRC2; inline;
  31091. begin
  31092. pTDefRegMap(@Self)^.clr := $00000080;
  31093. end;
  31094. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  31095. begin
  31096. if thebits = 0 then
  31097. pTDefRegMap(@Self)^.clr := $00000080
  31098. else
  31099. pTDefRegMap(@Self)^.&set := $00000080;
  31100. end;
  31101. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  31102. begin
  31103. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31104. end;
  31105. procedure TADC10_AD1CON1.setFORM0; inline;
  31106. begin
  31107. pTDefRegMap(@Self)^.&set := $00000100;
  31108. end;
  31109. procedure TADC10_AD1CON1.clearFORM0; inline;
  31110. begin
  31111. pTDefRegMap(@Self)^.clr := $00000100;
  31112. end;
  31113. procedure TADC10_AD1CON1.setFORM0(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 TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  31121. begin
  31122. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31123. end;
  31124. procedure TADC10_AD1CON1.setFORM1; inline;
  31125. begin
  31126. pTDefRegMap(@Self)^.&set := $00000200;
  31127. end;
  31128. procedure TADC10_AD1CON1.clearFORM1; inline;
  31129. begin
  31130. pTDefRegMap(@Self)^.clr := $00000200;
  31131. end;
  31132. procedure TADC10_AD1CON1.setFORM1(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 TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  31140. begin
  31141. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31142. end;
  31143. procedure TADC10_AD1CON1.setFORM2; inline;
  31144. begin
  31145. pTDefRegMap(@Self)^.&set := $00000400;
  31146. end;
  31147. procedure TADC10_AD1CON1.clearFORM2; inline;
  31148. begin
  31149. pTDefRegMap(@Self)^.clr := $00000400;
  31150. end;
  31151. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  31152. begin
  31153. if thebits = 0 then
  31154. pTDefRegMap(@Self)^.clr := $00000400
  31155. else
  31156. pTDefRegMap(@Self)^.&set := $00000400;
  31157. end;
  31158. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  31159. begin
  31160. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31161. end;
  31162. procedure TADC10_AD1CON1.setADSIDL; inline;
  31163. begin
  31164. pTDefRegMap(@Self)^.&set := $00002000;
  31165. end;
  31166. procedure TADC10_AD1CON1.clearADSIDL; inline;
  31167. begin
  31168. pTDefRegMap(@Self)^.clr := $00002000;
  31169. end;
  31170. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  31171. begin
  31172. if thebits = 0 then
  31173. pTDefRegMap(@Self)^.clr := $00002000
  31174. else
  31175. pTDefRegMap(@Self)^.&set := $00002000;
  31176. end;
  31177. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  31178. begin
  31179. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31180. end;
  31181. procedure TADC10_AD1CON1.setADON; inline;
  31182. begin
  31183. pTDefRegMap(@Self)^.&set := $00008000;
  31184. end;
  31185. procedure TADC10_AD1CON1.clearADON; inline;
  31186. begin
  31187. pTDefRegMap(@Self)^.clr := $00008000;
  31188. end;
  31189. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  31190. begin
  31191. if thebits = 0 then
  31192. pTDefRegMap(@Self)^.clr := $00008000
  31193. else
  31194. pTDefRegMap(@Self)^.&set := $00008000;
  31195. end;
  31196. function TADC10_AD1CON1.getADON : TBits_1; inline;
  31197. begin
  31198. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31199. end;
  31200. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  31201. begin
  31202. pTDefRegMap(@Self)^.val := thebits;
  31203. end;
  31204. function TADC10_AD1CON1.getw : TBits_32; inline;
  31205. begin
  31206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31207. end;
  31208. procedure TADC10_AD1CON2.setALTS; inline;
  31209. begin
  31210. pTDefRegMap(@Self)^.&set := $00000001;
  31211. end;
  31212. procedure TADC10_AD1CON2.clearALTS; inline;
  31213. begin
  31214. pTDefRegMap(@Self)^.clr := $00000001;
  31215. end;
  31216. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  31217. begin
  31218. if thebits = 0 then
  31219. pTDefRegMap(@Self)^.clr := $00000001
  31220. else
  31221. pTDefRegMap(@Self)^.&set := $00000001;
  31222. end;
  31223. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  31224. begin
  31225. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31226. end;
  31227. procedure TADC10_AD1CON2.setBUFM; inline;
  31228. begin
  31229. pTDefRegMap(@Self)^.&set := $00000002;
  31230. end;
  31231. procedure TADC10_AD1CON2.clearBUFM; inline;
  31232. begin
  31233. pTDefRegMap(@Self)^.clr := $00000002;
  31234. end;
  31235. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  31236. begin
  31237. if thebits = 0 then
  31238. pTDefRegMap(@Self)^.clr := $00000002
  31239. else
  31240. pTDefRegMap(@Self)^.&set := $00000002;
  31241. end;
  31242. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  31243. begin
  31244. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31245. end;
  31246. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  31247. begin
  31248. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  31249. end;
  31250. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  31251. begin
  31252. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  31253. end;
  31254. procedure TADC10_AD1CON2.setBUFS; inline;
  31255. begin
  31256. pTDefRegMap(@Self)^.&set := $00000080;
  31257. end;
  31258. procedure TADC10_AD1CON2.clearBUFS; inline;
  31259. begin
  31260. pTDefRegMap(@Self)^.clr := $00000080;
  31261. end;
  31262. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  31263. begin
  31264. if thebits = 0 then
  31265. pTDefRegMap(@Self)^.clr := $00000080
  31266. else
  31267. pTDefRegMap(@Self)^.&set := $00000080;
  31268. end;
  31269. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  31270. begin
  31271. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31272. end;
  31273. procedure TADC10_AD1CON2.setCSCNA; inline;
  31274. begin
  31275. pTDefRegMap(@Self)^.&set := $00000400;
  31276. end;
  31277. procedure TADC10_AD1CON2.clearCSCNA; inline;
  31278. begin
  31279. pTDefRegMap(@Self)^.clr := $00000400;
  31280. end;
  31281. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  31282. begin
  31283. if thebits = 0 then
  31284. pTDefRegMap(@Self)^.clr := $00000400
  31285. else
  31286. pTDefRegMap(@Self)^.&set := $00000400;
  31287. end;
  31288. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  31289. begin
  31290. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31291. end;
  31292. procedure TADC10_AD1CON2.setOFFCAL; inline;
  31293. begin
  31294. pTDefRegMap(@Self)^.&set := $00001000;
  31295. end;
  31296. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  31297. begin
  31298. pTDefRegMap(@Self)^.clr := $00001000;
  31299. end;
  31300. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  31301. begin
  31302. if thebits = 0 then
  31303. pTDefRegMap(@Self)^.clr := $00001000
  31304. else
  31305. pTDefRegMap(@Self)^.&set := $00001000;
  31306. end;
  31307. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  31308. begin
  31309. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31310. end;
  31311. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  31312. begin
  31313. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  31314. end;
  31315. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  31316. begin
  31317. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  31318. end;
  31319. procedure TADC10_AD1CON2.setSMPI0; inline;
  31320. begin
  31321. pTDefRegMap(@Self)^.&set := $00000004;
  31322. end;
  31323. procedure TADC10_AD1CON2.clearSMPI0; inline;
  31324. begin
  31325. pTDefRegMap(@Self)^.clr := $00000004;
  31326. end;
  31327. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  31328. begin
  31329. if thebits = 0 then
  31330. pTDefRegMap(@Self)^.clr := $00000004
  31331. else
  31332. pTDefRegMap(@Self)^.&set := $00000004;
  31333. end;
  31334. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  31335. begin
  31336. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31337. end;
  31338. procedure TADC10_AD1CON2.setSMPI1; inline;
  31339. begin
  31340. pTDefRegMap(@Self)^.&set := $00000008;
  31341. end;
  31342. procedure TADC10_AD1CON2.clearSMPI1; inline;
  31343. begin
  31344. pTDefRegMap(@Self)^.clr := $00000008;
  31345. end;
  31346. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  31347. begin
  31348. if thebits = 0 then
  31349. pTDefRegMap(@Self)^.clr := $00000008
  31350. else
  31351. pTDefRegMap(@Self)^.&set := $00000008;
  31352. end;
  31353. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  31354. begin
  31355. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31356. end;
  31357. procedure TADC10_AD1CON2.setSMPI2; inline;
  31358. begin
  31359. pTDefRegMap(@Self)^.&set := $00000010;
  31360. end;
  31361. procedure TADC10_AD1CON2.clearSMPI2; inline;
  31362. begin
  31363. pTDefRegMap(@Self)^.clr := $00000010;
  31364. end;
  31365. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  31366. begin
  31367. if thebits = 0 then
  31368. pTDefRegMap(@Self)^.clr := $00000010
  31369. else
  31370. pTDefRegMap(@Self)^.&set := $00000010;
  31371. end;
  31372. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  31373. begin
  31374. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31375. end;
  31376. procedure TADC10_AD1CON2.setSMPI3; inline;
  31377. begin
  31378. pTDefRegMap(@Self)^.&set := $00000020;
  31379. end;
  31380. procedure TADC10_AD1CON2.clearSMPI3; inline;
  31381. begin
  31382. pTDefRegMap(@Self)^.clr := $00000020;
  31383. end;
  31384. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  31385. begin
  31386. if thebits = 0 then
  31387. pTDefRegMap(@Self)^.clr := $00000020
  31388. else
  31389. pTDefRegMap(@Self)^.&set := $00000020;
  31390. end;
  31391. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  31392. begin
  31393. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31394. end;
  31395. procedure TADC10_AD1CON2.setVCFG0; inline;
  31396. begin
  31397. pTDefRegMap(@Self)^.&set := $00002000;
  31398. end;
  31399. procedure TADC10_AD1CON2.clearVCFG0; inline;
  31400. begin
  31401. pTDefRegMap(@Self)^.clr := $00002000;
  31402. end;
  31403. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  31404. begin
  31405. if thebits = 0 then
  31406. pTDefRegMap(@Self)^.clr := $00002000
  31407. else
  31408. pTDefRegMap(@Self)^.&set := $00002000;
  31409. end;
  31410. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  31411. begin
  31412. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31413. end;
  31414. procedure TADC10_AD1CON2.setVCFG1; inline;
  31415. begin
  31416. pTDefRegMap(@Self)^.&set := $00004000;
  31417. end;
  31418. procedure TADC10_AD1CON2.clearVCFG1; inline;
  31419. begin
  31420. pTDefRegMap(@Self)^.clr := $00004000;
  31421. end;
  31422. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  31423. begin
  31424. if thebits = 0 then
  31425. pTDefRegMap(@Self)^.clr := $00004000
  31426. else
  31427. pTDefRegMap(@Self)^.&set := $00004000;
  31428. end;
  31429. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  31430. begin
  31431. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31432. end;
  31433. procedure TADC10_AD1CON2.setVCFG2; inline;
  31434. begin
  31435. pTDefRegMap(@Self)^.&set := $00008000;
  31436. end;
  31437. procedure TADC10_AD1CON2.clearVCFG2; inline;
  31438. begin
  31439. pTDefRegMap(@Self)^.clr := $00008000;
  31440. end;
  31441. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  31442. begin
  31443. if thebits = 0 then
  31444. pTDefRegMap(@Self)^.clr := $00008000
  31445. else
  31446. pTDefRegMap(@Self)^.&set := $00008000;
  31447. end;
  31448. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  31449. begin
  31450. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31451. end;
  31452. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  31453. begin
  31454. pTDefRegMap(@Self)^.val := thebits;
  31455. end;
  31456. function TADC10_AD1CON2.getw : TBits_32; inline;
  31457. begin
  31458. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31459. end;
  31460. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  31461. begin
  31462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  31463. end;
  31464. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  31465. begin
  31466. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  31467. end;
  31468. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  31469. begin
  31470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  31471. end;
  31472. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  31473. begin
  31474. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  31475. end;
  31476. procedure TADC10_AD1CON3.setADRC; inline;
  31477. begin
  31478. pTDefRegMap(@Self)^.&set := $00008000;
  31479. end;
  31480. procedure TADC10_AD1CON3.clearADRC; inline;
  31481. begin
  31482. pTDefRegMap(@Self)^.clr := $00008000;
  31483. end;
  31484. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  31485. begin
  31486. if thebits = 0 then
  31487. pTDefRegMap(@Self)^.clr := $00008000
  31488. else
  31489. pTDefRegMap(@Self)^.&set := $00008000;
  31490. end;
  31491. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  31492. begin
  31493. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31494. end;
  31495. procedure TADC10_AD1CON3.setADCS0; inline;
  31496. begin
  31497. pTDefRegMap(@Self)^.&set := $00000001;
  31498. end;
  31499. procedure TADC10_AD1CON3.clearADCS0; inline;
  31500. begin
  31501. pTDefRegMap(@Self)^.clr := $00000001;
  31502. end;
  31503. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  31504. begin
  31505. if thebits = 0 then
  31506. pTDefRegMap(@Self)^.clr := $00000001
  31507. else
  31508. pTDefRegMap(@Self)^.&set := $00000001;
  31509. end;
  31510. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  31511. begin
  31512. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31513. end;
  31514. procedure TADC10_AD1CON3.setADCS1; inline;
  31515. begin
  31516. pTDefRegMap(@Self)^.&set := $00000002;
  31517. end;
  31518. procedure TADC10_AD1CON3.clearADCS1; inline;
  31519. begin
  31520. pTDefRegMap(@Self)^.clr := $00000002;
  31521. end;
  31522. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  31523. begin
  31524. if thebits = 0 then
  31525. pTDefRegMap(@Self)^.clr := $00000002
  31526. else
  31527. pTDefRegMap(@Self)^.&set := $00000002;
  31528. end;
  31529. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  31530. begin
  31531. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31532. end;
  31533. procedure TADC10_AD1CON3.setADCS2; inline;
  31534. begin
  31535. pTDefRegMap(@Self)^.&set := $00000004;
  31536. end;
  31537. procedure TADC10_AD1CON3.clearADCS2; inline;
  31538. begin
  31539. pTDefRegMap(@Self)^.clr := $00000004;
  31540. end;
  31541. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  31542. begin
  31543. if thebits = 0 then
  31544. pTDefRegMap(@Self)^.clr := $00000004
  31545. else
  31546. pTDefRegMap(@Self)^.&set := $00000004;
  31547. end;
  31548. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  31549. begin
  31550. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31551. end;
  31552. procedure TADC10_AD1CON3.setADCS3; inline;
  31553. begin
  31554. pTDefRegMap(@Self)^.&set := $00000008;
  31555. end;
  31556. procedure TADC10_AD1CON3.clearADCS3; inline;
  31557. begin
  31558. pTDefRegMap(@Self)^.clr := $00000008;
  31559. end;
  31560. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  31561. begin
  31562. if thebits = 0 then
  31563. pTDefRegMap(@Self)^.clr := $00000008
  31564. else
  31565. pTDefRegMap(@Self)^.&set := $00000008;
  31566. end;
  31567. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  31568. begin
  31569. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31570. end;
  31571. procedure TADC10_AD1CON3.setADCS4; inline;
  31572. begin
  31573. pTDefRegMap(@Self)^.&set := $00000010;
  31574. end;
  31575. procedure TADC10_AD1CON3.clearADCS4; inline;
  31576. begin
  31577. pTDefRegMap(@Self)^.clr := $00000010;
  31578. end;
  31579. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  31580. begin
  31581. if thebits = 0 then
  31582. pTDefRegMap(@Self)^.clr := $00000010
  31583. else
  31584. pTDefRegMap(@Self)^.&set := $00000010;
  31585. end;
  31586. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  31587. begin
  31588. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31589. end;
  31590. procedure TADC10_AD1CON3.setADCS5; inline;
  31591. begin
  31592. pTDefRegMap(@Self)^.&set := $00000020;
  31593. end;
  31594. procedure TADC10_AD1CON3.clearADCS5; inline;
  31595. begin
  31596. pTDefRegMap(@Self)^.clr := $00000020;
  31597. end;
  31598. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  31599. begin
  31600. if thebits = 0 then
  31601. pTDefRegMap(@Self)^.clr := $00000020
  31602. else
  31603. pTDefRegMap(@Self)^.&set := $00000020;
  31604. end;
  31605. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  31606. begin
  31607. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31608. end;
  31609. procedure TADC10_AD1CON3.setADCS6; inline;
  31610. begin
  31611. pTDefRegMap(@Self)^.&set := $00000040;
  31612. end;
  31613. procedure TADC10_AD1CON3.clearADCS6; inline;
  31614. begin
  31615. pTDefRegMap(@Self)^.clr := $00000040;
  31616. end;
  31617. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  31618. begin
  31619. if thebits = 0 then
  31620. pTDefRegMap(@Self)^.clr := $00000040
  31621. else
  31622. pTDefRegMap(@Self)^.&set := $00000040;
  31623. end;
  31624. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  31625. begin
  31626. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31627. end;
  31628. procedure TADC10_AD1CON3.setADCS7; inline;
  31629. begin
  31630. pTDefRegMap(@Self)^.&set := $00000080;
  31631. end;
  31632. procedure TADC10_AD1CON3.clearADCS7; inline;
  31633. begin
  31634. pTDefRegMap(@Self)^.clr := $00000080;
  31635. end;
  31636. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  31637. begin
  31638. if thebits = 0 then
  31639. pTDefRegMap(@Self)^.clr := $00000080
  31640. else
  31641. pTDefRegMap(@Self)^.&set := $00000080;
  31642. end;
  31643. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  31644. begin
  31645. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31646. end;
  31647. procedure TADC10_AD1CON3.setSAMC0; inline;
  31648. begin
  31649. pTDefRegMap(@Self)^.&set := $00000100;
  31650. end;
  31651. procedure TADC10_AD1CON3.clearSAMC0; inline;
  31652. begin
  31653. pTDefRegMap(@Self)^.clr := $00000100;
  31654. end;
  31655. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  31656. begin
  31657. if thebits = 0 then
  31658. pTDefRegMap(@Self)^.clr := $00000100
  31659. else
  31660. pTDefRegMap(@Self)^.&set := $00000100;
  31661. end;
  31662. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  31663. begin
  31664. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31665. end;
  31666. procedure TADC10_AD1CON3.setSAMC1; inline;
  31667. begin
  31668. pTDefRegMap(@Self)^.&set := $00000200;
  31669. end;
  31670. procedure TADC10_AD1CON3.clearSAMC1; inline;
  31671. begin
  31672. pTDefRegMap(@Self)^.clr := $00000200;
  31673. end;
  31674. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  31675. begin
  31676. if thebits = 0 then
  31677. pTDefRegMap(@Self)^.clr := $00000200
  31678. else
  31679. pTDefRegMap(@Self)^.&set := $00000200;
  31680. end;
  31681. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  31682. begin
  31683. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31684. end;
  31685. procedure TADC10_AD1CON3.setSAMC2; inline;
  31686. begin
  31687. pTDefRegMap(@Self)^.&set := $00000400;
  31688. end;
  31689. procedure TADC10_AD1CON3.clearSAMC2; inline;
  31690. begin
  31691. pTDefRegMap(@Self)^.clr := $00000400;
  31692. end;
  31693. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  31694. begin
  31695. if thebits = 0 then
  31696. pTDefRegMap(@Self)^.clr := $00000400
  31697. else
  31698. pTDefRegMap(@Self)^.&set := $00000400;
  31699. end;
  31700. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  31701. begin
  31702. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31703. end;
  31704. procedure TADC10_AD1CON3.setSAMC3; inline;
  31705. begin
  31706. pTDefRegMap(@Self)^.&set := $00000800;
  31707. end;
  31708. procedure TADC10_AD1CON3.clearSAMC3; inline;
  31709. begin
  31710. pTDefRegMap(@Self)^.clr := $00000800;
  31711. end;
  31712. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  31713. begin
  31714. if thebits = 0 then
  31715. pTDefRegMap(@Self)^.clr := $00000800
  31716. else
  31717. pTDefRegMap(@Self)^.&set := $00000800;
  31718. end;
  31719. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  31720. begin
  31721. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31722. end;
  31723. procedure TADC10_AD1CON3.setSAMC4; inline;
  31724. begin
  31725. pTDefRegMap(@Self)^.&set := $00001000;
  31726. end;
  31727. procedure TADC10_AD1CON3.clearSAMC4; inline;
  31728. begin
  31729. pTDefRegMap(@Self)^.clr := $00001000;
  31730. end;
  31731. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  31732. begin
  31733. if thebits = 0 then
  31734. pTDefRegMap(@Self)^.clr := $00001000
  31735. else
  31736. pTDefRegMap(@Self)^.&set := $00001000;
  31737. end;
  31738. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  31739. begin
  31740. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31741. end;
  31742. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  31743. begin
  31744. pTDefRegMap(@Self)^.val := thebits;
  31745. end;
  31746. function TADC10_AD1CON3.getw : TBits_32; inline;
  31747. begin
  31748. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31749. end;
  31750. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_5); inline;
  31751. begin
  31752. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  31753. end;
  31754. function TADC10_AD1CHS.getCH0SA : TBits_5; inline;
  31755. begin
  31756. getCH0SA := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  31757. end;
  31758. procedure TADC10_AD1CHS.setCH0NA; inline;
  31759. begin
  31760. pTDefRegMap(@Self)^.&set := $00800000;
  31761. end;
  31762. procedure TADC10_AD1CHS.clearCH0NA; inline;
  31763. begin
  31764. pTDefRegMap(@Self)^.clr := $00800000;
  31765. end;
  31766. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  31767. begin
  31768. if thebits = 0 then
  31769. pTDefRegMap(@Self)^.clr := $00800000
  31770. else
  31771. pTDefRegMap(@Self)^.&set := $00800000;
  31772. end;
  31773. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  31774. begin
  31775. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31776. end;
  31777. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_5); inline;
  31778. begin
  31779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  31780. end;
  31781. function TADC10_AD1CHS.getCH0SB : TBits_5; inline;
  31782. begin
  31783. getCH0SB := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  31784. end;
  31785. procedure TADC10_AD1CHS.setCH0NB; inline;
  31786. begin
  31787. pTDefRegMap(@Self)^.&set := $80000000;
  31788. end;
  31789. procedure TADC10_AD1CHS.clearCH0NB; inline;
  31790. begin
  31791. pTDefRegMap(@Self)^.clr := $80000000;
  31792. end;
  31793. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  31794. begin
  31795. if thebits = 0 then
  31796. pTDefRegMap(@Self)^.clr := $80000000
  31797. else
  31798. pTDefRegMap(@Self)^.&set := $80000000;
  31799. end;
  31800. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  31801. begin
  31802. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  31803. end;
  31804. procedure TADC10_AD1CHS.setCH0SA0; inline;
  31805. begin
  31806. pTDefRegMap(@Self)^.&set := $00010000;
  31807. end;
  31808. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  31809. begin
  31810. pTDefRegMap(@Self)^.clr := $00010000;
  31811. end;
  31812. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  31813. begin
  31814. if thebits = 0 then
  31815. pTDefRegMap(@Self)^.clr := $00010000
  31816. else
  31817. pTDefRegMap(@Self)^.&set := $00010000;
  31818. end;
  31819. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  31820. begin
  31821. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31822. end;
  31823. procedure TADC10_AD1CHS.setCH0SA1; inline;
  31824. begin
  31825. pTDefRegMap(@Self)^.&set := $00020000;
  31826. end;
  31827. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  31828. begin
  31829. pTDefRegMap(@Self)^.clr := $00020000;
  31830. end;
  31831. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  31832. begin
  31833. if thebits = 0 then
  31834. pTDefRegMap(@Self)^.clr := $00020000
  31835. else
  31836. pTDefRegMap(@Self)^.&set := $00020000;
  31837. end;
  31838. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  31839. begin
  31840. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31841. end;
  31842. procedure TADC10_AD1CHS.setCH0SA2; inline;
  31843. begin
  31844. pTDefRegMap(@Self)^.&set := $00040000;
  31845. end;
  31846. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  31847. begin
  31848. pTDefRegMap(@Self)^.clr := $00040000;
  31849. end;
  31850. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  31851. begin
  31852. if thebits = 0 then
  31853. pTDefRegMap(@Self)^.clr := $00040000
  31854. else
  31855. pTDefRegMap(@Self)^.&set := $00040000;
  31856. end;
  31857. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  31858. begin
  31859. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31860. end;
  31861. procedure TADC10_AD1CHS.setCH0SA3; inline;
  31862. begin
  31863. pTDefRegMap(@Self)^.&set := $00080000;
  31864. end;
  31865. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  31866. begin
  31867. pTDefRegMap(@Self)^.clr := $00080000;
  31868. end;
  31869. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  31870. begin
  31871. if thebits = 0 then
  31872. pTDefRegMap(@Self)^.clr := $00080000
  31873. else
  31874. pTDefRegMap(@Self)^.&set := $00080000;
  31875. end;
  31876. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  31877. begin
  31878. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31879. end;
  31880. procedure TADC10_AD1CHS.setCH0SA4; inline;
  31881. begin
  31882. pTDefRegMap(@Self)^.&set := $00100000;
  31883. end;
  31884. procedure TADC10_AD1CHS.clearCH0SA4; inline;
  31885. begin
  31886. pTDefRegMap(@Self)^.clr := $00100000;
  31887. end;
  31888. procedure TADC10_AD1CHS.setCH0SA4(thebits : TBits_1); inline;
  31889. begin
  31890. if thebits = 0 then
  31891. pTDefRegMap(@Self)^.clr := $00100000
  31892. else
  31893. pTDefRegMap(@Self)^.&set := $00100000;
  31894. end;
  31895. function TADC10_AD1CHS.getCH0SA4 : TBits_1; inline;
  31896. begin
  31897. getCH0SA4 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31898. end;
  31899. procedure TADC10_AD1CHS.setCH0SB0; inline;
  31900. begin
  31901. pTDefRegMap(@Self)^.&set := $01000000;
  31902. end;
  31903. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  31904. begin
  31905. pTDefRegMap(@Self)^.clr := $01000000;
  31906. end;
  31907. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  31908. begin
  31909. if thebits = 0 then
  31910. pTDefRegMap(@Self)^.clr := $01000000
  31911. else
  31912. pTDefRegMap(@Self)^.&set := $01000000;
  31913. end;
  31914. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  31915. begin
  31916. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31917. end;
  31918. procedure TADC10_AD1CHS.setCH0SB1; inline;
  31919. begin
  31920. pTDefRegMap(@Self)^.&set := $02000000;
  31921. end;
  31922. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  31923. begin
  31924. pTDefRegMap(@Self)^.clr := $02000000;
  31925. end;
  31926. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  31927. begin
  31928. if thebits = 0 then
  31929. pTDefRegMap(@Self)^.clr := $02000000
  31930. else
  31931. pTDefRegMap(@Self)^.&set := $02000000;
  31932. end;
  31933. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  31934. begin
  31935. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  31936. end;
  31937. procedure TADC10_AD1CHS.setCH0SB2; inline;
  31938. begin
  31939. pTDefRegMap(@Self)^.&set := $04000000;
  31940. end;
  31941. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  31942. begin
  31943. pTDefRegMap(@Self)^.clr := $04000000;
  31944. end;
  31945. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  31946. begin
  31947. if thebits = 0 then
  31948. pTDefRegMap(@Self)^.clr := $04000000
  31949. else
  31950. pTDefRegMap(@Self)^.&set := $04000000;
  31951. end;
  31952. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  31953. begin
  31954. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  31955. end;
  31956. procedure TADC10_AD1CHS.setCH0SB3; inline;
  31957. begin
  31958. pTDefRegMap(@Self)^.&set := $08000000;
  31959. end;
  31960. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  31961. begin
  31962. pTDefRegMap(@Self)^.clr := $08000000;
  31963. end;
  31964. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  31965. begin
  31966. if thebits = 0 then
  31967. pTDefRegMap(@Self)^.clr := $08000000
  31968. else
  31969. pTDefRegMap(@Self)^.&set := $08000000;
  31970. end;
  31971. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  31972. begin
  31973. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  31974. end;
  31975. procedure TADC10_AD1CHS.setCH0SB4; inline;
  31976. begin
  31977. pTDefRegMap(@Self)^.&set := $10000000;
  31978. end;
  31979. procedure TADC10_AD1CHS.clearCH0SB4; inline;
  31980. begin
  31981. pTDefRegMap(@Self)^.clr := $10000000;
  31982. end;
  31983. procedure TADC10_AD1CHS.setCH0SB4(thebits : TBits_1); inline;
  31984. begin
  31985. if thebits = 0 then
  31986. pTDefRegMap(@Self)^.clr := $10000000
  31987. else
  31988. pTDefRegMap(@Self)^.&set := $10000000;
  31989. end;
  31990. function TADC10_AD1CHS.getCH0SB4 : TBits_1; inline;
  31991. begin
  31992. getCH0SB4 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  31993. end;
  31994. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  31995. begin
  31996. pTDefRegMap(@Self)^.val := thebits;
  31997. end;
  31998. function TADC10_AD1CHS.getw : TBits_32; inline;
  31999. begin
  32000. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32001. end;
  32002. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_31); inline;
  32003. begin
  32004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $80000000 or ( thebits shl 0 );
  32005. end;
  32006. function TADC10_AD1CSSL.getCSSL : TBits_31; inline;
  32007. begin
  32008. getCSSL := (pTDefRegMap(@Self)^.val and $7FFFFFFF) shr 0;
  32009. end;
  32010. procedure TADC10_AD1CSSL.setCSSL0; inline;
  32011. begin
  32012. pTDefRegMap(@Self)^.&set := $00000001;
  32013. end;
  32014. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  32015. begin
  32016. pTDefRegMap(@Self)^.clr := $00000001;
  32017. end;
  32018. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  32019. begin
  32020. if thebits = 0 then
  32021. pTDefRegMap(@Self)^.clr := $00000001
  32022. else
  32023. pTDefRegMap(@Self)^.&set := $00000001;
  32024. end;
  32025. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  32026. begin
  32027. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32028. end;
  32029. procedure TADC10_AD1CSSL.setCSSL1; inline;
  32030. begin
  32031. pTDefRegMap(@Self)^.&set := $00000002;
  32032. end;
  32033. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  32034. begin
  32035. pTDefRegMap(@Self)^.clr := $00000002;
  32036. end;
  32037. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  32038. begin
  32039. if thebits = 0 then
  32040. pTDefRegMap(@Self)^.clr := $00000002
  32041. else
  32042. pTDefRegMap(@Self)^.&set := $00000002;
  32043. end;
  32044. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  32045. begin
  32046. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32047. end;
  32048. procedure TADC10_AD1CSSL.setCSSL2; inline;
  32049. begin
  32050. pTDefRegMap(@Self)^.&set := $00000004;
  32051. end;
  32052. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  32053. begin
  32054. pTDefRegMap(@Self)^.clr := $00000004;
  32055. end;
  32056. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  32057. begin
  32058. if thebits = 0 then
  32059. pTDefRegMap(@Self)^.clr := $00000004
  32060. else
  32061. pTDefRegMap(@Self)^.&set := $00000004;
  32062. end;
  32063. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  32064. begin
  32065. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32066. end;
  32067. procedure TADC10_AD1CSSL.setCSSL3; inline;
  32068. begin
  32069. pTDefRegMap(@Self)^.&set := $00000008;
  32070. end;
  32071. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  32072. begin
  32073. pTDefRegMap(@Self)^.clr := $00000008;
  32074. end;
  32075. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  32076. begin
  32077. if thebits = 0 then
  32078. pTDefRegMap(@Self)^.clr := $00000008
  32079. else
  32080. pTDefRegMap(@Self)^.&set := $00000008;
  32081. end;
  32082. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  32083. begin
  32084. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32085. end;
  32086. procedure TADC10_AD1CSSL.setCSSL4; inline;
  32087. begin
  32088. pTDefRegMap(@Self)^.&set := $00000010;
  32089. end;
  32090. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  32091. begin
  32092. pTDefRegMap(@Self)^.clr := $00000010;
  32093. end;
  32094. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  32095. begin
  32096. if thebits = 0 then
  32097. pTDefRegMap(@Self)^.clr := $00000010
  32098. else
  32099. pTDefRegMap(@Self)^.&set := $00000010;
  32100. end;
  32101. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  32102. begin
  32103. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32104. end;
  32105. procedure TADC10_AD1CSSL.setCSSL5; inline;
  32106. begin
  32107. pTDefRegMap(@Self)^.&set := $00000020;
  32108. end;
  32109. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  32110. begin
  32111. pTDefRegMap(@Self)^.clr := $00000020;
  32112. end;
  32113. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  32114. begin
  32115. if thebits = 0 then
  32116. pTDefRegMap(@Self)^.clr := $00000020
  32117. else
  32118. pTDefRegMap(@Self)^.&set := $00000020;
  32119. end;
  32120. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  32121. begin
  32122. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32123. end;
  32124. procedure TADC10_AD1CSSL.setCSSL6; inline;
  32125. begin
  32126. pTDefRegMap(@Self)^.&set := $00000040;
  32127. end;
  32128. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  32129. begin
  32130. pTDefRegMap(@Self)^.clr := $00000040;
  32131. end;
  32132. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  32133. begin
  32134. if thebits = 0 then
  32135. pTDefRegMap(@Self)^.clr := $00000040
  32136. else
  32137. pTDefRegMap(@Self)^.&set := $00000040;
  32138. end;
  32139. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  32140. begin
  32141. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32142. end;
  32143. procedure TADC10_AD1CSSL.setCSSL7; inline;
  32144. begin
  32145. pTDefRegMap(@Self)^.&set := $00000080;
  32146. end;
  32147. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  32148. begin
  32149. pTDefRegMap(@Self)^.clr := $00000080;
  32150. end;
  32151. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  32152. begin
  32153. if thebits = 0 then
  32154. pTDefRegMap(@Self)^.clr := $00000080
  32155. else
  32156. pTDefRegMap(@Self)^.&set := $00000080;
  32157. end;
  32158. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  32159. begin
  32160. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32161. end;
  32162. procedure TADC10_AD1CSSL.setCSSL8; inline;
  32163. begin
  32164. pTDefRegMap(@Self)^.&set := $00000100;
  32165. end;
  32166. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  32167. begin
  32168. pTDefRegMap(@Self)^.clr := $00000100;
  32169. end;
  32170. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  32171. begin
  32172. if thebits = 0 then
  32173. pTDefRegMap(@Self)^.clr := $00000100
  32174. else
  32175. pTDefRegMap(@Self)^.&set := $00000100;
  32176. end;
  32177. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  32178. begin
  32179. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32180. end;
  32181. procedure TADC10_AD1CSSL.setCSSL9; inline;
  32182. begin
  32183. pTDefRegMap(@Self)^.&set := $00000200;
  32184. end;
  32185. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  32186. begin
  32187. pTDefRegMap(@Self)^.clr := $00000200;
  32188. end;
  32189. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  32190. begin
  32191. if thebits = 0 then
  32192. pTDefRegMap(@Self)^.clr := $00000200
  32193. else
  32194. pTDefRegMap(@Self)^.&set := $00000200;
  32195. end;
  32196. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  32197. begin
  32198. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32199. end;
  32200. procedure TADC10_AD1CSSL.setCSSL10; inline;
  32201. begin
  32202. pTDefRegMap(@Self)^.&set := $00000400;
  32203. end;
  32204. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  32205. begin
  32206. pTDefRegMap(@Self)^.clr := $00000400;
  32207. end;
  32208. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  32209. begin
  32210. if thebits = 0 then
  32211. pTDefRegMap(@Self)^.clr := $00000400
  32212. else
  32213. pTDefRegMap(@Self)^.&set := $00000400;
  32214. end;
  32215. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  32216. begin
  32217. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32218. end;
  32219. procedure TADC10_AD1CSSL.setCSSL11; inline;
  32220. begin
  32221. pTDefRegMap(@Self)^.&set := $00000800;
  32222. end;
  32223. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  32224. begin
  32225. pTDefRegMap(@Self)^.clr := $00000800;
  32226. end;
  32227. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  32228. begin
  32229. if thebits = 0 then
  32230. pTDefRegMap(@Self)^.clr := $00000800
  32231. else
  32232. pTDefRegMap(@Self)^.&set := $00000800;
  32233. end;
  32234. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  32235. begin
  32236. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32237. end;
  32238. procedure TADC10_AD1CSSL.setCSSL12; inline;
  32239. begin
  32240. pTDefRegMap(@Self)^.&set := $00001000;
  32241. end;
  32242. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  32243. begin
  32244. pTDefRegMap(@Self)^.clr := $00001000;
  32245. end;
  32246. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  32247. begin
  32248. if thebits = 0 then
  32249. pTDefRegMap(@Self)^.clr := $00001000
  32250. else
  32251. pTDefRegMap(@Self)^.&set := $00001000;
  32252. end;
  32253. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  32254. begin
  32255. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32256. end;
  32257. procedure TADC10_AD1CSSL.setCSSL13; inline;
  32258. begin
  32259. pTDefRegMap(@Self)^.&set := $00002000;
  32260. end;
  32261. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  32262. begin
  32263. pTDefRegMap(@Self)^.clr := $00002000;
  32264. end;
  32265. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  32266. begin
  32267. if thebits = 0 then
  32268. pTDefRegMap(@Self)^.clr := $00002000
  32269. else
  32270. pTDefRegMap(@Self)^.&set := $00002000;
  32271. end;
  32272. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  32273. begin
  32274. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32275. end;
  32276. procedure TADC10_AD1CSSL.setCSSL14; inline;
  32277. begin
  32278. pTDefRegMap(@Self)^.&set := $00004000;
  32279. end;
  32280. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  32281. begin
  32282. pTDefRegMap(@Self)^.clr := $00004000;
  32283. end;
  32284. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  32285. begin
  32286. if thebits = 0 then
  32287. pTDefRegMap(@Self)^.clr := $00004000
  32288. else
  32289. pTDefRegMap(@Self)^.&set := $00004000;
  32290. end;
  32291. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  32292. begin
  32293. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32294. end;
  32295. procedure TADC10_AD1CSSL.setCSSL15; inline;
  32296. begin
  32297. pTDefRegMap(@Self)^.&set := $00008000;
  32298. end;
  32299. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  32300. begin
  32301. pTDefRegMap(@Self)^.clr := $00008000;
  32302. end;
  32303. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  32304. begin
  32305. if thebits = 0 then
  32306. pTDefRegMap(@Self)^.clr := $00008000
  32307. else
  32308. pTDefRegMap(@Self)^.&set := $00008000;
  32309. end;
  32310. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  32311. begin
  32312. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32313. end;
  32314. procedure TADC10_AD1CSSL.setCSSL16; inline;
  32315. begin
  32316. pTDefRegMap(@Self)^.&set := $00010000;
  32317. end;
  32318. procedure TADC10_AD1CSSL.clearCSSL16; inline;
  32319. begin
  32320. pTDefRegMap(@Self)^.clr := $00010000;
  32321. end;
  32322. procedure TADC10_AD1CSSL.setCSSL16(thebits : TBits_1); inline;
  32323. begin
  32324. if thebits = 0 then
  32325. pTDefRegMap(@Self)^.clr := $00010000
  32326. else
  32327. pTDefRegMap(@Self)^.&set := $00010000;
  32328. end;
  32329. function TADC10_AD1CSSL.getCSSL16 : TBits_1; inline;
  32330. begin
  32331. getCSSL16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32332. end;
  32333. procedure TADC10_AD1CSSL.setCSSL17; inline;
  32334. begin
  32335. pTDefRegMap(@Self)^.&set := $00020000;
  32336. end;
  32337. procedure TADC10_AD1CSSL.clearCSSL17; inline;
  32338. begin
  32339. pTDefRegMap(@Self)^.clr := $00020000;
  32340. end;
  32341. procedure TADC10_AD1CSSL.setCSSL17(thebits : TBits_1); inline;
  32342. begin
  32343. if thebits = 0 then
  32344. pTDefRegMap(@Self)^.clr := $00020000
  32345. else
  32346. pTDefRegMap(@Self)^.&set := $00020000;
  32347. end;
  32348. function TADC10_AD1CSSL.getCSSL17 : TBits_1; inline;
  32349. begin
  32350. getCSSL17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32351. end;
  32352. procedure TADC10_AD1CSSL.setCSSL18; inline;
  32353. begin
  32354. pTDefRegMap(@Self)^.&set := $00040000;
  32355. end;
  32356. procedure TADC10_AD1CSSL.clearCSSL18; inline;
  32357. begin
  32358. pTDefRegMap(@Self)^.clr := $00040000;
  32359. end;
  32360. procedure TADC10_AD1CSSL.setCSSL18(thebits : TBits_1); inline;
  32361. begin
  32362. if thebits = 0 then
  32363. pTDefRegMap(@Self)^.clr := $00040000
  32364. else
  32365. pTDefRegMap(@Self)^.&set := $00040000;
  32366. end;
  32367. function TADC10_AD1CSSL.getCSSL18 : TBits_1; inline;
  32368. begin
  32369. getCSSL18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32370. end;
  32371. procedure TADC10_AD1CSSL.setCSSL19; inline;
  32372. begin
  32373. pTDefRegMap(@Self)^.&set := $00080000;
  32374. end;
  32375. procedure TADC10_AD1CSSL.clearCSSL19; inline;
  32376. begin
  32377. pTDefRegMap(@Self)^.clr := $00080000;
  32378. end;
  32379. procedure TADC10_AD1CSSL.setCSSL19(thebits : TBits_1); inline;
  32380. begin
  32381. if thebits = 0 then
  32382. pTDefRegMap(@Self)^.clr := $00080000
  32383. else
  32384. pTDefRegMap(@Self)^.&set := $00080000;
  32385. end;
  32386. function TADC10_AD1CSSL.getCSSL19 : TBits_1; inline;
  32387. begin
  32388. getCSSL19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32389. end;
  32390. procedure TADC10_AD1CSSL.setCSSL20; inline;
  32391. begin
  32392. pTDefRegMap(@Self)^.&set := $00100000;
  32393. end;
  32394. procedure TADC10_AD1CSSL.clearCSSL20; inline;
  32395. begin
  32396. pTDefRegMap(@Self)^.clr := $00100000;
  32397. end;
  32398. procedure TADC10_AD1CSSL.setCSSL20(thebits : TBits_1); inline;
  32399. begin
  32400. if thebits = 0 then
  32401. pTDefRegMap(@Self)^.clr := $00100000
  32402. else
  32403. pTDefRegMap(@Self)^.&set := $00100000;
  32404. end;
  32405. function TADC10_AD1CSSL.getCSSL20 : TBits_1; inline;
  32406. begin
  32407. getCSSL20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32408. end;
  32409. procedure TADC10_AD1CSSL.setCSSL21; inline;
  32410. begin
  32411. pTDefRegMap(@Self)^.&set := $00200000;
  32412. end;
  32413. procedure TADC10_AD1CSSL.clearCSSL21; inline;
  32414. begin
  32415. pTDefRegMap(@Self)^.clr := $00200000;
  32416. end;
  32417. procedure TADC10_AD1CSSL.setCSSL21(thebits : TBits_1); inline;
  32418. begin
  32419. if thebits = 0 then
  32420. pTDefRegMap(@Self)^.clr := $00200000
  32421. else
  32422. pTDefRegMap(@Self)^.&set := $00200000;
  32423. end;
  32424. function TADC10_AD1CSSL.getCSSL21 : TBits_1; inline;
  32425. begin
  32426. getCSSL21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32427. end;
  32428. procedure TADC10_AD1CSSL.setCSSL22; inline;
  32429. begin
  32430. pTDefRegMap(@Self)^.&set := $00400000;
  32431. end;
  32432. procedure TADC10_AD1CSSL.clearCSSL22; inline;
  32433. begin
  32434. pTDefRegMap(@Self)^.clr := $00400000;
  32435. end;
  32436. procedure TADC10_AD1CSSL.setCSSL22(thebits : TBits_1); inline;
  32437. begin
  32438. if thebits = 0 then
  32439. pTDefRegMap(@Self)^.clr := $00400000
  32440. else
  32441. pTDefRegMap(@Self)^.&set := $00400000;
  32442. end;
  32443. function TADC10_AD1CSSL.getCSSL22 : TBits_1; inline;
  32444. begin
  32445. getCSSL22 := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32446. end;
  32447. procedure TADC10_AD1CSSL.setCSSL23; inline;
  32448. begin
  32449. pTDefRegMap(@Self)^.&set := $00800000;
  32450. end;
  32451. procedure TADC10_AD1CSSL.clearCSSL23; inline;
  32452. begin
  32453. pTDefRegMap(@Self)^.clr := $00800000;
  32454. end;
  32455. procedure TADC10_AD1CSSL.setCSSL23(thebits : TBits_1); inline;
  32456. begin
  32457. if thebits = 0 then
  32458. pTDefRegMap(@Self)^.clr := $00800000
  32459. else
  32460. pTDefRegMap(@Self)^.&set := $00800000;
  32461. end;
  32462. function TADC10_AD1CSSL.getCSSL23 : TBits_1; inline;
  32463. begin
  32464. getCSSL23 := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32465. end;
  32466. procedure TADC10_AD1CSSL.setCSSL24; inline;
  32467. begin
  32468. pTDefRegMap(@Self)^.&set := $01000000;
  32469. end;
  32470. procedure TADC10_AD1CSSL.clearCSSL24; inline;
  32471. begin
  32472. pTDefRegMap(@Self)^.clr := $01000000;
  32473. end;
  32474. procedure TADC10_AD1CSSL.setCSSL24(thebits : TBits_1); inline;
  32475. begin
  32476. if thebits = 0 then
  32477. pTDefRegMap(@Self)^.clr := $01000000
  32478. else
  32479. pTDefRegMap(@Self)^.&set := $01000000;
  32480. end;
  32481. function TADC10_AD1CSSL.getCSSL24 : TBits_1; inline;
  32482. begin
  32483. getCSSL24 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32484. end;
  32485. procedure TADC10_AD1CSSL.setCSSL25; inline;
  32486. begin
  32487. pTDefRegMap(@Self)^.&set := $02000000;
  32488. end;
  32489. procedure TADC10_AD1CSSL.clearCSSL25; inline;
  32490. begin
  32491. pTDefRegMap(@Self)^.clr := $02000000;
  32492. end;
  32493. procedure TADC10_AD1CSSL.setCSSL25(thebits : TBits_1); inline;
  32494. begin
  32495. if thebits = 0 then
  32496. pTDefRegMap(@Self)^.clr := $02000000
  32497. else
  32498. pTDefRegMap(@Self)^.&set := $02000000;
  32499. end;
  32500. function TADC10_AD1CSSL.getCSSL25 : TBits_1; inline;
  32501. begin
  32502. getCSSL25 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  32503. end;
  32504. procedure TADC10_AD1CSSL.setCSSL26; inline;
  32505. begin
  32506. pTDefRegMap(@Self)^.&set := $04000000;
  32507. end;
  32508. procedure TADC10_AD1CSSL.clearCSSL26; inline;
  32509. begin
  32510. pTDefRegMap(@Self)^.clr := $04000000;
  32511. end;
  32512. procedure TADC10_AD1CSSL.setCSSL26(thebits : TBits_1); inline;
  32513. begin
  32514. if thebits = 0 then
  32515. pTDefRegMap(@Self)^.clr := $04000000
  32516. else
  32517. pTDefRegMap(@Self)^.&set := $04000000;
  32518. end;
  32519. function TADC10_AD1CSSL.getCSSL26 : TBits_1; inline;
  32520. begin
  32521. getCSSL26 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  32522. end;
  32523. procedure TADC10_AD1CSSL.setCSSL27; inline;
  32524. begin
  32525. pTDefRegMap(@Self)^.&set := $08000000;
  32526. end;
  32527. procedure TADC10_AD1CSSL.clearCSSL27; inline;
  32528. begin
  32529. pTDefRegMap(@Self)^.clr := $08000000;
  32530. end;
  32531. procedure TADC10_AD1CSSL.setCSSL27(thebits : TBits_1); inline;
  32532. begin
  32533. if thebits = 0 then
  32534. pTDefRegMap(@Self)^.clr := $08000000
  32535. else
  32536. pTDefRegMap(@Self)^.&set := $08000000;
  32537. end;
  32538. function TADC10_AD1CSSL.getCSSL27 : TBits_1; inline;
  32539. begin
  32540. getCSSL27 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  32541. end;
  32542. procedure TADC10_AD1CSSL.setCSSL28; inline;
  32543. begin
  32544. pTDefRegMap(@Self)^.&set := $10000000;
  32545. end;
  32546. procedure TADC10_AD1CSSL.clearCSSL28; inline;
  32547. begin
  32548. pTDefRegMap(@Self)^.clr := $10000000;
  32549. end;
  32550. procedure TADC10_AD1CSSL.setCSSL28(thebits : TBits_1); inline;
  32551. begin
  32552. if thebits = 0 then
  32553. pTDefRegMap(@Self)^.clr := $10000000
  32554. else
  32555. pTDefRegMap(@Self)^.&set := $10000000;
  32556. end;
  32557. function TADC10_AD1CSSL.getCSSL28 : TBits_1; inline;
  32558. begin
  32559. getCSSL28 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  32560. end;
  32561. procedure TADC10_AD1CSSL.setCSSL29; inline;
  32562. begin
  32563. pTDefRegMap(@Self)^.&set := $20000000;
  32564. end;
  32565. procedure TADC10_AD1CSSL.clearCSSL29; inline;
  32566. begin
  32567. pTDefRegMap(@Self)^.clr := $20000000;
  32568. end;
  32569. procedure TADC10_AD1CSSL.setCSSL29(thebits : TBits_1); inline;
  32570. begin
  32571. if thebits = 0 then
  32572. pTDefRegMap(@Self)^.clr := $20000000
  32573. else
  32574. pTDefRegMap(@Self)^.&set := $20000000;
  32575. end;
  32576. function TADC10_AD1CSSL.getCSSL29 : TBits_1; inline;
  32577. begin
  32578. getCSSL29 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  32579. end;
  32580. procedure TADC10_AD1CSSL.setCSSL30; inline;
  32581. begin
  32582. pTDefRegMap(@Self)^.&set := $40000000;
  32583. end;
  32584. procedure TADC10_AD1CSSL.clearCSSL30; inline;
  32585. begin
  32586. pTDefRegMap(@Self)^.clr := $40000000;
  32587. end;
  32588. procedure TADC10_AD1CSSL.setCSSL30(thebits : TBits_1); inline;
  32589. begin
  32590. if thebits = 0 then
  32591. pTDefRegMap(@Self)^.clr := $40000000
  32592. else
  32593. pTDefRegMap(@Self)^.&set := $40000000;
  32594. end;
  32595. function TADC10_AD1CSSL.getCSSL30 : TBits_1; inline;
  32596. begin
  32597. getCSSL30 := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  32598. end;
  32599. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  32600. begin
  32601. pTDefRegMap(@Self)^.val := thebits;
  32602. end;
  32603. function TADC10_AD1CSSL.getw : TBits_32; inline;
  32604. begin
  32605. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32606. end;
  32607. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  32608. begin
  32609. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  32610. end;
  32611. function TCVR_CVRCON.getCVR : TBits_4; inline;
  32612. begin
  32613. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  32614. end;
  32615. procedure TCVR_CVRCON.setCVRSS; inline;
  32616. begin
  32617. pTDefRegMap(@Self)^.&set := $00000010;
  32618. end;
  32619. procedure TCVR_CVRCON.clearCVRSS; inline;
  32620. begin
  32621. pTDefRegMap(@Self)^.clr := $00000010;
  32622. end;
  32623. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  32624. begin
  32625. if thebits = 0 then
  32626. pTDefRegMap(@Self)^.clr := $00000010
  32627. else
  32628. pTDefRegMap(@Self)^.&set := $00000010;
  32629. end;
  32630. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  32631. begin
  32632. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32633. end;
  32634. procedure TCVR_CVRCON.setCVRR; inline;
  32635. begin
  32636. pTDefRegMap(@Self)^.&set := $00000020;
  32637. end;
  32638. procedure TCVR_CVRCON.clearCVRR; inline;
  32639. begin
  32640. pTDefRegMap(@Self)^.clr := $00000020;
  32641. end;
  32642. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  32643. begin
  32644. if thebits = 0 then
  32645. pTDefRegMap(@Self)^.clr := $00000020
  32646. else
  32647. pTDefRegMap(@Self)^.&set := $00000020;
  32648. end;
  32649. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  32650. begin
  32651. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32652. end;
  32653. procedure TCVR_CVRCON.setCVROE; inline;
  32654. begin
  32655. pTDefRegMap(@Self)^.&set := $00000040;
  32656. end;
  32657. procedure TCVR_CVRCON.clearCVROE; inline;
  32658. begin
  32659. pTDefRegMap(@Self)^.clr := $00000040;
  32660. end;
  32661. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  32662. begin
  32663. if thebits = 0 then
  32664. pTDefRegMap(@Self)^.clr := $00000040
  32665. else
  32666. pTDefRegMap(@Self)^.&set := $00000040;
  32667. end;
  32668. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  32669. begin
  32670. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32671. end;
  32672. procedure TCVR_CVRCON.setON; inline;
  32673. begin
  32674. pTDefRegMap(@Self)^.&set := $00008000;
  32675. end;
  32676. procedure TCVR_CVRCON.clearON; inline;
  32677. begin
  32678. pTDefRegMap(@Self)^.clr := $00008000;
  32679. end;
  32680. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  32681. begin
  32682. if thebits = 0 then
  32683. pTDefRegMap(@Self)^.clr := $00008000
  32684. else
  32685. pTDefRegMap(@Self)^.&set := $00008000;
  32686. end;
  32687. function TCVR_CVRCON.getON : TBits_1; inline;
  32688. begin
  32689. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32690. end;
  32691. procedure TCVR_CVRCON.setCVR0; inline;
  32692. begin
  32693. pTDefRegMap(@Self)^.&set := $00000001;
  32694. end;
  32695. procedure TCVR_CVRCON.clearCVR0; inline;
  32696. begin
  32697. pTDefRegMap(@Self)^.clr := $00000001;
  32698. end;
  32699. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  32700. begin
  32701. if thebits = 0 then
  32702. pTDefRegMap(@Self)^.clr := $00000001
  32703. else
  32704. pTDefRegMap(@Self)^.&set := $00000001;
  32705. end;
  32706. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  32707. begin
  32708. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32709. end;
  32710. procedure TCVR_CVRCON.setCVR1; inline;
  32711. begin
  32712. pTDefRegMap(@Self)^.&set := $00000002;
  32713. end;
  32714. procedure TCVR_CVRCON.clearCVR1; inline;
  32715. begin
  32716. pTDefRegMap(@Self)^.clr := $00000002;
  32717. end;
  32718. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  32719. begin
  32720. if thebits = 0 then
  32721. pTDefRegMap(@Self)^.clr := $00000002
  32722. else
  32723. pTDefRegMap(@Self)^.&set := $00000002;
  32724. end;
  32725. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  32726. begin
  32727. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32728. end;
  32729. procedure TCVR_CVRCON.setCVR2; inline;
  32730. begin
  32731. pTDefRegMap(@Self)^.&set := $00000004;
  32732. end;
  32733. procedure TCVR_CVRCON.clearCVR2; inline;
  32734. begin
  32735. pTDefRegMap(@Self)^.clr := $00000004;
  32736. end;
  32737. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  32738. begin
  32739. if thebits = 0 then
  32740. pTDefRegMap(@Self)^.clr := $00000004
  32741. else
  32742. pTDefRegMap(@Self)^.&set := $00000004;
  32743. end;
  32744. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  32745. begin
  32746. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32747. end;
  32748. procedure TCVR_CVRCON.setCVR3; inline;
  32749. begin
  32750. pTDefRegMap(@Self)^.&set := $00000008;
  32751. end;
  32752. procedure TCVR_CVRCON.clearCVR3; inline;
  32753. begin
  32754. pTDefRegMap(@Self)^.clr := $00000008;
  32755. end;
  32756. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  32757. begin
  32758. if thebits = 0 then
  32759. pTDefRegMap(@Self)^.clr := $00000008
  32760. else
  32761. pTDefRegMap(@Self)^.&set := $00000008;
  32762. end;
  32763. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  32764. begin
  32765. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32766. end;
  32767. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  32768. begin
  32769. pTDefRegMap(@Self)^.val := thebits;
  32770. end;
  32771. function TCVR_CVRCON.getw : TBits_32; inline;
  32772. begin
  32773. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32774. end;
  32775. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  32776. begin
  32777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32778. end;
  32779. function TCMP_CM1CON.getCCH : TBits_2; inline;
  32780. begin
  32781. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32782. end;
  32783. procedure TCMP_CM1CON.setCREF; inline;
  32784. begin
  32785. pTDefRegMap(@Self)^.&set := $00000010;
  32786. end;
  32787. procedure TCMP_CM1CON.clearCREF; inline;
  32788. begin
  32789. pTDefRegMap(@Self)^.clr := $00000010;
  32790. end;
  32791. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  32792. begin
  32793. if thebits = 0 then
  32794. pTDefRegMap(@Self)^.clr := $00000010
  32795. else
  32796. pTDefRegMap(@Self)^.&set := $00000010;
  32797. end;
  32798. function TCMP_CM1CON.getCREF : TBits_1; inline;
  32799. begin
  32800. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32801. end;
  32802. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  32803. begin
  32804. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32805. end;
  32806. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  32807. begin
  32808. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32809. end;
  32810. procedure TCMP_CM1CON.setCOUT; inline;
  32811. begin
  32812. pTDefRegMap(@Self)^.&set := $00000100;
  32813. end;
  32814. procedure TCMP_CM1CON.clearCOUT; inline;
  32815. begin
  32816. pTDefRegMap(@Self)^.clr := $00000100;
  32817. end;
  32818. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  32819. begin
  32820. if thebits = 0 then
  32821. pTDefRegMap(@Self)^.clr := $00000100
  32822. else
  32823. pTDefRegMap(@Self)^.&set := $00000100;
  32824. end;
  32825. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  32826. begin
  32827. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32828. end;
  32829. procedure TCMP_CM1CON.setCPOL; inline;
  32830. begin
  32831. pTDefRegMap(@Self)^.&set := $00002000;
  32832. end;
  32833. procedure TCMP_CM1CON.clearCPOL; inline;
  32834. begin
  32835. pTDefRegMap(@Self)^.clr := $00002000;
  32836. end;
  32837. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  32838. begin
  32839. if thebits = 0 then
  32840. pTDefRegMap(@Self)^.clr := $00002000
  32841. else
  32842. pTDefRegMap(@Self)^.&set := $00002000;
  32843. end;
  32844. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  32845. begin
  32846. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32847. end;
  32848. procedure TCMP_CM1CON.setCOE; inline;
  32849. begin
  32850. pTDefRegMap(@Self)^.&set := $00004000;
  32851. end;
  32852. procedure TCMP_CM1CON.clearCOE; inline;
  32853. begin
  32854. pTDefRegMap(@Self)^.clr := $00004000;
  32855. end;
  32856. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  32857. begin
  32858. if thebits = 0 then
  32859. pTDefRegMap(@Self)^.clr := $00004000
  32860. else
  32861. pTDefRegMap(@Self)^.&set := $00004000;
  32862. end;
  32863. function TCMP_CM1CON.getCOE : TBits_1; inline;
  32864. begin
  32865. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32866. end;
  32867. procedure TCMP_CM1CON.setON; inline;
  32868. begin
  32869. pTDefRegMap(@Self)^.&set := $00008000;
  32870. end;
  32871. procedure TCMP_CM1CON.clearON; inline;
  32872. begin
  32873. pTDefRegMap(@Self)^.clr := $00008000;
  32874. end;
  32875. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  32876. begin
  32877. if thebits = 0 then
  32878. pTDefRegMap(@Self)^.clr := $00008000
  32879. else
  32880. pTDefRegMap(@Self)^.&set := $00008000;
  32881. end;
  32882. function TCMP_CM1CON.getON : TBits_1; inline;
  32883. begin
  32884. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32885. end;
  32886. procedure TCMP_CM1CON.setCCH0; inline;
  32887. begin
  32888. pTDefRegMap(@Self)^.&set := $00000001;
  32889. end;
  32890. procedure TCMP_CM1CON.clearCCH0; inline;
  32891. begin
  32892. pTDefRegMap(@Self)^.clr := $00000001;
  32893. end;
  32894. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  32895. begin
  32896. if thebits = 0 then
  32897. pTDefRegMap(@Self)^.clr := $00000001
  32898. else
  32899. pTDefRegMap(@Self)^.&set := $00000001;
  32900. end;
  32901. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  32902. begin
  32903. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32904. end;
  32905. procedure TCMP_CM1CON.setCCH1; inline;
  32906. begin
  32907. pTDefRegMap(@Self)^.&set := $00000002;
  32908. end;
  32909. procedure TCMP_CM1CON.clearCCH1; inline;
  32910. begin
  32911. pTDefRegMap(@Self)^.clr := $00000002;
  32912. end;
  32913. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  32914. begin
  32915. if thebits = 0 then
  32916. pTDefRegMap(@Self)^.clr := $00000002
  32917. else
  32918. pTDefRegMap(@Self)^.&set := $00000002;
  32919. end;
  32920. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  32921. begin
  32922. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32923. end;
  32924. procedure TCMP_CM1CON.setEVPOL0; inline;
  32925. begin
  32926. pTDefRegMap(@Self)^.&set := $00000040;
  32927. end;
  32928. procedure TCMP_CM1CON.clearEVPOL0; inline;
  32929. begin
  32930. pTDefRegMap(@Self)^.clr := $00000040;
  32931. end;
  32932. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  32933. begin
  32934. if thebits = 0 then
  32935. pTDefRegMap(@Self)^.clr := $00000040
  32936. else
  32937. pTDefRegMap(@Self)^.&set := $00000040;
  32938. end;
  32939. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  32940. begin
  32941. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32942. end;
  32943. procedure TCMP_CM1CON.setEVPOL1; inline;
  32944. begin
  32945. pTDefRegMap(@Self)^.&set := $00000080;
  32946. end;
  32947. procedure TCMP_CM1CON.clearEVPOL1; inline;
  32948. begin
  32949. pTDefRegMap(@Self)^.clr := $00000080;
  32950. end;
  32951. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  32952. begin
  32953. if thebits = 0 then
  32954. pTDefRegMap(@Self)^.clr := $00000080
  32955. else
  32956. pTDefRegMap(@Self)^.&set := $00000080;
  32957. end;
  32958. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  32959. begin
  32960. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32961. end;
  32962. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  32963. begin
  32964. pTDefRegMap(@Self)^.val := thebits;
  32965. end;
  32966. function TCMP_CM1CON.getw : TBits_32; inline;
  32967. begin
  32968. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32969. end;
  32970. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  32971. begin
  32972. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32973. end;
  32974. function TCMP_CM2CON.getCCH : TBits_2; inline;
  32975. begin
  32976. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32977. end;
  32978. procedure TCMP_CM2CON.setCREF; inline;
  32979. begin
  32980. pTDefRegMap(@Self)^.&set := $00000010;
  32981. end;
  32982. procedure TCMP_CM2CON.clearCREF; inline;
  32983. begin
  32984. pTDefRegMap(@Self)^.clr := $00000010;
  32985. end;
  32986. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  32987. begin
  32988. if thebits = 0 then
  32989. pTDefRegMap(@Self)^.clr := $00000010
  32990. else
  32991. pTDefRegMap(@Self)^.&set := $00000010;
  32992. end;
  32993. function TCMP_CM2CON.getCREF : TBits_1; inline;
  32994. begin
  32995. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32996. end;
  32997. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  32998. begin
  32999. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33000. end;
  33001. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  33002. begin
  33003. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33004. end;
  33005. procedure TCMP_CM2CON.setCOUT; inline;
  33006. begin
  33007. pTDefRegMap(@Self)^.&set := $00000100;
  33008. end;
  33009. procedure TCMP_CM2CON.clearCOUT; inline;
  33010. begin
  33011. pTDefRegMap(@Self)^.clr := $00000100;
  33012. end;
  33013. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  33014. begin
  33015. if thebits = 0 then
  33016. pTDefRegMap(@Self)^.clr := $00000100
  33017. else
  33018. pTDefRegMap(@Self)^.&set := $00000100;
  33019. end;
  33020. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  33021. begin
  33022. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33023. end;
  33024. procedure TCMP_CM2CON.setCPOL; inline;
  33025. begin
  33026. pTDefRegMap(@Self)^.&set := $00002000;
  33027. end;
  33028. procedure TCMP_CM2CON.clearCPOL; inline;
  33029. begin
  33030. pTDefRegMap(@Self)^.clr := $00002000;
  33031. end;
  33032. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  33033. begin
  33034. if thebits = 0 then
  33035. pTDefRegMap(@Self)^.clr := $00002000
  33036. else
  33037. pTDefRegMap(@Self)^.&set := $00002000;
  33038. end;
  33039. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  33040. begin
  33041. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33042. end;
  33043. procedure TCMP_CM2CON.setCOE; inline;
  33044. begin
  33045. pTDefRegMap(@Self)^.&set := $00004000;
  33046. end;
  33047. procedure TCMP_CM2CON.clearCOE; inline;
  33048. begin
  33049. pTDefRegMap(@Self)^.clr := $00004000;
  33050. end;
  33051. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  33052. begin
  33053. if thebits = 0 then
  33054. pTDefRegMap(@Self)^.clr := $00004000
  33055. else
  33056. pTDefRegMap(@Self)^.&set := $00004000;
  33057. end;
  33058. function TCMP_CM2CON.getCOE : TBits_1; inline;
  33059. begin
  33060. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33061. end;
  33062. procedure TCMP_CM2CON.setON; inline;
  33063. begin
  33064. pTDefRegMap(@Self)^.&set := $00008000;
  33065. end;
  33066. procedure TCMP_CM2CON.clearON; inline;
  33067. begin
  33068. pTDefRegMap(@Self)^.clr := $00008000;
  33069. end;
  33070. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  33071. begin
  33072. if thebits = 0 then
  33073. pTDefRegMap(@Self)^.clr := $00008000
  33074. else
  33075. pTDefRegMap(@Self)^.&set := $00008000;
  33076. end;
  33077. function TCMP_CM2CON.getON : TBits_1; inline;
  33078. begin
  33079. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33080. end;
  33081. procedure TCMP_CM2CON.setCCH0; inline;
  33082. begin
  33083. pTDefRegMap(@Self)^.&set := $00000001;
  33084. end;
  33085. procedure TCMP_CM2CON.clearCCH0; inline;
  33086. begin
  33087. pTDefRegMap(@Self)^.clr := $00000001;
  33088. end;
  33089. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  33090. begin
  33091. if thebits = 0 then
  33092. pTDefRegMap(@Self)^.clr := $00000001
  33093. else
  33094. pTDefRegMap(@Self)^.&set := $00000001;
  33095. end;
  33096. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  33097. begin
  33098. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33099. end;
  33100. procedure TCMP_CM2CON.setCCH1; inline;
  33101. begin
  33102. pTDefRegMap(@Self)^.&set := $00000002;
  33103. end;
  33104. procedure TCMP_CM2CON.clearCCH1; inline;
  33105. begin
  33106. pTDefRegMap(@Self)^.clr := $00000002;
  33107. end;
  33108. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  33109. begin
  33110. if thebits = 0 then
  33111. pTDefRegMap(@Self)^.clr := $00000002
  33112. else
  33113. pTDefRegMap(@Self)^.&set := $00000002;
  33114. end;
  33115. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  33116. begin
  33117. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33118. end;
  33119. procedure TCMP_CM2CON.setEVPOL0; inline;
  33120. begin
  33121. pTDefRegMap(@Self)^.&set := $00000040;
  33122. end;
  33123. procedure TCMP_CM2CON.clearEVPOL0; inline;
  33124. begin
  33125. pTDefRegMap(@Self)^.clr := $00000040;
  33126. end;
  33127. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  33128. begin
  33129. if thebits = 0 then
  33130. pTDefRegMap(@Self)^.clr := $00000040
  33131. else
  33132. pTDefRegMap(@Self)^.&set := $00000040;
  33133. end;
  33134. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  33135. begin
  33136. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33137. end;
  33138. procedure TCMP_CM2CON.setEVPOL1; inline;
  33139. begin
  33140. pTDefRegMap(@Self)^.&set := $00000080;
  33141. end;
  33142. procedure TCMP_CM2CON.clearEVPOL1; inline;
  33143. begin
  33144. pTDefRegMap(@Self)^.clr := $00000080;
  33145. end;
  33146. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  33147. begin
  33148. if thebits = 0 then
  33149. pTDefRegMap(@Self)^.clr := $00000080
  33150. else
  33151. pTDefRegMap(@Self)^.&set := $00000080;
  33152. end;
  33153. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  33154. begin
  33155. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33156. end;
  33157. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  33158. begin
  33159. pTDefRegMap(@Self)^.val := thebits;
  33160. end;
  33161. function TCMP_CM2CON.getw : TBits_32; inline;
  33162. begin
  33163. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33164. end;
  33165. procedure TCMP_CMSTAT.setC1OUT; inline;
  33166. begin
  33167. pTDefRegMap(@Self)^.&set := $00000001;
  33168. end;
  33169. procedure TCMP_CMSTAT.clearC1OUT; inline;
  33170. begin
  33171. pTDefRegMap(@Self)^.clr := $00000001;
  33172. end;
  33173. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  33174. begin
  33175. if thebits = 0 then
  33176. pTDefRegMap(@Self)^.clr := $00000001
  33177. else
  33178. pTDefRegMap(@Self)^.&set := $00000001;
  33179. end;
  33180. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  33181. begin
  33182. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33183. end;
  33184. procedure TCMP_CMSTAT.setC2OUT; inline;
  33185. begin
  33186. pTDefRegMap(@Self)^.&set := $00000002;
  33187. end;
  33188. procedure TCMP_CMSTAT.clearC2OUT; inline;
  33189. begin
  33190. pTDefRegMap(@Self)^.clr := $00000002;
  33191. end;
  33192. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  33193. begin
  33194. if thebits = 0 then
  33195. pTDefRegMap(@Self)^.clr := $00000002
  33196. else
  33197. pTDefRegMap(@Self)^.&set := $00000002;
  33198. end;
  33199. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  33200. begin
  33201. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33202. end;
  33203. procedure TCMP_CMSTAT.setSIDL; inline;
  33204. begin
  33205. pTDefRegMap(@Self)^.&set := $00002000;
  33206. end;
  33207. procedure TCMP_CMSTAT.clearSIDL; inline;
  33208. begin
  33209. pTDefRegMap(@Self)^.clr := $00002000;
  33210. end;
  33211. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  33212. begin
  33213. if thebits = 0 then
  33214. pTDefRegMap(@Self)^.clr := $00002000
  33215. else
  33216. pTDefRegMap(@Self)^.&set := $00002000;
  33217. end;
  33218. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  33219. begin
  33220. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33221. end;
  33222. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  33223. begin
  33224. pTDefRegMap(@Self)^.val := thebits;
  33225. end;
  33226. function TCMP_CMSTAT.getw : TBits_32; inline;
  33227. begin
  33228. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33229. end;
  33230. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  33231. begin
  33232. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  33233. end;
  33234. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  33235. begin
  33236. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  33237. end;
  33238. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  33239. begin
  33240. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  33241. end;
  33242. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  33243. begin
  33244. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  33245. end;
  33246. procedure TCMP_CTMUCON.setCTTRIG; inline;
  33247. begin
  33248. pTDefRegMap(@Self)^.&set := $00000100;
  33249. end;
  33250. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  33251. begin
  33252. pTDefRegMap(@Self)^.clr := $00000100;
  33253. end;
  33254. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  33255. begin
  33256. if thebits = 0 then
  33257. pTDefRegMap(@Self)^.clr := $00000100
  33258. else
  33259. pTDefRegMap(@Self)^.&set := $00000100;
  33260. end;
  33261. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  33262. begin
  33263. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33264. end;
  33265. procedure TCMP_CTMUCON.setIDISSEN; inline;
  33266. begin
  33267. pTDefRegMap(@Self)^.&set := $00000200;
  33268. end;
  33269. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  33270. begin
  33271. pTDefRegMap(@Self)^.clr := $00000200;
  33272. end;
  33273. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  33274. begin
  33275. if thebits = 0 then
  33276. pTDefRegMap(@Self)^.clr := $00000200
  33277. else
  33278. pTDefRegMap(@Self)^.&set := $00000200;
  33279. end;
  33280. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  33281. begin
  33282. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33283. end;
  33284. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  33285. begin
  33286. pTDefRegMap(@Self)^.&set := $00000400;
  33287. end;
  33288. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  33289. begin
  33290. pTDefRegMap(@Self)^.clr := $00000400;
  33291. end;
  33292. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  33293. begin
  33294. if thebits = 0 then
  33295. pTDefRegMap(@Self)^.clr := $00000400
  33296. else
  33297. pTDefRegMap(@Self)^.&set := $00000400;
  33298. end;
  33299. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  33300. begin
  33301. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33302. end;
  33303. procedure TCMP_CTMUCON.setEDGEN; inline;
  33304. begin
  33305. pTDefRegMap(@Self)^.&set := $00000800;
  33306. end;
  33307. procedure TCMP_CTMUCON.clearEDGEN; inline;
  33308. begin
  33309. pTDefRegMap(@Self)^.clr := $00000800;
  33310. end;
  33311. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  33312. begin
  33313. if thebits = 0 then
  33314. pTDefRegMap(@Self)^.clr := $00000800
  33315. else
  33316. pTDefRegMap(@Self)^.&set := $00000800;
  33317. end;
  33318. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  33319. begin
  33320. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33321. end;
  33322. procedure TCMP_CTMUCON.setTGEN; inline;
  33323. begin
  33324. pTDefRegMap(@Self)^.&set := $00001000;
  33325. end;
  33326. procedure TCMP_CTMUCON.clearTGEN; inline;
  33327. begin
  33328. pTDefRegMap(@Self)^.clr := $00001000;
  33329. end;
  33330. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  33331. begin
  33332. if thebits = 0 then
  33333. pTDefRegMap(@Self)^.clr := $00001000
  33334. else
  33335. pTDefRegMap(@Self)^.&set := $00001000;
  33336. end;
  33337. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  33338. begin
  33339. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33340. end;
  33341. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  33342. begin
  33343. pTDefRegMap(@Self)^.&set := $00002000;
  33344. end;
  33345. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  33346. begin
  33347. pTDefRegMap(@Self)^.clr := $00002000;
  33348. end;
  33349. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  33350. begin
  33351. if thebits = 0 then
  33352. pTDefRegMap(@Self)^.clr := $00002000
  33353. else
  33354. pTDefRegMap(@Self)^.&set := $00002000;
  33355. end;
  33356. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  33357. begin
  33358. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33359. end;
  33360. procedure TCMP_CTMUCON.setON; inline;
  33361. begin
  33362. pTDefRegMap(@Self)^.&set := $00008000;
  33363. end;
  33364. procedure TCMP_CTMUCON.clearON; inline;
  33365. begin
  33366. pTDefRegMap(@Self)^.clr := $00008000;
  33367. end;
  33368. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  33369. begin
  33370. if thebits = 0 then
  33371. pTDefRegMap(@Self)^.clr := $00008000
  33372. else
  33373. pTDefRegMap(@Self)^.&set := $00008000;
  33374. end;
  33375. function TCMP_CTMUCON.getON : TBits_1; inline;
  33376. begin
  33377. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33378. end;
  33379. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  33380. begin
  33381. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  33382. end;
  33383. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  33384. begin
  33385. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  33386. end;
  33387. procedure TCMP_CTMUCON.setEDG2POL; inline;
  33388. begin
  33389. pTDefRegMap(@Self)^.&set := $00400000;
  33390. end;
  33391. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  33392. begin
  33393. pTDefRegMap(@Self)^.clr := $00400000;
  33394. end;
  33395. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  33396. begin
  33397. if thebits = 0 then
  33398. pTDefRegMap(@Self)^.clr := $00400000
  33399. else
  33400. pTDefRegMap(@Self)^.&set := $00400000;
  33401. end;
  33402. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  33403. begin
  33404. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  33405. end;
  33406. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  33407. begin
  33408. pTDefRegMap(@Self)^.&set := $00800000;
  33409. end;
  33410. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  33411. begin
  33412. pTDefRegMap(@Self)^.clr := $00800000;
  33413. end;
  33414. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  33415. begin
  33416. if thebits = 0 then
  33417. pTDefRegMap(@Self)^.clr := $00800000
  33418. else
  33419. pTDefRegMap(@Self)^.&set := $00800000;
  33420. end;
  33421. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  33422. begin
  33423. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  33424. end;
  33425. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  33426. begin
  33427. pTDefRegMap(@Self)^.&set := $01000000;
  33428. end;
  33429. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  33430. begin
  33431. pTDefRegMap(@Self)^.clr := $01000000;
  33432. end;
  33433. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  33434. begin
  33435. if thebits = 0 then
  33436. pTDefRegMap(@Self)^.clr := $01000000
  33437. else
  33438. pTDefRegMap(@Self)^.&set := $01000000;
  33439. end;
  33440. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  33441. begin
  33442. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33443. end;
  33444. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  33445. begin
  33446. pTDefRegMap(@Self)^.&set := $02000000;
  33447. end;
  33448. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  33449. begin
  33450. pTDefRegMap(@Self)^.clr := $02000000;
  33451. end;
  33452. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  33453. begin
  33454. if thebits = 0 then
  33455. pTDefRegMap(@Self)^.clr := $02000000
  33456. else
  33457. pTDefRegMap(@Self)^.&set := $02000000;
  33458. end;
  33459. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  33460. begin
  33461. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  33462. end;
  33463. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  33464. begin
  33465. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  33466. end;
  33467. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  33468. begin
  33469. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  33470. end;
  33471. procedure TCMP_CTMUCON.setEDG1POL; inline;
  33472. begin
  33473. pTDefRegMap(@Self)^.&set := $40000000;
  33474. end;
  33475. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  33476. begin
  33477. pTDefRegMap(@Self)^.clr := $40000000;
  33478. end;
  33479. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  33480. begin
  33481. if thebits = 0 then
  33482. pTDefRegMap(@Self)^.clr := $40000000
  33483. else
  33484. pTDefRegMap(@Self)^.&set := $40000000;
  33485. end;
  33486. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  33487. begin
  33488. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  33489. end;
  33490. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  33491. begin
  33492. pTDefRegMap(@Self)^.&set := $80000000;
  33493. end;
  33494. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  33495. begin
  33496. pTDefRegMap(@Self)^.clr := $80000000;
  33497. end;
  33498. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  33499. begin
  33500. if thebits = 0 then
  33501. pTDefRegMap(@Self)^.clr := $80000000
  33502. else
  33503. pTDefRegMap(@Self)^.&set := $80000000;
  33504. end;
  33505. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  33506. begin
  33507. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  33508. end;
  33509. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  33510. begin
  33511. pTDefRegMap(@Self)^.val := thebits;
  33512. end;
  33513. function TCMP_CTMUCON.getw : TBits_32; inline;
  33514. begin
  33515. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33516. end;
  33517. procedure TOSC_OSCCON.setOSWEN; inline;
  33518. begin
  33519. pTDefRegMap(@Self)^.&set := $00000001;
  33520. end;
  33521. procedure TOSC_OSCCON.clearOSWEN; inline;
  33522. begin
  33523. pTDefRegMap(@Self)^.clr := $00000001;
  33524. end;
  33525. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  33526. begin
  33527. if thebits = 0 then
  33528. pTDefRegMap(@Self)^.clr := $00000001
  33529. else
  33530. pTDefRegMap(@Self)^.&set := $00000001;
  33531. end;
  33532. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  33533. begin
  33534. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33535. end;
  33536. procedure TOSC_OSCCON.setSOSCEN; inline;
  33537. begin
  33538. pTDefRegMap(@Self)^.&set := $00000002;
  33539. end;
  33540. procedure TOSC_OSCCON.clearSOSCEN; inline;
  33541. begin
  33542. pTDefRegMap(@Self)^.clr := $00000002;
  33543. end;
  33544. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  33545. begin
  33546. if thebits = 0 then
  33547. pTDefRegMap(@Self)^.clr := $00000002
  33548. else
  33549. pTDefRegMap(@Self)^.&set := $00000002;
  33550. end;
  33551. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  33552. begin
  33553. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33554. end;
  33555. procedure TOSC_OSCCON.setUFRCEN; inline;
  33556. begin
  33557. pTDefRegMap(@Self)^.&set := $00000004;
  33558. end;
  33559. procedure TOSC_OSCCON.clearUFRCEN; inline;
  33560. begin
  33561. pTDefRegMap(@Self)^.clr := $00000004;
  33562. end;
  33563. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  33564. begin
  33565. if thebits = 0 then
  33566. pTDefRegMap(@Self)^.clr := $00000004
  33567. else
  33568. pTDefRegMap(@Self)^.&set := $00000004;
  33569. end;
  33570. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  33571. begin
  33572. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33573. end;
  33574. procedure TOSC_OSCCON.setCF; inline;
  33575. begin
  33576. pTDefRegMap(@Self)^.&set := $00000008;
  33577. end;
  33578. procedure TOSC_OSCCON.clearCF; inline;
  33579. begin
  33580. pTDefRegMap(@Self)^.clr := $00000008;
  33581. end;
  33582. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  33583. begin
  33584. if thebits = 0 then
  33585. pTDefRegMap(@Self)^.clr := $00000008
  33586. else
  33587. pTDefRegMap(@Self)^.&set := $00000008;
  33588. end;
  33589. function TOSC_OSCCON.getCF : TBits_1; inline;
  33590. begin
  33591. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33592. end;
  33593. procedure TOSC_OSCCON.setSLPEN; inline;
  33594. begin
  33595. pTDefRegMap(@Self)^.&set := $00000010;
  33596. end;
  33597. procedure TOSC_OSCCON.clearSLPEN; inline;
  33598. begin
  33599. pTDefRegMap(@Self)^.clr := $00000010;
  33600. end;
  33601. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  33602. begin
  33603. if thebits = 0 then
  33604. pTDefRegMap(@Self)^.clr := $00000010
  33605. else
  33606. pTDefRegMap(@Self)^.&set := $00000010;
  33607. end;
  33608. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  33609. begin
  33610. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33611. end;
  33612. procedure TOSC_OSCCON.setSLOCK; inline;
  33613. begin
  33614. pTDefRegMap(@Self)^.&set := $00000020;
  33615. end;
  33616. procedure TOSC_OSCCON.clearSLOCK; inline;
  33617. begin
  33618. pTDefRegMap(@Self)^.clr := $00000020;
  33619. end;
  33620. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  33621. begin
  33622. if thebits = 0 then
  33623. pTDefRegMap(@Self)^.clr := $00000020
  33624. else
  33625. pTDefRegMap(@Self)^.&set := $00000020;
  33626. end;
  33627. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  33628. begin
  33629. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33630. end;
  33631. procedure TOSC_OSCCON.setULOCK; inline;
  33632. begin
  33633. pTDefRegMap(@Self)^.&set := $00000040;
  33634. end;
  33635. procedure TOSC_OSCCON.clearULOCK; inline;
  33636. begin
  33637. pTDefRegMap(@Self)^.clr := $00000040;
  33638. end;
  33639. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  33640. begin
  33641. if thebits = 0 then
  33642. pTDefRegMap(@Self)^.clr := $00000040
  33643. else
  33644. pTDefRegMap(@Self)^.&set := $00000040;
  33645. end;
  33646. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  33647. begin
  33648. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33649. end;
  33650. procedure TOSC_OSCCON.setCLKLOCK; inline;
  33651. begin
  33652. pTDefRegMap(@Self)^.&set := $00000080;
  33653. end;
  33654. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  33655. begin
  33656. pTDefRegMap(@Self)^.clr := $00000080;
  33657. end;
  33658. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  33659. begin
  33660. if thebits = 0 then
  33661. pTDefRegMap(@Self)^.clr := $00000080
  33662. else
  33663. pTDefRegMap(@Self)^.&set := $00000080;
  33664. end;
  33665. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  33666. begin
  33667. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33668. end;
  33669. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  33670. begin
  33671. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  33672. end;
  33673. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  33674. begin
  33675. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  33676. end;
  33677. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  33678. begin
  33679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  33680. end;
  33681. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  33682. begin
  33683. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  33684. end;
  33685. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  33686. begin
  33687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  33688. end;
  33689. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  33690. begin
  33691. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  33692. end;
  33693. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  33694. begin
  33695. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  33696. end;
  33697. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  33698. begin
  33699. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  33700. end;
  33701. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  33702. begin
  33703. pTDefRegMap(@Self)^.&set := $00200000;
  33704. end;
  33705. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  33706. begin
  33707. pTDefRegMap(@Self)^.clr := $00200000;
  33708. end;
  33709. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  33710. begin
  33711. if thebits = 0 then
  33712. pTDefRegMap(@Self)^.clr := $00200000
  33713. else
  33714. pTDefRegMap(@Self)^.&set := $00200000;
  33715. end;
  33716. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  33717. begin
  33718. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  33719. end;
  33720. procedure TOSC_OSCCON.setSOSCRDY; inline;
  33721. begin
  33722. pTDefRegMap(@Self)^.&set := $00400000;
  33723. end;
  33724. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  33725. begin
  33726. pTDefRegMap(@Self)^.clr := $00400000;
  33727. end;
  33728. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  33729. begin
  33730. if thebits = 0 then
  33731. pTDefRegMap(@Self)^.clr := $00400000
  33732. else
  33733. pTDefRegMap(@Self)^.&set := $00400000;
  33734. end;
  33735. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  33736. begin
  33737. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  33738. end;
  33739. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  33740. begin
  33741. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  33742. end;
  33743. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  33744. begin
  33745. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  33746. end;
  33747. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  33748. begin
  33749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  33750. end;
  33751. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  33752. begin
  33753. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  33754. end;
  33755. procedure TOSC_OSCCON.setNOSC0; inline;
  33756. begin
  33757. pTDefRegMap(@Self)^.&set := $00000100;
  33758. end;
  33759. procedure TOSC_OSCCON.clearNOSC0; inline;
  33760. begin
  33761. pTDefRegMap(@Self)^.clr := $00000100;
  33762. end;
  33763. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  33764. begin
  33765. if thebits = 0 then
  33766. pTDefRegMap(@Self)^.clr := $00000100
  33767. else
  33768. pTDefRegMap(@Self)^.&set := $00000100;
  33769. end;
  33770. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  33771. begin
  33772. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33773. end;
  33774. procedure TOSC_OSCCON.setNOSC1; inline;
  33775. begin
  33776. pTDefRegMap(@Self)^.&set := $00000200;
  33777. end;
  33778. procedure TOSC_OSCCON.clearNOSC1; inline;
  33779. begin
  33780. pTDefRegMap(@Self)^.clr := $00000200;
  33781. end;
  33782. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  33783. begin
  33784. if thebits = 0 then
  33785. pTDefRegMap(@Self)^.clr := $00000200
  33786. else
  33787. pTDefRegMap(@Self)^.&set := $00000200;
  33788. end;
  33789. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  33790. begin
  33791. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33792. end;
  33793. procedure TOSC_OSCCON.setNOSC2; inline;
  33794. begin
  33795. pTDefRegMap(@Self)^.&set := $00000400;
  33796. end;
  33797. procedure TOSC_OSCCON.clearNOSC2; inline;
  33798. begin
  33799. pTDefRegMap(@Self)^.clr := $00000400;
  33800. end;
  33801. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  33802. begin
  33803. if thebits = 0 then
  33804. pTDefRegMap(@Self)^.clr := $00000400
  33805. else
  33806. pTDefRegMap(@Self)^.&set := $00000400;
  33807. end;
  33808. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  33809. begin
  33810. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33811. end;
  33812. procedure TOSC_OSCCON.setCOSC0; inline;
  33813. begin
  33814. pTDefRegMap(@Self)^.&set := $00001000;
  33815. end;
  33816. procedure TOSC_OSCCON.clearCOSC0; inline;
  33817. begin
  33818. pTDefRegMap(@Self)^.clr := $00001000;
  33819. end;
  33820. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  33821. begin
  33822. if thebits = 0 then
  33823. pTDefRegMap(@Self)^.clr := $00001000
  33824. else
  33825. pTDefRegMap(@Self)^.&set := $00001000;
  33826. end;
  33827. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  33828. begin
  33829. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33830. end;
  33831. procedure TOSC_OSCCON.setCOSC1; inline;
  33832. begin
  33833. pTDefRegMap(@Self)^.&set := $00002000;
  33834. end;
  33835. procedure TOSC_OSCCON.clearCOSC1; inline;
  33836. begin
  33837. pTDefRegMap(@Self)^.clr := $00002000;
  33838. end;
  33839. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  33840. begin
  33841. if thebits = 0 then
  33842. pTDefRegMap(@Self)^.clr := $00002000
  33843. else
  33844. pTDefRegMap(@Self)^.&set := $00002000;
  33845. end;
  33846. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  33847. begin
  33848. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33849. end;
  33850. procedure TOSC_OSCCON.setCOSC2; inline;
  33851. begin
  33852. pTDefRegMap(@Self)^.&set := $00004000;
  33853. end;
  33854. procedure TOSC_OSCCON.clearCOSC2; inline;
  33855. begin
  33856. pTDefRegMap(@Self)^.clr := $00004000;
  33857. end;
  33858. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  33859. begin
  33860. if thebits = 0 then
  33861. pTDefRegMap(@Self)^.clr := $00004000
  33862. else
  33863. pTDefRegMap(@Self)^.&set := $00004000;
  33864. end;
  33865. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  33866. begin
  33867. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33868. end;
  33869. procedure TOSC_OSCCON.setPLLMULT0; inline;
  33870. begin
  33871. pTDefRegMap(@Self)^.&set := $00010000;
  33872. end;
  33873. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  33874. begin
  33875. pTDefRegMap(@Self)^.clr := $00010000;
  33876. end;
  33877. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  33878. begin
  33879. if thebits = 0 then
  33880. pTDefRegMap(@Self)^.clr := $00010000
  33881. else
  33882. pTDefRegMap(@Self)^.&set := $00010000;
  33883. end;
  33884. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  33885. begin
  33886. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  33887. end;
  33888. procedure TOSC_OSCCON.setPLLMULT1; inline;
  33889. begin
  33890. pTDefRegMap(@Self)^.&set := $00020000;
  33891. end;
  33892. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  33893. begin
  33894. pTDefRegMap(@Self)^.clr := $00020000;
  33895. end;
  33896. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  33897. begin
  33898. if thebits = 0 then
  33899. pTDefRegMap(@Self)^.clr := $00020000
  33900. else
  33901. pTDefRegMap(@Self)^.&set := $00020000;
  33902. end;
  33903. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  33904. begin
  33905. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  33906. end;
  33907. procedure TOSC_OSCCON.setPLLMULT2; inline;
  33908. begin
  33909. pTDefRegMap(@Self)^.&set := $00040000;
  33910. end;
  33911. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  33912. begin
  33913. pTDefRegMap(@Self)^.clr := $00040000;
  33914. end;
  33915. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  33916. begin
  33917. if thebits = 0 then
  33918. pTDefRegMap(@Self)^.clr := $00040000
  33919. else
  33920. pTDefRegMap(@Self)^.&set := $00040000;
  33921. end;
  33922. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  33923. begin
  33924. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  33925. end;
  33926. procedure TOSC_OSCCON.setPBDIV0; inline;
  33927. begin
  33928. pTDefRegMap(@Self)^.&set := $00080000;
  33929. end;
  33930. procedure TOSC_OSCCON.clearPBDIV0; inline;
  33931. begin
  33932. pTDefRegMap(@Self)^.clr := $00080000;
  33933. end;
  33934. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  33935. begin
  33936. if thebits = 0 then
  33937. pTDefRegMap(@Self)^.clr := $00080000
  33938. else
  33939. pTDefRegMap(@Self)^.&set := $00080000;
  33940. end;
  33941. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  33942. begin
  33943. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  33944. end;
  33945. procedure TOSC_OSCCON.setPBDIV1; inline;
  33946. begin
  33947. pTDefRegMap(@Self)^.&set := $00100000;
  33948. end;
  33949. procedure TOSC_OSCCON.clearPBDIV1; inline;
  33950. begin
  33951. pTDefRegMap(@Self)^.clr := $00100000;
  33952. end;
  33953. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  33954. begin
  33955. if thebits = 0 then
  33956. pTDefRegMap(@Self)^.clr := $00100000
  33957. else
  33958. pTDefRegMap(@Self)^.&set := $00100000;
  33959. end;
  33960. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  33961. begin
  33962. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  33963. end;
  33964. procedure TOSC_OSCCON.setFRCDIV0; inline;
  33965. begin
  33966. pTDefRegMap(@Self)^.&set := $01000000;
  33967. end;
  33968. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  33969. begin
  33970. pTDefRegMap(@Self)^.clr := $01000000;
  33971. end;
  33972. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  33973. begin
  33974. if thebits = 0 then
  33975. pTDefRegMap(@Self)^.clr := $01000000
  33976. else
  33977. pTDefRegMap(@Self)^.&set := $01000000;
  33978. end;
  33979. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  33980. begin
  33981. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33982. end;
  33983. procedure TOSC_OSCCON.setFRCDIV1; inline;
  33984. begin
  33985. pTDefRegMap(@Self)^.&set := $02000000;
  33986. end;
  33987. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  33988. begin
  33989. pTDefRegMap(@Self)^.clr := $02000000;
  33990. end;
  33991. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  33992. begin
  33993. if thebits = 0 then
  33994. pTDefRegMap(@Self)^.clr := $02000000
  33995. else
  33996. pTDefRegMap(@Self)^.&set := $02000000;
  33997. end;
  33998. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  33999. begin
  34000. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  34001. end;
  34002. procedure TOSC_OSCCON.setFRCDIV2; inline;
  34003. begin
  34004. pTDefRegMap(@Self)^.&set := $04000000;
  34005. end;
  34006. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  34007. begin
  34008. pTDefRegMap(@Self)^.clr := $04000000;
  34009. end;
  34010. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  34011. begin
  34012. if thebits = 0 then
  34013. pTDefRegMap(@Self)^.clr := $04000000
  34014. else
  34015. pTDefRegMap(@Self)^.&set := $04000000;
  34016. end;
  34017. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  34018. begin
  34019. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  34020. end;
  34021. procedure TOSC_OSCCON.setPLLODIV0; inline;
  34022. begin
  34023. pTDefRegMap(@Self)^.&set := $08000000;
  34024. end;
  34025. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  34026. begin
  34027. pTDefRegMap(@Self)^.clr := $08000000;
  34028. end;
  34029. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  34030. begin
  34031. if thebits = 0 then
  34032. pTDefRegMap(@Self)^.clr := $08000000
  34033. else
  34034. pTDefRegMap(@Self)^.&set := $08000000;
  34035. end;
  34036. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  34037. begin
  34038. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  34039. end;
  34040. procedure TOSC_OSCCON.setPLLODIV1; inline;
  34041. begin
  34042. pTDefRegMap(@Self)^.&set := $10000000;
  34043. end;
  34044. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  34045. begin
  34046. pTDefRegMap(@Self)^.clr := $10000000;
  34047. end;
  34048. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  34049. begin
  34050. if thebits = 0 then
  34051. pTDefRegMap(@Self)^.clr := $10000000
  34052. else
  34053. pTDefRegMap(@Self)^.&set := $10000000;
  34054. end;
  34055. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  34056. begin
  34057. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  34058. end;
  34059. procedure TOSC_OSCCON.setPLLODIV2; inline;
  34060. begin
  34061. pTDefRegMap(@Self)^.&set := $20000000;
  34062. end;
  34063. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  34064. begin
  34065. pTDefRegMap(@Self)^.clr := $20000000;
  34066. end;
  34067. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  34068. begin
  34069. if thebits = 0 then
  34070. pTDefRegMap(@Self)^.clr := $20000000
  34071. else
  34072. pTDefRegMap(@Self)^.&set := $20000000;
  34073. end;
  34074. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  34075. begin
  34076. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  34077. end;
  34078. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  34079. begin
  34080. pTDefRegMap(@Self)^.val := thebits;
  34081. end;
  34082. function TOSC_OSCCON.getw : TBits_32; inline;
  34083. begin
  34084. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34085. end;
  34086. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  34087. begin
  34088. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  34089. end;
  34090. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  34091. begin
  34092. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  34093. end;
  34094. procedure TOSC_OSCTUN.setTUN0; inline;
  34095. begin
  34096. pTDefRegMap(@Self)^.&set := $00000001;
  34097. end;
  34098. procedure TOSC_OSCTUN.clearTUN0; inline;
  34099. begin
  34100. pTDefRegMap(@Self)^.clr := $00000001;
  34101. end;
  34102. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  34103. begin
  34104. if thebits = 0 then
  34105. pTDefRegMap(@Self)^.clr := $00000001
  34106. else
  34107. pTDefRegMap(@Self)^.&set := $00000001;
  34108. end;
  34109. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  34110. begin
  34111. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34112. end;
  34113. procedure TOSC_OSCTUN.setTUN1; inline;
  34114. begin
  34115. pTDefRegMap(@Self)^.&set := $00000002;
  34116. end;
  34117. procedure TOSC_OSCTUN.clearTUN1; inline;
  34118. begin
  34119. pTDefRegMap(@Self)^.clr := $00000002;
  34120. end;
  34121. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  34122. begin
  34123. if thebits = 0 then
  34124. pTDefRegMap(@Self)^.clr := $00000002
  34125. else
  34126. pTDefRegMap(@Self)^.&set := $00000002;
  34127. end;
  34128. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  34129. begin
  34130. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34131. end;
  34132. procedure TOSC_OSCTUN.setTUN2; inline;
  34133. begin
  34134. pTDefRegMap(@Self)^.&set := $00000004;
  34135. end;
  34136. procedure TOSC_OSCTUN.clearTUN2; inline;
  34137. begin
  34138. pTDefRegMap(@Self)^.clr := $00000004;
  34139. end;
  34140. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  34141. begin
  34142. if thebits = 0 then
  34143. pTDefRegMap(@Self)^.clr := $00000004
  34144. else
  34145. pTDefRegMap(@Self)^.&set := $00000004;
  34146. end;
  34147. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  34148. begin
  34149. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34150. end;
  34151. procedure TOSC_OSCTUN.setTUN3; inline;
  34152. begin
  34153. pTDefRegMap(@Self)^.&set := $00000008;
  34154. end;
  34155. procedure TOSC_OSCTUN.clearTUN3; inline;
  34156. begin
  34157. pTDefRegMap(@Self)^.clr := $00000008;
  34158. end;
  34159. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  34160. begin
  34161. if thebits = 0 then
  34162. pTDefRegMap(@Self)^.clr := $00000008
  34163. else
  34164. pTDefRegMap(@Self)^.&set := $00000008;
  34165. end;
  34166. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  34167. begin
  34168. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34169. end;
  34170. procedure TOSC_OSCTUN.setTUN4; inline;
  34171. begin
  34172. pTDefRegMap(@Self)^.&set := $00000010;
  34173. end;
  34174. procedure TOSC_OSCTUN.clearTUN4; inline;
  34175. begin
  34176. pTDefRegMap(@Self)^.clr := $00000010;
  34177. end;
  34178. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  34179. begin
  34180. if thebits = 0 then
  34181. pTDefRegMap(@Self)^.clr := $00000010
  34182. else
  34183. pTDefRegMap(@Self)^.&set := $00000010;
  34184. end;
  34185. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  34186. begin
  34187. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34188. end;
  34189. procedure TOSC_OSCTUN.setTUN5; inline;
  34190. begin
  34191. pTDefRegMap(@Self)^.&set := $00000020;
  34192. end;
  34193. procedure TOSC_OSCTUN.clearTUN5; inline;
  34194. begin
  34195. pTDefRegMap(@Self)^.clr := $00000020;
  34196. end;
  34197. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  34198. begin
  34199. if thebits = 0 then
  34200. pTDefRegMap(@Self)^.clr := $00000020
  34201. else
  34202. pTDefRegMap(@Self)^.&set := $00000020;
  34203. end;
  34204. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  34205. begin
  34206. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34207. end;
  34208. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  34209. begin
  34210. pTDefRegMap(@Self)^.val := thebits;
  34211. end;
  34212. function TOSC_OSCTUN.getw : TBits_32; inline;
  34213. begin
  34214. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34215. end;
  34216. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  34217. begin
  34218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  34219. end;
  34220. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  34221. begin
  34222. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  34223. end;
  34224. procedure TOSC_REFOCON.setACTIVE; inline;
  34225. begin
  34226. pTDefRegMap(@Self)^.&set := $00000100;
  34227. end;
  34228. procedure TOSC_REFOCON.clearACTIVE; inline;
  34229. begin
  34230. pTDefRegMap(@Self)^.clr := $00000100;
  34231. end;
  34232. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  34233. begin
  34234. if thebits = 0 then
  34235. pTDefRegMap(@Self)^.clr := $00000100
  34236. else
  34237. pTDefRegMap(@Self)^.&set := $00000100;
  34238. end;
  34239. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  34240. begin
  34241. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34242. end;
  34243. procedure TOSC_REFOCON.setDIVSWEN; inline;
  34244. begin
  34245. pTDefRegMap(@Self)^.&set := $00000200;
  34246. end;
  34247. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  34248. begin
  34249. pTDefRegMap(@Self)^.clr := $00000200;
  34250. end;
  34251. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  34252. begin
  34253. if thebits = 0 then
  34254. pTDefRegMap(@Self)^.clr := $00000200
  34255. else
  34256. pTDefRegMap(@Self)^.&set := $00000200;
  34257. end;
  34258. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  34259. begin
  34260. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34261. end;
  34262. procedure TOSC_REFOCON.setRSLP; inline;
  34263. begin
  34264. pTDefRegMap(@Self)^.&set := $00000800;
  34265. end;
  34266. procedure TOSC_REFOCON.clearRSLP; inline;
  34267. begin
  34268. pTDefRegMap(@Self)^.clr := $00000800;
  34269. end;
  34270. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  34271. begin
  34272. if thebits = 0 then
  34273. pTDefRegMap(@Self)^.clr := $00000800
  34274. else
  34275. pTDefRegMap(@Self)^.&set := $00000800;
  34276. end;
  34277. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  34278. begin
  34279. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34280. end;
  34281. procedure TOSC_REFOCON.setOE; inline;
  34282. begin
  34283. pTDefRegMap(@Self)^.&set := $00001000;
  34284. end;
  34285. procedure TOSC_REFOCON.clearOE; inline;
  34286. begin
  34287. pTDefRegMap(@Self)^.clr := $00001000;
  34288. end;
  34289. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  34290. begin
  34291. if thebits = 0 then
  34292. pTDefRegMap(@Self)^.clr := $00001000
  34293. else
  34294. pTDefRegMap(@Self)^.&set := $00001000;
  34295. end;
  34296. function TOSC_REFOCON.getOE : TBits_1; inline;
  34297. begin
  34298. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34299. end;
  34300. procedure TOSC_REFOCON.setSIDL; inline;
  34301. begin
  34302. pTDefRegMap(@Self)^.&set := $00002000;
  34303. end;
  34304. procedure TOSC_REFOCON.clearSIDL; inline;
  34305. begin
  34306. pTDefRegMap(@Self)^.clr := $00002000;
  34307. end;
  34308. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  34309. begin
  34310. if thebits = 0 then
  34311. pTDefRegMap(@Self)^.clr := $00002000
  34312. else
  34313. pTDefRegMap(@Self)^.&set := $00002000;
  34314. end;
  34315. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  34316. begin
  34317. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34318. end;
  34319. procedure TOSC_REFOCON.setON; inline;
  34320. begin
  34321. pTDefRegMap(@Self)^.&set := $00008000;
  34322. end;
  34323. procedure TOSC_REFOCON.clearON; inline;
  34324. begin
  34325. pTDefRegMap(@Self)^.clr := $00008000;
  34326. end;
  34327. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  34328. begin
  34329. if thebits = 0 then
  34330. pTDefRegMap(@Self)^.clr := $00008000
  34331. else
  34332. pTDefRegMap(@Self)^.&set := $00008000;
  34333. end;
  34334. function TOSC_REFOCON.getON : TBits_1; inline;
  34335. begin
  34336. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34337. end;
  34338. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  34339. begin
  34340. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  34341. end;
  34342. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  34343. begin
  34344. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  34345. end;
  34346. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  34347. begin
  34348. pTDefRegMap(@Self)^.val := thebits;
  34349. end;
  34350. function TOSC_REFOCON.getw : TBits_32; inline;
  34351. begin
  34352. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34353. end;
  34354. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  34355. begin
  34356. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  34357. end;
  34358. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  34359. begin
  34360. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  34361. end;
  34362. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  34363. begin
  34364. pTDefRegMap(@Self)^.val := thebits;
  34365. end;
  34366. function TOSC_REFOTRIM.getw : TBits_32; inline;
  34367. begin
  34368. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34369. end;
  34370. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  34371. begin
  34372. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  34373. end;
  34374. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  34375. begin
  34376. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  34377. end;
  34378. procedure TNVM_NVMCON.setLVDSTAT; inline;
  34379. begin
  34380. pTDefRegMap(@Self)^.&set := $00000800;
  34381. end;
  34382. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  34383. begin
  34384. pTDefRegMap(@Self)^.clr := $00000800;
  34385. end;
  34386. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  34387. begin
  34388. if thebits = 0 then
  34389. pTDefRegMap(@Self)^.clr := $00000800
  34390. else
  34391. pTDefRegMap(@Self)^.&set := $00000800;
  34392. end;
  34393. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  34394. begin
  34395. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34396. end;
  34397. procedure TNVM_NVMCON.setLVDERR; inline;
  34398. begin
  34399. pTDefRegMap(@Self)^.&set := $00001000;
  34400. end;
  34401. procedure TNVM_NVMCON.clearLVDERR; inline;
  34402. begin
  34403. pTDefRegMap(@Self)^.clr := $00001000;
  34404. end;
  34405. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  34406. begin
  34407. if thebits = 0 then
  34408. pTDefRegMap(@Self)^.clr := $00001000
  34409. else
  34410. pTDefRegMap(@Self)^.&set := $00001000;
  34411. end;
  34412. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  34413. begin
  34414. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34415. end;
  34416. procedure TNVM_NVMCON.setWRERR; inline;
  34417. begin
  34418. pTDefRegMap(@Self)^.&set := $00002000;
  34419. end;
  34420. procedure TNVM_NVMCON.clearWRERR; inline;
  34421. begin
  34422. pTDefRegMap(@Self)^.clr := $00002000;
  34423. end;
  34424. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  34425. begin
  34426. if thebits = 0 then
  34427. pTDefRegMap(@Self)^.clr := $00002000
  34428. else
  34429. pTDefRegMap(@Self)^.&set := $00002000;
  34430. end;
  34431. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  34432. begin
  34433. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34434. end;
  34435. procedure TNVM_NVMCON.setWREN; inline;
  34436. begin
  34437. pTDefRegMap(@Self)^.&set := $00004000;
  34438. end;
  34439. procedure TNVM_NVMCON.clearWREN; inline;
  34440. begin
  34441. pTDefRegMap(@Self)^.clr := $00004000;
  34442. end;
  34443. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  34444. begin
  34445. if thebits = 0 then
  34446. pTDefRegMap(@Self)^.clr := $00004000
  34447. else
  34448. pTDefRegMap(@Self)^.&set := $00004000;
  34449. end;
  34450. function TNVM_NVMCON.getWREN : TBits_1; inline;
  34451. begin
  34452. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34453. end;
  34454. procedure TNVM_NVMCON.setWR; inline;
  34455. begin
  34456. pTDefRegMap(@Self)^.&set := $00008000;
  34457. end;
  34458. procedure TNVM_NVMCON.clearWR; inline;
  34459. begin
  34460. pTDefRegMap(@Self)^.clr := $00008000;
  34461. end;
  34462. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  34463. begin
  34464. if thebits = 0 then
  34465. pTDefRegMap(@Self)^.clr := $00008000
  34466. else
  34467. pTDefRegMap(@Self)^.&set := $00008000;
  34468. end;
  34469. function TNVM_NVMCON.getWR : TBits_1; inline;
  34470. begin
  34471. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34472. end;
  34473. procedure TNVM_NVMCON.setNVMOP0; inline;
  34474. begin
  34475. pTDefRegMap(@Self)^.&set := $00000001;
  34476. end;
  34477. procedure TNVM_NVMCON.clearNVMOP0; inline;
  34478. begin
  34479. pTDefRegMap(@Self)^.clr := $00000001;
  34480. end;
  34481. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  34482. begin
  34483. if thebits = 0 then
  34484. pTDefRegMap(@Self)^.clr := $00000001
  34485. else
  34486. pTDefRegMap(@Self)^.&set := $00000001;
  34487. end;
  34488. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  34489. begin
  34490. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34491. end;
  34492. procedure TNVM_NVMCON.setNVMOP1; inline;
  34493. begin
  34494. pTDefRegMap(@Self)^.&set := $00000002;
  34495. end;
  34496. procedure TNVM_NVMCON.clearNVMOP1; inline;
  34497. begin
  34498. pTDefRegMap(@Self)^.clr := $00000002;
  34499. end;
  34500. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  34501. begin
  34502. if thebits = 0 then
  34503. pTDefRegMap(@Self)^.clr := $00000002
  34504. else
  34505. pTDefRegMap(@Self)^.&set := $00000002;
  34506. end;
  34507. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  34508. begin
  34509. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34510. end;
  34511. procedure TNVM_NVMCON.setNVMOP2; inline;
  34512. begin
  34513. pTDefRegMap(@Self)^.&set := $00000004;
  34514. end;
  34515. procedure TNVM_NVMCON.clearNVMOP2; inline;
  34516. begin
  34517. pTDefRegMap(@Self)^.clr := $00000004;
  34518. end;
  34519. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  34520. begin
  34521. if thebits = 0 then
  34522. pTDefRegMap(@Self)^.clr := $00000004
  34523. else
  34524. pTDefRegMap(@Self)^.&set := $00000004;
  34525. end;
  34526. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  34527. begin
  34528. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34529. end;
  34530. procedure TNVM_NVMCON.setNVMOP3; inline;
  34531. begin
  34532. pTDefRegMap(@Self)^.&set := $00000008;
  34533. end;
  34534. procedure TNVM_NVMCON.clearNVMOP3; inline;
  34535. begin
  34536. pTDefRegMap(@Self)^.clr := $00000008;
  34537. end;
  34538. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  34539. begin
  34540. if thebits = 0 then
  34541. pTDefRegMap(@Self)^.clr := $00000008
  34542. else
  34543. pTDefRegMap(@Self)^.&set := $00000008;
  34544. end;
  34545. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  34546. begin
  34547. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34548. end;
  34549. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  34550. begin
  34551. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  34552. end;
  34553. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  34554. begin
  34555. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  34556. end;
  34557. procedure TNVM_NVMCON.setPROGOP0; inline;
  34558. begin
  34559. pTDefRegMap(@Self)^.&set := $00000001;
  34560. end;
  34561. procedure TNVM_NVMCON.clearPROGOP0; inline;
  34562. begin
  34563. pTDefRegMap(@Self)^.clr := $00000001;
  34564. end;
  34565. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  34566. begin
  34567. if thebits = 0 then
  34568. pTDefRegMap(@Self)^.clr := $00000001
  34569. else
  34570. pTDefRegMap(@Self)^.&set := $00000001;
  34571. end;
  34572. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  34573. begin
  34574. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34575. end;
  34576. procedure TNVM_NVMCON.setPROGOP1; inline;
  34577. begin
  34578. pTDefRegMap(@Self)^.&set := $00000002;
  34579. end;
  34580. procedure TNVM_NVMCON.clearPROGOP1; inline;
  34581. begin
  34582. pTDefRegMap(@Self)^.clr := $00000002;
  34583. end;
  34584. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  34585. begin
  34586. if thebits = 0 then
  34587. pTDefRegMap(@Self)^.clr := $00000002
  34588. else
  34589. pTDefRegMap(@Self)^.&set := $00000002;
  34590. end;
  34591. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  34592. begin
  34593. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34594. end;
  34595. procedure TNVM_NVMCON.setPROGOP2; inline;
  34596. begin
  34597. pTDefRegMap(@Self)^.&set := $00000004;
  34598. end;
  34599. procedure TNVM_NVMCON.clearPROGOP2; inline;
  34600. begin
  34601. pTDefRegMap(@Self)^.clr := $00000004;
  34602. end;
  34603. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  34604. begin
  34605. if thebits = 0 then
  34606. pTDefRegMap(@Self)^.clr := $00000004
  34607. else
  34608. pTDefRegMap(@Self)^.&set := $00000004;
  34609. end;
  34610. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  34611. begin
  34612. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34613. end;
  34614. procedure TNVM_NVMCON.setPROGOP3; inline;
  34615. begin
  34616. pTDefRegMap(@Self)^.&set := $00000008;
  34617. end;
  34618. procedure TNVM_NVMCON.clearPROGOP3; inline;
  34619. begin
  34620. pTDefRegMap(@Self)^.clr := $00000008;
  34621. end;
  34622. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  34623. begin
  34624. if thebits = 0 then
  34625. pTDefRegMap(@Self)^.clr := $00000008
  34626. else
  34627. pTDefRegMap(@Self)^.&set := $00000008;
  34628. end;
  34629. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  34630. begin
  34631. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34632. end;
  34633. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  34634. begin
  34635. pTDefRegMap(@Self)^.val := thebits;
  34636. end;
  34637. function TNVM_NVMCON.getw : TBits_32; inline;
  34638. begin
  34639. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34640. end;
  34641. procedure TRCON_RCON.setPOR; inline;
  34642. begin
  34643. pTDefRegMap(@Self)^.&set := $00000001;
  34644. end;
  34645. procedure TRCON_RCON.clearPOR; inline;
  34646. begin
  34647. pTDefRegMap(@Self)^.clr := $00000001;
  34648. end;
  34649. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  34650. begin
  34651. if thebits = 0 then
  34652. pTDefRegMap(@Self)^.clr := $00000001
  34653. else
  34654. pTDefRegMap(@Self)^.&set := $00000001;
  34655. end;
  34656. function TRCON_RCON.getPOR : TBits_1; inline;
  34657. begin
  34658. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34659. end;
  34660. procedure TRCON_RCON.setBOR; inline;
  34661. begin
  34662. pTDefRegMap(@Self)^.&set := $00000002;
  34663. end;
  34664. procedure TRCON_RCON.clearBOR; inline;
  34665. begin
  34666. pTDefRegMap(@Self)^.clr := $00000002;
  34667. end;
  34668. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  34669. begin
  34670. if thebits = 0 then
  34671. pTDefRegMap(@Self)^.clr := $00000002
  34672. else
  34673. pTDefRegMap(@Self)^.&set := $00000002;
  34674. end;
  34675. function TRCON_RCON.getBOR : TBits_1; inline;
  34676. begin
  34677. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34678. end;
  34679. procedure TRCON_RCON.setIDLE; inline;
  34680. begin
  34681. pTDefRegMap(@Self)^.&set := $00000004;
  34682. end;
  34683. procedure TRCON_RCON.clearIDLE; inline;
  34684. begin
  34685. pTDefRegMap(@Self)^.clr := $00000004;
  34686. end;
  34687. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  34688. begin
  34689. if thebits = 0 then
  34690. pTDefRegMap(@Self)^.clr := $00000004
  34691. else
  34692. pTDefRegMap(@Self)^.&set := $00000004;
  34693. end;
  34694. function TRCON_RCON.getIDLE : TBits_1; inline;
  34695. begin
  34696. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34697. end;
  34698. procedure TRCON_RCON.setSLEEP; inline;
  34699. begin
  34700. pTDefRegMap(@Self)^.&set := $00000008;
  34701. end;
  34702. procedure TRCON_RCON.clearSLEEP; inline;
  34703. begin
  34704. pTDefRegMap(@Self)^.clr := $00000008;
  34705. end;
  34706. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  34707. begin
  34708. if thebits = 0 then
  34709. pTDefRegMap(@Self)^.clr := $00000008
  34710. else
  34711. pTDefRegMap(@Self)^.&set := $00000008;
  34712. end;
  34713. function TRCON_RCON.getSLEEP : TBits_1; inline;
  34714. begin
  34715. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34716. end;
  34717. procedure TRCON_RCON.setWDTO; inline;
  34718. begin
  34719. pTDefRegMap(@Self)^.&set := $00000010;
  34720. end;
  34721. procedure TRCON_RCON.clearWDTO; inline;
  34722. begin
  34723. pTDefRegMap(@Self)^.clr := $00000010;
  34724. end;
  34725. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  34726. begin
  34727. if thebits = 0 then
  34728. pTDefRegMap(@Self)^.clr := $00000010
  34729. else
  34730. pTDefRegMap(@Self)^.&set := $00000010;
  34731. end;
  34732. function TRCON_RCON.getWDTO : TBits_1; inline;
  34733. begin
  34734. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34735. end;
  34736. procedure TRCON_RCON.setSWR; inline;
  34737. begin
  34738. pTDefRegMap(@Self)^.&set := $00000040;
  34739. end;
  34740. procedure TRCON_RCON.clearSWR; inline;
  34741. begin
  34742. pTDefRegMap(@Self)^.clr := $00000040;
  34743. end;
  34744. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  34745. begin
  34746. if thebits = 0 then
  34747. pTDefRegMap(@Self)^.clr := $00000040
  34748. else
  34749. pTDefRegMap(@Self)^.&set := $00000040;
  34750. end;
  34751. function TRCON_RCON.getSWR : TBits_1; inline;
  34752. begin
  34753. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34754. end;
  34755. procedure TRCON_RCON.setEXTR; inline;
  34756. begin
  34757. pTDefRegMap(@Self)^.&set := $00000080;
  34758. end;
  34759. procedure TRCON_RCON.clearEXTR; inline;
  34760. begin
  34761. pTDefRegMap(@Self)^.clr := $00000080;
  34762. end;
  34763. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  34764. begin
  34765. if thebits = 0 then
  34766. pTDefRegMap(@Self)^.clr := $00000080
  34767. else
  34768. pTDefRegMap(@Self)^.&set := $00000080;
  34769. end;
  34770. function TRCON_RCON.getEXTR : TBits_1; inline;
  34771. begin
  34772. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34773. end;
  34774. procedure TRCON_RCON.setVREGS; inline;
  34775. begin
  34776. pTDefRegMap(@Self)^.&set := $00000100;
  34777. end;
  34778. procedure TRCON_RCON.clearVREGS; inline;
  34779. begin
  34780. pTDefRegMap(@Self)^.clr := $00000100;
  34781. end;
  34782. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  34783. begin
  34784. if thebits = 0 then
  34785. pTDefRegMap(@Self)^.clr := $00000100
  34786. else
  34787. pTDefRegMap(@Self)^.&set := $00000100;
  34788. end;
  34789. function TRCON_RCON.getVREGS : TBits_1; inline;
  34790. begin
  34791. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34792. end;
  34793. procedure TRCON_RCON.setCMR; inline;
  34794. begin
  34795. pTDefRegMap(@Self)^.&set := $00000200;
  34796. end;
  34797. procedure TRCON_RCON.clearCMR; inline;
  34798. begin
  34799. pTDefRegMap(@Self)^.clr := $00000200;
  34800. end;
  34801. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  34802. begin
  34803. if thebits = 0 then
  34804. pTDefRegMap(@Self)^.clr := $00000200
  34805. else
  34806. pTDefRegMap(@Self)^.&set := $00000200;
  34807. end;
  34808. function TRCON_RCON.getCMR : TBits_1; inline;
  34809. begin
  34810. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34811. end;
  34812. procedure TRCON_RCON.setHVDR; inline;
  34813. begin
  34814. pTDefRegMap(@Self)^.&set := $20000000;
  34815. end;
  34816. procedure TRCON_RCON.clearHVDR; inline;
  34817. begin
  34818. pTDefRegMap(@Self)^.clr := $20000000;
  34819. end;
  34820. procedure TRCON_RCON.setHVDR(thebits : TBits_1); inline;
  34821. begin
  34822. if thebits = 0 then
  34823. pTDefRegMap(@Self)^.clr := $20000000
  34824. else
  34825. pTDefRegMap(@Self)^.&set := $20000000;
  34826. end;
  34827. function TRCON_RCON.getHVDR : TBits_1; inline;
  34828. begin
  34829. getHVDR := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  34830. end;
  34831. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  34832. begin
  34833. pTDefRegMap(@Self)^.val := thebits;
  34834. end;
  34835. function TRCON_RCON.getw : TBits_32; inline;
  34836. begin
  34837. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34838. end;
  34839. procedure TRCON_RSWRST.setSWRST; inline;
  34840. begin
  34841. pTDefRegMap(@Self)^.&set := $00000001;
  34842. end;
  34843. procedure TRCON_RSWRST.clearSWRST; inline;
  34844. begin
  34845. pTDefRegMap(@Self)^.clr := $00000001;
  34846. end;
  34847. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  34848. begin
  34849. if thebits = 0 then
  34850. pTDefRegMap(@Self)^.clr := $00000001
  34851. else
  34852. pTDefRegMap(@Self)^.&set := $00000001;
  34853. end;
  34854. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  34855. begin
  34856. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34857. end;
  34858. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  34859. begin
  34860. pTDefRegMap(@Self)^.val := thebits;
  34861. end;
  34862. function TRCON_RSWRST.getw : TBits_32; inline;
  34863. begin
  34864. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34865. end;
  34866. procedure TINT_INTCON.setINT0EP; inline;
  34867. begin
  34868. pTDefRegMap(@Self)^.&set := $00000001;
  34869. end;
  34870. procedure TINT_INTCON.clearINT0EP; inline;
  34871. begin
  34872. pTDefRegMap(@Self)^.clr := $00000001;
  34873. end;
  34874. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  34875. begin
  34876. if thebits = 0 then
  34877. pTDefRegMap(@Self)^.clr := $00000001
  34878. else
  34879. pTDefRegMap(@Self)^.&set := $00000001;
  34880. end;
  34881. function TINT_INTCON.getINT0EP : TBits_1; inline;
  34882. begin
  34883. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34884. end;
  34885. procedure TINT_INTCON.setINT1EP; inline;
  34886. begin
  34887. pTDefRegMap(@Self)^.&set := $00000002;
  34888. end;
  34889. procedure TINT_INTCON.clearINT1EP; inline;
  34890. begin
  34891. pTDefRegMap(@Self)^.clr := $00000002;
  34892. end;
  34893. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  34894. begin
  34895. if thebits = 0 then
  34896. pTDefRegMap(@Self)^.clr := $00000002
  34897. else
  34898. pTDefRegMap(@Self)^.&set := $00000002;
  34899. end;
  34900. function TINT_INTCON.getINT1EP : TBits_1; inline;
  34901. begin
  34902. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34903. end;
  34904. procedure TINT_INTCON.setINT2EP; inline;
  34905. begin
  34906. pTDefRegMap(@Self)^.&set := $00000004;
  34907. end;
  34908. procedure TINT_INTCON.clearINT2EP; inline;
  34909. begin
  34910. pTDefRegMap(@Self)^.clr := $00000004;
  34911. end;
  34912. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  34913. begin
  34914. if thebits = 0 then
  34915. pTDefRegMap(@Self)^.clr := $00000004
  34916. else
  34917. pTDefRegMap(@Self)^.&set := $00000004;
  34918. end;
  34919. function TINT_INTCON.getINT2EP : TBits_1; inline;
  34920. begin
  34921. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34922. end;
  34923. procedure TINT_INTCON.setINT3EP; inline;
  34924. begin
  34925. pTDefRegMap(@Self)^.&set := $00000008;
  34926. end;
  34927. procedure TINT_INTCON.clearINT3EP; inline;
  34928. begin
  34929. pTDefRegMap(@Self)^.clr := $00000008;
  34930. end;
  34931. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  34932. begin
  34933. if thebits = 0 then
  34934. pTDefRegMap(@Self)^.clr := $00000008
  34935. else
  34936. pTDefRegMap(@Self)^.&set := $00000008;
  34937. end;
  34938. function TINT_INTCON.getINT3EP : TBits_1; inline;
  34939. begin
  34940. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34941. end;
  34942. procedure TINT_INTCON.setINT4EP; inline;
  34943. begin
  34944. pTDefRegMap(@Self)^.&set := $00000010;
  34945. end;
  34946. procedure TINT_INTCON.clearINT4EP; inline;
  34947. begin
  34948. pTDefRegMap(@Self)^.clr := $00000010;
  34949. end;
  34950. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  34951. begin
  34952. if thebits = 0 then
  34953. pTDefRegMap(@Self)^.clr := $00000010
  34954. else
  34955. pTDefRegMap(@Self)^.&set := $00000010;
  34956. end;
  34957. function TINT_INTCON.getINT4EP : TBits_1; inline;
  34958. begin
  34959. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34960. end;
  34961. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  34962. begin
  34963. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  34964. end;
  34965. function TINT_INTCON.getTPC : TBits_3; inline;
  34966. begin
  34967. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  34968. end;
  34969. procedure TINT_INTCON.setMVEC; inline;
  34970. begin
  34971. pTDefRegMap(@Self)^.&set := $00001000;
  34972. end;
  34973. procedure TINT_INTCON.clearMVEC; inline;
  34974. begin
  34975. pTDefRegMap(@Self)^.clr := $00001000;
  34976. end;
  34977. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  34978. begin
  34979. if thebits = 0 then
  34980. pTDefRegMap(@Self)^.clr := $00001000
  34981. else
  34982. pTDefRegMap(@Self)^.&set := $00001000;
  34983. end;
  34984. function TINT_INTCON.getMVEC : TBits_1; inline;
  34985. begin
  34986. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34987. end;
  34988. procedure TINT_INTCON.setSS0; inline;
  34989. begin
  34990. pTDefRegMap(@Self)^.&set := $00010000;
  34991. end;
  34992. procedure TINT_INTCON.clearSS0; inline;
  34993. begin
  34994. pTDefRegMap(@Self)^.clr := $00010000;
  34995. end;
  34996. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  34997. begin
  34998. if thebits = 0 then
  34999. pTDefRegMap(@Self)^.clr := $00010000
  35000. else
  35001. pTDefRegMap(@Self)^.&set := $00010000;
  35002. end;
  35003. function TINT_INTCON.getSS0 : TBits_1; inline;
  35004. begin
  35005. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35006. end;
  35007. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  35008. begin
  35009. pTDefRegMap(@Self)^.val := thebits;
  35010. end;
  35011. function TINT_INTCON.getw : TBits_32; inline;
  35012. begin
  35013. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35014. end;
  35015. procedure TINT_IFS0.setCTIF; inline;
  35016. begin
  35017. pTDefRegMap(@Self)^.&set := $00000001;
  35018. end;
  35019. procedure TINT_IFS0.clearCTIF; inline;
  35020. begin
  35021. pTDefRegMap(@Self)^.clr := $00000001;
  35022. end;
  35023. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  35024. begin
  35025. if thebits = 0 then
  35026. pTDefRegMap(@Self)^.clr := $00000001
  35027. else
  35028. pTDefRegMap(@Self)^.&set := $00000001;
  35029. end;
  35030. function TINT_IFS0.getCTIF : TBits_1; inline;
  35031. begin
  35032. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35033. end;
  35034. procedure TINT_IFS0.setCS0IF; inline;
  35035. begin
  35036. pTDefRegMap(@Self)^.&set := $00000002;
  35037. end;
  35038. procedure TINT_IFS0.clearCS0IF; inline;
  35039. begin
  35040. pTDefRegMap(@Self)^.clr := $00000002;
  35041. end;
  35042. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  35043. begin
  35044. if thebits = 0 then
  35045. pTDefRegMap(@Self)^.clr := $00000002
  35046. else
  35047. pTDefRegMap(@Self)^.&set := $00000002;
  35048. end;
  35049. function TINT_IFS0.getCS0IF : TBits_1; inline;
  35050. begin
  35051. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35052. end;
  35053. procedure TINT_IFS0.setCS1IF; inline;
  35054. begin
  35055. pTDefRegMap(@Self)^.&set := $00000004;
  35056. end;
  35057. procedure TINT_IFS0.clearCS1IF; inline;
  35058. begin
  35059. pTDefRegMap(@Self)^.clr := $00000004;
  35060. end;
  35061. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  35062. begin
  35063. if thebits = 0 then
  35064. pTDefRegMap(@Self)^.clr := $00000004
  35065. else
  35066. pTDefRegMap(@Self)^.&set := $00000004;
  35067. end;
  35068. function TINT_IFS0.getCS1IF : TBits_1; inline;
  35069. begin
  35070. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35071. end;
  35072. procedure TINT_IFS0.setINT0IF; inline;
  35073. begin
  35074. pTDefRegMap(@Self)^.&set := $00000008;
  35075. end;
  35076. procedure TINT_IFS0.clearINT0IF; inline;
  35077. begin
  35078. pTDefRegMap(@Self)^.clr := $00000008;
  35079. end;
  35080. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  35081. begin
  35082. if thebits = 0 then
  35083. pTDefRegMap(@Self)^.clr := $00000008
  35084. else
  35085. pTDefRegMap(@Self)^.&set := $00000008;
  35086. end;
  35087. function TINT_IFS0.getINT0IF : TBits_1; inline;
  35088. begin
  35089. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35090. end;
  35091. procedure TINT_IFS0.setT1IF; inline;
  35092. begin
  35093. pTDefRegMap(@Self)^.&set := $00000010;
  35094. end;
  35095. procedure TINT_IFS0.clearT1IF; inline;
  35096. begin
  35097. pTDefRegMap(@Self)^.clr := $00000010;
  35098. end;
  35099. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  35100. begin
  35101. if thebits = 0 then
  35102. pTDefRegMap(@Self)^.clr := $00000010
  35103. else
  35104. pTDefRegMap(@Self)^.&set := $00000010;
  35105. end;
  35106. function TINT_IFS0.getT1IF : TBits_1; inline;
  35107. begin
  35108. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35109. end;
  35110. procedure TINT_IFS0.setIC1EIF; inline;
  35111. begin
  35112. pTDefRegMap(@Self)^.&set := $00000020;
  35113. end;
  35114. procedure TINT_IFS0.clearIC1EIF; inline;
  35115. begin
  35116. pTDefRegMap(@Self)^.clr := $00000020;
  35117. end;
  35118. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  35119. begin
  35120. if thebits = 0 then
  35121. pTDefRegMap(@Self)^.clr := $00000020
  35122. else
  35123. pTDefRegMap(@Self)^.&set := $00000020;
  35124. end;
  35125. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  35126. begin
  35127. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35128. end;
  35129. procedure TINT_IFS0.setIC1IF; inline;
  35130. begin
  35131. pTDefRegMap(@Self)^.&set := $00000040;
  35132. end;
  35133. procedure TINT_IFS0.clearIC1IF; inline;
  35134. begin
  35135. pTDefRegMap(@Self)^.clr := $00000040;
  35136. end;
  35137. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  35138. begin
  35139. if thebits = 0 then
  35140. pTDefRegMap(@Self)^.clr := $00000040
  35141. else
  35142. pTDefRegMap(@Self)^.&set := $00000040;
  35143. end;
  35144. function TINT_IFS0.getIC1IF : TBits_1; inline;
  35145. begin
  35146. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35147. end;
  35148. procedure TINT_IFS0.setOC1IF; inline;
  35149. begin
  35150. pTDefRegMap(@Self)^.&set := $00000080;
  35151. end;
  35152. procedure TINT_IFS0.clearOC1IF; inline;
  35153. begin
  35154. pTDefRegMap(@Self)^.clr := $00000080;
  35155. end;
  35156. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  35157. begin
  35158. if thebits = 0 then
  35159. pTDefRegMap(@Self)^.clr := $00000080
  35160. else
  35161. pTDefRegMap(@Self)^.&set := $00000080;
  35162. end;
  35163. function TINT_IFS0.getOC1IF : TBits_1; inline;
  35164. begin
  35165. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35166. end;
  35167. procedure TINT_IFS0.setINT1IF; inline;
  35168. begin
  35169. pTDefRegMap(@Self)^.&set := $00000100;
  35170. end;
  35171. procedure TINT_IFS0.clearINT1IF; inline;
  35172. begin
  35173. pTDefRegMap(@Self)^.clr := $00000100;
  35174. end;
  35175. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  35176. begin
  35177. if thebits = 0 then
  35178. pTDefRegMap(@Self)^.clr := $00000100
  35179. else
  35180. pTDefRegMap(@Self)^.&set := $00000100;
  35181. end;
  35182. function TINT_IFS0.getINT1IF : TBits_1; inline;
  35183. begin
  35184. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35185. end;
  35186. procedure TINT_IFS0.setT2IF; inline;
  35187. begin
  35188. pTDefRegMap(@Self)^.&set := $00000200;
  35189. end;
  35190. procedure TINT_IFS0.clearT2IF; inline;
  35191. begin
  35192. pTDefRegMap(@Self)^.clr := $00000200;
  35193. end;
  35194. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  35195. begin
  35196. if thebits = 0 then
  35197. pTDefRegMap(@Self)^.clr := $00000200
  35198. else
  35199. pTDefRegMap(@Self)^.&set := $00000200;
  35200. end;
  35201. function TINT_IFS0.getT2IF : TBits_1; inline;
  35202. begin
  35203. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35204. end;
  35205. procedure TINT_IFS0.setIC2EIF; inline;
  35206. begin
  35207. pTDefRegMap(@Self)^.&set := $00000400;
  35208. end;
  35209. procedure TINT_IFS0.clearIC2EIF; inline;
  35210. begin
  35211. pTDefRegMap(@Self)^.clr := $00000400;
  35212. end;
  35213. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  35214. begin
  35215. if thebits = 0 then
  35216. pTDefRegMap(@Self)^.clr := $00000400
  35217. else
  35218. pTDefRegMap(@Self)^.&set := $00000400;
  35219. end;
  35220. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  35221. begin
  35222. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35223. end;
  35224. procedure TINT_IFS0.setIC2IF; inline;
  35225. begin
  35226. pTDefRegMap(@Self)^.&set := $00000800;
  35227. end;
  35228. procedure TINT_IFS0.clearIC2IF; inline;
  35229. begin
  35230. pTDefRegMap(@Self)^.clr := $00000800;
  35231. end;
  35232. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  35233. begin
  35234. if thebits = 0 then
  35235. pTDefRegMap(@Self)^.clr := $00000800
  35236. else
  35237. pTDefRegMap(@Self)^.&set := $00000800;
  35238. end;
  35239. function TINT_IFS0.getIC2IF : TBits_1; inline;
  35240. begin
  35241. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35242. end;
  35243. procedure TINT_IFS0.setOC2IF; inline;
  35244. begin
  35245. pTDefRegMap(@Self)^.&set := $00001000;
  35246. end;
  35247. procedure TINT_IFS0.clearOC2IF; inline;
  35248. begin
  35249. pTDefRegMap(@Self)^.clr := $00001000;
  35250. end;
  35251. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  35252. begin
  35253. if thebits = 0 then
  35254. pTDefRegMap(@Self)^.clr := $00001000
  35255. else
  35256. pTDefRegMap(@Self)^.&set := $00001000;
  35257. end;
  35258. function TINT_IFS0.getOC2IF : TBits_1; inline;
  35259. begin
  35260. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35261. end;
  35262. procedure TINT_IFS0.setINT2IF; inline;
  35263. begin
  35264. pTDefRegMap(@Self)^.&set := $00002000;
  35265. end;
  35266. procedure TINT_IFS0.clearINT2IF; inline;
  35267. begin
  35268. pTDefRegMap(@Self)^.clr := $00002000;
  35269. end;
  35270. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  35271. begin
  35272. if thebits = 0 then
  35273. pTDefRegMap(@Self)^.clr := $00002000
  35274. else
  35275. pTDefRegMap(@Self)^.&set := $00002000;
  35276. end;
  35277. function TINT_IFS0.getINT2IF : TBits_1; inline;
  35278. begin
  35279. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35280. end;
  35281. procedure TINT_IFS0.setT3IF; inline;
  35282. begin
  35283. pTDefRegMap(@Self)^.&set := $00004000;
  35284. end;
  35285. procedure TINT_IFS0.clearT3IF; inline;
  35286. begin
  35287. pTDefRegMap(@Self)^.clr := $00004000;
  35288. end;
  35289. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  35290. begin
  35291. if thebits = 0 then
  35292. pTDefRegMap(@Self)^.clr := $00004000
  35293. else
  35294. pTDefRegMap(@Self)^.&set := $00004000;
  35295. end;
  35296. function TINT_IFS0.getT3IF : TBits_1; inline;
  35297. begin
  35298. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35299. end;
  35300. procedure TINT_IFS0.setIC3EIF; inline;
  35301. begin
  35302. pTDefRegMap(@Self)^.&set := $00008000;
  35303. end;
  35304. procedure TINT_IFS0.clearIC3EIF; inline;
  35305. begin
  35306. pTDefRegMap(@Self)^.clr := $00008000;
  35307. end;
  35308. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  35309. begin
  35310. if thebits = 0 then
  35311. pTDefRegMap(@Self)^.clr := $00008000
  35312. else
  35313. pTDefRegMap(@Self)^.&set := $00008000;
  35314. end;
  35315. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  35316. begin
  35317. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35318. end;
  35319. procedure TINT_IFS0.setIC3IF; inline;
  35320. begin
  35321. pTDefRegMap(@Self)^.&set := $00010000;
  35322. end;
  35323. procedure TINT_IFS0.clearIC3IF; inline;
  35324. begin
  35325. pTDefRegMap(@Self)^.clr := $00010000;
  35326. end;
  35327. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  35328. begin
  35329. if thebits = 0 then
  35330. pTDefRegMap(@Self)^.clr := $00010000
  35331. else
  35332. pTDefRegMap(@Self)^.&set := $00010000;
  35333. end;
  35334. function TINT_IFS0.getIC3IF : TBits_1; inline;
  35335. begin
  35336. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35337. end;
  35338. procedure TINT_IFS0.setOC3IF; inline;
  35339. begin
  35340. pTDefRegMap(@Self)^.&set := $00020000;
  35341. end;
  35342. procedure TINT_IFS0.clearOC3IF; inline;
  35343. begin
  35344. pTDefRegMap(@Self)^.clr := $00020000;
  35345. end;
  35346. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  35347. begin
  35348. if thebits = 0 then
  35349. pTDefRegMap(@Self)^.clr := $00020000
  35350. else
  35351. pTDefRegMap(@Self)^.&set := $00020000;
  35352. end;
  35353. function TINT_IFS0.getOC3IF : TBits_1; inline;
  35354. begin
  35355. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  35356. end;
  35357. procedure TINT_IFS0.setINT3IF; inline;
  35358. begin
  35359. pTDefRegMap(@Self)^.&set := $00040000;
  35360. end;
  35361. procedure TINT_IFS0.clearINT3IF; inline;
  35362. begin
  35363. pTDefRegMap(@Self)^.clr := $00040000;
  35364. end;
  35365. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  35366. begin
  35367. if thebits = 0 then
  35368. pTDefRegMap(@Self)^.clr := $00040000
  35369. else
  35370. pTDefRegMap(@Self)^.&set := $00040000;
  35371. end;
  35372. function TINT_IFS0.getINT3IF : TBits_1; inline;
  35373. begin
  35374. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  35375. end;
  35376. procedure TINT_IFS0.setT4IF; inline;
  35377. begin
  35378. pTDefRegMap(@Self)^.&set := $00080000;
  35379. end;
  35380. procedure TINT_IFS0.clearT4IF; inline;
  35381. begin
  35382. pTDefRegMap(@Self)^.clr := $00080000;
  35383. end;
  35384. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  35385. begin
  35386. if thebits = 0 then
  35387. pTDefRegMap(@Self)^.clr := $00080000
  35388. else
  35389. pTDefRegMap(@Self)^.&set := $00080000;
  35390. end;
  35391. function TINT_IFS0.getT4IF : TBits_1; inline;
  35392. begin
  35393. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  35394. end;
  35395. procedure TINT_IFS0.setIC4EIF; inline;
  35396. begin
  35397. pTDefRegMap(@Self)^.&set := $00100000;
  35398. end;
  35399. procedure TINT_IFS0.clearIC4EIF; inline;
  35400. begin
  35401. pTDefRegMap(@Self)^.clr := $00100000;
  35402. end;
  35403. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  35404. begin
  35405. if thebits = 0 then
  35406. pTDefRegMap(@Self)^.clr := $00100000
  35407. else
  35408. pTDefRegMap(@Self)^.&set := $00100000;
  35409. end;
  35410. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  35411. begin
  35412. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  35413. end;
  35414. procedure TINT_IFS0.setIC4IF; inline;
  35415. begin
  35416. pTDefRegMap(@Self)^.&set := $00200000;
  35417. end;
  35418. procedure TINT_IFS0.clearIC4IF; inline;
  35419. begin
  35420. pTDefRegMap(@Self)^.clr := $00200000;
  35421. end;
  35422. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  35423. begin
  35424. if thebits = 0 then
  35425. pTDefRegMap(@Self)^.clr := $00200000
  35426. else
  35427. pTDefRegMap(@Self)^.&set := $00200000;
  35428. end;
  35429. function TINT_IFS0.getIC4IF : TBits_1; inline;
  35430. begin
  35431. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  35432. end;
  35433. procedure TINT_IFS0.setOC4IF; inline;
  35434. begin
  35435. pTDefRegMap(@Self)^.&set := $00400000;
  35436. end;
  35437. procedure TINT_IFS0.clearOC4IF; inline;
  35438. begin
  35439. pTDefRegMap(@Self)^.clr := $00400000;
  35440. end;
  35441. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  35442. begin
  35443. if thebits = 0 then
  35444. pTDefRegMap(@Self)^.clr := $00400000
  35445. else
  35446. pTDefRegMap(@Self)^.&set := $00400000;
  35447. end;
  35448. function TINT_IFS0.getOC4IF : TBits_1; inline;
  35449. begin
  35450. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  35451. end;
  35452. procedure TINT_IFS0.setINT4IF; inline;
  35453. begin
  35454. pTDefRegMap(@Self)^.&set := $00800000;
  35455. end;
  35456. procedure TINT_IFS0.clearINT4IF; inline;
  35457. begin
  35458. pTDefRegMap(@Self)^.clr := $00800000;
  35459. end;
  35460. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  35461. begin
  35462. if thebits = 0 then
  35463. pTDefRegMap(@Self)^.clr := $00800000
  35464. else
  35465. pTDefRegMap(@Self)^.&set := $00800000;
  35466. end;
  35467. function TINT_IFS0.getINT4IF : TBits_1; inline;
  35468. begin
  35469. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  35470. end;
  35471. procedure TINT_IFS0.setT5IF; inline;
  35472. begin
  35473. pTDefRegMap(@Self)^.&set := $01000000;
  35474. end;
  35475. procedure TINT_IFS0.clearT5IF; inline;
  35476. begin
  35477. pTDefRegMap(@Self)^.clr := $01000000;
  35478. end;
  35479. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  35480. begin
  35481. if thebits = 0 then
  35482. pTDefRegMap(@Self)^.clr := $01000000
  35483. else
  35484. pTDefRegMap(@Self)^.&set := $01000000;
  35485. end;
  35486. function TINT_IFS0.getT5IF : TBits_1; inline;
  35487. begin
  35488. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35489. end;
  35490. procedure TINT_IFS0.setIC5EIF; inline;
  35491. begin
  35492. pTDefRegMap(@Self)^.&set := $02000000;
  35493. end;
  35494. procedure TINT_IFS0.clearIC5EIF; inline;
  35495. begin
  35496. pTDefRegMap(@Self)^.clr := $02000000;
  35497. end;
  35498. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  35499. begin
  35500. if thebits = 0 then
  35501. pTDefRegMap(@Self)^.clr := $02000000
  35502. else
  35503. pTDefRegMap(@Self)^.&set := $02000000;
  35504. end;
  35505. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  35506. begin
  35507. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  35508. end;
  35509. procedure TINT_IFS0.setIC5IF; inline;
  35510. begin
  35511. pTDefRegMap(@Self)^.&set := $04000000;
  35512. end;
  35513. procedure TINT_IFS0.clearIC5IF; inline;
  35514. begin
  35515. pTDefRegMap(@Self)^.clr := $04000000;
  35516. end;
  35517. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  35518. begin
  35519. if thebits = 0 then
  35520. pTDefRegMap(@Self)^.clr := $04000000
  35521. else
  35522. pTDefRegMap(@Self)^.&set := $04000000;
  35523. end;
  35524. function TINT_IFS0.getIC5IF : TBits_1; inline;
  35525. begin
  35526. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  35527. end;
  35528. procedure TINT_IFS0.setOC5IF; inline;
  35529. begin
  35530. pTDefRegMap(@Self)^.&set := $08000000;
  35531. end;
  35532. procedure TINT_IFS0.clearOC5IF; inline;
  35533. begin
  35534. pTDefRegMap(@Self)^.clr := $08000000;
  35535. end;
  35536. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  35537. begin
  35538. if thebits = 0 then
  35539. pTDefRegMap(@Self)^.clr := $08000000
  35540. else
  35541. pTDefRegMap(@Self)^.&set := $08000000;
  35542. end;
  35543. function TINT_IFS0.getOC5IF : TBits_1; inline;
  35544. begin
  35545. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  35546. end;
  35547. procedure TINT_IFS0.setAD1IF; inline;
  35548. begin
  35549. pTDefRegMap(@Self)^.&set := $10000000;
  35550. end;
  35551. procedure TINT_IFS0.clearAD1IF; inline;
  35552. begin
  35553. pTDefRegMap(@Self)^.clr := $10000000;
  35554. end;
  35555. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  35556. begin
  35557. if thebits = 0 then
  35558. pTDefRegMap(@Self)^.clr := $10000000
  35559. else
  35560. pTDefRegMap(@Self)^.&set := $10000000;
  35561. end;
  35562. function TINT_IFS0.getAD1IF : TBits_1; inline;
  35563. begin
  35564. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  35565. end;
  35566. procedure TINT_IFS0.setFSCMIF; inline;
  35567. begin
  35568. pTDefRegMap(@Self)^.&set := $20000000;
  35569. end;
  35570. procedure TINT_IFS0.clearFSCMIF; inline;
  35571. begin
  35572. pTDefRegMap(@Self)^.clr := $20000000;
  35573. end;
  35574. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  35575. begin
  35576. if thebits = 0 then
  35577. pTDefRegMap(@Self)^.clr := $20000000
  35578. else
  35579. pTDefRegMap(@Self)^.&set := $20000000;
  35580. end;
  35581. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  35582. begin
  35583. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  35584. end;
  35585. procedure TINT_IFS0.setRTCCIF; inline;
  35586. begin
  35587. pTDefRegMap(@Self)^.&set := $40000000;
  35588. end;
  35589. procedure TINT_IFS0.clearRTCCIF; inline;
  35590. begin
  35591. pTDefRegMap(@Self)^.clr := $40000000;
  35592. end;
  35593. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  35594. begin
  35595. if thebits = 0 then
  35596. pTDefRegMap(@Self)^.clr := $40000000
  35597. else
  35598. pTDefRegMap(@Self)^.&set := $40000000;
  35599. end;
  35600. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  35601. begin
  35602. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  35603. end;
  35604. procedure TINT_IFS0.setFCEIF; inline;
  35605. begin
  35606. pTDefRegMap(@Self)^.&set := $80000000;
  35607. end;
  35608. procedure TINT_IFS0.clearFCEIF; inline;
  35609. begin
  35610. pTDefRegMap(@Self)^.clr := $80000000;
  35611. end;
  35612. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  35613. begin
  35614. if thebits = 0 then
  35615. pTDefRegMap(@Self)^.clr := $80000000
  35616. else
  35617. pTDefRegMap(@Self)^.&set := $80000000;
  35618. end;
  35619. function TINT_IFS0.getFCEIF : TBits_1; inline;
  35620. begin
  35621. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  35622. end;
  35623. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  35624. begin
  35625. pTDefRegMap(@Self)^.val := thebits;
  35626. end;
  35627. function TINT_IFS0.getw : TBits_32; inline;
  35628. begin
  35629. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35630. end;
  35631. procedure TINT_IFS1.setCMP1IF; inline;
  35632. begin
  35633. pTDefRegMap(@Self)^.&set := $00000001;
  35634. end;
  35635. procedure TINT_IFS1.clearCMP1IF; inline;
  35636. begin
  35637. pTDefRegMap(@Self)^.clr := $00000001;
  35638. end;
  35639. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  35640. begin
  35641. if thebits = 0 then
  35642. pTDefRegMap(@Self)^.clr := $00000001
  35643. else
  35644. pTDefRegMap(@Self)^.&set := $00000001;
  35645. end;
  35646. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  35647. begin
  35648. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35649. end;
  35650. procedure TINT_IFS1.setCMP2IF; inline;
  35651. begin
  35652. pTDefRegMap(@Self)^.&set := $00000002;
  35653. end;
  35654. procedure TINT_IFS1.clearCMP2IF; inline;
  35655. begin
  35656. pTDefRegMap(@Self)^.clr := $00000002;
  35657. end;
  35658. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  35659. begin
  35660. if thebits = 0 then
  35661. pTDefRegMap(@Self)^.clr := $00000002
  35662. else
  35663. pTDefRegMap(@Self)^.&set := $00000002;
  35664. end;
  35665. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  35666. begin
  35667. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35668. end;
  35669. procedure TINT_IFS1.setUSBIF; inline;
  35670. begin
  35671. pTDefRegMap(@Self)^.&set := $00000004;
  35672. end;
  35673. procedure TINT_IFS1.clearUSBIF; inline;
  35674. begin
  35675. pTDefRegMap(@Self)^.clr := $00000004;
  35676. end;
  35677. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  35678. begin
  35679. if thebits = 0 then
  35680. pTDefRegMap(@Self)^.clr := $00000004
  35681. else
  35682. pTDefRegMap(@Self)^.&set := $00000004;
  35683. end;
  35684. function TINT_IFS1.getUSBIF : TBits_1; inline;
  35685. begin
  35686. getUSBIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35687. end;
  35688. procedure TINT_IFS1.setSPI1EIF; inline;
  35689. begin
  35690. pTDefRegMap(@Self)^.&set := $00000008;
  35691. end;
  35692. procedure TINT_IFS1.clearSPI1EIF; inline;
  35693. begin
  35694. pTDefRegMap(@Self)^.clr := $00000008;
  35695. end;
  35696. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  35697. begin
  35698. if thebits = 0 then
  35699. pTDefRegMap(@Self)^.clr := $00000008
  35700. else
  35701. pTDefRegMap(@Self)^.&set := $00000008;
  35702. end;
  35703. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  35704. begin
  35705. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35706. end;
  35707. procedure TINT_IFS1.setSPI1RXIF; inline;
  35708. begin
  35709. pTDefRegMap(@Self)^.&set := $00000010;
  35710. end;
  35711. procedure TINT_IFS1.clearSPI1RXIF; inline;
  35712. begin
  35713. pTDefRegMap(@Self)^.clr := $00000010;
  35714. end;
  35715. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  35716. begin
  35717. if thebits = 0 then
  35718. pTDefRegMap(@Self)^.clr := $00000010
  35719. else
  35720. pTDefRegMap(@Self)^.&set := $00000010;
  35721. end;
  35722. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  35723. begin
  35724. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35725. end;
  35726. procedure TINT_IFS1.setSPI1TXIF; inline;
  35727. begin
  35728. pTDefRegMap(@Self)^.&set := $00000020;
  35729. end;
  35730. procedure TINT_IFS1.clearSPI1TXIF; inline;
  35731. begin
  35732. pTDefRegMap(@Self)^.clr := $00000020;
  35733. end;
  35734. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  35735. begin
  35736. if thebits = 0 then
  35737. pTDefRegMap(@Self)^.clr := $00000020
  35738. else
  35739. pTDefRegMap(@Self)^.&set := $00000020;
  35740. end;
  35741. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  35742. begin
  35743. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35744. end;
  35745. procedure TINT_IFS1.setU1EIF; inline;
  35746. begin
  35747. pTDefRegMap(@Self)^.&set := $00000040;
  35748. end;
  35749. procedure TINT_IFS1.clearU1EIF; inline;
  35750. begin
  35751. pTDefRegMap(@Self)^.clr := $00000040;
  35752. end;
  35753. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  35754. begin
  35755. if thebits = 0 then
  35756. pTDefRegMap(@Self)^.clr := $00000040
  35757. else
  35758. pTDefRegMap(@Self)^.&set := $00000040;
  35759. end;
  35760. function TINT_IFS1.getU1EIF : TBits_1; inline;
  35761. begin
  35762. getU1EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35763. end;
  35764. procedure TINT_IFS1.setU1RXIF; inline;
  35765. begin
  35766. pTDefRegMap(@Self)^.&set := $00000080;
  35767. end;
  35768. procedure TINT_IFS1.clearU1RXIF; inline;
  35769. begin
  35770. pTDefRegMap(@Self)^.clr := $00000080;
  35771. end;
  35772. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  35773. begin
  35774. if thebits = 0 then
  35775. pTDefRegMap(@Self)^.clr := $00000080
  35776. else
  35777. pTDefRegMap(@Self)^.&set := $00000080;
  35778. end;
  35779. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  35780. begin
  35781. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35782. end;
  35783. procedure TINT_IFS1.setU1TXIF; inline;
  35784. begin
  35785. pTDefRegMap(@Self)^.&set := $00000100;
  35786. end;
  35787. procedure TINT_IFS1.clearU1TXIF; inline;
  35788. begin
  35789. pTDefRegMap(@Self)^.clr := $00000100;
  35790. end;
  35791. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  35792. begin
  35793. if thebits = 0 then
  35794. pTDefRegMap(@Self)^.clr := $00000100
  35795. else
  35796. pTDefRegMap(@Self)^.&set := $00000100;
  35797. end;
  35798. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  35799. begin
  35800. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35801. end;
  35802. procedure TINT_IFS1.setI2C1BIF; inline;
  35803. begin
  35804. pTDefRegMap(@Self)^.&set := $00000200;
  35805. end;
  35806. procedure TINT_IFS1.clearI2C1BIF; inline;
  35807. begin
  35808. pTDefRegMap(@Self)^.clr := $00000200;
  35809. end;
  35810. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  35811. begin
  35812. if thebits = 0 then
  35813. pTDefRegMap(@Self)^.clr := $00000200
  35814. else
  35815. pTDefRegMap(@Self)^.&set := $00000200;
  35816. end;
  35817. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  35818. begin
  35819. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35820. end;
  35821. procedure TINT_IFS1.setI2C1SIF; inline;
  35822. begin
  35823. pTDefRegMap(@Self)^.&set := $00000400;
  35824. end;
  35825. procedure TINT_IFS1.clearI2C1SIF; inline;
  35826. begin
  35827. pTDefRegMap(@Self)^.clr := $00000400;
  35828. end;
  35829. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  35830. begin
  35831. if thebits = 0 then
  35832. pTDefRegMap(@Self)^.clr := $00000400
  35833. else
  35834. pTDefRegMap(@Self)^.&set := $00000400;
  35835. end;
  35836. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  35837. begin
  35838. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35839. end;
  35840. procedure TINT_IFS1.setI2C1MIF; inline;
  35841. begin
  35842. pTDefRegMap(@Self)^.&set := $00000800;
  35843. end;
  35844. procedure TINT_IFS1.clearI2C1MIF; inline;
  35845. begin
  35846. pTDefRegMap(@Self)^.clr := $00000800;
  35847. end;
  35848. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  35849. begin
  35850. if thebits = 0 then
  35851. pTDefRegMap(@Self)^.clr := $00000800
  35852. else
  35853. pTDefRegMap(@Self)^.&set := $00000800;
  35854. end;
  35855. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  35856. begin
  35857. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35858. end;
  35859. procedure TINT_IFS1.setCNAIF; inline;
  35860. begin
  35861. pTDefRegMap(@Self)^.&set := $00001000;
  35862. end;
  35863. procedure TINT_IFS1.clearCNAIF; inline;
  35864. begin
  35865. pTDefRegMap(@Self)^.clr := $00001000;
  35866. end;
  35867. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  35868. begin
  35869. if thebits = 0 then
  35870. pTDefRegMap(@Self)^.clr := $00001000
  35871. else
  35872. pTDefRegMap(@Self)^.&set := $00001000;
  35873. end;
  35874. function TINT_IFS1.getCNAIF : TBits_1; inline;
  35875. begin
  35876. getCNAIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35877. end;
  35878. procedure TINT_IFS1.setCNBIF; inline;
  35879. begin
  35880. pTDefRegMap(@Self)^.&set := $00002000;
  35881. end;
  35882. procedure TINT_IFS1.clearCNBIF; inline;
  35883. begin
  35884. pTDefRegMap(@Self)^.clr := $00002000;
  35885. end;
  35886. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  35887. begin
  35888. if thebits = 0 then
  35889. pTDefRegMap(@Self)^.clr := $00002000
  35890. else
  35891. pTDefRegMap(@Self)^.&set := $00002000;
  35892. end;
  35893. function TINT_IFS1.getCNBIF : TBits_1; inline;
  35894. begin
  35895. getCNBIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35896. end;
  35897. procedure TINT_IFS1.setCNCIF; inline;
  35898. begin
  35899. pTDefRegMap(@Self)^.&set := $00004000;
  35900. end;
  35901. procedure TINT_IFS1.clearCNCIF; inline;
  35902. begin
  35903. pTDefRegMap(@Self)^.clr := $00004000;
  35904. end;
  35905. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  35906. begin
  35907. if thebits = 0 then
  35908. pTDefRegMap(@Self)^.clr := $00004000
  35909. else
  35910. pTDefRegMap(@Self)^.&set := $00004000;
  35911. end;
  35912. function TINT_IFS1.getCNCIF : TBits_1; inline;
  35913. begin
  35914. getCNCIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35915. end;
  35916. procedure TINT_IFS1.setCNDIF; inline;
  35917. begin
  35918. pTDefRegMap(@Self)^.&set := $00008000;
  35919. end;
  35920. procedure TINT_IFS1.clearCNDIF; inline;
  35921. begin
  35922. pTDefRegMap(@Self)^.clr := $00008000;
  35923. end;
  35924. procedure TINT_IFS1.setCNDIF(thebits : TBits_1); inline;
  35925. begin
  35926. if thebits = 0 then
  35927. pTDefRegMap(@Self)^.clr := $00008000
  35928. else
  35929. pTDefRegMap(@Self)^.&set := $00008000;
  35930. end;
  35931. function TINT_IFS1.getCNDIF : TBits_1; inline;
  35932. begin
  35933. getCNDIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35934. end;
  35935. procedure TINT_IFS1.setCNEIF; inline;
  35936. begin
  35937. pTDefRegMap(@Self)^.&set := $00010000;
  35938. end;
  35939. procedure TINT_IFS1.clearCNEIF; inline;
  35940. begin
  35941. pTDefRegMap(@Self)^.clr := $00010000;
  35942. end;
  35943. procedure TINT_IFS1.setCNEIF(thebits : TBits_1); inline;
  35944. begin
  35945. if thebits = 0 then
  35946. pTDefRegMap(@Self)^.clr := $00010000
  35947. else
  35948. pTDefRegMap(@Self)^.&set := $00010000;
  35949. end;
  35950. function TINT_IFS1.getCNEIF : TBits_1; inline;
  35951. begin
  35952. getCNEIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35953. end;
  35954. procedure TINT_IFS1.setCNFIF; inline;
  35955. begin
  35956. pTDefRegMap(@Self)^.&set := $00020000;
  35957. end;
  35958. procedure TINT_IFS1.clearCNFIF; inline;
  35959. begin
  35960. pTDefRegMap(@Self)^.clr := $00020000;
  35961. end;
  35962. procedure TINT_IFS1.setCNFIF(thebits : TBits_1); inline;
  35963. begin
  35964. if thebits = 0 then
  35965. pTDefRegMap(@Self)^.clr := $00020000
  35966. else
  35967. pTDefRegMap(@Self)^.&set := $00020000;
  35968. end;
  35969. function TINT_IFS1.getCNFIF : TBits_1; inline;
  35970. begin
  35971. getCNFIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  35972. end;
  35973. procedure TINT_IFS1.setCNGIF; inline;
  35974. begin
  35975. pTDefRegMap(@Self)^.&set := $00040000;
  35976. end;
  35977. procedure TINT_IFS1.clearCNGIF; inline;
  35978. begin
  35979. pTDefRegMap(@Self)^.clr := $00040000;
  35980. end;
  35981. procedure TINT_IFS1.setCNGIF(thebits : TBits_1); inline;
  35982. begin
  35983. if thebits = 0 then
  35984. pTDefRegMap(@Self)^.clr := $00040000
  35985. else
  35986. pTDefRegMap(@Self)^.&set := $00040000;
  35987. end;
  35988. function TINT_IFS1.getCNGIF : TBits_1; inline;
  35989. begin
  35990. getCNGIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  35991. end;
  35992. procedure TINT_IFS1.setPMPIF; inline;
  35993. begin
  35994. pTDefRegMap(@Self)^.&set := $00080000;
  35995. end;
  35996. procedure TINT_IFS1.clearPMPIF; inline;
  35997. begin
  35998. pTDefRegMap(@Self)^.clr := $00080000;
  35999. end;
  36000. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  36001. begin
  36002. if thebits = 0 then
  36003. pTDefRegMap(@Self)^.clr := $00080000
  36004. else
  36005. pTDefRegMap(@Self)^.&set := $00080000;
  36006. end;
  36007. function TINT_IFS1.getPMPIF : TBits_1; inline;
  36008. begin
  36009. getPMPIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36010. end;
  36011. procedure TINT_IFS1.setPMPEIF; inline;
  36012. begin
  36013. pTDefRegMap(@Self)^.&set := $00100000;
  36014. end;
  36015. procedure TINT_IFS1.clearPMPEIF; inline;
  36016. begin
  36017. pTDefRegMap(@Self)^.clr := $00100000;
  36018. end;
  36019. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  36020. begin
  36021. if thebits = 0 then
  36022. pTDefRegMap(@Self)^.clr := $00100000
  36023. else
  36024. pTDefRegMap(@Self)^.&set := $00100000;
  36025. end;
  36026. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  36027. begin
  36028. getPMPEIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  36029. end;
  36030. procedure TINT_IFS1.setSPI2EIF; inline;
  36031. begin
  36032. pTDefRegMap(@Self)^.&set := $00200000;
  36033. end;
  36034. procedure TINT_IFS1.clearSPI2EIF; inline;
  36035. begin
  36036. pTDefRegMap(@Self)^.clr := $00200000;
  36037. end;
  36038. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  36039. begin
  36040. if thebits = 0 then
  36041. pTDefRegMap(@Self)^.clr := $00200000
  36042. else
  36043. pTDefRegMap(@Self)^.&set := $00200000;
  36044. end;
  36045. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  36046. begin
  36047. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  36048. end;
  36049. procedure TINT_IFS1.setSPI2RXIF; inline;
  36050. begin
  36051. pTDefRegMap(@Self)^.&set := $00400000;
  36052. end;
  36053. procedure TINT_IFS1.clearSPI2RXIF; inline;
  36054. begin
  36055. pTDefRegMap(@Self)^.clr := $00400000;
  36056. end;
  36057. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  36058. begin
  36059. if thebits = 0 then
  36060. pTDefRegMap(@Self)^.clr := $00400000
  36061. else
  36062. pTDefRegMap(@Self)^.&set := $00400000;
  36063. end;
  36064. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  36065. begin
  36066. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36067. end;
  36068. procedure TINT_IFS1.setSPI2TXIF; inline;
  36069. begin
  36070. pTDefRegMap(@Self)^.&set := $00800000;
  36071. end;
  36072. procedure TINT_IFS1.clearSPI2TXIF; inline;
  36073. begin
  36074. pTDefRegMap(@Self)^.clr := $00800000;
  36075. end;
  36076. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  36077. begin
  36078. if thebits = 0 then
  36079. pTDefRegMap(@Self)^.clr := $00800000
  36080. else
  36081. pTDefRegMap(@Self)^.&set := $00800000;
  36082. end;
  36083. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  36084. begin
  36085. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36086. end;
  36087. procedure TINT_IFS1.setU2EIF; inline;
  36088. begin
  36089. pTDefRegMap(@Self)^.&set := $01000000;
  36090. end;
  36091. procedure TINT_IFS1.clearU2EIF; inline;
  36092. begin
  36093. pTDefRegMap(@Self)^.clr := $01000000;
  36094. end;
  36095. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  36096. begin
  36097. if thebits = 0 then
  36098. pTDefRegMap(@Self)^.clr := $01000000
  36099. else
  36100. pTDefRegMap(@Self)^.&set := $01000000;
  36101. end;
  36102. function TINT_IFS1.getU2EIF : TBits_1; inline;
  36103. begin
  36104. getU2EIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36105. end;
  36106. procedure TINT_IFS1.setU2RXIF; inline;
  36107. begin
  36108. pTDefRegMap(@Self)^.&set := $02000000;
  36109. end;
  36110. procedure TINT_IFS1.clearU2RXIF; inline;
  36111. begin
  36112. pTDefRegMap(@Self)^.clr := $02000000;
  36113. end;
  36114. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  36115. begin
  36116. if thebits = 0 then
  36117. pTDefRegMap(@Self)^.clr := $02000000
  36118. else
  36119. pTDefRegMap(@Self)^.&set := $02000000;
  36120. end;
  36121. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  36122. begin
  36123. getU2RXIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  36124. end;
  36125. procedure TINT_IFS1.setU2TXIF; inline;
  36126. begin
  36127. pTDefRegMap(@Self)^.&set := $04000000;
  36128. end;
  36129. procedure TINT_IFS1.clearU2TXIF; inline;
  36130. begin
  36131. pTDefRegMap(@Self)^.clr := $04000000;
  36132. end;
  36133. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  36134. begin
  36135. if thebits = 0 then
  36136. pTDefRegMap(@Self)^.clr := $04000000
  36137. else
  36138. pTDefRegMap(@Self)^.&set := $04000000;
  36139. end;
  36140. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  36141. begin
  36142. getU2TXIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  36143. end;
  36144. procedure TINT_IFS1.setI2C2BIF; inline;
  36145. begin
  36146. pTDefRegMap(@Self)^.&set := $08000000;
  36147. end;
  36148. procedure TINT_IFS1.clearI2C2BIF; inline;
  36149. begin
  36150. pTDefRegMap(@Self)^.clr := $08000000;
  36151. end;
  36152. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  36153. begin
  36154. if thebits = 0 then
  36155. pTDefRegMap(@Self)^.clr := $08000000
  36156. else
  36157. pTDefRegMap(@Self)^.&set := $08000000;
  36158. end;
  36159. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  36160. begin
  36161. getI2C2BIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  36162. end;
  36163. procedure TINT_IFS1.setI2C2SIF; inline;
  36164. begin
  36165. pTDefRegMap(@Self)^.&set := $10000000;
  36166. end;
  36167. procedure TINT_IFS1.clearI2C2SIF; inline;
  36168. begin
  36169. pTDefRegMap(@Self)^.clr := $10000000;
  36170. end;
  36171. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  36172. begin
  36173. if thebits = 0 then
  36174. pTDefRegMap(@Self)^.clr := $10000000
  36175. else
  36176. pTDefRegMap(@Self)^.&set := $10000000;
  36177. end;
  36178. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  36179. begin
  36180. getI2C2SIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36181. end;
  36182. procedure TINT_IFS1.setI2C2MIF; inline;
  36183. begin
  36184. pTDefRegMap(@Self)^.&set := $20000000;
  36185. end;
  36186. procedure TINT_IFS1.clearI2C2MIF; inline;
  36187. begin
  36188. pTDefRegMap(@Self)^.clr := $20000000;
  36189. end;
  36190. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  36191. begin
  36192. if thebits = 0 then
  36193. pTDefRegMap(@Self)^.clr := $20000000
  36194. else
  36195. pTDefRegMap(@Self)^.&set := $20000000;
  36196. end;
  36197. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  36198. begin
  36199. getI2C2MIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  36200. end;
  36201. procedure TINT_IFS1.setU3EIF; inline;
  36202. begin
  36203. pTDefRegMap(@Self)^.&set := $40000000;
  36204. end;
  36205. procedure TINT_IFS1.clearU3EIF; inline;
  36206. begin
  36207. pTDefRegMap(@Self)^.clr := $40000000;
  36208. end;
  36209. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  36210. begin
  36211. if thebits = 0 then
  36212. pTDefRegMap(@Self)^.clr := $40000000
  36213. else
  36214. pTDefRegMap(@Self)^.&set := $40000000;
  36215. end;
  36216. function TINT_IFS1.getU3EIF : TBits_1; inline;
  36217. begin
  36218. getU3EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  36219. end;
  36220. procedure TINT_IFS1.setU3RXIF; inline;
  36221. begin
  36222. pTDefRegMap(@Self)^.&set := $80000000;
  36223. end;
  36224. procedure TINT_IFS1.clearU3RXIF; inline;
  36225. begin
  36226. pTDefRegMap(@Self)^.clr := $80000000;
  36227. end;
  36228. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  36229. begin
  36230. if thebits = 0 then
  36231. pTDefRegMap(@Self)^.clr := $80000000
  36232. else
  36233. pTDefRegMap(@Self)^.&set := $80000000;
  36234. end;
  36235. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  36236. begin
  36237. getU3RXIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36238. end;
  36239. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  36240. begin
  36241. pTDefRegMap(@Self)^.val := thebits;
  36242. end;
  36243. function TINT_IFS1.getw : TBits_32; inline;
  36244. begin
  36245. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36246. end;
  36247. procedure TINT_IEC0.setCTIE; inline;
  36248. begin
  36249. pTDefRegMap(@Self)^.&set := $00000001;
  36250. end;
  36251. procedure TINT_IEC0.clearCTIE; inline;
  36252. begin
  36253. pTDefRegMap(@Self)^.clr := $00000001;
  36254. end;
  36255. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  36256. begin
  36257. if thebits = 0 then
  36258. pTDefRegMap(@Self)^.clr := $00000001
  36259. else
  36260. pTDefRegMap(@Self)^.&set := $00000001;
  36261. end;
  36262. function TINT_IEC0.getCTIE : TBits_1; inline;
  36263. begin
  36264. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36265. end;
  36266. procedure TINT_IEC0.setCS0IE; inline;
  36267. begin
  36268. pTDefRegMap(@Self)^.&set := $00000002;
  36269. end;
  36270. procedure TINT_IEC0.clearCS0IE; inline;
  36271. begin
  36272. pTDefRegMap(@Self)^.clr := $00000002;
  36273. end;
  36274. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  36275. begin
  36276. if thebits = 0 then
  36277. pTDefRegMap(@Self)^.clr := $00000002
  36278. else
  36279. pTDefRegMap(@Self)^.&set := $00000002;
  36280. end;
  36281. function TINT_IEC0.getCS0IE : TBits_1; inline;
  36282. begin
  36283. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36284. end;
  36285. procedure TINT_IEC0.setCS1IE; inline;
  36286. begin
  36287. pTDefRegMap(@Self)^.&set := $00000004;
  36288. end;
  36289. procedure TINT_IEC0.clearCS1IE; inline;
  36290. begin
  36291. pTDefRegMap(@Self)^.clr := $00000004;
  36292. end;
  36293. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  36294. begin
  36295. if thebits = 0 then
  36296. pTDefRegMap(@Self)^.clr := $00000004
  36297. else
  36298. pTDefRegMap(@Self)^.&set := $00000004;
  36299. end;
  36300. function TINT_IEC0.getCS1IE : TBits_1; inline;
  36301. begin
  36302. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36303. end;
  36304. procedure TINT_IEC0.setINT0IE; inline;
  36305. begin
  36306. pTDefRegMap(@Self)^.&set := $00000008;
  36307. end;
  36308. procedure TINT_IEC0.clearINT0IE; inline;
  36309. begin
  36310. pTDefRegMap(@Self)^.clr := $00000008;
  36311. end;
  36312. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  36313. begin
  36314. if thebits = 0 then
  36315. pTDefRegMap(@Self)^.clr := $00000008
  36316. else
  36317. pTDefRegMap(@Self)^.&set := $00000008;
  36318. end;
  36319. function TINT_IEC0.getINT0IE : TBits_1; inline;
  36320. begin
  36321. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36322. end;
  36323. procedure TINT_IEC0.setT1IE; inline;
  36324. begin
  36325. pTDefRegMap(@Self)^.&set := $00000010;
  36326. end;
  36327. procedure TINT_IEC0.clearT1IE; inline;
  36328. begin
  36329. pTDefRegMap(@Self)^.clr := $00000010;
  36330. end;
  36331. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  36332. begin
  36333. if thebits = 0 then
  36334. pTDefRegMap(@Self)^.clr := $00000010
  36335. else
  36336. pTDefRegMap(@Self)^.&set := $00000010;
  36337. end;
  36338. function TINT_IEC0.getT1IE : TBits_1; inline;
  36339. begin
  36340. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36341. end;
  36342. procedure TINT_IEC0.setIC1EIE; inline;
  36343. begin
  36344. pTDefRegMap(@Self)^.&set := $00000020;
  36345. end;
  36346. procedure TINT_IEC0.clearIC1EIE; inline;
  36347. begin
  36348. pTDefRegMap(@Self)^.clr := $00000020;
  36349. end;
  36350. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  36351. begin
  36352. if thebits = 0 then
  36353. pTDefRegMap(@Self)^.clr := $00000020
  36354. else
  36355. pTDefRegMap(@Self)^.&set := $00000020;
  36356. end;
  36357. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  36358. begin
  36359. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36360. end;
  36361. procedure TINT_IEC0.setIC1IE; inline;
  36362. begin
  36363. pTDefRegMap(@Self)^.&set := $00000040;
  36364. end;
  36365. procedure TINT_IEC0.clearIC1IE; inline;
  36366. begin
  36367. pTDefRegMap(@Self)^.clr := $00000040;
  36368. end;
  36369. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  36370. begin
  36371. if thebits = 0 then
  36372. pTDefRegMap(@Self)^.clr := $00000040
  36373. else
  36374. pTDefRegMap(@Self)^.&set := $00000040;
  36375. end;
  36376. function TINT_IEC0.getIC1IE : TBits_1; inline;
  36377. begin
  36378. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36379. end;
  36380. procedure TINT_IEC0.setOC1IE; inline;
  36381. begin
  36382. pTDefRegMap(@Self)^.&set := $00000080;
  36383. end;
  36384. procedure TINT_IEC0.clearOC1IE; inline;
  36385. begin
  36386. pTDefRegMap(@Self)^.clr := $00000080;
  36387. end;
  36388. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  36389. begin
  36390. if thebits = 0 then
  36391. pTDefRegMap(@Self)^.clr := $00000080
  36392. else
  36393. pTDefRegMap(@Self)^.&set := $00000080;
  36394. end;
  36395. function TINT_IEC0.getOC1IE : TBits_1; inline;
  36396. begin
  36397. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36398. end;
  36399. procedure TINT_IEC0.setINT1IE; inline;
  36400. begin
  36401. pTDefRegMap(@Self)^.&set := $00000100;
  36402. end;
  36403. procedure TINT_IEC0.clearINT1IE; inline;
  36404. begin
  36405. pTDefRegMap(@Self)^.clr := $00000100;
  36406. end;
  36407. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  36408. begin
  36409. if thebits = 0 then
  36410. pTDefRegMap(@Self)^.clr := $00000100
  36411. else
  36412. pTDefRegMap(@Self)^.&set := $00000100;
  36413. end;
  36414. function TINT_IEC0.getINT1IE : TBits_1; inline;
  36415. begin
  36416. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36417. end;
  36418. procedure TINT_IEC0.setT2IE; inline;
  36419. begin
  36420. pTDefRegMap(@Self)^.&set := $00000200;
  36421. end;
  36422. procedure TINT_IEC0.clearT2IE; inline;
  36423. begin
  36424. pTDefRegMap(@Self)^.clr := $00000200;
  36425. end;
  36426. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  36427. begin
  36428. if thebits = 0 then
  36429. pTDefRegMap(@Self)^.clr := $00000200
  36430. else
  36431. pTDefRegMap(@Self)^.&set := $00000200;
  36432. end;
  36433. function TINT_IEC0.getT2IE : TBits_1; inline;
  36434. begin
  36435. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36436. end;
  36437. procedure TINT_IEC0.setIC2EIE; inline;
  36438. begin
  36439. pTDefRegMap(@Self)^.&set := $00000400;
  36440. end;
  36441. procedure TINT_IEC0.clearIC2EIE; inline;
  36442. begin
  36443. pTDefRegMap(@Self)^.clr := $00000400;
  36444. end;
  36445. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  36446. begin
  36447. if thebits = 0 then
  36448. pTDefRegMap(@Self)^.clr := $00000400
  36449. else
  36450. pTDefRegMap(@Self)^.&set := $00000400;
  36451. end;
  36452. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  36453. begin
  36454. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36455. end;
  36456. procedure TINT_IEC0.setIC2IE; inline;
  36457. begin
  36458. pTDefRegMap(@Self)^.&set := $00000800;
  36459. end;
  36460. procedure TINT_IEC0.clearIC2IE; inline;
  36461. begin
  36462. pTDefRegMap(@Self)^.clr := $00000800;
  36463. end;
  36464. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  36465. begin
  36466. if thebits = 0 then
  36467. pTDefRegMap(@Self)^.clr := $00000800
  36468. else
  36469. pTDefRegMap(@Self)^.&set := $00000800;
  36470. end;
  36471. function TINT_IEC0.getIC2IE : TBits_1; inline;
  36472. begin
  36473. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36474. end;
  36475. procedure TINT_IEC0.setOC2IE; inline;
  36476. begin
  36477. pTDefRegMap(@Self)^.&set := $00001000;
  36478. end;
  36479. procedure TINT_IEC0.clearOC2IE; inline;
  36480. begin
  36481. pTDefRegMap(@Self)^.clr := $00001000;
  36482. end;
  36483. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  36484. begin
  36485. if thebits = 0 then
  36486. pTDefRegMap(@Self)^.clr := $00001000
  36487. else
  36488. pTDefRegMap(@Self)^.&set := $00001000;
  36489. end;
  36490. function TINT_IEC0.getOC2IE : TBits_1; inline;
  36491. begin
  36492. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36493. end;
  36494. procedure TINT_IEC0.setINT2IE; inline;
  36495. begin
  36496. pTDefRegMap(@Self)^.&set := $00002000;
  36497. end;
  36498. procedure TINT_IEC0.clearINT2IE; inline;
  36499. begin
  36500. pTDefRegMap(@Self)^.clr := $00002000;
  36501. end;
  36502. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  36503. begin
  36504. if thebits = 0 then
  36505. pTDefRegMap(@Self)^.clr := $00002000
  36506. else
  36507. pTDefRegMap(@Self)^.&set := $00002000;
  36508. end;
  36509. function TINT_IEC0.getINT2IE : TBits_1; inline;
  36510. begin
  36511. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36512. end;
  36513. procedure TINT_IEC0.setT3IE; inline;
  36514. begin
  36515. pTDefRegMap(@Self)^.&set := $00004000;
  36516. end;
  36517. procedure TINT_IEC0.clearT3IE; inline;
  36518. begin
  36519. pTDefRegMap(@Self)^.clr := $00004000;
  36520. end;
  36521. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  36522. begin
  36523. if thebits = 0 then
  36524. pTDefRegMap(@Self)^.clr := $00004000
  36525. else
  36526. pTDefRegMap(@Self)^.&set := $00004000;
  36527. end;
  36528. function TINT_IEC0.getT3IE : TBits_1; inline;
  36529. begin
  36530. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36531. end;
  36532. procedure TINT_IEC0.setIC3EIE; inline;
  36533. begin
  36534. pTDefRegMap(@Self)^.&set := $00008000;
  36535. end;
  36536. procedure TINT_IEC0.clearIC3EIE; inline;
  36537. begin
  36538. pTDefRegMap(@Self)^.clr := $00008000;
  36539. end;
  36540. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  36541. begin
  36542. if thebits = 0 then
  36543. pTDefRegMap(@Self)^.clr := $00008000
  36544. else
  36545. pTDefRegMap(@Self)^.&set := $00008000;
  36546. end;
  36547. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  36548. begin
  36549. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36550. end;
  36551. procedure TINT_IEC0.setIC3IE; inline;
  36552. begin
  36553. pTDefRegMap(@Self)^.&set := $00010000;
  36554. end;
  36555. procedure TINT_IEC0.clearIC3IE; inline;
  36556. begin
  36557. pTDefRegMap(@Self)^.clr := $00010000;
  36558. end;
  36559. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  36560. begin
  36561. if thebits = 0 then
  36562. pTDefRegMap(@Self)^.clr := $00010000
  36563. else
  36564. pTDefRegMap(@Self)^.&set := $00010000;
  36565. end;
  36566. function TINT_IEC0.getIC3IE : TBits_1; inline;
  36567. begin
  36568. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  36569. end;
  36570. procedure TINT_IEC0.setOC3IE; inline;
  36571. begin
  36572. pTDefRegMap(@Self)^.&set := $00020000;
  36573. end;
  36574. procedure TINT_IEC0.clearOC3IE; inline;
  36575. begin
  36576. pTDefRegMap(@Self)^.clr := $00020000;
  36577. end;
  36578. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  36579. begin
  36580. if thebits = 0 then
  36581. pTDefRegMap(@Self)^.clr := $00020000
  36582. else
  36583. pTDefRegMap(@Self)^.&set := $00020000;
  36584. end;
  36585. function TINT_IEC0.getOC3IE : TBits_1; inline;
  36586. begin
  36587. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  36588. end;
  36589. procedure TINT_IEC0.setINT3IE; inline;
  36590. begin
  36591. pTDefRegMap(@Self)^.&set := $00040000;
  36592. end;
  36593. procedure TINT_IEC0.clearINT3IE; inline;
  36594. begin
  36595. pTDefRegMap(@Self)^.clr := $00040000;
  36596. end;
  36597. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  36598. begin
  36599. if thebits = 0 then
  36600. pTDefRegMap(@Self)^.clr := $00040000
  36601. else
  36602. pTDefRegMap(@Self)^.&set := $00040000;
  36603. end;
  36604. function TINT_IEC0.getINT3IE : TBits_1; inline;
  36605. begin
  36606. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36607. end;
  36608. procedure TINT_IEC0.setT4IE; inline;
  36609. begin
  36610. pTDefRegMap(@Self)^.&set := $00080000;
  36611. end;
  36612. procedure TINT_IEC0.clearT4IE; inline;
  36613. begin
  36614. pTDefRegMap(@Self)^.clr := $00080000;
  36615. end;
  36616. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  36617. begin
  36618. if thebits = 0 then
  36619. pTDefRegMap(@Self)^.clr := $00080000
  36620. else
  36621. pTDefRegMap(@Self)^.&set := $00080000;
  36622. end;
  36623. function TINT_IEC0.getT4IE : TBits_1; inline;
  36624. begin
  36625. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36626. end;
  36627. procedure TINT_IEC0.setIC4EIE; inline;
  36628. begin
  36629. pTDefRegMap(@Self)^.&set := $00100000;
  36630. end;
  36631. procedure TINT_IEC0.clearIC4EIE; inline;
  36632. begin
  36633. pTDefRegMap(@Self)^.clr := $00100000;
  36634. end;
  36635. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  36636. begin
  36637. if thebits = 0 then
  36638. pTDefRegMap(@Self)^.clr := $00100000
  36639. else
  36640. pTDefRegMap(@Self)^.&set := $00100000;
  36641. end;
  36642. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  36643. begin
  36644. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  36645. end;
  36646. procedure TINT_IEC0.setIC4IE; inline;
  36647. begin
  36648. pTDefRegMap(@Self)^.&set := $00200000;
  36649. end;
  36650. procedure TINT_IEC0.clearIC4IE; inline;
  36651. begin
  36652. pTDefRegMap(@Self)^.clr := $00200000;
  36653. end;
  36654. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  36655. begin
  36656. if thebits = 0 then
  36657. pTDefRegMap(@Self)^.clr := $00200000
  36658. else
  36659. pTDefRegMap(@Self)^.&set := $00200000;
  36660. end;
  36661. function TINT_IEC0.getIC4IE : TBits_1; inline;
  36662. begin
  36663. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  36664. end;
  36665. procedure TINT_IEC0.setOC4IE; inline;
  36666. begin
  36667. pTDefRegMap(@Self)^.&set := $00400000;
  36668. end;
  36669. procedure TINT_IEC0.clearOC4IE; inline;
  36670. begin
  36671. pTDefRegMap(@Self)^.clr := $00400000;
  36672. end;
  36673. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  36674. begin
  36675. if thebits = 0 then
  36676. pTDefRegMap(@Self)^.clr := $00400000
  36677. else
  36678. pTDefRegMap(@Self)^.&set := $00400000;
  36679. end;
  36680. function TINT_IEC0.getOC4IE : TBits_1; inline;
  36681. begin
  36682. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36683. end;
  36684. procedure TINT_IEC0.setINT4IE; inline;
  36685. begin
  36686. pTDefRegMap(@Self)^.&set := $00800000;
  36687. end;
  36688. procedure TINT_IEC0.clearINT4IE; inline;
  36689. begin
  36690. pTDefRegMap(@Self)^.clr := $00800000;
  36691. end;
  36692. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  36693. begin
  36694. if thebits = 0 then
  36695. pTDefRegMap(@Self)^.clr := $00800000
  36696. else
  36697. pTDefRegMap(@Self)^.&set := $00800000;
  36698. end;
  36699. function TINT_IEC0.getINT4IE : TBits_1; inline;
  36700. begin
  36701. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36702. end;
  36703. procedure TINT_IEC0.setT5IE; inline;
  36704. begin
  36705. pTDefRegMap(@Self)^.&set := $01000000;
  36706. end;
  36707. procedure TINT_IEC0.clearT5IE; inline;
  36708. begin
  36709. pTDefRegMap(@Self)^.clr := $01000000;
  36710. end;
  36711. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  36712. begin
  36713. if thebits = 0 then
  36714. pTDefRegMap(@Self)^.clr := $01000000
  36715. else
  36716. pTDefRegMap(@Self)^.&set := $01000000;
  36717. end;
  36718. function TINT_IEC0.getT5IE : TBits_1; inline;
  36719. begin
  36720. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36721. end;
  36722. procedure TINT_IEC0.setIC5EIE; inline;
  36723. begin
  36724. pTDefRegMap(@Self)^.&set := $02000000;
  36725. end;
  36726. procedure TINT_IEC0.clearIC5EIE; inline;
  36727. begin
  36728. pTDefRegMap(@Self)^.clr := $02000000;
  36729. end;
  36730. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  36731. begin
  36732. if thebits = 0 then
  36733. pTDefRegMap(@Self)^.clr := $02000000
  36734. else
  36735. pTDefRegMap(@Self)^.&set := $02000000;
  36736. end;
  36737. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  36738. begin
  36739. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  36740. end;
  36741. procedure TINT_IEC0.setIC5IE; inline;
  36742. begin
  36743. pTDefRegMap(@Self)^.&set := $04000000;
  36744. end;
  36745. procedure TINT_IEC0.clearIC5IE; inline;
  36746. begin
  36747. pTDefRegMap(@Self)^.clr := $04000000;
  36748. end;
  36749. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  36750. begin
  36751. if thebits = 0 then
  36752. pTDefRegMap(@Self)^.clr := $04000000
  36753. else
  36754. pTDefRegMap(@Self)^.&set := $04000000;
  36755. end;
  36756. function TINT_IEC0.getIC5IE : TBits_1; inline;
  36757. begin
  36758. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  36759. end;
  36760. procedure TINT_IEC0.setOC5IE; inline;
  36761. begin
  36762. pTDefRegMap(@Self)^.&set := $08000000;
  36763. end;
  36764. procedure TINT_IEC0.clearOC5IE; inline;
  36765. begin
  36766. pTDefRegMap(@Self)^.clr := $08000000;
  36767. end;
  36768. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  36769. begin
  36770. if thebits = 0 then
  36771. pTDefRegMap(@Self)^.clr := $08000000
  36772. else
  36773. pTDefRegMap(@Self)^.&set := $08000000;
  36774. end;
  36775. function TINT_IEC0.getOC5IE : TBits_1; inline;
  36776. begin
  36777. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  36778. end;
  36779. procedure TINT_IEC0.setAD1IE; inline;
  36780. begin
  36781. pTDefRegMap(@Self)^.&set := $10000000;
  36782. end;
  36783. procedure TINT_IEC0.clearAD1IE; inline;
  36784. begin
  36785. pTDefRegMap(@Self)^.clr := $10000000;
  36786. end;
  36787. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  36788. begin
  36789. if thebits = 0 then
  36790. pTDefRegMap(@Self)^.clr := $10000000
  36791. else
  36792. pTDefRegMap(@Self)^.&set := $10000000;
  36793. end;
  36794. function TINT_IEC0.getAD1IE : TBits_1; inline;
  36795. begin
  36796. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36797. end;
  36798. procedure TINT_IEC0.setFSCMIE; inline;
  36799. begin
  36800. pTDefRegMap(@Self)^.&set := $20000000;
  36801. end;
  36802. procedure TINT_IEC0.clearFSCMIE; inline;
  36803. begin
  36804. pTDefRegMap(@Self)^.clr := $20000000;
  36805. end;
  36806. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  36807. begin
  36808. if thebits = 0 then
  36809. pTDefRegMap(@Self)^.clr := $20000000
  36810. else
  36811. pTDefRegMap(@Self)^.&set := $20000000;
  36812. end;
  36813. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  36814. begin
  36815. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  36816. end;
  36817. procedure TINT_IEC0.setRTCCIE; inline;
  36818. begin
  36819. pTDefRegMap(@Self)^.&set := $40000000;
  36820. end;
  36821. procedure TINT_IEC0.clearRTCCIE; inline;
  36822. begin
  36823. pTDefRegMap(@Self)^.clr := $40000000;
  36824. end;
  36825. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  36826. begin
  36827. if thebits = 0 then
  36828. pTDefRegMap(@Self)^.clr := $40000000
  36829. else
  36830. pTDefRegMap(@Self)^.&set := $40000000;
  36831. end;
  36832. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  36833. begin
  36834. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  36835. end;
  36836. procedure TINT_IEC0.setFCEIE; inline;
  36837. begin
  36838. pTDefRegMap(@Self)^.&set := $80000000;
  36839. end;
  36840. procedure TINT_IEC0.clearFCEIE; inline;
  36841. begin
  36842. pTDefRegMap(@Self)^.clr := $80000000;
  36843. end;
  36844. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  36845. begin
  36846. if thebits = 0 then
  36847. pTDefRegMap(@Self)^.clr := $80000000
  36848. else
  36849. pTDefRegMap(@Self)^.&set := $80000000;
  36850. end;
  36851. function TINT_IEC0.getFCEIE : TBits_1; inline;
  36852. begin
  36853. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36854. end;
  36855. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  36856. begin
  36857. pTDefRegMap(@Self)^.val := thebits;
  36858. end;
  36859. function TINT_IEC0.getw : TBits_32; inline;
  36860. begin
  36861. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36862. end;
  36863. procedure TINT_IEC1.setCMP1IE; inline;
  36864. begin
  36865. pTDefRegMap(@Self)^.&set := $00000001;
  36866. end;
  36867. procedure TINT_IEC1.clearCMP1IE; inline;
  36868. begin
  36869. pTDefRegMap(@Self)^.clr := $00000001;
  36870. end;
  36871. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  36872. begin
  36873. if thebits = 0 then
  36874. pTDefRegMap(@Self)^.clr := $00000001
  36875. else
  36876. pTDefRegMap(@Self)^.&set := $00000001;
  36877. end;
  36878. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  36879. begin
  36880. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36881. end;
  36882. procedure TINT_IEC1.setCMP2IE; inline;
  36883. begin
  36884. pTDefRegMap(@Self)^.&set := $00000002;
  36885. end;
  36886. procedure TINT_IEC1.clearCMP2IE; inline;
  36887. begin
  36888. pTDefRegMap(@Self)^.clr := $00000002;
  36889. end;
  36890. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  36891. begin
  36892. if thebits = 0 then
  36893. pTDefRegMap(@Self)^.clr := $00000002
  36894. else
  36895. pTDefRegMap(@Self)^.&set := $00000002;
  36896. end;
  36897. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  36898. begin
  36899. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36900. end;
  36901. procedure TINT_IEC1.setUSBIE; inline;
  36902. begin
  36903. pTDefRegMap(@Self)^.&set := $00000004;
  36904. end;
  36905. procedure TINT_IEC1.clearUSBIE; inline;
  36906. begin
  36907. pTDefRegMap(@Self)^.clr := $00000004;
  36908. end;
  36909. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  36910. begin
  36911. if thebits = 0 then
  36912. pTDefRegMap(@Self)^.clr := $00000004
  36913. else
  36914. pTDefRegMap(@Self)^.&set := $00000004;
  36915. end;
  36916. function TINT_IEC1.getUSBIE : TBits_1; inline;
  36917. begin
  36918. getUSBIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36919. end;
  36920. procedure TINT_IEC1.setSPI1EIE; inline;
  36921. begin
  36922. pTDefRegMap(@Self)^.&set := $00000008;
  36923. end;
  36924. procedure TINT_IEC1.clearSPI1EIE; inline;
  36925. begin
  36926. pTDefRegMap(@Self)^.clr := $00000008;
  36927. end;
  36928. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  36929. begin
  36930. if thebits = 0 then
  36931. pTDefRegMap(@Self)^.clr := $00000008
  36932. else
  36933. pTDefRegMap(@Self)^.&set := $00000008;
  36934. end;
  36935. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  36936. begin
  36937. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36938. end;
  36939. procedure TINT_IEC1.setSPI1RXIE; inline;
  36940. begin
  36941. pTDefRegMap(@Self)^.&set := $00000010;
  36942. end;
  36943. procedure TINT_IEC1.clearSPI1RXIE; inline;
  36944. begin
  36945. pTDefRegMap(@Self)^.clr := $00000010;
  36946. end;
  36947. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  36948. begin
  36949. if thebits = 0 then
  36950. pTDefRegMap(@Self)^.clr := $00000010
  36951. else
  36952. pTDefRegMap(@Self)^.&set := $00000010;
  36953. end;
  36954. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  36955. begin
  36956. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36957. end;
  36958. procedure TINT_IEC1.setSPI1TXIE; inline;
  36959. begin
  36960. pTDefRegMap(@Self)^.&set := $00000020;
  36961. end;
  36962. procedure TINT_IEC1.clearSPI1TXIE; inline;
  36963. begin
  36964. pTDefRegMap(@Self)^.clr := $00000020;
  36965. end;
  36966. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  36967. begin
  36968. if thebits = 0 then
  36969. pTDefRegMap(@Self)^.clr := $00000020
  36970. else
  36971. pTDefRegMap(@Self)^.&set := $00000020;
  36972. end;
  36973. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  36974. begin
  36975. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36976. end;
  36977. procedure TINT_IEC1.setU1EIE; inline;
  36978. begin
  36979. pTDefRegMap(@Self)^.&set := $00000040;
  36980. end;
  36981. procedure TINT_IEC1.clearU1EIE; inline;
  36982. begin
  36983. pTDefRegMap(@Self)^.clr := $00000040;
  36984. end;
  36985. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  36986. begin
  36987. if thebits = 0 then
  36988. pTDefRegMap(@Self)^.clr := $00000040
  36989. else
  36990. pTDefRegMap(@Self)^.&set := $00000040;
  36991. end;
  36992. function TINT_IEC1.getU1EIE : TBits_1; inline;
  36993. begin
  36994. getU1EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36995. end;
  36996. procedure TINT_IEC1.setU1RXIE; inline;
  36997. begin
  36998. pTDefRegMap(@Self)^.&set := $00000080;
  36999. end;
  37000. procedure TINT_IEC1.clearU1RXIE; inline;
  37001. begin
  37002. pTDefRegMap(@Self)^.clr := $00000080;
  37003. end;
  37004. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  37005. begin
  37006. if thebits = 0 then
  37007. pTDefRegMap(@Self)^.clr := $00000080
  37008. else
  37009. pTDefRegMap(@Self)^.&set := $00000080;
  37010. end;
  37011. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  37012. begin
  37013. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37014. end;
  37015. procedure TINT_IEC1.setU1TXIE; inline;
  37016. begin
  37017. pTDefRegMap(@Self)^.&set := $00000100;
  37018. end;
  37019. procedure TINT_IEC1.clearU1TXIE; inline;
  37020. begin
  37021. pTDefRegMap(@Self)^.clr := $00000100;
  37022. end;
  37023. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  37024. begin
  37025. if thebits = 0 then
  37026. pTDefRegMap(@Self)^.clr := $00000100
  37027. else
  37028. pTDefRegMap(@Self)^.&set := $00000100;
  37029. end;
  37030. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  37031. begin
  37032. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37033. end;
  37034. procedure TINT_IEC1.setI2C1BIE; inline;
  37035. begin
  37036. pTDefRegMap(@Self)^.&set := $00000200;
  37037. end;
  37038. procedure TINT_IEC1.clearI2C1BIE; inline;
  37039. begin
  37040. pTDefRegMap(@Self)^.clr := $00000200;
  37041. end;
  37042. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  37043. begin
  37044. if thebits = 0 then
  37045. pTDefRegMap(@Self)^.clr := $00000200
  37046. else
  37047. pTDefRegMap(@Self)^.&set := $00000200;
  37048. end;
  37049. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  37050. begin
  37051. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37052. end;
  37053. procedure TINT_IEC1.setI2C1SIE; inline;
  37054. begin
  37055. pTDefRegMap(@Self)^.&set := $00000400;
  37056. end;
  37057. procedure TINT_IEC1.clearI2C1SIE; inline;
  37058. begin
  37059. pTDefRegMap(@Self)^.clr := $00000400;
  37060. end;
  37061. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  37062. begin
  37063. if thebits = 0 then
  37064. pTDefRegMap(@Self)^.clr := $00000400
  37065. else
  37066. pTDefRegMap(@Self)^.&set := $00000400;
  37067. end;
  37068. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  37069. begin
  37070. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37071. end;
  37072. procedure TINT_IEC1.setI2C1MIE; inline;
  37073. begin
  37074. pTDefRegMap(@Self)^.&set := $00000800;
  37075. end;
  37076. procedure TINT_IEC1.clearI2C1MIE; inline;
  37077. begin
  37078. pTDefRegMap(@Self)^.clr := $00000800;
  37079. end;
  37080. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  37081. begin
  37082. if thebits = 0 then
  37083. pTDefRegMap(@Self)^.clr := $00000800
  37084. else
  37085. pTDefRegMap(@Self)^.&set := $00000800;
  37086. end;
  37087. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  37088. begin
  37089. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37090. end;
  37091. procedure TINT_IEC1.setCNAIE; inline;
  37092. begin
  37093. pTDefRegMap(@Self)^.&set := $00001000;
  37094. end;
  37095. procedure TINT_IEC1.clearCNAIE; inline;
  37096. begin
  37097. pTDefRegMap(@Self)^.clr := $00001000;
  37098. end;
  37099. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  37100. begin
  37101. if thebits = 0 then
  37102. pTDefRegMap(@Self)^.clr := $00001000
  37103. else
  37104. pTDefRegMap(@Self)^.&set := $00001000;
  37105. end;
  37106. function TINT_IEC1.getCNAIE : TBits_1; inline;
  37107. begin
  37108. getCNAIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37109. end;
  37110. procedure TINT_IEC1.setCNBIE; inline;
  37111. begin
  37112. pTDefRegMap(@Self)^.&set := $00002000;
  37113. end;
  37114. procedure TINT_IEC1.clearCNBIE; inline;
  37115. begin
  37116. pTDefRegMap(@Self)^.clr := $00002000;
  37117. end;
  37118. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  37119. begin
  37120. if thebits = 0 then
  37121. pTDefRegMap(@Self)^.clr := $00002000
  37122. else
  37123. pTDefRegMap(@Self)^.&set := $00002000;
  37124. end;
  37125. function TINT_IEC1.getCNBIE : TBits_1; inline;
  37126. begin
  37127. getCNBIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37128. end;
  37129. procedure TINT_IEC1.setCNCIE; inline;
  37130. begin
  37131. pTDefRegMap(@Self)^.&set := $00004000;
  37132. end;
  37133. procedure TINT_IEC1.clearCNCIE; inline;
  37134. begin
  37135. pTDefRegMap(@Self)^.clr := $00004000;
  37136. end;
  37137. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  37138. begin
  37139. if thebits = 0 then
  37140. pTDefRegMap(@Self)^.clr := $00004000
  37141. else
  37142. pTDefRegMap(@Self)^.&set := $00004000;
  37143. end;
  37144. function TINT_IEC1.getCNCIE : TBits_1; inline;
  37145. begin
  37146. getCNCIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37147. end;
  37148. procedure TINT_IEC1.setCNDIE; inline;
  37149. begin
  37150. pTDefRegMap(@Self)^.&set := $00008000;
  37151. end;
  37152. procedure TINT_IEC1.clearCNDIE; inline;
  37153. begin
  37154. pTDefRegMap(@Self)^.clr := $00008000;
  37155. end;
  37156. procedure TINT_IEC1.setCNDIE(thebits : TBits_1); inline;
  37157. begin
  37158. if thebits = 0 then
  37159. pTDefRegMap(@Self)^.clr := $00008000
  37160. else
  37161. pTDefRegMap(@Self)^.&set := $00008000;
  37162. end;
  37163. function TINT_IEC1.getCNDIE : TBits_1; inline;
  37164. begin
  37165. getCNDIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37166. end;
  37167. procedure TINT_IEC1.setCNEIE; inline;
  37168. begin
  37169. pTDefRegMap(@Self)^.&set := $00010000;
  37170. end;
  37171. procedure TINT_IEC1.clearCNEIE; inline;
  37172. begin
  37173. pTDefRegMap(@Self)^.clr := $00010000;
  37174. end;
  37175. procedure TINT_IEC1.setCNEIE(thebits : TBits_1); inline;
  37176. begin
  37177. if thebits = 0 then
  37178. pTDefRegMap(@Self)^.clr := $00010000
  37179. else
  37180. pTDefRegMap(@Self)^.&set := $00010000;
  37181. end;
  37182. function TINT_IEC1.getCNEIE : TBits_1; inline;
  37183. begin
  37184. getCNEIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  37185. end;
  37186. procedure TINT_IEC1.setCNFIE; inline;
  37187. begin
  37188. pTDefRegMap(@Self)^.&set := $00020000;
  37189. end;
  37190. procedure TINT_IEC1.clearCNFIE; inline;
  37191. begin
  37192. pTDefRegMap(@Self)^.clr := $00020000;
  37193. end;
  37194. procedure TINT_IEC1.setCNFIE(thebits : TBits_1); inline;
  37195. begin
  37196. if thebits = 0 then
  37197. pTDefRegMap(@Self)^.clr := $00020000
  37198. else
  37199. pTDefRegMap(@Self)^.&set := $00020000;
  37200. end;
  37201. function TINT_IEC1.getCNFIE : TBits_1; inline;
  37202. begin
  37203. getCNFIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  37204. end;
  37205. procedure TINT_IEC1.setCNGIE; inline;
  37206. begin
  37207. pTDefRegMap(@Self)^.&set := $00040000;
  37208. end;
  37209. procedure TINT_IEC1.clearCNGIE; inline;
  37210. begin
  37211. pTDefRegMap(@Self)^.clr := $00040000;
  37212. end;
  37213. procedure TINT_IEC1.setCNGIE(thebits : TBits_1); inline;
  37214. begin
  37215. if thebits = 0 then
  37216. pTDefRegMap(@Self)^.clr := $00040000
  37217. else
  37218. pTDefRegMap(@Self)^.&set := $00040000;
  37219. end;
  37220. function TINT_IEC1.getCNGIE : TBits_1; inline;
  37221. begin
  37222. getCNGIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  37223. end;
  37224. procedure TINT_IEC1.setPMPIE; inline;
  37225. begin
  37226. pTDefRegMap(@Self)^.&set := $00080000;
  37227. end;
  37228. procedure TINT_IEC1.clearPMPIE; inline;
  37229. begin
  37230. pTDefRegMap(@Self)^.clr := $00080000;
  37231. end;
  37232. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  37233. begin
  37234. if thebits = 0 then
  37235. pTDefRegMap(@Self)^.clr := $00080000
  37236. else
  37237. pTDefRegMap(@Self)^.&set := $00080000;
  37238. end;
  37239. function TINT_IEC1.getPMPIE : TBits_1; inline;
  37240. begin
  37241. getPMPIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  37242. end;
  37243. procedure TINT_IEC1.setPMPEIE; inline;
  37244. begin
  37245. pTDefRegMap(@Self)^.&set := $00100000;
  37246. end;
  37247. procedure TINT_IEC1.clearPMPEIE; inline;
  37248. begin
  37249. pTDefRegMap(@Self)^.clr := $00100000;
  37250. end;
  37251. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  37252. begin
  37253. if thebits = 0 then
  37254. pTDefRegMap(@Self)^.clr := $00100000
  37255. else
  37256. pTDefRegMap(@Self)^.&set := $00100000;
  37257. end;
  37258. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  37259. begin
  37260. getPMPEIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  37261. end;
  37262. procedure TINT_IEC1.setSPI2EIE; inline;
  37263. begin
  37264. pTDefRegMap(@Self)^.&set := $00200000;
  37265. end;
  37266. procedure TINT_IEC1.clearSPI2EIE; inline;
  37267. begin
  37268. pTDefRegMap(@Self)^.clr := $00200000;
  37269. end;
  37270. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  37271. begin
  37272. if thebits = 0 then
  37273. pTDefRegMap(@Self)^.clr := $00200000
  37274. else
  37275. pTDefRegMap(@Self)^.&set := $00200000;
  37276. end;
  37277. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  37278. begin
  37279. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  37280. end;
  37281. procedure TINT_IEC1.setSPI2RXIE; inline;
  37282. begin
  37283. pTDefRegMap(@Self)^.&set := $00400000;
  37284. end;
  37285. procedure TINT_IEC1.clearSPI2RXIE; inline;
  37286. begin
  37287. pTDefRegMap(@Self)^.clr := $00400000;
  37288. end;
  37289. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  37290. begin
  37291. if thebits = 0 then
  37292. pTDefRegMap(@Self)^.clr := $00400000
  37293. else
  37294. pTDefRegMap(@Self)^.&set := $00400000;
  37295. end;
  37296. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  37297. begin
  37298. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37299. end;
  37300. procedure TINT_IEC1.setSPI2TXIE; inline;
  37301. begin
  37302. pTDefRegMap(@Self)^.&set := $00800000;
  37303. end;
  37304. procedure TINT_IEC1.clearSPI2TXIE; inline;
  37305. begin
  37306. pTDefRegMap(@Self)^.clr := $00800000;
  37307. end;
  37308. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  37309. begin
  37310. if thebits = 0 then
  37311. pTDefRegMap(@Self)^.clr := $00800000
  37312. else
  37313. pTDefRegMap(@Self)^.&set := $00800000;
  37314. end;
  37315. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  37316. begin
  37317. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37318. end;
  37319. procedure TINT_IEC1.setU2EIE; inline;
  37320. begin
  37321. pTDefRegMap(@Self)^.&set := $01000000;
  37322. end;
  37323. procedure TINT_IEC1.clearU2EIE; inline;
  37324. begin
  37325. pTDefRegMap(@Self)^.clr := $01000000;
  37326. end;
  37327. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  37328. begin
  37329. if thebits = 0 then
  37330. pTDefRegMap(@Self)^.clr := $01000000
  37331. else
  37332. pTDefRegMap(@Self)^.&set := $01000000;
  37333. end;
  37334. function TINT_IEC1.getU2EIE : TBits_1; inline;
  37335. begin
  37336. getU2EIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37337. end;
  37338. procedure TINT_IEC1.setU2RXIE; inline;
  37339. begin
  37340. pTDefRegMap(@Self)^.&set := $02000000;
  37341. end;
  37342. procedure TINT_IEC1.clearU2RXIE; inline;
  37343. begin
  37344. pTDefRegMap(@Self)^.clr := $02000000;
  37345. end;
  37346. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  37347. begin
  37348. if thebits = 0 then
  37349. pTDefRegMap(@Self)^.clr := $02000000
  37350. else
  37351. pTDefRegMap(@Self)^.&set := $02000000;
  37352. end;
  37353. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  37354. begin
  37355. getU2RXIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  37356. end;
  37357. procedure TINT_IEC1.setU2TXIE; inline;
  37358. begin
  37359. pTDefRegMap(@Self)^.&set := $04000000;
  37360. end;
  37361. procedure TINT_IEC1.clearU2TXIE; inline;
  37362. begin
  37363. pTDefRegMap(@Self)^.clr := $04000000;
  37364. end;
  37365. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  37366. begin
  37367. if thebits = 0 then
  37368. pTDefRegMap(@Self)^.clr := $04000000
  37369. else
  37370. pTDefRegMap(@Self)^.&set := $04000000;
  37371. end;
  37372. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  37373. begin
  37374. getU2TXIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  37375. end;
  37376. procedure TINT_IEC1.setI2C2BIE; inline;
  37377. begin
  37378. pTDefRegMap(@Self)^.&set := $08000000;
  37379. end;
  37380. procedure TINT_IEC1.clearI2C2BIE; inline;
  37381. begin
  37382. pTDefRegMap(@Self)^.clr := $08000000;
  37383. end;
  37384. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  37385. begin
  37386. if thebits = 0 then
  37387. pTDefRegMap(@Self)^.clr := $08000000
  37388. else
  37389. pTDefRegMap(@Self)^.&set := $08000000;
  37390. end;
  37391. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  37392. begin
  37393. getI2C2BIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  37394. end;
  37395. procedure TINT_IEC1.setI2C2SIE; inline;
  37396. begin
  37397. pTDefRegMap(@Self)^.&set := $10000000;
  37398. end;
  37399. procedure TINT_IEC1.clearI2C2SIE; inline;
  37400. begin
  37401. pTDefRegMap(@Self)^.clr := $10000000;
  37402. end;
  37403. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  37404. begin
  37405. if thebits = 0 then
  37406. pTDefRegMap(@Self)^.clr := $10000000
  37407. else
  37408. pTDefRegMap(@Self)^.&set := $10000000;
  37409. end;
  37410. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  37411. begin
  37412. getI2C2SIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  37413. end;
  37414. procedure TINT_IEC1.setI2C2MIE; inline;
  37415. begin
  37416. pTDefRegMap(@Self)^.&set := $20000000;
  37417. end;
  37418. procedure TINT_IEC1.clearI2C2MIE; inline;
  37419. begin
  37420. pTDefRegMap(@Self)^.clr := $20000000;
  37421. end;
  37422. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  37423. begin
  37424. if thebits = 0 then
  37425. pTDefRegMap(@Self)^.clr := $20000000
  37426. else
  37427. pTDefRegMap(@Self)^.&set := $20000000;
  37428. end;
  37429. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  37430. begin
  37431. getI2C2MIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  37432. end;
  37433. procedure TINT_IEC1.setU3EIE; inline;
  37434. begin
  37435. pTDefRegMap(@Self)^.&set := $40000000;
  37436. end;
  37437. procedure TINT_IEC1.clearU3EIE; inline;
  37438. begin
  37439. pTDefRegMap(@Self)^.clr := $40000000;
  37440. end;
  37441. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  37442. begin
  37443. if thebits = 0 then
  37444. pTDefRegMap(@Self)^.clr := $40000000
  37445. else
  37446. pTDefRegMap(@Self)^.&set := $40000000;
  37447. end;
  37448. function TINT_IEC1.getU3EIE : TBits_1; inline;
  37449. begin
  37450. getU3EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  37451. end;
  37452. procedure TINT_IEC1.setU3RXIE; inline;
  37453. begin
  37454. pTDefRegMap(@Self)^.&set := $80000000;
  37455. end;
  37456. procedure TINT_IEC1.clearU3RXIE; inline;
  37457. begin
  37458. pTDefRegMap(@Self)^.clr := $80000000;
  37459. end;
  37460. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  37461. begin
  37462. if thebits = 0 then
  37463. pTDefRegMap(@Self)^.clr := $80000000
  37464. else
  37465. pTDefRegMap(@Self)^.&set := $80000000;
  37466. end;
  37467. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  37468. begin
  37469. getU3RXIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  37470. end;
  37471. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  37472. begin
  37473. pTDefRegMap(@Self)^.val := thebits;
  37474. end;
  37475. function TINT_IEC1.getw : TBits_32; inline;
  37476. begin
  37477. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37478. end;
  37479. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  37480. begin
  37481. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37482. end;
  37483. function TINT_IPC0.getCTIS : TBits_2; inline;
  37484. begin
  37485. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37486. end;
  37487. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  37488. begin
  37489. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37490. end;
  37491. function TINT_IPC0.getCTIP : TBits_3; inline;
  37492. begin
  37493. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37494. end;
  37495. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  37496. begin
  37497. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37498. end;
  37499. function TINT_IPC0.getCS0IS : TBits_2; inline;
  37500. begin
  37501. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37502. end;
  37503. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  37504. begin
  37505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37506. end;
  37507. function TINT_IPC0.getCS0IP : TBits_3; inline;
  37508. begin
  37509. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37510. end;
  37511. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  37512. begin
  37513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37514. end;
  37515. function TINT_IPC0.getCS1IS : TBits_2; inline;
  37516. begin
  37517. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37518. end;
  37519. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  37520. begin
  37521. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37522. end;
  37523. function TINT_IPC0.getCS1IP : TBits_3; inline;
  37524. begin
  37525. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37526. end;
  37527. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  37528. begin
  37529. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37530. end;
  37531. function TINT_IPC0.getINT0IS : TBits_2; inline;
  37532. begin
  37533. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37534. end;
  37535. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  37536. begin
  37537. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37538. end;
  37539. function TINT_IPC0.getINT0IP : TBits_3; inline;
  37540. begin
  37541. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37542. end;
  37543. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  37544. begin
  37545. pTDefRegMap(@Self)^.val := thebits;
  37546. end;
  37547. function TINT_IPC0.getw : TBits_32; inline;
  37548. begin
  37549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37550. end;
  37551. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  37552. begin
  37553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37554. end;
  37555. function TINT_IPC1.getT1IS : TBits_2; inline;
  37556. begin
  37557. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37558. end;
  37559. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  37560. begin
  37561. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37562. end;
  37563. function TINT_IPC1.getT1IP : TBits_3; inline;
  37564. begin
  37565. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37566. end;
  37567. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  37568. begin
  37569. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37570. end;
  37571. function TINT_IPC1.getIC1IS : TBits_2; inline;
  37572. begin
  37573. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37574. end;
  37575. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  37576. begin
  37577. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37578. end;
  37579. function TINT_IPC1.getIC1IP : TBits_3; inline;
  37580. begin
  37581. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37582. end;
  37583. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  37584. begin
  37585. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37586. end;
  37587. function TINT_IPC1.getOC1IS : TBits_2; inline;
  37588. begin
  37589. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37590. end;
  37591. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  37592. begin
  37593. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37594. end;
  37595. function TINT_IPC1.getOC1IP : TBits_3; inline;
  37596. begin
  37597. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37598. end;
  37599. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  37600. begin
  37601. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37602. end;
  37603. function TINT_IPC1.getINT1IS : TBits_2; inline;
  37604. begin
  37605. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37606. end;
  37607. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  37608. begin
  37609. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37610. end;
  37611. function TINT_IPC1.getINT1IP : TBits_3; inline;
  37612. begin
  37613. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37614. end;
  37615. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  37616. begin
  37617. pTDefRegMap(@Self)^.val := thebits;
  37618. end;
  37619. function TINT_IPC1.getw : TBits_32; inline;
  37620. begin
  37621. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37622. end;
  37623. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  37624. begin
  37625. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37626. end;
  37627. function TINT_IPC2.getT2IS : TBits_2; inline;
  37628. begin
  37629. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37630. end;
  37631. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  37632. begin
  37633. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37634. end;
  37635. function TINT_IPC2.getT2IP : TBits_3; inline;
  37636. begin
  37637. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37638. end;
  37639. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  37640. begin
  37641. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37642. end;
  37643. function TINT_IPC2.getIC2IS : TBits_2; inline;
  37644. begin
  37645. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37646. end;
  37647. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  37648. begin
  37649. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37650. end;
  37651. function TINT_IPC2.getIC2IP : TBits_3; inline;
  37652. begin
  37653. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37654. end;
  37655. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  37656. begin
  37657. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37658. end;
  37659. function TINT_IPC2.getOC2IS : TBits_2; inline;
  37660. begin
  37661. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37662. end;
  37663. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  37664. begin
  37665. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37666. end;
  37667. function TINT_IPC2.getOC2IP : TBits_3; inline;
  37668. begin
  37669. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37670. end;
  37671. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  37672. begin
  37673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37674. end;
  37675. function TINT_IPC2.getINT2IS : TBits_2; inline;
  37676. begin
  37677. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37678. end;
  37679. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  37680. begin
  37681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37682. end;
  37683. function TINT_IPC2.getINT2IP : TBits_3; inline;
  37684. begin
  37685. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37686. end;
  37687. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  37688. begin
  37689. pTDefRegMap(@Self)^.val := thebits;
  37690. end;
  37691. function TINT_IPC2.getw : TBits_32; inline;
  37692. begin
  37693. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37694. end;
  37695. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  37696. begin
  37697. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37698. end;
  37699. function TINT_IPC3.getT3IS : TBits_2; inline;
  37700. begin
  37701. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37702. end;
  37703. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  37704. begin
  37705. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37706. end;
  37707. function TINT_IPC3.getT3IP : TBits_3; inline;
  37708. begin
  37709. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37710. end;
  37711. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  37712. begin
  37713. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37714. end;
  37715. function TINT_IPC3.getIC3IS : TBits_2; inline;
  37716. begin
  37717. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37718. end;
  37719. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  37720. begin
  37721. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37722. end;
  37723. function TINT_IPC3.getIC3IP : TBits_3; inline;
  37724. begin
  37725. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37726. end;
  37727. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  37728. begin
  37729. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37730. end;
  37731. function TINT_IPC3.getOC3IS : TBits_2; inline;
  37732. begin
  37733. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37734. end;
  37735. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  37736. begin
  37737. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37738. end;
  37739. function TINT_IPC3.getOC3IP : TBits_3; inline;
  37740. begin
  37741. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37742. end;
  37743. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  37744. begin
  37745. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37746. end;
  37747. function TINT_IPC3.getINT3IS : TBits_2; inline;
  37748. begin
  37749. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37750. end;
  37751. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  37752. begin
  37753. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37754. end;
  37755. function TINT_IPC3.getINT3IP : TBits_3; inline;
  37756. begin
  37757. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37758. end;
  37759. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  37760. begin
  37761. pTDefRegMap(@Self)^.val := thebits;
  37762. end;
  37763. function TINT_IPC3.getw : TBits_32; inline;
  37764. begin
  37765. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37766. end;
  37767. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  37768. begin
  37769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37770. end;
  37771. function TINT_IPC4.getT4IS : TBits_2; inline;
  37772. begin
  37773. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37774. end;
  37775. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  37776. begin
  37777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37778. end;
  37779. function TINT_IPC4.getT4IP : TBits_3; inline;
  37780. begin
  37781. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37782. end;
  37783. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  37784. begin
  37785. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37786. end;
  37787. function TINT_IPC4.getIC4IS : TBits_2; inline;
  37788. begin
  37789. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37790. end;
  37791. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  37792. begin
  37793. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37794. end;
  37795. function TINT_IPC4.getIC4IP : TBits_3; inline;
  37796. begin
  37797. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37798. end;
  37799. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  37800. begin
  37801. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37802. end;
  37803. function TINT_IPC4.getOC4IS : TBits_2; inline;
  37804. begin
  37805. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37806. end;
  37807. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  37808. begin
  37809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37810. end;
  37811. function TINT_IPC4.getOC4IP : TBits_3; inline;
  37812. begin
  37813. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37814. end;
  37815. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  37816. begin
  37817. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37818. end;
  37819. function TINT_IPC4.getINT4IS : TBits_2; inline;
  37820. begin
  37821. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37822. end;
  37823. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  37824. begin
  37825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37826. end;
  37827. function TINT_IPC4.getINT4IP : TBits_3; inline;
  37828. begin
  37829. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37830. end;
  37831. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  37832. begin
  37833. pTDefRegMap(@Self)^.val := thebits;
  37834. end;
  37835. function TINT_IPC4.getw : TBits_32; inline;
  37836. begin
  37837. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37838. end;
  37839. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  37840. begin
  37841. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37842. end;
  37843. function TINT_IPC5.getT5IS : TBits_2; inline;
  37844. begin
  37845. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37846. end;
  37847. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  37848. begin
  37849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37850. end;
  37851. function TINT_IPC5.getT5IP : TBits_3; inline;
  37852. begin
  37853. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37854. end;
  37855. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  37856. begin
  37857. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37858. end;
  37859. function TINT_IPC5.getIC5IS : TBits_2; inline;
  37860. begin
  37861. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37862. end;
  37863. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  37864. begin
  37865. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37866. end;
  37867. function TINT_IPC5.getIC5IP : TBits_3; inline;
  37868. begin
  37869. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37870. end;
  37871. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  37872. begin
  37873. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37874. end;
  37875. function TINT_IPC5.getOC5IS : TBits_2; inline;
  37876. begin
  37877. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37878. end;
  37879. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  37880. begin
  37881. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37882. end;
  37883. function TINT_IPC5.getOC5IP : TBits_3; inline;
  37884. begin
  37885. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37886. end;
  37887. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  37888. begin
  37889. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37890. end;
  37891. function TINT_IPC5.getAD1IS : TBits_2; inline;
  37892. begin
  37893. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37894. end;
  37895. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  37896. begin
  37897. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37898. end;
  37899. function TINT_IPC5.getAD1IP : TBits_3; inline;
  37900. begin
  37901. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37902. end;
  37903. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  37904. begin
  37905. pTDefRegMap(@Self)^.val := thebits;
  37906. end;
  37907. function TINT_IPC5.getw : TBits_32; inline;
  37908. begin
  37909. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37910. end;
  37911. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  37912. begin
  37913. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37914. end;
  37915. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  37916. begin
  37917. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37918. end;
  37919. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  37920. begin
  37921. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37922. end;
  37923. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  37924. begin
  37925. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37926. end;
  37927. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  37928. begin
  37929. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37930. end;
  37931. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  37932. begin
  37933. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37934. end;
  37935. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  37936. begin
  37937. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37938. end;
  37939. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  37940. begin
  37941. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37942. end;
  37943. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  37944. begin
  37945. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37946. end;
  37947. function TINT_IPC6.getFCEIS : TBits_2; inline;
  37948. begin
  37949. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37950. end;
  37951. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  37952. begin
  37953. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37954. end;
  37955. function TINT_IPC6.getFCEIP : TBits_3; inline;
  37956. begin
  37957. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37958. end;
  37959. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  37960. begin
  37961. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37962. end;
  37963. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  37964. begin
  37965. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37966. end;
  37967. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  37968. begin
  37969. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37970. end;
  37971. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  37972. begin
  37973. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37974. end;
  37975. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  37976. begin
  37977. pTDefRegMap(@Self)^.val := thebits;
  37978. end;
  37979. function TINT_IPC6.getw : TBits_32; inline;
  37980. begin
  37981. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37982. end;
  37983. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  37984. begin
  37985. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37986. end;
  37987. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  37988. begin
  37989. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37990. end;
  37991. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  37992. begin
  37993. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37994. end;
  37995. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  37996. begin
  37997. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37998. end;
  37999. procedure TINT_IPC7.setUSBIS(thebits : TBits_2); inline;
  38000. begin
  38001. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  38002. end;
  38003. function TINT_IPC7.getUSBIS : TBits_2; inline;
  38004. begin
  38005. getUSBIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  38006. end;
  38007. procedure TINT_IPC7.setUSBIP(thebits : TBits_3); inline;
  38008. begin
  38009. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  38010. end;
  38011. function TINT_IPC7.getUSBIP : TBits_3; inline;
  38012. begin
  38013. getUSBIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  38014. end;
  38015. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  38016. begin
  38017. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  38018. end;
  38019. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  38020. begin
  38021. getSPI1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  38022. end;
  38023. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  38024. begin
  38025. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  38026. end;
  38027. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  38028. begin
  38029. getSPI1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  38030. end;
  38031. procedure TINT_IPC7.setU1IS(thebits : TBits_2); inline;
  38032. begin
  38033. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  38034. end;
  38035. function TINT_IPC7.getU1IS : TBits_2; inline;
  38036. begin
  38037. getU1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  38038. end;
  38039. procedure TINT_IPC7.setU1IP(thebits : TBits_3); inline;
  38040. begin
  38041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  38042. end;
  38043. function TINT_IPC7.getU1IP : TBits_3; inline;
  38044. begin
  38045. getU1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  38046. end;
  38047. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  38048. begin
  38049. pTDefRegMap(@Self)^.val := thebits;
  38050. end;
  38051. function TINT_IPC7.getw : TBits_32; inline;
  38052. begin
  38053. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38054. end;
  38055. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  38056. begin
  38057. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38058. end;
  38059. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  38060. begin
  38061. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38062. end;
  38063. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  38064. begin
  38065. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  38066. end;
  38067. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  38068. begin
  38069. getI2C1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  38070. end;
  38071. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  38072. begin
  38073. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  38074. end;
  38075. function TINT_IPC8.getCNIS : TBits_2; inline;
  38076. begin
  38077. getCNIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  38078. end;
  38079. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  38080. begin
  38081. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  38082. end;
  38083. function TINT_IPC8.getCNIP : TBits_3; inline;
  38084. begin
  38085. getCNIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  38086. end;
  38087. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  38088. begin
  38089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  38090. end;
  38091. function TINT_IPC8.getPMPIS : TBits_2; inline;
  38092. begin
  38093. getPMPIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  38094. end;
  38095. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  38096. begin
  38097. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  38098. end;
  38099. function TINT_IPC8.getPMPIP : TBits_3; inline;
  38100. begin
  38101. getPMPIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  38102. end;
  38103. procedure TINT_IPC8.setSPI2IS(thebits : TBits_2); inline;
  38104. begin
  38105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  38106. end;
  38107. function TINT_IPC8.getSPI2IS : TBits_2; inline;
  38108. begin
  38109. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  38110. end;
  38111. procedure TINT_IPC8.setSPI2IP(thebits : TBits_3); inline;
  38112. begin
  38113. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  38114. end;
  38115. function TINT_IPC8.getSPI2IP : TBits_3; inline;
  38116. begin
  38117. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  38118. end;
  38119. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  38120. begin
  38121. pTDefRegMap(@Self)^.val := thebits;
  38122. end;
  38123. function TINT_IPC8.getw : TBits_32; inline;
  38124. begin
  38125. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38126. end;
  38127. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  38128. begin
  38129. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38130. end;
  38131. function TINT_IPC9.getU2IS : TBits_2; inline;
  38132. begin
  38133. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38134. end;
  38135. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  38136. begin
  38137. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  38138. end;
  38139. function TINT_IPC9.getU2IP : TBits_3; inline;
  38140. begin
  38141. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  38142. end;
  38143. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  38144. begin
  38145. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  38146. end;
  38147. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  38148. begin
  38149. getI2C2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  38150. end;
  38151. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  38152. begin
  38153. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  38154. end;
  38155. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  38156. begin
  38157. getI2C2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  38158. end;
  38159. procedure TINT_IPC9.setU3IS(thebits : TBits_2); inline;
  38160. begin
  38161. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  38162. end;
  38163. function TINT_IPC9.getU3IS : TBits_2; inline;
  38164. begin
  38165. getU3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  38166. end;
  38167. procedure TINT_IPC9.setU3IP(thebits : TBits_3); inline;
  38168. begin
  38169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  38170. end;
  38171. function TINT_IPC9.getU3IP : TBits_3; inline;
  38172. begin
  38173. getU3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  38174. end;
  38175. procedure TINT_IPC9.setU4IS(thebits : TBits_2); inline;
  38176. begin
  38177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  38178. end;
  38179. function TINT_IPC9.getU4IS : TBits_2; inline;
  38180. begin
  38181. getU4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  38182. end;
  38183. procedure TINT_IPC9.setU4IP(thebits : TBits_3); inline;
  38184. begin
  38185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  38186. end;
  38187. function TINT_IPC9.getU4IP : TBits_3; inline;
  38188. begin
  38189. getU4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  38190. end;
  38191. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  38192. begin
  38193. pTDefRegMap(@Self)^.val := thebits;
  38194. end;
  38195. function TINT_IPC9.getw : TBits_32; inline;
  38196. begin
  38197. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38198. end;
  38199. procedure TINT_IPC10.setU5IS(thebits : TBits_2); inline;
  38200. begin
  38201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38202. end;
  38203. function TINT_IPC10.getU5IS : TBits_2; inline;
  38204. begin
  38205. getU5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38206. end;
  38207. procedure TINT_IPC10.setU5IP(thebits : TBits_3); inline;
  38208. begin
  38209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  38210. end;
  38211. function TINT_IPC10.getU5IP : TBits_3; inline;
  38212. begin
  38213. getU5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  38214. end;
  38215. procedure TINT_IPC10.setCTMUIP(thebits : TBits_2); inline;
  38216. begin
  38217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  38218. end;
  38219. function TINT_IPC10.getCTMUIP : TBits_2; inline;
  38220. begin
  38221. getCTMUIP := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  38222. end;
  38223. procedure TINT_IPC10.setCTMUIS(thebits : TBits_3); inline;
  38224. begin
  38225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  38226. end;
  38227. function TINT_IPC10.getCTMUIS : TBits_3; inline;
  38228. begin
  38229. getCTMUIS := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  38230. end;
  38231. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  38232. begin
  38233. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  38234. end;
  38235. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  38236. begin
  38237. getDMA0IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  38238. end;
  38239. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  38240. begin
  38241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  38242. end;
  38243. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  38244. begin
  38245. getDMA0IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  38246. end;
  38247. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  38248. begin
  38249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  38250. end;
  38251. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  38252. begin
  38253. getDMA1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  38254. end;
  38255. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  38256. begin
  38257. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  38258. end;
  38259. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  38260. begin
  38261. getDMA1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  38262. end;
  38263. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  38264. begin
  38265. pTDefRegMap(@Self)^.val := thebits;
  38266. end;
  38267. function TINT_IPC10.getw : TBits_32; inline;
  38268. begin
  38269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38270. end;
  38271. procedure TINT_IPC11.setDMA2IS(thebits : TBits_2); inline;
  38272. begin
  38273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38274. end;
  38275. function TINT_IPC11.getDMA2IS : TBits_2; inline;
  38276. begin
  38277. getDMA2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38278. end;
  38279. procedure TINT_IPC11.setDMA2IP(thebits : TBits_3); inline;
  38280. begin
  38281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  38282. end;
  38283. function TINT_IPC11.getDMA2IP : TBits_3; inline;
  38284. begin
  38285. getDMA2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  38286. end;
  38287. procedure TINT_IPC11.setDMA3IS(thebits : TBits_2); inline;
  38288. begin
  38289. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  38290. end;
  38291. function TINT_IPC11.getDMA3IS : TBits_2; inline;
  38292. begin
  38293. getDMA3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  38294. end;
  38295. procedure TINT_IPC11.setDMA3IP(thebits : TBits_3); inline;
  38296. begin
  38297. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  38298. end;
  38299. function TINT_IPC11.getDMA3IP : TBits_3; inline;
  38300. begin
  38301. getDMA3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  38302. end;
  38303. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  38304. begin
  38305. pTDefRegMap(@Self)^.val := thebits;
  38306. end;
  38307. function TINT_IPC11.getw : TBits_32; inline;
  38308. begin
  38309. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38310. end;
  38311. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  38312. begin
  38313. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  38314. end;
  38315. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  38316. begin
  38317. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  38318. end;
  38319. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  38320. begin
  38321. pTDefRegMap(@Self)^.&set := $00000040;
  38322. end;
  38323. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  38324. begin
  38325. pTDefRegMap(@Self)^.clr := $00000040;
  38326. end;
  38327. procedure TBMX_BMXCON.setBMXWSDRM(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 TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  38335. begin
  38336. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38337. end;
  38338. procedure TBMX_BMXCON.setBMXERRIS; inline;
  38339. begin
  38340. pTDefRegMap(@Self)^.&set := $00010000;
  38341. end;
  38342. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  38343. begin
  38344. pTDefRegMap(@Self)^.clr := $00010000;
  38345. end;
  38346. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  38347. begin
  38348. if thebits = 0 then
  38349. pTDefRegMap(@Self)^.clr := $00010000
  38350. else
  38351. pTDefRegMap(@Self)^.&set := $00010000;
  38352. end;
  38353. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  38354. begin
  38355. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  38356. end;
  38357. procedure TBMX_BMXCON.setBMXERRDS; inline;
  38358. begin
  38359. pTDefRegMap(@Self)^.&set := $00020000;
  38360. end;
  38361. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  38362. begin
  38363. pTDefRegMap(@Self)^.clr := $00020000;
  38364. end;
  38365. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  38366. begin
  38367. if thebits = 0 then
  38368. pTDefRegMap(@Self)^.clr := $00020000
  38369. else
  38370. pTDefRegMap(@Self)^.&set := $00020000;
  38371. end;
  38372. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  38373. begin
  38374. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  38375. end;
  38376. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  38377. begin
  38378. pTDefRegMap(@Self)^.&set := $00040000;
  38379. end;
  38380. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  38381. begin
  38382. pTDefRegMap(@Self)^.clr := $00040000;
  38383. end;
  38384. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  38385. begin
  38386. if thebits = 0 then
  38387. pTDefRegMap(@Self)^.clr := $00040000
  38388. else
  38389. pTDefRegMap(@Self)^.&set := $00040000;
  38390. end;
  38391. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  38392. begin
  38393. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  38394. end;
  38395. procedure TBMX_BMXCON.setBMXERRICD; inline;
  38396. begin
  38397. pTDefRegMap(@Self)^.&set := $00080000;
  38398. end;
  38399. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  38400. begin
  38401. pTDefRegMap(@Self)^.clr := $00080000;
  38402. end;
  38403. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  38404. begin
  38405. if thebits = 0 then
  38406. pTDefRegMap(@Self)^.clr := $00080000
  38407. else
  38408. pTDefRegMap(@Self)^.&set := $00080000;
  38409. end;
  38410. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  38411. begin
  38412. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  38413. end;
  38414. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  38415. begin
  38416. pTDefRegMap(@Self)^.&set := $00100000;
  38417. end;
  38418. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  38419. begin
  38420. pTDefRegMap(@Self)^.clr := $00100000;
  38421. end;
  38422. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  38423. begin
  38424. if thebits = 0 then
  38425. pTDefRegMap(@Self)^.clr := $00100000
  38426. else
  38427. pTDefRegMap(@Self)^.&set := $00100000;
  38428. end;
  38429. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  38430. begin
  38431. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  38432. end;
  38433. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  38434. begin
  38435. pTDefRegMap(@Self)^.&set := $04000000;
  38436. end;
  38437. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  38438. begin
  38439. pTDefRegMap(@Self)^.clr := $04000000;
  38440. end;
  38441. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  38442. begin
  38443. if thebits = 0 then
  38444. pTDefRegMap(@Self)^.clr := $04000000
  38445. else
  38446. pTDefRegMap(@Self)^.&set := $04000000;
  38447. end;
  38448. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  38449. begin
  38450. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  38451. end;
  38452. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  38453. begin
  38454. pTDefRegMap(@Self)^.val := thebits;
  38455. end;
  38456. function TBMX_BMXCON.getw : TBits_32; inline;
  38457. begin
  38458. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38459. end;
  38460. procedure TDMAC_DMACON.setDMABUSY; inline;
  38461. begin
  38462. pTDefRegMap(@Self)^.&set := $00000800;
  38463. end;
  38464. procedure TDMAC_DMACON.clearDMABUSY; inline;
  38465. begin
  38466. pTDefRegMap(@Self)^.clr := $00000800;
  38467. end;
  38468. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  38469. begin
  38470. if thebits = 0 then
  38471. pTDefRegMap(@Self)^.clr := $00000800
  38472. else
  38473. pTDefRegMap(@Self)^.&set := $00000800;
  38474. end;
  38475. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  38476. begin
  38477. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38478. end;
  38479. procedure TDMAC_DMACON.setSUSPEND; inline;
  38480. begin
  38481. pTDefRegMap(@Self)^.&set := $00001000;
  38482. end;
  38483. procedure TDMAC_DMACON.clearSUSPEND; inline;
  38484. begin
  38485. pTDefRegMap(@Self)^.clr := $00001000;
  38486. end;
  38487. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  38488. begin
  38489. if thebits = 0 then
  38490. pTDefRegMap(@Self)^.clr := $00001000
  38491. else
  38492. pTDefRegMap(@Self)^.&set := $00001000;
  38493. end;
  38494. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  38495. begin
  38496. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38497. end;
  38498. procedure TDMAC_DMACON.setON; inline;
  38499. begin
  38500. pTDefRegMap(@Self)^.&set := $00008000;
  38501. end;
  38502. procedure TDMAC_DMACON.clearON; inline;
  38503. begin
  38504. pTDefRegMap(@Self)^.clr := $00008000;
  38505. end;
  38506. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  38507. begin
  38508. if thebits = 0 then
  38509. pTDefRegMap(@Self)^.clr := $00008000
  38510. else
  38511. pTDefRegMap(@Self)^.&set := $00008000;
  38512. end;
  38513. function TDMAC_DMACON.getON : TBits_1; inline;
  38514. begin
  38515. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38516. end;
  38517. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  38518. begin
  38519. pTDefRegMap(@Self)^.val := thebits;
  38520. end;
  38521. function TDMAC_DMACON.getw : TBits_32; inline;
  38522. begin
  38523. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38524. end;
  38525. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  38526. begin
  38527. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  38528. end;
  38529. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  38530. begin
  38531. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  38532. end;
  38533. procedure TDMAC_DMASTAT.setRDWR; inline;
  38534. begin
  38535. pTDefRegMap(@Self)^.&set := $00000008;
  38536. end;
  38537. procedure TDMAC_DMASTAT.clearRDWR; inline;
  38538. begin
  38539. pTDefRegMap(@Self)^.clr := $00000008;
  38540. end;
  38541. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  38542. begin
  38543. if thebits = 0 then
  38544. pTDefRegMap(@Self)^.clr := $00000008
  38545. else
  38546. pTDefRegMap(@Self)^.&set := $00000008;
  38547. end;
  38548. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  38549. begin
  38550. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38551. end;
  38552. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  38553. begin
  38554. pTDefRegMap(@Self)^.val := thebits;
  38555. end;
  38556. function TDMAC_DMASTAT.getw : TBits_32; inline;
  38557. begin
  38558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38559. end;
  38560. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  38561. begin
  38562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  38563. end;
  38564. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  38565. begin
  38566. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  38567. end;
  38568. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  38569. begin
  38570. pTDefRegMap(@Self)^.&set := $00000020;
  38571. end;
  38572. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  38573. begin
  38574. pTDefRegMap(@Self)^.clr := $00000020;
  38575. end;
  38576. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  38577. begin
  38578. if thebits = 0 then
  38579. pTDefRegMap(@Self)^.clr := $00000020
  38580. else
  38581. pTDefRegMap(@Self)^.&set := $00000020;
  38582. end;
  38583. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  38584. begin
  38585. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38586. end;
  38587. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  38588. begin
  38589. pTDefRegMap(@Self)^.&set := $00000040;
  38590. end;
  38591. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  38592. begin
  38593. pTDefRegMap(@Self)^.clr := $00000040;
  38594. end;
  38595. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  38596. begin
  38597. if thebits = 0 then
  38598. pTDefRegMap(@Self)^.clr := $00000040
  38599. else
  38600. pTDefRegMap(@Self)^.&set := $00000040;
  38601. end;
  38602. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  38603. begin
  38604. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38605. end;
  38606. procedure TDMAC_DCRCCON.setCRCEN; inline;
  38607. begin
  38608. pTDefRegMap(@Self)^.&set := $00000080;
  38609. end;
  38610. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  38611. begin
  38612. pTDefRegMap(@Self)^.clr := $00000080;
  38613. end;
  38614. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  38615. begin
  38616. if thebits = 0 then
  38617. pTDefRegMap(@Self)^.clr := $00000080
  38618. else
  38619. pTDefRegMap(@Self)^.&set := $00000080;
  38620. end;
  38621. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  38622. begin
  38623. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38624. end;
  38625. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  38626. begin
  38627. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  38628. end;
  38629. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  38630. begin
  38631. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  38632. end;
  38633. procedure TDMAC_DCRCCON.setBITO; inline;
  38634. begin
  38635. pTDefRegMap(@Self)^.&set := $01000000;
  38636. end;
  38637. procedure TDMAC_DCRCCON.clearBITO; inline;
  38638. begin
  38639. pTDefRegMap(@Self)^.clr := $01000000;
  38640. end;
  38641. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  38642. begin
  38643. if thebits = 0 then
  38644. pTDefRegMap(@Self)^.clr := $01000000
  38645. else
  38646. pTDefRegMap(@Self)^.&set := $01000000;
  38647. end;
  38648. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  38649. begin
  38650. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  38651. end;
  38652. procedure TDMAC_DCRCCON.setWBO; inline;
  38653. begin
  38654. pTDefRegMap(@Self)^.&set := $08000000;
  38655. end;
  38656. procedure TDMAC_DCRCCON.clearWBO; inline;
  38657. begin
  38658. pTDefRegMap(@Self)^.clr := $08000000;
  38659. end;
  38660. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  38661. begin
  38662. if thebits = 0 then
  38663. pTDefRegMap(@Self)^.clr := $08000000
  38664. else
  38665. pTDefRegMap(@Self)^.&set := $08000000;
  38666. end;
  38667. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  38668. begin
  38669. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  38670. end;
  38671. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  38672. begin
  38673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  38674. end;
  38675. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  38676. begin
  38677. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  38678. end;
  38679. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  38680. begin
  38681. pTDefRegMap(@Self)^.val := thebits;
  38682. end;
  38683. function TDMAC_DCRCCON.getw : TBits_32; inline;
  38684. begin
  38685. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38686. end;
  38687. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  38688. begin
  38689. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38690. end;
  38691. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  38692. begin
  38693. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38694. end;
  38695. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  38696. begin
  38697. pTDefRegMap(@Self)^.&set := $00000004;
  38698. end;
  38699. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  38700. begin
  38701. pTDefRegMap(@Self)^.clr := $00000004;
  38702. end;
  38703. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  38704. begin
  38705. if thebits = 0 then
  38706. pTDefRegMap(@Self)^.clr := $00000004
  38707. else
  38708. pTDefRegMap(@Self)^.&set := $00000004;
  38709. end;
  38710. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  38711. begin
  38712. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38713. end;
  38714. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  38715. begin
  38716. pTDefRegMap(@Self)^.&set := $00000010;
  38717. end;
  38718. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  38719. begin
  38720. pTDefRegMap(@Self)^.clr := $00000010;
  38721. end;
  38722. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  38723. begin
  38724. if thebits = 0 then
  38725. pTDefRegMap(@Self)^.clr := $00000010
  38726. else
  38727. pTDefRegMap(@Self)^.&set := $00000010;
  38728. end;
  38729. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  38730. begin
  38731. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38732. end;
  38733. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  38734. begin
  38735. pTDefRegMap(@Self)^.&set := $00000020;
  38736. end;
  38737. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  38738. begin
  38739. pTDefRegMap(@Self)^.clr := $00000020;
  38740. end;
  38741. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  38742. begin
  38743. if thebits = 0 then
  38744. pTDefRegMap(@Self)^.clr := $00000020
  38745. else
  38746. pTDefRegMap(@Self)^.&set := $00000020;
  38747. end;
  38748. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  38749. begin
  38750. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38751. end;
  38752. procedure TDMAC0_DCH0CON.setCHAED; inline;
  38753. begin
  38754. pTDefRegMap(@Self)^.&set := $00000040;
  38755. end;
  38756. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  38757. begin
  38758. pTDefRegMap(@Self)^.clr := $00000040;
  38759. end;
  38760. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  38761. begin
  38762. if thebits = 0 then
  38763. pTDefRegMap(@Self)^.clr := $00000040
  38764. else
  38765. pTDefRegMap(@Self)^.&set := $00000040;
  38766. end;
  38767. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  38768. begin
  38769. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38770. end;
  38771. procedure TDMAC0_DCH0CON.setCHEN; inline;
  38772. begin
  38773. pTDefRegMap(@Self)^.&set := $00000080;
  38774. end;
  38775. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  38776. begin
  38777. pTDefRegMap(@Self)^.clr := $00000080;
  38778. end;
  38779. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  38780. begin
  38781. if thebits = 0 then
  38782. pTDefRegMap(@Self)^.clr := $00000080
  38783. else
  38784. pTDefRegMap(@Self)^.&set := $00000080;
  38785. end;
  38786. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  38787. begin
  38788. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38789. end;
  38790. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  38791. begin
  38792. pTDefRegMap(@Self)^.&set := $00000100;
  38793. end;
  38794. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  38795. begin
  38796. pTDefRegMap(@Self)^.clr := $00000100;
  38797. end;
  38798. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  38799. begin
  38800. if thebits = 0 then
  38801. pTDefRegMap(@Self)^.clr := $00000100
  38802. else
  38803. pTDefRegMap(@Self)^.&set := $00000100;
  38804. end;
  38805. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  38806. begin
  38807. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38808. end;
  38809. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  38810. begin
  38811. pTDefRegMap(@Self)^.&set := $00008000;
  38812. end;
  38813. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  38814. begin
  38815. pTDefRegMap(@Self)^.clr := $00008000;
  38816. end;
  38817. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  38818. begin
  38819. if thebits = 0 then
  38820. pTDefRegMap(@Self)^.clr := $00008000
  38821. else
  38822. pTDefRegMap(@Self)^.&set := $00008000;
  38823. end;
  38824. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  38825. begin
  38826. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38827. end;
  38828. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  38829. begin
  38830. pTDefRegMap(@Self)^.val := thebits;
  38831. end;
  38832. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  38833. begin
  38834. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38835. end;
  38836. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  38837. begin
  38838. pTDefRegMap(@Self)^.&set := $00000008;
  38839. end;
  38840. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  38841. begin
  38842. pTDefRegMap(@Self)^.clr := $00000008;
  38843. end;
  38844. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  38845. begin
  38846. if thebits = 0 then
  38847. pTDefRegMap(@Self)^.clr := $00000008
  38848. else
  38849. pTDefRegMap(@Self)^.&set := $00000008;
  38850. end;
  38851. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  38852. begin
  38853. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38854. end;
  38855. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  38856. begin
  38857. pTDefRegMap(@Self)^.&set := $00000010;
  38858. end;
  38859. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  38860. begin
  38861. pTDefRegMap(@Self)^.clr := $00000010;
  38862. end;
  38863. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  38864. begin
  38865. if thebits = 0 then
  38866. pTDefRegMap(@Self)^.clr := $00000010
  38867. else
  38868. pTDefRegMap(@Self)^.&set := $00000010;
  38869. end;
  38870. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  38871. begin
  38872. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38873. end;
  38874. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  38875. begin
  38876. pTDefRegMap(@Self)^.&set := $00000020;
  38877. end;
  38878. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  38879. begin
  38880. pTDefRegMap(@Self)^.clr := $00000020;
  38881. end;
  38882. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  38883. begin
  38884. if thebits = 0 then
  38885. pTDefRegMap(@Self)^.clr := $00000020
  38886. else
  38887. pTDefRegMap(@Self)^.&set := $00000020;
  38888. end;
  38889. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  38890. begin
  38891. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38892. end;
  38893. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  38894. begin
  38895. pTDefRegMap(@Self)^.&set := $00000040;
  38896. end;
  38897. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  38898. begin
  38899. pTDefRegMap(@Self)^.clr := $00000040;
  38900. end;
  38901. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  38902. begin
  38903. if thebits = 0 then
  38904. pTDefRegMap(@Self)^.clr := $00000040
  38905. else
  38906. pTDefRegMap(@Self)^.&set := $00000040;
  38907. end;
  38908. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  38909. begin
  38910. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38911. end;
  38912. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  38913. begin
  38914. pTDefRegMap(@Self)^.&set := $00000080;
  38915. end;
  38916. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  38917. begin
  38918. pTDefRegMap(@Self)^.clr := $00000080;
  38919. end;
  38920. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  38921. begin
  38922. if thebits = 0 then
  38923. pTDefRegMap(@Self)^.clr := $00000080
  38924. else
  38925. pTDefRegMap(@Self)^.&set := $00000080;
  38926. end;
  38927. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  38928. begin
  38929. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38930. end;
  38931. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  38932. begin
  38933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  38934. end;
  38935. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  38936. begin
  38937. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  38938. end;
  38939. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  38940. begin
  38941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  38942. end;
  38943. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  38944. begin
  38945. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  38946. end;
  38947. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  38948. begin
  38949. pTDefRegMap(@Self)^.val := thebits;
  38950. end;
  38951. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  38952. begin
  38953. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38954. end;
  38955. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  38956. begin
  38957. pTDefRegMap(@Self)^.&set := $00000001;
  38958. end;
  38959. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  38960. begin
  38961. pTDefRegMap(@Self)^.clr := $00000001;
  38962. end;
  38963. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  38964. begin
  38965. if thebits = 0 then
  38966. pTDefRegMap(@Self)^.clr := $00000001
  38967. else
  38968. pTDefRegMap(@Self)^.&set := $00000001;
  38969. end;
  38970. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  38971. begin
  38972. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38973. end;
  38974. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  38975. begin
  38976. pTDefRegMap(@Self)^.&set := $00000002;
  38977. end;
  38978. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  38979. begin
  38980. pTDefRegMap(@Self)^.clr := $00000002;
  38981. end;
  38982. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  38983. begin
  38984. if thebits = 0 then
  38985. pTDefRegMap(@Self)^.clr := $00000002
  38986. else
  38987. pTDefRegMap(@Self)^.&set := $00000002;
  38988. end;
  38989. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  38990. begin
  38991. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38992. end;
  38993. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  38994. begin
  38995. pTDefRegMap(@Self)^.&set := $00000004;
  38996. end;
  38997. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  38998. begin
  38999. pTDefRegMap(@Self)^.clr := $00000004;
  39000. end;
  39001. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  39002. begin
  39003. if thebits = 0 then
  39004. pTDefRegMap(@Self)^.clr := $00000004
  39005. else
  39006. pTDefRegMap(@Self)^.&set := $00000004;
  39007. end;
  39008. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  39009. begin
  39010. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39011. end;
  39012. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  39013. begin
  39014. pTDefRegMap(@Self)^.&set := $00000008;
  39015. end;
  39016. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  39017. begin
  39018. pTDefRegMap(@Self)^.clr := $00000008;
  39019. end;
  39020. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  39021. begin
  39022. if thebits = 0 then
  39023. pTDefRegMap(@Self)^.clr := $00000008
  39024. else
  39025. pTDefRegMap(@Self)^.&set := $00000008;
  39026. end;
  39027. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  39028. begin
  39029. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39030. end;
  39031. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  39032. begin
  39033. pTDefRegMap(@Self)^.&set := $00000010;
  39034. end;
  39035. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  39036. begin
  39037. pTDefRegMap(@Self)^.clr := $00000010;
  39038. end;
  39039. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  39040. begin
  39041. if thebits = 0 then
  39042. pTDefRegMap(@Self)^.clr := $00000010
  39043. else
  39044. pTDefRegMap(@Self)^.&set := $00000010;
  39045. end;
  39046. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  39047. begin
  39048. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39049. end;
  39050. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  39051. begin
  39052. pTDefRegMap(@Self)^.&set := $00000020;
  39053. end;
  39054. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  39055. begin
  39056. pTDefRegMap(@Self)^.clr := $00000020;
  39057. end;
  39058. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  39059. begin
  39060. if thebits = 0 then
  39061. pTDefRegMap(@Self)^.clr := $00000020
  39062. else
  39063. pTDefRegMap(@Self)^.&set := $00000020;
  39064. end;
  39065. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  39066. begin
  39067. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39068. end;
  39069. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  39070. begin
  39071. pTDefRegMap(@Self)^.&set := $00000040;
  39072. end;
  39073. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  39074. begin
  39075. pTDefRegMap(@Self)^.clr := $00000040;
  39076. end;
  39077. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  39078. begin
  39079. if thebits = 0 then
  39080. pTDefRegMap(@Self)^.clr := $00000040
  39081. else
  39082. pTDefRegMap(@Self)^.&set := $00000040;
  39083. end;
  39084. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  39085. begin
  39086. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39087. end;
  39088. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  39089. begin
  39090. pTDefRegMap(@Self)^.&set := $00000080;
  39091. end;
  39092. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  39093. begin
  39094. pTDefRegMap(@Self)^.clr := $00000080;
  39095. end;
  39096. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  39097. begin
  39098. if thebits = 0 then
  39099. pTDefRegMap(@Self)^.clr := $00000080
  39100. else
  39101. pTDefRegMap(@Self)^.&set := $00000080;
  39102. end;
  39103. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  39104. begin
  39105. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39106. end;
  39107. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  39108. begin
  39109. pTDefRegMap(@Self)^.&set := $00010000;
  39110. end;
  39111. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  39112. begin
  39113. pTDefRegMap(@Self)^.clr := $00010000;
  39114. end;
  39115. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  39116. begin
  39117. if thebits = 0 then
  39118. pTDefRegMap(@Self)^.clr := $00010000
  39119. else
  39120. pTDefRegMap(@Self)^.&set := $00010000;
  39121. end;
  39122. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  39123. begin
  39124. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39125. end;
  39126. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  39127. begin
  39128. pTDefRegMap(@Self)^.&set := $00020000;
  39129. end;
  39130. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  39131. begin
  39132. pTDefRegMap(@Self)^.clr := $00020000;
  39133. end;
  39134. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  39135. begin
  39136. if thebits = 0 then
  39137. pTDefRegMap(@Self)^.clr := $00020000
  39138. else
  39139. pTDefRegMap(@Self)^.&set := $00020000;
  39140. end;
  39141. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  39142. begin
  39143. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39144. end;
  39145. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  39146. begin
  39147. pTDefRegMap(@Self)^.&set := $00040000;
  39148. end;
  39149. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  39150. begin
  39151. pTDefRegMap(@Self)^.clr := $00040000;
  39152. end;
  39153. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  39154. begin
  39155. if thebits = 0 then
  39156. pTDefRegMap(@Self)^.clr := $00040000
  39157. else
  39158. pTDefRegMap(@Self)^.&set := $00040000;
  39159. end;
  39160. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  39161. begin
  39162. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39163. end;
  39164. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  39165. begin
  39166. pTDefRegMap(@Self)^.&set := $00080000;
  39167. end;
  39168. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  39169. begin
  39170. pTDefRegMap(@Self)^.clr := $00080000;
  39171. end;
  39172. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  39173. begin
  39174. if thebits = 0 then
  39175. pTDefRegMap(@Self)^.clr := $00080000
  39176. else
  39177. pTDefRegMap(@Self)^.&set := $00080000;
  39178. end;
  39179. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  39180. begin
  39181. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39182. end;
  39183. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  39184. begin
  39185. pTDefRegMap(@Self)^.&set := $00100000;
  39186. end;
  39187. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  39188. begin
  39189. pTDefRegMap(@Self)^.clr := $00100000;
  39190. end;
  39191. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  39192. begin
  39193. if thebits = 0 then
  39194. pTDefRegMap(@Self)^.clr := $00100000
  39195. else
  39196. pTDefRegMap(@Self)^.&set := $00100000;
  39197. end;
  39198. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  39199. begin
  39200. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  39201. end;
  39202. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  39203. begin
  39204. pTDefRegMap(@Self)^.&set := $00200000;
  39205. end;
  39206. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  39207. begin
  39208. pTDefRegMap(@Self)^.clr := $00200000;
  39209. end;
  39210. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  39211. begin
  39212. if thebits = 0 then
  39213. pTDefRegMap(@Self)^.clr := $00200000
  39214. else
  39215. pTDefRegMap(@Self)^.&set := $00200000;
  39216. end;
  39217. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  39218. begin
  39219. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  39220. end;
  39221. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  39222. begin
  39223. pTDefRegMap(@Self)^.&set := $00400000;
  39224. end;
  39225. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  39226. begin
  39227. pTDefRegMap(@Self)^.clr := $00400000;
  39228. end;
  39229. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  39230. begin
  39231. if thebits = 0 then
  39232. pTDefRegMap(@Self)^.clr := $00400000
  39233. else
  39234. pTDefRegMap(@Self)^.&set := $00400000;
  39235. end;
  39236. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  39237. begin
  39238. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39239. end;
  39240. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  39241. begin
  39242. pTDefRegMap(@Self)^.&set := $00800000;
  39243. end;
  39244. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  39245. begin
  39246. pTDefRegMap(@Self)^.clr := $00800000;
  39247. end;
  39248. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  39249. begin
  39250. if thebits = 0 then
  39251. pTDefRegMap(@Self)^.clr := $00800000
  39252. else
  39253. pTDefRegMap(@Self)^.&set := $00800000;
  39254. end;
  39255. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  39256. begin
  39257. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39258. end;
  39259. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  39260. begin
  39261. pTDefRegMap(@Self)^.val := thebits;
  39262. end;
  39263. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  39264. begin
  39265. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39266. end;
  39267. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  39268. begin
  39269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  39270. end;
  39271. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  39272. begin
  39273. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  39274. end;
  39275. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  39276. begin
  39277. pTDefRegMap(@Self)^.&set := $00000004;
  39278. end;
  39279. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  39280. begin
  39281. pTDefRegMap(@Self)^.clr := $00000004;
  39282. end;
  39283. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  39284. begin
  39285. if thebits = 0 then
  39286. pTDefRegMap(@Self)^.clr := $00000004
  39287. else
  39288. pTDefRegMap(@Self)^.&set := $00000004;
  39289. end;
  39290. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  39291. begin
  39292. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39293. end;
  39294. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  39295. begin
  39296. pTDefRegMap(@Self)^.&set := $00000010;
  39297. end;
  39298. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  39299. begin
  39300. pTDefRegMap(@Self)^.clr := $00000010;
  39301. end;
  39302. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  39303. begin
  39304. if thebits = 0 then
  39305. pTDefRegMap(@Self)^.clr := $00000010
  39306. else
  39307. pTDefRegMap(@Self)^.&set := $00000010;
  39308. end;
  39309. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  39310. begin
  39311. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39312. end;
  39313. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  39314. begin
  39315. pTDefRegMap(@Self)^.&set := $00000020;
  39316. end;
  39317. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  39318. begin
  39319. pTDefRegMap(@Self)^.clr := $00000020;
  39320. end;
  39321. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  39322. begin
  39323. if thebits = 0 then
  39324. pTDefRegMap(@Self)^.clr := $00000020
  39325. else
  39326. pTDefRegMap(@Self)^.&set := $00000020;
  39327. end;
  39328. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  39329. begin
  39330. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39331. end;
  39332. procedure TDMAC1_DCH1CON.setCHAED; inline;
  39333. begin
  39334. pTDefRegMap(@Self)^.&set := $00000040;
  39335. end;
  39336. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  39337. begin
  39338. pTDefRegMap(@Self)^.clr := $00000040;
  39339. end;
  39340. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  39341. begin
  39342. if thebits = 0 then
  39343. pTDefRegMap(@Self)^.clr := $00000040
  39344. else
  39345. pTDefRegMap(@Self)^.&set := $00000040;
  39346. end;
  39347. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  39348. begin
  39349. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39350. end;
  39351. procedure TDMAC1_DCH1CON.setCHEN; inline;
  39352. begin
  39353. pTDefRegMap(@Self)^.&set := $00000080;
  39354. end;
  39355. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  39356. begin
  39357. pTDefRegMap(@Self)^.clr := $00000080;
  39358. end;
  39359. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  39360. begin
  39361. if thebits = 0 then
  39362. pTDefRegMap(@Self)^.clr := $00000080
  39363. else
  39364. pTDefRegMap(@Self)^.&set := $00000080;
  39365. end;
  39366. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  39367. begin
  39368. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39369. end;
  39370. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  39371. begin
  39372. pTDefRegMap(@Self)^.&set := $00000100;
  39373. end;
  39374. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  39375. begin
  39376. pTDefRegMap(@Self)^.clr := $00000100;
  39377. end;
  39378. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  39379. begin
  39380. if thebits = 0 then
  39381. pTDefRegMap(@Self)^.clr := $00000100
  39382. else
  39383. pTDefRegMap(@Self)^.&set := $00000100;
  39384. end;
  39385. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  39386. begin
  39387. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39388. end;
  39389. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  39390. begin
  39391. pTDefRegMap(@Self)^.&set := $00008000;
  39392. end;
  39393. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  39394. begin
  39395. pTDefRegMap(@Self)^.clr := $00008000;
  39396. end;
  39397. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  39398. begin
  39399. if thebits = 0 then
  39400. pTDefRegMap(@Self)^.clr := $00008000
  39401. else
  39402. pTDefRegMap(@Self)^.&set := $00008000;
  39403. end;
  39404. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  39405. begin
  39406. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39407. end;
  39408. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  39409. begin
  39410. pTDefRegMap(@Self)^.val := thebits;
  39411. end;
  39412. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  39413. begin
  39414. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39415. end;
  39416. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  39417. begin
  39418. pTDefRegMap(@Self)^.&set := $00000008;
  39419. end;
  39420. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  39421. begin
  39422. pTDefRegMap(@Self)^.clr := $00000008;
  39423. end;
  39424. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  39425. begin
  39426. if thebits = 0 then
  39427. pTDefRegMap(@Self)^.clr := $00000008
  39428. else
  39429. pTDefRegMap(@Self)^.&set := $00000008;
  39430. end;
  39431. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  39432. begin
  39433. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39434. end;
  39435. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  39436. begin
  39437. pTDefRegMap(@Self)^.&set := $00000010;
  39438. end;
  39439. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  39440. begin
  39441. pTDefRegMap(@Self)^.clr := $00000010;
  39442. end;
  39443. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  39444. begin
  39445. if thebits = 0 then
  39446. pTDefRegMap(@Self)^.clr := $00000010
  39447. else
  39448. pTDefRegMap(@Self)^.&set := $00000010;
  39449. end;
  39450. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  39451. begin
  39452. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39453. end;
  39454. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  39455. begin
  39456. pTDefRegMap(@Self)^.&set := $00000020;
  39457. end;
  39458. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  39459. begin
  39460. pTDefRegMap(@Self)^.clr := $00000020;
  39461. end;
  39462. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  39463. begin
  39464. if thebits = 0 then
  39465. pTDefRegMap(@Self)^.clr := $00000020
  39466. else
  39467. pTDefRegMap(@Self)^.&set := $00000020;
  39468. end;
  39469. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  39470. begin
  39471. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39472. end;
  39473. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  39474. begin
  39475. pTDefRegMap(@Self)^.&set := $00000040;
  39476. end;
  39477. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  39478. begin
  39479. pTDefRegMap(@Self)^.clr := $00000040;
  39480. end;
  39481. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  39482. begin
  39483. if thebits = 0 then
  39484. pTDefRegMap(@Self)^.clr := $00000040
  39485. else
  39486. pTDefRegMap(@Self)^.&set := $00000040;
  39487. end;
  39488. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  39489. begin
  39490. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39491. end;
  39492. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  39493. begin
  39494. pTDefRegMap(@Self)^.&set := $00000080;
  39495. end;
  39496. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  39497. begin
  39498. pTDefRegMap(@Self)^.clr := $00000080;
  39499. end;
  39500. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  39501. begin
  39502. if thebits = 0 then
  39503. pTDefRegMap(@Self)^.clr := $00000080
  39504. else
  39505. pTDefRegMap(@Self)^.&set := $00000080;
  39506. end;
  39507. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  39508. begin
  39509. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39510. end;
  39511. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  39512. begin
  39513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  39514. end;
  39515. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  39516. begin
  39517. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  39518. end;
  39519. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  39520. begin
  39521. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  39522. end;
  39523. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  39524. begin
  39525. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  39526. end;
  39527. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  39528. begin
  39529. pTDefRegMap(@Self)^.val := thebits;
  39530. end;
  39531. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  39532. begin
  39533. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39534. end;
  39535. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  39536. begin
  39537. pTDefRegMap(@Self)^.&set := $00000001;
  39538. end;
  39539. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  39540. begin
  39541. pTDefRegMap(@Self)^.clr := $00000001;
  39542. end;
  39543. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  39544. begin
  39545. if thebits = 0 then
  39546. pTDefRegMap(@Self)^.clr := $00000001
  39547. else
  39548. pTDefRegMap(@Self)^.&set := $00000001;
  39549. end;
  39550. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  39551. begin
  39552. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39553. end;
  39554. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  39555. begin
  39556. pTDefRegMap(@Self)^.&set := $00000002;
  39557. end;
  39558. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  39559. begin
  39560. pTDefRegMap(@Self)^.clr := $00000002;
  39561. end;
  39562. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  39563. begin
  39564. if thebits = 0 then
  39565. pTDefRegMap(@Self)^.clr := $00000002
  39566. else
  39567. pTDefRegMap(@Self)^.&set := $00000002;
  39568. end;
  39569. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  39570. begin
  39571. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39572. end;
  39573. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  39574. begin
  39575. pTDefRegMap(@Self)^.&set := $00000004;
  39576. end;
  39577. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  39578. begin
  39579. pTDefRegMap(@Self)^.clr := $00000004;
  39580. end;
  39581. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  39582. begin
  39583. if thebits = 0 then
  39584. pTDefRegMap(@Self)^.clr := $00000004
  39585. else
  39586. pTDefRegMap(@Self)^.&set := $00000004;
  39587. end;
  39588. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  39589. begin
  39590. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39591. end;
  39592. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  39593. begin
  39594. pTDefRegMap(@Self)^.&set := $00000008;
  39595. end;
  39596. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  39597. begin
  39598. pTDefRegMap(@Self)^.clr := $00000008;
  39599. end;
  39600. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  39601. begin
  39602. if thebits = 0 then
  39603. pTDefRegMap(@Self)^.clr := $00000008
  39604. else
  39605. pTDefRegMap(@Self)^.&set := $00000008;
  39606. end;
  39607. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  39608. begin
  39609. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39610. end;
  39611. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  39612. begin
  39613. pTDefRegMap(@Self)^.&set := $00000010;
  39614. end;
  39615. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  39616. begin
  39617. pTDefRegMap(@Self)^.clr := $00000010;
  39618. end;
  39619. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  39620. begin
  39621. if thebits = 0 then
  39622. pTDefRegMap(@Self)^.clr := $00000010
  39623. else
  39624. pTDefRegMap(@Self)^.&set := $00000010;
  39625. end;
  39626. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  39627. begin
  39628. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39629. end;
  39630. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  39631. begin
  39632. pTDefRegMap(@Self)^.&set := $00000020;
  39633. end;
  39634. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  39635. begin
  39636. pTDefRegMap(@Self)^.clr := $00000020;
  39637. end;
  39638. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  39639. begin
  39640. if thebits = 0 then
  39641. pTDefRegMap(@Self)^.clr := $00000020
  39642. else
  39643. pTDefRegMap(@Self)^.&set := $00000020;
  39644. end;
  39645. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  39646. begin
  39647. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39648. end;
  39649. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  39650. begin
  39651. pTDefRegMap(@Self)^.&set := $00000040;
  39652. end;
  39653. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  39654. begin
  39655. pTDefRegMap(@Self)^.clr := $00000040;
  39656. end;
  39657. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  39658. begin
  39659. if thebits = 0 then
  39660. pTDefRegMap(@Self)^.clr := $00000040
  39661. else
  39662. pTDefRegMap(@Self)^.&set := $00000040;
  39663. end;
  39664. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  39665. begin
  39666. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39667. end;
  39668. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  39669. begin
  39670. pTDefRegMap(@Self)^.&set := $00000080;
  39671. end;
  39672. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  39673. begin
  39674. pTDefRegMap(@Self)^.clr := $00000080;
  39675. end;
  39676. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  39677. begin
  39678. if thebits = 0 then
  39679. pTDefRegMap(@Self)^.clr := $00000080
  39680. else
  39681. pTDefRegMap(@Self)^.&set := $00000080;
  39682. end;
  39683. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  39684. begin
  39685. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39686. end;
  39687. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  39688. begin
  39689. pTDefRegMap(@Self)^.&set := $00010000;
  39690. end;
  39691. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  39692. begin
  39693. pTDefRegMap(@Self)^.clr := $00010000;
  39694. end;
  39695. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  39696. begin
  39697. if thebits = 0 then
  39698. pTDefRegMap(@Self)^.clr := $00010000
  39699. else
  39700. pTDefRegMap(@Self)^.&set := $00010000;
  39701. end;
  39702. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  39703. begin
  39704. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39705. end;
  39706. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  39707. begin
  39708. pTDefRegMap(@Self)^.&set := $00020000;
  39709. end;
  39710. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  39711. begin
  39712. pTDefRegMap(@Self)^.clr := $00020000;
  39713. end;
  39714. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  39715. begin
  39716. if thebits = 0 then
  39717. pTDefRegMap(@Self)^.clr := $00020000
  39718. else
  39719. pTDefRegMap(@Self)^.&set := $00020000;
  39720. end;
  39721. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  39722. begin
  39723. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39724. end;
  39725. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  39726. begin
  39727. pTDefRegMap(@Self)^.&set := $00040000;
  39728. end;
  39729. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  39730. begin
  39731. pTDefRegMap(@Self)^.clr := $00040000;
  39732. end;
  39733. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  39734. begin
  39735. if thebits = 0 then
  39736. pTDefRegMap(@Self)^.clr := $00040000
  39737. else
  39738. pTDefRegMap(@Self)^.&set := $00040000;
  39739. end;
  39740. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  39741. begin
  39742. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39743. end;
  39744. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  39745. begin
  39746. pTDefRegMap(@Self)^.&set := $00080000;
  39747. end;
  39748. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  39749. begin
  39750. pTDefRegMap(@Self)^.clr := $00080000;
  39751. end;
  39752. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  39753. begin
  39754. if thebits = 0 then
  39755. pTDefRegMap(@Self)^.clr := $00080000
  39756. else
  39757. pTDefRegMap(@Self)^.&set := $00080000;
  39758. end;
  39759. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  39760. begin
  39761. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39762. end;
  39763. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  39764. begin
  39765. pTDefRegMap(@Self)^.&set := $00100000;
  39766. end;
  39767. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  39768. begin
  39769. pTDefRegMap(@Self)^.clr := $00100000;
  39770. end;
  39771. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  39772. begin
  39773. if thebits = 0 then
  39774. pTDefRegMap(@Self)^.clr := $00100000
  39775. else
  39776. pTDefRegMap(@Self)^.&set := $00100000;
  39777. end;
  39778. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  39779. begin
  39780. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  39781. end;
  39782. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  39783. begin
  39784. pTDefRegMap(@Self)^.&set := $00200000;
  39785. end;
  39786. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  39787. begin
  39788. pTDefRegMap(@Self)^.clr := $00200000;
  39789. end;
  39790. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  39791. begin
  39792. if thebits = 0 then
  39793. pTDefRegMap(@Self)^.clr := $00200000
  39794. else
  39795. pTDefRegMap(@Self)^.&set := $00200000;
  39796. end;
  39797. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  39798. begin
  39799. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  39800. end;
  39801. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  39802. begin
  39803. pTDefRegMap(@Self)^.&set := $00400000;
  39804. end;
  39805. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  39806. begin
  39807. pTDefRegMap(@Self)^.clr := $00400000;
  39808. end;
  39809. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  39810. begin
  39811. if thebits = 0 then
  39812. pTDefRegMap(@Self)^.clr := $00400000
  39813. else
  39814. pTDefRegMap(@Self)^.&set := $00400000;
  39815. end;
  39816. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  39817. begin
  39818. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39819. end;
  39820. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  39821. begin
  39822. pTDefRegMap(@Self)^.&set := $00800000;
  39823. end;
  39824. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  39825. begin
  39826. pTDefRegMap(@Self)^.clr := $00800000;
  39827. end;
  39828. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  39829. begin
  39830. if thebits = 0 then
  39831. pTDefRegMap(@Self)^.clr := $00800000
  39832. else
  39833. pTDefRegMap(@Self)^.&set := $00800000;
  39834. end;
  39835. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  39836. begin
  39837. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39838. end;
  39839. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  39840. begin
  39841. pTDefRegMap(@Self)^.val := thebits;
  39842. end;
  39843. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  39844. begin
  39845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39846. end;
  39847. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  39848. begin
  39849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  39850. end;
  39851. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  39852. begin
  39853. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  39854. end;
  39855. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  39856. begin
  39857. pTDefRegMap(@Self)^.&set := $00000004;
  39858. end;
  39859. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  39860. begin
  39861. pTDefRegMap(@Self)^.clr := $00000004;
  39862. end;
  39863. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  39864. begin
  39865. if thebits = 0 then
  39866. pTDefRegMap(@Self)^.clr := $00000004
  39867. else
  39868. pTDefRegMap(@Self)^.&set := $00000004;
  39869. end;
  39870. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  39871. begin
  39872. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39873. end;
  39874. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  39875. begin
  39876. pTDefRegMap(@Self)^.&set := $00000010;
  39877. end;
  39878. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  39879. begin
  39880. pTDefRegMap(@Self)^.clr := $00000010;
  39881. end;
  39882. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  39883. begin
  39884. if thebits = 0 then
  39885. pTDefRegMap(@Self)^.clr := $00000010
  39886. else
  39887. pTDefRegMap(@Self)^.&set := $00000010;
  39888. end;
  39889. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  39890. begin
  39891. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39892. end;
  39893. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  39894. begin
  39895. pTDefRegMap(@Self)^.&set := $00000020;
  39896. end;
  39897. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  39898. begin
  39899. pTDefRegMap(@Self)^.clr := $00000020;
  39900. end;
  39901. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  39902. begin
  39903. if thebits = 0 then
  39904. pTDefRegMap(@Self)^.clr := $00000020
  39905. else
  39906. pTDefRegMap(@Self)^.&set := $00000020;
  39907. end;
  39908. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  39909. begin
  39910. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39911. end;
  39912. procedure TDMAC2_DCH2CON.setCHAED; inline;
  39913. begin
  39914. pTDefRegMap(@Self)^.&set := $00000040;
  39915. end;
  39916. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  39917. begin
  39918. pTDefRegMap(@Self)^.clr := $00000040;
  39919. end;
  39920. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  39921. begin
  39922. if thebits = 0 then
  39923. pTDefRegMap(@Self)^.clr := $00000040
  39924. else
  39925. pTDefRegMap(@Self)^.&set := $00000040;
  39926. end;
  39927. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  39928. begin
  39929. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39930. end;
  39931. procedure TDMAC2_DCH2CON.setCHEN; inline;
  39932. begin
  39933. pTDefRegMap(@Self)^.&set := $00000080;
  39934. end;
  39935. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  39936. begin
  39937. pTDefRegMap(@Self)^.clr := $00000080;
  39938. end;
  39939. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  39940. begin
  39941. if thebits = 0 then
  39942. pTDefRegMap(@Self)^.clr := $00000080
  39943. else
  39944. pTDefRegMap(@Self)^.&set := $00000080;
  39945. end;
  39946. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  39947. begin
  39948. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39949. end;
  39950. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  39951. begin
  39952. pTDefRegMap(@Self)^.&set := $00000100;
  39953. end;
  39954. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  39955. begin
  39956. pTDefRegMap(@Self)^.clr := $00000100;
  39957. end;
  39958. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  39959. begin
  39960. if thebits = 0 then
  39961. pTDefRegMap(@Self)^.clr := $00000100
  39962. else
  39963. pTDefRegMap(@Self)^.&set := $00000100;
  39964. end;
  39965. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  39966. begin
  39967. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39968. end;
  39969. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  39970. begin
  39971. pTDefRegMap(@Self)^.&set := $00008000;
  39972. end;
  39973. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  39974. begin
  39975. pTDefRegMap(@Self)^.clr := $00008000;
  39976. end;
  39977. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  39978. begin
  39979. if thebits = 0 then
  39980. pTDefRegMap(@Self)^.clr := $00008000
  39981. else
  39982. pTDefRegMap(@Self)^.&set := $00008000;
  39983. end;
  39984. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  39985. begin
  39986. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39987. end;
  39988. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  39989. begin
  39990. pTDefRegMap(@Self)^.val := thebits;
  39991. end;
  39992. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  39993. begin
  39994. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39995. end;
  39996. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  39997. begin
  39998. pTDefRegMap(@Self)^.&set := $00000008;
  39999. end;
  40000. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  40001. begin
  40002. pTDefRegMap(@Self)^.clr := $00000008;
  40003. end;
  40004. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  40005. begin
  40006. if thebits = 0 then
  40007. pTDefRegMap(@Self)^.clr := $00000008
  40008. else
  40009. pTDefRegMap(@Self)^.&set := $00000008;
  40010. end;
  40011. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  40012. begin
  40013. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40014. end;
  40015. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  40016. begin
  40017. pTDefRegMap(@Self)^.&set := $00000010;
  40018. end;
  40019. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  40020. begin
  40021. pTDefRegMap(@Self)^.clr := $00000010;
  40022. end;
  40023. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  40024. begin
  40025. if thebits = 0 then
  40026. pTDefRegMap(@Self)^.clr := $00000010
  40027. else
  40028. pTDefRegMap(@Self)^.&set := $00000010;
  40029. end;
  40030. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  40031. begin
  40032. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40033. end;
  40034. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  40035. begin
  40036. pTDefRegMap(@Self)^.&set := $00000020;
  40037. end;
  40038. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  40039. begin
  40040. pTDefRegMap(@Self)^.clr := $00000020;
  40041. end;
  40042. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  40043. begin
  40044. if thebits = 0 then
  40045. pTDefRegMap(@Self)^.clr := $00000020
  40046. else
  40047. pTDefRegMap(@Self)^.&set := $00000020;
  40048. end;
  40049. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  40050. begin
  40051. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40052. end;
  40053. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  40054. begin
  40055. pTDefRegMap(@Self)^.&set := $00000040;
  40056. end;
  40057. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  40058. begin
  40059. pTDefRegMap(@Self)^.clr := $00000040;
  40060. end;
  40061. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  40062. begin
  40063. if thebits = 0 then
  40064. pTDefRegMap(@Self)^.clr := $00000040
  40065. else
  40066. pTDefRegMap(@Self)^.&set := $00000040;
  40067. end;
  40068. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  40069. begin
  40070. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40071. end;
  40072. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  40073. begin
  40074. pTDefRegMap(@Self)^.&set := $00000080;
  40075. end;
  40076. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  40077. begin
  40078. pTDefRegMap(@Self)^.clr := $00000080;
  40079. end;
  40080. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  40081. begin
  40082. if thebits = 0 then
  40083. pTDefRegMap(@Self)^.clr := $00000080
  40084. else
  40085. pTDefRegMap(@Self)^.&set := $00000080;
  40086. end;
  40087. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  40088. begin
  40089. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40090. end;
  40091. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  40092. begin
  40093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  40094. end;
  40095. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  40096. begin
  40097. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  40098. end;
  40099. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  40100. begin
  40101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  40102. end;
  40103. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  40104. begin
  40105. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  40106. end;
  40107. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  40108. begin
  40109. pTDefRegMap(@Self)^.val := thebits;
  40110. end;
  40111. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  40112. begin
  40113. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40114. end;
  40115. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  40116. begin
  40117. pTDefRegMap(@Self)^.&set := $00000001;
  40118. end;
  40119. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  40120. begin
  40121. pTDefRegMap(@Self)^.clr := $00000001;
  40122. end;
  40123. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  40124. begin
  40125. if thebits = 0 then
  40126. pTDefRegMap(@Self)^.clr := $00000001
  40127. else
  40128. pTDefRegMap(@Self)^.&set := $00000001;
  40129. end;
  40130. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  40131. begin
  40132. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40133. end;
  40134. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  40135. begin
  40136. pTDefRegMap(@Self)^.&set := $00000002;
  40137. end;
  40138. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  40139. begin
  40140. pTDefRegMap(@Self)^.clr := $00000002;
  40141. end;
  40142. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  40143. begin
  40144. if thebits = 0 then
  40145. pTDefRegMap(@Self)^.clr := $00000002
  40146. else
  40147. pTDefRegMap(@Self)^.&set := $00000002;
  40148. end;
  40149. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  40150. begin
  40151. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40152. end;
  40153. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  40154. begin
  40155. pTDefRegMap(@Self)^.&set := $00000004;
  40156. end;
  40157. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  40158. begin
  40159. pTDefRegMap(@Self)^.clr := $00000004;
  40160. end;
  40161. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  40162. begin
  40163. if thebits = 0 then
  40164. pTDefRegMap(@Self)^.clr := $00000004
  40165. else
  40166. pTDefRegMap(@Self)^.&set := $00000004;
  40167. end;
  40168. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  40169. begin
  40170. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40171. end;
  40172. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  40173. begin
  40174. pTDefRegMap(@Self)^.&set := $00000008;
  40175. end;
  40176. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  40177. begin
  40178. pTDefRegMap(@Self)^.clr := $00000008;
  40179. end;
  40180. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  40181. begin
  40182. if thebits = 0 then
  40183. pTDefRegMap(@Self)^.clr := $00000008
  40184. else
  40185. pTDefRegMap(@Self)^.&set := $00000008;
  40186. end;
  40187. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  40188. begin
  40189. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40190. end;
  40191. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  40192. begin
  40193. pTDefRegMap(@Self)^.&set := $00000010;
  40194. end;
  40195. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  40196. begin
  40197. pTDefRegMap(@Self)^.clr := $00000010;
  40198. end;
  40199. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  40200. begin
  40201. if thebits = 0 then
  40202. pTDefRegMap(@Self)^.clr := $00000010
  40203. else
  40204. pTDefRegMap(@Self)^.&set := $00000010;
  40205. end;
  40206. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  40207. begin
  40208. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40209. end;
  40210. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  40211. begin
  40212. pTDefRegMap(@Self)^.&set := $00000020;
  40213. end;
  40214. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  40215. begin
  40216. pTDefRegMap(@Self)^.clr := $00000020;
  40217. end;
  40218. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  40219. begin
  40220. if thebits = 0 then
  40221. pTDefRegMap(@Self)^.clr := $00000020
  40222. else
  40223. pTDefRegMap(@Self)^.&set := $00000020;
  40224. end;
  40225. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  40226. begin
  40227. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40228. end;
  40229. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  40230. begin
  40231. pTDefRegMap(@Self)^.&set := $00000040;
  40232. end;
  40233. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  40234. begin
  40235. pTDefRegMap(@Self)^.clr := $00000040;
  40236. end;
  40237. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  40238. begin
  40239. if thebits = 0 then
  40240. pTDefRegMap(@Self)^.clr := $00000040
  40241. else
  40242. pTDefRegMap(@Self)^.&set := $00000040;
  40243. end;
  40244. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  40245. begin
  40246. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40247. end;
  40248. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  40249. begin
  40250. pTDefRegMap(@Self)^.&set := $00000080;
  40251. end;
  40252. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  40253. begin
  40254. pTDefRegMap(@Self)^.clr := $00000080;
  40255. end;
  40256. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  40257. begin
  40258. if thebits = 0 then
  40259. pTDefRegMap(@Self)^.clr := $00000080
  40260. else
  40261. pTDefRegMap(@Self)^.&set := $00000080;
  40262. end;
  40263. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  40264. begin
  40265. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40266. end;
  40267. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  40268. begin
  40269. pTDefRegMap(@Self)^.&set := $00010000;
  40270. end;
  40271. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  40272. begin
  40273. pTDefRegMap(@Self)^.clr := $00010000;
  40274. end;
  40275. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  40276. begin
  40277. if thebits = 0 then
  40278. pTDefRegMap(@Self)^.clr := $00010000
  40279. else
  40280. pTDefRegMap(@Self)^.&set := $00010000;
  40281. end;
  40282. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  40283. begin
  40284. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40285. end;
  40286. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  40287. begin
  40288. pTDefRegMap(@Self)^.&set := $00020000;
  40289. end;
  40290. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  40291. begin
  40292. pTDefRegMap(@Self)^.clr := $00020000;
  40293. end;
  40294. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  40295. begin
  40296. if thebits = 0 then
  40297. pTDefRegMap(@Self)^.clr := $00020000
  40298. else
  40299. pTDefRegMap(@Self)^.&set := $00020000;
  40300. end;
  40301. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  40302. begin
  40303. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40304. end;
  40305. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  40306. begin
  40307. pTDefRegMap(@Self)^.&set := $00040000;
  40308. end;
  40309. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  40310. begin
  40311. pTDefRegMap(@Self)^.clr := $00040000;
  40312. end;
  40313. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  40314. begin
  40315. if thebits = 0 then
  40316. pTDefRegMap(@Self)^.clr := $00040000
  40317. else
  40318. pTDefRegMap(@Self)^.&set := $00040000;
  40319. end;
  40320. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  40321. begin
  40322. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40323. end;
  40324. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  40325. begin
  40326. pTDefRegMap(@Self)^.&set := $00080000;
  40327. end;
  40328. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  40329. begin
  40330. pTDefRegMap(@Self)^.clr := $00080000;
  40331. end;
  40332. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  40333. begin
  40334. if thebits = 0 then
  40335. pTDefRegMap(@Self)^.clr := $00080000
  40336. else
  40337. pTDefRegMap(@Self)^.&set := $00080000;
  40338. end;
  40339. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  40340. begin
  40341. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  40342. end;
  40343. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  40344. begin
  40345. pTDefRegMap(@Self)^.&set := $00100000;
  40346. end;
  40347. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  40348. begin
  40349. pTDefRegMap(@Self)^.clr := $00100000;
  40350. end;
  40351. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  40352. begin
  40353. if thebits = 0 then
  40354. pTDefRegMap(@Self)^.clr := $00100000
  40355. else
  40356. pTDefRegMap(@Self)^.&set := $00100000;
  40357. end;
  40358. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  40359. begin
  40360. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  40361. end;
  40362. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  40363. begin
  40364. pTDefRegMap(@Self)^.&set := $00200000;
  40365. end;
  40366. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  40367. begin
  40368. pTDefRegMap(@Self)^.clr := $00200000;
  40369. end;
  40370. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  40371. begin
  40372. if thebits = 0 then
  40373. pTDefRegMap(@Self)^.clr := $00200000
  40374. else
  40375. pTDefRegMap(@Self)^.&set := $00200000;
  40376. end;
  40377. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  40378. begin
  40379. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  40380. end;
  40381. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  40382. begin
  40383. pTDefRegMap(@Self)^.&set := $00400000;
  40384. end;
  40385. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  40386. begin
  40387. pTDefRegMap(@Self)^.clr := $00400000;
  40388. end;
  40389. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  40390. begin
  40391. if thebits = 0 then
  40392. pTDefRegMap(@Self)^.clr := $00400000
  40393. else
  40394. pTDefRegMap(@Self)^.&set := $00400000;
  40395. end;
  40396. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  40397. begin
  40398. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40399. end;
  40400. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  40401. begin
  40402. pTDefRegMap(@Self)^.&set := $00800000;
  40403. end;
  40404. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  40405. begin
  40406. pTDefRegMap(@Self)^.clr := $00800000;
  40407. end;
  40408. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  40409. begin
  40410. if thebits = 0 then
  40411. pTDefRegMap(@Self)^.clr := $00800000
  40412. else
  40413. pTDefRegMap(@Self)^.&set := $00800000;
  40414. end;
  40415. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  40416. begin
  40417. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  40418. end;
  40419. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  40420. begin
  40421. pTDefRegMap(@Self)^.val := thebits;
  40422. end;
  40423. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  40424. begin
  40425. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40426. end;
  40427. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  40428. begin
  40429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40430. end;
  40431. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  40432. begin
  40433. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40434. end;
  40435. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  40436. begin
  40437. pTDefRegMap(@Self)^.&set := $00000004;
  40438. end;
  40439. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  40440. begin
  40441. pTDefRegMap(@Self)^.clr := $00000004;
  40442. end;
  40443. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  40444. begin
  40445. if thebits = 0 then
  40446. pTDefRegMap(@Self)^.clr := $00000004
  40447. else
  40448. pTDefRegMap(@Self)^.&set := $00000004;
  40449. end;
  40450. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  40451. begin
  40452. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40453. end;
  40454. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  40455. begin
  40456. pTDefRegMap(@Self)^.&set := $00000010;
  40457. end;
  40458. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  40459. begin
  40460. pTDefRegMap(@Self)^.clr := $00000010;
  40461. end;
  40462. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  40463. begin
  40464. if thebits = 0 then
  40465. pTDefRegMap(@Self)^.clr := $00000010
  40466. else
  40467. pTDefRegMap(@Self)^.&set := $00000010;
  40468. end;
  40469. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  40470. begin
  40471. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40472. end;
  40473. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  40474. begin
  40475. pTDefRegMap(@Self)^.&set := $00000020;
  40476. end;
  40477. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  40478. begin
  40479. pTDefRegMap(@Self)^.clr := $00000020;
  40480. end;
  40481. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  40482. begin
  40483. if thebits = 0 then
  40484. pTDefRegMap(@Self)^.clr := $00000020
  40485. else
  40486. pTDefRegMap(@Self)^.&set := $00000020;
  40487. end;
  40488. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  40489. begin
  40490. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40491. end;
  40492. procedure TDMAC3_DCH3CON.setCHAED; inline;
  40493. begin
  40494. pTDefRegMap(@Self)^.&set := $00000040;
  40495. end;
  40496. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  40497. begin
  40498. pTDefRegMap(@Self)^.clr := $00000040;
  40499. end;
  40500. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  40501. begin
  40502. if thebits = 0 then
  40503. pTDefRegMap(@Self)^.clr := $00000040
  40504. else
  40505. pTDefRegMap(@Self)^.&set := $00000040;
  40506. end;
  40507. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  40508. begin
  40509. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40510. end;
  40511. procedure TDMAC3_DCH3CON.setCHEN; inline;
  40512. begin
  40513. pTDefRegMap(@Self)^.&set := $00000080;
  40514. end;
  40515. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  40516. begin
  40517. pTDefRegMap(@Self)^.clr := $00000080;
  40518. end;
  40519. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  40520. begin
  40521. if thebits = 0 then
  40522. pTDefRegMap(@Self)^.clr := $00000080
  40523. else
  40524. pTDefRegMap(@Self)^.&set := $00000080;
  40525. end;
  40526. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  40527. begin
  40528. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40529. end;
  40530. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  40531. begin
  40532. pTDefRegMap(@Self)^.&set := $00000100;
  40533. end;
  40534. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  40535. begin
  40536. pTDefRegMap(@Self)^.clr := $00000100;
  40537. end;
  40538. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  40539. begin
  40540. if thebits = 0 then
  40541. pTDefRegMap(@Self)^.clr := $00000100
  40542. else
  40543. pTDefRegMap(@Self)^.&set := $00000100;
  40544. end;
  40545. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  40546. begin
  40547. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40548. end;
  40549. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  40550. begin
  40551. pTDefRegMap(@Self)^.&set := $00008000;
  40552. end;
  40553. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  40554. begin
  40555. pTDefRegMap(@Self)^.clr := $00008000;
  40556. end;
  40557. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  40558. begin
  40559. if thebits = 0 then
  40560. pTDefRegMap(@Self)^.clr := $00008000
  40561. else
  40562. pTDefRegMap(@Self)^.&set := $00008000;
  40563. end;
  40564. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  40565. begin
  40566. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40567. end;
  40568. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  40569. begin
  40570. pTDefRegMap(@Self)^.val := thebits;
  40571. end;
  40572. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  40573. begin
  40574. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40575. end;
  40576. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  40577. begin
  40578. pTDefRegMap(@Self)^.&set := $00000008;
  40579. end;
  40580. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  40581. begin
  40582. pTDefRegMap(@Self)^.clr := $00000008;
  40583. end;
  40584. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  40585. begin
  40586. if thebits = 0 then
  40587. pTDefRegMap(@Self)^.clr := $00000008
  40588. else
  40589. pTDefRegMap(@Self)^.&set := $00000008;
  40590. end;
  40591. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  40592. begin
  40593. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40594. end;
  40595. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  40596. begin
  40597. pTDefRegMap(@Self)^.&set := $00000010;
  40598. end;
  40599. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  40600. begin
  40601. pTDefRegMap(@Self)^.clr := $00000010;
  40602. end;
  40603. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  40604. begin
  40605. if thebits = 0 then
  40606. pTDefRegMap(@Self)^.clr := $00000010
  40607. else
  40608. pTDefRegMap(@Self)^.&set := $00000010;
  40609. end;
  40610. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  40611. begin
  40612. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40613. end;
  40614. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  40615. begin
  40616. pTDefRegMap(@Self)^.&set := $00000020;
  40617. end;
  40618. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  40619. begin
  40620. pTDefRegMap(@Self)^.clr := $00000020;
  40621. end;
  40622. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  40623. begin
  40624. if thebits = 0 then
  40625. pTDefRegMap(@Self)^.clr := $00000020
  40626. else
  40627. pTDefRegMap(@Self)^.&set := $00000020;
  40628. end;
  40629. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  40630. begin
  40631. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40632. end;
  40633. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  40634. begin
  40635. pTDefRegMap(@Self)^.&set := $00000040;
  40636. end;
  40637. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  40638. begin
  40639. pTDefRegMap(@Self)^.clr := $00000040;
  40640. end;
  40641. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  40642. begin
  40643. if thebits = 0 then
  40644. pTDefRegMap(@Self)^.clr := $00000040
  40645. else
  40646. pTDefRegMap(@Self)^.&set := $00000040;
  40647. end;
  40648. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  40649. begin
  40650. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40651. end;
  40652. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  40653. begin
  40654. pTDefRegMap(@Self)^.&set := $00000080;
  40655. end;
  40656. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  40657. begin
  40658. pTDefRegMap(@Self)^.clr := $00000080;
  40659. end;
  40660. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  40661. begin
  40662. if thebits = 0 then
  40663. pTDefRegMap(@Self)^.clr := $00000080
  40664. else
  40665. pTDefRegMap(@Self)^.&set := $00000080;
  40666. end;
  40667. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  40668. begin
  40669. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40670. end;
  40671. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  40672. begin
  40673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  40674. end;
  40675. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  40676. begin
  40677. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  40678. end;
  40679. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  40680. begin
  40681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  40682. end;
  40683. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  40684. begin
  40685. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  40686. end;
  40687. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  40688. begin
  40689. pTDefRegMap(@Self)^.val := thebits;
  40690. end;
  40691. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  40692. begin
  40693. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40694. end;
  40695. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  40696. begin
  40697. pTDefRegMap(@Self)^.&set := $00000001;
  40698. end;
  40699. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  40700. begin
  40701. pTDefRegMap(@Self)^.clr := $00000001;
  40702. end;
  40703. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  40704. begin
  40705. if thebits = 0 then
  40706. pTDefRegMap(@Self)^.clr := $00000001
  40707. else
  40708. pTDefRegMap(@Self)^.&set := $00000001;
  40709. end;
  40710. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  40711. begin
  40712. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40713. end;
  40714. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  40715. begin
  40716. pTDefRegMap(@Self)^.&set := $00000002;
  40717. end;
  40718. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  40719. begin
  40720. pTDefRegMap(@Self)^.clr := $00000002;
  40721. end;
  40722. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  40723. begin
  40724. if thebits = 0 then
  40725. pTDefRegMap(@Self)^.clr := $00000002
  40726. else
  40727. pTDefRegMap(@Self)^.&set := $00000002;
  40728. end;
  40729. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  40730. begin
  40731. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40732. end;
  40733. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  40734. begin
  40735. pTDefRegMap(@Self)^.&set := $00000004;
  40736. end;
  40737. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  40738. begin
  40739. pTDefRegMap(@Self)^.clr := $00000004;
  40740. end;
  40741. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  40742. begin
  40743. if thebits = 0 then
  40744. pTDefRegMap(@Self)^.clr := $00000004
  40745. else
  40746. pTDefRegMap(@Self)^.&set := $00000004;
  40747. end;
  40748. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  40749. begin
  40750. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40751. end;
  40752. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  40753. begin
  40754. pTDefRegMap(@Self)^.&set := $00000008;
  40755. end;
  40756. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  40757. begin
  40758. pTDefRegMap(@Self)^.clr := $00000008;
  40759. end;
  40760. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  40761. begin
  40762. if thebits = 0 then
  40763. pTDefRegMap(@Self)^.clr := $00000008
  40764. else
  40765. pTDefRegMap(@Self)^.&set := $00000008;
  40766. end;
  40767. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  40768. begin
  40769. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40770. end;
  40771. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  40772. begin
  40773. pTDefRegMap(@Self)^.&set := $00000010;
  40774. end;
  40775. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  40776. begin
  40777. pTDefRegMap(@Self)^.clr := $00000010;
  40778. end;
  40779. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  40780. begin
  40781. if thebits = 0 then
  40782. pTDefRegMap(@Self)^.clr := $00000010
  40783. else
  40784. pTDefRegMap(@Self)^.&set := $00000010;
  40785. end;
  40786. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  40787. begin
  40788. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40789. end;
  40790. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  40791. begin
  40792. pTDefRegMap(@Self)^.&set := $00000020;
  40793. end;
  40794. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  40795. begin
  40796. pTDefRegMap(@Self)^.clr := $00000020;
  40797. end;
  40798. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  40799. begin
  40800. if thebits = 0 then
  40801. pTDefRegMap(@Self)^.clr := $00000020
  40802. else
  40803. pTDefRegMap(@Self)^.&set := $00000020;
  40804. end;
  40805. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  40806. begin
  40807. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40808. end;
  40809. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  40810. begin
  40811. pTDefRegMap(@Self)^.&set := $00000040;
  40812. end;
  40813. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  40814. begin
  40815. pTDefRegMap(@Self)^.clr := $00000040;
  40816. end;
  40817. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  40818. begin
  40819. if thebits = 0 then
  40820. pTDefRegMap(@Self)^.clr := $00000040
  40821. else
  40822. pTDefRegMap(@Self)^.&set := $00000040;
  40823. end;
  40824. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  40825. begin
  40826. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40827. end;
  40828. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  40829. begin
  40830. pTDefRegMap(@Self)^.&set := $00000080;
  40831. end;
  40832. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  40833. begin
  40834. pTDefRegMap(@Self)^.clr := $00000080;
  40835. end;
  40836. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  40837. begin
  40838. if thebits = 0 then
  40839. pTDefRegMap(@Self)^.clr := $00000080
  40840. else
  40841. pTDefRegMap(@Self)^.&set := $00000080;
  40842. end;
  40843. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  40844. begin
  40845. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40846. end;
  40847. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  40848. begin
  40849. pTDefRegMap(@Self)^.&set := $00010000;
  40850. end;
  40851. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  40852. begin
  40853. pTDefRegMap(@Self)^.clr := $00010000;
  40854. end;
  40855. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  40856. begin
  40857. if thebits = 0 then
  40858. pTDefRegMap(@Self)^.clr := $00010000
  40859. else
  40860. pTDefRegMap(@Self)^.&set := $00010000;
  40861. end;
  40862. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  40863. begin
  40864. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40865. end;
  40866. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  40867. begin
  40868. pTDefRegMap(@Self)^.&set := $00020000;
  40869. end;
  40870. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  40871. begin
  40872. pTDefRegMap(@Self)^.clr := $00020000;
  40873. end;
  40874. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  40875. begin
  40876. if thebits = 0 then
  40877. pTDefRegMap(@Self)^.clr := $00020000
  40878. else
  40879. pTDefRegMap(@Self)^.&set := $00020000;
  40880. end;
  40881. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  40882. begin
  40883. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40884. end;
  40885. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  40886. begin
  40887. pTDefRegMap(@Self)^.&set := $00040000;
  40888. end;
  40889. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  40890. begin
  40891. pTDefRegMap(@Self)^.clr := $00040000;
  40892. end;
  40893. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  40894. begin
  40895. if thebits = 0 then
  40896. pTDefRegMap(@Self)^.clr := $00040000
  40897. else
  40898. pTDefRegMap(@Self)^.&set := $00040000;
  40899. end;
  40900. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  40901. begin
  40902. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40903. end;
  40904. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  40905. begin
  40906. pTDefRegMap(@Self)^.&set := $00080000;
  40907. end;
  40908. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  40909. begin
  40910. pTDefRegMap(@Self)^.clr := $00080000;
  40911. end;
  40912. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  40913. begin
  40914. if thebits = 0 then
  40915. pTDefRegMap(@Self)^.clr := $00080000
  40916. else
  40917. pTDefRegMap(@Self)^.&set := $00080000;
  40918. end;
  40919. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  40920. begin
  40921. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  40922. end;
  40923. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  40924. begin
  40925. pTDefRegMap(@Self)^.&set := $00100000;
  40926. end;
  40927. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  40928. begin
  40929. pTDefRegMap(@Self)^.clr := $00100000;
  40930. end;
  40931. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  40932. begin
  40933. if thebits = 0 then
  40934. pTDefRegMap(@Self)^.clr := $00100000
  40935. else
  40936. pTDefRegMap(@Self)^.&set := $00100000;
  40937. end;
  40938. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  40939. begin
  40940. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  40941. end;
  40942. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  40943. begin
  40944. pTDefRegMap(@Self)^.&set := $00200000;
  40945. end;
  40946. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  40947. begin
  40948. pTDefRegMap(@Self)^.clr := $00200000;
  40949. end;
  40950. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  40951. begin
  40952. if thebits = 0 then
  40953. pTDefRegMap(@Self)^.clr := $00200000
  40954. else
  40955. pTDefRegMap(@Self)^.&set := $00200000;
  40956. end;
  40957. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  40958. begin
  40959. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  40960. end;
  40961. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  40962. begin
  40963. pTDefRegMap(@Self)^.&set := $00400000;
  40964. end;
  40965. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  40966. begin
  40967. pTDefRegMap(@Self)^.clr := $00400000;
  40968. end;
  40969. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  40970. begin
  40971. if thebits = 0 then
  40972. pTDefRegMap(@Self)^.clr := $00400000
  40973. else
  40974. pTDefRegMap(@Self)^.&set := $00400000;
  40975. end;
  40976. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  40977. begin
  40978. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40979. end;
  40980. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  40981. begin
  40982. pTDefRegMap(@Self)^.&set := $00800000;
  40983. end;
  40984. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  40985. begin
  40986. pTDefRegMap(@Self)^.clr := $00800000;
  40987. end;
  40988. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  40989. begin
  40990. if thebits = 0 then
  40991. pTDefRegMap(@Self)^.clr := $00800000
  40992. else
  40993. pTDefRegMap(@Self)^.&set := $00800000;
  40994. end;
  40995. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  40996. begin
  40997. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  40998. end;
  40999. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  41000. begin
  41001. pTDefRegMap(@Self)^.val := thebits;
  41002. end;
  41003. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  41004. begin
  41005. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41006. end;
  41007. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  41008. begin
  41009. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  41010. end;
  41011. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  41012. begin
  41013. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  41014. end;
  41015. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  41016. begin
  41017. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  41018. end;
  41019. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  41020. begin
  41021. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  41022. end;
  41023. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  41024. begin
  41025. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  41026. end;
  41027. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  41028. begin
  41029. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  41030. end;
  41031. procedure TPCACHE_CHECON.setCHECOH; inline;
  41032. begin
  41033. pTDefRegMap(@Self)^.&set := $00010000;
  41034. end;
  41035. procedure TPCACHE_CHECON.clearCHECOH; inline;
  41036. begin
  41037. pTDefRegMap(@Self)^.clr := $00010000;
  41038. end;
  41039. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  41040. begin
  41041. if thebits = 0 then
  41042. pTDefRegMap(@Self)^.clr := $00010000
  41043. else
  41044. pTDefRegMap(@Self)^.&set := $00010000;
  41045. end;
  41046. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  41047. begin
  41048. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  41049. end;
  41050. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  41051. begin
  41052. pTDefRegMap(@Self)^.val := thebits;
  41053. end;
  41054. function TPCACHE_CHECON.getw : TBits_32; inline;
  41055. begin
  41056. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41057. end;
  41058. procedure TPCACHE_CHETAG.setLTYPE; inline;
  41059. begin
  41060. pTDefRegMap(@Self)^.&set := $00000002;
  41061. end;
  41062. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  41063. begin
  41064. pTDefRegMap(@Self)^.clr := $00000002;
  41065. end;
  41066. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  41067. begin
  41068. if thebits = 0 then
  41069. pTDefRegMap(@Self)^.clr := $00000002
  41070. else
  41071. pTDefRegMap(@Self)^.&set := $00000002;
  41072. end;
  41073. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  41074. begin
  41075. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41076. end;
  41077. procedure TPCACHE_CHETAG.setLLOCK; inline;
  41078. begin
  41079. pTDefRegMap(@Self)^.&set := $00000004;
  41080. end;
  41081. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  41082. begin
  41083. pTDefRegMap(@Self)^.clr := $00000004;
  41084. end;
  41085. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  41086. begin
  41087. if thebits = 0 then
  41088. pTDefRegMap(@Self)^.clr := $00000004
  41089. else
  41090. pTDefRegMap(@Self)^.&set := $00000004;
  41091. end;
  41092. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  41093. begin
  41094. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41095. end;
  41096. procedure TPCACHE_CHETAG.setLVALID; inline;
  41097. begin
  41098. pTDefRegMap(@Self)^.&set := $00000008;
  41099. end;
  41100. procedure TPCACHE_CHETAG.clearLVALID; inline;
  41101. begin
  41102. pTDefRegMap(@Self)^.clr := $00000008;
  41103. end;
  41104. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  41105. begin
  41106. if thebits = 0 then
  41107. pTDefRegMap(@Self)^.clr := $00000008
  41108. else
  41109. pTDefRegMap(@Self)^.&set := $00000008;
  41110. end;
  41111. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  41112. begin
  41113. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41114. end;
  41115. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  41116. begin
  41117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  41118. end;
  41119. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  41120. begin
  41121. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  41122. end;
  41123. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  41124. begin
  41125. pTDefRegMap(@Self)^.&set := $80000000;
  41126. end;
  41127. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  41128. begin
  41129. pTDefRegMap(@Self)^.clr := $80000000;
  41130. end;
  41131. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  41132. begin
  41133. if thebits = 0 then
  41134. pTDefRegMap(@Self)^.clr := $80000000
  41135. else
  41136. pTDefRegMap(@Self)^.&set := $80000000;
  41137. end;
  41138. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  41139. begin
  41140. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  41141. end;
  41142. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  41143. begin
  41144. pTDefRegMap(@Self)^.val := thebits;
  41145. end;
  41146. function TPCACHE_CHETAG.getw : TBits_32; inline;
  41147. begin
  41148. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41149. end;
  41150. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  41151. begin
  41152. pTDefRegMap(@Self)^.&set := $00000001;
  41153. end;
  41154. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  41155. begin
  41156. pTDefRegMap(@Self)^.clr := $00000001;
  41157. end;
  41158. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  41159. begin
  41160. if thebits = 0 then
  41161. pTDefRegMap(@Self)^.clr := $00000001
  41162. else
  41163. pTDefRegMap(@Self)^.&set := $00000001;
  41164. end;
  41165. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  41166. begin
  41167. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41168. end;
  41169. procedure TUSB_U1IR.setUERRIF; inline;
  41170. begin
  41171. pTDefRegMap(@Self)^.&set := $00000002;
  41172. end;
  41173. procedure TUSB_U1IR.clearUERRIF; inline;
  41174. begin
  41175. pTDefRegMap(@Self)^.clr := $00000002;
  41176. end;
  41177. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  41178. begin
  41179. if thebits = 0 then
  41180. pTDefRegMap(@Self)^.clr := $00000002
  41181. else
  41182. pTDefRegMap(@Self)^.&set := $00000002;
  41183. end;
  41184. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  41185. begin
  41186. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41187. end;
  41188. procedure TUSB_U1IR.setSOFIF; inline;
  41189. begin
  41190. pTDefRegMap(@Self)^.&set := $00000004;
  41191. end;
  41192. procedure TUSB_U1IR.clearSOFIF; inline;
  41193. begin
  41194. pTDefRegMap(@Self)^.clr := $00000004;
  41195. end;
  41196. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  41197. begin
  41198. if thebits = 0 then
  41199. pTDefRegMap(@Self)^.clr := $00000004
  41200. else
  41201. pTDefRegMap(@Self)^.&set := $00000004;
  41202. end;
  41203. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  41204. begin
  41205. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41206. end;
  41207. procedure TUSB_U1IR.setTRNIF; inline;
  41208. begin
  41209. pTDefRegMap(@Self)^.&set := $00000008;
  41210. end;
  41211. procedure TUSB_U1IR.clearTRNIF; inline;
  41212. begin
  41213. pTDefRegMap(@Self)^.clr := $00000008;
  41214. end;
  41215. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  41216. begin
  41217. if thebits = 0 then
  41218. pTDefRegMap(@Self)^.clr := $00000008
  41219. else
  41220. pTDefRegMap(@Self)^.&set := $00000008;
  41221. end;
  41222. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  41223. begin
  41224. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41225. end;
  41226. procedure TUSB_U1IR.setIDLEIF; inline;
  41227. begin
  41228. pTDefRegMap(@Self)^.&set := $00000010;
  41229. end;
  41230. procedure TUSB_U1IR.clearIDLEIF; inline;
  41231. begin
  41232. pTDefRegMap(@Self)^.clr := $00000010;
  41233. end;
  41234. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  41235. begin
  41236. if thebits = 0 then
  41237. pTDefRegMap(@Self)^.clr := $00000010
  41238. else
  41239. pTDefRegMap(@Self)^.&set := $00000010;
  41240. end;
  41241. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  41242. begin
  41243. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41244. end;
  41245. procedure TUSB_U1IR.setRESUMEIF; inline;
  41246. begin
  41247. pTDefRegMap(@Self)^.&set := $00000020;
  41248. end;
  41249. procedure TUSB_U1IR.clearRESUMEIF; inline;
  41250. begin
  41251. pTDefRegMap(@Self)^.clr := $00000020;
  41252. end;
  41253. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  41254. begin
  41255. if thebits = 0 then
  41256. pTDefRegMap(@Self)^.clr := $00000020
  41257. else
  41258. pTDefRegMap(@Self)^.&set := $00000020;
  41259. end;
  41260. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  41261. begin
  41262. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41263. end;
  41264. procedure TUSB_U1IR.setATTACHIF; inline;
  41265. begin
  41266. pTDefRegMap(@Self)^.&set := $00000040;
  41267. end;
  41268. procedure TUSB_U1IR.clearATTACHIF; inline;
  41269. begin
  41270. pTDefRegMap(@Self)^.clr := $00000040;
  41271. end;
  41272. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  41273. begin
  41274. if thebits = 0 then
  41275. pTDefRegMap(@Self)^.clr := $00000040
  41276. else
  41277. pTDefRegMap(@Self)^.&set := $00000040;
  41278. end;
  41279. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  41280. begin
  41281. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41282. end;
  41283. procedure TUSB_U1IR.setSTALLIF; inline;
  41284. begin
  41285. pTDefRegMap(@Self)^.&set := $00000080;
  41286. end;
  41287. procedure TUSB_U1IR.clearSTALLIF; inline;
  41288. begin
  41289. pTDefRegMap(@Self)^.clr := $00000080;
  41290. end;
  41291. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  41292. begin
  41293. if thebits = 0 then
  41294. pTDefRegMap(@Self)^.clr := $00000080
  41295. else
  41296. pTDefRegMap(@Self)^.&set := $00000080;
  41297. end;
  41298. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  41299. begin
  41300. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41301. end;
  41302. procedure TUSB_U1IR.setDETACHIF; inline;
  41303. begin
  41304. pTDefRegMap(@Self)^.&set := $00000001;
  41305. end;
  41306. procedure TUSB_U1IR.clearDETACHIF; inline;
  41307. begin
  41308. pTDefRegMap(@Self)^.clr := $00000001;
  41309. end;
  41310. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  41311. begin
  41312. if thebits = 0 then
  41313. pTDefRegMap(@Self)^.clr := $00000001
  41314. else
  41315. pTDefRegMap(@Self)^.&set := $00000001;
  41316. end;
  41317. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  41318. begin
  41319. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41320. end;
  41321. procedure TUSB_U1IR.setURSTIF; inline;
  41322. begin
  41323. pTDefRegMap(@Self)^.&set := $00000001;
  41324. end;
  41325. procedure TUSB_U1IR.clearURSTIF; inline;
  41326. begin
  41327. pTDefRegMap(@Self)^.clr := $00000001;
  41328. end;
  41329. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  41330. begin
  41331. if thebits = 0 then
  41332. pTDefRegMap(@Self)^.clr := $00000001
  41333. else
  41334. pTDefRegMap(@Self)^.&set := $00000001;
  41335. end;
  41336. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  41337. begin
  41338. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41339. end;
  41340. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  41341. begin
  41342. pTDefRegMap(@Self)^.&set := $00000001;
  41343. end;
  41344. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  41345. begin
  41346. pTDefRegMap(@Self)^.clr := $00000001;
  41347. end;
  41348. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  41349. begin
  41350. if thebits = 0 then
  41351. pTDefRegMap(@Self)^.clr := $00000001
  41352. else
  41353. pTDefRegMap(@Self)^.&set := $00000001;
  41354. end;
  41355. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  41356. begin
  41357. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41358. end;
  41359. procedure TUSB_U1IE.setUERRIE; inline;
  41360. begin
  41361. pTDefRegMap(@Self)^.&set := $00000002;
  41362. end;
  41363. procedure TUSB_U1IE.clearUERRIE; inline;
  41364. begin
  41365. pTDefRegMap(@Self)^.clr := $00000002;
  41366. end;
  41367. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  41368. begin
  41369. if thebits = 0 then
  41370. pTDefRegMap(@Self)^.clr := $00000002
  41371. else
  41372. pTDefRegMap(@Self)^.&set := $00000002;
  41373. end;
  41374. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  41375. begin
  41376. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41377. end;
  41378. procedure TUSB_U1IE.setSOFIE; inline;
  41379. begin
  41380. pTDefRegMap(@Self)^.&set := $00000004;
  41381. end;
  41382. procedure TUSB_U1IE.clearSOFIE; inline;
  41383. begin
  41384. pTDefRegMap(@Self)^.clr := $00000004;
  41385. end;
  41386. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  41387. begin
  41388. if thebits = 0 then
  41389. pTDefRegMap(@Self)^.clr := $00000004
  41390. else
  41391. pTDefRegMap(@Self)^.&set := $00000004;
  41392. end;
  41393. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  41394. begin
  41395. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41396. end;
  41397. procedure TUSB_U1IE.setTRNIE; inline;
  41398. begin
  41399. pTDefRegMap(@Self)^.&set := $00000008;
  41400. end;
  41401. procedure TUSB_U1IE.clearTRNIE; inline;
  41402. begin
  41403. pTDefRegMap(@Self)^.clr := $00000008;
  41404. end;
  41405. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  41406. begin
  41407. if thebits = 0 then
  41408. pTDefRegMap(@Self)^.clr := $00000008
  41409. else
  41410. pTDefRegMap(@Self)^.&set := $00000008;
  41411. end;
  41412. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  41413. begin
  41414. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41415. end;
  41416. procedure TUSB_U1IE.setIDLEIE; inline;
  41417. begin
  41418. pTDefRegMap(@Self)^.&set := $00000010;
  41419. end;
  41420. procedure TUSB_U1IE.clearIDLEIE; inline;
  41421. begin
  41422. pTDefRegMap(@Self)^.clr := $00000010;
  41423. end;
  41424. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  41425. begin
  41426. if thebits = 0 then
  41427. pTDefRegMap(@Self)^.clr := $00000010
  41428. else
  41429. pTDefRegMap(@Self)^.&set := $00000010;
  41430. end;
  41431. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  41432. begin
  41433. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41434. end;
  41435. procedure TUSB_U1IE.setRESUMEIE; inline;
  41436. begin
  41437. pTDefRegMap(@Self)^.&set := $00000020;
  41438. end;
  41439. procedure TUSB_U1IE.clearRESUMEIE; inline;
  41440. begin
  41441. pTDefRegMap(@Self)^.clr := $00000020;
  41442. end;
  41443. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  41444. begin
  41445. if thebits = 0 then
  41446. pTDefRegMap(@Self)^.clr := $00000020
  41447. else
  41448. pTDefRegMap(@Self)^.&set := $00000020;
  41449. end;
  41450. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  41451. begin
  41452. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41453. end;
  41454. procedure TUSB_U1IE.setATTACHIE; inline;
  41455. begin
  41456. pTDefRegMap(@Self)^.&set := $00000040;
  41457. end;
  41458. procedure TUSB_U1IE.clearATTACHIE; inline;
  41459. begin
  41460. pTDefRegMap(@Self)^.clr := $00000040;
  41461. end;
  41462. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  41463. begin
  41464. if thebits = 0 then
  41465. pTDefRegMap(@Self)^.clr := $00000040
  41466. else
  41467. pTDefRegMap(@Self)^.&set := $00000040;
  41468. end;
  41469. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  41470. begin
  41471. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41472. end;
  41473. procedure TUSB_U1IE.setSTALLIE; inline;
  41474. begin
  41475. pTDefRegMap(@Self)^.&set := $00000080;
  41476. end;
  41477. procedure TUSB_U1IE.clearSTALLIE; inline;
  41478. begin
  41479. pTDefRegMap(@Self)^.clr := $00000080;
  41480. end;
  41481. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  41482. begin
  41483. if thebits = 0 then
  41484. pTDefRegMap(@Self)^.clr := $00000080
  41485. else
  41486. pTDefRegMap(@Self)^.&set := $00000080;
  41487. end;
  41488. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  41489. begin
  41490. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41491. end;
  41492. procedure TUSB_U1IE.setDETACHIE; inline;
  41493. begin
  41494. pTDefRegMap(@Self)^.&set := $00000001;
  41495. end;
  41496. procedure TUSB_U1IE.clearDETACHIE; inline;
  41497. begin
  41498. pTDefRegMap(@Self)^.clr := $00000001;
  41499. end;
  41500. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  41501. begin
  41502. if thebits = 0 then
  41503. pTDefRegMap(@Self)^.clr := $00000001
  41504. else
  41505. pTDefRegMap(@Self)^.&set := $00000001;
  41506. end;
  41507. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  41508. begin
  41509. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41510. end;
  41511. procedure TUSB_U1IE.setURSTIE; inline;
  41512. begin
  41513. pTDefRegMap(@Self)^.&set := $00000001;
  41514. end;
  41515. procedure TUSB_U1IE.clearURSTIE; inline;
  41516. begin
  41517. pTDefRegMap(@Self)^.clr := $00000001;
  41518. end;
  41519. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  41520. begin
  41521. if thebits = 0 then
  41522. pTDefRegMap(@Self)^.clr := $00000001
  41523. else
  41524. pTDefRegMap(@Self)^.&set := $00000001;
  41525. end;
  41526. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  41527. begin
  41528. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41529. end;
  41530. procedure TUSB_U1EIR.setPIDEF; inline;
  41531. begin
  41532. pTDefRegMap(@Self)^.&set := $00000001;
  41533. end;
  41534. procedure TUSB_U1EIR.clearPIDEF; inline;
  41535. begin
  41536. pTDefRegMap(@Self)^.clr := $00000001;
  41537. end;
  41538. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  41539. begin
  41540. if thebits = 0 then
  41541. pTDefRegMap(@Self)^.clr := $00000001
  41542. else
  41543. pTDefRegMap(@Self)^.&set := $00000001;
  41544. end;
  41545. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  41546. begin
  41547. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41548. end;
  41549. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  41550. begin
  41551. pTDefRegMap(@Self)^.&set := $00000002;
  41552. end;
  41553. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  41554. begin
  41555. pTDefRegMap(@Self)^.clr := $00000002;
  41556. end;
  41557. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  41558. begin
  41559. if thebits = 0 then
  41560. pTDefRegMap(@Self)^.clr := $00000002
  41561. else
  41562. pTDefRegMap(@Self)^.&set := $00000002;
  41563. end;
  41564. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  41565. begin
  41566. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41567. end;
  41568. procedure TUSB_U1EIR.setCRC16EF; inline;
  41569. begin
  41570. pTDefRegMap(@Self)^.&set := $00000004;
  41571. end;
  41572. procedure TUSB_U1EIR.clearCRC16EF; inline;
  41573. begin
  41574. pTDefRegMap(@Self)^.clr := $00000004;
  41575. end;
  41576. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  41577. begin
  41578. if thebits = 0 then
  41579. pTDefRegMap(@Self)^.clr := $00000004
  41580. else
  41581. pTDefRegMap(@Self)^.&set := $00000004;
  41582. end;
  41583. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  41584. begin
  41585. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41586. end;
  41587. procedure TUSB_U1EIR.setDFN8EF; inline;
  41588. begin
  41589. pTDefRegMap(@Self)^.&set := $00000008;
  41590. end;
  41591. procedure TUSB_U1EIR.clearDFN8EF; inline;
  41592. begin
  41593. pTDefRegMap(@Self)^.clr := $00000008;
  41594. end;
  41595. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  41596. begin
  41597. if thebits = 0 then
  41598. pTDefRegMap(@Self)^.clr := $00000008
  41599. else
  41600. pTDefRegMap(@Self)^.&set := $00000008;
  41601. end;
  41602. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  41603. begin
  41604. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41605. end;
  41606. procedure TUSB_U1EIR.setBTOEF; inline;
  41607. begin
  41608. pTDefRegMap(@Self)^.&set := $00000010;
  41609. end;
  41610. procedure TUSB_U1EIR.clearBTOEF; inline;
  41611. begin
  41612. pTDefRegMap(@Self)^.clr := $00000010;
  41613. end;
  41614. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  41615. begin
  41616. if thebits = 0 then
  41617. pTDefRegMap(@Self)^.clr := $00000010
  41618. else
  41619. pTDefRegMap(@Self)^.&set := $00000010;
  41620. end;
  41621. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  41622. begin
  41623. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41624. end;
  41625. procedure TUSB_U1EIR.setDMAEF; inline;
  41626. begin
  41627. pTDefRegMap(@Self)^.&set := $00000020;
  41628. end;
  41629. procedure TUSB_U1EIR.clearDMAEF; inline;
  41630. begin
  41631. pTDefRegMap(@Self)^.clr := $00000020;
  41632. end;
  41633. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  41634. begin
  41635. if thebits = 0 then
  41636. pTDefRegMap(@Self)^.clr := $00000020
  41637. else
  41638. pTDefRegMap(@Self)^.&set := $00000020;
  41639. end;
  41640. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  41641. begin
  41642. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41643. end;
  41644. procedure TUSB_U1EIR.setBMXEF; inline;
  41645. begin
  41646. pTDefRegMap(@Self)^.&set := $00000040;
  41647. end;
  41648. procedure TUSB_U1EIR.clearBMXEF; inline;
  41649. begin
  41650. pTDefRegMap(@Self)^.clr := $00000040;
  41651. end;
  41652. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  41653. begin
  41654. if thebits = 0 then
  41655. pTDefRegMap(@Self)^.clr := $00000040
  41656. else
  41657. pTDefRegMap(@Self)^.&set := $00000040;
  41658. end;
  41659. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  41660. begin
  41661. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41662. end;
  41663. procedure TUSB_U1EIR.setBTSEF; inline;
  41664. begin
  41665. pTDefRegMap(@Self)^.&set := $00000080;
  41666. end;
  41667. procedure TUSB_U1EIR.clearBTSEF; inline;
  41668. begin
  41669. pTDefRegMap(@Self)^.clr := $00000080;
  41670. end;
  41671. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  41672. begin
  41673. if thebits = 0 then
  41674. pTDefRegMap(@Self)^.clr := $00000080
  41675. else
  41676. pTDefRegMap(@Self)^.&set := $00000080;
  41677. end;
  41678. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  41679. begin
  41680. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41681. end;
  41682. procedure TUSB_U1EIR.setCRC5EF; inline;
  41683. begin
  41684. pTDefRegMap(@Self)^.&set := $00000002;
  41685. end;
  41686. procedure TUSB_U1EIR.clearCRC5EF; inline;
  41687. begin
  41688. pTDefRegMap(@Self)^.clr := $00000002;
  41689. end;
  41690. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  41691. begin
  41692. if thebits = 0 then
  41693. pTDefRegMap(@Self)^.clr := $00000002
  41694. else
  41695. pTDefRegMap(@Self)^.&set := $00000002;
  41696. end;
  41697. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  41698. begin
  41699. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41700. end;
  41701. procedure TUSB_U1EIR.setEOFEF; inline;
  41702. begin
  41703. pTDefRegMap(@Self)^.&set := $00000002;
  41704. end;
  41705. procedure TUSB_U1EIR.clearEOFEF; inline;
  41706. begin
  41707. pTDefRegMap(@Self)^.clr := $00000002;
  41708. end;
  41709. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  41710. begin
  41711. if thebits = 0 then
  41712. pTDefRegMap(@Self)^.clr := $00000002
  41713. else
  41714. pTDefRegMap(@Self)^.&set := $00000002;
  41715. end;
  41716. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  41717. begin
  41718. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41719. end;
  41720. procedure TUSB_U1EIE.setPIDEE; inline;
  41721. begin
  41722. pTDefRegMap(@Self)^.&set := $00000001;
  41723. end;
  41724. procedure TUSB_U1EIE.clearPIDEE; inline;
  41725. begin
  41726. pTDefRegMap(@Self)^.clr := $00000001;
  41727. end;
  41728. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  41729. begin
  41730. if thebits = 0 then
  41731. pTDefRegMap(@Self)^.clr := $00000001
  41732. else
  41733. pTDefRegMap(@Self)^.&set := $00000001;
  41734. end;
  41735. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  41736. begin
  41737. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41738. end;
  41739. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  41740. begin
  41741. pTDefRegMap(@Self)^.&set := $00000002;
  41742. end;
  41743. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  41744. begin
  41745. pTDefRegMap(@Self)^.clr := $00000002;
  41746. end;
  41747. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  41748. begin
  41749. if thebits = 0 then
  41750. pTDefRegMap(@Self)^.clr := $00000002
  41751. else
  41752. pTDefRegMap(@Self)^.&set := $00000002;
  41753. end;
  41754. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  41755. begin
  41756. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41757. end;
  41758. procedure TUSB_U1EIE.setCRC16EE; inline;
  41759. begin
  41760. pTDefRegMap(@Self)^.&set := $00000004;
  41761. end;
  41762. procedure TUSB_U1EIE.clearCRC16EE; inline;
  41763. begin
  41764. pTDefRegMap(@Self)^.clr := $00000004;
  41765. end;
  41766. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  41767. begin
  41768. if thebits = 0 then
  41769. pTDefRegMap(@Self)^.clr := $00000004
  41770. else
  41771. pTDefRegMap(@Self)^.&set := $00000004;
  41772. end;
  41773. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  41774. begin
  41775. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41776. end;
  41777. procedure TUSB_U1EIE.setDFN8EE; inline;
  41778. begin
  41779. pTDefRegMap(@Self)^.&set := $00000008;
  41780. end;
  41781. procedure TUSB_U1EIE.clearDFN8EE; inline;
  41782. begin
  41783. pTDefRegMap(@Self)^.clr := $00000008;
  41784. end;
  41785. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  41786. begin
  41787. if thebits = 0 then
  41788. pTDefRegMap(@Self)^.clr := $00000008
  41789. else
  41790. pTDefRegMap(@Self)^.&set := $00000008;
  41791. end;
  41792. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  41793. begin
  41794. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41795. end;
  41796. procedure TUSB_U1EIE.setBTOEE; inline;
  41797. begin
  41798. pTDefRegMap(@Self)^.&set := $00000010;
  41799. end;
  41800. procedure TUSB_U1EIE.clearBTOEE; inline;
  41801. begin
  41802. pTDefRegMap(@Self)^.clr := $00000010;
  41803. end;
  41804. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  41805. begin
  41806. if thebits = 0 then
  41807. pTDefRegMap(@Self)^.clr := $00000010
  41808. else
  41809. pTDefRegMap(@Self)^.&set := $00000010;
  41810. end;
  41811. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  41812. begin
  41813. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41814. end;
  41815. procedure TUSB_U1EIE.setDMAEE; inline;
  41816. begin
  41817. pTDefRegMap(@Self)^.&set := $00000020;
  41818. end;
  41819. procedure TUSB_U1EIE.clearDMAEE; inline;
  41820. begin
  41821. pTDefRegMap(@Self)^.clr := $00000020;
  41822. end;
  41823. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  41824. begin
  41825. if thebits = 0 then
  41826. pTDefRegMap(@Self)^.clr := $00000020
  41827. else
  41828. pTDefRegMap(@Self)^.&set := $00000020;
  41829. end;
  41830. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  41831. begin
  41832. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41833. end;
  41834. procedure TUSB_U1EIE.setBMXEE; inline;
  41835. begin
  41836. pTDefRegMap(@Self)^.&set := $00000040;
  41837. end;
  41838. procedure TUSB_U1EIE.clearBMXEE; inline;
  41839. begin
  41840. pTDefRegMap(@Self)^.clr := $00000040;
  41841. end;
  41842. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  41843. begin
  41844. if thebits = 0 then
  41845. pTDefRegMap(@Self)^.clr := $00000040
  41846. else
  41847. pTDefRegMap(@Self)^.&set := $00000040;
  41848. end;
  41849. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  41850. begin
  41851. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41852. end;
  41853. procedure TUSB_U1EIE.setBTSEE; inline;
  41854. begin
  41855. pTDefRegMap(@Self)^.&set := $00000080;
  41856. end;
  41857. procedure TUSB_U1EIE.clearBTSEE; inline;
  41858. begin
  41859. pTDefRegMap(@Self)^.clr := $00000080;
  41860. end;
  41861. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  41862. begin
  41863. if thebits = 0 then
  41864. pTDefRegMap(@Self)^.clr := $00000080
  41865. else
  41866. pTDefRegMap(@Self)^.&set := $00000080;
  41867. end;
  41868. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  41869. begin
  41870. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41871. end;
  41872. procedure TUSB_U1EIE.setCRC5EE; inline;
  41873. begin
  41874. pTDefRegMap(@Self)^.&set := $00000002;
  41875. end;
  41876. procedure TUSB_U1EIE.clearCRC5EE; inline;
  41877. begin
  41878. pTDefRegMap(@Self)^.clr := $00000002;
  41879. end;
  41880. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  41881. begin
  41882. if thebits = 0 then
  41883. pTDefRegMap(@Self)^.clr := $00000002
  41884. else
  41885. pTDefRegMap(@Self)^.&set := $00000002;
  41886. end;
  41887. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  41888. begin
  41889. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41890. end;
  41891. procedure TUSB_U1EIE.setEOFEE; inline;
  41892. begin
  41893. pTDefRegMap(@Self)^.&set := $00000002;
  41894. end;
  41895. procedure TUSB_U1EIE.clearEOFEE; inline;
  41896. begin
  41897. pTDefRegMap(@Self)^.clr := $00000002;
  41898. end;
  41899. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  41900. begin
  41901. if thebits = 0 then
  41902. pTDefRegMap(@Self)^.clr := $00000002
  41903. else
  41904. pTDefRegMap(@Self)^.&set := $00000002;
  41905. end;
  41906. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  41907. begin
  41908. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41909. end;
  41910. procedure TUSB_U1STAT.setPPBI; inline;
  41911. begin
  41912. pTDefRegMap(@Self)^.&set := $00000004;
  41913. end;
  41914. procedure TUSB_U1STAT.clearPPBI; inline;
  41915. begin
  41916. pTDefRegMap(@Self)^.clr := $00000004;
  41917. end;
  41918. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  41919. begin
  41920. if thebits = 0 then
  41921. pTDefRegMap(@Self)^.clr := $00000004
  41922. else
  41923. pTDefRegMap(@Self)^.&set := $00000004;
  41924. end;
  41925. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  41926. begin
  41927. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41928. end;
  41929. procedure TUSB_U1STAT.setDIR; inline;
  41930. begin
  41931. pTDefRegMap(@Self)^.&set := $00000008;
  41932. end;
  41933. procedure TUSB_U1STAT.clearDIR; inline;
  41934. begin
  41935. pTDefRegMap(@Self)^.clr := $00000008;
  41936. end;
  41937. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  41938. begin
  41939. if thebits = 0 then
  41940. pTDefRegMap(@Self)^.clr := $00000008
  41941. else
  41942. pTDefRegMap(@Self)^.&set := $00000008;
  41943. end;
  41944. function TUSB_U1STAT.getDIR : TBits_1; inline;
  41945. begin
  41946. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41947. end;
  41948. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  41949. begin
  41950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  41951. end;
  41952. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  41953. begin
  41954. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  41955. end;
  41956. procedure TUSB_U1STAT.setENDPT0; inline;
  41957. begin
  41958. pTDefRegMap(@Self)^.&set := $00000010;
  41959. end;
  41960. procedure TUSB_U1STAT.clearENDPT0; inline;
  41961. begin
  41962. pTDefRegMap(@Self)^.clr := $00000010;
  41963. end;
  41964. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  41965. begin
  41966. if thebits = 0 then
  41967. pTDefRegMap(@Self)^.clr := $00000010
  41968. else
  41969. pTDefRegMap(@Self)^.&set := $00000010;
  41970. end;
  41971. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  41972. begin
  41973. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41974. end;
  41975. procedure TUSB_U1STAT.setENDPT1; inline;
  41976. begin
  41977. pTDefRegMap(@Self)^.&set := $00000020;
  41978. end;
  41979. procedure TUSB_U1STAT.clearENDPT1; inline;
  41980. begin
  41981. pTDefRegMap(@Self)^.clr := $00000020;
  41982. end;
  41983. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  41984. begin
  41985. if thebits = 0 then
  41986. pTDefRegMap(@Self)^.clr := $00000020
  41987. else
  41988. pTDefRegMap(@Self)^.&set := $00000020;
  41989. end;
  41990. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  41991. begin
  41992. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41993. end;
  41994. procedure TUSB_U1STAT.setENDPT2; inline;
  41995. begin
  41996. pTDefRegMap(@Self)^.&set := $00000040;
  41997. end;
  41998. procedure TUSB_U1STAT.clearENDPT2; inline;
  41999. begin
  42000. pTDefRegMap(@Self)^.clr := $00000040;
  42001. end;
  42002. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  42003. begin
  42004. if thebits = 0 then
  42005. pTDefRegMap(@Self)^.clr := $00000040
  42006. else
  42007. pTDefRegMap(@Self)^.&set := $00000040;
  42008. end;
  42009. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  42010. begin
  42011. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42012. end;
  42013. procedure TUSB_U1STAT.setENDPT3; inline;
  42014. begin
  42015. pTDefRegMap(@Self)^.&set := $00000080;
  42016. end;
  42017. procedure TUSB_U1STAT.clearENDPT3; inline;
  42018. begin
  42019. pTDefRegMap(@Self)^.clr := $00000080;
  42020. end;
  42021. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  42022. begin
  42023. if thebits = 0 then
  42024. pTDefRegMap(@Self)^.clr := $00000080
  42025. else
  42026. pTDefRegMap(@Self)^.&set := $00000080;
  42027. end;
  42028. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  42029. begin
  42030. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42031. end;
  42032. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  42033. begin
  42034. pTDefRegMap(@Self)^.&set := $00000001;
  42035. end;
  42036. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  42037. begin
  42038. pTDefRegMap(@Self)^.clr := $00000001;
  42039. end;
  42040. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  42041. begin
  42042. if thebits = 0 then
  42043. pTDefRegMap(@Self)^.clr := $00000001
  42044. else
  42045. pTDefRegMap(@Self)^.&set := $00000001;
  42046. end;
  42047. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  42048. begin
  42049. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42050. end;
  42051. procedure TUSB_U1CON.setPPBRST; inline;
  42052. begin
  42053. pTDefRegMap(@Self)^.&set := $00000002;
  42054. end;
  42055. procedure TUSB_U1CON.clearPPBRST; inline;
  42056. begin
  42057. pTDefRegMap(@Self)^.clr := $00000002;
  42058. end;
  42059. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  42060. begin
  42061. if thebits = 0 then
  42062. pTDefRegMap(@Self)^.clr := $00000002
  42063. else
  42064. pTDefRegMap(@Self)^.&set := $00000002;
  42065. end;
  42066. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  42067. begin
  42068. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42069. end;
  42070. procedure TUSB_U1CON.setRESUME; inline;
  42071. begin
  42072. pTDefRegMap(@Self)^.&set := $00000004;
  42073. end;
  42074. procedure TUSB_U1CON.clearRESUME; inline;
  42075. begin
  42076. pTDefRegMap(@Self)^.clr := $00000004;
  42077. end;
  42078. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  42079. begin
  42080. if thebits = 0 then
  42081. pTDefRegMap(@Self)^.clr := $00000004
  42082. else
  42083. pTDefRegMap(@Self)^.&set := $00000004;
  42084. end;
  42085. function TUSB_U1CON.getRESUME : TBits_1; inline;
  42086. begin
  42087. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42088. end;
  42089. procedure TUSB_U1CON.setHOSTEN; inline;
  42090. begin
  42091. pTDefRegMap(@Self)^.&set := $00000008;
  42092. end;
  42093. procedure TUSB_U1CON.clearHOSTEN; inline;
  42094. begin
  42095. pTDefRegMap(@Self)^.clr := $00000008;
  42096. end;
  42097. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  42098. begin
  42099. if thebits = 0 then
  42100. pTDefRegMap(@Self)^.clr := $00000008
  42101. else
  42102. pTDefRegMap(@Self)^.&set := $00000008;
  42103. end;
  42104. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  42105. begin
  42106. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42107. end;
  42108. procedure TUSB_U1CON.setUSBRST; inline;
  42109. begin
  42110. pTDefRegMap(@Self)^.&set := $00000010;
  42111. end;
  42112. procedure TUSB_U1CON.clearUSBRST; inline;
  42113. begin
  42114. pTDefRegMap(@Self)^.clr := $00000010;
  42115. end;
  42116. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  42117. begin
  42118. if thebits = 0 then
  42119. pTDefRegMap(@Self)^.clr := $00000010
  42120. else
  42121. pTDefRegMap(@Self)^.&set := $00000010;
  42122. end;
  42123. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  42124. begin
  42125. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42126. end;
  42127. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  42128. begin
  42129. pTDefRegMap(@Self)^.&set := $00000020;
  42130. end;
  42131. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  42132. begin
  42133. pTDefRegMap(@Self)^.clr := $00000020;
  42134. end;
  42135. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  42136. begin
  42137. if thebits = 0 then
  42138. pTDefRegMap(@Self)^.clr := $00000020
  42139. else
  42140. pTDefRegMap(@Self)^.&set := $00000020;
  42141. end;
  42142. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  42143. begin
  42144. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42145. end;
  42146. procedure TUSB_U1CON.setSE0; inline;
  42147. begin
  42148. pTDefRegMap(@Self)^.&set := $00000040;
  42149. end;
  42150. procedure TUSB_U1CON.clearSE0; inline;
  42151. begin
  42152. pTDefRegMap(@Self)^.clr := $00000040;
  42153. end;
  42154. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  42155. begin
  42156. if thebits = 0 then
  42157. pTDefRegMap(@Self)^.clr := $00000040
  42158. else
  42159. pTDefRegMap(@Self)^.&set := $00000040;
  42160. end;
  42161. function TUSB_U1CON.getSE0 : TBits_1; inline;
  42162. begin
  42163. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42164. end;
  42165. procedure TUSB_U1CON.setJSTATE; inline;
  42166. begin
  42167. pTDefRegMap(@Self)^.&set := $00000080;
  42168. end;
  42169. procedure TUSB_U1CON.clearJSTATE; inline;
  42170. begin
  42171. pTDefRegMap(@Self)^.clr := $00000080;
  42172. end;
  42173. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  42174. begin
  42175. if thebits = 0 then
  42176. pTDefRegMap(@Self)^.clr := $00000080
  42177. else
  42178. pTDefRegMap(@Self)^.&set := $00000080;
  42179. end;
  42180. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  42181. begin
  42182. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42183. end;
  42184. procedure TUSB_U1CON.setUSBEN; inline;
  42185. begin
  42186. pTDefRegMap(@Self)^.&set := $00000001;
  42187. end;
  42188. procedure TUSB_U1CON.clearUSBEN; inline;
  42189. begin
  42190. pTDefRegMap(@Self)^.clr := $00000001;
  42191. end;
  42192. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  42193. begin
  42194. if thebits = 0 then
  42195. pTDefRegMap(@Self)^.clr := $00000001
  42196. else
  42197. pTDefRegMap(@Self)^.&set := $00000001;
  42198. end;
  42199. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  42200. begin
  42201. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42202. end;
  42203. procedure TUSB_U1CON.setSOFEN; inline;
  42204. begin
  42205. pTDefRegMap(@Self)^.&set := $00000001;
  42206. end;
  42207. procedure TUSB_U1CON.clearSOFEN; inline;
  42208. begin
  42209. pTDefRegMap(@Self)^.clr := $00000001;
  42210. end;
  42211. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  42212. begin
  42213. if thebits = 0 then
  42214. pTDefRegMap(@Self)^.clr := $00000001
  42215. else
  42216. pTDefRegMap(@Self)^.&set := $00000001;
  42217. end;
  42218. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  42219. begin
  42220. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42221. end;
  42222. procedure TUSB_U1CON.setPKTDIS; inline;
  42223. begin
  42224. pTDefRegMap(@Self)^.&set := $00000020;
  42225. end;
  42226. procedure TUSB_U1CON.clearPKTDIS; inline;
  42227. begin
  42228. pTDefRegMap(@Self)^.clr := $00000020;
  42229. end;
  42230. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  42231. begin
  42232. if thebits = 0 then
  42233. pTDefRegMap(@Self)^.clr := $00000020
  42234. else
  42235. pTDefRegMap(@Self)^.&set := $00000020;
  42236. end;
  42237. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  42238. begin
  42239. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42240. end;
  42241. procedure TUSB_U1CON.setTOKBUSY; inline;
  42242. begin
  42243. pTDefRegMap(@Self)^.&set := $00000020;
  42244. end;
  42245. procedure TUSB_U1CON.clearTOKBUSY; inline;
  42246. begin
  42247. pTDefRegMap(@Self)^.clr := $00000020;
  42248. end;
  42249. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  42250. begin
  42251. if thebits = 0 then
  42252. pTDefRegMap(@Self)^.clr := $00000020
  42253. else
  42254. pTDefRegMap(@Self)^.&set := $00000020;
  42255. end;
  42256. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  42257. begin
  42258. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42259. end;
  42260. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  42261. begin
  42262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  42263. end;
  42264. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  42265. begin
  42266. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  42267. end;
  42268. procedure TUSB_U1ADDR.setLSPDEN; inline;
  42269. begin
  42270. pTDefRegMap(@Self)^.&set := $00000080;
  42271. end;
  42272. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  42273. begin
  42274. pTDefRegMap(@Self)^.clr := $00000080;
  42275. end;
  42276. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  42277. begin
  42278. if thebits = 0 then
  42279. pTDefRegMap(@Self)^.clr := $00000080
  42280. else
  42281. pTDefRegMap(@Self)^.&set := $00000080;
  42282. end;
  42283. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  42284. begin
  42285. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42286. end;
  42287. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  42288. begin
  42289. pTDefRegMap(@Self)^.&set := $00000001;
  42290. end;
  42291. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  42292. begin
  42293. pTDefRegMap(@Self)^.clr := $00000001;
  42294. end;
  42295. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  42296. begin
  42297. if thebits = 0 then
  42298. pTDefRegMap(@Self)^.clr := $00000001
  42299. else
  42300. pTDefRegMap(@Self)^.&set := $00000001;
  42301. end;
  42302. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  42303. begin
  42304. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42305. end;
  42306. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  42307. begin
  42308. pTDefRegMap(@Self)^.&set := $00000002;
  42309. end;
  42310. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  42311. begin
  42312. pTDefRegMap(@Self)^.clr := $00000002;
  42313. end;
  42314. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  42315. begin
  42316. if thebits = 0 then
  42317. pTDefRegMap(@Self)^.clr := $00000002
  42318. else
  42319. pTDefRegMap(@Self)^.&set := $00000002;
  42320. end;
  42321. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  42322. begin
  42323. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42324. end;
  42325. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  42326. begin
  42327. pTDefRegMap(@Self)^.&set := $00000004;
  42328. end;
  42329. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  42330. begin
  42331. pTDefRegMap(@Self)^.clr := $00000004;
  42332. end;
  42333. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  42334. begin
  42335. if thebits = 0 then
  42336. pTDefRegMap(@Self)^.clr := $00000004
  42337. else
  42338. pTDefRegMap(@Self)^.&set := $00000004;
  42339. end;
  42340. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  42341. begin
  42342. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42343. end;
  42344. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  42345. begin
  42346. pTDefRegMap(@Self)^.&set := $00000008;
  42347. end;
  42348. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  42349. begin
  42350. pTDefRegMap(@Self)^.clr := $00000008;
  42351. end;
  42352. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  42353. begin
  42354. if thebits = 0 then
  42355. pTDefRegMap(@Self)^.clr := $00000008
  42356. else
  42357. pTDefRegMap(@Self)^.&set := $00000008;
  42358. end;
  42359. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  42360. begin
  42361. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42362. end;
  42363. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  42364. begin
  42365. pTDefRegMap(@Self)^.&set := $00000010;
  42366. end;
  42367. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  42368. begin
  42369. pTDefRegMap(@Self)^.clr := $00000010;
  42370. end;
  42371. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  42372. begin
  42373. if thebits = 0 then
  42374. pTDefRegMap(@Self)^.clr := $00000010
  42375. else
  42376. pTDefRegMap(@Self)^.&set := $00000010;
  42377. end;
  42378. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  42379. begin
  42380. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42381. end;
  42382. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  42383. begin
  42384. pTDefRegMap(@Self)^.&set := $00000020;
  42385. end;
  42386. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  42387. begin
  42388. pTDefRegMap(@Self)^.clr := $00000020;
  42389. end;
  42390. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  42391. begin
  42392. if thebits = 0 then
  42393. pTDefRegMap(@Self)^.clr := $00000020
  42394. else
  42395. pTDefRegMap(@Self)^.&set := $00000020;
  42396. end;
  42397. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  42398. begin
  42399. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42400. end;
  42401. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  42402. begin
  42403. pTDefRegMap(@Self)^.&set := $00000040;
  42404. end;
  42405. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  42406. begin
  42407. pTDefRegMap(@Self)^.clr := $00000040;
  42408. end;
  42409. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  42410. begin
  42411. if thebits = 0 then
  42412. pTDefRegMap(@Self)^.clr := $00000040
  42413. else
  42414. pTDefRegMap(@Self)^.&set := $00000040;
  42415. end;
  42416. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  42417. begin
  42418. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42419. end;
  42420. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  42421. begin
  42422. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  42423. end;
  42424. function TUSB_U1FRML.getFRML : TBits_8; inline;
  42425. begin
  42426. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  42427. end;
  42428. procedure TUSB_U1FRML.setFRM0; inline;
  42429. begin
  42430. pTDefRegMap(@Self)^.&set := $00000001;
  42431. end;
  42432. procedure TUSB_U1FRML.clearFRM0; inline;
  42433. begin
  42434. pTDefRegMap(@Self)^.clr := $00000001;
  42435. end;
  42436. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  42437. begin
  42438. if thebits = 0 then
  42439. pTDefRegMap(@Self)^.clr := $00000001
  42440. else
  42441. pTDefRegMap(@Self)^.&set := $00000001;
  42442. end;
  42443. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  42444. begin
  42445. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42446. end;
  42447. procedure TUSB_U1FRML.setFRM1; inline;
  42448. begin
  42449. pTDefRegMap(@Self)^.&set := $00000002;
  42450. end;
  42451. procedure TUSB_U1FRML.clearFRM1; inline;
  42452. begin
  42453. pTDefRegMap(@Self)^.clr := $00000002;
  42454. end;
  42455. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  42456. begin
  42457. if thebits = 0 then
  42458. pTDefRegMap(@Self)^.clr := $00000002
  42459. else
  42460. pTDefRegMap(@Self)^.&set := $00000002;
  42461. end;
  42462. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  42463. begin
  42464. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42465. end;
  42466. procedure TUSB_U1FRML.setFRM2; inline;
  42467. begin
  42468. pTDefRegMap(@Self)^.&set := $00000004;
  42469. end;
  42470. procedure TUSB_U1FRML.clearFRM2; inline;
  42471. begin
  42472. pTDefRegMap(@Self)^.clr := $00000004;
  42473. end;
  42474. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  42475. begin
  42476. if thebits = 0 then
  42477. pTDefRegMap(@Self)^.clr := $00000004
  42478. else
  42479. pTDefRegMap(@Self)^.&set := $00000004;
  42480. end;
  42481. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  42482. begin
  42483. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42484. end;
  42485. procedure TUSB_U1FRML.setFRM3; inline;
  42486. begin
  42487. pTDefRegMap(@Self)^.&set := $00000008;
  42488. end;
  42489. procedure TUSB_U1FRML.clearFRM3; inline;
  42490. begin
  42491. pTDefRegMap(@Self)^.clr := $00000008;
  42492. end;
  42493. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  42494. begin
  42495. if thebits = 0 then
  42496. pTDefRegMap(@Self)^.clr := $00000008
  42497. else
  42498. pTDefRegMap(@Self)^.&set := $00000008;
  42499. end;
  42500. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  42501. begin
  42502. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42503. end;
  42504. procedure TUSB_U1FRML.setFRM4; inline;
  42505. begin
  42506. pTDefRegMap(@Self)^.&set := $00000010;
  42507. end;
  42508. procedure TUSB_U1FRML.clearFRM4; inline;
  42509. begin
  42510. pTDefRegMap(@Self)^.clr := $00000010;
  42511. end;
  42512. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  42513. begin
  42514. if thebits = 0 then
  42515. pTDefRegMap(@Self)^.clr := $00000010
  42516. else
  42517. pTDefRegMap(@Self)^.&set := $00000010;
  42518. end;
  42519. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  42520. begin
  42521. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42522. end;
  42523. procedure TUSB_U1FRML.setFRM5; inline;
  42524. begin
  42525. pTDefRegMap(@Self)^.&set := $00000020;
  42526. end;
  42527. procedure TUSB_U1FRML.clearFRM5; inline;
  42528. begin
  42529. pTDefRegMap(@Self)^.clr := $00000020;
  42530. end;
  42531. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  42532. begin
  42533. if thebits = 0 then
  42534. pTDefRegMap(@Self)^.clr := $00000020
  42535. else
  42536. pTDefRegMap(@Self)^.&set := $00000020;
  42537. end;
  42538. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  42539. begin
  42540. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42541. end;
  42542. procedure TUSB_U1FRML.setFRM6; inline;
  42543. begin
  42544. pTDefRegMap(@Self)^.&set := $00000040;
  42545. end;
  42546. procedure TUSB_U1FRML.clearFRM6; inline;
  42547. begin
  42548. pTDefRegMap(@Self)^.clr := $00000040;
  42549. end;
  42550. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  42551. begin
  42552. if thebits = 0 then
  42553. pTDefRegMap(@Self)^.clr := $00000040
  42554. else
  42555. pTDefRegMap(@Self)^.&set := $00000040;
  42556. end;
  42557. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  42558. begin
  42559. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42560. end;
  42561. procedure TUSB_U1FRML.setFRM7; inline;
  42562. begin
  42563. pTDefRegMap(@Self)^.&set := $00000080;
  42564. end;
  42565. procedure TUSB_U1FRML.clearFRM7; inline;
  42566. begin
  42567. pTDefRegMap(@Self)^.clr := $00000080;
  42568. end;
  42569. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  42570. begin
  42571. if thebits = 0 then
  42572. pTDefRegMap(@Self)^.clr := $00000080
  42573. else
  42574. pTDefRegMap(@Self)^.&set := $00000080;
  42575. end;
  42576. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  42577. begin
  42578. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42579. end;
  42580. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  42581. begin
  42582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  42583. end;
  42584. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  42585. begin
  42586. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  42587. end;
  42588. procedure TUSB_U1FRMH.setFRM8; inline;
  42589. begin
  42590. pTDefRegMap(@Self)^.&set := $00000001;
  42591. end;
  42592. procedure TUSB_U1FRMH.clearFRM8; inline;
  42593. begin
  42594. pTDefRegMap(@Self)^.clr := $00000001;
  42595. end;
  42596. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  42597. begin
  42598. if thebits = 0 then
  42599. pTDefRegMap(@Self)^.clr := $00000001
  42600. else
  42601. pTDefRegMap(@Self)^.&set := $00000001;
  42602. end;
  42603. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  42604. begin
  42605. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42606. end;
  42607. procedure TUSB_U1FRMH.setFRM9; inline;
  42608. begin
  42609. pTDefRegMap(@Self)^.&set := $00000002;
  42610. end;
  42611. procedure TUSB_U1FRMH.clearFRM9; inline;
  42612. begin
  42613. pTDefRegMap(@Self)^.clr := $00000002;
  42614. end;
  42615. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  42616. begin
  42617. if thebits = 0 then
  42618. pTDefRegMap(@Self)^.clr := $00000002
  42619. else
  42620. pTDefRegMap(@Self)^.&set := $00000002;
  42621. end;
  42622. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  42623. begin
  42624. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42625. end;
  42626. procedure TUSB_U1FRMH.setFRM10; inline;
  42627. begin
  42628. pTDefRegMap(@Self)^.&set := $00000004;
  42629. end;
  42630. procedure TUSB_U1FRMH.clearFRM10; inline;
  42631. begin
  42632. pTDefRegMap(@Self)^.clr := $00000004;
  42633. end;
  42634. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  42635. begin
  42636. if thebits = 0 then
  42637. pTDefRegMap(@Self)^.clr := $00000004
  42638. else
  42639. pTDefRegMap(@Self)^.&set := $00000004;
  42640. end;
  42641. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  42642. begin
  42643. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42644. end;
  42645. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  42646. begin
  42647. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  42648. end;
  42649. function TUSB_U1TOK.getEP : TBits_4; inline;
  42650. begin
  42651. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  42652. end;
  42653. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  42654. begin
  42655. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  42656. end;
  42657. function TUSB_U1TOK.getPID : TBits_4; inline;
  42658. begin
  42659. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  42660. end;
  42661. procedure TUSB_U1TOK.setEP0; inline;
  42662. begin
  42663. pTDefRegMap(@Self)^.&set := $00000001;
  42664. end;
  42665. procedure TUSB_U1TOK.clearEP0; inline;
  42666. begin
  42667. pTDefRegMap(@Self)^.clr := $00000001;
  42668. end;
  42669. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  42670. begin
  42671. if thebits = 0 then
  42672. pTDefRegMap(@Self)^.clr := $00000001
  42673. else
  42674. pTDefRegMap(@Self)^.&set := $00000001;
  42675. end;
  42676. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  42677. begin
  42678. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42679. end;
  42680. procedure TUSB_U1TOK.setEP1; inline;
  42681. begin
  42682. pTDefRegMap(@Self)^.&set := $00000002;
  42683. end;
  42684. procedure TUSB_U1TOK.clearEP1; inline;
  42685. begin
  42686. pTDefRegMap(@Self)^.clr := $00000002;
  42687. end;
  42688. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  42689. begin
  42690. if thebits = 0 then
  42691. pTDefRegMap(@Self)^.clr := $00000002
  42692. else
  42693. pTDefRegMap(@Self)^.&set := $00000002;
  42694. end;
  42695. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  42696. begin
  42697. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42698. end;
  42699. procedure TUSB_U1TOK.setEP2; inline;
  42700. begin
  42701. pTDefRegMap(@Self)^.&set := $00000004;
  42702. end;
  42703. procedure TUSB_U1TOK.clearEP2; inline;
  42704. begin
  42705. pTDefRegMap(@Self)^.clr := $00000004;
  42706. end;
  42707. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  42708. begin
  42709. if thebits = 0 then
  42710. pTDefRegMap(@Self)^.clr := $00000004
  42711. else
  42712. pTDefRegMap(@Self)^.&set := $00000004;
  42713. end;
  42714. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  42715. begin
  42716. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42717. end;
  42718. procedure TUSB_U1TOK.setEP3; inline;
  42719. begin
  42720. pTDefRegMap(@Self)^.&set := $00000008;
  42721. end;
  42722. procedure TUSB_U1TOK.clearEP3; inline;
  42723. begin
  42724. pTDefRegMap(@Self)^.clr := $00000008;
  42725. end;
  42726. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  42727. begin
  42728. if thebits = 0 then
  42729. pTDefRegMap(@Self)^.clr := $00000008
  42730. else
  42731. pTDefRegMap(@Self)^.&set := $00000008;
  42732. end;
  42733. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  42734. begin
  42735. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42736. end;
  42737. procedure TUSB_U1TOK.setPID0; inline;
  42738. begin
  42739. pTDefRegMap(@Self)^.&set := $00000010;
  42740. end;
  42741. procedure TUSB_U1TOK.clearPID0; inline;
  42742. begin
  42743. pTDefRegMap(@Self)^.clr := $00000010;
  42744. end;
  42745. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  42746. begin
  42747. if thebits = 0 then
  42748. pTDefRegMap(@Self)^.clr := $00000010
  42749. else
  42750. pTDefRegMap(@Self)^.&set := $00000010;
  42751. end;
  42752. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  42753. begin
  42754. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42755. end;
  42756. procedure TUSB_U1TOK.setPID1; inline;
  42757. begin
  42758. pTDefRegMap(@Self)^.&set := $00000020;
  42759. end;
  42760. procedure TUSB_U1TOK.clearPID1; inline;
  42761. begin
  42762. pTDefRegMap(@Self)^.clr := $00000020;
  42763. end;
  42764. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  42765. begin
  42766. if thebits = 0 then
  42767. pTDefRegMap(@Self)^.clr := $00000020
  42768. else
  42769. pTDefRegMap(@Self)^.&set := $00000020;
  42770. end;
  42771. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  42772. begin
  42773. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42774. end;
  42775. procedure TUSB_U1TOK.setPID2; inline;
  42776. begin
  42777. pTDefRegMap(@Self)^.&set := $00000040;
  42778. end;
  42779. procedure TUSB_U1TOK.clearPID2; inline;
  42780. begin
  42781. pTDefRegMap(@Self)^.clr := $00000040;
  42782. end;
  42783. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  42784. begin
  42785. if thebits = 0 then
  42786. pTDefRegMap(@Self)^.clr := $00000040
  42787. else
  42788. pTDefRegMap(@Self)^.&set := $00000040;
  42789. end;
  42790. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  42791. begin
  42792. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42793. end;
  42794. procedure TUSB_U1TOK.setPID3; inline;
  42795. begin
  42796. pTDefRegMap(@Self)^.&set := $00000080;
  42797. end;
  42798. procedure TUSB_U1TOK.clearPID3; inline;
  42799. begin
  42800. pTDefRegMap(@Self)^.clr := $00000080;
  42801. end;
  42802. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  42803. begin
  42804. if thebits = 0 then
  42805. pTDefRegMap(@Self)^.clr := $00000080
  42806. else
  42807. pTDefRegMap(@Self)^.&set := $00000080;
  42808. end;
  42809. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  42810. begin
  42811. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42812. end;
  42813. procedure TUSB_ANSELA.setANSA9; inline;
  42814. begin
  42815. pTDefRegMap(@Self)^.&set := $00000200;
  42816. end;
  42817. procedure TUSB_ANSELA.clearANSA9; inline;
  42818. begin
  42819. pTDefRegMap(@Self)^.clr := $00000200;
  42820. end;
  42821. procedure TUSB_ANSELA.setANSA9(thebits : TBits_1); inline;
  42822. begin
  42823. if thebits = 0 then
  42824. pTDefRegMap(@Self)^.clr := $00000200
  42825. else
  42826. pTDefRegMap(@Self)^.&set := $00000200;
  42827. end;
  42828. function TUSB_ANSELA.getANSA9 : TBits_1; inline;
  42829. begin
  42830. getANSA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42831. end;
  42832. procedure TUSB_ANSELA.setANSA10; inline;
  42833. begin
  42834. pTDefRegMap(@Self)^.&set := $00000400;
  42835. end;
  42836. procedure TUSB_ANSELA.clearANSA10; inline;
  42837. begin
  42838. pTDefRegMap(@Self)^.clr := $00000400;
  42839. end;
  42840. procedure TUSB_ANSELA.setANSA10(thebits : TBits_1); inline;
  42841. begin
  42842. if thebits = 0 then
  42843. pTDefRegMap(@Self)^.clr := $00000400
  42844. else
  42845. pTDefRegMap(@Self)^.&set := $00000400;
  42846. end;
  42847. function TUSB_ANSELA.getANSA10 : TBits_1; inline;
  42848. begin
  42849. getANSA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42850. end;
  42851. procedure TUSB_ANSELA.setw(thebits : TBits_32); inline;
  42852. begin
  42853. pTDefRegMap(@Self)^.val := thebits;
  42854. end;
  42855. function TUSB_ANSELA.getw : TBits_32; inline;
  42856. begin
  42857. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42858. end;
  42859. procedure TUSB_TRISA.setTRISA0; inline;
  42860. begin
  42861. pTDefRegMap(@Self)^.&set := $00000001;
  42862. end;
  42863. procedure TUSB_TRISA.clearTRISA0; inline;
  42864. begin
  42865. pTDefRegMap(@Self)^.clr := $00000001;
  42866. end;
  42867. procedure TUSB_TRISA.setTRISA0(thebits : TBits_1); inline;
  42868. begin
  42869. if thebits = 0 then
  42870. pTDefRegMap(@Self)^.clr := $00000001
  42871. else
  42872. pTDefRegMap(@Self)^.&set := $00000001;
  42873. end;
  42874. function TUSB_TRISA.getTRISA0 : TBits_1; inline;
  42875. begin
  42876. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42877. end;
  42878. procedure TUSB_TRISA.setTRISA1; inline;
  42879. begin
  42880. pTDefRegMap(@Self)^.&set := $00000002;
  42881. end;
  42882. procedure TUSB_TRISA.clearTRISA1; inline;
  42883. begin
  42884. pTDefRegMap(@Self)^.clr := $00000002;
  42885. end;
  42886. procedure TUSB_TRISA.setTRISA1(thebits : TBits_1); inline;
  42887. begin
  42888. if thebits = 0 then
  42889. pTDefRegMap(@Self)^.clr := $00000002
  42890. else
  42891. pTDefRegMap(@Self)^.&set := $00000002;
  42892. end;
  42893. function TUSB_TRISA.getTRISA1 : TBits_1; inline;
  42894. begin
  42895. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42896. end;
  42897. procedure TUSB_TRISA.setTRISA2; inline;
  42898. begin
  42899. pTDefRegMap(@Self)^.&set := $00000004;
  42900. end;
  42901. procedure TUSB_TRISA.clearTRISA2; inline;
  42902. begin
  42903. pTDefRegMap(@Self)^.clr := $00000004;
  42904. end;
  42905. procedure TUSB_TRISA.setTRISA2(thebits : TBits_1); inline;
  42906. begin
  42907. if thebits = 0 then
  42908. pTDefRegMap(@Self)^.clr := $00000004
  42909. else
  42910. pTDefRegMap(@Self)^.&set := $00000004;
  42911. end;
  42912. function TUSB_TRISA.getTRISA2 : TBits_1; inline;
  42913. begin
  42914. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42915. end;
  42916. procedure TUSB_TRISA.setTRISA3; inline;
  42917. begin
  42918. pTDefRegMap(@Self)^.&set := $00000008;
  42919. end;
  42920. procedure TUSB_TRISA.clearTRISA3; inline;
  42921. begin
  42922. pTDefRegMap(@Self)^.clr := $00000008;
  42923. end;
  42924. procedure TUSB_TRISA.setTRISA3(thebits : TBits_1); inline;
  42925. begin
  42926. if thebits = 0 then
  42927. pTDefRegMap(@Self)^.clr := $00000008
  42928. else
  42929. pTDefRegMap(@Self)^.&set := $00000008;
  42930. end;
  42931. function TUSB_TRISA.getTRISA3 : TBits_1; inline;
  42932. begin
  42933. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42934. end;
  42935. procedure TUSB_TRISA.setTRISA4; inline;
  42936. begin
  42937. pTDefRegMap(@Self)^.&set := $00000010;
  42938. end;
  42939. procedure TUSB_TRISA.clearTRISA4; inline;
  42940. begin
  42941. pTDefRegMap(@Self)^.clr := $00000010;
  42942. end;
  42943. procedure TUSB_TRISA.setTRISA4(thebits : TBits_1); inline;
  42944. begin
  42945. if thebits = 0 then
  42946. pTDefRegMap(@Self)^.clr := $00000010
  42947. else
  42948. pTDefRegMap(@Self)^.&set := $00000010;
  42949. end;
  42950. function TUSB_TRISA.getTRISA4 : TBits_1; inline;
  42951. begin
  42952. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42953. end;
  42954. procedure TUSB_TRISA.setTRISA5; inline;
  42955. begin
  42956. pTDefRegMap(@Self)^.&set := $00000020;
  42957. end;
  42958. procedure TUSB_TRISA.clearTRISA5; inline;
  42959. begin
  42960. pTDefRegMap(@Self)^.clr := $00000020;
  42961. end;
  42962. procedure TUSB_TRISA.setTRISA5(thebits : TBits_1); inline;
  42963. begin
  42964. if thebits = 0 then
  42965. pTDefRegMap(@Self)^.clr := $00000020
  42966. else
  42967. pTDefRegMap(@Self)^.&set := $00000020;
  42968. end;
  42969. function TUSB_TRISA.getTRISA5 : TBits_1; inline;
  42970. begin
  42971. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42972. end;
  42973. procedure TUSB_TRISA.setTRISA6; inline;
  42974. begin
  42975. pTDefRegMap(@Self)^.&set := $00000040;
  42976. end;
  42977. procedure TUSB_TRISA.clearTRISA6; inline;
  42978. begin
  42979. pTDefRegMap(@Self)^.clr := $00000040;
  42980. end;
  42981. procedure TUSB_TRISA.setTRISA6(thebits : TBits_1); inline;
  42982. begin
  42983. if thebits = 0 then
  42984. pTDefRegMap(@Self)^.clr := $00000040
  42985. else
  42986. pTDefRegMap(@Self)^.&set := $00000040;
  42987. end;
  42988. function TUSB_TRISA.getTRISA6 : TBits_1; inline;
  42989. begin
  42990. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42991. end;
  42992. procedure TUSB_TRISA.setTRISA7; inline;
  42993. begin
  42994. pTDefRegMap(@Self)^.&set := $00000080;
  42995. end;
  42996. procedure TUSB_TRISA.clearTRISA7; inline;
  42997. begin
  42998. pTDefRegMap(@Self)^.clr := $00000080;
  42999. end;
  43000. procedure TUSB_TRISA.setTRISA7(thebits : TBits_1); inline;
  43001. begin
  43002. if thebits = 0 then
  43003. pTDefRegMap(@Self)^.clr := $00000080
  43004. else
  43005. pTDefRegMap(@Self)^.&set := $00000080;
  43006. end;
  43007. function TUSB_TRISA.getTRISA7 : TBits_1; inline;
  43008. begin
  43009. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43010. end;
  43011. procedure TUSB_TRISA.setTRISA9; inline;
  43012. begin
  43013. pTDefRegMap(@Self)^.&set := $00000200;
  43014. end;
  43015. procedure TUSB_TRISA.clearTRISA9; inline;
  43016. begin
  43017. pTDefRegMap(@Self)^.clr := $00000200;
  43018. end;
  43019. procedure TUSB_TRISA.setTRISA9(thebits : TBits_1); inline;
  43020. begin
  43021. if thebits = 0 then
  43022. pTDefRegMap(@Self)^.clr := $00000200
  43023. else
  43024. pTDefRegMap(@Self)^.&set := $00000200;
  43025. end;
  43026. function TUSB_TRISA.getTRISA9 : TBits_1; inline;
  43027. begin
  43028. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43029. end;
  43030. procedure TUSB_TRISA.setTRISA10; inline;
  43031. begin
  43032. pTDefRegMap(@Self)^.&set := $00000400;
  43033. end;
  43034. procedure TUSB_TRISA.clearTRISA10; inline;
  43035. begin
  43036. pTDefRegMap(@Self)^.clr := $00000400;
  43037. end;
  43038. procedure TUSB_TRISA.setTRISA10(thebits : TBits_1); inline;
  43039. begin
  43040. if thebits = 0 then
  43041. pTDefRegMap(@Self)^.clr := $00000400
  43042. else
  43043. pTDefRegMap(@Self)^.&set := $00000400;
  43044. end;
  43045. function TUSB_TRISA.getTRISA10 : TBits_1; inline;
  43046. begin
  43047. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43048. end;
  43049. procedure TUSB_TRISA.setTRISA14; inline;
  43050. begin
  43051. pTDefRegMap(@Self)^.&set := $00004000;
  43052. end;
  43053. procedure TUSB_TRISA.clearTRISA14; inline;
  43054. begin
  43055. pTDefRegMap(@Self)^.clr := $00004000;
  43056. end;
  43057. procedure TUSB_TRISA.setTRISA14(thebits : TBits_1); inline;
  43058. begin
  43059. if thebits = 0 then
  43060. pTDefRegMap(@Self)^.clr := $00004000
  43061. else
  43062. pTDefRegMap(@Self)^.&set := $00004000;
  43063. end;
  43064. function TUSB_TRISA.getTRISA14 : TBits_1; inline;
  43065. begin
  43066. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43067. end;
  43068. procedure TUSB_TRISA.setTRISA15; inline;
  43069. begin
  43070. pTDefRegMap(@Self)^.&set := $00008000;
  43071. end;
  43072. procedure TUSB_TRISA.clearTRISA15; inline;
  43073. begin
  43074. pTDefRegMap(@Self)^.clr := $00008000;
  43075. end;
  43076. procedure TUSB_TRISA.setTRISA15(thebits : TBits_1); inline;
  43077. begin
  43078. if thebits = 0 then
  43079. pTDefRegMap(@Self)^.clr := $00008000
  43080. else
  43081. pTDefRegMap(@Self)^.&set := $00008000;
  43082. end;
  43083. function TUSB_TRISA.getTRISA15 : TBits_1; inline;
  43084. begin
  43085. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43086. end;
  43087. procedure TUSB_TRISA.setw(thebits : TBits_32); inline;
  43088. begin
  43089. pTDefRegMap(@Self)^.val := thebits;
  43090. end;
  43091. function TUSB_TRISA.getw : TBits_32; inline;
  43092. begin
  43093. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43094. end;
  43095. procedure TPORTA_PORTA.setRA0; inline;
  43096. begin
  43097. pTDefRegMap(@Self)^.&set := $00000001;
  43098. end;
  43099. procedure TPORTA_PORTA.clearRA0; inline;
  43100. begin
  43101. pTDefRegMap(@Self)^.clr := $00000001;
  43102. end;
  43103. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  43104. begin
  43105. if thebits = 0 then
  43106. pTDefRegMap(@Self)^.clr := $00000001
  43107. else
  43108. pTDefRegMap(@Self)^.&set := $00000001;
  43109. end;
  43110. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  43111. begin
  43112. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43113. end;
  43114. procedure TPORTA_PORTA.setRA1; inline;
  43115. begin
  43116. pTDefRegMap(@Self)^.&set := $00000002;
  43117. end;
  43118. procedure TPORTA_PORTA.clearRA1; inline;
  43119. begin
  43120. pTDefRegMap(@Self)^.clr := $00000002;
  43121. end;
  43122. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  43123. begin
  43124. if thebits = 0 then
  43125. pTDefRegMap(@Self)^.clr := $00000002
  43126. else
  43127. pTDefRegMap(@Self)^.&set := $00000002;
  43128. end;
  43129. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  43130. begin
  43131. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43132. end;
  43133. procedure TPORTA_PORTA.setRA2; inline;
  43134. begin
  43135. pTDefRegMap(@Self)^.&set := $00000004;
  43136. end;
  43137. procedure TPORTA_PORTA.clearRA2; inline;
  43138. begin
  43139. pTDefRegMap(@Self)^.clr := $00000004;
  43140. end;
  43141. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  43142. begin
  43143. if thebits = 0 then
  43144. pTDefRegMap(@Self)^.clr := $00000004
  43145. else
  43146. pTDefRegMap(@Self)^.&set := $00000004;
  43147. end;
  43148. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  43149. begin
  43150. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43151. end;
  43152. procedure TPORTA_PORTA.setRA3; inline;
  43153. begin
  43154. pTDefRegMap(@Self)^.&set := $00000008;
  43155. end;
  43156. procedure TPORTA_PORTA.clearRA3; inline;
  43157. begin
  43158. pTDefRegMap(@Self)^.clr := $00000008;
  43159. end;
  43160. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  43161. begin
  43162. if thebits = 0 then
  43163. pTDefRegMap(@Self)^.clr := $00000008
  43164. else
  43165. pTDefRegMap(@Self)^.&set := $00000008;
  43166. end;
  43167. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  43168. begin
  43169. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43170. end;
  43171. procedure TPORTA_PORTA.setRA4; inline;
  43172. begin
  43173. pTDefRegMap(@Self)^.&set := $00000010;
  43174. end;
  43175. procedure TPORTA_PORTA.clearRA4; inline;
  43176. begin
  43177. pTDefRegMap(@Self)^.clr := $00000010;
  43178. end;
  43179. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  43180. begin
  43181. if thebits = 0 then
  43182. pTDefRegMap(@Self)^.clr := $00000010
  43183. else
  43184. pTDefRegMap(@Self)^.&set := $00000010;
  43185. end;
  43186. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  43187. begin
  43188. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43189. end;
  43190. procedure TPORTA_PORTA.setRA5; inline;
  43191. begin
  43192. pTDefRegMap(@Self)^.&set := $00000020;
  43193. end;
  43194. procedure TPORTA_PORTA.clearRA5; inline;
  43195. begin
  43196. pTDefRegMap(@Self)^.clr := $00000020;
  43197. end;
  43198. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  43199. begin
  43200. if thebits = 0 then
  43201. pTDefRegMap(@Self)^.clr := $00000020
  43202. else
  43203. pTDefRegMap(@Self)^.&set := $00000020;
  43204. end;
  43205. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  43206. begin
  43207. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43208. end;
  43209. procedure TPORTA_PORTA.setRA6; inline;
  43210. begin
  43211. pTDefRegMap(@Self)^.&set := $00000040;
  43212. end;
  43213. procedure TPORTA_PORTA.clearRA6; inline;
  43214. begin
  43215. pTDefRegMap(@Self)^.clr := $00000040;
  43216. end;
  43217. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  43218. begin
  43219. if thebits = 0 then
  43220. pTDefRegMap(@Self)^.clr := $00000040
  43221. else
  43222. pTDefRegMap(@Self)^.&set := $00000040;
  43223. end;
  43224. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  43225. begin
  43226. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43227. end;
  43228. procedure TPORTA_PORTA.setRA7; inline;
  43229. begin
  43230. pTDefRegMap(@Self)^.&set := $00000080;
  43231. end;
  43232. procedure TPORTA_PORTA.clearRA7; inline;
  43233. begin
  43234. pTDefRegMap(@Self)^.clr := $00000080;
  43235. end;
  43236. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  43237. begin
  43238. if thebits = 0 then
  43239. pTDefRegMap(@Self)^.clr := $00000080
  43240. else
  43241. pTDefRegMap(@Self)^.&set := $00000080;
  43242. end;
  43243. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  43244. begin
  43245. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43246. end;
  43247. procedure TPORTA_PORTA.setRA9; inline;
  43248. begin
  43249. pTDefRegMap(@Self)^.&set := $00000200;
  43250. end;
  43251. procedure TPORTA_PORTA.clearRA9; inline;
  43252. begin
  43253. pTDefRegMap(@Self)^.clr := $00000200;
  43254. end;
  43255. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  43256. begin
  43257. if thebits = 0 then
  43258. pTDefRegMap(@Self)^.clr := $00000200
  43259. else
  43260. pTDefRegMap(@Self)^.&set := $00000200;
  43261. end;
  43262. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  43263. begin
  43264. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43265. end;
  43266. procedure TPORTA_PORTA.setRA10; inline;
  43267. begin
  43268. pTDefRegMap(@Self)^.&set := $00000400;
  43269. end;
  43270. procedure TPORTA_PORTA.clearRA10; inline;
  43271. begin
  43272. pTDefRegMap(@Self)^.clr := $00000400;
  43273. end;
  43274. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  43275. begin
  43276. if thebits = 0 then
  43277. pTDefRegMap(@Self)^.clr := $00000400
  43278. else
  43279. pTDefRegMap(@Self)^.&set := $00000400;
  43280. end;
  43281. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  43282. begin
  43283. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43284. end;
  43285. procedure TPORTA_PORTA.setRA14; inline;
  43286. begin
  43287. pTDefRegMap(@Self)^.&set := $00004000;
  43288. end;
  43289. procedure TPORTA_PORTA.clearRA14; inline;
  43290. begin
  43291. pTDefRegMap(@Self)^.clr := $00004000;
  43292. end;
  43293. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  43294. begin
  43295. if thebits = 0 then
  43296. pTDefRegMap(@Self)^.clr := $00004000
  43297. else
  43298. pTDefRegMap(@Self)^.&set := $00004000;
  43299. end;
  43300. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  43301. begin
  43302. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43303. end;
  43304. procedure TPORTA_PORTA.setRA15; inline;
  43305. begin
  43306. pTDefRegMap(@Self)^.&set := $00008000;
  43307. end;
  43308. procedure TPORTA_PORTA.clearRA15; inline;
  43309. begin
  43310. pTDefRegMap(@Self)^.clr := $00008000;
  43311. end;
  43312. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  43313. begin
  43314. if thebits = 0 then
  43315. pTDefRegMap(@Self)^.clr := $00008000
  43316. else
  43317. pTDefRegMap(@Self)^.&set := $00008000;
  43318. end;
  43319. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  43320. begin
  43321. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43322. end;
  43323. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  43324. begin
  43325. pTDefRegMap(@Self)^.val := thebits;
  43326. end;
  43327. function TPORTA_PORTA.getw : TBits_32; inline;
  43328. begin
  43329. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43330. end;
  43331. procedure TPORTA_LATA.setLATA0; inline;
  43332. begin
  43333. pTDefRegMap(@Self)^.&set := $00000001;
  43334. end;
  43335. procedure TPORTA_LATA.clearLATA0; inline;
  43336. begin
  43337. pTDefRegMap(@Self)^.clr := $00000001;
  43338. end;
  43339. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  43340. begin
  43341. if thebits = 0 then
  43342. pTDefRegMap(@Self)^.clr := $00000001
  43343. else
  43344. pTDefRegMap(@Self)^.&set := $00000001;
  43345. end;
  43346. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  43347. begin
  43348. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43349. end;
  43350. procedure TPORTA_LATA.setLATA1; inline;
  43351. begin
  43352. pTDefRegMap(@Self)^.&set := $00000002;
  43353. end;
  43354. procedure TPORTA_LATA.clearLATA1; inline;
  43355. begin
  43356. pTDefRegMap(@Self)^.clr := $00000002;
  43357. end;
  43358. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  43359. begin
  43360. if thebits = 0 then
  43361. pTDefRegMap(@Self)^.clr := $00000002
  43362. else
  43363. pTDefRegMap(@Self)^.&set := $00000002;
  43364. end;
  43365. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  43366. begin
  43367. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43368. end;
  43369. procedure TPORTA_LATA.setLATA2; inline;
  43370. begin
  43371. pTDefRegMap(@Self)^.&set := $00000004;
  43372. end;
  43373. procedure TPORTA_LATA.clearLATA2; inline;
  43374. begin
  43375. pTDefRegMap(@Self)^.clr := $00000004;
  43376. end;
  43377. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  43378. begin
  43379. if thebits = 0 then
  43380. pTDefRegMap(@Self)^.clr := $00000004
  43381. else
  43382. pTDefRegMap(@Self)^.&set := $00000004;
  43383. end;
  43384. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  43385. begin
  43386. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43387. end;
  43388. procedure TPORTA_LATA.setLATA3; inline;
  43389. begin
  43390. pTDefRegMap(@Self)^.&set := $00000008;
  43391. end;
  43392. procedure TPORTA_LATA.clearLATA3; inline;
  43393. begin
  43394. pTDefRegMap(@Self)^.clr := $00000008;
  43395. end;
  43396. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  43397. begin
  43398. if thebits = 0 then
  43399. pTDefRegMap(@Self)^.clr := $00000008
  43400. else
  43401. pTDefRegMap(@Self)^.&set := $00000008;
  43402. end;
  43403. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  43404. begin
  43405. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43406. end;
  43407. procedure TPORTA_LATA.setLATA4; inline;
  43408. begin
  43409. pTDefRegMap(@Self)^.&set := $00000010;
  43410. end;
  43411. procedure TPORTA_LATA.clearLATA4; inline;
  43412. begin
  43413. pTDefRegMap(@Self)^.clr := $00000010;
  43414. end;
  43415. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  43416. begin
  43417. if thebits = 0 then
  43418. pTDefRegMap(@Self)^.clr := $00000010
  43419. else
  43420. pTDefRegMap(@Self)^.&set := $00000010;
  43421. end;
  43422. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  43423. begin
  43424. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43425. end;
  43426. procedure TPORTA_LATA.setLATA5; inline;
  43427. begin
  43428. pTDefRegMap(@Self)^.&set := $00000020;
  43429. end;
  43430. procedure TPORTA_LATA.clearLATA5; inline;
  43431. begin
  43432. pTDefRegMap(@Self)^.clr := $00000020;
  43433. end;
  43434. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  43435. begin
  43436. if thebits = 0 then
  43437. pTDefRegMap(@Self)^.clr := $00000020
  43438. else
  43439. pTDefRegMap(@Self)^.&set := $00000020;
  43440. end;
  43441. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  43442. begin
  43443. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43444. end;
  43445. procedure TPORTA_LATA.setLATA6; inline;
  43446. begin
  43447. pTDefRegMap(@Self)^.&set := $00000040;
  43448. end;
  43449. procedure TPORTA_LATA.clearLATA6; inline;
  43450. begin
  43451. pTDefRegMap(@Self)^.clr := $00000040;
  43452. end;
  43453. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  43454. begin
  43455. if thebits = 0 then
  43456. pTDefRegMap(@Self)^.clr := $00000040
  43457. else
  43458. pTDefRegMap(@Self)^.&set := $00000040;
  43459. end;
  43460. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  43461. begin
  43462. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43463. end;
  43464. procedure TPORTA_LATA.setLATA7; inline;
  43465. begin
  43466. pTDefRegMap(@Self)^.&set := $00000080;
  43467. end;
  43468. procedure TPORTA_LATA.clearLATA7; inline;
  43469. begin
  43470. pTDefRegMap(@Self)^.clr := $00000080;
  43471. end;
  43472. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  43473. begin
  43474. if thebits = 0 then
  43475. pTDefRegMap(@Self)^.clr := $00000080
  43476. else
  43477. pTDefRegMap(@Self)^.&set := $00000080;
  43478. end;
  43479. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  43480. begin
  43481. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43482. end;
  43483. procedure TPORTA_LATA.setLATA9; inline;
  43484. begin
  43485. pTDefRegMap(@Self)^.&set := $00000200;
  43486. end;
  43487. procedure TPORTA_LATA.clearLATA9; inline;
  43488. begin
  43489. pTDefRegMap(@Self)^.clr := $00000200;
  43490. end;
  43491. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  43492. begin
  43493. if thebits = 0 then
  43494. pTDefRegMap(@Self)^.clr := $00000200
  43495. else
  43496. pTDefRegMap(@Self)^.&set := $00000200;
  43497. end;
  43498. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  43499. begin
  43500. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43501. end;
  43502. procedure TPORTA_LATA.setLATA10; inline;
  43503. begin
  43504. pTDefRegMap(@Self)^.&set := $00000400;
  43505. end;
  43506. procedure TPORTA_LATA.clearLATA10; inline;
  43507. begin
  43508. pTDefRegMap(@Self)^.clr := $00000400;
  43509. end;
  43510. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  43511. begin
  43512. if thebits = 0 then
  43513. pTDefRegMap(@Self)^.clr := $00000400
  43514. else
  43515. pTDefRegMap(@Self)^.&set := $00000400;
  43516. end;
  43517. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  43518. begin
  43519. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43520. end;
  43521. procedure TPORTA_LATA.setLATA14; inline;
  43522. begin
  43523. pTDefRegMap(@Self)^.&set := $00004000;
  43524. end;
  43525. procedure TPORTA_LATA.clearLATA14; inline;
  43526. begin
  43527. pTDefRegMap(@Self)^.clr := $00004000;
  43528. end;
  43529. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  43530. begin
  43531. if thebits = 0 then
  43532. pTDefRegMap(@Self)^.clr := $00004000
  43533. else
  43534. pTDefRegMap(@Self)^.&set := $00004000;
  43535. end;
  43536. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  43537. begin
  43538. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43539. end;
  43540. procedure TPORTA_LATA.setLATA15; inline;
  43541. begin
  43542. pTDefRegMap(@Self)^.&set := $00008000;
  43543. end;
  43544. procedure TPORTA_LATA.clearLATA15; inline;
  43545. begin
  43546. pTDefRegMap(@Self)^.clr := $00008000;
  43547. end;
  43548. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  43549. begin
  43550. if thebits = 0 then
  43551. pTDefRegMap(@Self)^.clr := $00008000
  43552. else
  43553. pTDefRegMap(@Self)^.&set := $00008000;
  43554. end;
  43555. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  43556. begin
  43557. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43558. end;
  43559. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  43560. begin
  43561. pTDefRegMap(@Self)^.val := thebits;
  43562. end;
  43563. function TPORTA_LATA.getw : TBits_32; inline;
  43564. begin
  43565. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43566. end;
  43567. procedure TPORTA_ODCA.setODCA0; inline;
  43568. begin
  43569. pTDefRegMap(@Self)^.&set := $00000001;
  43570. end;
  43571. procedure TPORTA_ODCA.clearODCA0; inline;
  43572. begin
  43573. pTDefRegMap(@Self)^.clr := $00000001;
  43574. end;
  43575. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  43576. begin
  43577. if thebits = 0 then
  43578. pTDefRegMap(@Self)^.clr := $00000001
  43579. else
  43580. pTDefRegMap(@Self)^.&set := $00000001;
  43581. end;
  43582. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  43583. begin
  43584. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43585. end;
  43586. procedure TPORTA_ODCA.setODCA1; inline;
  43587. begin
  43588. pTDefRegMap(@Self)^.&set := $00000002;
  43589. end;
  43590. procedure TPORTA_ODCA.clearODCA1; inline;
  43591. begin
  43592. pTDefRegMap(@Self)^.clr := $00000002;
  43593. end;
  43594. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  43595. begin
  43596. if thebits = 0 then
  43597. pTDefRegMap(@Self)^.clr := $00000002
  43598. else
  43599. pTDefRegMap(@Self)^.&set := $00000002;
  43600. end;
  43601. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  43602. begin
  43603. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43604. end;
  43605. procedure TPORTA_ODCA.setODCA2; inline;
  43606. begin
  43607. pTDefRegMap(@Self)^.&set := $00000004;
  43608. end;
  43609. procedure TPORTA_ODCA.clearODCA2; inline;
  43610. begin
  43611. pTDefRegMap(@Self)^.clr := $00000004;
  43612. end;
  43613. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  43614. begin
  43615. if thebits = 0 then
  43616. pTDefRegMap(@Self)^.clr := $00000004
  43617. else
  43618. pTDefRegMap(@Self)^.&set := $00000004;
  43619. end;
  43620. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  43621. begin
  43622. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43623. end;
  43624. procedure TPORTA_ODCA.setODCA3; inline;
  43625. begin
  43626. pTDefRegMap(@Self)^.&set := $00000008;
  43627. end;
  43628. procedure TPORTA_ODCA.clearODCA3; inline;
  43629. begin
  43630. pTDefRegMap(@Self)^.clr := $00000008;
  43631. end;
  43632. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  43633. begin
  43634. if thebits = 0 then
  43635. pTDefRegMap(@Self)^.clr := $00000008
  43636. else
  43637. pTDefRegMap(@Self)^.&set := $00000008;
  43638. end;
  43639. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  43640. begin
  43641. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43642. end;
  43643. procedure TPORTA_ODCA.setODCA4; inline;
  43644. begin
  43645. pTDefRegMap(@Self)^.&set := $00000010;
  43646. end;
  43647. procedure TPORTA_ODCA.clearODCA4; inline;
  43648. begin
  43649. pTDefRegMap(@Self)^.clr := $00000010;
  43650. end;
  43651. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  43652. begin
  43653. if thebits = 0 then
  43654. pTDefRegMap(@Self)^.clr := $00000010
  43655. else
  43656. pTDefRegMap(@Self)^.&set := $00000010;
  43657. end;
  43658. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  43659. begin
  43660. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43661. end;
  43662. procedure TPORTA_ODCA.setODCA5; inline;
  43663. begin
  43664. pTDefRegMap(@Self)^.&set := $00000020;
  43665. end;
  43666. procedure TPORTA_ODCA.clearODCA5; inline;
  43667. begin
  43668. pTDefRegMap(@Self)^.clr := $00000020;
  43669. end;
  43670. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  43671. begin
  43672. if thebits = 0 then
  43673. pTDefRegMap(@Self)^.clr := $00000020
  43674. else
  43675. pTDefRegMap(@Self)^.&set := $00000020;
  43676. end;
  43677. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  43678. begin
  43679. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43680. end;
  43681. procedure TPORTA_ODCA.setODCA6; inline;
  43682. begin
  43683. pTDefRegMap(@Self)^.&set := $00000040;
  43684. end;
  43685. procedure TPORTA_ODCA.clearODCA6; inline;
  43686. begin
  43687. pTDefRegMap(@Self)^.clr := $00000040;
  43688. end;
  43689. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  43690. begin
  43691. if thebits = 0 then
  43692. pTDefRegMap(@Self)^.clr := $00000040
  43693. else
  43694. pTDefRegMap(@Self)^.&set := $00000040;
  43695. end;
  43696. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  43697. begin
  43698. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43699. end;
  43700. procedure TPORTA_ODCA.setODCA7; inline;
  43701. begin
  43702. pTDefRegMap(@Self)^.&set := $00000080;
  43703. end;
  43704. procedure TPORTA_ODCA.clearODCA7; inline;
  43705. begin
  43706. pTDefRegMap(@Self)^.clr := $00000080;
  43707. end;
  43708. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  43709. begin
  43710. if thebits = 0 then
  43711. pTDefRegMap(@Self)^.clr := $00000080
  43712. else
  43713. pTDefRegMap(@Self)^.&set := $00000080;
  43714. end;
  43715. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  43716. begin
  43717. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43718. end;
  43719. procedure TPORTA_ODCA.setODCA9; inline;
  43720. begin
  43721. pTDefRegMap(@Self)^.&set := $00000200;
  43722. end;
  43723. procedure TPORTA_ODCA.clearODCA9; inline;
  43724. begin
  43725. pTDefRegMap(@Self)^.clr := $00000200;
  43726. end;
  43727. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  43728. begin
  43729. if thebits = 0 then
  43730. pTDefRegMap(@Self)^.clr := $00000200
  43731. else
  43732. pTDefRegMap(@Self)^.&set := $00000200;
  43733. end;
  43734. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  43735. begin
  43736. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43737. end;
  43738. procedure TPORTA_ODCA.setODCA10; inline;
  43739. begin
  43740. pTDefRegMap(@Self)^.&set := $00000400;
  43741. end;
  43742. procedure TPORTA_ODCA.clearODCA10; inline;
  43743. begin
  43744. pTDefRegMap(@Self)^.clr := $00000400;
  43745. end;
  43746. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  43747. begin
  43748. if thebits = 0 then
  43749. pTDefRegMap(@Self)^.clr := $00000400
  43750. else
  43751. pTDefRegMap(@Self)^.&set := $00000400;
  43752. end;
  43753. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  43754. begin
  43755. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43756. end;
  43757. procedure TPORTA_ODCA.setODCA14; inline;
  43758. begin
  43759. pTDefRegMap(@Self)^.&set := $00004000;
  43760. end;
  43761. procedure TPORTA_ODCA.clearODCA14; inline;
  43762. begin
  43763. pTDefRegMap(@Self)^.clr := $00004000;
  43764. end;
  43765. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  43766. begin
  43767. if thebits = 0 then
  43768. pTDefRegMap(@Self)^.clr := $00004000
  43769. else
  43770. pTDefRegMap(@Self)^.&set := $00004000;
  43771. end;
  43772. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  43773. begin
  43774. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43775. end;
  43776. procedure TPORTA_ODCA.setODCA15; inline;
  43777. begin
  43778. pTDefRegMap(@Self)^.&set := $00008000;
  43779. end;
  43780. procedure TPORTA_ODCA.clearODCA15; inline;
  43781. begin
  43782. pTDefRegMap(@Self)^.clr := $00008000;
  43783. end;
  43784. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  43785. begin
  43786. if thebits = 0 then
  43787. pTDefRegMap(@Self)^.clr := $00008000
  43788. else
  43789. pTDefRegMap(@Self)^.&set := $00008000;
  43790. end;
  43791. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  43792. begin
  43793. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43794. end;
  43795. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  43796. begin
  43797. pTDefRegMap(@Self)^.val := thebits;
  43798. end;
  43799. function TPORTA_ODCA.getw : TBits_32; inline;
  43800. begin
  43801. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43802. end;
  43803. procedure TPORTA_CNPUA.setCNPUA0; inline;
  43804. begin
  43805. pTDefRegMap(@Self)^.&set := $00000001;
  43806. end;
  43807. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  43808. begin
  43809. pTDefRegMap(@Self)^.clr := $00000001;
  43810. end;
  43811. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  43812. begin
  43813. if thebits = 0 then
  43814. pTDefRegMap(@Self)^.clr := $00000001
  43815. else
  43816. pTDefRegMap(@Self)^.&set := $00000001;
  43817. end;
  43818. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  43819. begin
  43820. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43821. end;
  43822. procedure TPORTA_CNPUA.setCNPUA1; inline;
  43823. begin
  43824. pTDefRegMap(@Self)^.&set := $00000002;
  43825. end;
  43826. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  43827. begin
  43828. pTDefRegMap(@Self)^.clr := $00000002;
  43829. end;
  43830. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  43831. begin
  43832. if thebits = 0 then
  43833. pTDefRegMap(@Self)^.clr := $00000002
  43834. else
  43835. pTDefRegMap(@Self)^.&set := $00000002;
  43836. end;
  43837. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  43838. begin
  43839. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43840. end;
  43841. procedure TPORTA_CNPUA.setCNPUA2; inline;
  43842. begin
  43843. pTDefRegMap(@Self)^.&set := $00000004;
  43844. end;
  43845. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  43846. begin
  43847. pTDefRegMap(@Self)^.clr := $00000004;
  43848. end;
  43849. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  43850. begin
  43851. if thebits = 0 then
  43852. pTDefRegMap(@Self)^.clr := $00000004
  43853. else
  43854. pTDefRegMap(@Self)^.&set := $00000004;
  43855. end;
  43856. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  43857. begin
  43858. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43859. end;
  43860. procedure TPORTA_CNPUA.setCNPUA3; inline;
  43861. begin
  43862. pTDefRegMap(@Self)^.&set := $00000008;
  43863. end;
  43864. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  43865. begin
  43866. pTDefRegMap(@Self)^.clr := $00000008;
  43867. end;
  43868. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  43869. begin
  43870. if thebits = 0 then
  43871. pTDefRegMap(@Self)^.clr := $00000008
  43872. else
  43873. pTDefRegMap(@Self)^.&set := $00000008;
  43874. end;
  43875. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  43876. begin
  43877. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43878. end;
  43879. procedure TPORTA_CNPUA.setCNPUA4; inline;
  43880. begin
  43881. pTDefRegMap(@Self)^.&set := $00000010;
  43882. end;
  43883. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  43884. begin
  43885. pTDefRegMap(@Self)^.clr := $00000010;
  43886. end;
  43887. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  43888. begin
  43889. if thebits = 0 then
  43890. pTDefRegMap(@Self)^.clr := $00000010
  43891. else
  43892. pTDefRegMap(@Self)^.&set := $00000010;
  43893. end;
  43894. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  43895. begin
  43896. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43897. end;
  43898. procedure TPORTA_CNPUA.setCNPUA5; inline;
  43899. begin
  43900. pTDefRegMap(@Self)^.&set := $00000020;
  43901. end;
  43902. procedure TPORTA_CNPUA.clearCNPUA5; inline;
  43903. begin
  43904. pTDefRegMap(@Self)^.clr := $00000020;
  43905. end;
  43906. procedure TPORTA_CNPUA.setCNPUA5(thebits : TBits_1); inline;
  43907. begin
  43908. if thebits = 0 then
  43909. pTDefRegMap(@Self)^.clr := $00000020
  43910. else
  43911. pTDefRegMap(@Self)^.&set := $00000020;
  43912. end;
  43913. function TPORTA_CNPUA.getCNPUA5 : TBits_1; inline;
  43914. begin
  43915. getCNPUA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43916. end;
  43917. procedure TPORTA_CNPUA.setCNPUA6; inline;
  43918. begin
  43919. pTDefRegMap(@Self)^.&set := $00000040;
  43920. end;
  43921. procedure TPORTA_CNPUA.clearCNPUA6; inline;
  43922. begin
  43923. pTDefRegMap(@Self)^.clr := $00000040;
  43924. end;
  43925. procedure TPORTA_CNPUA.setCNPUA6(thebits : TBits_1); inline;
  43926. begin
  43927. if thebits = 0 then
  43928. pTDefRegMap(@Self)^.clr := $00000040
  43929. else
  43930. pTDefRegMap(@Self)^.&set := $00000040;
  43931. end;
  43932. function TPORTA_CNPUA.getCNPUA6 : TBits_1; inline;
  43933. begin
  43934. getCNPUA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43935. end;
  43936. procedure TPORTA_CNPUA.setCNPUA7; inline;
  43937. begin
  43938. pTDefRegMap(@Self)^.&set := $00000080;
  43939. end;
  43940. procedure TPORTA_CNPUA.clearCNPUA7; inline;
  43941. begin
  43942. pTDefRegMap(@Self)^.clr := $00000080;
  43943. end;
  43944. procedure TPORTA_CNPUA.setCNPUA7(thebits : TBits_1); inline;
  43945. begin
  43946. if thebits = 0 then
  43947. pTDefRegMap(@Self)^.clr := $00000080
  43948. else
  43949. pTDefRegMap(@Self)^.&set := $00000080;
  43950. end;
  43951. function TPORTA_CNPUA.getCNPUA7 : TBits_1; inline;
  43952. begin
  43953. getCNPUA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43954. end;
  43955. procedure TPORTA_CNPUA.setCNPUA9; inline;
  43956. begin
  43957. pTDefRegMap(@Self)^.&set := $00000200;
  43958. end;
  43959. procedure TPORTA_CNPUA.clearCNPUA9; inline;
  43960. begin
  43961. pTDefRegMap(@Self)^.clr := $00000200;
  43962. end;
  43963. procedure TPORTA_CNPUA.setCNPUA9(thebits : TBits_1); inline;
  43964. begin
  43965. if thebits = 0 then
  43966. pTDefRegMap(@Self)^.clr := $00000200
  43967. else
  43968. pTDefRegMap(@Self)^.&set := $00000200;
  43969. end;
  43970. function TPORTA_CNPUA.getCNPUA9 : TBits_1; inline;
  43971. begin
  43972. getCNPUA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43973. end;
  43974. procedure TPORTA_CNPUA.setCNPUA10; inline;
  43975. begin
  43976. pTDefRegMap(@Self)^.&set := $00000400;
  43977. end;
  43978. procedure TPORTA_CNPUA.clearCNPUA10; inline;
  43979. begin
  43980. pTDefRegMap(@Self)^.clr := $00000400;
  43981. end;
  43982. procedure TPORTA_CNPUA.setCNPUA10(thebits : TBits_1); inline;
  43983. begin
  43984. if thebits = 0 then
  43985. pTDefRegMap(@Self)^.clr := $00000400
  43986. else
  43987. pTDefRegMap(@Self)^.&set := $00000400;
  43988. end;
  43989. function TPORTA_CNPUA.getCNPUA10 : TBits_1; inline;
  43990. begin
  43991. getCNPUA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43992. end;
  43993. procedure TPORTA_CNPUA.setCNPUA14; inline;
  43994. begin
  43995. pTDefRegMap(@Self)^.&set := $00004000;
  43996. end;
  43997. procedure TPORTA_CNPUA.clearCNPUA14; inline;
  43998. begin
  43999. pTDefRegMap(@Self)^.clr := $00004000;
  44000. end;
  44001. procedure TPORTA_CNPUA.setCNPUA14(thebits : TBits_1); inline;
  44002. begin
  44003. if thebits = 0 then
  44004. pTDefRegMap(@Self)^.clr := $00004000
  44005. else
  44006. pTDefRegMap(@Self)^.&set := $00004000;
  44007. end;
  44008. function TPORTA_CNPUA.getCNPUA14 : TBits_1; inline;
  44009. begin
  44010. getCNPUA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44011. end;
  44012. procedure TPORTA_CNPUA.setCNPUA15; inline;
  44013. begin
  44014. pTDefRegMap(@Self)^.&set := $00008000;
  44015. end;
  44016. procedure TPORTA_CNPUA.clearCNPUA15; inline;
  44017. begin
  44018. pTDefRegMap(@Self)^.clr := $00008000;
  44019. end;
  44020. procedure TPORTA_CNPUA.setCNPUA15(thebits : TBits_1); inline;
  44021. begin
  44022. if thebits = 0 then
  44023. pTDefRegMap(@Self)^.clr := $00008000
  44024. else
  44025. pTDefRegMap(@Self)^.&set := $00008000;
  44026. end;
  44027. function TPORTA_CNPUA.getCNPUA15 : TBits_1; inline;
  44028. begin
  44029. getCNPUA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44030. end;
  44031. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  44032. begin
  44033. pTDefRegMap(@Self)^.val := thebits;
  44034. end;
  44035. function TPORTA_CNPUA.getw : TBits_32; inline;
  44036. begin
  44037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44038. end;
  44039. procedure TPORTA_CNPDA.setCNPDA0; inline;
  44040. begin
  44041. pTDefRegMap(@Self)^.&set := $00000001;
  44042. end;
  44043. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  44044. begin
  44045. pTDefRegMap(@Self)^.clr := $00000001;
  44046. end;
  44047. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  44048. begin
  44049. if thebits = 0 then
  44050. pTDefRegMap(@Self)^.clr := $00000001
  44051. else
  44052. pTDefRegMap(@Self)^.&set := $00000001;
  44053. end;
  44054. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  44055. begin
  44056. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44057. end;
  44058. procedure TPORTA_CNPDA.setCNPDA1; inline;
  44059. begin
  44060. pTDefRegMap(@Self)^.&set := $00000002;
  44061. end;
  44062. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  44063. begin
  44064. pTDefRegMap(@Self)^.clr := $00000002;
  44065. end;
  44066. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  44067. begin
  44068. if thebits = 0 then
  44069. pTDefRegMap(@Self)^.clr := $00000002
  44070. else
  44071. pTDefRegMap(@Self)^.&set := $00000002;
  44072. end;
  44073. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  44074. begin
  44075. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44076. end;
  44077. procedure TPORTA_CNPDA.setCNPDA2; inline;
  44078. begin
  44079. pTDefRegMap(@Self)^.&set := $00000004;
  44080. end;
  44081. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  44082. begin
  44083. pTDefRegMap(@Self)^.clr := $00000004;
  44084. end;
  44085. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  44086. begin
  44087. if thebits = 0 then
  44088. pTDefRegMap(@Self)^.clr := $00000004
  44089. else
  44090. pTDefRegMap(@Self)^.&set := $00000004;
  44091. end;
  44092. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  44093. begin
  44094. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44095. end;
  44096. procedure TPORTA_CNPDA.setCNPDA3; inline;
  44097. begin
  44098. pTDefRegMap(@Self)^.&set := $00000008;
  44099. end;
  44100. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  44101. begin
  44102. pTDefRegMap(@Self)^.clr := $00000008;
  44103. end;
  44104. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  44105. begin
  44106. if thebits = 0 then
  44107. pTDefRegMap(@Self)^.clr := $00000008
  44108. else
  44109. pTDefRegMap(@Self)^.&set := $00000008;
  44110. end;
  44111. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  44112. begin
  44113. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44114. end;
  44115. procedure TPORTA_CNPDA.setCNPDA4; inline;
  44116. begin
  44117. pTDefRegMap(@Self)^.&set := $00000010;
  44118. end;
  44119. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  44120. begin
  44121. pTDefRegMap(@Self)^.clr := $00000010;
  44122. end;
  44123. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  44124. begin
  44125. if thebits = 0 then
  44126. pTDefRegMap(@Self)^.clr := $00000010
  44127. else
  44128. pTDefRegMap(@Self)^.&set := $00000010;
  44129. end;
  44130. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  44131. begin
  44132. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44133. end;
  44134. procedure TPORTA_CNPDA.setCNPDA5; inline;
  44135. begin
  44136. pTDefRegMap(@Self)^.&set := $00000020;
  44137. end;
  44138. procedure TPORTA_CNPDA.clearCNPDA5; inline;
  44139. begin
  44140. pTDefRegMap(@Self)^.clr := $00000020;
  44141. end;
  44142. procedure TPORTA_CNPDA.setCNPDA5(thebits : TBits_1); inline;
  44143. begin
  44144. if thebits = 0 then
  44145. pTDefRegMap(@Self)^.clr := $00000020
  44146. else
  44147. pTDefRegMap(@Self)^.&set := $00000020;
  44148. end;
  44149. function TPORTA_CNPDA.getCNPDA5 : TBits_1; inline;
  44150. begin
  44151. getCNPDA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44152. end;
  44153. procedure TPORTA_CNPDA.setCNPDA6; inline;
  44154. begin
  44155. pTDefRegMap(@Self)^.&set := $00000040;
  44156. end;
  44157. procedure TPORTA_CNPDA.clearCNPDA6; inline;
  44158. begin
  44159. pTDefRegMap(@Self)^.clr := $00000040;
  44160. end;
  44161. procedure TPORTA_CNPDA.setCNPDA6(thebits : TBits_1); inline;
  44162. begin
  44163. if thebits = 0 then
  44164. pTDefRegMap(@Self)^.clr := $00000040
  44165. else
  44166. pTDefRegMap(@Self)^.&set := $00000040;
  44167. end;
  44168. function TPORTA_CNPDA.getCNPDA6 : TBits_1; inline;
  44169. begin
  44170. getCNPDA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44171. end;
  44172. procedure TPORTA_CNPDA.setCNPDA7; inline;
  44173. begin
  44174. pTDefRegMap(@Self)^.&set := $00000080;
  44175. end;
  44176. procedure TPORTA_CNPDA.clearCNPDA7; inline;
  44177. begin
  44178. pTDefRegMap(@Self)^.clr := $00000080;
  44179. end;
  44180. procedure TPORTA_CNPDA.setCNPDA7(thebits : TBits_1); inline;
  44181. begin
  44182. if thebits = 0 then
  44183. pTDefRegMap(@Self)^.clr := $00000080
  44184. else
  44185. pTDefRegMap(@Self)^.&set := $00000080;
  44186. end;
  44187. function TPORTA_CNPDA.getCNPDA7 : TBits_1; inline;
  44188. begin
  44189. getCNPDA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44190. end;
  44191. procedure TPORTA_CNPDA.setCNPDA9; inline;
  44192. begin
  44193. pTDefRegMap(@Self)^.&set := $00000200;
  44194. end;
  44195. procedure TPORTA_CNPDA.clearCNPDA9; inline;
  44196. begin
  44197. pTDefRegMap(@Self)^.clr := $00000200;
  44198. end;
  44199. procedure TPORTA_CNPDA.setCNPDA9(thebits : TBits_1); inline;
  44200. begin
  44201. if thebits = 0 then
  44202. pTDefRegMap(@Self)^.clr := $00000200
  44203. else
  44204. pTDefRegMap(@Self)^.&set := $00000200;
  44205. end;
  44206. function TPORTA_CNPDA.getCNPDA9 : TBits_1; inline;
  44207. begin
  44208. getCNPDA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44209. end;
  44210. procedure TPORTA_CNPDA.setCNPDA10; inline;
  44211. begin
  44212. pTDefRegMap(@Self)^.&set := $00000400;
  44213. end;
  44214. procedure TPORTA_CNPDA.clearCNPDA10; inline;
  44215. begin
  44216. pTDefRegMap(@Self)^.clr := $00000400;
  44217. end;
  44218. procedure TPORTA_CNPDA.setCNPDA10(thebits : TBits_1); inline;
  44219. begin
  44220. if thebits = 0 then
  44221. pTDefRegMap(@Self)^.clr := $00000400
  44222. else
  44223. pTDefRegMap(@Self)^.&set := $00000400;
  44224. end;
  44225. function TPORTA_CNPDA.getCNPDA10 : TBits_1; inline;
  44226. begin
  44227. getCNPDA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44228. end;
  44229. procedure TPORTA_CNPDA.setCNPDA14; inline;
  44230. begin
  44231. pTDefRegMap(@Self)^.&set := $00004000;
  44232. end;
  44233. procedure TPORTA_CNPDA.clearCNPDA14; inline;
  44234. begin
  44235. pTDefRegMap(@Self)^.clr := $00004000;
  44236. end;
  44237. procedure TPORTA_CNPDA.setCNPDA14(thebits : TBits_1); inline;
  44238. begin
  44239. if thebits = 0 then
  44240. pTDefRegMap(@Self)^.clr := $00004000
  44241. else
  44242. pTDefRegMap(@Self)^.&set := $00004000;
  44243. end;
  44244. function TPORTA_CNPDA.getCNPDA14 : TBits_1; inline;
  44245. begin
  44246. getCNPDA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44247. end;
  44248. procedure TPORTA_CNPDA.setCNPDA15; inline;
  44249. begin
  44250. pTDefRegMap(@Self)^.&set := $00008000;
  44251. end;
  44252. procedure TPORTA_CNPDA.clearCNPDA15; inline;
  44253. begin
  44254. pTDefRegMap(@Self)^.clr := $00008000;
  44255. end;
  44256. procedure TPORTA_CNPDA.setCNPDA15(thebits : TBits_1); inline;
  44257. begin
  44258. if thebits = 0 then
  44259. pTDefRegMap(@Self)^.clr := $00008000
  44260. else
  44261. pTDefRegMap(@Self)^.&set := $00008000;
  44262. end;
  44263. function TPORTA_CNPDA.getCNPDA15 : TBits_1; inline;
  44264. begin
  44265. getCNPDA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44266. end;
  44267. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  44268. begin
  44269. pTDefRegMap(@Self)^.val := thebits;
  44270. end;
  44271. function TPORTA_CNPDA.getw : TBits_32; inline;
  44272. begin
  44273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44274. end;
  44275. procedure TPORTA_CNCONA.setSIDL; inline;
  44276. begin
  44277. pTDefRegMap(@Self)^.&set := $00002000;
  44278. end;
  44279. procedure TPORTA_CNCONA.clearSIDL; inline;
  44280. begin
  44281. pTDefRegMap(@Self)^.clr := $00002000;
  44282. end;
  44283. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  44284. begin
  44285. if thebits = 0 then
  44286. pTDefRegMap(@Self)^.clr := $00002000
  44287. else
  44288. pTDefRegMap(@Self)^.&set := $00002000;
  44289. end;
  44290. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  44291. begin
  44292. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44293. end;
  44294. procedure TPORTA_CNCONA.setON; inline;
  44295. begin
  44296. pTDefRegMap(@Self)^.&set := $00008000;
  44297. end;
  44298. procedure TPORTA_CNCONA.clearON; inline;
  44299. begin
  44300. pTDefRegMap(@Self)^.clr := $00008000;
  44301. end;
  44302. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  44303. begin
  44304. if thebits = 0 then
  44305. pTDefRegMap(@Self)^.clr := $00008000
  44306. else
  44307. pTDefRegMap(@Self)^.&set := $00008000;
  44308. end;
  44309. function TPORTA_CNCONA.getON : TBits_1; inline;
  44310. begin
  44311. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44312. end;
  44313. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  44314. begin
  44315. pTDefRegMap(@Self)^.val := thebits;
  44316. end;
  44317. function TPORTA_CNCONA.getw : TBits_32; inline;
  44318. begin
  44319. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44320. end;
  44321. procedure TPORTA_CNENA.setCNIEA0; inline;
  44322. begin
  44323. pTDefRegMap(@Self)^.&set := $00000001;
  44324. end;
  44325. procedure TPORTA_CNENA.clearCNIEA0; inline;
  44326. begin
  44327. pTDefRegMap(@Self)^.clr := $00000001;
  44328. end;
  44329. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  44330. begin
  44331. if thebits = 0 then
  44332. pTDefRegMap(@Self)^.clr := $00000001
  44333. else
  44334. pTDefRegMap(@Self)^.&set := $00000001;
  44335. end;
  44336. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  44337. begin
  44338. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44339. end;
  44340. procedure TPORTA_CNENA.setCNIEA1; inline;
  44341. begin
  44342. pTDefRegMap(@Self)^.&set := $00000002;
  44343. end;
  44344. procedure TPORTA_CNENA.clearCNIEA1; inline;
  44345. begin
  44346. pTDefRegMap(@Self)^.clr := $00000002;
  44347. end;
  44348. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  44349. begin
  44350. if thebits = 0 then
  44351. pTDefRegMap(@Self)^.clr := $00000002
  44352. else
  44353. pTDefRegMap(@Self)^.&set := $00000002;
  44354. end;
  44355. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  44356. begin
  44357. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44358. end;
  44359. procedure TPORTA_CNENA.setCNIEA2; inline;
  44360. begin
  44361. pTDefRegMap(@Self)^.&set := $00000004;
  44362. end;
  44363. procedure TPORTA_CNENA.clearCNIEA2; inline;
  44364. begin
  44365. pTDefRegMap(@Self)^.clr := $00000004;
  44366. end;
  44367. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  44368. begin
  44369. if thebits = 0 then
  44370. pTDefRegMap(@Self)^.clr := $00000004
  44371. else
  44372. pTDefRegMap(@Self)^.&set := $00000004;
  44373. end;
  44374. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  44375. begin
  44376. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44377. end;
  44378. procedure TPORTA_CNENA.setCNIEA3; inline;
  44379. begin
  44380. pTDefRegMap(@Self)^.&set := $00000008;
  44381. end;
  44382. procedure TPORTA_CNENA.clearCNIEA3; inline;
  44383. begin
  44384. pTDefRegMap(@Self)^.clr := $00000008;
  44385. end;
  44386. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  44387. begin
  44388. if thebits = 0 then
  44389. pTDefRegMap(@Self)^.clr := $00000008
  44390. else
  44391. pTDefRegMap(@Self)^.&set := $00000008;
  44392. end;
  44393. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  44394. begin
  44395. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44396. end;
  44397. procedure TPORTA_CNENA.setCNIEA4; inline;
  44398. begin
  44399. pTDefRegMap(@Self)^.&set := $00000010;
  44400. end;
  44401. procedure TPORTA_CNENA.clearCNIEA4; inline;
  44402. begin
  44403. pTDefRegMap(@Self)^.clr := $00000010;
  44404. end;
  44405. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  44406. begin
  44407. if thebits = 0 then
  44408. pTDefRegMap(@Self)^.clr := $00000010
  44409. else
  44410. pTDefRegMap(@Self)^.&set := $00000010;
  44411. end;
  44412. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  44413. begin
  44414. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44415. end;
  44416. procedure TPORTA_CNENA.setCNIEA5; inline;
  44417. begin
  44418. pTDefRegMap(@Self)^.&set := $00000020;
  44419. end;
  44420. procedure TPORTA_CNENA.clearCNIEA5; inline;
  44421. begin
  44422. pTDefRegMap(@Self)^.clr := $00000020;
  44423. end;
  44424. procedure TPORTA_CNENA.setCNIEA5(thebits : TBits_1); inline;
  44425. begin
  44426. if thebits = 0 then
  44427. pTDefRegMap(@Self)^.clr := $00000020
  44428. else
  44429. pTDefRegMap(@Self)^.&set := $00000020;
  44430. end;
  44431. function TPORTA_CNENA.getCNIEA5 : TBits_1; inline;
  44432. begin
  44433. getCNIEA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44434. end;
  44435. procedure TPORTA_CNENA.setCNIEA6; inline;
  44436. begin
  44437. pTDefRegMap(@Self)^.&set := $00000040;
  44438. end;
  44439. procedure TPORTA_CNENA.clearCNIEA6; inline;
  44440. begin
  44441. pTDefRegMap(@Self)^.clr := $00000040;
  44442. end;
  44443. procedure TPORTA_CNENA.setCNIEA6(thebits : TBits_1); inline;
  44444. begin
  44445. if thebits = 0 then
  44446. pTDefRegMap(@Self)^.clr := $00000040
  44447. else
  44448. pTDefRegMap(@Self)^.&set := $00000040;
  44449. end;
  44450. function TPORTA_CNENA.getCNIEA6 : TBits_1; inline;
  44451. begin
  44452. getCNIEA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44453. end;
  44454. procedure TPORTA_CNENA.setCNIEA7; inline;
  44455. begin
  44456. pTDefRegMap(@Self)^.&set := $00000080;
  44457. end;
  44458. procedure TPORTA_CNENA.clearCNIEA7; inline;
  44459. begin
  44460. pTDefRegMap(@Self)^.clr := $00000080;
  44461. end;
  44462. procedure TPORTA_CNENA.setCNIEA7(thebits : TBits_1); inline;
  44463. begin
  44464. if thebits = 0 then
  44465. pTDefRegMap(@Self)^.clr := $00000080
  44466. else
  44467. pTDefRegMap(@Self)^.&set := $00000080;
  44468. end;
  44469. function TPORTA_CNENA.getCNIEA7 : TBits_1; inline;
  44470. begin
  44471. getCNIEA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44472. end;
  44473. procedure TPORTA_CNENA.setCNIEA9; inline;
  44474. begin
  44475. pTDefRegMap(@Self)^.&set := $00000200;
  44476. end;
  44477. procedure TPORTA_CNENA.clearCNIEA9; inline;
  44478. begin
  44479. pTDefRegMap(@Self)^.clr := $00000200;
  44480. end;
  44481. procedure TPORTA_CNENA.setCNIEA9(thebits : TBits_1); inline;
  44482. begin
  44483. if thebits = 0 then
  44484. pTDefRegMap(@Self)^.clr := $00000200
  44485. else
  44486. pTDefRegMap(@Self)^.&set := $00000200;
  44487. end;
  44488. function TPORTA_CNENA.getCNIEA9 : TBits_1; inline;
  44489. begin
  44490. getCNIEA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44491. end;
  44492. procedure TPORTA_CNENA.setCNIEA10; inline;
  44493. begin
  44494. pTDefRegMap(@Self)^.&set := $00000400;
  44495. end;
  44496. procedure TPORTA_CNENA.clearCNIEA10; inline;
  44497. begin
  44498. pTDefRegMap(@Self)^.clr := $00000400;
  44499. end;
  44500. procedure TPORTA_CNENA.setCNIEA10(thebits : TBits_1); inline;
  44501. begin
  44502. if thebits = 0 then
  44503. pTDefRegMap(@Self)^.clr := $00000400
  44504. else
  44505. pTDefRegMap(@Self)^.&set := $00000400;
  44506. end;
  44507. function TPORTA_CNENA.getCNIEA10 : TBits_1; inline;
  44508. begin
  44509. getCNIEA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44510. end;
  44511. procedure TPORTA_CNENA.setCNIEA14; inline;
  44512. begin
  44513. pTDefRegMap(@Self)^.&set := $00004000;
  44514. end;
  44515. procedure TPORTA_CNENA.clearCNIEA14; inline;
  44516. begin
  44517. pTDefRegMap(@Self)^.clr := $00004000;
  44518. end;
  44519. procedure TPORTA_CNENA.setCNIEA14(thebits : TBits_1); inline;
  44520. begin
  44521. if thebits = 0 then
  44522. pTDefRegMap(@Self)^.clr := $00004000
  44523. else
  44524. pTDefRegMap(@Self)^.&set := $00004000;
  44525. end;
  44526. function TPORTA_CNENA.getCNIEA14 : TBits_1; inline;
  44527. begin
  44528. getCNIEA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44529. end;
  44530. procedure TPORTA_CNENA.setCNIEA15; inline;
  44531. begin
  44532. pTDefRegMap(@Self)^.&set := $00008000;
  44533. end;
  44534. procedure TPORTA_CNENA.clearCNIEA15; inline;
  44535. begin
  44536. pTDefRegMap(@Self)^.clr := $00008000;
  44537. end;
  44538. procedure TPORTA_CNENA.setCNIEA15(thebits : TBits_1); inline;
  44539. begin
  44540. if thebits = 0 then
  44541. pTDefRegMap(@Self)^.clr := $00008000
  44542. else
  44543. pTDefRegMap(@Self)^.&set := $00008000;
  44544. end;
  44545. function TPORTA_CNENA.getCNIEA15 : TBits_1; inline;
  44546. begin
  44547. getCNIEA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44548. end;
  44549. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  44550. begin
  44551. pTDefRegMap(@Self)^.val := thebits;
  44552. end;
  44553. function TPORTA_CNENA.getw : TBits_32; inline;
  44554. begin
  44555. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44556. end;
  44557. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  44558. begin
  44559. pTDefRegMap(@Self)^.&set := $00000001;
  44560. end;
  44561. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  44562. begin
  44563. pTDefRegMap(@Self)^.clr := $00000001;
  44564. end;
  44565. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  44566. begin
  44567. if thebits = 0 then
  44568. pTDefRegMap(@Self)^.clr := $00000001
  44569. else
  44570. pTDefRegMap(@Self)^.&set := $00000001;
  44571. end;
  44572. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  44573. begin
  44574. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44575. end;
  44576. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  44577. begin
  44578. pTDefRegMap(@Self)^.&set := $00000002;
  44579. end;
  44580. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  44581. begin
  44582. pTDefRegMap(@Self)^.clr := $00000002;
  44583. end;
  44584. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  44585. begin
  44586. if thebits = 0 then
  44587. pTDefRegMap(@Self)^.clr := $00000002
  44588. else
  44589. pTDefRegMap(@Self)^.&set := $00000002;
  44590. end;
  44591. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  44592. begin
  44593. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44594. end;
  44595. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  44596. begin
  44597. pTDefRegMap(@Self)^.&set := $00000004;
  44598. end;
  44599. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  44600. begin
  44601. pTDefRegMap(@Self)^.clr := $00000004;
  44602. end;
  44603. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  44604. begin
  44605. if thebits = 0 then
  44606. pTDefRegMap(@Self)^.clr := $00000004
  44607. else
  44608. pTDefRegMap(@Self)^.&set := $00000004;
  44609. end;
  44610. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  44611. begin
  44612. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44613. end;
  44614. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  44615. begin
  44616. pTDefRegMap(@Self)^.&set := $00000008;
  44617. end;
  44618. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  44619. begin
  44620. pTDefRegMap(@Self)^.clr := $00000008;
  44621. end;
  44622. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  44623. begin
  44624. if thebits = 0 then
  44625. pTDefRegMap(@Self)^.clr := $00000008
  44626. else
  44627. pTDefRegMap(@Self)^.&set := $00000008;
  44628. end;
  44629. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  44630. begin
  44631. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44632. end;
  44633. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  44634. begin
  44635. pTDefRegMap(@Self)^.&set := $00000010;
  44636. end;
  44637. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  44638. begin
  44639. pTDefRegMap(@Self)^.clr := $00000010;
  44640. end;
  44641. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  44642. begin
  44643. if thebits = 0 then
  44644. pTDefRegMap(@Self)^.clr := $00000010
  44645. else
  44646. pTDefRegMap(@Self)^.&set := $00000010;
  44647. end;
  44648. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  44649. begin
  44650. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44651. end;
  44652. procedure TPORTA_CNSTATA.setCNSTATA5; inline;
  44653. begin
  44654. pTDefRegMap(@Self)^.&set := $00000020;
  44655. end;
  44656. procedure TPORTA_CNSTATA.clearCNSTATA5; inline;
  44657. begin
  44658. pTDefRegMap(@Self)^.clr := $00000020;
  44659. end;
  44660. procedure TPORTA_CNSTATA.setCNSTATA5(thebits : TBits_1); inline;
  44661. begin
  44662. if thebits = 0 then
  44663. pTDefRegMap(@Self)^.clr := $00000020
  44664. else
  44665. pTDefRegMap(@Self)^.&set := $00000020;
  44666. end;
  44667. function TPORTA_CNSTATA.getCNSTATA5 : TBits_1; inline;
  44668. begin
  44669. getCNSTATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44670. end;
  44671. procedure TPORTA_CNSTATA.setCNSTATA6; inline;
  44672. begin
  44673. pTDefRegMap(@Self)^.&set := $00000040;
  44674. end;
  44675. procedure TPORTA_CNSTATA.clearCNSTATA6; inline;
  44676. begin
  44677. pTDefRegMap(@Self)^.clr := $00000040;
  44678. end;
  44679. procedure TPORTA_CNSTATA.setCNSTATA6(thebits : TBits_1); inline;
  44680. begin
  44681. if thebits = 0 then
  44682. pTDefRegMap(@Self)^.clr := $00000040
  44683. else
  44684. pTDefRegMap(@Self)^.&set := $00000040;
  44685. end;
  44686. function TPORTA_CNSTATA.getCNSTATA6 : TBits_1; inline;
  44687. begin
  44688. getCNSTATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44689. end;
  44690. procedure TPORTA_CNSTATA.setCNSTATA7; inline;
  44691. begin
  44692. pTDefRegMap(@Self)^.&set := $00000080;
  44693. end;
  44694. procedure TPORTA_CNSTATA.clearCNSTATA7; inline;
  44695. begin
  44696. pTDefRegMap(@Self)^.clr := $00000080;
  44697. end;
  44698. procedure TPORTA_CNSTATA.setCNSTATA7(thebits : TBits_1); inline;
  44699. begin
  44700. if thebits = 0 then
  44701. pTDefRegMap(@Self)^.clr := $00000080
  44702. else
  44703. pTDefRegMap(@Self)^.&set := $00000080;
  44704. end;
  44705. function TPORTA_CNSTATA.getCNSTATA7 : TBits_1; inline;
  44706. begin
  44707. getCNSTATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44708. end;
  44709. procedure TPORTA_CNSTATA.setCNSTATA9; inline;
  44710. begin
  44711. pTDefRegMap(@Self)^.&set := $00000200;
  44712. end;
  44713. procedure TPORTA_CNSTATA.clearCNSTATA9; inline;
  44714. begin
  44715. pTDefRegMap(@Self)^.clr := $00000200;
  44716. end;
  44717. procedure TPORTA_CNSTATA.setCNSTATA9(thebits : TBits_1); inline;
  44718. begin
  44719. if thebits = 0 then
  44720. pTDefRegMap(@Self)^.clr := $00000200
  44721. else
  44722. pTDefRegMap(@Self)^.&set := $00000200;
  44723. end;
  44724. function TPORTA_CNSTATA.getCNSTATA9 : TBits_1; inline;
  44725. begin
  44726. getCNSTATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44727. end;
  44728. procedure TPORTA_CNSTATA.setCNSTATA10; inline;
  44729. begin
  44730. pTDefRegMap(@Self)^.&set := $00000400;
  44731. end;
  44732. procedure TPORTA_CNSTATA.clearCNSTATA10; inline;
  44733. begin
  44734. pTDefRegMap(@Self)^.clr := $00000400;
  44735. end;
  44736. procedure TPORTA_CNSTATA.setCNSTATA10(thebits : TBits_1); inline;
  44737. begin
  44738. if thebits = 0 then
  44739. pTDefRegMap(@Self)^.clr := $00000400
  44740. else
  44741. pTDefRegMap(@Self)^.&set := $00000400;
  44742. end;
  44743. function TPORTA_CNSTATA.getCNSTATA10 : TBits_1; inline;
  44744. begin
  44745. getCNSTATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44746. end;
  44747. procedure TPORTA_CNSTATA.setCNSTATA14; inline;
  44748. begin
  44749. pTDefRegMap(@Self)^.&set := $00004000;
  44750. end;
  44751. procedure TPORTA_CNSTATA.clearCNSTATA14; inline;
  44752. begin
  44753. pTDefRegMap(@Self)^.clr := $00004000;
  44754. end;
  44755. procedure TPORTA_CNSTATA.setCNSTATA14(thebits : TBits_1); inline;
  44756. begin
  44757. if thebits = 0 then
  44758. pTDefRegMap(@Self)^.clr := $00004000
  44759. else
  44760. pTDefRegMap(@Self)^.&set := $00004000;
  44761. end;
  44762. function TPORTA_CNSTATA.getCNSTATA14 : TBits_1; inline;
  44763. begin
  44764. getCNSTATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44765. end;
  44766. procedure TPORTA_CNSTATA.setCNSTATA15; inline;
  44767. begin
  44768. pTDefRegMap(@Self)^.&set := $00008000;
  44769. end;
  44770. procedure TPORTA_CNSTATA.clearCNSTATA15; inline;
  44771. begin
  44772. pTDefRegMap(@Self)^.clr := $00008000;
  44773. end;
  44774. procedure TPORTA_CNSTATA.setCNSTATA15(thebits : TBits_1); inline;
  44775. begin
  44776. if thebits = 0 then
  44777. pTDefRegMap(@Self)^.clr := $00008000
  44778. else
  44779. pTDefRegMap(@Self)^.&set := $00008000;
  44780. end;
  44781. function TPORTA_CNSTATA.getCNSTATA15 : TBits_1; inline;
  44782. begin
  44783. getCNSTATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44784. end;
  44785. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  44786. begin
  44787. pTDefRegMap(@Self)^.val := thebits;
  44788. end;
  44789. function TPORTA_CNSTATA.getw : TBits_32; inline;
  44790. begin
  44791. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44792. end;
  44793. procedure TPORTA_ANSELB.setANSB0; inline;
  44794. begin
  44795. pTDefRegMap(@Self)^.&set := $00000001;
  44796. end;
  44797. procedure TPORTA_ANSELB.clearANSB0; inline;
  44798. begin
  44799. pTDefRegMap(@Self)^.clr := $00000001;
  44800. end;
  44801. procedure TPORTA_ANSELB.setANSB0(thebits : TBits_1); inline;
  44802. begin
  44803. if thebits = 0 then
  44804. pTDefRegMap(@Self)^.clr := $00000001
  44805. else
  44806. pTDefRegMap(@Self)^.&set := $00000001;
  44807. end;
  44808. function TPORTA_ANSELB.getANSB0 : TBits_1; inline;
  44809. begin
  44810. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44811. end;
  44812. procedure TPORTA_ANSELB.setANSB1; inline;
  44813. begin
  44814. pTDefRegMap(@Self)^.&set := $00000002;
  44815. end;
  44816. procedure TPORTA_ANSELB.clearANSB1; inline;
  44817. begin
  44818. pTDefRegMap(@Self)^.clr := $00000002;
  44819. end;
  44820. procedure TPORTA_ANSELB.setANSB1(thebits : TBits_1); inline;
  44821. begin
  44822. if thebits = 0 then
  44823. pTDefRegMap(@Self)^.clr := $00000002
  44824. else
  44825. pTDefRegMap(@Self)^.&set := $00000002;
  44826. end;
  44827. function TPORTA_ANSELB.getANSB1 : TBits_1; inline;
  44828. begin
  44829. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44830. end;
  44831. procedure TPORTA_ANSELB.setANSB2; inline;
  44832. begin
  44833. pTDefRegMap(@Self)^.&set := $00000004;
  44834. end;
  44835. procedure TPORTA_ANSELB.clearANSB2; inline;
  44836. begin
  44837. pTDefRegMap(@Self)^.clr := $00000004;
  44838. end;
  44839. procedure TPORTA_ANSELB.setANSB2(thebits : TBits_1); inline;
  44840. begin
  44841. if thebits = 0 then
  44842. pTDefRegMap(@Self)^.clr := $00000004
  44843. else
  44844. pTDefRegMap(@Self)^.&set := $00000004;
  44845. end;
  44846. function TPORTA_ANSELB.getANSB2 : TBits_1; inline;
  44847. begin
  44848. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44849. end;
  44850. procedure TPORTA_ANSELB.setANSB3; inline;
  44851. begin
  44852. pTDefRegMap(@Self)^.&set := $00000008;
  44853. end;
  44854. procedure TPORTA_ANSELB.clearANSB3; inline;
  44855. begin
  44856. pTDefRegMap(@Self)^.clr := $00000008;
  44857. end;
  44858. procedure TPORTA_ANSELB.setANSB3(thebits : TBits_1); inline;
  44859. begin
  44860. if thebits = 0 then
  44861. pTDefRegMap(@Self)^.clr := $00000008
  44862. else
  44863. pTDefRegMap(@Self)^.&set := $00000008;
  44864. end;
  44865. function TPORTA_ANSELB.getANSB3 : TBits_1; inline;
  44866. begin
  44867. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44868. end;
  44869. procedure TPORTA_ANSELB.setANSB4; inline;
  44870. begin
  44871. pTDefRegMap(@Self)^.&set := $00000010;
  44872. end;
  44873. procedure TPORTA_ANSELB.clearANSB4; inline;
  44874. begin
  44875. pTDefRegMap(@Self)^.clr := $00000010;
  44876. end;
  44877. procedure TPORTA_ANSELB.setANSB4(thebits : TBits_1); inline;
  44878. begin
  44879. if thebits = 0 then
  44880. pTDefRegMap(@Self)^.clr := $00000010
  44881. else
  44882. pTDefRegMap(@Self)^.&set := $00000010;
  44883. end;
  44884. function TPORTA_ANSELB.getANSB4 : TBits_1; inline;
  44885. begin
  44886. getANSB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44887. end;
  44888. procedure TPORTA_ANSELB.setANSB5; inline;
  44889. begin
  44890. pTDefRegMap(@Self)^.&set := $00000020;
  44891. end;
  44892. procedure TPORTA_ANSELB.clearANSB5; inline;
  44893. begin
  44894. pTDefRegMap(@Self)^.clr := $00000020;
  44895. end;
  44896. procedure TPORTA_ANSELB.setANSB5(thebits : TBits_1); inline;
  44897. begin
  44898. if thebits = 0 then
  44899. pTDefRegMap(@Self)^.clr := $00000020
  44900. else
  44901. pTDefRegMap(@Self)^.&set := $00000020;
  44902. end;
  44903. function TPORTA_ANSELB.getANSB5 : TBits_1; inline;
  44904. begin
  44905. getANSB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44906. end;
  44907. procedure TPORTA_ANSELB.setANSB6; inline;
  44908. begin
  44909. pTDefRegMap(@Self)^.&set := $00000040;
  44910. end;
  44911. procedure TPORTA_ANSELB.clearANSB6; inline;
  44912. begin
  44913. pTDefRegMap(@Self)^.clr := $00000040;
  44914. end;
  44915. procedure TPORTA_ANSELB.setANSB6(thebits : TBits_1); inline;
  44916. begin
  44917. if thebits = 0 then
  44918. pTDefRegMap(@Self)^.clr := $00000040
  44919. else
  44920. pTDefRegMap(@Self)^.&set := $00000040;
  44921. end;
  44922. function TPORTA_ANSELB.getANSB6 : TBits_1; inline;
  44923. begin
  44924. getANSB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44925. end;
  44926. procedure TPORTA_ANSELB.setANSB7; inline;
  44927. begin
  44928. pTDefRegMap(@Self)^.&set := $00000080;
  44929. end;
  44930. procedure TPORTA_ANSELB.clearANSB7; inline;
  44931. begin
  44932. pTDefRegMap(@Self)^.clr := $00000080;
  44933. end;
  44934. procedure TPORTA_ANSELB.setANSB7(thebits : TBits_1); inline;
  44935. begin
  44936. if thebits = 0 then
  44937. pTDefRegMap(@Self)^.clr := $00000080
  44938. else
  44939. pTDefRegMap(@Self)^.&set := $00000080;
  44940. end;
  44941. function TPORTA_ANSELB.getANSB7 : TBits_1; inline;
  44942. begin
  44943. getANSB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44944. end;
  44945. procedure TPORTA_ANSELB.setANSB8; inline;
  44946. begin
  44947. pTDefRegMap(@Self)^.&set := $00000100;
  44948. end;
  44949. procedure TPORTA_ANSELB.clearANSB8; inline;
  44950. begin
  44951. pTDefRegMap(@Self)^.clr := $00000100;
  44952. end;
  44953. procedure TPORTA_ANSELB.setANSB8(thebits : TBits_1); inline;
  44954. begin
  44955. if thebits = 0 then
  44956. pTDefRegMap(@Self)^.clr := $00000100
  44957. else
  44958. pTDefRegMap(@Self)^.&set := $00000100;
  44959. end;
  44960. function TPORTA_ANSELB.getANSB8 : TBits_1; inline;
  44961. begin
  44962. getANSB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44963. end;
  44964. procedure TPORTA_ANSELB.setANSB9; inline;
  44965. begin
  44966. pTDefRegMap(@Self)^.&set := $00000200;
  44967. end;
  44968. procedure TPORTA_ANSELB.clearANSB9; inline;
  44969. begin
  44970. pTDefRegMap(@Self)^.clr := $00000200;
  44971. end;
  44972. procedure TPORTA_ANSELB.setANSB9(thebits : TBits_1); inline;
  44973. begin
  44974. if thebits = 0 then
  44975. pTDefRegMap(@Self)^.clr := $00000200
  44976. else
  44977. pTDefRegMap(@Self)^.&set := $00000200;
  44978. end;
  44979. function TPORTA_ANSELB.getANSB9 : TBits_1; inline;
  44980. begin
  44981. getANSB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44982. end;
  44983. procedure TPORTA_ANSELB.setANSB10; inline;
  44984. begin
  44985. pTDefRegMap(@Self)^.&set := $00000400;
  44986. end;
  44987. procedure TPORTA_ANSELB.clearANSB10; inline;
  44988. begin
  44989. pTDefRegMap(@Self)^.clr := $00000400;
  44990. end;
  44991. procedure TPORTA_ANSELB.setANSB10(thebits : TBits_1); inline;
  44992. begin
  44993. if thebits = 0 then
  44994. pTDefRegMap(@Self)^.clr := $00000400
  44995. else
  44996. pTDefRegMap(@Self)^.&set := $00000400;
  44997. end;
  44998. function TPORTA_ANSELB.getANSB10 : TBits_1; inline;
  44999. begin
  45000. getANSB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45001. end;
  45002. procedure TPORTA_ANSELB.setANSB11; inline;
  45003. begin
  45004. pTDefRegMap(@Self)^.&set := $00000800;
  45005. end;
  45006. procedure TPORTA_ANSELB.clearANSB11; inline;
  45007. begin
  45008. pTDefRegMap(@Self)^.clr := $00000800;
  45009. end;
  45010. procedure TPORTA_ANSELB.setANSB11(thebits : TBits_1); inline;
  45011. begin
  45012. if thebits = 0 then
  45013. pTDefRegMap(@Self)^.clr := $00000800
  45014. else
  45015. pTDefRegMap(@Self)^.&set := $00000800;
  45016. end;
  45017. function TPORTA_ANSELB.getANSB11 : TBits_1; inline;
  45018. begin
  45019. getANSB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45020. end;
  45021. procedure TPORTA_ANSELB.setANSB12; inline;
  45022. begin
  45023. pTDefRegMap(@Self)^.&set := $00001000;
  45024. end;
  45025. procedure TPORTA_ANSELB.clearANSB12; inline;
  45026. begin
  45027. pTDefRegMap(@Self)^.clr := $00001000;
  45028. end;
  45029. procedure TPORTA_ANSELB.setANSB12(thebits : TBits_1); inline;
  45030. begin
  45031. if thebits = 0 then
  45032. pTDefRegMap(@Self)^.clr := $00001000
  45033. else
  45034. pTDefRegMap(@Self)^.&set := $00001000;
  45035. end;
  45036. function TPORTA_ANSELB.getANSB12 : TBits_1; inline;
  45037. begin
  45038. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45039. end;
  45040. procedure TPORTA_ANSELB.setANSB13; inline;
  45041. begin
  45042. pTDefRegMap(@Self)^.&set := $00002000;
  45043. end;
  45044. procedure TPORTA_ANSELB.clearANSB13; inline;
  45045. begin
  45046. pTDefRegMap(@Self)^.clr := $00002000;
  45047. end;
  45048. procedure TPORTA_ANSELB.setANSB13(thebits : TBits_1); inline;
  45049. begin
  45050. if thebits = 0 then
  45051. pTDefRegMap(@Self)^.clr := $00002000
  45052. else
  45053. pTDefRegMap(@Self)^.&set := $00002000;
  45054. end;
  45055. function TPORTA_ANSELB.getANSB13 : TBits_1; inline;
  45056. begin
  45057. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45058. end;
  45059. procedure TPORTA_ANSELB.setANSB14; inline;
  45060. begin
  45061. pTDefRegMap(@Self)^.&set := $00004000;
  45062. end;
  45063. procedure TPORTA_ANSELB.clearANSB14; inline;
  45064. begin
  45065. pTDefRegMap(@Self)^.clr := $00004000;
  45066. end;
  45067. procedure TPORTA_ANSELB.setANSB14(thebits : TBits_1); inline;
  45068. begin
  45069. if thebits = 0 then
  45070. pTDefRegMap(@Self)^.clr := $00004000
  45071. else
  45072. pTDefRegMap(@Self)^.&set := $00004000;
  45073. end;
  45074. function TPORTA_ANSELB.getANSB14 : TBits_1; inline;
  45075. begin
  45076. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45077. end;
  45078. procedure TPORTA_ANSELB.setANSB15; inline;
  45079. begin
  45080. pTDefRegMap(@Self)^.&set := $00008000;
  45081. end;
  45082. procedure TPORTA_ANSELB.clearANSB15; inline;
  45083. begin
  45084. pTDefRegMap(@Self)^.clr := $00008000;
  45085. end;
  45086. procedure TPORTA_ANSELB.setANSB15(thebits : TBits_1); inline;
  45087. begin
  45088. if thebits = 0 then
  45089. pTDefRegMap(@Self)^.clr := $00008000
  45090. else
  45091. pTDefRegMap(@Self)^.&set := $00008000;
  45092. end;
  45093. function TPORTA_ANSELB.getANSB15 : TBits_1; inline;
  45094. begin
  45095. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45096. end;
  45097. procedure TPORTA_ANSELB.setw(thebits : TBits_32); inline;
  45098. begin
  45099. pTDefRegMap(@Self)^.val := thebits;
  45100. end;
  45101. function TPORTA_ANSELB.getw : TBits_32; inline;
  45102. begin
  45103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45104. end;
  45105. procedure TPORTA_TRISB.setTRISB0; inline;
  45106. begin
  45107. pTDefRegMap(@Self)^.&set := $00000001;
  45108. end;
  45109. procedure TPORTA_TRISB.clearTRISB0; inline;
  45110. begin
  45111. pTDefRegMap(@Self)^.clr := $00000001;
  45112. end;
  45113. procedure TPORTA_TRISB.setTRISB0(thebits : TBits_1); inline;
  45114. begin
  45115. if thebits = 0 then
  45116. pTDefRegMap(@Self)^.clr := $00000001
  45117. else
  45118. pTDefRegMap(@Self)^.&set := $00000001;
  45119. end;
  45120. function TPORTA_TRISB.getTRISB0 : TBits_1; inline;
  45121. begin
  45122. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45123. end;
  45124. procedure TPORTA_TRISB.setTRISB1; inline;
  45125. begin
  45126. pTDefRegMap(@Self)^.&set := $00000002;
  45127. end;
  45128. procedure TPORTA_TRISB.clearTRISB1; inline;
  45129. begin
  45130. pTDefRegMap(@Self)^.clr := $00000002;
  45131. end;
  45132. procedure TPORTA_TRISB.setTRISB1(thebits : TBits_1); inline;
  45133. begin
  45134. if thebits = 0 then
  45135. pTDefRegMap(@Self)^.clr := $00000002
  45136. else
  45137. pTDefRegMap(@Self)^.&set := $00000002;
  45138. end;
  45139. function TPORTA_TRISB.getTRISB1 : TBits_1; inline;
  45140. begin
  45141. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45142. end;
  45143. procedure TPORTA_TRISB.setTRISB2; inline;
  45144. begin
  45145. pTDefRegMap(@Self)^.&set := $00000004;
  45146. end;
  45147. procedure TPORTA_TRISB.clearTRISB2; inline;
  45148. begin
  45149. pTDefRegMap(@Self)^.clr := $00000004;
  45150. end;
  45151. procedure TPORTA_TRISB.setTRISB2(thebits : TBits_1); inline;
  45152. begin
  45153. if thebits = 0 then
  45154. pTDefRegMap(@Self)^.clr := $00000004
  45155. else
  45156. pTDefRegMap(@Self)^.&set := $00000004;
  45157. end;
  45158. function TPORTA_TRISB.getTRISB2 : TBits_1; inline;
  45159. begin
  45160. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45161. end;
  45162. procedure TPORTA_TRISB.setTRISB3; inline;
  45163. begin
  45164. pTDefRegMap(@Self)^.&set := $00000008;
  45165. end;
  45166. procedure TPORTA_TRISB.clearTRISB3; inline;
  45167. begin
  45168. pTDefRegMap(@Self)^.clr := $00000008;
  45169. end;
  45170. procedure TPORTA_TRISB.setTRISB3(thebits : TBits_1); inline;
  45171. begin
  45172. if thebits = 0 then
  45173. pTDefRegMap(@Self)^.clr := $00000008
  45174. else
  45175. pTDefRegMap(@Self)^.&set := $00000008;
  45176. end;
  45177. function TPORTA_TRISB.getTRISB3 : TBits_1; inline;
  45178. begin
  45179. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45180. end;
  45181. procedure TPORTA_TRISB.setTRISB4; inline;
  45182. begin
  45183. pTDefRegMap(@Self)^.&set := $00000010;
  45184. end;
  45185. procedure TPORTA_TRISB.clearTRISB4; inline;
  45186. begin
  45187. pTDefRegMap(@Self)^.clr := $00000010;
  45188. end;
  45189. procedure TPORTA_TRISB.setTRISB4(thebits : TBits_1); inline;
  45190. begin
  45191. if thebits = 0 then
  45192. pTDefRegMap(@Self)^.clr := $00000010
  45193. else
  45194. pTDefRegMap(@Self)^.&set := $00000010;
  45195. end;
  45196. function TPORTA_TRISB.getTRISB4 : TBits_1; inline;
  45197. begin
  45198. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45199. end;
  45200. procedure TPORTA_TRISB.setTRISB5; inline;
  45201. begin
  45202. pTDefRegMap(@Self)^.&set := $00000020;
  45203. end;
  45204. procedure TPORTA_TRISB.clearTRISB5; inline;
  45205. begin
  45206. pTDefRegMap(@Self)^.clr := $00000020;
  45207. end;
  45208. procedure TPORTA_TRISB.setTRISB5(thebits : TBits_1); inline;
  45209. begin
  45210. if thebits = 0 then
  45211. pTDefRegMap(@Self)^.clr := $00000020
  45212. else
  45213. pTDefRegMap(@Self)^.&set := $00000020;
  45214. end;
  45215. function TPORTA_TRISB.getTRISB5 : TBits_1; inline;
  45216. begin
  45217. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45218. end;
  45219. procedure TPORTA_TRISB.setTRISB6; inline;
  45220. begin
  45221. pTDefRegMap(@Self)^.&set := $00000040;
  45222. end;
  45223. procedure TPORTA_TRISB.clearTRISB6; inline;
  45224. begin
  45225. pTDefRegMap(@Self)^.clr := $00000040;
  45226. end;
  45227. procedure TPORTA_TRISB.setTRISB6(thebits : TBits_1); inline;
  45228. begin
  45229. if thebits = 0 then
  45230. pTDefRegMap(@Self)^.clr := $00000040
  45231. else
  45232. pTDefRegMap(@Self)^.&set := $00000040;
  45233. end;
  45234. function TPORTA_TRISB.getTRISB6 : TBits_1; inline;
  45235. begin
  45236. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45237. end;
  45238. procedure TPORTA_TRISB.setTRISB7; inline;
  45239. begin
  45240. pTDefRegMap(@Self)^.&set := $00000080;
  45241. end;
  45242. procedure TPORTA_TRISB.clearTRISB7; inline;
  45243. begin
  45244. pTDefRegMap(@Self)^.clr := $00000080;
  45245. end;
  45246. procedure TPORTA_TRISB.setTRISB7(thebits : TBits_1); inline;
  45247. begin
  45248. if thebits = 0 then
  45249. pTDefRegMap(@Self)^.clr := $00000080
  45250. else
  45251. pTDefRegMap(@Self)^.&set := $00000080;
  45252. end;
  45253. function TPORTA_TRISB.getTRISB7 : TBits_1; inline;
  45254. begin
  45255. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45256. end;
  45257. procedure TPORTA_TRISB.setTRISB8; inline;
  45258. begin
  45259. pTDefRegMap(@Self)^.&set := $00000100;
  45260. end;
  45261. procedure TPORTA_TRISB.clearTRISB8; inline;
  45262. begin
  45263. pTDefRegMap(@Self)^.clr := $00000100;
  45264. end;
  45265. procedure TPORTA_TRISB.setTRISB8(thebits : TBits_1); inline;
  45266. begin
  45267. if thebits = 0 then
  45268. pTDefRegMap(@Self)^.clr := $00000100
  45269. else
  45270. pTDefRegMap(@Self)^.&set := $00000100;
  45271. end;
  45272. function TPORTA_TRISB.getTRISB8 : TBits_1; inline;
  45273. begin
  45274. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45275. end;
  45276. procedure TPORTA_TRISB.setTRISB9; inline;
  45277. begin
  45278. pTDefRegMap(@Self)^.&set := $00000200;
  45279. end;
  45280. procedure TPORTA_TRISB.clearTRISB9; inline;
  45281. begin
  45282. pTDefRegMap(@Self)^.clr := $00000200;
  45283. end;
  45284. procedure TPORTA_TRISB.setTRISB9(thebits : TBits_1); inline;
  45285. begin
  45286. if thebits = 0 then
  45287. pTDefRegMap(@Self)^.clr := $00000200
  45288. else
  45289. pTDefRegMap(@Self)^.&set := $00000200;
  45290. end;
  45291. function TPORTA_TRISB.getTRISB9 : TBits_1; inline;
  45292. begin
  45293. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45294. end;
  45295. procedure TPORTA_TRISB.setTRISB10; inline;
  45296. begin
  45297. pTDefRegMap(@Self)^.&set := $00000400;
  45298. end;
  45299. procedure TPORTA_TRISB.clearTRISB10; inline;
  45300. begin
  45301. pTDefRegMap(@Self)^.clr := $00000400;
  45302. end;
  45303. procedure TPORTA_TRISB.setTRISB10(thebits : TBits_1); inline;
  45304. begin
  45305. if thebits = 0 then
  45306. pTDefRegMap(@Self)^.clr := $00000400
  45307. else
  45308. pTDefRegMap(@Self)^.&set := $00000400;
  45309. end;
  45310. function TPORTA_TRISB.getTRISB10 : TBits_1; inline;
  45311. begin
  45312. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45313. end;
  45314. procedure TPORTA_TRISB.setTRISB11; inline;
  45315. begin
  45316. pTDefRegMap(@Self)^.&set := $00000800;
  45317. end;
  45318. procedure TPORTA_TRISB.clearTRISB11; inline;
  45319. begin
  45320. pTDefRegMap(@Self)^.clr := $00000800;
  45321. end;
  45322. procedure TPORTA_TRISB.setTRISB11(thebits : TBits_1); inline;
  45323. begin
  45324. if thebits = 0 then
  45325. pTDefRegMap(@Self)^.clr := $00000800
  45326. else
  45327. pTDefRegMap(@Self)^.&set := $00000800;
  45328. end;
  45329. function TPORTA_TRISB.getTRISB11 : TBits_1; inline;
  45330. begin
  45331. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45332. end;
  45333. procedure TPORTA_TRISB.setTRISB12; inline;
  45334. begin
  45335. pTDefRegMap(@Self)^.&set := $00001000;
  45336. end;
  45337. procedure TPORTA_TRISB.clearTRISB12; inline;
  45338. begin
  45339. pTDefRegMap(@Self)^.clr := $00001000;
  45340. end;
  45341. procedure TPORTA_TRISB.setTRISB12(thebits : TBits_1); inline;
  45342. begin
  45343. if thebits = 0 then
  45344. pTDefRegMap(@Self)^.clr := $00001000
  45345. else
  45346. pTDefRegMap(@Self)^.&set := $00001000;
  45347. end;
  45348. function TPORTA_TRISB.getTRISB12 : TBits_1; inline;
  45349. begin
  45350. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45351. end;
  45352. procedure TPORTA_TRISB.setTRISB13; inline;
  45353. begin
  45354. pTDefRegMap(@Self)^.&set := $00002000;
  45355. end;
  45356. procedure TPORTA_TRISB.clearTRISB13; inline;
  45357. begin
  45358. pTDefRegMap(@Self)^.clr := $00002000;
  45359. end;
  45360. procedure TPORTA_TRISB.setTRISB13(thebits : TBits_1); inline;
  45361. begin
  45362. if thebits = 0 then
  45363. pTDefRegMap(@Self)^.clr := $00002000
  45364. else
  45365. pTDefRegMap(@Self)^.&set := $00002000;
  45366. end;
  45367. function TPORTA_TRISB.getTRISB13 : TBits_1; inline;
  45368. begin
  45369. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45370. end;
  45371. procedure TPORTA_TRISB.setTRISB14; inline;
  45372. begin
  45373. pTDefRegMap(@Self)^.&set := $00004000;
  45374. end;
  45375. procedure TPORTA_TRISB.clearTRISB14; inline;
  45376. begin
  45377. pTDefRegMap(@Self)^.clr := $00004000;
  45378. end;
  45379. procedure TPORTA_TRISB.setTRISB14(thebits : TBits_1); inline;
  45380. begin
  45381. if thebits = 0 then
  45382. pTDefRegMap(@Self)^.clr := $00004000
  45383. else
  45384. pTDefRegMap(@Self)^.&set := $00004000;
  45385. end;
  45386. function TPORTA_TRISB.getTRISB14 : TBits_1; inline;
  45387. begin
  45388. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45389. end;
  45390. procedure TPORTA_TRISB.setTRISB15; inline;
  45391. begin
  45392. pTDefRegMap(@Self)^.&set := $00008000;
  45393. end;
  45394. procedure TPORTA_TRISB.clearTRISB15; inline;
  45395. begin
  45396. pTDefRegMap(@Self)^.clr := $00008000;
  45397. end;
  45398. procedure TPORTA_TRISB.setTRISB15(thebits : TBits_1); inline;
  45399. begin
  45400. if thebits = 0 then
  45401. pTDefRegMap(@Self)^.clr := $00008000
  45402. else
  45403. pTDefRegMap(@Self)^.&set := $00008000;
  45404. end;
  45405. function TPORTA_TRISB.getTRISB15 : TBits_1; inline;
  45406. begin
  45407. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45408. end;
  45409. procedure TPORTA_TRISB.setw(thebits : TBits_32); inline;
  45410. begin
  45411. pTDefRegMap(@Self)^.val := thebits;
  45412. end;
  45413. function TPORTA_TRISB.getw : TBits_32; inline;
  45414. begin
  45415. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45416. end;
  45417. procedure TPORTB_PORTB.setRB0; inline;
  45418. begin
  45419. pTDefRegMap(@Self)^.&set := $00000001;
  45420. end;
  45421. procedure TPORTB_PORTB.clearRB0; inline;
  45422. begin
  45423. pTDefRegMap(@Self)^.clr := $00000001;
  45424. end;
  45425. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  45426. begin
  45427. if thebits = 0 then
  45428. pTDefRegMap(@Self)^.clr := $00000001
  45429. else
  45430. pTDefRegMap(@Self)^.&set := $00000001;
  45431. end;
  45432. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  45433. begin
  45434. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45435. end;
  45436. procedure TPORTB_PORTB.setRB1; inline;
  45437. begin
  45438. pTDefRegMap(@Self)^.&set := $00000002;
  45439. end;
  45440. procedure TPORTB_PORTB.clearRB1; inline;
  45441. begin
  45442. pTDefRegMap(@Self)^.clr := $00000002;
  45443. end;
  45444. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  45445. begin
  45446. if thebits = 0 then
  45447. pTDefRegMap(@Self)^.clr := $00000002
  45448. else
  45449. pTDefRegMap(@Self)^.&set := $00000002;
  45450. end;
  45451. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  45452. begin
  45453. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45454. end;
  45455. procedure TPORTB_PORTB.setRB2; inline;
  45456. begin
  45457. pTDefRegMap(@Self)^.&set := $00000004;
  45458. end;
  45459. procedure TPORTB_PORTB.clearRB2; inline;
  45460. begin
  45461. pTDefRegMap(@Self)^.clr := $00000004;
  45462. end;
  45463. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  45464. begin
  45465. if thebits = 0 then
  45466. pTDefRegMap(@Self)^.clr := $00000004
  45467. else
  45468. pTDefRegMap(@Self)^.&set := $00000004;
  45469. end;
  45470. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  45471. begin
  45472. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45473. end;
  45474. procedure TPORTB_PORTB.setRB3; inline;
  45475. begin
  45476. pTDefRegMap(@Self)^.&set := $00000008;
  45477. end;
  45478. procedure TPORTB_PORTB.clearRB3; inline;
  45479. begin
  45480. pTDefRegMap(@Self)^.clr := $00000008;
  45481. end;
  45482. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  45483. begin
  45484. if thebits = 0 then
  45485. pTDefRegMap(@Self)^.clr := $00000008
  45486. else
  45487. pTDefRegMap(@Self)^.&set := $00000008;
  45488. end;
  45489. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  45490. begin
  45491. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45492. end;
  45493. procedure TPORTB_PORTB.setRB4; inline;
  45494. begin
  45495. pTDefRegMap(@Self)^.&set := $00000010;
  45496. end;
  45497. procedure TPORTB_PORTB.clearRB4; inline;
  45498. begin
  45499. pTDefRegMap(@Self)^.clr := $00000010;
  45500. end;
  45501. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  45502. begin
  45503. if thebits = 0 then
  45504. pTDefRegMap(@Self)^.clr := $00000010
  45505. else
  45506. pTDefRegMap(@Self)^.&set := $00000010;
  45507. end;
  45508. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  45509. begin
  45510. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45511. end;
  45512. procedure TPORTB_PORTB.setRB5; inline;
  45513. begin
  45514. pTDefRegMap(@Self)^.&set := $00000020;
  45515. end;
  45516. procedure TPORTB_PORTB.clearRB5; inline;
  45517. begin
  45518. pTDefRegMap(@Self)^.clr := $00000020;
  45519. end;
  45520. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  45521. begin
  45522. if thebits = 0 then
  45523. pTDefRegMap(@Self)^.clr := $00000020
  45524. else
  45525. pTDefRegMap(@Self)^.&set := $00000020;
  45526. end;
  45527. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  45528. begin
  45529. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45530. end;
  45531. procedure TPORTB_PORTB.setRB6; inline;
  45532. begin
  45533. pTDefRegMap(@Self)^.&set := $00000040;
  45534. end;
  45535. procedure TPORTB_PORTB.clearRB6; inline;
  45536. begin
  45537. pTDefRegMap(@Self)^.clr := $00000040;
  45538. end;
  45539. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  45540. begin
  45541. if thebits = 0 then
  45542. pTDefRegMap(@Self)^.clr := $00000040
  45543. else
  45544. pTDefRegMap(@Self)^.&set := $00000040;
  45545. end;
  45546. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  45547. begin
  45548. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45549. end;
  45550. procedure TPORTB_PORTB.setRB7; inline;
  45551. begin
  45552. pTDefRegMap(@Self)^.&set := $00000080;
  45553. end;
  45554. procedure TPORTB_PORTB.clearRB7; inline;
  45555. begin
  45556. pTDefRegMap(@Self)^.clr := $00000080;
  45557. end;
  45558. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  45559. begin
  45560. if thebits = 0 then
  45561. pTDefRegMap(@Self)^.clr := $00000080
  45562. else
  45563. pTDefRegMap(@Self)^.&set := $00000080;
  45564. end;
  45565. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  45566. begin
  45567. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45568. end;
  45569. procedure TPORTB_PORTB.setRB8; inline;
  45570. begin
  45571. pTDefRegMap(@Self)^.&set := $00000100;
  45572. end;
  45573. procedure TPORTB_PORTB.clearRB8; inline;
  45574. begin
  45575. pTDefRegMap(@Self)^.clr := $00000100;
  45576. end;
  45577. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  45578. begin
  45579. if thebits = 0 then
  45580. pTDefRegMap(@Self)^.clr := $00000100
  45581. else
  45582. pTDefRegMap(@Self)^.&set := $00000100;
  45583. end;
  45584. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  45585. begin
  45586. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45587. end;
  45588. procedure TPORTB_PORTB.setRB9; inline;
  45589. begin
  45590. pTDefRegMap(@Self)^.&set := $00000200;
  45591. end;
  45592. procedure TPORTB_PORTB.clearRB9; inline;
  45593. begin
  45594. pTDefRegMap(@Self)^.clr := $00000200;
  45595. end;
  45596. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  45597. begin
  45598. if thebits = 0 then
  45599. pTDefRegMap(@Self)^.clr := $00000200
  45600. else
  45601. pTDefRegMap(@Self)^.&set := $00000200;
  45602. end;
  45603. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  45604. begin
  45605. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45606. end;
  45607. procedure TPORTB_PORTB.setRB10; inline;
  45608. begin
  45609. pTDefRegMap(@Self)^.&set := $00000400;
  45610. end;
  45611. procedure TPORTB_PORTB.clearRB10; inline;
  45612. begin
  45613. pTDefRegMap(@Self)^.clr := $00000400;
  45614. end;
  45615. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  45616. begin
  45617. if thebits = 0 then
  45618. pTDefRegMap(@Self)^.clr := $00000400
  45619. else
  45620. pTDefRegMap(@Self)^.&set := $00000400;
  45621. end;
  45622. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  45623. begin
  45624. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45625. end;
  45626. procedure TPORTB_PORTB.setRB11; inline;
  45627. begin
  45628. pTDefRegMap(@Self)^.&set := $00000800;
  45629. end;
  45630. procedure TPORTB_PORTB.clearRB11; inline;
  45631. begin
  45632. pTDefRegMap(@Self)^.clr := $00000800;
  45633. end;
  45634. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  45635. begin
  45636. if thebits = 0 then
  45637. pTDefRegMap(@Self)^.clr := $00000800
  45638. else
  45639. pTDefRegMap(@Self)^.&set := $00000800;
  45640. end;
  45641. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  45642. begin
  45643. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45644. end;
  45645. procedure TPORTB_PORTB.setRB12; inline;
  45646. begin
  45647. pTDefRegMap(@Self)^.&set := $00001000;
  45648. end;
  45649. procedure TPORTB_PORTB.clearRB12; inline;
  45650. begin
  45651. pTDefRegMap(@Self)^.clr := $00001000;
  45652. end;
  45653. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  45654. begin
  45655. if thebits = 0 then
  45656. pTDefRegMap(@Self)^.clr := $00001000
  45657. else
  45658. pTDefRegMap(@Self)^.&set := $00001000;
  45659. end;
  45660. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  45661. begin
  45662. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45663. end;
  45664. procedure TPORTB_PORTB.setRB13; inline;
  45665. begin
  45666. pTDefRegMap(@Self)^.&set := $00002000;
  45667. end;
  45668. procedure TPORTB_PORTB.clearRB13; inline;
  45669. begin
  45670. pTDefRegMap(@Self)^.clr := $00002000;
  45671. end;
  45672. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  45673. begin
  45674. if thebits = 0 then
  45675. pTDefRegMap(@Self)^.clr := $00002000
  45676. else
  45677. pTDefRegMap(@Self)^.&set := $00002000;
  45678. end;
  45679. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  45680. begin
  45681. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45682. end;
  45683. procedure TPORTB_PORTB.setRB14; inline;
  45684. begin
  45685. pTDefRegMap(@Self)^.&set := $00004000;
  45686. end;
  45687. procedure TPORTB_PORTB.clearRB14; inline;
  45688. begin
  45689. pTDefRegMap(@Self)^.clr := $00004000;
  45690. end;
  45691. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  45692. begin
  45693. if thebits = 0 then
  45694. pTDefRegMap(@Self)^.clr := $00004000
  45695. else
  45696. pTDefRegMap(@Self)^.&set := $00004000;
  45697. end;
  45698. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  45699. begin
  45700. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45701. end;
  45702. procedure TPORTB_PORTB.setRB15; inline;
  45703. begin
  45704. pTDefRegMap(@Self)^.&set := $00008000;
  45705. end;
  45706. procedure TPORTB_PORTB.clearRB15; inline;
  45707. begin
  45708. pTDefRegMap(@Self)^.clr := $00008000;
  45709. end;
  45710. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  45711. begin
  45712. if thebits = 0 then
  45713. pTDefRegMap(@Self)^.clr := $00008000
  45714. else
  45715. pTDefRegMap(@Self)^.&set := $00008000;
  45716. end;
  45717. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  45718. begin
  45719. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45720. end;
  45721. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  45722. begin
  45723. pTDefRegMap(@Self)^.val := thebits;
  45724. end;
  45725. function TPORTB_PORTB.getw : TBits_32; inline;
  45726. begin
  45727. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45728. end;
  45729. procedure TPORTB_LATB.setLATB0; inline;
  45730. begin
  45731. pTDefRegMap(@Self)^.&set := $00000001;
  45732. end;
  45733. procedure TPORTB_LATB.clearLATB0; inline;
  45734. begin
  45735. pTDefRegMap(@Self)^.clr := $00000001;
  45736. end;
  45737. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  45738. begin
  45739. if thebits = 0 then
  45740. pTDefRegMap(@Self)^.clr := $00000001
  45741. else
  45742. pTDefRegMap(@Self)^.&set := $00000001;
  45743. end;
  45744. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  45745. begin
  45746. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45747. end;
  45748. procedure TPORTB_LATB.setLATB1; inline;
  45749. begin
  45750. pTDefRegMap(@Self)^.&set := $00000002;
  45751. end;
  45752. procedure TPORTB_LATB.clearLATB1; inline;
  45753. begin
  45754. pTDefRegMap(@Self)^.clr := $00000002;
  45755. end;
  45756. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  45757. begin
  45758. if thebits = 0 then
  45759. pTDefRegMap(@Self)^.clr := $00000002
  45760. else
  45761. pTDefRegMap(@Self)^.&set := $00000002;
  45762. end;
  45763. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  45764. begin
  45765. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45766. end;
  45767. procedure TPORTB_LATB.setLATB2; inline;
  45768. begin
  45769. pTDefRegMap(@Self)^.&set := $00000004;
  45770. end;
  45771. procedure TPORTB_LATB.clearLATB2; inline;
  45772. begin
  45773. pTDefRegMap(@Self)^.clr := $00000004;
  45774. end;
  45775. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  45776. begin
  45777. if thebits = 0 then
  45778. pTDefRegMap(@Self)^.clr := $00000004
  45779. else
  45780. pTDefRegMap(@Self)^.&set := $00000004;
  45781. end;
  45782. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  45783. begin
  45784. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45785. end;
  45786. procedure TPORTB_LATB.setLATB3; inline;
  45787. begin
  45788. pTDefRegMap(@Self)^.&set := $00000008;
  45789. end;
  45790. procedure TPORTB_LATB.clearLATB3; inline;
  45791. begin
  45792. pTDefRegMap(@Self)^.clr := $00000008;
  45793. end;
  45794. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  45795. begin
  45796. if thebits = 0 then
  45797. pTDefRegMap(@Self)^.clr := $00000008
  45798. else
  45799. pTDefRegMap(@Self)^.&set := $00000008;
  45800. end;
  45801. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  45802. begin
  45803. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45804. end;
  45805. procedure TPORTB_LATB.setLATB4; inline;
  45806. begin
  45807. pTDefRegMap(@Self)^.&set := $00000010;
  45808. end;
  45809. procedure TPORTB_LATB.clearLATB4; inline;
  45810. begin
  45811. pTDefRegMap(@Self)^.clr := $00000010;
  45812. end;
  45813. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  45814. begin
  45815. if thebits = 0 then
  45816. pTDefRegMap(@Self)^.clr := $00000010
  45817. else
  45818. pTDefRegMap(@Self)^.&set := $00000010;
  45819. end;
  45820. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  45821. begin
  45822. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45823. end;
  45824. procedure TPORTB_LATB.setLATB5; inline;
  45825. begin
  45826. pTDefRegMap(@Self)^.&set := $00000020;
  45827. end;
  45828. procedure TPORTB_LATB.clearLATB5; inline;
  45829. begin
  45830. pTDefRegMap(@Self)^.clr := $00000020;
  45831. end;
  45832. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  45833. begin
  45834. if thebits = 0 then
  45835. pTDefRegMap(@Self)^.clr := $00000020
  45836. else
  45837. pTDefRegMap(@Self)^.&set := $00000020;
  45838. end;
  45839. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  45840. begin
  45841. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45842. end;
  45843. procedure TPORTB_LATB.setLATB6; inline;
  45844. begin
  45845. pTDefRegMap(@Self)^.&set := $00000040;
  45846. end;
  45847. procedure TPORTB_LATB.clearLATB6; inline;
  45848. begin
  45849. pTDefRegMap(@Self)^.clr := $00000040;
  45850. end;
  45851. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  45852. begin
  45853. if thebits = 0 then
  45854. pTDefRegMap(@Self)^.clr := $00000040
  45855. else
  45856. pTDefRegMap(@Self)^.&set := $00000040;
  45857. end;
  45858. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  45859. begin
  45860. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45861. end;
  45862. procedure TPORTB_LATB.setLATB7; inline;
  45863. begin
  45864. pTDefRegMap(@Self)^.&set := $00000080;
  45865. end;
  45866. procedure TPORTB_LATB.clearLATB7; inline;
  45867. begin
  45868. pTDefRegMap(@Self)^.clr := $00000080;
  45869. end;
  45870. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  45871. begin
  45872. if thebits = 0 then
  45873. pTDefRegMap(@Self)^.clr := $00000080
  45874. else
  45875. pTDefRegMap(@Self)^.&set := $00000080;
  45876. end;
  45877. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  45878. begin
  45879. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45880. end;
  45881. procedure TPORTB_LATB.setLATB8; inline;
  45882. begin
  45883. pTDefRegMap(@Self)^.&set := $00000100;
  45884. end;
  45885. procedure TPORTB_LATB.clearLATB8; inline;
  45886. begin
  45887. pTDefRegMap(@Self)^.clr := $00000100;
  45888. end;
  45889. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  45890. begin
  45891. if thebits = 0 then
  45892. pTDefRegMap(@Self)^.clr := $00000100
  45893. else
  45894. pTDefRegMap(@Self)^.&set := $00000100;
  45895. end;
  45896. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  45897. begin
  45898. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45899. end;
  45900. procedure TPORTB_LATB.setLATB9; inline;
  45901. begin
  45902. pTDefRegMap(@Self)^.&set := $00000200;
  45903. end;
  45904. procedure TPORTB_LATB.clearLATB9; inline;
  45905. begin
  45906. pTDefRegMap(@Self)^.clr := $00000200;
  45907. end;
  45908. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  45909. begin
  45910. if thebits = 0 then
  45911. pTDefRegMap(@Self)^.clr := $00000200
  45912. else
  45913. pTDefRegMap(@Self)^.&set := $00000200;
  45914. end;
  45915. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  45916. begin
  45917. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45918. end;
  45919. procedure TPORTB_LATB.setLATB10; inline;
  45920. begin
  45921. pTDefRegMap(@Self)^.&set := $00000400;
  45922. end;
  45923. procedure TPORTB_LATB.clearLATB10; inline;
  45924. begin
  45925. pTDefRegMap(@Self)^.clr := $00000400;
  45926. end;
  45927. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  45928. begin
  45929. if thebits = 0 then
  45930. pTDefRegMap(@Self)^.clr := $00000400
  45931. else
  45932. pTDefRegMap(@Self)^.&set := $00000400;
  45933. end;
  45934. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  45935. begin
  45936. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45937. end;
  45938. procedure TPORTB_LATB.setLATB11; inline;
  45939. begin
  45940. pTDefRegMap(@Self)^.&set := $00000800;
  45941. end;
  45942. procedure TPORTB_LATB.clearLATB11; inline;
  45943. begin
  45944. pTDefRegMap(@Self)^.clr := $00000800;
  45945. end;
  45946. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  45947. begin
  45948. if thebits = 0 then
  45949. pTDefRegMap(@Self)^.clr := $00000800
  45950. else
  45951. pTDefRegMap(@Self)^.&set := $00000800;
  45952. end;
  45953. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  45954. begin
  45955. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45956. end;
  45957. procedure TPORTB_LATB.setLATB12; inline;
  45958. begin
  45959. pTDefRegMap(@Self)^.&set := $00001000;
  45960. end;
  45961. procedure TPORTB_LATB.clearLATB12; inline;
  45962. begin
  45963. pTDefRegMap(@Self)^.clr := $00001000;
  45964. end;
  45965. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  45966. begin
  45967. if thebits = 0 then
  45968. pTDefRegMap(@Self)^.clr := $00001000
  45969. else
  45970. pTDefRegMap(@Self)^.&set := $00001000;
  45971. end;
  45972. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  45973. begin
  45974. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45975. end;
  45976. procedure TPORTB_LATB.setLATB13; inline;
  45977. begin
  45978. pTDefRegMap(@Self)^.&set := $00002000;
  45979. end;
  45980. procedure TPORTB_LATB.clearLATB13; inline;
  45981. begin
  45982. pTDefRegMap(@Self)^.clr := $00002000;
  45983. end;
  45984. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  45985. begin
  45986. if thebits = 0 then
  45987. pTDefRegMap(@Self)^.clr := $00002000
  45988. else
  45989. pTDefRegMap(@Self)^.&set := $00002000;
  45990. end;
  45991. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  45992. begin
  45993. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45994. end;
  45995. procedure TPORTB_LATB.setLATB14; inline;
  45996. begin
  45997. pTDefRegMap(@Self)^.&set := $00004000;
  45998. end;
  45999. procedure TPORTB_LATB.clearLATB14; inline;
  46000. begin
  46001. pTDefRegMap(@Self)^.clr := $00004000;
  46002. end;
  46003. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  46004. begin
  46005. if thebits = 0 then
  46006. pTDefRegMap(@Self)^.clr := $00004000
  46007. else
  46008. pTDefRegMap(@Self)^.&set := $00004000;
  46009. end;
  46010. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  46011. begin
  46012. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46013. end;
  46014. procedure TPORTB_LATB.setLATB15; inline;
  46015. begin
  46016. pTDefRegMap(@Self)^.&set := $00008000;
  46017. end;
  46018. procedure TPORTB_LATB.clearLATB15; inline;
  46019. begin
  46020. pTDefRegMap(@Self)^.clr := $00008000;
  46021. end;
  46022. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  46023. begin
  46024. if thebits = 0 then
  46025. pTDefRegMap(@Self)^.clr := $00008000
  46026. else
  46027. pTDefRegMap(@Self)^.&set := $00008000;
  46028. end;
  46029. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  46030. begin
  46031. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46032. end;
  46033. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  46034. begin
  46035. pTDefRegMap(@Self)^.val := thebits;
  46036. end;
  46037. function TPORTB_LATB.getw : TBits_32; inline;
  46038. begin
  46039. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46040. end;
  46041. procedure TPORTB_ODCB.setODCB0; inline;
  46042. begin
  46043. pTDefRegMap(@Self)^.&set := $00000001;
  46044. end;
  46045. procedure TPORTB_ODCB.clearODCB0; inline;
  46046. begin
  46047. pTDefRegMap(@Self)^.clr := $00000001;
  46048. end;
  46049. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  46050. begin
  46051. if thebits = 0 then
  46052. pTDefRegMap(@Self)^.clr := $00000001
  46053. else
  46054. pTDefRegMap(@Self)^.&set := $00000001;
  46055. end;
  46056. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  46057. begin
  46058. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46059. end;
  46060. procedure TPORTB_ODCB.setODCB1; inline;
  46061. begin
  46062. pTDefRegMap(@Self)^.&set := $00000002;
  46063. end;
  46064. procedure TPORTB_ODCB.clearODCB1; inline;
  46065. begin
  46066. pTDefRegMap(@Self)^.clr := $00000002;
  46067. end;
  46068. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  46069. begin
  46070. if thebits = 0 then
  46071. pTDefRegMap(@Self)^.clr := $00000002
  46072. else
  46073. pTDefRegMap(@Self)^.&set := $00000002;
  46074. end;
  46075. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  46076. begin
  46077. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46078. end;
  46079. procedure TPORTB_ODCB.setODCB2; inline;
  46080. begin
  46081. pTDefRegMap(@Self)^.&set := $00000004;
  46082. end;
  46083. procedure TPORTB_ODCB.clearODCB2; inline;
  46084. begin
  46085. pTDefRegMap(@Self)^.clr := $00000004;
  46086. end;
  46087. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  46088. begin
  46089. if thebits = 0 then
  46090. pTDefRegMap(@Self)^.clr := $00000004
  46091. else
  46092. pTDefRegMap(@Self)^.&set := $00000004;
  46093. end;
  46094. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  46095. begin
  46096. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46097. end;
  46098. procedure TPORTB_ODCB.setODCB3; inline;
  46099. begin
  46100. pTDefRegMap(@Self)^.&set := $00000008;
  46101. end;
  46102. procedure TPORTB_ODCB.clearODCB3; inline;
  46103. begin
  46104. pTDefRegMap(@Self)^.clr := $00000008;
  46105. end;
  46106. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  46107. begin
  46108. if thebits = 0 then
  46109. pTDefRegMap(@Self)^.clr := $00000008
  46110. else
  46111. pTDefRegMap(@Self)^.&set := $00000008;
  46112. end;
  46113. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  46114. begin
  46115. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46116. end;
  46117. procedure TPORTB_ODCB.setODCB4; inline;
  46118. begin
  46119. pTDefRegMap(@Self)^.&set := $00000010;
  46120. end;
  46121. procedure TPORTB_ODCB.clearODCB4; inline;
  46122. begin
  46123. pTDefRegMap(@Self)^.clr := $00000010;
  46124. end;
  46125. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  46126. begin
  46127. if thebits = 0 then
  46128. pTDefRegMap(@Self)^.clr := $00000010
  46129. else
  46130. pTDefRegMap(@Self)^.&set := $00000010;
  46131. end;
  46132. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  46133. begin
  46134. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46135. end;
  46136. procedure TPORTB_ODCB.setODCB5; inline;
  46137. begin
  46138. pTDefRegMap(@Self)^.&set := $00000020;
  46139. end;
  46140. procedure TPORTB_ODCB.clearODCB5; inline;
  46141. begin
  46142. pTDefRegMap(@Self)^.clr := $00000020;
  46143. end;
  46144. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  46145. begin
  46146. if thebits = 0 then
  46147. pTDefRegMap(@Self)^.clr := $00000020
  46148. else
  46149. pTDefRegMap(@Self)^.&set := $00000020;
  46150. end;
  46151. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  46152. begin
  46153. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46154. end;
  46155. procedure TPORTB_ODCB.setODCB6; inline;
  46156. begin
  46157. pTDefRegMap(@Self)^.&set := $00000040;
  46158. end;
  46159. procedure TPORTB_ODCB.clearODCB6; inline;
  46160. begin
  46161. pTDefRegMap(@Self)^.clr := $00000040;
  46162. end;
  46163. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  46164. begin
  46165. if thebits = 0 then
  46166. pTDefRegMap(@Self)^.clr := $00000040
  46167. else
  46168. pTDefRegMap(@Self)^.&set := $00000040;
  46169. end;
  46170. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  46171. begin
  46172. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46173. end;
  46174. procedure TPORTB_ODCB.setODCB7; inline;
  46175. begin
  46176. pTDefRegMap(@Self)^.&set := $00000080;
  46177. end;
  46178. procedure TPORTB_ODCB.clearODCB7; inline;
  46179. begin
  46180. pTDefRegMap(@Self)^.clr := $00000080;
  46181. end;
  46182. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  46183. begin
  46184. if thebits = 0 then
  46185. pTDefRegMap(@Self)^.clr := $00000080
  46186. else
  46187. pTDefRegMap(@Self)^.&set := $00000080;
  46188. end;
  46189. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  46190. begin
  46191. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46192. end;
  46193. procedure TPORTB_ODCB.setODCB8; inline;
  46194. begin
  46195. pTDefRegMap(@Self)^.&set := $00000100;
  46196. end;
  46197. procedure TPORTB_ODCB.clearODCB8; inline;
  46198. begin
  46199. pTDefRegMap(@Self)^.clr := $00000100;
  46200. end;
  46201. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  46202. begin
  46203. if thebits = 0 then
  46204. pTDefRegMap(@Self)^.clr := $00000100
  46205. else
  46206. pTDefRegMap(@Self)^.&set := $00000100;
  46207. end;
  46208. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  46209. begin
  46210. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46211. end;
  46212. procedure TPORTB_ODCB.setODCB9; inline;
  46213. begin
  46214. pTDefRegMap(@Self)^.&set := $00000200;
  46215. end;
  46216. procedure TPORTB_ODCB.clearODCB9; inline;
  46217. begin
  46218. pTDefRegMap(@Self)^.clr := $00000200;
  46219. end;
  46220. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  46221. begin
  46222. if thebits = 0 then
  46223. pTDefRegMap(@Self)^.clr := $00000200
  46224. else
  46225. pTDefRegMap(@Self)^.&set := $00000200;
  46226. end;
  46227. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  46228. begin
  46229. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46230. end;
  46231. procedure TPORTB_ODCB.setODCB10; inline;
  46232. begin
  46233. pTDefRegMap(@Self)^.&set := $00000400;
  46234. end;
  46235. procedure TPORTB_ODCB.clearODCB10; inline;
  46236. begin
  46237. pTDefRegMap(@Self)^.clr := $00000400;
  46238. end;
  46239. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  46240. begin
  46241. if thebits = 0 then
  46242. pTDefRegMap(@Self)^.clr := $00000400
  46243. else
  46244. pTDefRegMap(@Self)^.&set := $00000400;
  46245. end;
  46246. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  46247. begin
  46248. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46249. end;
  46250. procedure TPORTB_ODCB.setODCB11; inline;
  46251. begin
  46252. pTDefRegMap(@Self)^.&set := $00000800;
  46253. end;
  46254. procedure TPORTB_ODCB.clearODCB11; inline;
  46255. begin
  46256. pTDefRegMap(@Self)^.clr := $00000800;
  46257. end;
  46258. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  46259. begin
  46260. if thebits = 0 then
  46261. pTDefRegMap(@Self)^.clr := $00000800
  46262. else
  46263. pTDefRegMap(@Self)^.&set := $00000800;
  46264. end;
  46265. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  46266. begin
  46267. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46268. end;
  46269. procedure TPORTB_ODCB.setODCB12; inline;
  46270. begin
  46271. pTDefRegMap(@Self)^.&set := $00001000;
  46272. end;
  46273. procedure TPORTB_ODCB.clearODCB12; inline;
  46274. begin
  46275. pTDefRegMap(@Self)^.clr := $00001000;
  46276. end;
  46277. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  46278. begin
  46279. if thebits = 0 then
  46280. pTDefRegMap(@Self)^.clr := $00001000
  46281. else
  46282. pTDefRegMap(@Self)^.&set := $00001000;
  46283. end;
  46284. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  46285. begin
  46286. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46287. end;
  46288. procedure TPORTB_ODCB.setODCB13; inline;
  46289. begin
  46290. pTDefRegMap(@Self)^.&set := $00002000;
  46291. end;
  46292. procedure TPORTB_ODCB.clearODCB13; inline;
  46293. begin
  46294. pTDefRegMap(@Self)^.clr := $00002000;
  46295. end;
  46296. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  46297. begin
  46298. if thebits = 0 then
  46299. pTDefRegMap(@Self)^.clr := $00002000
  46300. else
  46301. pTDefRegMap(@Self)^.&set := $00002000;
  46302. end;
  46303. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  46304. begin
  46305. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46306. end;
  46307. procedure TPORTB_ODCB.setODCB14; inline;
  46308. begin
  46309. pTDefRegMap(@Self)^.&set := $00004000;
  46310. end;
  46311. procedure TPORTB_ODCB.clearODCB14; inline;
  46312. begin
  46313. pTDefRegMap(@Self)^.clr := $00004000;
  46314. end;
  46315. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  46316. begin
  46317. if thebits = 0 then
  46318. pTDefRegMap(@Self)^.clr := $00004000
  46319. else
  46320. pTDefRegMap(@Self)^.&set := $00004000;
  46321. end;
  46322. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  46323. begin
  46324. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46325. end;
  46326. procedure TPORTB_ODCB.setODCB15; inline;
  46327. begin
  46328. pTDefRegMap(@Self)^.&set := $00008000;
  46329. end;
  46330. procedure TPORTB_ODCB.clearODCB15; inline;
  46331. begin
  46332. pTDefRegMap(@Self)^.clr := $00008000;
  46333. end;
  46334. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  46335. begin
  46336. if thebits = 0 then
  46337. pTDefRegMap(@Self)^.clr := $00008000
  46338. else
  46339. pTDefRegMap(@Self)^.&set := $00008000;
  46340. end;
  46341. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  46342. begin
  46343. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46344. end;
  46345. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  46346. begin
  46347. pTDefRegMap(@Self)^.val := thebits;
  46348. end;
  46349. function TPORTB_ODCB.getw : TBits_32; inline;
  46350. begin
  46351. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46352. end;
  46353. procedure TPORTB_CNPUB.setCNPUB0; inline;
  46354. begin
  46355. pTDefRegMap(@Self)^.&set := $00000001;
  46356. end;
  46357. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  46358. begin
  46359. pTDefRegMap(@Self)^.clr := $00000001;
  46360. end;
  46361. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  46362. begin
  46363. if thebits = 0 then
  46364. pTDefRegMap(@Self)^.clr := $00000001
  46365. else
  46366. pTDefRegMap(@Self)^.&set := $00000001;
  46367. end;
  46368. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  46369. begin
  46370. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46371. end;
  46372. procedure TPORTB_CNPUB.setCNPUB1; inline;
  46373. begin
  46374. pTDefRegMap(@Self)^.&set := $00000002;
  46375. end;
  46376. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  46377. begin
  46378. pTDefRegMap(@Self)^.clr := $00000002;
  46379. end;
  46380. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  46381. begin
  46382. if thebits = 0 then
  46383. pTDefRegMap(@Self)^.clr := $00000002
  46384. else
  46385. pTDefRegMap(@Self)^.&set := $00000002;
  46386. end;
  46387. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  46388. begin
  46389. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46390. end;
  46391. procedure TPORTB_CNPUB.setCNPUB2; inline;
  46392. begin
  46393. pTDefRegMap(@Self)^.&set := $00000004;
  46394. end;
  46395. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  46396. begin
  46397. pTDefRegMap(@Self)^.clr := $00000004;
  46398. end;
  46399. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  46400. begin
  46401. if thebits = 0 then
  46402. pTDefRegMap(@Self)^.clr := $00000004
  46403. else
  46404. pTDefRegMap(@Self)^.&set := $00000004;
  46405. end;
  46406. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  46407. begin
  46408. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46409. end;
  46410. procedure TPORTB_CNPUB.setCNPUB3; inline;
  46411. begin
  46412. pTDefRegMap(@Self)^.&set := $00000008;
  46413. end;
  46414. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  46415. begin
  46416. pTDefRegMap(@Self)^.clr := $00000008;
  46417. end;
  46418. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  46419. begin
  46420. if thebits = 0 then
  46421. pTDefRegMap(@Self)^.clr := $00000008
  46422. else
  46423. pTDefRegMap(@Self)^.&set := $00000008;
  46424. end;
  46425. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  46426. begin
  46427. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46428. end;
  46429. procedure TPORTB_CNPUB.setCNPUB4; inline;
  46430. begin
  46431. pTDefRegMap(@Self)^.&set := $00000010;
  46432. end;
  46433. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  46434. begin
  46435. pTDefRegMap(@Self)^.clr := $00000010;
  46436. end;
  46437. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  46438. begin
  46439. if thebits = 0 then
  46440. pTDefRegMap(@Self)^.clr := $00000010
  46441. else
  46442. pTDefRegMap(@Self)^.&set := $00000010;
  46443. end;
  46444. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  46445. begin
  46446. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46447. end;
  46448. procedure TPORTB_CNPUB.setCNPUB5; inline;
  46449. begin
  46450. pTDefRegMap(@Self)^.&set := $00000020;
  46451. end;
  46452. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  46453. begin
  46454. pTDefRegMap(@Self)^.clr := $00000020;
  46455. end;
  46456. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  46457. begin
  46458. if thebits = 0 then
  46459. pTDefRegMap(@Self)^.clr := $00000020
  46460. else
  46461. pTDefRegMap(@Self)^.&set := $00000020;
  46462. end;
  46463. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  46464. begin
  46465. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46466. end;
  46467. procedure TPORTB_CNPUB.setCNPUB6; inline;
  46468. begin
  46469. pTDefRegMap(@Self)^.&set := $00000040;
  46470. end;
  46471. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  46472. begin
  46473. pTDefRegMap(@Self)^.clr := $00000040;
  46474. end;
  46475. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  46476. begin
  46477. if thebits = 0 then
  46478. pTDefRegMap(@Self)^.clr := $00000040
  46479. else
  46480. pTDefRegMap(@Self)^.&set := $00000040;
  46481. end;
  46482. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  46483. begin
  46484. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46485. end;
  46486. procedure TPORTB_CNPUB.setCNPUB7; inline;
  46487. begin
  46488. pTDefRegMap(@Self)^.&set := $00000080;
  46489. end;
  46490. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  46491. begin
  46492. pTDefRegMap(@Self)^.clr := $00000080;
  46493. end;
  46494. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  46495. begin
  46496. if thebits = 0 then
  46497. pTDefRegMap(@Self)^.clr := $00000080
  46498. else
  46499. pTDefRegMap(@Self)^.&set := $00000080;
  46500. end;
  46501. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  46502. begin
  46503. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46504. end;
  46505. procedure TPORTB_CNPUB.setCNPUB8; inline;
  46506. begin
  46507. pTDefRegMap(@Self)^.&set := $00000100;
  46508. end;
  46509. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  46510. begin
  46511. pTDefRegMap(@Self)^.clr := $00000100;
  46512. end;
  46513. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  46514. begin
  46515. if thebits = 0 then
  46516. pTDefRegMap(@Self)^.clr := $00000100
  46517. else
  46518. pTDefRegMap(@Self)^.&set := $00000100;
  46519. end;
  46520. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  46521. begin
  46522. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46523. end;
  46524. procedure TPORTB_CNPUB.setCNPUB9; inline;
  46525. begin
  46526. pTDefRegMap(@Self)^.&set := $00000200;
  46527. end;
  46528. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  46529. begin
  46530. pTDefRegMap(@Self)^.clr := $00000200;
  46531. end;
  46532. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  46533. begin
  46534. if thebits = 0 then
  46535. pTDefRegMap(@Self)^.clr := $00000200
  46536. else
  46537. pTDefRegMap(@Self)^.&set := $00000200;
  46538. end;
  46539. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  46540. begin
  46541. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46542. end;
  46543. procedure TPORTB_CNPUB.setCNPUB10; inline;
  46544. begin
  46545. pTDefRegMap(@Self)^.&set := $00000400;
  46546. end;
  46547. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  46548. begin
  46549. pTDefRegMap(@Self)^.clr := $00000400;
  46550. end;
  46551. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  46552. begin
  46553. if thebits = 0 then
  46554. pTDefRegMap(@Self)^.clr := $00000400
  46555. else
  46556. pTDefRegMap(@Self)^.&set := $00000400;
  46557. end;
  46558. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  46559. begin
  46560. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46561. end;
  46562. procedure TPORTB_CNPUB.setCNPUB11; inline;
  46563. begin
  46564. pTDefRegMap(@Self)^.&set := $00000800;
  46565. end;
  46566. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  46567. begin
  46568. pTDefRegMap(@Self)^.clr := $00000800;
  46569. end;
  46570. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  46571. begin
  46572. if thebits = 0 then
  46573. pTDefRegMap(@Self)^.clr := $00000800
  46574. else
  46575. pTDefRegMap(@Self)^.&set := $00000800;
  46576. end;
  46577. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  46578. begin
  46579. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46580. end;
  46581. procedure TPORTB_CNPUB.setCNPUB12; inline;
  46582. begin
  46583. pTDefRegMap(@Self)^.&set := $00001000;
  46584. end;
  46585. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  46586. begin
  46587. pTDefRegMap(@Self)^.clr := $00001000;
  46588. end;
  46589. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  46590. begin
  46591. if thebits = 0 then
  46592. pTDefRegMap(@Self)^.clr := $00001000
  46593. else
  46594. pTDefRegMap(@Self)^.&set := $00001000;
  46595. end;
  46596. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  46597. begin
  46598. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46599. end;
  46600. procedure TPORTB_CNPUB.setCNPUB13; inline;
  46601. begin
  46602. pTDefRegMap(@Self)^.&set := $00002000;
  46603. end;
  46604. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  46605. begin
  46606. pTDefRegMap(@Self)^.clr := $00002000;
  46607. end;
  46608. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  46609. begin
  46610. if thebits = 0 then
  46611. pTDefRegMap(@Self)^.clr := $00002000
  46612. else
  46613. pTDefRegMap(@Self)^.&set := $00002000;
  46614. end;
  46615. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  46616. begin
  46617. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46618. end;
  46619. procedure TPORTB_CNPUB.setCNPUB14; inline;
  46620. begin
  46621. pTDefRegMap(@Self)^.&set := $00004000;
  46622. end;
  46623. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  46624. begin
  46625. pTDefRegMap(@Self)^.clr := $00004000;
  46626. end;
  46627. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  46628. begin
  46629. if thebits = 0 then
  46630. pTDefRegMap(@Self)^.clr := $00004000
  46631. else
  46632. pTDefRegMap(@Self)^.&set := $00004000;
  46633. end;
  46634. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  46635. begin
  46636. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46637. end;
  46638. procedure TPORTB_CNPUB.setCNPUB15; inline;
  46639. begin
  46640. pTDefRegMap(@Self)^.&set := $00008000;
  46641. end;
  46642. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  46643. begin
  46644. pTDefRegMap(@Self)^.clr := $00008000;
  46645. end;
  46646. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  46647. begin
  46648. if thebits = 0 then
  46649. pTDefRegMap(@Self)^.clr := $00008000
  46650. else
  46651. pTDefRegMap(@Self)^.&set := $00008000;
  46652. end;
  46653. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  46654. begin
  46655. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46656. end;
  46657. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  46658. begin
  46659. pTDefRegMap(@Self)^.val := thebits;
  46660. end;
  46661. function TPORTB_CNPUB.getw : TBits_32; inline;
  46662. begin
  46663. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46664. end;
  46665. procedure TPORTB_CNPDB.setCNPDB0; inline;
  46666. begin
  46667. pTDefRegMap(@Self)^.&set := $00000001;
  46668. end;
  46669. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  46670. begin
  46671. pTDefRegMap(@Self)^.clr := $00000001;
  46672. end;
  46673. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  46674. begin
  46675. if thebits = 0 then
  46676. pTDefRegMap(@Self)^.clr := $00000001
  46677. else
  46678. pTDefRegMap(@Self)^.&set := $00000001;
  46679. end;
  46680. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  46681. begin
  46682. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46683. end;
  46684. procedure TPORTB_CNPDB.setCNPDB1; inline;
  46685. begin
  46686. pTDefRegMap(@Self)^.&set := $00000002;
  46687. end;
  46688. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  46689. begin
  46690. pTDefRegMap(@Self)^.clr := $00000002;
  46691. end;
  46692. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  46693. begin
  46694. if thebits = 0 then
  46695. pTDefRegMap(@Self)^.clr := $00000002
  46696. else
  46697. pTDefRegMap(@Self)^.&set := $00000002;
  46698. end;
  46699. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  46700. begin
  46701. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46702. end;
  46703. procedure TPORTB_CNPDB.setCNPDB2; inline;
  46704. begin
  46705. pTDefRegMap(@Self)^.&set := $00000004;
  46706. end;
  46707. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  46708. begin
  46709. pTDefRegMap(@Self)^.clr := $00000004;
  46710. end;
  46711. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  46712. begin
  46713. if thebits = 0 then
  46714. pTDefRegMap(@Self)^.clr := $00000004
  46715. else
  46716. pTDefRegMap(@Self)^.&set := $00000004;
  46717. end;
  46718. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  46719. begin
  46720. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46721. end;
  46722. procedure TPORTB_CNPDB.setCNPDB3; inline;
  46723. begin
  46724. pTDefRegMap(@Self)^.&set := $00000008;
  46725. end;
  46726. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  46727. begin
  46728. pTDefRegMap(@Self)^.clr := $00000008;
  46729. end;
  46730. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  46731. begin
  46732. if thebits = 0 then
  46733. pTDefRegMap(@Self)^.clr := $00000008
  46734. else
  46735. pTDefRegMap(@Self)^.&set := $00000008;
  46736. end;
  46737. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  46738. begin
  46739. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46740. end;
  46741. procedure TPORTB_CNPDB.setCNPDB4; inline;
  46742. begin
  46743. pTDefRegMap(@Self)^.&set := $00000010;
  46744. end;
  46745. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  46746. begin
  46747. pTDefRegMap(@Self)^.clr := $00000010;
  46748. end;
  46749. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  46750. begin
  46751. if thebits = 0 then
  46752. pTDefRegMap(@Self)^.clr := $00000010
  46753. else
  46754. pTDefRegMap(@Self)^.&set := $00000010;
  46755. end;
  46756. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  46757. begin
  46758. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46759. end;
  46760. procedure TPORTB_CNPDB.setCNPDB5; inline;
  46761. begin
  46762. pTDefRegMap(@Self)^.&set := $00000020;
  46763. end;
  46764. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  46765. begin
  46766. pTDefRegMap(@Self)^.clr := $00000020;
  46767. end;
  46768. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  46769. begin
  46770. if thebits = 0 then
  46771. pTDefRegMap(@Self)^.clr := $00000020
  46772. else
  46773. pTDefRegMap(@Self)^.&set := $00000020;
  46774. end;
  46775. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  46776. begin
  46777. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46778. end;
  46779. procedure TPORTB_CNPDB.setCNPDB6; inline;
  46780. begin
  46781. pTDefRegMap(@Self)^.&set := $00000040;
  46782. end;
  46783. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  46784. begin
  46785. pTDefRegMap(@Self)^.clr := $00000040;
  46786. end;
  46787. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  46788. begin
  46789. if thebits = 0 then
  46790. pTDefRegMap(@Self)^.clr := $00000040
  46791. else
  46792. pTDefRegMap(@Self)^.&set := $00000040;
  46793. end;
  46794. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  46795. begin
  46796. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46797. end;
  46798. procedure TPORTB_CNPDB.setCNPDB7; inline;
  46799. begin
  46800. pTDefRegMap(@Self)^.&set := $00000080;
  46801. end;
  46802. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  46803. begin
  46804. pTDefRegMap(@Self)^.clr := $00000080;
  46805. end;
  46806. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  46807. begin
  46808. if thebits = 0 then
  46809. pTDefRegMap(@Self)^.clr := $00000080
  46810. else
  46811. pTDefRegMap(@Self)^.&set := $00000080;
  46812. end;
  46813. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  46814. begin
  46815. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46816. end;
  46817. procedure TPORTB_CNPDB.setCNPDB8; inline;
  46818. begin
  46819. pTDefRegMap(@Self)^.&set := $00000100;
  46820. end;
  46821. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  46822. begin
  46823. pTDefRegMap(@Self)^.clr := $00000100;
  46824. end;
  46825. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  46826. begin
  46827. if thebits = 0 then
  46828. pTDefRegMap(@Self)^.clr := $00000100
  46829. else
  46830. pTDefRegMap(@Self)^.&set := $00000100;
  46831. end;
  46832. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  46833. begin
  46834. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46835. end;
  46836. procedure TPORTB_CNPDB.setCNPDB9; inline;
  46837. begin
  46838. pTDefRegMap(@Self)^.&set := $00000200;
  46839. end;
  46840. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  46841. begin
  46842. pTDefRegMap(@Self)^.clr := $00000200;
  46843. end;
  46844. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  46845. begin
  46846. if thebits = 0 then
  46847. pTDefRegMap(@Self)^.clr := $00000200
  46848. else
  46849. pTDefRegMap(@Self)^.&set := $00000200;
  46850. end;
  46851. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  46852. begin
  46853. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46854. end;
  46855. procedure TPORTB_CNPDB.setCNPDB10; inline;
  46856. begin
  46857. pTDefRegMap(@Self)^.&set := $00000400;
  46858. end;
  46859. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  46860. begin
  46861. pTDefRegMap(@Self)^.clr := $00000400;
  46862. end;
  46863. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  46864. begin
  46865. if thebits = 0 then
  46866. pTDefRegMap(@Self)^.clr := $00000400
  46867. else
  46868. pTDefRegMap(@Self)^.&set := $00000400;
  46869. end;
  46870. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  46871. begin
  46872. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46873. end;
  46874. procedure TPORTB_CNPDB.setCNPDB11; inline;
  46875. begin
  46876. pTDefRegMap(@Self)^.&set := $00000800;
  46877. end;
  46878. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  46879. begin
  46880. pTDefRegMap(@Self)^.clr := $00000800;
  46881. end;
  46882. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  46883. begin
  46884. if thebits = 0 then
  46885. pTDefRegMap(@Self)^.clr := $00000800
  46886. else
  46887. pTDefRegMap(@Self)^.&set := $00000800;
  46888. end;
  46889. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  46890. begin
  46891. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46892. end;
  46893. procedure TPORTB_CNPDB.setCNPDB12; inline;
  46894. begin
  46895. pTDefRegMap(@Self)^.&set := $00001000;
  46896. end;
  46897. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  46898. begin
  46899. pTDefRegMap(@Self)^.clr := $00001000;
  46900. end;
  46901. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  46902. begin
  46903. if thebits = 0 then
  46904. pTDefRegMap(@Self)^.clr := $00001000
  46905. else
  46906. pTDefRegMap(@Self)^.&set := $00001000;
  46907. end;
  46908. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  46909. begin
  46910. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46911. end;
  46912. procedure TPORTB_CNPDB.setCNPDB13; inline;
  46913. begin
  46914. pTDefRegMap(@Self)^.&set := $00002000;
  46915. end;
  46916. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  46917. begin
  46918. pTDefRegMap(@Self)^.clr := $00002000;
  46919. end;
  46920. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  46921. begin
  46922. if thebits = 0 then
  46923. pTDefRegMap(@Self)^.clr := $00002000
  46924. else
  46925. pTDefRegMap(@Self)^.&set := $00002000;
  46926. end;
  46927. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  46928. begin
  46929. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46930. end;
  46931. procedure TPORTB_CNPDB.setCNPDB14; inline;
  46932. begin
  46933. pTDefRegMap(@Self)^.&set := $00004000;
  46934. end;
  46935. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  46936. begin
  46937. pTDefRegMap(@Self)^.clr := $00004000;
  46938. end;
  46939. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  46940. begin
  46941. if thebits = 0 then
  46942. pTDefRegMap(@Self)^.clr := $00004000
  46943. else
  46944. pTDefRegMap(@Self)^.&set := $00004000;
  46945. end;
  46946. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  46947. begin
  46948. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46949. end;
  46950. procedure TPORTB_CNPDB.setCNPDB15; inline;
  46951. begin
  46952. pTDefRegMap(@Self)^.&set := $00008000;
  46953. end;
  46954. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  46955. begin
  46956. pTDefRegMap(@Self)^.clr := $00008000;
  46957. end;
  46958. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  46959. begin
  46960. if thebits = 0 then
  46961. pTDefRegMap(@Self)^.clr := $00008000
  46962. else
  46963. pTDefRegMap(@Self)^.&set := $00008000;
  46964. end;
  46965. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  46966. begin
  46967. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46968. end;
  46969. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  46970. begin
  46971. pTDefRegMap(@Self)^.val := thebits;
  46972. end;
  46973. function TPORTB_CNPDB.getw : TBits_32; inline;
  46974. begin
  46975. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46976. end;
  46977. procedure TPORTB_CNCONB.setSIDL; inline;
  46978. begin
  46979. pTDefRegMap(@Self)^.&set := $00002000;
  46980. end;
  46981. procedure TPORTB_CNCONB.clearSIDL; inline;
  46982. begin
  46983. pTDefRegMap(@Self)^.clr := $00002000;
  46984. end;
  46985. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  46986. begin
  46987. if thebits = 0 then
  46988. pTDefRegMap(@Self)^.clr := $00002000
  46989. else
  46990. pTDefRegMap(@Self)^.&set := $00002000;
  46991. end;
  46992. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  46993. begin
  46994. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46995. end;
  46996. procedure TPORTB_CNCONB.setON; inline;
  46997. begin
  46998. pTDefRegMap(@Self)^.&set := $00008000;
  46999. end;
  47000. procedure TPORTB_CNCONB.clearON; inline;
  47001. begin
  47002. pTDefRegMap(@Self)^.clr := $00008000;
  47003. end;
  47004. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  47005. begin
  47006. if thebits = 0 then
  47007. pTDefRegMap(@Self)^.clr := $00008000
  47008. else
  47009. pTDefRegMap(@Self)^.&set := $00008000;
  47010. end;
  47011. function TPORTB_CNCONB.getON : TBits_1; inline;
  47012. begin
  47013. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47014. end;
  47015. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  47016. begin
  47017. pTDefRegMap(@Self)^.val := thebits;
  47018. end;
  47019. function TPORTB_CNCONB.getw : TBits_32; inline;
  47020. begin
  47021. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47022. end;
  47023. procedure TPORTB_CNENB.setCNIEB0; inline;
  47024. begin
  47025. pTDefRegMap(@Self)^.&set := $00000001;
  47026. end;
  47027. procedure TPORTB_CNENB.clearCNIEB0; inline;
  47028. begin
  47029. pTDefRegMap(@Self)^.clr := $00000001;
  47030. end;
  47031. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  47032. begin
  47033. if thebits = 0 then
  47034. pTDefRegMap(@Self)^.clr := $00000001
  47035. else
  47036. pTDefRegMap(@Self)^.&set := $00000001;
  47037. end;
  47038. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  47039. begin
  47040. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47041. end;
  47042. procedure TPORTB_CNENB.setCNIEB1; inline;
  47043. begin
  47044. pTDefRegMap(@Self)^.&set := $00000002;
  47045. end;
  47046. procedure TPORTB_CNENB.clearCNIEB1; inline;
  47047. begin
  47048. pTDefRegMap(@Self)^.clr := $00000002;
  47049. end;
  47050. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  47051. begin
  47052. if thebits = 0 then
  47053. pTDefRegMap(@Self)^.clr := $00000002
  47054. else
  47055. pTDefRegMap(@Self)^.&set := $00000002;
  47056. end;
  47057. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  47058. begin
  47059. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47060. end;
  47061. procedure TPORTB_CNENB.setCNIEB2; inline;
  47062. begin
  47063. pTDefRegMap(@Self)^.&set := $00000004;
  47064. end;
  47065. procedure TPORTB_CNENB.clearCNIEB2; inline;
  47066. begin
  47067. pTDefRegMap(@Self)^.clr := $00000004;
  47068. end;
  47069. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  47070. begin
  47071. if thebits = 0 then
  47072. pTDefRegMap(@Self)^.clr := $00000004
  47073. else
  47074. pTDefRegMap(@Self)^.&set := $00000004;
  47075. end;
  47076. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  47077. begin
  47078. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47079. end;
  47080. procedure TPORTB_CNENB.setCNIEB3; inline;
  47081. begin
  47082. pTDefRegMap(@Self)^.&set := $00000008;
  47083. end;
  47084. procedure TPORTB_CNENB.clearCNIEB3; inline;
  47085. begin
  47086. pTDefRegMap(@Self)^.clr := $00000008;
  47087. end;
  47088. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  47089. begin
  47090. if thebits = 0 then
  47091. pTDefRegMap(@Self)^.clr := $00000008
  47092. else
  47093. pTDefRegMap(@Self)^.&set := $00000008;
  47094. end;
  47095. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  47096. begin
  47097. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47098. end;
  47099. procedure TPORTB_CNENB.setCNIEB4; inline;
  47100. begin
  47101. pTDefRegMap(@Self)^.&set := $00000010;
  47102. end;
  47103. procedure TPORTB_CNENB.clearCNIEB4; inline;
  47104. begin
  47105. pTDefRegMap(@Self)^.clr := $00000010;
  47106. end;
  47107. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  47108. begin
  47109. if thebits = 0 then
  47110. pTDefRegMap(@Self)^.clr := $00000010
  47111. else
  47112. pTDefRegMap(@Self)^.&set := $00000010;
  47113. end;
  47114. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  47115. begin
  47116. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47117. end;
  47118. procedure TPORTB_CNENB.setCNIEB5; inline;
  47119. begin
  47120. pTDefRegMap(@Self)^.&set := $00000020;
  47121. end;
  47122. procedure TPORTB_CNENB.clearCNIEB5; inline;
  47123. begin
  47124. pTDefRegMap(@Self)^.clr := $00000020;
  47125. end;
  47126. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  47127. begin
  47128. if thebits = 0 then
  47129. pTDefRegMap(@Self)^.clr := $00000020
  47130. else
  47131. pTDefRegMap(@Self)^.&set := $00000020;
  47132. end;
  47133. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  47134. begin
  47135. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47136. end;
  47137. procedure TPORTB_CNENB.setCNIEB6; inline;
  47138. begin
  47139. pTDefRegMap(@Self)^.&set := $00000040;
  47140. end;
  47141. procedure TPORTB_CNENB.clearCNIEB6; inline;
  47142. begin
  47143. pTDefRegMap(@Self)^.clr := $00000040;
  47144. end;
  47145. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  47146. begin
  47147. if thebits = 0 then
  47148. pTDefRegMap(@Self)^.clr := $00000040
  47149. else
  47150. pTDefRegMap(@Self)^.&set := $00000040;
  47151. end;
  47152. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  47153. begin
  47154. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47155. end;
  47156. procedure TPORTB_CNENB.setCNIEB7; inline;
  47157. begin
  47158. pTDefRegMap(@Self)^.&set := $00000080;
  47159. end;
  47160. procedure TPORTB_CNENB.clearCNIEB7; inline;
  47161. begin
  47162. pTDefRegMap(@Self)^.clr := $00000080;
  47163. end;
  47164. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  47165. begin
  47166. if thebits = 0 then
  47167. pTDefRegMap(@Self)^.clr := $00000080
  47168. else
  47169. pTDefRegMap(@Self)^.&set := $00000080;
  47170. end;
  47171. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  47172. begin
  47173. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47174. end;
  47175. procedure TPORTB_CNENB.setCNIEB8; inline;
  47176. begin
  47177. pTDefRegMap(@Self)^.&set := $00000100;
  47178. end;
  47179. procedure TPORTB_CNENB.clearCNIEB8; inline;
  47180. begin
  47181. pTDefRegMap(@Self)^.clr := $00000100;
  47182. end;
  47183. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  47184. begin
  47185. if thebits = 0 then
  47186. pTDefRegMap(@Self)^.clr := $00000100
  47187. else
  47188. pTDefRegMap(@Self)^.&set := $00000100;
  47189. end;
  47190. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  47191. begin
  47192. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47193. end;
  47194. procedure TPORTB_CNENB.setCNIEB9; inline;
  47195. begin
  47196. pTDefRegMap(@Self)^.&set := $00000200;
  47197. end;
  47198. procedure TPORTB_CNENB.clearCNIEB9; inline;
  47199. begin
  47200. pTDefRegMap(@Self)^.clr := $00000200;
  47201. end;
  47202. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  47203. begin
  47204. if thebits = 0 then
  47205. pTDefRegMap(@Self)^.clr := $00000200
  47206. else
  47207. pTDefRegMap(@Self)^.&set := $00000200;
  47208. end;
  47209. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  47210. begin
  47211. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47212. end;
  47213. procedure TPORTB_CNENB.setCNIEB10; inline;
  47214. begin
  47215. pTDefRegMap(@Self)^.&set := $00000400;
  47216. end;
  47217. procedure TPORTB_CNENB.clearCNIEB10; inline;
  47218. begin
  47219. pTDefRegMap(@Self)^.clr := $00000400;
  47220. end;
  47221. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  47222. begin
  47223. if thebits = 0 then
  47224. pTDefRegMap(@Self)^.clr := $00000400
  47225. else
  47226. pTDefRegMap(@Self)^.&set := $00000400;
  47227. end;
  47228. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  47229. begin
  47230. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47231. end;
  47232. procedure TPORTB_CNENB.setCNIEB11; inline;
  47233. begin
  47234. pTDefRegMap(@Self)^.&set := $00000800;
  47235. end;
  47236. procedure TPORTB_CNENB.clearCNIEB11; inline;
  47237. begin
  47238. pTDefRegMap(@Self)^.clr := $00000800;
  47239. end;
  47240. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  47241. begin
  47242. if thebits = 0 then
  47243. pTDefRegMap(@Self)^.clr := $00000800
  47244. else
  47245. pTDefRegMap(@Self)^.&set := $00000800;
  47246. end;
  47247. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  47248. begin
  47249. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47250. end;
  47251. procedure TPORTB_CNENB.setCNIEB12; inline;
  47252. begin
  47253. pTDefRegMap(@Self)^.&set := $00001000;
  47254. end;
  47255. procedure TPORTB_CNENB.clearCNIEB12; inline;
  47256. begin
  47257. pTDefRegMap(@Self)^.clr := $00001000;
  47258. end;
  47259. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  47260. begin
  47261. if thebits = 0 then
  47262. pTDefRegMap(@Self)^.clr := $00001000
  47263. else
  47264. pTDefRegMap(@Self)^.&set := $00001000;
  47265. end;
  47266. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  47267. begin
  47268. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47269. end;
  47270. procedure TPORTB_CNENB.setCNIEB13; inline;
  47271. begin
  47272. pTDefRegMap(@Self)^.&set := $00002000;
  47273. end;
  47274. procedure TPORTB_CNENB.clearCNIEB13; inline;
  47275. begin
  47276. pTDefRegMap(@Self)^.clr := $00002000;
  47277. end;
  47278. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  47279. begin
  47280. if thebits = 0 then
  47281. pTDefRegMap(@Self)^.clr := $00002000
  47282. else
  47283. pTDefRegMap(@Self)^.&set := $00002000;
  47284. end;
  47285. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  47286. begin
  47287. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47288. end;
  47289. procedure TPORTB_CNENB.setCNIEB14; inline;
  47290. begin
  47291. pTDefRegMap(@Self)^.&set := $00004000;
  47292. end;
  47293. procedure TPORTB_CNENB.clearCNIEB14; inline;
  47294. begin
  47295. pTDefRegMap(@Self)^.clr := $00004000;
  47296. end;
  47297. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  47298. begin
  47299. if thebits = 0 then
  47300. pTDefRegMap(@Self)^.clr := $00004000
  47301. else
  47302. pTDefRegMap(@Self)^.&set := $00004000;
  47303. end;
  47304. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  47305. begin
  47306. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47307. end;
  47308. procedure TPORTB_CNENB.setCNIEB15; inline;
  47309. begin
  47310. pTDefRegMap(@Self)^.&set := $00008000;
  47311. end;
  47312. procedure TPORTB_CNENB.clearCNIEB15; inline;
  47313. begin
  47314. pTDefRegMap(@Self)^.clr := $00008000;
  47315. end;
  47316. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  47317. begin
  47318. if thebits = 0 then
  47319. pTDefRegMap(@Self)^.clr := $00008000
  47320. else
  47321. pTDefRegMap(@Self)^.&set := $00008000;
  47322. end;
  47323. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  47324. begin
  47325. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47326. end;
  47327. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  47328. begin
  47329. pTDefRegMap(@Self)^.val := thebits;
  47330. end;
  47331. function TPORTB_CNENB.getw : TBits_32; inline;
  47332. begin
  47333. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47334. end;
  47335. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  47336. begin
  47337. pTDefRegMap(@Self)^.&set := $00000001;
  47338. end;
  47339. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  47340. begin
  47341. pTDefRegMap(@Self)^.clr := $00000001;
  47342. end;
  47343. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  47344. begin
  47345. if thebits = 0 then
  47346. pTDefRegMap(@Self)^.clr := $00000001
  47347. else
  47348. pTDefRegMap(@Self)^.&set := $00000001;
  47349. end;
  47350. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  47351. begin
  47352. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47353. end;
  47354. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  47355. begin
  47356. pTDefRegMap(@Self)^.&set := $00000002;
  47357. end;
  47358. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  47359. begin
  47360. pTDefRegMap(@Self)^.clr := $00000002;
  47361. end;
  47362. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  47363. begin
  47364. if thebits = 0 then
  47365. pTDefRegMap(@Self)^.clr := $00000002
  47366. else
  47367. pTDefRegMap(@Self)^.&set := $00000002;
  47368. end;
  47369. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  47370. begin
  47371. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47372. end;
  47373. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  47374. begin
  47375. pTDefRegMap(@Self)^.&set := $00000004;
  47376. end;
  47377. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  47378. begin
  47379. pTDefRegMap(@Self)^.clr := $00000004;
  47380. end;
  47381. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  47382. begin
  47383. if thebits = 0 then
  47384. pTDefRegMap(@Self)^.clr := $00000004
  47385. else
  47386. pTDefRegMap(@Self)^.&set := $00000004;
  47387. end;
  47388. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  47389. begin
  47390. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47391. end;
  47392. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  47393. begin
  47394. pTDefRegMap(@Self)^.&set := $00000008;
  47395. end;
  47396. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  47397. begin
  47398. pTDefRegMap(@Self)^.clr := $00000008;
  47399. end;
  47400. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  47401. begin
  47402. if thebits = 0 then
  47403. pTDefRegMap(@Self)^.clr := $00000008
  47404. else
  47405. pTDefRegMap(@Self)^.&set := $00000008;
  47406. end;
  47407. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  47408. begin
  47409. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47410. end;
  47411. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  47412. begin
  47413. pTDefRegMap(@Self)^.&set := $00000010;
  47414. end;
  47415. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  47416. begin
  47417. pTDefRegMap(@Self)^.clr := $00000010;
  47418. end;
  47419. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  47420. begin
  47421. if thebits = 0 then
  47422. pTDefRegMap(@Self)^.clr := $00000010
  47423. else
  47424. pTDefRegMap(@Self)^.&set := $00000010;
  47425. end;
  47426. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  47427. begin
  47428. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47429. end;
  47430. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  47431. begin
  47432. pTDefRegMap(@Self)^.&set := $00000020;
  47433. end;
  47434. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  47435. begin
  47436. pTDefRegMap(@Self)^.clr := $00000020;
  47437. end;
  47438. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  47439. begin
  47440. if thebits = 0 then
  47441. pTDefRegMap(@Self)^.clr := $00000020
  47442. else
  47443. pTDefRegMap(@Self)^.&set := $00000020;
  47444. end;
  47445. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  47446. begin
  47447. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47448. end;
  47449. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  47450. begin
  47451. pTDefRegMap(@Self)^.&set := $00000040;
  47452. end;
  47453. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  47454. begin
  47455. pTDefRegMap(@Self)^.clr := $00000040;
  47456. end;
  47457. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  47458. begin
  47459. if thebits = 0 then
  47460. pTDefRegMap(@Self)^.clr := $00000040
  47461. else
  47462. pTDefRegMap(@Self)^.&set := $00000040;
  47463. end;
  47464. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  47465. begin
  47466. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47467. end;
  47468. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  47469. begin
  47470. pTDefRegMap(@Self)^.&set := $00000080;
  47471. end;
  47472. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  47473. begin
  47474. pTDefRegMap(@Self)^.clr := $00000080;
  47475. end;
  47476. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  47477. begin
  47478. if thebits = 0 then
  47479. pTDefRegMap(@Self)^.clr := $00000080
  47480. else
  47481. pTDefRegMap(@Self)^.&set := $00000080;
  47482. end;
  47483. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  47484. begin
  47485. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47486. end;
  47487. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  47488. begin
  47489. pTDefRegMap(@Self)^.&set := $00000100;
  47490. end;
  47491. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  47492. begin
  47493. pTDefRegMap(@Self)^.clr := $00000100;
  47494. end;
  47495. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  47496. begin
  47497. if thebits = 0 then
  47498. pTDefRegMap(@Self)^.clr := $00000100
  47499. else
  47500. pTDefRegMap(@Self)^.&set := $00000100;
  47501. end;
  47502. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  47503. begin
  47504. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47505. end;
  47506. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  47507. begin
  47508. pTDefRegMap(@Self)^.&set := $00000200;
  47509. end;
  47510. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  47511. begin
  47512. pTDefRegMap(@Self)^.clr := $00000200;
  47513. end;
  47514. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  47515. begin
  47516. if thebits = 0 then
  47517. pTDefRegMap(@Self)^.clr := $00000200
  47518. else
  47519. pTDefRegMap(@Self)^.&set := $00000200;
  47520. end;
  47521. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  47522. begin
  47523. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47524. end;
  47525. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  47526. begin
  47527. pTDefRegMap(@Self)^.&set := $00000400;
  47528. end;
  47529. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  47530. begin
  47531. pTDefRegMap(@Self)^.clr := $00000400;
  47532. end;
  47533. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  47534. begin
  47535. if thebits = 0 then
  47536. pTDefRegMap(@Self)^.clr := $00000400
  47537. else
  47538. pTDefRegMap(@Self)^.&set := $00000400;
  47539. end;
  47540. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  47541. begin
  47542. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47543. end;
  47544. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  47545. begin
  47546. pTDefRegMap(@Self)^.&set := $00000800;
  47547. end;
  47548. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  47549. begin
  47550. pTDefRegMap(@Self)^.clr := $00000800;
  47551. end;
  47552. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  47553. begin
  47554. if thebits = 0 then
  47555. pTDefRegMap(@Self)^.clr := $00000800
  47556. else
  47557. pTDefRegMap(@Self)^.&set := $00000800;
  47558. end;
  47559. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  47560. begin
  47561. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47562. end;
  47563. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  47564. begin
  47565. pTDefRegMap(@Self)^.&set := $00001000;
  47566. end;
  47567. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  47568. begin
  47569. pTDefRegMap(@Self)^.clr := $00001000;
  47570. end;
  47571. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  47572. begin
  47573. if thebits = 0 then
  47574. pTDefRegMap(@Self)^.clr := $00001000
  47575. else
  47576. pTDefRegMap(@Self)^.&set := $00001000;
  47577. end;
  47578. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  47579. begin
  47580. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47581. end;
  47582. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  47583. begin
  47584. pTDefRegMap(@Self)^.&set := $00002000;
  47585. end;
  47586. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  47587. begin
  47588. pTDefRegMap(@Self)^.clr := $00002000;
  47589. end;
  47590. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  47591. begin
  47592. if thebits = 0 then
  47593. pTDefRegMap(@Self)^.clr := $00002000
  47594. else
  47595. pTDefRegMap(@Self)^.&set := $00002000;
  47596. end;
  47597. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  47598. begin
  47599. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47600. end;
  47601. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  47602. begin
  47603. pTDefRegMap(@Self)^.&set := $00004000;
  47604. end;
  47605. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  47606. begin
  47607. pTDefRegMap(@Self)^.clr := $00004000;
  47608. end;
  47609. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  47610. begin
  47611. if thebits = 0 then
  47612. pTDefRegMap(@Self)^.clr := $00004000
  47613. else
  47614. pTDefRegMap(@Self)^.&set := $00004000;
  47615. end;
  47616. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  47617. begin
  47618. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47619. end;
  47620. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  47621. begin
  47622. pTDefRegMap(@Self)^.&set := $00008000;
  47623. end;
  47624. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  47625. begin
  47626. pTDefRegMap(@Self)^.clr := $00008000;
  47627. end;
  47628. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  47629. begin
  47630. if thebits = 0 then
  47631. pTDefRegMap(@Self)^.clr := $00008000
  47632. else
  47633. pTDefRegMap(@Self)^.&set := $00008000;
  47634. end;
  47635. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  47636. begin
  47637. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47638. end;
  47639. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  47640. begin
  47641. pTDefRegMap(@Self)^.val := thebits;
  47642. end;
  47643. function TPORTB_CNSTATB.getw : TBits_32; inline;
  47644. begin
  47645. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47646. end;
  47647. procedure TPORTB_TRISC.setTRISC1; inline;
  47648. begin
  47649. pTDefRegMap(@Self)^.&set := $00000002;
  47650. end;
  47651. procedure TPORTB_TRISC.clearTRISC1; inline;
  47652. begin
  47653. pTDefRegMap(@Self)^.clr := $00000002;
  47654. end;
  47655. procedure TPORTB_TRISC.setTRISC1(thebits : TBits_1); inline;
  47656. begin
  47657. if thebits = 0 then
  47658. pTDefRegMap(@Self)^.clr := $00000002
  47659. else
  47660. pTDefRegMap(@Self)^.&set := $00000002;
  47661. end;
  47662. function TPORTB_TRISC.getTRISC1 : TBits_1; inline;
  47663. begin
  47664. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47665. end;
  47666. procedure TPORTB_TRISC.setTRISC2; inline;
  47667. begin
  47668. pTDefRegMap(@Self)^.&set := $00000004;
  47669. end;
  47670. procedure TPORTB_TRISC.clearTRISC2; inline;
  47671. begin
  47672. pTDefRegMap(@Self)^.clr := $00000004;
  47673. end;
  47674. procedure TPORTB_TRISC.setTRISC2(thebits : TBits_1); inline;
  47675. begin
  47676. if thebits = 0 then
  47677. pTDefRegMap(@Self)^.clr := $00000004
  47678. else
  47679. pTDefRegMap(@Self)^.&set := $00000004;
  47680. end;
  47681. function TPORTB_TRISC.getTRISC2 : TBits_1; inline;
  47682. begin
  47683. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47684. end;
  47685. procedure TPORTB_TRISC.setTRISC3; inline;
  47686. begin
  47687. pTDefRegMap(@Self)^.&set := $00000008;
  47688. end;
  47689. procedure TPORTB_TRISC.clearTRISC3; inline;
  47690. begin
  47691. pTDefRegMap(@Self)^.clr := $00000008;
  47692. end;
  47693. procedure TPORTB_TRISC.setTRISC3(thebits : TBits_1); inline;
  47694. begin
  47695. if thebits = 0 then
  47696. pTDefRegMap(@Self)^.clr := $00000008
  47697. else
  47698. pTDefRegMap(@Self)^.&set := $00000008;
  47699. end;
  47700. function TPORTB_TRISC.getTRISC3 : TBits_1; inline;
  47701. begin
  47702. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47703. end;
  47704. procedure TPORTB_TRISC.setTRISC4; inline;
  47705. begin
  47706. pTDefRegMap(@Self)^.&set := $00000010;
  47707. end;
  47708. procedure TPORTB_TRISC.clearTRISC4; inline;
  47709. begin
  47710. pTDefRegMap(@Self)^.clr := $00000010;
  47711. end;
  47712. procedure TPORTB_TRISC.setTRISC4(thebits : TBits_1); inline;
  47713. begin
  47714. if thebits = 0 then
  47715. pTDefRegMap(@Self)^.clr := $00000010
  47716. else
  47717. pTDefRegMap(@Self)^.&set := $00000010;
  47718. end;
  47719. function TPORTB_TRISC.getTRISC4 : TBits_1; inline;
  47720. begin
  47721. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47722. end;
  47723. procedure TPORTB_TRISC.setTRISC12; inline;
  47724. begin
  47725. pTDefRegMap(@Self)^.&set := $00001000;
  47726. end;
  47727. procedure TPORTB_TRISC.clearTRISC12; inline;
  47728. begin
  47729. pTDefRegMap(@Self)^.clr := $00001000;
  47730. end;
  47731. procedure TPORTB_TRISC.setTRISC12(thebits : TBits_1); inline;
  47732. begin
  47733. if thebits = 0 then
  47734. pTDefRegMap(@Self)^.clr := $00001000
  47735. else
  47736. pTDefRegMap(@Self)^.&set := $00001000;
  47737. end;
  47738. function TPORTB_TRISC.getTRISC12 : TBits_1; inline;
  47739. begin
  47740. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47741. end;
  47742. procedure TPORTB_TRISC.setTRISC13; inline;
  47743. begin
  47744. pTDefRegMap(@Self)^.&set := $00002000;
  47745. end;
  47746. procedure TPORTB_TRISC.clearTRISC13; inline;
  47747. begin
  47748. pTDefRegMap(@Self)^.clr := $00002000;
  47749. end;
  47750. procedure TPORTB_TRISC.setTRISC13(thebits : TBits_1); inline;
  47751. begin
  47752. if thebits = 0 then
  47753. pTDefRegMap(@Self)^.clr := $00002000
  47754. else
  47755. pTDefRegMap(@Self)^.&set := $00002000;
  47756. end;
  47757. function TPORTB_TRISC.getTRISC13 : TBits_1; inline;
  47758. begin
  47759. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47760. end;
  47761. procedure TPORTB_TRISC.setTRISC14; inline;
  47762. begin
  47763. pTDefRegMap(@Self)^.&set := $00004000;
  47764. end;
  47765. procedure TPORTB_TRISC.clearTRISC14; inline;
  47766. begin
  47767. pTDefRegMap(@Self)^.clr := $00004000;
  47768. end;
  47769. procedure TPORTB_TRISC.setTRISC14(thebits : TBits_1); inline;
  47770. begin
  47771. if thebits = 0 then
  47772. pTDefRegMap(@Self)^.clr := $00004000
  47773. else
  47774. pTDefRegMap(@Self)^.&set := $00004000;
  47775. end;
  47776. function TPORTB_TRISC.getTRISC14 : TBits_1; inline;
  47777. begin
  47778. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47779. end;
  47780. procedure TPORTB_TRISC.setTRISC15; inline;
  47781. begin
  47782. pTDefRegMap(@Self)^.&set := $00008000;
  47783. end;
  47784. procedure TPORTB_TRISC.clearTRISC15; inline;
  47785. begin
  47786. pTDefRegMap(@Self)^.clr := $00008000;
  47787. end;
  47788. procedure TPORTB_TRISC.setTRISC15(thebits : TBits_1); inline;
  47789. begin
  47790. if thebits = 0 then
  47791. pTDefRegMap(@Self)^.clr := $00008000
  47792. else
  47793. pTDefRegMap(@Self)^.&set := $00008000;
  47794. end;
  47795. function TPORTB_TRISC.getTRISC15 : TBits_1; inline;
  47796. begin
  47797. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47798. end;
  47799. procedure TPORTB_TRISC.setw(thebits : TBits_32); inline;
  47800. begin
  47801. pTDefRegMap(@Self)^.val := thebits;
  47802. end;
  47803. function TPORTB_TRISC.getw : TBits_32; inline;
  47804. begin
  47805. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47806. end;
  47807. procedure TPORTC_PORTC.setRC1; inline;
  47808. begin
  47809. pTDefRegMap(@Self)^.&set := $00000002;
  47810. end;
  47811. procedure TPORTC_PORTC.clearRC1; inline;
  47812. begin
  47813. pTDefRegMap(@Self)^.clr := $00000002;
  47814. end;
  47815. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  47816. begin
  47817. if thebits = 0 then
  47818. pTDefRegMap(@Self)^.clr := $00000002
  47819. else
  47820. pTDefRegMap(@Self)^.&set := $00000002;
  47821. end;
  47822. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  47823. begin
  47824. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47825. end;
  47826. procedure TPORTC_PORTC.setRC2; inline;
  47827. begin
  47828. pTDefRegMap(@Self)^.&set := $00000004;
  47829. end;
  47830. procedure TPORTC_PORTC.clearRC2; inline;
  47831. begin
  47832. pTDefRegMap(@Self)^.clr := $00000004;
  47833. end;
  47834. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  47835. begin
  47836. if thebits = 0 then
  47837. pTDefRegMap(@Self)^.clr := $00000004
  47838. else
  47839. pTDefRegMap(@Self)^.&set := $00000004;
  47840. end;
  47841. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  47842. begin
  47843. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47844. end;
  47845. procedure TPORTC_PORTC.setRC3; inline;
  47846. begin
  47847. pTDefRegMap(@Self)^.&set := $00000008;
  47848. end;
  47849. procedure TPORTC_PORTC.clearRC3; inline;
  47850. begin
  47851. pTDefRegMap(@Self)^.clr := $00000008;
  47852. end;
  47853. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  47854. begin
  47855. if thebits = 0 then
  47856. pTDefRegMap(@Self)^.clr := $00000008
  47857. else
  47858. pTDefRegMap(@Self)^.&set := $00000008;
  47859. end;
  47860. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  47861. begin
  47862. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47863. end;
  47864. procedure TPORTC_PORTC.setRC4; inline;
  47865. begin
  47866. pTDefRegMap(@Self)^.&set := $00000010;
  47867. end;
  47868. procedure TPORTC_PORTC.clearRC4; inline;
  47869. begin
  47870. pTDefRegMap(@Self)^.clr := $00000010;
  47871. end;
  47872. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  47873. begin
  47874. if thebits = 0 then
  47875. pTDefRegMap(@Self)^.clr := $00000010
  47876. else
  47877. pTDefRegMap(@Self)^.&set := $00000010;
  47878. end;
  47879. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  47880. begin
  47881. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47882. end;
  47883. procedure TPORTC_PORTC.setRC12; inline;
  47884. begin
  47885. pTDefRegMap(@Self)^.&set := $00001000;
  47886. end;
  47887. procedure TPORTC_PORTC.clearRC12; inline;
  47888. begin
  47889. pTDefRegMap(@Self)^.clr := $00001000;
  47890. end;
  47891. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  47892. begin
  47893. if thebits = 0 then
  47894. pTDefRegMap(@Self)^.clr := $00001000
  47895. else
  47896. pTDefRegMap(@Self)^.&set := $00001000;
  47897. end;
  47898. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  47899. begin
  47900. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47901. end;
  47902. procedure TPORTC_PORTC.setRC13; inline;
  47903. begin
  47904. pTDefRegMap(@Self)^.&set := $00002000;
  47905. end;
  47906. procedure TPORTC_PORTC.clearRC13; inline;
  47907. begin
  47908. pTDefRegMap(@Self)^.clr := $00002000;
  47909. end;
  47910. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  47911. begin
  47912. if thebits = 0 then
  47913. pTDefRegMap(@Self)^.clr := $00002000
  47914. else
  47915. pTDefRegMap(@Self)^.&set := $00002000;
  47916. end;
  47917. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  47918. begin
  47919. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47920. end;
  47921. procedure TPORTC_PORTC.setRC14; inline;
  47922. begin
  47923. pTDefRegMap(@Self)^.&set := $00004000;
  47924. end;
  47925. procedure TPORTC_PORTC.clearRC14; inline;
  47926. begin
  47927. pTDefRegMap(@Self)^.clr := $00004000;
  47928. end;
  47929. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  47930. begin
  47931. if thebits = 0 then
  47932. pTDefRegMap(@Self)^.clr := $00004000
  47933. else
  47934. pTDefRegMap(@Self)^.&set := $00004000;
  47935. end;
  47936. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  47937. begin
  47938. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47939. end;
  47940. procedure TPORTC_PORTC.setRC15; inline;
  47941. begin
  47942. pTDefRegMap(@Self)^.&set := $00008000;
  47943. end;
  47944. procedure TPORTC_PORTC.clearRC15; inline;
  47945. begin
  47946. pTDefRegMap(@Self)^.clr := $00008000;
  47947. end;
  47948. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  47949. begin
  47950. if thebits = 0 then
  47951. pTDefRegMap(@Self)^.clr := $00008000
  47952. else
  47953. pTDefRegMap(@Self)^.&set := $00008000;
  47954. end;
  47955. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  47956. begin
  47957. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47958. end;
  47959. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  47960. begin
  47961. pTDefRegMap(@Self)^.val := thebits;
  47962. end;
  47963. function TPORTC_PORTC.getw : TBits_32; inline;
  47964. begin
  47965. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47966. end;
  47967. procedure TPORTC_LATC.setLATC1; inline;
  47968. begin
  47969. pTDefRegMap(@Self)^.&set := $00000002;
  47970. end;
  47971. procedure TPORTC_LATC.clearLATC1; inline;
  47972. begin
  47973. pTDefRegMap(@Self)^.clr := $00000002;
  47974. end;
  47975. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  47976. begin
  47977. if thebits = 0 then
  47978. pTDefRegMap(@Self)^.clr := $00000002
  47979. else
  47980. pTDefRegMap(@Self)^.&set := $00000002;
  47981. end;
  47982. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  47983. begin
  47984. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47985. end;
  47986. procedure TPORTC_LATC.setLATC2; inline;
  47987. begin
  47988. pTDefRegMap(@Self)^.&set := $00000004;
  47989. end;
  47990. procedure TPORTC_LATC.clearLATC2; inline;
  47991. begin
  47992. pTDefRegMap(@Self)^.clr := $00000004;
  47993. end;
  47994. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  47995. begin
  47996. if thebits = 0 then
  47997. pTDefRegMap(@Self)^.clr := $00000004
  47998. else
  47999. pTDefRegMap(@Self)^.&set := $00000004;
  48000. end;
  48001. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  48002. begin
  48003. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48004. end;
  48005. procedure TPORTC_LATC.setLATC3; inline;
  48006. begin
  48007. pTDefRegMap(@Self)^.&set := $00000008;
  48008. end;
  48009. procedure TPORTC_LATC.clearLATC3; inline;
  48010. begin
  48011. pTDefRegMap(@Self)^.clr := $00000008;
  48012. end;
  48013. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  48014. begin
  48015. if thebits = 0 then
  48016. pTDefRegMap(@Self)^.clr := $00000008
  48017. else
  48018. pTDefRegMap(@Self)^.&set := $00000008;
  48019. end;
  48020. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  48021. begin
  48022. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48023. end;
  48024. procedure TPORTC_LATC.setLATC4; inline;
  48025. begin
  48026. pTDefRegMap(@Self)^.&set := $00000010;
  48027. end;
  48028. procedure TPORTC_LATC.clearLATC4; inline;
  48029. begin
  48030. pTDefRegMap(@Self)^.clr := $00000010;
  48031. end;
  48032. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  48033. begin
  48034. if thebits = 0 then
  48035. pTDefRegMap(@Self)^.clr := $00000010
  48036. else
  48037. pTDefRegMap(@Self)^.&set := $00000010;
  48038. end;
  48039. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  48040. begin
  48041. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48042. end;
  48043. procedure TPORTC_LATC.setLATC12; inline;
  48044. begin
  48045. pTDefRegMap(@Self)^.&set := $00001000;
  48046. end;
  48047. procedure TPORTC_LATC.clearLATC12; inline;
  48048. begin
  48049. pTDefRegMap(@Self)^.clr := $00001000;
  48050. end;
  48051. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  48052. begin
  48053. if thebits = 0 then
  48054. pTDefRegMap(@Self)^.clr := $00001000
  48055. else
  48056. pTDefRegMap(@Self)^.&set := $00001000;
  48057. end;
  48058. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  48059. begin
  48060. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48061. end;
  48062. procedure TPORTC_LATC.setLATC13; inline;
  48063. begin
  48064. pTDefRegMap(@Self)^.&set := $00002000;
  48065. end;
  48066. procedure TPORTC_LATC.clearLATC13; inline;
  48067. begin
  48068. pTDefRegMap(@Self)^.clr := $00002000;
  48069. end;
  48070. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  48071. begin
  48072. if thebits = 0 then
  48073. pTDefRegMap(@Self)^.clr := $00002000
  48074. else
  48075. pTDefRegMap(@Self)^.&set := $00002000;
  48076. end;
  48077. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  48078. begin
  48079. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48080. end;
  48081. procedure TPORTC_LATC.setLATC14; inline;
  48082. begin
  48083. pTDefRegMap(@Self)^.&set := $00004000;
  48084. end;
  48085. procedure TPORTC_LATC.clearLATC14; inline;
  48086. begin
  48087. pTDefRegMap(@Self)^.clr := $00004000;
  48088. end;
  48089. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  48090. begin
  48091. if thebits = 0 then
  48092. pTDefRegMap(@Self)^.clr := $00004000
  48093. else
  48094. pTDefRegMap(@Self)^.&set := $00004000;
  48095. end;
  48096. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  48097. begin
  48098. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48099. end;
  48100. procedure TPORTC_LATC.setLATC15; inline;
  48101. begin
  48102. pTDefRegMap(@Self)^.&set := $00008000;
  48103. end;
  48104. procedure TPORTC_LATC.clearLATC15; inline;
  48105. begin
  48106. pTDefRegMap(@Self)^.clr := $00008000;
  48107. end;
  48108. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  48109. begin
  48110. if thebits = 0 then
  48111. pTDefRegMap(@Self)^.clr := $00008000
  48112. else
  48113. pTDefRegMap(@Self)^.&set := $00008000;
  48114. end;
  48115. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  48116. begin
  48117. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48118. end;
  48119. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  48120. begin
  48121. pTDefRegMap(@Self)^.val := thebits;
  48122. end;
  48123. function TPORTC_LATC.getw : TBits_32; inline;
  48124. begin
  48125. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48126. end;
  48127. procedure TPORTC_ODCC.setODCC1; inline;
  48128. begin
  48129. pTDefRegMap(@Self)^.&set := $00000002;
  48130. end;
  48131. procedure TPORTC_ODCC.clearODCC1; inline;
  48132. begin
  48133. pTDefRegMap(@Self)^.clr := $00000002;
  48134. end;
  48135. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  48136. begin
  48137. if thebits = 0 then
  48138. pTDefRegMap(@Self)^.clr := $00000002
  48139. else
  48140. pTDefRegMap(@Self)^.&set := $00000002;
  48141. end;
  48142. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  48143. begin
  48144. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48145. end;
  48146. procedure TPORTC_ODCC.setODCC2; inline;
  48147. begin
  48148. pTDefRegMap(@Self)^.&set := $00000004;
  48149. end;
  48150. procedure TPORTC_ODCC.clearODCC2; inline;
  48151. begin
  48152. pTDefRegMap(@Self)^.clr := $00000004;
  48153. end;
  48154. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  48155. begin
  48156. if thebits = 0 then
  48157. pTDefRegMap(@Self)^.clr := $00000004
  48158. else
  48159. pTDefRegMap(@Self)^.&set := $00000004;
  48160. end;
  48161. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  48162. begin
  48163. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48164. end;
  48165. procedure TPORTC_ODCC.setODCC3; inline;
  48166. begin
  48167. pTDefRegMap(@Self)^.&set := $00000008;
  48168. end;
  48169. procedure TPORTC_ODCC.clearODCC3; inline;
  48170. begin
  48171. pTDefRegMap(@Self)^.clr := $00000008;
  48172. end;
  48173. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  48174. begin
  48175. if thebits = 0 then
  48176. pTDefRegMap(@Self)^.clr := $00000008
  48177. else
  48178. pTDefRegMap(@Self)^.&set := $00000008;
  48179. end;
  48180. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  48181. begin
  48182. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48183. end;
  48184. procedure TPORTC_ODCC.setODCC4; inline;
  48185. begin
  48186. pTDefRegMap(@Self)^.&set := $00000010;
  48187. end;
  48188. procedure TPORTC_ODCC.clearODCC4; inline;
  48189. begin
  48190. pTDefRegMap(@Self)^.clr := $00000010;
  48191. end;
  48192. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  48193. begin
  48194. if thebits = 0 then
  48195. pTDefRegMap(@Self)^.clr := $00000010
  48196. else
  48197. pTDefRegMap(@Self)^.&set := $00000010;
  48198. end;
  48199. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  48200. begin
  48201. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48202. end;
  48203. procedure TPORTC_ODCC.setODCC12; inline;
  48204. begin
  48205. pTDefRegMap(@Self)^.&set := $00001000;
  48206. end;
  48207. procedure TPORTC_ODCC.clearODCC12; inline;
  48208. begin
  48209. pTDefRegMap(@Self)^.clr := $00001000;
  48210. end;
  48211. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  48212. begin
  48213. if thebits = 0 then
  48214. pTDefRegMap(@Self)^.clr := $00001000
  48215. else
  48216. pTDefRegMap(@Self)^.&set := $00001000;
  48217. end;
  48218. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  48219. begin
  48220. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48221. end;
  48222. procedure TPORTC_ODCC.setODCC13; inline;
  48223. begin
  48224. pTDefRegMap(@Self)^.&set := $00002000;
  48225. end;
  48226. procedure TPORTC_ODCC.clearODCC13; inline;
  48227. begin
  48228. pTDefRegMap(@Self)^.clr := $00002000;
  48229. end;
  48230. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  48231. begin
  48232. if thebits = 0 then
  48233. pTDefRegMap(@Self)^.clr := $00002000
  48234. else
  48235. pTDefRegMap(@Self)^.&set := $00002000;
  48236. end;
  48237. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  48238. begin
  48239. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48240. end;
  48241. procedure TPORTC_ODCC.setODCC14; inline;
  48242. begin
  48243. pTDefRegMap(@Self)^.&set := $00004000;
  48244. end;
  48245. procedure TPORTC_ODCC.clearODCC14; inline;
  48246. begin
  48247. pTDefRegMap(@Self)^.clr := $00004000;
  48248. end;
  48249. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  48250. begin
  48251. if thebits = 0 then
  48252. pTDefRegMap(@Self)^.clr := $00004000
  48253. else
  48254. pTDefRegMap(@Self)^.&set := $00004000;
  48255. end;
  48256. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  48257. begin
  48258. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48259. end;
  48260. procedure TPORTC_ODCC.setODCC15; inline;
  48261. begin
  48262. pTDefRegMap(@Self)^.&set := $00008000;
  48263. end;
  48264. procedure TPORTC_ODCC.clearODCC15; inline;
  48265. begin
  48266. pTDefRegMap(@Self)^.clr := $00008000;
  48267. end;
  48268. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  48269. begin
  48270. if thebits = 0 then
  48271. pTDefRegMap(@Self)^.clr := $00008000
  48272. else
  48273. pTDefRegMap(@Self)^.&set := $00008000;
  48274. end;
  48275. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  48276. begin
  48277. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48278. end;
  48279. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  48280. begin
  48281. pTDefRegMap(@Self)^.val := thebits;
  48282. end;
  48283. function TPORTC_ODCC.getw : TBits_32; inline;
  48284. begin
  48285. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48286. end;
  48287. procedure TPORTC_CNPUC.setCNPUC1; inline;
  48288. begin
  48289. pTDefRegMap(@Self)^.&set := $00000002;
  48290. end;
  48291. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  48292. begin
  48293. pTDefRegMap(@Self)^.clr := $00000002;
  48294. end;
  48295. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  48296. begin
  48297. if thebits = 0 then
  48298. pTDefRegMap(@Self)^.clr := $00000002
  48299. else
  48300. pTDefRegMap(@Self)^.&set := $00000002;
  48301. end;
  48302. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  48303. begin
  48304. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48305. end;
  48306. procedure TPORTC_CNPUC.setCNPUC2; inline;
  48307. begin
  48308. pTDefRegMap(@Self)^.&set := $00000004;
  48309. end;
  48310. procedure TPORTC_CNPUC.clearCNPUC2; inline;
  48311. begin
  48312. pTDefRegMap(@Self)^.clr := $00000004;
  48313. end;
  48314. procedure TPORTC_CNPUC.setCNPUC2(thebits : TBits_1); inline;
  48315. begin
  48316. if thebits = 0 then
  48317. pTDefRegMap(@Self)^.clr := $00000004
  48318. else
  48319. pTDefRegMap(@Self)^.&set := $00000004;
  48320. end;
  48321. function TPORTC_CNPUC.getCNPUC2 : TBits_1; inline;
  48322. begin
  48323. getCNPUC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48324. end;
  48325. procedure TPORTC_CNPUC.setCNPUC3; inline;
  48326. begin
  48327. pTDefRegMap(@Self)^.&set := $00000008;
  48328. end;
  48329. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  48330. begin
  48331. pTDefRegMap(@Self)^.clr := $00000008;
  48332. end;
  48333. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  48334. begin
  48335. if thebits = 0 then
  48336. pTDefRegMap(@Self)^.clr := $00000008
  48337. else
  48338. pTDefRegMap(@Self)^.&set := $00000008;
  48339. end;
  48340. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  48341. begin
  48342. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48343. end;
  48344. procedure TPORTC_CNPUC.setCNPUC4; inline;
  48345. begin
  48346. pTDefRegMap(@Self)^.&set := $00000010;
  48347. end;
  48348. procedure TPORTC_CNPUC.clearCNPUC4; inline;
  48349. begin
  48350. pTDefRegMap(@Self)^.clr := $00000010;
  48351. end;
  48352. procedure TPORTC_CNPUC.setCNPUC4(thebits : TBits_1); inline;
  48353. begin
  48354. if thebits = 0 then
  48355. pTDefRegMap(@Self)^.clr := $00000010
  48356. else
  48357. pTDefRegMap(@Self)^.&set := $00000010;
  48358. end;
  48359. function TPORTC_CNPUC.getCNPUC4 : TBits_1; inline;
  48360. begin
  48361. getCNPUC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48362. end;
  48363. procedure TPORTC_CNPUC.setCNPUC12; inline;
  48364. begin
  48365. pTDefRegMap(@Self)^.&set := $00001000;
  48366. end;
  48367. procedure TPORTC_CNPUC.clearCNPUC12; inline;
  48368. begin
  48369. pTDefRegMap(@Self)^.clr := $00001000;
  48370. end;
  48371. procedure TPORTC_CNPUC.setCNPUC12(thebits : TBits_1); inline;
  48372. begin
  48373. if thebits = 0 then
  48374. pTDefRegMap(@Self)^.clr := $00001000
  48375. else
  48376. pTDefRegMap(@Self)^.&set := $00001000;
  48377. end;
  48378. function TPORTC_CNPUC.getCNPUC12 : TBits_1; inline;
  48379. begin
  48380. getCNPUC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48381. end;
  48382. procedure TPORTC_CNPUC.setCNPUC13; inline;
  48383. begin
  48384. pTDefRegMap(@Self)^.&set := $00002000;
  48385. end;
  48386. procedure TPORTC_CNPUC.clearCNPUC13; inline;
  48387. begin
  48388. pTDefRegMap(@Self)^.clr := $00002000;
  48389. end;
  48390. procedure TPORTC_CNPUC.setCNPUC13(thebits : TBits_1); inline;
  48391. begin
  48392. if thebits = 0 then
  48393. pTDefRegMap(@Self)^.clr := $00002000
  48394. else
  48395. pTDefRegMap(@Self)^.&set := $00002000;
  48396. end;
  48397. function TPORTC_CNPUC.getCNPUC13 : TBits_1; inline;
  48398. begin
  48399. getCNPUC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48400. end;
  48401. procedure TPORTC_CNPUC.setCNPUC14; inline;
  48402. begin
  48403. pTDefRegMap(@Self)^.&set := $00004000;
  48404. end;
  48405. procedure TPORTC_CNPUC.clearCNPUC14; inline;
  48406. begin
  48407. pTDefRegMap(@Self)^.clr := $00004000;
  48408. end;
  48409. procedure TPORTC_CNPUC.setCNPUC14(thebits : TBits_1); inline;
  48410. begin
  48411. if thebits = 0 then
  48412. pTDefRegMap(@Self)^.clr := $00004000
  48413. else
  48414. pTDefRegMap(@Self)^.&set := $00004000;
  48415. end;
  48416. function TPORTC_CNPUC.getCNPUC14 : TBits_1; inline;
  48417. begin
  48418. getCNPUC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48419. end;
  48420. procedure TPORTC_CNPUC.setCNPUC15; inline;
  48421. begin
  48422. pTDefRegMap(@Self)^.&set := $00008000;
  48423. end;
  48424. procedure TPORTC_CNPUC.clearCNPUC15; inline;
  48425. begin
  48426. pTDefRegMap(@Self)^.clr := $00008000;
  48427. end;
  48428. procedure TPORTC_CNPUC.setCNPUC15(thebits : TBits_1); inline;
  48429. begin
  48430. if thebits = 0 then
  48431. pTDefRegMap(@Self)^.clr := $00008000
  48432. else
  48433. pTDefRegMap(@Self)^.&set := $00008000;
  48434. end;
  48435. function TPORTC_CNPUC.getCNPUC15 : TBits_1; inline;
  48436. begin
  48437. getCNPUC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48438. end;
  48439. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  48440. begin
  48441. pTDefRegMap(@Self)^.val := thebits;
  48442. end;
  48443. function TPORTC_CNPUC.getw : TBits_32; inline;
  48444. begin
  48445. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48446. end;
  48447. procedure TPORTC_CNPDC.setCNPDC1; inline;
  48448. begin
  48449. pTDefRegMap(@Self)^.&set := $00000002;
  48450. end;
  48451. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  48452. begin
  48453. pTDefRegMap(@Self)^.clr := $00000002;
  48454. end;
  48455. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  48456. begin
  48457. if thebits = 0 then
  48458. pTDefRegMap(@Self)^.clr := $00000002
  48459. else
  48460. pTDefRegMap(@Self)^.&set := $00000002;
  48461. end;
  48462. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  48463. begin
  48464. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48465. end;
  48466. procedure TPORTC_CNPDC.setCNPDC2; inline;
  48467. begin
  48468. pTDefRegMap(@Self)^.&set := $00000004;
  48469. end;
  48470. procedure TPORTC_CNPDC.clearCNPDC2; inline;
  48471. begin
  48472. pTDefRegMap(@Self)^.clr := $00000004;
  48473. end;
  48474. procedure TPORTC_CNPDC.setCNPDC2(thebits : TBits_1); inline;
  48475. begin
  48476. if thebits = 0 then
  48477. pTDefRegMap(@Self)^.clr := $00000004
  48478. else
  48479. pTDefRegMap(@Self)^.&set := $00000004;
  48480. end;
  48481. function TPORTC_CNPDC.getCNPDC2 : TBits_1; inline;
  48482. begin
  48483. getCNPDC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48484. end;
  48485. procedure TPORTC_CNPDC.setCNPDC3; inline;
  48486. begin
  48487. pTDefRegMap(@Self)^.&set := $00000008;
  48488. end;
  48489. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  48490. begin
  48491. pTDefRegMap(@Self)^.clr := $00000008;
  48492. end;
  48493. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  48494. begin
  48495. if thebits = 0 then
  48496. pTDefRegMap(@Self)^.clr := $00000008
  48497. else
  48498. pTDefRegMap(@Self)^.&set := $00000008;
  48499. end;
  48500. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  48501. begin
  48502. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48503. end;
  48504. procedure TPORTC_CNPDC.setCNPDC4; inline;
  48505. begin
  48506. pTDefRegMap(@Self)^.&set := $00000010;
  48507. end;
  48508. procedure TPORTC_CNPDC.clearCNPDC4; inline;
  48509. begin
  48510. pTDefRegMap(@Self)^.clr := $00000010;
  48511. end;
  48512. procedure TPORTC_CNPDC.setCNPDC4(thebits : TBits_1); inline;
  48513. begin
  48514. if thebits = 0 then
  48515. pTDefRegMap(@Self)^.clr := $00000010
  48516. else
  48517. pTDefRegMap(@Self)^.&set := $00000010;
  48518. end;
  48519. function TPORTC_CNPDC.getCNPDC4 : TBits_1; inline;
  48520. begin
  48521. getCNPDC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48522. end;
  48523. procedure TPORTC_CNPDC.setCNPDC12; inline;
  48524. begin
  48525. pTDefRegMap(@Self)^.&set := $00001000;
  48526. end;
  48527. procedure TPORTC_CNPDC.clearCNPDC12; inline;
  48528. begin
  48529. pTDefRegMap(@Self)^.clr := $00001000;
  48530. end;
  48531. procedure TPORTC_CNPDC.setCNPDC12(thebits : TBits_1); inline;
  48532. begin
  48533. if thebits = 0 then
  48534. pTDefRegMap(@Self)^.clr := $00001000
  48535. else
  48536. pTDefRegMap(@Self)^.&set := $00001000;
  48537. end;
  48538. function TPORTC_CNPDC.getCNPDC12 : TBits_1; inline;
  48539. begin
  48540. getCNPDC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48541. end;
  48542. procedure TPORTC_CNPDC.setCNPDC13; inline;
  48543. begin
  48544. pTDefRegMap(@Self)^.&set := $00002000;
  48545. end;
  48546. procedure TPORTC_CNPDC.clearCNPDC13; inline;
  48547. begin
  48548. pTDefRegMap(@Self)^.clr := $00002000;
  48549. end;
  48550. procedure TPORTC_CNPDC.setCNPDC13(thebits : TBits_1); inline;
  48551. begin
  48552. if thebits = 0 then
  48553. pTDefRegMap(@Self)^.clr := $00002000
  48554. else
  48555. pTDefRegMap(@Self)^.&set := $00002000;
  48556. end;
  48557. function TPORTC_CNPDC.getCNPDC13 : TBits_1; inline;
  48558. begin
  48559. getCNPDC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48560. end;
  48561. procedure TPORTC_CNPDC.setCNPDC14; inline;
  48562. begin
  48563. pTDefRegMap(@Self)^.&set := $00004000;
  48564. end;
  48565. procedure TPORTC_CNPDC.clearCNPDC14; inline;
  48566. begin
  48567. pTDefRegMap(@Self)^.clr := $00004000;
  48568. end;
  48569. procedure TPORTC_CNPDC.setCNPDC14(thebits : TBits_1); inline;
  48570. begin
  48571. if thebits = 0 then
  48572. pTDefRegMap(@Self)^.clr := $00004000
  48573. else
  48574. pTDefRegMap(@Self)^.&set := $00004000;
  48575. end;
  48576. function TPORTC_CNPDC.getCNPDC14 : TBits_1; inline;
  48577. begin
  48578. getCNPDC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48579. end;
  48580. procedure TPORTC_CNPDC.setCNPDC15; inline;
  48581. begin
  48582. pTDefRegMap(@Self)^.&set := $00008000;
  48583. end;
  48584. procedure TPORTC_CNPDC.clearCNPDC15; inline;
  48585. begin
  48586. pTDefRegMap(@Self)^.clr := $00008000;
  48587. end;
  48588. procedure TPORTC_CNPDC.setCNPDC15(thebits : TBits_1); inline;
  48589. begin
  48590. if thebits = 0 then
  48591. pTDefRegMap(@Self)^.clr := $00008000
  48592. else
  48593. pTDefRegMap(@Self)^.&set := $00008000;
  48594. end;
  48595. function TPORTC_CNPDC.getCNPDC15 : TBits_1; inline;
  48596. begin
  48597. getCNPDC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48598. end;
  48599. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  48600. begin
  48601. pTDefRegMap(@Self)^.val := thebits;
  48602. end;
  48603. function TPORTC_CNPDC.getw : TBits_32; inline;
  48604. begin
  48605. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48606. end;
  48607. procedure TPORTC_CNCONC.setSIDL; inline;
  48608. begin
  48609. pTDefRegMap(@Self)^.&set := $00002000;
  48610. end;
  48611. procedure TPORTC_CNCONC.clearSIDL; inline;
  48612. begin
  48613. pTDefRegMap(@Self)^.clr := $00002000;
  48614. end;
  48615. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  48616. begin
  48617. if thebits = 0 then
  48618. pTDefRegMap(@Self)^.clr := $00002000
  48619. else
  48620. pTDefRegMap(@Self)^.&set := $00002000;
  48621. end;
  48622. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  48623. begin
  48624. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48625. end;
  48626. procedure TPORTC_CNCONC.setON; inline;
  48627. begin
  48628. pTDefRegMap(@Self)^.&set := $00008000;
  48629. end;
  48630. procedure TPORTC_CNCONC.clearON; inline;
  48631. begin
  48632. pTDefRegMap(@Self)^.clr := $00008000;
  48633. end;
  48634. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  48635. begin
  48636. if thebits = 0 then
  48637. pTDefRegMap(@Self)^.clr := $00008000
  48638. else
  48639. pTDefRegMap(@Self)^.&set := $00008000;
  48640. end;
  48641. function TPORTC_CNCONC.getON : TBits_1; inline;
  48642. begin
  48643. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48644. end;
  48645. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  48646. begin
  48647. pTDefRegMap(@Self)^.val := thebits;
  48648. end;
  48649. function TPORTC_CNCONC.getw : TBits_32; inline;
  48650. begin
  48651. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48652. end;
  48653. procedure TPORTC_CNENC.setCNIEC1; inline;
  48654. begin
  48655. pTDefRegMap(@Self)^.&set := $00000002;
  48656. end;
  48657. procedure TPORTC_CNENC.clearCNIEC1; inline;
  48658. begin
  48659. pTDefRegMap(@Self)^.clr := $00000002;
  48660. end;
  48661. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  48662. begin
  48663. if thebits = 0 then
  48664. pTDefRegMap(@Self)^.clr := $00000002
  48665. else
  48666. pTDefRegMap(@Self)^.&set := $00000002;
  48667. end;
  48668. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  48669. begin
  48670. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48671. end;
  48672. procedure TPORTC_CNENC.setCNIEC2; inline;
  48673. begin
  48674. pTDefRegMap(@Self)^.&set := $00000004;
  48675. end;
  48676. procedure TPORTC_CNENC.clearCNIEC2; inline;
  48677. begin
  48678. pTDefRegMap(@Self)^.clr := $00000004;
  48679. end;
  48680. procedure TPORTC_CNENC.setCNIEC2(thebits : TBits_1); inline;
  48681. begin
  48682. if thebits = 0 then
  48683. pTDefRegMap(@Self)^.clr := $00000004
  48684. else
  48685. pTDefRegMap(@Self)^.&set := $00000004;
  48686. end;
  48687. function TPORTC_CNENC.getCNIEC2 : TBits_1; inline;
  48688. begin
  48689. getCNIEC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48690. end;
  48691. procedure TPORTC_CNENC.setCNIEC3; inline;
  48692. begin
  48693. pTDefRegMap(@Self)^.&set := $00000008;
  48694. end;
  48695. procedure TPORTC_CNENC.clearCNIEC3; inline;
  48696. begin
  48697. pTDefRegMap(@Self)^.clr := $00000008;
  48698. end;
  48699. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  48700. begin
  48701. if thebits = 0 then
  48702. pTDefRegMap(@Self)^.clr := $00000008
  48703. else
  48704. pTDefRegMap(@Self)^.&set := $00000008;
  48705. end;
  48706. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  48707. begin
  48708. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48709. end;
  48710. procedure TPORTC_CNENC.setCNIEC4; inline;
  48711. begin
  48712. pTDefRegMap(@Self)^.&set := $00000010;
  48713. end;
  48714. procedure TPORTC_CNENC.clearCNIEC4; inline;
  48715. begin
  48716. pTDefRegMap(@Self)^.clr := $00000010;
  48717. end;
  48718. procedure TPORTC_CNENC.setCNIEC4(thebits : TBits_1); inline;
  48719. begin
  48720. if thebits = 0 then
  48721. pTDefRegMap(@Self)^.clr := $00000010
  48722. else
  48723. pTDefRegMap(@Self)^.&set := $00000010;
  48724. end;
  48725. function TPORTC_CNENC.getCNIEC4 : TBits_1; inline;
  48726. begin
  48727. getCNIEC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48728. end;
  48729. procedure TPORTC_CNENC.setCNIEC12; inline;
  48730. begin
  48731. pTDefRegMap(@Self)^.&set := $00001000;
  48732. end;
  48733. procedure TPORTC_CNENC.clearCNIEC12; inline;
  48734. begin
  48735. pTDefRegMap(@Self)^.clr := $00001000;
  48736. end;
  48737. procedure TPORTC_CNENC.setCNIEC12(thebits : TBits_1); inline;
  48738. begin
  48739. if thebits = 0 then
  48740. pTDefRegMap(@Self)^.clr := $00001000
  48741. else
  48742. pTDefRegMap(@Self)^.&set := $00001000;
  48743. end;
  48744. function TPORTC_CNENC.getCNIEC12 : TBits_1; inline;
  48745. begin
  48746. getCNIEC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48747. end;
  48748. procedure TPORTC_CNENC.setCNIEC13; inline;
  48749. begin
  48750. pTDefRegMap(@Self)^.&set := $00002000;
  48751. end;
  48752. procedure TPORTC_CNENC.clearCNIEC13; inline;
  48753. begin
  48754. pTDefRegMap(@Self)^.clr := $00002000;
  48755. end;
  48756. procedure TPORTC_CNENC.setCNIEC13(thebits : TBits_1); inline;
  48757. begin
  48758. if thebits = 0 then
  48759. pTDefRegMap(@Self)^.clr := $00002000
  48760. else
  48761. pTDefRegMap(@Self)^.&set := $00002000;
  48762. end;
  48763. function TPORTC_CNENC.getCNIEC13 : TBits_1; inline;
  48764. begin
  48765. getCNIEC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48766. end;
  48767. procedure TPORTC_CNENC.setCNIEC14; inline;
  48768. begin
  48769. pTDefRegMap(@Self)^.&set := $00004000;
  48770. end;
  48771. procedure TPORTC_CNENC.clearCNIEC14; inline;
  48772. begin
  48773. pTDefRegMap(@Self)^.clr := $00004000;
  48774. end;
  48775. procedure TPORTC_CNENC.setCNIEC14(thebits : TBits_1); inline;
  48776. begin
  48777. if thebits = 0 then
  48778. pTDefRegMap(@Self)^.clr := $00004000
  48779. else
  48780. pTDefRegMap(@Self)^.&set := $00004000;
  48781. end;
  48782. function TPORTC_CNENC.getCNIEC14 : TBits_1; inline;
  48783. begin
  48784. getCNIEC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48785. end;
  48786. procedure TPORTC_CNENC.setCNIEC15; inline;
  48787. begin
  48788. pTDefRegMap(@Self)^.&set := $00008000;
  48789. end;
  48790. procedure TPORTC_CNENC.clearCNIEC15; inline;
  48791. begin
  48792. pTDefRegMap(@Self)^.clr := $00008000;
  48793. end;
  48794. procedure TPORTC_CNENC.setCNIEC15(thebits : TBits_1); inline;
  48795. begin
  48796. if thebits = 0 then
  48797. pTDefRegMap(@Self)^.clr := $00008000
  48798. else
  48799. pTDefRegMap(@Self)^.&set := $00008000;
  48800. end;
  48801. function TPORTC_CNENC.getCNIEC15 : TBits_1; inline;
  48802. begin
  48803. getCNIEC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48804. end;
  48805. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  48806. begin
  48807. pTDefRegMap(@Self)^.val := thebits;
  48808. end;
  48809. function TPORTC_CNENC.getw : TBits_32; inline;
  48810. begin
  48811. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48812. end;
  48813. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  48814. begin
  48815. pTDefRegMap(@Self)^.&set := $00000002;
  48816. end;
  48817. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  48818. begin
  48819. pTDefRegMap(@Self)^.clr := $00000002;
  48820. end;
  48821. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  48822. begin
  48823. if thebits = 0 then
  48824. pTDefRegMap(@Self)^.clr := $00000002
  48825. else
  48826. pTDefRegMap(@Self)^.&set := $00000002;
  48827. end;
  48828. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  48829. begin
  48830. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48831. end;
  48832. procedure TPORTC_CNSTATC.setCNSTATC2; inline;
  48833. begin
  48834. pTDefRegMap(@Self)^.&set := $00000004;
  48835. end;
  48836. procedure TPORTC_CNSTATC.clearCNSTATC2; inline;
  48837. begin
  48838. pTDefRegMap(@Self)^.clr := $00000004;
  48839. end;
  48840. procedure TPORTC_CNSTATC.setCNSTATC2(thebits : TBits_1); inline;
  48841. begin
  48842. if thebits = 0 then
  48843. pTDefRegMap(@Self)^.clr := $00000004
  48844. else
  48845. pTDefRegMap(@Self)^.&set := $00000004;
  48846. end;
  48847. function TPORTC_CNSTATC.getCNSTATC2 : TBits_1; inline;
  48848. begin
  48849. getCNSTATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48850. end;
  48851. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  48852. begin
  48853. pTDefRegMap(@Self)^.&set := $00000008;
  48854. end;
  48855. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  48856. begin
  48857. pTDefRegMap(@Self)^.clr := $00000008;
  48858. end;
  48859. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  48860. begin
  48861. if thebits = 0 then
  48862. pTDefRegMap(@Self)^.clr := $00000008
  48863. else
  48864. pTDefRegMap(@Self)^.&set := $00000008;
  48865. end;
  48866. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  48867. begin
  48868. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48869. end;
  48870. procedure TPORTC_CNSTATC.setCNSTATC4; inline;
  48871. begin
  48872. pTDefRegMap(@Self)^.&set := $00000010;
  48873. end;
  48874. procedure TPORTC_CNSTATC.clearCNSTATC4; inline;
  48875. begin
  48876. pTDefRegMap(@Self)^.clr := $00000010;
  48877. end;
  48878. procedure TPORTC_CNSTATC.setCNSTATC4(thebits : TBits_1); inline;
  48879. begin
  48880. if thebits = 0 then
  48881. pTDefRegMap(@Self)^.clr := $00000010
  48882. else
  48883. pTDefRegMap(@Self)^.&set := $00000010;
  48884. end;
  48885. function TPORTC_CNSTATC.getCNSTATC4 : TBits_1; inline;
  48886. begin
  48887. getCNSTATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48888. end;
  48889. procedure TPORTC_CNSTATC.setCNSTATC12; inline;
  48890. begin
  48891. pTDefRegMap(@Self)^.&set := $00001000;
  48892. end;
  48893. procedure TPORTC_CNSTATC.clearCNSTATC12; inline;
  48894. begin
  48895. pTDefRegMap(@Self)^.clr := $00001000;
  48896. end;
  48897. procedure TPORTC_CNSTATC.setCNSTATC12(thebits : TBits_1); inline;
  48898. begin
  48899. if thebits = 0 then
  48900. pTDefRegMap(@Self)^.clr := $00001000
  48901. else
  48902. pTDefRegMap(@Self)^.&set := $00001000;
  48903. end;
  48904. function TPORTC_CNSTATC.getCNSTATC12 : TBits_1; inline;
  48905. begin
  48906. getCNSTATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48907. end;
  48908. procedure TPORTC_CNSTATC.setCNSTATC13; inline;
  48909. begin
  48910. pTDefRegMap(@Self)^.&set := $00002000;
  48911. end;
  48912. procedure TPORTC_CNSTATC.clearCNSTATC13; inline;
  48913. begin
  48914. pTDefRegMap(@Self)^.clr := $00002000;
  48915. end;
  48916. procedure TPORTC_CNSTATC.setCNSTATC13(thebits : TBits_1); inline;
  48917. begin
  48918. if thebits = 0 then
  48919. pTDefRegMap(@Self)^.clr := $00002000
  48920. else
  48921. pTDefRegMap(@Self)^.&set := $00002000;
  48922. end;
  48923. function TPORTC_CNSTATC.getCNSTATC13 : TBits_1; inline;
  48924. begin
  48925. getCNSTATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48926. end;
  48927. procedure TPORTC_CNSTATC.setCNSTATC14; inline;
  48928. begin
  48929. pTDefRegMap(@Self)^.&set := $00004000;
  48930. end;
  48931. procedure TPORTC_CNSTATC.clearCNSTATC14; inline;
  48932. begin
  48933. pTDefRegMap(@Self)^.clr := $00004000;
  48934. end;
  48935. procedure TPORTC_CNSTATC.setCNSTATC14(thebits : TBits_1); inline;
  48936. begin
  48937. if thebits = 0 then
  48938. pTDefRegMap(@Self)^.clr := $00004000
  48939. else
  48940. pTDefRegMap(@Self)^.&set := $00004000;
  48941. end;
  48942. function TPORTC_CNSTATC.getCNSTATC14 : TBits_1; inline;
  48943. begin
  48944. getCNSTATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48945. end;
  48946. procedure TPORTC_CNSTATC.setCNSTATC15; inline;
  48947. begin
  48948. pTDefRegMap(@Self)^.&set := $00008000;
  48949. end;
  48950. procedure TPORTC_CNSTATC.clearCNSTATC15; inline;
  48951. begin
  48952. pTDefRegMap(@Self)^.clr := $00008000;
  48953. end;
  48954. procedure TPORTC_CNSTATC.setCNSTATC15(thebits : TBits_1); inline;
  48955. begin
  48956. if thebits = 0 then
  48957. pTDefRegMap(@Self)^.clr := $00008000
  48958. else
  48959. pTDefRegMap(@Self)^.&set := $00008000;
  48960. end;
  48961. function TPORTC_CNSTATC.getCNSTATC15 : TBits_1; inline;
  48962. begin
  48963. getCNSTATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48964. end;
  48965. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  48966. begin
  48967. pTDefRegMap(@Self)^.val := thebits;
  48968. end;
  48969. function TPORTC_CNSTATC.getw : TBits_32; inline;
  48970. begin
  48971. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48972. end;
  48973. procedure TPORTC_ANSELD.setANSD1; inline;
  48974. begin
  48975. pTDefRegMap(@Self)^.&set := $00000002;
  48976. end;
  48977. procedure TPORTC_ANSELD.clearANSD1; inline;
  48978. begin
  48979. pTDefRegMap(@Self)^.clr := $00000002;
  48980. end;
  48981. procedure TPORTC_ANSELD.setANSD1(thebits : TBits_1); inline;
  48982. begin
  48983. if thebits = 0 then
  48984. pTDefRegMap(@Self)^.clr := $00000002
  48985. else
  48986. pTDefRegMap(@Self)^.&set := $00000002;
  48987. end;
  48988. function TPORTC_ANSELD.getANSD1 : TBits_1; inline;
  48989. begin
  48990. getANSD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48991. end;
  48992. procedure TPORTC_ANSELD.setANSD2; inline;
  48993. begin
  48994. pTDefRegMap(@Self)^.&set := $00000004;
  48995. end;
  48996. procedure TPORTC_ANSELD.clearANSD2; inline;
  48997. begin
  48998. pTDefRegMap(@Self)^.clr := $00000004;
  48999. end;
  49000. procedure TPORTC_ANSELD.setANSD2(thebits : TBits_1); inline;
  49001. begin
  49002. if thebits = 0 then
  49003. pTDefRegMap(@Self)^.clr := $00000004
  49004. else
  49005. pTDefRegMap(@Self)^.&set := $00000004;
  49006. end;
  49007. function TPORTC_ANSELD.getANSD2 : TBits_1; inline;
  49008. begin
  49009. getANSD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49010. end;
  49011. procedure TPORTC_ANSELD.setANSD3; inline;
  49012. begin
  49013. pTDefRegMap(@Self)^.&set := $00000008;
  49014. end;
  49015. procedure TPORTC_ANSELD.clearANSD3; inline;
  49016. begin
  49017. pTDefRegMap(@Self)^.clr := $00000008;
  49018. end;
  49019. procedure TPORTC_ANSELD.setANSD3(thebits : TBits_1); inline;
  49020. begin
  49021. if thebits = 0 then
  49022. pTDefRegMap(@Self)^.clr := $00000008
  49023. else
  49024. pTDefRegMap(@Self)^.&set := $00000008;
  49025. end;
  49026. function TPORTC_ANSELD.getANSD3 : TBits_1; inline;
  49027. begin
  49028. getANSD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49029. end;
  49030. procedure TPORTC_ANSELD.setw(thebits : TBits_32); inline;
  49031. begin
  49032. pTDefRegMap(@Self)^.val := thebits;
  49033. end;
  49034. function TPORTC_ANSELD.getw : TBits_32; inline;
  49035. begin
  49036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49037. end;
  49038. procedure TPORTC_TRISD.setTRISD0; inline;
  49039. begin
  49040. pTDefRegMap(@Self)^.&set := $00000001;
  49041. end;
  49042. procedure TPORTC_TRISD.clearTRISD0; inline;
  49043. begin
  49044. pTDefRegMap(@Self)^.clr := $00000001;
  49045. end;
  49046. procedure TPORTC_TRISD.setTRISD0(thebits : TBits_1); inline;
  49047. begin
  49048. if thebits = 0 then
  49049. pTDefRegMap(@Self)^.clr := $00000001
  49050. else
  49051. pTDefRegMap(@Self)^.&set := $00000001;
  49052. end;
  49053. function TPORTC_TRISD.getTRISD0 : TBits_1; inline;
  49054. begin
  49055. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49056. end;
  49057. procedure TPORTC_TRISD.setTRISD1; inline;
  49058. begin
  49059. pTDefRegMap(@Self)^.&set := $00000002;
  49060. end;
  49061. procedure TPORTC_TRISD.clearTRISD1; inline;
  49062. begin
  49063. pTDefRegMap(@Self)^.clr := $00000002;
  49064. end;
  49065. procedure TPORTC_TRISD.setTRISD1(thebits : TBits_1); inline;
  49066. begin
  49067. if thebits = 0 then
  49068. pTDefRegMap(@Self)^.clr := $00000002
  49069. else
  49070. pTDefRegMap(@Self)^.&set := $00000002;
  49071. end;
  49072. function TPORTC_TRISD.getTRISD1 : TBits_1; inline;
  49073. begin
  49074. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49075. end;
  49076. procedure TPORTC_TRISD.setTRISD2; inline;
  49077. begin
  49078. pTDefRegMap(@Self)^.&set := $00000004;
  49079. end;
  49080. procedure TPORTC_TRISD.clearTRISD2; inline;
  49081. begin
  49082. pTDefRegMap(@Self)^.clr := $00000004;
  49083. end;
  49084. procedure TPORTC_TRISD.setTRISD2(thebits : TBits_1); inline;
  49085. begin
  49086. if thebits = 0 then
  49087. pTDefRegMap(@Self)^.clr := $00000004
  49088. else
  49089. pTDefRegMap(@Self)^.&set := $00000004;
  49090. end;
  49091. function TPORTC_TRISD.getTRISD2 : TBits_1; inline;
  49092. begin
  49093. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49094. end;
  49095. procedure TPORTC_TRISD.setTRISD3; inline;
  49096. begin
  49097. pTDefRegMap(@Self)^.&set := $00000008;
  49098. end;
  49099. procedure TPORTC_TRISD.clearTRISD3; inline;
  49100. begin
  49101. pTDefRegMap(@Self)^.clr := $00000008;
  49102. end;
  49103. procedure TPORTC_TRISD.setTRISD3(thebits : TBits_1); inline;
  49104. begin
  49105. if thebits = 0 then
  49106. pTDefRegMap(@Self)^.clr := $00000008
  49107. else
  49108. pTDefRegMap(@Self)^.&set := $00000008;
  49109. end;
  49110. function TPORTC_TRISD.getTRISD3 : TBits_1; inline;
  49111. begin
  49112. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49113. end;
  49114. procedure TPORTC_TRISD.setTRISD4; inline;
  49115. begin
  49116. pTDefRegMap(@Self)^.&set := $00000010;
  49117. end;
  49118. procedure TPORTC_TRISD.clearTRISD4; inline;
  49119. begin
  49120. pTDefRegMap(@Self)^.clr := $00000010;
  49121. end;
  49122. procedure TPORTC_TRISD.setTRISD4(thebits : TBits_1); inline;
  49123. begin
  49124. if thebits = 0 then
  49125. pTDefRegMap(@Self)^.clr := $00000010
  49126. else
  49127. pTDefRegMap(@Self)^.&set := $00000010;
  49128. end;
  49129. function TPORTC_TRISD.getTRISD4 : TBits_1; inline;
  49130. begin
  49131. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49132. end;
  49133. procedure TPORTC_TRISD.setTRISD5; inline;
  49134. begin
  49135. pTDefRegMap(@Self)^.&set := $00000020;
  49136. end;
  49137. procedure TPORTC_TRISD.clearTRISD5; inline;
  49138. begin
  49139. pTDefRegMap(@Self)^.clr := $00000020;
  49140. end;
  49141. procedure TPORTC_TRISD.setTRISD5(thebits : TBits_1); inline;
  49142. begin
  49143. if thebits = 0 then
  49144. pTDefRegMap(@Self)^.clr := $00000020
  49145. else
  49146. pTDefRegMap(@Self)^.&set := $00000020;
  49147. end;
  49148. function TPORTC_TRISD.getTRISD5 : TBits_1; inline;
  49149. begin
  49150. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49151. end;
  49152. procedure TPORTC_TRISD.setTRISD6; inline;
  49153. begin
  49154. pTDefRegMap(@Self)^.&set := $00000040;
  49155. end;
  49156. procedure TPORTC_TRISD.clearTRISD6; inline;
  49157. begin
  49158. pTDefRegMap(@Self)^.clr := $00000040;
  49159. end;
  49160. procedure TPORTC_TRISD.setTRISD6(thebits : TBits_1); inline;
  49161. begin
  49162. if thebits = 0 then
  49163. pTDefRegMap(@Self)^.clr := $00000040
  49164. else
  49165. pTDefRegMap(@Self)^.&set := $00000040;
  49166. end;
  49167. function TPORTC_TRISD.getTRISD6 : TBits_1; inline;
  49168. begin
  49169. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49170. end;
  49171. procedure TPORTC_TRISD.setTRISD7; inline;
  49172. begin
  49173. pTDefRegMap(@Self)^.&set := $00000080;
  49174. end;
  49175. procedure TPORTC_TRISD.clearTRISD7; inline;
  49176. begin
  49177. pTDefRegMap(@Self)^.clr := $00000080;
  49178. end;
  49179. procedure TPORTC_TRISD.setTRISD7(thebits : TBits_1); inline;
  49180. begin
  49181. if thebits = 0 then
  49182. pTDefRegMap(@Self)^.clr := $00000080
  49183. else
  49184. pTDefRegMap(@Self)^.&set := $00000080;
  49185. end;
  49186. function TPORTC_TRISD.getTRISD7 : TBits_1; inline;
  49187. begin
  49188. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49189. end;
  49190. procedure TPORTC_TRISD.setTRISD8; inline;
  49191. begin
  49192. pTDefRegMap(@Self)^.&set := $00000100;
  49193. end;
  49194. procedure TPORTC_TRISD.clearTRISD8; inline;
  49195. begin
  49196. pTDefRegMap(@Self)^.clr := $00000100;
  49197. end;
  49198. procedure TPORTC_TRISD.setTRISD8(thebits : TBits_1); inline;
  49199. begin
  49200. if thebits = 0 then
  49201. pTDefRegMap(@Self)^.clr := $00000100
  49202. else
  49203. pTDefRegMap(@Self)^.&set := $00000100;
  49204. end;
  49205. function TPORTC_TRISD.getTRISD8 : TBits_1; inline;
  49206. begin
  49207. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49208. end;
  49209. procedure TPORTC_TRISD.setTRISD9; inline;
  49210. begin
  49211. pTDefRegMap(@Self)^.&set := $00000200;
  49212. end;
  49213. procedure TPORTC_TRISD.clearTRISD9; inline;
  49214. begin
  49215. pTDefRegMap(@Self)^.clr := $00000200;
  49216. end;
  49217. procedure TPORTC_TRISD.setTRISD9(thebits : TBits_1); inline;
  49218. begin
  49219. if thebits = 0 then
  49220. pTDefRegMap(@Self)^.clr := $00000200
  49221. else
  49222. pTDefRegMap(@Self)^.&set := $00000200;
  49223. end;
  49224. function TPORTC_TRISD.getTRISD9 : TBits_1; inline;
  49225. begin
  49226. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49227. end;
  49228. procedure TPORTC_TRISD.setTRISD10; inline;
  49229. begin
  49230. pTDefRegMap(@Self)^.&set := $00000400;
  49231. end;
  49232. procedure TPORTC_TRISD.clearTRISD10; inline;
  49233. begin
  49234. pTDefRegMap(@Self)^.clr := $00000400;
  49235. end;
  49236. procedure TPORTC_TRISD.setTRISD10(thebits : TBits_1); inline;
  49237. begin
  49238. if thebits = 0 then
  49239. pTDefRegMap(@Self)^.clr := $00000400
  49240. else
  49241. pTDefRegMap(@Self)^.&set := $00000400;
  49242. end;
  49243. function TPORTC_TRISD.getTRISD10 : TBits_1; inline;
  49244. begin
  49245. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  49246. end;
  49247. procedure TPORTC_TRISD.setTRISD11; inline;
  49248. begin
  49249. pTDefRegMap(@Self)^.&set := $00000800;
  49250. end;
  49251. procedure TPORTC_TRISD.clearTRISD11; inline;
  49252. begin
  49253. pTDefRegMap(@Self)^.clr := $00000800;
  49254. end;
  49255. procedure TPORTC_TRISD.setTRISD11(thebits : TBits_1); inline;
  49256. begin
  49257. if thebits = 0 then
  49258. pTDefRegMap(@Self)^.clr := $00000800
  49259. else
  49260. pTDefRegMap(@Self)^.&set := $00000800;
  49261. end;
  49262. function TPORTC_TRISD.getTRISD11 : TBits_1; inline;
  49263. begin
  49264. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  49265. end;
  49266. procedure TPORTC_TRISD.setTRISD12; inline;
  49267. begin
  49268. pTDefRegMap(@Self)^.&set := $00001000;
  49269. end;
  49270. procedure TPORTC_TRISD.clearTRISD12; inline;
  49271. begin
  49272. pTDefRegMap(@Self)^.clr := $00001000;
  49273. end;
  49274. procedure TPORTC_TRISD.setTRISD12(thebits : TBits_1); inline;
  49275. begin
  49276. if thebits = 0 then
  49277. pTDefRegMap(@Self)^.clr := $00001000
  49278. else
  49279. pTDefRegMap(@Self)^.&set := $00001000;
  49280. end;
  49281. function TPORTC_TRISD.getTRISD12 : TBits_1; inline;
  49282. begin
  49283. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  49284. end;
  49285. procedure TPORTC_TRISD.setTRISD13; inline;
  49286. begin
  49287. pTDefRegMap(@Self)^.&set := $00002000;
  49288. end;
  49289. procedure TPORTC_TRISD.clearTRISD13; inline;
  49290. begin
  49291. pTDefRegMap(@Self)^.clr := $00002000;
  49292. end;
  49293. procedure TPORTC_TRISD.setTRISD13(thebits : TBits_1); inline;
  49294. begin
  49295. if thebits = 0 then
  49296. pTDefRegMap(@Self)^.clr := $00002000
  49297. else
  49298. pTDefRegMap(@Self)^.&set := $00002000;
  49299. end;
  49300. function TPORTC_TRISD.getTRISD13 : TBits_1; inline;
  49301. begin
  49302. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  49303. end;
  49304. procedure TPORTC_TRISD.setTRISD14; inline;
  49305. begin
  49306. pTDefRegMap(@Self)^.&set := $00004000;
  49307. end;
  49308. procedure TPORTC_TRISD.clearTRISD14; inline;
  49309. begin
  49310. pTDefRegMap(@Self)^.clr := $00004000;
  49311. end;
  49312. procedure TPORTC_TRISD.setTRISD14(thebits : TBits_1); inline;
  49313. begin
  49314. if thebits = 0 then
  49315. pTDefRegMap(@Self)^.clr := $00004000
  49316. else
  49317. pTDefRegMap(@Self)^.&set := $00004000;
  49318. end;
  49319. function TPORTC_TRISD.getTRISD14 : TBits_1; inline;
  49320. begin
  49321. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  49322. end;
  49323. procedure TPORTC_TRISD.setTRISD15; inline;
  49324. begin
  49325. pTDefRegMap(@Self)^.&set := $00008000;
  49326. end;
  49327. procedure TPORTC_TRISD.clearTRISD15; inline;
  49328. begin
  49329. pTDefRegMap(@Self)^.clr := $00008000;
  49330. end;
  49331. procedure TPORTC_TRISD.setTRISD15(thebits : TBits_1); inline;
  49332. begin
  49333. if thebits = 0 then
  49334. pTDefRegMap(@Self)^.clr := $00008000
  49335. else
  49336. pTDefRegMap(@Self)^.&set := $00008000;
  49337. end;
  49338. function TPORTC_TRISD.getTRISD15 : TBits_1; inline;
  49339. begin
  49340. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49341. end;
  49342. procedure TPORTC_TRISD.setw(thebits : TBits_32); inline;
  49343. begin
  49344. pTDefRegMap(@Self)^.val := thebits;
  49345. end;
  49346. function TPORTC_TRISD.getw : TBits_32; inline;
  49347. begin
  49348. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49349. end;
  49350. procedure TPORTD_PORTD.setRD0; inline;
  49351. begin
  49352. pTDefRegMap(@Self)^.&set := $00000001;
  49353. end;
  49354. procedure TPORTD_PORTD.clearRD0; inline;
  49355. begin
  49356. pTDefRegMap(@Self)^.clr := $00000001;
  49357. end;
  49358. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  49359. begin
  49360. if thebits = 0 then
  49361. pTDefRegMap(@Self)^.clr := $00000001
  49362. else
  49363. pTDefRegMap(@Self)^.&set := $00000001;
  49364. end;
  49365. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  49366. begin
  49367. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49368. end;
  49369. procedure TPORTD_PORTD.setRD1; inline;
  49370. begin
  49371. pTDefRegMap(@Self)^.&set := $00000002;
  49372. end;
  49373. procedure TPORTD_PORTD.clearRD1; inline;
  49374. begin
  49375. pTDefRegMap(@Self)^.clr := $00000002;
  49376. end;
  49377. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  49378. begin
  49379. if thebits = 0 then
  49380. pTDefRegMap(@Self)^.clr := $00000002
  49381. else
  49382. pTDefRegMap(@Self)^.&set := $00000002;
  49383. end;
  49384. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  49385. begin
  49386. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49387. end;
  49388. procedure TPORTD_PORTD.setRD2; inline;
  49389. begin
  49390. pTDefRegMap(@Self)^.&set := $00000004;
  49391. end;
  49392. procedure TPORTD_PORTD.clearRD2; inline;
  49393. begin
  49394. pTDefRegMap(@Self)^.clr := $00000004;
  49395. end;
  49396. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  49397. begin
  49398. if thebits = 0 then
  49399. pTDefRegMap(@Self)^.clr := $00000004
  49400. else
  49401. pTDefRegMap(@Self)^.&set := $00000004;
  49402. end;
  49403. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  49404. begin
  49405. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49406. end;
  49407. procedure TPORTD_PORTD.setRD3; inline;
  49408. begin
  49409. pTDefRegMap(@Self)^.&set := $00000008;
  49410. end;
  49411. procedure TPORTD_PORTD.clearRD3; inline;
  49412. begin
  49413. pTDefRegMap(@Self)^.clr := $00000008;
  49414. end;
  49415. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  49416. begin
  49417. if thebits = 0 then
  49418. pTDefRegMap(@Self)^.clr := $00000008
  49419. else
  49420. pTDefRegMap(@Self)^.&set := $00000008;
  49421. end;
  49422. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  49423. begin
  49424. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49425. end;
  49426. procedure TPORTD_PORTD.setRD4; inline;
  49427. begin
  49428. pTDefRegMap(@Self)^.&set := $00000010;
  49429. end;
  49430. procedure TPORTD_PORTD.clearRD4; inline;
  49431. begin
  49432. pTDefRegMap(@Self)^.clr := $00000010;
  49433. end;
  49434. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  49435. begin
  49436. if thebits = 0 then
  49437. pTDefRegMap(@Self)^.clr := $00000010
  49438. else
  49439. pTDefRegMap(@Self)^.&set := $00000010;
  49440. end;
  49441. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  49442. begin
  49443. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49444. end;
  49445. procedure TPORTD_PORTD.setRD5; inline;
  49446. begin
  49447. pTDefRegMap(@Self)^.&set := $00000020;
  49448. end;
  49449. procedure TPORTD_PORTD.clearRD5; inline;
  49450. begin
  49451. pTDefRegMap(@Self)^.clr := $00000020;
  49452. end;
  49453. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  49454. begin
  49455. if thebits = 0 then
  49456. pTDefRegMap(@Self)^.clr := $00000020
  49457. else
  49458. pTDefRegMap(@Self)^.&set := $00000020;
  49459. end;
  49460. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  49461. begin
  49462. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49463. end;
  49464. procedure TPORTD_PORTD.setRD6; inline;
  49465. begin
  49466. pTDefRegMap(@Self)^.&set := $00000040;
  49467. end;
  49468. procedure TPORTD_PORTD.clearRD6; inline;
  49469. begin
  49470. pTDefRegMap(@Self)^.clr := $00000040;
  49471. end;
  49472. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  49473. begin
  49474. if thebits = 0 then
  49475. pTDefRegMap(@Self)^.clr := $00000040
  49476. else
  49477. pTDefRegMap(@Self)^.&set := $00000040;
  49478. end;
  49479. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  49480. begin
  49481. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49482. end;
  49483. procedure TPORTD_PORTD.setRD7; inline;
  49484. begin
  49485. pTDefRegMap(@Self)^.&set := $00000080;
  49486. end;
  49487. procedure TPORTD_PORTD.clearRD7; inline;
  49488. begin
  49489. pTDefRegMap(@Self)^.clr := $00000080;
  49490. end;
  49491. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  49492. begin
  49493. if thebits = 0 then
  49494. pTDefRegMap(@Self)^.clr := $00000080
  49495. else
  49496. pTDefRegMap(@Self)^.&set := $00000080;
  49497. end;
  49498. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  49499. begin
  49500. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49501. end;
  49502. procedure TPORTD_PORTD.setRD8; inline;
  49503. begin
  49504. pTDefRegMap(@Self)^.&set := $00000100;
  49505. end;
  49506. procedure TPORTD_PORTD.clearRD8; inline;
  49507. begin
  49508. pTDefRegMap(@Self)^.clr := $00000100;
  49509. end;
  49510. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  49511. begin
  49512. if thebits = 0 then
  49513. pTDefRegMap(@Self)^.clr := $00000100
  49514. else
  49515. pTDefRegMap(@Self)^.&set := $00000100;
  49516. end;
  49517. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  49518. begin
  49519. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49520. end;
  49521. procedure TPORTD_PORTD.setRD9; inline;
  49522. begin
  49523. pTDefRegMap(@Self)^.&set := $00000200;
  49524. end;
  49525. procedure TPORTD_PORTD.clearRD9; inline;
  49526. begin
  49527. pTDefRegMap(@Self)^.clr := $00000200;
  49528. end;
  49529. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  49530. begin
  49531. if thebits = 0 then
  49532. pTDefRegMap(@Self)^.clr := $00000200
  49533. else
  49534. pTDefRegMap(@Self)^.&set := $00000200;
  49535. end;
  49536. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  49537. begin
  49538. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49539. end;
  49540. procedure TPORTD_PORTD.setRD10; inline;
  49541. begin
  49542. pTDefRegMap(@Self)^.&set := $00000400;
  49543. end;
  49544. procedure TPORTD_PORTD.clearRD10; inline;
  49545. begin
  49546. pTDefRegMap(@Self)^.clr := $00000400;
  49547. end;
  49548. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  49549. begin
  49550. if thebits = 0 then
  49551. pTDefRegMap(@Self)^.clr := $00000400
  49552. else
  49553. pTDefRegMap(@Self)^.&set := $00000400;
  49554. end;
  49555. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  49556. begin
  49557. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  49558. end;
  49559. procedure TPORTD_PORTD.setRD11; inline;
  49560. begin
  49561. pTDefRegMap(@Self)^.&set := $00000800;
  49562. end;
  49563. procedure TPORTD_PORTD.clearRD11; inline;
  49564. begin
  49565. pTDefRegMap(@Self)^.clr := $00000800;
  49566. end;
  49567. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  49568. begin
  49569. if thebits = 0 then
  49570. pTDefRegMap(@Self)^.clr := $00000800
  49571. else
  49572. pTDefRegMap(@Self)^.&set := $00000800;
  49573. end;
  49574. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  49575. begin
  49576. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  49577. end;
  49578. procedure TPORTD_PORTD.setRD12; inline;
  49579. begin
  49580. pTDefRegMap(@Self)^.&set := $00001000;
  49581. end;
  49582. procedure TPORTD_PORTD.clearRD12; inline;
  49583. begin
  49584. pTDefRegMap(@Self)^.clr := $00001000;
  49585. end;
  49586. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  49587. begin
  49588. if thebits = 0 then
  49589. pTDefRegMap(@Self)^.clr := $00001000
  49590. else
  49591. pTDefRegMap(@Self)^.&set := $00001000;
  49592. end;
  49593. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  49594. begin
  49595. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  49596. end;
  49597. procedure TPORTD_PORTD.setRD13; inline;
  49598. begin
  49599. pTDefRegMap(@Self)^.&set := $00002000;
  49600. end;
  49601. procedure TPORTD_PORTD.clearRD13; inline;
  49602. begin
  49603. pTDefRegMap(@Self)^.clr := $00002000;
  49604. end;
  49605. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  49606. begin
  49607. if thebits = 0 then
  49608. pTDefRegMap(@Self)^.clr := $00002000
  49609. else
  49610. pTDefRegMap(@Self)^.&set := $00002000;
  49611. end;
  49612. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  49613. begin
  49614. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  49615. end;
  49616. procedure TPORTD_PORTD.setRD14; inline;
  49617. begin
  49618. pTDefRegMap(@Self)^.&set := $00004000;
  49619. end;
  49620. procedure TPORTD_PORTD.clearRD14; inline;
  49621. begin
  49622. pTDefRegMap(@Self)^.clr := $00004000;
  49623. end;
  49624. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  49625. begin
  49626. if thebits = 0 then
  49627. pTDefRegMap(@Self)^.clr := $00004000
  49628. else
  49629. pTDefRegMap(@Self)^.&set := $00004000;
  49630. end;
  49631. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  49632. begin
  49633. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  49634. end;
  49635. procedure TPORTD_PORTD.setRD15; inline;
  49636. begin
  49637. pTDefRegMap(@Self)^.&set := $00008000;
  49638. end;
  49639. procedure TPORTD_PORTD.clearRD15; inline;
  49640. begin
  49641. pTDefRegMap(@Self)^.clr := $00008000;
  49642. end;
  49643. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  49644. begin
  49645. if thebits = 0 then
  49646. pTDefRegMap(@Self)^.clr := $00008000
  49647. else
  49648. pTDefRegMap(@Self)^.&set := $00008000;
  49649. end;
  49650. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  49651. begin
  49652. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49653. end;
  49654. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  49655. begin
  49656. pTDefRegMap(@Self)^.val := thebits;
  49657. end;
  49658. function TPORTD_PORTD.getw : TBits_32; inline;
  49659. begin
  49660. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49661. end;
  49662. procedure TPORTD_LATD.setLATD0; inline;
  49663. begin
  49664. pTDefRegMap(@Self)^.&set := $00000001;
  49665. end;
  49666. procedure TPORTD_LATD.clearLATD0; inline;
  49667. begin
  49668. pTDefRegMap(@Self)^.clr := $00000001;
  49669. end;
  49670. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  49671. begin
  49672. if thebits = 0 then
  49673. pTDefRegMap(@Self)^.clr := $00000001
  49674. else
  49675. pTDefRegMap(@Self)^.&set := $00000001;
  49676. end;
  49677. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  49678. begin
  49679. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49680. end;
  49681. procedure TPORTD_LATD.setLATD1; inline;
  49682. begin
  49683. pTDefRegMap(@Self)^.&set := $00000002;
  49684. end;
  49685. procedure TPORTD_LATD.clearLATD1; inline;
  49686. begin
  49687. pTDefRegMap(@Self)^.clr := $00000002;
  49688. end;
  49689. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  49690. begin
  49691. if thebits = 0 then
  49692. pTDefRegMap(@Self)^.clr := $00000002
  49693. else
  49694. pTDefRegMap(@Self)^.&set := $00000002;
  49695. end;
  49696. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  49697. begin
  49698. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49699. end;
  49700. procedure TPORTD_LATD.setLATD2; inline;
  49701. begin
  49702. pTDefRegMap(@Self)^.&set := $00000004;
  49703. end;
  49704. procedure TPORTD_LATD.clearLATD2; inline;
  49705. begin
  49706. pTDefRegMap(@Self)^.clr := $00000004;
  49707. end;
  49708. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  49709. begin
  49710. if thebits = 0 then
  49711. pTDefRegMap(@Self)^.clr := $00000004
  49712. else
  49713. pTDefRegMap(@Self)^.&set := $00000004;
  49714. end;
  49715. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  49716. begin
  49717. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49718. end;
  49719. procedure TPORTD_LATD.setLATD3; inline;
  49720. begin
  49721. pTDefRegMap(@Self)^.&set := $00000008;
  49722. end;
  49723. procedure TPORTD_LATD.clearLATD3; inline;
  49724. begin
  49725. pTDefRegMap(@Self)^.clr := $00000008;
  49726. end;
  49727. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  49728. begin
  49729. if thebits = 0 then
  49730. pTDefRegMap(@Self)^.clr := $00000008
  49731. else
  49732. pTDefRegMap(@Self)^.&set := $00000008;
  49733. end;
  49734. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  49735. begin
  49736. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49737. end;
  49738. procedure TPORTD_LATD.setLATD4; inline;
  49739. begin
  49740. pTDefRegMap(@Self)^.&set := $00000010;
  49741. end;
  49742. procedure TPORTD_LATD.clearLATD4; inline;
  49743. begin
  49744. pTDefRegMap(@Self)^.clr := $00000010;
  49745. end;
  49746. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  49747. begin
  49748. if thebits = 0 then
  49749. pTDefRegMap(@Self)^.clr := $00000010
  49750. else
  49751. pTDefRegMap(@Self)^.&set := $00000010;
  49752. end;
  49753. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  49754. begin
  49755. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49756. end;
  49757. procedure TPORTD_LATD.setLATD5; inline;
  49758. begin
  49759. pTDefRegMap(@Self)^.&set := $00000020;
  49760. end;
  49761. procedure TPORTD_LATD.clearLATD5; inline;
  49762. begin
  49763. pTDefRegMap(@Self)^.clr := $00000020;
  49764. end;
  49765. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  49766. begin
  49767. if thebits = 0 then
  49768. pTDefRegMap(@Self)^.clr := $00000020
  49769. else
  49770. pTDefRegMap(@Self)^.&set := $00000020;
  49771. end;
  49772. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  49773. begin
  49774. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49775. end;
  49776. procedure TPORTD_LATD.setLATD6; inline;
  49777. begin
  49778. pTDefRegMap(@Self)^.&set := $00000040;
  49779. end;
  49780. procedure TPORTD_LATD.clearLATD6; inline;
  49781. begin
  49782. pTDefRegMap(@Self)^.clr := $00000040;
  49783. end;
  49784. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  49785. begin
  49786. if thebits = 0 then
  49787. pTDefRegMap(@Self)^.clr := $00000040
  49788. else
  49789. pTDefRegMap(@Self)^.&set := $00000040;
  49790. end;
  49791. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  49792. begin
  49793. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49794. end;
  49795. procedure TPORTD_LATD.setLATD7; inline;
  49796. begin
  49797. pTDefRegMap(@Self)^.&set := $00000080;
  49798. end;
  49799. procedure TPORTD_LATD.clearLATD7; inline;
  49800. begin
  49801. pTDefRegMap(@Self)^.clr := $00000080;
  49802. end;
  49803. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  49804. begin
  49805. if thebits = 0 then
  49806. pTDefRegMap(@Self)^.clr := $00000080
  49807. else
  49808. pTDefRegMap(@Self)^.&set := $00000080;
  49809. end;
  49810. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  49811. begin
  49812. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49813. end;
  49814. procedure TPORTD_LATD.setLATD8; inline;
  49815. begin
  49816. pTDefRegMap(@Self)^.&set := $00000100;
  49817. end;
  49818. procedure TPORTD_LATD.clearLATD8; inline;
  49819. begin
  49820. pTDefRegMap(@Self)^.clr := $00000100;
  49821. end;
  49822. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  49823. begin
  49824. if thebits = 0 then
  49825. pTDefRegMap(@Self)^.clr := $00000100
  49826. else
  49827. pTDefRegMap(@Self)^.&set := $00000100;
  49828. end;
  49829. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  49830. begin
  49831. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49832. end;
  49833. procedure TPORTD_LATD.setLATD9; inline;
  49834. begin
  49835. pTDefRegMap(@Self)^.&set := $00000200;
  49836. end;
  49837. procedure TPORTD_LATD.clearLATD9; inline;
  49838. begin
  49839. pTDefRegMap(@Self)^.clr := $00000200;
  49840. end;
  49841. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  49842. begin
  49843. if thebits = 0 then
  49844. pTDefRegMap(@Self)^.clr := $00000200
  49845. else
  49846. pTDefRegMap(@Self)^.&set := $00000200;
  49847. end;
  49848. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  49849. begin
  49850. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49851. end;
  49852. procedure TPORTD_LATD.setLATD10; inline;
  49853. begin
  49854. pTDefRegMap(@Self)^.&set := $00000400;
  49855. end;
  49856. procedure TPORTD_LATD.clearLATD10; inline;
  49857. begin
  49858. pTDefRegMap(@Self)^.clr := $00000400;
  49859. end;
  49860. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  49861. begin
  49862. if thebits = 0 then
  49863. pTDefRegMap(@Self)^.clr := $00000400
  49864. else
  49865. pTDefRegMap(@Self)^.&set := $00000400;
  49866. end;
  49867. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  49868. begin
  49869. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  49870. end;
  49871. procedure TPORTD_LATD.setLATD11; inline;
  49872. begin
  49873. pTDefRegMap(@Self)^.&set := $00000800;
  49874. end;
  49875. procedure TPORTD_LATD.clearLATD11; inline;
  49876. begin
  49877. pTDefRegMap(@Self)^.clr := $00000800;
  49878. end;
  49879. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  49880. begin
  49881. if thebits = 0 then
  49882. pTDefRegMap(@Self)^.clr := $00000800
  49883. else
  49884. pTDefRegMap(@Self)^.&set := $00000800;
  49885. end;
  49886. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  49887. begin
  49888. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  49889. end;
  49890. procedure TPORTD_LATD.setLATD12; inline;
  49891. begin
  49892. pTDefRegMap(@Self)^.&set := $00001000;
  49893. end;
  49894. procedure TPORTD_LATD.clearLATD12; inline;
  49895. begin
  49896. pTDefRegMap(@Self)^.clr := $00001000;
  49897. end;
  49898. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  49899. begin
  49900. if thebits = 0 then
  49901. pTDefRegMap(@Self)^.clr := $00001000
  49902. else
  49903. pTDefRegMap(@Self)^.&set := $00001000;
  49904. end;
  49905. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  49906. begin
  49907. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  49908. end;
  49909. procedure TPORTD_LATD.setLATD13; inline;
  49910. begin
  49911. pTDefRegMap(@Self)^.&set := $00002000;
  49912. end;
  49913. procedure TPORTD_LATD.clearLATD13; inline;
  49914. begin
  49915. pTDefRegMap(@Self)^.clr := $00002000;
  49916. end;
  49917. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  49918. begin
  49919. if thebits = 0 then
  49920. pTDefRegMap(@Self)^.clr := $00002000
  49921. else
  49922. pTDefRegMap(@Self)^.&set := $00002000;
  49923. end;
  49924. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  49925. begin
  49926. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  49927. end;
  49928. procedure TPORTD_LATD.setLATD14; inline;
  49929. begin
  49930. pTDefRegMap(@Self)^.&set := $00004000;
  49931. end;
  49932. procedure TPORTD_LATD.clearLATD14; inline;
  49933. begin
  49934. pTDefRegMap(@Self)^.clr := $00004000;
  49935. end;
  49936. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  49937. begin
  49938. if thebits = 0 then
  49939. pTDefRegMap(@Self)^.clr := $00004000
  49940. else
  49941. pTDefRegMap(@Self)^.&set := $00004000;
  49942. end;
  49943. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  49944. begin
  49945. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  49946. end;
  49947. procedure TPORTD_LATD.setLATD15; inline;
  49948. begin
  49949. pTDefRegMap(@Self)^.&set := $00008000;
  49950. end;
  49951. procedure TPORTD_LATD.clearLATD15; inline;
  49952. begin
  49953. pTDefRegMap(@Self)^.clr := $00008000;
  49954. end;
  49955. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  49956. begin
  49957. if thebits = 0 then
  49958. pTDefRegMap(@Self)^.clr := $00008000
  49959. else
  49960. pTDefRegMap(@Self)^.&set := $00008000;
  49961. end;
  49962. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  49963. begin
  49964. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49965. end;
  49966. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  49967. begin
  49968. pTDefRegMap(@Self)^.val := thebits;
  49969. end;
  49970. function TPORTD_LATD.getw : TBits_32; inline;
  49971. begin
  49972. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49973. end;
  49974. procedure TPORTD_ODCD.setODCD0; inline;
  49975. begin
  49976. pTDefRegMap(@Self)^.&set := $00000001;
  49977. end;
  49978. procedure TPORTD_ODCD.clearODCD0; inline;
  49979. begin
  49980. pTDefRegMap(@Self)^.clr := $00000001;
  49981. end;
  49982. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  49983. begin
  49984. if thebits = 0 then
  49985. pTDefRegMap(@Self)^.clr := $00000001
  49986. else
  49987. pTDefRegMap(@Self)^.&set := $00000001;
  49988. end;
  49989. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  49990. begin
  49991. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49992. end;
  49993. procedure TPORTD_ODCD.setODCD1; inline;
  49994. begin
  49995. pTDefRegMap(@Self)^.&set := $00000002;
  49996. end;
  49997. procedure TPORTD_ODCD.clearODCD1; inline;
  49998. begin
  49999. pTDefRegMap(@Self)^.clr := $00000002;
  50000. end;
  50001. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  50002. begin
  50003. if thebits = 0 then
  50004. pTDefRegMap(@Self)^.clr := $00000002
  50005. else
  50006. pTDefRegMap(@Self)^.&set := $00000002;
  50007. end;
  50008. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  50009. begin
  50010. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50011. end;
  50012. procedure TPORTD_ODCD.setODCD2; inline;
  50013. begin
  50014. pTDefRegMap(@Self)^.&set := $00000004;
  50015. end;
  50016. procedure TPORTD_ODCD.clearODCD2; inline;
  50017. begin
  50018. pTDefRegMap(@Self)^.clr := $00000004;
  50019. end;
  50020. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  50021. begin
  50022. if thebits = 0 then
  50023. pTDefRegMap(@Self)^.clr := $00000004
  50024. else
  50025. pTDefRegMap(@Self)^.&set := $00000004;
  50026. end;
  50027. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  50028. begin
  50029. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50030. end;
  50031. procedure TPORTD_ODCD.setODCD3; inline;
  50032. begin
  50033. pTDefRegMap(@Self)^.&set := $00000008;
  50034. end;
  50035. procedure TPORTD_ODCD.clearODCD3; inline;
  50036. begin
  50037. pTDefRegMap(@Self)^.clr := $00000008;
  50038. end;
  50039. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  50040. begin
  50041. if thebits = 0 then
  50042. pTDefRegMap(@Self)^.clr := $00000008
  50043. else
  50044. pTDefRegMap(@Self)^.&set := $00000008;
  50045. end;
  50046. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  50047. begin
  50048. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50049. end;
  50050. procedure TPORTD_ODCD.setODCD4; inline;
  50051. begin
  50052. pTDefRegMap(@Self)^.&set := $00000010;
  50053. end;
  50054. procedure TPORTD_ODCD.clearODCD4; inline;
  50055. begin
  50056. pTDefRegMap(@Self)^.clr := $00000010;
  50057. end;
  50058. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  50059. begin
  50060. if thebits = 0 then
  50061. pTDefRegMap(@Self)^.clr := $00000010
  50062. else
  50063. pTDefRegMap(@Self)^.&set := $00000010;
  50064. end;
  50065. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  50066. begin
  50067. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50068. end;
  50069. procedure TPORTD_ODCD.setODCD5; inline;
  50070. begin
  50071. pTDefRegMap(@Self)^.&set := $00000020;
  50072. end;
  50073. procedure TPORTD_ODCD.clearODCD5; inline;
  50074. begin
  50075. pTDefRegMap(@Self)^.clr := $00000020;
  50076. end;
  50077. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  50078. begin
  50079. if thebits = 0 then
  50080. pTDefRegMap(@Self)^.clr := $00000020
  50081. else
  50082. pTDefRegMap(@Self)^.&set := $00000020;
  50083. end;
  50084. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  50085. begin
  50086. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50087. end;
  50088. procedure TPORTD_ODCD.setODCD6; inline;
  50089. begin
  50090. pTDefRegMap(@Self)^.&set := $00000040;
  50091. end;
  50092. procedure TPORTD_ODCD.clearODCD6; inline;
  50093. begin
  50094. pTDefRegMap(@Self)^.clr := $00000040;
  50095. end;
  50096. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  50097. begin
  50098. if thebits = 0 then
  50099. pTDefRegMap(@Self)^.clr := $00000040
  50100. else
  50101. pTDefRegMap(@Self)^.&set := $00000040;
  50102. end;
  50103. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  50104. begin
  50105. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50106. end;
  50107. procedure TPORTD_ODCD.setODCD7; inline;
  50108. begin
  50109. pTDefRegMap(@Self)^.&set := $00000080;
  50110. end;
  50111. procedure TPORTD_ODCD.clearODCD7; inline;
  50112. begin
  50113. pTDefRegMap(@Self)^.clr := $00000080;
  50114. end;
  50115. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  50116. begin
  50117. if thebits = 0 then
  50118. pTDefRegMap(@Self)^.clr := $00000080
  50119. else
  50120. pTDefRegMap(@Self)^.&set := $00000080;
  50121. end;
  50122. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  50123. begin
  50124. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50125. end;
  50126. procedure TPORTD_ODCD.setODCD8; inline;
  50127. begin
  50128. pTDefRegMap(@Self)^.&set := $00000100;
  50129. end;
  50130. procedure TPORTD_ODCD.clearODCD8; inline;
  50131. begin
  50132. pTDefRegMap(@Self)^.clr := $00000100;
  50133. end;
  50134. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  50135. begin
  50136. if thebits = 0 then
  50137. pTDefRegMap(@Self)^.clr := $00000100
  50138. else
  50139. pTDefRegMap(@Self)^.&set := $00000100;
  50140. end;
  50141. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  50142. begin
  50143. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50144. end;
  50145. procedure TPORTD_ODCD.setODCD9; inline;
  50146. begin
  50147. pTDefRegMap(@Self)^.&set := $00000200;
  50148. end;
  50149. procedure TPORTD_ODCD.clearODCD9; inline;
  50150. begin
  50151. pTDefRegMap(@Self)^.clr := $00000200;
  50152. end;
  50153. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  50154. begin
  50155. if thebits = 0 then
  50156. pTDefRegMap(@Self)^.clr := $00000200
  50157. else
  50158. pTDefRegMap(@Self)^.&set := $00000200;
  50159. end;
  50160. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  50161. begin
  50162. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50163. end;
  50164. procedure TPORTD_ODCD.setODCD10; inline;
  50165. begin
  50166. pTDefRegMap(@Self)^.&set := $00000400;
  50167. end;
  50168. procedure TPORTD_ODCD.clearODCD10; inline;
  50169. begin
  50170. pTDefRegMap(@Self)^.clr := $00000400;
  50171. end;
  50172. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  50173. begin
  50174. if thebits = 0 then
  50175. pTDefRegMap(@Self)^.clr := $00000400
  50176. else
  50177. pTDefRegMap(@Self)^.&set := $00000400;
  50178. end;
  50179. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  50180. begin
  50181. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  50182. end;
  50183. procedure TPORTD_ODCD.setODCD11; inline;
  50184. begin
  50185. pTDefRegMap(@Self)^.&set := $00000800;
  50186. end;
  50187. procedure TPORTD_ODCD.clearODCD11; inline;
  50188. begin
  50189. pTDefRegMap(@Self)^.clr := $00000800;
  50190. end;
  50191. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  50192. begin
  50193. if thebits = 0 then
  50194. pTDefRegMap(@Self)^.clr := $00000800
  50195. else
  50196. pTDefRegMap(@Self)^.&set := $00000800;
  50197. end;
  50198. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  50199. begin
  50200. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  50201. end;
  50202. procedure TPORTD_ODCD.setODCD12; inline;
  50203. begin
  50204. pTDefRegMap(@Self)^.&set := $00001000;
  50205. end;
  50206. procedure TPORTD_ODCD.clearODCD12; inline;
  50207. begin
  50208. pTDefRegMap(@Self)^.clr := $00001000;
  50209. end;
  50210. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  50211. begin
  50212. if thebits = 0 then
  50213. pTDefRegMap(@Self)^.clr := $00001000
  50214. else
  50215. pTDefRegMap(@Self)^.&set := $00001000;
  50216. end;
  50217. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  50218. begin
  50219. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50220. end;
  50221. procedure TPORTD_ODCD.setODCD13; inline;
  50222. begin
  50223. pTDefRegMap(@Self)^.&set := $00002000;
  50224. end;
  50225. procedure TPORTD_ODCD.clearODCD13; inline;
  50226. begin
  50227. pTDefRegMap(@Self)^.clr := $00002000;
  50228. end;
  50229. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  50230. begin
  50231. if thebits = 0 then
  50232. pTDefRegMap(@Self)^.clr := $00002000
  50233. else
  50234. pTDefRegMap(@Self)^.&set := $00002000;
  50235. end;
  50236. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  50237. begin
  50238. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50239. end;
  50240. procedure TPORTD_ODCD.setODCD14; inline;
  50241. begin
  50242. pTDefRegMap(@Self)^.&set := $00004000;
  50243. end;
  50244. procedure TPORTD_ODCD.clearODCD14; inline;
  50245. begin
  50246. pTDefRegMap(@Self)^.clr := $00004000;
  50247. end;
  50248. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  50249. begin
  50250. if thebits = 0 then
  50251. pTDefRegMap(@Self)^.clr := $00004000
  50252. else
  50253. pTDefRegMap(@Self)^.&set := $00004000;
  50254. end;
  50255. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  50256. begin
  50257. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  50258. end;
  50259. procedure TPORTD_ODCD.setODCD15; inline;
  50260. begin
  50261. pTDefRegMap(@Self)^.&set := $00008000;
  50262. end;
  50263. procedure TPORTD_ODCD.clearODCD15; inline;
  50264. begin
  50265. pTDefRegMap(@Self)^.clr := $00008000;
  50266. end;
  50267. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  50268. begin
  50269. if thebits = 0 then
  50270. pTDefRegMap(@Self)^.clr := $00008000
  50271. else
  50272. pTDefRegMap(@Self)^.&set := $00008000;
  50273. end;
  50274. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  50275. begin
  50276. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50277. end;
  50278. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  50279. begin
  50280. pTDefRegMap(@Self)^.val := thebits;
  50281. end;
  50282. function TPORTD_ODCD.getw : TBits_32; inline;
  50283. begin
  50284. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50285. end;
  50286. procedure TPORTD_CNPUD.setCNPUD0; inline;
  50287. begin
  50288. pTDefRegMap(@Self)^.&set := $00000001;
  50289. end;
  50290. procedure TPORTD_CNPUD.clearCNPUD0; inline;
  50291. begin
  50292. pTDefRegMap(@Self)^.clr := $00000001;
  50293. end;
  50294. procedure TPORTD_CNPUD.setCNPUD0(thebits : TBits_1); inline;
  50295. begin
  50296. if thebits = 0 then
  50297. pTDefRegMap(@Self)^.clr := $00000001
  50298. else
  50299. pTDefRegMap(@Self)^.&set := $00000001;
  50300. end;
  50301. function TPORTD_CNPUD.getCNPUD0 : TBits_1; inline;
  50302. begin
  50303. getCNPUD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50304. end;
  50305. procedure TPORTD_CNPUD.setCNPUD1; inline;
  50306. begin
  50307. pTDefRegMap(@Self)^.&set := $00000002;
  50308. end;
  50309. procedure TPORTD_CNPUD.clearCNPUD1; inline;
  50310. begin
  50311. pTDefRegMap(@Self)^.clr := $00000002;
  50312. end;
  50313. procedure TPORTD_CNPUD.setCNPUD1(thebits : TBits_1); inline;
  50314. begin
  50315. if thebits = 0 then
  50316. pTDefRegMap(@Self)^.clr := $00000002
  50317. else
  50318. pTDefRegMap(@Self)^.&set := $00000002;
  50319. end;
  50320. function TPORTD_CNPUD.getCNPUD1 : TBits_1; inline;
  50321. begin
  50322. getCNPUD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50323. end;
  50324. procedure TPORTD_CNPUD.setCNPUD2; inline;
  50325. begin
  50326. pTDefRegMap(@Self)^.&set := $00000004;
  50327. end;
  50328. procedure TPORTD_CNPUD.clearCNPUD2; inline;
  50329. begin
  50330. pTDefRegMap(@Self)^.clr := $00000004;
  50331. end;
  50332. procedure TPORTD_CNPUD.setCNPUD2(thebits : TBits_1); inline;
  50333. begin
  50334. if thebits = 0 then
  50335. pTDefRegMap(@Self)^.clr := $00000004
  50336. else
  50337. pTDefRegMap(@Self)^.&set := $00000004;
  50338. end;
  50339. function TPORTD_CNPUD.getCNPUD2 : TBits_1; inline;
  50340. begin
  50341. getCNPUD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50342. end;
  50343. procedure TPORTD_CNPUD.setCNPUD3; inline;
  50344. begin
  50345. pTDefRegMap(@Self)^.&set := $00000008;
  50346. end;
  50347. procedure TPORTD_CNPUD.clearCNPUD3; inline;
  50348. begin
  50349. pTDefRegMap(@Self)^.clr := $00000008;
  50350. end;
  50351. procedure TPORTD_CNPUD.setCNPUD3(thebits : TBits_1); inline;
  50352. begin
  50353. if thebits = 0 then
  50354. pTDefRegMap(@Self)^.clr := $00000008
  50355. else
  50356. pTDefRegMap(@Self)^.&set := $00000008;
  50357. end;
  50358. function TPORTD_CNPUD.getCNPUD3 : TBits_1; inline;
  50359. begin
  50360. getCNPUD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50361. end;
  50362. procedure TPORTD_CNPUD.setCNPUD4; inline;
  50363. begin
  50364. pTDefRegMap(@Self)^.&set := $00000010;
  50365. end;
  50366. procedure TPORTD_CNPUD.clearCNPUD4; inline;
  50367. begin
  50368. pTDefRegMap(@Self)^.clr := $00000010;
  50369. end;
  50370. procedure TPORTD_CNPUD.setCNPUD4(thebits : TBits_1); inline;
  50371. begin
  50372. if thebits = 0 then
  50373. pTDefRegMap(@Self)^.clr := $00000010
  50374. else
  50375. pTDefRegMap(@Self)^.&set := $00000010;
  50376. end;
  50377. function TPORTD_CNPUD.getCNPUD4 : TBits_1; inline;
  50378. begin
  50379. getCNPUD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50380. end;
  50381. procedure TPORTD_CNPUD.setCNPUD5; inline;
  50382. begin
  50383. pTDefRegMap(@Self)^.&set := $00000020;
  50384. end;
  50385. procedure TPORTD_CNPUD.clearCNPUD5; inline;
  50386. begin
  50387. pTDefRegMap(@Self)^.clr := $00000020;
  50388. end;
  50389. procedure TPORTD_CNPUD.setCNPUD5(thebits : TBits_1); inline;
  50390. begin
  50391. if thebits = 0 then
  50392. pTDefRegMap(@Self)^.clr := $00000020
  50393. else
  50394. pTDefRegMap(@Self)^.&set := $00000020;
  50395. end;
  50396. function TPORTD_CNPUD.getCNPUD5 : TBits_1; inline;
  50397. begin
  50398. getCNPUD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50399. end;
  50400. procedure TPORTD_CNPUD.setCNPUD6; inline;
  50401. begin
  50402. pTDefRegMap(@Self)^.&set := $00000040;
  50403. end;
  50404. procedure TPORTD_CNPUD.clearCNPUD6; inline;
  50405. begin
  50406. pTDefRegMap(@Self)^.clr := $00000040;
  50407. end;
  50408. procedure TPORTD_CNPUD.setCNPUD6(thebits : TBits_1); inline;
  50409. begin
  50410. if thebits = 0 then
  50411. pTDefRegMap(@Self)^.clr := $00000040
  50412. else
  50413. pTDefRegMap(@Self)^.&set := $00000040;
  50414. end;
  50415. function TPORTD_CNPUD.getCNPUD6 : TBits_1; inline;
  50416. begin
  50417. getCNPUD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50418. end;
  50419. procedure TPORTD_CNPUD.setCNPUD7; inline;
  50420. begin
  50421. pTDefRegMap(@Self)^.&set := $00000080;
  50422. end;
  50423. procedure TPORTD_CNPUD.clearCNPUD7; inline;
  50424. begin
  50425. pTDefRegMap(@Self)^.clr := $00000080;
  50426. end;
  50427. procedure TPORTD_CNPUD.setCNPUD7(thebits : TBits_1); inline;
  50428. begin
  50429. if thebits = 0 then
  50430. pTDefRegMap(@Self)^.clr := $00000080
  50431. else
  50432. pTDefRegMap(@Self)^.&set := $00000080;
  50433. end;
  50434. function TPORTD_CNPUD.getCNPUD7 : TBits_1; inline;
  50435. begin
  50436. getCNPUD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50437. end;
  50438. procedure TPORTD_CNPUD.setCNPUD8; inline;
  50439. begin
  50440. pTDefRegMap(@Self)^.&set := $00000100;
  50441. end;
  50442. procedure TPORTD_CNPUD.clearCNPUD8; inline;
  50443. begin
  50444. pTDefRegMap(@Self)^.clr := $00000100;
  50445. end;
  50446. procedure TPORTD_CNPUD.setCNPUD8(thebits : TBits_1); inline;
  50447. begin
  50448. if thebits = 0 then
  50449. pTDefRegMap(@Self)^.clr := $00000100
  50450. else
  50451. pTDefRegMap(@Self)^.&set := $00000100;
  50452. end;
  50453. function TPORTD_CNPUD.getCNPUD8 : TBits_1; inline;
  50454. begin
  50455. getCNPUD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50456. end;
  50457. procedure TPORTD_CNPUD.setCNPUD9; inline;
  50458. begin
  50459. pTDefRegMap(@Self)^.&set := $00000200;
  50460. end;
  50461. procedure TPORTD_CNPUD.clearCNPUD9; inline;
  50462. begin
  50463. pTDefRegMap(@Self)^.clr := $00000200;
  50464. end;
  50465. procedure TPORTD_CNPUD.setCNPUD9(thebits : TBits_1); inline;
  50466. begin
  50467. if thebits = 0 then
  50468. pTDefRegMap(@Self)^.clr := $00000200
  50469. else
  50470. pTDefRegMap(@Self)^.&set := $00000200;
  50471. end;
  50472. function TPORTD_CNPUD.getCNPUD9 : TBits_1; inline;
  50473. begin
  50474. getCNPUD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50475. end;
  50476. procedure TPORTD_CNPUD.setCNPUD10; inline;
  50477. begin
  50478. pTDefRegMap(@Self)^.&set := $00000400;
  50479. end;
  50480. procedure TPORTD_CNPUD.clearCNPUD10; inline;
  50481. begin
  50482. pTDefRegMap(@Self)^.clr := $00000400;
  50483. end;
  50484. procedure TPORTD_CNPUD.setCNPUD10(thebits : TBits_1); inline;
  50485. begin
  50486. if thebits = 0 then
  50487. pTDefRegMap(@Self)^.clr := $00000400
  50488. else
  50489. pTDefRegMap(@Self)^.&set := $00000400;
  50490. end;
  50491. function TPORTD_CNPUD.getCNPUD10 : TBits_1; inline;
  50492. begin
  50493. getCNPUD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  50494. end;
  50495. procedure TPORTD_CNPUD.setCNPUD11; inline;
  50496. begin
  50497. pTDefRegMap(@Self)^.&set := $00000800;
  50498. end;
  50499. procedure TPORTD_CNPUD.clearCNPUD11; inline;
  50500. begin
  50501. pTDefRegMap(@Self)^.clr := $00000800;
  50502. end;
  50503. procedure TPORTD_CNPUD.setCNPUD11(thebits : TBits_1); inline;
  50504. begin
  50505. if thebits = 0 then
  50506. pTDefRegMap(@Self)^.clr := $00000800
  50507. else
  50508. pTDefRegMap(@Self)^.&set := $00000800;
  50509. end;
  50510. function TPORTD_CNPUD.getCNPUD11 : TBits_1; inline;
  50511. begin
  50512. getCNPUD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  50513. end;
  50514. procedure TPORTD_CNPUD.setCNPUD12; inline;
  50515. begin
  50516. pTDefRegMap(@Self)^.&set := $00001000;
  50517. end;
  50518. procedure TPORTD_CNPUD.clearCNPUD12; inline;
  50519. begin
  50520. pTDefRegMap(@Self)^.clr := $00001000;
  50521. end;
  50522. procedure TPORTD_CNPUD.setCNPUD12(thebits : TBits_1); inline;
  50523. begin
  50524. if thebits = 0 then
  50525. pTDefRegMap(@Self)^.clr := $00001000
  50526. else
  50527. pTDefRegMap(@Self)^.&set := $00001000;
  50528. end;
  50529. function TPORTD_CNPUD.getCNPUD12 : TBits_1; inline;
  50530. begin
  50531. getCNPUD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50532. end;
  50533. procedure TPORTD_CNPUD.setCNPUD13; inline;
  50534. begin
  50535. pTDefRegMap(@Self)^.&set := $00002000;
  50536. end;
  50537. procedure TPORTD_CNPUD.clearCNPUD13; inline;
  50538. begin
  50539. pTDefRegMap(@Self)^.clr := $00002000;
  50540. end;
  50541. procedure TPORTD_CNPUD.setCNPUD13(thebits : TBits_1); inline;
  50542. begin
  50543. if thebits = 0 then
  50544. pTDefRegMap(@Self)^.clr := $00002000
  50545. else
  50546. pTDefRegMap(@Self)^.&set := $00002000;
  50547. end;
  50548. function TPORTD_CNPUD.getCNPUD13 : TBits_1; inline;
  50549. begin
  50550. getCNPUD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50551. end;
  50552. procedure TPORTD_CNPUD.setCNPUD14; inline;
  50553. begin
  50554. pTDefRegMap(@Self)^.&set := $00004000;
  50555. end;
  50556. procedure TPORTD_CNPUD.clearCNPUD14; inline;
  50557. begin
  50558. pTDefRegMap(@Self)^.clr := $00004000;
  50559. end;
  50560. procedure TPORTD_CNPUD.setCNPUD14(thebits : TBits_1); inline;
  50561. begin
  50562. if thebits = 0 then
  50563. pTDefRegMap(@Self)^.clr := $00004000
  50564. else
  50565. pTDefRegMap(@Self)^.&set := $00004000;
  50566. end;
  50567. function TPORTD_CNPUD.getCNPUD14 : TBits_1; inline;
  50568. begin
  50569. getCNPUD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  50570. end;
  50571. procedure TPORTD_CNPUD.setCNPUD15; inline;
  50572. begin
  50573. pTDefRegMap(@Self)^.&set := $00008000;
  50574. end;
  50575. procedure TPORTD_CNPUD.clearCNPUD15; inline;
  50576. begin
  50577. pTDefRegMap(@Self)^.clr := $00008000;
  50578. end;
  50579. procedure TPORTD_CNPUD.setCNPUD15(thebits : TBits_1); inline;
  50580. begin
  50581. if thebits = 0 then
  50582. pTDefRegMap(@Self)^.clr := $00008000
  50583. else
  50584. pTDefRegMap(@Self)^.&set := $00008000;
  50585. end;
  50586. function TPORTD_CNPUD.getCNPUD15 : TBits_1; inline;
  50587. begin
  50588. getCNPUD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50589. end;
  50590. procedure TPORTD_CNPUD.setw(thebits : TBits_32); inline;
  50591. begin
  50592. pTDefRegMap(@Self)^.val := thebits;
  50593. end;
  50594. function TPORTD_CNPUD.getw : TBits_32; inline;
  50595. begin
  50596. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50597. end;
  50598. procedure TPORTD_CNPDD.setCNPDD0; inline;
  50599. begin
  50600. pTDefRegMap(@Self)^.&set := $00000001;
  50601. end;
  50602. procedure TPORTD_CNPDD.clearCNPDD0; inline;
  50603. begin
  50604. pTDefRegMap(@Self)^.clr := $00000001;
  50605. end;
  50606. procedure TPORTD_CNPDD.setCNPDD0(thebits : TBits_1); inline;
  50607. begin
  50608. if thebits = 0 then
  50609. pTDefRegMap(@Self)^.clr := $00000001
  50610. else
  50611. pTDefRegMap(@Self)^.&set := $00000001;
  50612. end;
  50613. function TPORTD_CNPDD.getCNPDD0 : TBits_1; inline;
  50614. begin
  50615. getCNPDD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50616. end;
  50617. procedure TPORTD_CNPDD.setCNPDD1; inline;
  50618. begin
  50619. pTDefRegMap(@Self)^.&set := $00000002;
  50620. end;
  50621. procedure TPORTD_CNPDD.clearCNPDD1; inline;
  50622. begin
  50623. pTDefRegMap(@Self)^.clr := $00000002;
  50624. end;
  50625. procedure TPORTD_CNPDD.setCNPDD1(thebits : TBits_1); inline;
  50626. begin
  50627. if thebits = 0 then
  50628. pTDefRegMap(@Self)^.clr := $00000002
  50629. else
  50630. pTDefRegMap(@Self)^.&set := $00000002;
  50631. end;
  50632. function TPORTD_CNPDD.getCNPDD1 : TBits_1; inline;
  50633. begin
  50634. getCNPDD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50635. end;
  50636. procedure TPORTD_CNPDD.setCNPDD2; inline;
  50637. begin
  50638. pTDefRegMap(@Self)^.&set := $00000004;
  50639. end;
  50640. procedure TPORTD_CNPDD.clearCNPDD2; inline;
  50641. begin
  50642. pTDefRegMap(@Self)^.clr := $00000004;
  50643. end;
  50644. procedure TPORTD_CNPDD.setCNPDD2(thebits : TBits_1); inline;
  50645. begin
  50646. if thebits = 0 then
  50647. pTDefRegMap(@Self)^.clr := $00000004
  50648. else
  50649. pTDefRegMap(@Self)^.&set := $00000004;
  50650. end;
  50651. function TPORTD_CNPDD.getCNPDD2 : TBits_1; inline;
  50652. begin
  50653. getCNPDD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50654. end;
  50655. procedure TPORTD_CNPDD.setCNPDD3; inline;
  50656. begin
  50657. pTDefRegMap(@Self)^.&set := $00000008;
  50658. end;
  50659. procedure TPORTD_CNPDD.clearCNPDD3; inline;
  50660. begin
  50661. pTDefRegMap(@Self)^.clr := $00000008;
  50662. end;
  50663. procedure TPORTD_CNPDD.setCNPDD3(thebits : TBits_1); inline;
  50664. begin
  50665. if thebits = 0 then
  50666. pTDefRegMap(@Self)^.clr := $00000008
  50667. else
  50668. pTDefRegMap(@Self)^.&set := $00000008;
  50669. end;
  50670. function TPORTD_CNPDD.getCNPDD3 : TBits_1; inline;
  50671. begin
  50672. getCNPDD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50673. end;
  50674. procedure TPORTD_CNPDD.setCNPDD4; inline;
  50675. begin
  50676. pTDefRegMap(@Self)^.&set := $00000010;
  50677. end;
  50678. procedure TPORTD_CNPDD.clearCNPDD4; inline;
  50679. begin
  50680. pTDefRegMap(@Self)^.clr := $00000010;
  50681. end;
  50682. procedure TPORTD_CNPDD.setCNPDD4(thebits : TBits_1); inline;
  50683. begin
  50684. if thebits = 0 then
  50685. pTDefRegMap(@Self)^.clr := $00000010
  50686. else
  50687. pTDefRegMap(@Self)^.&set := $00000010;
  50688. end;
  50689. function TPORTD_CNPDD.getCNPDD4 : TBits_1; inline;
  50690. begin
  50691. getCNPDD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50692. end;
  50693. procedure TPORTD_CNPDD.setCNPDD5; inline;
  50694. begin
  50695. pTDefRegMap(@Self)^.&set := $00000020;
  50696. end;
  50697. procedure TPORTD_CNPDD.clearCNPDD5; inline;
  50698. begin
  50699. pTDefRegMap(@Self)^.clr := $00000020;
  50700. end;
  50701. procedure TPORTD_CNPDD.setCNPDD5(thebits : TBits_1); inline;
  50702. begin
  50703. if thebits = 0 then
  50704. pTDefRegMap(@Self)^.clr := $00000020
  50705. else
  50706. pTDefRegMap(@Self)^.&set := $00000020;
  50707. end;
  50708. function TPORTD_CNPDD.getCNPDD5 : TBits_1; inline;
  50709. begin
  50710. getCNPDD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50711. end;
  50712. procedure TPORTD_CNPDD.setCNPDD6; inline;
  50713. begin
  50714. pTDefRegMap(@Self)^.&set := $00000040;
  50715. end;
  50716. procedure TPORTD_CNPDD.clearCNPDD6; inline;
  50717. begin
  50718. pTDefRegMap(@Self)^.clr := $00000040;
  50719. end;
  50720. procedure TPORTD_CNPDD.setCNPDD6(thebits : TBits_1); inline;
  50721. begin
  50722. if thebits = 0 then
  50723. pTDefRegMap(@Self)^.clr := $00000040
  50724. else
  50725. pTDefRegMap(@Self)^.&set := $00000040;
  50726. end;
  50727. function TPORTD_CNPDD.getCNPDD6 : TBits_1; inline;
  50728. begin
  50729. getCNPDD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50730. end;
  50731. procedure TPORTD_CNPDD.setCNPDD7; inline;
  50732. begin
  50733. pTDefRegMap(@Self)^.&set := $00000080;
  50734. end;
  50735. procedure TPORTD_CNPDD.clearCNPDD7; inline;
  50736. begin
  50737. pTDefRegMap(@Self)^.clr := $00000080;
  50738. end;
  50739. procedure TPORTD_CNPDD.setCNPDD7(thebits : TBits_1); inline;
  50740. begin
  50741. if thebits = 0 then
  50742. pTDefRegMap(@Self)^.clr := $00000080
  50743. else
  50744. pTDefRegMap(@Self)^.&set := $00000080;
  50745. end;
  50746. function TPORTD_CNPDD.getCNPDD7 : TBits_1; inline;
  50747. begin
  50748. getCNPDD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50749. end;
  50750. procedure TPORTD_CNPDD.setCNPDD8; inline;
  50751. begin
  50752. pTDefRegMap(@Self)^.&set := $00000100;
  50753. end;
  50754. procedure TPORTD_CNPDD.clearCNPDD8; inline;
  50755. begin
  50756. pTDefRegMap(@Self)^.clr := $00000100;
  50757. end;
  50758. procedure TPORTD_CNPDD.setCNPDD8(thebits : TBits_1); inline;
  50759. begin
  50760. if thebits = 0 then
  50761. pTDefRegMap(@Self)^.clr := $00000100
  50762. else
  50763. pTDefRegMap(@Self)^.&set := $00000100;
  50764. end;
  50765. function TPORTD_CNPDD.getCNPDD8 : TBits_1; inline;
  50766. begin
  50767. getCNPDD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50768. end;
  50769. procedure TPORTD_CNPDD.setCNPDD9; inline;
  50770. begin
  50771. pTDefRegMap(@Self)^.&set := $00000200;
  50772. end;
  50773. procedure TPORTD_CNPDD.clearCNPDD9; inline;
  50774. begin
  50775. pTDefRegMap(@Self)^.clr := $00000200;
  50776. end;
  50777. procedure TPORTD_CNPDD.setCNPDD9(thebits : TBits_1); inline;
  50778. begin
  50779. if thebits = 0 then
  50780. pTDefRegMap(@Self)^.clr := $00000200
  50781. else
  50782. pTDefRegMap(@Self)^.&set := $00000200;
  50783. end;
  50784. function TPORTD_CNPDD.getCNPDD9 : TBits_1; inline;
  50785. begin
  50786. getCNPDD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50787. end;
  50788. procedure TPORTD_CNPDD.setCNPDD10; inline;
  50789. begin
  50790. pTDefRegMap(@Self)^.&set := $00000400;
  50791. end;
  50792. procedure TPORTD_CNPDD.clearCNPDD10; inline;
  50793. begin
  50794. pTDefRegMap(@Self)^.clr := $00000400;
  50795. end;
  50796. procedure TPORTD_CNPDD.setCNPDD10(thebits : TBits_1); inline;
  50797. begin
  50798. if thebits = 0 then
  50799. pTDefRegMap(@Self)^.clr := $00000400
  50800. else
  50801. pTDefRegMap(@Self)^.&set := $00000400;
  50802. end;
  50803. function TPORTD_CNPDD.getCNPDD10 : TBits_1; inline;
  50804. begin
  50805. getCNPDD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  50806. end;
  50807. procedure TPORTD_CNPDD.setCNPDD11; inline;
  50808. begin
  50809. pTDefRegMap(@Self)^.&set := $00000800;
  50810. end;
  50811. procedure TPORTD_CNPDD.clearCNPDD11; inline;
  50812. begin
  50813. pTDefRegMap(@Self)^.clr := $00000800;
  50814. end;
  50815. procedure TPORTD_CNPDD.setCNPDD11(thebits : TBits_1); inline;
  50816. begin
  50817. if thebits = 0 then
  50818. pTDefRegMap(@Self)^.clr := $00000800
  50819. else
  50820. pTDefRegMap(@Self)^.&set := $00000800;
  50821. end;
  50822. function TPORTD_CNPDD.getCNPDD11 : TBits_1; inline;
  50823. begin
  50824. getCNPDD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  50825. end;
  50826. procedure TPORTD_CNPDD.setCNPDD12; inline;
  50827. begin
  50828. pTDefRegMap(@Self)^.&set := $00001000;
  50829. end;
  50830. procedure TPORTD_CNPDD.clearCNPDD12; inline;
  50831. begin
  50832. pTDefRegMap(@Self)^.clr := $00001000;
  50833. end;
  50834. procedure TPORTD_CNPDD.setCNPDD12(thebits : TBits_1); inline;
  50835. begin
  50836. if thebits = 0 then
  50837. pTDefRegMap(@Self)^.clr := $00001000
  50838. else
  50839. pTDefRegMap(@Self)^.&set := $00001000;
  50840. end;
  50841. function TPORTD_CNPDD.getCNPDD12 : TBits_1; inline;
  50842. begin
  50843. getCNPDD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50844. end;
  50845. procedure TPORTD_CNPDD.setCNPDD13; inline;
  50846. begin
  50847. pTDefRegMap(@Self)^.&set := $00002000;
  50848. end;
  50849. procedure TPORTD_CNPDD.clearCNPDD13; inline;
  50850. begin
  50851. pTDefRegMap(@Self)^.clr := $00002000;
  50852. end;
  50853. procedure TPORTD_CNPDD.setCNPDD13(thebits : TBits_1); inline;
  50854. begin
  50855. if thebits = 0 then
  50856. pTDefRegMap(@Self)^.clr := $00002000
  50857. else
  50858. pTDefRegMap(@Self)^.&set := $00002000;
  50859. end;
  50860. function TPORTD_CNPDD.getCNPDD13 : TBits_1; inline;
  50861. begin
  50862. getCNPDD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50863. end;
  50864. procedure TPORTD_CNPDD.setCNPDD14; inline;
  50865. begin
  50866. pTDefRegMap(@Self)^.&set := $00004000;
  50867. end;
  50868. procedure TPORTD_CNPDD.clearCNPDD14; inline;
  50869. begin
  50870. pTDefRegMap(@Self)^.clr := $00004000;
  50871. end;
  50872. procedure TPORTD_CNPDD.setCNPDD14(thebits : TBits_1); inline;
  50873. begin
  50874. if thebits = 0 then
  50875. pTDefRegMap(@Self)^.clr := $00004000
  50876. else
  50877. pTDefRegMap(@Self)^.&set := $00004000;
  50878. end;
  50879. function TPORTD_CNPDD.getCNPDD14 : TBits_1; inline;
  50880. begin
  50881. getCNPDD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  50882. end;
  50883. procedure TPORTD_CNPDD.setCNPDD15; inline;
  50884. begin
  50885. pTDefRegMap(@Self)^.&set := $00008000;
  50886. end;
  50887. procedure TPORTD_CNPDD.clearCNPDD15; inline;
  50888. begin
  50889. pTDefRegMap(@Self)^.clr := $00008000;
  50890. end;
  50891. procedure TPORTD_CNPDD.setCNPDD15(thebits : TBits_1); inline;
  50892. begin
  50893. if thebits = 0 then
  50894. pTDefRegMap(@Self)^.clr := $00008000
  50895. else
  50896. pTDefRegMap(@Self)^.&set := $00008000;
  50897. end;
  50898. function TPORTD_CNPDD.getCNPDD15 : TBits_1; inline;
  50899. begin
  50900. getCNPDD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50901. end;
  50902. procedure TPORTD_CNPDD.setw(thebits : TBits_32); inline;
  50903. begin
  50904. pTDefRegMap(@Self)^.val := thebits;
  50905. end;
  50906. function TPORTD_CNPDD.getw : TBits_32; inline;
  50907. begin
  50908. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50909. end;
  50910. procedure TPORTD_CNCOND.setSIDL; inline;
  50911. begin
  50912. pTDefRegMap(@Self)^.&set := $00002000;
  50913. end;
  50914. procedure TPORTD_CNCOND.clearSIDL; inline;
  50915. begin
  50916. pTDefRegMap(@Self)^.clr := $00002000;
  50917. end;
  50918. procedure TPORTD_CNCOND.setSIDL(thebits : TBits_1); inline;
  50919. begin
  50920. if thebits = 0 then
  50921. pTDefRegMap(@Self)^.clr := $00002000
  50922. else
  50923. pTDefRegMap(@Self)^.&set := $00002000;
  50924. end;
  50925. function TPORTD_CNCOND.getSIDL : TBits_1; inline;
  50926. begin
  50927. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50928. end;
  50929. procedure TPORTD_CNCOND.setON; inline;
  50930. begin
  50931. pTDefRegMap(@Self)^.&set := $00008000;
  50932. end;
  50933. procedure TPORTD_CNCOND.clearON; inline;
  50934. begin
  50935. pTDefRegMap(@Self)^.clr := $00008000;
  50936. end;
  50937. procedure TPORTD_CNCOND.setON(thebits : TBits_1); inline;
  50938. begin
  50939. if thebits = 0 then
  50940. pTDefRegMap(@Self)^.clr := $00008000
  50941. else
  50942. pTDefRegMap(@Self)^.&set := $00008000;
  50943. end;
  50944. function TPORTD_CNCOND.getON : TBits_1; inline;
  50945. begin
  50946. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50947. end;
  50948. procedure TPORTD_CNCOND.setw(thebits : TBits_32); inline;
  50949. begin
  50950. pTDefRegMap(@Self)^.val := thebits;
  50951. end;
  50952. function TPORTD_CNCOND.getw : TBits_32; inline;
  50953. begin
  50954. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50955. end;
  50956. procedure TPORTD_CNEND.setCNIED0; inline;
  50957. begin
  50958. pTDefRegMap(@Self)^.&set := $00000001;
  50959. end;
  50960. procedure TPORTD_CNEND.clearCNIED0; inline;
  50961. begin
  50962. pTDefRegMap(@Self)^.clr := $00000001;
  50963. end;
  50964. procedure TPORTD_CNEND.setCNIED0(thebits : TBits_1); inline;
  50965. begin
  50966. if thebits = 0 then
  50967. pTDefRegMap(@Self)^.clr := $00000001
  50968. else
  50969. pTDefRegMap(@Self)^.&set := $00000001;
  50970. end;
  50971. function TPORTD_CNEND.getCNIED0 : TBits_1; inline;
  50972. begin
  50973. getCNIED0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50974. end;
  50975. procedure TPORTD_CNEND.setCNIED1; inline;
  50976. begin
  50977. pTDefRegMap(@Self)^.&set := $00000002;
  50978. end;
  50979. procedure TPORTD_CNEND.clearCNIED1; inline;
  50980. begin
  50981. pTDefRegMap(@Self)^.clr := $00000002;
  50982. end;
  50983. procedure TPORTD_CNEND.setCNIED1(thebits : TBits_1); inline;
  50984. begin
  50985. if thebits = 0 then
  50986. pTDefRegMap(@Self)^.clr := $00000002
  50987. else
  50988. pTDefRegMap(@Self)^.&set := $00000002;
  50989. end;
  50990. function TPORTD_CNEND.getCNIED1 : TBits_1; inline;
  50991. begin
  50992. getCNIED1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50993. end;
  50994. procedure TPORTD_CNEND.setCNIED2; inline;
  50995. begin
  50996. pTDefRegMap(@Self)^.&set := $00000004;
  50997. end;
  50998. procedure TPORTD_CNEND.clearCNIED2; inline;
  50999. begin
  51000. pTDefRegMap(@Self)^.clr := $00000004;
  51001. end;
  51002. procedure TPORTD_CNEND.setCNIED2(thebits : TBits_1); inline;
  51003. begin
  51004. if thebits = 0 then
  51005. pTDefRegMap(@Self)^.clr := $00000004
  51006. else
  51007. pTDefRegMap(@Self)^.&set := $00000004;
  51008. end;
  51009. function TPORTD_CNEND.getCNIED2 : TBits_1; inline;
  51010. begin
  51011. getCNIED2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51012. end;
  51013. procedure TPORTD_CNEND.setCNIED3; inline;
  51014. begin
  51015. pTDefRegMap(@Self)^.&set := $00000008;
  51016. end;
  51017. procedure TPORTD_CNEND.clearCNIED3; inline;
  51018. begin
  51019. pTDefRegMap(@Self)^.clr := $00000008;
  51020. end;
  51021. procedure TPORTD_CNEND.setCNIED3(thebits : TBits_1); inline;
  51022. begin
  51023. if thebits = 0 then
  51024. pTDefRegMap(@Self)^.clr := $00000008
  51025. else
  51026. pTDefRegMap(@Self)^.&set := $00000008;
  51027. end;
  51028. function TPORTD_CNEND.getCNIED3 : TBits_1; inline;
  51029. begin
  51030. getCNIED3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51031. end;
  51032. procedure TPORTD_CNEND.setCNIED4; inline;
  51033. begin
  51034. pTDefRegMap(@Self)^.&set := $00000010;
  51035. end;
  51036. procedure TPORTD_CNEND.clearCNIED4; inline;
  51037. begin
  51038. pTDefRegMap(@Self)^.clr := $00000010;
  51039. end;
  51040. procedure TPORTD_CNEND.setCNIED4(thebits : TBits_1); inline;
  51041. begin
  51042. if thebits = 0 then
  51043. pTDefRegMap(@Self)^.clr := $00000010
  51044. else
  51045. pTDefRegMap(@Self)^.&set := $00000010;
  51046. end;
  51047. function TPORTD_CNEND.getCNIED4 : TBits_1; inline;
  51048. begin
  51049. getCNIED4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51050. end;
  51051. procedure TPORTD_CNEND.setCNIED5; inline;
  51052. begin
  51053. pTDefRegMap(@Self)^.&set := $00000020;
  51054. end;
  51055. procedure TPORTD_CNEND.clearCNIED5; inline;
  51056. begin
  51057. pTDefRegMap(@Self)^.clr := $00000020;
  51058. end;
  51059. procedure TPORTD_CNEND.setCNIED5(thebits : TBits_1); inline;
  51060. begin
  51061. if thebits = 0 then
  51062. pTDefRegMap(@Self)^.clr := $00000020
  51063. else
  51064. pTDefRegMap(@Self)^.&set := $00000020;
  51065. end;
  51066. function TPORTD_CNEND.getCNIED5 : TBits_1; inline;
  51067. begin
  51068. getCNIED5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51069. end;
  51070. procedure TPORTD_CNEND.setCNIED6; inline;
  51071. begin
  51072. pTDefRegMap(@Self)^.&set := $00000040;
  51073. end;
  51074. procedure TPORTD_CNEND.clearCNIED6; inline;
  51075. begin
  51076. pTDefRegMap(@Self)^.clr := $00000040;
  51077. end;
  51078. procedure TPORTD_CNEND.setCNIED6(thebits : TBits_1); inline;
  51079. begin
  51080. if thebits = 0 then
  51081. pTDefRegMap(@Self)^.clr := $00000040
  51082. else
  51083. pTDefRegMap(@Self)^.&set := $00000040;
  51084. end;
  51085. function TPORTD_CNEND.getCNIED6 : TBits_1; inline;
  51086. begin
  51087. getCNIED6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51088. end;
  51089. procedure TPORTD_CNEND.setCNIED7; inline;
  51090. begin
  51091. pTDefRegMap(@Self)^.&set := $00000080;
  51092. end;
  51093. procedure TPORTD_CNEND.clearCNIED7; inline;
  51094. begin
  51095. pTDefRegMap(@Self)^.clr := $00000080;
  51096. end;
  51097. procedure TPORTD_CNEND.setCNIED7(thebits : TBits_1); inline;
  51098. begin
  51099. if thebits = 0 then
  51100. pTDefRegMap(@Self)^.clr := $00000080
  51101. else
  51102. pTDefRegMap(@Self)^.&set := $00000080;
  51103. end;
  51104. function TPORTD_CNEND.getCNIED7 : TBits_1; inline;
  51105. begin
  51106. getCNIED7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51107. end;
  51108. procedure TPORTD_CNEND.setCNIED8; inline;
  51109. begin
  51110. pTDefRegMap(@Self)^.&set := $00000100;
  51111. end;
  51112. procedure TPORTD_CNEND.clearCNIED8; inline;
  51113. begin
  51114. pTDefRegMap(@Self)^.clr := $00000100;
  51115. end;
  51116. procedure TPORTD_CNEND.setCNIED8(thebits : TBits_1); inline;
  51117. begin
  51118. if thebits = 0 then
  51119. pTDefRegMap(@Self)^.clr := $00000100
  51120. else
  51121. pTDefRegMap(@Self)^.&set := $00000100;
  51122. end;
  51123. function TPORTD_CNEND.getCNIED8 : TBits_1; inline;
  51124. begin
  51125. getCNIED8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51126. end;
  51127. procedure TPORTD_CNEND.setCNIED9; inline;
  51128. begin
  51129. pTDefRegMap(@Self)^.&set := $00000200;
  51130. end;
  51131. procedure TPORTD_CNEND.clearCNIED9; inline;
  51132. begin
  51133. pTDefRegMap(@Self)^.clr := $00000200;
  51134. end;
  51135. procedure TPORTD_CNEND.setCNIED9(thebits : TBits_1); inline;
  51136. begin
  51137. if thebits = 0 then
  51138. pTDefRegMap(@Self)^.clr := $00000200
  51139. else
  51140. pTDefRegMap(@Self)^.&set := $00000200;
  51141. end;
  51142. function TPORTD_CNEND.getCNIED9 : TBits_1; inline;
  51143. begin
  51144. getCNIED9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  51145. end;
  51146. procedure TPORTD_CNEND.setCNIED10; inline;
  51147. begin
  51148. pTDefRegMap(@Self)^.&set := $00000400;
  51149. end;
  51150. procedure TPORTD_CNEND.clearCNIED10; inline;
  51151. begin
  51152. pTDefRegMap(@Self)^.clr := $00000400;
  51153. end;
  51154. procedure TPORTD_CNEND.setCNIED10(thebits : TBits_1); inline;
  51155. begin
  51156. if thebits = 0 then
  51157. pTDefRegMap(@Self)^.clr := $00000400
  51158. else
  51159. pTDefRegMap(@Self)^.&set := $00000400;
  51160. end;
  51161. function TPORTD_CNEND.getCNIED10 : TBits_1; inline;
  51162. begin
  51163. getCNIED10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  51164. end;
  51165. procedure TPORTD_CNEND.setCNIED11; inline;
  51166. begin
  51167. pTDefRegMap(@Self)^.&set := $00000800;
  51168. end;
  51169. procedure TPORTD_CNEND.clearCNIED11; inline;
  51170. begin
  51171. pTDefRegMap(@Self)^.clr := $00000800;
  51172. end;
  51173. procedure TPORTD_CNEND.setCNIED11(thebits : TBits_1); inline;
  51174. begin
  51175. if thebits = 0 then
  51176. pTDefRegMap(@Self)^.clr := $00000800
  51177. else
  51178. pTDefRegMap(@Self)^.&set := $00000800;
  51179. end;
  51180. function TPORTD_CNEND.getCNIED11 : TBits_1; inline;
  51181. begin
  51182. getCNIED11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  51183. end;
  51184. procedure TPORTD_CNEND.setCNIED12; inline;
  51185. begin
  51186. pTDefRegMap(@Self)^.&set := $00001000;
  51187. end;
  51188. procedure TPORTD_CNEND.clearCNIED12; inline;
  51189. begin
  51190. pTDefRegMap(@Self)^.clr := $00001000;
  51191. end;
  51192. procedure TPORTD_CNEND.setCNIED12(thebits : TBits_1); inline;
  51193. begin
  51194. if thebits = 0 then
  51195. pTDefRegMap(@Self)^.clr := $00001000
  51196. else
  51197. pTDefRegMap(@Self)^.&set := $00001000;
  51198. end;
  51199. function TPORTD_CNEND.getCNIED12 : TBits_1; inline;
  51200. begin
  51201. getCNIED12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51202. end;
  51203. procedure TPORTD_CNEND.setCNIED13; inline;
  51204. begin
  51205. pTDefRegMap(@Self)^.&set := $00002000;
  51206. end;
  51207. procedure TPORTD_CNEND.clearCNIED13; inline;
  51208. begin
  51209. pTDefRegMap(@Self)^.clr := $00002000;
  51210. end;
  51211. procedure TPORTD_CNEND.setCNIED13(thebits : TBits_1); inline;
  51212. begin
  51213. if thebits = 0 then
  51214. pTDefRegMap(@Self)^.clr := $00002000
  51215. else
  51216. pTDefRegMap(@Self)^.&set := $00002000;
  51217. end;
  51218. function TPORTD_CNEND.getCNIED13 : TBits_1; inline;
  51219. begin
  51220. getCNIED13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51221. end;
  51222. procedure TPORTD_CNEND.setCNIED14; inline;
  51223. begin
  51224. pTDefRegMap(@Self)^.&set := $00004000;
  51225. end;
  51226. procedure TPORTD_CNEND.clearCNIED14; inline;
  51227. begin
  51228. pTDefRegMap(@Self)^.clr := $00004000;
  51229. end;
  51230. procedure TPORTD_CNEND.setCNIED14(thebits : TBits_1); inline;
  51231. begin
  51232. if thebits = 0 then
  51233. pTDefRegMap(@Self)^.clr := $00004000
  51234. else
  51235. pTDefRegMap(@Self)^.&set := $00004000;
  51236. end;
  51237. function TPORTD_CNEND.getCNIED14 : TBits_1; inline;
  51238. begin
  51239. getCNIED14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  51240. end;
  51241. procedure TPORTD_CNEND.setCNIED15; inline;
  51242. begin
  51243. pTDefRegMap(@Self)^.&set := $00008000;
  51244. end;
  51245. procedure TPORTD_CNEND.clearCNIED15; inline;
  51246. begin
  51247. pTDefRegMap(@Self)^.clr := $00008000;
  51248. end;
  51249. procedure TPORTD_CNEND.setCNIED15(thebits : TBits_1); inline;
  51250. begin
  51251. if thebits = 0 then
  51252. pTDefRegMap(@Self)^.clr := $00008000
  51253. else
  51254. pTDefRegMap(@Self)^.&set := $00008000;
  51255. end;
  51256. function TPORTD_CNEND.getCNIED15 : TBits_1; inline;
  51257. begin
  51258. getCNIED15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  51259. end;
  51260. procedure TPORTD_CNEND.setw(thebits : TBits_32); inline;
  51261. begin
  51262. pTDefRegMap(@Self)^.val := thebits;
  51263. end;
  51264. function TPORTD_CNEND.getw : TBits_32; inline;
  51265. begin
  51266. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51267. end;
  51268. procedure TPORTD_CNSTATD.setCNSTATD0; inline;
  51269. begin
  51270. pTDefRegMap(@Self)^.&set := $00000001;
  51271. end;
  51272. procedure TPORTD_CNSTATD.clearCNSTATD0; inline;
  51273. begin
  51274. pTDefRegMap(@Self)^.clr := $00000001;
  51275. end;
  51276. procedure TPORTD_CNSTATD.setCNSTATD0(thebits : TBits_1); inline;
  51277. begin
  51278. if thebits = 0 then
  51279. pTDefRegMap(@Self)^.clr := $00000001
  51280. else
  51281. pTDefRegMap(@Self)^.&set := $00000001;
  51282. end;
  51283. function TPORTD_CNSTATD.getCNSTATD0 : TBits_1; inline;
  51284. begin
  51285. getCNSTATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51286. end;
  51287. procedure TPORTD_CNSTATD.setCNSTATD1; inline;
  51288. begin
  51289. pTDefRegMap(@Self)^.&set := $00000002;
  51290. end;
  51291. procedure TPORTD_CNSTATD.clearCNSTATD1; inline;
  51292. begin
  51293. pTDefRegMap(@Self)^.clr := $00000002;
  51294. end;
  51295. procedure TPORTD_CNSTATD.setCNSTATD1(thebits : TBits_1); inline;
  51296. begin
  51297. if thebits = 0 then
  51298. pTDefRegMap(@Self)^.clr := $00000002
  51299. else
  51300. pTDefRegMap(@Self)^.&set := $00000002;
  51301. end;
  51302. function TPORTD_CNSTATD.getCNSTATD1 : TBits_1; inline;
  51303. begin
  51304. getCNSTATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51305. end;
  51306. procedure TPORTD_CNSTATD.setCNSTATD2; inline;
  51307. begin
  51308. pTDefRegMap(@Self)^.&set := $00000004;
  51309. end;
  51310. procedure TPORTD_CNSTATD.clearCNSTATD2; inline;
  51311. begin
  51312. pTDefRegMap(@Self)^.clr := $00000004;
  51313. end;
  51314. procedure TPORTD_CNSTATD.setCNSTATD2(thebits : TBits_1); inline;
  51315. begin
  51316. if thebits = 0 then
  51317. pTDefRegMap(@Self)^.clr := $00000004
  51318. else
  51319. pTDefRegMap(@Self)^.&set := $00000004;
  51320. end;
  51321. function TPORTD_CNSTATD.getCNSTATD2 : TBits_1; inline;
  51322. begin
  51323. getCNSTATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51324. end;
  51325. procedure TPORTD_CNSTATD.setCNSTATD3; inline;
  51326. begin
  51327. pTDefRegMap(@Self)^.&set := $00000008;
  51328. end;
  51329. procedure TPORTD_CNSTATD.clearCNSTATD3; inline;
  51330. begin
  51331. pTDefRegMap(@Self)^.clr := $00000008;
  51332. end;
  51333. procedure TPORTD_CNSTATD.setCNSTATD3(thebits : TBits_1); inline;
  51334. begin
  51335. if thebits = 0 then
  51336. pTDefRegMap(@Self)^.clr := $00000008
  51337. else
  51338. pTDefRegMap(@Self)^.&set := $00000008;
  51339. end;
  51340. function TPORTD_CNSTATD.getCNSTATD3 : TBits_1; inline;
  51341. begin
  51342. getCNSTATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51343. end;
  51344. procedure TPORTD_CNSTATD.setCNSTATD4; inline;
  51345. begin
  51346. pTDefRegMap(@Self)^.&set := $00000010;
  51347. end;
  51348. procedure TPORTD_CNSTATD.clearCNSTATD4; inline;
  51349. begin
  51350. pTDefRegMap(@Self)^.clr := $00000010;
  51351. end;
  51352. procedure TPORTD_CNSTATD.setCNSTATD4(thebits : TBits_1); inline;
  51353. begin
  51354. if thebits = 0 then
  51355. pTDefRegMap(@Self)^.clr := $00000010
  51356. else
  51357. pTDefRegMap(@Self)^.&set := $00000010;
  51358. end;
  51359. function TPORTD_CNSTATD.getCNSTATD4 : TBits_1; inline;
  51360. begin
  51361. getCNSTATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51362. end;
  51363. procedure TPORTD_CNSTATD.setCNSTATD5; inline;
  51364. begin
  51365. pTDefRegMap(@Self)^.&set := $00000020;
  51366. end;
  51367. procedure TPORTD_CNSTATD.clearCNSTATD5; inline;
  51368. begin
  51369. pTDefRegMap(@Self)^.clr := $00000020;
  51370. end;
  51371. procedure TPORTD_CNSTATD.setCNSTATD5(thebits : TBits_1); inline;
  51372. begin
  51373. if thebits = 0 then
  51374. pTDefRegMap(@Self)^.clr := $00000020
  51375. else
  51376. pTDefRegMap(@Self)^.&set := $00000020;
  51377. end;
  51378. function TPORTD_CNSTATD.getCNSTATD5 : TBits_1; inline;
  51379. begin
  51380. getCNSTATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51381. end;
  51382. procedure TPORTD_CNSTATD.setCNSTATD6; inline;
  51383. begin
  51384. pTDefRegMap(@Self)^.&set := $00000040;
  51385. end;
  51386. procedure TPORTD_CNSTATD.clearCNSTATD6; inline;
  51387. begin
  51388. pTDefRegMap(@Self)^.clr := $00000040;
  51389. end;
  51390. procedure TPORTD_CNSTATD.setCNSTATD6(thebits : TBits_1); inline;
  51391. begin
  51392. if thebits = 0 then
  51393. pTDefRegMap(@Self)^.clr := $00000040
  51394. else
  51395. pTDefRegMap(@Self)^.&set := $00000040;
  51396. end;
  51397. function TPORTD_CNSTATD.getCNSTATD6 : TBits_1; inline;
  51398. begin
  51399. getCNSTATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51400. end;
  51401. procedure TPORTD_CNSTATD.setCNSTATD7; inline;
  51402. begin
  51403. pTDefRegMap(@Self)^.&set := $00000080;
  51404. end;
  51405. procedure TPORTD_CNSTATD.clearCNSTATD7; inline;
  51406. begin
  51407. pTDefRegMap(@Self)^.clr := $00000080;
  51408. end;
  51409. procedure TPORTD_CNSTATD.setCNSTATD7(thebits : TBits_1); inline;
  51410. begin
  51411. if thebits = 0 then
  51412. pTDefRegMap(@Self)^.clr := $00000080
  51413. else
  51414. pTDefRegMap(@Self)^.&set := $00000080;
  51415. end;
  51416. function TPORTD_CNSTATD.getCNSTATD7 : TBits_1; inline;
  51417. begin
  51418. getCNSTATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51419. end;
  51420. procedure TPORTD_CNSTATD.setCNSTATD8; inline;
  51421. begin
  51422. pTDefRegMap(@Self)^.&set := $00000100;
  51423. end;
  51424. procedure TPORTD_CNSTATD.clearCNSTATD8; inline;
  51425. begin
  51426. pTDefRegMap(@Self)^.clr := $00000100;
  51427. end;
  51428. procedure TPORTD_CNSTATD.setCNSTATD8(thebits : TBits_1); inline;
  51429. begin
  51430. if thebits = 0 then
  51431. pTDefRegMap(@Self)^.clr := $00000100
  51432. else
  51433. pTDefRegMap(@Self)^.&set := $00000100;
  51434. end;
  51435. function TPORTD_CNSTATD.getCNSTATD8 : TBits_1; inline;
  51436. begin
  51437. getCNSTATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51438. end;
  51439. procedure TPORTD_CNSTATD.setCNSTATD9; inline;
  51440. begin
  51441. pTDefRegMap(@Self)^.&set := $00000200;
  51442. end;
  51443. procedure TPORTD_CNSTATD.clearCNSTATD9; inline;
  51444. begin
  51445. pTDefRegMap(@Self)^.clr := $00000200;
  51446. end;
  51447. procedure TPORTD_CNSTATD.setCNSTATD9(thebits : TBits_1); inline;
  51448. begin
  51449. if thebits = 0 then
  51450. pTDefRegMap(@Self)^.clr := $00000200
  51451. else
  51452. pTDefRegMap(@Self)^.&set := $00000200;
  51453. end;
  51454. function TPORTD_CNSTATD.getCNSTATD9 : TBits_1; inline;
  51455. begin
  51456. getCNSTATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  51457. end;
  51458. procedure TPORTD_CNSTATD.setCNSTATD10; inline;
  51459. begin
  51460. pTDefRegMap(@Self)^.&set := $00000400;
  51461. end;
  51462. procedure TPORTD_CNSTATD.clearCNSTATD10; inline;
  51463. begin
  51464. pTDefRegMap(@Self)^.clr := $00000400;
  51465. end;
  51466. procedure TPORTD_CNSTATD.setCNSTATD10(thebits : TBits_1); inline;
  51467. begin
  51468. if thebits = 0 then
  51469. pTDefRegMap(@Self)^.clr := $00000400
  51470. else
  51471. pTDefRegMap(@Self)^.&set := $00000400;
  51472. end;
  51473. function TPORTD_CNSTATD.getCNSTATD10 : TBits_1; inline;
  51474. begin
  51475. getCNSTATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  51476. end;
  51477. procedure TPORTD_CNSTATD.setCNSTATD11; inline;
  51478. begin
  51479. pTDefRegMap(@Self)^.&set := $00000800;
  51480. end;
  51481. procedure TPORTD_CNSTATD.clearCNSTATD11; inline;
  51482. begin
  51483. pTDefRegMap(@Self)^.clr := $00000800;
  51484. end;
  51485. procedure TPORTD_CNSTATD.setCNSTATD11(thebits : TBits_1); inline;
  51486. begin
  51487. if thebits = 0 then
  51488. pTDefRegMap(@Self)^.clr := $00000800
  51489. else
  51490. pTDefRegMap(@Self)^.&set := $00000800;
  51491. end;
  51492. function TPORTD_CNSTATD.getCNSTATD11 : TBits_1; inline;
  51493. begin
  51494. getCNSTATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  51495. end;
  51496. procedure TPORTD_CNSTATD.setCNSTATD12; inline;
  51497. begin
  51498. pTDefRegMap(@Self)^.&set := $00001000;
  51499. end;
  51500. procedure TPORTD_CNSTATD.clearCNSTATD12; inline;
  51501. begin
  51502. pTDefRegMap(@Self)^.clr := $00001000;
  51503. end;
  51504. procedure TPORTD_CNSTATD.setCNSTATD12(thebits : TBits_1); inline;
  51505. begin
  51506. if thebits = 0 then
  51507. pTDefRegMap(@Self)^.clr := $00001000
  51508. else
  51509. pTDefRegMap(@Self)^.&set := $00001000;
  51510. end;
  51511. function TPORTD_CNSTATD.getCNSTATD12 : TBits_1; inline;
  51512. begin
  51513. getCNSTATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51514. end;
  51515. procedure TPORTD_CNSTATD.setCNSTATD13; inline;
  51516. begin
  51517. pTDefRegMap(@Self)^.&set := $00002000;
  51518. end;
  51519. procedure TPORTD_CNSTATD.clearCNSTATD13; inline;
  51520. begin
  51521. pTDefRegMap(@Self)^.clr := $00002000;
  51522. end;
  51523. procedure TPORTD_CNSTATD.setCNSTATD13(thebits : TBits_1); inline;
  51524. begin
  51525. if thebits = 0 then
  51526. pTDefRegMap(@Self)^.clr := $00002000
  51527. else
  51528. pTDefRegMap(@Self)^.&set := $00002000;
  51529. end;
  51530. function TPORTD_CNSTATD.getCNSTATD13 : TBits_1; inline;
  51531. begin
  51532. getCNSTATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51533. end;
  51534. procedure TPORTD_CNSTATD.setCNSTATD14; inline;
  51535. begin
  51536. pTDefRegMap(@Self)^.&set := $00004000;
  51537. end;
  51538. procedure TPORTD_CNSTATD.clearCNSTATD14; inline;
  51539. begin
  51540. pTDefRegMap(@Self)^.clr := $00004000;
  51541. end;
  51542. procedure TPORTD_CNSTATD.setCNSTATD14(thebits : TBits_1); inline;
  51543. begin
  51544. if thebits = 0 then
  51545. pTDefRegMap(@Self)^.clr := $00004000
  51546. else
  51547. pTDefRegMap(@Self)^.&set := $00004000;
  51548. end;
  51549. function TPORTD_CNSTATD.getCNSTATD14 : TBits_1; inline;
  51550. begin
  51551. getCNSTATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  51552. end;
  51553. procedure TPORTD_CNSTATD.setCNSTATD15; inline;
  51554. begin
  51555. pTDefRegMap(@Self)^.&set := $00008000;
  51556. end;
  51557. procedure TPORTD_CNSTATD.clearCNSTATD15; inline;
  51558. begin
  51559. pTDefRegMap(@Self)^.clr := $00008000;
  51560. end;
  51561. procedure TPORTD_CNSTATD.setCNSTATD15(thebits : TBits_1); inline;
  51562. begin
  51563. if thebits = 0 then
  51564. pTDefRegMap(@Self)^.clr := $00008000
  51565. else
  51566. pTDefRegMap(@Self)^.&set := $00008000;
  51567. end;
  51568. function TPORTD_CNSTATD.getCNSTATD15 : TBits_1; inline;
  51569. begin
  51570. getCNSTATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  51571. end;
  51572. procedure TPORTD_CNSTATD.setw(thebits : TBits_32); inline;
  51573. begin
  51574. pTDefRegMap(@Self)^.val := thebits;
  51575. end;
  51576. function TPORTD_CNSTATD.getw : TBits_32; inline;
  51577. begin
  51578. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51579. end;
  51580. procedure TPORTD_ANSELE.setANSE2; inline;
  51581. begin
  51582. pTDefRegMap(@Self)^.&set := $00000004;
  51583. end;
  51584. procedure TPORTD_ANSELE.clearANSE2; inline;
  51585. begin
  51586. pTDefRegMap(@Self)^.clr := $00000004;
  51587. end;
  51588. procedure TPORTD_ANSELE.setANSE2(thebits : TBits_1); inline;
  51589. begin
  51590. if thebits = 0 then
  51591. pTDefRegMap(@Self)^.clr := $00000004
  51592. else
  51593. pTDefRegMap(@Self)^.&set := $00000004;
  51594. end;
  51595. function TPORTD_ANSELE.getANSE2 : TBits_1; inline;
  51596. begin
  51597. getANSE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51598. end;
  51599. procedure TPORTD_ANSELE.setANSE4; inline;
  51600. begin
  51601. pTDefRegMap(@Self)^.&set := $00000010;
  51602. end;
  51603. procedure TPORTD_ANSELE.clearANSE4; inline;
  51604. begin
  51605. pTDefRegMap(@Self)^.clr := $00000010;
  51606. end;
  51607. procedure TPORTD_ANSELE.setANSE4(thebits : TBits_1); inline;
  51608. begin
  51609. if thebits = 0 then
  51610. pTDefRegMap(@Self)^.clr := $00000010
  51611. else
  51612. pTDefRegMap(@Self)^.&set := $00000010;
  51613. end;
  51614. function TPORTD_ANSELE.getANSE4 : TBits_1; inline;
  51615. begin
  51616. getANSE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51617. end;
  51618. procedure TPORTD_ANSELE.setANSE5; inline;
  51619. begin
  51620. pTDefRegMap(@Self)^.&set := $00000020;
  51621. end;
  51622. procedure TPORTD_ANSELE.clearANSE5; inline;
  51623. begin
  51624. pTDefRegMap(@Self)^.clr := $00000020;
  51625. end;
  51626. procedure TPORTD_ANSELE.setANSE5(thebits : TBits_1); inline;
  51627. begin
  51628. if thebits = 0 then
  51629. pTDefRegMap(@Self)^.clr := $00000020
  51630. else
  51631. pTDefRegMap(@Self)^.&set := $00000020;
  51632. end;
  51633. function TPORTD_ANSELE.getANSE5 : TBits_1; inline;
  51634. begin
  51635. getANSE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51636. end;
  51637. procedure TPORTD_ANSELE.setANSE6; inline;
  51638. begin
  51639. pTDefRegMap(@Self)^.&set := $00000040;
  51640. end;
  51641. procedure TPORTD_ANSELE.clearANSE6; inline;
  51642. begin
  51643. pTDefRegMap(@Self)^.clr := $00000040;
  51644. end;
  51645. procedure TPORTD_ANSELE.setANSE6(thebits : TBits_1); inline;
  51646. begin
  51647. if thebits = 0 then
  51648. pTDefRegMap(@Self)^.clr := $00000040
  51649. else
  51650. pTDefRegMap(@Self)^.&set := $00000040;
  51651. end;
  51652. function TPORTD_ANSELE.getANSE6 : TBits_1; inline;
  51653. begin
  51654. getANSE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51655. end;
  51656. procedure TPORTD_ANSELE.setANSE7; inline;
  51657. begin
  51658. pTDefRegMap(@Self)^.&set := $00000080;
  51659. end;
  51660. procedure TPORTD_ANSELE.clearANSE7; inline;
  51661. begin
  51662. pTDefRegMap(@Self)^.clr := $00000080;
  51663. end;
  51664. procedure TPORTD_ANSELE.setANSE7(thebits : TBits_1); inline;
  51665. begin
  51666. if thebits = 0 then
  51667. pTDefRegMap(@Self)^.clr := $00000080
  51668. else
  51669. pTDefRegMap(@Self)^.&set := $00000080;
  51670. end;
  51671. function TPORTD_ANSELE.getANSE7 : TBits_1; inline;
  51672. begin
  51673. getANSE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51674. end;
  51675. procedure TPORTD_ANSELE.setw(thebits : TBits_32); inline;
  51676. begin
  51677. pTDefRegMap(@Self)^.val := thebits;
  51678. end;
  51679. function TPORTD_ANSELE.getw : TBits_32; inline;
  51680. begin
  51681. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51682. end;
  51683. procedure TPORTD_TRISE.setTRISE0; inline;
  51684. begin
  51685. pTDefRegMap(@Self)^.&set := $00000001;
  51686. end;
  51687. procedure TPORTD_TRISE.clearTRISE0; inline;
  51688. begin
  51689. pTDefRegMap(@Self)^.clr := $00000001;
  51690. end;
  51691. procedure TPORTD_TRISE.setTRISE0(thebits : TBits_1); inline;
  51692. begin
  51693. if thebits = 0 then
  51694. pTDefRegMap(@Self)^.clr := $00000001
  51695. else
  51696. pTDefRegMap(@Self)^.&set := $00000001;
  51697. end;
  51698. function TPORTD_TRISE.getTRISE0 : TBits_1; inline;
  51699. begin
  51700. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51701. end;
  51702. procedure TPORTD_TRISE.setTRISE1; inline;
  51703. begin
  51704. pTDefRegMap(@Self)^.&set := $00000002;
  51705. end;
  51706. procedure TPORTD_TRISE.clearTRISE1; inline;
  51707. begin
  51708. pTDefRegMap(@Self)^.clr := $00000002;
  51709. end;
  51710. procedure TPORTD_TRISE.setTRISE1(thebits : TBits_1); inline;
  51711. begin
  51712. if thebits = 0 then
  51713. pTDefRegMap(@Self)^.clr := $00000002
  51714. else
  51715. pTDefRegMap(@Self)^.&set := $00000002;
  51716. end;
  51717. function TPORTD_TRISE.getTRISE1 : TBits_1; inline;
  51718. begin
  51719. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51720. end;
  51721. procedure TPORTD_TRISE.setTRISE2; inline;
  51722. begin
  51723. pTDefRegMap(@Self)^.&set := $00000004;
  51724. end;
  51725. procedure TPORTD_TRISE.clearTRISE2; inline;
  51726. begin
  51727. pTDefRegMap(@Self)^.clr := $00000004;
  51728. end;
  51729. procedure TPORTD_TRISE.setTRISE2(thebits : TBits_1); inline;
  51730. begin
  51731. if thebits = 0 then
  51732. pTDefRegMap(@Self)^.clr := $00000004
  51733. else
  51734. pTDefRegMap(@Self)^.&set := $00000004;
  51735. end;
  51736. function TPORTD_TRISE.getTRISE2 : TBits_1; inline;
  51737. begin
  51738. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51739. end;
  51740. procedure TPORTD_TRISE.setTRISE3; inline;
  51741. begin
  51742. pTDefRegMap(@Self)^.&set := $00000008;
  51743. end;
  51744. procedure TPORTD_TRISE.clearTRISE3; inline;
  51745. begin
  51746. pTDefRegMap(@Self)^.clr := $00000008;
  51747. end;
  51748. procedure TPORTD_TRISE.setTRISE3(thebits : TBits_1); inline;
  51749. begin
  51750. if thebits = 0 then
  51751. pTDefRegMap(@Self)^.clr := $00000008
  51752. else
  51753. pTDefRegMap(@Self)^.&set := $00000008;
  51754. end;
  51755. function TPORTD_TRISE.getTRISE3 : TBits_1; inline;
  51756. begin
  51757. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51758. end;
  51759. procedure TPORTD_TRISE.setTRISE4; inline;
  51760. begin
  51761. pTDefRegMap(@Self)^.&set := $00000010;
  51762. end;
  51763. procedure TPORTD_TRISE.clearTRISE4; inline;
  51764. begin
  51765. pTDefRegMap(@Self)^.clr := $00000010;
  51766. end;
  51767. procedure TPORTD_TRISE.setTRISE4(thebits : TBits_1); inline;
  51768. begin
  51769. if thebits = 0 then
  51770. pTDefRegMap(@Self)^.clr := $00000010
  51771. else
  51772. pTDefRegMap(@Self)^.&set := $00000010;
  51773. end;
  51774. function TPORTD_TRISE.getTRISE4 : TBits_1; inline;
  51775. begin
  51776. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51777. end;
  51778. procedure TPORTD_TRISE.setTRISE5; inline;
  51779. begin
  51780. pTDefRegMap(@Self)^.&set := $00000020;
  51781. end;
  51782. procedure TPORTD_TRISE.clearTRISE5; inline;
  51783. begin
  51784. pTDefRegMap(@Self)^.clr := $00000020;
  51785. end;
  51786. procedure TPORTD_TRISE.setTRISE5(thebits : TBits_1); inline;
  51787. begin
  51788. if thebits = 0 then
  51789. pTDefRegMap(@Self)^.clr := $00000020
  51790. else
  51791. pTDefRegMap(@Self)^.&set := $00000020;
  51792. end;
  51793. function TPORTD_TRISE.getTRISE5 : TBits_1; inline;
  51794. begin
  51795. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51796. end;
  51797. procedure TPORTD_TRISE.setTRISE6; inline;
  51798. begin
  51799. pTDefRegMap(@Self)^.&set := $00000040;
  51800. end;
  51801. procedure TPORTD_TRISE.clearTRISE6; inline;
  51802. begin
  51803. pTDefRegMap(@Self)^.clr := $00000040;
  51804. end;
  51805. procedure TPORTD_TRISE.setTRISE6(thebits : TBits_1); inline;
  51806. begin
  51807. if thebits = 0 then
  51808. pTDefRegMap(@Self)^.clr := $00000040
  51809. else
  51810. pTDefRegMap(@Self)^.&set := $00000040;
  51811. end;
  51812. function TPORTD_TRISE.getTRISE6 : TBits_1; inline;
  51813. begin
  51814. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51815. end;
  51816. procedure TPORTD_TRISE.setTRISE7; inline;
  51817. begin
  51818. pTDefRegMap(@Self)^.&set := $00000080;
  51819. end;
  51820. procedure TPORTD_TRISE.clearTRISE7; inline;
  51821. begin
  51822. pTDefRegMap(@Self)^.clr := $00000080;
  51823. end;
  51824. procedure TPORTD_TRISE.setTRISE7(thebits : TBits_1); inline;
  51825. begin
  51826. if thebits = 0 then
  51827. pTDefRegMap(@Self)^.clr := $00000080
  51828. else
  51829. pTDefRegMap(@Self)^.&set := $00000080;
  51830. end;
  51831. function TPORTD_TRISE.getTRISE7 : TBits_1; inline;
  51832. begin
  51833. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51834. end;
  51835. procedure TPORTD_TRISE.setTRISE8; inline;
  51836. begin
  51837. pTDefRegMap(@Self)^.&set := $00000100;
  51838. end;
  51839. procedure TPORTD_TRISE.clearTRISE8; inline;
  51840. begin
  51841. pTDefRegMap(@Self)^.clr := $00000100;
  51842. end;
  51843. procedure TPORTD_TRISE.setTRISE8(thebits : TBits_1); inline;
  51844. begin
  51845. if thebits = 0 then
  51846. pTDefRegMap(@Self)^.clr := $00000100
  51847. else
  51848. pTDefRegMap(@Self)^.&set := $00000100;
  51849. end;
  51850. function TPORTD_TRISE.getTRISE8 : TBits_1; inline;
  51851. begin
  51852. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51853. end;
  51854. procedure TPORTD_TRISE.setTRISE9; inline;
  51855. begin
  51856. pTDefRegMap(@Self)^.&set := $00000200;
  51857. end;
  51858. procedure TPORTD_TRISE.clearTRISE9; inline;
  51859. begin
  51860. pTDefRegMap(@Self)^.clr := $00000200;
  51861. end;
  51862. procedure TPORTD_TRISE.setTRISE9(thebits : TBits_1); inline;
  51863. begin
  51864. if thebits = 0 then
  51865. pTDefRegMap(@Self)^.clr := $00000200
  51866. else
  51867. pTDefRegMap(@Self)^.&set := $00000200;
  51868. end;
  51869. function TPORTD_TRISE.getTRISE9 : TBits_1; inline;
  51870. begin
  51871. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  51872. end;
  51873. procedure TPORTD_TRISE.setw(thebits : TBits_32); inline;
  51874. begin
  51875. pTDefRegMap(@Self)^.val := thebits;
  51876. end;
  51877. function TPORTD_TRISE.getw : TBits_32; inline;
  51878. begin
  51879. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51880. end;
  51881. procedure TPORTE_PORTE.setRE0; inline;
  51882. begin
  51883. pTDefRegMap(@Self)^.&set := $00000001;
  51884. end;
  51885. procedure TPORTE_PORTE.clearRE0; inline;
  51886. begin
  51887. pTDefRegMap(@Self)^.clr := $00000001;
  51888. end;
  51889. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  51890. begin
  51891. if thebits = 0 then
  51892. pTDefRegMap(@Self)^.clr := $00000001
  51893. else
  51894. pTDefRegMap(@Self)^.&set := $00000001;
  51895. end;
  51896. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  51897. begin
  51898. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51899. end;
  51900. procedure TPORTE_PORTE.setRE1; inline;
  51901. begin
  51902. pTDefRegMap(@Self)^.&set := $00000002;
  51903. end;
  51904. procedure TPORTE_PORTE.clearRE1; inline;
  51905. begin
  51906. pTDefRegMap(@Self)^.clr := $00000002;
  51907. end;
  51908. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  51909. begin
  51910. if thebits = 0 then
  51911. pTDefRegMap(@Self)^.clr := $00000002
  51912. else
  51913. pTDefRegMap(@Self)^.&set := $00000002;
  51914. end;
  51915. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  51916. begin
  51917. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51918. end;
  51919. procedure TPORTE_PORTE.setRE2; inline;
  51920. begin
  51921. pTDefRegMap(@Self)^.&set := $00000004;
  51922. end;
  51923. procedure TPORTE_PORTE.clearRE2; inline;
  51924. begin
  51925. pTDefRegMap(@Self)^.clr := $00000004;
  51926. end;
  51927. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  51928. begin
  51929. if thebits = 0 then
  51930. pTDefRegMap(@Self)^.clr := $00000004
  51931. else
  51932. pTDefRegMap(@Self)^.&set := $00000004;
  51933. end;
  51934. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  51935. begin
  51936. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51937. end;
  51938. procedure TPORTE_PORTE.setRE3; inline;
  51939. begin
  51940. pTDefRegMap(@Self)^.&set := $00000008;
  51941. end;
  51942. procedure TPORTE_PORTE.clearRE3; inline;
  51943. begin
  51944. pTDefRegMap(@Self)^.clr := $00000008;
  51945. end;
  51946. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  51947. begin
  51948. if thebits = 0 then
  51949. pTDefRegMap(@Self)^.clr := $00000008
  51950. else
  51951. pTDefRegMap(@Self)^.&set := $00000008;
  51952. end;
  51953. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  51954. begin
  51955. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51956. end;
  51957. procedure TPORTE_PORTE.setRE4; inline;
  51958. begin
  51959. pTDefRegMap(@Self)^.&set := $00000010;
  51960. end;
  51961. procedure TPORTE_PORTE.clearRE4; inline;
  51962. begin
  51963. pTDefRegMap(@Self)^.clr := $00000010;
  51964. end;
  51965. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  51966. begin
  51967. if thebits = 0 then
  51968. pTDefRegMap(@Self)^.clr := $00000010
  51969. else
  51970. pTDefRegMap(@Self)^.&set := $00000010;
  51971. end;
  51972. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  51973. begin
  51974. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51975. end;
  51976. procedure TPORTE_PORTE.setRE5; inline;
  51977. begin
  51978. pTDefRegMap(@Self)^.&set := $00000020;
  51979. end;
  51980. procedure TPORTE_PORTE.clearRE5; inline;
  51981. begin
  51982. pTDefRegMap(@Self)^.clr := $00000020;
  51983. end;
  51984. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  51985. begin
  51986. if thebits = 0 then
  51987. pTDefRegMap(@Self)^.clr := $00000020
  51988. else
  51989. pTDefRegMap(@Self)^.&set := $00000020;
  51990. end;
  51991. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  51992. begin
  51993. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51994. end;
  51995. procedure TPORTE_PORTE.setRE6; inline;
  51996. begin
  51997. pTDefRegMap(@Self)^.&set := $00000040;
  51998. end;
  51999. procedure TPORTE_PORTE.clearRE6; inline;
  52000. begin
  52001. pTDefRegMap(@Self)^.clr := $00000040;
  52002. end;
  52003. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  52004. begin
  52005. if thebits = 0 then
  52006. pTDefRegMap(@Self)^.clr := $00000040
  52007. else
  52008. pTDefRegMap(@Self)^.&set := $00000040;
  52009. end;
  52010. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  52011. begin
  52012. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52013. end;
  52014. procedure TPORTE_PORTE.setRE7; inline;
  52015. begin
  52016. pTDefRegMap(@Self)^.&set := $00000080;
  52017. end;
  52018. procedure TPORTE_PORTE.clearRE7; inline;
  52019. begin
  52020. pTDefRegMap(@Self)^.clr := $00000080;
  52021. end;
  52022. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  52023. begin
  52024. if thebits = 0 then
  52025. pTDefRegMap(@Self)^.clr := $00000080
  52026. else
  52027. pTDefRegMap(@Self)^.&set := $00000080;
  52028. end;
  52029. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  52030. begin
  52031. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52032. end;
  52033. procedure TPORTE_PORTE.setRE8; inline;
  52034. begin
  52035. pTDefRegMap(@Self)^.&set := $00000100;
  52036. end;
  52037. procedure TPORTE_PORTE.clearRE8; inline;
  52038. begin
  52039. pTDefRegMap(@Self)^.clr := $00000100;
  52040. end;
  52041. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  52042. begin
  52043. if thebits = 0 then
  52044. pTDefRegMap(@Self)^.clr := $00000100
  52045. else
  52046. pTDefRegMap(@Self)^.&set := $00000100;
  52047. end;
  52048. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  52049. begin
  52050. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52051. end;
  52052. procedure TPORTE_PORTE.setRE9; inline;
  52053. begin
  52054. pTDefRegMap(@Self)^.&set := $00000200;
  52055. end;
  52056. procedure TPORTE_PORTE.clearRE9; inline;
  52057. begin
  52058. pTDefRegMap(@Self)^.clr := $00000200;
  52059. end;
  52060. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  52061. begin
  52062. if thebits = 0 then
  52063. pTDefRegMap(@Self)^.clr := $00000200
  52064. else
  52065. pTDefRegMap(@Self)^.&set := $00000200;
  52066. end;
  52067. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  52068. begin
  52069. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52070. end;
  52071. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  52072. begin
  52073. pTDefRegMap(@Self)^.val := thebits;
  52074. end;
  52075. function TPORTE_PORTE.getw : TBits_32; inline;
  52076. begin
  52077. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52078. end;
  52079. procedure TPORTE_LATE.setLATE0; inline;
  52080. begin
  52081. pTDefRegMap(@Self)^.&set := $00000001;
  52082. end;
  52083. procedure TPORTE_LATE.clearLATE0; inline;
  52084. begin
  52085. pTDefRegMap(@Self)^.clr := $00000001;
  52086. end;
  52087. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  52088. begin
  52089. if thebits = 0 then
  52090. pTDefRegMap(@Self)^.clr := $00000001
  52091. else
  52092. pTDefRegMap(@Self)^.&set := $00000001;
  52093. end;
  52094. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  52095. begin
  52096. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52097. end;
  52098. procedure TPORTE_LATE.setLATE1; inline;
  52099. begin
  52100. pTDefRegMap(@Self)^.&set := $00000002;
  52101. end;
  52102. procedure TPORTE_LATE.clearLATE1; inline;
  52103. begin
  52104. pTDefRegMap(@Self)^.clr := $00000002;
  52105. end;
  52106. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  52107. begin
  52108. if thebits = 0 then
  52109. pTDefRegMap(@Self)^.clr := $00000002
  52110. else
  52111. pTDefRegMap(@Self)^.&set := $00000002;
  52112. end;
  52113. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  52114. begin
  52115. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52116. end;
  52117. procedure TPORTE_LATE.setLATE2; inline;
  52118. begin
  52119. pTDefRegMap(@Self)^.&set := $00000004;
  52120. end;
  52121. procedure TPORTE_LATE.clearLATE2; inline;
  52122. begin
  52123. pTDefRegMap(@Self)^.clr := $00000004;
  52124. end;
  52125. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  52126. begin
  52127. if thebits = 0 then
  52128. pTDefRegMap(@Self)^.clr := $00000004
  52129. else
  52130. pTDefRegMap(@Self)^.&set := $00000004;
  52131. end;
  52132. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  52133. begin
  52134. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52135. end;
  52136. procedure TPORTE_LATE.setLATE3; inline;
  52137. begin
  52138. pTDefRegMap(@Self)^.&set := $00000008;
  52139. end;
  52140. procedure TPORTE_LATE.clearLATE3; inline;
  52141. begin
  52142. pTDefRegMap(@Self)^.clr := $00000008;
  52143. end;
  52144. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  52145. begin
  52146. if thebits = 0 then
  52147. pTDefRegMap(@Self)^.clr := $00000008
  52148. else
  52149. pTDefRegMap(@Self)^.&set := $00000008;
  52150. end;
  52151. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  52152. begin
  52153. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52154. end;
  52155. procedure TPORTE_LATE.setLATE4; inline;
  52156. begin
  52157. pTDefRegMap(@Self)^.&set := $00000010;
  52158. end;
  52159. procedure TPORTE_LATE.clearLATE4; inline;
  52160. begin
  52161. pTDefRegMap(@Self)^.clr := $00000010;
  52162. end;
  52163. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  52164. begin
  52165. if thebits = 0 then
  52166. pTDefRegMap(@Self)^.clr := $00000010
  52167. else
  52168. pTDefRegMap(@Self)^.&set := $00000010;
  52169. end;
  52170. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  52171. begin
  52172. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52173. end;
  52174. procedure TPORTE_LATE.setLATE5; inline;
  52175. begin
  52176. pTDefRegMap(@Self)^.&set := $00000020;
  52177. end;
  52178. procedure TPORTE_LATE.clearLATE5; inline;
  52179. begin
  52180. pTDefRegMap(@Self)^.clr := $00000020;
  52181. end;
  52182. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  52183. begin
  52184. if thebits = 0 then
  52185. pTDefRegMap(@Self)^.clr := $00000020
  52186. else
  52187. pTDefRegMap(@Self)^.&set := $00000020;
  52188. end;
  52189. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  52190. begin
  52191. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52192. end;
  52193. procedure TPORTE_LATE.setLATE6; inline;
  52194. begin
  52195. pTDefRegMap(@Self)^.&set := $00000040;
  52196. end;
  52197. procedure TPORTE_LATE.clearLATE6; inline;
  52198. begin
  52199. pTDefRegMap(@Self)^.clr := $00000040;
  52200. end;
  52201. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  52202. begin
  52203. if thebits = 0 then
  52204. pTDefRegMap(@Self)^.clr := $00000040
  52205. else
  52206. pTDefRegMap(@Self)^.&set := $00000040;
  52207. end;
  52208. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  52209. begin
  52210. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52211. end;
  52212. procedure TPORTE_LATE.setLATE7; inline;
  52213. begin
  52214. pTDefRegMap(@Self)^.&set := $00000080;
  52215. end;
  52216. procedure TPORTE_LATE.clearLATE7; inline;
  52217. begin
  52218. pTDefRegMap(@Self)^.clr := $00000080;
  52219. end;
  52220. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  52221. begin
  52222. if thebits = 0 then
  52223. pTDefRegMap(@Self)^.clr := $00000080
  52224. else
  52225. pTDefRegMap(@Self)^.&set := $00000080;
  52226. end;
  52227. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  52228. begin
  52229. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52230. end;
  52231. procedure TPORTE_LATE.setLATE8; inline;
  52232. begin
  52233. pTDefRegMap(@Self)^.&set := $00000100;
  52234. end;
  52235. procedure TPORTE_LATE.clearLATE8; inline;
  52236. begin
  52237. pTDefRegMap(@Self)^.clr := $00000100;
  52238. end;
  52239. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  52240. begin
  52241. if thebits = 0 then
  52242. pTDefRegMap(@Self)^.clr := $00000100
  52243. else
  52244. pTDefRegMap(@Self)^.&set := $00000100;
  52245. end;
  52246. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  52247. begin
  52248. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52249. end;
  52250. procedure TPORTE_LATE.setLATE9; inline;
  52251. begin
  52252. pTDefRegMap(@Self)^.&set := $00000200;
  52253. end;
  52254. procedure TPORTE_LATE.clearLATE9; inline;
  52255. begin
  52256. pTDefRegMap(@Self)^.clr := $00000200;
  52257. end;
  52258. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  52259. begin
  52260. if thebits = 0 then
  52261. pTDefRegMap(@Self)^.clr := $00000200
  52262. else
  52263. pTDefRegMap(@Self)^.&set := $00000200;
  52264. end;
  52265. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  52266. begin
  52267. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52268. end;
  52269. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  52270. begin
  52271. pTDefRegMap(@Self)^.val := thebits;
  52272. end;
  52273. function TPORTE_LATE.getw : TBits_32; inline;
  52274. begin
  52275. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52276. end;
  52277. procedure TPORTE_ODCE.setODCE0; inline;
  52278. begin
  52279. pTDefRegMap(@Self)^.&set := $00000001;
  52280. end;
  52281. procedure TPORTE_ODCE.clearODCE0; inline;
  52282. begin
  52283. pTDefRegMap(@Self)^.clr := $00000001;
  52284. end;
  52285. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  52286. begin
  52287. if thebits = 0 then
  52288. pTDefRegMap(@Self)^.clr := $00000001
  52289. else
  52290. pTDefRegMap(@Self)^.&set := $00000001;
  52291. end;
  52292. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  52293. begin
  52294. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52295. end;
  52296. procedure TPORTE_ODCE.setODCE1; inline;
  52297. begin
  52298. pTDefRegMap(@Self)^.&set := $00000002;
  52299. end;
  52300. procedure TPORTE_ODCE.clearODCE1; inline;
  52301. begin
  52302. pTDefRegMap(@Self)^.clr := $00000002;
  52303. end;
  52304. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  52305. begin
  52306. if thebits = 0 then
  52307. pTDefRegMap(@Self)^.clr := $00000002
  52308. else
  52309. pTDefRegMap(@Self)^.&set := $00000002;
  52310. end;
  52311. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  52312. begin
  52313. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52314. end;
  52315. procedure TPORTE_ODCE.setODCE2; inline;
  52316. begin
  52317. pTDefRegMap(@Self)^.&set := $00000004;
  52318. end;
  52319. procedure TPORTE_ODCE.clearODCE2; inline;
  52320. begin
  52321. pTDefRegMap(@Self)^.clr := $00000004;
  52322. end;
  52323. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  52324. begin
  52325. if thebits = 0 then
  52326. pTDefRegMap(@Self)^.clr := $00000004
  52327. else
  52328. pTDefRegMap(@Self)^.&set := $00000004;
  52329. end;
  52330. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  52331. begin
  52332. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52333. end;
  52334. procedure TPORTE_ODCE.setODCE3; inline;
  52335. begin
  52336. pTDefRegMap(@Self)^.&set := $00000008;
  52337. end;
  52338. procedure TPORTE_ODCE.clearODCE3; inline;
  52339. begin
  52340. pTDefRegMap(@Self)^.clr := $00000008;
  52341. end;
  52342. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  52343. begin
  52344. if thebits = 0 then
  52345. pTDefRegMap(@Self)^.clr := $00000008
  52346. else
  52347. pTDefRegMap(@Self)^.&set := $00000008;
  52348. end;
  52349. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  52350. begin
  52351. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52352. end;
  52353. procedure TPORTE_ODCE.setODCE4; inline;
  52354. begin
  52355. pTDefRegMap(@Self)^.&set := $00000010;
  52356. end;
  52357. procedure TPORTE_ODCE.clearODCE4; inline;
  52358. begin
  52359. pTDefRegMap(@Self)^.clr := $00000010;
  52360. end;
  52361. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  52362. begin
  52363. if thebits = 0 then
  52364. pTDefRegMap(@Self)^.clr := $00000010
  52365. else
  52366. pTDefRegMap(@Self)^.&set := $00000010;
  52367. end;
  52368. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  52369. begin
  52370. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52371. end;
  52372. procedure TPORTE_ODCE.setODCE5; inline;
  52373. begin
  52374. pTDefRegMap(@Self)^.&set := $00000020;
  52375. end;
  52376. procedure TPORTE_ODCE.clearODCE5; inline;
  52377. begin
  52378. pTDefRegMap(@Self)^.clr := $00000020;
  52379. end;
  52380. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  52381. begin
  52382. if thebits = 0 then
  52383. pTDefRegMap(@Self)^.clr := $00000020
  52384. else
  52385. pTDefRegMap(@Self)^.&set := $00000020;
  52386. end;
  52387. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  52388. begin
  52389. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52390. end;
  52391. procedure TPORTE_ODCE.setODCE6; inline;
  52392. begin
  52393. pTDefRegMap(@Self)^.&set := $00000040;
  52394. end;
  52395. procedure TPORTE_ODCE.clearODCE6; inline;
  52396. begin
  52397. pTDefRegMap(@Self)^.clr := $00000040;
  52398. end;
  52399. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  52400. begin
  52401. if thebits = 0 then
  52402. pTDefRegMap(@Self)^.clr := $00000040
  52403. else
  52404. pTDefRegMap(@Self)^.&set := $00000040;
  52405. end;
  52406. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  52407. begin
  52408. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52409. end;
  52410. procedure TPORTE_ODCE.setODCE7; inline;
  52411. begin
  52412. pTDefRegMap(@Self)^.&set := $00000080;
  52413. end;
  52414. procedure TPORTE_ODCE.clearODCE7; inline;
  52415. begin
  52416. pTDefRegMap(@Self)^.clr := $00000080;
  52417. end;
  52418. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  52419. begin
  52420. if thebits = 0 then
  52421. pTDefRegMap(@Self)^.clr := $00000080
  52422. else
  52423. pTDefRegMap(@Self)^.&set := $00000080;
  52424. end;
  52425. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  52426. begin
  52427. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52428. end;
  52429. procedure TPORTE_ODCE.setODCE8; inline;
  52430. begin
  52431. pTDefRegMap(@Self)^.&set := $00000100;
  52432. end;
  52433. procedure TPORTE_ODCE.clearODCE8; inline;
  52434. begin
  52435. pTDefRegMap(@Self)^.clr := $00000100;
  52436. end;
  52437. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  52438. begin
  52439. if thebits = 0 then
  52440. pTDefRegMap(@Self)^.clr := $00000100
  52441. else
  52442. pTDefRegMap(@Self)^.&set := $00000100;
  52443. end;
  52444. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  52445. begin
  52446. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52447. end;
  52448. procedure TPORTE_ODCE.setODCE9; inline;
  52449. begin
  52450. pTDefRegMap(@Self)^.&set := $00000200;
  52451. end;
  52452. procedure TPORTE_ODCE.clearODCE9; inline;
  52453. begin
  52454. pTDefRegMap(@Self)^.clr := $00000200;
  52455. end;
  52456. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  52457. begin
  52458. if thebits = 0 then
  52459. pTDefRegMap(@Self)^.clr := $00000200
  52460. else
  52461. pTDefRegMap(@Self)^.&set := $00000200;
  52462. end;
  52463. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  52464. begin
  52465. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52466. end;
  52467. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  52468. begin
  52469. pTDefRegMap(@Self)^.val := thebits;
  52470. end;
  52471. function TPORTE_ODCE.getw : TBits_32; inline;
  52472. begin
  52473. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52474. end;
  52475. procedure TPORTE_CNPUE.setCNPUE0; inline;
  52476. begin
  52477. pTDefRegMap(@Self)^.&set := $00000001;
  52478. end;
  52479. procedure TPORTE_CNPUE.clearCNPUE0; inline;
  52480. begin
  52481. pTDefRegMap(@Self)^.clr := $00000001;
  52482. end;
  52483. procedure TPORTE_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  52484. begin
  52485. if thebits = 0 then
  52486. pTDefRegMap(@Self)^.clr := $00000001
  52487. else
  52488. pTDefRegMap(@Self)^.&set := $00000001;
  52489. end;
  52490. function TPORTE_CNPUE.getCNPUE0 : TBits_1; inline;
  52491. begin
  52492. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52493. end;
  52494. procedure TPORTE_CNPUE.setCNPUE1; inline;
  52495. begin
  52496. pTDefRegMap(@Self)^.&set := $00000002;
  52497. end;
  52498. procedure TPORTE_CNPUE.clearCNPUE1; inline;
  52499. begin
  52500. pTDefRegMap(@Self)^.clr := $00000002;
  52501. end;
  52502. procedure TPORTE_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  52503. begin
  52504. if thebits = 0 then
  52505. pTDefRegMap(@Self)^.clr := $00000002
  52506. else
  52507. pTDefRegMap(@Self)^.&set := $00000002;
  52508. end;
  52509. function TPORTE_CNPUE.getCNPUE1 : TBits_1; inline;
  52510. begin
  52511. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52512. end;
  52513. procedure TPORTE_CNPUE.setCNPUE2; inline;
  52514. begin
  52515. pTDefRegMap(@Self)^.&set := $00000004;
  52516. end;
  52517. procedure TPORTE_CNPUE.clearCNPUE2; inline;
  52518. begin
  52519. pTDefRegMap(@Self)^.clr := $00000004;
  52520. end;
  52521. procedure TPORTE_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  52522. begin
  52523. if thebits = 0 then
  52524. pTDefRegMap(@Self)^.clr := $00000004
  52525. else
  52526. pTDefRegMap(@Self)^.&set := $00000004;
  52527. end;
  52528. function TPORTE_CNPUE.getCNPUE2 : TBits_1; inline;
  52529. begin
  52530. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52531. end;
  52532. procedure TPORTE_CNPUE.setCNPUE3; inline;
  52533. begin
  52534. pTDefRegMap(@Self)^.&set := $00000008;
  52535. end;
  52536. procedure TPORTE_CNPUE.clearCNPUE3; inline;
  52537. begin
  52538. pTDefRegMap(@Self)^.clr := $00000008;
  52539. end;
  52540. procedure TPORTE_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  52541. begin
  52542. if thebits = 0 then
  52543. pTDefRegMap(@Self)^.clr := $00000008
  52544. else
  52545. pTDefRegMap(@Self)^.&set := $00000008;
  52546. end;
  52547. function TPORTE_CNPUE.getCNPUE3 : TBits_1; inline;
  52548. begin
  52549. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52550. end;
  52551. procedure TPORTE_CNPUE.setCNPUE4; inline;
  52552. begin
  52553. pTDefRegMap(@Self)^.&set := $00000010;
  52554. end;
  52555. procedure TPORTE_CNPUE.clearCNPUE4; inline;
  52556. begin
  52557. pTDefRegMap(@Self)^.clr := $00000010;
  52558. end;
  52559. procedure TPORTE_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  52560. begin
  52561. if thebits = 0 then
  52562. pTDefRegMap(@Self)^.clr := $00000010
  52563. else
  52564. pTDefRegMap(@Self)^.&set := $00000010;
  52565. end;
  52566. function TPORTE_CNPUE.getCNPUE4 : TBits_1; inline;
  52567. begin
  52568. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52569. end;
  52570. procedure TPORTE_CNPUE.setCNPUE5; inline;
  52571. begin
  52572. pTDefRegMap(@Self)^.&set := $00000020;
  52573. end;
  52574. procedure TPORTE_CNPUE.clearCNPUE5; inline;
  52575. begin
  52576. pTDefRegMap(@Self)^.clr := $00000020;
  52577. end;
  52578. procedure TPORTE_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  52579. begin
  52580. if thebits = 0 then
  52581. pTDefRegMap(@Self)^.clr := $00000020
  52582. else
  52583. pTDefRegMap(@Self)^.&set := $00000020;
  52584. end;
  52585. function TPORTE_CNPUE.getCNPUE5 : TBits_1; inline;
  52586. begin
  52587. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52588. end;
  52589. procedure TPORTE_CNPUE.setCNPUE6; inline;
  52590. begin
  52591. pTDefRegMap(@Self)^.&set := $00000040;
  52592. end;
  52593. procedure TPORTE_CNPUE.clearCNPUE6; inline;
  52594. begin
  52595. pTDefRegMap(@Self)^.clr := $00000040;
  52596. end;
  52597. procedure TPORTE_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  52598. begin
  52599. if thebits = 0 then
  52600. pTDefRegMap(@Self)^.clr := $00000040
  52601. else
  52602. pTDefRegMap(@Self)^.&set := $00000040;
  52603. end;
  52604. function TPORTE_CNPUE.getCNPUE6 : TBits_1; inline;
  52605. begin
  52606. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52607. end;
  52608. procedure TPORTE_CNPUE.setCNPUE7; inline;
  52609. begin
  52610. pTDefRegMap(@Self)^.&set := $00000080;
  52611. end;
  52612. procedure TPORTE_CNPUE.clearCNPUE7; inline;
  52613. begin
  52614. pTDefRegMap(@Self)^.clr := $00000080;
  52615. end;
  52616. procedure TPORTE_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  52617. begin
  52618. if thebits = 0 then
  52619. pTDefRegMap(@Self)^.clr := $00000080
  52620. else
  52621. pTDefRegMap(@Self)^.&set := $00000080;
  52622. end;
  52623. function TPORTE_CNPUE.getCNPUE7 : TBits_1; inline;
  52624. begin
  52625. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52626. end;
  52627. procedure TPORTE_CNPUE.setCNPUE8; inline;
  52628. begin
  52629. pTDefRegMap(@Self)^.&set := $00000100;
  52630. end;
  52631. procedure TPORTE_CNPUE.clearCNPUE8; inline;
  52632. begin
  52633. pTDefRegMap(@Self)^.clr := $00000100;
  52634. end;
  52635. procedure TPORTE_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  52636. begin
  52637. if thebits = 0 then
  52638. pTDefRegMap(@Self)^.clr := $00000100
  52639. else
  52640. pTDefRegMap(@Self)^.&set := $00000100;
  52641. end;
  52642. function TPORTE_CNPUE.getCNPUE8 : TBits_1; inline;
  52643. begin
  52644. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52645. end;
  52646. procedure TPORTE_CNPUE.setCNPUE9; inline;
  52647. begin
  52648. pTDefRegMap(@Self)^.&set := $00000200;
  52649. end;
  52650. procedure TPORTE_CNPUE.clearCNPUE9; inline;
  52651. begin
  52652. pTDefRegMap(@Self)^.clr := $00000200;
  52653. end;
  52654. procedure TPORTE_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  52655. begin
  52656. if thebits = 0 then
  52657. pTDefRegMap(@Self)^.clr := $00000200
  52658. else
  52659. pTDefRegMap(@Self)^.&set := $00000200;
  52660. end;
  52661. function TPORTE_CNPUE.getCNPUE9 : TBits_1; inline;
  52662. begin
  52663. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52664. end;
  52665. procedure TPORTE_CNPUE.setw(thebits : TBits_32); inline;
  52666. begin
  52667. pTDefRegMap(@Self)^.val := thebits;
  52668. end;
  52669. function TPORTE_CNPUE.getw : TBits_32; inline;
  52670. begin
  52671. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52672. end;
  52673. procedure TPORTE_CNPDE.setCNPDE0; inline;
  52674. begin
  52675. pTDefRegMap(@Self)^.&set := $00000001;
  52676. end;
  52677. procedure TPORTE_CNPDE.clearCNPDE0; inline;
  52678. begin
  52679. pTDefRegMap(@Self)^.clr := $00000001;
  52680. end;
  52681. procedure TPORTE_CNPDE.setCNPDE0(thebits : TBits_1); inline;
  52682. begin
  52683. if thebits = 0 then
  52684. pTDefRegMap(@Self)^.clr := $00000001
  52685. else
  52686. pTDefRegMap(@Self)^.&set := $00000001;
  52687. end;
  52688. function TPORTE_CNPDE.getCNPDE0 : TBits_1; inline;
  52689. begin
  52690. getCNPDE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52691. end;
  52692. procedure TPORTE_CNPDE.setCNPDE1; inline;
  52693. begin
  52694. pTDefRegMap(@Self)^.&set := $00000002;
  52695. end;
  52696. procedure TPORTE_CNPDE.clearCNPDE1; inline;
  52697. begin
  52698. pTDefRegMap(@Self)^.clr := $00000002;
  52699. end;
  52700. procedure TPORTE_CNPDE.setCNPDE1(thebits : TBits_1); inline;
  52701. begin
  52702. if thebits = 0 then
  52703. pTDefRegMap(@Self)^.clr := $00000002
  52704. else
  52705. pTDefRegMap(@Self)^.&set := $00000002;
  52706. end;
  52707. function TPORTE_CNPDE.getCNPDE1 : TBits_1; inline;
  52708. begin
  52709. getCNPDE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52710. end;
  52711. procedure TPORTE_CNPDE.setCNPDE2; inline;
  52712. begin
  52713. pTDefRegMap(@Self)^.&set := $00000004;
  52714. end;
  52715. procedure TPORTE_CNPDE.clearCNPDE2; inline;
  52716. begin
  52717. pTDefRegMap(@Self)^.clr := $00000004;
  52718. end;
  52719. procedure TPORTE_CNPDE.setCNPDE2(thebits : TBits_1); inline;
  52720. begin
  52721. if thebits = 0 then
  52722. pTDefRegMap(@Self)^.clr := $00000004
  52723. else
  52724. pTDefRegMap(@Self)^.&set := $00000004;
  52725. end;
  52726. function TPORTE_CNPDE.getCNPDE2 : TBits_1; inline;
  52727. begin
  52728. getCNPDE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52729. end;
  52730. procedure TPORTE_CNPDE.setCNPDE3; inline;
  52731. begin
  52732. pTDefRegMap(@Self)^.&set := $00000008;
  52733. end;
  52734. procedure TPORTE_CNPDE.clearCNPDE3; inline;
  52735. begin
  52736. pTDefRegMap(@Self)^.clr := $00000008;
  52737. end;
  52738. procedure TPORTE_CNPDE.setCNPDE3(thebits : TBits_1); inline;
  52739. begin
  52740. if thebits = 0 then
  52741. pTDefRegMap(@Self)^.clr := $00000008
  52742. else
  52743. pTDefRegMap(@Self)^.&set := $00000008;
  52744. end;
  52745. function TPORTE_CNPDE.getCNPDE3 : TBits_1; inline;
  52746. begin
  52747. getCNPDE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52748. end;
  52749. procedure TPORTE_CNPDE.setCNPDE4; inline;
  52750. begin
  52751. pTDefRegMap(@Self)^.&set := $00000010;
  52752. end;
  52753. procedure TPORTE_CNPDE.clearCNPDE4; inline;
  52754. begin
  52755. pTDefRegMap(@Self)^.clr := $00000010;
  52756. end;
  52757. procedure TPORTE_CNPDE.setCNPDE4(thebits : TBits_1); inline;
  52758. begin
  52759. if thebits = 0 then
  52760. pTDefRegMap(@Self)^.clr := $00000010
  52761. else
  52762. pTDefRegMap(@Self)^.&set := $00000010;
  52763. end;
  52764. function TPORTE_CNPDE.getCNPDE4 : TBits_1; inline;
  52765. begin
  52766. getCNPDE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52767. end;
  52768. procedure TPORTE_CNPDE.setCNPDE5; inline;
  52769. begin
  52770. pTDefRegMap(@Self)^.&set := $00000020;
  52771. end;
  52772. procedure TPORTE_CNPDE.clearCNPDE5; inline;
  52773. begin
  52774. pTDefRegMap(@Self)^.clr := $00000020;
  52775. end;
  52776. procedure TPORTE_CNPDE.setCNPDE5(thebits : TBits_1); inline;
  52777. begin
  52778. if thebits = 0 then
  52779. pTDefRegMap(@Self)^.clr := $00000020
  52780. else
  52781. pTDefRegMap(@Self)^.&set := $00000020;
  52782. end;
  52783. function TPORTE_CNPDE.getCNPDE5 : TBits_1; inline;
  52784. begin
  52785. getCNPDE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52786. end;
  52787. procedure TPORTE_CNPDE.setCNPDE6; inline;
  52788. begin
  52789. pTDefRegMap(@Self)^.&set := $00000040;
  52790. end;
  52791. procedure TPORTE_CNPDE.clearCNPDE6; inline;
  52792. begin
  52793. pTDefRegMap(@Self)^.clr := $00000040;
  52794. end;
  52795. procedure TPORTE_CNPDE.setCNPDE6(thebits : TBits_1); inline;
  52796. begin
  52797. if thebits = 0 then
  52798. pTDefRegMap(@Self)^.clr := $00000040
  52799. else
  52800. pTDefRegMap(@Self)^.&set := $00000040;
  52801. end;
  52802. function TPORTE_CNPDE.getCNPDE6 : TBits_1; inline;
  52803. begin
  52804. getCNPDE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52805. end;
  52806. procedure TPORTE_CNPDE.setCNPDE7; inline;
  52807. begin
  52808. pTDefRegMap(@Self)^.&set := $00000080;
  52809. end;
  52810. procedure TPORTE_CNPDE.clearCNPDE7; inline;
  52811. begin
  52812. pTDefRegMap(@Self)^.clr := $00000080;
  52813. end;
  52814. procedure TPORTE_CNPDE.setCNPDE7(thebits : TBits_1); inline;
  52815. begin
  52816. if thebits = 0 then
  52817. pTDefRegMap(@Self)^.clr := $00000080
  52818. else
  52819. pTDefRegMap(@Self)^.&set := $00000080;
  52820. end;
  52821. function TPORTE_CNPDE.getCNPDE7 : TBits_1; inline;
  52822. begin
  52823. getCNPDE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52824. end;
  52825. procedure TPORTE_CNPDE.setCNPDE8; inline;
  52826. begin
  52827. pTDefRegMap(@Self)^.&set := $00000100;
  52828. end;
  52829. procedure TPORTE_CNPDE.clearCNPDE8; inline;
  52830. begin
  52831. pTDefRegMap(@Self)^.clr := $00000100;
  52832. end;
  52833. procedure TPORTE_CNPDE.setCNPDE8(thebits : TBits_1); inline;
  52834. begin
  52835. if thebits = 0 then
  52836. pTDefRegMap(@Self)^.clr := $00000100
  52837. else
  52838. pTDefRegMap(@Self)^.&set := $00000100;
  52839. end;
  52840. function TPORTE_CNPDE.getCNPDE8 : TBits_1; inline;
  52841. begin
  52842. getCNPDE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52843. end;
  52844. procedure TPORTE_CNPDE.setCNPDE9; inline;
  52845. begin
  52846. pTDefRegMap(@Self)^.&set := $00000200;
  52847. end;
  52848. procedure TPORTE_CNPDE.clearCNPDE9; inline;
  52849. begin
  52850. pTDefRegMap(@Self)^.clr := $00000200;
  52851. end;
  52852. procedure TPORTE_CNPDE.setCNPDE9(thebits : TBits_1); inline;
  52853. begin
  52854. if thebits = 0 then
  52855. pTDefRegMap(@Self)^.clr := $00000200
  52856. else
  52857. pTDefRegMap(@Self)^.&set := $00000200;
  52858. end;
  52859. function TPORTE_CNPDE.getCNPDE9 : TBits_1; inline;
  52860. begin
  52861. getCNPDE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52862. end;
  52863. procedure TPORTE_CNPDE.setw(thebits : TBits_32); inline;
  52864. begin
  52865. pTDefRegMap(@Self)^.val := thebits;
  52866. end;
  52867. function TPORTE_CNPDE.getw : TBits_32; inline;
  52868. begin
  52869. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52870. end;
  52871. procedure TPORTE_CNCONE.setSIDL; inline;
  52872. begin
  52873. pTDefRegMap(@Self)^.&set := $00002000;
  52874. end;
  52875. procedure TPORTE_CNCONE.clearSIDL; inline;
  52876. begin
  52877. pTDefRegMap(@Self)^.clr := $00002000;
  52878. end;
  52879. procedure TPORTE_CNCONE.setSIDL(thebits : TBits_1); inline;
  52880. begin
  52881. if thebits = 0 then
  52882. pTDefRegMap(@Self)^.clr := $00002000
  52883. else
  52884. pTDefRegMap(@Self)^.&set := $00002000;
  52885. end;
  52886. function TPORTE_CNCONE.getSIDL : TBits_1; inline;
  52887. begin
  52888. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  52889. end;
  52890. procedure TPORTE_CNCONE.setON; inline;
  52891. begin
  52892. pTDefRegMap(@Self)^.&set := $00008000;
  52893. end;
  52894. procedure TPORTE_CNCONE.clearON; inline;
  52895. begin
  52896. pTDefRegMap(@Self)^.clr := $00008000;
  52897. end;
  52898. procedure TPORTE_CNCONE.setON(thebits : TBits_1); inline;
  52899. begin
  52900. if thebits = 0 then
  52901. pTDefRegMap(@Self)^.clr := $00008000
  52902. else
  52903. pTDefRegMap(@Self)^.&set := $00008000;
  52904. end;
  52905. function TPORTE_CNCONE.getON : TBits_1; inline;
  52906. begin
  52907. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52908. end;
  52909. procedure TPORTE_CNCONE.setw(thebits : TBits_32); inline;
  52910. begin
  52911. pTDefRegMap(@Self)^.val := thebits;
  52912. end;
  52913. function TPORTE_CNCONE.getw : TBits_32; inline;
  52914. begin
  52915. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52916. end;
  52917. procedure TPORTE_CNENE.setCNIEE0; inline;
  52918. begin
  52919. pTDefRegMap(@Self)^.&set := $00000001;
  52920. end;
  52921. procedure TPORTE_CNENE.clearCNIEE0; inline;
  52922. begin
  52923. pTDefRegMap(@Self)^.clr := $00000001;
  52924. end;
  52925. procedure TPORTE_CNENE.setCNIEE0(thebits : TBits_1); inline;
  52926. begin
  52927. if thebits = 0 then
  52928. pTDefRegMap(@Self)^.clr := $00000001
  52929. else
  52930. pTDefRegMap(@Self)^.&set := $00000001;
  52931. end;
  52932. function TPORTE_CNENE.getCNIEE0 : TBits_1; inline;
  52933. begin
  52934. getCNIEE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52935. end;
  52936. procedure TPORTE_CNENE.setCNIEE1; inline;
  52937. begin
  52938. pTDefRegMap(@Self)^.&set := $00000002;
  52939. end;
  52940. procedure TPORTE_CNENE.clearCNIEE1; inline;
  52941. begin
  52942. pTDefRegMap(@Self)^.clr := $00000002;
  52943. end;
  52944. procedure TPORTE_CNENE.setCNIEE1(thebits : TBits_1); inline;
  52945. begin
  52946. if thebits = 0 then
  52947. pTDefRegMap(@Self)^.clr := $00000002
  52948. else
  52949. pTDefRegMap(@Self)^.&set := $00000002;
  52950. end;
  52951. function TPORTE_CNENE.getCNIEE1 : TBits_1; inline;
  52952. begin
  52953. getCNIEE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52954. end;
  52955. procedure TPORTE_CNENE.setCNIEE2; inline;
  52956. begin
  52957. pTDefRegMap(@Self)^.&set := $00000004;
  52958. end;
  52959. procedure TPORTE_CNENE.clearCNIEE2; inline;
  52960. begin
  52961. pTDefRegMap(@Self)^.clr := $00000004;
  52962. end;
  52963. procedure TPORTE_CNENE.setCNIEE2(thebits : TBits_1); inline;
  52964. begin
  52965. if thebits = 0 then
  52966. pTDefRegMap(@Self)^.clr := $00000004
  52967. else
  52968. pTDefRegMap(@Self)^.&set := $00000004;
  52969. end;
  52970. function TPORTE_CNENE.getCNIEE2 : TBits_1; inline;
  52971. begin
  52972. getCNIEE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52973. end;
  52974. procedure TPORTE_CNENE.setCNIEE3; inline;
  52975. begin
  52976. pTDefRegMap(@Self)^.&set := $00000008;
  52977. end;
  52978. procedure TPORTE_CNENE.clearCNIEE3; inline;
  52979. begin
  52980. pTDefRegMap(@Self)^.clr := $00000008;
  52981. end;
  52982. procedure TPORTE_CNENE.setCNIEE3(thebits : TBits_1); inline;
  52983. begin
  52984. if thebits = 0 then
  52985. pTDefRegMap(@Self)^.clr := $00000008
  52986. else
  52987. pTDefRegMap(@Self)^.&set := $00000008;
  52988. end;
  52989. function TPORTE_CNENE.getCNIEE3 : TBits_1; inline;
  52990. begin
  52991. getCNIEE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52992. end;
  52993. procedure TPORTE_CNENE.setCNIEE4; inline;
  52994. begin
  52995. pTDefRegMap(@Self)^.&set := $00000010;
  52996. end;
  52997. procedure TPORTE_CNENE.clearCNIEE4; inline;
  52998. begin
  52999. pTDefRegMap(@Self)^.clr := $00000010;
  53000. end;
  53001. procedure TPORTE_CNENE.setCNIEE4(thebits : TBits_1); inline;
  53002. begin
  53003. if thebits = 0 then
  53004. pTDefRegMap(@Self)^.clr := $00000010
  53005. else
  53006. pTDefRegMap(@Self)^.&set := $00000010;
  53007. end;
  53008. function TPORTE_CNENE.getCNIEE4 : TBits_1; inline;
  53009. begin
  53010. getCNIEE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53011. end;
  53012. procedure TPORTE_CNENE.setCNIEE5; inline;
  53013. begin
  53014. pTDefRegMap(@Self)^.&set := $00000020;
  53015. end;
  53016. procedure TPORTE_CNENE.clearCNIEE5; inline;
  53017. begin
  53018. pTDefRegMap(@Self)^.clr := $00000020;
  53019. end;
  53020. procedure TPORTE_CNENE.setCNIEE5(thebits : TBits_1); inline;
  53021. begin
  53022. if thebits = 0 then
  53023. pTDefRegMap(@Self)^.clr := $00000020
  53024. else
  53025. pTDefRegMap(@Self)^.&set := $00000020;
  53026. end;
  53027. function TPORTE_CNENE.getCNIEE5 : TBits_1; inline;
  53028. begin
  53029. getCNIEE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53030. end;
  53031. procedure TPORTE_CNENE.setCNIEE6; inline;
  53032. begin
  53033. pTDefRegMap(@Self)^.&set := $00000040;
  53034. end;
  53035. procedure TPORTE_CNENE.clearCNIEE6; inline;
  53036. begin
  53037. pTDefRegMap(@Self)^.clr := $00000040;
  53038. end;
  53039. procedure TPORTE_CNENE.setCNIEE6(thebits : TBits_1); inline;
  53040. begin
  53041. if thebits = 0 then
  53042. pTDefRegMap(@Self)^.clr := $00000040
  53043. else
  53044. pTDefRegMap(@Self)^.&set := $00000040;
  53045. end;
  53046. function TPORTE_CNENE.getCNIEE6 : TBits_1; inline;
  53047. begin
  53048. getCNIEE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53049. end;
  53050. procedure TPORTE_CNENE.setCNIEE7; inline;
  53051. begin
  53052. pTDefRegMap(@Self)^.&set := $00000080;
  53053. end;
  53054. procedure TPORTE_CNENE.clearCNIEE7; inline;
  53055. begin
  53056. pTDefRegMap(@Self)^.clr := $00000080;
  53057. end;
  53058. procedure TPORTE_CNENE.setCNIEE7(thebits : TBits_1); inline;
  53059. begin
  53060. if thebits = 0 then
  53061. pTDefRegMap(@Self)^.clr := $00000080
  53062. else
  53063. pTDefRegMap(@Self)^.&set := $00000080;
  53064. end;
  53065. function TPORTE_CNENE.getCNIEE7 : TBits_1; inline;
  53066. begin
  53067. getCNIEE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53068. end;
  53069. procedure TPORTE_CNENE.setCNIEE8; inline;
  53070. begin
  53071. pTDefRegMap(@Self)^.&set := $00000100;
  53072. end;
  53073. procedure TPORTE_CNENE.clearCNIEE8; inline;
  53074. begin
  53075. pTDefRegMap(@Self)^.clr := $00000100;
  53076. end;
  53077. procedure TPORTE_CNENE.setCNIEE8(thebits : TBits_1); inline;
  53078. begin
  53079. if thebits = 0 then
  53080. pTDefRegMap(@Self)^.clr := $00000100
  53081. else
  53082. pTDefRegMap(@Self)^.&set := $00000100;
  53083. end;
  53084. function TPORTE_CNENE.getCNIEE8 : TBits_1; inline;
  53085. begin
  53086. getCNIEE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53087. end;
  53088. procedure TPORTE_CNENE.setCNIEE9; inline;
  53089. begin
  53090. pTDefRegMap(@Self)^.&set := $00000200;
  53091. end;
  53092. procedure TPORTE_CNENE.clearCNIEE9; inline;
  53093. begin
  53094. pTDefRegMap(@Self)^.clr := $00000200;
  53095. end;
  53096. procedure TPORTE_CNENE.setCNIEE9(thebits : TBits_1); inline;
  53097. begin
  53098. if thebits = 0 then
  53099. pTDefRegMap(@Self)^.clr := $00000200
  53100. else
  53101. pTDefRegMap(@Self)^.&set := $00000200;
  53102. end;
  53103. function TPORTE_CNENE.getCNIEE9 : TBits_1; inline;
  53104. begin
  53105. getCNIEE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53106. end;
  53107. procedure TPORTE_CNENE.setw(thebits : TBits_32); inline;
  53108. begin
  53109. pTDefRegMap(@Self)^.val := thebits;
  53110. end;
  53111. function TPORTE_CNENE.getw : TBits_32; inline;
  53112. begin
  53113. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53114. end;
  53115. procedure TPORTE_CNSTATE.setCNSTATE0; inline;
  53116. begin
  53117. pTDefRegMap(@Self)^.&set := $00000001;
  53118. end;
  53119. procedure TPORTE_CNSTATE.clearCNSTATE0; inline;
  53120. begin
  53121. pTDefRegMap(@Self)^.clr := $00000001;
  53122. end;
  53123. procedure TPORTE_CNSTATE.setCNSTATE0(thebits : TBits_1); inline;
  53124. begin
  53125. if thebits = 0 then
  53126. pTDefRegMap(@Self)^.clr := $00000001
  53127. else
  53128. pTDefRegMap(@Self)^.&set := $00000001;
  53129. end;
  53130. function TPORTE_CNSTATE.getCNSTATE0 : TBits_1; inline;
  53131. begin
  53132. getCNSTATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53133. end;
  53134. procedure TPORTE_CNSTATE.setCNSTATE1; inline;
  53135. begin
  53136. pTDefRegMap(@Self)^.&set := $00000002;
  53137. end;
  53138. procedure TPORTE_CNSTATE.clearCNSTATE1; inline;
  53139. begin
  53140. pTDefRegMap(@Self)^.clr := $00000002;
  53141. end;
  53142. procedure TPORTE_CNSTATE.setCNSTATE1(thebits : TBits_1); inline;
  53143. begin
  53144. if thebits = 0 then
  53145. pTDefRegMap(@Self)^.clr := $00000002
  53146. else
  53147. pTDefRegMap(@Self)^.&set := $00000002;
  53148. end;
  53149. function TPORTE_CNSTATE.getCNSTATE1 : TBits_1; inline;
  53150. begin
  53151. getCNSTATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53152. end;
  53153. procedure TPORTE_CNSTATE.setCNSTATE2; inline;
  53154. begin
  53155. pTDefRegMap(@Self)^.&set := $00000004;
  53156. end;
  53157. procedure TPORTE_CNSTATE.clearCNSTATE2; inline;
  53158. begin
  53159. pTDefRegMap(@Self)^.clr := $00000004;
  53160. end;
  53161. procedure TPORTE_CNSTATE.setCNSTATE2(thebits : TBits_1); inline;
  53162. begin
  53163. if thebits = 0 then
  53164. pTDefRegMap(@Self)^.clr := $00000004
  53165. else
  53166. pTDefRegMap(@Self)^.&set := $00000004;
  53167. end;
  53168. function TPORTE_CNSTATE.getCNSTATE2 : TBits_1; inline;
  53169. begin
  53170. getCNSTATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53171. end;
  53172. procedure TPORTE_CNSTATE.setCNSTATE3; inline;
  53173. begin
  53174. pTDefRegMap(@Self)^.&set := $00000008;
  53175. end;
  53176. procedure TPORTE_CNSTATE.clearCNSTATE3; inline;
  53177. begin
  53178. pTDefRegMap(@Self)^.clr := $00000008;
  53179. end;
  53180. procedure TPORTE_CNSTATE.setCNSTATE3(thebits : TBits_1); inline;
  53181. begin
  53182. if thebits = 0 then
  53183. pTDefRegMap(@Self)^.clr := $00000008
  53184. else
  53185. pTDefRegMap(@Self)^.&set := $00000008;
  53186. end;
  53187. function TPORTE_CNSTATE.getCNSTATE3 : TBits_1; inline;
  53188. begin
  53189. getCNSTATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53190. end;
  53191. procedure TPORTE_CNSTATE.setCNSTATE4; inline;
  53192. begin
  53193. pTDefRegMap(@Self)^.&set := $00000010;
  53194. end;
  53195. procedure TPORTE_CNSTATE.clearCNSTATE4; inline;
  53196. begin
  53197. pTDefRegMap(@Self)^.clr := $00000010;
  53198. end;
  53199. procedure TPORTE_CNSTATE.setCNSTATE4(thebits : TBits_1); inline;
  53200. begin
  53201. if thebits = 0 then
  53202. pTDefRegMap(@Self)^.clr := $00000010
  53203. else
  53204. pTDefRegMap(@Self)^.&set := $00000010;
  53205. end;
  53206. function TPORTE_CNSTATE.getCNSTATE4 : TBits_1; inline;
  53207. begin
  53208. getCNSTATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53209. end;
  53210. procedure TPORTE_CNSTATE.setCNSTATE5; inline;
  53211. begin
  53212. pTDefRegMap(@Self)^.&set := $00000020;
  53213. end;
  53214. procedure TPORTE_CNSTATE.clearCNSTATE5; inline;
  53215. begin
  53216. pTDefRegMap(@Self)^.clr := $00000020;
  53217. end;
  53218. procedure TPORTE_CNSTATE.setCNSTATE5(thebits : TBits_1); inline;
  53219. begin
  53220. if thebits = 0 then
  53221. pTDefRegMap(@Self)^.clr := $00000020
  53222. else
  53223. pTDefRegMap(@Self)^.&set := $00000020;
  53224. end;
  53225. function TPORTE_CNSTATE.getCNSTATE5 : TBits_1; inline;
  53226. begin
  53227. getCNSTATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53228. end;
  53229. procedure TPORTE_CNSTATE.setCNSTATE6; inline;
  53230. begin
  53231. pTDefRegMap(@Self)^.&set := $00000040;
  53232. end;
  53233. procedure TPORTE_CNSTATE.clearCNSTATE6; inline;
  53234. begin
  53235. pTDefRegMap(@Self)^.clr := $00000040;
  53236. end;
  53237. procedure TPORTE_CNSTATE.setCNSTATE6(thebits : TBits_1); inline;
  53238. begin
  53239. if thebits = 0 then
  53240. pTDefRegMap(@Self)^.clr := $00000040
  53241. else
  53242. pTDefRegMap(@Self)^.&set := $00000040;
  53243. end;
  53244. function TPORTE_CNSTATE.getCNSTATE6 : TBits_1; inline;
  53245. begin
  53246. getCNSTATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53247. end;
  53248. procedure TPORTE_CNSTATE.setCNSTATE7; inline;
  53249. begin
  53250. pTDefRegMap(@Self)^.&set := $00000080;
  53251. end;
  53252. procedure TPORTE_CNSTATE.clearCNSTATE7; inline;
  53253. begin
  53254. pTDefRegMap(@Self)^.clr := $00000080;
  53255. end;
  53256. procedure TPORTE_CNSTATE.setCNSTATE7(thebits : TBits_1); inline;
  53257. begin
  53258. if thebits = 0 then
  53259. pTDefRegMap(@Self)^.clr := $00000080
  53260. else
  53261. pTDefRegMap(@Self)^.&set := $00000080;
  53262. end;
  53263. function TPORTE_CNSTATE.getCNSTATE7 : TBits_1; inline;
  53264. begin
  53265. getCNSTATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53266. end;
  53267. procedure TPORTE_CNSTATE.setCNSTATE8; inline;
  53268. begin
  53269. pTDefRegMap(@Self)^.&set := $00000100;
  53270. end;
  53271. procedure TPORTE_CNSTATE.clearCNSTATE8; inline;
  53272. begin
  53273. pTDefRegMap(@Self)^.clr := $00000100;
  53274. end;
  53275. procedure TPORTE_CNSTATE.setCNSTATE8(thebits : TBits_1); inline;
  53276. begin
  53277. if thebits = 0 then
  53278. pTDefRegMap(@Self)^.clr := $00000100
  53279. else
  53280. pTDefRegMap(@Self)^.&set := $00000100;
  53281. end;
  53282. function TPORTE_CNSTATE.getCNSTATE8 : TBits_1; inline;
  53283. begin
  53284. getCNSTATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53285. end;
  53286. procedure TPORTE_CNSTATE.setCNSTATE9; inline;
  53287. begin
  53288. pTDefRegMap(@Self)^.&set := $00000200;
  53289. end;
  53290. procedure TPORTE_CNSTATE.clearCNSTATE9; inline;
  53291. begin
  53292. pTDefRegMap(@Self)^.clr := $00000200;
  53293. end;
  53294. procedure TPORTE_CNSTATE.setCNSTATE9(thebits : TBits_1); inline;
  53295. begin
  53296. if thebits = 0 then
  53297. pTDefRegMap(@Self)^.clr := $00000200
  53298. else
  53299. pTDefRegMap(@Self)^.&set := $00000200;
  53300. end;
  53301. function TPORTE_CNSTATE.getCNSTATE9 : TBits_1; inline;
  53302. begin
  53303. getCNSTATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53304. end;
  53305. procedure TPORTE_CNSTATE.setw(thebits : TBits_32); inline;
  53306. begin
  53307. pTDefRegMap(@Self)^.val := thebits;
  53308. end;
  53309. function TPORTE_CNSTATE.getw : TBits_32; inline;
  53310. begin
  53311. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53312. end;
  53313. procedure TPORTE_TRISF.setTRISF0; inline;
  53314. begin
  53315. pTDefRegMap(@Self)^.&set := $00000001;
  53316. end;
  53317. procedure TPORTE_TRISF.clearTRISF0; inline;
  53318. begin
  53319. pTDefRegMap(@Self)^.clr := $00000001;
  53320. end;
  53321. procedure TPORTE_TRISF.setTRISF0(thebits : TBits_1); inline;
  53322. begin
  53323. if thebits = 0 then
  53324. pTDefRegMap(@Self)^.clr := $00000001
  53325. else
  53326. pTDefRegMap(@Self)^.&set := $00000001;
  53327. end;
  53328. function TPORTE_TRISF.getTRISF0 : TBits_1; inline;
  53329. begin
  53330. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53331. end;
  53332. procedure TPORTE_TRISF.setTRISF1; inline;
  53333. begin
  53334. pTDefRegMap(@Self)^.&set := $00000002;
  53335. end;
  53336. procedure TPORTE_TRISF.clearTRISF1; inline;
  53337. begin
  53338. pTDefRegMap(@Self)^.clr := $00000002;
  53339. end;
  53340. procedure TPORTE_TRISF.setTRISF1(thebits : TBits_1); inline;
  53341. begin
  53342. if thebits = 0 then
  53343. pTDefRegMap(@Self)^.clr := $00000002
  53344. else
  53345. pTDefRegMap(@Self)^.&set := $00000002;
  53346. end;
  53347. function TPORTE_TRISF.getTRISF1 : TBits_1; inline;
  53348. begin
  53349. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53350. end;
  53351. procedure TPORTE_TRISF.setTRISF2; inline;
  53352. begin
  53353. pTDefRegMap(@Self)^.&set := $00000004;
  53354. end;
  53355. procedure TPORTE_TRISF.clearTRISF2; inline;
  53356. begin
  53357. pTDefRegMap(@Self)^.clr := $00000004;
  53358. end;
  53359. procedure TPORTE_TRISF.setTRISF2(thebits : TBits_1); inline;
  53360. begin
  53361. if thebits = 0 then
  53362. pTDefRegMap(@Self)^.clr := $00000004
  53363. else
  53364. pTDefRegMap(@Self)^.&set := $00000004;
  53365. end;
  53366. function TPORTE_TRISF.getTRISF2 : TBits_1; inline;
  53367. begin
  53368. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53369. end;
  53370. procedure TPORTE_TRISF.setTRISF3; inline;
  53371. begin
  53372. pTDefRegMap(@Self)^.&set := $00000008;
  53373. end;
  53374. procedure TPORTE_TRISF.clearTRISF3; inline;
  53375. begin
  53376. pTDefRegMap(@Self)^.clr := $00000008;
  53377. end;
  53378. procedure TPORTE_TRISF.setTRISF3(thebits : TBits_1); inline;
  53379. begin
  53380. if thebits = 0 then
  53381. pTDefRegMap(@Self)^.clr := $00000008
  53382. else
  53383. pTDefRegMap(@Self)^.&set := $00000008;
  53384. end;
  53385. function TPORTE_TRISF.getTRISF3 : TBits_1; inline;
  53386. begin
  53387. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53388. end;
  53389. procedure TPORTE_TRISF.setTRISF4; inline;
  53390. begin
  53391. pTDefRegMap(@Self)^.&set := $00000010;
  53392. end;
  53393. procedure TPORTE_TRISF.clearTRISF4; inline;
  53394. begin
  53395. pTDefRegMap(@Self)^.clr := $00000010;
  53396. end;
  53397. procedure TPORTE_TRISF.setTRISF4(thebits : TBits_1); inline;
  53398. begin
  53399. if thebits = 0 then
  53400. pTDefRegMap(@Self)^.clr := $00000010
  53401. else
  53402. pTDefRegMap(@Self)^.&set := $00000010;
  53403. end;
  53404. function TPORTE_TRISF.getTRISF4 : TBits_1; inline;
  53405. begin
  53406. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53407. end;
  53408. procedure TPORTE_TRISF.setTRISF5; inline;
  53409. begin
  53410. pTDefRegMap(@Self)^.&set := $00000020;
  53411. end;
  53412. procedure TPORTE_TRISF.clearTRISF5; inline;
  53413. begin
  53414. pTDefRegMap(@Self)^.clr := $00000020;
  53415. end;
  53416. procedure TPORTE_TRISF.setTRISF5(thebits : TBits_1); inline;
  53417. begin
  53418. if thebits = 0 then
  53419. pTDefRegMap(@Self)^.clr := $00000020
  53420. else
  53421. pTDefRegMap(@Self)^.&set := $00000020;
  53422. end;
  53423. function TPORTE_TRISF.getTRISF5 : TBits_1; inline;
  53424. begin
  53425. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53426. end;
  53427. procedure TPORTE_TRISF.setTRISF8; inline;
  53428. begin
  53429. pTDefRegMap(@Self)^.&set := $00000100;
  53430. end;
  53431. procedure TPORTE_TRISF.clearTRISF8; inline;
  53432. begin
  53433. pTDefRegMap(@Self)^.clr := $00000100;
  53434. end;
  53435. procedure TPORTE_TRISF.setTRISF8(thebits : TBits_1); inline;
  53436. begin
  53437. if thebits = 0 then
  53438. pTDefRegMap(@Self)^.clr := $00000100
  53439. else
  53440. pTDefRegMap(@Self)^.&set := $00000100;
  53441. end;
  53442. function TPORTE_TRISF.getTRISF8 : TBits_1; inline;
  53443. begin
  53444. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53445. end;
  53446. procedure TPORTE_TRISF.setTRISF12; inline;
  53447. begin
  53448. pTDefRegMap(@Self)^.&set := $00001000;
  53449. end;
  53450. procedure TPORTE_TRISF.clearTRISF12; inline;
  53451. begin
  53452. pTDefRegMap(@Self)^.clr := $00001000;
  53453. end;
  53454. procedure TPORTE_TRISF.setTRISF12(thebits : TBits_1); inline;
  53455. begin
  53456. if thebits = 0 then
  53457. pTDefRegMap(@Self)^.clr := $00001000
  53458. else
  53459. pTDefRegMap(@Self)^.&set := $00001000;
  53460. end;
  53461. function TPORTE_TRISF.getTRISF12 : TBits_1; inline;
  53462. begin
  53463. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53464. end;
  53465. procedure TPORTE_TRISF.setTRISF13; inline;
  53466. begin
  53467. pTDefRegMap(@Self)^.&set := $00002000;
  53468. end;
  53469. procedure TPORTE_TRISF.clearTRISF13; inline;
  53470. begin
  53471. pTDefRegMap(@Self)^.clr := $00002000;
  53472. end;
  53473. procedure TPORTE_TRISF.setTRISF13(thebits : TBits_1); inline;
  53474. begin
  53475. if thebits = 0 then
  53476. pTDefRegMap(@Self)^.clr := $00002000
  53477. else
  53478. pTDefRegMap(@Self)^.&set := $00002000;
  53479. end;
  53480. function TPORTE_TRISF.getTRISF13 : TBits_1; inline;
  53481. begin
  53482. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53483. end;
  53484. procedure TPORTE_TRISF.setw(thebits : TBits_32); inline;
  53485. begin
  53486. pTDefRegMap(@Self)^.val := thebits;
  53487. end;
  53488. function TPORTE_TRISF.getw : TBits_32; inline;
  53489. begin
  53490. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53491. end;
  53492. procedure TPORTF_PORTF.setRF0; inline;
  53493. begin
  53494. pTDefRegMap(@Self)^.&set := $00000001;
  53495. end;
  53496. procedure TPORTF_PORTF.clearRF0; inline;
  53497. begin
  53498. pTDefRegMap(@Self)^.clr := $00000001;
  53499. end;
  53500. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  53501. begin
  53502. if thebits = 0 then
  53503. pTDefRegMap(@Self)^.clr := $00000001
  53504. else
  53505. pTDefRegMap(@Self)^.&set := $00000001;
  53506. end;
  53507. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  53508. begin
  53509. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53510. end;
  53511. procedure TPORTF_PORTF.setRF1; inline;
  53512. begin
  53513. pTDefRegMap(@Self)^.&set := $00000002;
  53514. end;
  53515. procedure TPORTF_PORTF.clearRF1; inline;
  53516. begin
  53517. pTDefRegMap(@Self)^.clr := $00000002;
  53518. end;
  53519. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  53520. begin
  53521. if thebits = 0 then
  53522. pTDefRegMap(@Self)^.clr := $00000002
  53523. else
  53524. pTDefRegMap(@Self)^.&set := $00000002;
  53525. end;
  53526. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  53527. begin
  53528. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53529. end;
  53530. procedure TPORTF_PORTF.setRF2; inline;
  53531. begin
  53532. pTDefRegMap(@Self)^.&set := $00000004;
  53533. end;
  53534. procedure TPORTF_PORTF.clearRF2; inline;
  53535. begin
  53536. pTDefRegMap(@Self)^.clr := $00000004;
  53537. end;
  53538. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  53539. begin
  53540. if thebits = 0 then
  53541. pTDefRegMap(@Self)^.clr := $00000004
  53542. else
  53543. pTDefRegMap(@Self)^.&set := $00000004;
  53544. end;
  53545. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  53546. begin
  53547. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53548. end;
  53549. procedure TPORTF_PORTF.setRF3; inline;
  53550. begin
  53551. pTDefRegMap(@Self)^.&set := $00000008;
  53552. end;
  53553. procedure TPORTF_PORTF.clearRF3; inline;
  53554. begin
  53555. pTDefRegMap(@Self)^.clr := $00000008;
  53556. end;
  53557. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  53558. begin
  53559. if thebits = 0 then
  53560. pTDefRegMap(@Self)^.clr := $00000008
  53561. else
  53562. pTDefRegMap(@Self)^.&set := $00000008;
  53563. end;
  53564. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  53565. begin
  53566. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53567. end;
  53568. procedure TPORTF_PORTF.setRF4; inline;
  53569. begin
  53570. pTDefRegMap(@Self)^.&set := $00000010;
  53571. end;
  53572. procedure TPORTF_PORTF.clearRF4; inline;
  53573. begin
  53574. pTDefRegMap(@Self)^.clr := $00000010;
  53575. end;
  53576. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  53577. begin
  53578. if thebits = 0 then
  53579. pTDefRegMap(@Self)^.clr := $00000010
  53580. else
  53581. pTDefRegMap(@Self)^.&set := $00000010;
  53582. end;
  53583. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  53584. begin
  53585. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53586. end;
  53587. procedure TPORTF_PORTF.setRF5; inline;
  53588. begin
  53589. pTDefRegMap(@Self)^.&set := $00000020;
  53590. end;
  53591. procedure TPORTF_PORTF.clearRF5; inline;
  53592. begin
  53593. pTDefRegMap(@Self)^.clr := $00000020;
  53594. end;
  53595. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  53596. begin
  53597. if thebits = 0 then
  53598. pTDefRegMap(@Self)^.clr := $00000020
  53599. else
  53600. pTDefRegMap(@Self)^.&set := $00000020;
  53601. end;
  53602. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  53603. begin
  53604. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53605. end;
  53606. procedure TPORTF_PORTF.setRF8; inline;
  53607. begin
  53608. pTDefRegMap(@Self)^.&set := $00000100;
  53609. end;
  53610. procedure TPORTF_PORTF.clearRF8; inline;
  53611. begin
  53612. pTDefRegMap(@Self)^.clr := $00000100;
  53613. end;
  53614. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  53615. begin
  53616. if thebits = 0 then
  53617. pTDefRegMap(@Self)^.clr := $00000100
  53618. else
  53619. pTDefRegMap(@Self)^.&set := $00000100;
  53620. end;
  53621. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  53622. begin
  53623. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53624. end;
  53625. procedure TPORTF_PORTF.setRF12; inline;
  53626. begin
  53627. pTDefRegMap(@Self)^.&set := $00001000;
  53628. end;
  53629. procedure TPORTF_PORTF.clearRF12; inline;
  53630. begin
  53631. pTDefRegMap(@Self)^.clr := $00001000;
  53632. end;
  53633. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  53634. begin
  53635. if thebits = 0 then
  53636. pTDefRegMap(@Self)^.clr := $00001000
  53637. else
  53638. pTDefRegMap(@Self)^.&set := $00001000;
  53639. end;
  53640. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  53641. begin
  53642. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53643. end;
  53644. procedure TPORTF_PORTF.setRF13; inline;
  53645. begin
  53646. pTDefRegMap(@Self)^.&set := $00002000;
  53647. end;
  53648. procedure TPORTF_PORTF.clearRF13; inline;
  53649. begin
  53650. pTDefRegMap(@Self)^.clr := $00002000;
  53651. end;
  53652. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  53653. begin
  53654. if thebits = 0 then
  53655. pTDefRegMap(@Self)^.clr := $00002000
  53656. else
  53657. pTDefRegMap(@Self)^.&set := $00002000;
  53658. end;
  53659. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  53660. begin
  53661. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53662. end;
  53663. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  53664. begin
  53665. pTDefRegMap(@Self)^.val := thebits;
  53666. end;
  53667. function TPORTF_PORTF.getw : TBits_32; inline;
  53668. begin
  53669. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53670. end;
  53671. procedure TPORTF_LATF.setLATF0; inline;
  53672. begin
  53673. pTDefRegMap(@Self)^.&set := $00000001;
  53674. end;
  53675. procedure TPORTF_LATF.clearLATF0; inline;
  53676. begin
  53677. pTDefRegMap(@Self)^.clr := $00000001;
  53678. end;
  53679. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  53680. begin
  53681. if thebits = 0 then
  53682. pTDefRegMap(@Self)^.clr := $00000001
  53683. else
  53684. pTDefRegMap(@Self)^.&set := $00000001;
  53685. end;
  53686. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  53687. begin
  53688. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53689. end;
  53690. procedure TPORTF_LATF.setLATF1; inline;
  53691. begin
  53692. pTDefRegMap(@Self)^.&set := $00000002;
  53693. end;
  53694. procedure TPORTF_LATF.clearLATF1; inline;
  53695. begin
  53696. pTDefRegMap(@Self)^.clr := $00000002;
  53697. end;
  53698. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  53699. begin
  53700. if thebits = 0 then
  53701. pTDefRegMap(@Self)^.clr := $00000002
  53702. else
  53703. pTDefRegMap(@Self)^.&set := $00000002;
  53704. end;
  53705. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  53706. begin
  53707. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53708. end;
  53709. procedure TPORTF_LATF.setLATF2; inline;
  53710. begin
  53711. pTDefRegMap(@Self)^.&set := $00000004;
  53712. end;
  53713. procedure TPORTF_LATF.clearLATF2; inline;
  53714. begin
  53715. pTDefRegMap(@Self)^.clr := $00000004;
  53716. end;
  53717. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  53718. begin
  53719. if thebits = 0 then
  53720. pTDefRegMap(@Self)^.clr := $00000004
  53721. else
  53722. pTDefRegMap(@Self)^.&set := $00000004;
  53723. end;
  53724. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  53725. begin
  53726. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53727. end;
  53728. procedure TPORTF_LATF.setLATF3; inline;
  53729. begin
  53730. pTDefRegMap(@Self)^.&set := $00000008;
  53731. end;
  53732. procedure TPORTF_LATF.clearLATF3; inline;
  53733. begin
  53734. pTDefRegMap(@Self)^.clr := $00000008;
  53735. end;
  53736. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  53737. begin
  53738. if thebits = 0 then
  53739. pTDefRegMap(@Self)^.clr := $00000008
  53740. else
  53741. pTDefRegMap(@Self)^.&set := $00000008;
  53742. end;
  53743. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  53744. begin
  53745. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53746. end;
  53747. procedure TPORTF_LATF.setLATF4; inline;
  53748. begin
  53749. pTDefRegMap(@Self)^.&set := $00000010;
  53750. end;
  53751. procedure TPORTF_LATF.clearLATF4; inline;
  53752. begin
  53753. pTDefRegMap(@Self)^.clr := $00000010;
  53754. end;
  53755. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  53756. begin
  53757. if thebits = 0 then
  53758. pTDefRegMap(@Self)^.clr := $00000010
  53759. else
  53760. pTDefRegMap(@Self)^.&set := $00000010;
  53761. end;
  53762. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  53763. begin
  53764. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53765. end;
  53766. procedure TPORTF_LATF.setLATF5; inline;
  53767. begin
  53768. pTDefRegMap(@Self)^.&set := $00000020;
  53769. end;
  53770. procedure TPORTF_LATF.clearLATF5; inline;
  53771. begin
  53772. pTDefRegMap(@Self)^.clr := $00000020;
  53773. end;
  53774. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  53775. begin
  53776. if thebits = 0 then
  53777. pTDefRegMap(@Self)^.clr := $00000020
  53778. else
  53779. pTDefRegMap(@Self)^.&set := $00000020;
  53780. end;
  53781. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  53782. begin
  53783. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53784. end;
  53785. procedure TPORTF_LATF.setLATF8; inline;
  53786. begin
  53787. pTDefRegMap(@Self)^.&set := $00000100;
  53788. end;
  53789. procedure TPORTF_LATF.clearLATF8; inline;
  53790. begin
  53791. pTDefRegMap(@Self)^.clr := $00000100;
  53792. end;
  53793. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  53794. begin
  53795. if thebits = 0 then
  53796. pTDefRegMap(@Self)^.clr := $00000100
  53797. else
  53798. pTDefRegMap(@Self)^.&set := $00000100;
  53799. end;
  53800. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  53801. begin
  53802. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53803. end;
  53804. procedure TPORTF_LATF.setLATF12; inline;
  53805. begin
  53806. pTDefRegMap(@Self)^.&set := $00001000;
  53807. end;
  53808. procedure TPORTF_LATF.clearLATF12; inline;
  53809. begin
  53810. pTDefRegMap(@Self)^.clr := $00001000;
  53811. end;
  53812. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  53813. begin
  53814. if thebits = 0 then
  53815. pTDefRegMap(@Self)^.clr := $00001000
  53816. else
  53817. pTDefRegMap(@Self)^.&set := $00001000;
  53818. end;
  53819. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  53820. begin
  53821. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53822. end;
  53823. procedure TPORTF_LATF.setLATF13; inline;
  53824. begin
  53825. pTDefRegMap(@Self)^.&set := $00002000;
  53826. end;
  53827. procedure TPORTF_LATF.clearLATF13; inline;
  53828. begin
  53829. pTDefRegMap(@Self)^.clr := $00002000;
  53830. end;
  53831. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  53832. begin
  53833. if thebits = 0 then
  53834. pTDefRegMap(@Self)^.clr := $00002000
  53835. else
  53836. pTDefRegMap(@Self)^.&set := $00002000;
  53837. end;
  53838. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  53839. begin
  53840. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53841. end;
  53842. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  53843. begin
  53844. pTDefRegMap(@Self)^.val := thebits;
  53845. end;
  53846. function TPORTF_LATF.getw : TBits_32; inline;
  53847. begin
  53848. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53849. end;
  53850. procedure TPORTF_ODCF.setODCF0; inline;
  53851. begin
  53852. pTDefRegMap(@Self)^.&set := $00000001;
  53853. end;
  53854. procedure TPORTF_ODCF.clearODCF0; inline;
  53855. begin
  53856. pTDefRegMap(@Self)^.clr := $00000001;
  53857. end;
  53858. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  53859. begin
  53860. if thebits = 0 then
  53861. pTDefRegMap(@Self)^.clr := $00000001
  53862. else
  53863. pTDefRegMap(@Self)^.&set := $00000001;
  53864. end;
  53865. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  53866. begin
  53867. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53868. end;
  53869. procedure TPORTF_ODCF.setODCF1; inline;
  53870. begin
  53871. pTDefRegMap(@Self)^.&set := $00000002;
  53872. end;
  53873. procedure TPORTF_ODCF.clearODCF1; inline;
  53874. begin
  53875. pTDefRegMap(@Self)^.clr := $00000002;
  53876. end;
  53877. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  53878. begin
  53879. if thebits = 0 then
  53880. pTDefRegMap(@Self)^.clr := $00000002
  53881. else
  53882. pTDefRegMap(@Self)^.&set := $00000002;
  53883. end;
  53884. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  53885. begin
  53886. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53887. end;
  53888. procedure TPORTF_ODCF.setODCF2; inline;
  53889. begin
  53890. pTDefRegMap(@Self)^.&set := $00000004;
  53891. end;
  53892. procedure TPORTF_ODCF.clearODCF2; inline;
  53893. begin
  53894. pTDefRegMap(@Self)^.clr := $00000004;
  53895. end;
  53896. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  53897. begin
  53898. if thebits = 0 then
  53899. pTDefRegMap(@Self)^.clr := $00000004
  53900. else
  53901. pTDefRegMap(@Self)^.&set := $00000004;
  53902. end;
  53903. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  53904. begin
  53905. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53906. end;
  53907. procedure TPORTF_ODCF.setODCF3; inline;
  53908. begin
  53909. pTDefRegMap(@Self)^.&set := $00000008;
  53910. end;
  53911. procedure TPORTF_ODCF.clearODCF3; inline;
  53912. begin
  53913. pTDefRegMap(@Self)^.clr := $00000008;
  53914. end;
  53915. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  53916. begin
  53917. if thebits = 0 then
  53918. pTDefRegMap(@Self)^.clr := $00000008
  53919. else
  53920. pTDefRegMap(@Self)^.&set := $00000008;
  53921. end;
  53922. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  53923. begin
  53924. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53925. end;
  53926. procedure TPORTF_ODCF.setODCF4; inline;
  53927. begin
  53928. pTDefRegMap(@Self)^.&set := $00000010;
  53929. end;
  53930. procedure TPORTF_ODCF.clearODCF4; inline;
  53931. begin
  53932. pTDefRegMap(@Self)^.clr := $00000010;
  53933. end;
  53934. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  53935. begin
  53936. if thebits = 0 then
  53937. pTDefRegMap(@Self)^.clr := $00000010
  53938. else
  53939. pTDefRegMap(@Self)^.&set := $00000010;
  53940. end;
  53941. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  53942. begin
  53943. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53944. end;
  53945. procedure TPORTF_ODCF.setODCF5; inline;
  53946. begin
  53947. pTDefRegMap(@Self)^.&set := $00000020;
  53948. end;
  53949. procedure TPORTF_ODCF.clearODCF5; inline;
  53950. begin
  53951. pTDefRegMap(@Self)^.clr := $00000020;
  53952. end;
  53953. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  53954. begin
  53955. if thebits = 0 then
  53956. pTDefRegMap(@Self)^.clr := $00000020
  53957. else
  53958. pTDefRegMap(@Self)^.&set := $00000020;
  53959. end;
  53960. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  53961. begin
  53962. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53963. end;
  53964. procedure TPORTF_ODCF.setODCF8; inline;
  53965. begin
  53966. pTDefRegMap(@Self)^.&set := $00000100;
  53967. end;
  53968. procedure TPORTF_ODCF.clearODCF8; inline;
  53969. begin
  53970. pTDefRegMap(@Self)^.clr := $00000100;
  53971. end;
  53972. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  53973. begin
  53974. if thebits = 0 then
  53975. pTDefRegMap(@Self)^.clr := $00000100
  53976. else
  53977. pTDefRegMap(@Self)^.&set := $00000100;
  53978. end;
  53979. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  53980. begin
  53981. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53982. end;
  53983. procedure TPORTF_ODCF.setODCF12; inline;
  53984. begin
  53985. pTDefRegMap(@Self)^.&set := $00001000;
  53986. end;
  53987. procedure TPORTF_ODCF.clearODCF12; inline;
  53988. begin
  53989. pTDefRegMap(@Self)^.clr := $00001000;
  53990. end;
  53991. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  53992. begin
  53993. if thebits = 0 then
  53994. pTDefRegMap(@Self)^.clr := $00001000
  53995. else
  53996. pTDefRegMap(@Self)^.&set := $00001000;
  53997. end;
  53998. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  53999. begin
  54000. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54001. end;
  54002. procedure TPORTF_ODCF.setODCF13; inline;
  54003. begin
  54004. pTDefRegMap(@Self)^.&set := $00002000;
  54005. end;
  54006. procedure TPORTF_ODCF.clearODCF13; inline;
  54007. begin
  54008. pTDefRegMap(@Self)^.clr := $00002000;
  54009. end;
  54010. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  54011. begin
  54012. if thebits = 0 then
  54013. pTDefRegMap(@Self)^.clr := $00002000
  54014. else
  54015. pTDefRegMap(@Self)^.&set := $00002000;
  54016. end;
  54017. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  54018. begin
  54019. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54020. end;
  54021. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  54022. begin
  54023. pTDefRegMap(@Self)^.val := thebits;
  54024. end;
  54025. function TPORTF_ODCF.getw : TBits_32; inline;
  54026. begin
  54027. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54028. end;
  54029. procedure TPORTF_CNPUF.setCNPUF0; inline;
  54030. begin
  54031. pTDefRegMap(@Self)^.&set := $00000001;
  54032. end;
  54033. procedure TPORTF_CNPUF.clearCNPUF0; inline;
  54034. begin
  54035. pTDefRegMap(@Self)^.clr := $00000001;
  54036. end;
  54037. procedure TPORTF_CNPUF.setCNPUF0(thebits : TBits_1); inline;
  54038. begin
  54039. if thebits = 0 then
  54040. pTDefRegMap(@Self)^.clr := $00000001
  54041. else
  54042. pTDefRegMap(@Self)^.&set := $00000001;
  54043. end;
  54044. function TPORTF_CNPUF.getCNPUF0 : TBits_1; inline;
  54045. begin
  54046. getCNPUF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54047. end;
  54048. procedure TPORTF_CNPUF.setCNPUF1; inline;
  54049. begin
  54050. pTDefRegMap(@Self)^.&set := $00000002;
  54051. end;
  54052. procedure TPORTF_CNPUF.clearCNPUF1; inline;
  54053. begin
  54054. pTDefRegMap(@Self)^.clr := $00000002;
  54055. end;
  54056. procedure TPORTF_CNPUF.setCNPUF1(thebits : TBits_1); inline;
  54057. begin
  54058. if thebits = 0 then
  54059. pTDefRegMap(@Self)^.clr := $00000002
  54060. else
  54061. pTDefRegMap(@Self)^.&set := $00000002;
  54062. end;
  54063. function TPORTF_CNPUF.getCNPUF1 : TBits_1; inline;
  54064. begin
  54065. getCNPUF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54066. end;
  54067. procedure TPORTF_CNPUF.setCNPUF2; inline;
  54068. begin
  54069. pTDefRegMap(@Self)^.&set := $00000004;
  54070. end;
  54071. procedure TPORTF_CNPUF.clearCNPUF2; inline;
  54072. begin
  54073. pTDefRegMap(@Self)^.clr := $00000004;
  54074. end;
  54075. procedure TPORTF_CNPUF.setCNPUF2(thebits : TBits_1); inline;
  54076. begin
  54077. if thebits = 0 then
  54078. pTDefRegMap(@Self)^.clr := $00000004
  54079. else
  54080. pTDefRegMap(@Self)^.&set := $00000004;
  54081. end;
  54082. function TPORTF_CNPUF.getCNPUF2 : TBits_1; inline;
  54083. begin
  54084. getCNPUF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54085. end;
  54086. procedure TPORTF_CNPUF.setCNPUF3; inline;
  54087. begin
  54088. pTDefRegMap(@Self)^.&set := $00000008;
  54089. end;
  54090. procedure TPORTF_CNPUF.clearCNPUF3; inline;
  54091. begin
  54092. pTDefRegMap(@Self)^.clr := $00000008;
  54093. end;
  54094. procedure TPORTF_CNPUF.setCNPUF3(thebits : TBits_1); inline;
  54095. begin
  54096. if thebits = 0 then
  54097. pTDefRegMap(@Self)^.clr := $00000008
  54098. else
  54099. pTDefRegMap(@Self)^.&set := $00000008;
  54100. end;
  54101. function TPORTF_CNPUF.getCNPUF3 : TBits_1; inline;
  54102. begin
  54103. getCNPUF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54104. end;
  54105. procedure TPORTF_CNPUF.setCNPUF4; inline;
  54106. begin
  54107. pTDefRegMap(@Self)^.&set := $00000010;
  54108. end;
  54109. procedure TPORTF_CNPUF.clearCNPUF4; inline;
  54110. begin
  54111. pTDefRegMap(@Self)^.clr := $00000010;
  54112. end;
  54113. procedure TPORTF_CNPUF.setCNPUF4(thebits : TBits_1); inline;
  54114. begin
  54115. if thebits = 0 then
  54116. pTDefRegMap(@Self)^.clr := $00000010
  54117. else
  54118. pTDefRegMap(@Self)^.&set := $00000010;
  54119. end;
  54120. function TPORTF_CNPUF.getCNPUF4 : TBits_1; inline;
  54121. begin
  54122. getCNPUF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54123. end;
  54124. procedure TPORTF_CNPUF.setCNPUF5; inline;
  54125. begin
  54126. pTDefRegMap(@Self)^.&set := $00000020;
  54127. end;
  54128. procedure TPORTF_CNPUF.clearCNPUF5; inline;
  54129. begin
  54130. pTDefRegMap(@Self)^.clr := $00000020;
  54131. end;
  54132. procedure TPORTF_CNPUF.setCNPUF5(thebits : TBits_1); inline;
  54133. begin
  54134. if thebits = 0 then
  54135. pTDefRegMap(@Self)^.clr := $00000020
  54136. else
  54137. pTDefRegMap(@Self)^.&set := $00000020;
  54138. end;
  54139. function TPORTF_CNPUF.getCNPUF5 : TBits_1; inline;
  54140. begin
  54141. getCNPUF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54142. end;
  54143. procedure TPORTF_CNPUF.setCNPUF8; inline;
  54144. begin
  54145. pTDefRegMap(@Self)^.&set := $00000100;
  54146. end;
  54147. procedure TPORTF_CNPUF.clearCNPUF8; inline;
  54148. begin
  54149. pTDefRegMap(@Self)^.clr := $00000100;
  54150. end;
  54151. procedure TPORTF_CNPUF.setCNPUF8(thebits : TBits_1); inline;
  54152. begin
  54153. if thebits = 0 then
  54154. pTDefRegMap(@Self)^.clr := $00000100
  54155. else
  54156. pTDefRegMap(@Self)^.&set := $00000100;
  54157. end;
  54158. function TPORTF_CNPUF.getCNPUF8 : TBits_1; inline;
  54159. begin
  54160. getCNPUF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54161. end;
  54162. procedure TPORTF_CNPUF.setCNPUF12; inline;
  54163. begin
  54164. pTDefRegMap(@Self)^.&set := $00001000;
  54165. end;
  54166. procedure TPORTF_CNPUF.clearCNPUF12; inline;
  54167. begin
  54168. pTDefRegMap(@Self)^.clr := $00001000;
  54169. end;
  54170. procedure TPORTF_CNPUF.setCNPUF12(thebits : TBits_1); inline;
  54171. begin
  54172. if thebits = 0 then
  54173. pTDefRegMap(@Self)^.clr := $00001000
  54174. else
  54175. pTDefRegMap(@Self)^.&set := $00001000;
  54176. end;
  54177. function TPORTF_CNPUF.getCNPUF12 : TBits_1; inline;
  54178. begin
  54179. getCNPUF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54180. end;
  54181. procedure TPORTF_CNPUF.setCNPUF13; inline;
  54182. begin
  54183. pTDefRegMap(@Self)^.&set := $00002000;
  54184. end;
  54185. procedure TPORTF_CNPUF.clearCNPUF13; inline;
  54186. begin
  54187. pTDefRegMap(@Self)^.clr := $00002000;
  54188. end;
  54189. procedure TPORTF_CNPUF.setCNPUF13(thebits : TBits_1); inline;
  54190. begin
  54191. if thebits = 0 then
  54192. pTDefRegMap(@Self)^.clr := $00002000
  54193. else
  54194. pTDefRegMap(@Self)^.&set := $00002000;
  54195. end;
  54196. function TPORTF_CNPUF.getCNPUF13 : TBits_1; inline;
  54197. begin
  54198. getCNPUF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54199. end;
  54200. procedure TPORTF_CNPUF.setw(thebits : TBits_32); inline;
  54201. begin
  54202. pTDefRegMap(@Self)^.val := thebits;
  54203. end;
  54204. function TPORTF_CNPUF.getw : TBits_32; inline;
  54205. begin
  54206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54207. end;
  54208. procedure TPORTF_CNPDF.setCNPDF0; inline;
  54209. begin
  54210. pTDefRegMap(@Self)^.&set := $00000001;
  54211. end;
  54212. procedure TPORTF_CNPDF.clearCNPDF0; inline;
  54213. begin
  54214. pTDefRegMap(@Self)^.clr := $00000001;
  54215. end;
  54216. procedure TPORTF_CNPDF.setCNPDF0(thebits : TBits_1); inline;
  54217. begin
  54218. if thebits = 0 then
  54219. pTDefRegMap(@Self)^.clr := $00000001
  54220. else
  54221. pTDefRegMap(@Self)^.&set := $00000001;
  54222. end;
  54223. function TPORTF_CNPDF.getCNPDF0 : TBits_1; inline;
  54224. begin
  54225. getCNPDF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54226. end;
  54227. procedure TPORTF_CNPDF.setCNPDF1; inline;
  54228. begin
  54229. pTDefRegMap(@Self)^.&set := $00000002;
  54230. end;
  54231. procedure TPORTF_CNPDF.clearCNPDF1; inline;
  54232. begin
  54233. pTDefRegMap(@Self)^.clr := $00000002;
  54234. end;
  54235. procedure TPORTF_CNPDF.setCNPDF1(thebits : TBits_1); inline;
  54236. begin
  54237. if thebits = 0 then
  54238. pTDefRegMap(@Self)^.clr := $00000002
  54239. else
  54240. pTDefRegMap(@Self)^.&set := $00000002;
  54241. end;
  54242. function TPORTF_CNPDF.getCNPDF1 : TBits_1; inline;
  54243. begin
  54244. getCNPDF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54245. end;
  54246. procedure TPORTF_CNPDF.setCNPDF2; inline;
  54247. begin
  54248. pTDefRegMap(@Self)^.&set := $00000004;
  54249. end;
  54250. procedure TPORTF_CNPDF.clearCNPDF2; inline;
  54251. begin
  54252. pTDefRegMap(@Self)^.clr := $00000004;
  54253. end;
  54254. procedure TPORTF_CNPDF.setCNPDF2(thebits : TBits_1); inline;
  54255. begin
  54256. if thebits = 0 then
  54257. pTDefRegMap(@Self)^.clr := $00000004
  54258. else
  54259. pTDefRegMap(@Self)^.&set := $00000004;
  54260. end;
  54261. function TPORTF_CNPDF.getCNPDF2 : TBits_1; inline;
  54262. begin
  54263. getCNPDF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54264. end;
  54265. procedure TPORTF_CNPDF.setCNPDF3; inline;
  54266. begin
  54267. pTDefRegMap(@Self)^.&set := $00000008;
  54268. end;
  54269. procedure TPORTF_CNPDF.clearCNPDF3; inline;
  54270. begin
  54271. pTDefRegMap(@Self)^.clr := $00000008;
  54272. end;
  54273. procedure TPORTF_CNPDF.setCNPDF3(thebits : TBits_1); inline;
  54274. begin
  54275. if thebits = 0 then
  54276. pTDefRegMap(@Self)^.clr := $00000008
  54277. else
  54278. pTDefRegMap(@Self)^.&set := $00000008;
  54279. end;
  54280. function TPORTF_CNPDF.getCNPDF3 : TBits_1; inline;
  54281. begin
  54282. getCNPDF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54283. end;
  54284. procedure TPORTF_CNPDF.setCNPDF4; inline;
  54285. begin
  54286. pTDefRegMap(@Self)^.&set := $00000010;
  54287. end;
  54288. procedure TPORTF_CNPDF.clearCNPDF4; inline;
  54289. begin
  54290. pTDefRegMap(@Self)^.clr := $00000010;
  54291. end;
  54292. procedure TPORTF_CNPDF.setCNPDF4(thebits : TBits_1); inline;
  54293. begin
  54294. if thebits = 0 then
  54295. pTDefRegMap(@Self)^.clr := $00000010
  54296. else
  54297. pTDefRegMap(@Self)^.&set := $00000010;
  54298. end;
  54299. function TPORTF_CNPDF.getCNPDF4 : TBits_1; inline;
  54300. begin
  54301. getCNPDF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54302. end;
  54303. procedure TPORTF_CNPDF.setCNPDF5; inline;
  54304. begin
  54305. pTDefRegMap(@Self)^.&set := $00000020;
  54306. end;
  54307. procedure TPORTF_CNPDF.clearCNPDF5; inline;
  54308. begin
  54309. pTDefRegMap(@Self)^.clr := $00000020;
  54310. end;
  54311. procedure TPORTF_CNPDF.setCNPDF5(thebits : TBits_1); inline;
  54312. begin
  54313. if thebits = 0 then
  54314. pTDefRegMap(@Self)^.clr := $00000020
  54315. else
  54316. pTDefRegMap(@Self)^.&set := $00000020;
  54317. end;
  54318. function TPORTF_CNPDF.getCNPDF5 : TBits_1; inline;
  54319. begin
  54320. getCNPDF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54321. end;
  54322. procedure TPORTF_CNPDF.setCNPDF8; inline;
  54323. begin
  54324. pTDefRegMap(@Self)^.&set := $00000100;
  54325. end;
  54326. procedure TPORTF_CNPDF.clearCNPDF8; inline;
  54327. begin
  54328. pTDefRegMap(@Self)^.clr := $00000100;
  54329. end;
  54330. procedure TPORTF_CNPDF.setCNPDF8(thebits : TBits_1); inline;
  54331. begin
  54332. if thebits = 0 then
  54333. pTDefRegMap(@Self)^.clr := $00000100
  54334. else
  54335. pTDefRegMap(@Self)^.&set := $00000100;
  54336. end;
  54337. function TPORTF_CNPDF.getCNPDF8 : TBits_1; inline;
  54338. begin
  54339. getCNPDF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54340. end;
  54341. procedure TPORTF_CNPDF.setCNPDF12; inline;
  54342. begin
  54343. pTDefRegMap(@Self)^.&set := $00001000;
  54344. end;
  54345. procedure TPORTF_CNPDF.clearCNPDF12; inline;
  54346. begin
  54347. pTDefRegMap(@Self)^.clr := $00001000;
  54348. end;
  54349. procedure TPORTF_CNPDF.setCNPDF12(thebits : TBits_1); inline;
  54350. begin
  54351. if thebits = 0 then
  54352. pTDefRegMap(@Self)^.clr := $00001000
  54353. else
  54354. pTDefRegMap(@Self)^.&set := $00001000;
  54355. end;
  54356. function TPORTF_CNPDF.getCNPDF12 : TBits_1; inline;
  54357. begin
  54358. getCNPDF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54359. end;
  54360. procedure TPORTF_CNPDF.setCNPDF13; inline;
  54361. begin
  54362. pTDefRegMap(@Self)^.&set := $00002000;
  54363. end;
  54364. procedure TPORTF_CNPDF.clearCNPDF13; inline;
  54365. begin
  54366. pTDefRegMap(@Self)^.clr := $00002000;
  54367. end;
  54368. procedure TPORTF_CNPDF.setCNPDF13(thebits : TBits_1); inline;
  54369. begin
  54370. if thebits = 0 then
  54371. pTDefRegMap(@Self)^.clr := $00002000
  54372. else
  54373. pTDefRegMap(@Self)^.&set := $00002000;
  54374. end;
  54375. function TPORTF_CNPDF.getCNPDF13 : TBits_1; inline;
  54376. begin
  54377. getCNPDF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54378. end;
  54379. procedure TPORTF_CNPDF.setw(thebits : TBits_32); inline;
  54380. begin
  54381. pTDefRegMap(@Self)^.val := thebits;
  54382. end;
  54383. function TPORTF_CNPDF.getw : TBits_32; inline;
  54384. begin
  54385. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54386. end;
  54387. procedure TPORTF_CNCONF.setSIDL; inline;
  54388. begin
  54389. pTDefRegMap(@Self)^.&set := $00002000;
  54390. end;
  54391. procedure TPORTF_CNCONF.clearSIDL; inline;
  54392. begin
  54393. pTDefRegMap(@Self)^.clr := $00002000;
  54394. end;
  54395. procedure TPORTF_CNCONF.setSIDL(thebits : TBits_1); inline;
  54396. begin
  54397. if thebits = 0 then
  54398. pTDefRegMap(@Self)^.clr := $00002000
  54399. else
  54400. pTDefRegMap(@Self)^.&set := $00002000;
  54401. end;
  54402. function TPORTF_CNCONF.getSIDL : TBits_1; inline;
  54403. begin
  54404. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54405. end;
  54406. procedure TPORTF_CNCONF.setON; inline;
  54407. begin
  54408. pTDefRegMap(@Self)^.&set := $00008000;
  54409. end;
  54410. procedure TPORTF_CNCONF.clearON; inline;
  54411. begin
  54412. pTDefRegMap(@Self)^.clr := $00008000;
  54413. end;
  54414. procedure TPORTF_CNCONF.setON(thebits : TBits_1); inline;
  54415. begin
  54416. if thebits = 0 then
  54417. pTDefRegMap(@Self)^.clr := $00008000
  54418. else
  54419. pTDefRegMap(@Self)^.&set := $00008000;
  54420. end;
  54421. function TPORTF_CNCONF.getON : TBits_1; inline;
  54422. begin
  54423. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54424. end;
  54425. procedure TPORTF_CNCONF.setw(thebits : TBits_32); inline;
  54426. begin
  54427. pTDefRegMap(@Self)^.val := thebits;
  54428. end;
  54429. function TPORTF_CNCONF.getw : TBits_32; inline;
  54430. begin
  54431. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54432. end;
  54433. procedure TPORTF_CNENF.setCNIEF0; inline;
  54434. begin
  54435. pTDefRegMap(@Self)^.&set := $00000001;
  54436. end;
  54437. procedure TPORTF_CNENF.clearCNIEF0; inline;
  54438. begin
  54439. pTDefRegMap(@Self)^.clr := $00000001;
  54440. end;
  54441. procedure TPORTF_CNENF.setCNIEF0(thebits : TBits_1); inline;
  54442. begin
  54443. if thebits = 0 then
  54444. pTDefRegMap(@Self)^.clr := $00000001
  54445. else
  54446. pTDefRegMap(@Self)^.&set := $00000001;
  54447. end;
  54448. function TPORTF_CNENF.getCNIEF0 : TBits_1; inline;
  54449. begin
  54450. getCNIEF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54451. end;
  54452. procedure TPORTF_CNENF.setCNIEF1; inline;
  54453. begin
  54454. pTDefRegMap(@Self)^.&set := $00000002;
  54455. end;
  54456. procedure TPORTF_CNENF.clearCNIEF1; inline;
  54457. begin
  54458. pTDefRegMap(@Self)^.clr := $00000002;
  54459. end;
  54460. procedure TPORTF_CNENF.setCNIEF1(thebits : TBits_1); inline;
  54461. begin
  54462. if thebits = 0 then
  54463. pTDefRegMap(@Self)^.clr := $00000002
  54464. else
  54465. pTDefRegMap(@Self)^.&set := $00000002;
  54466. end;
  54467. function TPORTF_CNENF.getCNIEF1 : TBits_1; inline;
  54468. begin
  54469. getCNIEF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54470. end;
  54471. procedure TPORTF_CNENF.setCNIEF2; inline;
  54472. begin
  54473. pTDefRegMap(@Self)^.&set := $00000004;
  54474. end;
  54475. procedure TPORTF_CNENF.clearCNIEF2; inline;
  54476. begin
  54477. pTDefRegMap(@Self)^.clr := $00000004;
  54478. end;
  54479. procedure TPORTF_CNENF.setCNIEF2(thebits : TBits_1); inline;
  54480. begin
  54481. if thebits = 0 then
  54482. pTDefRegMap(@Self)^.clr := $00000004
  54483. else
  54484. pTDefRegMap(@Self)^.&set := $00000004;
  54485. end;
  54486. function TPORTF_CNENF.getCNIEF2 : TBits_1; inline;
  54487. begin
  54488. getCNIEF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54489. end;
  54490. procedure TPORTF_CNENF.setCNIEF3; inline;
  54491. begin
  54492. pTDefRegMap(@Self)^.&set := $00000008;
  54493. end;
  54494. procedure TPORTF_CNENF.clearCNIEF3; inline;
  54495. begin
  54496. pTDefRegMap(@Self)^.clr := $00000008;
  54497. end;
  54498. procedure TPORTF_CNENF.setCNIEF3(thebits : TBits_1); inline;
  54499. begin
  54500. if thebits = 0 then
  54501. pTDefRegMap(@Self)^.clr := $00000008
  54502. else
  54503. pTDefRegMap(@Self)^.&set := $00000008;
  54504. end;
  54505. function TPORTF_CNENF.getCNIEF3 : TBits_1; inline;
  54506. begin
  54507. getCNIEF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54508. end;
  54509. procedure TPORTF_CNENF.setCNIEF4; inline;
  54510. begin
  54511. pTDefRegMap(@Self)^.&set := $00000010;
  54512. end;
  54513. procedure TPORTF_CNENF.clearCNIEF4; inline;
  54514. begin
  54515. pTDefRegMap(@Self)^.clr := $00000010;
  54516. end;
  54517. procedure TPORTF_CNENF.setCNIEF4(thebits : TBits_1); inline;
  54518. begin
  54519. if thebits = 0 then
  54520. pTDefRegMap(@Self)^.clr := $00000010
  54521. else
  54522. pTDefRegMap(@Self)^.&set := $00000010;
  54523. end;
  54524. function TPORTF_CNENF.getCNIEF4 : TBits_1; inline;
  54525. begin
  54526. getCNIEF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54527. end;
  54528. procedure TPORTF_CNENF.setCNIEF5; inline;
  54529. begin
  54530. pTDefRegMap(@Self)^.&set := $00000020;
  54531. end;
  54532. procedure TPORTF_CNENF.clearCNIEF5; inline;
  54533. begin
  54534. pTDefRegMap(@Self)^.clr := $00000020;
  54535. end;
  54536. procedure TPORTF_CNENF.setCNIEF5(thebits : TBits_1); inline;
  54537. begin
  54538. if thebits = 0 then
  54539. pTDefRegMap(@Self)^.clr := $00000020
  54540. else
  54541. pTDefRegMap(@Self)^.&set := $00000020;
  54542. end;
  54543. function TPORTF_CNENF.getCNIEF5 : TBits_1; inline;
  54544. begin
  54545. getCNIEF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54546. end;
  54547. procedure TPORTF_CNENF.setCNIEF8; inline;
  54548. begin
  54549. pTDefRegMap(@Self)^.&set := $00000100;
  54550. end;
  54551. procedure TPORTF_CNENF.clearCNIEF8; inline;
  54552. begin
  54553. pTDefRegMap(@Self)^.clr := $00000100;
  54554. end;
  54555. procedure TPORTF_CNENF.setCNIEF8(thebits : TBits_1); inline;
  54556. begin
  54557. if thebits = 0 then
  54558. pTDefRegMap(@Self)^.clr := $00000100
  54559. else
  54560. pTDefRegMap(@Self)^.&set := $00000100;
  54561. end;
  54562. function TPORTF_CNENF.getCNIEF8 : TBits_1; inline;
  54563. begin
  54564. getCNIEF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54565. end;
  54566. procedure TPORTF_CNENF.setCNIEF12; inline;
  54567. begin
  54568. pTDefRegMap(@Self)^.&set := $00001000;
  54569. end;
  54570. procedure TPORTF_CNENF.clearCNIEF12; inline;
  54571. begin
  54572. pTDefRegMap(@Self)^.clr := $00001000;
  54573. end;
  54574. procedure TPORTF_CNENF.setCNIEF12(thebits : TBits_1); inline;
  54575. begin
  54576. if thebits = 0 then
  54577. pTDefRegMap(@Self)^.clr := $00001000
  54578. else
  54579. pTDefRegMap(@Self)^.&set := $00001000;
  54580. end;
  54581. function TPORTF_CNENF.getCNIEF12 : TBits_1; inline;
  54582. begin
  54583. getCNIEF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54584. end;
  54585. procedure TPORTF_CNENF.setCNIEF13; inline;
  54586. begin
  54587. pTDefRegMap(@Self)^.&set := $00002000;
  54588. end;
  54589. procedure TPORTF_CNENF.clearCNIEF13; inline;
  54590. begin
  54591. pTDefRegMap(@Self)^.clr := $00002000;
  54592. end;
  54593. procedure TPORTF_CNENF.setCNIEF13(thebits : TBits_1); inline;
  54594. begin
  54595. if thebits = 0 then
  54596. pTDefRegMap(@Self)^.clr := $00002000
  54597. else
  54598. pTDefRegMap(@Self)^.&set := $00002000;
  54599. end;
  54600. function TPORTF_CNENF.getCNIEF13 : TBits_1; inline;
  54601. begin
  54602. getCNIEF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54603. end;
  54604. procedure TPORTF_CNENF.setw(thebits : TBits_32); inline;
  54605. begin
  54606. pTDefRegMap(@Self)^.val := thebits;
  54607. end;
  54608. function TPORTF_CNENF.getw : TBits_32; inline;
  54609. begin
  54610. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54611. end;
  54612. procedure TPORTF_CNSTATF.setCNSTATF0; inline;
  54613. begin
  54614. pTDefRegMap(@Self)^.&set := $00000001;
  54615. end;
  54616. procedure TPORTF_CNSTATF.clearCNSTATF0; inline;
  54617. begin
  54618. pTDefRegMap(@Self)^.clr := $00000001;
  54619. end;
  54620. procedure TPORTF_CNSTATF.setCNSTATF0(thebits : TBits_1); inline;
  54621. begin
  54622. if thebits = 0 then
  54623. pTDefRegMap(@Self)^.clr := $00000001
  54624. else
  54625. pTDefRegMap(@Self)^.&set := $00000001;
  54626. end;
  54627. function TPORTF_CNSTATF.getCNSTATF0 : TBits_1; inline;
  54628. begin
  54629. getCNSTATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54630. end;
  54631. procedure TPORTF_CNSTATF.setCNSTATF1; inline;
  54632. begin
  54633. pTDefRegMap(@Self)^.&set := $00000002;
  54634. end;
  54635. procedure TPORTF_CNSTATF.clearCNSTATF1; inline;
  54636. begin
  54637. pTDefRegMap(@Self)^.clr := $00000002;
  54638. end;
  54639. procedure TPORTF_CNSTATF.setCNSTATF1(thebits : TBits_1); inline;
  54640. begin
  54641. if thebits = 0 then
  54642. pTDefRegMap(@Self)^.clr := $00000002
  54643. else
  54644. pTDefRegMap(@Self)^.&set := $00000002;
  54645. end;
  54646. function TPORTF_CNSTATF.getCNSTATF1 : TBits_1; inline;
  54647. begin
  54648. getCNSTATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54649. end;
  54650. procedure TPORTF_CNSTATF.setCNSTATF2; inline;
  54651. begin
  54652. pTDefRegMap(@Self)^.&set := $00000004;
  54653. end;
  54654. procedure TPORTF_CNSTATF.clearCNSTATF2; inline;
  54655. begin
  54656. pTDefRegMap(@Self)^.clr := $00000004;
  54657. end;
  54658. procedure TPORTF_CNSTATF.setCNSTATF2(thebits : TBits_1); inline;
  54659. begin
  54660. if thebits = 0 then
  54661. pTDefRegMap(@Self)^.clr := $00000004
  54662. else
  54663. pTDefRegMap(@Self)^.&set := $00000004;
  54664. end;
  54665. function TPORTF_CNSTATF.getCNSTATF2 : TBits_1; inline;
  54666. begin
  54667. getCNSTATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54668. end;
  54669. procedure TPORTF_CNSTATF.setCNSTATF3; inline;
  54670. begin
  54671. pTDefRegMap(@Self)^.&set := $00000008;
  54672. end;
  54673. procedure TPORTF_CNSTATF.clearCNSTATF3; inline;
  54674. begin
  54675. pTDefRegMap(@Self)^.clr := $00000008;
  54676. end;
  54677. procedure TPORTF_CNSTATF.setCNSTATF3(thebits : TBits_1); inline;
  54678. begin
  54679. if thebits = 0 then
  54680. pTDefRegMap(@Self)^.clr := $00000008
  54681. else
  54682. pTDefRegMap(@Self)^.&set := $00000008;
  54683. end;
  54684. function TPORTF_CNSTATF.getCNSTATF3 : TBits_1; inline;
  54685. begin
  54686. getCNSTATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54687. end;
  54688. procedure TPORTF_CNSTATF.setCNSTATF4; inline;
  54689. begin
  54690. pTDefRegMap(@Self)^.&set := $00000010;
  54691. end;
  54692. procedure TPORTF_CNSTATF.clearCNSTATF4; inline;
  54693. begin
  54694. pTDefRegMap(@Self)^.clr := $00000010;
  54695. end;
  54696. procedure TPORTF_CNSTATF.setCNSTATF4(thebits : TBits_1); inline;
  54697. begin
  54698. if thebits = 0 then
  54699. pTDefRegMap(@Self)^.clr := $00000010
  54700. else
  54701. pTDefRegMap(@Self)^.&set := $00000010;
  54702. end;
  54703. function TPORTF_CNSTATF.getCNSTATF4 : TBits_1; inline;
  54704. begin
  54705. getCNSTATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54706. end;
  54707. procedure TPORTF_CNSTATF.setCNSTATF5; inline;
  54708. begin
  54709. pTDefRegMap(@Self)^.&set := $00000020;
  54710. end;
  54711. procedure TPORTF_CNSTATF.clearCNSTATF5; inline;
  54712. begin
  54713. pTDefRegMap(@Self)^.clr := $00000020;
  54714. end;
  54715. procedure TPORTF_CNSTATF.setCNSTATF5(thebits : TBits_1); inline;
  54716. begin
  54717. if thebits = 0 then
  54718. pTDefRegMap(@Self)^.clr := $00000020
  54719. else
  54720. pTDefRegMap(@Self)^.&set := $00000020;
  54721. end;
  54722. function TPORTF_CNSTATF.getCNSTATF5 : TBits_1; inline;
  54723. begin
  54724. getCNSTATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54725. end;
  54726. procedure TPORTF_CNSTATF.setCNSTATF8; inline;
  54727. begin
  54728. pTDefRegMap(@Self)^.&set := $00000100;
  54729. end;
  54730. procedure TPORTF_CNSTATF.clearCNSTATF8; inline;
  54731. begin
  54732. pTDefRegMap(@Self)^.clr := $00000100;
  54733. end;
  54734. procedure TPORTF_CNSTATF.setCNSTATF8(thebits : TBits_1); inline;
  54735. begin
  54736. if thebits = 0 then
  54737. pTDefRegMap(@Self)^.clr := $00000100
  54738. else
  54739. pTDefRegMap(@Self)^.&set := $00000100;
  54740. end;
  54741. function TPORTF_CNSTATF.getCNSTATF8 : TBits_1; inline;
  54742. begin
  54743. getCNSTATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54744. end;
  54745. procedure TPORTF_CNSTATF.setCNSTATF12; inline;
  54746. begin
  54747. pTDefRegMap(@Self)^.&set := $00001000;
  54748. end;
  54749. procedure TPORTF_CNSTATF.clearCNSTATF12; inline;
  54750. begin
  54751. pTDefRegMap(@Self)^.clr := $00001000;
  54752. end;
  54753. procedure TPORTF_CNSTATF.setCNSTATF12(thebits : TBits_1); inline;
  54754. begin
  54755. if thebits = 0 then
  54756. pTDefRegMap(@Self)^.clr := $00001000
  54757. else
  54758. pTDefRegMap(@Self)^.&set := $00001000;
  54759. end;
  54760. function TPORTF_CNSTATF.getCNSTATF12 : TBits_1; inline;
  54761. begin
  54762. getCNSTATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54763. end;
  54764. procedure TPORTF_CNSTATF.setCNSTATF13; inline;
  54765. begin
  54766. pTDefRegMap(@Self)^.&set := $00002000;
  54767. end;
  54768. procedure TPORTF_CNSTATF.clearCNSTATF13; inline;
  54769. begin
  54770. pTDefRegMap(@Self)^.clr := $00002000;
  54771. end;
  54772. procedure TPORTF_CNSTATF.setCNSTATF13(thebits : TBits_1); inline;
  54773. begin
  54774. if thebits = 0 then
  54775. pTDefRegMap(@Self)^.clr := $00002000
  54776. else
  54777. pTDefRegMap(@Self)^.&set := $00002000;
  54778. end;
  54779. function TPORTF_CNSTATF.getCNSTATF13 : TBits_1; inline;
  54780. begin
  54781. getCNSTATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54782. end;
  54783. procedure TPORTF_CNSTATF.setw(thebits : TBits_32); inline;
  54784. begin
  54785. pTDefRegMap(@Self)^.val := thebits;
  54786. end;
  54787. function TPORTF_CNSTATF.getw : TBits_32; inline;
  54788. begin
  54789. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54790. end;
  54791. procedure TPORTF_ANSELG.setANSG6; inline;
  54792. begin
  54793. pTDefRegMap(@Self)^.&set := $00000040;
  54794. end;
  54795. procedure TPORTF_ANSELG.clearANSG6; inline;
  54796. begin
  54797. pTDefRegMap(@Self)^.clr := $00000040;
  54798. end;
  54799. procedure TPORTF_ANSELG.setANSG6(thebits : TBits_1); inline;
  54800. begin
  54801. if thebits = 0 then
  54802. pTDefRegMap(@Self)^.clr := $00000040
  54803. else
  54804. pTDefRegMap(@Self)^.&set := $00000040;
  54805. end;
  54806. function TPORTF_ANSELG.getANSG6 : TBits_1; inline;
  54807. begin
  54808. getANSG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54809. end;
  54810. procedure TPORTF_ANSELG.setANSG7; inline;
  54811. begin
  54812. pTDefRegMap(@Self)^.&set := $00000080;
  54813. end;
  54814. procedure TPORTF_ANSELG.clearANSG7; inline;
  54815. begin
  54816. pTDefRegMap(@Self)^.clr := $00000080;
  54817. end;
  54818. procedure TPORTF_ANSELG.setANSG7(thebits : TBits_1); inline;
  54819. begin
  54820. if thebits = 0 then
  54821. pTDefRegMap(@Self)^.clr := $00000080
  54822. else
  54823. pTDefRegMap(@Self)^.&set := $00000080;
  54824. end;
  54825. function TPORTF_ANSELG.getANSG7 : TBits_1; inline;
  54826. begin
  54827. getANSG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54828. end;
  54829. procedure TPORTF_ANSELG.setANSG8; inline;
  54830. begin
  54831. pTDefRegMap(@Self)^.&set := $00000100;
  54832. end;
  54833. procedure TPORTF_ANSELG.clearANSG8; inline;
  54834. begin
  54835. pTDefRegMap(@Self)^.clr := $00000100;
  54836. end;
  54837. procedure TPORTF_ANSELG.setANSG8(thebits : TBits_1); inline;
  54838. begin
  54839. if thebits = 0 then
  54840. pTDefRegMap(@Self)^.clr := $00000100
  54841. else
  54842. pTDefRegMap(@Self)^.&set := $00000100;
  54843. end;
  54844. function TPORTF_ANSELG.getANSG8 : TBits_1; inline;
  54845. begin
  54846. getANSG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54847. end;
  54848. procedure TPORTF_ANSELG.setANSG9; inline;
  54849. begin
  54850. pTDefRegMap(@Self)^.&set := $00000200;
  54851. end;
  54852. procedure TPORTF_ANSELG.clearANSG9; inline;
  54853. begin
  54854. pTDefRegMap(@Self)^.clr := $00000200;
  54855. end;
  54856. procedure TPORTF_ANSELG.setANSG9(thebits : TBits_1); inline;
  54857. begin
  54858. if thebits = 0 then
  54859. pTDefRegMap(@Self)^.clr := $00000200
  54860. else
  54861. pTDefRegMap(@Self)^.&set := $00000200;
  54862. end;
  54863. function TPORTF_ANSELG.getANSG9 : TBits_1; inline;
  54864. begin
  54865. getANSG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54866. end;
  54867. procedure TPORTF_ANSELG.setw(thebits : TBits_32); inline;
  54868. begin
  54869. pTDefRegMap(@Self)^.val := thebits;
  54870. end;
  54871. function TPORTF_ANSELG.getw : TBits_32; inline;
  54872. begin
  54873. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54874. end;
  54875. procedure TPORTF_TRISG.setTRISG0; inline;
  54876. begin
  54877. pTDefRegMap(@Self)^.&set := $00000001;
  54878. end;
  54879. procedure TPORTF_TRISG.clearTRISG0; inline;
  54880. begin
  54881. pTDefRegMap(@Self)^.clr := $00000001;
  54882. end;
  54883. procedure TPORTF_TRISG.setTRISG0(thebits : TBits_1); inline;
  54884. begin
  54885. if thebits = 0 then
  54886. pTDefRegMap(@Self)^.clr := $00000001
  54887. else
  54888. pTDefRegMap(@Self)^.&set := $00000001;
  54889. end;
  54890. function TPORTF_TRISG.getTRISG0 : TBits_1; inline;
  54891. begin
  54892. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54893. end;
  54894. procedure TPORTF_TRISG.setTRISG1; inline;
  54895. begin
  54896. pTDefRegMap(@Self)^.&set := $00000002;
  54897. end;
  54898. procedure TPORTF_TRISG.clearTRISG1; inline;
  54899. begin
  54900. pTDefRegMap(@Self)^.clr := $00000002;
  54901. end;
  54902. procedure TPORTF_TRISG.setTRISG1(thebits : TBits_1); inline;
  54903. begin
  54904. if thebits = 0 then
  54905. pTDefRegMap(@Self)^.clr := $00000002
  54906. else
  54907. pTDefRegMap(@Self)^.&set := $00000002;
  54908. end;
  54909. function TPORTF_TRISG.getTRISG1 : TBits_1; inline;
  54910. begin
  54911. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54912. end;
  54913. procedure TPORTF_TRISG.setTRISG2; inline;
  54914. begin
  54915. pTDefRegMap(@Self)^.&set := $00000004;
  54916. end;
  54917. procedure TPORTF_TRISG.clearTRISG2; inline;
  54918. begin
  54919. pTDefRegMap(@Self)^.clr := $00000004;
  54920. end;
  54921. procedure TPORTF_TRISG.setTRISG2(thebits : TBits_1); inline;
  54922. begin
  54923. if thebits = 0 then
  54924. pTDefRegMap(@Self)^.clr := $00000004
  54925. else
  54926. pTDefRegMap(@Self)^.&set := $00000004;
  54927. end;
  54928. function TPORTF_TRISG.getTRISG2 : TBits_1; inline;
  54929. begin
  54930. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54931. end;
  54932. procedure TPORTF_TRISG.setTRISG3; inline;
  54933. begin
  54934. pTDefRegMap(@Self)^.&set := $00000008;
  54935. end;
  54936. procedure TPORTF_TRISG.clearTRISG3; inline;
  54937. begin
  54938. pTDefRegMap(@Self)^.clr := $00000008;
  54939. end;
  54940. procedure TPORTF_TRISG.setTRISG3(thebits : TBits_1); inline;
  54941. begin
  54942. if thebits = 0 then
  54943. pTDefRegMap(@Self)^.clr := $00000008
  54944. else
  54945. pTDefRegMap(@Self)^.&set := $00000008;
  54946. end;
  54947. function TPORTF_TRISG.getTRISG3 : TBits_1; inline;
  54948. begin
  54949. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54950. end;
  54951. procedure TPORTF_TRISG.setTRISG6; inline;
  54952. begin
  54953. pTDefRegMap(@Self)^.&set := $00000040;
  54954. end;
  54955. procedure TPORTF_TRISG.clearTRISG6; inline;
  54956. begin
  54957. pTDefRegMap(@Self)^.clr := $00000040;
  54958. end;
  54959. procedure TPORTF_TRISG.setTRISG6(thebits : TBits_1); inline;
  54960. begin
  54961. if thebits = 0 then
  54962. pTDefRegMap(@Self)^.clr := $00000040
  54963. else
  54964. pTDefRegMap(@Self)^.&set := $00000040;
  54965. end;
  54966. function TPORTF_TRISG.getTRISG6 : TBits_1; inline;
  54967. begin
  54968. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54969. end;
  54970. procedure TPORTF_TRISG.setTRISG7; inline;
  54971. begin
  54972. pTDefRegMap(@Self)^.&set := $00000080;
  54973. end;
  54974. procedure TPORTF_TRISG.clearTRISG7; inline;
  54975. begin
  54976. pTDefRegMap(@Self)^.clr := $00000080;
  54977. end;
  54978. procedure TPORTF_TRISG.setTRISG7(thebits : TBits_1); inline;
  54979. begin
  54980. if thebits = 0 then
  54981. pTDefRegMap(@Self)^.clr := $00000080
  54982. else
  54983. pTDefRegMap(@Self)^.&set := $00000080;
  54984. end;
  54985. function TPORTF_TRISG.getTRISG7 : TBits_1; inline;
  54986. begin
  54987. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54988. end;
  54989. procedure TPORTF_TRISG.setTRISG8; inline;
  54990. begin
  54991. pTDefRegMap(@Self)^.&set := $00000100;
  54992. end;
  54993. procedure TPORTF_TRISG.clearTRISG8; inline;
  54994. begin
  54995. pTDefRegMap(@Self)^.clr := $00000100;
  54996. end;
  54997. procedure TPORTF_TRISG.setTRISG8(thebits : TBits_1); inline;
  54998. begin
  54999. if thebits = 0 then
  55000. pTDefRegMap(@Self)^.clr := $00000100
  55001. else
  55002. pTDefRegMap(@Self)^.&set := $00000100;
  55003. end;
  55004. function TPORTF_TRISG.getTRISG8 : TBits_1; inline;
  55005. begin
  55006. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55007. end;
  55008. procedure TPORTF_TRISG.setTRISG9; inline;
  55009. begin
  55010. pTDefRegMap(@Self)^.&set := $00000200;
  55011. end;
  55012. procedure TPORTF_TRISG.clearTRISG9; inline;
  55013. begin
  55014. pTDefRegMap(@Self)^.clr := $00000200;
  55015. end;
  55016. procedure TPORTF_TRISG.setTRISG9(thebits : TBits_1); inline;
  55017. begin
  55018. if thebits = 0 then
  55019. pTDefRegMap(@Self)^.clr := $00000200
  55020. else
  55021. pTDefRegMap(@Self)^.&set := $00000200;
  55022. end;
  55023. function TPORTF_TRISG.getTRISG9 : TBits_1; inline;
  55024. begin
  55025. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55026. end;
  55027. procedure TPORTF_TRISG.setTRISG12; inline;
  55028. begin
  55029. pTDefRegMap(@Self)^.&set := $00001000;
  55030. end;
  55031. procedure TPORTF_TRISG.clearTRISG12; inline;
  55032. begin
  55033. pTDefRegMap(@Self)^.clr := $00001000;
  55034. end;
  55035. procedure TPORTF_TRISG.setTRISG12(thebits : TBits_1); inline;
  55036. begin
  55037. if thebits = 0 then
  55038. pTDefRegMap(@Self)^.clr := $00001000
  55039. else
  55040. pTDefRegMap(@Self)^.&set := $00001000;
  55041. end;
  55042. function TPORTF_TRISG.getTRISG12 : TBits_1; inline;
  55043. begin
  55044. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55045. end;
  55046. procedure TPORTF_TRISG.setTRISG13; inline;
  55047. begin
  55048. pTDefRegMap(@Self)^.&set := $00002000;
  55049. end;
  55050. procedure TPORTF_TRISG.clearTRISG13; inline;
  55051. begin
  55052. pTDefRegMap(@Self)^.clr := $00002000;
  55053. end;
  55054. procedure TPORTF_TRISG.setTRISG13(thebits : TBits_1); inline;
  55055. begin
  55056. if thebits = 0 then
  55057. pTDefRegMap(@Self)^.clr := $00002000
  55058. else
  55059. pTDefRegMap(@Self)^.&set := $00002000;
  55060. end;
  55061. function TPORTF_TRISG.getTRISG13 : TBits_1; inline;
  55062. begin
  55063. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55064. end;
  55065. procedure TPORTF_TRISG.setTRISG14; inline;
  55066. begin
  55067. pTDefRegMap(@Self)^.&set := $00004000;
  55068. end;
  55069. procedure TPORTF_TRISG.clearTRISG14; inline;
  55070. begin
  55071. pTDefRegMap(@Self)^.clr := $00004000;
  55072. end;
  55073. procedure TPORTF_TRISG.setTRISG14(thebits : TBits_1); inline;
  55074. begin
  55075. if thebits = 0 then
  55076. pTDefRegMap(@Self)^.clr := $00004000
  55077. else
  55078. pTDefRegMap(@Self)^.&set := $00004000;
  55079. end;
  55080. function TPORTF_TRISG.getTRISG14 : TBits_1; inline;
  55081. begin
  55082. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55083. end;
  55084. procedure TPORTF_TRISG.setTRISG15; inline;
  55085. begin
  55086. pTDefRegMap(@Self)^.&set := $00008000;
  55087. end;
  55088. procedure TPORTF_TRISG.clearTRISG15; inline;
  55089. begin
  55090. pTDefRegMap(@Self)^.clr := $00008000;
  55091. end;
  55092. procedure TPORTF_TRISG.setTRISG15(thebits : TBits_1); inline;
  55093. begin
  55094. if thebits = 0 then
  55095. pTDefRegMap(@Self)^.clr := $00008000
  55096. else
  55097. pTDefRegMap(@Self)^.&set := $00008000;
  55098. end;
  55099. function TPORTF_TRISG.getTRISG15 : TBits_1; inline;
  55100. begin
  55101. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55102. end;
  55103. procedure TPORTF_TRISG.setw(thebits : TBits_32); inline;
  55104. begin
  55105. pTDefRegMap(@Self)^.val := thebits;
  55106. end;
  55107. function TPORTF_TRISG.getw : TBits_32; inline;
  55108. begin
  55109. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55110. end;
  55111. procedure TPORTG_PORTG.setRG0; inline;
  55112. begin
  55113. pTDefRegMap(@Self)^.&set := $00000001;
  55114. end;
  55115. procedure TPORTG_PORTG.clearRG0; inline;
  55116. begin
  55117. pTDefRegMap(@Self)^.clr := $00000001;
  55118. end;
  55119. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  55120. begin
  55121. if thebits = 0 then
  55122. pTDefRegMap(@Self)^.clr := $00000001
  55123. else
  55124. pTDefRegMap(@Self)^.&set := $00000001;
  55125. end;
  55126. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  55127. begin
  55128. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55129. end;
  55130. procedure TPORTG_PORTG.setRG1; inline;
  55131. begin
  55132. pTDefRegMap(@Self)^.&set := $00000002;
  55133. end;
  55134. procedure TPORTG_PORTG.clearRG1; inline;
  55135. begin
  55136. pTDefRegMap(@Self)^.clr := $00000002;
  55137. end;
  55138. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  55139. begin
  55140. if thebits = 0 then
  55141. pTDefRegMap(@Self)^.clr := $00000002
  55142. else
  55143. pTDefRegMap(@Self)^.&set := $00000002;
  55144. end;
  55145. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  55146. begin
  55147. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55148. end;
  55149. procedure TPORTG_PORTG.setRG2; inline;
  55150. begin
  55151. pTDefRegMap(@Self)^.&set := $00000004;
  55152. end;
  55153. procedure TPORTG_PORTG.clearRG2; inline;
  55154. begin
  55155. pTDefRegMap(@Self)^.clr := $00000004;
  55156. end;
  55157. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  55158. begin
  55159. if thebits = 0 then
  55160. pTDefRegMap(@Self)^.clr := $00000004
  55161. else
  55162. pTDefRegMap(@Self)^.&set := $00000004;
  55163. end;
  55164. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  55165. begin
  55166. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55167. end;
  55168. procedure TPORTG_PORTG.setRG3; inline;
  55169. begin
  55170. pTDefRegMap(@Self)^.&set := $00000008;
  55171. end;
  55172. procedure TPORTG_PORTG.clearRG3; inline;
  55173. begin
  55174. pTDefRegMap(@Self)^.clr := $00000008;
  55175. end;
  55176. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  55177. begin
  55178. if thebits = 0 then
  55179. pTDefRegMap(@Self)^.clr := $00000008
  55180. else
  55181. pTDefRegMap(@Self)^.&set := $00000008;
  55182. end;
  55183. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  55184. begin
  55185. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55186. end;
  55187. procedure TPORTG_PORTG.setRG6; inline;
  55188. begin
  55189. pTDefRegMap(@Self)^.&set := $00000040;
  55190. end;
  55191. procedure TPORTG_PORTG.clearRG6; inline;
  55192. begin
  55193. pTDefRegMap(@Self)^.clr := $00000040;
  55194. end;
  55195. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  55196. begin
  55197. if thebits = 0 then
  55198. pTDefRegMap(@Self)^.clr := $00000040
  55199. else
  55200. pTDefRegMap(@Self)^.&set := $00000040;
  55201. end;
  55202. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  55203. begin
  55204. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55205. end;
  55206. procedure TPORTG_PORTG.setRG7; inline;
  55207. begin
  55208. pTDefRegMap(@Self)^.&set := $00000080;
  55209. end;
  55210. procedure TPORTG_PORTG.clearRG7; inline;
  55211. begin
  55212. pTDefRegMap(@Self)^.clr := $00000080;
  55213. end;
  55214. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  55215. begin
  55216. if thebits = 0 then
  55217. pTDefRegMap(@Self)^.clr := $00000080
  55218. else
  55219. pTDefRegMap(@Self)^.&set := $00000080;
  55220. end;
  55221. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  55222. begin
  55223. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55224. end;
  55225. procedure TPORTG_PORTG.setRG8; inline;
  55226. begin
  55227. pTDefRegMap(@Self)^.&set := $00000100;
  55228. end;
  55229. procedure TPORTG_PORTG.clearRG8; inline;
  55230. begin
  55231. pTDefRegMap(@Self)^.clr := $00000100;
  55232. end;
  55233. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  55234. begin
  55235. if thebits = 0 then
  55236. pTDefRegMap(@Self)^.clr := $00000100
  55237. else
  55238. pTDefRegMap(@Self)^.&set := $00000100;
  55239. end;
  55240. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  55241. begin
  55242. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55243. end;
  55244. procedure TPORTG_PORTG.setRG9; inline;
  55245. begin
  55246. pTDefRegMap(@Self)^.&set := $00000200;
  55247. end;
  55248. procedure TPORTG_PORTG.clearRG9; inline;
  55249. begin
  55250. pTDefRegMap(@Self)^.clr := $00000200;
  55251. end;
  55252. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  55253. begin
  55254. if thebits = 0 then
  55255. pTDefRegMap(@Self)^.clr := $00000200
  55256. else
  55257. pTDefRegMap(@Self)^.&set := $00000200;
  55258. end;
  55259. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  55260. begin
  55261. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55262. end;
  55263. procedure TPORTG_PORTG.setRG12; inline;
  55264. begin
  55265. pTDefRegMap(@Self)^.&set := $00001000;
  55266. end;
  55267. procedure TPORTG_PORTG.clearRG12; inline;
  55268. begin
  55269. pTDefRegMap(@Self)^.clr := $00001000;
  55270. end;
  55271. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  55272. begin
  55273. if thebits = 0 then
  55274. pTDefRegMap(@Self)^.clr := $00001000
  55275. else
  55276. pTDefRegMap(@Self)^.&set := $00001000;
  55277. end;
  55278. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  55279. begin
  55280. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55281. end;
  55282. procedure TPORTG_PORTG.setRG13; inline;
  55283. begin
  55284. pTDefRegMap(@Self)^.&set := $00002000;
  55285. end;
  55286. procedure TPORTG_PORTG.clearRG13; inline;
  55287. begin
  55288. pTDefRegMap(@Self)^.clr := $00002000;
  55289. end;
  55290. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  55291. begin
  55292. if thebits = 0 then
  55293. pTDefRegMap(@Self)^.clr := $00002000
  55294. else
  55295. pTDefRegMap(@Self)^.&set := $00002000;
  55296. end;
  55297. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  55298. begin
  55299. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55300. end;
  55301. procedure TPORTG_PORTG.setRG14; inline;
  55302. begin
  55303. pTDefRegMap(@Self)^.&set := $00004000;
  55304. end;
  55305. procedure TPORTG_PORTG.clearRG14; inline;
  55306. begin
  55307. pTDefRegMap(@Self)^.clr := $00004000;
  55308. end;
  55309. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  55310. begin
  55311. if thebits = 0 then
  55312. pTDefRegMap(@Self)^.clr := $00004000
  55313. else
  55314. pTDefRegMap(@Self)^.&set := $00004000;
  55315. end;
  55316. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  55317. begin
  55318. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55319. end;
  55320. procedure TPORTG_PORTG.setRG15; inline;
  55321. begin
  55322. pTDefRegMap(@Self)^.&set := $00008000;
  55323. end;
  55324. procedure TPORTG_PORTG.clearRG15; inline;
  55325. begin
  55326. pTDefRegMap(@Self)^.clr := $00008000;
  55327. end;
  55328. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  55329. begin
  55330. if thebits = 0 then
  55331. pTDefRegMap(@Self)^.clr := $00008000
  55332. else
  55333. pTDefRegMap(@Self)^.&set := $00008000;
  55334. end;
  55335. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  55336. begin
  55337. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55338. end;
  55339. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  55340. begin
  55341. pTDefRegMap(@Self)^.val := thebits;
  55342. end;
  55343. function TPORTG_PORTG.getw : TBits_32; inline;
  55344. begin
  55345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55346. end;
  55347. procedure TPORTG_LATG.setLATG0; inline;
  55348. begin
  55349. pTDefRegMap(@Self)^.&set := $00000001;
  55350. end;
  55351. procedure TPORTG_LATG.clearLATG0; inline;
  55352. begin
  55353. pTDefRegMap(@Self)^.clr := $00000001;
  55354. end;
  55355. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  55356. begin
  55357. if thebits = 0 then
  55358. pTDefRegMap(@Self)^.clr := $00000001
  55359. else
  55360. pTDefRegMap(@Self)^.&set := $00000001;
  55361. end;
  55362. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  55363. begin
  55364. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55365. end;
  55366. procedure TPORTG_LATG.setLATG1; inline;
  55367. begin
  55368. pTDefRegMap(@Self)^.&set := $00000002;
  55369. end;
  55370. procedure TPORTG_LATG.clearLATG1; inline;
  55371. begin
  55372. pTDefRegMap(@Self)^.clr := $00000002;
  55373. end;
  55374. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  55375. begin
  55376. if thebits = 0 then
  55377. pTDefRegMap(@Self)^.clr := $00000002
  55378. else
  55379. pTDefRegMap(@Self)^.&set := $00000002;
  55380. end;
  55381. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  55382. begin
  55383. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55384. end;
  55385. procedure TPORTG_LATG.setLATG2; inline;
  55386. begin
  55387. pTDefRegMap(@Self)^.&set := $00000004;
  55388. end;
  55389. procedure TPORTG_LATG.clearLATG2; inline;
  55390. begin
  55391. pTDefRegMap(@Self)^.clr := $00000004;
  55392. end;
  55393. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  55394. begin
  55395. if thebits = 0 then
  55396. pTDefRegMap(@Self)^.clr := $00000004
  55397. else
  55398. pTDefRegMap(@Self)^.&set := $00000004;
  55399. end;
  55400. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  55401. begin
  55402. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55403. end;
  55404. procedure TPORTG_LATG.setLATG3; inline;
  55405. begin
  55406. pTDefRegMap(@Self)^.&set := $00000008;
  55407. end;
  55408. procedure TPORTG_LATG.clearLATG3; inline;
  55409. begin
  55410. pTDefRegMap(@Self)^.clr := $00000008;
  55411. end;
  55412. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  55413. begin
  55414. if thebits = 0 then
  55415. pTDefRegMap(@Self)^.clr := $00000008
  55416. else
  55417. pTDefRegMap(@Self)^.&set := $00000008;
  55418. end;
  55419. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  55420. begin
  55421. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55422. end;
  55423. procedure TPORTG_LATG.setLATG6; inline;
  55424. begin
  55425. pTDefRegMap(@Self)^.&set := $00000040;
  55426. end;
  55427. procedure TPORTG_LATG.clearLATG6; inline;
  55428. begin
  55429. pTDefRegMap(@Self)^.clr := $00000040;
  55430. end;
  55431. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  55432. begin
  55433. if thebits = 0 then
  55434. pTDefRegMap(@Self)^.clr := $00000040
  55435. else
  55436. pTDefRegMap(@Self)^.&set := $00000040;
  55437. end;
  55438. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  55439. begin
  55440. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55441. end;
  55442. procedure TPORTG_LATG.setLATG7; inline;
  55443. begin
  55444. pTDefRegMap(@Self)^.&set := $00000080;
  55445. end;
  55446. procedure TPORTG_LATG.clearLATG7; inline;
  55447. begin
  55448. pTDefRegMap(@Self)^.clr := $00000080;
  55449. end;
  55450. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  55451. begin
  55452. if thebits = 0 then
  55453. pTDefRegMap(@Self)^.clr := $00000080
  55454. else
  55455. pTDefRegMap(@Self)^.&set := $00000080;
  55456. end;
  55457. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  55458. begin
  55459. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55460. end;
  55461. procedure TPORTG_LATG.setLATG8; inline;
  55462. begin
  55463. pTDefRegMap(@Self)^.&set := $00000100;
  55464. end;
  55465. procedure TPORTG_LATG.clearLATG8; inline;
  55466. begin
  55467. pTDefRegMap(@Self)^.clr := $00000100;
  55468. end;
  55469. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  55470. begin
  55471. if thebits = 0 then
  55472. pTDefRegMap(@Self)^.clr := $00000100
  55473. else
  55474. pTDefRegMap(@Self)^.&set := $00000100;
  55475. end;
  55476. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  55477. begin
  55478. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55479. end;
  55480. procedure TPORTG_LATG.setLATG9; inline;
  55481. begin
  55482. pTDefRegMap(@Self)^.&set := $00000200;
  55483. end;
  55484. procedure TPORTG_LATG.clearLATG9; inline;
  55485. begin
  55486. pTDefRegMap(@Self)^.clr := $00000200;
  55487. end;
  55488. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  55489. begin
  55490. if thebits = 0 then
  55491. pTDefRegMap(@Self)^.clr := $00000200
  55492. else
  55493. pTDefRegMap(@Self)^.&set := $00000200;
  55494. end;
  55495. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  55496. begin
  55497. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55498. end;
  55499. procedure TPORTG_LATG.setLATG12; inline;
  55500. begin
  55501. pTDefRegMap(@Self)^.&set := $00001000;
  55502. end;
  55503. procedure TPORTG_LATG.clearLATG12; inline;
  55504. begin
  55505. pTDefRegMap(@Self)^.clr := $00001000;
  55506. end;
  55507. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  55508. begin
  55509. if thebits = 0 then
  55510. pTDefRegMap(@Self)^.clr := $00001000
  55511. else
  55512. pTDefRegMap(@Self)^.&set := $00001000;
  55513. end;
  55514. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  55515. begin
  55516. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55517. end;
  55518. procedure TPORTG_LATG.setLATG13; inline;
  55519. begin
  55520. pTDefRegMap(@Self)^.&set := $00002000;
  55521. end;
  55522. procedure TPORTG_LATG.clearLATG13; inline;
  55523. begin
  55524. pTDefRegMap(@Self)^.clr := $00002000;
  55525. end;
  55526. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  55527. begin
  55528. if thebits = 0 then
  55529. pTDefRegMap(@Self)^.clr := $00002000
  55530. else
  55531. pTDefRegMap(@Self)^.&set := $00002000;
  55532. end;
  55533. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  55534. begin
  55535. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55536. end;
  55537. procedure TPORTG_LATG.setLATG14; inline;
  55538. begin
  55539. pTDefRegMap(@Self)^.&set := $00004000;
  55540. end;
  55541. procedure TPORTG_LATG.clearLATG14; inline;
  55542. begin
  55543. pTDefRegMap(@Self)^.clr := $00004000;
  55544. end;
  55545. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  55546. begin
  55547. if thebits = 0 then
  55548. pTDefRegMap(@Self)^.clr := $00004000
  55549. else
  55550. pTDefRegMap(@Self)^.&set := $00004000;
  55551. end;
  55552. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  55553. begin
  55554. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55555. end;
  55556. procedure TPORTG_LATG.setLATG15; inline;
  55557. begin
  55558. pTDefRegMap(@Self)^.&set := $00008000;
  55559. end;
  55560. procedure TPORTG_LATG.clearLATG15; inline;
  55561. begin
  55562. pTDefRegMap(@Self)^.clr := $00008000;
  55563. end;
  55564. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  55565. begin
  55566. if thebits = 0 then
  55567. pTDefRegMap(@Self)^.clr := $00008000
  55568. else
  55569. pTDefRegMap(@Self)^.&set := $00008000;
  55570. end;
  55571. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  55572. begin
  55573. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55574. end;
  55575. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  55576. begin
  55577. pTDefRegMap(@Self)^.val := thebits;
  55578. end;
  55579. function TPORTG_LATG.getw : TBits_32; inline;
  55580. begin
  55581. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55582. end;
  55583. procedure TPORTG_ODCG.setODCG0; inline;
  55584. begin
  55585. pTDefRegMap(@Self)^.&set := $00000001;
  55586. end;
  55587. procedure TPORTG_ODCG.clearODCG0; inline;
  55588. begin
  55589. pTDefRegMap(@Self)^.clr := $00000001;
  55590. end;
  55591. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  55592. begin
  55593. if thebits = 0 then
  55594. pTDefRegMap(@Self)^.clr := $00000001
  55595. else
  55596. pTDefRegMap(@Self)^.&set := $00000001;
  55597. end;
  55598. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  55599. begin
  55600. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55601. end;
  55602. procedure TPORTG_ODCG.setODCG1; inline;
  55603. begin
  55604. pTDefRegMap(@Self)^.&set := $00000002;
  55605. end;
  55606. procedure TPORTG_ODCG.clearODCG1; inline;
  55607. begin
  55608. pTDefRegMap(@Self)^.clr := $00000002;
  55609. end;
  55610. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  55611. begin
  55612. if thebits = 0 then
  55613. pTDefRegMap(@Self)^.clr := $00000002
  55614. else
  55615. pTDefRegMap(@Self)^.&set := $00000002;
  55616. end;
  55617. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  55618. begin
  55619. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55620. end;
  55621. procedure TPORTG_ODCG.setODCG2; inline;
  55622. begin
  55623. pTDefRegMap(@Self)^.&set := $00000004;
  55624. end;
  55625. procedure TPORTG_ODCG.clearODCG2; inline;
  55626. begin
  55627. pTDefRegMap(@Self)^.clr := $00000004;
  55628. end;
  55629. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  55630. begin
  55631. if thebits = 0 then
  55632. pTDefRegMap(@Self)^.clr := $00000004
  55633. else
  55634. pTDefRegMap(@Self)^.&set := $00000004;
  55635. end;
  55636. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  55637. begin
  55638. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55639. end;
  55640. procedure TPORTG_ODCG.setODCG3; inline;
  55641. begin
  55642. pTDefRegMap(@Self)^.&set := $00000008;
  55643. end;
  55644. procedure TPORTG_ODCG.clearODCG3; inline;
  55645. begin
  55646. pTDefRegMap(@Self)^.clr := $00000008;
  55647. end;
  55648. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  55649. begin
  55650. if thebits = 0 then
  55651. pTDefRegMap(@Self)^.clr := $00000008
  55652. else
  55653. pTDefRegMap(@Self)^.&set := $00000008;
  55654. end;
  55655. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  55656. begin
  55657. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55658. end;
  55659. procedure TPORTG_ODCG.setODCG6; inline;
  55660. begin
  55661. pTDefRegMap(@Self)^.&set := $00000040;
  55662. end;
  55663. procedure TPORTG_ODCG.clearODCG6; inline;
  55664. begin
  55665. pTDefRegMap(@Self)^.clr := $00000040;
  55666. end;
  55667. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  55668. begin
  55669. if thebits = 0 then
  55670. pTDefRegMap(@Self)^.clr := $00000040
  55671. else
  55672. pTDefRegMap(@Self)^.&set := $00000040;
  55673. end;
  55674. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  55675. begin
  55676. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55677. end;
  55678. procedure TPORTG_ODCG.setODCG7; inline;
  55679. begin
  55680. pTDefRegMap(@Self)^.&set := $00000080;
  55681. end;
  55682. procedure TPORTG_ODCG.clearODCG7; inline;
  55683. begin
  55684. pTDefRegMap(@Self)^.clr := $00000080;
  55685. end;
  55686. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  55687. begin
  55688. if thebits = 0 then
  55689. pTDefRegMap(@Self)^.clr := $00000080
  55690. else
  55691. pTDefRegMap(@Self)^.&set := $00000080;
  55692. end;
  55693. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  55694. begin
  55695. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55696. end;
  55697. procedure TPORTG_ODCG.setODCG8; inline;
  55698. begin
  55699. pTDefRegMap(@Self)^.&set := $00000100;
  55700. end;
  55701. procedure TPORTG_ODCG.clearODCG8; inline;
  55702. begin
  55703. pTDefRegMap(@Self)^.clr := $00000100;
  55704. end;
  55705. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  55706. begin
  55707. if thebits = 0 then
  55708. pTDefRegMap(@Self)^.clr := $00000100
  55709. else
  55710. pTDefRegMap(@Self)^.&set := $00000100;
  55711. end;
  55712. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  55713. begin
  55714. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55715. end;
  55716. procedure TPORTG_ODCG.setODCG9; inline;
  55717. begin
  55718. pTDefRegMap(@Self)^.&set := $00000200;
  55719. end;
  55720. procedure TPORTG_ODCG.clearODCG9; inline;
  55721. begin
  55722. pTDefRegMap(@Self)^.clr := $00000200;
  55723. end;
  55724. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  55725. begin
  55726. if thebits = 0 then
  55727. pTDefRegMap(@Self)^.clr := $00000200
  55728. else
  55729. pTDefRegMap(@Self)^.&set := $00000200;
  55730. end;
  55731. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  55732. begin
  55733. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55734. end;
  55735. procedure TPORTG_ODCG.setODCG12; inline;
  55736. begin
  55737. pTDefRegMap(@Self)^.&set := $00001000;
  55738. end;
  55739. procedure TPORTG_ODCG.clearODCG12; inline;
  55740. begin
  55741. pTDefRegMap(@Self)^.clr := $00001000;
  55742. end;
  55743. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  55744. begin
  55745. if thebits = 0 then
  55746. pTDefRegMap(@Self)^.clr := $00001000
  55747. else
  55748. pTDefRegMap(@Self)^.&set := $00001000;
  55749. end;
  55750. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  55751. begin
  55752. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55753. end;
  55754. procedure TPORTG_ODCG.setODCG13; inline;
  55755. begin
  55756. pTDefRegMap(@Self)^.&set := $00002000;
  55757. end;
  55758. procedure TPORTG_ODCG.clearODCG13; inline;
  55759. begin
  55760. pTDefRegMap(@Self)^.clr := $00002000;
  55761. end;
  55762. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  55763. begin
  55764. if thebits = 0 then
  55765. pTDefRegMap(@Self)^.clr := $00002000
  55766. else
  55767. pTDefRegMap(@Self)^.&set := $00002000;
  55768. end;
  55769. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  55770. begin
  55771. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55772. end;
  55773. procedure TPORTG_ODCG.setODCG14; inline;
  55774. begin
  55775. pTDefRegMap(@Self)^.&set := $00004000;
  55776. end;
  55777. procedure TPORTG_ODCG.clearODCG14; inline;
  55778. begin
  55779. pTDefRegMap(@Self)^.clr := $00004000;
  55780. end;
  55781. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  55782. begin
  55783. if thebits = 0 then
  55784. pTDefRegMap(@Self)^.clr := $00004000
  55785. else
  55786. pTDefRegMap(@Self)^.&set := $00004000;
  55787. end;
  55788. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  55789. begin
  55790. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55791. end;
  55792. procedure TPORTG_ODCG.setODCG15; inline;
  55793. begin
  55794. pTDefRegMap(@Self)^.&set := $00008000;
  55795. end;
  55796. procedure TPORTG_ODCG.clearODCG15; inline;
  55797. begin
  55798. pTDefRegMap(@Self)^.clr := $00008000;
  55799. end;
  55800. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  55801. begin
  55802. if thebits = 0 then
  55803. pTDefRegMap(@Self)^.clr := $00008000
  55804. else
  55805. pTDefRegMap(@Self)^.&set := $00008000;
  55806. end;
  55807. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  55808. begin
  55809. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55810. end;
  55811. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  55812. begin
  55813. pTDefRegMap(@Self)^.val := thebits;
  55814. end;
  55815. function TPORTG_ODCG.getw : TBits_32; inline;
  55816. begin
  55817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55818. end;
  55819. procedure TPORTG_CNPUG.setCNPUG0; inline;
  55820. begin
  55821. pTDefRegMap(@Self)^.&set := $00000001;
  55822. end;
  55823. procedure TPORTG_CNPUG.clearCNPUG0; inline;
  55824. begin
  55825. pTDefRegMap(@Self)^.clr := $00000001;
  55826. end;
  55827. procedure TPORTG_CNPUG.setCNPUG0(thebits : TBits_1); inline;
  55828. begin
  55829. if thebits = 0 then
  55830. pTDefRegMap(@Self)^.clr := $00000001
  55831. else
  55832. pTDefRegMap(@Self)^.&set := $00000001;
  55833. end;
  55834. function TPORTG_CNPUG.getCNPUG0 : TBits_1; inline;
  55835. begin
  55836. getCNPUG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55837. end;
  55838. procedure TPORTG_CNPUG.setCNPUG1; inline;
  55839. begin
  55840. pTDefRegMap(@Self)^.&set := $00000002;
  55841. end;
  55842. procedure TPORTG_CNPUG.clearCNPUG1; inline;
  55843. begin
  55844. pTDefRegMap(@Self)^.clr := $00000002;
  55845. end;
  55846. procedure TPORTG_CNPUG.setCNPUG1(thebits : TBits_1); inline;
  55847. begin
  55848. if thebits = 0 then
  55849. pTDefRegMap(@Self)^.clr := $00000002
  55850. else
  55851. pTDefRegMap(@Self)^.&set := $00000002;
  55852. end;
  55853. function TPORTG_CNPUG.getCNPUG1 : TBits_1; inline;
  55854. begin
  55855. getCNPUG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55856. end;
  55857. procedure TPORTG_CNPUG.setCNPUG2; inline;
  55858. begin
  55859. pTDefRegMap(@Self)^.&set := $00000004;
  55860. end;
  55861. procedure TPORTG_CNPUG.clearCNPUG2; inline;
  55862. begin
  55863. pTDefRegMap(@Self)^.clr := $00000004;
  55864. end;
  55865. procedure TPORTG_CNPUG.setCNPUG2(thebits : TBits_1); inline;
  55866. begin
  55867. if thebits = 0 then
  55868. pTDefRegMap(@Self)^.clr := $00000004
  55869. else
  55870. pTDefRegMap(@Self)^.&set := $00000004;
  55871. end;
  55872. function TPORTG_CNPUG.getCNPUG2 : TBits_1; inline;
  55873. begin
  55874. getCNPUG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55875. end;
  55876. procedure TPORTG_CNPUG.setCNPUG3; inline;
  55877. begin
  55878. pTDefRegMap(@Self)^.&set := $00000008;
  55879. end;
  55880. procedure TPORTG_CNPUG.clearCNPUG3; inline;
  55881. begin
  55882. pTDefRegMap(@Self)^.clr := $00000008;
  55883. end;
  55884. procedure TPORTG_CNPUG.setCNPUG3(thebits : TBits_1); inline;
  55885. begin
  55886. if thebits = 0 then
  55887. pTDefRegMap(@Self)^.clr := $00000008
  55888. else
  55889. pTDefRegMap(@Self)^.&set := $00000008;
  55890. end;
  55891. function TPORTG_CNPUG.getCNPUG3 : TBits_1; inline;
  55892. begin
  55893. getCNPUG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55894. end;
  55895. procedure TPORTG_CNPUG.setCNPUG6; inline;
  55896. begin
  55897. pTDefRegMap(@Self)^.&set := $00000040;
  55898. end;
  55899. procedure TPORTG_CNPUG.clearCNPUG6; inline;
  55900. begin
  55901. pTDefRegMap(@Self)^.clr := $00000040;
  55902. end;
  55903. procedure TPORTG_CNPUG.setCNPUG6(thebits : TBits_1); inline;
  55904. begin
  55905. if thebits = 0 then
  55906. pTDefRegMap(@Self)^.clr := $00000040
  55907. else
  55908. pTDefRegMap(@Self)^.&set := $00000040;
  55909. end;
  55910. function TPORTG_CNPUG.getCNPUG6 : TBits_1; inline;
  55911. begin
  55912. getCNPUG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55913. end;
  55914. procedure TPORTG_CNPUG.setCNPUG7; inline;
  55915. begin
  55916. pTDefRegMap(@Self)^.&set := $00000080;
  55917. end;
  55918. procedure TPORTG_CNPUG.clearCNPUG7; inline;
  55919. begin
  55920. pTDefRegMap(@Self)^.clr := $00000080;
  55921. end;
  55922. procedure TPORTG_CNPUG.setCNPUG7(thebits : TBits_1); inline;
  55923. begin
  55924. if thebits = 0 then
  55925. pTDefRegMap(@Self)^.clr := $00000080
  55926. else
  55927. pTDefRegMap(@Self)^.&set := $00000080;
  55928. end;
  55929. function TPORTG_CNPUG.getCNPUG7 : TBits_1; inline;
  55930. begin
  55931. getCNPUG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55932. end;
  55933. procedure TPORTG_CNPUG.setCNPUG8; inline;
  55934. begin
  55935. pTDefRegMap(@Self)^.&set := $00000100;
  55936. end;
  55937. procedure TPORTG_CNPUG.clearCNPUG8; inline;
  55938. begin
  55939. pTDefRegMap(@Self)^.clr := $00000100;
  55940. end;
  55941. procedure TPORTG_CNPUG.setCNPUG8(thebits : TBits_1); inline;
  55942. begin
  55943. if thebits = 0 then
  55944. pTDefRegMap(@Self)^.clr := $00000100
  55945. else
  55946. pTDefRegMap(@Self)^.&set := $00000100;
  55947. end;
  55948. function TPORTG_CNPUG.getCNPUG8 : TBits_1; inline;
  55949. begin
  55950. getCNPUG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55951. end;
  55952. procedure TPORTG_CNPUG.setCNPUG9; inline;
  55953. begin
  55954. pTDefRegMap(@Self)^.&set := $00000200;
  55955. end;
  55956. procedure TPORTG_CNPUG.clearCNPUG9; inline;
  55957. begin
  55958. pTDefRegMap(@Self)^.clr := $00000200;
  55959. end;
  55960. procedure TPORTG_CNPUG.setCNPUG9(thebits : TBits_1); inline;
  55961. begin
  55962. if thebits = 0 then
  55963. pTDefRegMap(@Self)^.clr := $00000200
  55964. else
  55965. pTDefRegMap(@Self)^.&set := $00000200;
  55966. end;
  55967. function TPORTG_CNPUG.getCNPUG9 : TBits_1; inline;
  55968. begin
  55969. getCNPUG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55970. end;
  55971. procedure TPORTG_CNPUG.setCNPUG12; inline;
  55972. begin
  55973. pTDefRegMap(@Self)^.&set := $00001000;
  55974. end;
  55975. procedure TPORTG_CNPUG.clearCNPUG12; inline;
  55976. begin
  55977. pTDefRegMap(@Self)^.clr := $00001000;
  55978. end;
  55979. procedure TPORTG_CNPUG.setCNPUG12(thebits : TBits_1); inline;
  55980. begin
  55981. if thebits = 0 then
  55982. pTDefRegMap(@Self)^.clr := $00001000
  55983. else
  55984. pTDefRegMap(@Self)^.&set := $00001000;
  55985. end;
  55986. function TPORTG_CNPUG.getCNPUG12 : TBits_1; inline;
  55987. begin
  55988. getCNPUG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55989. end;
  55990. procedure TPORTG_CNPUG.setCNPUG13; inline;
  55991. begin
  55992. pTDefRegMap(@Self)^.&set := $00002000;
  55993. end;
  55994. procedure TPORTG_CNPUG.clearCNPUG13; inline;
  55995. begin
  55996. pTDefRegMap(@Self)^.clr := $00002000;
  55997. end;
  55998. procedure TPORTG_CNPUG.setCNPUG13(thebits : TBits_1); inline;
  55999. begin
  56000. if thebits = 0 then
  56001. pTDefRegMap(@Self)^.clr := $00002000
  56002. else
  56003. pTDefRegMap(@Self)^.&set := $00002000;
  56004. end;
  56005. function TPORTG_CNPUG.getCNPUG13 : TBits_1; inline;
  56006. begin
  56007. getCNPUG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56008. end;
  56009. procedure TPORTG_CNPUG.setCNPUG14; inline;
  56010. begin
  56011. pTDefRegMap(@Self)^.&set := $00004000;
  56012. end;
  56013. procedure TPORTG_CNPUG.clearCNPUG14; inline;
  56014. begin
  56015. pTDefRegMap(@Self)^.clr := $00004000;
  56016. end;
  56017. procedure TPORTG_CNPUG.setCNPUG14(thebits : TBits_1); inline;
  56018. begin
  56019. if thebits = 0 then
  56020. pTDefRegMap(@Self)^.clr := $00004000
  56021. else
  56022. pTDefRegMap(@Self)^.&set := $00004000;
  56023. end;
  56024. function TPORTG_CNPUG.getCNPUG14 : TBits_1; inline;
  56025. begin
  56026. getCNPUG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56027. end;
  56028. procedure TPORTG_CNPUG.setCNPUG15; inline;
  56029. begin
  56030. pTDefRegMap(@Self)^.&set := $00008000;
  56031. end;
  56032. procedure TPORTG_CNPUG.clearCNPUG15; inline;
  56033. begin
  56034. pTDefRegMap(@Self)^.clr := $00008000;
  56035. end;
  56036. procedure TPORTG_CNPUG.setCNPUG15(thebits : TBits_1); inline;
  56037. begin
  56038. if thebits = 0 then
  56039. pTDefRegMap(@Self)^.clr := $00008000
  56040. else
  56041. pTDefRegMap(@Self)^.&set := $00008000;
  56042. end;
  56043. function TPORTG_CNPUG.getCNPUG15 : TBits_1; inline;
  56044. begin
  56045. getCNPUG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56046. end;
  56047. procedure TPORTG_CNPUG.setw(thebits : TBits_32); inline;
  56048. begin
  56049. pTDefRegMap(@Self)^.val := thebits;
  56050. end;
  56051. function TPORTG_CNPUG.getw : TBits_32; inline;
  56052. begin
  56053. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56054. end;
  56055. procedure TPORTG_CNPDG.setCNPDG0; inline;
  56056. begin
  56057. pTDefRegMap(@Self)^.&set := $00000001;
  56058. end;
  56059. procedure TPORTG_CNPDG.clearCNPDG0; inline;
  56060. begin
  56061. pTDefRegMap(@Self)^.clr := $00000001;
  56062. end;
  56063. procedure TPORTG_CNPDG.setCNPDG0(thebits : TBits_1); inline;
  56064. begin
  56065. if thebits = 0 then
  56066. pTDefRegMap(@Self)^.clr := $00000001
  56067. else
  56068. pTDefRegMap(@Self)^.&set := $00000001;
  56069. end;
  56070. function TPORTG_CNPDG.getCNPDG0 : TBits_1; inline;
  56071. begin
  56072. getCNPDG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56073. end;
  56074. procedure TPORTG_CNPDG.setCNPDG1; inline;
  56075. begin
  56076. pTDefRegMap(@Self)^.&set := $00000002;
  56077. end;
  56078. procedure TPORTG_CNPDG.clearCNPDG1; inline;
  56079. begin
  56080. pTDefRegMap(@Self)^.clr := $00000002;
  56081. end;
  56082. procedure TPORTG_CNPDG.setCNPDG1(thebits : TBits_1); inline;
  56083. begin
  56084. if thebits = 0 then
  56085. pTDefRegMap(@Self)^.clr := $00000002
  56086. else
  56087. pTDefRegMap(@Self)^.&set := $00000002;
  56088. end;
  56089. function TPORTG_CNPDG.getCNPDG1 : TBits_1; inline;
  56090. begin
  56091. getCNPDG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56092. end;
  56093. procedure TPORTG_CNPDG.setCNPDG2; inline;
  56094. begin
  56095. pTDefRegMap(@Self)^.&set := $00000004;
  56096. end;
  56097. procedure TPORTG_CNPDG.clearCNPDG2; inline;
  56098. begin
  56099. pTDefRegMap(@Self)^.clr := $00000004;
  56100. end;
  56101. procedure TPORTG_CNPDG.setCNPDG2(thebits : TBits_1); inline;
  56102. begin
  56103. if thebits = 0 then
  56104. pTDefRegMap(@Self)^.clr := $00000004
  56105. else
  56106. pTDefRegMap(@Self)^.&set := $00000004;
  56107. end;
  56108. function TPORTG_CNPDG.getCNPDG2 : TBits_1; inline;
  56109. begin
  56110. getCNPDG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56111. end;
  56112. procedure TPORTG_CNPDG.setCNPDG3; inline;
  56113. begin
  56114. pTDefRegMap(@Self)^.&set := $00000008;
  56115. end;
  56116. procedure TPORTG_CNPDG.clearCNPDG3; inline;
  56117. begin
  56118. pTDefRegMap(@Self)^.clr := $00000008;
  56119. end;
  56120. procedure TPORTG_CNPDG.setCNPDG3(thebits : TBits_1); inline;
  56121. begin
  56122. if thebits = 0 then
  56123. pTDefRegMap(@Self)^.clr := $00000008
  56124. else
  56125. pTDefRegMap(@Self)^.&set := $00000008;
  56126. end;
  56127. function TPORTG_CNPDG.getCNPDG3 : TBits_1; inline;
  56128. begin
  56129. getCNPDG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56130. end;
  56131. procedure TPORTG_CNPDG.setCNPDG6; inline;
  56132. begin
  56133. pTDefRegMap(@Self)^.&set := $00000040;
  56134. end;
  56135. procedure TPORTG_CNPDG.clearCNPDG6; inline;
  56136. begin
  56137. pTDefRegMap(@Self)^.clr := $00000040;
  56138. end;
  56139. procedure TPORTG_CNPDG.setCNPDG6(thebits : TBits_1); inline;
  56140. begin
  56141. if thebits = 0 then
  56142. pTDefRegMap(@Self)^.clr := $00000040
  56143. else
  56144. pTDefRegMap(@Self)^.&set := $00000040;
  56145. end;
  56146. function TPORTG_CNPDG.getCNPDG6 : TBits_1; inline;
  56147. begin
  56148. getCNPDG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56149. end;
  56150. procedure TPORTG_CNPDG.setCNPDG7; inline;
  56151. begin
  56152. pTDefRegMap(@Self)^.&set := $00000080;
  56153. end;
  56154. procedure TPORTG_CNPDG.clearCNPDG7; inline;
  56155. begin
  56156. pTDefRegMap(@Self)^.clr := $00000080;
  56157. end;
  56158. procedure TPORTG_CNPDG.setCNPDG7(thebits : TBits_1); inline;
  56159. begin
  56160. if thebits = 0 then
  56161. pTDefRegMap(@Self)^.clr := $00000080
  56162. else
  56163. pTDefRegMap(@Self)^.&set := $00000080;
  56164. end;
  56165. function TPORTG_CNPDG.getCNPDG7 : TBits_1; inline;
  56166. begin
  56167. getCNPDG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56168. end;
  56169. procedure TPORTG_CNPDG.setCNPDG8; inline;
  56170. begin
  56171. pTDefRegMap(@Self)^.&set := $00000100;
  56172. end;
  56173. procedure TPORTG_CNPDG.clearCNPDG8; inline;
  56174. begin
  56175. pTDefRegMap(@Self)^.clr := $00000100;
  56176. end;
  56177. procedure TPORTG_CNPDG.setCNPDG8(thebits : TBits_1); inline;
  56178. begin
  56179. if thebits = 0 then
  56180. pTDefRegMap(@Self)^.clr := $00000100
  56181. else
  56182. pTDefRegMap(@Self)^.&set := $00000100;
  56183. end;
  56184. function TPORTG_CNPDG.getCNPDG8 : TBits_1; inline;
  56185. begin
  56186. getCNPDG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56187. end;
  56188. procedure TPORTG_CNPDG.setCNPDG9; inline;
  56189. begin
  56190. pTDefRegMap(@Self)^.&set := $00000200;
  56191. end;
  56192. procedure TPORTG_CNPDG.clearCNPDG9; inline;
  56193. begin
  56194. pTDefRegMap(@Self)^.clr := $00000200;
  56195. end;
  56196. procedure TPORTG_CNPDG.setCNPDG9(thebits : TBits_1); inline;
  56197. begin
  56198. if thebits = 0 then
  56199. pTDefRegMap(@Self)^.clr := $00000200
  56200. else
  56201. pTDefRegMap(@Self)^.&set := $00000200;
  56202. end;
  56203. function TPORTG_CNPDG.getCNPDG9 : TBits_1; inline;
  56204. begin
  56205. getCNPDG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56206. end;
  56207. procedure TPORTG_CNPDG.setCNPDG12; inline;
  56208. begin
  56209. pTDefRegMap(@Self)^.&set := $00001000;
  56210. end;
  56211. procedure TPORTG_CNPDG.clearCNPDG12; inline;
  56212. begin
  56213. pTDefRegMap(@Self)^.clr := $00001000;
  56214. end;
  56215. procedure TPORTG_CNPDG.setCNPDG12(thebits : TBits_1); inline;
  56216. begin
  56217. if thebits = 0 then
  56218. pTDefRegMap(@Self)^.clr := $00001000
  56219. else
  56220. pTDefRegMap(@Self)^.&set := $00001000;
  56221. end;
  56222. function TPORTG_CNPDG.getCNPDG12 : TBits_1; inline;
  56223. begin
  56224. getCNPDG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56225. end;
  56226. procedure TPORTG_CNPDG.setCNPDG13; inline;
  56227. begin
  56228. pTDefRegMap(@Self)^.&set := $00002000;
  56229. end;
  56230. procedure TPORTG_CNPDG.clearCNPDG13; inline;
  56231. begin
  56232. pTDefRegMap(@Self)^.clr := $00002000;
  56233. end;
  56234. procedure TPORTG_CNPDG.setCNPDG13(thebits : TBits_1); inline;
  56235. begin
  56236. if thebits = 0 then
  56237. pTDefRegMap(@Self)^.clr := $00002000
  56238. else
  56239. pTDefRegMap(@Self)^.&set := $00002000;
  56240. end;
  56241. function TPORTG_CNPDG.getCNPDG13 : TBits_1; inline;
  56242. begin
  56243. getCNPDG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56244. end;
  56245. procedure TPORTG_CNPDG.setCNPDG14; inline;
  56246. begin
  56247. pTDefRegMap(@Self)^.&set := $00004000;
  56248. end;
  56249. procedure TPORTG_CNPDG.clearCNPDG14; inline;
  56250. begin
  56251. pTDefRegMap(@Self)^.clr := $00004000;
  56252. end;
  56253. procedure TPORTG_CNPDG.setCNPDG14(thebits : TBits_1); inline;
  56254. begin
  56255. if thebits = 0 then
  56256. pTDefRegMap(@Self)^.clr := $00004000
  56257. else
  56258. pTDefRegMap(@Self)^.&set := $00004000;
  56259. end;
  56260. function TPORTG_CNPDG.getCNPDG14 : TBits_1; inline;
  56261. begin
  56262. getCNPDG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56263. end;
  56264. procedure TPORTG_CNPDG.setCNPDG15; inline;
  56265. begin
  56266. pTDefRegMap(@Self)^.&set := $00008000;
  56267. end;
  56268. procedure TPORTG_CNPDG.clearCNPDG15; inline;
  56269. begin
  56270. pTDefRegMap(@Self)^.clr := $00008000;
  56271. end;
  56272. procedure TPORTG_CNPDG.setCNPDG15(thebits : TBits_1); inline;
  56273. begin
  56274. if thebits = 0 then
  56275. pTDefRegMap(@Self)^.clr := $00008000
  56276. else
  56277. pTDefRegMap(@Self)^.&set := $00008000;
  56278. end;
  56279. function TPORTG_CNPDG.getCNPDG15 : TBits_1; inline;
  56280. begin
  56281. getCNPDG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56282. end;
  56283. procedure TPORTG_CNPDG.setw(thebits : TBits_32); inline;
  56284. begin
  56285. pTDefRegMap(@Self)^.val := thebits;
  56286. end;
  56287. function TPORTG_CNPDG.getw : TBits_32; inline;
  56288. begin
  56289. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56290. end;
  56291. procedure TPORTG_CNCONG.setSIDL; inline;
  56292. begin
  56293. pTDefRegMap(@Self)^.&set := $00002000;
  56294. end;
  56295. procedure TPORTG_CNCONG.clearSIDL; inline;
  56296. begin
  56297. pTDefRegMap(@Self)^.clr := $00002000;
  56298. end;
  56299. procedure TPORTG_CNCONG.setSIDL(thebits : TBits_1); inline;
  56300. begin
  56301. if thebits = 0 then
  56302. pTDefRegMap(@Self)^.clr := $00002000
  56303. else
  56304. pTDefRegMap(@Self)^.&set := $00002000;
  56305. end;
  56306. function TPORTG_CNCONG.getSIDL : TBits_1; inline;
  56307. begin
  56308. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56309. end;
  56310. procedure TPORTG_CNCONG.setON; inline;
  56311. begin
  56312. pTDefRegMap(@Self)^.&set := $00008000;
  56313. end;
  56314. procedure TPORTG_CNCONG.clearON; inline;
  56315. begin
  56316. pTDefRegMap(@Self)^.clr := $00008000;
  56317. end;
  56318. procedure TPORTG_CNCONG.setON(thebits : TBits_1); inline;
  56319. begin
  56320. if thebits = 0 then
  56321. pTDefRegMap(@Self)^.clr := $00008000
  56322. else
  56323. pTDefRegMap(@Self)^.&set := $00008000;
  56324. end;
  56325. function TPORTG_CNCONG.getON : TBits_1; inline;
  56326. begin
  56327. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56328. end;
  56329. procedure TPORTG_CNCONG.setw(thebits : TBits_32); inline;
  56330. begin
  56331. pTDefRegMap(@Self)^.val := thebits;
  56332. end;
  56333. function TPORTG_CNCONG.getw : TBits_32; inline;
  56334. begin
  56335. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56336. end;
  56337. procedure TPORTG_CNENG.setCNIEG0; inline;
  56338. begin
  56339. pTDefRegMap(@Self)^.&set := $00000001;
  56340. end;
  56341. procedure TPORTG_CNENG.clearCNIEG0; inline;
  56342. begin
  56343. pTDefRegMap(@Self)^.clr := $00000001;
  56344. end;
  56345. procedure TPORTG_CNENG.setCNIEG0(thebits : TBits_1); inline;
  56346. begin
  56347. if thebits = 0 then
  56348. pTDefRegMap(@Self)^.clr := $00000001
  56349. else
  56350. pTDefRegMap(@Self)^.&set := $00000001;
  56351. end;
  56352. function TPORTG_CNENG.getCNIEG0 : TBits_1; inline;
  56353. begin
  56354. getCNIEG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56355. end;
  56356. procedure TPORTG_CNENG.setCNIEG1; inline;
  56357. begin
  56358. pTDefRegMap(@Self)^.&set := $00000002;
  56359. end;
  56360. procedure TPORTG_CNENG.clearCNIEG1; inline;
  56361. begin
  56362. pTDefRegMap(@Self)^.clr := $00000002;
  56363. end;
  56364. procedure TPORTG_CNENG.setCNIEG1(thebits : TBits_1); inline;
  56365. begin
  56366. if thebits = 0 then
  56367. pTDefRegMap(@Self)^.clr := $00000002
  56368. else
  56369. pTDefRegMap(@Self)^.&set := $00000002;
  56370. end;
  56371. function TPORTG_CNENG.getCNIEG1 : TBits_1; inline;
  56372. begin
  56373. getCNIEG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56374. end;
  56375. procedure TPORTG_CNENG.setCNIEG2; inline;
  56376. begin
  56377. pTDefRegMap(@Self)^.&set := $00000004;
  56378. end;
  56379. procedure TPORTG_CNENG.clearCNIEG2; inline;
  56380. begin
  56381. pTDefRegMap(@Self)^.clr := $00000004;
  56382. end;
  56383. procedure TPORTG_CNENG.setCNIEG2(thebits : TBits_1); inline;
  56384. begin
  56385. if thebits = 0 then
  56386. pTDefRegMap(@Self)^.clr := $00000004
  56387. else
  56388. pTDefRegMap(@Self)^.&set := $00000004;
  56389. end;
  56390. function TPORTG_CNENG.getCNIEG2 : TBits_1; inline;
  56391. begin
  56392. getCNIEG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56393. end;
  56394. procedure TPORTG_CNENG.setCNIEG3; inline;
  56395. begin
  56396. pTDefRegMap(@Self)^.&set := $00000008;
  56397. end;
  56398. procedure TPORTG_CNENG.clearCNIEG3; inline;
  56399. begin
  56400. pTDefRegMap(@Self)^.clr := $00000008;
  56401. end;
  56402. procedure TPORTG_CNENG.setCNIEG3(thebits : TBits_1); inline;
  56403. begin
  56404. if thebits = 0 then
  56405. pTDefRegMap(@Self)^.clr := $00000008
  56406. else
  56407. pTDefRegMap(@Self)^.&set := $00000008;
  56408. end;
  56409. function TPORTG_CNENG.getCNIEG3 : TBits_1; inline;
  56410. begin
  56411. getCNIEG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56412. end;
  56413. procedure TPORTG_CNENG.setCNIEG6; inline;
  56414. begin
  56415. pTDefRegMap(@Self)^.&set := $00000040;
  56416. end;
  56417. procedure TPORTG_CNENG.clearCNIEG6; inline;
  56418. begin
  56419. pTDefRegMap(@Self)^.clr := $00000040;
  56420. end;
  56421. procedure TPORTG_CNENG.setCNIEG6(thebits : TBits_1); inline;
  56422. begin
  56423. if thebits = 0 then
  56424. pTDefRegMap(@Self)^.clr := $00000040
  56425. else
  56426. pTDefRegMap(@Self)^.&set := $00000040;
  56427. end;
  56428. function TPORTG_CNENG.getCNIEG6 : TBits_1; inline;
  56429. begin
  56430. getCNIEG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56431. end;
  56432. procedure TPORTG_CNENG.setCNIEG7; inline;
  56433. begin
  56434. pTDefRegMap(@Self)^.&set := $00000080;
  56435. end;
  56436. procedure TPORTG_CNENG.clearCNIEG7; inline;
  56437. begin
  56438. pTDefRegMap(@Self)^.clr := $00000080;
  56439. end;
  56440. procedure TPORTG_CNENG.setCNIEG7(thebits : TBits_1); inline;
  56441. begin
  56442. if thebits = 0 then
  56443. pTDefRegMap(@Self)^.clr := $00000080
  56444. else
  56445. pTDefRegMap(@Self)^.&set := $00000080;
  56446. end;
  56447. function TPORTG_CNENG.getCNIEG7 : TBits_1; inline;
  56448. begin
  56449. getCNIEG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56450. end;
  56451. procedure TPORTG_CNENG.setCNIEG8; inline;
  56452. begin
  56453. pTDefRegMap(@Self)^.&set := $00000100;
  56454. end;
  56455. procedure TPORTG_CNENG.clearCNIEG8; inline;
  56456. begin
  56457. pTDefRegMap(@Self)^.clr := $00000100;
  56458. end;
  56459. procedure TPORTG_CNENG.setCNIEG8(thebits : TBits_1); inline;
  56460. begin
  56461. if thebits = 0 then
  56462. pTDefRegMap(@Self)^.clr := $00000100
  56463. else
  56464. pTDefRegMap(@Self)^.&set := $00000100;
  56465. end;
  56466. function TPORTG_CNENG.getCNIEG8 : TBits_1; inline;
  56467. begin
  56468. getCNIEG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56469. end;
  56470. procedure TPORTG_CNENG.setCNIEG9; inline;
  56471. begin
  56472. pTDefRegMap(@Self)^.&set := $00000200;
  56473. end;
  56474. procedure TPORTG_CNENG.clearCNIEG9; inline;
  56475. begin
  56476. pTDefRegMap(@Self)^.clr := $00000200;
  56477. end;
  56478. procedure TPORTG_CNENG.setCNIEG9(thebits : TBits_1); inline;
  56479. begin
  56480. if thebits = 0 then
  56481. pTDefRegMap(@Self)^.clr := $00000200
  56482. else
  56483. pTDefRegMap(@Self)^.&set := $00000200;
  56484. end;
  56485. function TPORTG_CNENG.getCNIEG9 : TBits_1; inline;
  56486. begin
  56487. getCNIEG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56488. end;
  56489. procedure TPORTG_CNENG.setCNIEG12; inline;
  56490. begin
  56491. pTDefRegMap(@Self)^.&set := $00001000;
  56492. end;
  56493. procedure TPORTG_CNENG.clearCNIEG12; inline;
  56494. begin
  56495. pTDefRegMap(@Self)^.clr := $00001000;
  56496. end;
  56497. procedure TPORTG_CNENG.setCNIEG12(thebits : TBits_1); inline;
  56498. begin
  56499. if thebits = 0 then
  56500. pTDefRegMap(@Self)^.clr := $00001000
  56501. else
  56502. pTDefRegMap(@Self)^.&set := $00001000;
  56503. end;
  56504. function TPORTG_CNENG.getCNIEG12 : TBits_1; inline;
  56505. begin
  56506. getCNIEG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56507. end;
  56508. procedure TPORTG_CNENG.setCNIEG13; inline;
  56509. begin
  56510. pTDefRegMap(@Self)^.&set := $00002000;
  56511. end;
  56512. procedure TPORTG_CNENG.clearCNIEG13; inline;
  56513. begin
  56514. pTDefRegMap(@Self)^.clr := $00002000;
  56515. end;
  56516. procedure TPORTG_CNENG.setCNIEG13(thebits : TBits_1); inline;
  56517. begin
  56518. if thebits = 0 then
  56519. pTDefRegMap(@Self)^.clr := $00002000
  56520. else
  56521. pTDefRegMap(@Self)^.&set := $00002000;
  56522. end;
  56523. function TPORTG_CNENG.getCNIEG13 : TBits_1; inline;
  56524. begin
  56525. getCNIEG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56526. end;
  56527. procedure TPORTG_CNENG.setCNIEG14; inline;
  56528. begin
  56529. pTDefRegMap(@Self)^.&set := $00004000;
  56530. end;
  56531. procedure TPORTG_CNENG.clearCNIEG14; inline;
  56532. begin
  56533. pTDefRegMap(@Self)^.clr := $00004000;
  56534. end;
  56535. procedure TPORTG_CNENG.setCNIEG14(thebits : TBits_1); inline;
  56536. begin
  56537. if thebits = 0 then
  56538. pTDefRegMap(@Self)^.clr := $00004000
  56539. else
  56540. pTDefRegMap(@Self)^.&set := $00004000;
  56541. end;
  56542. function TPORTG_CNENG.getCNIEG14 : TBits_1; inline;
  56543. begin
  56544. getCNIEG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56545. end;
  56546. procedure TPORTG_CNENG.setCNIEG15; inline;
  56547. begin
  56548. pTDefRegMap(@Self)^.&set := $00008000;
  56549. end;
  56550. procedure TPORTG_CNENG.clearCNIEG15; inline;
  56551. begin
  56552. pTDefRegMap(@Self)^.clr := $00008000;
  56553. end;
  56554. procedure TPORTG_CNENG.setCNIEG15(thebits : TBits_1); inline;
  56555. begin
  56556. if thebits = 0 then
  56557. pTDefRegMap(@Self)^.clr := $00008000
  56558. else
  56559. pTDefRegMap(@Self)^.&set := $00008000;
  56560. end;
  56561. function TPORTG_CNENG.getCNIEG15 : TBits_1; inline;
  56562. begin
  56563. getCNIEG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56564. end;
  56565. procedure TPORTG_CNENG.setw(thebits : TBits_32); inline;
  56566. begin
  56567. pTDefRegMap(@Self)^.val := thebits;
  56568. end;
  56569. function TPORTG_CNENG.getw : TBits_32; inline;
  56570. begin
  56571. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56572. end;
  56573. procedure TPORTG_CNSTATG.setCNSTATG0; inline;
  56574. begin
  56575. pTDefRegMap(@Self)^.&set := $00000001;
  56576. end;
  56577. procedure TPORTG_CNSTATG.clearCNSTATG0; inline;
  56578. begin
  56579. pTDefRegMap(@Self)^.clr := $00000001;
  56580. end;
  56581. procedure TPORTG_CNSTATG.setCNSTATG0(thebits : TBits_1); inline;
  56582. begin
  56583. if thebits = 0 then
  56584. pTDefRegMap(@Self)^.clr := $00000001
  56585. else
  56586. pTDefRegMap(@Self)^.&set := $00000001;
  56587. end;
  56588. function TPORTG_CNSTATG.getCNSTATG0 : TBits_1; inline;
  56589. begin
  56590. getCNSTATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56591. end;
  56592. procedure TPORTG_CNSTATG.setCNSTATG1; inline;
  56593. begin
  56594. pTDefRegMap(@Self)^.&set := $00000002;
  56595. end;
  56596. procedure TPORTG_CNSTATG.clearCNSTATG1; inline;
  56597. begin
  56598. pTDefRegMap(@Self)^.clr := $00000002;
  56599. end;
  56600. procedure TPORTG_CNSTATG.setCNSTATG1(thebits : TBits_1); inline;
  56601. begin
  56602. if thebits = 0 then
  56603. pTDefRegMap(@Self)^.clr := $00000002
  56604. else
  56605. pTDefRegMap(@Self)^.&set := $00000002;
  56606. end;
  56607. function TPORTG_CNSTATG.getCNSTATG1 : TBits_1; inline;
  56608. begin
  56609. getCNSTATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56610. end;
  56611. procedure TPORTG_CNSTATG.setCNSTATG2; inline;
  56612. begin
  56613. pTDefRegMap(@Self)^.&set := $00000004;
  56614. end;
  56615. procedure TPORTG_CNSTATG.clearCNSTATG2; inline;
  56616. begin
  56617. pTDefRegMap(@Self)^.clr := $00000004;
  56618. end;
  56619. procedure TPORTG_CNSTATG.setCNSTATG2(thebits : TBits_1); inline;
  56620. begin
  56621. if thebits = 0 then
  56622. pTDefRegMap(@Self)^.clr := $00000004
  56623. else
  56624. pTDefRegMap(@Self)^.&set := $00000004;
  56625. end;
  56626. function TPORTG_CNSTATG.getCNSTATG2 : TBits_1; inline;
  56627. begin
  56628. getCNSTATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56629. end;
  56630. procedure TPORTG_CNSTATG.setCNSTATG3; inline;
  56631. begin
  56632. pTDefRegMap(@Self)^.&set := $00000008;
  56633. end;
  56634. procedure TPORTG_CNSTATG.clearCNSTATG3; inline;
  56635. begin
  56636. pTDefRegMap(@Self)^.clr := $00000008;
  56637. end;
  56638. procedure TPORTG_CNSTATG.setCNSTATG3(thebits : TBits_1); inline;
  56639. begin
  56640. if thebits = 0 then
  56641. pTDefRegMap(@Self)^.clr := $00000008
  56642. else
  56643. pTDefRegMap(@Self)^.&set := $00000008;
  56644. end;
  56645. function TPORTG_CNSTATG.getCNSTATG3 : TBits_1; inline;
  56646. begin
  56647. getCNSTATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56648. end;
  56649. procedure TPORTG_CNSTATG.setCNSTATG6; inline;
  56650. begin
  56651. pTDefRegMap(@Self)^.&set := $00000040;
  56652. end;
  56653. procedure TPORTG_CNSTATG.clearCNSTATG6; inline;
  56654. begin
  56655. pTDefRegMap(@Self)^.clr := $00000040;
  56656. end;
  56657. procedure TPORTG_CNSTATG.setCNSTATG6(thebits : TBits_1); inline;
  56658. begin
  56659. if thebits = 0 then
  56660. pTDefRegMap(@Self)^.clr := $00000040
  56661. else
  56662. pTDefRegMap(@Self)^.&set := $00000040;
  56663. end;
  56664. function TPORTG_CNSTATG.getCNSTATG6 : TBits_1; inline;
  56665. begin
  56666. getCNSTATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56667. end;
  56668. procedure TPORTG_CNSTATG.setCNSTATG7; inline;
  56669. begin
  56670. pTDefRegMap(@Self)^.&set := $00000080;
  56671. end;
  56672. procedure TPORTG_CNSTATG.clearCNSTATG7; inline;
  56673. begin
  56674. pTDefRegMap(@Self)^.clr := $00000080;
  56675. end;
  56676. procedure TPORTG_CNSTATG.setCNSTATG7(thebits : TBits_1); inline;
  56677. begin
  56678. if thebits = 0 then
  56679. pTDefRegMap(@Self)^.clr := $00000080
  56680. else
  56681. pTDefRegMap(@Self)^.&set := $00000080;
  56682. end;
  56683. function TPORTG_CNSTATG.getCNSTATG7 : TBits_1; inline;
  56684. begin
  56685. getCNSTATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56686. end;
  56687. procedure TPORTG_CNSTATG.setCNSTATG8; inline;
  56688. begin
  56689. pTDefRegMap(@Self)^.&set := $00000100;
  56690. end;
  56691. procedure TPORTG_CNSTATG.clearCNSTATG8; inline;
  56692. begin
  56693. pTDefRegMap(@Self)^.clr := $00000100;
  56694. end;
  56695. procedure TPORTG_CNSTATG.setCNSTATG8(thebits : TBits_1); inline;
  56696. begin
  56697. if thebits = 0 then
  56698. pTDefRegMap(@Self)^.clr := $00000100
  56699. else
  56700. pTDefRegMap(@Self)^.&set := $00000100;
  56701. end;
  56702. function TPORTG_CNSTATG.getCNSTATG8 : TBits_1; inline;
  56703. begin
  56704. getCNSTATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56705. end;
  56706. procedure TPORTG_CNSTATG.setCNSTATG9; inline;
  56707. begin
  56708. pTDefRegMap(@Self)^.&set := $00000200;
  56709. end;
  56710. procedure TPORTG_CNSTATG.clearCNSTATG9; inline;
  56711. begin
  56712. pTDefRegMap(@Self)^.clr := $00000200;
  56713. end;
  56714. procedure TPORTG_CNSTATG.setCNSTATG9(thebits : TBits_1); inline;
  56715. begin
  56716. if thebits = 0 then
  56717. pTDefRegMap(@Self)^.clr := $00000200
  56718. else
  56719. pTDefRegMap(@Self)^.&set := $00000200;
  56720. end;
  56721. function TPORTG_CNSTATG.getCNSTATG9 : TBits_1; inline;
  56722. begin
  56723. getCNSTATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56724. end;
  56725. procedure TPORTG_CNSTATG.setCNSTATG12; inline;
  56726. begin
  56727. pTDefRegMap(@Self)^.&set := $00001000;
  56728. end;
  56729. procedure TPORTG_CNSTATG.clearCNSTATG12; inline;
  56730. begin
  56731. pTDefRegMap(@Self)^.clr := $00001000;
  56732. end;
  56733. procedure TPORTG_CNSTATG.setCNSTATG12(thebits : TBits_1); inline;
  56734. begin
  56735. if thebits = 0 then
  56736. pTDefRegMap(@Self)^.clr := $00001000
  56737. else
  56738. pTDefRegMap(@Self)^.&set := $00001000;
  56739. end;
  56740. function TPORTG_CNSTATG.getCNSTATG12 : TBits_1; inline;
  56741. begin
  56742. getCNSTATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56743. end;
  56744. procedure TPORTG_CNSTATG.setCNSTATG13; inline;
  56745. begin
  56746. pTDefRegMap(@Self)^.&set := $00002000;
  56747. end;
  56748. procedure TPORTG_CNSTATG.clearCNSTATG13; inline;
  56749. begin
  56750. pTDefRegMap(@Self)^.clr := $00002000;
  56751. end;
  56752. procedure TPORTG_CNSTATG.setCNSTATG13(thebits : TBits_1); inline;
  56753. begin
  56754. if thebits = 0 then
  56755. pTDefRegMap(@Self)^.clr := $00002000
  56756. else
  56757. pTDefRegMap(@Self)^.&set := $00002000;
  56758. end;
  56759. function TPORTG_CNSTATG.getCNSTATG13 : TBits_1; inline;
  56760. begin
  56761. getCNSTATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56762. end;
  56763. procedure TPORTG_CNSTATG.setCNSTATG14; inline;
  56764. begin
  56765. pTDefRegMap(@Self)^.&set := $00004000;
  56766. end;
  56767. procedure TPORTG_CNSTATG.clearCNSTATG14; inline;
  56768. begin
  56769. pTDefRegMap(@Self)^.clr := $00004000;
  56770. end;
  56771. procedure TPORTG_CNSTATG.setCNSTATG14(thebits : TBits_1); inline;
  56772. begin
  56773. if thebits = 0 then
  56774. pTDefRegMap(@Self)^.clr := $00004000
  56775. else
  56776. pTDefRegMap(@Self)^.&set := $00004000;
  56777. end;
  56778. function TPORTG_CNSTATG.getCNSTATG14 : TBits_1; inline;
  56779. begin
  56780. getCNSTATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56781. end;
  56782. procedure TPORTG_CNSTATG.setCNSTATG15; inline;
  56783. begin
  56784. pTDefRegMap(@Self)^.&set := $00008000;
  56785. end;
  56786. procedure TPORTG_CNSTATG.clearCNSTATG15; inline;
  56787. begin
  56788. pTDefRegMap(@Self)^.clr := $00008000;
  56789. end;
  56790. procedure TPORTG_CNSTATG.setCNSTATG15(thebits : TBits_1); inline;
  56791. begin
  56792. if thebits = 0 then
  56793. pTDefRegMap(@Self)^.clr := $00008000
  56794. else
  56795. pTDefRegMap(@Self)^.&set := $00008000;
  56796. end;
  56797. function TPORTG_CNSTATG.getCNSTATG15 : TBits_1; inline;
  56798. begin
  56799. getCNSTATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56800. end;
  56801. procedure TPORTG_CNSTATG.setw(thebits : TBits_32); inline;
  56802. begin
  56803. pTDefRegMap(@Self)^.val := thebits;
  56804. end;
  56805. function TPORTG_CNSTATG.getw : TBits_32; inline;
  56806. begin
  56807. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56808. end;
  56809. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  56810. begin
  56811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  56812. end;
  56813. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  56814. begin
  56815. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  56816. end;
  56817. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  56818. begin
  56819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  56820. end;
  56821. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  56822. begin
  56823. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  56824. end;
  56825. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  56826. begin
  56827. pTDefRegMap(@Self)^.&set := $10000000;
  56828. end;
  56829. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  56830. begin
  56831. pTDefRegMap(@Self)^.clr := $10000000;
  56832. end;
  56833. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  56834. begin
  56835. if thebits = 0 then
  56836. pTDefRegMap(@Self)^.clr := $10000000
  56837. else
  56838. pTDefRegMap(@Self)^.&set := $10000000;
  56839. end;
  56840. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  56841. begin
  56842. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  56843. end;
  56844. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  56845. begin
  56846. pTDefRegMap(@Self)^.&set := $20000000;
  56847. end;
  56848. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  56849. begin
  56850. pTDefRegMap(@Self)^.clr := $20000000;
  56851. end;
  56852. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  56853. begin
  56854. if thebits = 0 then
  56855. pTDefRegMap(@Self)^.clr := $20000000
  56856. else
  56857. pTDefRegMap(@Self)^.&set := $20000000;
  56858. end;
  56859. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  56860. begin
  56861. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  56862. end;
  56863. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  56864. begin
  56865. pTDefRegMap(@Self)^.&set := $40000000;
  56866. end;
  56867. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  56868. begin
  56869. pTDefRegMap(@Self)^.clr := $40000000;
  56870. end;
  56871. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  56872. begin
  56873. if thebits = 0 then
  56874. pTDefRegMap(@Self)^.clr := $40000000
  56875. else
  56876. pTDefRegMap(@Self)^.&set := $40000000;
  56877. end;
  56878. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  56879. begin
  56880. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  56881. end;
  56882. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  56883. begin
  56884. pTDefRegMap(@Self)^.&set := $80000000;
  56885. end;
  56886. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  56887. begin
  56888. pTDefRegMap(@Self)^.clr := $80000000;
  56889. end;
  56890. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  56891. begin
  56892. if thebits = 0 then
  56893. pTDefRegMap(@Self)^.clr := $80000000
  56894. else
  56895. pTDefRegMap(@Self)^.&set := $80000000;
  56896. end;
  56897. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  56898. begin
  56899. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  56900. end;
  56901. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  56902. begin
  56903. pTDefRegMap(@Self)^.val := thebits;
  56904. end;
  56905. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  56906. begin
  56907. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56908. end;
  56909. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  56910. begin
  56911. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  56912. end;
  56913. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  56914. begin
  56915. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  56916. end;
  56917. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  56918. begin
  56919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  56920. end;
  56921. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  56922. begin
  56923. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  56924. end;
  56925. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  56926. begin
  56927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  56928. end;
  56929. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  56930. begin
  56931. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  56932. end;
  56933. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  56934. begin
  56935. pTDefRegMap(@Self)^.&set := $00008000;
  56936. end;
  56937. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  56938. begin
  56939. pTDefRegMap(@Self)^.clr := $00008000;
  56940. end;
  56941. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  56942. begin
  56943. if thebits = 0 then
  56944. pTDefRegMap(@Self)^.clr := $00008000
  56945. else
  56946. pTDefRegMap(@Self)^.&set := $00008000;
  56947. end;
  56948. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  56949. begin
  56950. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56951. end;
  56952. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  56953. begin
  56954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  56955. end;
  56956. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  56957. begin
  56958. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  56959. end;
  56960. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  56961. begin
  56962. pTDefRegMap(@Self)^.val := thebits;
  56963. end;
  56964. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  56965. begin
  56966. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56967. end;
  56968. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  56969. begin
  56970. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  56971. end;
  56972. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  56973. begin
  56974. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  56975. end;
  56976. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  56977. begin
  56978. pTDefRegMap(@Self)^.&set := $00000020;
  56979. end;
  56980. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  56981. begin
  56982. pTDefRegMap(@Self)^.clr := $00000020;
  56983. end;
  56984. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  56985. begin
  56986. if thebits = 0 then
  56987. pTDefRegMap(@Self)^.clr := $00000020
  56988. else
  56989. pTDefRegMap(@Self)^.&set := $00000020;
  56990. end;
  56991. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  56992. begin
  56993. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56994. end;
  56995. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  56996. begin
  56997. pTDefRegMap(@Self)^.&set := $00000080;
  56998. end;
  56999. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  57000. begin
  57001. pTDefRegMap(@Self)^.clr := $00000080;
  57002. end;
  57003. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  57004. begin
  57005. if thebits = 0 then
  57006. pTDefRegMap(@Self)^.clr := $00000080
  57007. else
  57008. pTDefRegMap(@Self)^.&set := $00000080;
  57009. end;
  57010. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  57011. begin
  57012. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57013. end;
  57014. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  57015. begin
  57016. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  57017. end;
  57018. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  57019. begin
  57020. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  57021. end;
  57022. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  57023. begin
  57024. pTDefRegMap(@Self)^.&set := $00000400;
  57025. end;
  57026. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  57027. begin
  57028. pTDefRegMap(@Self)^.clr := $00000400;
  57029. end;
  57030. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  57031. begin
  57032. if thebits = 0 then
  57033. pTDefRegMap(@Self)^.clr := $00000400
  57034. else
  57035. pTDefRegMap(@Self)^.&set := $00000400;
  57036. end;
  57037. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  57038. begin
  57039. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  57040. end;
  57041. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  57042. begin
  57043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  57044. end;
  57045. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  57046. begin
  57047. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  57048. end;
  57049. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  57050. begin
  57051. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  57052. end;
  57053. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  57054. begin
  57055. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  57056. end;
  57057. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  57058. begin
  57059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  57060. end;
  57061. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  57062. begin
  57063. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  57064. end;
  57065. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  57066. begin
  57067. pTDefRegMap(@Self)^.&set := $00400000;
  57068. end;
  57069. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  57070. begin
  57071. pTDefRegMap(@Self)^.clr := $00400000;
  57072. end;
  57073. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  57074. begin
  57075. if thebits = 0 then
  57076. pTDefRegMap(@Self)^.clr := $00400000
  57077. else
  57078. pTDefRegMap(@Self)^.&set := $00400000;
  57079. end;
  57080. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  57081. begin
  57082. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  57083. end;
  57084. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  57085. begin
  57086. pTDefRegMap(@Self)^.&set := $00800000;
  57087. end;
  57088. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  57089. begin
  57090. pTDefRegMap(@Self)^.clr := $00800000;
  57091. end;
  57092. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  57093. begin
  57094. if thebits = 0 then
  57095. pTDefRegMap(@Self)^.clr := $00800000
  57096. else
  57097. pTDefRegMap(@Self)^.&set := $00800000;
  57098. end;
  57099. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  57100. begin
  57101. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  57102. end;
  57103. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  57104. begin
  57105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  57106. end;
  57107. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  57108. begin
  57109. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  57110. end;
  57111. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  57112. begin
  57113. pTDefRegMap(@Self)^.val := thebits;
  57114. end;
  57115. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  57116. begin
  57117. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57118. end;
  57119. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  57120. begin
  57121. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  57122. end;
  57123. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  57124. begin
  57125. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  57126. end;
  57127. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  57128. begin
  57129. pTDefRegMap(@Self)^.&set := $00000004;
  57130. end;
  57131. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  57132. begin
  57133. pTDefRegMap(@Self)^.clr := $00000004;
  57134. end;
  57135. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  57136. begin
  57137. if thebits = 0 then
  57138. pTDefRegMap(@Self)^.clr := $00000004
  57139. else
  57140. pTDefRegMap(@Self)^.&set := $00000004;
  57141. end;
  57142. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  57143. begin
  57144. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57145. end;
  57146. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  57147. begin
  57148. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  57149. end;
  57150. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  57151. begin
  57152. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  57153. end;
  57154. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  57155. begin
  57156. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  57157. end;
  57158. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  57159. begin
  57160. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  57161. end;
  57162. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  57163. begin
  57164. pTDefRegMap(@Self)^.&set := $01000000;
  57165. end;
  57166. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  57167. begin
  57168. pTDefRegMap(@Self)^.clr := $01000000;
  57169. end;
  57170. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  57171. begin
  57172. if thebits = 0 then
  57173. pTDefRegMap(@Self)^.clr := $01000000
  57174. else
  57175. pTDefRegMap(@Self)^.&set := $01000000;
  57176. end;
  57177. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  57178. begin
  57179. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  57180. end;
  57181. procedure TDEVCFG_DEVCFG0.setCP; inline;
  57182. begin
  57183. pTDefRegMap(@Self)^.&set := $10000000;
  57184. end;
  57185. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  57186. begin
  57187. pTDefRegMap(@Self)^.clr := $10000000;
  57188. end;
  57189. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  57190. begin
  57191. if thebits = 0 then
  57192. pTDefRegMap(@Self)^.clr := $10000000
  57193. else
  57194. pTDefRegMap(@Self)^.&set := $10000000;
  57195. end;
  57196. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  57197. begin
  57198. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  57199. end;
  57200. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  57201. begin
  57202. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  57203. end;
  57204. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  57205. begin
  57206. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  57207. end;
  57208. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  57209. begin
  57210. pTDefRegMap(@Self)^.val := thebits;
  57211. end;
  57212. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  57213. begin
  57214. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57215. end;
  57216. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  57217. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  57218. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  57219. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  57220. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  57221. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  57222. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  57223. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  57224. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  57225. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  57226. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  57227. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  57228. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  57229. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  57230. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  57231. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  57232. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  57233. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  57234. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  57235. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  57236. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  57237. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  57238. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  57239. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  57240. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  57241. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  57242. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  57243. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  57244. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  57245. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  57246. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  57247. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  57248. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  57249. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  57250. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  57251. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  57252. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  57253. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  57254. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  57255. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  57256. procedure _UART_5_VECTOR_interrupt; external name '_UART_5_VECTOR_interrupt';
  57257. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  57258. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  57259. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  57260. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  57261. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  57262. procedure Vectors; assembler; nostackframe;
  57263. label interrupt_vectors;
  57264. asm
  57265. .section ".init.interrupt_vectors,\"ax\",@progbits"
  57266. interrupt_vectors:
  57267. j _CORE_TIMER_VECTOR_interrupt
  57268. nop
  57269. nop
  57270. nop
  57271. nop
  57272. nop
  57273. nop
  57274. nop
  57275. j _CORE_SOFTWARE_0_VECTOR_interrupt
  57276. nop
  57277. nop
  57278. nop
  57279. nop
  57280. nop
  57281. nop
  57282. nop
  57283. j _CORE_SOFTWARE_1_VECTOR_interrupt
  57284. nop
  57285. nop
  57286. nop
  57287. nop
  57288. nop
  57289. nop
  57290. nop
  57291. j _EXTERNAL_0_VECTOR_interrupt
  57292. nop
  57293. nop
  57294. nop
  57295. nop
  57296. nop
  57297. nop
  57298. nop
  57299. j _TIMER_1_VECTOR_interrupt
  57300. nop
  57301. nop
  57302. nop
  57303. nop
  57304. nop
  57305. nop
  57306. nop
  57307. j _INPUT_CAPTURE_1_VECTOR_interrupt
  57308. nop
  57309. nop
  57310. nop
  57311. nop
  57312. nop
  57313. nop
  57314. nop
  57315. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  57316. nop
  57317. nop
  57318. nop
  57319. nop
  57320. nop
  57321. nop
  57322. nop
  57323. j _EXTERNAL_1_VECTOR_interrupt
  57324. nop
  57325. nop
  57326. nop
  57327. nop
  57328. nop
  57329. nop
  57330. nop
  57331. j _TIMER_2_VECTOR_interrupt
  57332. nop
  57333. nop
  57334. nop
  57335. nop
  57336. nop
  57337. nop
  57338. nop
  57339. j _INPUT_CAPTURE_2_VECTOR_interrupt
  57340. nop
  57341. nop
  57342. nop
  57343. nop
  57344. nop
  57345. nop
  57346. nop
  57347. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  57348. nop
  57349. nop
  57350. nop
  57351. nop
  57352. nop
  57353. nop
  57354. nop
  57355. j _EXTERNAL_2_VECTOR_interrupt
  57356. nop
  57357. nop
  57358. nop
  57359. nop
  57360. nop
  57361. nop
  57362. nop
  57363. j _TIMER_3_VECTOR_interrupt
  57364. nop
  57365. nop
  57366. nop
  57367. nop
  57368. nop
  57369. nop
  57370. nop
  57371. j _INPUT_CAPTURE_3_VECTOR_interrupt
  57372. nop
  57373. nop
  57374. nop
  57375. nop
  57376. nop
  57377. nop
  57378. nop
  57379. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  57380. nop
  57381. nop
  57382. nop
  57383. nop
  57384. nop
  57385. nop
  57386. nop
  57387. j _EXTERNAL_3_VECTOR_interrupt
  57388. nop
  57389. nop
  57390. nop
  57391. nop
  57392. nop
  57393. nop
  57394. nop
  57395. j _TIMER_4_VECTOR_interrupt
  57396. nop
  57397. nop
  57398. nop
  57399. nop
  57400. nop
  57401. nop
  57402. nop
  57403. j _INPUT_CAPTURE_4_VECTOR_interrupt
  57404. nop
  57405. nop
  57406. nop
  57407. nop
  57408. nop
  57409. nop
  57410. nop
  57411. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  57412. nop
  57413. nop
  57414. nop
  57415. nop
  57416. nop
  57417. nop
  57418. nop
  57419. j _EXTERNAL_4_VECTOR_interrupt
  57420. nop
  57421. nop
  57422. nop
  57423. nop
  57424. nop
  57425. nop
  57426. nop
  57427. j _TIMER_5_VECTOR_interrupt
  57428. nop
  57429. nop
  57430. nop
  57431. nop
  57432. nop
  57433. nop
  57434. nop
  57435. j _INPUT_CAPTURE_5_VECTOR_interrupt
  57436. nop
  57437. nop
  57438. nop
  57439. nop
  57440. nop
  57441. nop
  57442. nop
  57443. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  57444. nop
  57445. nop
  57446. nop
  57447. nop
  57448. nop
  57449. nop
  57450. nop
  57451. j _ADC_VECTOR_interrupt
  57452. nop
  57453. nop
  57454. nop
  57455. nop
  57456. nop
  57457. nop
  57458. nop
  57459. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  57460. nop
  57461. nop
  57462. nop
  57463. nop
  57464. nop
  57465. nop
  57466. nop
  57467. j _RTCC_VECTOR_interrupt
  57468. nop
  57469. nop
  57470. nop
  57471. nop
  57472. nop
  57473. nop
  57474. nop
  57475. j _FCE_VECTOR_interrupt
  57476. nop
  57477. nop
  57478. nop
  57479. nop
  57480. nop
  57481. nop
  57482. nop
  57483. j _COMPARATOR_1_VECTOR_interrupt
  57484. nop
  57485. nop
  57486. nop
  57487. nop
  57488. nop
  57489. nop
  57490. nop
  57491. j _COMPARATOR_2_VECTOR_interrupt
  57492. nop
  57493. nop
  57494. nop
  57495. nop
  57496. nop
  57497. nop
  57498. nop
  57499. j _USB_1_VECTOR_interrupt
  57500. nop
  57501. nop
  57502. nop
  57503. nop
  57504. nop
  57505. nop
  57506. nop
  57507. j _SPI_1_VECTOR_interrupt
  57508. nop
  57509. nop
  57510. nop
  57511. nop
  57512. nop
  57513. nop
  57514. nop
  57515. j _UART_1_VECTOR_interrupt
  57516. nop
  57517. nop
  57518. nop
  57519. nop
  57520. nop
  57521. nop
  57522. nop
  57523. j _I2C_1_VECTOR_interrupt
  57524. nop
  57525. nop
  57526. nop
  57527. nop
  57528. nop
  57529. nop
  57530. nop
  57531. j _CHANGE_NOTICE_VECTOR_interrupt
  57532. nop
  57533. nop
  57534. nop
  57535. nop
  57536. nop
  57537. nop
  57538. nop
  57539. j _PMP_VECTOR_interrupt
  57540. nop
  57541. nop
  57542. nop
  57543. nop
  57544. nop
  57545. nop
  57546. nop
  57547. j _SPI_2_VECTOR_interrupt
  57548. nop
  57549. nop
  57550. nop
  57551. nop
  57552. nop
  57553. nop
  57554. nop
  57555. j _UART_2_VECTOR_interrupt
  57556. nop
  57557. nop
  57558. nop
  57559. nop
  57560. nop
  57561. nop
  57562. nop
  57563. j _I2C_2_VECTOR_interrupt
  57564. nop
  57565. nop
  57566. nop
  57567. nop
  57568. nop
  57569. nop
  57570. nop
  57571. j _UART_3_VECTOR_interrupt
  57572. nop
  57573. nop
  57574. nop
  57575. nop
  57576. nop
  57577. nop
  57578. nop
  57579. j _UART_4_VECTOR_interrupt
  57580. nop
  57581. nop
  57582. nop
  57583. nop
  57584. nop
  57585. nop
  57586. nop
  57587. j _UART_5_VECTOR_interrupt
  57588. nop
  57589. nop
  57590. nop
  57591. nop
  57592. nop
  57593. nop
  57594. nop
  57595. j _CTMU_VECTOR_interrupt
  57596. nop
  57597. nop
  57598. nop
  57599. nop
  57600. nop
  57601. nop
  57602. nop
  57603. j _DMA_0_VECTOR_interrupt
  57604. nop
  57605. nop
  57606. nop
  57607. nop
  57608. nop
  57609. nop
  57610. nop
  57611. j _DMA_1_VECTOR_interrupt
  57612. nop
  57613. nop
  57614. nop
  57615. nop
  57616. nop
  57617. nop
  57618. nop
  57619. j _DMA_2_VECTOR_interrupt
  57620. nop
  57621. nop
  57622. nop
  57623. nop
  57624. nop
  57625. nop
  57626. nop
  57627. j _DMA_3_VECTOR_interrupt
  57628. nop
  57629. nop
  57630. nop
  57631. nop
  57632. nop
  57633. nop
  57634. nop
  57635. .weak _CORE_TIMER_VECTOR_interrupt
  57636. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  57637. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  57638. .weak _EXTERNAL_0_VECTOR_interrupt
  57639. .weak _TIMER_1_VECTOR_interrupt
  57640. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  57641. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  57642. .weak _EXTERNAL_1_VECTOR_interrupt
  57643. .weak _TIMER_2_VECTOR_interrupt
  57644. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  57645. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  57646. .weak _EXTERNAL_2_VECTOR_interrupt
  57647. .weak _TIMER_3_VECTOR_interrupt
  57648. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  57649. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  57650. .weak _EXTERNAL_3_VECTOR_interrupt
  57651. .weak _TIMER_4_VECTOR_interrupt
  57652. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  57653. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  57654. .weak _EXTERNAL_4_VECTOR_interrupt
  57655. .weak _TIMER_5_VECTOR_interrupt
  57656. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  57657. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  57658. .weak _ADC_VECTOR_interrupt
  57659. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  57660. .weak _RTCC_VECTOR_interrupt
  57661. .weak _FCE_VECTOR_interrupt
  57662. .weak _COMPARATOR_1_VECTOR_interrupt
  57663. .weak _COMPARATOR_2_VECTOR_interrupt
  57664. .weak _USB_1_VECTOR_interrupt
  57665. .weak _SPI_1_VECTOR_interrupt
  57666. .weak _UART_1_VECTOR_interrupt
  57667. .weak _I2C_1_VECTOR_interrupt
  57668. .weak _CHANGE_NOTICE_VECTOR_interrupt
  57669. .weak _PMP_VECTOR_interrupt
  57670. .weak _SPI_2_VECTOR_interrupt
  57671. .weak _UART_2_VECTOR_interrupt
  57672. .weak _I2C_2_VECTOR_interrupt
  57673. .weak _UART_3_VECTOR_interrupt
  57674. .weak _UART_4_VECTOR_interrupt
  57675. .weak _UART_5_VECTOR_interrupt
  57676. .weak _CTMU_VECTOR_interrupt
  57677. .weak _DMA_0_VECTOR_interrupt
  57678. .weak _DMA_1_VECTOR_interrupt
  57679. .weak _DMA_2_VECTOR_interrupt
  57680. .weak _DMA_3_VECTOR_interrupt
  57681. .text
  57682. end;
  57683. end.